tw-merge
Version:
Merge CSS utility classes without style conflicts - small and zero config
51 lines (50 loc) • 3.13 kB
TypeScript
export declare const CONSTANTS: {
readonly DISPLAY: "block|inline-block|inline-flex|inline-table|inline-grid|inline|flex|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|flow-root|grid|contents|list-item|hidden";
readonly ISOLATION: "isolate|isolation-auto";
readonly OBJECT_FIT: "contain|cover|fill|none|scale-down";
readonly BG_AND_OBJECT_POSITION: "bottom|center|left|left-bottom|left-top|right|right-bottom|right-top|top";
readonly POSITION: "static|fixed|absolute|relative|sticky";
readonly VISIBILITY: "visible|invisible|collapse";
readonly FLEX_DIRECTION: "row|row-reverse|col|col-reverse";
readonly FLEX_WRAP: "wrap|wrap-reverse|nowrap";
readonly ALIGN_CONTENT: "normal|center|start|end|between|around|evenly|baseline|stretch";
readonly FONT_AND_SHADOW_SIZE: "xs|sm|base|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl|inner|none";
readonly FONT_SMOOTHING: "antialiased|subpixel-antialiased";
readonly FONT_STYLE: "italic|not-italic";
readonly FONT_WEIGHT: "thin|extralight|light|normal|medium|semibold|bold|extrabold|black";
readonly LIST_STYLE_POSITION: "inside|outside";
readonly TEXT_ALIGN: "left|center|right|justify|start|end";
readonly TEXT_DECORATION: "underline|overline|line-through|no-underline";
readonly TEXT_DECORATION_STYLE: "solid|double|dotted|dashed|wavy";
readonly TEXT_TRANSFORM: "uppercase|lowercase|capitalize|normal-case";
readonly TEXT_OVERFLOW: "truncate|text-ellipsis|text-clip";
readonly BG_ATTACHMENT: "fixed|local|scroll";
readonly BG_REPEAT: "repeat|no-repeat|repeat-x|repeat-y|repeat-round|repeat-space";
readonly BG_SIZE: "auto|cover|contain";
readonly BORDER_AND_OUTLINE_STYLE: "solid|dashed|dotted|double|hidden|none";
readonly FVN_FIGURE: "lining-nums|oldstyle-nums";
readonly FVN_SPACING: "proportional-nums|tabular-nums";
readonly FVN_FRACTION: "diagonal-fractions|stacked-fractions";
readonly SCROLL_BEHAVIOR: "auto|smooth";
readonly SCROLL_SNAP_ALIGN: "start|end|center|none";
readonly SCROLL_SNAP_STOP: "normal|always";
readonly SCROLL_SNAP_TYPE: "none|x|y|both|mandatory|proximity";
};
export declare const TOP_CONFLICT_RULE: {
readonly "inset-x": "left|right";
readonly "inset-y": "top|bottom";
readonly inset: "inset-x|inset-y|start|end|left|right|top|bottom";
readonly "sr-only": "not-sr-only";
readonly "not-sr-only": "sr-only";
readonly "normal-nums": "ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractons";
readonly ordinal: "normal-nums";
readonly "slashed-zero": "normal-nums";
readonly "lining-nums": "normal-nums";
readonly "oldstyle-nums": "normal-nums";
readonly "proportional-nums": "normal-nums";
readonly "tabular-nums": "normal-nums";
readonly "diagonal-fractions": "normal-nums";
readonly "stacked-fractons": "normal-nums";
readonly "bg-gradient": "bg-none";
readonly "bg-none": "bg-gradient";
};