@pallas-ui/style-context 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +542 -0
- package/dist/index.mjs +521 -0
- package/package.json +30 -0
- package/styled-system/css/conditions.mjs +36 -0
- package/styled-system/css/css.d.ts +22 -0
- package/styled-system/css/css.mjs +45 -0
- package/styled-system/css/cva.d.ts +6 -0
- package/styled-system/css/cva.mjs +87 -0
- package/styled-system/css/cx.d.ts +5 -0
- package/styled-system/css/cx.mjs +15 -0
- package/styled-system/css/index.d.ts +5 -0
- package/styled-system/css/index.mjs +4 -0
- package/styled-system/css/sva.d.ts +4 -0
- package/styled-system/css/sva.mjs +41 -0
- package/styled-system/helpers.mjs +336 -0
- package/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/styled-system/jsx/aspect-ratio.mjs +14 -0
- package/styled-system/jsx/bleed.d.ts +10 -0
- package/styled-system/jsx/bleed.mjs +14 -0
- package/styled-system/jsx/box.d.ts +10 -0
- package/styled-system/jsx/box.mjs +14 -0
- package/styled-system/jsx/center.d.ts +10 -0
- package/styled-system/jsx/center.mjs +14 -0
- package/styled-system/jsx/circle.d.ts +10 -0
- package/styled-system/jsx/circle.mjs +14 -0
- package/styled-system/jsx/container.d.ts +10 -0
- package/styled-system/jsx/container.mjs +14 -0
- package/styled-system/jsx/cq.d.ts +10 -0
- package/styled-system/jsx/cq.mjs +14 -0
- package/styled-system/jsx/divider.d.ts +10 -0
- package/styled-system/jsx/divider.mjs +14 -0
- package/styled-system/jsx/factory-helper.mjs +22 -0
- package/styled-system/jsx/factory.d.ts +3 -0
- package/styled-system/jsx/factory.mjs +80 -0
- package/styled-system/jsx/flex.d.ts +10 -0
- package/styled-system/jsx/flex.mjs +14 -0
- package/styled-system/jsx/float.d.ts +10 -0
- package/styled-system/jsx/float.mjs +14 -0
- package/styled-system/jsx/grid-item.d.ts +10 -0
- package/styled-system/jsx/grid-item.mjs +14 -0
- package/styled-system/jsx/grid.d.ts +10 -0
- package/styled-system/jsx/grid.mjs +14 -0
- package/styled-system/jsx/hstack.d.ts +10 -0
- package/styled-system/jsx/hstack.mjs +14 -0
- package/styled-system/jsx/index.d.ts +24 -0
- package/styled-system/jsx/index.mjs +22 -0
- package/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/styled-system/jsx/is-valid-prop.mjs +17 -0
- package/styled-system/jsx/link-overlay.d.ts +10 -0
- package/styled-system/jsx/link-overlay.mjs +14 -0
- package/styled-system/jsx/spacer.d.ts +10 -0
- package/styled-system/jsx/spacer.mjs +14 -0
- package/styled-system/jsx/square.d.ts +10 -0
- package/styled-system/jsx/square.mjs +14 -0
- package/styled-system/jsx/stack.d.ts +10 -0
- package/styled-system/jsx/stack.mjs +14 -0
- package/styled-system/jsx/visually-hidden.d.ts +10 -0
- package/styled-system/jsx/visually-hidden.mjs +14 -0
- package/styled-system/jsx/vstack.d.ts +10 -0
- package/styled-system/jsx/vstack.mjs +14 -0
- package/styled-system/jsx/wrap.d.ts +10 -0
- package/styled-system/jsx/wrap.mjs +14 -0
- package/styled-system/patterns/aspect-ratio.d.ts +21 -0
- package/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/styled-system/patterns/bleed.d.ts +22 -0
- package/styled-system/patterns/bleed.mjs +24 -0
- package/styled-system/patterns/box.d.ts +21 -0
- package/styled-system/patterns/box.mjs +15 -0
- package/styled-system/patterns/center.d.ts +21 -0
- package/styled-system/patterns/center.mjs +21 -0
- package/styled-system/patterns/circle.d.ts +21 -0
- package/styled-system/patterns/circle.mjs +25 -0
- package/styled-system/patterns/container.d.ts +21 -0
- package/styled-system/patterns/container.mjs +21 -0
- package/styled-system/patterns/cq.d.ts +22 -0
- package/styled-system/patterns/cq.mjs +21 -0
- package/styled-system/patterns/divider.d.ts +23 -0
- package/styled-system/patterns/divider.mjs +25 -0
- package/styled-system/patterns/flex.d.ts +27 -0
- package/styled-system/patterns/flex.mjs +26 -0
- package/styled-system/patterns/float.d.ts +24 -0
- package/styled-system/patterns/float.mjs +52 -0
- package/styled-system/patterns/grid-item.d.ts +26 -0
- package/styled-system/patterns/grid-item.mjs +25 -0
- package/styled-system/patterns/grid.d.ts +25 -0
- package/styled-system/patterns/grid.mjs +27 -0
- package/styled-system/patterns/hstack.d.ts +22 -0
- package/styled-system/patterns/hstack.mjs +24 -0
- package/styled-system/patterns/index.d.ts +21 -0
- package/styled-system/patterns/index.mjs +20 -0
- package/styled-system/patterns/link-overlay.d.ts +21 -0
- package/styled-system/patterns/link-overlay.mjs +24 -0
- package/styled-system/patterns/spacer.d.ts +21 -0
- package/styled-system/patterns/spacer.mjs +21 -0
- package/styled-system/patterns/square.d.ts +21 -0
- package/styled-system/patterns/square.mjs +24 -0
- package/styled-system/patterns/stack.d.ts +24 -0
- package/styled-system/patterns/stack.mjs +24 -0
- package/styled-system/patterns/visually-hidden.d.ts +21 -0
- package/styled-system/patterns/visually-hidden.mjs +18 -0
- package/styled-system/patterns/vstack.d.ts +22 -0
- package/styled-system/patterns/vstack.mjs +24 -0
- package/styled-system/patterns/wrap.d.ts +25 -0
- package/styled-system/patterns/wrap.mjs +25 -0
- package/styled-system/tokens/index.d.ts +9 -0
- package/styled-system/tokens/index.mjs +1892 -0
- package/styled-system/tokens/tokens.d.ts +60 -0
- package/styled-system/types/composition.d.ts +164 -0
- package/styled-system/types/conditions.d.ts +274 -0
- package/styled-system/types/csstype.d.ts +21298 -0
- package/styled-system/types/global.d.ts +20 -0
- package/styled-system/types/index.d.ts +8 -0
- package/styled-system/types/jsx.d.ts +52 -0
- package/styled-system/types/parts.d.ts +8 -0
- package/styled-system/types/pattern.d.ts +78 -0
- package/styled-system/types/prop-type.d.ts +240 -0
- package/styled-system/types/recipe.d.ts +181 -0
- package/styled-system/types/selectors.d.ts +59 -0
- package/styled-system/types/static-css.d.ts +56 -0
- package/styled-system/types/style-props.d.ts +7468 -0
- package/styled-system/types/system-types.d.ts +109 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
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.4xl" | "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"
|
|
3
|
+
|
|
4
|
+
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"
|
|
5
|
+
|
|
6
|
+
export type AspectRatioToken = "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden"
|
|
7
|
+
|
|
8
|
+
export type BorderToken = "none"
|
|
9
|
+
|
|
10
|
+
export type EasingToken = "default" | "linear" | "in" | "out" | "in-out"
|
|
11
|
+
|
|
12
|
+
export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
|
|
13
|
+
|
|
14
|
+
export type RadiusToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full"
|
|
15
|
+
|
|
16
|
+
export type FontWeightToken = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"
|
|
17
|
+
|
|
18
|
+
export type LineHeightToken = "none" | "tight" | "snug" | "normal" | "relaxed" | "loose"
|
|
19
|
+
|
|
20
|
+
export type FontToken = "sans" | "serif" | "mono"
|
|
21
|
+
|
|
22
|
+
export type LetterSpacingToken = "tighter" | "tight" | "normal" | "wide" | "wider" | "widest"
|
|
23
|
+
|
|
24
|
+
export type FontSizeToken = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"
|
|
25
|
+
|
|
26
|
+
export type ShadowToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "inner"
|
|
27
|
+
|
|
28
|
+
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"
|
|
29
|
+
|
|
30
|
+
export type BlurToken = "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl"
|
|
31
|
+
|
|
32
|
+
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"
|
|
33
|
+
|
|
34
|
+
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"
|
|
35
|
+
|
|
36
|
+
export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"
|
|
37
|
+
|
|
38
|
+
export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
|
|
39
|
+
|
|
40
|
+
export type Tokens = {
|
|
41
|
+
aspectRatios: AspectRatioToken
|
|
42
|
+
borders: BorderToken
|
|
43
|
+
easings: EasingToken
|
|
44
|
+
durations: DurationToken
|
|
45
|
+
radii: RadiusToken
|
|
46
|
+
fontWeights: FontWeightToken
|
|
47
|
+
lineHeights: LineHeightToken
|
|
48
|
+
fonts: FontToken
|
|
49
|
+
letterSpacings: LetterSpacingToken
|
|
50
|
+
fontSizes: FontSizeToken
|
|
51
|
+
shadows: ShadowToken
|
|
52
|
+
colors: ColorToken
|
|
53
|
+
blurs: BlurToken
|
|
54
|
+
spacing: SpacingToken
|
|
55
|
+
sizes: SizeToken
|
|
56
|
+
animations: AnimationToken
|
|
57
|
+
breakpoints: BreakpointToken
|
|
58
|
+
} & { [token: string]: never }
|
|
59
|
+
|
|
60
|
+
export type TokenCategory = "aspectRatios" | "zIndex" | "opacity" | "colors" | "fonts" | "fontSizes" | "fontWeights" | "lineHeights" | "letterSpacings" | "sizes" | "cursor" | "shadows" | "spacing" | "radii" | "borders" | "borderWidths" | "durations" | "easings" | "animations" | "blurs" | "gradients" | "breakpoints" | "assets"
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { CompositionStyleObject } from './system-types';
|
|
3
|
+
|
|
4
|
+
interface Token<T> {
|
|
5
|
+
value: T
|
|
6
|
+
description?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface Recursive<T> {
|
|
10
|
+
[key: string]: Recursive<T> | T
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* -----------------------------------------------------------------------------
|
|
14
|
+
* Text styles
|
|
15
|
+
* -----------------------------------------------------------------------------*/
|
|
16
|
+
|
|
17
|
+
type TextStyleProperty =
|
|
18
|
+
| 'font'
|
|
19
|
+
| 'fontFamily'
|
|
20
|
+
| 'fontFeatureSettings'
|
|
21
|
+
| 'fontKerning'
|
|
22
|
+
| 'fontLanguageOverride'
|
|
23
|
+
| 'fontOpticalSizing'
|
|
24
|
+
| 'fontPalette'
|
|
25
|
+
| 'fontSize'
|
|
26
|
+
| 'fontSizeAdjust'
|
|
27
|
+
| 'fontStretch'
|
|
28
|
+
| 'fontStyle'
|
|
29
|
+
| 'fontSynthesis'
|
|
30
|
+
| 'fontVariant'
|
|
31
|
+
| 'fontVariantAlternates'
|
|
32
|
+
| 'fontVariantCaps'
|
|
33
|
+
| 'fontVariantLigatures'
|
|
34
|
+
| 'fontVariantNumeric'
|
|
35
|
+
| 'fontVariantPosition'
|
|
36
|
+
| 'fontVariationSettings'
|
|
37
|
+
| 'fontWeight'
|
|
38
|
+
| 'hypens'
|
|
39
|
+
| 'hyphenateCharacter'
|
|
40
|
+
| 'hyphenateLimitChars'
|
|
41
|
+
| 'letterSpacing'
|
|
42
|
+
| 'lineBreak'
|
|
43
|
+
| 'lineHeight'
|
|
44
|
+
| 'quotes'
|
|
45
|
+
| 'overflowWrap'
|
|
46
|
+
| 'textCombineUpright'
|
|
47
|
+
| 'textDecoration'
|
|
48
|
+
| 'textDecorationColor'
|
|
49
|
+
| 'textDecorationLine'
|
|
50
|
+
| 'textDecorationSkipInk'
|
|
51
|
+
| 'textDecorationStyle'
|
|
52
|
+
| 'textDecorationThickness'
|
|
53
|
+
| 'textEmphasis'
|
|
54
|
+
| 'textEmphasisColor'
|
|
55
|
+
| 'textEmphasisPosition'
|
|
56
|
+
| 'textEmphasisStyle'
|
|
57
|
+
| 'textIndent'
|
|
58
|
+
| 'textJustify'
|
|
59
|
+
| 'textOrientation'
|
|
60
|
+
| 'textOverflow'
|
|
61
|
+
| 'textRendering'
|
|
62
|
+
| 'textShadow'
|
|
63
|
+
| 'textTransform'
|
|
64
|
+
| 'textUnderlineOffset'
|
|
65
|
+
| 'textUnderlinePosition'
|
|
66
|
+
| 'textWrap'
|
|
67
|
+
| 'textWrapMode'
|
|
68
|
+
| 'textWrapStyle'
|
|
69
|
+
| 'verticalAlign'
|
|
70
|
+
| 'whiteSpace'
|
|
71
|
+
| 'wordBreak'
|
|
72
|
+
| 'wordSpacing'
|
|
73
|
+
|
|
74
|
+
export type TextStyle = CompositionStyleObject<TextStyleProperty>
|
|
75
|
+
|
|
76
|
+
export type TextStyles = Recursive<Token<TextStyle>>
|
|
77
|
+
|
|
78
|
+
/* -----------------------------------------------------------------------------
|
|
79
|
+
* Layer styles
|
|
80
|
+
* -----------------------------------------------------------------------------*/
|
|
81
|
+
|
|
82
|
+
type Placement =
|
|
83
|
+
| 'Top'
|
|
84
|
+
| 'Right'
|
|
85
|
+
| 'Bottom'
|
|
86
|
+
| 'Left'
|
|
87
|
+
| 'Inline'
|
|
88
|
+
| 'Block'
|
|
89
|
+
| 'InlineStart'
|
|
90
|
+
| 'InlineEnd'
|
|
91
|
+
| 'BlockStart'
|
|
92
|
+
| 'BlockEnd'
|
|
93
|
+
|
|
94
|
+
type Radius =
|
|
95
|
+
| `Top${'Right' | 'Left'}`
|
|
96
|
+
| `Bottom${'Right' | 'Left'}`
|
|
97
|
+
| `Start${'Start' | 'End'}`
|
|
98
|
+
| `End${'Start' | 'End'}`
|
|
99
|
+
|
|
100
|
+
type LayerStyleProperty =
|
|
101
|
+
| 'background'
|
|
102
|
+
| 'backgroundColor'
|
|
103
|
+
| 'backgroundImage'
|
|
104
|
+
| 'borderRadius'
|
|
105
|
+
| 'border'
|
|
106
|
+
| 'borderWidth'
|
|
107
|
+
| 'borderColor'
|
|
108
|
+
| 'borderStyle'
|
|
109
|
+
| 'boxShadow'
|
|
110
|
+
| 'filter'
|
|
111
|
+
| 'backdropFilter'
|
|
112
|
+
| 'transform'
|
|
113
|
+
| 'color'
|
|
114
|
+
| 'opacity'
|
|
115
|
+
| 'backgroundBlendMode'
|
|
116
|
+
| 'backgroundAttachment'
|
|
117
|
+
| 'backgroundClip'
|
|
118
|
+
| 'backgroundOrigin'
|
|
119
|
+
| 'backgroundPosition'
|
|
120
|
+
| 'backgroundRepeat'
|
|
121
|
+
| 'backgroundSize'
|
|
122
|
+
| `border${Placement}`
|
|
123
|
+
| `border${Placement}Width`
|
|
124
|
+
| 'borderRadius'
|
|
125
|
+
| `border${Radius}Radius`
|
|
126
|
+
| `border${Placement}Color`
|
|
127
|
+
| `border${Placement}Style`
|
|
128
|
+
| 'padding'
|
|
129
|
+
| `padding${Placement}`
|
|
130
|
+
|
|
131
|
+
export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
|
|
132
|
+
|
|
133
|
+
export type LayerStyles = Recursive<Token<LayerStyle>>
|
|
134
|
+
|
|
135
|
+
/* -----------------------------------------------------------------------------
|
|
136
|
+
* Motion styles
|
|
137
|
+
* -----------------------------------------------------------------------------*/
|
|
138
|
+
|
|
139
|
+
type AnimationStyleProperty =
|
|
140
|
+
| 'animation'
|
|
141
|
+
| 'animationComposition'
|
|
142
|
+
| 'animationDelay'
|
|
143
|
+
| 'animationDirection'
|
|
144
|
+
| 'animationDuration'
|
|
145
|
+
| 'animationFillMode'
|
|
146
|
+
| 'animationIterationCount'
|
|
147
|
+
| 'animationName'
|
|
148
|
+
| 'animationPlayState'
|
|
149
|
+
| 'animationTimingFunction'
|
|
150
|
+
| 'animationRange'
|
|
151
|
+
| 'animationRangeStart'
|
|
152
|
+
| 'animationRangeEnd'
|
|
153
|
+
| 'animationTimeline'
|
|
154
|
+
| 'transformOrigin'
|
|
155
|
+
|
|
156
|
+
export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty>
|
|
157
|
+
|
|
158
|
+
export type AnimationStyles = Recursive<Token<AnimationStyle>>
|
|
159
|
+
|
|
160
|
+
export interface CompositionStyles {
|
|
161
|
+
textStyles: TextStyles
|
|
162
|
+
layerStyles: LayerStyles
|
|
163
|
+
animationStyles: AnimationStyles
|
|
164
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { AnySelector, Selectors } from './selectors';
|
|
3
|
+
|
|
4
|
+
export interface Conditions {
|
|
5
|
+
/** `&:is(:hover, [data-hover])` */
|
|
6
|
+
"_hover": string
|
|
7
|
+
/** `&:is(:focus, [data-focus])` */
|
|
8
|
+
"_focus": string
|
|
9
|
+
/** `&:focus-within` */
|
|
10
|
+
"_focusWithin": string
|
|
11
|
+
/** `&:is(:focus-visible, [data-focus-visible])` */
|
|
12
|
+
"_focusVisible": string
|
|
13
|
+
/** `&:is(:disabled, [disabled], [data-disabled])` */
|
|
14
|
+
"_disabled": string
|
|
15
|
+
/** `&:is(:active, [data-active])` */
|
|
16
|
+
"_active": string
|
|
17
|
+
/** `&:visited` */
|
|
18
|
+
"_visited": string
|
|
19
|
+
/** `&:target` */
|
|
20
|
+
"_target": string
|
|
21
|
+
/** `&:is(:read-only, [data-read-only])` */
|
|
22
|
+
"_readOnly": string
|
|
23
|
+
/** `&:read-write` */
|
|
24
|
+
"_readWrite": string
|
|
25
|
+
/** `&:is(:empty, [data-empty])` */
|
|
26
|
+
"_empty": string
|
|
27
|
+
/** `&:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])` */
|
|
28
|
+
"_checked": string
|
|
29
|
+
/** `&:enabled` */
|
|
30
|
+
"_enabled": string
|
|
31
|
+
/** `&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])` */
|
|
32
|
+
"_expanded": string
|
|
33
|
+
/** `&[data-highlighted]` */
|
|
34
|
+
"_highlighted": string
|
|
35
|
+
/** `&::before` */
|
|
36
|
+
"_before": string
|
|
37
|
+
/** `&::after` */
|
|
38
|
+
"_after": string
|
|
39
|
+
/** `&::first-letter` */
|
|
40
|
+
"_firstLetter": string
|
|
41
|
+
/** `&::first-line` */
|
|
42
|
+
"_firstLine": string
|
|
43
|
+
/** `&::marker` */
|
|
44
|
+
"_marker": string
|
|
45
|
+
/** `&::selection` */
|
|
46
|
+
"_selection": string
|
|
47
|
+
/** `&::file-selector-button` */
|
|
48
|
+
"_file": string
|
|
49
|
+
/** `&::backdrop` */
|
|
50
|
+
"_backdrop": string
|
|
51
|
+
/** `&:first-child` */
|
|
52
|
+
"_first": string
|
|
53
|
+
/** `&:last-child` */
|
|
54
|
+
"_last": string
|
|
55
|
+
/** `&:only-child` */
|
|
56
|
+
"_only": string
|
|
57
|
+
/** `&:nth-child(even)` */
|
|
58
|
+
"_even": string
|
|
59
|
+
/** `&:nth-child(odd)` */
|
|
60
|
+
"_odd": string
|
|
61
|
+
/** `&:first-of-type` */
|
|
62
|
+
"_firstOfType": string
|
|
63
|
+
/** `&:last-of-type` */
|
|
64
|
+
"_lastOfType": string
|
|
65
|
+
/** `&:only-of-type` */
|
|
66
|
+
"_onlyOfType": string
|
|
67
|
+
/** `.peer:is(:focus, [data-focus]) ~ &` */
|
|
68
|
+
"_peerFocus": string
|
|
69
|
+
/** `.peer:is(:hover, [data-hover]) ~ &` */
|
|
70
|
+
"_peerHover": string
|
|
71
|
+
/** `.peer:is(:active, [data-active]) ~ &` */
|
|
72
|
+
"_peerActive": string
|
|
73
|
+
/** `.peer:focus-within ~ &` */
|
|
74
|
+
"_peerFocusWithin": string
|
|
75
|
+
/** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
|
|
76
|
+
"_peerFocusVisible": string
|
|
77
|
+
/** `.peer:is(:disabled, [disabled], [data-disabled]) ~ &` */
|
|
78
|
+
"_peerDisabled": string
|
|
79
|
+
/** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
|
|
80
|
+
"_peerChecked": string
|
|
81
|
+
/** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */
|
|
82
|
+
"_peerInvalid": string
|
|
83
|
+
/** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */
|
|
84
|
+
"_peerExpanded": string
|
|
85
|
+
/** `.peer:placeholder-shown ~ &` */
|
|
86
|
+
"_peerPlaceholderShown": string
|
|
87
|
+
/** `.group:is(:focus, [data-focus]) &` */
|
|
88
|
+
"_groupFocus": string
|
|
89
|
+
/** `.group:is(:hover, [data-hover]) &` */
|
|
90
|
+
"_groupHover": string
|
|
91
|
+
/** `.group:is(:active, [data-active]) &` */
|
|
92
|
+
"_groupActive": string
|
|
93
|
+
/** `.group:focus-within &` */
|
|
94
|
+
"_groupFocusWithin": string
|
|
95
|
+
/** `.group:is(:focus-visible, [data-focus-visible]) &` */
|
|
96
|
+
"_groupFocusVisible": string
|
|
97
|
+
/** `.group:is(:disabled, [disabled], [data-disabled]) &` */
|
|
98
|
+
"_groupDisabled": string
|
|
99
|
+
/** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
|
|
100
|
+
"_groupChecked": string
|
|
101
|
+
/** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
|
|
102
|
+
"_groupExpanded": string
|
|
103
|
+
/** `.group:invalid &` */
|
|
104
|
+
"_groupInvalid": string
|
|
105
|
+
/** `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])` */
|
|
106
|
+
"_indeterminate": string
|
|
107
|
+
/** `&:is(:required, [data-required], [aria-required=true])` */
|
|
108
|
+
"_required": string
|
|
109
|
+
/** `&:is(:valid, [data-valid])` */
|
|
110
|
+
"_valid": string
|
|
111
|
+
/** `&:is(:invalid, [data-invalid])` */
|
|
112
|
+
"_invalid": string
|
|
113
|
+
/** `&:autofill` */
|
|
114
|
+
"_autofill": string
|
|
115
|
+
/** `&:in-range` */
|
|
116
|
+
"_inRange": string
|
|
117
|
+
/** `&:out-of-range` */
|
|
118
|
+
"_outOfRange": string
|
|
119
|
+
/** `&::placeholder, &[data-placeholder]` */
|
|
120
|
+
"_placeholder": string
|
|
121
|
+
/** `&:is(:placeholder-shown, [data-placeholder-shown])` */
|
|
122
|
+
"_placeholderShown": string
|
|
123
|
+
/** `&:is([aria-pressed=true], [data-pressed])` */
|
|
124
|
+
"_pressed": string
|
|
125
|
+
/** `&:is([aria-selected=true], [data-selected])` */
|
|
126
|
+
"_selected": string
|
|
127
|
+
/** `&:default` */
|
|
128
|
+
"_default": string
|
|
129
|
+
/** `&:optional` */
|
|
130
|
+
"_optional": string
|
|
131
|
+
/** `&:is([open], [data-open], [data-state="open"])` */
|
|
132
|
+
"_open": string
|
|
133
|
+
/** `&:is([closed], [data-closed], [data-state="closed"])` */
|
|
134
|
+
"_closed": string
|
|
135
|
+
/** `&:fullscreen` */
|
|
136
|
+
"_fullscreen": string
|
|
137
|
+
/** `&:is([data-loading], [aria-busy=true])` */
|
|
138
|
+
"_loading": string
|
|
139
|
+
/** `&[aria-current=page]` */
|
|
140
|
+
"_currentPage": string
|
|
141
|
+
/** `&[aria-current=step]` */
|
|
142
|
+
"_currentStep": string
|
|
143
|
+
/** `@media (prefers-reduced-motion: reduce)` */
|
|
144
|
+
"_motionReduce": string
|
|
145
|
+
/** `@media (prefers-reduced-motion: no-preference)` */
|
|
146
|
+
"_motionSafe": string
|
|
147
|
+
/** `@media print` */
|
|
148
|
+
"_print": string
|
|
149
|
+
/** `@media (orientation: landscape)` */
|
|
150
|
+
"_landscape": string
|
|
151
|
+
/** `@media (orientation: portrait)` */
|
|
152
|
+
"_portrait": string
|
|
153
|
+
/** `.dark &` */
|
|
154
|
+
"_dark": string
|
|
155
|
+
/** `.light &` */
|
|
156
|
+
"_light": string
|
|
157
|
+
/** `@media (prefers-color-scheme: dark)` */
|
|
158
|
+
"_osDark": string
|
|
159
|
+
/** `@media (prefers-color-scheme: light)` */
|
|
160
|
+
"_osLight": string
|
|
161
|
+
/** `@media (forced-colors: active)` */
|
|
162
|
+
"_highContrast": string
|
|
163
|
+
/** `@media (prefers-contrast: less)` */
|
|
164
|
+
"_lessContrast": string
|
|
165
|
+
/** `@media (prefers-contrast: more)` */
|
|
166
|
+
"_moreContrast": string
|
|
167
|
+
/** `[dir=ltr] &` */
|
|
168
|
+
"_ltr": string
|
|
169
|
+
/** `[dir=rtl] &` */
|
|
170
|
+
"_rtl": string
|
|
171
|
+
/** `&::-webkit-scrollbar` */
|
|
172
|
+
"_scrollbar": string
|
|
173
|
+
/** `&::-webkit-scrollbar-thumb` */
|
|
174
|
+
"_scrollbarThumb": string
|
|
175
|
+
/** `&::-webkit-scrollbar-track` */
|
|
176
|
+
"_scrollbarTrack": string
|
|
177
|
+
/** `&[data-orientation=horizontal]` */
|
|
178
|
+
"_horizontal": string
|
|
179
|
+
/** `&[data-orientation=vertical]` */
|
|
180
|
+
"_vertical": string
|
|
181
|
+
/** `@starting-style` */
|
|
182
|
+
"_starting": string
|
|
183
|
+
/** `@media screen and (min-width: 40rem)` */
|
|
184
|
+
"sm": string
|
|
185
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
186
|
+
"smOnly": string
|
|
187
|
+
/** `@media screen and (max-width: 39.9975rem)` */
|
|
188
|
+
"smDown": string
|
|
189
|
+
/** `@media screen and (min-width: 48rem)` */
|
|
190
|
+
"md": string
|
|
191
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
192
|
+
"mdOnly": string
|
|
193
|
+
/** `@media screen and (max-width: 47.9975rem)` */
|
|
194
|
+
"mdDown": string
|
|
195
|
+
/** `@media screen and (min-width: 64rem)` */
|
|
196
|
+
"lg": string
|
|
197
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
198
|
+
"lgOnly": string
|
|
199
|
+
/** `@media screen and (max-width: 63.9975rem)` */
|
|
200
|
+
"lgDown": string
|
|
201
|
+
/** `@media screen and (min-width: 80rem)` */
|
|
202
|
+
"xl": string
|
|
203
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
204
|
+
"xlOnly": string
|
|
205
|
+
/** `@media screen and (max-width: 79.9975rem)` */
|
|
206
|
+
"xlDown": string
|
|
207
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
208
|
+
"2xl": string
|
|
209
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
210
|
+
"2xlOnly": string
|
|
211
|
+
/** `@media screen and (max-width: 95.9975rem)` */
|
|
212
|
+
"2xlDown": string
|
|
213
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
214
|
+
"smToMd": string
|
|
215
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
|
|
216
|
+
"smToLg": string
|
|
217
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
|
|
218
|
+
"smToXl": string
|
|
219
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
|
|
220
|
+
"smTo2xl": string
|
|
221
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
222
|
+
"mdToLg": string
|
|
223
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
|
|
224
|
+
"mdToXl": string
|
|
225
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
|
|
226
|
+
"mdTo2xl": string
|
|
227
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
228
|
+
"lgToXl": string
|
|
229
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
|
|
230
|
+
"lgTo2xl": string
|
|
231
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
232
|
+
"xlTo2xl": string
|
|
233
|
+
/** `@container (min-width: 20rem)` */
|
|
234
|
+
"@/xs": string
|
|
235
|
+
/** `@container (min-width: 24rem)` */
|
|
236
|
+
"@/sm": string
|
|
237
|
+
/** `@container (min-width: 28rem)` */
|
|
238
|
+
"@/md": string
|
|
239
|
+
/** `@container (min-width: 32rem)` */
|
|
240
|
+
"@/lg": string
|
|
241
|
+
/** `@container (min-width: 36rem)` */
|
|
242
|
+
"@/xl": string
|
|
243
|
+
/** `@container (min-width: 42rem)` */
|
|
244
|
+
"@/2xl": string
|
|
245
|
+
/** `@container (min-width: 48rem)` */
|
|
246
|
+
"@/3xl": string
|
|
247
|
+
/** `@container (min-width: 56rem)` */
|
|
248
|
+
"@/4xl": string
|
|
249
|
+
/** `@container (min-width: 64rem)` */
|
|
250
|
+
"@/5xl": string
|
|
251
|
+
/** `@container (min-width: 72rem)` */
|
|
252
|
+
"@/6xl": string
|
|
253
|
+
/** `@container (min-width: 80rem)` */
|
|
254
|
+
"@/7xl": string
|
|
255
|
+
/** `@container (min-width: 90rem)` */
|
|
256
|
+
"@/8xl": string
|
|
257
|
+
/** The base (=no conditions) styles to apply */
|
|
258
|
+
"base": string
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type ConditionalValue<V> =
|
|
262
|
+
| V
|
|
263
|
+
| Array<V | null>
|
|
264
|
+
| {
|
|
265
|
+
[K in keyof Conditions]?: ConditionalValue<V>
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type Nested<P> = P & {
|
|
269
|
+
[K in Selectors]?: Nested<P>
|
|
270
|
+
} & {
|
|
271
|
+
[K in AnySelector]?: Nested<P>
|
|
272
|
+
} & {
|
|
273
|
+
[K in keyof Conditions]?: Nested<P>
|
|
274
|
+
}
|