diff --git a/apps/wow-docs/package.json b/apps/wow-docs/package.json index 3eeebd31..7ef4a8e9 100644 --- a/apps/wow-docs/package.json +++ b/apps/wow-docs/package.json @@ -11,7 +11,6 @@ }, "dependencies": { "wowds-icons": "workspace:^", - "wowds-tokens": "workspace:^", "wowds-ui": "workspace:^", "next": "^14.1.1", "react": "^18.2.0", diff --git a/packages/theme/package.json b/packages/theme/package.json index 03645cdd..c9be351f 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -10,8 +10,5 @@ }, "devDependencies": { "@pandacss/dev": "^0.39.0" - }, - "dependencies": { - "wowds-tokens": "workspace:^" } } diff --git a/packages/theme/src/tokens/radius.ts b/packages/theme/src/tokens/radius.ts index 998fe8df..1e4ee911 100644 --- a/packages/theme/src/tokens/radius.ts +++ b/packages/theme/src/tokens/radius.ts @@ -1,10 +1,8 @@ import { defineTokens } from "@pandacss/dev"; -import { radius as wowRadius } from "wowds-tokens"; +import { radius } from "wowds-tokens"; export const radii = defineTokens.radii({ - radius: { - sm: { value: wowRadius.sm }, - md: { value: wowRadius.md }, - full: { value: wowRadius.full }, - }, + sm: { value: radius.sm }, + md: { value: radius.md }, + full: { value: radius.full }, }); diff --git a/packages/theme/src/tokens/space.ts b/packages/theme/src/tokens/space.ts index f3ca9681..99413fd9 100644 --- a/packages/theme/src/tokens/space.ts +++ b/packages/theme/src/tokens/space.ts @@ -2,24 +2,22 @@ import { defineTokens } from "@pandacss/dev"; import { space } from "wowds-tokens"; export const spacing = defineTokens.spacing({ - spacing: { - xxs: { - value: space.xxs, - }, - xs: { - value: space.xs, - }, - sm: { - value: space.sm, - }, - md: { - value: space.md, - }, - lg: { - value: space.lg, - }, - xl: { - value: space.xl, - }, + xxs: { + value: space.xxs, + }, + xs: { + value: space.xs, + }, + sm: { + value: space.sm, + }, + md: { + value: space.md, + }, + lg: { + value: space.lg, + }, + xl: { + value: space.xl, }, }); diff --git a/packages/wow-ui/src/components/Switch/index.tsx b/packages/wow-ui/src/components/Switch/index.tsx index 400ab403..bd66913d 100644 --- a/packages/wow-ui/src/components/Switch/index.tsx +++ b/packages/wow-ui/src/components/Switch/index.tsx @@ -114,7 +114,7 @@ const switchStyle = cva({ base: { width: "3.25rem !important", height: "1.75rem !important", - borderRadius: "2.5rem", + borderRadius: "full", cursor: "pointer", display: "flex", position: "relative", diff --git a/packages/wow-ui/styled-system/tokens/index.js b/packages/wow-ui/styled-system/tokens/index.js index a8b0cd77..f5d2dd7c 100644 --- a/packages/wow-ui/styled-system/tokens/index.js +++ b/packages/wow-ui/styled-system/tokens/index.js @@ -239,6 +239,50 @@ const tokens = { value: "linear-gradient(to right, #FDE6B2, #FDDD99)", variable: "var(--gradients-yellow-gradient-light)", }, + "spacing.xxs": { + value: "0.25rem", + variable: "var(--spacing-xxs)", + }, + "spacing.xs": { + value: "0.5rem", + variable: "var(--spacing-xs)", + }, + "spacing.sm": { + value: "0.75rem", + variable: "var(--spacing-sm)", + }, + "spacing.md": { + value: "1rem", + variable: "var(--spacing-md)", + }, + "spacing.lg": { + value: "1.25rem", + variable: "var(--spacing-lg)", + }, + "spacing.xl": { + value: "1.5rem", + variable: "var(--spacing-xl)", + }, + "radii.sm": { + value: "0.25rem", + variable: "var(--radii-sm)", + }, + "radii.md": { + value: "0.5rem", + variable: "var(--radii-md)", + }, + "radii.full": { + value: "2.5rem", + variable: "var(--radii-full)", + }, + "borderWidths.button": { + value: "1px", + variable: "var(--border-widths-button)", + }, + "borderWidths.arrow": { + value: "1.2px", + variable: "var(--border-widths-arrow)", + }, "breakpoints.sm": { value: "640px", variable: "var(--breakpoints-sm)", @@ -371,6 +415,30 @@ const tokens = { value: "#000000", variable: "var(--colors-github)", }, + "spacing.-xxs": { + value: "calc(var(--spacing-xxs) * -1)", + variable: "var(--spacing-xxs)", + }, + "spacing.-xs": { + value: "calc(var(--spacing-xs) * -1)", + variable: "var(--spacing-xs)", + }, + "spacing.-sm": { + value: "calc(var(--spacing-sm) * -1)", + variable: "var(--spacing-sm)", + }, + "spacing.-md": { + value: "calc(var(--spacing-md) * -1)", + variable: "var(--spacing-md)", + }, + "spacing.-lg": { + value: "calc(var(--spacing-lg) * -1)", + variable: "var(--spacing-lg)", + }, + "spacing.-xl": { + value: "calc(var(--spacing-xl) * -1)", + variable: "var(--spacing-xl)", + }, "colors.colorPalette.50": { value: "var(--colors-color-palette-50)", variable: "var(--colors-color-palette-50)", diff --git a/packages/wow-ui/styled-system/tokens/tokens.d.ts b/packages/wow-ui/styled-system/tokens/tokens.d.ts index 492bb760..f8ab5cf7 100644 --- a/packages/wow-ui/styled-system/tokens/tokens.d.ts +++ b/packages/wow-ui/styled-system/tokens/tokens.d.ts @@ -60,6 +60,17 @@ export type Token = | "gradients.greenGradientLight" | "gradients.yellowGradientDark" | "gradients.yellowGradientLight" + | "spacing.xxs" + | "spacing.xs" + | "spacing.sm" + | "spacing.md" + | "spacing.lg" + | "spacing.xl" + | "radii.sm" + | "radii.md" + | "radii.full" + | "borderWidths.button" + | "borderWidths.arrow" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" @@ -93,6 +104,12 @@ export type Token = | "colors.blueShadow" | "colors.discord" | "colors.github" + | "spacing.-xxs" + | "spacing.-xs" + | "spacing.-sm" + | "spacing.-md" + | "spacing.-lg" + | "spacing.-xl" | "colors.colorPalette.50" | "colors.colorPalette.100" | "colors.colorPalette.150" @@ -238,6 +255,24 @@ export type GradientToken = | "yellowGradientDark" | "yellowGradientLight"; +export type SpacingToken = + | "xxs" + | "xs" + | "sm" + | "md" + | "lg" + | "xl" + | "-xxs" + | "-xs" + | "-sm" + | "-md" + | "-lg" + | "-xl"; + +export type RadiusToken = "sm" | "md" | "full"; + +export type BorderWidthToken = "button" | "arrow"; + export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"; export type SizeToken = @@ -250,6 +285,9 @@ export type SizeToken = export type Tokens = { colors: ColorToken; gradients: GradientToken; + spacing: SpacingToken; + radii: RadiusToken; + borderWidths: BorderWidthToken; breakpoints: BreakpointToken; sizes: SizeToken; } & { [token: string]: never }; diff --git a/packages/wow-ui/styled-system/types/prop-type.d.ts b/packages/wow-ui/styled-system/types/prop-type.d.ts index e15efdbc..2b1623df 100644 --- a/packages/wow-ui/styled-system/types/prop-type.d.ts +++ b/packages/wow-ui/styled-system/types/prop-type.d.ts @@ -4,11 +4,22 @@ import type { CssProperties } from "./system-types"; import type { Tokens } from "../tokens/index"; export interface UtilityValues { - inset: "auto"; + top: Tokens["spacing"]; + left: Tokens["spacing"]; + insetInline: Tokens["spacing"]; + insetBlock: Tokens["spacing"]; + inset: "auto" | Tokens["spacing"]; + insetBlockEnd: Tokens["spacing"]; + insetBlockStart: Tokens["spacing"]; + insetInlineEnd: Tokens["spacing"]; + insetInlineStart: Tokens["spacing"]; + right: Tokens["spacing"]; + bottom: Tokens["spacing"]; float: "start" | "end" | CssProperties["float"]; hideFrom: Tokens["breakpoints"]; hideBelow: Tokens["breakpoints"]; flexBasis: + | Tokens["spacing"] | "1/2" | "1/3" | "2/3" @@ -93,20 +104,41 @@ export interface UtilityValues { | "full"; gridAutoColumns: "min" | "max" | "fr"; gridAutoRows: "min" | "max" | "fr"; - marginLeft: "auto"; - marginRight: "auto"; - marginTop: "auto"; - marginBottom: "auto"; - margin: "auto"; - marginBlock: "auto"; - marginBlockEnd: "auto"; - marginBlockStart: "auto"; - marginInline: "auto"; - marginInlineEnd: "auto"; - marginInlineStart: "auto"; - spaceX: "auto" | CssProperties["marginInlineStart"]; - spaceY: "auto" | CssProperties["marginBlockStart"]; + gap: Tokens["spacing"]; + gridGap: Tokens["spacing"]; + gridRowGap: Tokens["spacing"]; + gridColumnGap: Tokens["spacing"]; + rowGap: Tokens["spacing"]; + columnGap: Tokens["spacing"]; + padding: Tokens["spacing"]; + paddingLeft: Tokens["spacing"]; + paddingRight: Tokens["spacing"]; + paddingTop: Tokens["spacing"]; + paddingBottom: Tokens["spacing"]; + paddingBlock: Tokens["spacing"]; + paddingBlockEnd: Tokens["spacing"]; + paddingBlockStart: Tokens["spacing"]; + paddingInline: Tokens["spacing"]; + paddingInlineEnd: Tokens["spacing"]; + paddingInlineStart: Tokens["spacing"]; + marginLeft: "auto" | Tokens["spacing"]; + marginRight: "auto" | Tokens["spacing"]; + marginTop: "auto" | Tokens["spacing"]; + marginBottom: "auto" | Tokens["spacing"]; + margin: "auto" | Tokens["spacing"]; + marginBlock: "auto" | Tokens["spacing"]; + marginBlockEnd: "auto" | Tokens["spacing"]; + marginBlockStart: "auto" | Tokens["spacing"]; + marginInline: "auto" | Tokens["spacing"]; + marginInlineEnd: "auto" | Tokens["spacing"]; + marginInlineStart: "auto" | Tokens["spacing"]; + spaceX: "auto" | Tokens["spacing"] | CssProperties["marginInlineStart"]; + spaceY: "auto" | Tokens["spacing"] | CssProperties["marginBlockStart"]; + outlineWidth: Tokens["borderWidths"]; outlineColor: Tokens["colors"]; + outlineOffset: Tokens["spacing"]; + divideX: Tokens["borderWidths"]; + divideY: Tokens["borderWidths"]; divideColor: Tokens["colors"]; divideStyle: CssProperties["borderStyle"]; width: @@ -425,6 +457,7 @@ export interface UtilityValues { fontSmoothing: "antialiased" | "subpixel-antialiased"; textDecorationColor: Tokens["colors"]; textEmphasisColor: Tokens["colors"]; + textIndent: Tokens["spacing"]; textShadowColor: Tokens["colors"]; textWrap: "wrap" | "balance" | "nowrap"; truncate: boolean; @@ -453,18 +486,36 @@ export interface UtilityValues { gradientFrom: Tokens["colors"]; gradientTo: Tokens["colors"]; gradientVia: Tokens["colors"]; - borderTopRadius: CssProperties["borderRadius"]; - borderRightRadius: CssProperties["borderRadius"]; - borderBottomRadius: CssProperties["borderRadius"]; - borderLeftRadius: CssProperties["borderRadius"]; - borderStartRadius: CssProperties["borderRadius"]; - borderEndRadius: CssProperties["borderRadius"]; + borderRadius: Tokens["radii"]; + borderTopLeftRadius: Tokens["radii"]; + borderTopRightRadius: Tokens["radii"]; + borderBottomRightRadius: Tokens["radii"]; + borderBottomLeftRadius: Tokens["radii"]; + borderTopRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderRightRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderBottomRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderLeftRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderStartStartRadius: Tokens["radii"]; + borderStartEndRadius: Tokens["radii"]; + borderStartRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderEndStartRadius: Tokens["radii"]; + borderEndEndRadius: Tokens["radii"]; + borderEndRadius: Tokens["radii"] | CssProperties["borderRadius"]; + borderWidth: Tokens["borderWidths"]; + borderTopWidth: Tokens["borderWidths"]; + borderLeftWidth: Tokens["borderWidths"]; + borderRightWidth: Tokens["borderWidths"]; + borderBottomWidth: Tokens["borderWidths"]; borderColor: Tokens["colors"]; + borderInlineWidth: Tokens["borderWidths"]; borderInlineColor: Tokens["colors"]; + borderBlockWidth: Tokens["borderWidths"]; borderBlockColor: Tokens["colors"]; borderLeftColor: Tokens["colors"]; + borderInlineStartWidth: Tokens["borderWidths"]; borderInlineStartColor: Tokens["colors"]; borderRightColor: Tokens["colors"]; + borderInlineEndWidth: Tokens["borderWidths"]; borderInlineEndColor: Tokens["colors"]; borderTopColor: Tokens["colors"]; borderBottomColor: Tokens["colors"]; @@ -473,7 +524,9 @@ export interface UtilityValues { boxShadowColor: Tokens["colors"]; filter: "auto"; backdropFilter: "auto"; - borderSpacing: "auto"; + borderSpacing: Tokens["spacing"] | "auto"; + borderSpacingX: Tokens["spacing"]; + borderSpacingY: Tokens["spacing"]; transition: | "all" | "common" @@ -490,6 +543,7 @@ export interface UtilityValues { scale: "auto" | CssProperties["scale"]; translate: "auto" | "auto-3d" | CssProperties["translate"]; translateX: + | Tokens["spacing"] | "1/2" | "1/3" | "2/3" @@ -505,6 +559,7 @@ export interface UtilityValues { | "-3/4" | "-full"; translateY: + | Tokens["spacing"] | "1/2" | "1/3" | "2/3" @@ -520,6 +575,7 @@ export interface UtilityValues { | "-3/4" | "-full"; translateZ: + | Tokens["spacing"] | "1/2" | "1/3" | "2/3" @@ -537,10 +593,38 @@ export interface UtilityValues { accentColor: Tokens["colors"]; caretColor: Tokens["colors"]; scrollbar: "visible" | "hidden"; + scrollMargin: Tokens["spacing"]; + scrollMarginLeft: Tokens["spacing"]; + scrollMarginRight: Tokens["spacing"]; + scrollMarginTop: Tokens["spacing"]; + scrollMarginBottom: Tokens["spacing"]; + scrollMarginBlock: Tokens["spacing"]; + scrollMarginBlockEnd: Tokens["spacing"]; + scrollMarginBlockStart: Tokens["spacing"]; + scrollMarginInline: Tokens["spacing"]; + scrollMarginInlineEnd: Tokens["spacing"]; + scrollMarginInlineStart: Tokens["spacing"]; + scrollPadding: Tokens["spacing"]; + scrollPaddingBlock: Tokens["spacing"]; + scrollPaddingBlockStart: Tokens["spacing"]; + scrollPaddingBlockEnd: Tokens["spacing"]; + scrollPaddingInline: Tokens["spacing"]; + scrollPaddingInlineEnd: Tokens["spacing"]; + scrollPaddingInlineStart: Tokens["spacing"]; + scrollPaddingLeft: Tokens["spacing"]; + scrollPaddingRight: Tokens["spacing"]; + scrollPaddingTop: Tokens["spacing"]; + scrollPaddingBottom: Tokens["spacing"]; scrollSnapType: "none" | "x" | "y" | "both"; scrollSnapStrictness: "mandatory" | "proximity"; + scrollSnapMargin: Tokens["spacing"]; + scrollSnapMarginTop: Tokens["spacing"]; + scrollSnapMarginBottom: Tokens["spacing"]; + scrollSnapMarginLeft: Tokens["spacing"]; + scrollSnapMarginRight: Tokens["spacing"]; fill: Tokens["colors"]; stroke: Tokens["colors"]; + strokeWidth: Tokens["borderWidths"]; srOnly: boolean; debug: boolean; containerName: CssProperties["containerName"]; diff --git a/packages/wow-ui/styled-system/types/style-props.d.ts b/packages/wow-ui/styled-system/types/style-props.d.ts index 801d9f9a..23127b61 100644 --- a/packages/wow-ui/styled-system/types/style-props.d.ts +++ b/packages/wow-ui/styled-system/types/style-props.d.ts @@ -966,7 +966,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-block-width */ borderBlockWidth?: ConditionalValue< - CssProperties["borderBlockWidth"] | AnyString + | UtilityValues["borderBlockWidth"] + | CssVars + | CssProperties["borderBlockWidth"] + | AnyString >; /** * The **`border-block-end`** CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet. @@ -1144,7 +1147,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius */ borderBottomLeftRadius?: ConditionalValue< - CssProperties["borderBottomLeftRadius"] | AnyString + | UtilityValues["borderBottomLeftRadius"] + | CssVars + | CssProperties["borderBottomLeftRadius"] + | AnyString >; /** * The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. @@ -1161,7 +1167,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius */ borderBottomRightRadius?: ConditionalValue< - CssProperties["borderBottomRightRadius"] | AnyString + | UtilityValues["borderBottomRightRadius"] + | CssVars + | CssProperties["borderBottomRightRadius"] + | AnyString >; /** * The **`border-bottom-style`** CSS property sets the line style of an element's bottom `border`. @@ -1193,7 +1202,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-width */ borderBottomWidth?: ConditionalValue< - CssProperties["borderBottomWidth"] | AnyString + | UtilityValues["borderBottomWidth"] + | CssVars + | CssProperties["borderBottomWidth"] + | AnyString >; /** * The **`border-collapse`** CSS property sets whether cells inside a `` have shared or separate borders. @@ -1242,7 +1254,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius */ borderEndEndRadius?: ConditionalValue< - CssProperties["borderEndEndRadius"] | AnyString + | UtilityValues["borderEndEndRadius"] + | CssVars + | CssProperties["borderEndEndRadius"] + | AnyString >; /** * The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. @@ -1258,7 +1273,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius */ borderEndStartRadius?: ConditionalValue< - CssProperties["borderEndStartRadius"] | AnyString + | UtilityValues["borderEndStartRadius"] + | CssVars + | CssProperties["borderEndStartRadius"] + | AnyString >; /** * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border. @@ -1428,7 +1446,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width */ borderInlineWidth?: ConditionalValue< - CssProperties["borderInlineWidth"] | AnyString + | UtilityValues["borderInlineWidth"] + | CssVars + | CssProperties["borderInlineWidth"] + | AnyString >; /** * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -1482,7 +1503,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width */ borderInlineEndWidth?: ConditionalValue< - CssProperties["borderInlineEndWidth"] | AnyString + | UtilityValues["borderInlineEndWidth"] + | CssVars + | CssProperties["borderInlineEndWidth"] + | AnyString >; /** * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet. @@ -1549,7 +1573,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width */ borderInlineStartWidth?: ConditionalValue< - CssProperties["borderInlineStartWidth"] | AnyString + | UtilityValues["borderInlineStartWidth"] + | CssVars + | CssProperties["borderInlineStartWidth"] + | AnyString >; /** * The **`border-left`** shorthand CSS property sets all the properties of an element's left border. @@ -1612,7 +1639,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-left-width */ borderLeftWidth?: ConditionalValue< - CssProperties["borderLeftWidth"] | AnyString + | UtilityValues["borderLeftWidth"] + | CssVars + | CssProperties["borderLeftWidth"] + | AnyString >; /** * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. @@ -1626,7 +1656,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/border-radius */ - borderRadius?: ConditionalValue; + borderRadius?: ConditionalValue< + | UtilityValues["borderRadius"] + | CssVars + | CssProperties["borderRadius"] + | AnyString + >; /** * The **`border-right`** shorthand CSS property sets all the properties of an element's right border. * @@ -1688,7 +1723,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-right-width */ borderRightWidth?: ConditionalValue< - CssProperties["borderRightWidth"] | AnyString + | UtilityValues["borderRightWidth"] + | CssVars + | CssProperties["borderRightWidth"] + | AnyString >; /** * The **`border-spacing`** CSS property sets the distance between the borders of adjacent cells in a `
`. This property applies only when `border-collapse` is `separate`. @@ -1723,7 +1761,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius */ borderStartEndRadius?: ConditionalValue< - CssProperties["borderStartEndRadius"] | AnyString + | UtilityValues["borderStartEndRadius"] + | CssVars + | CssProperties["borderStartEndRadius"] + | AnyString >; /** * The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. @@ -1739,7 +1780,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius */ borderStartStartRadius?: ConditionalValue< - CssProperties["borderStartStartRadius"] | AnyString + | UtilityValues["borderStartStartRadius"] + | CssVars + | CssProperties["borderStartStartRadius"] + | AnyString >; /** * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border. @@ -1799,7 +1843,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius */ borderTopLeftRadius?: ConditionalValue< - CssProperties["borderTopLeftRadius"] | AnyString + | UtilityValues["borderTopLeftRadius"] + | CssVars + | CssProperties["borderTopLeftRadius"] + | AnyString >; /** * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. @@ -1816,7 +1863,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius */ borderTopRightRadius?: ConditionalValue< - CssProperties["borderTopRightRadius"] | AnyString + | UtilityValues["borderTopRightRadius"] + | CssVars + | CssProperties["borderTopRightRadius"] + | AnyString >; /** * The **`border-top-style`** CSS property sets the line style of an element's top `border`. @@ -1848,7 +1898,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-top-width */ borderTopWidth?: ConditionalValue< - CssProperties["borderTopWidth"] | AnyString + | UtilityValues["borderTopWidth"] + | CssVars + | CssProperties["borderTopWidth"] + | AnyString >; /** * The **`border-width`** shorthand CSS property sets the width of an element's border. @@ -1861,7 +1914,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/border-width */ - borderWidth?: ConditionalValue; + borderWidth?: ConditionalValue< + | UtilityValues["borderWidth"] + | CssVars + | CssProperties["borderWidth"] + | AnyString + >; /** * The **`bottom`** CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements. * @@ -1875,7 +1933,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/bottom */ - bottom?: ConditionalValue; + bottom?: ConditionalValue< + UtilityValues["bottom"] | CssVars | CssProperties["bottom"] | AnyString + >; boxAlign?: ConditionalValue; /** * The **`box-decoration-break`** CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages. @@ -2130,7 +2190,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/column-gap */ - columnGap?: ConditionalValue; + columnGap?: ConditionalValue< + | UtilityValues["columnGap"] + | CssVars + | CssProperties["columnGap"] + | AnyString + >; /** * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout. * @@ -3088,7 +3153,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/gap */ - gap?: ConditionalValue; + gap?: ConditionalValue< + UtilityValues["gap"] | CssVars | CssProperties["gap"] | AnyString + >; /** * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration. * @@ -3196,7 +3263,12 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-end */ gridColumnEnd?: ConditionalValue; - gridColumnGap?: ConditionalValue; + gridColumnGap?: ConditionalValue< + | UtilityValues["gridColumnGap"] + | CssVars + | CssProperties["gridColumnGap"] + | AnyString + >; /** * The **`grid-column-start`** CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area. * @@ -3213,7 +3285,9 @@ export interface SystemProperties { gridColumnStart?: ConditionalValue< CssProperties["gridColumnStart"] | AnyString >; - gridGap?: ConditionalValue; + gridGap?: ConditionalValue< + UtilityValues["gridGap"] | CssVars | CssProperties["gridGap"] | AnyString + >; /** * The **`grid-row`** CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. * @@ -3242,7 +3316,12 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-end */ gridRowEnd?: ConditionalValue; - gridRowGap?: ConditionalValue; + gridRowGap?: ConditionalValue< + | UtilityValues["gridRowGap"] + | CssVars + | CssProperties["gridRowGap"] + | AnyString + >; /** * The **`grid-row-start`** CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area. * @@ -3509,7 +3588,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-block */ - insetBlock?: ConditionalValue; + insetBlock?: ConditionalValue< + | UtilityValues["insetBlock"] + | CssVars + | CssProperties["insetBlock"] + | AnyString + >; /** * The **`inset-block-end`** CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -3523,7 +3607,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-end */ - insetBlockEnd?: ConditionalValue; + insetBlockEnd?: ConditionalValue< + | UtilityValues["insetBlockEnd"] + | CssVars + | CssProperties["insetBlockEnd"] + | AnyString + >; /** * The **`inset-block-start`** CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -3538,7 +3627,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-start */ insetBlockStart?: ConditionalValue< - CssProperties["insetBlockStart"] | AnyString + | UtilityValues["insetBlockStart"] + | CssVars + | CssProperties["insetBlockStart"] + | AnyString >; /** * The **`inset-inline`** CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -3551,7 +3643,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline */ - insetInline?: ConditionalValue; + insetInline?: ConditionalValue< + | UtilityValues["insetInline"] + | CssVars + | CssProperties["insetInline"] + | AnyString + >; /** * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -3566,7 +3663,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end */ insetInlineEnd?: ConditionalValue< - CssProperties["insetInlineEnd"] | AnyString + | UtilityValues["insetInlineEnd"] + | CssVars + | CssProperties["insetInlineEnd"] + | AnyString >; /** * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -3582,7 +3682,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start */ insetInlineStart?: ConditionalValue< - CssProperties["insetInlineStart"] | AnyString + | UtilityValues["insetInlineStart"] + | CssVars + | CssProperties["insetInlineStart"] + | AnyString >; /** * The **`isolation`** CSS property determines whether an element must create a new stacking context. @@ -3672,7 +3775,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/left */ - left?: ConditionalValue; + left?: ConditionalValue< + UtilityValues["left"] | CssVars | CssProperties["left"] | AnyString + >; /** * The **`letter-spacing`** CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` causes characters to spread farther apart, while negative values of `letter-spacing` bring characters closer together. * @@ -4699,7 +4804,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/outline-offset */ - outlineOffset?: ConditionalValue; + outlineOffset?: ConditionalValue< + | UtilityValues["outlineOffset"] + | CssVars + | CssProperties["outlineOffset"] + | AnyString + >; /** * The **`outline-style`** CSS property sets the style of an element's outline. An outline is a line that is drawn around an element, outside the `border`. * @@ -4729,7 +4839,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/outline-width */ - outlineWidth?: ConditionalValue; + outlineWidth?: ConditionalValue< + | UtilityValues["outlineWidth"] + | CssVars + | CssProperties["outlineWidth"] + | AnyString + >; /** * The **`overflow`** CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions. * @@ -4964,7 +5079,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding */ - padding?: ConditionalValue; + padding?: ConditionalValue< + UtilityValues["padding"] | CssVars | CssProperties["padding"] | AnyString + >; /** * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -4976,7 +5093,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-block */ - paddingBlock?: ConditionalValue; + paddingBlock?: ConditionalValue< + | UtilityValues["paddingBlock"] + | CssVars + | CssProperties["paddingBlock"] + | AnyString + >; /** * The **`padding-block-end`** CSS property defines the logical block end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -4991,7 +5113,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/padding-block-end */ paddingBlockEnd?: ConditionalValue< - CssProperties["paddingBlockEnd"] | AnyString + | UtilityValues["paddingBlockEnd"] + | CssVars + | CssProperties["paddingBlockEnd"] + | AnyString >; /** * The **`padding-block-start`** CSS property defines the logical block start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. @@ -5007,7 +5132,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/padding-block-start */ paddingBlockStart?: ConditionalValue< - CssProperties["paddingBlockStart"] | AnyString + | UtilityValues["paddingBlockStart"] + | CssVars + | CssProperties["paddingBlockStart"] + | AnyString >; /** * The **`padding-bottom`** CSS property sets the height of the padding area on the bottom of an element. @@ -5022,7 +5150,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom */ - paddingBottom?: ConditionalValue; + paddingBottom?: ConditionalValue< + | UtilityValues["paddingBottom"] + | CssVars + | CssProperties["paddingBottom"] + | AnyString + >; /** * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -5034,7 +5167,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline */ - paddingInline?: ConditionalValue; + paddingInline?: ConditionalValue< + | UtilityValues["paddingInline"] + | CssVars + | CssProperties["paddingInline"] + | AnyString + >; /** * The **`padding-inline-end`** CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -5050,7 +5188,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-end */ paddingInlineEnd?: ConditionalValue< - CssProperties["paddingInlineEnd"] | AnyString + | UtilityValues["paddingInlineEnd"] + | CssVars + | CssProperties["paddingInlineEnd"] + | AnyString >; /** * The **`padding-inline-start`** CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. @@ -5067,7 +5208,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-start */ paddingInlineStart?: ConditionalValue< - CssProperties["paddingInlineStart"] | AnyString + | UtilityValues["paddingInlineStart"] + | CssVars + | CssProperties["paddingInlineStart"] + | AnyString >; /** * The **`padding-left`** CSS property sets the width of the padding area to the left of an element. @@ -5082,7 +5226,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-left */ - paddingLeft?: ConditionalValue; + paddingLeft?: ConditionalValue< + | UtilityValues["paddingLeft"] + | CssVars + | CssProperties["paddingLeft"] + | AnyString + >; /** * The **`padding-right`** CSS property sets the width of the padding area on the right of an element. * @@ -5096,7 +5245,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-right */ - paddingRight?: ConditionalValue; + paddingRight?: ConditionalValue< + | UtilityValues["paddingRight"] + | CssVars + | CssProperties["paddingRight"] + | AnyString + >; /** * The **`padding-top`** CSS property sets the height of the padding area on the top of an element. * @@ -5110,7 +5264,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-top */ - paddingTop?: ConditionalValue; + paddingTop?: ConditionalValue< + | UtilityValues["paddingTop"] + | CssVars + | CssProperties["paddingTop"] + | AnyString + >; /** * The **`page`** CSS property is used to specify the named page, a specific type of page defined by the `@page` at-rule. * @@ -5343,7 +5502,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/right */ - right?: ConditionalValue; + right?: ConditionalValue< + UtilityValues["right"] | CssVars | CssProperties["right"] | AnyString + >; /** * The **`rotate`** CSS property allows you to specify rotation transforms individually and independently of the `transform` property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the `transform` property. * @@ -5373,7 +5534,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/row-gap */ - rowGap?: ConditionalValue; + rowGap?: ConditionalValue< + UtilityValues["rowGap"] | CssVars | CssProperties["rowGap"] | AnyString + >; /** * The **`ruby-align`** CSS property defines the distribution of the different ruby elements over the base. * @@ -5501,7 +5664,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin */ - scrollMargin?: ConditionalValue; + scrollMargin?: ConditionalValue< + | UtilityValues["scrollMargin"] + | CssVars + | CssProperties["scrollMargin"] + | AnyString + >; /** * The `scroll-margin-block` shorthand property sets the scroll margins of an element in the block dimension. * @@ -5514,7 +5682,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block */ scrollMarginBlock?: ConditionalValue< - CssProperties["scrollMarginBlock"] | AnyString + | UtilityValues["scrollMarginBlock"] + | CssVars + | CssProperties["scrollMarginBlock"] + | AnyString >; /** * The `scroll-margin-block-start` property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5530,7 +5701,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start */ scrollMarginBlockStart?: ConditionalValue< - CssProperties["scrollMarginBlockStart"] | AnyString + | UtilityValues["scrollMarginBlockStart"] + | CssVars + | CssProperties["scrollMarginBlockStart"] + | AnyString >; /** * The `scroll-margin-block-end` property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5546,7 +5720,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end */ scrollMarginBlockEnd?: ConditionalValue< - CssProperties["scrollMarginBlockEnd"] | AnyString + | UtilityValues["scrollMarginBlockEnd"] + | CssVars + | CssProperties["scrollMarginBlockEnd"] + | AnyString >; /** * The `scroll-margin-bottom` property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5563,7 +5740,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom */ scrollMarginBottom?: ConditionalValue< - CssProperties["scrollMarginBottom"] | AnyString + | UtilityValues["scrollMarginBottom"] + | CssVars + | CssProperties["scrollMarginBottom"] + | AnyString >; /** * The `scroll-margin-inline` shorthand property sets the scroll margins of an element in the inline dimension. @@ -5577,7 +5757,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline */ scrollMarginInline?: ConditionalValue< - CssProperties["scrollMarginInline"] | AnyString + | UtilityValues["scrollMarginInline"] + | CssVars + | CssProperties["scrollMarginInline"] + | AnyString >; /** * The `scroll-margin-inline-start` property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5593,7 +5776,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start */ scrollMarginInlineStart?: ConditionalValue< - CssProperties["scrollMarginInlineStart"] | AnyString + | UtilityValues["scrollMarginInlineStart"] + | CssVars + | CssProperties["scrollMarginInlineStart"] + | AnyString >; /** * The `scroll-margin-inline-end` property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5609,7 +5795,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end */ scrollMarginInlineEnd?: ConditionalValue< - CssProperties["scrollMarginInlineEnd"] | AnyString + | UtilityValues["scrollMarginInlineEnd"] + | CssVars + | CssProperties["scrollMarginInlineEnd"] + | AnyString >; /** * The `scroll-margin-left` property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5626,7 +5815,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left */ scrollMarginLeft?: ConditionalValue< - CssProperties["scrollMarginLeft"] | AnyString + | UtilityValues["scrollMarginLeft"] + | CssVars + | CssProperties["scrollMarginLeft"] + | AnyString >; /** * The `scroll-margin-right` property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5643,7 +5835,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right */ scrollMarginRight?: ConditionalValue< - CssProperties["scrollMarginRight"] | AnyString + | UtilityValues["scrollMarginRight"] + | CssVars + | CssProperties["scrollMarginRight"] + | AnyString >; /** * The `scroll-margin-top` property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. @@ -5660,7 +5855,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top */ scrollMarginTop?: ConditionalValue< - CssProperties["scrollMarginTop"] | AnyString + | UtilityValues["scrollMarginTop"] + | CssVars + | CssProperties["scrollMarginTop"] + | AnyString >; /** * The **`scroll-padding`** shorthand property sets scroll padding on all sides of an element at once, much like the `padding` property does for padding on an element. @@ -5673,7 +5871,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding */ - scrollPadding?: ConditionalValue; + scrollPadding?: ConditionalValue< + | UtilityValues["scrollPadding"] + | CssVars + | CssProperties["scrollPadding"] + | AnyString + >; /** * The `scroll-padding-block` shorthand property sets the scroll padding of an element in the block dimension. * @@ -5686,7 +5889,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block */ scrollPaddingBlock?: ConditionalValue< - CssProperties["scrollPaddingBlock"] | AnyString + | UtilityValues["scrollPaddingBlock"] + | CssVars + | CssProperties["scrollPaddingBlock"] + | AnyString >; /** * The `scroll-padding-block-start` property defines offsets for the start edge in the block dimension of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5702,7 +5908,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start */ scrollPaddingBlockStart?: ConditionalValue< - CssProperties["scrollPaddingBlockStart"] | AnyString + | UtilityValues["scrollPaddingBlockStart"] + | CssVars + | CssProperties["scrollPaddingBlockStart"] + | AnyString >; /** * The `scroll-padding-block-end` property defines offsets for the end edge in the block dimension of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5718,7 +5927,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end */ scrollPaddingBlockEnd?: ConditionalValue< - CssProperties["scrollPaddingBlockEnd"] | AnyString + | UtilityValues["scrollPaddingBlockEnd"] + | CssVars + | CssProperties["scrollPaddingBlockEnd"] + | AnyString >; /** * The `scroll-padding-bottom` property defines offsets for the bottom of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5734,7 +5946,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom */ scrollPaddingBottom?: ConditionalValue< - CssProperties["scrollPaddingBottom"] | AnyString + | UtilityValues["scrollPaddingBottom"] + | CssVars + | CssProperties["scrollPaddingBottom"] + | AnyString >; /** * The `scroll-padding-inline` shorthand property sets the scroll padding of an element in the inline dimension. @@ -5748,7 +5963,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline */ scrollPaddingInline?: ConditionalValue< - CssProperties["scrollPaddingInline"] | AnyString + | UtilityValues["scrollPaddingInline"] + | CssVars + | CssProperties["scrollPaddingInline"] + | AnyString >; /** * The `scroll-padding-inline-start` property defines offsets for the start edge in the inline dimension of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5764,7 +5982,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start */ scrollPaddingInlineStart?: ConditionalValue< - CssProperties["scrollPaddingInlineStart"] | AnyString + | UtilityValues["scrollPaddingInlineStart"] + | CssVars + | CssProperties["scrollPaddingInlineStart"] + | AnyString >; /** * The `scroll-padding-inline-end` property defines offsets for the end edge in the inline dimension of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5780,7 +6001,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end */ scrollPaddingInlineEnd?: ConditionalValue< - CssProperties["scrollPaddingInlineEnd"] | AnyString + | UtilityValues["scrollPaddingInlineEnd"] + | CssVars + | CssProperties["scrollPaddingInlineEnd"] + | AnyString >; /** * The `scroll-padding-left` property defines offsets for the left of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5796,7 +6020,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left */ scrollPaddingLeft?: ConditionalValue< - CssProperties["scrollPaddingLeft"] | AnyString + | UtilityValues["scrollPaddingLeft"] + | CssVars + | CssProperties["scrollPaddingLeft"] + | AnyString >; /** * The `scroll-padding-right` property defines offsets for the right of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5812,7 +6039,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right */ scrollPaddingRight?: ConditionalValue< - CssProperties["scrollPaddingRight"] | AnyString + | UtilityValues["scrollPaddingRight"] + | CssVars + | CssProperties["scrollPaddingRight"] + | AnyString >; /** * The **`scroll-padding-top`** property defines offsets for the top of the _optimal viewing region_ of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or to put more breathing room between a targeted element and the edges of the scrollport. @@ -5828,7 +6058,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top */ scrollPaddingTop?: ConditionalValue< - CssProperties["scrollPaddingTop"] | AnyString + | UtilityValues["scrollPaddingTop"] + | CssVars + | CssProperties["scrollPaddingTop"] + | AnyString >; /** * The `scroll-snap-align` property specifies the box's snap position as an alignment of its snap area (as the alignment subject) within its snap container's snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value. @@ -6261,7 +6494,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/text-indent */ - textIndent?: ConditionalValue; + textIndent?: ConditionalValue< + | UtilityValues["textIndent"] + | CssVars + | CssProperties["textIndent"] + | AnyString + >; /** * The **`text-justify`** CSS property sets what type of justification should be applied to text when `text-align``: justify;` is set on an element. * @@ -6441,7 +6679,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/top */ - top?: ConditionalValue; + top?: ConditionalValue< + UtilityValues["top"] | CssVars | CssProperties["top"] | AnyString + >; /** * The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser). * @@ -6994,7 +7234,12 @@ export interface SystemProperties { CssProperties["strokeMiterlimit"] | AnyString >; strokeOpacity?: ConditionalValue; - strokeWidth?: ConditionalValue; + strokeWidth?: ConditionalValue< + | UtilityValues["strokeWidth"] + | CssVars + | CssProperties["strokeWidth"] + | AnyString + >; textAnchor?: ConditionalValue; vectorEffect?: ConditionalValue; /** @@ -7022,7 +7267,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline */ - insetX?: ConditionalValue; + insetX?: ConditionalValue< + | UtilityValues["insetInline"] + | CssVars + | CssProperties["insetInline"] + | AnyString + >; /** * The **`inset-block`** CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -7034,7 +7284,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-block */ - insetY?: ConditionalValue; + insetY?: ConditionalValue< + | UtilityValues["insetBlock"] + | CssVars + | CssProperties["insetBlock"] + | AnyString + >; /** * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -7048,7 +7303,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end */ - insetEnd?: ConditionalValue; + insetEnd?: ConditionalValue< + | UtilityValues["insetInlineEnd"] + | CssVars + | CssProperties["insetInlineEnd"] + | AnyString + >; /** * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -7062,7 +7322,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end */ - end?: ConditionalValue; + end?: ConditionalValue< + | UtilityValues["insetInlineEnd"] + | CssVars + | CssProperties["insetInlineEnd"] + | AnyString + >; /** * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -7076,7 +7341,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start */ - insetStart?: ConditionalValue; + insetStart?: ConditionalValue< + | UtilityValues["insetInlineStart"] + | CssVars + | CssProperties["insetInlineStart"] + | AnyString + >; /** * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. * @@ -7090,7 +7360,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start */ - start?: ConditionalValue; + start?: ConditionalValue< + | UtilityValues["insetInlineStart"] + | CssVars + | CssProperties["insetInlineStart"] + | AnyString + >; /** * The **`flex-direction`** CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). * @@ -7117,7 +7392,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding */ - p?: ConditionalValue; + p?: ConditionalValue< + UtilityValues["padding"] | CssVars | CssProperties["padding"] | AnyString + >; /** * The **`padding-left`** CSS property sets the width of the padding area to the left of an element. * @@ -7131,7 +7408,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-left */ - pl?: ConditionalValue; + pl?: ConditionalValue< + | UtilityValues["paddingLeft"] + | CssVars + | CssProperties["paddingLeft"] + | AnyString + >; /** * The **`padding-right`** CSS property sets the width of the padding area on the right of an element. * @@ -7145,7 +7427,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-right */ - pr?: ConditionalValue; + pr?: ConditionalValue< + | UtilityValues["paddingRight"] + | CssVars + | CssProperties["paddingRight"] + | AnyString + >; /** * The **`padding-top`** CSS property sets the height of the padding area on the top of an element. * @@ -7159,7 +7446,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-top */ - pt?: ConditionalValue; + pt?: ConditionalValue< + | UtilityValues["paddingTop"] + | CssVars + | CssProperties["paddingTop"] + | AnyString + >; /** * The **`padding-bottom`** CSS property sets the height of the padding area on the bottom of an element. * @@ -7173,7 +7465,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom */ - pb?: ConditionalValue; + pb?: ConditionalValue< + | UtilityValues["paddingBottom"] + | CssVars + | CssProperties["paddingBottom"] + | AnyString + >; /** * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -7185,7 +7482,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-block */ - py?: ConditionalValue; + py?: ConditionalValue< + | UtilityValues["paddingBlock"] + | CssVars + | CssProperties["paddingBlock"] + | AnyString + >; /** * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -7197,7 +7499,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-block */ - paddingY?: ConditionalValue; + paddingY?: ConditionalValue< + | UtilityValues["paddingBlock"] + | CssVars + | CssProperties["paddingBlock"] + | AnyString + >; /** * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -7209,7 +7516,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline */ - paddingX?: ConditionalValue; + paddingX?: ConditionalValue< + | UtilityValues["paddingInline"] + | CssVars + | CssProperties["paddingInline"] + | AnyString + >; /** * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. * @@ -7221,7 +7533,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline */ - px?: ConditionalValue; + px?: ConditionalValue< + | UtilityValues["paddingInline"] + | CssVars + | CssProperties["paddingInline"] + | AnyString + >; /** * The **`padding-inline-end`** CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -7236,7 +7553,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-end */ - pe?: ConditionalValue; + pe?: ConditionalValue< + | UtilityValues["paddingInlineEnd"] + | CssVars + | CssProperties["paddingInlineEnd"] + | AnyString + >; /** * The **`padding-inline-end`** CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -7251,7 +7573,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-end */ - paddingEnd?: ConditionalValue; + paddingEnd?: ConditionalValue< + | UtilityValues["paddingInlineEnd"] + | CssVars + | CssProperties["paddingInlineEnd"] + | AnyString + >; /** * The **`padding-inline-start`** CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -7266,7 +7593,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-start */ - ps?: ConditionalValue; + ps?: ConditionalValue< + | UtilityValues["paddingInlineStart"] + | CssVars + | CssProperties["paddingInlineStart"] + | AnyString + >; /** * The **`padding-inline-start`** CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. * @@ -7282,7 +7614,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-start */ paddingStart?: ConditionalValue< - CssProperties["paddingInlineStart"] | AnyString + | UtilityValues["paddingInlineStart"] + | CssVars + | CssProperties["paddingInlineStart"] + | AnyString >; /** * The **`margin-left`** CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. @@ -7535,7 +7870,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/outline-width */ - ringWidth?: ConditionalValue; + ringWidth?: ConditionalValue< + | UtilityValues["outlineWidth"] + | CssVars + | CssProperties["outlineWidth"] + | AnyString + >; /** * The **`outline-color`** CSS property sets the color of an element's outline. * @@ -7580,7 +7920,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/outline-offset */ - ringOffset?: ConditionalValue; + ringOffset?: ConditionalValue< + | UtilityValues["outlineOffset"] + | CssVars + | CssProperties["outlineOffset"] + | AnyString + >; /** * The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. * @@ -7889,7 +8234,12 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/border-radius */ - rounded?: ConditionalValue; + rounded?: ConditionalValue< + | UtilityValues["borderRadius"] + | CssVars + | CssProperties["borderRadius"] + | AnyString + >; /** * The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. * @@ -7905,7 +8255,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius */ roundedTopLeft?: ConditionalValue< - CssProperties["borderTopLeftRadius"] | AnyString + | UtilityValues["borderTopLeftRadius"] + | CssVars + | CssProperties["borderTopLeftRadius"] + | AnyString >; /** * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. @@ -7922,7 +8275,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius */ roundedTopRight?: ConditionalValue< - CssProperties["borderTopRightRadius"] | AnyString + | UtilityValues["borderTopRightRadius"] + | CssVars + | CssProperties["borderTopRightRadius"] + | AnyString >; /** * The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. @@ -7939,7 +8295,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius */ roundedBottomRight?: ConditionalValue< - CssProperties["borderBottomRightRadius"] | AnyString + | UtilityValues["borderBottomRightRadius"] + | CssVars + | CssProperties["borderBottomRightRadius"] + | AnyString >; /** * The **`border-bottom-left-radius`** CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. @@ -7956,7 +8315,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius */ roundedBottomLeft?: ConditionalValue< - CssProperties["borderBottomLeftRadius"] | AnyString + | UtilityValues["borderBottomLeftRadius"] + | CssVars + | CssProperties["borderBottomLeftRadius"] + | AnyString >; roundedTop?: ConditionalValue< UtilityValues["borderTopRadius"] | CssVars | AnyString @@ -7984,7 +8346,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius */ roundedStartStart?: ConditionalValue< - CssProperties["borderStartStartRadius"] | AnyString + | UtilityValues["borderStartStartRadius"] + | CssVars + | CssProperties["borderStartStartRadius"] + | AnyString >; /** * The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. @@ -8000,7 +8365,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius */ roundedStartEnd?: ConditionalValue< - CssProperties["borderStartEndRadius"] | AnyString + | UtilityValues["borderStartEndRadius"] + | CssVars + | CssProperties["borderStartEndRadius"] + | AnyString >; roundedStart?: ConditionalValue< UtilityValues["borderStartRadius"] | CssVars | AnyString @@ -8019,7 +8387,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius */ roundedEndStart?: ConditionalValue< - CssProperties["borderEndStartRadius"] | AnyString + | UtilityValues["borderEndStartRadius"] + | CssVars + | CssProperties["borderEndStartRadius"] + | AnyString >; /** * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. @@ -8035,7 +8406,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius */ roundedEndEnd?: ConditionalValue< - CssProperties["borderEndEndRadius"] | AnyString + | UtilityValues["borderEndEndRadius"] + | CssVars + | CssProperties["borderEndEndRadius"] + | AnyString >; roundedEnd?: ConditionalValue< UtilityValues["borderEndRadius"] | CssVars | AnyString @@ -8066,7 +8440,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width */ borderXWidth?: ConditionalValue< - CssProperties["borderInlineWidth"] | AnyString + | UtilityValues["borderInlineWidth"] + | CssVars + | CssProperties["borderInlineWidth"] + | AnyString >; /** * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -8113,7 +8490,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-block-width */ borderYWidth?: ConditionalValue< - CssProperties["borderBlockWidth"] | AnyString + | UtilityValues["borderBlockWidth"] + | CssVars + | CssProperties["borderBlockWidth"] + | AnyString >; /** * The **`border-block-color`** CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -8162,7 +8542,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width */ borderStartWidth?: ConditionalValue< - CssProperties["borderInlineStartWidth"] | AnyString + | UtilityValues["borderInlineStartWidth"] + | CssVars + | CssProperties["borderInlineStartWidth"] + | AnyString >; /** * The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -8211,7 +8594,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width */ borderEndWidth?: ConditionalValue< - CssProperties["borderInlineEndWidth"] | AnyString + | UtilityValues["borderInlineEndWidth"] + | CssVars + | CssProperties["borderInlineEndWidth"] + | AnyString >; /** * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. @@ -8266,7 +8652,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block */ scrollMarginY?: ConditionalValue< - CssProperties["scrollMarginBlock"] | AnyString + | UtilityValues["scrollMarginBlock"] + | CssVars + | CssProperties["scrollMarginBlock"] + | AnyString >; /** * The `scroll-margin-inline` shorthand property sets the scroll margins of an element in the inline dimension. @@ -8280,7 +8669,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline */ scrollMarginX?: ConditionalValue< - CssProperties["scrollMarginInline"] | AnyString + | UtilityValues["scrollMarginInline"] + | CssVars + | CssProperties["scrollMarginInline"] + | AnyString >; /** * The `scroll-padding-block` shorthand property sets the scroll padding of an element in the block dimension. @@ -8294,7 +8686,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block */ scrollPaddingY?: ConditionalValue< - CssProperties["scrollPaddingBlock"] | AnyString + | UtilityValues["scrollPaddingBlock"] + | CssVars + | CssProperties["scrollPaddingBlock"] + | AnyString >; /** * The `scroll-padding-inline` shorthand property sets the scroll padding of an element in the inline dimension. @@ -8308,7 +8703,10 @@ export interface SystemProperties { * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline */ scrollPaddingX?: ConditionalValue< - CssProperties["scrollPaddingInline"] | AnyString + | UtilityValues["scrollPaddingInline"] + | CssVars + | CssProperties["scrollPaddingInline"] + | AnyString >; hideFrom?: ConditionalValue; hideBelow?: ConditionalValue< @@ -8316,8 +8714,8 @@ export interface SystemProperties { >; spaceX?: ConditionalValue; spaceY?: ConditionalValue; - divideX?: ConditionalValue; - divideY?: ConditionalValue; + divideX?: ConditionalValue; + divideY?: ConditionalValue; divideColor?: ConditionalValue< UtilityValues["divideColor"] | CssVars | AnyString >; @@ -8385,8 +8783,12 @@ export interface SystemProperties { backdropOpacity?: ConditionalValue; backdropSaturate?: ConditionalValue; backdropSepia?: ConditionalValue; - borderSpacingX?: ConditionalValue; - borderSpacingY?: ConditionalValue; + borderSpacingX?: ConditionalValue< + UtilityValues["borderSpacingX"] | CssVars | AnyString + >; + borderSpacingY?: ConditionalValue< + UtilityValues["borderSpacingY"] | CssVars | AnyString + >; rotateX?: ConditionalValue; rotateY?: ConditionalValue; rotateZ?: ConditionalValue; @@ -8419,7 +8821,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin */ - scrollSnapMargin?: ConditionalValue; + scrollSnapMargin?: ConditionalValue< + UtilityValues["scrollSnapMargin"] | CssVars | AnyString + >; /** * The `scroll-margin-top` property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. * @@ -8434,7 +8838,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top */ - scrollSnapMarginTop?: ConditionalValue; + scrollSnapMarginTop?: ConditionalValue< + UtilityValues["scrollSnapMarginTop"] | CssVars | AnyString + >; /** * The `scroll-margin-bottom` property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. * @@ -8449,7 +8855,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom */ - scrollSnapMarginBottom?: ConditionalValue; + scrollSnapMarginBottom?: ConditionalValue< + UtilityValues["scrollSnapMarginBottom"] | CssVars | AnyString + >; /** * The `scroll-margin-left` property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. * @@ -8464,7 +8872,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left */ - scrollSnapMarginLeft?: ConditionalValue; + scrollSnapMarginLeft?: ConditionalValue< + UtilityValues["scrollSnapMarginLeft"] | CssVars | AnyString + >; /** * The `scroll-margin-right` property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. * @@ -8479,7 +8889,9 @@ export interface SystemProperties { * * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right */ - scrollSnapMarginRight?: ConditionalValue; + scrollSnapMarginRight?: ConditionalValue< + UtilityValues["scrollSnapMarginRight"] | CssVars | AnyString + >; srOnly?: ConditionalValue; debug?: ConditionalValue; colorPalette?: ConditionalValue< diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 574d2686..d9056275 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -195,9 +195,6 @@ importers: wowds-icons: specifier: workspace:^ version: link:../../packages/wow-icons - wowds-tokens: - specifier: workspace:^ - version: link:../../packages/wow-tokens wowds-ui: specifier: workspace:^ version: link:../../packages/wow-ui @@ -230,10 +227,6 @@ importers: packages/shared-config: {} packages/theme: - dependencies: - wowds-tokens: - specifier: workspace:^ - version: link:../wow-tokens devDependencies: '@pandacss/dev': specifier: ^0.39.0 diff --git a/styled-system/css/conditions.mjs b/styled-system/css/conditions.mjs deleted file mode 100644 index fcd76efd..00000000 --- a/styled-system/css/conditions.mjs +++ /dev/null @@ -1,34 +0,0 @@ -import { withoutSpace } from '../helpers.mjs'; - -const conditionsStr = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base" -const conditions = new Set(conditionsStr.split(',')) - -export function isCondition(value){ - return conditions.has(value) || /^@|&|&$/.test(value) -} - -const underscoreRegex = /^_/ -const conditionsSelectorRegex = /&|@/ - -export function finalizeConditions(paths){ - return paths.map((path) => { - if (conditions.has(path)){ - return path.replace(underscoreRegex, '') - } - - if (conditionsSelectorRegex.test(path)){ - return `[${withoutSpace(path.trim())}]` - } - - return path - })} - - export function sortConditions(paths){ - return paths.sort((a, b) => { - const aa = isCondition(a) - const bb = isCondition(b) - if (aa && !bb) return 1 - if (!aa && bb) return -1 - return 0 - }) - } \ No newline at end of file diff --git a/styled-system/css/css.d.ts b/styled-system/css/css.d.ts deleted file mode 100644 index cff6b0e2..00000000 --- a/styled-system/css/css.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject } from "../types/index"; - -type Styles = SystemStyleObject | undefined | null | false; - -interface CssFunction { - (styles: Styles): string; - (styles: Styles[]): string; - (...styles: Array): string; - (styles: Styles): string; - - raw: (styles: Styles) => string; - raw: (styles: Styles[]) => string; - raw: (...styles: Array) => string; - raw: (styles: Styles) => string; -} - -export declare const css: CssFunction; diff --git a/styled-system/css/css.mjs b/styled-system/css/css.mjs deleted file mode 100644 index f3854435..00000000 --- a/styled-system/css/css.mjs +++ /dev/null @@ -1,45 +0,0 @@ -import { createCss, createMergeCss, hypenateProperty, withoutSpace } from '../helpers.mjs'; -import { sortConditions, finalizeConditions } from './conditions.mjs'; - -const utilities = "aspectRatio:aspect,boxDecorationBreak:decoration,zIndex:z,boxSizing:box,objectPosition:obj-pos,objectFit:obj-fit,overscrollBehavior:overscroll,overscrollBehaviorX:overscroll-x,overscrollBehaviorY:overscroll-y,position:pos/1,top:top,left:left,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,inset:inset,insetBlockEnd:inset-b,insetBlockStart:inset-t,insetInlineEnd:end/insetEnd/1,insetInlineStart:start/insetStart/1,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:basis,flex:flex,flexDirection:flex/flexDir,flexGrow:grow,flexShrink:shrink,gridTemplateColumns:grid-cols,gridTemplateRows:grid-rows,gridColumn:col-span,gridRow:row-span,gridColumnStart:col-start,gridColumnEnd:col-end,gridAutoFlow:grid-flow,gridAutoColumns:auto-cols,gridAutoRows:auto-rows,gap:gap,gridGap:gap,gridRowGap:gap-x,gridColumnGap:gap-y,rowGap:gap-x,columnGap:gap-y,justifyContent:justify,alignContent:content,alignItems:items,alignSelf:self,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pb,paddingBlockStart:pt,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mb,marginBlockStart:mt,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:space-x,spaceY:space-y,outlineWidth:ring-width/ringWidth,outlineColor:ring-color/ringColor,outline:ring/1,outlineOffset:ring-offset/ringOffset,divideX:divide-x,divideY:divide-y,divideColor:divide-color,divideStyle:divide-style,width:w/1,inlineSize:w,minWidth:min-w/minW,minInlineSize:min-w,maxWidth:max-w/maxW,maxInlineSize:max-w,height:h/1,blockSize:h,minHeight:min-h/minH,minBlockSize:min-h,maxHeight:max-h/maxH,maxBlockSize:max-b,color:text,fontFamily:font,fontSize:fs,fontWeight:fw,fontSmoothing:smoothing,fontVariantNumeric:numeric,letterSpacing:tracking,lineHeight:leading,textAlign:text-align,textDecoration:text-decor,textDecorationColor:text-decor-color,textEmphasisColor:text-emphasis-color,textDecorationStyle:decoration-style,textDecorationThickness:decoration-thickness,textUnderlineOffset:underline-offset,textTransform:text-transform,textIndent:indent,textShadow:text-shadow,textShadowColor:text-shadow/textShadowColor,textOverflow:text-overflow,verticalAlign:v-align,wordBreak:break,textWrap:text-wrap,truncate:truncate,lineClamp:clamp,listStyleType:list-type,listStylePosition:list-pos,listStyleImage:list-img,backgroundPosition:bg-pos/bgPosition,backgroundPositionX:bg-pos-x/bgPositionX,backgroundPositionY:bg-pos-y/bgPositionY,backgroundAttachment:bg-attach/bgAttachment,backgroundClip:bg-clip/bgClip,background:bg/1,backgroundColor:bg/bgColor,backgroundOrigin:bg-origin/bgOrigin,backgroundImage:bg-img/bgImage,backgroundRepeat:bg-repeat/bgRepeat,backgroundBlendMode:bg-blend/bgBlendMode,backgroundSize:bg-size/bgSize,backgroundGradient:bg-gradient/bgGradient,textGradient:text-gradient,gradientFromPosition:gradient-from-pos,gradientToPosition:gradient-to-pos,gradientFrom:gradient-from,gradientTo:gradient-to,gradientVia:gradient-via,gradientViaPosition:gradient-via-pos,borderRadius:rounded/1,borderTopLeftRadius:rounded-tl/roundedTopLeft,borderTopRightRadius:rounded-tr/roundedTopRight,borderBottomRightRadius:rounded-br/roundedBottomRight,borderBottomLeftRadius:rounded-bl/roundedBottomLeft,borderTopRadius:rounded-t/roundedTop,borderRightRadius:rounded-r/roundedRight,borderBottomRadius:rounded-b/roundedBottom,borderLeftRadius:rounded-l/roundedLeft,borderStartStartRadius:rounded-ss/roundedStartStart,borderStartEndRadius:rounded-se/roundedStartEnd,borderStartRadius:rounded-s/roundedStart,borderEndStartRadius:rounded-es/roundedEndStart,borderEndEndRadius:rounded-ee/roundedEndEnd,borderEndRadius:rounded-e/roundedEnd,border:border,borderWidth:border-w,borderTopWidth:border-tw,borderLeftWidth:border-lw,borderRightWidth:border-rw,borderBottomWidth:border-bw,borderColor:border,borderInline:border-x/borderX,borderInlineWidth:border-x/borderXWidth,borderInlineColor:border-x/borderXColor,borderBlock:border-y/borderY,borderBlockWidth:border-y/borderYWidth,borderBlockColor:border-y/borderYColor,borderLeft:border-l,borderLeftColor:border-l,borderInlineStart:border-s/borderStart,borderInlineStartWidth:border-s/borderStartWidth,borderInlineStartColor:border-s/borderStartColor,borderRight:border-r,borderRightColor:border-r,borderInlineEnd:border-e/borderEnd,borderInlineEndWidth:border-e/borderEndWidth,borderInlineEndColor:border-e/borderEndColor,borderTop:border-t,borderTopColor:border-t,borderBottom:border-b,borderBottomColor:border-b,borderBlockEnd:border-be,borderBlockEndColor:border-be,borderBlockStart:border-bs,borderBlockStartColor:border-bs,boxShadow:shadow/1,boxShadowColor:shadow-color/shadowColor,mixBlendMode:mix-blend,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:backdrop,backdropBlur:backdrop-blur,backdropBrightness:backdrop-brightness,backdropContrast:backdrop-contrast,backdropGrayscale:backdrop-grayscale,backdropHueRotate:backdrop-hue-rotate,backdropInvert:backdrop-invert,backdropOpacity:backdrop-opacity,backdropSaturate:backdrop-saturate,backdropSepia:backdrop-sepia,borderCollapse:border,borderSpacing:border-spacing,borderSpacingX:border-spacing-x,borderSpacingY:border-spacing-y,tableLayout:table,transitionTimingFunction:ease,transitionDelay:delay,transitionDuration:duration,transitionProperty:transition-prop,transition:transition,animation:animation,animationName:animation-name,animationTimingFunction:animation-ease,animationDuration:animation-duration,animationDelay:animation-delay,transformOrigin:origin,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:accent,caretColor:caret,scrollBehavior:scroll,scrollbar:scrollbar,scrollMargin:scroll-m,scrollMarginLeft:scroll-ml,scrollMarginRight:scroll-mr,scrollMarginTop:scroll-mt,scrollMarginBottom:scroll-mb,scrollMarginBlock:scroll-my/scrollMarginY,scrollMarginBlockEnd:scroll-mb,scrollMarginBlockStart:scroll-mt,scrollMarginInline:scroll-mx/scrollMarginX,scrollMarginInlineEnd:scroll-me,scrollMarginInlineStart:scroll-ms,scrollPadding:scroll-p,scrollPaddingBlock:scroll-pb/scrollPaddingY,scrollPaddingBlockStart:scroll-pt,scrollPaddingBlockEnd:scroll-pb,scrollPaddingInline:scroll-px/scrollPaddingX,scrollPaddingInlineEnd:scroll-pe,scrollPaddingInlineStart:scroll-ps,scrollPaddingLeft:scroll-pl,scrollPaddingRight:scroll-pr,scrollPaddingTop:scroll-pt,scrollPaddingBottom:scroll-pb,scrollSnapAlign:snap-align,scrollSnapStop:snap-stop,scrollSnapType:snap-type,scrollSnapStrictness:snap-strictness,scrollSnapMargin:snap-m,scrollSnapMarginTop:snap-mt,scrollSnapMarginBottom:snap-mb,scrollSnapMarginLeft:snap-ml,scrollSnapMarginRight:snap-mr,touchAction:touch,userSelect:select,fill:fill,stroke:stroke,strokeWidth:stroke-w,srOnly:sr,debug:debug,appearance:appearance,backfaceVisibility:backface,clipPath:clip-path,hyphens:hyphens,mask:mask,maskImage:mask-image,maskSize:mask-size,textSizeAdjust:text-adjust,container:cq,containerName:cq-name,containerType:cq-type,textStyle:textStyle" - -const classNameByProp = new Map() -const shorthands = new Map() -utilities.split(',').forEach((utility) => { - const [prop, meta] = utility.split(':') - const [className, ...shorthandList] = meta.split('/') - classNameByProp.set(prop, className) - if (shorthandList.length) { - shorthandList.forEach((shorthand) => { - shorthands.set(shorthand === '1' ? className : shorthand, prop) - }) - } -}) - -const resolveShorthand = (prop) => shorthands.get(prop) || prop - -const context = { - - conditions: { - shift: sortConditions, - finalize: finalizeConditions, - breakpoints: { keys: ["base","sm","md","lg","xl","2xl"] } - }, - utility: { - - transform: (prop, value) => { - const key = resolveShorthand(prop) - const propKey = classNameByProp.get(key) || hypenateProperty(key) - return { className: `${propKey}_${withoutSpace(value)}` } - }, - hasShorthand: true, - toHash: (path, hashFn) => hashFn(path.join(":")), - resolveShorthand: resolveShorthand, - } -} - -const cssFn = createCss(context) -export const css = (...styles) => cssFn(mergeCss(...styles)) -css.raw = (...styles) => mergeCss(...styles) - -export const { mergeCss, assignCss } = createMergeCss(context) \ No newline at end of file diff --git a/styled-system/css/cva.d.ts b/styled-system/css/cva.d.ts deleted file mode 100644 index 78f66403..00000000 --- a/styled-system/css/cva.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* eslint-disable */ -import type { RecipeCreatorFn } from "../types/recipe"; - -export declare const cva: RecipeCreatorFn; - -export type { RecipeVariant, RecipeVariantProps } from "../types/recipe"; diff --git a/styled-system/css/cva.mjs b/styled-system/css/cva.mjs deleted file mode 100644 index 831b5e61..00000000 --- a/styled-system/css/cva.mjs +++ /dev/null @@ -1,87 +0,0 @@ -import { compact, mergeProps, memo, splitProps, uniq } from '../helpers.mjs'; -import { css, mergeCss } from './css.mjs'; - -const defaults = (conf) => ({ - base: {}, - variants: {}, - defaultVariants: {}, - compoundVariants: [], - ...conf, -}) - -export function cva(config) { - const { base, variants, defaultVariants, compoundVariants } = defaults(config) - const getVariantProps = (variants) => ({ ...defaultVariants, ...compact(variants) }) - - function resolve(props = {}) { - const computedVariants = getVariantProps(props) - let variantCss = { ...base } - for (const [key, value] of Object.entries(computedVariants)) { - if (variants[key]?.[value]) { - variantCss = mergeCss(variantCss, variants[key][value]) - } - } - const compoundVariantCss = getCompoundVariantCss(compoundVariants, computedVariants) - return mergeCss(variantCss, compoundVariantCss) - } - - function merge(__cva) { - const override = defaults(__cva.config) - const variantKeys = uniq(__cva.variantKeys, Object.keys(variants)) - return cva({ - base: mergeCss(base, override.base), - variants: Object.fromEntries( - variantKeys.map((key) => [key, mergeCss(variants[key], override.variants[key])]), - ), - defaultVariants: mergeProps(defaultVariants, override.defaultVariants), - compoundVariants: [...compoundVariants, ...override.compoundVariants], - }) - } - - function cvaFn(props) { - return css(resolve(props)) - } - - const variantKeys = Object.keys(variants) - - function splitVariantProps(props) { - return splitProps(props, variantKeys) - } - - const variantMap = Object.fromEntries(Object.entries(variants).map(([key, value]) => [key, Object.keys(value)])) - - return Object.assign(memo(cvaFn), { - __cva__: true, - variantMap, - variantKeys, - raw: resolve, - config, - merge, - splitVariantProps, - getVariantProps - }) -} - -export function getCompoundVariantCss(compoundVariants, variantMap) { - let result = {} - compoundVariants.forEach((compoundVariant) => { - const isMatching = Object.entries(compoundVariant).every(([key, value]) => { - if (key === 'css') return true - - const values = Array.isArray(value) ? value : [value] - return values.some((value) => variantMap[key] === value) - }) - - if (isMatching) { - result = mergeCss(result, compoundVariant.css) - } - }) - - return result -} - -export function assertCompoundVariant(name, compoundVariants, variants, prop) { - if (compoundVariants.length > 0 && typeof variants?.[prop] === 'object') { - throw new Error(`[recipe:${name}:${prop}] Conditions are not supported when using compound variants.`) - } -} diff --git a/styled-system/css/cx.d.ts b/styled-system/css/cx.d.ts deleted file mode 100644 index 8a876a0e..00000000 --- a/styled-system/css/cx.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* eslint-disable */ -type Argument = string | boolean | null | undefined; - -/** Conditionally join classNames into a single string */ -export declare function cx(...args: Argument[]): string; diff --git a/styled-system/css/cx.mjs b/styled-system/css/cx.mjs deleted file mode 100644 index 81bbdae3..00000000 --- a/styled-system/css/cx.mjs +++ /dev/null @@ -1,15 +0,0 @@ -function cx() { - let str = '', - i = 0, - arg - - for (; i < arguments.length; ) { - if ((arg = arguments[i++]) && typeof arg === 'string') { - str && (str += ' ') - str += arg - } - } - return str -} - -export { cx } \ No newline at end of file diff --git a/styled-system/css/index.d.ts b/styled-system/css/index.d.ts deleted file mode 100644 index eb7cec86..00000000 --- a/styled-system/css/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* eslint-disable */ -export * from "./css"; -export * from "./cx"; -export * from "./cva"; -export * from "./sva"; diff --git a/styled-system/css/index.mjs b/styled-system/css/index.mjs deleted file mode 100644 index f2392bd6..00000000 --- a/styled-system/css/index.mjs +++ /dev/null @@ -1,4 +0,0 @@ -export * from './css.mjs'; -export * from './cx.mjs'; -export * from './cva.mjs'; -export * from './sva.mjs'; \ No newline at end of file diff --git a/styled-system/css/sva.d.ts b/styled-system/css/sva.d.ts deleted file mode 100644 index d2593ec9..00000000 --- a/styled-system/css/sva.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable */ -import type { SlotRecipeCreatorFn } from "../types/recipe"; - -export declare const sva: SlotRecipeCreatorFn; diff --git a/styled-system/css/sva.mjs b/styled-system/css/sva.mjs deleted file mode 100644 index 30e42f33..00000000 --- a/styled-system/css/sva.mjs +++ /dev/null @@ -1,41 +0,0 @@ -import { compact, getSlotRecipes, memo, splitProps } from '../helpers.mjs'; -import { cva } from './cva.mjs'; -import { cx } from './cx.mjs'; - -const slotClass = (className, slot) => className + '__' + slot - -export function sva(config) { - const slots = Object.entries(getSlotRecipes(config)).map(([slot, slotCva]) => [slot, cva(slotCva)]) - const defaultVariants = config.defaultVariants ?? {} - - function svaFn(props) { - const result = slots.map(([slot, cvaFn]) => [slot, cx(cvaFn(props), config.className && slotClass(config.className, slot))]) - return Object.fromEntries(result) - } - - function raw(props) { - const result = slots.map(([slot, cvaFn]) => [slot, cvaFn.raw(props)]) - return Object.fromEntries(result) - } - - const variants = config.variants ?? {}; - const variantKeys = Object.keys(variants); - - function splitVariantProps(props) { - return splitProps(props, variantKeys); - } - const getVariantProps = (variants) => ({ ...(defaultVariants || {}), ...compact(variants) }) - - const variantMap = Object.fromEntries( - Object.entries(variants).map(([key, value]) => [key, Object.keys(value)]) - ); - - return Object.assign(memo(svaFn), { - __cva__: false, - raw, - variantMap, - variantKeys, - splitVariantProps, - getVariantProps, - }) -} \ No newline at end of file diff --git a/styled-system/helpers.mjs b/styled-system/helpers.mjs deleted file mode 100644 index b14325fc..00000000 --- a/styled-system/helpers.mjs +++ /dev/null @@ -1,314 +0,0 @@ -// src/assert.ts -function isObject(value) { - return typeof value === "object" && value != null && !Array.isArray(value); -} - -// src/compact.ts -function compact(value) { - return Object.fromEntries(Object.entries(value ?? {}).filter(([_, value2]) => value2 !== void 0)); -} - -// src/condition.ts -var isBaseCondition = (v) => v === "base"; -function filterBaseConditions(c) { - return c.slice().filter((v) => !isBaseCondition(v)); -} - -// src/hash.ts -function toChar(code) { - return String.fromCharCode(code + (code > 25 ? 39 : 97)); -} -function toName(code) { - let name = ""; - let x; - for (x = Math.abs(code); x > 52; x = x / 52 | 0) - name = toChar(x % 52) + name; - return toChar(x % 52) + name; -} -function toPhash(h, x) { - let i = x.length; - while (i) - h = h * 33 ^ x.charCodeAt(--i); - return h; -} -function toHash(value) { - return toName(toPhash(5381, value) >>> 0); -} - -// src/important.ts -var importantRegex = /\s*!(important)?/i; -function isImportant(value) { - return typeof value === "string" ? importantRegex.test(value) : false; -} -function withoutImportant(value) { - return typeof value === "string" ? value.replace(importantRegex, "").trim() : value; -} -function withoutSpace(str) { - return typeof str === "string" ? str.replaceAll(" ", "_") : str; -} - -// src/memo.ts -var memo = (fn) => { - const cache = /* @__PURE__ */ new Map(); - const get = (...args) => { - const key = JSON.stringify(args); - if (cache.has(key)) { - return cache.get(key); - } - const result = fn(...args); - cache.set(key, result); - return result; - }; - return get; -}; - -// src/merge-props.ts -function mergeProps(...sources) { - const objects = sources.filter(Boolean); - return objects.reduce((prev, obj) => { - Object.keys(obj).forEach((key) => { - const prevValue = prev[key]; - const value = obj[key]; - if (isObject(prevValue) && isObject(value)) { - prev[key] = mergeProps(prevValue, value); - } else { - prev[key] = value; - } - }); - return prev; - }, {}); -} - -// src/walk-object.ts -var isNotNullish = (element) => element != null; -function walkObject(target, predicate, options = {}) { - const { stop, getKey } = options; - function inner(value, path = []) { - if (isObject(value) || Array.isArray(value)) { - const result = {}; - for (const [prop, child] of Object.entries(value)) { - const key = getKey?.(prop, child) ?? prop; - const childPath = [...path, key]; - if (stop?.(value, childPath)) { - return predicate(value, path); - } - const next = inner(child, childPath); - if (isNotNullish(next)) { - result[key] = next; - } - } - return result; - } - return predicate(value, path); - } - return inner(target); -} -function mapObject(obj, fn) { - if (Array.isArray(obj)) - return obj.map((value) => fn(value)); - if (!isObject(obj)) - return fn(obj); - return walkObject(obj, (value) => fn(value)); -} - -// src/normalize-style-object.ts -function toResponsiveObject(values, breakpoints) { - return values.reduce( - (acc, current, index) => { - const key = breakpoints[index]; - if (current != null) { - acc[key] = current; - } - return acc; - }, - {} - ); -} -function normalizeStyleObject(styles, context, shorthand = true) { - const { utility, conditions } = context; - const { hasShorthand, resolveShorthand } = utility; - return walkObject( - styles, - (value) => { - return Array.isArray(value) ? toResponsiveObject(value, conditions.breakpoints.keys) : value; - }, - { - stop: (value) => Array.isArray(value), - getKey: shorthand ? (prop) => hasShorthand ? resolveShorthand(prop) : prop : void 0 - } - ); -} - -// src/classname.ts -var fallbackCondition = { - shift: (v) => v, - finalize: (v) => v, - breakpoints: { keys: [] } -}; -var sanitize = (value) => typeof value === "string" ? value.replaceAll(/[\n\s]+/g, " ") : value; -function createCss(context) { - const { utility, hash, conditions: conds = fallbackCondition } = context; - const formatClassName = (str) => [utility.prefix, str].filter(Boolean).join("-"); - const hashFn = (conditions, className) => { - let result; - if (hash) { - const baseArray = [...conds.finalize(conditions), className]; - result = formatClassName(utility.toHash(baseArray, toHash)); - } else { - const baseArray = [...conds.finalize(conditions), formatClassName(className)]; - result = baseArray.join(":"); - } - return result; - }; - return memo(({ base, ...styles } = {}) => { - const styleObject = Object.assign(styles, base); - const normalizedObject = normalizeStyleObject(styleObject, context); - const classNames = /* @__PURE__ */ new Set(); - walkObject(normalizedObject, (value, paths) => { - const important = isImportant(value); - if (value == null) - return; - const [prop, ...allConditions] = conds.shift(paths); - const conditions = filterBaseConditions(allConditions); - const transformed = utility.transform(prop, withoutImportant(sanitize(value))); - let className = hashFn(conditions, transformed.className); - if (important) - className = `${className}!`; - classNames.add(className); - }); - return Array.from(classNames).join(" "); - }); -} -function compactStyles(...styles) { - return styles.flat().filter((style) => isObject(style) && Object.keys(compact(style)).length > 0); -} -function createMergeCss(context) { - function resolve(styles) { - const allStyles = compactStyles(...styles); - if (allStyles.length === 1) - return allStyles; - return allStyles.map((style) => normalizeStyleObject(style, context)); - } - function mergeCss(...styles) { - return mergeProps(...resolve(styles)); - } - function assignCss(...styles) { - return Object.assign({}, ...resolve(styles)); - } - return { mergeCss: memo(mergeCss), assignCss }; -} - -// src/hypenate-property.ts -var wordRegex = /([A-Z])/g; -var msRegex = /^ms-/; -var hypenateProperty = memo((property) => { - if (property.startsWith("--")) - return property; - return property.replace(wordRegex, "-$1").replace(msRegex, "-ms-").toLowerCase(); -}); - -// src/is-css-function.ts -var fns = ["min", "max", "clamp", "calc"]; -var fnRegExp = new RegExp(`^(${fns.join("|")})\\(.*\\)`); -var isCssFunction = (v) => typeof v === "string" && fnRegExp.test(v); - -// src/is-css-unit.ts -var lengthUnits = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%"; -var lengthUnitsPattern = `(?:${lengthUnits.split(",").join("|")})`; -var lengthRegExp = new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${lengthUnitsPattern}$`); -var isCssUnit = (v) => typeof v === "string" && lengthRegExp.test(v); - -// src/is-css-var.ts -var isCssVar = (v) => typeof v === "string" && /^var\(--.+\)$/.test(v); - -// src/pattern-fns.ts -var patternFns = { - map: mapObject, - isCssFunction, - isCssVar, - isCssUnit -}; -var getPatternStyles = (pattern, styles) => { - if (!pattern?.defaultValues) - return styles; - const defaults = typeof pattern.defaultValues === "function" ? pattern.defaultValues(styles) : pattern.defaultValues; - return Object.assign({}, defaults, compact(styles)); -}; - -// src/slot.ts -var getSlotRecipes = (recipe = {}) => { - const init = (slot) => ({ - className: [recipe.className, slot].filter(Boolean).join("__"), - base: recipe.base?.[slot] ?? {}, - variants: {}, - defaultVariants: recipe.defaultVariants ?? {}, - compoundVariants: recipe.compoundVariants ? getSlotCompoundVariant(recipe.compoundVariants, slot) : [] - }); - const slots = recipe.slots ?? []; - const recipeParts = slots.map((slot) => [slot, init(slot)]); - for (const [variantsKey, variantsSpec] of Object.entries(recipe.variants ?? {})) { - for (const [variantKey, variantSpec] of Object.entries(variantsSpec)) { - recipeParts.forEach(([slot, slotRecipe]) => { - slotRecipe.variants[variantsKey] ??= {}; - slotRecipe.variants[variantsKey][variantKey] = variantSpec[slot] ?? {}; - }); - } - } - return Object.fromEntries(recipeParts); -}; -var getSlotCompoundVariant = (compoundVariants, slotName) => compoundVariants.filter((compoundVariant) => compoundVariant.css[slotName]).map((compoundVariant) => ({ ...compoundVariant, css: compoundVariant.css[slotName] })); - -// src/split-props.ts -function splitProps(props, ...keys) { - const descriptors = Object.getOwnPropertyDescriptors(props); - const dKeys = Object.keys(descriptors); - const split = (k) => { - const clone = {}; - for (let i = 0; i < k.length; i++) { - const key = k[i]; - if (descriptors[key]) { - Object.defineProperty(clone, key, descriptors[key]); - delete descriptors[key]; - } - } - return clone; - }; - const fn = (key) => split(Array.isArray(key) ? key : dKeys.filter(key)); - return keys.map(fn).concat(split(dKeys)); -} - -// src/uniq.ts -var uniq = (...items) => items.filter(Boolean).reduce((acc, item) => Array.from(/* @__PURE__ */ new Set([...acc, ...item])), []); -export { - compact, - createCss, - createMergeCss, - filterBaseConditions, - getPatternStyles, - getSlotCompoundVariant, - getSlotRecipes, - hypenateProperty, - isBaseCondition, - isObject, - mapObject, - memo, - mergeProps, - patternFns, - splitProps, - toHash, - uniq, - walkObject, - withoutSpace -}; - - - - - -export function __spreadValues(a, b) { - return { ...a, ...b } -} - -export function __objRest(source, exclude) { - return Object.fromEntries(Object.entries(source).filter(([key]) => !exclude.includes(key))) -} \ No newline at end of file diff --git a/styled-system/patterns/aspect-ratio.d.ts b/styled-system/patterns/aspect-ratio.d.ts deleted file mode 100644 index c07557c2..00000000 --- a/styled-system/patterns/aspect-ratio.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface AspectRatioProperties { - ratio?: ConditionalValue; -} - -interface AspectRatioStyles - extends AspectRatioProperties, - DistributiveOmit< - SystemStyleObject, - keyof AspectRatioProperties | "aspectRatio" - > {} - -interface AspectRatioPatternFn { - (styles?: AspectRatioStyles): string; - raw: (styles?: AspectRatioStyles) => SystemStyleObject; -} - -export declare const aspectRatio: AspectRatioPatternFn; diff --git a/styled-system/patterns/aspect-ratio.mjs b/styled-system/patterns/aspect-ratio.mjs deleted file mode 100644 index 050c0d4e..00000000 --- a/styled-system/patterns/aspect-ratio.mjs +++ /dev/null @@ -1,38 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const aspectRatioConfig = { -transform(props, { map }) { - const { ratio = 4 / 3, ...rest } = props; - return { - position: "relative", - _before: { - content: `""`, - display: "block", - height: "0", - paddingBottom: map(ratio, (r) => `${1 / r * 100}%`) - }, - "&>*": { - display: "flex", - justifyContent: "center", - alignItems: "center", - overflow: "hidden", - position: "absolute", - inset: "0", - width: "100%", - height: "100%" - }, - "&>img, &>video": { - objectFit: "cover" - }, - ...rest - }; -}} - -export const getAspectRatioStyle = (styles = {}) => { - const _styles = getPatternStyles(aspectRatioConfig, styles) - return aspectRatioConfig.transform(_styles, patternFns) -} - -export const aspectRatio = (styles) => css(getAspectRatioStyle(styles)) -aspectRatio.raw = getAspectRatioStyle \ No newline at end of file diff --git a/styled-system/patterns/bleed.d.ts b/styled-system/patterns/bleed.d.ts deleted file mode 100644 index 929dac9a..00000000 --- a/styled-system/patterns/bleed.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface BleedProperties { - inline?: SystemProperties["marginInline"]; - block?: SystemProperties["marginBlock"]; -} - -interface BleedStyles - extends BleedProperties, - DistributiveOmit {} - -interface BleedPatternFn { - (styles?: BleedStyles): string; - raw: (styles?: BleedStyles) => SystemStyleObject; -} - -export declare const bleed: BleedPatternFn; diff --git a/styled-system/patterns/bleed.mjs b/styled-system/patterns/bleed.mjs deleted file mode 100644 index a7eaa936..00000000 --- a/styled-system/patterns/bleed.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const bleedConfig = { -transform(props, { map, isCssUnit, isCssVar }) { - const { inline, block, ...rest } = props; - const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`; - return { - "--bleed-x": map(inline, valueFn), - "--bleed-y": map(block, valueFn), - marginInline: "calc(var(--bleed-x, 0) * -1)", - marginBlock: "calc(var(--bleed-y, 0) * -1)", - ...rest - }; -}, -defaultValues:{inline:'0',block:'0'}} - -export const getBleedStyle = (styles = {}) => { - const _styles = getPatternStyles(bleedConfig, styles) - return bleedConfig.transform(_styles, patternFns) -} - -export const bleed = (styles) => css(getBleedStyle(styles)) -bleed.raw = getBleedStyle \ No newline at end of file diff --git a/styled-system/patterns/box.d.ts b/styled-system/patterns/box.d.ts deleted file mode 100644 index 348f80d9..00000000 --- a/styled-system/patterns/box.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface BoxProperties {} - -interface BoxStyles - extends BoxProperties, - DistributiveOmit {} - -interface BoxPatternFn { - (styles?: BoxStyles): string; - raw: (styles?: BoxStyles) => SystemStyleObject; -} - -export declare const box: BoxPatternFn; diff --git a/styled-system/patterns/box.mjs b/styled-system/patterns/box.mjs deleted file mode 100644 index 96cafb58..00000000 --- a/styled-system/patterns/box.mjs +++ /dev/null @@ -1,15 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const boxConfig = { -transform(props) { - return props; -}} - -export const getBoxStyle = (styles = {}) => { - const _styles = getPatternStyles(boxConfig, styles) - return boxConfig.transform(_styles, patternFns) -} - -export const box = (styles) => css(getBoxStyle(styles)) -box.raw = getBoxStyle \ No newline at end of file diff --git a/styled-system/patterns/center.d.ts b/styled-system/patterns/center.d.ts deleted file mode 100644 index b03f66d1..00000000 --- a/styled-system/patterns/center.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface CenterProperties { - inline?: ConditionalValue; -} - -interface CenterStyles - extends CenterProperties, - DistributiveOmit {} - -interface CenterPatternFn { - (styles?: CenterStyles): string; - raw: (styles?: CenterStyles) => SystemStyleObject; -} - -export declare const center: CenterPatternFn; diff --git a/styled-system/patterns/center.mjs b/styled-system/patterns/center.mjs deleted file mode 100644 index a01f4f06..00000000 --- a/styled-system/patterns/center.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const centerConfig = { -transform(props) { - const { inline, ...rest } = props; - return { - display: inline ? "inline-flex" : "flex", - alignItems: "center", - justifyContent: "center", - ...rest - }; -}} - -export const getCenterStyle = (styles = {}) => { - const _styles = getPatternStyles(centerConfig, styles) - return centerConfig.transform(_styles, patternFns) -} - -export const center = (styles) => css(getCenterStyle(styles)) -center.raw = getCenterStyle \ No newline at end of file diff --git a/styled-system/patterns/circle.d.ts b/styled-system/patterns/circle.d.ts deleted file mode 100644 index 76122a0d..00000000 --- a/styled-system/patterns/circle.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface CircleProperties { - size?: SystemProperties["width"]; -} - -interface CircleStyles - extends CircleProperties, - DistributiveOmit {} - -interface CirclePatternFn { - (styles?: CircleStyles): string; - raw: (styles?: CircleStyles) => SystemStyleObject; -} - -export declare const circle: CirclePatternFn; diff --git a/styled-system/patterns/circle.mjs b/styled-system/patterns/circle.mjs deleted file mode 100644 index 40fcbfb1..00000000 --- a/styled-system/patterns/circle.mjs +++ /dev/null @@ -1,25 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const circleConfig = { -transform(props) { - const { size, ...rest } = props; - return { - display: "flex", - alignItems: "center", - justifyContent: "center", - flex: "0 0 auto", - width: size, - height: size, - borderRadius: "9999px", - ...rest - }; -}} - -export const getCircleStyle = (styles = {}) => { - const _styles = getPatternStyles(circleConfig, styles) - return circleConfig.transform(_styles, patternFns) -} - -export const circle = (styles) => css(getCircleStyle(styles)) -circle.raw = getCircleStyle \ No newline at end of file diff --git a/styled-system/patterns/container.d.ts b/styled-system/patterns/container.d.ts deleted file mode 100644 index c3ac83aa..00000000 --- a/styled-system/patterns/container.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface ContainerProperties {} - -interface ContainerStyles - extends ContainerProperties, - DistributiveOmit {} - -interface ContainerPatternFn { - (styles?: ContainerStyles): string; - raw: (styles?: ContainerStyles) => SystemStyleObject; -} - -export declare const container: ContainerPatternFn; diff --git a/styled-system/patterns/container.mjs b/styled-system/patterns/container.mjs deleted file mode 100644 index 55483f36..00000000 --- a/styled-system/patterns/container.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const containerConfig = { -transform(props) { - return { - position: "relative", - maxWidth: "8xl", - mx: "auto", - px: { base: "4", md: "6", lg: "8" }, - ...props - }; -}} - -export const getContainerStyle = (styles = {}) => { - const _styles = getPatternStyles(containerConfig, styles) - return containerConfig.transform(_styles, patternFns) -} - -export const container = (styles) => css(getContainerStyle(styles)) -container.raw = getContainerStyle \ No newline at end of file diff --git a/styled-system/patterns/cq.d.ts b/styled-system/patterns/cq.d.ts deleted file mode 100644 index 3a52ab09..00000000 --- a/styled-system/patterns/cq.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface CqProperties { - name?: ConditionalValue< - Tokens["containerNames"] | Properties["containerName"] - >; - type?: SystemProperties["containerType"]; -} - -interface CqStyles - extends CqProperties, - DistributiveOmit {} - -interface CqPatternFn { - (styles?: CqStyles): string; - raw: (styles?: CqStyles) => SystemStyleObject; -} - -export declare const cq: CqPatternFn; diff --git a/styled-system/patterns/cq.mjs b/styled-system/patterns/cq.mjs deleted file mode 100644 index 1ef7e9ad..00000000 --- a/styled-system/patterns/cq.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const cqConfig = { -transform(props) { - const { name, type, ...rest } = props; - return { - containerType: type, - containerName: name, - ...rest - }; -}, -defaultValues:{type:'inline-size'}} - -export const getCqStyle = (styles = {}) => { - const _styles = getPatternStyles(cqConfig, styles) - return cqConfig.transform(_styles, patternFns) -} - -export const cq = (styles) => css(getCqStyle(styles)) -cq.raw = getCqStyle \ No newline at end of file diff --git a/styled-system/patterns/divider.d.ts b/styled-system/patterns/divider.d.ts deleted file mode 100644 index c7e94fef..00000000 --- a/styled-system/patterns/divider.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface DividerProperties { - orientation?: ConditionalValue<"horizontal" | "vertical">; - thickness?: ConditionalValue; - color?: ConditionalValue; -} - -interface DividerStyles - extends DividerProperties, - DistributiveOmit {} - -interface DividerPatternFn { - (styles?: DividerStyles): string; - raw: (styles?: DividerStyles) => SystemStyleObject; -} - -export declare const divider: DividerPatternFn; diff --git a/styled-system/patterns/divider.mjs b/styled-system/patterns/divider.mjs deleted file mode 100644 index 9a81dbe1..00000000 --- a/styled-system/patterns/divider.mjs +++ /dev/null @@ -1,25 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const dividerConfig = { -transform(props, { map }) { - const { orientation, thickness, color, ...rest } = props; - return { - "--thickness": thickness, - width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"), - height: map(orientation, (v) => v === "horizontal" ? void 0 : "100%"), - borderBlockEndWidth: map(orientation, (v) => v === "horizontal" ? "var(--thickness)" : void 0), - borderInlineEndWidth: map(orientation, (v) => v === "vertical" ? "var(--thickness)" : void 0), - borderColor: color, - ...rest - }; -}, -defaultValues:{orientation:'horizontal',thickness:'1px'}} - -export const getDividerStyle = (styles = {}) => { - const _styles = getPatternStyles(dividerConfig, styles) - return dividerConfig.transform(_styles, patternFns) -} - -export const divider = (styles) => css(getDividerStyle(styles)) -divider.raw = getDividerStyle \ No newline at end of file diff --git a/styled-system/patterns/flex.d.ts b/styled-system/patterns/flex.d.ts deleted file mode 100644 index e4b03bde..00000000 --- a/styled-system/patterns/flex.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface FlexProperties { - align?: SystemProperties["alignItems"]; - justify?: SystemProperties["justifyContent"]; - direction?: SystemProperties["flexDirection"]; - wrap?: SystemProperties["flexWrap"]; - basis?: SystemProperties["flexBasis"]; - grow?: SystemProperties["flexGrow"]; - shrink?: SystemProperties["flexShrink"]; -} - -interface FlexStyles - extends FlexProperties, - DistributiveOmit {} - -interface FlexPatternFn { - (styles?: FlexStyles): string; - raw: (styles?: FlexStyles) => SystemStyleObject; -} - -export declare const flex: FlexPatternFn; diff --git a/styled-system/patterns/flex.mjs b/styled-system/patterns/flex.mjs deleted file mode 100644 index fd12888b..00000000 --- a/styled-system/patterns/flex.mjs +++ /dev/null @@ -1,26 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const flexConfig = { -transform(props) { - const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props; - return { - display: "flex", - flexDirection: direction, - alignItems: align, - justifyContent: justify, - flexWrap: wrap2, - flexBasis: basis, - flexGrow: grow, - flexShrink: shrink, - ...rest - }; -}} - -export const getFlexStyle = (styles = {}) => { - const _styles = getPatternStyles(flexConfig, styles) - return flexConfig.transform(_styles, patternFns) -} - -export const flex = (styles) => css(getFlexStyle(styles)) -flex.raw = getFlexStyle \ No newline at end of file diff --git a/styled-system/patterns/float.d.ts b/styled-system/patterns/float.d.ts deleted file mode 100644 index f841cfec..00000000 --- a/styled-system/patterns/float.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface FloatProperties { - offsetX?: ConditionalValue; - offsetY?: ConditionalValue; - offset?: ConditionalValue; - placement?: ConditionalValue< - | "bottom-end" - | "bottom-start" - | "top-end" - | "top-start" - | "bottom-center" - | "top-center" - | "middle-center" - | "middle-end" - | "middle-start" - >; -} - -interface FloatStyles - extends FloatProperties, - DistributiveOmit {} - -interface FloatPatternFn { - (styles?: FloatStyles): string; - raw: (styles?: FloatStyles) => SystemStyleObject; -} - -export declare const float: FloatPatternFn; diff --git a/styled-system/patterns/float.mjs b/styled-system/patterns/float.mjs deleted file mode 100644 index 3d89978b..00000000 --- a/styled-system/patterns/float.mjs +++ /dev/null @@ -1,52 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const floatConfig = { -transform(props, { map }) { - const { offset, offsetX, offsetY, placement, ...rest } = props; - return { - display: "inline-flex", - justifyContent: "center", - alignItems: "center", - position: "absolute", - insetBlockStart: map(placement, (v) => { - const [side] = v.split("-"); - const map2 = { top: offsetY, middle: "50%", bottom: "auto" }; - return map2[side]; - }), - insetBlockEnd: map(placement, (v) => { - const [side] = v.split("-"); - const map2 = { top: "auto", middle: "50%", bottom: offsetY }; - return map2[side]; - }), - insetInlineStart: map(placement, (v) => { - const [, align] = v.split("-"); - const map2 = { start: offsetX, center: "50%", end: "auto" }; - return map2[align]; - }), - insetInlineEnd: map(placement, (v) => { - const [, align] = v.split("-"); - const map2 = { start: "auto", center: "50%", end: offsetX }; - return map2[align]; - }), - translate: map(placement, (v) => { - const [side, align] = v.split("-"); - const mapX = { start: "-50%", center: "-50%", end: "50%" }; - const mapY = { top: "-50%", middle: "-50%", bottom: "50%" }; - return `${mapX[align]} ${mapY[side]}`; - }), - ...rest - }; -}, -defaultValues(props) { - const offset = props.offset || "0"; - return { offset, offsetX: offset, offsetY: offset, placement: "top-end" }; -}} - -export const getFloatStyle = (styles = {}) => { - const _styles = getPatternStyles(floatConfig, styles) - return floatConfig.transform(_styles, patternFns) -} - -export const float = (styles) => css(getFloatStyle(styles)) -float.raw = getFloatStyle \ No newline at end of file diff --git a/styled-system/patterns/grid-item.d.ts b/styled-system/patterns/grid-item.d.ts deleted file mode 100644 index 1753e288..00000000 --- a/styled-system/patterns/grid-item.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface GridItemProperties { - colSpan?: ConditionalValue; - rowSpan?: ConditionalValue; - colStart?: ConditionalValue; - rowStart?: ConditionalValue; - colEnd?: ConditionalValue; - rowEnd?: ConditionalValue; -} - -interface GridItemStyles - extends GridItemProperties, - DistributiveOmit {} - -interface GridItemPatternFn { - (styles?: GridItemStyles): string; - raw: (styles?: GridItemStyles) => SystemStyleObject; -} - -export declare const gridItem: GridItemPatternFn; diff --git a/styled-system/patterns/grid-item.mjs b/styled-system/patterns/grid-item.mjs deleted file mode 100644 index e00f4725..00000000 --- a/styled-system/patterns/grid-item.mjs +++ /dev/null @@ -1,25 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const gridItemConfig = { -transform(props, { map }) { - const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props; - const spanFn = (v) => v === "auto" ? v : `span ${v}`; - return { - gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0, - gridRow: rowSpan != null ? map(rowSpan, spanFn) : void 0, - gridColumnStart: colStart, - gridColumnEnd: colEnd, - gridRowStart: rowStart, - gridRowEnd: rowEnd, - ...rest - }; -}} - -export const getGridItemStyle = (styles = {}) => { - const _styles = getPatternStyles(gridItemConfig, styles) - return gridItemConfig.transform(_styles, patternFns) -} - -export const gridItem = (styles) => css(getGridItemStyle(styles)) -gridItem.raw = getGridItemStyle \ No newline at end of file diff --git a/styled-system/patterns/grid.d.ts b/styled-system/patterns/grid.d.ts deleted file mode 100644 index 95038cb5..00000000 --- a/styled-system/patterns/grid.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface GridProperties { - gap?: SystemProperties["gap"]; - columnGap?: SystemProperties["gap"]; - rowGap?: SystemProperties["gap"]; - columns?: ConditionalValue; - minChildWidth?: ConditionalValue; -} - -interface GridStyles - extends GridProperties, - DistributiveOmit {} - -interface GridPatternFn { - (styles?: GridStyles): string; - raw: (styles?: GridStyles) => SystemStyleObject; -} - -export declare const grid: GridPatternFn; diff --git a/styled-system/patterns/grid.mjs b/styled-system/patterns/grid.mjs deleted file mode 100644 index 9dba80a0..00000000 --- a/styled-system/patterns/grid.mjs +++ /dev/null @@ -1,27 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const gridConfig = { -transform(props, { map, isCssUnit }) { - const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props; - const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`; - return { - display: "grid", - gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0, - gap, - columnGap, - rowGap, - ...rest - }; -}, -defaultValues(props) { - return { gap: props.columnGap || props.rowGap ? void 0 : "10px" }; -}} - -export const getGridStyle = (styles = {}) => { - const _styles = getPatternStyles(gridConfig, styles) - return gridConfig.transform(_styles, patternFns) -} - -export const grid = (styles) => css(getGridStyle(styles)) -grid.raw = getGridStyle \ No newline at end of file diff --git a/styled-system/patterns/hstack.d.ts b/styled-system/patterns/hstack.d.ts deleted file mode 100644 index 6ccd4c40..00000000 --- a/styled-system/patterns/hstack.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface HstackProperties { - justify?: SystemProperties["justifyContent"]; - gap?: SystemProperties["gap"]; -} - -interface HstackStyles - extends HstackProperties, - DistributiveOmit {} - -interface HstackPatternFn { - (styles?: HstackStyles): string; - raw: (styles?: HstackStyles) => SystemStyleObject; -} - -export declare const hstack: HstackPatternFn; diff --git a/styled-system/patterns/hstack.mjs b/styled-system/patterns/hstack.mjs deleted file mode 100644 index 07f4ef31..00000000 --- a/styled-system/patterns/hstack.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const hstackConfig = { -transform(props) { - const { justify, gap, ...rest } = props; - return { - display: "flex", - alignItems: "center", - justifyContent: justify, - gap, - flexDirection: "row", - ...rest - }; -}, -defaultValues:{gap:'10px'}} - -export const getHstackStyle = (styles = {}) => { - const _styles = getPatternStyles(hstackConfig, styles) - return hstackConfig.transform(_styles, patternFns) -} - -export const hstack = (styles) => css(getHstackStyle(styles)) -hstack.raw = getHstackStyle \ No newline at end of file diff --git a/styled-system/patterns/index.d.ts b/styled-system/patterns/index.d.ts deleted file mode 100644 index b8d39591..00000000 --- a/styled-system/patterns/index.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable */ -export * from "./box"; -export * from "./flex"; -export * from "./stack"; -export * from "./vstack"; -export * from "./hstack"; -export * from "./spacer"; -export * from "./square"; -export * from "./circle"; -export * from "./center"; -export * from "./link-overlay"; -export * from "./aspect-ratio"; -export * from "./grid"; -export * from "./grid-item"; -export * from "./wrap"; -export * from "./container"; -export * from "./divider"; -export * from "./float"; -export * from "./bleed"; -export * from "./visually-hidden"; -export * from "./cq"; diff --git a/styled-system/patterns/index.mjs b/styled-system/patterns/index.mjs deleted file mode 100644 index 6efe55b7..00000000 --- a/styled-system/patterns/index.mjs +++ /dev/null @@ -1,20 +0,0 @@ -export * from './box.mjs'; -export * from './flex.mjs'; -export * from './stack.mjs'; -export * from './vstack.mjs'; -export * from './hstack.mjs'; -export * from './spacer.mjs'; -export * from './square.mjs'; -export * from './circle.mjs'; -export * from './center.mjs'; -export * from './link-overlay.mjs'; -export * from './aspect-ratio.mjs'; -export * from './grid.mjs'; -export * from './grid-item.mjs'; -export * from './wrap.mjs'; -export * from './container.mjs'; -export * from './divider.mjs'; -export * from './float.mjs'; -export * from './bleed.mjs'; -export * from './visually-hidden.mjs'; -export * from './cq.mjs'; \ No newline at end of file diff --git a/styled-system/patterns/link-overlay.d.ts b/styled-system/patterns/link-overlay.d.ts deleted file mode 100644 index b03eaf15..00000000 --- a/styled-system/patterns/link-overlay.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface LinkOverlayProperties {} - -interface LinkOverlayStyles - extends LinkOverlayProperties, - DistributiveOmit {} - -interface LinkOverlayPatternFn { - (styles?: LinkOverlayStyles): string; - raw: (styles?: LinkOverlayStyles) => SystemStyleObject; -} - -export declare const linkOverlay: LinkOverlayPatternFn; diff --git a/styled-system/patterns/link-overlay.mjs b/styled-system/patterns/link-overlay.mjs deleted file mode 100644 index 9b904ad2..00000000 --- a/styled-system/patterns/link-overlay.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const linkOverlayConfig = { -transform(props) { - return { - _before: { - content: '""', - position: "absolute", - inset: "0", - zIndex: "0", - ...props["_before"] - }, - ...props - }; -}} - -export const getLinkOverlayStyle = (styles = {}) => { - const _styles = getPatternStyles(linkOverlayConfig, styles) - return linkOverlayConfig.transform(_styles, patternFns) -} - -export const linkOverlay = (styles) => css(getLinkOverlayStyle(styles)) -linkOverlay.raw = getLinkOverlayStyle \ No newline at end of file diff --git a/styled-system/patterns/spacer.d.ts b/styled-system/patterns/spacer.d.ts deleted file mode 100644 index 47331f26..00000000 --- a/styled-system/patterns/spacer.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface SpacerProperties { - size?: ConditionalValue; -} - -interface SpacerStyles - extends SpacerProperties, - DistributiveOmit {} - -interface SpacerPatternFn { - (styles?: SpacerStyles): string; - raw: (styles?: SpacerStyles) => SystemStyleObject; -} - -export declare const spacer: SpacerPatternFn; diff --git a/styled-system/patterns/spacer.mjs b/styled-system/patterns/spacer.mjs deleted file mode 100644 index 01b66e41..00000000 --- a/styled-system/patterns/spacer.mjs +++ /dev/null @@ -1,21 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const spacerConfig = { -transform(props, { map }) { - const { size, ...rest } = props; - return { - alignSelf: "stretch", - justifySelf: "stretch", - flex: map(size, (v) => v == null ? "1" : `0 0 ${v}`), - ...rest - }; -}} - -export const getSpacerStyle = (styles = {}) => { - const _styles = getPatternStyles(spacerConfig, styles) - return spacerConfig.transform(_styles, patternFns) -} - -export const spacer = (styles) => css(getSpacerStyle(styles)) -spacer.raw = getSpacerStyle \ No newline at end of file diff --git a/styled-system/patterns/square.d.ts b/styled-system/patterns/square.d.ts deleted file mode 100644 index 99660d29..00000000 --- a/styled-system/patterns/square.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface SquareProperties { - size?: SystemProperties["width"]; -} - -interface SquareStyles - extends SquareProperties, - DistributiveOmit {} - -interface SquarePatternFn { - (styles?: SquareStyles): string; - raw: (styles?: SquareStyles) => SystemStyleObject; -} - -export declare const square: SquarePatternFn; diff --git a/styled-system/patterns/square.mjs b/styled-system/patterns/square.mjs deleted file mode 100644 index 7aa07973..00000000 --- a/styled-system/patterns/square.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const squareConfig = { -transform(props) { - const { size, ...rest } = props; - return { - display: "flex", - alignItems: "center", - justifyContent: "center", - flex: "0 0 auto", - width: size, - height: size, - ...rest - }; -}} - -export const getSquareStyle = (styles = {}) => { - const _styles = getPatternStyles(squareConfig, styles) - return squareConfig.transform(_styles, patternFns) -} - -export const square = (styles) => css(getSquareStyle(styles)) -square.raw = getSquareStyle \ No newline at end of file diff --git a/styled-system/patterns/stack.d.ts b/styled-system/patterns/stack.d.ts deleted file mode 100644 index 954a5a92..00000000 --- a/styled-system/patterns/stack.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface StackProperties { - align?: SystemProperties["alignItems"]; - justify?: SystemProperties["justifyContent"]; - direction?: SystemProperties["flexDirection"]; - gap?: SystemProperties["gap"]; -} - -interface StackStyles - extends StackProperties, - DistributiveOmit {} - -interface StackPatternFn { - (styles?: StackStyles): string; - raw: (styles?: StackStyles) => SystemStyleObject; -} - -export declare const stack: StackPatternFn; diff --git a/styled-system/patterns/stack.mjs b/styled-system/patterns/stack.mjs deleted file mode 100644 index 5afce2d6..00000000 --- a/styled-system/patterns/stack.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const stackConfig = { -transform(props) { - const { align, justify, direction, gap, ...rest } = props; - return { - display: "flex", - flexDirection: direction, - alignItems: align, - justifyContent: justify, - gap, - ...rest - }; -}, -defaultValues:{direction:'column',gap:'10px'}} - -export const getStackStyle = (styles = {}) => { - const _styles = getPatternStyles(stackConfig, styles) - return stackConfig.transform(_styles, patternFns) -} - -export const stack = (styles) => css(getStackStyle(styles)) -stack.raw = getStackStyle \ No newline at end of file diff --git a/styled-system/patterns/visually-hidden.d.ts b/styled-system/patterns/visually-hidden.d.ts deleted file mode 100644 index 5da04d75..00000000 --- a/styled-system/patterns/visually-hidden.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface VisuallyHiddenProperties {} - -interface VisuallyHiddenStyles - extends VisuallyHiddenProperties, - DistributiveOmit {} - -interface VisuallyHiddenPatternFn { - (styles?: VisuallyHiddenStyles): string; - raw: (styles?: VisuallyHiddenStyles) => SystemStyleObject; -} - -export declare const visuallyHidden: VisuallyHiddenPatternFn; diff --git a/styled-system/patterns/visually-hidden.mjs b/styled-system/patterns/visually-hidden.mjs deleted file mode 100644 index 534a0eaf..00000000 --- a/styled-system/patterns/visually-hidden.mjs +++ /dev/null @@ -1,18 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const visuallyHiddenConfig = { -transform(props) { - return { - srOnly: true, - ...props - }; -}} - -export const getVisuallyHiddenStyle = (styles = {}) => { - const _styles = getPatternStyles(visuallyHiddenConfig, styles) - return visuallyHiddenConfig.transform(_styles, patternFns) -} - -export const visuallyHidden = (styles) => css(getVisuallyHiddenStyle(styles)) -visuallyHidden.raw = getVisuallyHiddenStyle \ No newline at end of file diff --git a/styled-system/patterns/vstack.d.ts b/styled-system/patterns/vstack.d.ts deleted file mode 100644 index 35d2a9d9..00000000 --- a/styled-system/patterns/vstack.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface VstackProperties { - justify?: SystemProperties["justifyContent"]; - gap?: SystemProperties["gap"]; -} - -interface VstackStyles - extends VstackProperties, - DistributiveOmit {} - -interface VstackPatternFn { - (styles?: VstackStyles): string; - raw: (styles?: VstackStyles) => SystemStyleObject; -} - -export declare const vstack: VstackPatternFn; diff --git a/styled-system/patterns/vstack.mjs b/styled-system/patterns/vstack.mjs deleted file mode 100644 index 287476ca..00000000 --- a/styled-system/patterns/vstack.mjs +++ /dev/null @@ -1,24 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const vstackConfig = { -transform(props) { - const { justify, gap, ...rest } = props; - return { - display: "flex", - alignItems: "center", - justifyContent: justify, - gap, - flexDirection: "column", - ...rest - }; -}, -defaultValues:{gap:'10px'}} - -export const getVstackStyle = (styles = {}) => { - const _styles = getPatternStyles(vstackConfig, styles) - return vstackConfig.transform(_styles, patternFns) -} - -export const vstack = (styles) => css(getVstackStyle(styles)) -vstack.raw = getVstackStyle \ No newline at end of file diff --git a/styled-system/patterns/wrap.d.ts b/styled-system/patterns/wrap.d.ts deleted file mode 100644 index 29dd4541..00000000 --- a/styled-system/patterns/wrap.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* eslint-disable */ -import type { SystemStyleObject, ConditionalValue } from "../types/index"; -import type { Properties } from "../types/csstype"; -import type { SystemProperties } from "../types/style-props"; -import type { DistributiveOmit } from "../types/system-types"; -import type { Tokens } from "../tokens/index"; - -export interface WrapProperties { - gap?: SystemProperties["gap"]; - rowGap?: SystemProperties["gap"]; - columnGap?: SystemProperties["gap"]; - align?: SystemProperties["alignItems"]; - justify?: SystemProperties["justifyContent"]; -} - -interface WrapStyles - extends WrapProperties, - DistributiveOmit {} - -interface WrapPatternFn { - (styles?: WrapStyles): string; - raw: (styles?: WrapStyles) => SystemStyleObject; -} - -export declare const wrap: WrapPatternFn; diff --git a/styled-system/patterns/wrap.mjs b/styled-system/patterns/wrap.mjs deleted file mode 100644 index 225a0d62..00000000 --- a/styled-system/patterns/wrap.mjs +++ /dev/null @@ -1,25 +0,0 @@ -import { getPatternStyles, patternFns } from '../helpers.mjs'; -import { css } from '../css/index.mjs'; - -const wrapConfig = { -transform(props) { - const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "10px", align, justify, ...rest } = props; - return { - display: "flex", - flexWrap: "wrap", - alignItems: align, - justifyContent: justify, - gap, - columnGap, - rowGap, - ...rest - }; -}} - -export const getWrapStyle = (styles = {}) => { - const _styles = getPatternStyles(wrapConfig, styles) - return wrapConfig.transform(_styles, patternFns) -} - -export const wrap = (styles) => css(getWrapStyle(styles)) -wrap.raw = getWrapStyle \ No newline at end of file diff --git a/styled-system/tokens/index.d.ts b/styled-system/tokens/index.d.ts deleted file mode 100644 index d4b2113d..00000000 --- a/styled-system/tokens/index.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* eslint-disable */ -import type { Token } from "./tokens"; - -export declare const token: { - (path: Token, fallback?: string): string; - var: (path: Token, fallback?: string) => string; -}; - -export * from "./tokens"; diff --git a/styled-system/tokens/index.mjs b/styled-system/tokens/index.mjs deleted file mode 100644 index 2024a999..00000000 --- a/styled-system/tokens/index.mjs +++ /dev/null @@ -1,1888 +0,0 @@ -const tokens = { - "aspectRatios.square": { - "value": "1 / 1", - "variable": "var(--aspect-ratios-square)" - }, - "aspectRatios.landscape": { - "value": "4 / 3", - "variable": "var(--aspect-ratios-landscape)" - }, - "aspectRatios.portrait": { - "value": "3 / 4", - "variable": "var(--aspect-ratios-portrait)" - }, - "aspectRatios.wide": { - "value": "16 / 9", - "variable": "var(--aspect-ratios-wide)" - }, - "aspectRatios.ultrawide": { - "value": "18 / 5", - "variable": "var(--aspect-ratios-ultrawide)" - }, - "aspectRatios.golden": { - "value": "1.618 / 1", - "variable": "var(--aspect-ratios-golden)" - }, - "borders.none": { - "value": "none", - "variable": "var(--borders-none)" - }, - "easings.default": { - "value": "cubic-bezier(0.4, 0, 0.2, 1)", - "variable": "var(--easings-default)" - }, - "easings.linear": { - "value": "linear", - "variable": "var(--easings-linear)" - }, - "easings.in": { - "value": "cubic-bezier(0.4, 0, 1, 1)", - "variable": "var(--easings-in)" - }, - "easings.out": { - "value": "cubic-bezier(0, 0, 0.2, 1)", - "variable": "var(--easings-out)" - }, - "easings.in-out": { - "value": "cubic-bezier(0.4, 0, 0.2, 1)", - "variable": "var(--easings-in-out)" - }, - "durations.fastest": { - "value": "50ms", - "variable": "var(--durations-fastest)" - }, - "durations.faster": { - "value": "100ms", - "variable": "var(--durations-faster)" - }, - "durations.fast": { - "value": "150ms", - "variable": "var(--durations-fast)" - }, - "durations.normal": { - "value": "200ms", - "variable": "var(--durations-normal)" - }, - "durations.slow": { - "value": "300ms", - "variable": "var(--durations-slow)" - }, - "durations.slower": { - "value": "400ms", - "variable": "var(--durations-slower)" - }, - "durations.slowest": { - "value": "500ms", - "variable": "var(--durations-slowest)" - }, - "radii.xs": { - "value": "0.125rem", - "variable": "var(--radii-xs)" - }, - "radii.sm": { - "value": "0.25rem", - "variable": "var(--radii-sm)" - }, - "radii.md": { - "value": "0.375rem", - "variable": "var(--radii-md)" - }, - "radii.lg": { - "value": "0.5rem", - "variable": "var(--radii-lg)" - }, - "radii.xl": { - "value": "0.75rem", - "variable": "var(--radii-xl)" - }, - "radii.2xl": { - "value": "1rem", - "variable": "var(--radii-2xl)" - }, - "radii.3xl": { - "value": "1.5rem", - "variable": "var(--radii-3xl)" - }, - "radii.full": { - "value": "9999px", - "variable": "var(--radii-full)" - }, - "fontWeights.thin": { - "value": "100", - "variable": "var(--font-weights-thin)" - }, - "fontWeights.extralight": { - "value": "200", - "variable": "var(--font-weights-extralight)" - }, - "fontWeights.light": { - "value": "300", - "variable": "var(--font-weights-light)" - }, - "fontWeights.normal": { - "value": "400", - "variable": "var(--font-weights-normal)" - }, - "fontWeights.medium": { - "value": "500", - "variable": "var(--font-weights-medium)" - }, - "fontWeights.semibold": { - "value": "600", - "variable": "var(--font-weights-semibold)" - }, - "fontWeights.bold": { - "value": "700", - "variable": "var(--font-weights-bold)" - }, - "fontWeights.extrabold": { - "value": "800", - "variable": "var(--font-weights-extrabold)" - }, - "fontWeights.black": { - "value": "900", - "variable": "var(--font-weights-black)" - }, - "lineHeights.none": { - "value": "1", - "variable": "var(--line-heights-none)" - }, - "lineHeights.tight": { - "value": "1.25", - "variable": "var(--line-heights-tight)" - }, - "lineHeights.snug": { - "value": "1.375", - "variable": "var(--line-heights-snug)" - }, - "lineHeights.normal": { - "value": "1.5", - "variable": "var(--line-heights-normal)" - }, - "lineHeights.relaxed": { - "value": "1.625", - "variable": "var(--line-heights-relaxed)" - }, - "lineHeights.loose": { - "value": "2", - "variable": "var(--line-heights-loose)" - }, - "fonts.sans": { - "value": "ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"", - "variable": "var(--fonts-sans)" - }, - "fonts.serif": { - "value": "ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif", - "variable": "var(--fonts-serif)" - }, - "fonts.mono": { - "value": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace", - "variable": "var(--fonts-mono)" - }, - "letterSpacings.tighter": { - "value": "-0.05em", - "variable": "var(--letter-spacings-tighter)" - }, - "letterSpacings.tight": { - "value": "-0.025em", - "variable": "var(--letter-spacings-tight)" - }, - "letterSpacings.normal": { - "value": "0em", - "variable": "var(--letter-spacings-normal)" - }, - "letterSpacings.wide": { - "value": "0.025em", - "variable": "var(--letter-spacings-wide)" - }, - "letterSpacings.wider": { - "value": "0.05em", - "variable": "var(--letter-spacings-wider)" - }, - "letterSpacings.widest": { - "value": "0.1em", - "variable": "var(--letter-spacings-widest)" - }, - "fontSizes.2xs": { - "value": "0.5rem", - "variable": "var(--font-sizes-2xs)" - }, - "fontSizes.xs": { - "value": "0.75rem", - "variable": "var(--font-sizes-xs)" - }, - "fontSizes.sm": { - "value": "0.875rem", - "variable": "var(--font-sizes-sm)" - }, - "fontSizes.md": { - "value": "1rem", - "variable": "var(--font-sizes-md)" - }, - "fontSizes.lg": { - "value": "1.125rem", - "variable": "var(--font-sizes-lg)" - }, - "fontSizes.xl": { - "value": "1.25rem", - "variable": "var(--font-sizes-xl)" - }, - "fontSizes.2xl": { - "value": "1.5rem", - "variable": "var(--font-sizes-2xl)" - }, - "fontSizes.3xl": { - "value": "1.875rem", - "variable": "var(--font-sizes-3xl)" - }, - "fontSizes.4xl": { - "value": "2.25rem", - "variable": "var(--font-sizes-4xl)" - }, - "fontSizes.5xl": { - "value": "3rem", - "variable": "var(--font-sizes-5xl)" - }, - "fontSizes.6xl": { - "value": "3.75rem", - "variable": "var(--font-sizes-6xl)" - }, - "fontSizes.7xl": { - "value": "4.5rem", - "variable": "var(--font-sizes-7xl)" - }, - "fontSizes.8xl": { - "value": "6rem", - "variable": "var(--font-sizes-8xl)" - }, - "fontSizes.9xl": { - "value": "8rem", - "variable": "var(--font-sizes-9xl)" - }, - "shadows.xs": { - "value": "0 1px 2px 0 rgb(0 0 0 / 0.05)", - "variable": "var(--shadows-xs)" - }, - "shadows.sm": { - "value": "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)", - "variable": "var(--shadows-sm)" - }, - "shadows.md": { - "value": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)", - "variable": "var(--shadows-md)" - }, - "shadows.lg": { - "value": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)", - "variable": "var(--shadows-lg)" - }, - "shadows.xl": { - "value": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)", - "variable": "var(--shadows-xl)" - }, - "shadows.2xl": { - "value": "0 25px 50px -12px rgb(0 0 0 / 0.25)", - "variable": "var(--shadows-2xl)" - }, - "shadows.inner": { - "value": "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)", - "variable": "var(--shadows-inner)" - }, - "colors.current": { - "value": "currentColor", - "variable": "var(--colors-current)" - }, - "colors.black": { - "value": "#000", - "variable": "var(--colors-black)" - }, - "colors.white": { - "value": "#fff", - "variable": "var(--colors-white)" - }, - "colors.transparent": { - "value": "rgb(0 0 0 / 0)", - "variable": "var(--colors-transparent)" - }, - "colors.rose.50": { - "value": "#fff1f2", - "variable": "var(--colors-rose-50)" - }, - "colors.rose.100": { - "value": "#ffe4e6", - "variable": "var(--colors-rose-100)" - }, - "colors.rose.200": { - "value": "#fecdd3", - "variable": "var(--colors-rose-200)" - }, - "colors.rose.300": { - "value": "#fda4af", - "variable": "var(--colors-rose-300)" - }, - "colors.rose.400": { - "value": "#fb7185", - "variable": "var(--colors-rose-400)" - }, - "colors.rose.500": { - "value": "#f43f5e", - "variable": "var(--colors-rose-500)" - }, - "colors.rose.600": { - "value": "#e11d48", - "variable": "var(--colors-rose-600)" - }, - "colors.rose.700": { - "value": "#be123c", - "variable": "var(--colors-rose-700)" - }, - "colors.rose.800": { - "value": "#9f1239", - "variable": "var(--colors-rose-800)" - }, - "colors.rose.900": { - "value": "#881337", - "variable": "var(--colors-rose-900)" - }, - "colors.rose.950": { - "value": "#4c0519", - "variable": "var(--colors-rose-950)" - }, - "colors.pink.50": { - "value": "#fdf2f8", - "variable": "var(--colors-pink-50)" - }, - "colors.pink.100": { - "value": "#fce7f3", - "variable": "var(--colors-pink-100)" - }, - "colors.pink.200": { - "value": "#fbcfe8", - "variable": "var(--colors-pink-200)" - }, - "colors.pink.300": { - "value": "#f9a8d4", - "variable": "var(--colors-pink-300)" - }, - "colors.pink.400": { - "value": "#f472b6", - "variable": "var(--colors-pink-400)" - }, - "colors.pink.500": { - "value": "#ec4899", - "variable": "var(--colors-pink-500)" - }, - "colors.pink.600": { - "value": "#db2777", - "variable": "var(--colors-pink-600)" - }, - "colors.pink.700": { - "value": "#be185d", - "variable": "var(--colors-pink-700)" - }, - "colors.pink.800": { - "value": "#9d174d", - "variable": "var(--colors-pink-800)" - }, - "colors.pink.900": { - "value": "#831843", - "variable": "var(--colors-pink-900)" - }, - "colors.pink.950": { - "value": "#500724", - "variable": "var(--colors-pink-950)" - }, - "colors.fuchsia.50": { - "value": "#fdf4ff", - "variable": "var(--colors-fuchsia-50)" - }, - "colors.fuchsia.100": { - "value": "#fae8ff", - "variable": "var(--colors-fuchsia-100)" - }, - "colors.fuchsia.200": { - "value": "#f5d0fe", - "variable": "var(--colors-fuchsia-200)" - }, - "colors.fuchsia.300": { - "value": "#f0abfc", - "variable": "var(--colors-fuchsia-300)" - }, - "colors.fuchsia.400": { - "value": "#e879f9", - "variable": "var(--colors-fuchsia-400)" - }, - "colors.fuchsia.500": { - "value": "#d946ef", - "variable": "var(--colors-fuchsia-500)" - }, - "colors.fuchsia.600": { - "value": "#c026d3", - "variable": "var(--colors-fuchsia-600)" - }, - "colors.fuchsia.700": { - "value": "#a21caf", - "variable": "var(--colors-fuchsia-700)" - }, - "colors.fuchsia.800": { - "value": "#86198f", - "variable": "var(--colors-fuchsia-800)" - }, - "colors.fuchsia.900": { - "value": "#701a75", - "variable": "var(--colors-fuchsia-900)" - }, - "colors.fuchsia.950": { - "value": "#4a044e", - "variable": "var(--colors-fuchsia-950)" - }, - "colors.purple.50": { - "value": "#faf5ff", - "variable": "var(--colors-purple-50)" - }, - "colors.purple.100": { - "value": "#f3e8ff", - "variable": "var(--colors-purple-100)" - }, - "colors.purple.200": { - "value": "#e9d5ff", - "variable": "var(--colors-purple-200)" - }, - "colors.purple.300": { - "value": "#d8b4fe", - "variable": "var(--colors-purple-300)" - }, - "colors.purple.400": { - "value": "#c084fc", - "variable": "var(--colors-purple-400)" - }, - "colors.purple.500": { - "value": "#a855f7", - "variable": "var(--colors-purple-500)" - }, - "colors.purple.600": { - "value": "#9333ea", - "variable": "var(--colors-purple-600)" - }, - "colors.purple.700": { - "value": "#7e22ce", - "variable": "var(--colors-purple-700)" - }, - "colors.purple.800": { - "value": "#6b21a8", - "variable": "var(--colors-purple-800)" - }, - "colors.purple.900": { - "value": "#581c87", - "variable": "var(--colors-purple-900)" - }, - "colors.purple.950": { - "value": "#3b0764", - "variable": "var(--colors-purple-950)" - }, - "colors.violet.50": { - "value": "#f5f3ff", - "variable": "var(--colors-violet-50)" - }, - "colors.violet.100": { - "value": "#ede9fe", - "variable": "var(--colors-violet-100)" - }, - "colors.violet.200": { - "value": "#ddd6fe", - "variable": "var(--colors-violet-200)" - }, - "colors.violet.300": { - "value": "#c4b5fd", - "variable": "var(--colors-violet-300)" - }, - "colors.violet.400": { - "value": "#a78bfa", - "variable": "var(--colors-violet-400)" - }, - "colors.violet.500": { - "value": "#8b5cf6", - "variable": "var(--colors-violet-500)" - }, - "colors.violet.600": { - "value": "#7c3aed", - "variable": "var(--colors-violet-600)" - }, - "colors.violet.700": { - "value": "#6d28d9", - "variable": "var(--colors-violet-700)" - }, - "colors.violet.800": { - "value": "#5b21b6", - "variable": "var(--colors-violet-800)" - }, - "colors.violet.900": { - "value": "#4c1d95", - "variable": "var(--colors-violet-900)" - }, - "colors.violet.950": { - "value": "#2e1065", - "variable": "var(--colors-violet-950)" - }, - "colors.indigo.50": { - "value": "#eef2ff", - "variable": "var(--colors-indigo-50)" - }, - "colors.indigo.100": { - "value": "#e0e7ff", - "variable": "var(--colors-indigo-100)" - }, - "colors.indigo.200": { - "value": "#c7d2fe", - "variable": "var(--colors-indigo-200)" - }, - "colors.indigo.300": { - "value": "#a5b4fc", - "variable": "var(--colors-indigo-300)" - }, - "colors.indigo.400": { - "value": "#818cf8", - "variable": "var(--colors-indigo-400)" - }, - "colors.indigo.500": { - "value": "#6366f1", - "variable": "var(--colors-indigo-500)" - }, - "colors.indigo.600": { - "value": "#4f46e5", - "variable": "var(--colors-indigo-600)" - }, - "colors.indigo.700": { - "value": "#4338ca", - "variable": "var(--colors-indigo-700)" - }, - "colors.indigo.800": { - "value": "#3730a3", - "variable": "var(--colors-indigo-800)" - }, - "colors.indigo.900": { - "value": "#312e81", - "variable": "var(--colors-indigo-900)" - }, - "colors.indigo.950": { - "value": "#1e1b4b", - "variable": "var(--colors-indigo-950)" - }, - "colors.blue.50": { - "value": "#eff6ff", - "variable": "var(--colors-blue-50)" - }, - "colors.blue.100": { - "value": "#dbeafe", - "variable": "var(--colors-blue-100)" - }, - "colors.blue.200": { - "value": "#bfdbfe", - "variable": "var(--colors-blue-200)" - }, - "colors.blue.300": { - "value": "#93c5fd", - "variable": "var(--colors-blue-300)" - }, - "colors.blue.400": { - "value": "#60a5fa", - "variable": "var(--colors-blue-400)" - }, - "colors.blue.500": { - "value": "#3b82f6", - "variable": "var(--colors-blue-500)" - }, - "colors.blue.600": { - "value": "#2563eb", - "variable": "var(--colors-blue-600)" - }, - "colors.blue.700": { - "value": "#1d4ed8", - "variable": "var(--colors-blue-700)" - }, - "colors.blue.800": { - "value": "#1e40af", - "variable": "var(--colors-blue-800)" - }, - "colors.blue.900": { - "value": "#1e3a8a", - "variable": "var(--colors-blue-900)" - }, - "colors.blue.950": { - "value": "#172554", - "variable": "var(--colors-blue-950)" - }, - "colors.sky.50": { - "value": "#f0f9ff", - "variable": "var(--colors-sky-50)" - }, - "colors.sky.100": { - "value": "#e0f2fe", - "variable": "var(--colors-sky-100)" - }, - "colors.sky.200": { - "value": "#bae6fd", - "variable": "var(--colors-sky-200)" - }, - "colors.sky.300": { - "value": "#7dd3fc", - "variable": "var(--colors-sky-300)" - }, - "colors.sky.400": { - "value": "#38bdf8", - "variable": "var(--colors-sky-400)" - }, - "colors.sky.500": { - "value": "#0ea5e9", - "variable": "var(--colors-sky-500)" - }, - "colors.sky.600": { - "value": "#0284c7", - "variable": "var(--colors-sky-600)" - }, - "colors.sky.700": { - "value": "#0369a1", - "variable": "var(--colors-sky-700)" - }, - "colors.sky.800": { - "value": "#075985", - "variable": "var(--colors-sky-800)" - }, - "colors.sky.900": { - "value": "#0c4a6e", - "variable": "var(--colors-sky-900)" - }, - "colors.sky.950": { - "value": "#082f49", - "variable": "var(--colors-sky-950)" - }, - "colors.cyan.50": { - "value": "#ecfeff", - "variable": "var(--colors-cyan-50)" - }, - "colors.cyan.100": { - "value": "#cffafe", - "variable": "var(--colors-cyan-100)" - }, - "colors.cyan.200": { - "value": "#a5f3fc", - "variable": "var(--colors-cyan-200)" - }, - "colors.cyan.300": { - "value": "#67e8f9", - "variable": "var(--colors-cyan-300)" - }, - "colors.cyan.400": { - "value": "#22d3ee", - "variable": "var(--colors-cyan-400)" - }, - "colors.cyan.500": { - "value": "#06b6d4", - "variable": "var(--colors-cyan-500)" - }, - "colors.cyan.600": { - "value": "#0891b2", - "variable": "var(--colors-cyan-600)" - }, - "colors.cyan.700": { - "value": "#0e7490", - "variable": "var(--colors-cyan-700)" - }, - "colors.cyan.800": { - "value": "#155e75", - "variable": "var(--colors-cyan-800)" - }, - "colors.cyan.900": { - "value": "#164e63", - "variable": "var(--colors-cyan-900)" - }, - "colors.cyan.950": { - "value": "#083344", - "variable": "var(--colors-cyan-950)" - }, - "colors.teal.50": { - "value": "#f0fdfa", - "variable": "var(--colors-teal-50)" - }, - "colors.teal.100": { - "value": "#ccfbf1", - "variable": "var(--colors-teal-100)" - }, - "colors.teal.200": { - "value": "#99f6e4", - "variable": "var(--colors-teal-200)" - }, - "colors.teal.300": { - "value": "#5eead4", - "variable": "var(--colors-teal-300)" - }, - "colors.teal.400": { - "value": "#2dd4bf", - "variable": "var(--colors-teal-400)" - }, - "colors.teal.500": { - "value": "#14b8a6", - "variable": "var(--colors-teal-500)" - }, - "colors.teal.600": { - "value": "#0d9488", - "variable": "var(--colors-teal-600)" - }, - "colors.teal.700": { - "value": "#0f766e", - "variable": "var(--colors-teal-700)" - }, - "colors.teal.800": { - "value": "#115e59", - "variable": "var(--colors-teal-800)" - }, - "colors.teal.900": { - "value": "#134e4a", - "variable": "var(--colors-teal-900)" - }, - "colors.teal.950": { - "value": "#042f2e", - "variable": "var(--colors-teal-950)" - }, - "colors.emerald.50": { - "value": "#ecfdf5", - "variable": "var(--colors-emerald-50)" - }, - "colors.emerald.100": { - "value": "#d1fae5", - "variable": "var(--colors-emerald-100)" - }, - "colors.emerald.200": { - "value": "#a7f3d0", - "variable": "var(--colors-emerald-200)" - }, - "colors.emerald.300": { - "value": "#6ee7b7", - "variable": "var(--colors-emerald-300)" - }, - "colors.emerald.400": { - "value": "#34d399", - "variable": "var(--colors-emerald-400)" - }, - "colors.emerald.500": { - "value": "#10b981", - "variable": "var(--colors-emerald-500)" - }, - "colors.emerald.600": { - "value": "#059669", - "variable": "var(--colors-emerald-600)" - }, - "colors.emerald.700": { - "value": "#047857", - "variable": "var(--colors-emerald-700)" - }, - "colors.emerald.800": { - "value": "#065f46", - "variable": "var(--colors-emerald-800)" - }, - "colors.emerald.900": { - "value": "#064e3b", - "variable": "var(--colors-emerald-900)" - }, - "colors.emerald.950": { - "value": "#022c22", - "variable": "var(--colors-emerald-950)" - }, - "colors.green.50": { - "value": "#f0fdf4", - "variable": "var(--colors-green-50)" - }, - "colors.green.100": { - "value": "#dcfce7", - "variable": "var(--colors-green-100)" - }, - "colors.green.200": { - "value": "#bbf7d0", - "variable": "var(--colors-green-200)" - }, - "colors.green.300": { - "value": "#86efac", - "variable": "var(--colors-green-300)" - }, - "colors.green.400": { - "value": "#4ade80", - "variable": "var(--colors-green-400)" - }, - "colors.green.500": { - "value": "#22c55e", - "variable": "var(--colors-green-500)" - }, - "colors.green.600": { - "value": "#16a34a", - "variable": "var(--colors-green-600)" - }, - "colors.green.700": { - "value": "#15803d", - "variable": "var(--colors-green-700)" - }, - "colors.green.800": { - "value": "#166534", - "variable": "var(--colors-green-800)" - }, - "colors.green.900": { - "value": "#14532d", - "variable": "var(--colors-green-900)" - }, - "colors.green.950": { - "value": "#052e16", - "variable": "var(--colors-green-950)" - }, - "colors.lime.50": { - "value": "#f7fee7", - "variable": "var(--colors-lime-50)" - }, - "colors.lime.100": { - "value": "#ecfccb", - "variable": "var(--colors-lime-100)" - }, - "colors.lime.200": { - "value": "#d9f99d", - "variable": "var(--colors-lime-200)" - }, - "colors.lime.300": { - "value": "#bef264", - "variable": "var(--colors-lime-300)" - }, - "colors.lime.400": { - "value": "#a3e635", - "variable": "var(--colors-lime-400)" - }, - "colors.lime.500": { - "value": "#84cc16", - "variable": "var(--colors-lime-500)" - }, - "colors.lime.600": { - "value": "#65a30d", - "variable": "var(--colors-lime-600)" - }, - "colors.lime.700": { - "value": "#4d7c0f", - "variable": "var(--colors-lime-700)" - }, - "colors.lime.800": { - "value": "#3f6212", - "variable": "var(--colors-lime-800)" - }, - "colors.lime.900": { - "value": "#365314", - "variable": "var(--colors-lime-900)" - }, - "colors.lime.950": { - "value": "#1a2e05", - "variable": "var(--colors-lime-950)" - }, - "colors.yellow.50": { - "value": "#fefce8", - "variable": "var(--colors-yellow-50)" - }, - "colors.yellow.100": { - "value": "#fef9c3", - "variable": "var(--colors-yellow-100)" - }, - "colors.yellow.200": { - "value": "#fef08a", - "variable": "var(--colors-yellow-200)" - }, - "colors.yellow.300": { - "value": "#fde047", - "variable": "var(--colors-yellow-300)" - }, - "colors.yellow.400": { - "value": "#facc15", - "variable": "var(--colors-yellow-400)" - }, - "colors.yellow.500": { - "value": "#eab308", - "variable": "var(--colors-yellow-500)" - }, - "colors.yellow.600": { - "value": "#ca8a04", - "variable": "var(--colors-yellow-600)" - }, - "colors.yellow.700": { - "value": "#a16207", - "variable": "var(--colors-yellow-700)" - }, - "colors.yellow.800": { - "value": "#854d0e", - "variable": "var(--colors-yellow-800)" - }, - "colors.yellow.900": { - "value": "#713f12", - "variable": "var(--colors-yellow-900)" - }, - "colors.yellow.950": { - "value": "#422006", - "variable": "var(--colors-yellow-950)" - }, - "colors.amber.50": { - "value": "#fffbeb", - "variable": "var(--colors-amber-50)" - }, - "colors.amber.100": { - "value": "#fef3c7", - "variable": "var(--colors-amber-100)" - }, - "colors.amber.200": { - "value": "#fde68a", - "variable": "var(--colors-amber-200)" - }, - "colors.amber.300": { - "value": "#fcd34d", - "variable": "var(--colors-amber-300)" - }, - "colors.amber.400": { - "value": "#fbbf24", - "variable": "var(--colors-amber-400)" - }, - "colors.amber.500": { - "value": "#f59e0b", - "variable": "var(--colors-amber-500)" - }, - "colors.amber.600": { - "value": "#d97706", - "variable": "var(--colors-amber-600)" - }, - "colors.amber.700": { - "value": "#b45309", - "variable": "var(--colors-amber-700)" - }, - "colors.amber.800": { - "value": "#92400e", - "variable": "var(--colors-amber-800)" - }, - "colors.amber.900": { - "value": "#78350f", - "variable": "var(--colors-amber-900)" - }, - "colors.amber.950": { - "value": "#451a03", - "variable": "var(--colors-amber-950)" - }, - "colors.orange.50": { - "value": "#fff7ed", - "variable": "var(--colors-orange-50)" - }, - "colors.orange.100": { - "value": "#ffedd5", - "variable": "var(--colors-orange-100)" - }, - "colors.orange.200": { - "value": "#fed7aa", - "variable": "var(--colors-orange-200)" - }, - "colors.orange.300": { - "value": "#fdba74", - "variable": "var(--colors-orange-300)" - }, - "colors.orange.400": { - "value": "#fb923c", - "variable": "var(--colors-orange-400)" - }, - "colors.orange.500": { - "value": "#f97316", - "variable": "var(--colors-orange-500)" - }, - "colors.orange.600": { - "value": "#ea580c", - "variable": "var(--colors-orange-600)" - }, - "colors.orange.700": { - "value": "#c2410c", - "variable": "var(--colors-orange-700)" - }, - "colors.orange.800": { - "value": "#9a3412", - "variable": "var(--colors-orange-800)" - }, - "colors.orange.900": { - "value": "#7c2d12", - "variable": "var(--colors-orange-900)" - }, - "colors.orange.950": { - "value": "#431407", - "variable": "var(--colors-orange-950)" - }, - "colors.red.50": { - "value": "#fef2f2", - "variable": "var(--colors-red-50)" - }, - "colors.red.100": { - "value": "#fee2e2", - "variable": "var(--colors-red-100)" - }, - "colors.red.200": { - "value": "#fecaca", - "variable": "var(--colors-red-200)" - }, - "colors.red.300": { - "value": "#fca5a5", - "variable": "var(--colors-red-300)" - }, - "colors.red.400": { - "value": "#f87171", - "variable": "var(--colors-red-400)" - }, - "colors.red.500": { - "value": "#ef4444", - "variable": "var(--colors-red-500)" - }, - "colors.red.600": { - "value": "#dc2626", - "variable": "var(--colors-red-600)" - }, - "colors.red.700": { - "value": "#b91c1c", - "variable": "var(--colors-red-700)" - }, - "colors.red.800": { - "value": "#991b1b", - "variable": "var(--colors-red-800)" - }, - "colors.red.900": { - "value": "#7f1d1d", - "variable": "var(--colors-red-900)" - }, - "colors.red.950": { - "value": "#450a0a", - "variable": "var(--colors-red-950)" - }, - "colors.neutral.50": { - "value": "#fafafa", - "variable": "var(--colors-neutral-50)" - }, - "colors.neutral.100": { - "value": "#f5f5f5", - "variable": "var(--colors-neutral-100)" - }, - "colors.neutral.200": { - "value": "#e5e5e5", - "variable": "var(--colors-neutral-200)" - }, - "colors.neutral.300": { - "value": "#d4d4d4", - "variable": "var(--colors-neutral-300)" - }, - "colors.neutral.400": { - "value": "#a3a3a3", - "variable": "var(--colors-neutral-400)" - }, - "colors.neutral.500": { - "value": "#737373", - "variable": "var(--colors-neutral-500)" - }, - "colors.neutral.600": { - "value": "#525252", - "variable": "var(--colors-neutral-600)" - }, - "colors.neutral.700": { - "value": "#404040", - "variable": "var(--colors-neutral-700)" - }, - "colors.neutral.800": { - "value": "#262626", - "variable": "var(--colors-neutral-800)" - }, - "colors.neutral.900": { - "value": "#171717", - "variable": "var(--colors-neutral-900)" - }, - "colors.neutral.950": { - "value": "#0a0a0a", - "variable": "var(--colors-neutral-950)" - }, - "colors.stone.50": { - "value": "#fafaf9", - "variable": "var(--colors-stone-50)" - }, - "colors.stone.100": { - "value": "#f5f5f4", - "variable": "var(--colors-stone-100)" - }, - "colors.stone.200": { - "value": "#e7e5e4", - "variable": "var(--colors-stone-200)" - }, - "colors.stone.300": { - "value": "#d6d3d1", - "variable": "var(--colors-stone-300)" - }, - "colors.stone.400": { - "value": "#a8a29e", - "variable": "var(--colors-stone-400)" - }, - "colors.stone.500": { - "value": "#78716c", - "variable": "var(--colors-stone-500)" - }, - "colors.stone.600": { - "value": "#57534e", - "variable": "var(--colors-stone-600)" - }, - "colors.stone.700": { - "value": "#44403c", - "variable": "var(--colors-stone-700)" - }, - "colors.stone.800": { - "value": "#292524", - "variable": "var(--colors-stone-800)" - }, - "colors.stone.900": { - "value": "#1c1917", - "variable": "var(--colors-stone-900)" - }, - "colors.stone.950": { - "value": "#0c0a09", - "variable": "var(--colors-stone-950)" - }, - "colors.zinc.50": { - "value": "#fafafa", - "variable": "var(--colors-zinc-50)" - }, - "colors.zinc.100": { - "value": "#f4f4f5", - "variable": "var(--colors-zinc-100)" - }, - "colors.zinc.200": { - "value": "#e4e4e7", - "variable": "var(--colors-zinc-200)" - }, - "colors.zinc.300": { - "value": "#d4d4d8", - "variable": "var(--colors-zinc-300)" - }, - "colors.zinc.400": { - "value": "#a1a1aa", - "variable": "var(--colors-zinc-400)" - }, - "colors.zinc.500": { - "value": "#71717a", - "variable": "var(--colors-zinc-500)" - }, - "colors.zinc.600": { - "value": "#52525b", - "variable": "var(--colors-zinc-600)" - }, - "colors.zinc.700": { - "value": "#3f3f46", - "variable": "var(--colors-zinc-700)" - }, - "colors.zinc.800": { - "value": "#27272a", - "variable": "var(--colors-zinc-800)" - }, - "colors.zinc.900": { - "value": "#18181b", - "variable": "var(--colors-zinc-900)" - }, - "colors.zinc.950": { - "value": "#09090b", - "variable": "var(--colors-zinc-950)" - }, - "colors.gray.50": { - "value": "#f9fafb", - "variable": "var(--colors-gray-50)" - }, - "colors.gray.100": { - "value": "#f3f4f6", - "variable": "var(--colors-gray-100)" - }, - "colors.gray.200": { - "value": "#e5e7eb", - "variable": "var(--colors-gray-200)" - }, - "colors.gray.300": { - "value": "#d1d5db", - "variable": "var(--colors-gray-300)" - }, - "colors.gray.400": { - "value": "#9ca3af", - "variable": "var(--colors-gray-400)" - }, - "colors.gray.500": { - "value": "#6b7280", - "variable": "var(--colors-gray-500)" - }, - "colors.gray.600": { - "value": "#4b5563", - "variable": "var(--colors-gray-600)" - }, - "colors.gray.700": { - "value": "#374151", - "variable": "var(--colors-gray-700)" - }, - "colors.gray.800": { - "value": "#1f2937", - "variable": "var(--colors-gray-800)" - }, - "colors.gray.900": { - "value": "#111827", - "variable": "var(--colors-gray-900)" - }, - "colors.gray.950": { - "value": "#030712", - "variable": "var(--colors-gray-950)" - }, - "colors.slate.50": { - "value": "#f8fafc", - "variable": "var(--colors-slate-50)" - }, - "colors.slate.100": { - "value": "#f1f5f9", - "variable": "var(--colors-slate-100)" - }, - "colors.slate.200": { - "value": "#e2e8f0", - "variable": "var(--colors-slate-200)" - }, - "colors.slate.300": { - "value": "#cbd5e1", - "variable": "var(--colors-slate-300)" - }, - "colors.slate.400": { - "value": "#94a3b8", - "variable": "var(--colors-slate-400)" - }, - "colors.slate.500": { - "value": "#64748b", - "variable": "var(--colors-slate-500)" - }, - "colors.slate.600": { - "value": "#475569", - "variable": "var(--colors-slate-600)" - }, - "colors.slate.700": { - "value": "#334155", - "variable": "var(--colors-slate-700)" - }, - "colors.slate.800": { - "value": "#1e293b", - "variable": "var(--colors-slate-800)" - }, - "colors.slate.900": { - "value": "#0f172a", - "variable": "var(--colors-slate-900)" - }, - "colors.slate.950": { - "value": "#020617", - "variable": "var(--colors-slate-950)" - }, - "blurs.sm": { - "value": "4px", - "variable": "var(--blurs-sm)" - }, - "blurs.base": { - "value": "8px", - "variable": "var(--blurs-base)" - }, - "blurs.md": { - "value": "12px", - "variable": "var(--blurs-md)" - }, - "blurs.lg": { - "value": "16px", - "variable": "var(--blurs-lg)" - }, - "blurs.xl": { - "value": "24px", - "variable": "var(--blurs-xl)" - }, - "blurs.2xl": { - "value": "40px", - "variable": "var(--blurs-2xl)" - }, - "blurs.3xl": { - "value": "64px", - "variable": "var(--blurs-3xl)" - }, - "spacing.0": { - "value": "0rem", - "variable": "var(--spacing-0)" - }, - "spacing.1": { - "value": "0.25rem", - "variable": "var(--spacing-1)" - }, - "spacing.2": { - "value": "0.5rem", - "variable": "var(--spacing-2)" - }, - "spacing.3": { - "value": "0.75rem", - "variable": "var(--spacing-3)" - }, - "spacing.4": { - "value": "1rem", - "variable": "var(--spacing-4)" - }, - "spacing.5": { - "value": "1.25rem", - "variable": "var(--spacing-5)" - }, - "spacing.6": { - "value": "1.5rem", - "variable": "var(--spacing-6)" - }, - "spacing.7": { - "value": "1.75rem", - "variable": "var(--spacing-7)" - }, - "spacing.8": { - "value": "2rem", - "variable": "var(--spacing-8)" - }, - "spacing.9": { - "value": "2.25rem", - "variable": "var(--spacing-9)" - }, - "spacing.10": { - "value": "2.5rem", - "variable": "var(--spacing-10)" - }, - "spacing.11": { - "value": "2.75rem", - "variable": "var(--spacing-11)" - }, - "spacing.12": { - "value": "3rem", - "variable": "var(--spacing-12)" - }, - "spacing.14": { - "value": "3.5rem", - "variable": "var(--spacing-14)" - }, - "spacing.16": { - "value": "4rem", - "variable": "var(--spacing-16)" - }, - "spacing.20": { - "value": "5rem", - "variable": "var(--spacing-20)" - }, - "spacing.24": { - "value": "6rem", - "variable": "var(--spacing-24)" - }, - "spacing.28": { - "value": "7rem", - "variable": "var(--spacing-28)" - }, - "spacing.32": { - "value": "8rem", - "variable": "var(--spacing-32)" - }, - "spacing.36": { - "value": "9rem", - "variable": "var(--spacing-36)" - }, - "spacing.40": { - "value": "10rem", - "variable": "var(--spacing-40)" - }, - "spacing.44": { - "value": "11rem", - "variable": "var(--spacing-44)" - }, - "spacing.48": { - "value": "12rem", - "variable": "var(--spacing-48)" - }, - "spacing.52": { - "value": "13rem", - "variable": "var(--spacing-52)" - }, - "spacing.56": { - "value": "14rem", - "variable": "var(--spacing-56)" - }, - "spacing.60": { - "value": "15rem", - "variable": "var(--spacing-60)" - }, - "spacing.64": { - "value": "16rem", - "variable": "var(--spacing-64)" - }, - "spacing.72": { - "value": "18rem", - "variable": "var(--spacing-72)" - }, - "spacing.80": { - "value": "20rem", - "variable": "var(--spacing-80)" - }, - "spacing.96": { - "value": "24rem", - "variable": "var(--spacing-96)" - }, - "spacing.0.5": { - "value": "0.125rem", - "variable": "var(--spacing-0\\.5)" - }, - "spacing.1.5": { - "value": "0.375rem", - "variable": "var(--spacing-1\\.5)" - }, - "spacing.2.5": { - "value": "0.625rem", - "variable": "var(--spacing-2\\.5)" - }, - "spacing.3.5": { - "value": "0.875rem", - "variable": "var(--spacing-3\\.5)" - }, - "sizes.0": { - "value": "0rem", - "variable": "var(--sizes-0)" - }, - "sizes.1": { - "value": "0.25rem", - "variable": "var(--sizes-1)" - }, - "sizes.2": { - "value": "0.5rem", - "variable": "var(--sizes-2)" - }, - "sizes.3": { - "value": "0.75rem", - "variable": "var(--sizes-3)" - }, - "sizes.4": { - "value": "1rem", - "variable": "var(--sizes-4)" - }, - "sizes.5": { - "value": "1.25rem", - "variable": "var(--sizes-5)" - }, - "sizes.6": { - "value": "1.5rem", - "variable": "var(--sizes-6)" - }, - "sizes.7": { - "value": "1.75rem", - "variable": "var(--sizes-7)" - }, - "sizes.8": { - "value": "2rem", - "variable": "var(--sizes-8)" - }, - "sizes.9": { - "value": "2.25rem", - "variable": "var(--sizes-9)" - }, - "sizes.10": { - "value": "2.5rem", - "variable": "var(--sizes-10)" - }, - "sizes.11": { - "value": "2.75rem", - "variable": "var(--sizes-11)" - }, - "sizes.12": { - "value": "3rem", - "variable": "var(--sizes-12)" - }, - "sizes.14": { - "value": "3.5rem", - "variable": "var(--sizes-14)" - }, - "sizes.16": { - "value": "4rem", - "variable": "var(--sizes-16)" - }, - "sizes.20": { - "value": "5rem", - "variable": "var(--sizes-20)" - }, - "sizes.24": { - "value": "6rem", - "variable": "var(--sizes-24)" - }, - "sizes.28": { - "value": "7rem", - "variable": "var(--sizes-28)" - }, - "sizes.32": { - "value": "8rem", - "variable": "var(--sizes-32)" - }, - "sizes.36": { - "value": "9rem", - "variable": "var(--sizes-36)" - }, - "sizes.40": { - "value": "10rem", - "variable": "var(--sizes-40)" - }, - "sizes.44": { - "value": "11rem", - "variable": "var(--sizes-44)" - }, - "sizes.48": { - "value": "12rem", - "variable": "var(--sizes-48)" - }, - "sizes.52": { - "value": "13rem", - "variable": "var(--sizes-52)" - }, - "sizes.56": { - "value": "14rem", - "variable": "var(--sizes-56)" - }, - "sizes.60": { - "value": "15rem", - "variable": "var(--sizes-60)" - }, - "sizes.64": { - "value": "16rem", - "variable": "var(--sizes-64)" - }, - "sizes.72": { - "value": "18rem", - "variable": "var(--sizes-72)" - }, - "sizes.80": { - "value": "20rem", - "variable": "var(--sizes-80)" - }, - "sizes.96": { - "value": "24rem", - "variable": "var(--sizes-96)" - }, - "sizes.0.5": { - "value": "0.125rem", - "variable": "var(--sizes-0\\.5)" - }, - "sizes.1.5": { - "value": "0.375rem", - "variable": "var(--sizes-1\\.5)" - }, - "sizes.2.5": { - "value": "0.625rem", - "variable": "var(--sizes-2\\.5)" - }, - "sizes.3.5": { - "value": "0.875rem", - "variable": "var(--sizes-3\\.5)" - }, - "sizes.xs": { - "value": "20rem", - "variable": "var(--sizes-xs)" - }, - "sizes.sm": { - "value": "24rem", - "variable": "var(--sizes-sm)" - }, - "sizes.md": { - "value": "28rem", - "variable": "var(--sizes-md)" - }, - "sizes.lg": { - "value": "32rem", - "variable": "var(--sizes-lg)" - }, - "sizes.xl": { - "value": "36rem", - "variable": "var(--sizes-xl)" - }, - "sizes.2xl": { - "value": "42rem", - "variable": "var(--sizes-2xl)" - }, - "sizes.3xl": { - "value": "48rem", - "variable": "var(--sizes-3xl)" - }, - "sizes.4xl": { - "value": "56rem", - "variable": "var(--sizes-4xl)" - }, - "sizes.5xl": { - "value": "64rem", - "variable": "var(--sizes-5xl)" - }, - "sizes.6xl": { - "value": "72rem", - "variable": "var(--sizes-6xl)" - }, - "sizes.7xl": { - "value": "80rem", - "variable": "var(--sizes-7xl)" - }, - "sizes.8xl": { - "value": "90rem", - "variable": "var(--sizes-8xl)" - }, - "sizes.prose": { - "value": "65ch", - "variable": "var(--sizes-prose)" - }, - "sizes.full": { - "value": "100%", - "variable": "var(--sizes-full)" - }, - "sizes.min": { - "value": "min-content", - "variable": "var(--sizes-min)" - }, - "sizes.max": { - "value": "max-content", - "variable": "var(--sizes-max)" - }, - "sizes.fit": { - "value": "fit-content", - "variable": "var(--sizes-fit)" - }, - "sizes.breakpoint-sm": { - "value": "640px", - "variable": "var(--sizes-breakpoint-sm)" - }, - "sizes.breakpoint-md": { - "value": "768px", - "variable": "var(--sizes-breakpoint-md)" - }, - "sizes.breakpoint-lg": { - "value": "1024px", - "variable": "var(--sizes-breakpoint-lg)" - }, - "sizes.breakpoint-xl": { - "value": "1280px", - "variable": "var(--sizes-breakpoint-xl)" - }, - "sizes.breakpoint-2xl": { - "value": "1536px", - "variable": "var(--sizes-breakpoint-2xl)" - }, - "animations.spin": { - "value": "spin 1s linear infinite", - "variable": "var(--animations-spin)" - }, - "animations.ping": { - "value": "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite", - "variable": "var(--animations-ping)" - }, - "animations.pulse": { - "value": "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite", - "variable": "var(--animations-pulse)" - }, - "animations.bounce": { - "value": "bounce 1s infinite", - "variable": "var(--animations-bounce)" - }, - "breakpoints.sm": { - "value": "640px", - "variable": "var(--breakpoints-sm)" - }, - "breakpoints.md": { - "value": "768px", - "variable": "var(--breakpoints-md)" - }, - "breakpoints.lg": { - "value": "1024px", - "variable": "var(--breakpoints-lg)" - }, - "breakpoints.xl": { - "value": "1280px", - "variable": "var(--breakpoints-xl)" - }, - "breakpoints.2xl": { - "value": "1536px", - "variable": "var(--breakpoints-2xl)" - }, - "spacing.-1": { - "value": "calc(var(--spacing-1) * -1)", - "variable": "var(--spacing-1)" - }, - "spacing.-2": { - "value": "calc(var(--spacing-2) * -1)", - "variable": "var(--spacing-2)" - }, - "spacing.-3": { - "value": "calc(var(--spacing-3) * -1)", - "variable": "var(--spacing-3)" - }, - "spacing.-4": { - "value": "calc(var(--spacing-4) * -1)", - "variable": "var(--spacing-4)" - }, - "spacing.-5": { - "value": "calc(var(--spacing-5) * -1)", - "variable": "var(--spacing-5)" - }, - "spacing.-6": { - "value": "calc(var(--spacing-6) * -1)", - "variable": "var(--spacing-6)" - }, - "spacing.-7": { - "value": "calc(var(--spacing-7) * -1)", - "variable": "var(--spacing-7)" - }, - "spacing.-8": { - "value": "calc(var(--spacing-8) * -1)", - "variable": "var(--spacing-8)" - }, - "spacing.-9": { - "value": "calc(var(--spacing-9) * -1)", - "variable": "var(--spacing-9)" - }, - "spacing.-10": { - "value": "calc(var(--spacing-10) * -1)", - "variable": "var(--spacing-10)" - }, - "spacing.-11": { - "value": "calc(var(--spacing-11) * -1)", - "variable": "var(--spacing-11)" - }, - "spacing.-12": { - "value": "calc(var(--spacing-12) * -1)", - "variable": "var(--spacing-12)" - }, - "spacing.-14": { - "value": "calc(var(--spacing-14) * -1)", - "variable": "var(--spacing-14)" - }, - "spacing.-16": { - "value": "calc(var(--spacing-16) * -1)", - "variable": "var(--spacing-16)" - }, - "spacing.-20": { - "value": "calc(var(--spacing-20) * -1)", - "variable": "var(--spacing-20)" - }, - "spacing.-24": { - "value": "calc(var(--spacing-24) * -1)", - "variable": "var(--spacing-24)" - }, - "spacing.-28": { - "value": "calc(var(--spacing-28) * -1)", - "variable": "var(--spacing-28)" - }, - "spacing.-32": { - "value": "calc(var(--spacing-32) * -1)", - "variable": "var(--spacing-32)" - }, - "spacing.-36": { - "value": "calc(var(--spacing-36) * -1)", - "variable": "var(--spacing-36)" - }, - "spacing.-40": { - "value": "calc(var(--spacing-40) * -1)", - "variable": "var(--spacing-40)" - }, - "spacing.-44": { - "value": "calc(var(--spacing-44) * -1)", - "variable": "var(--spacing-44)" - }, - "spacing.-48": { - "value": "calc(var(--spacing-48) * -1)", - "variable": "var(--spacing-48)" - }, - "spacing.-52": { - "value": "calc(var(--spacing-52) * -1)", - "variable": "var(--spacing-52)" - }, - "spacing.-56": { - "value": "calc(var(--spacing-56) * -1)", - "variable": "var(--spacing-56)" - }, - "spacing.-60": { - "value": "calc(var(--spacing-60) * -1)", - "variable": "var(--spacing-60)" - }, - "spacing.-64": { - "value": "calc(var(--spacing-64) * -1)", - "variable": "var(--spacing-64)" - }, - "spacing.-72": { - "value": "calc(var(--spacing-72) * -1)", - "variable": "var(--spacing-72)" - }, - "spacing.-80": { - "value": "calc(var(--spacing-80) * -1)", - "variable": "var(--spacing-80)" - }, - "spacing.-96": { - "value": "calc(var(--spacing-96) * -1)", - "variable": "var(--spacing-96)" - }, - "spacing.-0.5": { - "value": "calc(var(--spacing-0\\.5) * -1)", - "variable": "var(--spacing-0\\.5)" - }, - "spacing.-1.5": { - "value": "calc(var(--spacing-1\\.5) * -1)", - "variable": "var(--spacing-1\\.5)" - }, - "spacing.-2.5": { - "value": "calc(var(--spacing-2\\.5) * -1)", - "variable": "var(--spacing-2\\.5)" - }, - "spacing.-3.5": { - "value": "calc(var(--spacing-3\\.5) * -1)", - "variable": "var(--spacing-3\\.5)" - }, - "colors.colorPalette": { - "value": "var(--colors-color-palette)", - "variable": "var(--colors-color-palette)" - }, - "colors.colorPalette.50": { - "value": "var(--colors-color-palette-50)", - "variable": "var(--colors-color-palette-50)" - }, - "colors.colorPalette.100": { - "value": "var(--colors-color-palette-100)", - "variable": "var(--colors-color-palette-100)" - }, - "colors.colorPalette.200": { - "value": "var(--colors-color-palette-200)", - "variable": "var(--colors-color-palette-200)" - }, - "colors.colorPalette.300": { - "value": "var(--colors-color-palette-300)", - "variable": "var(--colors-color-palette-300)" - }, - "colors.colorPalette.400": { - "value": "var(--colors-color-palette-400)", - "variable": "var(--colors-color-palette-400)" - }, - "colors.colorPalette.500": { - "value": "var(--colors-color-palette-500)", - "variable": "var(--colors-color-palette-500)" - }, - "colors.colorPalette.600": { - "value": "var(--colors-color-palette-600)", - "variable": "var(--colors-color-palette-600)" - }, - "colors.colorPalette.700": { - "value": "var(--colors-color-palette-700)", - "variable": "var(--colors-color-palette-700)" - }, - "colors.colorPalette.800": { - "value": "var(--colors-color-palette-800)", - "variable": "var(--colors-color-palette-800)" - }, - "colors.colorPalette.900": { - "value": "var(--colors-color-palette-900)", - "variable": "var(--colors-color-palette-900)" - }, - "colors.colorPalette.950": { - "value": "var(--colors-color-palette-950)", - "variable": "var(--colors-color-palette-950)" - } -} - -export function token(path, fallback) { - return tokens[path]?.value || fallback -} - -function tokenVar(path, fallback) { - return tokens[path]?.variable || fallback -} - -token.var = tokenVar \ No newline at end of file diff --git a/styled-system/tokens/tokens.d.ts b/styled-system/tokens/tokens.d.ts deleted file mode 100644 index c3d3deb3..00000000 --- a/styled-system/tokens/tokens.d.ts +++ /dev/null @@ -1,1014 +0,0 @@ -/* eslint-disable */ -export type Token = - | "aspectRatios.square" - | "aspectRatios.landscape" - | "aspectRatios.portrait" - | "aspectRatios.wide" - | "aspectRatios.ultrawide" - | "aspectRatios.golden" - | "borders.none" - | "easings.default" - | "easings.linear" - | "easings.in" - | "easings.out" - | "easings.in-out" - | "durations.fastest" - | "durations.faster" - | "durations.fast" - | "durations.normal" - | "durations.slow" - | "durations.slower" - | "durations.slowest" - | "radii.xs" - | "radii.sm" - | "radii.md" - | "radii.lg" - | "radii.xl" - | "radii.2xl" - | "radii.3xl" - | "radii.full" - | "fontWeights.thin" - | "fontWeights.extralight" - | "fontWeights.light" - | "fontWeights.normal" - | "fontWeights.medium" - | "fontWeights.semibold" - | "fontWeights.bold" - | "fontWeights.extrabold" - | "fontWeights.black" - | "lineHeights.none" - | "lineHeights.tight" - | "lineHeights.snug" - | "lineHeights.normal" - | "lineHeights.relaxed" - | "lineHeights.loose" - | "fonts.sans" - | "fonts.serif" - | "fonts.mono" - | "letterSpacings.tighter" - | "letterSpacings.tight" - | "letterSpacings.normal" - | "letterSpacings.wide" - | "letterSpacings.wider" - | "letterSpacings.widest" - | "fontSizes.2xs" - | "fontSizes.xs" - | "fontSizes.sm" - | "fontSizes.md" - | "fontSizes.lg" - | "fontSizes.xl" - | "fontSizes.2xl" - | "fontSizes.3xl" - | "fontSizes.4xl" - | "fontSizes.5xl" - | "fontSizes.6xl" - | "fontSizes.7xl" - | "fontSizes.8xl" - | "fontSizes.9xl" - | "shadows.xs" - | "shadows.sm" - | "shadows.md" - | "shadows.lg" - | "shadows.xl" - | "shadows.2xl" - | "shadows.inner" - | "colors.current" - | "colors.black" - | "colors.white" - | "colors.transparent" - | "colors.rose.50" - | "colors.rose.100" - | "colors.rose.200" - | "colors.rose.300" - | "colors.rose.400" - | "colors.rose.500" - | "colors.rose.600" - | "colors.rose.700" - | "colors.rose.800" - | "colors.rose.900" - | "colors.rose.950" - | "colors.pink.50" - | "colors.pink.100" - | "colors.pink.200" - | "colors.pink.300" - | "colors.pink.400" - | "colors.pink.500" - | "colors.pink.600" - | "colors.pink.700" - | "colors.pink.800" - | "colors.pink.900" - | "colors.pink.950" - | "colors.fuchsia.50" - | "colors.fuchsia.100" - | "colors.fuchsia.200" - | "colors.fuchsia.300" - | "colors.fuchsia.400" - | "colors.fuchsia.500" - | "colors.fuchsia.600" - | "colors.fuchsia.700" - | "colors.fuchsia.800" - | "colors.fuchsia.900" - | "colors.fuchsia.950" - | "colors.purple.50" - | "colors.purple.100" - | "colors.purple.200" - | "colors.purple.300" - | "colors.purple.400" - | "colors.purple.500" - | "colors.purple.600" - | "colors.purple.700" - | "colors.purple.800" - | "colors.purple.900" - | "colors.purple.950" - | "colors.violet.50" - | "colors.violet.100" - | "colors.violet.200" - | "colors.violet.300" - | "colors.violet.400" - | "colors.violet.500" - | "colors.violet.600" - | "colors.violet.700" - | "colors.violet.800" - | "colors.violet.900" - | "colors.violet.950" - | "colors.indigo.50" - | "colors.indigo.100" - | "colors.indigo.200" - | "colors.indigo.300" - | "colors.indigo.400" - | "colors.indigo.500" - | "colors.indigo.600" - | "colors.indigo.700" - | "colors.indigo.800" - | "colors.indigo.900" - | "colors.indigo.950" - | "colors.blue.50" - | "colors.blue.100" - | "colors.blue.200" - | "colors.blue.300" - | "colors.blue.400" - | "colors.blue.500" - | "colors.blue.600" - | "colors.blue.700" - | "colors.blue.800" - | "colors.blue.900" - | "colors.blue.950" - | "colors.sky.50" - | "colors.sky.100" - | "colors.sky.200" - | "colors.sky.300" - | "colors.sky.400" - | "colors.sky.500" - | "colors.sky.600" - | "colors.sky.700" - | "colors.sky.800" - | "colors.sky.900" - | "colors.sky.950" - | "colors.cyan.50" - | "colors.cyan.100" - | "colors.cyan.200" - | "colors.cyan.300" - | "colors.cyan.400" - | "colors.cyan.500" - | "colors.cyan.600" - | "colors.cyan.700" - | "colors.cyan.800" - | "colors.cyan.900" - | "colors.cyan.950" - | "colors.teal.50" - | "colors.teal.100" - | "colors.teal.200" - | "colors.teal.300" - | "colors.teal.400" - | "colors.teal.500" - | "colors.teal.600" - | "colors.teal.700" - | "colors.teal.800" - | "colors.teal.900" - | "colors.teal.950" - | "colors.emerald.50" - | "colors.emerald.100" - | "colors.emerald.200" - | "colors.emerald.300" - | "colors.emerald.400" - | "colors.emerald.500" - | "colors.emerald.600" - | "colors.emerald.700" - | "colors.emerald.800" - | "colors.emerald.900" - | "colors.emerald.950" - | "colors.green.50" - | "colors.green.100" - | "colors.green.200" - | "colors.green.300" - | "colors.green.400" - | "colors.green.500" - | "colors.green.600" - | "colors.green.700" - | "colors.green.800" - | "colors.green.900" - | "colors.green.950" - | "colors.lime.50" - | "colors.lime.100" - | "colors.lime.200" - | "colors.lime.300" - | "colors.lime.400" - | "colors.lime.500" - | "colors.lime.600" - | "colors.lime.700" - | "colors.lime.800" - | "colors.lime.900" - | "colors.lime.950" - | "colors.yellow.50" - | "colors.yellow.100" - | "colors.yellow.200" - | "colors.yellow.300" - | "colors.yellow.400" - | "colors.yellow.500" - | "colors.yellow.600" - | "colors.yellow.700" - | "colors.yellow.800" - | "colors.yellow.900" - | "colors.yellow.950" - | "colors.amber.50" - | "colors.amber.100" - | "colors.amber.200" - | "colors.amber.300" - | "colors.amber.400" - | "colors.amber.500" - | "colors.amber.600" - | "colors.amber.700" - | "colors.amber.800" - | "colors.amber.900" - | "colors.amber.950" - | "colors.orange.50" - | "colors.orange.100" - | "colors.orange.200" - | "colors.orange.300" - | "colors.orange.400" - | "colors.orange.500" - | "colors.orange.600" - | "colors.orange.700" - | "colors.orange.800" - | "colors.orange.900" - | "colors.orange.950" - | "colors.red.50" - | "colors.red.100" - | "colors.red.200" - | "colors.red.300" - | "colors.red.400" - | "colors.red.500" - | "colors.red.600" - | "colors.red.700" - | "colors.red.800" - | "colors.red.900" - | "colors.red.950" - | "colors.neutral.50" - | "colors.neutral.100" - | "colors.neutral.200" - | "colors.neutral.300" - | "colors.neutral.400" - | "colors.neutral.500" - | "colors.neutral.600" - | "colors.neutral.700" - | "colors.neutral.800" - | "colors.neutral.900" - | "colors.neutral.950" - | "colors.stone.50" - | "colors.stone.100" - | "colors.stone.200" - | "colors.stone.300" - | "colors.stone.400" - | "colors.stone.500" - | "colors.stone.600" - | "colors.stone.700" - | "colors.stone.800" - | "colors.stone.900" - | "colors.stone.950" - | "colors.zinc.50" - | "colors.zinc.100" - | "colors.zinc.200" - | "colors.zinc.300" - | "colors.zinc.400" - | "colors.zinc.500" - | "colors.zinc.600" - | "colors.zinc.700" - | "colors.zinc.800" - | "colors.zinc.900" - | "colors.zinc.950" - | "colors.gray.50" - | "colors.gray.100" - | "colors.gray.200" - | "colors.gray.300" - | "colors.gray.400" - | "colors.gray.500" - | "colors.gray.600" - | "colors.gray.700" - | "colors.gray.800" - | "colors.gray.900" - | "colors.gray.950" - | "colors.slate.50" - | "colors.slate.100" - | "colors.slate.200" - | "colors.slate.300" - | "colors.slate.400" - | "colors.slate.500" - | "colors.slate.600" - | "colors.slate.700" - | "colors.slate.800" - | "colors.slate.900" - | "colors.slate.950" - | "blurs.sm" - | "blurs.base" - | "blurs.md" - | "blurs.lg" - | "blurs.xl" - | "blurs.2xl" - | "blurs.3xl" - | "spacing.0" - | "spacing.1" - | "spacing.2" - | "spacing.3" - | "spacing.4" - | "spacing.5" - | "spacing.6" - | "spacing.7" - | "spacing.8" - | "spacing.9" - | "spacing.10" - | "spacing.11" - | "spacing.12" - | "spacing.14" - | "spacing.16" - | "spacing.20" - | "spacing.24" - | "spacing.28" - | "spacing.32" - | "spacing.36" - | "spacing.40" - | "spacing.44" - | "spacing.48" - | "spacing.52" - | "spacing.56" - | "spacing.60" - | "spacing.64" - | "spacing.72" - | "spacing.80" - | "spacing.96" - | "spacing.0.5" - | "spacing.1.5" - | "spacing.2.5" - | "spacing.3.5" - | "sizes.0" - | "sizes.1" - | "sizes.2" - | "sizes.3" - | "sizes.4" - | "sizes.5" - | "sizes.6" - | "sizes.7" - | "sizes.8" - | "sizes.9" - | "sizes.10" - | "sizes.11" - | "sizes.12" - | "sizes.14" - | "sizes.16" - | "sizes.20" - | "sizes.24" - | "sizes.28" - | "sizes.32" - | "sizes.36" - | "sizes.40" - | "sizes.44" - | "sizes.48" - | "sizes.52" - | "sizes.56" - | "sizes.60" - | "sizes.64" - | "sizes.72" - | "sizes.80" - | "sizes.96" - | "sizes.0.5" - | "sizes.1.5" - | "sizes.2.5" - | "sizes.3.5" - | "sizes.xs" - | "sizes.sm" - | "sizes.md" - | "sizes.lg" - | "sizes.xl" - | "sizes.2xl" - | "sizes.3xl" - | "sizes.4xl" - | "sizes.5xl" - | "sizes.6xl" - | "sizes.7xl" - | "sizes.8xl" - | "sizes.prose" - | "sizes.full" - | "sizes.min" - | "sizes.max" - | "sizes.fit" - | "sizes.breakpoint-sm" - | "sizes.breakpoint-md" - | "sizes.breakpoint-lg" - | "sizes.breakpoint-xl" - | "sizes.breakpoint-2xl" - | "animations.spin" - | "animations.ping" - | "animations.pulse" - | "animations.bounce" - | "breakpoints.sm" - | "breakpoints.md" - | "breakpoints.lg" - | "breakpoints.xl" - | "breakpoints.2xl" - | "spacing.-1" - | "spacing.-2" - | "spacing.-3" - | "spacing.-4" - | "spacing.-5" - | "spacing.-6" - | "spacing.-7" - | "spacing.-8" - | "spacing.-9" - | "spacing.-10" - | "spacing.-11" - | "spacing.-12" - | "spacing.-14" - | "spacing.-16" - | "spacing.-20" - | "spacing.-24" - | "spacing.-28" - | "spacing.-32" - | "spacing.-36" - | "spacing.-40" - | "spacing.-44" - | "spacing.-48" - | "spacing.-52" - | "spacing.-56" - | "spacing.-60" - | "spacing.-64" - | "spacing.-72" - | "spacing.-80" - | "spacing.-96" - | "spacing.-0.5" - | "spacing.-1.5" - | "spacing.-2.5" - | "spacing.-3.5" - | "colors.colorPalette" - | "colors.colorPalette.50" - | "colors.colorPalette.100" - | "colors.colorPalette.200" - | "colors.colorPalette.300" - | "colors.colorPalette.400" - | "colors.colorPalette.500" - | "colors.colorPalette.600" - | "colors.colorPalette.700" - | "colors.colorPalette.800" - | "colors.colorPalette.900" - | "colors.colorPalette.950"; - -export type ColorPalette = - | "current" - | "black" - | "white" - | "transparent" - | "rose" - | "pink" - | "fuchsia" - | "purple" - | "violet" - | "indigo" - | "blue" - | "sky" - | "cyan" - | "teal" - | "emerald" - | "green" - | "lime" - | "yellow" - | "amber" - | "orange" - | "red" - | "neutral" - | "stone" - | "zinc" - | "gray" - | "slate"; - -export type AspectRatioToken = - | "square" - | "landscape" - | "portrait" - | "wide" - | "ultrawide" - | "golden"; - -export type BorderToken = "none"; - -export type EasingToken = "default" | "linear" | "in" | "out" | "in-out"; - -export type DurationToken = - | "fastest" - | "faster" - | "fast" - | "normal" - | "slow" - | "slower" - | "slowest"; - -export type RadiusToken = - | "xs" - | "sm" - | "md" - | "lg" - | "xl" - | "2xl" - | "3xl" - | "full"; - -export type FontWeightToken = - | "thin" - | "extralight" - | "light" - | "normal" - | "medium" - | "semibold" - | "bold" - | "extrabold" - | "black"; - -export type LineHeightToken = - | "none" - | "tight" - | "snug" - | "normal" - | "relaxed" - | "loose"; - -export type FontToken = "sans" | "serif" | "mono"; - -export type LetterSpacingToken = - | "tighter" - | "tight" - | "normal" - | "wide" - | "wider" - | "widest"; - -export type FontSizeToken = - | "2xs" - | "xs" - | "sm" - | "md" - | "lg" - | "xl" - | "2xl" - | "3xl" - | "4xl" - | "5xl" - | "6xl" - | "7xl" - | "8xl" - | "9xl"; - -export type ShadowToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "inner"; - -export type ColorToken = - | "current" - | "black" - | "white" - | "transparent" - | "rose.50" - | "rose.100" - | "rose.200" - | "rose.300" - | "rose.400" - | "rose.500" - | "rose.600" - | "rose.700" - | "rose.800" - | "rose.900" - | "rose.950" - | "pink.50" - | "pink.100" - | "pink.200" - | "pink.300" - | "pink.400" - | "pink.500" - | "pink.600" - | "pink.700" - | "pink.800" - | "pink.900" - | "pink.950" - | "fuchsia.50" - | "fuchsia.100" - | "fuchsia.200" - | "fuchsia.300" - | "fuchsia.400" - | "fuchsia.500" - | "fuchsia.600" - | "fuchsia.700" - | "fuchsia.800" - | "fuchsia.900" - | "fuchsia.950" - | "purple.50" - | "purple.100" - | "purple.200" - | "purple.300" - | "purple.400" - | "purple.500" - | "purple.600" - | "purple.700" - | "purple.800" - | "purple.900" - | "purple.950" - | "violet.50" - | "violet.100" - | "violet.200" - | "violet.300" - | "violet.400" - | "violet.500" - | "violet.600" - | "violet.700" - | "violet.800" - | "violet.900" - | "violet.950" - | "indigo.50" - | "indigo.100" - | "indigo.200" - | "indigo.300" - | "indigo.400" - | "indigo.500" - | "indigo.600" - | "indigo.700" - | "indigo.800" - | "indigo.900" - | "indigo.950" - | "blue.50" - | "blue.100" - | "blue.200" - | "blue.300" - | "blue.400" - | "blue.500" - | "blue.600" - | "blue.700" - | "blue.800" - | "blue.900" - | "blue.950" - | "sky.50" - | "sky.100" - | "sky.200" - | "sky.300" - | "sky.400" - | "sky.500" - | "sky.600" - | "sky.700" - | "sky.800" - | "sky.900" - | "sky.950" - | "cyan.50" - | "cyan.100" - | "cyan.200" - | "cyan.300" - | "cyan.400" - | "cyan.500" - | "cyan.600" - | "cyan.700" - | "cyan.800" - | "cyan.900" - | "cyan.950" - | "teal.50" - | "teal.100" - | "teal.200" - | "teal.300" - | "teal.400" - | "teal.500" - | "teal.600" - | "teal.700" - | "teal.800" - | "teal.900" - | "teal.950" - | "emerald.50" - | "emerald.100" - | "emerald.200" - | "emerald.300" - | "emerald.400" - | "emerald.500" - | "emerald.600" - | "emerald.700" - | "emerald.800" - | "emerald.900" - | "emerald.950" - | "green.50" - | "green.100" - | "green.200" - | "green.300" - | "green.400" - | "green.500" - | "green.600" - | "green.700" - | "green.800" - | "green.900" - | "green.950" - | "lime.50" - | "lime.100" - | "lime.200" - | "lime.300" - | "lime.400" - | "lime.500" - | "lime.600" - | "lime.700" - | "lime.800" - | "lime.900" - | "lime.950" - | "yellow.50" - | "yellow.100" - | "yellow.200" - | "yellow.300" - | "yellow.400" - | "yellow.500" - | "yellow.600" - | "yellow.700" - | "yellow.800" - | "yellow.900" - | "yellow.950" - | "amber.50" - | "amber.100" - | "amber.200" - | "amber.300" - | "amber.400" - | "amber.500" - | "amber.600" - | "amber.700" - | "amber.800" - | "amber.900" - | "amber.950" - | "orange.50" - | "orange.100" - | "orange.200" - | "orange.300" - | "orange.400" - | "orange.500" - | "orange.600" - | "orange.700" - | "orange.800" - | "orange.900" - | "orange.950" - | "red.50" - | "red.100" - | "red.200" - | "red.300" - | "red.400" - | "red.500" - | "red.600" - | "red.700" - | "red.800" - | "red.900" - | "red.950" - | "neutral.50" - | "neutral.100" - | "neutral.200" - | "neutral.300" - | "neutral.400" - | "neutral.500" - | "neutral.600" - | "neutral.700" - | "neutral.800" - | "neutral.900" - | "neutral.950" - | "stone.50" - | "stone.100" - | "stone.200" - | "stone.300" - | "stone.400" - | "stone.500" - | "stone.600" - | "stone.700" - | "stone.800" - | "stone.900" - | "stone.950" - | "zinc.50" - | "zinc.100" - | "zinc.200" - | "zinc.300" - | "zinc.400" - | "zinc.500" - | "zinc.600" - | "zinc.700" - | "zinc.800" - | "zinc.900" - | "zinc.950" - | "gray.50" - | "gray.100" - | "gray.200" - | "gray.300" - | "gray.400" - | "gray.500" - | "gray.600" - | "gray.700" - | "gray.800" - | "gray.900" - | "gray.950" - | "slate.50" - | "slate.100" - | "slate.200" - | "slate.300" - | "slate.400" - | "slate.500" - | "slate.600" - | "slate.700" - | "slate.800" - | "slate.900" - | "slate.950" - | "colorPalette" - | "colorPalette.50" - | "colorPalette.100" - | "colorPalette.200" - | "colorPalette.300" - | "colorPalette.400" - | "colorPalette.500" - | "colorPalette.600" - | "colorPalette.700" - | "colorPalette.800" - | "colorPalette.900" - | "colorPalette.950"; - -export type BlurToken = "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl"; - -export type SpacingToken = - | "0" - | "1" - | "2" - | "3" - | "4" - | "5" - | "6" - | "7" - | "8" - | "9" - | "10" - | "11" - | "12" - | "14" - | "16" - | "20" - | "24" - | "28" - | "32" - | "36" - | "40" - | "44" - | "48" - | "52" - | "56" - | "60" - | "64" - | "72" - | "80" - | "96" - | "0.5" - | "1.5" - | "2.5" - | "3.5" - | "-1" - | "-2" - | "-3" - | "-4" - | "-5" - | "-6" - | "-7" - | "-8" - | "-9" - | "-10" - | "-11" - | "-12" - | "-14" - | "-16" - | "-20" - | "-24" - | "-28" - | "-32" - | "-36" - | "-40" - | "-44" - | "-48" - | "-52" - | "-56" - | "-60" - | "-64" - | "-72" - | "-80" - | "-96" - | "-0.5" - | "-1.5" - | "-2.5" - | "-3.5"; - -export type SizeToken = - | "0" - | "1" - | "2" - | "3" - | "4" - | "5" - | "6" - | "7" - | "8" - | "9" - | "10" - | "11" - | "12" - | "14" - | "16" - | "20" - | "24" - | "28" - | "32" - | "36" - | "40" - | "44" - | "48" - | "52" - | "56" - | "60" - | "64" - | "72" - | "80" - | "96" - | "0.5" - | "1.5" - | "2.5" - | "3.5" - | "xs" - | "sm" - | "md" - | "lg" - | "xl" - | "2xl" - | "3xl" - | "4xl" - | "5xl" - | "6xl" - | "7xl" - | "8xl" - | "prose" - | "full" - | "min" - | "max" - | "fit" - | "breakpoint-sm" - | "breakpoint-md" - | "breakpoint-lg" - | "breakpoint-xl" - | "breakpoint-2xl"; - -export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"; - -export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"; - -export type Tokens = { - aspectRatios: AspectRatioToken; - borders: BorderToken; - easings: EasingToken; - durations: DurationToken; - radii: RadiusToken; - fontWeights: FontWeightToken; - lineHeights: LineHeightToken; - fonts: FontToken; - letterSpacings: LetterSpacingToken; - fontSizes: FontSizeToken; - shadows: ShadowToken; - colors: ColorToken; - blurs: BlurToken; - spacing: SpacingToken; - sizes: SizeToken; - animations: AnimationToken; - breakpoints: BreakpointToken; -} & { [token: string]: never }; - -export type TokenCategory = - | "aspectRatios" - | "zIndex" - | "opacity" - | "colors" - | "fonts" - | "fontSizes" - | "fontWeights" - | "lineHeights" - | "letterSpacings" - | "sizes" - | "shadows" - | "spacing" - | "radii" - | "borders" - | "borderWidths" - | "durations" - | "easings" - | "animations" - | "blurs" - | "gradients" - | "breakpoints" - | "assets"; diff --git a/styled-system/types/composition.d.ts b/styled-system/types/composition.d.ts deleted file mode 100644 index 7e3eeeb3..00000000 --- a/styled-system/types/composition.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -/* eslint-disable */ -import type { CompositionStyleObject } from "./system-types"; - -interface Token { - value: T; - description?: string; -} - -interface Recursive { - [key: string]: Recursive | T; -} - -/* ----------------------------------------------------------------------------- - * Text styles - * -----------------------------------------------------------------------------*/ - -type TextStyleProperty = - | "font" - | "fontFamily" - | "fontFeatureSettings" - | "fontKerning" - | "fontLanguageOverride" - | "fontOpticalSizing" - | "fontPalette" - | "fontSize" - | "fontSizeAdjust" - | "fontStretch" - | "fontStyle" - | "fontSynthesis" - | "fontVariant" - | "fontVariantAlternates" - | "fontVariantCaps" - | "fontVariantLigatures" - | "fontVariantNumeric" - | "fontVariantPosition" - | "fontVariationSettings" - | "fontWeight" - | "hypens" - | "hyphenateCharacter" - | "hyphenateLimitChars" - | "letterSpacing" - | "lineBreak" - | "lineHeight" - | "quotes" - | "overflowWrap" - | "textCombineUpright" - | "textDecoration" - | "textDecorationColor" - | "textDecorationLine" - | "textDecorationSkipInk" - | "textDecorationStyle" - | "textDecorationThickness" - | "textEmphasis" - | "textEmphasisColor" - | "textEmphasisPosition" - | "textEmphasisStyle" - | "textIndent" - | "textJustify" - | "textOrientation" - | "textOverflow" - | "textRendering" - | "textShadow" - | "textTransform" - | "textUnderlineOffset" - | "textUnderlinePosition" - | "textWrap" - | "textWrapMode" - | "textWrapStyle" - | "verticalAlign" - | "whiteSpace" - | "wordBreak" - | "wordSpacing"; - -export type TextStyle = CompositionStyleObject; - -export type TextStyles = Recursive>; - -/* ----------------------------------------------------------------------------- - * Layer styles - * -----------------------------------------------------------------------------*/ - -type Placement = - | "Top" - | "Right" - | "Bottom" - | "Left" - | "Inline" - | "Block" - | "InlineStart" - | "InlineEnd" - | "BlockStart" - | "BlockEnd"; - -type Radius = - | `Top${"Right" | "Left"}` - | `Bottom${"Right" | "Left"}` - | `Start${"Start" | "End"}` - | `End${"Start" | "End"}`; - -type LayerStyleProperty = - | "background" - | "backgroundColor" - | "backgroundImage" - | "borderRadius" - | "border" - | "borderWidth" - | "borderColor" - | "borderStyle" - | "boxShadow" - | "filter" - | "backdropFilter" - | "transform" - | "color" - | "opacity" - | "backgroundBlendMode" - | "backgroundAttachment" - | "backgroundClip" - | "backgroundOrigin" - | "backgroundPosition" - | "backgroundRepeat" - | "backgroundSize" - | `border${Placement}` - | `border${Placement}Width` - | "borderRadius" - | `border${Radius}Radius` - | `border${Placement}Color` - | `border${Placement}Style` - | "padding" - | `padding${Placement}`; - -export type LayerStyle = CompositionStyleObject; - -export type LayerStyles = Recursive>; - -export interface CompositionStyles { - textStyles: TextStyles; - layerStyles: LayerStyles; -} diff --git a/styled-system/types/conditions.d.ts b/styled-system/types/conditions.d.ts deleted file mode 100644 index b2e811bb..00000000 --- a/styled-system/types/conditions.d.ts +++ /dev/null @@ -1,274 +0,0 @@ -/* eslint-disable */ -import type { AnySelector, Selectors } from "./selectors"; - -export interface Conditions { - /** `&:is(:hover, [data-hover])` */ - _hover: string; - /** `&:is(:focus, [data-focus])` */ - _focus: string; - /** `&:focus-within` */ - _focusWithin: string; - /** `&:is(:focus-visible, [data-focus-visible])` */ - _focusVisible: string; - /** `&:is(:disabled, [disabled], [data-disabled])` */ - _disabled: string; - /** `&:is(:active, [data-active])` */ - _active: string; - /** `&:visited` */ - _visited: string; - /** `&:target` */ - _target: string; - /** `&:is(:read-only, [data-read-only])` */ - _readOnly: string; - /** `&:read-write` */ - _readWrite: string; - /** `&:is(:empty, [data-empty])` */ - _empty: string; - /** `&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])` */ - _checked: string; - /** `&:enabled` */ - _enabled: string; - /** `&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])` */ - _expanded: string; - /** `&[data-highlighted]` */ - _highlighted: string; - /** `&::before` */ - _before: string; - /** `&::after` */ - _after: string; - /** `&::first-letter` */ - _firstLetter: string; - /** `&::first-line` */ - _firstLine: string; - /** `&::marker` */ - _marker: string; - /** `&::selection` */ - _selection: string; - /** `&::file-selector-button` */ - _file: string; - /** `&::backdrop` */ - _backdrop: string; - /** `&:first-child` */ - _first: string; - /** `&:last-child` */ - _last: string; - /** `&:only-child` */ - _only: string; - /** `&:nth-child(even)` */ - _even: string; - /** `&:nth-child(odd)` */ - _odd: string; - /** `&:first-of-type` */ - _firstOfType: string; - /** `&:last-of-type` */ - _lastOfType: string; - /** `&:only-of-type` */ - _onlyOfType: string; - /** `.peer:is(:focus, [data-focus]) ~ &` */ - _peerFocus: string; - /** `.peer:is(:hover, [data-hover]) ~ &` */ - _peerHover: string; - /** `.peer:is(:active, [data-active]) ~ &` */ - _peerActive: string; - /** `.peer:focus-within ~ &` */ - _peerFocusWithin: string; - /** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */ - _peerFocusVisible: string; - /** `.peer:is(:disabled, [disabled], [data-disabled]) ~ &` */ - _peerDisabled: string; - /** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */ - _peerChecked: string; - /** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */ - _peerInvalid: string; - /** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */ - _peerExpanded: string; - /** `.peer:placeholder-shown ~ &` */ - _peerPlaceholderShown: string; - /** `.group:is(:focus, [data-focus]) &` */ - _groupFocus: string; - /** `.group:is(:hover, [data-hover]) &` */ - _groupHover: string; - /** `.group:is(:active, [data-active]) &` */ - _groupActive: string; - /** `.group:focus-within &` */ - _groupFocusWithin: string; - /** `.group:is(:focus-visible, [data-focus-visible]) &` */ - _groupFocusVisible: string; - /** `.group:is(:disabled, [disabled], [data-disabled]) &` */ - _groupDisabled: string; - /** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */ - _groupChecked: string; - /** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */ - _groupExpanded: string; - /** `.group:invalid &` */ - _groupInvalid: string; - /** `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])` */ - _indeterminate: string; - /** `&:is(:required, [data-required], [aria-required=true])` */ - _required: string; - /** `&:is(:valid, [data-valid])` */ - _valid: string; - /** `&:is(:invalid, [data-invalid])` */ - _invalid: string; - /** `&:autofill` */ - _autofill: string; - /** `&:in-range` */ - _inRange: string; - /** `&:out-of-range` */ - _outOfRange: string; - /** `&::placeholder, &[data-placeholder]` */ - _placeholder: string; - /** `&:is(:placeholder-shown, [data-placeholder-shown])` */ - _placeholderShown: string; - /** `&:is([aria-pressed=true], [data-pressed])` */ - _pressed: string; - /** `&:is([aria-selected=true], [data-selected])` */ - _selected: string; - /** `&:default` */ - _default: string; - /** `&:optional` */ - _optional: string; - /** `&:is([open], [data-open], [data-state="open"])` */ - _open: string; - /** `&:is([closed], [data-closed], [data-state="closed"])` */ - _closed: string; - /** `&:fullscreen` */ - _fullscreen: string; - /** `&:is([data-loading], [aria-busy=true])` */ - _loading: string; - /** `&[aria-current=page]` */ - _currentPage: string; - /** `&[aria-current=step]` */ - _currentStep: string; - /** `@media (prefers-reduced-motion: reduce)` */ - _motionReduce: string; - /** `@media (prefers-reduced-motion: no-preference)` */ - _motionSafe: string; - /** `@media print` */ - _print: string; - /** `@media (orientation: landscape)` */ - _landscape: string; - /** `@media (orientation: portrait)` */ - _portrait: string; - /** `.dark &` */ - _dark: string; - /** `.light &` */ - _light: string; - /** `@media (prefers-color-scheme: dark)` */ - _osDark: string; - /** `@media (prefers-color-scheme: light)` */ - _osLight: string; - /** `@media (forced-colors: active)` */ - _highContrast: string; - /** `@media (prefers-contrast: less)` */ - _lessContrast: string; - /** `@media (prefers-contrast: more)` */ - _moreContrast: string; - /** `[dir=ltr] &` */ - _ltr: string; - /** `[dir=rtl] &` */ - _rtl: string; - /** `&::-webkit-scrollbar` */ - _scrollbar: string; - /** `&::-webkit-scrollbar-thumb` */ - _scrollbarThumb: string; - /** `&::-webkit-scrollbar-track` */ - _scrollbarTrack: string; - /** `&[data-orientation=horizontal]` */ - _horizontal: string; - /** `&[data-orientation=vertical]` */ - _vertical: string; - /** `@starting-style` */ - _starting: string; - /** `@media screen and (min-width: 40rem)` */ - sm: string; - /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */ - smOnly: string; - /** `@media screen and (max-width: 39.9975rem)` */ - smDown: string; - /** `@media screen and (min-width: 48rem)` */ - md: string; - /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */ - mdOnly: string; - /** `@media screen and (max-width: 47.9975rem)` */ - mdDown: string; - /** `@media screen and (min-width: 64rem)` */ - lg: string; - /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */ - lgOnly: string; - /** `@media screen and (max-width: 63.9975rem)` */ - lgDown: string; - /** `@media screen and (min-width: 80rem)` */ - xl: string; - /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */ - xlOnly: string; - /** `@media screen and (max-width: 79.9975rem)` */ - xlDown: string; - /** `@media screen and (min-width: 96rem)` */ - "2xl": string; - /** `@media screen and (min-width: 96rem)` */ - "2xlOnly": string; - /** `@media screen and (max-width: 95.9975rem)` */ - "2xlDown": string; - /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */ - smToMd: string; - /** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */ - smToLg: string; - /** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */ - smToXl: string; - /** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */ - smTo2xl: string; - /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */ - mdToLg: string; - /** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */ - mdToXl: string; - /** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */ - mdTo2xl: string; - /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */ - lgToXl: string; - /** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */ - lgTo2xl: string; - /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */ - xlTo2xl: string; - /** `@container (min-width: 20rem)` */ - "@/xs": string; - /** `@container (min-width: 24rem)` */ - "@/sm": string; - /** `@container (min-width: 28rem)` */ - "@/md": string; - /** `@container (min-width: 32rem)` */ - "@/lg": string; - /** `@container (min-width: 36rem)` */ - "@/xl": string; - /** `@container (min-width: 42rem)` */ - "@/2xl": string; - /** `@container (min-width: 48rem)` */ - "@/3xl": string; - /** `@container (min-width: 56rem)` */ - "@/4xl": string; - /** `@container (min-width: 64rem)` */ - "@/5xl": string; - /** `@container (min-width: 72rem)` */ - "@/6xl": string; - /** `@container (min-width: 80rem)` */ - "@/7xl": string; - /** `@container (min-width: 90rem)` */ - "@/8xl": string; - /** The base (=no conditions) styles to apply */ - base: string; -} - -export type ConditionalValue = - | V - | Array - | { - [K in keyof Conditions]?: ConditionalValue; - }; - -export type Nested

= P & { - [K in Selectors]?: Nested

; -} & { - [K in AnySelector]?: Nested

; -} & { - [K in keyof Conditions]?: Nested

; -}; diff --git a/styled-system/types/csstype.d.ts b/styled-system/types/csstype.d.ts deleted file mode 100644 index c64217c5..00000000 --- a/styled-system/types/csstype.d.ts +++ /dev/null @@ -1,23197 +0,0 @@ -/* eslint-disable */ -export {}; - -export type PropertyValue = - TValue extends Array - ? Array - : TValue extends infer TUnpacked & {} - ? TUnpacked - : TValue; - -export type Fallback = { - [P in keyof T]: T[P] | readonly NonNullable[]; -}; - -export interface StandardLonghandProperties< - TLength = (string & {}) | 0, - TTime = string & {}, -> { - /** - * The **`accent-color`** CSS property sets the accent color for user-interface controls generated by some elements. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **93** | **92** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/accent-color - */ - accentColor?: Property.AccentColor | undefined; - /** - * The CSS **`align-content`** property sets the distribution of space between and around content items along a flexbox's cross-axis or a grid's block axis. - * - * **Syntax**: `normal | | | ? ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/align-content - */ - alignContent?: Property.AlignContent | undefined; - /** - * The CSS **`align-items`** property sets the `align-self` value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis. In Grid Layout, it controls the alignment of items on the Block Axis within their grid area. - * - * **Syntax**: `normal | stretch | | [ ? ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/align-items - */ - alignItems?: Property.AlignItems | undefined; - /** - * The **`align-self`** CSS property overrides a grid or flex item's `align-items` value. In Grid, it aligns the item inside the grid area. In Flexbox, it aligns the item on the cross axis. - * - * **Syntax**: `auto | normal | stretch | | ? ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **10** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/align-self - */ - alignSelf?: Property.AlignSelf | undefined; - /** - * The **`align-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis. - * - * **Syntax**: `[ normal | | | ? ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/align-tracks - */ - alignTracks?: Property.AlignTracks | undefined; - /** - * The **`animation-composition`** CSS property specifies the composite operation to use when multiple animations affect the same property simultaneously. - * - * **Syntax**: `#` - * - * **Initial value**: `replace` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **112** | **115** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/animation-composition - */ - animationComposition?: Property.AnimationComposition | undefined; - /** - * The **`animation-delay`** CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation. - * - * **Syntax**: `

` have shared or separate borders. - * - * **Syntax**: `collapse | separate` - * - * **Initial value**: `separate` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-collapse - */ - borderCollapse?: Property.BorderCollapse | undefined; - /** - * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius - */ - borderEndEndRadius?: Property.BorderEndEndRadius | undefined; - /** - * The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius - */ - borderEndStartRadius?: Property.BorderEndStartRadius | undefined; - /** - * The **`border-image-outset`** CSS property sets the distance by which an element's border image is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-outset - */ - borderImageOutset?: Property.BorderImageOutset | undefined; - /** - * The **`border-image-repeat`** CSS property defines how the edge regions and middle region of a source image are adjusted to fit the dimensions of an element's border image. The middle region can be displayed by using the keyword "fill" in the border-image-slice property. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-repeat - */ - borderImageRepeat?: Property.BorderImageRepeat | undefined; - /** - * The **`border-image-slice`** CSS property divides the image specified by `border-image-source` into regions. These regions form the components of an element's border image. - * - * **Syntax**: `{1,4} && fill?` - * - * **Initial value**: `100%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-slice - */ - borderImageSlice?: Property.BorderImageSlice | undefined; - /** - * The **`border-image-source`** CSS property sets the source image used to create an element's border image. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-source - */ - borderImageSource?: Property.BorderImageSource | undefined; - /** - * The **`border-image-width`** CSS property sets the width of an element's border image. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **13** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-width - */ - borderImageWidth?: Property.BorderImageWidth | undefined; - /** - * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>{1,2}` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-color - */ - borderInlineColor?: Property.BorderInlineColor | undefined; - /** - * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color - */ - borderInlineEndColor?: Property.BorderInlineEndColor | undefined; - /** - * The **`border-inline-end-style`** CSS property defines the style of the logical inline end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style - */ - borderInlineEndStyle?: Property.BorderInlineEndStyle | undefined; - /** - * The **`border-inline-end-width`** CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-width)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width - */ - borderInlineEndWidth?: Property.BorderInlineEndWidth | undefined; - /** - * The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color - */ - borderInlineStartColor?: Property.BorderInlineStartColor | undefined; - /** - * The **`border-inline-start-style`** CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style - */ - borderInlineStartStyle?: Property.BorderInlineStartStyle | undefined; - /** - * The **`border-inline-start-width`** CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width - */ - borderInlineStartWidth?: Property.BorderInlineStartWidth | undefined; - /** - * The **`border-inline-style`** CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style` and `border-bottom-style`, or `border-left-style` and `border-right-style` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-style - */ - borderInlineStyle?: Property.BorderInlineStyle | undefined; - /** - * The **`border-inline-width`** CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width - */ - borderInlineWidth?: Property.BorderInlineWidth | undefined; - /** - * The **`border-left-color`** CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties `border-color` or `border-left`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-color - */ - borderLeftColor?: Property.BorderLeftColor | undefined; - /** - * The **`border-left-style`** CSS property sets the line style of an element's left `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-style - */ - borderLeftStyle?: Property.BorderLeftStyle | undefined; - /** - * The **`border-left-width`** CSS property sets the width of the left border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-width - */ - borderLeftWidth?: Property.BorderLeftWidth | undefined; - /** - * The **`border-right-color`** CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-color - */ - borderRightColor?: Property.BorderRightColor | undefined; - /** - * The **`border-right-style`** CSS property sets the line style of an element's right `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-style - */ - borderRightStyle?: Property.BorderRightStyle | undefined; - /** - * The **`border-right-width`** CSS property sets the width of the right border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-width - */ - borderRightWidth?: Property.BorderRightWidth | undefined; - /** - * The **`border-spacing`** CSS property sets the distance between the borders of adjacent cells in a `
`. This property applies only when `border-collapse` is `separate`. - * - * **Syntax**: ` ?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-spacing - */ - borderSpacing?: Property.BorderSpacing | undefined; - /** - * The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius - */ - borderStartEndRadius?: Property.BorderStartEndRadius | undefined; - /** - * The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius - */ - borderStartStartRadius?: Property.BorderStartStartRadius | undefined; - /** - * The **`border-top-color`** CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties `border-color` or `border-top`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-color - */ - borderTopColor?: Property.BorderTopColor | undefined; - /** - * The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius - */ - borderTopLeftRadius?: Property.BorderTopLeftRadius | undefined; - /** - * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius - */ - borderTopRightRadius?: Property.BorderTopRightRadius | undefined; - /** - * The **`border-top-style`** CSS property sets the line style of an element's top `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-style - */ - borderTopStyle?: Property.BorderTopStyle | undefined; - /** - * The **`border-top-width`** CSS property sets the width of the top border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-width - */ - borderTopWidth?: Property.BorderTopWidth | undefined; - /** - * The **`bottom`** CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/bottom - */ - bottom?: Property.Bottom | undefined; - /** - * The **`box-decoration-break`** CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages. - * - * **Syntax**: `slice | clone` - * - * **Initial value**: `slice` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------: | :-----: | :---------: | :--: | :-: | - * | **22** _-x-_ | **32** | **7** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-decoration-break - */ - boxDecorationBreak?: Property.BoxDecorationBreak | undefined; - /** - * The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **4** | **5.1** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-shadow - */ - boxShadow?: Property.BoxShadow | undefined; - /** - * The **`box-sizing`** CSS property sets how the total width and height of an element is calculated. - * - * **Syntax**: `content-box | border-box` - * - * **Initial value**: `content-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **29** | **5.1** | **12** | **8** | - * | 1 _-x-_ | 1 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-sizing - */ - boxSizing?: Property.BoxSizing | undefined; - /** - * The **`break-after`** CSS property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-after - */ - breakAfter?: Property.BreakAfter | undefined; - /** - * The **`break-before`** CSS property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-before - */ - breakBefore?: Property.BreakBefore | undefined; - /** - * The **`break-inside`** CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | avoid-page | avoid-column | avoid-region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-inside - */ - breakInside?: Property.BreakInside | undefined; - /** - * The **`caption-side`** CSS property puts the content of a table's `
` on the specified side. The values are relative to the `writing-mode` of the table. - * - * **Syntax**: `top | bottom | block-start | block-end | inline-start | inline-end` - * - * **Initial value**: `top` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caption-side - */ - captionSide?: Property.CaptionSide | undefined; - /** - * The **`caret-color`** CSS property sets the color of the **insertion caret**, the visible marker where the next character typed will be inserted. This is sometimes referred to as the **text input cursor**. The caret appears in elements such as `` or those with the `contenteditable` attribute. The caret is typically a thin vertical line that flashes to help make it more noticeable. By default, it is black, but its color can be altered with this property. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **53** | **11.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caret-color - */ - caretColor?: Property.CaretColor | undefined; - /** - * **Syntax**: `auto | bar | block | underscore` - * - * **Initial value**: `auto` - */ - caretShape?: Property.CaretShape | undefined; - /** - * The **`clear`** CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The `clear` property applies to floating and non-floating elements. - * - * **Syntax**: `none | left | right | both | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clear - */ - clear?: Property.Clear | undefined; - /** - * The **`clip-path`** CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden. - * - * **Syntax**: ` | [ || ] | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **55** | **3.5** | **9.1** | **79** | **10** | - * | 23 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clip-path - */ - clipPath?: Property.ClipPath | undefined; - /** - * The **`color`** CSS property sets the foreground color value of an element's text and text decorations, and sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`. - * - * **Syntax**: `` - * - * **Initial value**: `canvastext` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color - */ - color?: Property.Color | undefined; - /** - * The **`print-color-adjust`** CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device. - * - * **Syntax**: `economy | exact` - * - * **Initial value**: `economy` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------: | :-----------------: | :------: | :----------: | :-: | - * | **17** _-x-_ | **97** | **15.4** | **79** _-x-_ | No | - * | | 48 _(color-adjust)_ | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/print-color-adjust - */ - colorAdjust?: Property.PrintColorAdjust | undefined; - /** - * The **`color-scheme`** CSS property allows an element to indicate which color schemes it can comfortably be rendered in. - * - * **Syntax**: `normal | [ light | dark | ]+ && only?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **81** | **96** | **13** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color-scheme - */ - colorScheme?: Property.ColorScheme | undefined; - /** - * The **`column-count`** CSS property breaks an element's content into the specified number of columns. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-count - */ - columnCount?: Property.ColumnCount | undefined; - /** - * The **`column-fill`** CSS property controls how an element's contents are balanced when broken into columns. - * - * **Syntax**: `auto | balance | balance-all` - * - * **Initial value**: `balance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-fill - */ - columnFill?: Property.ColumnFill | undefined; - /** - * The **`column-gap`** CSS property sets the size of the gap (gutter) between an element's columns. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **1** | **1.5** | **3** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-gap - */ - columnGap?: Property.ColumnGap | undefined; - /** - * The **`column-rule-color`** CSS property sets the color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-color - */ - columnRuleColor?: Property.ColumnRuleColor | undefined; - /** - * The **`column-rule-style`** CSS property sets the style of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-style - */ - columnRuleStyle?: Property.ColumnRuleStyle | undefined; - /** - * The **`column-rule-width`** CSS property sets the width of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-width - */ - columnRuleWidth?: Property.ColumnRuleWidth | undefined; - /** - * The **`column-span`** CSS property makes it possible for an element to span across all columns when its value is set to `all`. - * - * **Syntax**: `none | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **50** | **71** | **9** | **12** | **10** | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-span - */ - columnSpan?: Property.ColumnSpan | undefined; - /** - * The **`column-width`** CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the `column-width` value. If the width of the container is narrower than the specified value, the single column's width will be smaller than the declared column width. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **50** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-width - */ - columnWidth?: Property.ColumnWidth | undefined; - /** - * The **`contain`** CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes. - * - * **Syntax**: `none | strict | content | [ [ size || inline-size ] || layout || style || paint ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **52** | **69** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain - */ - contain?: Property.Contain | undefined; - /** - * The **`contain-intrinsic-block-size`** CSS logical property defines the block size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size - */ - containIntrinsicBlockSize?: - | Property.ContainIntrinsicBlockSize - | undefined; - /** - * The **`contain-intrinsic-length`** CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height - */ - containIntrinsicHeight?: Property.ContainIntrinsicHeight | undefined; - /** - * The **`contain-intrinsic-inline-size`** CSS logical property defines the inline-size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size - */ - containIntrinsicInlineSize?: - | Property.ContainIntrinsicInlineSize - | undefined; - /** - * The **`contain-intrinsic-width`** CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width - */ - containIntrinsicWidth?: Property.ContainIntrinsicWidth | undefined; - /** - * The **container-name** CSS property specifies a list of query container names used by the @container at-rule in a container query. A container query will apply styles to elements based on the size of the nearest ancestor with a containment context. When a containment context is given a name, it can be specifically targeted using the `@container` at-rule instead of the nearest ancestor with containment. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-name - */ - containerName?: Property.ContainerName | undefined; - /** - * The **container-type** CSS property is used to define the type of containment used in a container query. - * - * **Syntax**: `normal | size | inline-size` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-type - */ - containerType?: Property.ContainerType | undefined; - /** - * The **`content`** CSS property replaces an element with a generated value. Objects inserted using the `content` property are **anonymous replaced elements**. - * - * **Syntax**: `normal | none | [ | ] [/ [ | ]+ ]?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content - */ - content?: Property.Content | undefined; - /** - * The **`content-visibility`** CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster. - * - * **Syntax**: `visible | auto | hidden` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------: | :----: | :--: | :-: | - * | **85** | **preview** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content-visibility - */ - contentVisibility?: Property.ContentVisibility | undefined; - /** - * The **`counter-increment`** CSS property increases or decreases the value of a CSS counter by a given value. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-increment - */ - counterIncrement?: Property.CounterIncrement | undefined; - /** - * The **`counter-reset`** CSS property resets a CSS counter to a given value. This property will create a new counter or reversed counter with the given name on the specified element. - * - * **Syntax**: `[ ? | ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-reset - */ - counterReset?: Property.CounterReset | undefined; - /** - * The **`counter-set`** CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **85** | **68** | **17.2** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-set - */ - counterSet?: Property.CounterSet | undefined; - /** - * The **`cursor`** CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element. - * - * **Syntax**: `[ [ [ ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/cursor - */ - cursor?: Property.Cursor | undefined; - /** - * The **`direction`** CSS property sets the direction of text, table columns, and horizontal overflow. Use `rtl` for languages written from right to left (like Hebrew or Arabic), and `ltr` for those written from left to right (like English and most other languages). - * - * **Syntax**: `ltr | rtl` - * - * **Initial value**: `ltr` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **2** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/direction - */ - direction?: Property.Direction | undefined; - /** - * The **`display`** CSS property sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex. - * - * **Syntax**: `[ || ] | | | | ` - * - * **Initial value**: `inline` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/display - */ - display?: Property.Display | undefined; - /** - * The **`empty-cells`** CSS property sets whether borders and backgrounds appear around `` cells that have no visible content. - * - * **Syntax**: `show | hide` - * - * **Initial value**: `show` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/empty-cells - */ - emptyCells?: Property.EmptyCells | undefined; - /** - * The **`filter`** CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **53** | **35** | **9.1** | **12** | No | - * | 18 _-x-_ | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/filter - */ - filter?: Property.Filter | undefined; - /** - * The **`flex-basis`** CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with `box-sizing`. - * - * **Syntax**: `content | <'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **22** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-basis - */ - flexBasis?: Property.FlexBasis | undefined; - /** - * The **`flex-direction`** CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). - * - * **Syntax**: `row | row-reverse | column | column-reverse` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :------: | - * | **29** | **81** | **9** | **12** | **11** | - * | 21 _-x-_ | 49 _-x-_ | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-direction - */ - flexDirection?: Property.FlexDirection | undefined; - /** - * The **`flex-grow`** CSS property sets the flex grow factor of a flex item's main size. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----------------------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | 10 _(-ms-flex-positive)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-grow - */ - flexGrow?: Property.FlexGrow | undefined; - /** - * The **`flex-shrink`** CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to `flex-shrink`. - * - * **Syntax**: `` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **10** | - * | 22 _-x-_ | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-shrink - */ - flexShrink?: Property.FlexShrink | undefined; - /** - * The **`flex-wrap`** CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. - * - * **Syntax**: `nowrap | wrap | wrap-reverse` - * - * **Initial value**: `nowrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-wrap - */ - flexWrap?: Property.FlexWrap | undefined; - /** - * The **`float`** CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning). - * - * **Syntax**: `left | right | none | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/float - */ - float?: Property.Float | undefined; - /** - * The **`font-family`** CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element. - * - * **Syntax**: `[ | ]#` - * - * **Initial value**: depends on user agent - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-family - */ - fontFamily?: Property.FontFamily | undefined; - /** - * The **`font-feature-settings`** CSS property controls advanced typographic features in OpenType fonts. - * - * **Syntax**: `normal | #` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :----: | - * | **48** | **34** | **9.1** | **15** | **10** | - * | 16 _-x-_ | 15 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-feature-settings - */ - fontFeatureSettings?: Property.FontFeatureSettings | undefined; - /** - * The **`font-kerning`** CSS property sets the use of the kerning information stored in a font. - * - * **Syntax**: `auto | normal | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **33** | **32** | **9** | n/a | No | - * | | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-kerning - */ - fontKerning?: Property.FontKerning | undefined; - /** - * The **`font-language-override`** CSS property controls the use of language-specific glyphs in a typeface. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **34** | No | n/a | No | - * | | 4 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-language-override - */ - fontLanguageOverride?: Property.FontLanguageOverride | undefined; - /** - * The **`font-optical-sizing`** CSS property sets whether text rendering is optimized for viewing at different sizes. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **79** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing - */ - fontOpticalSizing?: Property.FontOpticalSizing | undefined; - /** - * **Syntax**: `normal | light | dark | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **101** | **107** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-palette - */ - fontPalette?: Property.FontPalette | undefined; - /** - * The **`font-size`** CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative `` units, such as `em`, `ex`, and so forth. - * - * **Syntax**: ` | | ` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size - */ - fontSize?: Property.FontSize | undefined; - /** - * The **`font-size-adjust`** CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). - * - * **Syntax**: `none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | **3** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size-adjust - */ - fontSizeAdjust?: Property.FontSizeAdjust | undefined; - /** - * The **`font-smooth`** CSS property controls the application of anti-aliasing when fonts are rendered. - * - * **Syntax**: `auto | never | always | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :--------------------------------: | :------------------------------: | :--: | :-: | - * | **5** _(-webkit-font-smoothing)_ | **25** _(-moz-osx-font-smoothing)_ | **4** _(-webkit-font-smoothing)_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-smooth - */ - fontSmooth?: Property.FontSmooth | undefined; - /** - * The **`font-stretch`** CSS property selects a normal, condensed, or expanded face from a font. - * - * **Syntax**: `` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **60** | **9** | **11** | **12** | **9** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-stretch - */ - fontStretch?: Property.FontStretch | undefined; - /** - * The **`font-style`** CSS property sets whether a font should be styled with a normal, italic, or oblique face from its `font-family`. - * - * **Syntax**: `normal | italic | oblique ?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-style - */ - fontStyle?: Property.FontStyle | undefined; - /** - * The **`font-synthesis`** CSS property controls which missing typefaces, bold, italic, or small-caps, may be synthesized by the browser. - * - * **Syntax**: `none | [ weight || style || small-caps || position]` - * - * **Initial value**: `weight style small-caps position ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **97** | **34** | **9** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis - */ - fontSynthesis?: Property.FontSynthesis | undefined; - /** - * The **`font-synthesis-position`** CSS property lets you specify whether or not a browser may synthesize the subscript and superscript "position" typefaces when they are missing in a font family, while using `font-variant-position` to set the positions. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **118** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-position - */ - fontSynthesisPosition?: Property.FontSynthesisPosition | undefined; - /** - * The **`font-synthesis-small-caps`** CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps - */ - fontSynthesisSmallCaps?: Property.FontSynthesisSmallCaps | undefined; - /** - * The **`font-synthesis-style`** CSS property lets you specify whether or not the browser may synthesize the oblique typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style - */ - fontSynthesisStyle?: Property.FontSynthesisStyle | undefined; - /** - * The **`font-synthesis-weight`** CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight - */ - fontSynthesisWeight?: Property.FontSynthesisWeight | undefined; - /** - * The **`font-variant`** CSS shorthand property allows you to set all the font variants for a font. - * - * **Syntax**: `normal | none | [ || || || || stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || || || || ordinal || slashed-zero || || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant - */ - fontVariant?: Property.FontVariant | undefined; - /** - * The **`font-variant-alternates`** CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in `@font-feature-values`. - * - * **Syntax**: `normal | [ stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **111** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates - */ - fontVariantAlternates?: Property.FontVariantAlternates | undefined; - /** - * The **`font-variant-caps`** CSS property controls the use of alternate glyphs for capital letters. - * - * **Syntax**: `normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-caps - */ - fontVariantCaps?: Property.FontVariantCaps | undefined; - /** - * The **`font-variant-east-asian`** CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese. - * - * **Syntax**: `normal | [ || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **63** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian - */ - fontVariantEastAsian?: Property.FontVariantEastAsian | undefined; - /** - * **Syntax**: `normal | text | emoji | unicode` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji - */ - fontVariantEmoji?: Property.FontVariantEmoji | undefined; - /** - * The **`font-variant-ligatures`** CSS property controls which ligatures and contextual forms are used in textual content of the elements it applies to. This leads to more harmonized forms in the resulting text. - * - * **Syntax**: `normal | none | [ || || || ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :--: | :-: | - * | **34** | **34** | **9.1** | n/a | No | - * | 31 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures - */ - fontVariantLigatures?: Property.FontVariantLigatures | undefined; - /** - * The **`font-variant-numeric`** CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers. - * - * **Syntax**: `normal | [ || || || ordinal || slashed-zero ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric - */ - fontVariantNumeric?: Property.FontVariantNumeric | undefined; - /** - * The **`font-variant-position`** CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript. - * - * **Syntax**: `normal | sub | super` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **117** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-position - */ - fontVariantPosition?: Property.FontVariantPosition | undefined; - /** - * The **`font-variation-settings`** CSS property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values. - * - * **Syntax**: `normal | [ ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **62** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variation-settings - */ - fontVariationSettings?: Property.FontVariationSettings | undefined; - /** - * The **`font-weight`** CSS property sets the weight (or boldness) of the font. The weights available depend on the `font-family` that is currently set. - * - * **Syntax**: ` | bolder | lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-weight - */ - fontWeight?: Property.FontWeight | undefined; - /** - * The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :-----------------------------: | :---------------------------------: | - * | **89** | **113** | No | **79** | **10** _(-ms-high-contrast-adjust)_ | - * | | | | 12 _(-ms-high-contrast-adjust)_ | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust - */ - forcedColorAdjust?: Property.ForcedColorAdjust | undefined; - /** - * The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns - */ - gridAutoColumns?: Property.GridAutoColumns | undefined; - /** - * The **`grid-auto-flow`** CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid. - * - * **Syntax**: `[ row | column ] || dense` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow - */ - gridAutoFlow?: Property.GridAutoFlow | undefined; - /** - * The **`grid-auto-rows`** CSS property specifies the size of an implicitly-created grid row track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows - */ - gridAutoRows?: Property.GridAutoRows | undefined; - /** - * The **`grid-column-end`** CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the block-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-end - */ - gridColumnEnd?: Property.GridColumnEnd | undefined; - /** - * The **`grid-column-start`** CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-start - */ - gridColumnStart?: Property.GridColumnStart | undefined; - /** - * The **`grid-row-end`** CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-end - */ - gridRowEnd?: Property.GridRowEnd | undefined; - /** - * The **`grid-row-start`** CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-start - */ - gridRowStart?: Property.GridRowStart | undefined; - /** - * The **`grid-template-areas`** CSS property specifies named grid areas, establishing the cells in the grid and assigning them names. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-areas - */ - gridTemplateAreas?: Property.GridTemplateAreas | undefined; - /** - * The **`grid-template-columns`** CSS property defines the line names and track sizing functions of the grid columns. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-columns - */ - gridTemplateColumns?: Property.GridTemplateColumns | undefined; - /** - * The **`grid-template-rows`** CSS property defines the line names and track sizing functions of the grid rows. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-rows - */ - gridTemplateRows?: Property.GridTemplateRows | undefined; - /** - * The **`hanging-punctuation`** CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box. - * - * **Syntax**: `none | [ first || [ force-end | allow-end ] || last ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | No | **10** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation - */ - hangingPunctuation?: Property.HangingPunctuation | undefined; - /** - * The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/height - */ - height?: Property.Height | undefined; - /** - * The **`hyphenate-character`** CSS property sets the character (or string) used at the end of a line before a hyphenation break. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :--: | :-: | - * | **106** | **98** | **17** | n/a | No | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphenate-character - */ - hyphenateCharacter?: Property.HyphenateCharacter | undefined; - /** - * The **`hyphenate-limit-chars`** CSS property specifies the minimum word length to allow hyphenation of words as well as the the minimum number of characters before and after the hyphen. - * - * **Syntax**: `[ auto | ]{1,3}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - */ - hyphenateLimitChars?: Property.HyphenateLimitChars | undefined; - /** - * The **`hyphens`** CSS property specifies how words should be hyphenated when text wraps across multiple lines. It can prevent hyphenation entirely, hyphenate at manually-specified points within the text, or let the browser automatically insert hyphens where appropriate. - * - * **Syntax**: `none | manual | auto` - * - * **Initial value**: `manual` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :----: | :----------: | - * | **55** | **43** | **17** | **79** | **10** _-x-_ | - * | 13 _-x-_ | 6 _-x-_ | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphens - */ - hyphens?: Property.Hyphens | undefined; - /** - * The **`image-orientation`** CSS property specifies a layout-independent correction to the orientation of an image. - * - * **Syntax**: `from-image | | [ ? flip ]` - * - * **Initial value**: `from-image` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **81** | **26** | **13.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-orientation - */ - imageOrientation?: Property.ImageOrientation | undefined; - /** - * The **`image-rendering`** CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants. - * - * **Syntax**: `auto | crisp-edges | pixelated` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **13** | **3.6** | **6** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-rendering - */ - imageRendering?: Property.ImageRendering | undefined; - /** - * **Syntax**: `[ from-image || ] && snap?` - * - * **Initial value**: `1dppx` - */ - imageResolution?: Property.ImageResolution | undefined; - /** - * The `initial-letter` CSS property sets styling for dropped, raised, and sunken initial letters. - * - * **Syntax**: `normal | [ ? ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :---------: | :--: | :-: | - * | **110** | No | **9** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/initial-letter - */ - initialLetter?: Property.InitialLetter | undefined; - /** - * The **`inline-size`** CSS property defines the horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `width` or the `height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inline-size - */ - inlineSize?: Property.InlineSize | undefined; - /** - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - */ - inputSecurity?: Property.InputSecurity | undefined; - /** - * The **`inset-block-end`** CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-end - */ - insetBlockEnd?: Property.InsetBlockEnd | undefined; - /** - * The **`inset-block-start`** CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-start - */ - insetBlockStart?: Property.InsetBlockStart | undefined; - /** - * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end - */ - insetInlineEnd?: Property.InsetInlineEnd | undefined; - /** - * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start - */ - insetInlineStart?: Property.InsetInlineStart | undefined; - /** - * The **`isolation`** CSS property determines whether an element must create a new stacking context. - * - * **Syntax**: `auto | isolate` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **36** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/isolation - */ - isolation?: Property.Isolation | undefined; - /** - * The CSS **`justify-content`** property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. - * - * **Syntax**: `normal | | ? [ | left | right ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-content - */ - justifyContent?: Property.JustifyContent | undefined; - /** - * The CSS **`justify-items`** property defines the default `justify-self` for all items of the box, giving them all a default way of justifying each box along the appropriate axis. - * - * **Syntax**: `normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]` - * - * **Initial value**: `legacy` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **52** | **20** | **9** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-items - */ - justifyItems?: Property.JustifyItems | undefined; - /** - * The CSS **`justify-self`** property sets the way a box is justified inside its alignment container along the appropriate axis. - * - * **Syntax**: `auto | normal | stretch | | ? [ | left | right ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----: | - * | **57** | **45** | **10.1** | **16** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-self - */ - justifySelf?: Property.JustifySelf | undefined; - /** - * The **`justify-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis. - * - * **Syntax**: `[ normal | | ? [ | left | right ] ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-tracks - */ - justifyTracks?: Property.JustifyTracks | undefined; - /** - * The **`left`** CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/left - */ - left?: Property.Left | undefined; - /** - * The **`letter-spacing`** CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` causes characters to spread farther apart, while negative values of `letter-spacing` bring characters closer together. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/letter-spacing - */ - letterSpacing?: Property.LetterSpacing | undefined; - /** - * The **`line-break`** CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols. - * - * **Syntax**: `auto | loose | normal | strict | anywhere` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **58** | **69** | **11** | **14** | **5.5** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-break - */ - lineBreak?: Property.LineBreak | undefined; - /** - * The **`line-height`** CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height. - * - * **Syntax**: `normal | | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height - */ - lineHeight?: Property.LineHeight | undefined; - /** - * The **`line-height-step`** CSS property sets the step unit for line box heights. When the property is set, line box heights are rounded up to the closest multiple of the unit. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | n/a | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height-step - */ - lineHeightStep?: Property.LineHeightStep | undefined; - /** - * The **`list-style-image`** CSS property sets an image to be used as the list item marker. - * - * **Syntax**: ` | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-image - */ - listStyleImage?: Property.ListStyleImage | undefined; - /** - * The **`list-style-position`** CSS property sets the position of the `::marker` relative to a list item. - * - * **Syntax**: `inside | outside` - * - * **Initial value**: `outside` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-position - */ - listStylePosition?: Property.ListStylePosition | undefined; - /** - * The **`list-style-type`** CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element. - * - * **Syntax**: ` | | none` - * - * **Initial value**: `disc` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-type - */ - listStyleType?: Property.ListStyleType | undefined; - /** - * The **`margin-block-end`** CSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-end - */ - marginBlockEnd?: Property.MarginBlockEnd | undefined; - /** - * The **`margin-block-start`** CSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-start - */ - marginBlockStart?: Property.MarginBlockStart | undefined; - /** - * The **`margin-bottom`** CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom - */ - marginBottom?: Property.MarginBottom | undefined; - /** - * The **`margin-inline-end`** CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------------: | :-------------------: | :----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-end)_ | 3 _(-moz-margin-end)_ | 3 _(-webkit-margin-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-end - */ - marginInlineEnd?: Property.MarginInlineEnd | undefined; - /** - * The **`margin-inline-start`** CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :---------------------: | :------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-start)_ | 3 _(-moz-margin-start)_ | 3 _(-webkit-margin-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-start - */ - marginInlineStart?: Property.MarginInlineStart | undefined; - /** - * The **`margin-left`** CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-left - */ - marginLeft?: Property.MarginLeft | undefined; - /** - * The **`margin-right`** CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-right - */ - marginRight?: Property.MarginRight | undefined; - /** - * The **`margin-top`** CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-top - */ - marginTop?: Property.MarginTop | undefined; - /** - * The `margin-trim` property allows the container to trim the margins of its children where they adjoin the container's edges. - * - * **Syntax**: `none | in-flow | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | No | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-trim - */ - marginTrim?: Property.MarginTrim | undefined; - /** - * The **`mask-border-mode`** CSS property specifies the blending mode used in a mask border. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `alpha` - */ - maskBorderMode?: Property.MaskBorderMode | undefined; - /** - * The **`mask-border-outset`** CSS property specifies the distance by which an element's mask border is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-outset)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-outset)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-outset - */ - maskBorderOutset?: Property.MaskBorderOutset | undefined; - /** - * The **`mask-border-repeat`** CSS property sets how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-repeat)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-repeat)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat - */ - maskBorderRepeat?: Property.MaskBorderRepeat | undefined; - /** - * The **`mask-border-slice`** CSS property divides the image set by `mask-border-source` into regions. These regions are used to form the components of an element's mask border. - * - * **Syntax**: `{1,4} fill?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-slice)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-slice)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-slice - */ - maskBorderSlice?: Property.MaskBorderSlice | undefined; - /** - * The **`mask-border-source`** CSS property sets the source image used to create an element's mask border. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-source)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-source)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-source - */ - maskBorderSource?: Property.MaskBorderSource | undefined; - /** - * The **`mask-border-width`** CSS property sets the width of an element's mask border. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-width)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-width)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-width - */ - maskBorderWidth?: Property.MaskBorderWidth | undefined; - /** - * The **`mask-clip`** CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area. - * - * **Syntax**: `[ | no-clip ]#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-clip - */ - maskClip?: Property.MaskClip | undefined; - /** - * The **`mask-composite`** CSS property represents a compositing operation used on the current mask layer with the mask layers below it. - * - * **Syntax**: `#` - * - * **Initial value**: `add` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-composite - */ - maskComposite?: Property.MaskComposite | undefined; - /** - * The **`mask-image`** CSS property sets the image that is used as mask layer for an element. By default this means the alpha channel of the mask image will be multiplied with the alpha channel of the element. This can be controlled with the `mask-mode` property. - * - * **Syntax**: `#` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 16-79 | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-image - */ - maskImage?: Property.MaskImage | undefined; - /** - * The **`mask-mode`** CSS property sets whether the mask reference defined by `mask-image` is treated as a luminance or alpha mask. - * - * **Syntax**: `#` - * - * **Initial value**: `match-source` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-mode - */ - maskMode?: Property.MaskMode | undefined; - /** - * The **`mask-origin`** CSS property sets the origin of a mask. - * - * **Syntax**: `#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-origin - */ - maskOrigin?: Property.MaskOrigin | undefined; - /** - * The **`mask-position`** CSS property sets the initial position, relative to the mask position layer set by `mask-origin`, for each defined mask image. - * - * **Syntax**: `#` - * - * **Initial value**: `center` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-position - */ - maskPosition?: Property.MaskPosition | undefined; - /** - * The **`mask-repeat`** CSS property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all. - * - * **Syntax**: `#` - * - * **Initial value**: `repeat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-repeat - */ - maskRepeat?: Property.MaskRepeat | undefined; - /** - * The **`mask-size`** CSS property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in order to preserve its intrinsic ratio. - * - * **Syntax**: `#` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 4 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-size - */ - maskSize?: Property.MaskSize | undefined; - /** - * The **`mask-type`** CSS property sets whether an SVG `` element is used as a _luminance_ or an _alpha_ mask. It applies to the `` element itself. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `luminance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **24** | **35** | **7** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-type - */ - maskType?: Property.MaskType | undefined; - /** - * This feature is not Baseline because it does not work in some of the most widely-used browsers. - * - * **Syntax**: `[ pack | next ] || [ definite-first | ordered ]` - * - * **Initial value**: `pack` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :---------: | :--: | :-: | - * | No | No | **preview** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow - */ - masonryAutoFlow?: Property.MasonryAutoFlow | undefined; - /** - * The **`math-depth`** property describes a notion of _depth_ for each element of a mathematical formula, with respect to the top-level container of that formula. Concretely, this is used to determine the computed value of the font-size property when its specified value is `math`. - * - * **Syntax**: `auto-add | add() | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | **117** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-depth - */ - mathDepth?: Property.MathDepth | undefined; - /** - * The `math-shift` property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-shift - */ - mathShift?: Property.MathShift | undefined; - /** - * The `math-style` property indicates whether MathML equations should render with normal or compact height. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **109** | **117** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-style - */ - mathStyle?: Property.MathStyle | undefined; - /** - * The **`max-block-size`** CSS property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by `writing-mode`. That is, if the writing direction is horizontal, then `max-block-size` is equivalent to `max-height`; if the writing direction is vertical, `max-block-size` is the same as `max-width`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-block-size - */ - maxBlockSize?: Property.MaxBlockSize | undefined; - /** - * The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **18** | **1** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-height - */ - maxHeight?: Property.MaxHeight | undefined; - /** - * The **`max-inline-size`** CSS property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It corresponds to either the `max-width` or the `max-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :--------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * | | | 10.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-inline-size - */ - maxInlineSize?: Property.MaxInlineSize | undefined; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - maxLines?: Property.MaxLines | undefined; - /** - * The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-width - */ - maxWidth?: Property.MaxWidth | undefined; - /** - * The **`min-block-size`** CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-block-size - */ - minBlockSize?: Property.MinBlockSize | undefined; - /** - * The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **3** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-height - */ - minHeight?: Property.MinHeight | undefined; - /** - * The **`min-inline-size`** CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-inline-size - */ - minInlineSize?: Property.MinInlineSize | undefined; - /** - * The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-width - */ - minWidth?: Property.MinWidth | undefined; - /** - * The **`mix-blend-mode`** CSS property sets how an element's content should blend with the content of the element's parent and the element's background. - * - * **Syntax**: ` | plus-lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **32** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode - */ - mixBlendMode?: Property.MixBlendMode | undefined; - /** - * The **`offset-distance`** CSS property specifies a position along an `offset-path` for an element to be placed. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :--------------------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion-distance)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-distance - */ - motionDistance?: Property.OffsetDistance | undefined; - /** - * The **`offset-path`** CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system. - * - * **Syntax**: `none | || ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------: | :-----: | :------: | :--: | :-: | - * | **55** | **72** | **15.4** | n/a | No | - * | 46 _(motion-path)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-path - */ - motionPath?: Property.OffsetPath | undefined; - /** - * The **`offset-rotate`** CSS property defines the orientation/direction of the element as it is positioned along the `offset-path`. - * - * **Syntax**: `[ auto | reverse ] || ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :--------------------: | :-----: | :----: | :--: | :-: | - * | **56** | **72** | **16** | n/a | No | - * | 46 _(motion-rotation)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-rotate - */ - motionRotation?: Property.OffsetRotate | undefined; - /** - * The **`object-fit`** CSS property sets how the content of a replaced element, such as an `` or `
` cells, rows, and columns. - * - * **Syntax**: `auto | fixed` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **14** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/table-layout - */ - tableLayout?: Property.TableLayout | undefined; - /** - * The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like `vertical-align` but in the horizontal direction. - * - * **Syntax**: `start | end | left | right | center | justify | match-parent` - * - * **Initial value**: `start`, or a nameless value that acts as `left` if _direction_ is `ltr`, `right` if _direction_ is `rtl` if `start` is not supported by the browser. - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align - */ - textAlign?: Property.TextAlign | undefined; - /** - * The **`text-align-last`** CSS property sets how the last line of a block or a line, right before a forced line break, is aligned. - * - * **Syntax**: `auto | start | end | left | right | center | justify` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **47** | **49** | **16** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align-last - */ - textAlignLast?: Property.TextAlignLast | undefined; - /** - * The **`text-combine-upright`** CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes. - * - * **Syntax**: `none | all | [ digits ? ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :-----: | :--------------------------: | :----: | :------------------------------------: | - * | **48** | **48** | **15.4** | **79** | **11** _(-ms-text-combine-horizontal)_ | - * | 9 _(-webkit-text-combine)_ | | 5.1 _(-webkit-text-combine)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-combine-upright - */ - textCombineUpright?: Property.TextCombineUpright | undefined; - /** - * The **`text-decoration-color`** CSS property sets the color of decorations added to text by `text-decoration-line`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-color - */ - textDecorationColor?: Property.TextDecorationColor | undefined; - /** - * The **`text-decoration-line`** CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline. - * - * **Syntax**: `none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-line - */ - textDecorationLine?: Property.TextDecorationLine | undefined; - /** - * The **`text-decoration-skip`** CSS property sets what parts of an element's content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors. - * - * **Syntax**: `none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]` - * - * **Initial value**: `objects` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | 57-64 | No | **12.1** | n/a | No | - * | | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip - */ - textDecorationSkip?: Property.TextDecorationSkip | undefined; - /** - * The **`text-decoration-skip-ink`** CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders. - * - * **Syntax**: `auto | all | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **64** | **70** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink - */ - textDecorationSkipInk?: Property.TextDecorationSkipInk | undefined; - /** - * The **`text-decoration-style`** CSS property sets the style of the lines specified by `text-decoration-line`. The style applies to all lines that are set with `text-decoration-line`. - * - * **Syntax**: `solid | double | dotted | dashed | wavy` - * - * **Initial value**: `solid` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-style - */ - textDecorationStyle?: Property.TextDecorationStyle | undefined; - /** - * The **`text-decoration-thickness`** CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline. - * - * **Syntax**: `auto | from-font | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **89** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness - */ - textDecorationThickness?: - | Property.TextDecorationThickness - | undefined; - /** - * The **`text-emphasis-color`** CSS property sets the color of emphasis marks. This value can also be set using the `text-emphasis` shorthand. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color - */ - textEmphasisColor?: Property.TextEmphasisColor | undefined; - /** - * The **`text-emphasis-position`** CSS property sets where emphasis marks are drawn. Like ruby text, if there isn't enough room for emphasis marks, the line height is increased. - * - * **Syntax**: `[ over | under ] && [ right | left ]` - * - * **Initial value**: `over right` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position - */ - textEmphasisPosition?: Property.TextEmphasisPosition | undefined; - /** - * The **`text-emphasis-style`** CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the `text-emphasis` shorthand. - * - * **Syntax**: `none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style - */ - textEmphasisStyle?: Property.TextEmphasisStyle | undefined; - /** - * The **`text-indent`** CSS property sets the length of empty space (indentation) that is put before lines of text in a block. - * - * **Syntax**: ` && hanging? && each-line?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-indent - */ - textIndent?: Property.TextIndent | undefined; - /** - * The **`text-justify`** CSS property sets what type of justification should be applied to text when `text-align``: justify;` is set on an element. - * - * **Syntax**: `auto | inter-character | inter-word | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :---: | :----: | - * | n/a | **55** | No | 12-79 | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-justify - */ - textJustify?: Property.TextJustify | undefined; - /** - * The **`text-orientation`** CSS property sets the orientation of the text characters in a line. It only affects text in vertical mode (when `writing-mode` is not `horizontal-tb`). It is useful for controlling the display of languages that use vertical script, and also for making vertical table headers. - * - * **Syntax**: `mixed | upright | sideways` - * - * **Initial value**: `mixed` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :--: | :-: | - * | **48** | **41** | **14** | n/a | No | - * | 11 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-orientation - */ - textOrientation?: Property.TextOrientation | undefined; - /** - * The **`text-overflow`** CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis ('`…`'), or display a custom string. - * - * **Syntax**: `[ clip | ellipsis | ]{1,2}` - * - * **Initial value**: `clip` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **7** | **1.3** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-overflow - */ - textOverflow?: Property.TextOverflow | undefined; - /** - * The **`text-rendering`** CSS property provides information to the rendering engine about what to optimize for when rendering text. - * - * **Syntax**: `auto | optimizeSpeed | optimizeLegibility | geometricPrecision` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **4** | **1** | **5** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-rendering - */ - textRendering?: Property.TextRendering | undefined; - /** - * The **`text-shadow`** CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its `decorations`. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **2** | **3.5** | **1.1** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-shadow - */ - textShadow?: Property.TextShadow | undefined; - /** - * The **`text-size-adjust`** CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property. - * - * **Syntax**: `none | auto | ` - * - * **Initial value**: `auto` for smartphone browsers supporting inflation, `none` in other cases (and then not modifiable). - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **54** | No | No | **79** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-size-adjust - */ - textSizeAdjust?: Property.TextSizeAdjust | undefined; - /** - * The **`text-transform`** CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby. - * - * **Syntax**: `none | capitalize | uppercase | lowercase | full-width | full-size-kana` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-transform - */ - textTransform?: Property.TextTransform | undefined; - /** - * The **`text-underline-offset`** CSS property sets the offset distance of an underline text decoration line (applied using `text-decoration`) from its original position. - * - * **Syntax**: `auto | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-offset - */ - textUnderlineOffset?: Property.TextUnderlineOffset | undefined; - /** - * The **`text-underline-position`** CSS property specifies the position of the underline which is set using the `text-decoration` property's `underline` value. - * - * **Syntax**: `auto | from-font | [ under || [ left | right ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **33** | **74** | **12.1** | **12** | **6** | - * | | | 9 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-position - */ - textUnderlinePosition?: Property.TextUnderlinePosition | undefined; - /** - * The **`text-wrap`** CSS property controls how text inside an element is wrapped. The different values provide: - * - * **Syntax**: `wrap | nowrap | balance | stable | pretty` - * - * **Initial value**: `wrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | **121** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-wrap - */ - textWrap?: Property.TextWrap | undefined; - /** - * The **`timeline-scope`** CSS property modifies the scope of a named animation timeline. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **116** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/timeline-scope - */ - timelineScope?: Property.TimelineScope | undefined; - /** - * The **`top`** CSS property participates in specifying the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/top - */ - top?: Property.Top | undefined; - /** - * The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser). - * - * **Syntax**: `auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :------: | - * | **36** | **52** | **13** | **12** | **11** | - * | | | | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/touch-action - */ - touchAction?: Property.TouchAction | undefined; - /** - * The **`transform`** CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform - */ - transform?: Property.Transform | undefined; - /** - * The **`transform-box`** CSS property defines the layout box to which the `transform`, individual transform properties `translate`,`scale`, and `rotate`, and `transform-origin` properties relate. - * - * **Syntax**: `content-box | border-box | fill-box | stroke-box | view-box` - * - * **Initial value**: `view-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **64** | **55** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-box - */ - transformBox?: Property.TransformBox | undefined; - /** - * The **`transform-origin`** CSS property sets the origin for an element's transformations. - * - * **Syntax**: `[ | left | center | right | top | bottom ] | [ [ | left | center | right ] && [ | top | center | bottom ] ] ?` - * - * **Initial value**: `50% 50% 0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 2 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-origin - */ - transformOrigin?: Property.TransformOrigin | undefined; - /** - * The **`transform-style`** CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element. - * - * **Syntax**: `flat | preserve-3d` - * - * **Initial value**: `flat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **36** | **16** | **9** | **12** | No | - * | 12 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-style - */ - transformStyle?: Property.TransformStyle | undefined; - /** - * The **`transition-behavior`** CSS property specifies whether transitions will be started for properties whose animation behavior is discrete. - * - * **Syntax**: `#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **117** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition-behavior - */ - transitionBehavior?: Property.TransitionBehavior | undefined; - /** - * The **`transition-delay`** CSS property specifies the duration to wait before starting a property's transition effect when its value changes. - * - * **Syntax**: `
`. - * - * **Syntax**: `visible | hidden | collapse` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/visibility - */ - visibility?: Property.Visibility | undefined; - /** - * The **`white-space`** CSS property sets how white space inside an element is handled. - * - * **Syntax**: `normal | pre | nowrap | pre-wrap | pre-line | break-spaces | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space - */ - whiteSpace?: Property.WhiteSpace | undefined; - /** - * The **`white-space-collapse`** CSS property controls how white space inside an element is collapsed. - * - * **Syntax**: `collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces` - * - * **Initial value**: `collapse` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space-collapse - */ - whiteSpaceCollapse?: Property.WhiteSpaceCollapse | undefined; - /** - * **Syntax**: `none | discard-before || discard-after || discard-inner` - * - * **Initial value**: `none` - */ - whiteSpaceTrim?: Property.WhiteSpaceTrim | undefined; - /** - * The **`widows`** CSS property sets the minimum number of lines in a block container that must be shown at the _top_ of a page, region, or column. - * - * **Syntax**: `` - * - * **Initial value**: `2` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **25** | No | **1.3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/widows - */ - widows?: Property.Widows | undefined; - /** - * The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/width - */ - width?: Property.Width | undefined; - /** - * The **`will-change`** CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. These kinds of optimizations can increase the responsiveness of a page by doing potentially expensive work before they are actually required. - * - * **Syntax**: `auto | #` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **36** | **36** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/will-change - */ - willChange?: Property.WillChange | undefined; - /** - * The **`word-break`** CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box. - * - * **Syntax**: `normal | break-all | keep-all | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **15** | **3** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-break - */ - wordBreak?: Property.WordBreak | undefined; - /** - * The **`word-spacing`** CSS property sets the length of space between words and between tags. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-spacing - */ - wordSpacing?: Property.WordSpacing | undefined; - /** - * The **`overflow-wrap`** CSS property applies to inline elements, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box. - * - * **Syntax**: `normal | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :-----: | :-: | - * | **≤80** | **≤72** | **≤13.1** | **≤80** | No | - */ - wordWrap?: Property.WordWrap | undefined; - /** - * The **`writing-mode`** CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (`html` element for HTML documents). - * - * **Syntax**: `horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr` - * - * **Initial value**: `horizontal-tb` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :---: | - * | **48** | **41** | **10.1** | **12** | **9** | - * | 8 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/writing-mode - */ - writingMode?: Property.WritingMode | undefined; - /** - * The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/z-index - */ - zIndex?: Property.ZIndex | undefined; - /** - * The non-standard **`zoom`** CSS property can be used to control the magnification level of an element. `transform: scale()` should be used instead of this property, if possible. However, unlike CSS Transforms, `zoom` affects the layout size of the element. - * - * **Syntax**: `normal | reset | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :-----: | - * | **1** | n/a | **3.1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/zoom - */ - zoom?: Property.Zoom | undefined; -} - -export interface StandardShorthandProperties< - TLength = (string & {}) | 0, - TTime = string & {}, -> { - /** - * The **`all`** shorthand CSS property resets all of an element's properties except `unicode-bidi`, `direction`, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin. - * - * **Syntax**: `initial | inherit | unset | revert | revert-layer` - * - * **Initial value**: There is no practical initial value for it. - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **37** | **27** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/all - */ - all?: Property.All | undefined; - /** - * The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for `animation-name`, `animation-duration`, `animation-timing-function`, `animation-delay`, `animation-iteration-count`, `animation-direction`, `animation-fill-mode`, and `animation-play-state`. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **43** | **16** | **9** | **12** | **10** | - * | 3 _-x-_ | 5 _-x-_ | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/animation - */ - animation?: Property.Animation | undefined; - /** - * The **`animation-range`** CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end. - * - * **Syntax**: `[ <'animation-range-start'> <'animation-range-end'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/animation-range - */ - animationRange?: Property.AnimationRange | undefined; - /** - * The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. - * - * **Syntax**: `[ , ]* ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background - */ - background?: Property.Background | undefined; - /** - * The **`background-position`** CSS property sets the initial position for each background image. The position is relative to the position layer set by `background-origin`. - * - * **Syntax**: `#` - * - * **Initial value**: `0% 0%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-position - */ - backgroundPosition?: Property.BackgroundPosition | undefined; - /** - * The **`border`** shorthand CSS property sets an element's border. It sets the values of `border-width`, `border-style`, and `border-color`. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border - */ - border?: Property.Border | undefined; - /** - * The **`border-block`** CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block - */ - borderBlock?: Property.BorderBlock | undefined; - /** - * The **`border-block-end`** CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-end - */ - borderBlockEnd?: Property.BorderBlockEnd | undefined; - /** - * The **`border-block-start`** CSS property is a shorthand property for setting the individual logical block-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-start - */ - borderBlockStart?: Property.BorderBlockStart | undefined; - /** - * The **`border-bottom`** shorthand CSS property sets an element's bottom border. It sets the values of `border-bottom-width`, `border-bottom-style` and `border-bottom-color`. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom - */ - borderBottom?: Property.BorderBottom | undefined; - /** - * The **`border-color`** shorthand CSS property sets the color of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-color - */ - borderColor?: Property.BorderColor | undefined; - /** - * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border. - * - * **Syntax**: `<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-------: | :-----: | :----: | :----: | - * | **16** | **15** | **6** | **12** | **11** | - * | 7 _-x-_ | 3.5 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image - */ - borderImage?: Property.BorderImage | undefined; - /** - * The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline - */ - borderInline?: Property.BorderInline | undefined; - /** - * The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end - */ - borderInlineEnd?: Property.BorderInlineEnd | undefined; - /** - * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start - */ - borderInlineStart?: Property.BorderInlineStart | undefined; - /** - * The **`border-left`** shorthand CSS property sets all the properties of an element's left border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left - */ - borderLeft?: Property.BorderLeft | undefined; - /** - * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. - * - * **Syntax**: `{1,4} [ / {1,4} ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-radius - */ - borderRadius?: Property.BorderRadius | undefined; - /** - * The **`border-right`** shorthand CSS property sets all the properties of an element's right border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right - */ - borderRight?: Property.BorderRight | undefined; - /** - * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-style - */ - borderStyle?: Property.BorderStyle | undefined; - /** - * The **`border-top`** shorthand CSS property sets all the properties of an element's top border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top - */ - borderTop?: Property.BorderTop | undefined; - /** - * The **`border-width`** shorthand CSS property sets the width of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-width - */ - borderWidth?: Property.BorderWidth | undefined; - /** **Syntax**: `<'caret-color'> || <'caret-shape'>` */ - caret?: Property.Caret | undefined; - /** - * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule - */ - columnRule?: Property.ColumnRule | undefined; - /** - * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths. - * - * **Syntax**: `<'column-width'> || <'column-count'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/columns - */ - columns?: Property.Columns | undefined; - /** - * The **`contain-intrinsic-size`** CSS shorthand property sets the size of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `[ auto? [ none | ] ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **83** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size - */ - containIntrinsicSize?: Property.ContainIntrinsicSize | undefined; - /** - * The **container** shorthand CSS property establishes the element as a query container and specifies the name or name for the containment context used in a container query. - * - * **Syntax**: `<'container-name'> [ / <'container-type'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container - */ - container?: Property.Container | undefined; - /** - * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container. - * - * **Syntax**: `none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex - */ - flex?: Property.Flex | undefined; - /** - * The **`flex-flow`** CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior. - * - * **Syntax**: `<'flex-direction'> || <'flex-wrap'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-flow - */ - flexFlow?: Property.FlexFlow | undefined; - /** - * The **`font`** CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font. - * - * **Syntax**: `[ [ <'font-style'> || || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font - */ - font?: Property.Font | undefined; - /** - * The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`. - * - * **Syntax**: `<'row-gap'> <'column-gap'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/gap - */ - gap?: Property.Gap | undefined; - /** - * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration. - * - * **Syntax**: `<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid - */ - grid?: Property.Grid | undefined; - /** - * The **`grid-area`** CSS shorthand property specifies a grid item's size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area. - * - * **Syntax**: ` [ / ]{0,3}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-area - */ - gridArea?: Property.GridArea | undefined; - /** - * The **`grid-column`** CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column - */ - gridColumn?: Property.GridColumn | undefined; - /** - * The **`grid-row`** CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row - */ - gridRow?: Property.GridRow | undefined; - /** - * The **`grid-template`** CSS property is a shorthand property for defining grid columns, grid rows, and grid areas. - * - * **Syntax**: `none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ ? ? ? ]+ [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template - */ - gridTemplate?: Property.GridTemplate | undefined; - /** - * The **`inset`** CSS property is a shorthand that corresponds to the `top`, `right`, `bottom`, and/or `left` properties. It has the same multi-value syntax of the `margin` shorthand. - * - * **Syntax**: `<'top'>{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset - */ - inset?: Property.Inset | undefined; - /** - * The **`inset-block`** CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block - */ - insetBlock?: Property.InsetBlock | undefined; - /** - * The **`inset-inline`** CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline - */ - insetInline?: Property.InsetInline | undefined; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - lineClamp?: Property.LineClamp | undefined; - /** - * The **`list-style`** CSS shorthand property allows you to set all the list style properties at once. - * - * **Syntax**: `<'list-style-type'> || <'list-style-position'> || <'list-style-image'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style - */ - listStyle?: Property.ListStyle | undefined; - /** - * The **`margin`** CSS shorthand property sets the margin area on all four sides of an element. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin - */ - margin?: Property.Margin | undefined; - /** - * The **`margin-block`** CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block - */ - marginBlock?: Property.MarginBlock | undefined; - /** - * The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline - */ - marginInline?: Property.MarginInline | undefined; - /** - * The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping the image at specific points. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-------: | :---: | :-: | - * | **1** | **53** | **15.4** | 12-79 | No | - * | | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask - */ - mask?: Property.Mask | undefined; - /** - * The **`mask-border`** CSS shorthand property lets you create a mask along the edge of an element's border. - * - * **Syntax**: `<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :-----: | :----------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border - */ - maskBorder?: Property.MaskBorder | undefined; - /** - * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. - * - * **Syntax**: `[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset - */ - motion?: Property.Offset | undefined; - /** - * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. - * - * **Syntax**: `[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset - */ - offset?: Property.Offset | undefined; - /** - * The **`outline`** CSS shorthand property sets most of the outline properties in a single declaration. - * - * **Syntax**: `[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **94** | **88** | **16.4** | **94** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline - */ - outline?: Property.Outline | undefined; - /** - * The **`overflow`** CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions. - * - * **Syntax**: `[ visible | hidden | clip | scroll | auto ]{1,2}` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/overflow - */ - overflow?: Property.Overflow | undefined; - /** - * The **`overscroll-behavior`** CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for `overscroll-behavior-x` and `overscroll-behavior-y`. - * - * **Syntax**: `[ contain | none | auto ]{1,2}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **63** | **59** | **16** | **18** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior - */ - overscrollBehavior?: Property.OverscrollBehavior | undefined; - /** - * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once. - * - * **Syntax**: `[ | ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding - */ - padding?: Property.Padding | undefined; - /** - * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-block - */ - paddingBlock?: Property.PaddingBlock | undefined; - /** - * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline - */ - paddingInline?: Property.PaddingInline | undefined; - /** - * The **`place-content`** CSS shorthand property allows you to align content along both the block and inline directions at once (i.e. the `align-content` and `justify-content` properties) in a relevant layout system such as Grid or Flexbox. - * - * **Syntax**: `<'align-content'> <'justify-content'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **9** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-content - */ - placeContent?: Property.PlaceContent | undefined; - /** - * The CSS **`place-items`** shorthand property allows you to align items along both the block and inline directions at once (i.e. the `align-items` and `justify-items` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not set, the first value is also used for it. - * - * **Syntax**: `<'align-items'> <'justify-items'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-items - */ - placeItems?: Property.PlaceItems | undefined; - /** - * The **`place-self`** CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e. the `align-self` and `justify-self` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not present, the first value is also used for it. - * - * **Syntax**: `<'align-self'> <'justify-self'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-self - */ - placeSelf?: Property.PlaceSelf | undefined; - /** - * The **`scroll-margin`** shorthand property sets all of the scroll margins of an element at once, assigning values much like the `margin` property does for margins of an element. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------: | :--: | :-: | - * | **69** | **90** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin - */ - scrollMargin?: Property.ScrollMargin | undefined; - /** - * The `scroll-margin-block` shorthand property sets the scroll margins of an element in the block dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block - */ - scrollMarginBlock?: Property.ScrollMarginBlock | undefined; - /** - * The `scroll-margin-inline` shorthand property sets the scroll margins of an element in the inline dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline - */ - scrollMarginInline?: Property.ScrollMarginInline | undefined; - /** - * The **`scroll-padding`** shorthand property sets scroll padding on all sides of an element at once, much like the `padding` property does for padding on an element. - * - * **Syntax**: `[ auto | ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding - */ - scrollPadding?: Property.ScrollPadding | undefined; - /** - * The `scroll-padding-block` shorthand property sets the scroll padding of an element in the block dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block - */ - scrollPaddingBlock?: Property.ScrollPaddingBlock | undefined; - /** - * The `scroll-padding-inline` shorthand property sets the scroll padding of an element in the inline dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline - */ - scrollPaddingInline?: Property.ScrollPaddingInline | undefined; - /** - * The **`scroll-margin`** shorthand property sets all of the scroll margins of an element at once, assigning values much like the `margin` property does for margins of an element. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------: | :--: | :-: | - * | **69** | 68-90 | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin - */ - scrollSnapMargin?: Property.ScrollMargin | undefined; - /** - * The **`scroll-timeline`** CSS shorthand property defines a name that can be used to identify the source element of a scroll timeline, along with the scrollbar axis that should provide the timeline. - * - * **Syntax**: `[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-timeline - */ - scrollTimeline?: Property.ScrollTimeline | undefined; - /** - * The **`text-decoration`** shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for `text-decoration-line`, `text-decoration-color`, `text-decoration-style`, and the newer `text-decoration-thickness` property. - * - * **Syntax**: `<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration - */ - textDecoration?: Property.TextDecoration | undefined; - /** - * The **`text-emphasis`** CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for `text-emphasis-style` and `text-emphasis-color`. - * - * **Syntax**: `<'text-emphasis-style'> || <'text-emphasis-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis - */ - textEmphasis?: Property.TextEmphasis | undefined; - /** - * The **`transition`** CSS property is a shorthand property for `transition-property`, `transition-duration`, `transition-timing-function`, and `transition-delay`. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **26** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition - */ - transition?: Property.Transition | undefined; - /** - * The **`view-timeline`** CSS shorthand property is used to define a _named view progress timeline_, which is progressed through based on the change in visibility of an element (known as the _subject_) inside a scrollable element (_scroller_). `view-timeline` is set on the subject. - * - * **Syntax**: `[ <'view-timeline-name'> <'view-timeline-axis'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/view-timeline - */ - viewTimeline?: Property.ViewTimeline | undefined; -} - -export interface StandardProperties< - TLength = (string & {}) | 0, - TTime = string & {}, -> extends StandardLonghandProperties, - StandardShorthandProperties {} - -export interface VendorLonghandProperties< - TLength = (string & {}) | 0, - TTime = string & {}, -> { - /** - * The **`animation-delay`** CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation. - * - * **Syntax**: `
` have shared or separate borders. - * - * **Syntax**: `collapse | separate` - * - * **Initial value**: `separate` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-collapse - */ - "border-collapse"?: Property.BorderCollapse | undefined; - /** - * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius - */ - "border-end-end-radius"?: Property.BorderEndEndRadius | undefined; - /** - * The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius - */ - "border-end-start-radius"?: - | Property.BorderEndStartRadius - | undefined; - /** - * The **`border-image-outset`** CSS property sets the distance by which an element's border image is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-outset - */ - "border-image-outset"?: Property.BorderImageOutset | undefined; - /** - * The **`border-image-repeat`** CSS property defines how the edge regions and middle region of a source image are adjusted to fit the dimensions of an element's border image. The middle region can be displayed by using the keyword "fill" in the border-image-slice property. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-repeat - */ - "border-image-repeat"?: Property.BorderImageRepeat | undefined; - /** - * The **`border-image-slice`** CSS property divides the image specified by `border-image-source` into regions. These regions form the components of an element's border image. - * - * **Syntax**: `{1,4} && fill?` - * - * **Initial value**: `100%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-slice - */ - "border-image-slice"?: Property.BorderImageSlice | undefined; - /** - * The **`border-image-source`** CSS property sets the source image used to create an element's border image. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-source - */ - "border-image-source"?: Property.BorderImageSource | undefined; - /** - * The **`border-image-width`** CSS property sets the width of an element's border image. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **13** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-width - */ - "border-image-width"?: Property.BorderImageWidth | undefined; - /** - * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>{1,2}` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-color - */ - "border-inline-color"?: Property.BorderInlineColor | undefined; - /** - * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color - */ - "border-inline-end-color"?: Property.BorderInlineEndColor | undefined; - /** - * The **`border-inline-end-style`** CSS property defines the style of the logical inline end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style - */ - "border-inline-end-style"?: Property.BorderInlineEndStyle | undefined; - /** - * The **`border-inline-end-width`** CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-width)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width - */ - "border-inline-end-width"?: - | Property.BorderInlineEndWidth - | undefined; - /** - * The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color - */ - "border-inline-start-color"?: Property.BorderInlineStartColor | undefined; - /** - * The **`border-inline-start-style`** CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style - */ - "border-inline-start-style"?: Property.BorderInlineStartStyle | undefined; - /** - * The **`border-inline-start-width`** CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width - */ - "border-inline-start-width"?: - | Property.BorderInlineStartWidth - | undefined; - /** - * The **`border-inline-style`** CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style` and `border-bottom-style`, or `border-left-style` and `border-right-style` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-style - */ - "border-inline-style"?: Property.BorderInlineStyle | undefined; - /** - * The **`border-inline-width`** CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width - */ - "border-inline-width"?: Property.BorderInlineWidth | undefined; - /** - * The **`border-left-color`** CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties `border-color` or `border-left`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-color - */ - "border-left-color"?: Property.BorderLeftColor | undefined; - /** - * The **`border-left-style`** CSS property sets the line style of an element's left `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-style - */ - "border-left-style"?: Property.BorderLeftStyle | undefined; - /** - * The **`border-left-width`** CSS property sets the width of the left border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-width - */ - "border-left-width"?: Property.BorderLeftWidth | undefined; - /** - * The **`border-right-color`** CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-color - */ - "border-right-color"?: Property.BorderRightColor | undefined; - /** - * The **`border-right-style`** CSS property sets the line style of an element's right `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-style - */ - "border-right-style"?: Property.BorderRightStyle | undefined; - /** - * The **`border-right-width`** CSS property sets the width of the right border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-width - */ - "border-right-width"?: Property.BorderRightWidth | undefined; - /** - * The **`border-spacing`** CSS property sets the distance between the borders of adjacent cells in a `
`. This property applies only when `border-collapse` is `separate`. - * - * **Syntax**: ` ?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-spacing - */ - "border-spacing"?: Property.BorderSpacing | undefined; - /** - * The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius - */ - "border-start-end-radius"?: - | Property.BorderStartEndRadius - | undefined; - /** - * The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius - */ - "border-start-start-radius"?: - | Property.BorderStartStartRadius - | undefined; - /** - * The **`border-top-color`** CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties `border-color` or `border-top`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-color - */ - "border-top-color"?: Property.BorderTopColor | undefined; - /** - * The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius - */ - "border-top-left-radius"?: Property.BorderTopLeftRadius | undefined; - /** - * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius - */ - "border-top-right-radius"?: - | Property.BorderTopRightRadius - | undefined; - /** - * The **`border-top-style`** CSS property sets the line style of an element's top `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-style - */ - "border-top-style"?: Property.BorderTopStyle | undefined; - /** - * The **`border-top-width`** CSS property sets the width of the top border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-width - */ - "border-top-width"?: Property.BorderTopWidth | undefined; - /** - * The **`bottom`** CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/bottom - */ - bottom?: Property.Bottom | undefined; - /** - * The **`box-decoration-break`** CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages. - * - * **Syntax**: `slice | clone` - * - * **Initial value**: `slice` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------: | :-----: | :---------: | :--: | :-: | - * | **22** _-x-_ | **32** | **7** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-decoration-break - */ - "box-decoration-break"?: Property.BoxDecorationBreak | undefined; - /** - * The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **4** | **5.1** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-shadow - */ - "box-shadow"?: Property.BoxShadow | undefined; - /** - * The **`box-sizing`** CSS property sets how the total width and height of an element is calculated. - * - * **Syntax**: `content-box | border-box` - * - * **Initial value**: `content-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **29** | **5.1** | **12** | **8** | - * | 1 _-x-_ | 1 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-sizing - */ - "box-sizing"?: Property.BoxSizing | undefined; - /** - * The **`break-after`** CSS property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-after - */ - "break-after"?: Property.BreakAfter | undefined; - /** - * The **`break-before`** CSS property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-before - */ - "break-before"?: Property.BreakBefore | undefined; - /** - * The **`break-inside`** CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | avoid-page | avoid-column | avoid-region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-inside - */ - "break-inside"?: Property.BreakInside | undefined; - /** - * The **`caption-side`** CSS property puts the content of a table's `
` on the specified side. The values are relative to the `writing-mode` of the table. - * - * **Syntax**: `top | bottom | block-start | block-end | inline-start | inline-end` - * - * **Initial value**: `top` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caption-side - */ - "caption-side"?: Property.CaptionSide | undefined; - /** - * The **`caret-color`** CSS property sets the color of the **insertion caret**, the visible marker where the next character typed will be inserted. This is sometimes referred to as the **text input cursor**. The caret appears in elements such as `` or those with the `contenteditable` attribute. The caret is typically a thin vertical line that flashes to help make it more noticeable. By default, it is black, but its color can be altered with this property. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **53** | **11.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caret-color - */ - "caret-color"?: Property.CaretColor | undefined; - /** - * **Syntax**: `auto | bar | block | underscore` - * - * **Initial value**: `auto` - */ - "caret-shape"?: Property.CaretShape | undefined; - /** - * The **`clear`** CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The `clear` property applies to floating and non-floating elements. - * - * **Syntax**: `none | left | right | both | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clear - */ - clear?: Property.Clear | undefined; - /** - * The **`clip-path`** CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden. - * - * **Syntax**: ` | [ || ] | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **55** | **3.5** | **9.1** | **79** | **10** | - * | 23 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clip-path - */ - "clip-path"?: Property.ClipPath | undefined; - /** - * The **`color`** CSS property sets the foreground color value of an element's text and text decorations, and sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`. - * - * **Syntax**: `` - * - * **Initial value**: `canvastext` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color - */ - color?: Property.Color | undefined; - /** - * The **`print-color-adjust`** CSS property sets what, if anything, the user agent may do to optimize the appearance of the element on the output device. By default, the browser is allowed to make any adjustments to the element's appearance it determines to be necessary and prudent given the type and capabilities of the output device. - * - * **Syntax**: `economy | exact` - * - * **Initial value**: `economy` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------: | :-----------------: | :------: | :----------: | :-: | - * | **17** _-x-_ | **97** | **15.4** | **79** _-x-_ | No | - * | | 48 _(color-adjust)_ | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/print-color-adjust - */ - "color-adjust"?: Property.PrintColorAdjust | undefined; - /** - * The **`color-scheme`** CSS property allows an element to indicate which color schemes it can comfortably be rendered in. - * - * **Syntax**: `normal | [ light | dark | ]+ && only?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **81** | **96** | **13** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color-scheme - */ - "color-scheme"?: Property.ColorScheme | undefined; - /** - * The **`column-count`** CSS property breaks an element's content into the specified number of columns. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-count - */ - "column-count"?: Property.ColumnCount | undefined; - /** - * The **`column-fill`** CSS property controls how an element's contents are balanced when broken into columns. - * - * **Syntax**: `auto | balance | balance-all` - * - * **Initial value**: `balance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-fill - */ - "column-fill"?: Property.ColumnFill | undefined; - /** - * The **`column-gap`** CSS property sets the size of the gap (gutter) between an element's columns. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **1** | **1.5** | **3** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-gap - */ - "column-gap"?: Property.ColumnGap | undefined; - /** - * The **`column-rule-color`** CSS property sets the color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-color - */ - "column-rule-color"?: Property.ColumnRuleColor | undefined; - /** - * The **`column-rule-style`** CSS property sets the style of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-style - */ - "column-rule-style"?: Property.ColumnRuleStyle | undefined; - /** - * The **`column-rule-width`** CSS property sets the width of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-width - */ - "column-rule-width"?: Property.ColumnRuleWidth | undefined; - /** - * The **`column-span`** CSS property makes it possible for an element to span across all columns when its value is set to `all`. - * - * **Syntax**: `none | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **50** | **71** | **9** | **12** | **10** | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-span - */ - "column-span"?: Property.ColumnSpan | undefined; - /** - * The **`column-width`** CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the `column-width` value. If the width of the container is narrower than the specified value, the single column's width will be smaller than the declared column width. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **50** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-width - */ - "column-width"?: Property.ColumnWidth | undefined; - /** - * The **`contain`** CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes. - * - * **Syntax**: `none | strict | content | [ [ size || inline-size ] || layout || style || paint ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **52** | **69** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain - */ - contain?: Property.Contain | undefined; - /** - * The **`contain-intrinsic-block-size`** CSS logical property defines the block size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size - */ - "contain-intrinsic-block-size"?: - | Property.ContainIntrinsicBlockSize - | undefined; - /** - * The **`contain-intrinsic-length`** CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height - */ - "contain-intrinsic-height"?: - | Property.ContainIntrinsicHeight - | undefined; - /** - * The **`contain-intrinsic-inline-size`** CSS logical property defines the inline-size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size - */ - "contain-intrinsic-inline-size"?: - | Property.ContainIntrinsicInlineSize - | undefined; - /** - * The **`contain-intrinsic-width`** CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width - */ - "contain-intrinsic-width"?: - | Property.ContainIntrinsicWidth - | undefined; - /** - * The **container-name** CSS property specifies a list of query container names used by the @container at-rule in a container query. A container query will apply styles to elements based on the size of the nearest ancestor with a containment context. When a containment context is given a name, it can be specifically targeted using the `@container` at-rule instead of the nearest ancestor with containment. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-name - */ - "container-name"?: Property.ContainerName | undefined; - /** - * The **container-type** CSS property is used to define the type of containment used in a container query. - * - * **Syntax**: `normal | size | inline-size` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-type - */ - "container-type"?: Property.ContainerType | undefined; - /** - * The **`content`** CSS property replaces an element with a generated value. Objects inserted using the `content` property are **anonymous replaced elements**. - * - * **Syntax**: `normal | none | [ | ] [/ [ | ]+ ]?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content - */ - content?: Property.Content | undefined; - /** - * The **`content-visibility`** CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster. - * - * **Syntax**: `visible | auto | hidden` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------: | :----: | :--: | :-: | - * | **85** | **preview** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content-visibility - */ - "content-visibility"?: Property.ContentVisibility | undefined; - /** - * The **`counter-increment`** CSS property increases or decreases the value of a CSS counter by a given value. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-increment - */ - "counter-increment"?: Property.CounterIncrement | undefined; - /** - * The **`counter-reset`** CSS property resets a CSS counter to a given value. This property will create a new counter or reversed counter with the given name on the specified element. - * - * **Syntax**: `[ ? | ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-reset - */ - "counter-reset"?: Property.CounterReset | undefined; - /** - * The **`counter-set`** CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **85** | **68** | **17.2** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-set - */ - "counter-set"?: Property.CounterSet | undefined; - /** - * The **`cursor`** CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element. - * - * **Syntax**: `[ [ [ ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/cursor - */ - cursor?: Property.Cursor | undefined; - /** - * The **`direction`** CSS property sets the direction of text, table columns, and horizontal overflow. Use `rtl` for languages written from right to left (like Hebrew or Arabic), and `ltr` for those written from left to right (like English and most other languages). - * - * **Syntax**: `ltr | rtl` - * - * **Initial value**: `ltr` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **2** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/direction - */ - direction?: Property.Direction | undefined; - /** - * The **`display`** CSS property sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex. - * - * **Syntax**: `[ || ] | | | | ` - * - * **Initial value**: `inline` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/display - */ - display?: Property.Display | undefined; - /** - * The **`empty-cells`** CSS property sets whether borders and backgrounds appear around `` cells that have no visible content. - * - * **Syntax**: `show | hide` - * - * **Initial value**: `show` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/empty-cells - */ - "empty-cells"?: Property.EmptyCells | undefined; - /** - * The **`filter`** CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **53** | **35** | **9.1** | **12** | No | - * | 18 _-x-_ | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/filter - */ - filter?: Property.Filter | undefined; - /** - * The **`flex-basis`** CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with `box-sizing`. - * - * **Syntax**: `content | <'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **22** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-basis - */ - "flex-basis"?: Property.FlexBasis | undefined; - /** - * The **`flex-direction`** CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). - * - * **Syntax**: `row | row-reverse | column | column-reverse` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :------: | - * | **29** | **81** | **9** | **12** | **11** | - * | 21 _-x-_ | 49 _-x-_ | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-direction - */ - "flex-direction"?: Property.FlexDirection | undefined; - /** - * The **`flex-grow`** CSS property sets the flex grow factor of a flex item's main size. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----------------------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | 10 _(-ms-flex-positive)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-grow - */ - "flex-grow"?: Property.FlexGrow | undefined; - /** - * The **`flex-shrink`** CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to `flex-shrink`. - * - * **Syntax**: `` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **10** | - * | 22 _-x-_ | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-shrink - */ - "flex-shrink"?: Property.FlexShrink | undefined; - /** - * The **`flex-wrap`** CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. - * - * **Syntax**: `nowrap | wrap | wrap-reverse` - * - * **Initial value**: `nowrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-wrap - */ - "flex-wrap"?: Property.FlexWrap | undefined; - /** - * The **`float`** CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning). - * - * **Syntax**: `left | right | none | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/float - */ - float?: Property.Float | undefined; - /** - * The **`font-family`** CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element. - * - * **Syntax**: `[ | ]#` - * - * **Initial value**: depends on user agent - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-family - */ - "font-family"?: Property.FontFamily | undefined; - /** - * The **`font-feature-settings`** CSS property controls advanced typographic features in OpenType fonts. - * - * **Syntax**: `normal | #` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :----: | - * | **48** | **34** | **9.1** | **15** | **10** | - * | 16 _-x-_ | 15 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-feature-settings - */ - "font-feature-settings"?: Property.FontFeatureSettings | undefined; - /** - * The **`font-kerning`** CSS property sets the use of the kerning information stored in a font. - * - * **Syntax**: `auto | normal | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **33** | **32** | **9** | n/a | No | - * | | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-kerning - */ - "font-kerning"?: Property.FontKerning | undefined; - /** - * The **`font-language-override`** CSS property controls the use of language-specific glyphs in a typeface. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **34** | No | n/a | No | - * | | 4 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-language-override - */ - "font-language-override"?: Property.FontLanguageOverride | undefined; - /** - * The **`font-optical-sizing`** CSS property sets whether text rendering is optimized for viewing at different sizes. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **79** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing - */ - "font-optical-sizing"?: Property.FontOpticalSizing | undefined; - /** - * **Syntax**: `normal | light | dark | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **101** | **107** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-palette - */ - "font-palette"?: Property.FontPalette | undefined; - /** - * The **`font-size`** CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative `` units, such as `em`, `ex`, and so forth. - * - * **Syntax**: ` | | ` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size - */ - "font-size"?: Property.FontSize | undefined; - /** - * The **`font-size-adjust`** CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). - * - * **Syntax**: `none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | **3** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size-adjust - */ - "font-size-adjust"?: Property.FontSizeAdjust | undefined; - /** - * The **`font-smooth`** CSS property controls the application of anti-aliasing when fonts are rendered. - * - * **Syntax**: `auto | never | always | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :--------------------------------: | :------------------------------: | :--: | :-: | - * | **5** _(-webkit-font-smoothing)_ | **25** _(-moz-osx-font-smoothing)_ | **4** _(-webkit-font-smoothing)_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-smooth - */ - "font-smooth"?: Property.FontSmooth | undefined; - /** - * The **`font-stretch`** CSS property selects a normal, condensed, or expanded face from a font. - * - * **Syntax**: `` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **60** | **9** | **11** | **12** | **9** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-stretch - */ - "font-stretch"?: Property.FontStretch | undefined; - /** - * The **`font-style`** CSS property sets whether a font should be styled with a normal, italic, or oblique face from its `font-family`. - * - * **Syntax**: `normal | italic | oblique ?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-style - */ - "font-style"?: Property.FontStyle | undefined; - /** - * The **`font-synthesis`** CSS property controls which missing typefaces, bold, italic, or small-caps, may be synthesized by the browser. - * - * **Syntax**: `none | [ weight || style || small-caps || position]` - * - * **Initial value**: `weight style small-caps position ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **97** | **34** | **9** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis - */ - "font-synthesis"?: Property.FontSynthesis | undefined; - /** - * The **`font-synthesis-position`** CSS property lets you specify whether or not a browser may synthesize the subscript and superscript "position" typefaces when they are missing in a font family, while using `font-variant-position` to set the positions. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **118** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-position - */ - "font-synthesis-position"?: Property.FontSynthesisPosition | undefined; - /** - * The **`font-synthesis-small-caps`** CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps - */ - "font-synthesis-small-caps"?: Property.FontSynthesisSmallCaps | undefined; - /** - * The **`font-synthesis-style`** CSS property lets you specify whether or not the browser may synthesize the oblique typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style - */ - "font-synthesis-style"?: Property.FontSynthesisStyle | undefined; - /** - * The **`font-synthesis-weight`** CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight - */ - "font-synthesis-weight"?: Property.FontSynthesisWeight | undefined; - /** - * The **`font-variant`** CSS shorthand property allows you to set all the font variants for a font. - * - * **Syntax**: `normal | none | [ || || || || stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || || || || ordinal || slashed-zero || || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant - */ - "font-variant"?: Property.FontVariant | undefined; - /** - * The **`font-variant-alternates`** CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in `@font-feature-values`. - * - * **Syntax**: `normal | [ stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **111** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates - */ - "font-variant-alternates"?: Property.FontVariantAlternates | undefined; - /** - * The **`font-variant-caps`** CSS property controls the use of alternate glyphs for capital letters. - * - * **Syntax**: `normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-caps - */ - "font-variant-caps"?: Property.FontVariantCaps | undefined; - /** - * The **`font-variant-east-asian`** CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese. - * - * **Syntax**: `normal | [ || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **63** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian - */ - "font-variant-east-asian"?: Property.FontVariantEastAsian | undefined; - /** - * **Syntax**: `normal | text | emoji | unicode` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji - */ - "font-variant-emoji"?: Property.FontVariantEmoji | undefined; - /** - * The **`font-variant-ligatures`** CSS property controls which ligatures and contextual forms are used in textual content of the elements it applies to. This leads to more harmonized forms in the resulting text. - * - * **Syntax**: `normal | none | [ || || || ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :--: | :-: | - * | **34** | **34** | **9.1** | n/a | No | - * | 31 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures - */ - "font-variant-ligatures"?: Property.FontVariantLigatures | undefined; - /** - * The **`font-variant-numeric`** CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers. - * - * **Syntax**: `normal | [ || || || ordinal || slashed-zero ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric - */ - "font-variant-numeric"?: Property.FontVariantNumeric | undefined; - /** - * The **`font-variant-position`** CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript. - * - * **Syntax**: `normal | sub | super` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **117** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-position - */ - "font-variant-position"?: Property.FontVariantPosition | undefined; - /** - * The **`font-variation-settings`** CSS property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values. - * - * **Syntax**: `normal | [ ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **62** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variation-settings - */ - "font-variation-settings"?: Property.FontVariationSettings | undefined; - /** - * The **`font-weight`** CSS property sets the weight (or boldness) of the font. The weights available depend on the `font-family` that is currently set. - * - * **Syntax**: ` | bolder | lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-weight - */ - "font-weight"?: Property.FontWeight | undefined; - /** - * The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :-----------------------------: | :---------------------------------: | - * | **89** | **113** | No | **79** | **10** _(-ms-high-contrast-adjust)_ | - * | | | | 12 _(-ms-high-contrast-adjust)_ | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust - */ - "forced-color-adjust"?: Property.ForcedColorAdjust | undefined; - /** - * The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns - */ - "grid-auto-columns"?: Property.GridAutoColumns | undefined; - /** - * The **`grid-auto-flow`** CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid. - * - * **Syntax**: `[ row | column ] || dense` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow - */ - "grid-auto-flow"?: Property.GridAutoFlow | undefined; - /** - * The **`grid-auto-rows`** CSS property specifies the size of an implicitly-created grid row track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows - */ - "grid-auto-rows"?: Property.GridAutoRows | undefined; - /** - * The **`grid-column-end`** CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the block-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-end - */ - "grid-column-end"?: Property.GridColumnEnd | undefined; - /** - * The **`grid-column-start`** CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-start - */ - "grid-column-start"?: Property.GridColumnStart | undefined; - /** - * The **`grid-row-end`** CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-end - */ - "grid-row-end"?: Property.GridRowEnd | undefined; - /** - * The **`grid-row-start`** CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-start - */ - "grid-row-start"?: Property.GridRowStart | undefined; - /** - * The **`grid-template-areas`** CSS property specifies named grid areas, establishing the cells in the grid and assigning them names. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-areas - */ - "grid-template-areas"?: Property.GridTemplateAreas | undefined; - /** - * The **`grid-template-columns`** CSS property defines the line names and track sizing functions of the grid columns. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-columns - */ - "grid-template-columns"?: Property.GridTemplateColumns | undefined; - /** - * The **`grid-template-rows`** CSS property defines the line names and track sizing functions of the grid rows. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-rows - */ - "grid-template-rows"?: Property.GridTemplateRows | undefined; - /** - * The **`hanging-punctuation`** CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box. - * - * **Syntax**: `none | [ first || [ force-end | allow-end ] || last ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | No | **10** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation - */ - "hanging-punctuation"?: Property.HangingPunctuation | undefined; - /** - * The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/height - */ - height?: Property.Height | undefined; - /** - * The **`hyphenate-character`** CSS property sets the character (or string) used at the end of a line before a hyphenation break. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :--: | :-: | - * | **106** | **98** | **17** | n/a | No | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphenate-character - */ - "hyphenate-character"?: Property.HyphenateCharacter | undefined; - /** - * The **`hyphenate-limit-chars`** CSS property specifies the minimum word length to allow hyphenation of words as well as the the minimum number of characters before and after the hyphen. - * - * **Syntax**: `[ auto | ]{1,3}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - */ - "hyphenate-limit-chars"?: Property.HyphenateLimitChars | undefined; - /** - * The **`hyphens`** CSS property specifies how words should be hyphenated when text wraps across multiple lines. It can prevent hyphenation entirely, hyphenate at manually-specified points within the text, or let the browser automatically insert hyphens where appropriate. - * - * **Syntax**: `none | manual | auto` - * - * **Initial value**: `manual` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :----: | :----------: | - * | **55** | **43** | **17** | **79** | **10** _-x-_ | - * | 13 _-x-_ | 6 _-x-_ | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphens - */ - hyphens?: Property.Hyphens | undefined; - /** - * The **`image-orientation`** CSS property specifies a layout-independent correction to the orientation of an image. - * - * **Syntax**: `from-image | | [ ? flip ]` - * - * **Initial value**: `from-image` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **81** | **26** | **13.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-orientation - */ - "image-orientation"?: Property.ImageOrientation | undefined; - /** - * The **`image-rendering`** CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants. - * - * **Syntax**: `auto | crisp-edges | pixelated` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **13** | **3.6** | **6** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-rendering - */ - "image-rendering"?: Property.ImageRendering | undefined; - /** - * **Syntax**: `[ from-image || ] && snap?` - * - * **Initial value**: `1dppx` - */ - "image-resolution"?: Property.ImageResolution | undefined; - /** - * The `initial-letter` CSS property sets styling for dropped, raised, and sunken initial letters. - * - * **Syntax**: `normal | [ ? ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :---------: | :--: | :-: | - * | **110** | No | **9** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/initial-letter - */ - "initial-letter"?: Property.InitialLetter | undefined; - /** - * The **`inline-size`** CSS property defines the horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `width` or the `height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inline-size - */ - "inline-size"?: Property.InlineSize | undefined; - /** - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - */ - "input-security"?: Property.InputSecurity | undefined; - /** - * The **`inset-block-end`** CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-end - */ - "inset-block-end"?: Property.InsetBlockEnd | undefined; - /** - * The **`inset-block-start`** CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-start - */ - "inset-block-start"?: Property.InsetBlockStart | undefined; - /** - * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end - */ - "inset-inline-end"?: Property.InsetInlineEnd | undefined; - /** - * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start - */ - "inset-inline-start"?: Property.InsetInlineStart | undefined; - /** - * The **`isolation`** CSS property determines whether an element must create a new stacking context. - * - * **Syntax**: `auto | isolate` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **36** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/isolation - */ - isolation?: Property.Isolation | undefined; - /** - * The CSS **`justify-content`** property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. - * - * **Syntax**: `normal | | ? [ | left | right ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-content - */ - "justify-content"?: Property.JustifyContent | undefined; - /** - * The CSS **`justify-items`** property defines the default `justify-self` for all items of the box, giving them all a default way of justifying each box along the appropriate axis. - * - * **Syntax**: `normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]` - * - * **Initial value**: `legacy` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **52** | **20** | **9** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-items - */ - "justify-items"?: Property.JustifyItems | undefined; - /** - * The CSS **`justify-self`** property sets the way a box is justified inside its alignment container along the appropriate axis. - * - * **Syntax**: `auto | normal | stretch | | ? [ | left | right ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----: | - * | **57** | **45** | **10.1** | **16** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-self - */ - "justify-self"?: Property.JustifySelf | undefined; - /** - * The **`justify-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis. - * - * **Syntax**: `[ normal | | ? [ | left | right ] ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-tracks - */ - "justify-tracks"?: Property.JustifyTracks | undefined; - /** - * The **`left`** CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/left - */ - left?: Property.Left | undefined; - /** - * The **`letter-spacing`** CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` causes characters to spread farther apart, while negative values of `letter-spacing` bring characters closer together. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/letter-spacing - */ - "letter-spacing"?: Property.LetterSpacing | undefined; - /** - * The **`line-break`** CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols. - * - * **Syntax**: `auto | loose | normal | strict | anywhere` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **58** | **69** | **11** | **14** | **5.5** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-break - */ - "line-break"?: Property.LineBreak | undefined; - /** - * The **`line-height`** CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height. - * - * **Syntax**: `normal | | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height - */ - "line-height"?: Property.LineHeight | undefined; - /** - * The **`line-height-step`** CSS property sets the step unit for line box heights. When the property is set, line box heights are rounded up to the closest multiple of the unit. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | n/a | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height-step - */ - "line-height-step"?: Property.LineHeightStep | undefined; - /** - * The **`list-style-image`** CSS property sets an image to be used as the list item marker. - * - * **Syntax**: ` | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-image - */ - "list-style-image"?: Property.ListStyleImage | undefined; - /** - * The **`list-style-position`** CSS property sets the position of the `::marker` relative to a list item. - * - * **Syntax**: `inside | outside` - * - * **Initial value**: `outside` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-position - */ - "list-style-position"?: Property.ListStylePosition | undefined; - /** - * The **`list-style-type`** CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element. - * - * **Syntax**: ` | | none` - * - * **Initial value**: `disc` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-type - */ - "list-style-type"?: Property.ListStyleType | undefined; - /** - * The **`margin-block-end`** CSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-end - */ - "margin-block-end"?: Property.MarginBlockEnd | undefined; - /** - * The **`margin-block-start`** CSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-start - */ - "margin-block-start"?: Property.MarginBlockStart | undefined; - /** - * The **`margin-bottom`** CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom - */ - "margin-bottom"?: Property.MarginBottom | undefined; - /** - * The **`margin-inline-end`** CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------------: | :-------------------: | :----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-end)_ | 3 _(-moz-margin-end)_ | 3 _(-webkit-margin-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-end - */ - "margin-inline-end"?: Property.MarginInlineEnd | undefined; - /** - * The **`margin-inline-start`** CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :---------------------: | :------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-start)_ | 3 _(-moz-margin-start)_ | 3 _(-webkit-margin-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-start - */ - "margin-inline-start"?: Property.MarginInlineStart | undefined; - /** - * The **`margin-left`** CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-left - */ - "margin-left"?: Property.MarginLeft | undefined; - /** - * The **`margin-right`** CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-right - */ - "margin-right"?: Property.MarginRight | undefined; - /** - * The **`margin-top`** CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-top - */ - "margin-top"?: Property.MarginTop | undefined; - /** - * The `margin-trim` property allows the container to trim the margins of its children where they adjoin the container's edges. - * - * **Syntax**: `none | in-flow | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | No | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-trim - */ - "margin-trim"?: Property.MarginTrim | undefined; - /** - * The **`mask-border-mode`** CSS property specifies the blending mode used in a mask border. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `alpha` - */ - "mask-border-mode"?: Property.MaskBorderMode | undefined; - /** - * The **`mask-border-outset`** CSS property specifies the distance by which an element's mask border is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-outset)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-outset)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-outset - */ - "mask-border-outset"?: Property.MaskBorderOutset | undefined; - /** - * The **`mask-border-repeat`** CSS property sets how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-repeat)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-repeat)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat - */ - "mask-border-repeat"?: Property.MaskBorderRepeat | undefined; - /** - * The **`mask-border-slice`** CSS property divides the image set by `mask-border-source` into regions. These regions are used to form the components of an element's mask border. - * - * **Syntax**: `{1,4} fill?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-slice)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-slice)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-slice - */ - "mask-border-slice"?: Property.MaskBorderSlice | undefined; - /** - * The **`mask-border-source`** CSS property sets the source image used to create an element's mask border. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-source)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-source)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-source - */ - "mask-border-source"?: Property.MaskBorderSource | undefined; - /** - * The **`mask-border-width`** CSS property sets the width of an element's mask border. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-width)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-width)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-width - */ - "mask-border-width"?: Property.MaskBorderWidth | undefined; - /** - * The **`mask-clip`** CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area. - * - * **Syntax**: `[ | no-clip ]#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-clip - */ - "mask-clip"?: Property.MaskClip | undefined; - /** - * The **`mask-composite`** CSS property represents a compositing operation used on the current mask layer with the mask layers below it. - * - * **Syntax**: `#` - * - * **Initial value**: `add` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-composite - */ - "mask-composite"?: Property.MaskComposite | undefined; - /** - * The **`mask-image`** CSS property sets the image that is used as mask layer for an element. By default this means the alpha channel of the mask image will be multiplied with the alpha channel of the element. This can be controlled with the `mask-mode` property. - * - * **Syntax**: `#` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 16-79 | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-image - */ - "mask-image"?: Property.MaskImage | undefined; - /** - * The **`mask-mode`** CSS property sets whether the mask reference defined by `mask-image` is treated as a luminance or alpha mask. - * - * **Syntax**: `#` - * - * **Initial value**: `match-source` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-mode - */ - "mask-mode"?: Property.MaskMode | undefined; - /** - * The **`mask-origin`** CSS property sets the origin of a mask. - * - * **Syntax**: `#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-origin - */ - "mask-origin"?: Property.MaskOrigin | undefined; - /** - * The **`mask-position`** CSS property sets the initial position, relative to the mask position layer set by `mask-origin`, for each defined mask image. - * - * **Syntax**: `#` - * - * **Initial value**: `center` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-position - */ - "mask-position"?: Property.MaskPosition | undefined; - /** - * The **`mask-repeat`** CSS property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all. - * - * **Syntax**: `#` - * - * **Initial value**: `repeat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-repeat - */ - "mask-repeat"?: Property.MaskRepeat | undefined; - /** - * The **`mask-size`** CSS property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in order to preserve its intrinsic ratio. - * - * **Syntax**: `#` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 4 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-size - */ - "mask-size"?: Property.MaskSize | undefined; - /** - * The **`mask-type`** CSS property sets whether an SVG `` element is used as a _luminance_ or an _alpha_ mask. It applies to the `` element itself. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `luminance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **24** | **35** | **7** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-type - */ - "mask-type"?: Property.MaskType | undefined; - /** - * This feature is not Baseline because it does not work in some of the most widely-used browsers. - * - * **Syntax**: `[ pack | next ] || [ definite-first | ordered ]` - * - * **Initial value**: `pack` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :---------: | :--: | :-: | - * | No | No | **preview** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow - */ - "masonry-auto-flow"?: Property.MasonryAutoFlow | undefined; - /** - * The **`math-depth`** property describes a notion of _depth_ for each element of a mathematical formula, with respect to the top-level container of that formula. Concretely, this is used to determine the computed value of the font-size property when its specified value is `math`. - * - * **Syntax**: `auto-add | add() | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | **117** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-depth - */ - "math-depth"?: Property.MathDepth | undefined; - /** - * The `math-shift` property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-shift - */ - "math-shift"?: Property.MathShift | undefined; - /** - * The `math-style` property indicates whether MathML equations should render with normal or compact height. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **109** | **117** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-style - */ - "math-style"?: Property.MathStyle | undefined; - /** - * The **`max-block-size`** CSS property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by `writing-mode`. That is, if the writing direction is horizontal, then `max-block-size` is equivalent to `max-height`; if the writing direction is vertical, `max-block-size` is the same as `max-width`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-block-size - */ - "max-block-size"?: Property.MaxBlockSize | undefined; - /** - * The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **18** | **1** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-height - */ - "max-height"?: Property.MaxHeight | undefined; - /** - * The **`max-inline-size`** CSS property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It corresponds to either the `max-width` or the `max-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :--------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * | | | 10.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-inline-size - */ - "max-inline-size"?: Property.MaxInlineSize | undefined; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - "max-lines"?: Property.MaxLines | undefined; - /** - * The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-width - */ - "max-width"?: Property.MaxWidth | undefined; - /** - * The **`min-block-size`** CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-block-size - */ - "min-block-size"?: Property.MinBlockSize | undefined; - /** - * The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **3** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-height - */ - "min-height"?: Property.MinHeight | undefined; - /** - * The **`min-inline-size`** CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-inline-size - */ - "min-inline-size"?: Property.MinInlineSize | undefined; - /** - * The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-width - */ - "min-width"?: Property.MinWidth | undefined; - /** - * The **`mix-blend-mode`** CSS property sets how an element's content should blend with the content of the element's parent and the element's background. - * - * **Syntax**: ` | plus-lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **32** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode - */ - "mix-blend-mode"?: Property.MixBlendMode | undefined; - /** - * The **`offset-distance`** CSS property specifies a position along an `offset-path` for an element to be placed. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :--------------------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion-distance)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-distance - */ - "motion-distance"?: Property.OffsetDistance | undefined; - /** - * The **`offset-path`** CSS property specifies a motion path for an element to follow and defines the element's positioning within the parent container or SVG coordinate system. - * - * **Syntax**: `none | || ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------: | :-----: | :------: | :--: | :-: | - * | **55** | **72** | **15.4** | n/a | No | - * | 46 _(motion-path)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-path - */ - "motion-path"?: Property.OffsetPath | undefined; - /** - * The **`offset-rotate`** CSS property defines the orientation/direction of the element as it is positioned along the `offset-path`. - * - * **Syntax**: `[ auto | reverse ] || ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :--------------------: | :-----: | :----: | :--: | :-: | - * | **56** | **72** | **16** | n/a | No | - * | 46 _(motion-rotation)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset-rotate - */ - "motion-rotation"?: Property.OffsetRotate | undefined; - /** - * The **`object-fit`** CSS property sets how the content of a replaced element, such as an `` or `
` cells, rows, and columns. - * - * **Syntax**: `auto | fixed` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **14** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/table-layout - */ - "table-layout"?: Property.TableLayout | undefined; - /** - * The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like `vertical-align` but in the horizontal direction. - * - * **Syntax**: `start | end | left | right | center | justify | match-parent` - * - * **Initial value**: `start`, or a nameless value that acts as `left` if _direction_ is `ltr`, `right` if _direction_ is `rtl` if `start` is not supported by the browser. - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align - */ - "text-align"?: Property.TextAlign | undefined; - /** - * The **`text-align-last`** CSS property sets how the last line of a block or a line, right before a forced line break, is aligned. - * - * **Syntax**: `auto | start | end | left | right | center | justify` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **47** | **49** | **16** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align-last - */ - "text-align-last"?: Property.TextAlignLast | undefined; - /** - * The **`text-combine-upright`** CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes. - * - * **Syntax**: `none | all | [ digits ? ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :-----: | :--------------------------: | :----: | :------------------------------------: | - * | **48** | **48** | **15.4** | **79** | **11** _(-ms-text-combine-horizontal)_ | - * | 9 _(-webkit-text-combine)_ | | 5.1 _(-webkit-text-combine)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-combine-upright - */ - "text-combine-upright"?: Property.TextCombineUpright | undefined; - /** - * The **`text-decoration-color`** CSS property sets the color of decorations added to text by `text-decoration-line`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-color - */ - "text-decoration-color"?: Property.TextDecorationColor | undefined; - /** - * The **`text-decoration-line`** CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline. - * - * **Syntax**: `none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-line - */ - "text-decoration-line"?: Property.TextDecorationLine | undefined; - /** - * The **`text-decoration-skip`** CSS property sets what parts of an element's content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors. - * - * **Syntax**: `none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]` - * - * **Initial value**: `objects` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | 57-64 | No | **12.1** | n/a | No | - * | | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip - */ - "text-decoration-skip"?: Property.TextDecorationSkip | undefined; - /** - * The **`text-decoration-skip-ink`** CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders. - * - * **Syntax**: `auto | all | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **64** | **70** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink - */ - "text-decoration-skip-ink"?: Property.TextDecorationSkipInk | undefined; - /** - * The **`text-decoration-style`** CSS property sets the style of the lines specified by `text-decoration-line`. The style applies to all lines that are set with `text-decoration-line`. - * - * **Syntax**: `solid | double | dotted | dashed | wavy` - * - * **Initial value**: `solid` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-style - */ - "text-decoration-style"?: Property.TextDecorationStyle | undefined; - /** - * The **`text-decoration-thickness`** CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline. - * - * **Syntax**: `auto | from-font | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **89** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness - */ - "text-decoration-thickness"?: - | Property.TextDecorationThickness - | undefined; - /** - * The **`text-emphasis-color`** CSS property sets the color of emphasis marks. This value can also be set using the `text-emphasis` shorthand. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color - */ - "text-emphasis-color"?: Property.TextEmphasisColor | undefined; - /** - * The **`text-emphasis-position`** CSS property sets where emphasis marks are drawn. Like ruby text, if there isn't enough room for emphasis marks, the line height is increased. - * - * **Syntax**: `[ over | under ] && [ right | left ]` - * - * **Initial value**: `over right` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position - */ - "text-emphasis-position"?: Property.TextEmphasisPosition | undefined; - /** - * The **`text-emphasis-style`** CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the `text-emphasis` shorthand. - * - * **Syntax**: `none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style - */ - "text-emphasis-style"?: Property.TextEmphasisStyle | undefined; - /** - * The **`text-indent`** CSS property sets the length of empty space (indentation) that is put before lines of text in a block. - * - * **Syntax**: ` && hanging? && each-line?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-indent - */ - "text-indent"?: Property.TextIndent | undefined; - /** - * The **`text-justify`** CSS property sets what type of justification should be applied to text when `text-align``: justify;` is set on an element. - * - * **Syntax**: `auto | inter-character | inter-word | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :---: | :----: | - * | n/a | **55** | No | 12-79 | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-justify - */ - "text-justify"?: Property.TextJustify | undefined; - /** - * The **`text-orientation`** CSS property sets the orientation of the text characters in a line. It only affects text in vertical mode (when `writing-mode` is not `horizontal-tb`). It is useful for controlling the display of languages that use vertical script, and also for making vertical table headers. - * - * **Syntax**: `mixed | upright | sideways` - * - * **Initial value**: `mixed` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :--: | :-: | - * | **48** | **41** | **14** | n/a | No | - * | 11 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-orientation - */ - "text-orientation"?: Property.TextOrientation | undefined; - /** - * The **`text-overflow`** CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis ('`…`'), or display a custom string. - * - * **Syntax**: `[ clip | ellipsis | ]{1,2}` - * - * **Initial value**: `clip` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **7** | **1.3** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-overflow - */ - "text-overflow"?: Property.TextOverflow | undefined; - /** - * The **`text-rendering`** CSS property provides information to the rendering engine about what to optimize for when rendering text. - * - * **Syntax**: `auto | optimizeSpeed | optimizeLegibility | geometricPrecision` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **4** | **1** | **5** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-rendering - */ - "text-rendering"?: Property.TextRendering | undefined; - /** - * The **`text-shadow`** CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its `decorations`. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **2** | **3.5** | **1.1** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-shadow - */ - "text-shadow"?: Property.TextShadow | undefined; - /** - * The **`text-size-adjust`** CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property. - * - * **Syntax**: `none | auto | ` - * - * **Initial value**: `auto` for smartphone browsers supporting inflation, `none` in other cases (and then not modifiable). - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **54** | No | No | **79** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-size-adjust - */ - "text-size-adjust"?: Property.TextSizeAdjust | undefined; - /** - * The **`text-transform`** CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby. - * - * **Syntax**: `none | capitalize | uppercase | lowercase | full-width | full-size-kana` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-transform - */ - "text-transform"?: Property.TextTransform | undefined; - /** - * The **`text-underline-offset`** CSS property sets the offset distance of an underline text decoration line (applied using `text-decoration`) from its original position. - * - * **Syntax**: `auto | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-offset - */ - "text-underline-offset"?: Property.TextUnderlineOffset | undefined; - /** - * The **`text-underline-position`** CSS property specifies the position of the underline which is set using the `text-decoration` property's `underline` value. - * - * **Syntax**: `auto | from-font | [ under || [ left | right ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **33** | **74** | **12.1** | **12** | **6** | - * | | | 9 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-position - */ - "text-underline-position"?: Property.TextUnderlinePosition | undefined; - /** - * The **`text-wrap`** CSS property controls how text inside an element is wrapped. The different values provide: - * - * **Syntax**: `wrap | nowrap | balance | stable | pretty` - * - * **Initial value**: `wrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | **121** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-wrap - */ - "text-wrap"?: Property.TextWrap | undefined; - /** - * The **`timeline-scope`** CSS property modifies the scope of a named animation timeline. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **116** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/timeline-scope - */ - "timeline-scope"?: Property.TimelineScope | undefined; - /** - * The **`top`** CSS property participates in specifying the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/top - */ - top?: Property.Top | undefined; - /** - * The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser). - * - * **Syntax**: `auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :------: | - * | **36** | **52** | **13** | **12** | **11** | - * | | | | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/touch-action - */ - "touch-action"?: Property.TouchAction | undefined; - /** - * The **`transform`** CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform - */ - transform?: Property.Transform | undefined; - /** - * The **`transform-box`** CSS property defines the layout box to which the `transform`, individual transform properties `translate`,`scale`, and `rotate`, and `transform-origin` properties relate. - * - * **Syntax**: `content-box | border-box | fill-box | stroke-box | view-box` - * - * **Initial value**: `view-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **64** | **55** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-box - */ - "transform-box"?: Property.TransformBox | undefined; - /** - * The **`transform-origin`** CSS property sets the origin for an element's transformations. - * - * **Syntax**: `[ | left | center | right | top | bottom ] | [ [ | left | center | right ] && [ | top | center | bottom ] ] ?` - * - * **Initial value**: `50% 50% 0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 2 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-origin - */ - "transform-origin"?: Property.TransformOrigin | undefined; - /** - * The **`transform-style`** CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element. - * - * **Syntax**: `flat | preserve-3d` - * - * **Initial value**: `flat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **36** | **16** | **9** | **12** | No | - * | 12 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-style - */ - "transform-style"?: Property.TransformStyle | undefined; - /** - * The **`transition-behavior`** CSS property specifies whether transitions will be started for properties whose animation behavior is discrete. - * - * **Syntax**: `#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **117** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition-behavior - */ - "transition-behavior"?: Property.TransitionBehavior | undefined; - /** - * The **`transition-delay`** CSS property specifies the duration to wait before starting a property's transition effect when its value changes. - * - * **Syntax**: `
`. - * - * **Syntax**: `visible | hidden | collapse` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/visibility - */ - visibility?: Property.Visibility | undefined; - /** - * The **`white-space`** CSS property sets how white space inside an element is handled. - * - * **Syntax**: `normal | pre | nowrap | pre-wrap | pre-line | break-spaces | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space - */ - "white-space"?: Property.WhiteSpace | undefined; - /** - * The **`white-space-collapse`** CSS property controls how white space inside an element is collapsed. - * - * **Syntax**: `collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces` - * - * **Initial value**: `collapse` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space-collapse - */ - "white-space-collapse"?: Property.WhiteSpaceCollapse | undefined; - /** - * **Syntax**: `none | discard-before || discard-after || discard-inner` - * - * **Initial value**: `none` - */ - "white-space-trim"?: Property.WhiteSpaceTrim | undefined; - /** - * The **`widows`** CSS property sets the minimum number of lines in a block container that must be shown at the _top_ of a page, region, or column. - * - * **Syntax**: `` - * - * **Initial value**: `2` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **25** | No | **1.3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/widows - */ - widows?: Property.Widows | undefined; - /** - * The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/width - */ - width?: Property.Width | undefined; - /** - * The **`will-change`** CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. These kinds of optimizations can increase the responsiveness of a page by doing potentially expensive work before they are actually required. - * - * **Syntax**: `auto | #` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **36** | **36** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/will-change - */ - "will-change"?: Property.WillChange | undefined; - /** - * The **`word-break`** CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box. - * - * **Syntax**: `normal | break-all | keep-all | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **15** | **3** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-break - */ - "word-break"?: Property.WordBreak | undefined; - /** - * The **`word-spacing`** CSS property sets the length of space between words and between tags. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-spacing - */ - "word-spacing"?: Property.WordSpacing | undefined; - /** - * The **`overflow-wrap`** CSS property applies to inline elements, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box. - * - * **Syntax**: `normal | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :-----: | :-: | - * | **≤80** | **≤72** | **≤13.1** | **≤80** | No | - */ - "word-wrap"?: Property.WordWrap | undefined; - /** - * The **`writing-mode`** CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (`html` element for HTML documents). - * - * **Syntax**: `horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr` - * - * **Initial value**: `horizontal-tb` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :---: | - * | **48** | **41** | **10.1** | **12** | **9** | - * | 8 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/writing-mode - */ - "writing-mode"?: Property.WritingMode | undefined; - /** - * The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/z-index - */ - "z-index"?: Property.ZIndex | undefined; - /** - * The non-standard **`zoom`** CSS property can be used to control the magnification level of an element. `transform: scale()` should be used instead of this property, if possible. However, unlike CSS Transforms, `zoom` affects the layout size of the element. - * - * **Syntax**: `normal | reset | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :-----: | - * | **1** | n/a | **3.1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/zoom - */ - zoom?: Property.Zoom | undefined; -} - -export interface StandardShorthandPropertiesHyphen< - TLength = (string & {}) | 0, - TTime = string & {}, -> { - /** - * The **`all`** shorthand CSS property resets all of an element's properties except `unicode-bidi`, `direction`, and CSS Custom Properties. It can set properties to their initial or inherited values, or to the values specified in another cascade layer or stylesheet origin. - * - * **Syntax**: `initial | inherit | unset | revert | revert-layer` - * - * **Initial value**: There is no practical initial value for it. - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **37** | **27** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/all - */ - all?: Property.All | undefined; - /** - * The **`animation`** shorthand CSS property applies an animation between styles. It is a shorthand for `animation-name`, `animation-duration`, `animation-timing-function`, `animation-delay`, `animation-iteration-count`, `animation-direction`, `animation-fill-mode`, and `animation-play-state`. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **43** | **16** | **9** | **12** | **10** | - * | 3 _-x-_ | 5 _-x-_ | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/animation - */ - animation?: Property.Animation | undefined; - /** - * The **`animation-range`** CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end. - * - * **Syntax**: `[ <'animation-range-start'> <'animation-range-end'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/animation-range - */ - "animation-range"?: Property.AnimationRange | undefined; - /** - * The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. - * - * **Syntax**: `[ , ]* ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background - */ - background?: Property.Background | undefined; - /** - * The **`background-position`** CSS property sets the initial position for each background image. The position is relative to the position layer set by `background-origin`. - * - * **Syntax**: `#` - * - * **Initial value**: `0% 0%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-position - */ - "background-position"?: Property.BackgroundPosition | undefined; - /** - * The **`border`** shorthand CSS property sets an element's border. It sets the values of `border-width`, `border-style`, and `border-color`. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border - */ - border?: Property.Border | undefined; - /** - * The **`border-block`** CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block - */ - "border-block"?: Property.BorderBlock | undefined; - /** - * The **`border-block-end`** CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-end - */ - "border-block-end"?: Property.BorderBlockEnd | undefined; - /** - * The **`border-block-start`** CSS property is a shorthand property for setting the individual logical block-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-start - */ - "border-block-start"?: Property.BorderBlockStart | undefined; - /** - * The **`border-bottom`** shorthand CSS property sets an element's bottom border. It sets the values of `border-bottom-width`, `border-bottom-style` and `border-bottom-color`. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom - */ - "border-bottom"?: Property.BorderBottom | undefined; - /** - * The **`border-color`** shorthand CSS property sets the color of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-color - */ - "border-color"?: Property.BorderColor | undefined; - /** - * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border. - * - * **Syntax**: `<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-------: | :-----: | :----: | :----: | - * | **16** | **15** | **6** | **12** | **11** | - * | 7 _-x-_ | 3.5 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image - */ - "border-image"?: Property.BorderImage | undefined; - /** - * The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline - */ - "border-inline"?: Property.BorderInline | undefined; - /** - * The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end - */ - "border-inline-end"?: Property.BorderInlineEnd | undefined; - /** - * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start - */ - "border-inline-start"?: Property.BorderInlineStart | undefined; - /** - * The **`border-left`** shorthand CSS property sets all the properties of an element's left border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left - */ - "border-left"?: Property.BorderLeft | undefined; - /** - * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. - * - * **Syntax**: `{1,4} [ / {1,4} ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-radius - */ - "border-radius"?: Property.BorderRadius | undefined; - /** - * The **`border-right`** shorthand CSS property sets all the properties of an element's right border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right - */ - "border-right"?: Property.BorderRight | undefined; - /** - * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-style - */ - "border-style"?: Property.BorderStyle | undefined; - /** - * The **`border-top`** shorthand CSS property sets all the properties of an element's top border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top - */ - "border-top"?: Property.BorderTop | undefined; - /** - * The **`border-width`** shorthand CSS property sets the width of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-width - */ - "border-width"?: Property.BorderWidth | undefined; - /** **Syntax**: `<'caret-color'> || <'caret-shape'>` */ - caret?: Property.Caret | undefined; - /** - * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule - */ - "column-rule"?: Property.ColumnRule | undefined; - /** - * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths. - * - * **Syntax**: `<'column-width'> || <'column-count'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/columns - */ - columns?: Property.Columns | undefined; - /** - * The **`contain-intrinsic-size`** CSS shorthand property sets the size of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `[ auto? [ none | ] ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **83** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size - */ - "contain-intrinsic-size"?: Property.ContainIntrinsicSize | undefined; - /** - * The **container** shorthand CSS property establishes the element as a query container and specifies the name or name for the containment context used in a container query. - * - * **Syntax**: `<'container-name'> [ / <'container-type'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container - */ - container?: Property.Container | undefined; - /** - * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container. - * - * **Syntax**: `none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex - */ - flex?: Property.Flex | undefined; - /** - * The **`flex-flow`** CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior. - * - * **Syntax**: `<'flex-direction'> || <'flex-wrap'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-flow - */ - "flex-flow"?: Property.FlexFlow | undefined; - /** - * The **`font`** CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font. - * - * **Syntax**: `[ [ <'font-style'> || || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font - */ - font?: Property.Font | undefined; - /** - * The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`. - * - * **Syntax**: `<'row-gap'> <'column-gap'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/gap - */ - gap?: Property.Gap | undefined; - /** - * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration. - * - * **Syntax**: `<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid - */ - grid?: Property.Grid | undefined; - /** - * The **`grid-area`** CSS shorthand property specifies a grid item's size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area. - * - * **Syntax**: ` [ / ]{0,3}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-area - */ - "grid-area"?: Property.GridArea | undefined; - /** - * The **`grid-column`** CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column - */ - "grid-column"?: Property.GridColumn | undefined; - /** - * The **`grid-row`** CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row - */ - "grid-row"?: Property.GridRow | undefined; - /** - * The **`grid-template`** CSS property is a shorthand property for defining grid columns, grid rows, and grid areas. - * - * **Syntax**: `none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ ? ? ? ]+ [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template - */ - "grid-template"?: Property.GridTemplate | undefined; - /** - * The **`inset`** CSS property is a shorthand that corresponds to the `top`, `right`, `bottom`, and/or `left` properties. It has the same multi-value syntax of the `margin` shorthand. - * - * **Syntax**: `<'top'>{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset - */ - inset?: Property.Inset | undefined; - /** - * The **`inset-block`** CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block - */ - "inset-block"?: Property.InsetBlock | undefined; - /** - * The **`inset-inline`** CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline - */ - "inset-inline"?: Property.InsetInline | undefined; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - "line-clamp"?: Property.LineClamp | undefined; - /** - * The **`list-style`** CSS shorthand property allows you to set all the list style properties at once. - * - * **Syntax**: `<'list-style-type'> || <'list-style-position'> || <'list-style-image'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style - */ - "list-style"?: Property.ListStyle | undefined; - /** - * The **`margin`** CSS shorthand property sets the margin area on all four sides of an element. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin - */ - margin?: Property.Margin | undefined; - /** - * The **`margin-block`** CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block - */ - "margin-block"?: Property.MarginBlock | undefined; - /** - * The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline - */ - "margin-inline"?: Property.MarginInline | undefined; - /** - * The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping the image at specific points. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-------: | :---: | :-: | - * | **1** | **53** | **15.4** | 12-79 | No | - * | | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask - */ - mask?: Property.Mask | undefined; - /** - * The **`mask-border`** CSS shorthand property lets you create a mask along the edge of an element's border. - * - * **Syntax**: `<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :-----: | :----------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border - */ - "mask-border"?: Property.MaskBorder | undefined; - /** - * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. - * - * **Syntax**: `[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset - */ - motion?: Property.Offset | undefined; - /** - * The **`offset`** CSS shorthand property sets all the properties required for animating an element along a defined path. - * - * **Syntax**: `[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------: | :-----: | :----: | :--: | :-: | - * | **55** | **72** | **16** | n/a | No | - * | 46 _(motion)_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/offset - */ - offset?: Property.Offset | undefined; - /** - * The **`outline`** CSS shorthand property sets most of the outline properties in a single declaration. - * - * **Syntax**: `[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **94** | **88** | **16.4** | **94** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline - */ - outline?: Property.Outline | undefined; - /** - * The **`overflow`** CSS shorthand property sets the desired behavior for an element's overflow — i.e. when an element's content is too big to fit in its block formatting context — in both directions. - * - * **Syntax**: `[ visible | hidden | clip | scroll | auto ]{1,2}` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/overflow - */ - overflow?: Property.Overflow | undefined; - /** - * The **`overscroll-behavior`** CSS property sets what a browser does when reaching the boundary of a scrolling area. It's a shorthand for `overscroll-behavior-x` and `overscroll-behavior-y`. - * - * **Syntax**: `[ contain | none | auto ]{1,2}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **63** | **59** | **16** | **18** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior - */ - "overscroll-behavior"?: Property.OverscrollBehavior | undefined; - /** - * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once. - * - * **Syntax**: `[ | ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding - */ - padding?: Property.Padding | undefined; - /** - * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-block - */ - "padding-block"?: Property.PaddingBlock | undefined; - /** - * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline - */ - "padding-inline"?: Property.PaddingInline | undefined; - /** - * The **`place-content`** CSS shorthand property allows you to align content along both the block and inline directions at once (i.e. the `align-content` and `justify-content` properties) in a relevant layout system such as Grid or Flexbox. - * - * **Syntax**: `<'align-content'> <'justify-content'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **9** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-content - */ - "place-content"?: Property.PlaceContent | undefined; - /** - * The CSS **`place-items`** shorthand property allows you to align items along both the block and inline directions at once (i.e. the `align-items` and `justify-items` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not set, the first value is also used for it. - * - * **Syntax**: `<'align-items'> <'justify-items'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-items - */ - "place-items"?: Property.PlaceItems | undefined; - /** - * The **`place-self`** CSS shorthand property allows you to align an individual item in both the block and inline directions at once (i.e. the `align-self` and `justify-self` properties) in a relevant layout system such as Grid or Flexbox. If the second value is not present, the first value is also used for it. - * - * **Syntax**: `<'align-self'> <'justify-self'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **59** | **45** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/place-self - */ - "place-self"?: Property.PlaceSelf | undefined; - /** - * The **`scroll-margin`** shorthand property sets all of the scroll margins of an element at once, assigning values much like the `margin` property does for margins of an element. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------: | :--: | :-: | - * | **69** | **90** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin - */ - "scroll-margin"?: Property.ScrollMargin | undefined; - /** - * The `scroll-margin-block` shorthand property sets the scroll margins of an element in the block dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block - */ - "scroll-margin-block"?: Property.ScrollMarginBlock | undefined; - /** - * The `scroll-margin-inline` shorthand property sets the scroll margins of an element in the inline dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline - */ - "scroll-margin-inline"?: Property.ScrollMarginInline | undefined; - /** - * The **`scroll-padding`** shorthand property sets scroll padding on all sides of an element at once, much like the `padding` property does for padding on an element. - * - * **Syntax**: `[ auto | ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding - */ - "scroll-padding"?: Property.ScrollPadding | undefined; - /** - * The `scroll-padding-block` shorthand property sets the scroll padding of an element in the block dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block - */ - "scroll-padding-block"?: Property.ScrollPaddingBlock | undefined; - /** - * The `scroll-padding-inline` shorthand property sets the scroll padding of an element in the inline dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline - */ - "scroll-padding-inline"?: Property.ScrollPaddingInline | undefined; - /** - * The **`scroll-margin`** shorthand property sets all of the scroll margins of an element at once, assigning values much like the `margin` property does for margins of an element. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------: | :--: | :-: | - * | **69** | 68-90 | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin - */ - "scroll-snap-margin"?: Property.ScrollMargin | undefined; - /** - * The **`scroll-timeline`** CSS shorthand property defines a name that can be used to identify the source element of a scroll timeline, along with the scrollbar axis that should provide the timeline. - * - * **Syntax**: `[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-timeline - */ - "scroll-timeline"?: Property.ScrollTimeline | undefined; - /** - * The **`text-decoration`** shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for `text-decoration-line`, `text-decoration-color`, `text-decoration-style`, and the newer `text-decoration-thickness` property. - * - * **Syntax**: `<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration - */ - "text-decoration"?: Property.TextDecoration | undefined; - /** - * The **`text-emphasis`** CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for `text-emphasis-style` and `text-emphasis-color`. - * - * **Syntax**: `<'text-emphasis-style'> || <'text-emphasis-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis - */ - "text-emphasis"?: Property.TextEmphasis | undefined; - /** - * The **`transition`** CSS property is a shorthand property for `transition-property`, `transition-duration`, `transition-timing-function`, and `transition-delay`. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **26** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition - */ - transition?: Property.Transition | undefined; - /** - * The **`view-timeline`** CSS shorthand property is used to define a _named view progress timeline_, which is progressed through based on the change in visibility of an element (known as the _subject_) inside a scrollable element (_scroller_). `view-timeline` is set on the subject. - * - * **Syntax**: `[ <'view-timeline-name'> <'view-timeline-axis'>? ]#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **115** | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/view-timeline - */ - "view-timeline"?: Property.ViewTimeline | undefined; -} - -export interface StandardPropertiesHyphen< - TLength = (string & {}) | 0, - TTime = string & {}, -> extends StandardLonghandPropertiesHyphen, - StandardShorthandPropertiesHyphen {} - -export interface VendorLonghandPropertiesHyphen< - TLength = (string & {}) | 0, - TTime = string & {}, -> { - /** - * The **`animation-delay`** CSS property specifies the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation. - * - * **Syntax**: `
` have shared or separate borders. - * - * **Syntax**: `collapse | separate` - * - * **Initial value**: `separate` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-collapse - */ - borderCollapse?: ConditionalValue< - CssVars | CssProperties["borderCollapse"] | AnyString - >; - /** - * The **`border-color`** shorthand CSS property sets the color of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-color - */ - borderColor?: ConditionalValue< - | UtilityValues["borderColor"] - | CssVars - | CssProperties["borderColor"] - | AnyString - >; - /** - * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius - */ - borderEndEndRadius?: ConditionalValue< - | UtilityValues["borderEndEndRadius"] - | CssVars - | CssProperties["borderEndEndRadius"] - | AnyString - >; - /** - * The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius - */ - borderEndStartRadius?: ConditionalValue< - | UtilityValues["borderEndStartRadius"] - | CssVars - | CssProperties["borderEndStartRadius"] - | AnyString - >; - /** - * The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border. - * - * **Syntax**: `<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-------: | :-----: | :----: | :----: | - * | **16** | **15** | **6** | **12** | **11** | - * | 7 _-x-_ | 3.5 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image - */ - borderImage?: ConditionalValue; - /** - * The **`border-image-outset`** CSS property sets the distance by which an element's border image is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-outset - */ - borderImageOutset?: ConditionalValue< - CssProperties["borderImageOutset"] | AnyString - >; - /** - * The **`border-image-repeat`** CSS property defines how the edge regions and middle region of a source image are adjusted to fit the dimensions of an element's border image. The middle region can be displayed by using the keyword "fill" in the border-image-slice property. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-repeat - */ - borderImageRepeat?: ConditionalValue< - CssProperties["borderImageRepeat"] | AnyString - >; - /** - * The **`border-image-slice`** CSS property divides the image specified by `border-image-source` into regions. These regions form the components of an element's border image. - * - * **Syntax**: `{1,4} && fill?` - * - * **Initial value**: `100%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-slice - */ - borderImageSlice?: ConditionalValue< - CssProperties["borderImageSlice"] | AnyString - >; - /** - * The **`border-image-source`** CSS property sets the source image used to create an element's border image. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **15** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-source - */ - borderImageSource?: ConditionalValue< - CssProperties["borderImageSource"] | AnyString - >; - /** - * The **`border-image-width`** CSS property sets the width of an element's border image. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **15** | **13** | **6** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-image-width - */ - borderImageWidth?: ConditionalValue< - CssProperties["borderImageWidth"] | AnyString - >; - /** - * The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline - */ - borderInline?: ConditionalValue< - | UtilityValues["borderInline"] - | CssVars - | CssProperties["borderInline"] - | AnyString - >; - /** - * The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end - */ - borderInlineEnd?: ConditionalValue< - | UtilityValues["borderInlineEnd"] - | CssVars - | CssProperties["borderInlineEnd"] - | AnyString - >; - /** - * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>{1,2}` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-color - */ - borderInlineColor?: ConditionalValue< - | UtilityValues["borderInlineColor"] - | CssVars - | CssProperties["borderInlineColor"] - | AnyString - >; - /** - * The **`border-inline-style`** CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style` and `border-bottom-style`, or `border-left-style` and `border-right-style` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-style - */ - borderInlineStyle?: ConditionalValue< - CssVars | CssProperties["borderInlineStyle"] | AnyString - >; - /** - * The **`border-inline-width`** CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width - */ - borderInlineWidth?: ConditionalValue< - CssProperties["borderInlineWidth"] | AnyString - >; - /** - * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color - */ - borderInlineEndColor?: ConditionalValue< - | UtilityValues["borderInlineEndColor"] - | CssVars - | CssProperties["borderInlineEndColor"] - | AnyString - >; - /** - * The **`border-inline-end-style`** CSS property defines the style of the logical inline end border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style - */ - borderInlineEndStyle?: ConditionalValue< - CssVars | CssProperties["borderInlineEndStyle"] | AnyString - >; - /** - * The **`border-inline-end-width`** CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-width)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width - */ - borderInlineEndWidth?: ConditionalValue< - CssProperties["borderInlineEndWidth"] | AnyString - >; - /** - * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start - */ - borderInlineStart?: ConditionalValue< - | UtilityValues["borderInlineStart"] - | CssVars - | CssProperties["borderInlineStart"] - | AnyString - >; - /** - * The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color - */ - borderInlineStartColor?: ConditionalValue< - | UtilityValues["borderInlineStartColor"] - | CssVars - | CssProperties["borderInlineStartColor"] - | AnyString - >; - /** - * The **`border-inline-start-style`** CSS property defines the style of the logical inline start border of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-style`, `border-right-style`, `border-bottom-style`, or `border-left-style` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-style)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style - */ - borderInlineStartStyle?: ConditionalValue< - CssVars | CssProperties["borderInlineStartStyle"] | AnyString - >; - /** - * The **`border-inline-start-width`** CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width - */ - borderInlineStartWidth?: ConditionalValue< - CssProperties["borderInlineStartWidth"] | AnyString - >; - /** - * The **`border-left`** shorthand CSS property sets all the properties of an element's left border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left - */ - borderLeft?: ConditionalValue< - | UtilityValues["borderLeft"] - | CssVars - | CssProperties["borderLeft"] - | AnyString - >; - /** - * The **`border-left-color`** CSS property sets the color of an element's left border. It can also be set with the shorthand CSS properties `border-color` or `border-left`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-color - */ - borderLeftColor?: ConditionalValue< - | UtilityValues["borderLeftColor"] - | CssVars - | CssProperties["borderLeftColor"] - | AnyString - >; - /** - * The **`border-left-style`** CSS property sets the line style of an element's left `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-style - */ - borderLeftStyle?: ConditionalValue< - CssVars | CssProperties["borderLeftStyle"] | AnyString - >; - /** - * The **`border-left-width`** CSS property sets the width of the left border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-left-width - */ - borderLeftWidth?: ConditionalValue< - CssProperties["borderLeftWidth"] | AnyString - >; - /** - * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. - * - * **Syntax**: `{1,4} [ / {1,4} ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-radius - */ - borderRadius?: ConditionalValue< - | UtilityValues["borderRadius"] - | CssVars - | CssProperties["borderRadius"] - | AnyString - >; - /** - * The **`border-right`** shorthand CSS property sets all the properties of an element's right border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right - */ - borderRight?: ConditionalValue< - | UtilityValues["borderRight"] - | CssVars - | CssProperties["borderRight"] - | AnyString - >; - /** - * The **`border-right-color`** CSS property sets the color of an element's right border. It can also be set with the shorthand CSS properties `border-color` or `border-right`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-color - */ - borderRightColor?: ConditionalValue< - | UtilityValues["borderRightColor"] - | CssVars - | CssProperties["borderRightColor"] - | AnyString - >; - /** - * The **`border-right-style`** CSS property sets the line style of an element's right `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-style - */ - borderRightStyle?: ConditionalValue< - CssVars | CssProperties["borderRightStyle"] | AnyString - >; - /** - * The **`border-right-width`** CSS property sets the width of the right border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-right-width - */ - borderRightWidth?: ConditionalValue< - CssProperties["borderRightWidth"] | AnyString - >; - /** - * The **`border-spacing`** CSS property sets the distance between the borders of adjacent cells in a `
`. This property applies only when `border-collapse` is `separate`. - * - * **Syntax**: ` ?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-spacing - */ - borderSpacing?: ConditionalValue< - | UtilityValues["borderSpacing"] - | CssVars - | CssProperties["borderSpacing"] - | AnyString - >; - /** - * The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius - */ - borderStartEndRadius?: ConditionalValue< - | UtilityValues["borderStartEndRadius"] - | CssVars - | CssProperties["borderStartEndRadius"] - | AnyString - >; - /** - * The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius - */ - borderStartStartRadius?: ConditionalValue< - | UtilityValues["borderStartStartRadius"] - | CssVars - | CssProperties["borderStartStartRadius"] - | AnyString - >; - /** - * The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-style - */ - borderStyle?: ConditionalValue; - /** - * The **`border-top`** shorthand CSS property sets all the properties of an element's top border. - * - * **Syntax**: ` || || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top - */ - borderTop?: ConditionalValue< - | UtilityValues["borderTop"] - | CssVars - | CssProperties["borderTop"] - | AnyString - >; - /** - * The **`border-top-color`** CSS property sets the color of an element's top border. It can also be set with the shorthand CSS properties `border-color` or `border-top`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-color - */ - borderTopColor?: ConditionalValue< - | UtilityValues["borderTopColor"] - | CssVars - | CssProperties["borderTopColor"] - | AnyString - >; - /** - * The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius - */ - borderTopLeftRadius?: ConditionalValue< - | UtilityValues["borderTopLeftRadius"] - | CssVars - | CssProperties["borderTopLeftRadius"] - | AnyString - >; - /** - * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius - */ - borderTopRightRadius?: ConditionalValue< - | UtilityValues["borderTopRightRadius"] - | CssVars - | CssProperties["borderTopRightRadius"] - | AnyString - >; - /** - * The **`border-top-style`** CSS property sets the line style of an element's top `border`. - * - * **Syntax**: `` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-style - */ - borderTopStyle?: ConditionalValue< - CssVars | CssProperties["borderTopStyle"] | AnyString - >; - /** - * The **`border-top-width`** CSS property sets the width of the top border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-width - */ - borderTopWidth?: ConditionalValue< - CssProperties["borderTopWidth"] | AnyString - >; - /** - * The **`border-width`** shorthand CSS property sets the width of an element's border. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-width - */ - borderWidth?: ConditionalValue; - /** - * The **`bottom`** CSS property participates in setting the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/bottom - */ - bottom?: ConditionalValue< - UtilityValues["bottom"] | CssVars | CssProperties["bottom"] | AnyString - >; - boxAlign?: ConditionalValue; - /** - * The **`box-decoration-break`** CSS property specifies how an element's fragments should be rendered when broken across multiple lines, columns, or pages. - * - * **Syntax**: `slice | clone` - * - * **Initial value**: `slice` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------: | :-----: | :---------: | :--: | :-: | - * | **22** _-x-_ | **32** | **7** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-decoration-break - */ - boxDecorationBreak?: ConditionalValue< - CssVars | CssProperties["boxDecorationBreak"] | AnyString - >; - boxDirection?: ConditionalValue; - boxFlex?: ConditionalValue; - boxFlexGroup?: ConditionalValue; - boxLines?: ConditionalValue; - boxOrdinalGroup?: ConditionalValue< - CssProperties["boxOrdinalGroup"] | AnyString - >; - boxOrient?: ConditionalValue; - boxPack?: ConditionalValue; - /** - * The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **4** | **5.1** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-shadow - */ - boxShadow?: ConditionalValue< - | UtilityValues["boxShadow"] - | CssVars - | CssProperties["boxShadow"] - | AnyString - >; - /** - * The **`box-sizing`** CSS property sets how the total width and height of an element is calculated. - * - * **Syntax**: `content-box | border-box` - * - * **Initial value**: `content-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **29** | **5.1** | **12** | **8** | - * | 1 _-x-_ | 1 _-x-_ | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-sizing - */ - boxSizing?: ConditionalValue< - CssVars | CssProperties["boxSizing"] | AnyString - >; - /** - * The **`break-after`** CSS property sets how page, column, or region breaks should behave after a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-after - */ - breakAfter?: ConditionalValue< - CssVars | CssProperties["breakAfter"] | AnyString - >; - /** - * The **`break-before`** CSS property sets how page, column, or region breaks should behave before a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-before - */ - breakBefore?: ConditionalValue< - CssVars | CssProperties["breakBefore"] | AnyString - >; - /** - * The **`break-inside`** CSS property sets how page, column, or region breaks should behave inside a generated box. If there is no generated box, the property is ignored. - * - * **Syntax**: `auto | avoid | avoid-page | avoid-column | avoid-region` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **50** | **65** | **10** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/break-inside - */ - breakInside?: ConditionalValue< - CssVars | CssProperties["breakInside"] | AnyString - >; - /** - * The **`caption-side`** CSS property puts the content of a table's `
` on the specified side. The values are relative to the `writing-mode` of the table. - * - * **Syntax**: `top | bottom | block-start | block-end | inline-start | inline-end` - * - * **Initial value**: `top` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caption-side - */ - captionSide?: ConditionalValue< - CssVars | CssProperties["captionSide"] | AnyString - >; - /** **Syntax**: `<'caret-color'> || <'caret-shape'>` */ - caret?: ConditionalValue; - /** - * The **`caret-color`** CSS property sets the color of the **insertion caret**, the visible marker where the next character typed will be inserted. This is sometimes referred to as the **text input cursor**. The caret appears in elements such as `` or those with the `contenteditable` attribute. The caret is typically a thin vertical line that flashes to help make it more noticeable. By default, it is black, but its color can be altered with this property. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **53** | **11.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/caret-color - */ - caretColor?: ConditionalValue< - | UtilityValues["caretColor"] - | CssVars - | CssProperties["caretColor"] - | AnyString - >; - /** - * **Syntax**: `auto | bar | block | underscore` - * - * **Initial value**: `auto` - */ - caretShape?: ConditionalValue; - /** - * The **`clear`** CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The `clear` property applies to floating and non-floating elements. - * - * **Syntax**: `none | left | right | both | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clear - */ - clear?: ConditionalValue; - clip?: ConditionalValue; - /** - * The **`clip-path`** CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden. - * - * **Syntax**: ` | [ || ] | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **55** | **3.5** | **9.1** | **79** | **10** | - * | 23 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/clip-path - */ - clipPath?: ConditionalValue; - /** - * The **`color`** CSS property sets the foreground color value of an element's text and text decorations, and sets the `currentcolor` value. `currentcolor` may be used as an indirect value on _other_ properties and is the default for other color properties, such as `border-color`. - * - * **Syntax**: `` - * - * **Initial value**: `canvastext` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color - */ - color?: ConditionalValue< - UtilityValues["color"] | CssVars | CssProperties["color"] | AnyString - >; - /** - * The **`color-scheme`** CSS property allows an element to indicate which color schemes it can comfortably be rendered in. - * - * **Syntax**: `normal | [ light | dark | ]+ && only?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **81** | **96** | **13** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/color-scheme - */ - colorScheme?: ConditionalValue; - /** - * The **`column-count`** CSS property breaks an element's content into the specified number of columns. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-count - */ - columnCount?: ConditionalValue; - /** - * The **`column-fill`** CSS property controls how an element's contents are balanced when broken into columns. - * - * **Syntax**: `auto | balance | balance-all` - * - * **Initial value**: `balance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-fill - */ - columnFill?: ConditionalValue< - CssVars | CssProperties["columnFill"] | AnyString - >; - /** - * The **`column-gap`** CSS property sets the size of the gap (gutter) between an element's columns. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **1** | **1.5** | **3** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-gap - */ - columnGap?: ConditionalValue< - | UtilityValues["columnGap"] - | CssVars - | CssProperties["columnGap"] - | AnyString - >; - /** - * The **`column-rule`** shorthand CSS property sets the width, style, and color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule - */ - columnRule?: ConditionalValue; - /** - * The **`column-rule-color`** CSS property sets the color of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-color - */ - columnRuleColor?: ConditionalValue< - CssProperties["columnRuleColor"] | AnyString - >; - /** - * The **`column-rule-style`** CSS property sets the style of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-style'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-style - */ - columnRuleStyle?: ConditionalValue< - CssVars | CssProperties["columnRuleStyle"] | AnyString - >; - /** - * The **`column-rule-width`** CSS property sets the width of the line drawn between columns in a multi-column layout. - * - * **Syntax**: `<'border-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-rule-width - */ - columnRuleWidth?: ConditionalValue< - CssProperties["columnRuleWidth"] | AnyString - >; - /** - * The **`column-span`** CSS property makes it possible for an element to span across all columns when its value is set to `all`. - * - * **Syntax**: `none | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **50** | **71** | **9** | **12** | **10** | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-span - */ - columnSpan?: ConditionalValue; - /** - * The **`column-width`** CSS property sets the ideal column width in a multi-column layout. The container will have as many columns as can fit without any of them having a width less than the `column-width` value. If the width of the container is narrower than the specified value, the single column's width will be smaller than the declared column width. - * - * **Syntax**: ` | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :----: | - * | **50** | **50** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/column-width - */ - columnWidth?: ConditionalValue; - /** - * The **`columns`** CSS shorthand property sets the number of columns to use when drawing an element's contents, as well as those columns' widths. - * - * **Syntax**: `<'column-width'> || <'column-count'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **50** | **52** | **9** | **12** | **10** | - * | | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/columns - */ - columns?: ConditionalValue; - /** - * The **`contain`** CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree. Containment enables isolating a subsection of the DOM, providing performance benefits by limiting calculations of layout, style, paint, size, or any combination to a DOM subtree rather than the entire page. Containment can also be used to scope CSS counters and quotes. - * - * **Syntax**: `none | strict | content | [ [ size || inline-size ] || layout || style || paint ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **52** | **69** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain - */ - contain?: ConditionalValue; - /** - * The **`contain-intrinsic-size`** CSS shorthand property sets the size of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `[ auto? [ none | ] ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **83** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-size - */ - containIntrinsicSize?: ConditionalValue< - CssProperties["containIntrinsicSize"] | AnyString - >; - /** - * The **`contain-intrinsic-block-size`** CSS logical property defines the block size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-block-size - */ - containIntrinsicBlockSize?: ConditionalValue< - CssProperties["containIntrinsicBlockSize"] | AnyString - >; - /** - * The **`contain-intrinsic-length`** CSS property sets the height of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-height - */ - containIntrinsicHeight?: ConditionalValue< - CssProperties["containIntrinsicHeight"] | AnyString - >; - /** - * The **`contain-intrinsic-inline-size`** CSS logical property defines the inline-size of an element that a browser can use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-contain-intrinsic-inline-size - */ - containIntrinsicInlineSize?: ConditionalValue< - CssProperties["containIntrinsicInlineSize"] | AnyString - >; - /** - * The **`contain-intrinsic-width`** CSS property sets the width of an element that a browser will use for layout when the element is subject to size containment. - * - * **Syntax**: `auto? [ none | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **95** | **107** | **17** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/contain-intrinsic-width - */ - containIntrinsicWidth?: ConditionalValue< - CssProperties["containIntrinsicWidth"] | AnyString - >; - /** - * The **container** shorthand CSS property establishes the element as a query container and specifies the name or name for the containment context used in a container query. - * - * **Syntax**: `<'container-name'> [ / <'container-type'> ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container - */ - container?: ConditionalValue; - /** - * The **container-name** CSS property specifies a list of query container names used by the @container at-rule in a container query. A container query will apply styles to elements based on the size of the nearest ancestor with a containment context. When a containment context is given a name, it can be specifically targeted using the `@container` at-rule instead of the nearest ancestor with containment. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-name - */ - containerName?: ConditionalValue< - | UtilityValues["containerName"] - | CssVars - | CssProperties["containerName"] - | AnyString - >; - /** - * The **container-type** CSS property is used to define the type of containment used in a container query. - * - * **Syntax**: `normal | size | inline-size` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **105** | **110** | **16** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/container-type - */ - containerType?: ConditionalValue; - /** - * The **`content`** CSS property replaces an element with a generated value. Objects inserted using the `content` property are **anonymous replaced elements**. - * - * **Syntax**: `normal | none | [ | ] [/ [ | ]+ ]?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content - */ - content?: ConditionalValue; - /** - * The **`content-visibility`** CSS property controls whether or not an element renders its contents at all, along with forcing a strong set of containments, allowing user agents to potentially omit large swathes of layout and rendering work until it becomes needed. It enables the user agent to skip an element's rendering work (including layout and painting) until it is needed — which makes the initial page load much faster. - * - * **Syntax**: `visible | auto | hidden` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------: | :----: | :--: | :-: | - * | **85** | **preview** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/content-visibility - */ - contentVisibility?: ConditionalValue< - CssVars | CssProperties["contentVisibility"] | AnyString - >; - /** - * The **`counter-increment`** CSS property increases or decreases the value of a CSS counter by a given value. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-increment - */ - counterIncrement?: ConditionalValue< - CssProperties["counterIncrement"] | AnyString - >; - /** - * The **`counter-reset`** CSS property resets a CSS counter to a given value. This property will create a new counter or reversed counter with the given name on the specified element. - * - * **Syntax**: `[ ? | ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-reset - */ - counterReset?: ConditionalValue; - /** - * The **`counter-set`** CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element. - * - * **Syntax**: `[ ? ]+ | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **85** | **68** | **17.2** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/counter-set - */ - counterSet?: ConditionalValue; - /** - * The **`cursor`** CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element. - * - * **Syntax**: `[ [ [ ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/cursor - */ - cursor?: ConditionalValue; - /** - * The **`direction`** CSS property sets the direction of text, table columns, and horizontal overflow. Use `rtl` for languages written from right to left (like Hebrew or Arabic), and `ltr` for those written from left to right (like English and most other languages). - * - * **Syntax**: `ltr | rtl` - * - * **Initial value**: `ltr` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **2** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/direction - */ - direction?: ConditionalValue< - CssVars | CssProperties["direction"] | AnyString - >; - /** - * The **`display`** CSS property sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex. - * - * **Syntax**: `[ || ] | | | | ` - * - * **Initial value**: `inline` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/display - */ - display?: ConditionalValue; - /** - * The **`empty-cells`** CSS property sets whether borders and backgrounds appear around `` cells that have no visible content. - * - * **Syntax**: `show | hide` - * - * **Initial value**: `show` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1** | **1.2** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/empty-cells - */ - emptyCells?: ConditionalValue< - CssVars | CssProperties["emptyCells"] | AnyString - >; - /** - * The **`filter`** CSS property applies graphical effects like blur or color shift to an element. Filters are commonly used to adjust the rendering of images, backgrounds, and borders. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **53** | **35** | **9.1** | **12** | No | - * | 18 _-x-_ | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/filter - */ - filter?: ConditionalValue< - UtilityValues["filter"] | CssVars | CssProperties["filter"] | AnyString - >; - /** - * The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container. - * - * **Syntax**: `none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex - */ - flex?: ConditionalValue< - UtilityValues["flex"] | CssVars | CssProperties["flex"] | AnyString - >; - /** - * The **`flex-basis`** CSS property sets the initial main size of a flex item. It sets the size of the content box unless otherwise set with `box-sizing`. - * - * **Syntax**: `content | <'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **22** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-basis - */ - flexBasis?: ConditionalValue< - | UtilityValues["flexBasis"] - | CssVars - | CssProperties["flexBasis"] - | AnyString - >; - /** - * The **`flex-direction`** CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). - * - * **Syntax**: `row | row-reverse | column | column-reverse` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :------: | - * | **29** | **81** | **9** | **12** | **11** | - * | 21 _-x-_ | 49 _-x-_ | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-direction - */ - flexDirection?: ConditionalValue< - CssVars | CssProperties["flexDirection"] | AnyString - >; - /** - * The **`flex-flow`** CSS shorthand property specifies the direction of a flex container, as well as its wrapping behavior. - * - * **Syntax**: `<'flex-direction'> || <'flex-wrap'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-flow - */ - flexFlow?: ConditionalValue; - /** - * The **`flex-grow`** CSS property sets the flex grow factor of a flex item's main size. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----------------------: | - * | **29** | **20** | **9** | **12** | **11** | - * | 22 _-x-_ | | 7 _-x-_ | | 10 _(-ms-flex-positive)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-grow - */ - flexGrow?: ConditionalValue; - /** - * The **`flex-shrink`** CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to `flex-shrink`. - * - * **Syntax**: `` - * - * **Initial value**: `1` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **10** | - * | 22 _-x-_ | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-shrink - */ - flexShrink?: ConditionalValue; - /** - * The **`flex-wrap`** CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked. - * - * **Syntax**: `nowrap | wrap | wrap-reverse` - * - * **Initial value**: `nowrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **28** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-wrap - */ - flexWrap?: ConditionalValue; - /** - * The **`float`** CSS property places an element on the left or right side of its container, allowing text and inline elements to wrap around it. The element is removed from the normal flow of the page, though still remaining a part of the flow (in contrast to absolute positioning). - * - * **Syntax**: `left | right | none | inline-start | inline-end` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/float - */ - float?: ConditionalValue; - /** - * The **`font`** CSS shorthand property sets all the different properties of an element's font. Alternatively, it sets an element's font to a system font. - * - * **Syntax**: `[ [ <'font-style'> || || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font - */ - font?: ConditionalValue; - /** - * The **`font-family`** CSS property specifies a prioritized list of one or more font family names and/or generic family names for the selected element. - * - * **Syntax**: `[ | ]#` - * - * **Initial value**: depends on user agent - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-family - */ - fontFamily?: ConditionalValue< - | UtilityValues["fontFamily"] - | CssVars - | CssProperties["fontFamily"] - | AnyString - >; - /** - * The **`font-feature-settings`** CSS property controls advanced typographic features in OpenType fonts. - * - * **Syntax**: `normal | #` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :----: | - * | **48** | **34** | **9.1** | **15** | **10** | - * | 16 _-x-_ | 15 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-feature-settings - */ - fontFeatureSettings?: ConditionalValue< - CssProperties["fontFeatureSettings"] | AnyString - >; - /** - * The **`font-kerning`** CSS property sets the use of the kerning information stored in a font. - * - * **Syntax**: `auto | normal | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **33** | **32** | **9** | n/a | No | - * | | | 6 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-kerning - */ - fontKerning?: ConditionalValue< - CssVars | CssProperties["fontKerning"] | AnyString - >; - /** - * The **`font-language-override`** CSS property controls the use of language-specific glyphs in a typeface. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **34** | No | n/a | No | - * | | 4 _-x-_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-language-override - */ - fontLanguageOverride?: ConditionalValue< - CssProperties["fontLanguageOverride"] | AnyString - >; - /** - * The **`font-optical-sizing`** CSS property sets whether text rendering is optimized for viewing at different sizes. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **79** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing - */ - fontOpticalSizing?: ConditionalValue< - CssProperties["fontOpticalSizing"] | AnyString - >; - /** - * **Syntax**: `normal | light | dark | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **101** | **107** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-palette - */ - fontPalette?: ConditionalValue; - /** - * The **`font-variation-settings`** CSS property provides low-level control over variable font characteristics, by specifying the four letter axis names of the characteristics you want to vary, along with their values. - * - * **Syntax**: `normal | [ ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **62** | **62** | **11** | **17** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variation-settings - */ - fontVariationSettings?: ConditionalValue< - CssProperties["fontVariationSettings"] | AnyString - >; - /** - * The **`font-size`** CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative `` units, such as `em`, `ex`, and so forth. - * - * **Syntax**: ` | | ` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size - */ - fontSize?: ConditionalValue< - UtilityValues["fontSize"] | CssVars | CssProperties["fontSize"] | AnyString - >; - /** - * The **`font-size-adjust`** CSS property sets the size of lower-case letters relative to the current font size (which defines the size of upper-case letters). - * - * **Syntax**: `none | [ ex-height | cap-height | ch-width | ic-width | ic-height ]? [ from-font | ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | **3** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-size-adjust - */ - fontSizeAdjust?: ConditionalValue< - CssProperties["fontSizeAdjust"] | AnyString - >; - /** - * The **`font-smooth`** CSS property controls the application of anti-aliasing when fonts are rendered. - * - * **Syntax**: `auto | never | always | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :--------------------------------: | :------------------------------: | :--: | :-: | - * | **5** _(-webkit-font-smoothing)_ | **25** _(-moz-osx-font-smoothing)_ | **4** _(-webkit-font-smoothing)_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-smooth - */ - fontSmooth?: ConditionalValue; - /** - * The **`font-stretch`** CSS property selects a normal, condensed, or expanded face from a font. - * - * **Syntax**: `` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **60** | **9** | **11** | **12** | **9** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-stretch - */ - fontStretch?: ConditionalValue; - /** - * The **`font-style`** CSS property sets whether a font should be styled with a normal, italic, or oblique face from its `font-family`. - * - * **Syntax**: `normal | italic | oblique ?` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-style - */ - fontStyle?: ConditionalValue; - /** - * The **`font-synthesis`** CSS property controls which missing typefaces, bold, italic, or small-caps, may be synthesized by the browser. - * - * **Syntax**: `none | [ weight || style || small-caps || position]` - * - * **Initial value**: `weight style small-caps position ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **97** | **34** | **9** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis - */ - fontSynthesis?: ConditionalValue; - /** - * The **`font-synthesis-position`** CSS property lets you specify whether or not a browser may synthesize the subscript and superscript "position" typefaces when they are missing in a font family, while using `font-variant-position` to set the positions. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | **118** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-position - */ - fontSynthesisPosition?: ConditionalValue< - CssProperties["fontSynthesisPosition"] | AnyString - >; - /** - * The **`font-synthesis-small-caps`** CSS property lets you specify whether or not the browser may synthesize small-caps typeface when it is missing in a font family. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-small-caps - */ - fontSynthesisSmallCaps?: ConditionalValue< - CssProperties["fontSynthesisSmallCaps"] | AnyString - >; - /** - * The **`font-synthesis-style`** CSS property lets you specify whether or not the browser may synthesize the oblique typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-style - */ - fontSynthesisStyle?: ConditionalValue< - CssProperties["fontSynthesisStyle"] | AnyString - >; - /** - * The **`font-synthesis-weight`** CSS property lets you specify whether or not the browser may synthesize the bold typeface when it is missing in a font family. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **97** | **111** | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-synthesis-weight - */ - fontSynthesisWeight?: ConditionalValue< - CssProperties["fontSynthesisWeight"] | AnyString - >; - /** - * The **`font-variant`** CSS shorthand property allows you to set all the font variants for a font. - * - * **Syntax**: `normal | none | [ || || || || stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || || || || ordinal || slashed-zero || || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant - */ - fontVariant?: ConditionalValue; - /** - * The **`font-variant-alternates`** CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in `@font-feature-values`. - * - * **Syntax**: `normal | [ stylistic( ) || historical-forms || styleset( # ) || character-variant( # ) || swash( ) || ornaments( ) || annotation( ) ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **111** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates - */ - fontVariantAlternates?: ConditionalValue< - CssProperties["fontVariantAlternates"] | AnyString - >; - /** - * The **`font-variant-caps`** CSS property controls the use of alternate glyphs for capital letters. - * - * **Syntax**: `normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-caps - */ - fontVariantCaps?: ConditionalValue< - CssProperties["fontVariantCaps"] | AnyString - >; - /** - * The **`font-variant-east-asian`** CSS property controls the use of alternate glyphs for East Asian scripts, like Japanese and Chinese. - * - * **Syntax**: `normal | [ || || ruby ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **63** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian - */ - fontVariantEastAsian?: ConditionalValue< - CssProperties["fontVariantEastAsian"] | AnyString - >; - /** - * **Syntax**: `normal | text | emoji | unicode` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-emoji - */ - fontVariantEmoji?: ConditionalValue< - CssProperties["fontVariantEmoji"] | AnyString - >; - /** - * The **`font-variant-ligatures`** CSS property controls which ligatures and contextual forms are used in textual content of the elements it applies to. This leads to more harmonized forms in the resulting text. - * - * **Syntax**: `normal | none | [ || || || ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :--: | :-: | - * | **34** | **34** | **9.1** | n/a | No | - * | 31 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures - */ - fontVariantLigatures?: ConditionalValue< - CssProperties["fontVariantLigatures"] | AnyString - >; - /** - * The **`font-variant-numeric`** CSS property controls the usage of alternate glyphs for numbers, fractions, and ordinal markers. - * - * **Syntax**: `normal | [ || || || ordinal || slashed-zero ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **52** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric - */ - fontVariantNumeric?: ConditionalValue< - CssProperties["fontVariantNumeric"] | AnyString - >; - /** - * The **`font-variant-position`** CSS property controls the use of alternate, smaller glyphs that are positioned as superscript or subscript. - * - * **Syntax**: `normal | sub | super` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :--: | :-: | - * | **117** | **34** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-variant-position - */ - fontVariantPosition?: ConditionalValue< - CssProperties["fontVariantPosition"] | AnyString - >; - /** - * The **`font-weight`** CSS property sets the weight (or boldness) of the font. The weights available depend on the `font-family` that is currently set. - * - * **Syntax**: ` | bolder | lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **2** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/font-weight - */ - fontWeight?: ConditionalValue< - | UtilityValues["fontWeight"] - | CssVars - | CssProperties["fontWeight"] - | AnyString - >; - /** - * The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS. - * - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :-----------------------------: | :---------------------------------: | - * | **89** | **113** | No | **79** | **10** _(-ms-high-contrast-adjust)_ | - * | | | | 12 _(-ms-high-contrast-adjust)_ | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust - */ - forcedColorAdjust?: ConditionalValue< - CssVars | CssProperties["forcedColorAdjust"] | AnyString - >; - /** - * The **`gap`** CSS property sets the gaps (gutters) between rows and columns. It is a shorthand for `row-gap` and `column-gap`. - * - * **Syntax**: `<'row-gap'> <'column-gap'>?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/gap - */ - gap?: ConditionalValue< - UtilityValues["gap"] | CssVars | CssProperties["gap"] | AnyString - >; - /** - * The **`grid`** CSS property is a shorthand property that sets all of the explicit and implicit grid properties in a single declaration. - * - * **Syntax**: `<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid - */ - grid?: ConditionalValue; - /** - * The **`grid-area`** CSS shorthand property specifies a grid item's size and location within a grid by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area. - * - * **Syntax**: ` [ / ]{0,3}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-area - */ - gridArea?: ConditionalValue; - /** - * The **`grid-auto-columns`** CSS property specifies the size of an implicitly-created grid column track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns - */ - gridAutoColumns?: ConditionalValue< - | UtilityValues["gridAutoColumns"] - | CssVars - | CssProperties["gridAutoColumns"] - | AnyString - >; - /** - * The **`grid-auto-flow`** CSS property controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid. - * - * **Syntax**: `[ row | column ] || dense` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow - */ - gridAutoFlow?: ConditionalValue; - /** - * The **`grid-auto-rows`** CSS property specifies the size of an implicitly-created grid row track or pattern of tracks. - * - * **Syntax**: `+` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **70** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows - */ - gridAutoRows?: ConditionalValue< - | UtilityValues["gridAutoRows"] - | CssVars - | CssProperties["gridAutoRows"] - | AnyString - >; - /** - * The **`grid-column`** CSS shorthand property specifies a grid item's size and location within a grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column - */ - gridColumn?: ConditionalValue< - | UtilityValues["gridColumn"] - | CssVars - | CssProperties["gridColumn"] - | AnyString - >; - /** - * The **`grid-column-end`** CSS property specifies a grid item's end position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the block-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-end - */ - gridColumnEnd?: ConditionalValue; - gridColumnGap?: ConditionalValue< - | UtilityValues["gridColumnGap"] - | CssVars - | CssProperties["gridColumnGap"] - | AnyString - >; - /** - * The **`grid-column-start`** CSS property specifies a grid item's start position within the grid column by contributing a line, a span, or nothing (automatic) to its grid placement. This start position defines the block-start edge of the grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-column-start - */ - gridColumnStart?: ConditionalValue< - CssProperties["gridColumnStart"] | AnyString - >; - gridGap?: ConditionalValue< - UtilityValues["gridGap"] | CssVars | CssProperties["gridGap"] | AnyString - >; - /** - * The **`grid-row`** CSS shorthand property specifies a grid item's size and location within a grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start and inline-end edge of its grid area. - * - * **Syntax**: ` [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row - */ - gridRow?: ConditionalValue< - UtilityValues["gridRow"] | CssVars | CssProperties["gridRow"] | AnyString - >; - /** - * The **`grid-row-end`** CSS property specifies a grid item's end position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-end edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-end - */ - gridRowEnd?: ConditionalValue; - gridRowGap?: ConditionalValue< - | UtilityValues["gridRowGap"] - | CssVars - | CssProperties["gridRowGap"] - | AnyString - >; - /** - * The **`grid-row-start`** CSS property specifies a grid item's start position within the grid row by contributing a line, a span, or nothing (automatic) to its grid placement, thereby specifying the inline-start edge of its grid area. - * - * **Syntax**: `` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-row-start - */ - gridRowStart?: ConditionalValue; - /** - * The **`grid-template`** CSS property is a shorthand property for defining grid columns, grid rows, and grid areas. - * - * **Syntax**: `none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ ? ? ? ]+ [ / ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template - */ - gridTemplate?: ConditionalValue; - /** - * The **`grid-template-areas`** CSS property specifies named grid areas, establishing the cells in the grid and assigning them names. - * - * **Syntax**: `none | +` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-: | - * | **57** | **52** | **10.1** | **16** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-areas - */ - gridTemplateAreas?: ConditionalValue< - CssProperties["gridTemplateAreas"] | AnyString - >; - /** - * The **`grid-template-columns`** CSS property defines the line names and track sizing functions of the grid columns. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :-------------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-columns)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-columns - */ - gridTemplateColumns?: ConditionalValue< - | UtilityValues["gridTemplateColumns"] - | CssVars - | CssProperties["gridTemplateColumns"] - | AnyString - >; - /** - * The **`grid-template-rows`** CSS property defines the line names and track sizing functions of the grid rows. - * - * **Syntax**: `none | | | subgrid ?` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----------------------: | - * | **57** | **52** | **10.1** | **16** | **10** _(-ms-grid-rows)_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/grid-template-rows - */ - gridTemplateRows?: ConditionalValue< - | UtilityValues["gridTemplateRows"] - | CssVars - | CssProperties["gridTemplateRows"] - | AnyString - >; - /** - * The **`hanging-punctuation`** CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box. - * - * **Syntax**: `none | [ first || [ force-end | allow-end ] || last ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | No | **10** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation - */ - hangingPunctuation?: ConditionalValue< - CssProperties["hangingPunctuation"] | AnyString - >; - /** - * The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/height - */ - height?: ConditionalValue< - UtilityValues["height"] | CssVars | CssProperties["height"] | AnyString - >; - /** - * The **`hyphenate-character`** CSS property sets the character (or string) used at the end of a line before a hyphenation break. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :--: | :-: | - * | **106** | **98** | **17** | n/a | No | - * | 6 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphenate-character - */ - hyphenateCharacter?: ConditionalValue< - CssProperties["hyphenateCharacter"] | AnyString - >; - /** - * The **`hyphenate-limit-chars`** CSS property specifies the minimum word length to allow hyphenation of words as well as the the minimum number of characters before and after the hyphen. - * - * **Syntax**: `[ auto | ]{1,3}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - */ - hyphenateLimitChars?: ConditionalValue< - CssProperties["hyphenateLimitChars"] | AnyString - >; - /** - * The **`hyphens`** CSS property specifies how words should be hyphenated when text wraps across multiple lines. It can prevent hyphenation entirely, hyphenate at manually-specified points within the text, or let the browser automatically insert hyphens where appropriate. - * - * **Syntax**: `none | manual | auto` - * - * **Initial value**: `manual` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :----: | :----------: | - * | **55** | **43** | **17** | **79** | **10** _-x-_ | - * | 13 _-x-_ | 6 _-x-_ | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/hyphens - */ - hyphens?: ConditionalValue; - /** - * The **`image-orientation`** CSS property specifies a layout-independent correction to the orientation of an image. - * - * **Syntax**: `from-image | | [ ? flip ]` - * - * **Initial value**: `from-image` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **81** | **26** | **13.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-orientation - */ - imageOrientation?: ConditionalValue< - CssProperties["imageOrientation"] | AnyString - >; - /** - * The **`image-rendering`** CSS property sets an image scaling algorithm. The property applies to an element itself, to any images set in its other properties, and to its descendants. - * - * **Syntax**: `auto | crisp-edges | pixelated` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **13** | **3.6** | **6** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/image-rendering - */ - imageRendering?: ConditionalValue< - CssProperties["imageRendering"] | AnyString - >; - /** - * **Syntax**: `[ from-image || ] && snap?` - * - * **Initial value**: `1dppx` - */ - imageResolution?: ConditionalValue< - CssProperties["imageResolution"] | AnyString - >; - imeMode?: ConditionalValue; - /** - * The `initial-letter` CSS property sets styling for dropped, raised, and sunken initial letters. - * - * **Syntax**: `normal | [ ? ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :---------: | :--: | :-: | - * | **110** | No | **9** _-x-_ | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/initial-letter - */ - initialLetter?: ConditionalValue; - initialLetterAlign?: ConditionalValue< - CssProperties["initialLetterAlign"] | AnyString - >; - /** - * The **`inline-size`** CSS property defines the horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `width` or the `height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'width'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inline-size - */ - inlineSize?: ConditionalValue< - | UtilityValues["inlineSize"] - | CssVars - | CssProperties["inlineSize"] - | AnyString - >; - /** - * **Syntax**: `auto | none` - * - * **Initial value**: `auto` - */ - inputSecurity?: ConditionalValue; - /** - * The **`inset`** CSS property is a shorthand that corresponds to the `top`, `right`, `bottom`, and/or `left` properties. It has the same multi-value syntax of the `margin` shorthand. - * - * **Syntax**: `<'top'>{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset - */ - inset?: ConditionalValue< - UtilityValues["inset"] | CssVars | CssProperties["inset"] | AnyString - >; - /** - * The **`inset-block`** CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block - */ - insetBlock?: ConditionalValue< - | UtilityValues["insetBlock"] - | CssVars - | CssProperties["insetBlock"] - | AnyString - >; - /** - * The **`inset-block-end`** CSS property defines the logical block end offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-end - */ - insetBlockEnd?: ConditionalValue< - | UtilityValues["insetBlockEnd"] - | CssVars - | CssProperties["insetBlockEnd"] - | AnyString - >; - /** - * The **`inset-block-start`** CSS property defines the logical block start offset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block-start - */ - insetBlockStart?: ConditionalValue< - | UtilityValues["insetBlockStart"] - | CssVars - | CssProperties["insetBlockStart"] - | AnyString - >; - /** - * The **`inset-inline`** CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline - */ - insetInline?: ConditionalValue< - | UtilityValues["insetInline"] - | CssVars - | CssProperties["insetInline"] - | AnyString - >; - /** - * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end - */ - insetInlineEnd?: ConditionalValue< - | UtilityValues["insetInlineEnd"] - | CssVars - | CssProperties["insetInlineEnd"] - | AnyString - >; - /** - * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start - */ - insetInlineStart?: ConditionalValue< - | UtilityValues["insetInlineStart"] - | CssVars - | CssProperties["insetInlineStart"] - | AnyString - >; - /** - * The **`isolation`** CSS property determines whether an element must create a new stacking context. - * - * **Syntax**: `auto | isolate` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **36** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/isolation - */ - isolation?: ConditionalValue< - CssVars | CssProperties["isolation"] | AnyString - >; - /** - * The CSS **`justify-content`** property defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. - * - * **Syntax**: `normal | | ? [ | left | right ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :----: | - * | **29** | **20** | **9** | **12** | **11** | - * | 21 _-x-_ | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-content - */ - justifyContent?: ConditionalValue< - CssProperties["justifyContent"] | AnyString - >; - /** - * The CSS **`justify-items`** property defines the default `justify-self` for all items of the box, giving them all a default way of justifying each box along the appropriate axis. - * - * **Syntax**: `normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]` - * - * **Initial value**: `legacy` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :----: | - * | **52** | **20** | **9** | **12** | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-items - */ - justifyItems?: ConditionalValue; - /** - * The CSS **`justify-self`** property sets the way a box is justified inside its alignment container along the appropriate axis. - * - * **Syntax**: `auto | normal | stretch | | ? [ | left | right ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :----: | - * | **57** | **45** | **10.1** | **16** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-self - */ - justifySelf?: ConditionalValue; - /** - * The **`justify-tracks`** CSS property sets the alignment in the masonry axis for grid containers that have masonry in their inline axis. - * - * **Syntax**: `[ normal | | ? [ | left | right ] ]#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | No | n/a | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/justify-tracks - */ - justifyTracks?: ConditionalValue; - /** - * The **`left`** CSS property participates in specifying the horizontal position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/left - */ - left?: ConditionalValue< - UtilityValues["left"] | CssVars | CssProperties["left"] | AnyString - >; - /** - * The **`letter-spacing`** CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of `letter-spacing` causes characters to spread farther apart, while negative values of `letter-spacing` bring characters closer together. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/letter-spacing - */ - letterSpacing?: ConditionalValue< - | UtilityValues["letterSpacing"] - | CssVars - | CssProperties["letterSpacing"] - | AnyString - >; - /** - * The **`line-break`** CSS property sets how to break lines of Chinese, Japanese, or Korean (CJK) text when working with punctuation and symbols. - * - * **Syntax**: `auto | loose | normal | strict | anywhere` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **58** | **69** | **11** | **14** | **5.5** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-break - */ - lineBreak?: ConditionalValue< - CssVars | CssProperties["lineBreak"] | AnyString - >; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - lineClamp?: ConditionalValue; - /** - * The **`line-height`** CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height. - * - * **Syntax**: `normal | | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height - */ - lineHeight?: ConditionalValue< - | UtilityValues["lineHeight"] - | CssVars - | CssProperties["lineHeight"] - | AnyString - >; - /** - * The **`line-height-step`** CSS property sets the step unit for line box heights. When the property is set, line box heights are rounded up to the closest multiple of the unit. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | n/a | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/line-height-step - */ - lineHeightStep?: ConditionalValue< - CssProperties["lineHeightStep"] | AnyString - >; - /** - * The **`list-style`** CSS shorthand property allows you to set all the list style properties at once. - * - * **Syntax**: `<'list-style-type'> || <'list-style-position'> || <'list-style-image'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style - */ - listStyle?: ConditionalValue; - /** - * The **`list-style-image`** CSS property sets an image to be used as the list item marker. - * - * **Syntax**: ` | none` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-image - */ - listStyleImage?: ConditionalValue< - CssProperties["listStyleImage"] | AnyString - >; - /** - * The **`list-style-position`** CSS property sets the position of the `::marker` relative to a list item. - * - * **Syntax**: `inside | outside` - * - * **Initial value**: `outside` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-position - */ - listStylePosition?: ConditionalValue< - CssProperties["listStylePosition"] | AnyString - >; - /** - * The **`list-style-type`** CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element. - * - * **Syntax**: ` | | none` - * - * **Initial value**: `disc` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/list-style-type - */ - listStyleType?: ConditionalValue; - /** - * The **`margin`** CSS shorthand property sets the margin area on all four sides of an element. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin - */ - margin?: ConditionalValue< - UtilityValues["margin"] | CssVars | CssProperties["margin"] | AnyString - >; - /** - * The **`margin-block`** CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block - */ - marginBlock?: ConditionalValue< - | UtilityValues["marginBlock"] - | CssVars - | CssProperties["marginBlock"] - | AnyString - >; - /** - * The **`margin-block-end`** CSS property defines the logical block end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-end - */ - marginBlockEnd?: ConditionalValue< - | UtilityValues["marginBlockEnd"] - | CssVars - | CssProperties["marginBlockEnd"] - | AnyString - >; - /** - * The **`margin-block-start`** CSS property defines the logical block start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block-start - */ - marginBlockStart?: ConditionalValue< - | UtilityValues["marginBlockStart"] - | CssVars - | CssProperties["marginBlockStart"] - | AnyString - >; - /** - * The **`margin-bottom`** CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom - */ - marginBottom?: ConditionalValue< - | UtilityValues["marginBottom"] - | CssVars - | CssProperties["marginBottom"] - | AnyString - >; - /** - * The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline - */ - marginInline?: ConditionalValue< - | UtilityValues["marginInline"] - | CssVars - | CssProperties["marginInline"] - | AnyString - >; - /** - * The **`margin-inline-end`** CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------------: | :-------------------: | :----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-end)_ | 3 _(-moz-margin-end)_ | 3 _(-webkit-margin-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-end - */ - marginInlineEnd?: ConditionalValue< - | UtilityValues["marginInlineEnd"] - | CssVars - | CssProperties["marginInlineEnd"] - | AnyString - >; - /** - * The **`margin-inline-start`** CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :---------------------: | :------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-start)_ | 3 _(-moz-margin-start)_ | 3 _(-webkit-margin-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-start - */ - marginInlineStart?: ConditionalValue< - | UtilityValues["marginInlineStart"] - | CssVars - | CssProperties["marginInlineStart"] - | AnyString - >; - /** - * The **`margin-left`** CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-left - */ - marginLeft?: ConditionalValue< - | UtilityValues["marginLeft"] - | CssVars - | CssProperties["marginLeft"] - | AnyString - >; - /** - * The **`margin-right`** CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-right - */ - marginRight?: ConditionalValue< - | UtilityValues["marginRight"] - | CssVars - | CssProperties["marginRight"] - | AnyString - >; - /** - * The **`margin-top`** CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-top - */ - marginTop?: ConditionalValue< - | UtilityValues["marginTop"] - | CssVars - | CssProperties["marginTop"] - | AnyString - >; - /** - * The `margin-trim` property allows the container to trim the margins of its children where they adjoin the container's edges. - * - * **Syntax**: `none | in-flow | all` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | No | No | **16.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-trim - */ - marginTrim?: ConditionalValue; - /** - * The **`mask`** CSS shorthand property hides an element (partially or fully) by masking or clipping the image at specific points. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-------: | :---: | :-: | - * | **1** | **53** | **15.4** | 12-79 | No | - * | | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask - */ - mask?: ConditionalValue; - /** - * The **`mask-border`** CSS shorthand property lets you create a mask along the edge of an element's border. - * - * **Syntax**: `<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------: | :-----: | :----------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border - */ - maskBorder?: ConditionalValue; - /** - * The **`mask-border-mode`** CSS property specifies the blending mode used in a mask border. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `alpha` - */ - maskBorderMode?: ConditionalValue< - CssProperties["maskBorderMode"] | AnyString - >; - /** - * The **`mask-border-outset`** CSS property specifies the distance by which an element's mask border is set out from its border box. - * - * **Syntax**: `[ | ]{1,4}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-outset)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-outset)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-outset - */ - maskBorderOutset?: ConditionalValue< - CssProperties["maskBorderOutset"] | AnyString - >; - /** - * The **`mask-border-repeat`** CSS property sets how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border. - * - * **Syntax**: `[ stretch | repeat | round | space ]{1,2}` - * - * **Initial value**: `stretch` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-repeat)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-repeat)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-repeat - */ - maskBorderRepeat?: ConditionalValue< - CssProperties["maskBorderRepeat"] | AnyString - >; - /** - * The **`mask-border-slice`** CSS property divides the image set by `mask-border-source` into regions. These regions are used to form the components of an element's mask border. - * - * **Syntax**: `{1,4} fill?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-slice)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-slice)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-slice - */ - maskBorderSlice?: ConditionalValue< - CssProperties["maskBorderSlice"] | AnyString - >; - /** - * The **`mask-border-source`** CSS property sets the source image used to create an element's mask border. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------------------: | :-----: | :-----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-source)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-source)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-source - */ - maskBorderSource?: ConditionalValue< - CssProperties["maskBorderSource"] | AnyString - >; - /** - * The **`mask-border-width`** CSS property sets the width of an element's mask border. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------------------: | :-----: | :----------------------------------: | :--: | :-: | - * | **1** _(-webkit-mask-box-image-width)_ | No | **17.2** | n/a | No | - * | | | 3.1 _(-webkit-mask-box-image-width)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-border-width - */ - maskBorderWidth?: ConditionalValue< - CssProperties["maskBorderWidth"] | AnyString - >; - /** - * The **`mask-clip`** CSS property determines the area which is affected by a mask. The painted content of an element must be restricted to this area. - * - * **Syntax**: `[ | no-clip ]#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-clip - */ - maskClip?: ConditionalValue; - /** - * The **`mask-composite`** CSS property represents a compositing operation used on the current mask layer with the mask layers below it. - * - * **Syntax**: `#` - * - * **Initial value**: `add` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-composite - */ - maskComposite?: ConditionalValue; - /** - * The **`mask-image`** CSS property sets the image that is used as mask layer for an element. By default this means the alpha channel of the mask image will be multiplied with the alpha channel of the element. This can be controlled with the `mask-mode` property. - * - * **Syntax**: `#` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 16-79 | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-image - */ - maskImage?: ConditionalValue; - /** - * The **`mask-mode`** CSS property sets whether the mask reference defined by `mask-image` is treated as a luminance or alpha mask. - * - * **Syntax**: `#` - * - * **Initial value**: `match-source` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-mode - */ - maskMode?: ConditionalValue; - /** - * The **`mask-origin`** CSS property sets the origin of a mask. - * - * **Syntax**: `#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **120** | **53** | **15.4** | n/a | No | - * | 1 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-origin - */ - maskOrigin?: ConditionalValue; - /** - * The **`mask-position`** CSS property sets the initial position, relative to the mask position layer set by `mask-origin`, for each defined mask image. - * - * **Syntax**: `#` - * - * **Initial value**: `center` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-position - */ - maskPosition?: ConditionalValue; - /** - * The **`mask-repeat`** CSS property sets how mask images are repeated. A mask image can be repeated along the horizontal axis, the vertical axis, both axes, or not repeated at all. - * - * **Syntax**: `#` - * - * **Initial value**: `repeat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-repeat - */ - maskRepeat?: ConditionalValue; - /** - * The **`mask-size`** CSS property specifies the sizes of the mask images. The size of the image can be fully or partially constrained in order to preserve its intrinsic ratio. - * - * **Syntax**: `#` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :---: | :-: | - * | **120** | **53** | **15.4** | 18-79 | No | - * | 4 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-size - */ - maskSize?: ConditionalValue; - /** - * The **`mask-type`** CSS property sets whether an SVG `` element is used as a _luminance_ or an _alpha_ mask. It applies to the `` element itself. - * - * **Syntax**: `luminance | alpha` - * - * **Initial value**: `luminance` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **24** | **35** | **7** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mask-type - */ - maskType?: ConditionalValue; - /** - * This feature is not Baseline because it does not work in some of the most widely-used browsers. - * - * **Syntax**: `[ pack | next ] || [ definite-first | ordered ]` - * - * **Initial value**: `pack` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :---------: | :--: | :-: | - * | No | No | **preview** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/masonry-auto-flow - */ - masonryAutoFlow?: ConditionalValue< - CssProperties["masonryAutoFlow"] | AnyString - >; - /** - * The **`math-depth`** property describes a notion of _depth_ for each element of a mathematical formula, with respect to the top-level container of that formula. Concretely, this is used to determine the computed value of the font-size property when its specified value is `math`. - * - * **Syntax**: `auto-add | add() | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | **117** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-depth - */ - mathDepth?: ConditionalValue; - /** - * The `math-shift` property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **109** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-shift - */ - mathShift?: ConditionalValue; - /** - * The `math-style` property indicates whether MathML equations should render with normal or compact height. - * - * **Syntax**: `normal | compact` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :------: | :--: | :-: | - * | **109** | **117** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/math-style - */ - mathStyle?: ConditionalValue; - /** - * The **`max-block-size`** CSS property specifies the maximum size of an element in the direction opposite that of the writing direction as specified by `writing-mode`. That is, if the writing direction is horizontal, then `max-block-size` is equivalent to `max-height`; if the writing direction is vertical, `max-block-size` is the same as `max-width`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-block-size - */ - maxBlockSize?: ConditionalValue< - | UtilityValues["maxBlockSize"] - | CssVars - | CssProperties["maxBlockSize"] - | AnyString - >; - /** - * The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **18** | **1** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-height - */ - maxHeight?: ConditionalValue< - | UtilityValues["maxHeight"] - | CssVars - | CssProperties["maxHeight"] - | AnyString - >; - /** - * The **`max-inline-size`** CSS property defines the horizontal or vertical maximum size of an element's block, depending on its writing mode. It corresponds to either the `max-width` or the `max-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'max-width'>` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :--------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * | | | 10.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-inline-size - */ - maxInlineSize?: ConditionalValue< - | UtilityValues["maxInlineSize"] - | CssVars - | CssProperties["maxInlineSize"] - | AnyString - >; - /** - * **Syntax**: `none | ` - * - * **Initial value**: `none` - */ - maxLines?: ConditionalValue; - /** - * The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-width - */ - maxWidth?: ConditionalValue< - UtilityValues["maxWidth"] | CssVars | CssProperties["maxWidth"] | AnyString - >; - /** - * The **`min-block-size`** CSS property defines the minimum horizontal or vertical size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-block-size - */ - minBlockSize?: ConditionalValue< - | UtilityValues["minBlockSize"] - | CssVars - | CssProperties["minBlockSize"] - | AnyString - >; - /** - * The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **3** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-height - */ - minHeight?: ConditionalValue< - | UtilityValues["minHeight"] - | CssVars - | CssProperties["minHeight"] - | AnyString - >; - /** - * The **`min-inline-size`** CSS property defines the horizontal or vertical minimal size of an element's block, depending on its writing mode. It corresponds to either the `min-width` or the `min-height` property, depending on the value of `writing-mode`. - * - * **Syntax**: `<'min-width'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-inline-size - */ - minInlineSize?: ConditionalValue< - | UtilityValues["minInlineSize"] - | CssVars - | CssProperties["minInlineSize"] - | AnyString - >; - /** - * The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-width - */ - minWidth?: ConditionalValue< - UtilityValues["minWidth"] | CssVars | CssProperties["minWidth"] | AnyString - >; - /** - * The **`mix-blend-mode`** CSS property sets how an element's content should blend with the content of the element's parent and the element's background. - * - * **Syntax**: ` | plus-lighter` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **41** | **32** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode - */ - mixBlendMode?: ConditionalValue< - CssVars | CssProperties["mixBlendMode"] | AnyString - >; - /** - * The **`object-fit`** CSS property sets how the content of a replaced element, such as an `` or `
` cells, rows, and columns. - * - * **Syntax**: `auto | fixed` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **14** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/table-layout - */ - tableLayout?: ConditionalValue; - /** - * The **`text-align`** CSS property sets the horizontal alignment of the inline-level content inside a block element or table-cell box. This means it works like `vertical-align` but in the horizontal direction. - * - * **Syntax**: `start | end | left | right | center | justify | match-parent` - * - * **Initial value**: `start`, or a nameless value that acts as `left` if _direction_ is `ltr`, `right` if _direction_ is `rtl` if `start` is not supported by the browser. - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align - */ - textAlign?: ConditionalValue; - /** - * The **`text-align-last`** CSS property sets how the last line of a block or a line, right before a forced line break, is aligned. - * - * **Syntax**: `auto | start | end | left | right | center | justify` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **47** | **49** | **16** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-align-last - */ - textAlignLast?: ConditionalValue; - /** - * The **`text-combine-upright`** CSS property sets the combination of characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes. - * - * **Syntax**: `none | all | [ digits ? ]` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :-----: | :--------------------------: | :----: | :------------------------------------: | - * | **48** | **48** | **15.4** | **79** | **11** _(-ms-text-combine-horizontal)_ | - * | 9 _(-webkit-text-combine)_ | | 5.1 _(-webkit-text-combine)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-combine-upright - */ - textCombineUpright?: ConditionalValue< - CssProperties["textCombineUpright"] | AnyString - >; - /** - * The **`text-decoration`** shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for `text-decoration-line`, `text-decoration-color`, `text-decoration-style`, and the newer `text-decoration-thickness` property. - * - * **Syntax**: `<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration - */ - textDecoration?: ConditionalValue< - CssProperties["textDecoration"] | AnyString - >; - /** - * The **`text-decoration-color`** CSS property sets the color of decorations added to text by `text-decoration-line`. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-color - */ - textDecorationColor?: ConditionalValue< - | UtilityValues["textDecorationColor"] - | CssVars - | CssProperties["textDecorationColor"] - | AnyString - >; - /** - * The **`text-decoration-line`** CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline. - * - * **Syntax**: `none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-line - */ - textDecorationLine?: ConditionalValue< - CssProperties["textDecorationLine"] | AnyString - >; - /** - * The **`text-decoration-skip`** CSS property sets what parts of an element's content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors. - * - * **Syntax**: `none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]` - * - * **Initial value**: `objects` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | 57-64 | No | **12.1** | n/a | No | - * | | | 7 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip - */ - textDecorationSkip?: ConditionalValue< - CssProperties["textDecorationSkip"] | AnyString - >; - /** - * The **`text-decoration-skip-ink`** CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders. - * - * **Syntax**: `auto | all | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **64** | **70** | **15.4** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink - */ - textDecorationSkipInk?: ConditionalValue< - CssProperties["textDecorationSkipInk"] | AnyString - >; - /** - * The **`text-decoration-style`** CSS property sets the style of the lines specified by `text-decoration-line`. The style applies to all lines that are set with `text-decoration-line`. - * - * **Syntax**: `solid | double | dotted | dashed | wavy` - * - * **Initial value**: `solid` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **57** | **36** | **12.1** | n/a | No | - * | | | 8 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-style - */ - textDecorationStyle?: ConditionalValue< - CssProperties["textDecorationStyle"] | AnyString - >; - /** - * The **`text-decoration-thickness`** CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline. - * - * **Syntax**: `auto | from-font | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **89** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness - */ - textDecorationThickness?: ConditionalValue< - CssProperties["textDecorationThickness"] | AnyString - >; - /** - * The **`text-emphasis`** CSS property applies emphasis marks to text (except spaces and control characters). It is a shorthand for `text-emphasis-style` and `text-emphasis-color`. - * - * **Syntax**: `<'text-emphasis-style'> || <'text-emphasis-color'>` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis - */ - textEmphasis?: ConditionalValue; - /** - * The **`text-emphasis-color`** CSS property sets the color of emphasis marks. This value can also be set using the `text-emphasis` shorthand. - * - * **Syntax**: `` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color - */ - textEmphasisColor?: ConditionalValue< - | UtilityValues["textEmphasisColor"] - | CssVars - | CssProperties["textEmphasisColor"] - | AnyString - >; - /** - * The **`text-emphasis-position`** CSS property sets where emphasis marks are drawn. Like ruby text, if there isn't enough room for emphasis marks, the line height is increased. - * - * **Syntax**: `[ over | under ] && [ right | left ]` - * - * **Initial value**: `over right` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position - */ - textEmphasisPosition?: ConditionalValue< - CssProperties["textEmphasisPosition"] | AnyString - >; - /** - * The **`text-emphasis-style`** CSS property sets the appearance of emphasis marks. It can also be set, and reset, using the `text-emphasis` shorthand. - * - * **Syntax**: `none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :----: | :--: | :-: | - * | **99** | **46** | **7** | n/a | No | - * | 25 _-x-_ | | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style - */ - textEmphasisStyle?: ConditionalValue< - CssProperties["textEmphasisStyle"] | AnyString - >; - /** - * The **`text-indent`** CSS property sets the length of empty space (indentation) that is put before lines of text in a block. - * - * **Syntax**: ` && hanging? && each-line?` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-indent - */ - textIndent?: ConditionalValue< - | UtilityValues["textIndent"] - | CssVars - | CssProperties["textIndent"] - | AnyString - >; - /** - * The **`text-justify`** CSS property sets what type of justification should be applied to text when `text-align``: justify;` is set on an element. - * - * **Syntax**: `auto | inter-character | inter-word | none` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :---: | :----: | - * | n/a | **55** | No | 12-79 | **11** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-justify - */ - textJustify?: ConditionalValue; - /** - * The **`text-orientation`** CSS property sets the orientation of the text characters in a line. It only affects text in vertical mode (when `writing-mode` is not `horizontal-tb`). It is useful for controlling the display of languages that use vertical script, and also for making vertical table headers. - * - * **Syntax**: `mixed | upright | sideways` - * - * **Initial value**: `mixed` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-------: | :--: | :-: | - * | **48** | **41** | **14** | n/a | No | - * | 11 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-orientation - */ - textOrientation?: ConditionalValue< - CssProperties["textOrientation"] | AnyString - >; - /** - * The **`text-overflow`** CSS property sets how hidden overflow content is signaled to users. It can be clipped, display an ellipsis ('`…`'), or display a custom string. - * - * **Syntax**: `[ clip | ellipsis | ]{1,2}` - * - * **Initial value**: `clip` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **7** | **1.3** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-overflow - */ - textOverflow?: ConditionalValue; - /** - * The **`text-rendering`** CSS property provides information to the rendering engine about what to optimize for when rendering text. - * - * **Syntax**: `auto | optimizeSpeed | optimizeLegibility | geometricPrecision` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **4** | **1** | **5** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-rendering - */ - textRendering?: ConditionalValue; - /** - * The **`text-shadow`** CSS property adds shadows to text. It accepts a comma-separated list of shadows to be applied to the text and any of its `decorations`. Each shadow is described by some combination of X and Y offsets from the element, blur radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :----: | - * | **2** | **3.5** | **1.1** | **12** | **10** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-shadow - */ - textShadow?: ConditionalValue< - | UtilityValues["textShadow"] - | CssVars - | CssProperties["textShadow"] - | AnyString - >; - /** - * The **`text-size-adjust`** CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property. - * - * **Syntax**: `none | auto | ` - * - * **Initial value**: `auto` for smartphone browsers supporting inflation, `none` in other cases (and then not modifiable). - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-: | - * | **54** | No | No | **79** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-size-adjust - */ - textSizeAdjust?: ConditionalValue< - CssProperties["textSizeAdjust"] | AnyString - >; - /** - * The **`text-transform`** CSS property specifies how to capitalize an element's text. It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized. It also can help improve legibility for ruby. - * - * **Syntax**: `none | capitalize | uppercase | lowercase | full-width | full-size-kana` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-transform - */ - textTransform?: ConditionalValue; - /** - * The **`text-underline-offset`** CSS property sets the offset distance of an underline text decoration line (applied using `text-decoration`) from its original position. - * - * **Syntax**: `auto | | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **70** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-offset - */ - textUnderlineOffset?: ConditionalValue< - CssProperties["textUnderlineOffset"] | AnyString - >; - /** - * The **`text-underline-position`** CSS property specifies the position of the underline which is set using the `text-decoration` property's `underline` value. - * - * **Syntax**: `auto | from-font | [ under || [ left | right ] ]` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **33** | **74** | **12.1** | **12** | **6** | - * | | | 9 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-underline-position - */ - textUnderlinePosition?: ConditionalValue< - CssProperties["textUnderlinePosition"] | AnyString - >; - /** - * The **`text-wrap`** CSS property controls how text inside an element is wrapped. The different values provide: - * - * **Syntax**: `wrap | nowrap | balance | stable | pretty` - * - * **Initial value**: `wrap` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | **121** | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/text-wrap - */ - textWrap?: ConditionalValue< - UtilityValues["textWrap"] | CssVars | CssProperties["textWrap"] | AnyString - >; - /** - * The **`timeline-scope`** CSS property modifies the scope of a named animation timeline. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **116** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/timeline-scope - */ - timelineScope?: ConditionalValue; - /** - * The **`top`** CSS property participates in specifying the vertical position of a positioned element. It has no effect on non-positioned elements. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/top - */ - top?: ConditionalValue< - UtilityValues["top"] | CssVars | CssProperties["top"] | AnyString - >; - /** - * The **`touch-action`** CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser). - * - * **Syntax**: `auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :------: | - * | **36** | **52** | **13** | **12** | **11** | - * | | | | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/touch-action - */ - touchAction?: ConditionalValue< - CssVars | CssProperties["touchAction"] | AnyString - >; - /** - * The **`transform`** CSS property lets you rotate, scale, skew, or translate an element. It modifies the coordinate space of the CSS visual formatting model. - * - * **Syntax**: `none | ` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform - */ - transform?: ConditionalValue; - /** - * The **`transform-box`** CSS property defines the layout box to which the `transform`, individual transform properties `translate`,`scale`, and `rotate`, and `transform-origin` properties relate. - * - * **Syntax**: `content-box | border-box | fill-box | stroke-box | view-box` - * - * **Initial value**: `view-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **64** | **55** | **11** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-box - */ - transformBox?: ConditionalValue< - CssVars | CssProperties["transformBox"] | AnyString - >; - /** - * The **`transform-origin`** CSS property sets the origin for an element's transformations. - * - * **Syntax**: `[ | left | center | right | top | bottom ] | [ [ | left | center | right ] && [ | top | center | bottom ] ] ?` - * - * **Initial value**: `50% 50% 0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :-----: | - * | **36** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 2 _-x-_ | | 9 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-origin - */ - transformOrigin?: ConditionalValue< - CssProperties["transformOrigin"] | AnyString - >; - /** - * The **`transform-style`** CSS property sets whether children of an element are positioned in the 3D space or are flattened in the plane of the element. - * - * **Syntax**: `flat | preserve-3d` - * - * **Initial value**: `flat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :-----: | :-----: | :----: | :-: | - * | **36** | **16** | **9** | **12** | No | - * | 12 _-x-_ | | 4 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transform-style - */ - transformStyle?: ConditionalValue< - CssVars | CssProperties["transformStyle"] | AnyString - >; - /** - * The **`transition`** CSS property is a shorthand property for `transition-property`, `transition-duration`, `transition-timing-function`, and `transition-delay`. - * - * **Syntax**: `#` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :----: | - * | **26** | **16** | **9** | **12** | **10** | - * | 1 _-x-_ | | 3.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition - */ - transition?: ConditionalValue< - | UtilityValues["transition"] - | CssVars - | CssProperties["transition"] - | AnyString - >; - /** - * The **`transition-behavior`** CSS property specifies whether transitions will be started for properties whose animation behavior is discrete. - * - * **Syntax**: `#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **117** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/transition-behavior - */ - transitionBehavior?: ConditionalValue< - CssProperties["transitionBehavior"] | AnyString - >; - /** - * The **`transition-delay`** CSS property specifies the duration to wait before starting a property's transition effect when its value changes. - * - * **Syntax**: `
`. - * - * **Syntax**: `visible | hidden | collapse` - * - * **Initial value**: `visible` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/visibility - */ - visibility?: ConditionalValue< - CssVars | CssProperties["visibility"] | AnyString - >; - /** - * The **`white-space`** CSS property sets how white space inside an element is handled. - * - * **Syntax**: `normal | pre | nowrap | pre-wrap | pre-line | break-spaces | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **1** | **1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space - */ - whiteSpace?: ConditionalValue; - /** - * The **`white-space-collapse`** CSS property controls how white space inside an element is collapsed. - * - * **Syntax**: `collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces` - * - * **Initial value**: `collapse` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :----: | :--: | :-: | - * | **114** | No | No | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/white-space-collapse - */ - whiteSpaceCollapse?: ConditionalValue< - CssProperties["whiteSpaceCollapse"] | AnyString - >; - /** - * The **`widows`** CSS property sets the minimum number of lines in a block container that must be shown at the _top_ of a page, region, or column. - * - * **Syntax**: `` - * - * **Initial value**: `2` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **25** | No | **1.3** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/widows - */ - widows?: ConditionalValue; - /** - * The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/width - */ - width?: ConditionalValue< - UtilityValues["width"] | CssVars | CssProperties["width"] | AnyString - >; - /** - * The **`will-change`** CSS property hints to browsers how an element is expected to change. Browsers may set up optimizations before an element is actually changed. These kinds of optimizations can increase the responsiveness of a page by doing potentially expensive work before they are actually required. - * - * **Syntax**: `auto | #` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :--: | :-: | - * | **36** | **36** | **9.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/will-change - */ - willChange?: ConditionalValue; - /** - * The **`word-break`** CSS property sets whether line breaks appear wherever the text would otherwise overflow its content box. - * - * **Syntax**: `normal | break-all | keep-all | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :-----: | - * | **1** | **15** | **3** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-break - */ - wordBreak?: ConditionalValue< - CssVars | CssProperties["wordBreak"] | AnyString - >; - /** - * The **`word-spacing`** CSS property sets the length of space between words and between tags. - * - * **Syntax**: `normal | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/word-spacing - */ - wordSpacing?: ConditionalValue; - /** - * The **`overflow-wrap`** CSS property applies to inline elements, setting whether the browser should insert line breaks within an otherwise unbreakable string to prevent text from overflowing its line box. - * - * **Syntax**: `normal | break-word` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :-----: | :-: | - * | **≤80** | **≤72** | **≤13.1** | **≤80** | No | - */ - wordWrap?: ConditionalValue; - /** - * The **`writing-mode`** CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (`html` element for HTML documents). - * - * **Syntax**: `horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr` - * - * **Initial value**: `horizontal-tb` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-------: | :----: | :---: | - * | **48** | **41** | **10.1** | **12** | **9** | - * | 8 _-x-_ | | 5.1 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/writing-mode - */ - writingMode?: ConditionalValue< - CssVars | CssProperties["writingMode"] | AnyString - >; - /** - * The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a larger z-index cover those with a smaller one. - * - * **Syntax**: `auto | ` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/z-index - */ - zIndex?: ConditionalValue; - /** - * The non-standard **`zoom`** CSS property can be used to control the magnification level of an element. `transform: scale()` should be used instead of this property, if possible. However, unlike CSS Transforms, `zoom` affects the layout size of the element. - * - * **Syntax**: `normal | reset | | ` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :-----: | - * | **1** | n/a | **3.1** | **12** | **5.5** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/zoom - */ - zoom?: ConditionalValue; - alignmentBaseline?: ConditionalValue< - CssProperties["alignmentBaseline"] | AnyString - >; - baselineShift?: ConditionalValue; - clipRule?: ConditionalValue; - colorInterpolation?: ConditionalValue< - CssProperties["colorInterpolation"] | AnyString - >; - colorRendering?: ConditionalValue< - CssProperties["colorRendering"] | AnyString - >; - dominantBaseline?: ConditionalValue< - CssProperties["dominantBaseline"] | AnyString - >; - fill?: ConditionalValue< - UtilityValues["fill"] | CssVars | CssProperties["fill"] | AnyString - >; - fillOpacity?: ConditionalValue; - fillRule?: ConditionalValue; - floodColor?: ConditionalValue; - floodOpacity?: ConditionalValue; - glyphOrientationVertical?: ConditionalValue< - CssProperties["glyphOrientationVertical"] | AnyString - >; - lightingColor?: ConditionalValue; - marker?: ConditionalValue; - markerEnd?: ConditionalValue; - markerMid?: ConditionalValue; - markerStart?: ConditionalValue; - shapeRendering?: ConditionalValue< - CssProperties["shapeRendering"] | AnyString - >; - stopColor?: ConditionalValue; - stopOpacity?: ConditionalValue; - stroke?: ConditionalValue< - UtilityValues["stroke"] | CssVars | CssProperties["stroke"] | AnyString - >; - strokeDasharray?: ConditionalValue< - CssProperties["strokeDasharray"] | AnyString - >; - strokeDashoffset?: ConditionalValue< - CssProperties["strokeDashoffset"] | AnyString - >; - strokeLinecap?: ConditionalValue; - strokeLinejoin?: ConditionalValue< - CssProperties["strokeLinejoin"] | AnyString - >; - strokeMiterlimit?: ConditionalValue< - CssProperties["strokeMiterlimit"] | AnyString - >; - strokeOpacity?: ConditionalValue; - strokeWidth?: ConditionalValue; - textAnchor?: ConditionalValue; - vectorEffect?: ConditionalValue; - /** - * The **`position`** CSS property sets how an element is positioned in a document. The `top`, `right`, `bottom`, and `left` properties determine the final location of positioned elements. - * - * **Syntax**: `static | relative | absolute | sticky | fixed` - * - * **Initial value**: `static` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/position - */ - pos?: ConditionalValue; - /** - * The **`inset-inline`** CSS property defines the logical start and end offsets of an element in the inline direction, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline - */ - insetX?: ConditionalValue< - | UtilityValues["insetInline"] - | CssVars - | CssProperties["insetInline"] - | AnyString - >; - /** - * The **`inset-block`** CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top` and `bottom`, or `right` and `left` properties depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-block - */ - insetY?: ConditionalValue< - | UtilityValues["insetBlock"] - | CssVars - | CssProperties["insetBlock"] - | AnyString - >; - /** - * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end - */ - insetEnd?: ConditionalValue< - | UtilityValues["insetInlineEnd"] - | CssVars - | CssProperties["insetInlineEnd"] - | AnyString - >; - /** - * The **`inset-inline-end`** CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-end - */ - end?: ConditionalValue< - | UtilityValues["insetInlineEnd"] - | CssVars - | CssProperties["insetInlineEnd"] - | AnyString - >; - /** - * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start - */ - insetStart?: ConditionalValue< - | UtilityValues["insetInlineStart"] - | CssVars - | CssProperties["insetInlineStart"] - | AnyString - >; - /** - * The **`inset-inline-start`** CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the `top`, `right`, `bottom`, or `left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'top'>` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **63** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/inset-inline-start - */ - start?: ConditionalValue< - | UtilityValues["insetInlineStart"] - | CssVars - | CssProperties["insetInlineStart"] - | AnyString - >; - /** - * The **`flex-direction`** CSS property sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed). - * - * **Syntax**: `row | row-reverse | column | column-reverse` - * - * **Initial value**: `row` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------: | :------: | :-----: | :----: | :------: | - * | **29** | **81** | **9** | **12** | **11** | - * | 21 _-x-_ | 49 _-x-_ | 7 _-x-_ | | 10 _-x-_ | - * - * @see https://developer.mozilla.org/docs/Web/CSS/flex-direction - */ - flexDir?: ConditionalValue; - /** - * The **`padding`** CSS shorthand property sets the padding area on all four sides of an element at once. - * - * **Syntax**: `[ | ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding - */ - p?: ConditionalValue< - UtilityValues["padding"] | CssVars | CssProperties["padding"] | AnyString - >; - /** - * The **`padding-left`** CSS property sets the width of the padding area to the left of an element. - * - * **Syntax**: ` | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-left - */ - pl?: ConditionalValue< - | UtilityValues["paddingLeft"] - | CssVars - | CssProperties["paddingLeft"] - | AnyString - >; - /** - * The **`padding-right`** CSS property sets the width of the padding area on the right of an element. - * - * **Syntax**: ` | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-right - */ - pr?: ConditionalValue< - | UtilityValues["paddingRight"] - | CssVars - | CssProperties["paddingRight"] - | AnyString - >; - /** - * The **`padding-top`** CSS property sets the height of the padding area on the top of an element. - * - * **Syntax**: ` | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-top - */ - pt?: ConditionalValue< - | UtilityValues["paddingTop"] - | CssVars - | CssProperties["paddingTop"] - | AnyString - >; - /** - * The **`padding-bottom`** CSS property sets the height of the padding area on the bottom of an element. - * - * **Syntax**: ` | ` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom - */ - pb?: ConditionalValue< - | UtilityValues["paddingBottom"] - | CssVars - | CssProperties["paddingBottom"] - | AnyString - >; - /** - * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-block - */ - py?: ConditionalValue< - | UtilityValues["paddingBlock"] - | CssVars - | CssProperties["paddingBlock"] - | AnyString - >; - /** - * The **`padding-block`** CSS shorthand property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-block - */ - paddingY?: ConditionalValue< - | UtilityValues["paddingBlock"] - | CssVars - | CssProperties["paddingBlock"] - | AnyString - >; - /** - * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline - */ - paddingX?: ConditionalValue< - | UtilityValues["paddingInline"] - | CssVars - | CssProperties["paddingInline"] - | AnyString - >; - /** - * The **`padding-inline`** CSS shorthand property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline - */ - px?: ConditionalValue< - | UtilityValues["paddingInline"] - | CssVars - | CssProperties["paddingInline"] - | AnyString - >; - /** - * The **`padding-inline-end`** CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------------------: | :--------------------: | :-----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-padding-end)_ | 3 _(-moz-padding-end)_ | 3 _(-webkit-padding-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-end - */ - pe?: ConditionalValue< - | UtilityValues["paddingInlineEnd"] - | CssVars - | CssProperties["paddingInlineEnd"] - | AnyString - >; - /** - * The **`padding-inline-end`** CSS property defines the logical inline end padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----------------------: | :--------------------: | :-----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-padding-end)_ | 3 _(-moz-padding-end)_ | 3 _(-webkit-padding-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-end - */ - paddingEnd?: ConditionalValue< - | UtilityValues["paddingInlineEnd"] - | CssVars - | CssProperties["paddingInlineEnd"] - | AnyString - >; - /** - * The **`padding-inline-start`** CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------: | :----------------------: | :-------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-padding-start)_ | 3 _(-moz-padding-start)_ | 3 _(-webkit-padding-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-start - */ - ps?: ConditionalValue< - | UtilityValues["paddingInlineStart"] - | CssVars - | CssProperties["paddingInlineStart"] - | AnyString - >; - /** - * The **`padding-inline-start`** CSS property defines the logical inline start padding of an element, which maps to a physical padding depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'padding-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-------------------------: | :----------------------: | :-------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-padding-start)_ | 3 _(-moz-padding-start)_ | 3 _(-webkit-padding-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/padding-inline-start - */ - paddingStart?: ConditionalValue< - | UtilityValues["paddingInlineStart"] - | CssVars - | CssProperties["paddingInlineStart"] - | AnyString - >; - /** - * The **`margin-left`** CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-left - */ - ml?: ConditionalValue< - | UtilityValues["marginLeft"] - | CssVars - | CssProperties["marginLeft"] - | AnyString - >; - /** - * The **`margin-right`** CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-right - */ - mr?: ConditionalValue< - | UtilityValues["marginRight"] - | CssVars - | CssProperties["marginRight"] - | AnyString - >; - /** - * The **`margin-top`** CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-top - */ - mt?: ConditionalValue< - | UtilityValues["marginTop"] - | CssVars - | CssProperties["marginTop"] - | AnyString - >; - /** - * The **`margin-bottom`** CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer. - * - * **Syntax**: ` | | auto` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom - */ - mb?: ConditionalValue< - | UtilityValues["marginBottom"] - | CssVars - | CssProperties["marginBottom"] - | AnyString - >; - /** - * The **`margin`** CSS shorthand property sets the margin area on all four sides of an element. - * - * **Syntax**: `[ | | auto ]{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **3** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin - */ - m?: ConditionalValue< - UtilityValues["margin"] | CssVars | CssProperties["margin"] | AnyString - >; - /** - * The **`margin-block`** CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block - */ - my?: ConditionalValue< - | UtilityValues["marginBlock"] - | CssVars - | CssProperties["marginBlock"] - | AnyString - >; - /** - * The **`margin-block`** CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-block - */ - marginY?: ConditionalValue< - | UtilityValues["marginBlock"] - | CssVars - | CssProperties["marginBlock"] - | AnyString - >; - /** - * The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline - */ - mx?: ConditionalValue< - | UtilityValues["marginInline"] - | CssVars - | CssProperties["marginInline"] - | AnyString - >; - /** - * The **`margin-inline`** CSS shorthand property is a shorthand property that defines both the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation. - * - * **Syntax**: `<'margin-left'>{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline - */ - marginX?: ConditionalValue< - | UtilityValues["marginInline"] - | CssVars - | CssProperties["marginInline"] - | AnyString - >; - /** - * The **`margin-inline-end`** CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------------: | :-------------------: | :----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-end)_ | 3 _(-moz-margin-end)_ | 3 _(-webkit-margin-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-end - */ - me?: ConditionalValue< - | UtilityValues["marginInlineEnd"] - | CssVars - | CssProperties["marginInlineEnd"] - | AnyString - >; - /** - * The **`margin-inline-end`** CSS property defines the logical inline end margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. In other words, it corresponds to the `margin-top`, `margin-right`, `margin-bottom` or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----------------------: | :-------------------: | :----------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-end)_ | 3 _(-moz-margin-end)_ | 3 _(-webkit-margin-end)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-end - */ - marginEnd?: ConditionalValue< - | UtilityValues["marginInlineEnd"] - | CssVars - | CssProperties["marginInlineEnd"] - | AnyString - >; - /** - * The **`margin-inline-start`** CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :---------------------: | :------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-start)_ | 3 _(-moz-margin-start)_ | 3 _(-webkit-margin-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-start - */ - ms?: ConditionalValue< - | UtilityValues["marginInlineStart"] - | CssVars - | CssProperties["marginInlineStart"] - | AnyString - >; - /** - * The **`margin-inline-start`** CSS property defines the logical inline start margin of an element, which maps to a physical margin depending on the element's writing mode, directionality, and text orientation. It corresponds to the `margin-top`, `margin-right`, `margin-bottom`, or `margin-left` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'margin-left'>` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :------------------------: | :---------------------: | :------------------------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | 2 _(-webkit-margin-start)_ | 3 _(-moz-margin-start)_ | 3 _(-webkit-margin-start)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/margin-inline-start - */ - marginStart?: ConditionalValue< - | UtilityValues["marginInlineStart"] - | CssVars - | CssProperties["marginInlineStart"] - | AnyString - >; - /** - * The CSS **`outline-width`** property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the `border`. - * - * **Syntax**: `` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1.5** | **1.2** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline-width - */ - ringWidth?: ConditionalValue; - /** - * The **`outline-color`** CSS property sets the color of an element's outline. - * - * **Syntax**: ` | invert` - * - * **Initial value**: `invert`, for browsers supporting it, `currentColor` for the other - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **1.5** | **1.2** | **12** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline-color - */ - ringColor?: ConditionalValue< - | UtilityValues["outlineColor"] - | CssVars - | CssProperties["outlineColor"] - | AnyString - >; - /** - * The **`outline`** CSS shorthand property sets most of the outline properties in a single declaration. - * - * **Syntax**: `[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :----: | :---: | - * | **94** | **88** | **16.4** | **94** | **8** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline - */ - ring?: ConditionalValue< - UtilityValues["outline"] | CssVars | CssProperties["outline"] | AnyString - >; - /** - * The **`outline-offset`** CSS property sets the amount of space between an outline and the edge or border of an element. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :-: | - * | **1** | **1.5** | **1.2** | **15** | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/outline-offset - */ - ringOffset?: ConditionalValue< - | UtilityValues["outlineOffset"] - | CssVars - | CssProperties["outlineOffset"] - | AnyString - >; - /** - * The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/width - */ - w?: ConditionalValue< - UtilityValues["width"] | CssVars | CssProperties["width"] | AnyString - >; - /** - * The **`min-width`** CSS property sets the minimum width of an element. It prevents the used value of the `width` property from becoming smaller than the value specified for `min-width`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-width - */ - minW?: ConditionalValue< - UtilityValues["minWidth"] | CssVars | CssProperties["minWidth"] | AnyString - >; - /** - * The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-width - */ - maxW?: ConditionalValue< - UtilityValues["maxWidth"] | CssVars | CssProperties["maxWidth"] | AnyString - >; - /** - * The **`height`** CSS property specifies the height of an element. By default, the property defines the height of the content area. If `box-sizing` is set to `border-box`, however, it instead determines the height of the border area. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/height - */ - h?: ConditionalValue< - UtilityValues["height"] | CssVars | CssProperties["height"] | AnyString - >; - /** - * The **`min-height`** CSS property sets the minimum height of an element. It prevents the used value of the `height` property from becoming smaller than the value specified for `min-height`. - * - * **Syntax**: `auto | | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **3** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/min-height - */ - minH?: ConditionalValue< - | UtilityValues["minHeight"] - | CssVars - | CssProperties["minHeight"] - | AnyString - >; - /** - * The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. - * - * **Syntax**: `none | | min-content | max-content | fit-content | fit-content()` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **18** | **1** | **1.3** | **12** | **7** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/max-height - */ - maxH?: ConditionalValue< - | UtilityValues["maxHeight"] - | CssVars - | CssProperties["maxHeight"] - | AnyString - >; - textShadowColor?: ConditionalValue< - UtilityValues["textShadowColor"] | CssVars | AnyString - >; - /** - * The **`background-position`** CSS property sets the initial position for each background image. The position is relative to the position layer set by `background-origin`. - * - * **Syntax**: `#` - * - * **Initial value**: `0% 0%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-position - */ - bgPosition?: ConditionalValue< - CssProperties["backgroundPosition"] | AnyString - >; - /** - * The **`background-position-x`** CSS property sets the initial horizontal position for each background image. The position is relative to the position layer set by `background-origin`. - * - * **Syntax**: `[ center | [ [ left | right | x-start | x-end ]? ? ]! ]#` - * - * **Initial value**: `0%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **49** | **1** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-position-x - */ - bgPositionX?: ConditionalValue< - CssProperties["backgroundPositionX"] | AnyString - >; - /** - * The **`background-position-y`** CSS property sets the initial vertical position for each background image. The position is relative to the position layer set by `background-origin`. - * - * **Syntax**: `[ center | [ [ top | bottom | y-start | y-end ]? ? ]! ]#` - * - * **Initial value**: `0%` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **49** | **1** | **12** | **6** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-position-y - */ - bgPositionY?: ConditionalValue< - CssProperties["backgroundPositionY"] | AnyString - >; - /** - * The **`background-attachment`** CSS property sets whether a background image's position is fixed within the viewport, or scrolls with its containing block. - * - * **Syntax**: `#` - * - * **Initial value**: `scroll` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-attachment - */ - bgAttachment?: ConditionalValue< - CssProperties["backgroundAttachment"] | AnyString - >; - /** - * The **`background-clip`** CSS property sets whether an element's background extends underneath its border box, padding box, or content box. - * - * **Syntax**: `#` - * - * **Initial value**: `border-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----: | :----: | :---: | - * | **1** | **4** | **5** | **12** | **9** | - * | | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-clip - */ - bgClip?: ConditionalValue; - /** - * The **`background`** shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method. - * - * **Syntax**: `[ , ]* ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background - */ - bg?: ConditionalValue< - | UtilityValues["background"] - | CssVars - | CssProperties["background"] - | AnyString - >; - /** - * The **`background-color`** CSS property sets the background color of an element. - * - * **Syntax**: `` - * - * **Initial value**: `transparent` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-color - */ - bgColor?: ConditionalValue< - | UtilityValues["backgroundColor"] - | CssVars - | CssProperties["backgroundColor"] - | AnyString - >; - /** - * The **`background-origin`** CSS property sets the background's origin: from the border start, inside the border, or inside the padding. - * - * **Syntax**: `#` - * - * **Initial value**: `padding-box` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **4** | **3** | **12** | **9** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-origin - */ - bgOrigin?: ConditionalValue; - /** - * The **`background-image`** CSS property sets one or more background images on an element. - * - * **Syntax**: `#` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-image - */ - bgImage?: ConditionalValue; - /** - * The **`background-repeat`** CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all. - * - * **Syntax**: `#` - * - * **Initial value**: `repeat` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :----: | :---: | - * | **1** | **1** | **1** | **12** | **4** | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-repeat - */ - bgRepeat?: ConditionalValue; - /** - * The **`background-blend-mode`** CSS property sets how an element's background images should blend with each other and with the element's background color. - * - * **Syntax**: `#` - * - * **Initial value**: `normal` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **35** | **30** | **8** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-blend-mode - */ - bgBlendMode?: ConditionalValue< - CssProperties["backgroundBlendMode"] | AnyString - >; - /** - * The **`background-size`** CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space. - * - * **Syntax**: `#` - * - * **Initial value**: `auto auto` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **3** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/background-size - */ - bgSize?: ConditionalValue; - bgGradient?: ConditionalValue< - UtilityValues["backgroundGradient"] | CssVars | AnyString - >; - /** - * The **`border-radius`** CSS property rounds the corners of an element's outer border edge. You can set a single radius to make circular corners, or two radii to make elliptical corners. - * - * **Syntax**: `{1,4} [ / {1,4} ]?` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-radius - */ - rounded?: ConditionalValue< - | UtilityValues["borderRadius"] - | CssVars - | CssProperties["borderRadius"] - | AnyString - >; - /** - * The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius - */ - roundedTopLeft?: ConditionalValue< - | UtilityValues["borderTopLeftRadius"] - | CssVars - | CssProperties["borderTopLeftRadius"] - | AnyString - >; - /** - * The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius - */ - roundedTopRight?: ConditionalValue< - | UtilityValues["borderTopRightRadius"] - | CssVars - | CssProperties["borderTopRightRadius"] - | AnyString - >; - /** - * The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius - */ - roundedBottomRight?: ConditionalValue< - | UtilityValues["borderBottomRightRadius"] - | CssVars - | CssProperties["borderBottomRightRadius"] - | AnyString - >; - /** - * The **`border-bottom-left-radius`** CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **4** | **4** | **5** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius - */ - roundedBottomLeft?: ConditionalValue< - | UtilityValues["borderBottomLeftRadius"] - | CssVars - | CssProperties["borderBottomLeftRadius"] - | AnyString - >; - roundedTop?: ConditionalValue< - UtilityValues["borderTopRadius"] | CssVars | AnyString - >; - roundedRight?: ConditionalValue< - UtilityValues["borderRightRadius"] | CssVars | AnyString - >; - roundedBottom?: ConditionalValue< - UtilityValues["borderBottomRadius"] | CssVars | AnyString - >; - roundedLeft?: ConditionalValue< - UtilityValues["borderLeftRadius"] | CssVars | AnyString - >; - /** - * The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius - */ - roundedStartStart?: ConditionalValue< - | UtilityValues["borderStartStartRadius"] - | CssVars - | CssProperties["borderStartStartRadius"] - | AnyString - >; - /** - * The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius - */ - roundedStartEnd?: ConditionalValue< - | UtilityValues["borderStartEndRadius"] - | CssVars - | CssProperties["borderStartEndRadius"] - | AnyString - >; - roundedStart?: ConditionalValue< - UtilityValues["borderStartRadius"] | CssVars | AnyString - >; - /** - * The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius - */ - roundedEndStart?: ConditionalValue< - | UtilityValues["borderEndStartRadius"] - | CssVars - | CssProperties["borderEndStartRadius"] - | AnyString - >; - /** - * The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode. - * - * **Syntax**: `{1,2}` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **89** | **66** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius - */ - roundedEndEnd?: ConditionalValue< - | UtilityValues["borderEndEndRadius"] - | CssVars - | CssProperties["borderEndEndRadius"] - | AnyString - >; - roundedEnd?: ConditionalValue< - UtilityValues["borderEndRadius"] | CssVars | AnyString - >; - /** - * The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline - */ - borderX?: ConditionalValue< - | UtilityValues["borderInline"] - | CssVars - | CssProperties["borderInline"] - | AnyString - >; - /** - * The **`border-inline-width`** CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width - */ - borderXWidth?: ConditionalValue< - CssProperties["borderInlineWidth"] | AnyString - >; - /** - * The **`border-inline-color`** CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>{1,2}` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-color - */ - borderXColor?: ConditionalValue< - | UtilityValues["borderInlineColor"] - | CssVars - | CssProperties["borderInlineColor"] - | AnyString - >; - /** - * The **`border-block`** CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block - */ - borderY?: ConditionalValue< - | UtilityValues["borderBlock"] - | CssVars - | CssProperties["borderBlock"] - | AnyString - >; - /** - * The **`border-block-width`** CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width` and `border-bottom-width`, or `border-left-width`, and `border-right-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-width - */ - borderYWidth?: ConditionalValue< - CssProperties["borderBlockWidth"] | AnyString - >; - /** - * The **`border-block-color`** CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color` and `border-bottom-color`, or `border-right-color` and `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>{1,2}` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **87** | **66** | **14.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-block-color - */ - borderYColor?: ConditionalValue< - | UtilityValues["borderBlockColor"] - | CssVars - | CssProperties["borderBlockColor"] - | AnyString - >; - /** - * The **`border-inline-start`** CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start - */ - borderStart?: ConditionalValue< - | UtilityValues["borderInlineStart"] - | CssVars - | CssProperties["borderInlineStart"] - | AnyString - >; - /** - * The **`border-inline-start-width`** CSS property defines the width of the logical inline-start border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width - */ - borderStartWidth?: ConditionalValue< - CssProperties["borderInlineStartWidth"] | AnyString - >; - /** - * The **`border-inline-start-color`** CSS property defines the color of the logical inline start border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :---------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-start-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color - */ - borderStartColor?: ConditionalValue< - | UtilityValues["borderInlineStartColor"] - | CssVars - | CssProperties["borderInlineStartColor"] - | AnyString - >; - /** - * The **`border-inline-end`** CSS property is a shorthand property for setting the individual logical inline-end border property values in a single place in the style sheet. - * - * **Syntax**: `<'border-top-width'> || <'border-top-style'> || ` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end - */ - borderEnd?: ConditionalValue< - | UtilityValues["borderInlineEnd"] - | CssVars - | CssProperties["borderInlineEnd"] - | AnyString - >; - /** - * The **`border-inline-end-width`** CSS property defines the width of the logical inline-end border of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-width`, `border-right-width`, `border-bottom-width`, or `border-left-width` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-width'>` - * - * **Initial value**: `medium` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-width)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width - */ - borderEndWidth?: ConditionalValue< - CssProperties["borderInlineEndWidth"] | AnyString - >; - /** - * The **`border-inline-end-color`** CSS property defines the color of the logical inline-end border of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the `border-top-color`, `border-right-color`, `border-bottom-color`, or `border-left-color` property depending on the values defined for `writing-mode`, `direction`, and `text-orientation`. - * - * **Syntax**: `<'border-top-color'>` - * - * **Initial value**: `currentcolor` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-------------------------: | :------: | :--: | :-: | - * | **69** | **41** | **12.1** | n/a | No | - * | | 3 _(-moz-border-end-color)_ | | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color - */ - borderEndColor?: ConditionalValue< - | UtilityValues["borderInlineEndColor"] - | CssVars - | CssProperties["borderInlineEndColor"] - | AnyString - >; - /** - * The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the element, blur and spread radius, and color. - * - * **Syntax**: `none | #` - * - * **Initial value**: `none` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :-----: | :-----: | :-----: | :----: | :---: | - * | **10** | **4** | **5.1** | **12** | **9** | - * | 1 _-x-_ | | 3 _-x-_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/box-shadow - */ - shadow?: ConditionalValue< - | UtilityValues["boxShadow"] - | CssVars - | CssProperties["boxShadow"] - | AnyString - >; - shadowColor?: ConditionalValue< - UtilityValues["boxShadowColor"] | CssVars | AnyString - >; - x?: ConditionalValue; - y?: ConditionalValue; - z?: ConditionalValue; - /** - * The `scroll-margin-block` shorthand property sets the scroll margins of an element in the block dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block - */ - scrollMarginY?: ConditionalValue< - | UtilityValues["scrollMarginBlock"] - | CssVars - | CssProperties["scrollMarginBlock"] - | AnyString - >; - /** - * The `scroll-margin-inline` shorthand property sets the scroll margins of an element in the inline dimension. - * - * **Syntax**: `{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline - */ - scrollMarginX?: ConditionalValue< - | UtilityValues["scrollMarginInline"] - | CssVars - | CssProperties["scrollMarginInline"] - | AnyString - >; - /** - * The `scroll-padding-block` shorthand property sets the scroll padding of an element in the block dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block - */ - scrollPaddingY?: ConditionalValue< - | UtilityValues["scrollPaddingBlock"] - | CssVars - | CssProperties["scrollPaddingBlock"] - | AnyString - >; - /** - * The `scroll-padding-inline` shorthand property sets the scroll padding of an element in the inline dimension. - * - * **Syntax**: `[ auto | ]{1,2}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----: | :--: | :-: | - * | **69** | **68** | **15** | n/a | No | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline - */ - scrollPaddingX?: ConditionalValue< - | UtilityValues["scrollPaddingInline"] - | CssVars - | CssProperties["scrollPaddingInline"] - | AnyString - >; - hideFrom?: ConditionalValue; - hideBelow?: ConditionalValue< - UtilityValues["hideBelow"] | CssVars | AnyString - >; - spaceX?: ConditionalValue; - spaceY?: ConditionalValue; - divideX?: ConditionalValue; - divideY?: ConditionalValue; - divideColor?: ConditionalValue< - UtilityValues["divideColor"] | CssVars | AnyString - >; - divideStyle?: ConditionalValue< - UtilityValues["divideStyle"] | CssVars | AnyString - >; - fontSmoothing?: ConditionalValue< - UtilityValues["fontSmoothing"] | CssVars | AnyString - >; - truncate?: ConditionalValue; - backgroundGradient?: ConditionalValue< - UtilityValues["backgroundGradient"] | CssVars | AnyString - >; - textGradient?: ConditionalValue< - UtilityValues["textGradient"] | CssVars | AnyString - >; - gradientFromPosition?: ConditionalValue; - gradientToPosition?: ConditionalValue; - gradientFrom?: ConditionalValue< - UtilityValues["gradientFrom"] | CssVars | AnyString - >; - gradientTo?: ConditionalValue< - UtilityValues["gradientTo"] | CssVars | AnyString - >; - gradientVia?: ConditionalValue< - UtilityValues["gradientVia"] | CssVars | AnyString - >; - gradientViaPosition?: ConditionalValue; - borderTopRadius?: ConditionalValue< - UtilityValues["borderTopRadius"] | CssVars | AnyString - >; - borderRightRadius?: ConditionalValue< - UtilityValues["borderRightRadius"] | CssVars | AnyString - >; - borderBottomRadius?: ConditionalValue< - UtilityValues["borderBottomRadius"] | CssVars | AnyString - >; - borderLeftRadius?: ConditionalValue< - UtilityValues["borderLeftRadius"] | CssVars | AnyString - >; - borderStartRadius?: ConditionalValue< - UtilityValues["borderStartRadius"] | CssVars | AnyString - >; - borderEndRadius?: ConditionalValue< - UtilityValues["borderEndRadius"] | CssVars | AnyString - >; - boxShadowColor?: ConditionalValue< - UtilityValues["boxShadowColor"] | CssVars | AnyString - >; - brightness?: ConditionalValue; - contrast?: ConditionalValue; - grayscale?: ConditionalValue; - hueRotate?: ConditionalValue; - invert?: ConditionalValue; - saturate?: ConditionalValue; - sepia?: ConditionalValue; - dropShadow?: ConditionalValue; - blur?: ConditionalValue; - backdropBlur?: ConditionalValue< - UtilityValues["backdropBlur"] | CssVars | AnyString - >; - backdropBrightness?: ConditionalValue; - backdropContrast?: ConditionalValue; - backdropGrayscale?: ConditionalValue; - backdropHueRotate?: ConditionalValue; - backdropInvert?: ConditionalValue; - backdropOpacity?: ConditionalValue; - backdropSaturate?: ConditionalValue; - backdropSepia?: ConditionalValue; - borderSpacingX?: ConditionalValue< - UtilityValues["borderSpacingX"] | CssVars | AnyString - >; - borderSpacingY?: ConditionalValue< - UtilityValues["borderSpacingY"] | CssVars | AnyString - >; - rotateX?: ConditionalValue; - rotateY?: ConditionalValue; - rotateZ?: ConditionalValue; - scaleX?: ConditionalValue; - scaleY?: ConditionalValue; - translateX?: ConditionalValue< - UtilityValues["translateX"] | CssVars | AnyString - >; - translateY?: ConditionalValue< - UtilityValues["translateY"] | CssVars | AnyString - >; - translateZ?: ConditionalValue< - UtilityValues["translateZ"] | CssVars | AnyString - >; - scrollbar?: ConditionalValue< - UtilityValues["scrollbar"] | CssVars | AnyString - >; - scrollSnapStrictness?: ConditionalValue< - UtilityValues["scrollSnapStrictness"] | CssVars | AnyString - >; - /** - * The **`scroll-margin`** shorthand property sets all of the scroll margins of an element at once, assigning values much like the `margin` property does for margins of an element. - * - * **Syntax**: `{1,4}` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------: | :--: | :-: | - * | **69** | 68-90 | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin - */ - scrollSnapMargin?: ConditionalValue< - UtilityValues["scrollSnapMargin"] | CssVars | AnyString - >; - /** - * The `scroll-margin-top` property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :---------------------------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin-top)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top - */ - scrollSnapMarginTop?: ConditionalValue< - UtilityValues["scrollSnapMarginTop"] | CssVars | AnyString - >; - /** - * The `scroll-margin-bottom` property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :------------------------------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin-bottom)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom - */ - scrollSnapMarginBottom?: ConditionalValue< - UtilityValues["scrollSnapMarginBottom"] | CssVars | AnyString - >; - /** - * The `scroll-margin-left` property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :----------------------------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin-left)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left - */ - scrollSnapMarginLeft?: ConditionalValue< - UtilityValues["scrollSnapMarginLeft"] | CssVars | AnyString - >; - /** - * The `scroll-margin-right` property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container's coordinate space), then adding the specified outsets. - * - * **Syntax**: `` - * - * **Initial value**: `0` - * - * | Chrome | Firefox | Safari | Edge | IE | - * | :----: | :-----: | :-----------------------------: | :--: | :-: | - * | **69** | **68** | **14.1** | n/a | No | - * | | | 11 _(scroll-snap-margin-right)_ | | | - * - * @see https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right - */ - scrollSnapMarginRight?: ConditionalValue< - UtilityValues["scrollSnapMarginRight"] | CssVars | AnyString - >; - srOnly?: ConditionalValue; - debug?: ConditionalValue; - colorPalette?: ConditionalValue< - UtilityValues["colorPalette"] | CssVars | AnyString - >; - textStyle?: ConditionalValue< - UtilityValues["textStyle"] | CssVars | AnyString - >; -} diff --git a/styled-system/types/system-types.d.ts b/styled-system/types/system-types.d.ts deleted file mode 100644 index 5a0e6f6e..00000000 --- a/styled-system/types/system-types.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -/* eslint-disable */ -import type { ConditionalValue, Nested } from "./conditions"; -import type { PropertiesFallback } from "./csstype"; -import type { SystemProperties, CssVarProperties } from "./style-props"; - -type String = string & {}; -type Number = number & {}; - -export type Pretty = { [K in keyof T]: T[K] } & {}; - -export type DistributiveOmit = T extends unknown - ? Omit - : never; - -export type DistributiveUnion = { - [K in keyof T]: K extends keyof U ? U[K] | T[K] : T[K]; -} & DistributiveOmit; - -export type Assign = { - [K in keyof T]: K extends keyof U ? U[K] : T[K]; -} & U; - -/* ----------------------------------------------------------------------------- - * Native css properties - * -----------------------------------------------------------------------------*/ - -export type CssProperty = keyof PropertiesFallback; - -export interface CssProperties - extends PropertiesFallback, - CssVarProperties {} - -export interface CssKeyframes { - [name: string]: { - [time: string]: CssProperties; - }; -} - -/* ----------------------------------------------------------------------------- - * Conditional css properties - * -----------------------------------------------------------------------------*/ - -interface GenericProperties { - [key: string]: ConditionalValue; -} - -/* ----------------------------------------------------------------------------- - * Native css props - * -----------------------------------------------------------------------------*/ - -export type NestedCssProperties = Nested; - -export type SystemStyleObject = Nested; - -export interface GlobalStyleObject { - [selector: string]: SystemStyleObject; -} -export interface ExtendableGlobalStyleObject { - [selector: string]: SystemStyleObject | undefined; - extend?: GlobalStyleObject | undefined; -} - -type FilterStyleObject

= { - [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown; -}; - -export type CompositionStyleObject = Nested< - FilterStyleObject & CssVarProperties ->; - -/* ----------------------------------------------------------------------------- - * Jsx style props - * -----------------------------------------------------------------------------*/ -interface WithCss { - css?: SystemStyleObject | SystemStyleObject[]; -} -type StyleProps = SystemStyleObject & WithCss; - -export type JsxStyleProps = StyleProps & WithCss; - -export interface PatchedHTMLProps { - htmlWidth?: string | number; - htmlHeight?: string | number; - htmlTranslate?: "yes" | "no" | undefined; - htmlContent?: string; -} - -export type OmittedHTMLProps = - | "color" - | "translate" - | "transition" - | "width" - | "height" - | "content"; - -type WithHTMLProps = DistributiveOmit & - PatchedHTMLProps; - -export type JsxHTMLProps< - T extends Record, - P extends Record = {}, -> = Assign, P>;