@stokelp/styled-system 2.127.0 → 3.0.1
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/css/conditions.d.ts +7 -0
- package/css/conditions.js +32 -0
- package/css/css.d.ts +6 -6
- package/css/css.js +63 -0
- package/css/cva.d.ts +3 -4
- package/css/cva.js +51 -0
- package/css/cx.d.ts +5 -4
- package/css/{cx.mjs → cx.js} +5 -4
- package/css/first-that-works.d.ts +22 -0
- package/css/first-that-works.js +1 -0
- package/css/index.d.ts +8 -5
- package/css/index.js +8 -0
- package/css/keyframes.d.ts +5 -0
- package/css/keyframes.js +8 -0
- package/css/position-try.d.ts +5 -0
- package/css/position-try.js +11 -0
- package/css/sva.d.ts +2 -3
- package/css/sva.js +49 -0
- package/css/view-transition.d.ts +7 -0
- package/css/view-transition.js +18 -0
- package/dist/panda/buildinfo.json +20580 -0
- package/dist/panda/lib.json +15 -0
- package/dist/panda/preset.mjs +9505 -0
- package/helpers.d.ts +67 -0
- package/helpers.js +624 -0
- package/jsx/aspect-ratio.d.ts +5 -8
- package/jsx/aspect-ratio.js +11 -0
- package/jsx/bleed.d.ts +6 -9
- package/jsx/bleed.js +11 -0
- package/jsx/box.d.ts +6 -9
- package/jsx/box.js +11 -0
- package/jsx/center.d.ts +6 -9
- package/jsx/center.js +11 -0
- package/jsx/circle.d.ts +6 -9
- package/jsx/circle.js +11 -0
- package/jsx/container.d.ts +6 -9
- package/jsx/container.js +11 -0
- package/jsx/cq.d.ts +6 -9
- package/jsx/cq.js +11 -0
- package/jsx/create-recipe-context.d.ts +31 -0
- package/jsx/create-recipe-context.js +38 -0
- package/jsx/create-slot-recipe-context.d.ts +49 -0
- package/jsx/create-slot-recipe-context.js +124 -0
- package/jsx/divider.d.ts +6 -9
- package/jsx/divider.js +11 -0
- package/jsx/factory.d.ts +3 -3
- package/jsx/factory.js +91 -0
- package/jsx/flex.d.ts +6 -9
- package/jsx/flex.js +11 -0
- package/jsx/float.d.ts +6 -9
- package/jsx/float.js +11 -0
- package/jsx/grid-item.d.ts +6 -9
- package/jsx/grid-item.js +11 -0
- package/jsx/grid.d.ts +6 -9
- package/jsx/grid.js +11 -0
- package/jsx/helper.d.ts +34 -0
- package/jsx/helper.js +92 -0
- package/jsx/hstack.d.ts +6 -9
- package/jsx/hstack.js +11 -0
- package/jsx/index.d.ts +25 -25
- package/jsx/index.js +24 -0
- package/jsx/is-valid-prop.d.ts +5 -10
- package/jsx/is-valid-prop.js +12 -0
- package/jsx/link-overlay.d.ts +6 -9
- package/jsx/link-overlay.js +11 -0
- package/jsx/spacer.d.ts +6 -9
- package/jsx/spacer.js +11 -0
- package/jsx/square.d.ts +6 -9
- package/jsx/square.js +11 -0
- package/jsx/stack.d.ts +6 -9
- package/jsx/stack.js +11 -0
- package/jsx/visually-hidden.d.ts +6 -9
- package/jsx/visually-hidden.js +11 -0
- package/jsx/vstack.d.ts +6 -9
- package/jsx/vstack.js +11 -0
- package/jsx/wrap.d.ts +6 -9
- package/jsx/wrap.js +11 -0
- package/package.json +32 -18
- package/patterns/aspect-ratio.d.ts +8 -9
- package/patterns/aspect-ratio.js +37 -0
- package/patterns/bleed.d.ts +9 -10
- package/patterns/bleed.js +30 -0
- package/patterns/box.d.ts +8 -11
- package/patterns/box.js +16 -0
- package/patterns/center.d.ts +8 -9
- package/patterns/center.js +22 -0
- package/patterns/circle.d.ts +8 -9
- package/patterns/circle.js +26 -0
- package/patterns/container.d.ts +8 -11
- package/patterns/container.js +26 -0
- package/patterns/cq.d.ts +10 -10
- package/patterns/cq.js +24 -0
- package/patterns/divider.d.ts +11 -11
- package/patterns/divider.js +31 -0
- package/patterns/flex.d.ts +14 -15
- package/patterns/flex.js +27 -0
- package/patterns/float.d.ts +12 -12
- package/patterns/float.js +78 -0
- package/patterns/grid-item.d.ts +13 -14
- package/patterns/grid-item.js +26 -0
- package/patterns/grid.d.ts +13 -13
- package/patterns/grid.js +30 -0
- package/patterns/hstack.d.ts +9 -10
- package/patterns/hstack.js +27 -0
- package/patterns/index.d.ts +20 -21
- package/patterns/index.js +20 -0
- package/patterns/link-overlay.d.ts +8 -11
- package/patterns/link-overlay.js +25 -0
- package/patterns/runtime.js +25 -0
- package/patterns/spacer.d.ts +9 -9
- package/patterns/spacer.js +25 -0
- package/patterns/square.d.ts +8 -9
- package/patterns/square.js +25 -0
- package/patterns/stack.d.ts +11 -12
- package/patterns/stack.js +30 -0
- package/patterns/visually-hidden.d.ts +8 -11
- package/patterns/visually-hidden.js +19 -0
- package/patterns/vstack.d.ts +9 -10
- package/patterns/vstack.js +27 -0
- package/patterns/wrap.d.ts +12 -13
- package/patterns/wrap.js +26 -0
- package/recipes/accordion.d.ts +10 -26
- package/recipes/accordion.js +5 -0
- package/recipes/action-card.d.ts +9 -26
- package/recipes/action-card.js +5 -0
- package/recipes/alert.d.ts +10 -28
- package/recipes/alert.js +5 -0
- package/recipes/app-navigation-language-select.d.ts +12 -34
- package/recipes/app-navigation-language-select.js +5 -0
- package/recipes/app-navigation.d.ts +10 -28
- package/recipes/app-navigation.js +5 -0
- package/recipes/avatar-group.d.ts +8 -26
- package/recipes/avatar-group.js +5 -0
- package/recipes/avatar.d.ts +11 -30
- package/recipes/avatar.js +5 -0
- package/recipes/breadcrumb.d.ts +9 -24
- package/recipes/breadcrumb.js +5 -0
- package/recipes/button-filter.d.ts +8 -27
- package/recipes/button-filter.js +5 -0
- package/recipes/button.d.ts +10 -37
- package/recipes/button.js +5 -0
- package/recipes/chat-document-message.d.ts +8 -27
- package/recipes/chat-document-message.js +5 -0
- package/recipes/chat-message.d.ts +10 -33
- package/recipes/chat-message.js +5 -0
- package/recipes/chat-profile-avatar.d.ts +9 -29
- package/recipes/chat-profile-avatar.js +5 -0
- package/recipes/chat-text-input.d.ts +8 -27
- package/recipes/chat-text-input.js +5 -0
- package/recipes/chat.d.ts +9 -26
- package/recipes/chat.js +5 -0
- package/recipes/checkbox-card.d.ts +10 -26
- package/recipes/checkbox-card.js +5 -0
- package/recipes/checkbox-group.d.ts +7 -24
- package/recipes/checkbox-group.js +5 -0
- package/recipes/checkbox.d.ts +10 -26
- package/recipes/checkbox.js +5 -0
- package/recipes/chip.d.ts +11 -32
- package/recipes/chip.js +5 -0
- package/recipes/collapsible.d.ts +9 -24
- package/recipes/collapsible.js +5 -0
- package/recipes/combobox.d.ts +11 -27
- package/recipes/combobox.js +5 -0
- package/recipes/datepicker.d.ts +9 -24
- package/recipes/datepicker.js +5 -0
- package/recipes/dialog.d.ts +9 -24
- package/recipes/dialog.js +5 -0
- package/recipes/drawer.d.ts +10 -26
- package/recipes/drawer.js +5 -0
- package/recipes/flag.d.ts +8 -26
- package/recipes/flag.js +5 -0
- package/recipes/form-control.d.ts +8 -27
- package/recipes/form-control.js +5 -0
- package/recipes/form-helper-text.d.ts +8 -27
- package/recipes/form-helper-text.js +5 -0
- package/recipes/form-label.d.ts +10 -28
- package/recipes/form-label.js +5 -0
- package/recipes/heading.d.ts +10 -28
- package/recipes/heading.js +5 -0
- package/recipes/highlighted-input.d.ts +9 -26
- package/recipes/highlighted-input.js +5 -0
- package/recipes/icon-button.d.ts +10 -37
- package/recipes/icon-button.js +5 -0
- package/recipes/icon.d.ts +8 -26
- package/recipes/icon.js +5 -0
- package/recipes/illustration.d.ts +9 -29
- package/recipes/illustration.js +5 -0
- package/recipes/index.d.ts +62 -63
- package/recipes/index.js +62 -0
- package/recipes/input-addon.d.ts +8 -27
- package/recipes/input-addon.js +5 -0
- package/recipes/input-group.d.ts +8 -27
- package/recipes/input-group.js +5 -0
- package/recipes/input.d.ts +9 -29
- package/recipes/input.js +5 -0
- package/recipes/menu.d.ts +10 -26
- package/recipes/menu.js +5 -0
- package/recipes/mobile-navigation.d.ts +10 -28
- package/recipes/mobile-navigation.js +5 -0
- package/recipes/pagination.d.ts +9 -26
- package/recipes/pagination.js +5 -0
- package/recipes/phone-number-input.d.ts +9 -29
- package/recipes/phone-number-input.js +5 -0
- package/recipes/popover.d.ts +9 -24
- package/recipes/popover.js +5 -0
- package/recipes/price-tag.d.ts +10 -26
- package/recipes/price-tag.js +5 -0
- package/recipes/product-card-catalog.d.ts +9 -26
- package/recipes/product-card-catalog.js +5 -0
- package/recipes/radio-button-group.d.ts +10 -26
- package/recipes/radio-button-group.js +5 -0
- package/recipes/radio-card-group.d.ts +10 -26
- package/recipes/radio-card-group.js +5 -0
- package/recipes/radio-group.d.ts +10 -26
- package/recipes/radio-group.js +5 -0
- package/recipes/runtime.js +133 -0
- package/recipes/select-language.d.ts +10 -26
- package/recipes/select-language.js +5 -0
- package/recipes/select.d.ts +11 -27
- package/recipes/select.js +5 -0
- package/recipes/status-tag-select.d.ts +11 -30
- package/recipes/status-tag-select.js +5 -0
- package/recipes/steps.d.ts +9 -24
- package/recipes/steps.js +5 -0
- package/recipes/switch-card.d.ts +10 -26
- package/recipes/switch-card.js +5 -0
- package/recipes/switch-recipe.d.ts +10 -26
- package/recipes/switch-recipe.js +5 -0
- package/recipes/table-container.d.ts +7 -24
- package/recipes/table-container.js +5 -0
- package/recipes/table-empty-row.d.ts +7 -24
- package/recipes/table-empty-row.js +5 -0
- package/recipes/table-group-title.d.ts +8 -26
- package/recipes/table-group-title.js +5 -0
- package/recipes/table.d.ts +9 -24
- package/recipes/table.js +5 -0
- package/recipes/tabs-chip.d.ts +9 -29
- package/recipes/tabs-chip.js +5 -0
- package/recipes/tabs.d.ts +11 -30
- package/recipes/tabs.js +5 -0
- package/recipes/tag.d.ts +11 -32
- package/recipes/tag.js +5 -0
- package/recipes/text.d.ts +12 -30
- package/recipes/text.js +5 -0
- package/recipes/textarea.d.ts +7 -24
- package/recipes/textarea.js +5 -0
- package/recipes/tooltip.d.ts +9 -24
- package/recipes/tooltip.js +5 -0
- package/tokens/index.d.ts +4 -5
- package/tokens/index.js +18 -0
- package/types/index.d.ts +6 -8
- package/types/jsx.d.ts +37 -28
- package/types/pattern.d.ts +18 -70
- package/types/recipe.d.ts +58 -150
- package/types/register.d.ts +40 -0
- package/types/system.d.ts +1816 -0
- package/types/tokens.d.ts +72 -0
- package/css/conditions.mjs +0 -36
- package/css/css.mjs +0 -45
- package/css/cva.mjs +0 -87
- package/css/index.mjs +0 -4
- package/css/sva.mjs +0 -46
- package/helpers.mjs +0 -328
- package/jsx/aspect-ratio.mjs +0 -14
- package/jsx/bleed.mjs +0 -14
- package/jsx/box.mjs +0 -14
- package/jsx/center.mjs +0 -14
- package/jsx/circle.mjs +0 -14
- package/jsx/container.mjs +0 -14
- package/jsx/cq.mjs +0 -14
- package/jsx/create-style-context.d.ts +0 -54
- package/jsx/create-style-context.mjs +0 -118
- package/jsx/divider.mjs +0 -14
- package/jsx/factory-helper.mjs +0 -22
- package/jsx/factory.mjs +0 -89
- package/jsx/flex.mjs +0 -14
- package/jsx/float.mjs +0 -14
- package/jsx/grid-item.mjs +0 -14
- package/jsx/grid.mjs +0 -14
- package/jsx/hstack.mjs +0 -14
- package/jsx/index.mjs +0 -23
- package/jsx/is-valid-prop.mjs +0 -17
- package/jsx/link-overlay.mjs +0 -14
- package/jsx/spacer.mjs +0 -14
- package/jsx/square.mjs +0 -14
- package/jsx/stack.mjs +0 -14
- package/jsx/visually-hidden.mjs +0 -14
- package/jsx/vstack.mjs +0 -14
- package/jsx/wrap.mjs +0 -14
- package/panda.buildinfo.json +0 -471
- package/patterns/aspect-ratio.mjs +0 -38
- package/patterns/bleed.mjs +0 -24
- package/patterns/box.mjs +0 -15
- package/patterns/center.mjs +0 -21
- package/patterns/circle.mjs +0 -25
- package/patterns/container.mjs +0 -21
- package/patterns/cq.mjs +0 -21
- package/patterns/divider.mjs +0 -25
- package/patterns/flex.mjs +0 -26
- package/patterns/float.mjs +0 -52
- package/patterns/grid-item.mjs +0 -25
- package/patterns/grid.mjs +0 -27
- package/patterns/hstack.mjs +0 -24
- package/patterns/index.mjs +0 -20
- package/patterns/link-overlay.mjs +0 -24
- package/patterns/spacer.mjs +0 -25
- package/patterns/square.mjs +0 -24
- package/patterns/stack.mjs +0 -24
- package/patterns/visually-hidden.mjs +0 -18
- package/patterns/vstack.mjs +0 -24
- package/patterns/wrap.mjs +0 -25
- package/recipes/accordion.mjs +0 -57
- package/recipes/action-card.mjs +0 -45
- package/recipes/alert.mjs +0 -57
- package/recipes/app-navigation-language-select.mjs +0 -109
- package/recipes/app-navigation.mjs +0 -84
- package/recipes/avatar-group.mjs +0 -32
- package/recipes/avatar.mjs +0 -57
- package/recipes/breadcrumb.mjs +0 -45
- package/recipes/button-filter.mjs +0 -24
- package/recipes/button.mjs +0 -212
- package/recipes/chat-document-message.mjs +0 -24
- package/recipes/chat-message.mjs +0 -36
- package/recipes/chat-profile-avatar.mjs +0 -31
- package/recipes/chat-text-input.mjs +0 -24
- package/recipes/chat.mjs +0 -45
- package/recipes/checkbox-card.mjs +0 -73
- package/recipes/checkbox-group.mjs +0 -24
- package/recipes/checkbox.mjs +0 -57
- package/recipes/chip.mjs +0 -76
- package/recipes/collapsible.mjs +0 -45
- package/recipes/combobox.mjs +0 -101
- package/recipes/create-recipe.mjs +0 -82
- package/recipes/datepicker.mjs +0 -133
- package/recipes/dialog.mjs +0 -69
- package/recipes/drawer.mjs +0 -78
- package/recipes/flag.mjs +0 -33
- package/recipes/form-control.mjs +0 -24
- package/recipes/form-helper-text.mjs +0 -24
- package/recipes/form-label.mjs +0 -50
- package/recipes/heading.mjs +0 -41
- package/recipes/highlighted-input.mjs +0 -45
- package/recipes/icon-button.mjs +0 -233
- package/recipes/icon.mjs +0 -34
- package/recipes/illustration.mjs +0 -37
- package/recipes/index.mjs +0 -62
- package/recipes/input-addon.mjs +0 -24
- package/recipes/input-group.mjs +0 -24
- package/recipes/input.mjs +0 -30
- package/recipes/menu.mjs +0 -93
- package/recipes/mobile-navigation.mjs +0 -56
- package/recipes/pagination.mjs +0 -41
- package/recipes/phone-number-input.mjs +0 -30
- package/recipes/popover.mjs +0 -69
- package/recipes/price-tag.mjs +0 -51
- package/recipes/product-card-catalog.mjs +0 -73
- package/recipes/radio-button-group.mjs +0 -62
- package/recipes/radio-card-group.mjs +0 -77
- package/recipes/radio-group.mjs +0 -61
- package/recipes/select-language.mjs +0 -98
- package/recipes/select.mjs +0 -101
- package/recipes/status-tag-select.mjs +0 -108
- package/recipes/steps.mjs +0 -69
- package/recipes/switch-card.mjs +0 -69
- package/recipes/switch-recipe.mjs +0 -53
- package/recipes/table-container.mjs +0 -24
- package/recipes/table-empty-row.mjs +0 -24
- package/recipes/table-group-title.mjs +0 -32
- package/recipes/table.mjs +0 -61
- package/recipes/tabs-chip.mjs +0 -35
- package/recipes/tabs.mjs +0 -63
- package/recipes/tag.mjs +0 -61
- package/recipes/text.mjs +0 -41
- package/recipes/textarea.mjs +0 -24
- package/recipes/tooltip.mjs +0 -49
- package/tokens/index.mjs +0 -1728
- package/tokens/tokens.d.ts +0 -63
- package/types/composition.d.ts +0 -227
- package/types/conditions.d.ts +0 -300
- package/types/csstype.d.ts +0 -22570
- package/types/global.d.ts +0 -20
- package/types/parts.d.ts +0 -8
- package/types/prop-type.d.ts +0 -251
- package/types/selectors.d.ts +0 -59
- package/types/static-css.d.ts +0 -56
- package/types/style-props.d.ts +0 -8089
- package/types/system-types.d.ts +0 -151
package/tokens/tokens.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
export type Token = `animations.${AnimationToken}` | `aspectRatios.${AspectRatioToken}` | `blurs.${BlurToken}` | `borders.${BorderToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `fontSizes.${FontSizeToken}` | `fontWeights.${FontWeightToken}` | `fonts.${FontToken}` | `letterSpacings.${LetterSpacingToken}` | `radii.${RadiusToken}` | `shadows.${ShadowToken}` | `sizes.${SizeToken}` | `spacing.${SpacingToken}` | `zIndex.${ZIndexToken}` | `breakpoints.${BreakpointToken}` | `gradients.${GradientToken}`
|
|
3
|
-
|
|
4
|
-
export type ColorPalette = "black" | "current" | "transparent" | "white" | "purple" | "blue" | "grey" | "red" | "green" | "yellow" | "decorative" | "decorative.red" | "decorative.blue" | "decorative.yellow" | "decorative.purple" | "decorative.green" | "decorative.brown" | "typology" | "typology.fish" | "typology.meat" | "typology.fruit" | "typology.vegetable" | "typology.cereal" | "typology.oil" | "typology.aromatic" | "primary" | "secondary" | "error" | "success" | "warning" | "text"
|
|
5
|
-
|
|
6
|
-
export type AnimationToken = "backdrop-in" | "backdrop-out" | "bounce" | "dialog-in" | "dialog-out" | "drawer-in-left" | "drawer-in-right" | "drawer-out-left" | "drawer-out-right" | "fade-in" | "ping" | "pulse" | "skeleton-pulse" | "spin" | "collapse-in" | "collapse-out"
|
|
7
|
-
|
|
8
|
-
export type AspectRatioToken = "golden" | "landscape" | "portrait" | "square" | "ultrawide" | "wide"
|
|
9
|
-
|
|
10
|
-
export type BlurToken = "2xl" | "3xl" | "base" | "lg" | "md" | "sm" | "xl"
|
|
11
|
-
|
|
12
|
-
export type BorderToken = "border.none"
|
|
13
|
-
|
|
14
|
-
export type ColorToken = "black" | "current" | "transparent" | "white" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "grey.10" | "grey.50" | "grey.100" | "grey.200" | "grey.300" | "grey.400" | "grey.500" | "grey.600" | "grey.700" | "grey.800" | "grey.900" | "red.100" | "red.200" | "red.300" | "red.400" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "green.100" | "green.200" | "green.300" | "green.400" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "decorative.red.light" | "decorative.red.mid" | "decorative.red.dark" | "decorative.blue.light" | "decorative.blue.mid" | "decorative.blue.dark" | "decorative.yellow.light" | "decorative.yellow.mid" | "decorative.yellow.dark" | "decorative.purple.light" | "decorative.purple.mid" | "decorative.purple.dark" | "decorative.green.light" | "decorative.green.mid" | "decorative.green.dark" | "decorative.brown.light" | "decorative.brown.mid" | "decorative.brown.dark" | "typology.fish.light" | "typology.fish.mid" | "typology.fish.dark" | "typology.meat.light" | "typology.meat.mid" | "typology.meat.dark" | "typology.fruit.light" | "typology.fruit.mid" | "typology.fruit.dark" | "typology.vegetable.light" | "typology.vegetable.mid" | "typology.vegetable.dark" | "typology.cereal.light" | "typology.cereal.mid" | "typology.cereal.dark" | "typology.oil.light" | "typology.oil.mid" | "typology.oil.dark" | "typology.aromatic.light" | "typology.aromatic.mid" | "typology.aromatic.dark" | "primary.100" | "primary.200" | "primary.300" | "primary.400" | "primary.500" | "primary.600" | "primary.700" | "primary.800" | "primary.900" | "secondary.100" | "secondary.200" | "secondary.300" | "secondary.400" | "secondary.500" | "secondary.600" | "secondary.700" | "secondary.800" | "secondary.900" | "error.100" | "error.200" | "error.300" | "error.400" | "error.500" | "error.600" | "error.700" | "error.800" | "error.900" | "success.100" | "success.200" | "success.300" | "success.400" | "success.500" | "success.600" | "success.700" | "success.800" | "success.900" | "warning.100" | "warning.200" | "warning.300" | "warning.400" | "warning.500" | "warning.600" | "warning.700" | "warning.800" | "warning.900" | "text" | "text.disabled" | "text.heading" | "colorPalette" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.10" | "colorPalette.50" | "colorPalette.red.light" | "colorPalette.light" | "colorPalette.red.mid" | "colorPalette.mid" | "colorPalette.red.dark" | "colorPalette.dark" | "colorPalette.blue.light" | "colorPalette.blue.mid" | "colorPalette.blue.dark" | "colorPalette.yellow.light" | "colorPalette.yellow.mid" | "colorPalette.yellow.dark" | "colorPalette.purple.light" | "colorPalette.purple.mid" | "colorPalette.purple.dark" | "colorPalette.green.light" | "colorPalette.green.mid" | "colorPalette.green.dark" | "colorPalette.brown.light" | "colorPalette.brown.mid" | "colorPalette.brown.dark" | "colorPalette.fish.light" | "colorPalette.fish.mid" | "colorPalette.fish.dark" | "colorPalette.meat.light" | "colorPalette.meat.mid" | "colorPalette.meat.dark" | "colorPalette.fruit.light" | "colorPalette.fruit.mid" | "colorPalette.fruit.dark" | "colorPalette.vegetable.light" | "colorPalette.vegetable.mid" | "colorPalette.vegetable.dark" | "colorPalette.cereal.light" | "colorPalette.cereal.mid" | "colorPalette.cereal.dark" | "colorPalette.oil.light" | "colorPalette.oil.mid" | "colorPalette.oil.dark" | "colorPalette.aromatic.light" | "colorPalette.aromatic.mid" | "colorPalette.aromatic.dark" | "colorPalette.disabled" | "colorPalette.heading"
|
|
15
|
-
|
|
16
|
-
export type DurationToken = "fast" | "faster" | "fastest" | "normal" | "slow" | "slower" | "slowest"
|
|
17
|
-
|
|
18
|
-
export type EasingToken = "default" | "ease-bounce-1" | "ease-bounce-2" | "ease-bounce-3" | "ease-bounce-4" | "ease-bounce-5" | "ease-spring-1" | "ease-spring-2" | "ease-spring-3" | "ease-spring-4" | "ease-spring-5" | "emphasized-in" | "emphasized-out" | "in" | "in-out" | "linear" | "out" | "pulse"
|
|
19
|
-
|
|
20
|
-
export type FontSizeToken = "body.lg" | "body.md" | "body.sm" | "heading.desktop.2xl" | "heading.desktop.lg" | "heading.desktop.md" | "heading.desktop.sm" | "heading.desktop.xs" | "heading.mobile.2xl" | "heading.mobile.lg" | "heading.mobile.md" | "heading.mobile.sm" | "heading.mobile.xs"
|
|
21
|
-
|
|
22
|
-
export type FontWeightToken = "black" | "bold" | "extrabold" | "extralight" | "light" | "medium" | "normal" | "semibold" | "thin"
|
|
23
|
-
|
|
24
|
-
export type FontToken = "satoshi" | "cabinet" | "mono" | "sans" | "serif"
|
|
25
|
-
|
|
26
|
-
export type LetterSpacingToken = "normal" | "tight" | "tighter" | "wide" | "wider" | "widest"
|
|
27
|
-
|
|
28
|
-
export type RadiusToken = "radius-0" | "radius-2" | "radius-4" | "radius-6" | "radius-8" | "radius-10" | "radius-12" | "radius-16" | "radius-20" | "radius-24" | "radius-28" | "radius-32" | "radius-36" | "radius-40" | "radius-44" | "radius-48" | "radius-52" | "radius-56" | "radius-60" | "radius-64" | "full"
|
|
29
|
-
|
|
30
|
-
export type ShadowToken = "2xl" | "inner" | "lg" | "md" | "sm" | "xl" | "xs" | "lift.soft" | "lift.softHover" | "lift.mock" | "lift.mockNight" | "lift.form" | "lift.bar"
|
|
31
|
-
|
|
32
|
-
export type SizeToken = "size-0" | "size-12" | "size-14" | "size-16" | "size-18" | "size-2" | "size-20" | "size-24" | "size-28" | "size-32" | "size-36" | "size-4" | "size-40" | "size-6" | "size-44" | "size-8" | "full" | "max" | "size-48" | "fit" | "size-52" | "min" | "size-56" | "size-60" | "size-64" | "size-68" | "size-72" | "size-76" | "size-80" | "breakpoint-xl" | "breakpoint-lg" | "breakpoint-md" | "breakpoint-sm"
|
|
33
|
-
|
|
34
|
-
export type SpacingToken = "space-0" | "space-12" | "space-10" | "space-14" | "space-16" | "space-18" | "space-2" | "space-20" | "space-24" | "space-28" | "space-32" | "space-36" | "space-4" | "space-40" | "space-6" | "space-44" | "space-8" | "space-48" | "space-52" | "space-56" | "space-60" | "space-64" | "space-68" | "space-72" | "space-76" | "space-80" | "-space-0" | "-space-12" | "-space-10" | "-space-14" | "-space-16" | "-space-18" | "-space-2" | "-space-20" | "-space-24" | "-space-28" | "-space-32" | "-space-36" | "-space-4" | "-space-40" | "-space-6" | "-space-44" | "-space-8" | "-space-48" | "-space-52" | "-space-56" | "-space-60" | "-space-64" | "-space-68" | "-space-72" | "-space-76" | "-space-80"
|
|
35
|
-
|
|
36
|
-
export type ZIndexToken = "banner" | "base" | "docked" | "dropdown" | "hide" | "modal" | "overlay" | "popover" | "skipLink" | "sticky" | "toast" | "tooltip"
|
|
37
|
-
|
|
38
|
-
export type BreakpointToken = "xl" | "lg" | "md" | "sm"
|
|
39
|
-
|
|
40
|
-
export type GradientToken = "band.violet" | "band.night" | "band.quality"
|
|
41
|
-
|
|
42
|
-
export type Tokens = {
|
|
43
|
-
animations: AnimationToken
|
|
44
|
-
aspectRatios: AspectRatioToken
|
|
45
|
-
blurs: BlurToken
|
|
46
|
-
borders: BorderToken
|
|
47
|
-
colors: ColorToken
|
|
48
|
-
durations: DurationToken
|
|
49
|
-
easings: EasingToken
|
|
50
|
-
fontSizes: FontSizeToken
|
|
51
|
-
fontWeights: FontWeightToken
|
|
52
|
-
fonts: FontToken
|
|
53
|
-
letterSpacings: LetterSpacingToken
|
|
54
|
-
radii: RadiusToken
|
|
55
|
-
shadows: ShadowToken
|
|
56
|
-
sizes: SizeToken
|
|
57
|
-
spacing: SpacingToken
|
|
58
|
-
zIndex: ZIndexToken
|
|
59
|
-
breakpoints: BreakpointToken
|
|
60
|
-
gradients: GradientToken
|
|
61
|
-
} & { [token: string]: never }
|
|
62
|
-
|
|
63
|
-
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"
|
package/types/composition.d.ts
DELETED
|
@@ -1,227 +0,0 @@
|
|
|
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
|
-
| 'color'
|
|
19
|
-
| 'direction'
|
|
20
|
-
| 'font'
|
|
21
|
-
| 'fontFamily'
|
|
22
|
-
| 'fontFeatureSettings'
|
|
23
|
-
| 'fontKerning'
|
|
24
|
-
| 'fontLanguageOverride'
|
|
25
|
-
| 'fontOpticalSizing'
|
|
26
|
-
| 'fontPalette'
|
|
27
|
-
| 'fontSize'
|
|
28
|
-
| 'fontSizeAdjust'
|
|
29
|
-
| 'fontStretch'
|
|
30
|
-
| 'fontStyle'
|
|
31
|
-
| 'fontSynthesis'
|
|
32
|
-
| 'fontVariant'
|
|
33
|
-
| 'fontVariantAlternates'
|
|
34
|
-
| 'fontVariantCaps'
|
|
35
|
-
| 'fontVariantLigatures'
|
|
36
|
-
| 'fontVariantNumeric'
|
|
37
|
-
| 'fontVariantPosition'
|
|
38
|
-
| 'fontVariationSettings'
|
|
39
|
-
| 'fontWeight'
|
|
40
|
-
| 'hangingPunctuation'
|
|
41
|
-
| 'hypens'
|
|
42
|
-
| 'hyphenateCharacter'
|
|
43
|
-
| 'hyphenateLimitChars'
|
|
44
|
-
| 'letterSpacing'
|
|
45
|
-
| 'lineBreak'
|
|
46
|
-
| 'lineHeight'
|
|
47
|
-
| 'quotes'
|
|
48
|
-
| 'overflowWrap'
|
|
49
|
-
| 'tabSize'
|
|
50
|
-
| 'textAlign'
|
|
51
|
-
| 'textAlignLast'
|
|
52
|
-
| 'textBox'
|
|
53
|
-
| 'textBoxEdge'
|
|
54
|
-
| 'textBoxTrim'
|
|
55
|
-
| 'textCombineUpright'
|
|
56
|
-
| 'textDecoration'
|
|
57
|
-
| 'textDecorationColor'
|
|
58
|
-
| 'textDecorationLine'
|
|
59
|
-
| 'textDecorationSkip'
|
|
60
|
-
| 'textDecorationSkipBox'
|
|
61
|
-
| 'textDecorationSkipInk'
|
|
62
|
-
| 'textDecorationSkipInset'
|
|
63
|
-
| 'textDecorationStyle'
|
|
64
|
-
| 'textDecorationThickness'
|
|
65
|
-
| 'textEmphasis'
|
|
66
|
-
| 'textEmphasisColor'
|
|
67
|
-
| 'textEmphasisPosition'
|
|
68
|
-
| 'textEmphasisStyle'
|
|
69
|
-
| 'textIndent'
|
|
70
|
-
| 'textJustify'
|
|
71
|
-
| 'textOrientation'
|
|
72
|
-
| 'textOverflow'
|
|
73
|
-
| 'textRendering'
|
|
74
|
-
| 'textShadow'
|
|
75
|
-
| 'textStroke'
|
|
76
|
-
| 'textStrokeColor'
|
|
77
|
-
| 'textStrokeWidth'
|
|
78
|
-
| 'textTransform'
|
|
79
|
-
| 'textUnderlineOffset'
|
|
80
|
-
| 'textUnderlinePosition'
|
|
81
|
-
| 'textWrap'
|
|
82
|
-
| 'textWrapMode'
|
|
83
|
-
| 'textWrapStyle'
|
|
84
|
-
| 'unicodeBidi'
|
|
85
|
-
| 'verticalAlign'
|
|
86
|
-
| 'whiteSpace'
|
|
87
|
-
| 'wordBreak'
|
|
88
|
-
| 'wordSpacing'
|
|
89
|
-
| 'writingMode'
|
|
90
|
-
|
|
91
|
-
export type TextStyle = CompositionStyleObject<TextStyleProperty>
|
|
92
|
-
|
|
93
|
-
export type TextStyles = Recursive<Token<TextStyle>>
|
|
94
|
-
|
|
95
|
-
/* -----------------------------------------------------------------------------
|
|
96
|
-
* Layer styles
|
|
97
|
-
* -----------------------------------------------------------------------------*/
|
|
98
|
-
|
|
99
|
-
type LogicalPlacement = 'Inline' | 'Block' | 'InlineStart' | 'InlineEnd' | 'BlockStart' | 'BlockEnd'
|
|
100
|
-
|
|
101
|
-
type PhysicalPlacement = 'Top' | 'Right' | 'Bottom' | 'Left'
|
|
102
|
-
|
|
103
|
-
type Placement = PhysicalPlacement | LogicalPlacement
|
|
104
|
-
|
|
105
|
-
type Radius =
|
|
106
|
-
| `Top${'Right' | 'Left'}`
|
|
107
|
-
| `Bottom${'Right' | 'Left'}`
|
|
108
|
-
| `Start${'Start' | 'End'}`
|
|
109
|
-
| `End${'Start' | 'End'}`
|
|
110
|
-
|
|
111
|
-
type LayerStyleProperty =
|
|
112
|
-
| 'aspectRatio'
|
|
113
|
-
| 'background'
|
|
114
|
-
| 'backgroundColor'
|
|
115
|
-
| 'backgroundImage'
|
|
116
|
-
| 'border'
|
|
117
|
-
| 'borderColor'
|
|
118
|
-
| 'borderImage'
|
|
119
|
-
| 'borderImageOutset'
|
|
120
|
-
| 'borderImageRepeat'
|
|
121
|
-
| 'borderImageSlice'
|
|
122
|
-
| 'borderImageSource'
|
|
123
|
-
| 'borderImageWidth'
|
|
124
|
-
| 'borderRadius'
|
|
125
|
-
| 'borderStyle'
|
|
126
|
-
| 'borderWidth'
|
|
127
|
-
| `border${Placement}`
|
|
128
|
-
| `border${Placement}Color`
|
|
129
|
-
| `border${Placement}Style`
|
|
130
|
-
| `border${Placement}Width`
|
|
131
|
-
| 'borderRadius'
|
|
132
|
-
| `border${Radius}Radius`
|
|
133
|
-
| 'boxShadow'
|
|
134
|
-
| 'boxShadowColor'
|
|
135
|
-
| 'clipPath'
|
|
136
|
-
| 'color'
|
|
137
|
-
| 'contain'
|
|
138
|
-
| 'content'
|
|
139
|
-
| 'contentVisibility'
|
|
140
|
-
| 'cursor'
|
|
141
|
-
| 'display'
|
|
142
|
-
| 'filter'
|
|
143
|
-
| 'backdropFilter'
|
|
144
|
-
| 'height'
|
|
145
|
-
| 'width'
|
|
146
|
-
| 'minHeight'
|
|
147
|
-
| 'minWidth'
|
|
148
|
-
| 'maxHeight'
|
|
149
|
-
| 'maxWidth'
|
|
150
|
-
| `margin${Placement}`
|
|
151
|
-
| 'inset'
|
|
152
|
-
| `inset${LogicalPlacement}`
|
|
153
|
-
| Lowercase<PhysicalPlacement>
|
|
154
|
-
| 'isolation'
|
|
155
|
-
| 'mask'
|
|
156
|
-
| 'maskClip'
|
|
157
|
-
| 'maskComposite'
|
|
158
|
-
| 'maskImage'
|
|
159
|
-
| 'maskMode'
|
|
160
|
-
| 'maskOrigin'
|
|
161
|
-
| 'maskPosition'
|
|
162
|
-
| 'maskRepeat'
|
|
163
|
-
| 'maskSize'
|
|
164
|
-
| 'mixBlendMode'
|
|
165
|
-
| 'objectFit'
|
|
166
|
-
| 'objectPosition'
|
|
167
|
-
| 'opacity'
|
|
168
|
-
| 'outline'
|
|
169
|
-
| 'outlineColor'
|
|
170
|
-
| 'outlineOffset'
|
|
171
|
-
| 'outlineStyle'
|
|
172
|
-
| 'outlineWidth'
|
|
173
|
-
| 'overflow'
|
|
174
|
-
| 'overflowX'
|
|
175
|
-
| 'overflowY'
|
|
176
|
-
| 'padding'
|
|
177
|
-
| `padding${Placement}`
|
|
178
|
-
| 'pointerEvents'
|
|
179
|
-
| 'position'
|
|
180
|
-
| 'resize'
|
|
181
|
-
| 'transform'
|
|
182
|
-
| 'transition'
|
|
183
|
-
| 'visibility'
|
|
184
|
-
| 'willChange'
|
|
185
|
-
| 'zIndex'
|
|
186
|
-
| 'backgroundBlendMode'
|
|
187
|
-
| 'backgroundAttachment'
|
|
188
|
-
| 'backgroundClip'
|
|
189
|
-
| 'backgroundOrigin'
|
|
190
|
-
| 'backgroundPosition'
|
|
191
|
-
| 'backgroundRepeat'
|
|
192
|
-
| 'backgroundSize'
|
|
193
|
-
|
|
194
|
-
export type LayerStyle = CompositionStyleObject<LayerStyleProperty>
|
|
195
|
-
|
|
196
|
-
export type LayerStyles = Recursive<Token<LayerStyle>>
|
|
197
|
-
|
|
198
|
-
/* -----------------------------------------------------------------------------
|
|
199
|
-
* Motion styles
|
|
200
|
-
* -----------------------------------------------------------------------------*/
|
|
201
|
-
|
|
202
|
-
type AnimationStyleProperty =
|
|
203
|
-
| 'animation'
|
|
204
|
-
| 'animationComposition'
|
|
205
|
-
| 'animationDelay'
|
|
206
|
-
| 'animationDirection'
|
|
207
|
-
| 'animationDuration'
|
|
208
|
-
| 'animationFillMode'
|
|
209
|
-
| 'animationIterationCount'
|
|
210
|
-
| 'animationName'
|
|
211
|
-
| 'animationPlayState'
|
|
212
|
-
| 'animationTimingFunction'
|
|
213
|
-
| 'animationRange'
|
|
214
|
-
| 'animationRangeStart'
|
|
215
|
-
| 'animationRangeEnd'
|
|
216
|
-
| 'animationTimeline'
|
|
217
|
-
| 'transformOrigin'
|
|
218
|
-
|
|
219
|
-
export type AnimationStyle = CompositionStyleObject<AnimationStyleProperty>
|
|
220
|
-
|
|
221
|
-
export type AnimationStyles = Recursive<Token<AnimationStyle>>
|
|
222
|
-
|
|
223
|
-
export interface CompositionStyles {
|
|
224
|
-
textStyles: TextStyles
|
|
225
|
-
layerStyles: LayerStyles
|
|
226
|
-
animationStyles: AnimationStyles
|
|
227
|
-
}
|
package/types/conditions.d.ts
DELETED
|
@@ -1,300 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
import type { AnySelector, Selectors } from './selectors';
|
|
3
|
-
|
|
4
|
-
export interface Conditions {
|
|
5
|
-
/** `[data-theme=livequote] &` */
|
|
6
|
-
"_liveQuoteTheme": string
|
|
7
|
-
/** `&:where(:hover, [data-hover], [data-hovered])` */
|
|
8
|
-
"_hover": string
|
|
9
|
-
/** `&:where(:focus, [data-focus], [data-focused])` */
|
|
10
|
-
"_focus": string
|
|
11
|
-
/** `&:focus-within` */
|
|
12
|
-
"_focusWithin": string
|
|
13
|
-
/** `&:is(:focus-visible, [data-focus-visible])` */
|
|
14
|
-
"_focusVisible": string
|
|
15
|
-
/** `&:is(:disabled, [disabled], [data-disabled], .PhoneInput--disabled), &:is([readonly], [data-readonly], .PhoneInput--readOnly)` */
|
|
16
|
-
"_disabled": string
|
|
17
|
-
/** `&:is(:active, [data-active])` */
|
|
18
|
-
"_active": string
|
|
19
|
-
/** `&:visited` */
|
|
20
|
-
"_visited": string
|
|
21
|
-
/** `&:target` */
|
|
22
|
-
"_target": string
|
|
23
|
-
/** `&:is(:read-only, [data-read-only], [aria-readonly=true])` */
|
|
24
|
-
"_readOnly": string
|
|
25
|
-
/** `&:read-write` */
|
|
26
|
-
"_readWrite": string
|
|
27
|
-
/** `&:is(:empty, [data-empty])` */
|
|
28
|
-
"_empty": string
|
|
29
|
-
/** `&:where(:checked, [data-checked], [aria-checked=true], [data-state=checked])` */
|
|
30
|
-
"_checked": string
|
|
31
|
-
/** `&:enabled` */
|
|
32
|
-
"_enabled": string
|
|
33
|
-
/** `&:is([aria-expanded=true], [data-expanded], [data-state="expanded"])` */
|
|
34
|
-
"_expanded": string
|
|
35
|
-
/** `&:where([data-highlighted])` */
|
|
36
|
-
"_highlighted": string
|
|
37
|
-
/** `&[data-complete]` */
|
|
38
|
-
"_complete": string
|
|
39
|
-
/** `&[data-incomplete]` */
|
|
40
|
-
"_incomplete": string
|
|
41
|
-
/** `&[data-dragging]` */
|
|
42
|
-
"_dragging": string
|
|
43
|
-
/** `&::before` */
|
|
44
|
-
"_before": string
|
|
45
|
-
/** `&::after` */
|
|
46
|
-
"_after": string
|
|
47
|
-
/** `&::first-letter` */
|
|
48
|
-
"_firstLetter": string
|
|
49
|
-
/** `&::first-line` */
|
|
50
|
-
"_firstLine": string
|
|
51
|
-
/** `&::marker, &::-webkit-details-marker` */
|
|
52
|
-
"_marker": string
|
|
53
|
-
/** `&::selection` */
|
|
54
|
-
"_selection": string
|
|
55
|
-
/** `&::file-selector-button` */
|
|
56
|
-
"_file": string
|
|
57
|
-
/** `&::backdrop` */
|
|
58
|
-
"_backdrop": string
|
|
59
|
-
/** `&:first-child` */
|
|
60
|
-
"_first": string
|
|
61
|
-
/** `&:last-child` */
|
|
62
|
-
"_last": string
|
|
63
|
-
/** `&:only-child` */
|
|
64
|
-
"_only": string
|
|
65
|
-
/** `&:nth-child(even)` */
|
|
66
|
-
"_even": string
|
|
67
|
-
/** `&:nth-child(odd)` */
|
|
68
|
-
"_odd": string
|
|
69
|
-
/** `&:first-of-type` */
|
|
70
|
-
"_firstOfType": string
|
|
71
|
-
/** `&:last-of-type` */
|
|
72
|
-
"_lastOfType": string
|
|
73
|
-
/** `&:only-of-type` */
|
|
74
|
-
"_onlyOfType": string
|
|
75
|
-
/** `.peer:is(:focus, [data-focus]) ~ &` */
|
|
76
|
-
"_peerFocus": string
|
|
77
|
-
/** `.peer:is(:hover, [data-hover]) ~ &` */
|
|
78
|
-
"_peerHover": string
|
|
79
|
-
/** `.peer:is(:active, [data-active]) ~ &` */
|
|
80
|
-
"_peerActive": string
|
|
81
|
-
/** `.peer:focus-within ~ &` */
|
|
82
|
-
"_peerFocusWithin": string
|
|
83
|
-
/** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
|
|
84
|
-
"_peerFocusVisible": string
|
|
85
|
-
/** `.peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &` */
|
|
86
|
-
"_peerDisabled": string
|
|
87
|
-
/** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
|
|
88
|
-
"_peerChecked": string
|
|
89
|
-
/** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */
|
|
90
|
-
"_peerInvalid": string
|
|
91
|
-
/** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */
|
|
92
|
-
"_peerExpanded": string
|
|
93
|
-
/** `.peer:placeholder-shown ~ &` */
|
|
94
|
-
"_peerPlaceholderShown": string
|
|
95
|
-
/** `.group:is(:focus, [data-focus]) &` */
|
|
96
|
-
"_groupFocus": string
|
|
97
|
-
/** `[role=group]:where(:hover, [data-hover]) &` */
|
|
98
|
-
"_groupHover": string
|
|
99
|
-
/** `.group:is(:active, [data-active]) &` */
|
|
100
|
-
"_groupActive": string
|
|
101
|
-
/** `.group:focus-within &` */
|
|
102
|
-
"_groupFocusWithin": string
|
|
103
|
-
/** `.group:is(:focus-visible, [data-focus-visible]) &` */
|
|
104
|
-
"_groupFocusVisible": string
|
|
105
|
-
/** `.group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &` */
|
|
106
|
-
"_groupDisabled": string
|
|
107
|
-
/** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
|
|
108
|
-
"_groupChecked": string
|
|
109
|
-
/** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
|
|
110
|
-
"_groupExpanded": string
|
|
111
|
-
/** `.group:is(:invalid, [data-invalid], [aria-invalid=true]) &` */
|
|
112
|
-
"_groupInvalid": string
|
|
113
|
-
/** `&:where(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])` */
|
|
114
|
-
"_indeterminate": string
|
|
115
|
-
/** `&:is(:required, [data-required], [aria-required=true])` */
|
|
116
|
-
"_required": string
|
|
117
|
-
/** `&:is(:valid, [data-valid])` */
|
|
118
|
-
"_valid": string
|
|
119
|
-
/** `&:where(:invalid, [data-invalid], [aria-invalid=true])` */
|
|
120
|
-
"_invalid": string
|
|
121
|
-
/** `&:autofill` */
|
|
122
|
-
"_autofill": string
|
|
123
|
-
/** `&:is(:in-range, [data-in-range])` */
|
|
124
|
-
"_inRange": string
|
|
125
|
-
/** `&:is(:out-of-range, [data-outside-range])` */
|
|
126
|
-
"_outOfRange": string
|
|
127
|
-
/** `&::placeholder, &[data-placeholder]` */
|
|
128
|
-
"_placeholder": string
|
|
129
|
-
/** `&:where(:placeholder-shown, [data-placeholder-shown])` */
|
|
130
|
-
"_placeholderShown": string
|
|
131
|
-
/** `&:is([aria-pressed=true], [data-pressed])` */
|
|
132
|
-
"_pressed": string
|
|
133
|
-
/** `&:is([aria-selected=true], [data-selected])` */
|
|
134
|
-
"_selected": string
|
|
135
|
-
/** `&:is([aria-grabbed=true], [data-grabbed])` */
|
|
136
|
-
"_grabbed": string
|
|
137
|
-
/** `&:where([data-state="under-value"])` */
|
|
138
|
-
"_underValue": string
|
|
139
|
-
/** `&[data-state=over-value]` */
|
|
140
|
-
"_overValue": string
|
|
141
|
-
/** `&[data-state=at-value]` */
|
|
142
|
-
"_atValue": string
|
|
143
|
-
/** `&:default` */
|
|
144
|
-
"_default": string
|
|
145
|
-
/** `&:optional` */
|
|
146
|
-
"_optional": string
|
|
147
|
-
/** `&:where([open], [data-state=open])` */
|
|
148
|
-
"_open": string
|
|
149
|
-
/** `&:where([data-state=closed])` */
|
|
150
|
-
"_closed": string
|
|
151
|
-
/** `&:is(:fullscreen, [data-fullscreen])` */
|
|
152
|
-
"_fullscreen": string
|
|
153
|
-
/** `&:is([data-loading], [aria-busy=true])` */
|
|
154
|
-
"_loading": string
|
|
155
|
-
/** `&:where([hidden])` */
|
|
156
|
-
"_hidden": string
|
|
157
|
-
/** `&:is([data-current])` */
|
|
158
|
-
"_current": string
|
|
159
|
-
/** `&[aria-current=page]` */
|
|
160
|
-
"_currentPage": string
|
|
161
|
-
/** `&[aria-current=step]` */
|
|
162
|
-
"_currentStep": string
|
|
163
|
-
/** `&:where([data-today])` */
|
|
164
|
-
"_today": string
|
|
165
|
-
/** `&[data-unavailable]` */
|
|
166
|
-
"_unavailable": string
|
|
167
|
-
/** `&[data-range-start]` */
|
|
168
|
-
"_rangeStart": string
|
|
169
|
-
/** `&[data-range-end]` */
|
|
170
|
-
"_rangeEnd": string
|
|
171
|
-
/** `&[data-now]` */
|
|
172
|
-
"_now": string
|
|
173
|
-
/** `&[data-topmost]` */
|
|
174
|
-
"_topmost": string
|
|
175
|
-
/** `@media (prefers-reduced-motion: reduce)` */
|
|
176
|
-
"_motionReduce": string
|
|
177
|
-
/** `@media (prefers-reduced-motion: no-preference)` */
|
|
178
|
-
"_motionSafe": string
|
|
179
|
-
/** `@media print` */
|
|
180
|
-
"_print": string
|
|
181
|
-
/** `@media (orientation: landscape)` */
|
|
182
|
-
"_landscape": string
|
|
183
|
-
/** `@media (orientation: portrait)` */
|
|
184
|
-
"_portrait": string
|
|
185
|
-
/** `.dark &` */
|
|
186
|
-
"_dark": string
|
|
187
|
-
/** `.light &` */
|
|
188
|
-
"_light": string
|
|
189
|
-
/** `@media (prefers-color-scheme: dark)` */
|
|
190
|
-
"_osDark": string
|
|
191
|
-
/** `@media (prefers-color-scheme: light)` */
|
|
192
|
-
"_osLight": string
|
|
193
|
-
/** `@media (forced-colors: active)` */
|
|
194
|
-
"_highContrast": string
|
|
195
|
-
/** `@media (prefers-contrast: less)` */
|
|
196
|
-
"_lessContrast": string
|
|
197
|
-
/** `@media (prefers-contrast: more)` */
|
|
198
|
-
"_moreContrast": string
|
|
199
|
-
/** `:where([dir=ltr], :dir(ltr)) &` */
|
|
200
|
-
"_ltr": string
|
|
201
|
-
/** `:where([dir=rtl], :dir(rtl)) &` */
|
|
202
|
-
"_rtl": string
|
|
203
|
-
/** `&::-webkit-scrollbar` */
|
|
204
|
-
"_scrollbar": string
|
|
205
|
-
/** `&::-webkit-scrollbar-thumb` */
|
|
206
|
-
"_scrollbarThumb": string
|
|
207
|
-
/** `&::-webkit-scrollbar-track` */
|
|
208
|
-
"_scrollbarTrack": string
|
|
209
|
-
/** `&[data-orientation=horizontal]` */
|
|
210
|
-
"_horizontal": string
|
|
211
|
-
/** `&[data-orientation=vertical]` */
|
|
212
|
-
"_vertical": string
|
|
213
|
-
/** `& :where(svg)` */
|
|
214
|
-
"_icon": string
|
|
215
|
-
/** `@starting-style` */
|
|
216
|
-
"_starting": string
|
|
217
|
-
/** `@media (scripting: none)` */
|
|
218
|
-
"_noscript": string
|
|
219
|
-
/** `@media (inverted-colors: inverted)` */
|
|
220
|
-
"_invertedColors": string
|
|
221
|
-
/** `&:where([aria-collapsed=true], [data-collapsed], [data-state="collapsed"])` */
|
|
222
|
-
"_collapsed": string
|
|
223
|
-
/** `@media screen and (min-width: 37.5rem)` */
|
|
224
|
-
"sm": string
|
|
225
|
-
/** `@media screen and (min-width: 37.5rem) and (max-width: 56.2475rem)` */
|
|
226
|
-
"smOnly": string
|
|
227
|
-
/** `@media screen and (max-width: 37.4975rem)` */
|
|
228
|
-
"smDown": string
|
|
229
|
-
/** `@media screen and (min-width: 56.25rem)` */
|
|
230
|
-
"md": string
|
|
231
|
-
/** `@media screen and (min-width: 56.25rem) and (max-width: 74.9975rem)` */
|
|
232
|
-
"mdOnly": string
|
|
233
|
-
/** `@media screen and (max-width: 56.2475rem)` */
|
|
234
|
-
"mdDown": string
|
|
235
|
-
/** `@media screen and (min-width: 75rem)` */
|
|
236
|
-
"lg": string
|
|
237
|
-
/** `@media screen and (min-width: 75rem) and (max-width: 95.9975rem)` */
|
|
238
|
-
"lgOnly": string
|
|
239
|
-
/** `@media screen and (max-width: 74.9975rem)` */
|
|
240
|
-
"lgDown": string
|
|
241
|
-
/** `@media screen and (min-width: 96rem)` */
|
|
242
|
-
"xl": string
|
|
243
|
-
/** `@media screen and (min-width: 96rem)` */
|
|
244
|
-
"xlOnly": string
|
|
245
|
-
/** `@media screen and (max-width: 95.9975rem)` */
|
|
246
|
-
"xlDown": string
|
|
247
|
-
/** `@media screen and (min-width: 37.5rem) and (max-width: 56.2475rem)` */
|
|
248
|
-
"smToMd": string
|
|
249
|
-
/** `@media screen and (min-width: 37.5rem) and (max-width: 74.9975rem)` */
|
|
250
|
-
"smToLg": string
|
|
251
|
-
/** `@media screen and (min-width: 37.5rem) and (max-width: 95.9975rem)` */
|
|
252
|
-
"smToXl": string
|
|
253
|
-
/** `@media screen and (min-width: 56.25rem) and (max-width: 74.9975rem)` */
|
|
254
|
-
"mdToLg": string
|
|
255
|
-
/** `@media screen and (min-width: 56.25rem) and (max-width: 95.9975rem)` */
|
|
256
|
-
"mdToXl": string
|
|
257
|
-
/** `@media screen and (min-width: 75rem) and (max-width: 95.9975rem)` */
|
|
258
|
-
"lgToXl": string
|
|
259
|
-
/** `@container (min-width: 42rem)` */
|
|
260
|
-
"@/2xl": string
|
|
261
|
-
/** `@container (min-width: 48rem)` */
|
|
262
|
-
"@/3xl": string
|
|
263
|
-
/** `@container (min-width: 56rem)` */
|
|
264
|
-
"@/4xl": string
|
|
265
|
-
/** `@container (min-width: 64rem)` */
|
|
266
|
-
"@/5xl": string
|
|
267
|
-
/** `@container (min-width: 72rem)` */
|
|
268
|
-
"@/6xl": string
|
|
269
|
-
/** `@container (min-width: 80rem)` */
|
|
270
|
-
"@/7xl": string
|
|
271
|
-
/** `@container (min-width: 90rem)` */
|
|
272
|
-
"@/8xl": string
|
|
273
|
-
/** `@container (min-width: 32rem)` */
|
|
274
|
-
"@/lg": string
|
|
275
|
-
/** `@container (min-width: 28rem)` */
|
|
276
|
-
"@/md": string
|
|
277
|
-
/** `@container (min-width: 24rem)` */
|
|
278
|
-
"@/sm": string
|
|
279
|
-
/** `@container (min-width: 36rem)` */
|
|
280
|
-
"@/xl": string
|
|
281
|
-
/** `@container (min-width: 20rem)` */
|
|
282
|
-
"@/xs": string
|
|
283
|
-
/** The base (=no conditions) styles to apply */
|
|
284
|
-
"base": string
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export type ConditionalValue<V> =
|
|
288
|
-
| V
|
|
289
|
-
| Array<V | null>
|
|
290
|
-
| {
|
|
291
|
-
[K in keyof Conditions]?: ConditionalValue<V>
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export type Nested<P> = P & {
|
|
295
|
-
[K in Selectors]?: Nested<P>
|
|
296
|
-
} & {
|
|
297
|
-
[K in AnySelector]?: Nested<P>
|
|
298
|
-
} & {
|
|
299
|
-
[K in keyof Conditions]?: Nested<P>
|
|
300
|
-
}
|