@pyck/styled-system 0.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.
Files changed (238) hide show
  1. package/dist/css/conditions.mjs +36 -0
  2. package/dist/css/css.d.ts +22 -0
  3. package/dist/css/css.mjs +45 -0
  4. package/dist/css/cva.d.ts +6 -0
  5. package/dist/css/cva.mjs +87 -0
  6. package/dist/css/cx.d.ts +5 -0
  7. package/dist/css/cx.mjs +15 -0
  8. package/dist/css/index.d.ts +5 -0
  9. package/dist/css/index.mjs +4 -0
  10. package/dist/css/sva.d.ts +4 -0
  11. package/dist/css/sva.mjs +46 -0
  12. package/dist/helpers.mjs +328 -0
  13. package/dist/jsx/aspect-ratio.d.ts +10 -0
  14. package/dist/jsx/aspect-ratio.mjs +14 -0
  15. package/dist/jsx/bleed.d.ts +10 -0
  16. package/dist/jsx/bleed.mjs +14 -0
  17. package/dist/jsx/box.d.ts +10 -0
  18. package/dist/jsx/box.mjs +14 -0
  19. package/dist/jsx/center.d.ts +10 -0
  20. package/dist/jsx/center.mjs +14 -0
  21. package/dist/jsx/circle.d.ts +10 -0
  22. package/dist/jsx/circle.mjs +14 -0
  23. package/dist/jsx/container.d.ts +10 -0
  24. package/dist/jsx/container.mjs +14 -0
  25. package/dist/jsx/cq.d.ts +10 -0
  26. package/dist/jsx/cq.mjs +14 -0
  27. package/dist/jsx/create-style-context.d.ts +54 -0
  28. package/dist/jsx/create-style-context.mjs +118 -0
  29. package/dist/jsx/divider.d.ts +10 -0
  30. package/dist/jsx/divider.mjs +14 -0
  31. package/dist/jsx/factory-helper.mjs +22 -0
  32. package/dist/jsx/factory.d.ts +3 -0
  33. package/dist/jsx/factory.mjs +89 -0
  34. package/dist/jsx/flex.d.ts +10 -0
  35. package/dist/jsx/flex.mjs +14 -0
  36. package/dist/jsx/float.d.ts +10 -0
  37. package/dist/jsx/float.mjs +14 -0
  38. package/dist/jsx/grid-item.d.ts +10 -0
  39. package/dist/jsx/grid-item.mjs +14 -0
  40. package/dist/jsx/grid.d.ts +10 -0
  41. package/dist/jsx/grid.mjs +14 -0
  42. package/dist/jsx/hstack.d.ts +10 -0
  43. package/dist/jsx/hstack.mjs +14 -0
  44. package/dist/jsx/index.d.ts +25 -0
  45. package/dist/jsx/index.mjs +23 -0
  46. package/dist/jsx/is-valid-prop.d.ts +11 -0
  47. package/dist/jsx/is-valid-prop.mjs +17 -0
  48. package/dist/jsx/link-overlay.d.ts +10 -0
  49. package/dist/jsx/link-overlay.mjs +14 -0
  50. package/dist/jsx/spacer.d.ts +10 -0
  51. package/dist/jsx/spacer.mjs +14 -0
  52. package/dist/jsx/square.d.ts +10 -0
  53. package/dist/jsx/square.mjs +14 -0
  54. package/dist/jsx/stack.d.ts +10 -0
  55. package/dist/jsx/stack.mjs +14 -0
  56. package/dist/jsx/visually-hidden.d.ts +10 -0
  57. package/dist/jsx/visually-hidden.mjs +14 -0
  58. package/dist/jsx/vstack.d.ts +10 -0
  59. package/dist/jsx/vstack.mjs +14 -0
  60. package/dist/jsx/wrap.d.ts +10 -0
  61. package/dist/jsx/wrap.mjs +14 -0
  62. package/dist/patterns/aspect-ratio.d.ts +20 -0
  63. package/dist/patterns/aspect-ratio.mjs +38 -0
  64. package/dist/patterns/bleed.d.ts +21 -0
  65. package/dist/patterns/bleed.mjs +24 -0
  66. package/dist/patterns/box.d.ts +20 -0
  67. package/dist/patterns/box.mjs +15 -0
  68. package/dist/patterns/center.d.ts +20 -0
  69. package/dist/patterns/center.mjs +21 -0
  70. package/dist/patterns/circle.d.ts +20 -0
  71. package/dist/patterns/circle.mjs +25 -0
  72. package/dist/patterns/container.d.ts +20 -0
  73. package/dist/patterns/container.mjs +22 -0
  74. package/dist/patterns/cq.d.ts +21 -0
  75. package/dist/patterns/cq.mjs +21 -0
  76. package/dist/patterns/divider.d.ts +22 -0
  77. package/dist/patterns/divider.mjs +25 -0
  78. package/dist/patterns/flex.d.ts +26 -0
  79. package/dist/patterns/flex.mjs +26 -0
  80. package/dist/patterns/float.d.ts +23 -0
  81. package/dist/patterns/float.mjs +52 -0
  82. package/dist/patterns/grid-item.d.ts +25 -0
  83. package/dist/patterns/grid-item.mjs +25 -0
  84. package/dist/patterns/grid.d.ts +24 -0
  85. package/dist/patterns/grid.mjs +25 -0
  86. package/dist/patterns/hstack.d.ts +21 -0
  87. package/dist/patterns/hstack.mjs +24 -0
  88. package/dist/patterns/index.d.ts +21 -0
  89. package/dist/patterns/index.mjs +20 -0
  90. package/dist/patterns/link-overlay.d.ts +20 -0
  91. package/dist/patterns/link-overlay.mjs +24 -0
  92. package/dist/patterns/spacer.d.ts +20 -0
  93. package/dist/patterns/spacer.mjs +21 -0
  94. package/dist/patterns/square.d.ts +20 -0
  95. package/dist/patterns/square.mjs +24 -0
  96. package/dist/patterns/stack.d.ts +23 -0
  97. package/dist/patterns/stack.mjs +24 -0
  98. package/dist/patterns/visually-hidden.d.ts +20 -0
  99. package/dist/patterns/visually-hidden.mjs +18 -0
  100. package/dist/patterns/vstack.d.ts +21 -0
  101. package/dist/patterns/vstack.mjs +24 -0
  102. package/dist/patterns/wrap.d.ts +24 -0
  103. package/dist/patterns/wrap.mjs +25 -0
  104. package/dist/recipes/absolute-center.d.ts +34 -0
  105. package/dist/recipes/absolute-center.mjs +32 -0
  106. package/dist/recipes/action-bar.d.ts +31 -0
  107. package/dist/recipes/action-bar.mjs +49 -0
  108. package/dist/recipes/avatar.d.ts +43 -0
  109. package/dist/recipes/avatar.mjs +75 -0
  110. package/dist/recipes/badge.d.ts +38 -0
  111. package/dist/recipes/badge.mjs +40 -0
  112. package/dist/recipes/breadcrumb.d.ts +38 -0
  113. package/dist/recipes/breadcrumb.mjs +70 -0
  114. package/dist/recipes/button.d.ts +38 -0
  115. package/dist/recipes/button.mjs +44 -0
  116. package/dist/recipes/card.d.ts +34 -0
  117. package/dist/recipes/card.mjs +63 -0
  118. package/dist/recipes/carousel.d.ts +35 -0
  119. package/dist/recipes/carousel.mjs +93 -0
  120. package/dist/recipes/checkbox.d.ts +38 -0
  121. package/dist/recipes/checkbox.mjs +67 -0
  122. package/dist/recipes/checkmark.d.ts +38 -0
  123. package/dist/recipes/checkmark.mjs +39 -0
  124. package/dist/recipes/clipboard.d.ts +31 -0
  125. package/dist/recipes/clipboard.mjs +53 -0
  126. package/dist/recipes/collapsible.d.ts +34 -0
  127. package/dist/recipes/collapsible.mjs +54 -0
  128. package/dist/recipes/combobox.d.ts +38 -0
  129. package/dist/recipes/combobox.mjs +112 -0
  130. package/dist/recipes/create-recipe.mjs +82 -0
  131. package/dist/recipes/data-list.d.ts +31 -0
  132. package/dist/recipes/data-list.mjs +53 -0
  133. package/dist/recipes/date-picker.d.ts +31 -0
  134. package/dist/recipes/date-picker.mjs +133 -0
  135. package/dist/recipes/dialog.d.ts +46 -0
  136. package/dist/recipes/dialog.mjs +106 -0
  137. package/dist/recipes/drawer.d.ts +38 -0
  138. package/dist/recipes/drawer.mjs +90 -0
  139. package/dist/recipes/drilldown-menu.d.ts +31 -0
  140. package/dist/recipes/drilldown-menu.mjs +53 -0
  141. package/dist/recipes/field.d.ts +31 -0
  142. package/dist/recipes/field.mjs +61 -0
  143. package/dist/recipes/fieldset.d.ts +31 -0
  144. package/dist/recipes/fieldset.mjs +73 -0
  145. package/dist/recipes/floating-panel.d.ts +31 -0
  146. package/dist/recipes/floating-panel.mjs +73 -0
  147. package/dist/recipes/form.d.ts +31 -0
  148. package/dist/recipes/form.mjs +24 -0
  149. package/dist/recipes/group.d.ts +36 -0
  150. package/dist/recipes/group.mjs +72 -0
  151. package/dist/recipes/heading.d.ts +31 -0
  152. package/dist/recipes/heading.mjs +38 -0
  153. package/dist/recipes/icon.d.ts +34 -0
  154. package/dist/recipes/icon.mjs +36 -0
  155. package/dist/recipes/index.d.ts +58 -0
  156. package/dist/recipes/index.mjs +57 -0
  157. package/dist/recipes/input-addon.d.ts +38 -0
  158. package/dist/recipes/input-addon.mjs +39 -0
  159. package/dist/recipes/input-group.d.ts +34 -0
  160. package/dist/recipes/input-group.mjs +49 -0
  161. package/dist/recipes/input.d.ts +38 -0
  162. package/dist/recipes/input.mjs +42 -0
  163. package/dist/recipes/kbd.d.ts +38 -0
  164. package/dist/recipes/kbd.mjs +42 -0
  165. package/dist/recipes/link.d.ts +34 -0
  166. package/dist/recipes/link.mjs +30 -0
  167. package/dist/recipes/mark.d.ts +34 -0
  168. package/dist/recipes/mark.mjs +32 -0
  169. package/dist/recipes/menu.d.ts +34 -0
  170. package/dist/recipes/menu.mjs +97 -0
  171. package/dist/recipes/number-input.d.ts +38 -0
  172. package/dist/recipes/number-input.mjs +78 -0
  173. package/dist/recipes/pagination.d.ts +31 -0
  174. package/dist/recipes/pagination.mjs +57 -0
  175. package/dist/recipes/popover.d.ts +31 -0
  176. package/dist/recipes/popover.mjs +81 -0
  177. package/dist/recipes/progress-circle.d.ts +34 -0
  178. package/dist/recipes/progress-circle.mjs +75 -0
  179. package/dist/recipes/progress.d.ts +44 -0
  180. package/dist/recipes/progress.mjs +98 -0
  181. package/dist/recipes/radio-card-group.d.ts +38 -0
  182. package/dist/recipes/radio-card-group.mjs +69 -0
  183. package/dist/recipes/radio-group.d.ts +38 -0
  184. package/dist/recipes/radio-group.mjs +68 -0
  185. package/dist/recipes/scroll-area.d.ts +38 -0
  186. package/dist/recipes/scroll-area.mjs +70 -0
  187. package/dist/recipes/segment-group.d.ts +35 -0
  188. package/dist/recipes/segment-group.mjs +69 -0
  189. package/dist/recipes/select.d.ts +38 -0
  190. package/dist/recipes/select.mjs +111 -0
  191. package/dist/recipes/skeleton.d.ts +39 -0
  192. package/dist/recipes/skeleton.mjs +40 -0
  193. package/dist/recipes/slider.d.ts +42 -0
  194. package/dist/recipes/slider.mjs +94 -0
  195. package/dist/recipes/spinner.d.ts +34 -0
  196. package/dist/recipes/spinner.mjs +36 -0
  197. package/dist/recipes/stat.d.ts +31 -0
  198. package/dist/recipes/stat.mjs +41 -0
  199. package/dist/recipes/steps.d.ts +42 -0
  200. package/dist/recipes/steps.mjs +97 -0
  201. package/dist/recipes/switch-recipe.d.ts +38 -0
  202. package/dist/recipes/switch-recipe.mjs +65 -0
  203. package/dist/recipes/table.d.ts +40 -0
  204. package/dist/recipes/table.mjs +83 -0
  205. package/dist/recipes/tabs.d.ts +39 -0
  206. package/dist/recipes/tabs.mjs +72 -0
  207. package/dist/recipes/tags-input.d.ts +38 -0
  208. package/dist/recipes/tags-input.mjs +86 -0
  209. package/dist/recipes/text.d.ts +31 -0
  210. package/dist/recipes/text.mjs +38 -0
  211. package/dist/recipes/textarea.d.ts +38 -0
  212. package/dist/recipes/textarea.mjs +41 -0
  213. package/dist/recipes/toast.d.ts +31 -0
  214. package/dist/recipes/toast.mjs +53 -0
  215. package/dist/recipes/toggle-group.d.ts +31 -0
  216. package/dist/recipes/toggle-group.mjs +44 -0
  217. package/dist/recipes/tooltip.d.ts +34 -0
  218. package/dist/recipes/tooltip.mjs +57 -0
  219. package/dist/recipes/tree-view.d.ts +34 -0
  220. package/dist/recipes/tree-view.mjs +97 -0
  221. package/dist/tokens/index.d.ts +9 -0
  222. package/dist/tokens/index.mjs +3060 -0
  223. package/dist/tokens/tokens.d.ts +63 -0
  224. package/dist/types/composition.d.ts +227 -0
  225. package/dist/types/conditions.d.ts +314 -0
  226. package/dist/types/csstype.d.ts +22570 -0
  227. package/dist/types/global.d.ts +20 -0
  228. package/dist/types/index.d.ts +8 -0
  229. package/dist/types/jsx.d.ts +69 -0
  230. package/dist/types/parts.d.ts +8 -0
  231. package/dist/types/pattern.d.ts +78 -0
  232. package/dist/types/prop-type.d.ts +253 -0
  233. package/dist/types/recipe.d.ts +181 -0
  234. package/dist/types/selectors.d.ts +59 -0
  235. package/dist/types/static-css.d.ts +56 -0
  236. package/dist/types/style-props.d.ts +8091 -0
  237. package/dist/types/system-types.d.ts +151 -0
  238. package/package.json +76 -0
@@ -0,0 +1,63 @@
1
+ /* eslint-disable */
2
+ export type Token = `aspectRatios.${AspectRatioToken}` | `borders.${BorderToken}` | `radii.${RadiusToken}` | `fontWeights.${FontWeightToken}` | `lineHeights.${LineHeightToken}` | `letterSpacings.${LetterSpacingToken}` | `fontSizes.${FontSizeToken}` | `shadows.${ShadowToken}` | `blurs.${BlurToken}` | `spacing.${SpacingToken}` | `animations.${AnimationToken}` | `colors.${ColorToken}` | `durations.${DurationToken}` | `easings.${EasingToken}` | `zIndex.${ZIndexToken}` | `sizes.${SizeToken}` | `fonts.${FontToken}` | `breakpoints.${BreakpointToken}`
3
+
4
+ export type ColorPalette = "current" | "transparent" | "rose" | "pink" | "fuchsia" | "purple" | "violet" | "indigo" | "blue" | "sky" | "cyan" | "teal" | "emerald" | "green" | "lime" | "yellow" | "amber" | "orange" | "red" | "neutral" | "stone" | "zinc" | "gray" | "slate" | "black" | "white" | "teal.solid.bg" | "teal.solid" | "teal.solid.fg" | "teal.subtle.bg" | "teal.subtle" | "teal.subtle.fg" | "teal.surface.bg" | "teal.surface" | "teal.surface.border" | "teal.surface.fg" | "teal.outline" | "teal.outline.bg" | "teal.outline.border" | "teal.outline.fg" | "teal.plain" | "teal.plain.bg" | "teal.plain.fg" | "gray.solid.bg" | "gray.solid" | "gray.solid.fg" | "gray.subtle.bg" | "gray.subtle" | "gray.subtle.fg" | "gray.surface.bg" | "gray.surface" | "gray.surface.border" | "gray.surface.fg" | "gray.outline" | "gray.outline.bg" | "gray.outline.border" | "gray.outline.fg" | "gray.plain" | "gray.plain.bg" | "gray.plain.fg" | "orange.solid.bg" | "orange.solid" | "orange.solid.fg" | "orange.subtle.bg" | "orange.subtle" | "orange.subtle.fg" | "orange.surface.bg" | "orange.surface" | "orange.surface.border" | "orange.surface.fg" | "orange.outline" | "orange.outline.bg" | "orange.outline.border" | "orange.outline.fg" | "orange.plain" | "orange.plain.bg" | "orange.plain.fg" | "red.solid.bg" | "red.solid" | "red.solid.fg" | "red.subtle.bg" | "red.subtle" | "red.subtle.fg" | "red.surface.bg" | "red.surface" | "red.surface.border" | "red.surface.fg" | "red.outline" | "red.outline.bg" | "red.outline.border" | "red.outline.fg" | "red.plain" | "red.plain.bg" | "red.plain.fg" | "fg" | "canvas" | "border" | "error"
5
+
6
+ export type AspectRatioToken = "square" | "landscape" | "portrait" | "wide" | "ultrawide" | "golden"
7
+
8
+ export type BorderToken = "none"
9
+
10
+ export type RadiusToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "full" | "l1" | "l2" | "l3"
11
+
12
+ export type FontWeightToken = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"
13
+
14
+ export type LineHeightToken = "none" | "tight" | "snug" | "normal" | "relaxed" | "loose"
15
+
16
+ export type LetterSpacingToken = "tighter" | "tight" | "normal" | "wide" | "wider" | "widest"
17
+
18
+ export type FontSizeToken = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl"
19
+
20
+ export type ShadowToken = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "inset-2xs" | "inset-xs" | "inset-sm" | "inset"
21
+
22
+ export type BlurToken = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl"
23
+
24
+ export type SpacingToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-10" | "-11" | "-12" | "-14" | "-16" | "-20" | "-24" | "-28" | "-32" | "-36" | "-40" | "-44" | "-48" | "-52" | "-56" | "-60" | "-64" | "-72" | "-80" | "-96" | "-0.5" | "-1.5" | "-2.5" | "-3.5" | "-4.5" | "-5.5"
25
+
26
+ export type AnimationToken = "spin" | "ping" | "pulse" | "bounce"
27
+
28
+ export type ColorToken = "current" | "transparent" | "rose.50" | "rose.100" | "rose.200" | "rose.300" | "rose.400" | "rose.500" | "rose.600" | "rose.700" | "rose.800" | "rose.900" | "rose.950" | "pink.50" | "pink.100" | "pink.200" | "pink.300" | "pink.400" | "pink.500" | "pink.600" | "pink.700" | "pink.800" | "pink.900" | "pink.950" | "fuchsia.50" | "fuchsia.100" | "fuchsia.200" | "fuchsia.300" | "fuchsia.400" | "fuchsia.500" | "fuchsia.600" | "fuchsia.700" | "fuchsia.800" | "fuchsia.900" | "fuchsia.950" | "purple.50" | "purple.100" | "purple.200" | "purple.300" | "purple.400" | "purple.500" | "purple.600" | "purple.700" | "purple.800" | "purple.900" | "purple.950" | "violet.50" | "violet.100" | "violet.200" | "violet.300" | "violet.400" | "violet.500" | "violet.600" | "violet.700" | "violet.800" | "violet.900" | "violet.950" | "indigo.50" | "indigo.100" | "indigo.200" | "indigo.300" | "indigo.400" | "indigo.500" | "indigo.600" | "indigo.700" | "indigo.800" | "indigo.900" | "indigo.950" | "blue.50" | "blue.100" | "blue.200" | "blue.300" | "blue.400" | "blue.500" | "blue.600" | "blue.700" | "blue.800" | "blue.900" | "blue.950" | "sky.50" | "sky.100" | "sky.200" | "sky.300" | "sky.400" | "sky.500" | "sky.600" | "sky.700" | "sky.800" | "sky.900" | "sky.950" | "cyan.50" | "cyan.100" | "cyan.200" | "cyan.300" | "cyan.400" | "cyan.500" | "cyan.600" | "cyan.700" | "cyan.800" | "cyan.900" | "cyan.950" | "teal.50" | "teal.100" | "teal.200" | "teal.300" | "teal.400" | "teal.500" | "teal.600" | "teal.700" | "teal.800" | "teal.900" | "teal.950" | "emerald.50" | "emerald.100" | "emerald.200" | "emerald.300" | "emerald.400" | "emerald.500" | "emerald.600" | "emerald.700" | "emerald.800" | "emerald.900" | "emerald.950" | "green.50" | "green.100" | "green.200" | "green.300" | "green.400" | "green.500" | "green.600" | "green.700" | "green.800" | "green.900" | "green.950" | "lime.50" | "lime.100" | "lime.200" | "lime.300" | "lime.400" | "lime.500" | "lime.600" | "lime.700" | "lime.800" | "lime.900" | "lime.950" | "yellow.50" | "yellow.100" | "yellow.200" | "yellow.300" | "yellow.400" | "yellow.500" | "yellow.600" | "yellow.700" | "yellow.800" | "yellow.900" | "yellow.950" | "amber.50" | "amber.100" | "amber.200" | "amber.300" | "amber.400" | "amber.500" | "amber.600" | "amber.700" | "amber.800" | "amber.900" | "amber.950" | "orange.50" | "orange.100" | "orange.200" | "orange.300" | "orange.400" | "orange.500" | "orange.600" | "orange.700" | "orange.800" | "orange.900" | "orange.950" | "red.50" | "red.100" | "red.200" | "red.300" | "red.400" | "red.500" | "red.600" | "red.700" | "red.800" | "red.900" | "red.950" | "neutral.50" | "neutral.100" | "neutral.200" | "neutral.300" | "neutral.400" | "neutral.500" | "neutral.600" | "neutral.700" | "neutral.800" | "neutral.900" | "neutral.950" | "stone.50" | "stone.100" | "stone.200" | "stone.300" | "stone.400" | "stone.500" | "stone.600" | "stone.700" | "stone.800" | "stone.900" | "stone.950" | "zinc.50" | "zinc.100" | "zinc.200" | "zinc.300" | "zinc.400" | "zinc.500" | "zinc.600" | "zinc.700" | "zinc.800" | "zinc.900" | "zinc.950" | "gray.50" | "gray.100" | "gray.200" | "gray.300" | "gray.400" | "gray.500" | "gray.600" | "gray.700" | "gray.800" | "gray.900" | "gray.950" | "slate.50" | "slate.100" | "slate.200" | "slate.300" | "slate.400" | "slate.500" | "slate.600" | "slate.700" | "slate.800" | "slate.900" | "slate.950" | "black" | "black.a1" | "black.a2" | "black.a3" | "black.a4" | "black.a5" | "black.a6" | "black.a7" | "black.a8" | "black.a9" | "black.a10" | "black.a11" | "black.a12" | "white" | "white.a1" | "white.a2" | "white.a3" | "white.a4" | "white.a5" | "white.a6" | "white.a7" | "white.a8" | "white.a9" | "white.a10" | "white.a11" | "white.a12" | "teal.1" | "teal.2" | "teal.3" | "teal.4" | "teal.5" | "teal.6" | "teal.7" | "teal.8" | "teal.9" | "teal.10" | "teal.11" | "teal.12" | "teal.a1" | "teal.a2" | "teal.a3" | "teal.a4" | "teal.a5" | "teal.a6" | "teal.a7" | "teal.a8" | "teal.a9" | "teal.a10" | "teal.a11" | "teal.a12" | "teal.solid.bg" | "teal.solid.bg.hover" | "teal.solid.fg" | "teal.subtle.bg" | "teal.subtle.bg.hover" | "teal.subtle.bg.active" | "teal.subtle.fg" | "teal.surface.bg" | "teal.surface.bg.active" | "teal.surface.border" | "teal.surface.border.hover" | "teal.surface.fg" | "teal.outline.bg.hover" | "teal.outline.bg.active" | "teal.outline.border" | "teal.outline.fg" | "teal.plain.bg.hover" | "teal.plain.bg.active" | "teal.plain.fg" | "teal.plain.fg.hover" | "gray.1" | "gray.2" | "gray.3" | "gray.4" | "gray.5" | "gray.6" | "gray.7" | "gray.8" | "gray.9" | "gray.10" | "gray.11" | "gray.12" | "gray.a1" | "gray.a2" | "gray.a3" | "gray.a4" | "gray.a5" | "gray.a6" | "gray.a7" | "gray.a8" | "gray.a9" | "gray.a10" | "gray.a11" | "gray.a12" | "gray.solid.bg" | "gray.solid.bg.hover" | "gray.solid.fg" | "gray.subtle.bg" | "gray.subtle.bg.hover" | "gray.subtle.bg.active" | "gray.subtle.fg" | "gray.surface.bg" | "gray.surface.bg.hover" | "gray.surface.bg.active" | "gray.surface.border" | "gray.surface.border.hover" | "gray.surface.fg" | "gray.outline.bg.hover" | "gray.outline.bg.active" | "gray.outline.border" | "gray.outline.fg" | "gray.plain.bg.hover" | "gray.plain.bg.active" | "gray.plain.fg" | "orange.1" | "orange.2" | "orange.3" | "orange.4" | "orange.5" | "orange.6" | "orange.7" | "orange.8" | "orange.9" | "orange.10" | "orange.11" | "orange.12" | "orange.a1" | "orange.a2" | "orange.a3" | "orange.a4" | "orange.a5" | "orange.a6" | "orange.a7" | "orange.a8" | "orange.a9" | "orange.a10" | "orange.a11" | "orange.a12" | "orange.solid.bg" | "orange.solid.bg.hover" | "orange.solid.fg" | "orange.subtle.bg" | "orange.subtle.bg.hover" | "orange.subtle.bg.active" | "orange.subtle.fg" | "orange.surface.bg" | "orange.surface.bg.active" | "orange.surface.border" | "orange.surface.border.hover" | "orange.surface.fg" | "orange.outline.bg.hover" | "orange.outline.bg.active" | "orange.outline.border" | "orange.outline.fg" | "orange.plain.bg.hover" | "orange.plain.bg.active" | "orange.plain.fg" | "red.1" | "red.2" | "red.3" | "red.4" | "red.5" | "red.6" | "red.7" | "red.8" | "red.9" | "red.10" | "red.11" | "red.12" | "red.a1" | "red.a2" | "red.a3" | "red.a4" | "red.a5" | "red.a6" | "red.a7" | "red.a8" | "red.a9" | "red.a10" | "red.a11" | "red.a12" | "red.solid.bg" | "red.solid.bg.hover" | "red.solid.fg" | "red.subtle.bg" | "red.subtle.bg.hover" | "red.subtle.bg.active" | "red.subtle.fg" | "red.surface.bg" | "red.surface.bg.active" | "red.surface.border" | "red.surface.border.hover" | "red.surface.fg" | "red.outline.bg.hover" | "red.outline.bg.active" | "red.outline.border" | "red.outline.fg" | "red.plain.bg.hover" | "red.plain.bg.active" | "red.plain.fg" | "fg.default" | "fg.muted" | "fg.subtle" | "canvas" | "border" | "error" | "colorPalette" | "colorPalette.50" | "colorPalette.100" | "colorPalette.200" | "colorPalette.300" | "colorPalette.400" | "colorPalette.500" | "colorPalette.600" | "colorPalette.700" | "colorPalette.800" | "colorPalette.900" | "colorPalette.950" | "colorPalette.a1" | "colorPalette.a2" | "colorPalette.a3" | "colorPalette.a4" | "colorPalette.a5" | "colorPalette.a6" | "colorPalette.a7" | "colorPalette.a8" | "colorPalette.a9" | "colorPalette.a10" | "colorPalette.a11" | "colorPalette.a12" | "colorPalette.1" | "colorPalette.2" | "colorPalette.3" | "colorPalette.4" | "colorPalette.5" | "colorPalette.6" | "colorPalette.7" | "colorPalette.8" | "colorPalette.9" | "colorPalette.10" | "colorPalette.11" | "colorPalette.12" | "colorPalette.solid.bg" | "colorPalette.bg" | "colorPalette.solid.bg.hover" | "colorPalette.bg.hover" | "colorPalette.hover" | "colorPalette.solid.fg" | "colorPalette.fg" | "colorPalette.subtle.bg" | "colorPalette.subtle.bg.hover" | "colorPalette.subtle.bg.active" | "colorPalette.bg.active" | "colorPalette.active" | "colorPalette.subtle.fg" | "colorPalette.surface.bg" | "colorPalette.surface.bg.active" | "colorPalette.surface.border" | "colorPalette.border" | "colorPalette.surface.border.hover" | "colorPalette.border.hover" | "colorPalette.surface.fg" | "colorPalette.outline.bg.hover" | "colorPalette.outline.bg.active" | "colorPalette.outline.border" | "colorPalette.outline.fg" | "colorPalette.plain.bg.hover" | "colorPalette.plain.bg.active" | "colorPalette.plain.fg" | "colorPalette.plain.fg.hover" | "colorPalette.fg.hover" | "colorPalette.surface.bg.hover" | "colorPalette.default" | "colorPalette.muted" | "colorPalette.subtle"
29
+
30
+ export type DurationToken = "fastest" | "faster" | "fast" | "normal" | "slow" | "slower" | "slowest"
31
+
32
+ export type EasingToken = "linear" | "in" | "out" | "in-out" | "pulse" | "default" | "emphasized-in" | "emphasized-out"
33
+
34
+ export type ZIndexToken = "hide" | "base" | "docked" | "dropdown" | "sticky" | "banner" | "overlay" | "modal" | "popover" | "skipLink" | "toast" | "tooltip"
35
+
36
+ export type SizeToken = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "14" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "8xl" | "prose" | "full" | "min" | "max" | "fit" | "2xs" | "7xl" | "breakpoint-sm" | "breakpoint-md" | "breakpoint-lg" | "breakpoint-xl" | "breakpoint-2xl"
37
+
38
+ export type FontToken = "sans" | "serif" | "mono" | "body" | "code"
39
+
40
+ export type BreakpointToken = "sm" | "md" | "lg" | "xl" | "2xl"
41
+
42
+ export type Tokens = {
43
+ aspectRatios: AspectRatioToken
44
+ borders: BorderToken
45
+ radii: RadiusToken
46
+ fontWeights: FontWeightToken
47
+ lineHeights: LineHeightToken
48
+ letterSpacings: LetterSpacingToken
49
+ fontSizes: FontSizeToken
50
+ shadows: ShadowToken
51
+ blurs: BlurToken
52
+ spacing: SpacingToken
53
+ animations: AnimationToken
54
+ colors: ColorToken
55
+ durations: DurationToken
56
+ easings: EasingToken
57
+ zIndex: ZIndexToken
58
+ sizes: SizeToken
59
+ fonts: FontToken
60
+ breakpoints: BreakpointToken
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"
@@ -0,0 +1,227 @@
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
+ }
@@ -0,0 +1,314 @@
1
+ /* eslint-disable */
2
+ import type { AnySelector, Selectors } from './selectors';
3
+
4
+ export interface Conditions {
5
+ /** `&:not(:is(:disabled, [data-state=on], [data-state=open], [aria-selected=true], [aria-current=page], :active)):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], [aria-disabled=true])` */
14
+ "_disabled": string
15
+ /** `&:not(:disabled):active` */
16
+ "_active": string
17
+ /** `&:visited` */
18
+ "_visited": string
19
+ /** `&:target` */
20
+ "_target": string
21
+ /** `&:is(:read-only, [data-read-only], [aria-readonly=true])` */
22
+ "_readOnly": string
23
+ /** `&:read-write` */
24
+ "_readWrite": string
25
+ /** `&:is(:empty, [data-empty])` */
26
+ "_empty": string
27
+ /** `&:is([data-state=checked], [data-state=indeterminate])` */
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
+ /** `&[data-complete]` */
36
+ "_complete": string
37
+ /** `&[data-incomplete]` */
38
+ "_incomplete": string
39
+ /** `&[data-dragging]` */
40
+ "_dragging": string
41
+ /** `&::before` */
42
+ "_before": string
43
+ /** `&::after` */
44
+ "_after": string
45
+ /** `&::first-letter` */
46
+ "_firstLetter": string
47
+ /** `&::first-line` */
48
+ "_firstLine": string
49
+ /** `&::marker, &::-webkit-details-marker` */
50
+ "_marker": string
51
+ /** `&::selection` */
52
+ "_selection": string
53
+ /** `&::file-selector-button` */
54
+ "_file": string
55
+ /** `&::backdrop` */
56
+ "_backdrop": string
57
+ /** `&:first-child` */
58
+ "_first": string
59
+ /** `&:last-child` */
60
+ "_last": string
61
+ /** `&:only-child` */
62
+ "_only": string
63
+ /** `&:nth-child(even)` */
64
+ "_even": string
65
+ /** `&:nth-child(odd)` */
66
+ "_odd": string
67
+ /** `&:first-of-type` */
68
+ "_firstOfType": string
69
+ /** `&:last-of-type` */
70
+ "_lastOfType": string
71
+ /** `&:only-of-type` */
72
+ "_onlyOfType": string
73
+ /** `.peer:is(:focus, [data-focus]) ~ &` */
74
+ "_peerFocus": string
75
+ /** `.peer:is(:hover, [data-hover]) ~ &` */
76
+ "_peerHover": string
77
+ /** `.peer:is(:active, [data-active]) ~ &` */
78
+ "_peerActive": string
79
+ /** `.peer:focus-within ~ &` */
80
+ "_peerFocusWithin": string
81
+ /** `.peer:is(:focus-visible, [data-focus-visible]) ~ &` */
82
+ "_peerFocusVisible": string
83
+ /** `.peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &` */
84
+ "_peerDisabled": string
85
+ /** `.peer:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) ~ &` */
86
+ "_peerChecked": string
87
+ /** `.peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &` */
88
+ "_peerInvalid": string
89
+ /** `.peer:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) ~ &` */
90
+ "_peerExpanded": string
91
+ /** `.peer:placeholder-shown ~ &` */
92
+ "_peerPlaceholderShown": string
93
+ /** `.group:is(:focus, [data-focus]) &` */
94
+ "_groupFocus": string
95
+ /** `[role=group]:where(:hover, [data-hover]) &` */
96
+ "_groupHover": string
97
+ /** `.group:is(:active, [data-active]) &` */
98
+ "_groupActive": string
99
+ /** `.group:focus-within &` */
100
+ "_groupFocusWithin": string
101
+ /** `.group:is(:focus-visible, [data-focus-visible]) &` */
102
+ "_groupFocusVisible": string
103
+ /** `.group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &` */
104
+ "_groupDisabled": string
105
+ /** `.group:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) &` */
106
+ "_groupChecked": string
107
+ /** `.group:is([aria-expanded=true], [data-expanded], [data-state="expanded"]) &` */
108
+ "_groupExpanded": string
109
+ /** `.group:is(:invalid, [data-invalid], [aria-invalid=true]) &` */
110
+ "_groupInvalid": string
111
+ /** `&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state="indeterminate"])` */
112
+ "_indeterminate": string
113
+ /** `&:is(:required, [data-required], [aria-required=true])` */
114
+ "_required": string
115
+ /** `&:is(:valid, [data-valid])` */
116
+ "_valid": string
117
+ /** `&:is(:user-invalid, [data-invalid], [aria-invalid=true])` */
118
+ "_invalid": string
119
+ /** `&:autofill` */
120
+ "_autofill": string
121
+ /** `&:is(:in-range, [data-in-range])` */
122
+ "_inRange": string
123
+ /** `&:is(:out-of-range, [data-outside-range])` */
124
+ "_outOfRange": string
125
+ /** `&::placeholder, &[data-placeholder]` */
126
+ "_placeholder": string
127
+ /** `&:is(:placeholder-shown, [data-placeholder-shown])` */
128
+ "_placeholderShown": string
129
+ /** `&:is([aria-pressed=true], [data-pressed])` */
130
+ "_pressed": string
131
+ /** `&:is([aria-selected=true], [data-selected])` */
132
+ "_selected": string
133
+ /** `&:is([aria-grabbed=true], [data-grabbed])` */
134
+ "_grabbed": string
135
+ /** `&[data-state=under-value]` */
136
+ "_underValue": string
137
+ /** `&[data-state=over-value]` */
138
+ "_overValue": string
139
+ /** `&[data-state=at-value]` */
140
+ "_atValue": string
141
+ /** `&:default` */
142
+ "_default": string
143
+ /** `&:optional` */
144
+ "_optional": string
145
+ /** `&:is([open], [data-open], [data-state="open"], :popover-open)` */
146
+ "_open": string
147
+ /** `&:is([closed], [data-closed], [data-state="closed"])` */
148
+ "_closed": string
149
+ /** `&:is(:fullscreen, [data-fullscreen])` */
150
+ "_fullscreen": string
151
+ /** `&:is([data-loading], [aria-busy=true])` */
152
+ "_loading": string
153
+ /** `&:is([hidden], [data-hidden])` */
154
+ "_hidden": string
155
+ /** `&:is([aria-current=true], [data-current])` */
156
+ "_current": string
157
+ /** `&[aria-current=page]` */
158
+ "_currentPage": string
159
+ /** `&[aria-current=step]` */
160
+ "_currentStep": string
161
+ /** `&:is([data-today])` */
162
+ "_today": string
163
+ /** `&[data-unavailable]` */
164
+ "_unavailable": string
165
+ /** `&[data-range-start]` */
166
+ "_rangeStart": string
167
+ /** `&[data-range-end]` */
168
+ "_rangeEnd": string
169
+ /** `&[data-now]` */
170
+ "_now": string
171
+ /** `&[data-topmost]` */
172
+ "_topmost": string
173
+ /** `@media (prefers-reduced-motion: reduce)` */
174
+ "_motionReduce": string
175
+ /** `@media (prefers-reduced-motion: no-preference)` */
176
+ "_motionSafe": string
177
+ /** `@media print` */
178
+ "_print": string
179
+ /** `@media (orientation: landscape)` */
180
+ "_landscape": string
181
+ /** `@media (orientation: portrait)` */
182
+ "_portrait": string
183
+ /** `.dark &` */
184
+ "_dark": string
185
+ /** `:root &, .light &` */
186
+ "_light": string
187
+ /** `@media (prefers-color-scheme: dark)` */
188
+ "_osDark": string
189
+ /** `@media (prefers-color-scheme: light)` */
190
+ "_osLight": string
191
+ /** `@media (forced-colors: active)` */
192
+ "_highContrast": string
193
+ /** `@media (prefers-contrast: less)` */
194
+ "_lessContrast": string
195
+ /** `@media (prefers-contrast: more)` */
196
+ "_moreContrast": string
197
+ /** `:where([dir=ltr], :dir(ltr)) &` */
198
+ "_ltr": string
199
+ /** `:where([dir=rtl], :dir(rtl)) &` */
200
+ "_rtl": string
201
+ /** `&::-webkit-scrollbar` */
202
+ "_scrollbar": string
203
+ /** `&::-webkit-scrollbar-thumb` */
204
+ "_scrollbarThumb": string
205
+ /** `&::-webkit-scrollbar-track` */
206
+ "_scrollbarTrack": string
207
+ /** `&[data-orientation=horizontal]` */
208
+ "_horizontal": string
209
+ /** `&[data-orientation=vertical]` */
210
+ "_vertical": string
211
+ /** `& :where(svg)` */
212
+ "_icon": string
213
+ /** `@starting-style` */
214
+ "_starting": string
215
+ /** `@media (scripting: none)` */
216
+ "_noscript": string
217
+ /** `@media (inverted-colors: inverted)` */
218
+ "_invertedColors": string
219
+ /** `&:is([data-pinned])` */
220
+ "_pinned": string
221
+ /** `&:is([data-state=on])` */
222
+ "_on": string
223
+ /** `@media screen and (min-width: 40rem)` */
224
+ "sm": string
225
+ /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
226
+ "smOnly": string
227
+ /** `@media screen and (max-width: 39.9975rem)` */
228
+ "smDown": string
229
+ /** `@media screen and (min-width: 48rem)` */
230
+ "md": string
231
+ /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
232
+ "mdOnly": string
233
+ /** `@media screen and (max-width: 47.9975rem)` */
234
+ "mdDown": string
235
+ /** `@media screen and (min-width: 64rem)` */
236
+ "lg": string
237
+ /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
238
+ "lgOnly": string
239
+ /** `@media screen and (max-width: 63.9975rem)` */
240
+ "lgDown": string
241
+ /** `@media screen and (min-width: 80rem)` */
242
+ "xl": string
243
+ /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
244
+ "xlOnly": string
245
+ /** `@media screen and (max-width: 79.9975rem)` */
246
+ "xlDown": string
247
+ /** `@media screen and (min-width: 96rem)` */
248
+ "2xl": string
249
+ /** `@media screen and (min-width: 96rem)` */
250
+ "2xlOnly": string
251
+ /** `@media screen and (max-width: 95.9975rem)` */
252
+ "2xlDown": string
253
+ /** `@media screen and (min-width: 40rem) and (max-width: 47.9975rem)` */
254
+ "smToMd": string
255
+ /** `@media screen and (min-width: 40rem) and (max-width: 63.9975rem)` */
256
+ "smToLg": string
257
+ /** `@media screen and (min-width: 40rem) and (max-width: 79.9975rem)` */
258
+ "smToXl": string
259
+ /** `@media screen and (min-width: 40rem) and (max-width: 95.9975rem)` */
260
+ "smTo2xl": string
261
+ /** `@media screen and (min-width: 48rem) and (max-width: 63.9975rem)` */
262
+ "mdToLg": string
263
+ /** `@media screen and (min-width: 48rem) and (max-width: 79.9975rem)` */
264
+ "mdToXl": string
265
+ /** `@media screen and (min-width: 48rem) and (max-width: 95.9975rem)` */
266
+ "mdTo2xl": string
267
+ /** `@media screen and (min-width: 64rem) and (max-width: 79.9975rem)` */
268
+ "lgToXl": string
269
+ /** `@media screen and (min-width: 64rem) and (max-width: 95.9975rem)` */
270
+ "lgTo2xl": string
271
+ /** `@media screen and (min-width: 80rem) and (max-width: 95.9975rem)` */
272
+ "xlTo2xl": string
273
+ /** `@container (min-width: 20rem)` */
274
+ "@/xs": string
275
+ /** `@container (min-width: 24rem)` */
276
+ "@/sm": string
277
+ /** `@container (min-width: 28rem)` */
278
+ "@/md": string
279
+ /** `@container (min-width: 32rem)` */
280
+ "@/lg": string
281
+ /** `@container (min-width: 36rem)` */
282
+ "@/xl": string
283
+ /** `@container (min-width: 42rem)` */
284
+ "@/2xl": string
285
+ /** `@container (min-width: 48rem)` */
286
+ "@/3xl": string
287
+ /** `@container (min-width: 56rem)` */
288
+ "@/4xl": string
289
+ /** `@container (min-width: 64rem)` */
290
+ "@/5xl": string
291
+ /** `@container (min-width: 72rem)` */
292
+ "@/6xl": string
293
+ /** `@container (min-width: 80rem)` */
294
+ "@/7xl": string
295
+ /** `@container (min-width: 90rem)` */
296
+ "@/8xl": string
297
+ /** The base (=no conditions) styles to apply */
298
+ "base": string
299
+ }
300
+
301
+ export type ConditionalValue<V> =
302
+ | V
303
+ | Array<V | null>
304
+ | {
305
+ [K in keyof Conditions]?: ConditionalValue<V>
306
+ }
307
+
308
+ export type Nested<P> = P & {
309
+ [K in Selectors]?: Nested<P>
310
+ } & {
311
+ [K in AnySelector]?: Nested<P>
312
+ } & {
313
+ [K in keyof Conditions]?: Nested<P>
314
+ }