cetec-design-system 0.0.2 → 0.0.4
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/package.json +12 -2
- package/styled-system/css/conditions.js +36 -0
- package/styled-system/css/conditions.mjs +36 -0
- package/styled-system/css/css.d.ts +22 -0
- package/styled-system/css/css.js +45 -0
- package/styled-system/css/css.mjs +45 -0
- package/styled-system/css/cva.d.ts +6 -0
- package/styled-system/css/cva.js +87 -0
- package/styled-system/css/cva.mjs +87 -0
- package/styled-system/css/cx.d.ts +5 -0
- package/styled-system/css/cx.js +15 -0
- package/styled-system/css/cx.mjs +15 -0
- package/styled-system/css/index.d.ts +5 -0
- package/styled-system/css/index.js +4 -0
- package/styled-system/css/index.mjs +4 -0
- package/styled-system/css/sva.d.ts +4 -0
- package/styled-system/css/sva.js +41 -0
- package/styled-system/css/sva.mjs +41 -0
- package/styled-system/debug/config.json +8379 -0
- package/styled-system/debug/src__App.ast.json +1291 -0
- package/styled-system/debug/src__App.css +830 -0
- package/styled-system/debug/src__components__Button__Button.stories.ast.json +244 -0
- package/styled-system/debug/src__components__Button__Button.stories.css +372 -0
- package/styled-system/debug/src__components__Code__Code.ast.json +32 -0
- package/styled-system/debug/src__components__Code__Code.css +25 -0
- package/styled-system/debug/src__components__Code__Pre.ast.json +53 -0
- package/styled-system/debug/src__components__Code__Pre.css +45 -0
- package/styled-system/debug/src__components__Code__copy-to-clipboard-button.ast.json +68 -0
- package/styled-system/debug/src__components__Code__copy-to-clipboard-button.css +167 -0
- package/styled-system/debug/src__components__Heading__Heading.ast.json +59 -0
- package/styled-system/debug/src__components__Heading__Heading.css +25 -0
- package/styled-system/debug/src__components__Icon__Icon.ast.json +28 -0
- package/styled-system/debug/src__components__Icon__Icon.css +9 -0
- package/styled-system/debug/src__components__Icon__iconStyle.ast.json +27 -0
- package/styled-system/debug/src__components__Icon__iconStyle.css +5 -0
- package/styled-system/debug/src__components__Input__Input.ast.json +50 -0
- package/styled-system/debug/src__components__Input__Input.css +79 -0
- package/styled-system/debug/src__components__Label__Label.ast.json +45 -0
- package/styled-system/debug/src__components__Label__Label.css +40 -0
- package/styled-system/debug/src__components__Link__Link.ast.json +72 -0
- package/styled-system/debug/src__components__Link__Link.css +39 -0
- package/styled-system/debug/src__components__Link__linkStyles.ast.json +59 -0
- package/styled-system/debug/src__components__Link__linkStyles.css +77 -0
- package/styled-system/debug/src__components__Spinner__spinnerStyles.ast.json +56 -0
- package/styled-system/debug/src__components__Spinner__spinnerStyles.css +69 -0
- package/styled-system/debug/src__components__Text__Text.ast.json +57 -0
- package/styled-system/debug/src__components__Text__Text.css +22 -0
- package/styled-system/debug/src__components__Text__Text.stories.ast.json +60 -0
- package/styled-system/debug/src__components__Text__Text.stories.css +40 -0
- package/styled-system/debug/src__components__Textarea__Textarea.ast.json +50 -0
- package/styled-system/debug/src__components__Textarea__Textarea.css +92 -0
- package/styled-system/debug/src__components__ThemeSwitcher__ThemeSwitcher.ast.json +42 -0
- package/styled-system/debug/src__components__ThemeSwitcher__ThemeSwitcher.css +101 -0
- package/styled-system/helpers.js +336 -0
- package/styled-system/helpers.mjs +336 -0
- package/styled-system/jsx/aspect-ratio.d.ts +10 -0
- package/styled-system/jsx/aspect-ratio.js +14 -0
- package/styled-system/jsx/aspect-ratio.mjs +14 -0
- package/styled-system/jsx/bleed.d.ts +10 -0
- package/styled-system/jsx/bleed.js +14 -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.js +14 -0
- package/styled-system/jsx/center.mjs +14 -0
- package/styled-system/jsx/circle.d.ts +10 -0
- package/styled-system/jsx/circle.js +14 -0
- package/styled-system/jsx/circle.mjs +14 -0
- package/styled-system/jsx/container.d.ts +10 -0
- package/styled-system/jsx/container.js +14 -0
- package/styled-system/jsx/container.mjs +14 -0
- package/styled-system/jsx/cq.d.ts +10 -0
- package/styled-system/jsx/cq.js +14 -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.js +22 -0
- package/styled-system/jsx/factory-helper.mjs +22 -0
- package/styled-system/jsx/factory.d.ts +3 -0
- package/styled-system/jsx/factory.js +80 -0
- package/styled-system/jsx/factory.mjs +80 -0
- package/styled-system/jsx/flex.d.ts +10 -0
- package/styled-system/jsx/flex.js +14 -0
- package/styled-system/jsx/flex.mjs +14 -0
- package/styled-system/jsx/float.d.ts +10 -0
- package/styled-system/jsx/float.js +14 -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.js +14 -0
- package/styled-system/jsx/grid-item.mjs +14 -0
- package/styled-system/jsx/grid.d.ts +10 -0
- package/styled-system/jsx/grid.js +14 -0
- package/styled-system/jsx/grid.mjs +14 -0
- package/styled-system/jsx/hstack.d.ts +10 -0
- package/styled-system/jsx/hstack.js +14 -0
- package/styled-system/jsx/hstack.mjs +14 -0
- package/styled-system/jsx/icon.d.ts +10 -0
- package/styled-system/jsx/icon.js +14 -0
- package/styled-system/jsx/icon.mjs +14 -0
- package/styled-system/jsx/index.d.ts +23 -0
- package/styled-system/jsx/index.js +21 -0
- package/styled-system/jsx/index.mjs +21 -0
- package/styled-system/jsx/is-valid-prop.d.ts +11 -0
- package/styled-system/jsx/is-valid-prop.js +17 -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.js +14 -0
- package/styled-system/jsx/link-overlay.mjs +14 -0
- package/styled-system/jsx/spacer.d.ts +10 -0
- package/styled-system/jsx/spacer.js +14 -0
- package/styled-system/jsx/spacer.mjs +14 -0
- package/styled-system/jsx/square.d.ts +10 -0
- package/styled-system/jsx/square.js +14 -0
- package/styled-system/jsx/square.mjs +14 -0
- package/styled-system/jsx/stack.d.ts +10 -0
- package/styled-system/jsx/stack.js +14 -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.js +14 -0
- package/styled-system/jsx/visually-hidden.mjs +14 -0
- package/styled-system/jsx/vstack.d.ts +10 -0
- package/styled-system/jsx/vstack.js +14 -0
- package/styled-system/jsx/vstack.mjs +14 -0
- package/styled-system/jsx/wrap.d.ts +10 -0
- package/styled-system/jsx/wrap.js +14 -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.js +38 -0
- package/styled-system/patterns/aspect-ratio.mjs +38 -0
- package/styled-system/patterns/bleed.d.ts +22 -0
- package/styled-system/patterns/bleed.js +24 -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.js +21 -0
- package/styled-system/patterns/center.mjs +21 -0
- package/styled-system/patterns/circle.d.ts +21 -0
- package/styled-system/patterns/circle.js +25 -0
- package/styled-system/patterns/circle.mjs +25 -0
- package/styled-system/patterns/container.d.ts +21 -0
- package/styled-system/patterns/container.js +24 -0
- package/styled-system/patterns/container.mjs +24 -0
- package/styled-system/patterns/cq.d.ts +22 -0
- package/styled-system/patterns/cq.js +21 -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.js +26 -0
- package/styled-system/patterns/flex.mjs +26 -0
- package/styled-system/patterns/float.d.ts +24 -0
- package/styled-system/patterns/float.js +52 -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.js +25 -0
- package/styled-system/patterns/grid-item.mjs +25 -0
- package/styled-system/patterns/grid.d.ts +25 -0
- package/styled-system/patterns/grid.js +27 -0
- package/styled-system/patterns/grid.mjs +27 -0
- package/styled-system/patterns/hstack.d.ts +22 -0
- package/styled-system/patterns/hstack.js +24 -0
- package/styled-system/patterns/hstack.mjs +24 -0
- package/styled-system/patterns/icon.d.ts +21 -0
- package/styled-system/patterns/icon.js +20 -0
- package/styled-system/patterns/icon.mjs +20 -0
- package/styled-system/patterns/index.d.ts +20 -0
- package/styled-system/patterns/index.js +19 -0
- package/styled-system/patterns/index.mjs +19 -0
- package/styled-system/patterns/link-overlay.d.ts +21 -0
- package/styled-system/patterns/link-overlay.js +24 -0
- package/styled-system/patterns/link-overlay.mjs +24 -0
- package/styled-system/patterns/spacer.d.ts +21 -0
- package/styled-system/patterns/spacer.js +21 -0
- package/styled-system/patterns/spacer.mjs +21 -0
- package/styled-system/patterns/square.d.ts +21 -0
- package/styled-system/patterns/square.js +24 -0
- package/styled-system/patterns/square.mjs +24 -0
- package/styled-system/patterns/stack.d.ts +24 -0
- package/styled-system/patterns/stack.js +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.js +18 -0
- package/styled-system/patterns/visually-hidden.mjs +18 -0
- package/styled-system/patterns/vstack.d.ts +22 -0
- package/styled-system/patterns/vstack.js +24 -0
- package/styled-system/patterns/vstack.mjs +24 -0
- package/styled-system/patterns/wrap.d.ts +25 -0
- package/styled-system/patterns/wrap.js +25 -0
- package/styled-system/patterns/wrap.mjs +25 -0
- package/styled-system/recipes/box.d.ts +28 -0
- package/styled-system/recipes/box.js +24 -0
- package/styled-system/recipes/box.mjs +24 -0
- package/styled-system/recipes/button.d.ts +35 -0
- package/styled-system/recipes/button.js +41 -0
- package/styled-system/recipes/button.mjs +41 -0
- package/styled-system/recipes/checkbox.d.ts +28 -0
- package/styled-system/recipes/checkbox.js +40 -0
- package/styled-system/recipes/checkbox.mjs +40 -0
- package/styled-system/recipes/code.d.ts +28 -0
- package/styled-system/recipes/code.js +24 -0
- package/styled-system/recipes/code.mjs +24 -0
- package/styled-system/recipes/create-recipe.js +82 -0
- package/styled-system/recipes/create-recipe.mjs +82 -0
- package/styled-system/recipes/divider.d.ts +35 -0
- package/styled-system/recipes/divider.js +38 -0
- package/styled-system/recipes/divider.mjs +38 -0
- package/styled-system/recipes/heading.d.ts +31 -0
- package/styled-system/recipes/heading.js +33 -0
- package/styled-system/recipes/heading.mjs +33 -0
- package/styled-system/recipes/icon-button.d.ts +35 -0
- package/styled-system/recipes/icon-button.js +41 -0
- package/styled-system/recipes/icon-button.mjs +41 -0
- package/styled-system/recipes/index.d.ts +16 -0
- package/styled-system/recipes/index.js +15 -0
- package/styled-system/recipes/index.mjs +15 -0
- package/styled-system/recipes/input.d.ts +31 -0
- package/styled-system/recipes/input.js +31 -0
- package/styled-system/recipes/input.mjs +31 -0
- package/styled-system/recipes/label.d.ts +38 -0
- package/styled-system/recipes/label.js +83 -0
- package/styled-system/recipes/label.mjs +83 -0
- package/styled-system/recipes/link.d.ts +38 -0
- package/styled-system/recipes/link.js +83 -0
- package/styled-system/recipes/link.mjs +83 -0
- package/styled-system/recipes/pre.d.ts +28 -0
- package/styled-system/recipes/pre.js +24 -0
- package/styled-system/recipes/pre.mjs +24 -0
- package/styled-system/recipes/radio.d.ts +28 -0
- package/styled-system/recipes/radio.js +40 -0
- package/styled-system/recipes/radio.mjs +40 -0
- package/styled-system/recipes/spinner.d.ts +31 -0
- package/styled-system/recipes/spinner.js +32 -0
- package/styled-system/recipes/spinner.mjs +32 -0
- package/styled-system/recipes/switchbox.d.ts +28 -0
- package/styled-system/recipes/switchbox.mjs +40 -0
- package/styled-system/recipes/text.d.ts +37 -0
- package/styled-system/recipes/text.js +80 -0
- package/styled-system/recipes/text.mjs +80 -0
- package/styled-system/recipes/textarea.d.ts +31 -0
- package/styled-system/recipes/textarea.js +32 -0
- package/styled-system/recipes/textarea.mjs +32 -0
- package/styled-system/recipes/textinput.d.ts +32 -0
- package/styled-system/recipes/textinput.mjs +35 -0
- package/styled-system/styles.css +672 -0
- package/styled-system/tokens/index.d.ts +9 -0
- package/styled-system/tokens/index.js +1480 -0
- package/styled-system/tokens/index.mjs +1480 -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 +306 -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 +235 -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
- package/.github/CODEOWNERS +0 -1
- package/.husky/task-runner.json +0 -10
- package/.nvmrc +0 -1
- package/.prettierrc +0 -8
- package/.storybook/main.ts +0 -18
- package/.storybook/preview-body.html +0 -0
- package/.storybook/preview-head.tsx +0 -1
- package/.storybook/preview.tsx +0 -21
- package/index.html +0 -13
- package/panda.config.ts +0 -201
- package/postcss.config.cjs +0 -5
- package/src/App.tsx +0 -429
- package/src/contexts/ThemeContext.tsx +0 -77
- package/src/main.tsx +0 -10
- package/src/recipes/box.ts +0 -16
- package/src/recipes/button.ts +0 -220
- package/src/recipes/checkbox.ts +0 -88
- package/src/recipes/code.ts +0 -37
- package/src/recipes/divider.ts +0 -40
- package/src/recipes/index.ts +0 -10
- package/src/recipes/input.ts +0 -56
- package/src/recipes/radio.ts +0 -71
- package/src/recipes/spinner.ts +0 -42
- package/src/recipes/text.ts +0 -185
- package/src/recipes/textarea.ts +0 -77
- package/src/styles/conditions.ts +0 -108
- package/src/styles/font-imports.css +0 -35
- package/src/styles/globalStyle.ts +0 -85
- package/src/styles/index.css +0 -3
- package/src/styles/semanticTokens.ts +0 -110
- package/src/styles/tokens.ts +0 -580
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -33
- package/vite.config.ts +0 -39
|
@@ -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" | "shadows.low" | "shadows.medium" | "shadows.high" | "shadows.inset" | "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" | "letterSpacings.tighter" | "letterSpacings.tight" | "letterSpacings.normal" | "letterSpacings.wide" | "letterSpacings.wider" | "letterSpacings.widest" | "lineHeights.none" | "lineHeights.tight" | "lineHeights.default" | "lineHeights.loose" | "blurs.sm" | "blurs.base" | "blurs.md" | "blurs.lg" | "blurs.xl" | "blurs.2xl" | "blurs.3xl" | "animations.spin" | "animations.ping" | "animations.pulse" | "animations.bounce" | "colors.transparent" | "colors.current" | "colors.slate.0" | "colors.slate.1" | "colors.slate.2" | "colors.slate.3" | "colors.slate.4" | "colors.slate.5" | "colors.slate.10" | "colors.slate.20" | "colors.slate.30" | "colors.slate.40" | "colors.slate.50" | "colors.slate.60" | "colors.slate.70" | "colors.slate.80" | "colors.slate.90" | "colors.slate.100" | "colors.gold.1" | "colors.gold.2" | "colors.gold.3" | "colors.gold.4" | "colors.gold.5" | "colors.gold.10" | "colors.gold.20" | "colors.gold.30" | "colors.gold.40" | "colors.gold.50" | "colors.gold.60" | "colors.gold.70" | "colors.gold.80" | "colors.gold.90" | "colors.orange.5" | "colors.orange.10" | "colors.orange.20" | "colors.orange.30" | "colors.orange.40" | "colors.orange.50" | "colors.orange.60" | "colors.orange.70" | "colors.orange.80" | "colors.orange.90" | "colors.tan.5" | "colors.tan.10" | "colors.tan.20" | "colors.tan.30" | "colors.tan.40" | "colors.tan.50" | "colors.tan.60" | "colors.tan.70" | "colors.tan.80" | "colors.tan.90" | "colors.cyan.5" | "colors.cyan.10" | "colors.cyan.20" | "colors.cyan.30" | "colors.cyan.40" | "colors.cyan.50" | "colors.cyan.60" | "colors.cyan.70" | "colors.cyan.80" | "colors.cyan.90" | "colors.blue.5" | "colors.blue.10" | "colors.blue.20" | "colors.blue.30" | "colors.blue.40" | "colors.blue.50" | "colors.blue.60" | "colors.blue.70" | "colors.blue.80" | "colors.blue.90" | "colors.green.1" | "colors.green.2" | "colors.green.3" | "colors.green.4" | "colors.green.5" | "colors.green.10" | "colors.green.20" | "colors.green.30" | "colors.green.40" | "colors.green.50" | "colors.green.60" | "colors.green.70" | "colors.green.80" | "colors.green.90" | "colors.yellow.1" | "colors.yellow.2" | "colors.yellow.3" | "colors.yellow.4" | "colors.yellow.5" | "colors.yellow.10" | "colors.yellow.20" | "colors.yellow.30" | "colors.yellow.40" | "colors.yellow.50" | "colors.yellow.60" | "colors.yellow.70" | "colors.yellow.80" | "colors.yellow.90" | "colors.red.1" | "colors.red.2" | "colors.red.3" | "colors.red.4" | "colors.red.5" | "colors.red.10" | "colors.red.20" | "colors.red.30" | "colors.red.40" | "colors.red.50" | "colors.red.60" | "colors.red.70" | "colors.red.80" | "colors.red.90" | "fonts.heading" | "fonts.body" | "fonts.mono" | "fontSizes.12" | "fontSizes.14" | "fontSizes.16" | "fontSizes.20" | "fontSizes.24" | "fontSizes.32" | "fontSizes.40" | "fontSizes.48" | "fontSizes.64" | "fontSizes.72" | "fontSizes.80" | "fontSizes.96" | "fontWeights.light" | "fontWeights.normal" | "fontWeights.medium" | "fontWeights.bold" | "fontWeights.black" | "sizes.0" | "sizes.1" | "sizes.2" | "sizes.3" | "sizes.4" | "sizes.5" | "sizes.6" | "sizes.7" | "sizes.8" | "sizes.9" | "sizes.10" | "sizes.12" | "sizes.14" | "sizes.16" | "sizes.20" | "sizes.22" | "sizes.24" | "sizes.32" | "sizes.40" | "sizes.48" | "sizes.56" | "sizes.64" | "sizes.72" | "sizes.80" | "sizes.96" | "sizes.full" | "sizes.min" | "sizes.max" | "sizes.fit" | "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.breakpoint-xs" | "sizes.breakpoint-sm" | "sizes.breakpoint-md" | "sizes.breakpoint-lg" | "sizes.breakpoint-xl" | "sizes.breakpoint-2xl" | "spacing.0" | "spacing.1" | "spacing.2" | "spacing.3" | "spacing.4" | "spacing.5" | "spacing.6" | "spacing.7" | "spacing.8" | "spacing.9" | "spacing.10" | "spacing.12" | "spacing.14" | "spacing.16" | "spacing.20" | "spacing.22" | "spacing.24" | "spacing.32" | "spacing.40" | "spacing.48" | "spacing.56" | "spacing.64" | "spacing.72" | "spacing.80" | "spacing.96" | "spacing.full" | "spacing.min" | "spacing.max" | "spacing.fit" | "spacing.xs" | "spacing.sm" | "spacing.md" | "spacing.lg" | "spacing.xl" | "spacing.2xl" | "spacing.3xl" | "spacing.4xl" | "spacing.5xl" | "spacing.6xl" | "spacing.7xl" | "spacing.8xl" | "spacing.prose" | "radii.0" | "radii.1" | "radii.2" | "radii.3" | "radii.4" | "radii.8" | "radii.16" | "radii.100" | "breakpoints.xs" | "breakpoints.sm" | "breakpoints.md" | "breakpoints.lg" | "breakpoints.xl" | "breakpoints.2xl" | "colors.brand.slate" | "colors.brand.gold" | "colors.success.lighter" | "colors.success.light" | "colors.success.default" | "colors.success.dark" | "colors.success.darker" | "colors.warning.lighter" | "colors.warning.light" | "colors.warning.default" | "colors.warning.dark" | "colors.warning.darker" | "colors.error.lighter" | "colors.error.light" | "colors.error.default" | "colors.error.dark" | "colors.error.darker" | "colors.utility.shadowColor" | "spacing.-0" | "spacing.-1" | "spacing.-2" | "spacing.-3" | "spacing.-4" | "spacing.-5" | "spacing.-6" | "spacing.-7" | "spacing.-8" | "spacing.-9" | "spacing.-10" | "spacing.-12" | "spacing.-14" | "spacing.-16" | "spacing.-20" | "spacing.-22" | "spacing.-24" | "spacing.-32" | "spacing.-40" | "spacing.-48" | "spacing.-56" | "spacing.-64" | "spacing.-72" | "spacing.-80" | "spacing.-96" | "spacing.-full" | "spacing.-min" | "spacing.-max" | "spacing.-fit" | "spacing.-xs" | "spacing.-sm" | "spacing.-md" | "spacing.-lg" | "spacing.-xl" | "spacing.-2xl" | "spacing.-3xl" | "spacing.-4xl" | "spacing.-5xl" | "spacing.-6xl" | "spacing.-7xl" | "spacing.-8xl" | "spacing.-prose" | "colors.colorPalette" | "colors.colorPalette.0" | "colors.colorPalette.1" | "colors.colorPalette.2" | "colors.colorPalette.3" | "colors.colorPalette.4" | "colors.colorPalette.5" | "colors.colorPalette.10" | "colors.colorPalette.20" | "colors.colorPalette.30" | "colors.colorPalette.40" | "colors.colorPalette.50" | "colors.colorPalette.60" | "colors.colorPalette.70" | "colors.colorPalette.80" | "colors.colorPalette.90" | "colors.colorPalette.100" | "colors.colorPalette.slate" | "colors.colorPalette.gold" | "colors.colorPalette.lighter" | "colors.colorPalette.light" | "colors.colorPalette.default" | "colors.colorPalette.dark" | "colors.colorPalette.darker" | "colors.colorPalette.shadowColor"
|
|
3
|
+
|
|
4
|
+
export type ColorPalette = "transparent" | "current" | "slate" | "gold" | "orange" | "tan" | "cyan" | "blue" | "green" | "yellow" | "red" | "brand" | "success" | "warning" | "error" | "utility"
|
|
5
|
+
|
|
6
|
+
export type AspectRatioToken = "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden"
|
|
7
|
+
|
|
8
|
+
export type BorderToken = "none"
|
|
9
|
+
|
|
10
|
+
export type ShadowToken = "low" | "medium" | "high" | "inset"
|
|
11
|
+
|
|
12
|
+
export type EasingToken = "default" | "linear" | "in" | "out" | "in-out"
|
|
13
|
+
|
|
14
|
+
export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
|
|
15
|
+
|
|
16
|
+
export type LetterSpacingToken = "tighter" | "tight" | "normal" | "wide" | "wider" | "widest"
|
|
17
|
+
|
|
18
|
+
export type LineHeightToken = "none" | "tight" | "default" | "loose"
|
|
19
|
+
|
|
20
|
+
export type BlurToken = "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl"
|
|
21
|
+
|
|
22
|
+
export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"
|
|
23
|
+
|
|
24
|
+
export type ColorToken = "transparent" | "current" | "slate.0" | "slate.1" | "slate.2" | "slate.3" | "slate.4" | "slate.5" | "slate.10" | "slate.20" | "slate.30" | "slate.40" | "slate.50" | "slate.60" | "slate.70" | "slate.80" | "slate.90" | "slate.100" | "gold.1" | "gold.2" | "gold.3" | "gold.4" | "gold.5" | "gold.10" | "gold.20" | "gold.30" | "gold.40" | "gold.50" | "gold.60" | "gold.70" | "gold.80" | "gold.90" | "orange.5" | "orange.10" | "orange.20" | "orange.30" | "orange.40" | "orange.50" | "orange.60" | "orange.70" | "orange.80" | "orange.90" | "tan.5" | "tan.10" | "tan.20" | "tan.30" | "tan.40" | "tan.50" | "tan.60" | "tan.70" | "tan.80" | "tan.90" | "cyan.5" | "cyan.10" | "cyan.20" | "cyan.30" | "cyan.40" | "cyan.50" | "cyan.60" | "cyan.70" | "cyan.80" | "cyan.90" | "blue.5" | "blue.10" | "blue.20" | "blue.30" | "blue.40" | "blue.50" | "blue.60" | "blue.70" | "blue.80" | "blue.90" | "green.1" | "green.2" | "green.3" | "green.4" | "green.5" | "green.10" | "green.20" | "green.30" | "green.40" | "green.50" | "green.60" | "green.70" | "green.80" | "green.90" | "yellow.1" | "yellow.2" | "yellow.3" | "yellow.4" | "yellow.5" | "yellow.10" | "yellow.20" | "yellow.30" | "yellow.40" | "yellow.50" | "yellow.60" | "yellow.70" | "yellow.80" | "yellow.90" | "red.1" | "red.2" | "red.3" | "red.4" | "red.5" | "red.10" | "red.20" | "red.30" | "red.40" | "red.50" | "red.60" | "red.70" | "red.80" | "red.90" | "brand.slate" | "brand.gold" | "success.lighter" | "success.light" | "success.default" | "success.dark" | "success.darker" | "warning.lighter" | "warning.light" | "warning.default" | "warning.dark" | "warning.darker" | "error.lighter" | "error.light" | "error.default" | "error.dark" | "error.darker" | "utility.shadowColor" | "colorPalette" | "colorPalette.0" | "colorPalette.1" | "colorPalette.2" | "colorPalette.3" | "colorPalette.4" | "colorPalette.5" | "colorPalette.10" | "colorPalette.20" | "colorPalette.30" | "colorPalette.40" | "colorPalette.50" | "colorPalette.60" | "colorPalette.70" | "colorPalette.80" | "colorPalette.90" | "colorPalette.100" | "colorPalette.slate" | "colorPalette.gold" | "colorPalette.lighter" | "colorPalette.light" | "colorPalette.default" | "colorPalette.dark" | "colorPalette.darker" | "colorPalette.shadowColor"
|
|
25
|
+
|
|
26
|
+
export type FontToken = "heading" | "body" | "mono"
|
|
27
|
+
|
|
28
|
+
export type FontSizeToken = "12" | "14" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "72" | "80" | "96"
|
|
29
|
+
|
|
30
|
+
export type FontWeightToken = "light" | "normal" | "medium" | "bold" | "black"
|
|
31
|
+
|
|
32
|
+
export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "40" | "48" | "56" | "64" | "72" | "80" | "96" | "full" | "min" | "max" | "fit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "prose" | "breakpoint-xs" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl" | "breakpoint-2xl"
|
|
33
|
+
|
|
34
|
+
export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "12" | "14" | "16" | "20" | "22" | "24" | "32" | "40" | "48" | "56" | "64" | "72" | "80" | "96" | "full" | "min" | "max" | "fit" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "prose" | "-0" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-12" | "-14" | "-16" | "-20" | "-22" | "-24" | "-32" | "-40" | "-48" | "-56" | "-64" | "-72" | "-80" | "-96" | "-full" | "-min" | "-max" | "-fit" | "-xs" | "-sm" | "-md" | "-lg" | "-xl" | "-2xl" | "-3xl" | "-4xl" | "-5xl" | "-6xl" | "-7xl" | "-8xl" | "-prose"
|
|
35
|
+
|
|
36
|
+
export type RadiusToken = "0" | "1" | "2" | "3" | "4" | "8" | "16" | "100"
|
|
37
|
+
|
|
38
|
+
export type BreakpointToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl"
|
|
39
|
+
|
|
40
|
+
export type Tokens = {
|
|
41
|
+
aspectRatios: AspectRatioToken
|
|
42
|
+
borders: BorderToken
|
|
43
|
+
shadows: ShadowToken
|
|
44
|
+
easings: EasingToken
|
|
45
|
+
durations: DurationToken
|
|
46
|
+
letterSpacings: LetterSpacingToken
|
|
47
|
+
lineHeights: LineHeightToken
|
|
48
|
+
blurs: BlurToken
|
|
49
|
+
animations: AnimationToken
|
|
50
|
+
colors: ColorToken
|
|
51
|
+
fonts: FontToken
|
|
52
|
+
fontSizes: FontSizeToken
|
|
53
|
+
fontWeights: FontWeightToken
|
|
54
|
+
sizes: SizeToken
|
|
55
|
+
spacing: SpacingToken
|
|
56
|
+
radii: RadiusToken
|
|
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,306 @@
|
|
|
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 &, [data-color-mode=dark] &` */
|
|
154
|
+
"_dark": string
|
|
155
|
+
/** `.light &, [data-color-mode=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
|
+
/** `&:is([data-error], [error])` */
|
|
184
|
+
"_error": string
|
|
185
|
+
/** `&:is([hidden])` */
|
|
186
|
+
"_hidden": string
|
|
187
|
+
/** `&:is([data-current])` */
|
|
188
|
+
"_current": string
|
|
189
|
+
/** `&:is([data-today])` */
|
|
190
|
+
"_today": string
|
|
191
|
+
/** `&:is([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
|
|
192
|
+
"_collapsed": string
|
|
193
|
+
/** `@container (max-width: 560px)` */
|
|
194
|
+
"_containerSmall": string
|
|
195
|
+
/** `@container (min-width: 561px) and (max-width: 999px)` */
|
|
196
|
+
"_containerMedium": string
|
|
197
|
+
/** `@container (min-width: 1000px)` */
|
|
198
|
+
"_containerLarge": string
|
|
199
|
+
/** `@media screen and (min-width: 30rem)` */
|
|
200
|
+
"xs": string
|
|
201
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 39.9975rem)` */
|
|
202
|
+
"xsOnly": string
|
|
203
|
+
/** `@media screen and (max-width: 29.9975rem)` */
|
|
204
|
+
"xsDown": string
|
|
205
|
+
/** `@media screen and (min-width: 40rem)` */
|
|
206
|
+
"sm": string
|
|
207
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
208
|
+
"smOnly": string
|
|
209
|
+
/** `@media screen and (max-width: 39.9975rem)` */
|
|
210
|
+
"smDown": string
|
|
211
|
+
/** `@media screen and (min-width: 48rem)` */
|
|
212
|
+
"md": string
|
|
213
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
214
|
+
"mdOnly": string
|
|
215
|
+
/** `@media screen and (max-width: 47.9975rem)` */
|
|
216
|
+
"mdDown": string
|
|
217
|
+
/** `@media screen and (min-width: 64rem)` */
|
|
218
|
+
"lg": string
|
|
219
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
220
|
+
"lgOnly": string
|
|
221
|
+
/** `@media screen and (max-width: 63.9975rem)` */
|
|
222
|
+
"lgDown": string
|
|
223
|
+
/** `@media screen and (min-width: 80rem)` */
|
|
224
|
+
"xl": string
|
|
225
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
226
|
+
"xlOnly": string
|
|
227
|
+
/** `@media screen and (max-width: 79.9975rem)` */
|
|
228
|
+
"xlDown": string
|
|
229
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
230
|
+
"2xl": string
|
|
231
|
+
/** `@media screen and (min-width: 96rem)` */
|
|
232
|
+
"2xlOnly": string
|
|
233
|
+
/** `@media screen and (max-width: 95.9975rem)` */
|
|
234
|
+
"2xlDown": string
|
|
235
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 39.9975rem)` */
|
|
236
|
+
"xsToSm": string
|
|
237
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 47.9975rem)` */
|
|
238
|
+
"xsToMd": string
|
|
239
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 63.9975rem)` */
|
|
240
|
+
"xsToLg": string
|
|
241
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 79.9975rem)` */
|
|
242
|
+
"xsToXl": string
|
|
243
|
+
/** `@media screen and (min-width: 30rem) and (max-width: 95.9975rem)` */
|
|
244
|
+
"xsTo2xl": string
|
|
245
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
|
|
246
|
+
"smToMd": string
|
|
247
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
|
|
248
|
+
"smToLg": string
|
|
249
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
|
|
250
|
+
"smToXl": string
|
|
251
|
+
/** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
|
|
252
|
+
"smTo2xl": string
|
|
253
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
|
|
254
|
+
"mdToLg": string
|
|
255
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
|
|
256
|
+
"mdToXl": string
|
|
257
|
+
/** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
|
|
258
|
+
"mdTo2xl": string
|
|
259
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
|
|
260
|
+
"lgToXl": string
|
|
261
|
+
/** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
|
|
262
|
+
"lgTo2xl": string
|
|
263
|
+
/** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
|
|
264
|
+
"xlTo2xl": string
|
|
265
|
+
/** `@container (min-width: 20rem)` */
|
|
266
|
+
"@/xs": string
|
|
267
|
+
/** `@container (min-width: 24rem)` */
|
|
268
|
+
"@/sm": string
|
|
269
|
+
/** `@container (min-width: 28rem)` */
|
|
270
|
+
"@/md": string
|
|
271
|
+
/** `@container (min-width: 32rem)` */
|
|
272
|
+
"@/lg": string
|
|
273
|
+
/** `@container (min-width: 36rem)` */
|
|
274
|
+
"@/xl": string
|
|
275
|
+
/** `@container (min-width: 42rem)` */
|
|
276
|
+
"@/2xl": string
|
|
277
|
+
/** `@container (min-width: 48rem)` */
|
|
278
|
+
"@/3xl": string
|
|
279
|
+
/** `@container (min-width: 56rem)` */
|
|
280
|
+
"@/4xl": string
|
|
281
|
+
/** `@container (min-width: 64rem)` */
|
|
282
|
+
"@/5xl": string
|
|
283
|
+
/** `@container (min-width: 72rem)` */
|
|
284
|
+
"@/6xl": string
|
|
285
|
+
/** `@container (min-width: 80rem)` */
|
|
286
|
+
"@/7xl": string
|
|
287
|
+
/** `@container (min-width: 90rem)` */
|
|
288
|
+
"@/8xl": string
|
|
289
|
+
/** The base (=no conditions) styles to apply */
|
|
290
|
+
"base": string
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type ConditionalValue<V> =
|
|
294
|
+
| V
|
|
295
|
+
| Array<V | null>
|
|
296
|
+
| {
|
|
297
|
+
[K in keyof Conditions]?: ConditionalValue<V>
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type Nested<P> = P & {
|
|
301
|
+
[K in Selectors]?: Nested<P>
|
|
302
|
+
} & {
|
|
303
|
+
[K in AnySelector]?: Nested<P>
|
|
304
|
+
} & {
|
|
305
|
+
[K in keyof Conditions]?: Nested<P>
|
|
306
|
+
}
|