@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.
Files changed (387) hide show
  1. package/css/conditions.d.ts +7 -0
  2. package/css/conditions.js +32 -0
  3. package/css/css.d.ts +6 -6
  4. package/css/css.js +63 -0
  5. package/css/cva.d.ts +3 -4
  6. package/css/cva.js +51 -0
  7. package/css/cx.d.ts +5 -4
  8. package/css/{cx.mjs → cx.js} +5 -4
  9. package/css/first-that-works.d.ts +22 -0
  10. package/css/first-that-works.js +1 -0
  11. package/css/index.d.ts +8 -5
  12. package/css/index.js +8 -0
  13. package/css/keyframes.d.ts +5 -0
  14. package/css/keyframes.js +8 -0
  15. package/css/position-try.d.ts +5 -0
  16. package/css/position-try.js +11 -0
  17. package/css/sva.d.ts +2 -3
  18. package/css/sva.js +49 -0
  19. package/css/view-transition.d.ts +7 -0
  20. package/css/view-transition.js +18 -0
  21. package/dist/panda/buildinfo.json +20580 -0
  22. package/dist/panda/lib.json +15 -0
  23. package/dist/panda/preset.mjs +9505 -0
  24. package/helpers.d.ts +67 -0
  25. package/helpers.js +624 -0
  26. package/jsx/aspect-ratio.d.ts +5 -8
  27. package/jsx/aspect-ratio.js +11 -0
  28. package/jsx/bleed.d.ts +6 -9
  29. package/jsx/bleed.js +11 -0
  30. package/jsx/box.d.ts +6 -9
  31. package/jsx/box.js +11 -0
  32. package/jsx/center.d.ts +6 -9
  33. package/jsx/center.js +11 -0
  34. package/jsx/circle.d.ts +6 -9
  35. package/jsx/circle.js +11 -0
  36. package/jsx/container.d.ts +6 -9
  37. package/jsx/container.js +11 -0
  38. package/jsx/cq.d.ts +6 -9
  39. package/jsx/cq.js +11 -0
  40. package/jsx/create-recipe-context.d.ts +31 -0
  41. package/jsx/create-recipe-context.js +38 -0
  42. package/jsx/create-slot-recipe-context.d.ts +49 -0
  43. package/jsx/create-slot-recipe-context.js +124 -0
  44. package/jsx/divider.d.ts +6 -9
  45. package/jsx/divider.js +11 -0
  46. package/jsx/factory.d.ts +3 -3
  47. package/jsx/factory.js +91 -0
  48. package/jsx/flex.d.ts +6 -9
  49. package/jsx/flex.js +11 -0
  50. package/jsx/float.d.ts +6 -9
  51. package/jsx/float.js +11 -0
  52. package/jsx/grid-item.d.ts +6 -9
  53. package/jsx/grid-item.js +11 -0
  54. package/jsx/grid.d.ts +6 -9
  55. package/jsx/grid.js +11 -0
  56. package/jsx/helper.d.ts +34 -0
  57. package/jsx/helper.js +92 -0
  58. package/jsx/hstack.d.ts +6 -9
  59. package/jsx/hstack.js +11 -0
  60. package/jsx/index.d.ts +25 -25
  61. package/jsx/index.js +24 -0
  62. package/jsx/is-valid-prop.d.ts +5 -10
  63. package/jsx/is-valid-prop.js +12 -0
  64. package/jsx/link-overlay.d.ts +6 -9
  65. package/jsx/link-overlay.js +11 -0
  66. package/jsx/spacer.d.ts +6 -9
  67. package/jsx/spacer.js +11 -0
  68. package/jsx/square.d.ts +6 -9
  69. package/jsx/square.js +11 -0
  70. package/jsx/stack.d.ts +6 -9
  71. package/jsx/stack.js +11 -0
  72. package/jsx/visually-hidden.d.ts +6 -9
  73. package/jsx/visually-hidden.js +11 -0
  74. package/jsx/vstack.d.ts +6 -9
  75. package/jsx/vstack.js +11 -0
  76. package/jsx/wrap.d.ts +6 -9
  77. package/jsx/wrap.js +11 -0
  78. package/package.json +32 -18
  79. package/patterns/aspect-ratio.d.ts +8 -9
  80. package/patterns/aspect-ratio.js +37 -0
  81. package/patterns/bleed.d.ts +9 -10
  82. package/patterns/bleed.js +30 -0
  83. package/patterns/box.d.ts +8 -11
  84. package/patterns/box.js +16 -0
  85. package/patterns/center.d.ts +8 -9
  86. package/patterns/center.js +22 -0
  87. package/patterns/circle.d.ts +8 -9
  88. package/patterns/circle.js +26 -0
  89. package/patterns/container.d.ts +8 -11
  90. package/patterns/container.js +26 -0
  91. package/patterns/cq.d.ts +10 -10
  92. package/patterns/cq.js +24 -0
  93. package/patterns/divider.d.ts +11 -11
  94. package/patterns/divider.js +31 -0
  95. package/patterns/flex.d.ts +14 -15
  96. package/patterns/flex.js +27 -0
  97. package/patterns/float.d.ts +12 -12
  98. package/patterns/float.js +78 -0
  99. package/patterns/grid-item.d.ts +13 -14
  100. package/patterns/grid-item.js +26 -0
  101. package/patterns/grid.d.ts +13 -13
  102. package/patterns/grid.js +30 -0
  103. package/patterns/hstack.d.ts +9 -10
  104. package/patterns/hstack.js +27 -0
  105. package/patterns/index.d.ts +20 -21
  106. package/patterns/index.js +20 -0
  107. package/patterns/link-overlay.d.ts +8 -11
  108. package/patterns/link-overlay.js +25 -0
  109. package/patterns/runtime.js +25 -0
  110. package/patterns/spacer.d.ts +9 -9
  111. package/patterns/spacer.js +25 -0
  112. package/patterns/square.d.ts +8 -9
  113. package/patterns/square.js +25 -0
  114. package/patterns/stack.d.ts +11 -12
  115. package/patterns/stack.js +30 -0
  116. package/patterns/visually-hidden.d.ts +8 -11
  117. package/patterns/visually-hidden.js +19 -0
  118. package/patterns/vstack.d.ts +9 -10
  119. package/patterns/vstack.js +27 -0
  120. package/patterns/wrap.d.ts +12 -13
  121. package/patterns/wrap.js +26 -0
  122. package/recipes/accordion.d.ts +10 -26
  123. package/recipes/accordion.js +5 -0
  124. package/recipes/action-card.d.ts +9 -26
  125. package/recipes/action-card.js +5 -0
  126. package/recipes/alert.d.ts +10 -28
  127. package/recipes/alert.js +5 -0
  128. package/recipes/app-navigation-language-select.d.ts +12 -34
  129. package/recipes/app-navigation-language-select.js +5 -0
  130. package/recipes/app-navigation.d.ts +10 -28
  131. package/recipes/app-navigation.js +5 -0
  132. package/recipes/avatar-group.d.ts +8 -26
  133. package/recipes/avatar-group.js +5 -0
  134. package/recipes/avatar.d.ts +11 -30
  135. package/recipes/avatar.js +5 -0
  136. package/recipes/breadcrumb.d.ts +9 -24
  137. package/recipes/breadcrumb.js +5 -0
  138. package/recipes/button-filter.d.ts +8 -27
  139. package/recipes/button-filter.js +5 -0
  140. package/recipes/button.d.ts +10 -37
  141. package/recipes/button.js +5 -0
  142. package/recipes/chat-document-message.d.ts +8 -27
  143. package/recipes/chat-document-message.js +5 -0
  144. package/recipes/chat-message.d.ts +10 -33
  145. package/recipes/chat-message.js +5 -0
  146. package/recipes/chat-profile-avatar.d.ts +9 -29
  147. package/recipes/chat-profile-avatar.js +5 -0
  148. package/recipes/chat-text-input.d.ts +8 -27
  149. package/recipes/chat-text-input.js +5 -0
  150. package/recipes/chat.d.ts +9 -26
  151. package/recipes/chat.js +5 -0
  152. package/recipes/checkbox-card.d.ts +10 -26
  153. package/recipes/checkbox-card.js +5 -0
  154. package/recipes/checkbox-group.d.ts +7 -24
  155. package/recipes/checkbox-group.js +5 -0
  156. package/recipes/checkbox.d.ts +10 -26
  157. package/recipes/checkbox.js +5 -0
  158. package/recipes/chip.d.ts +11 -32
  159. package/recipes/chip.js +5 -0
  160. package/recipes/collapsible.d.ts +9 -24
  161. package/recipes/collapsible.js +5 -0
  162. package/recipes/combobox.d.ts +11 -27
  163. package/recipes/combobox.js +5 -0
  164. package/recipes/datepicker.d.ts +9 -24
  165. package/recipes/datepicker.js +5 -0
  166. package/recipes/dialog.d.ts +9 -24
  167. package/recipes/dialog.js +5 -0
  168. package/recipes/drawer.d.ts +10 -26
  169. package/recipes/drawer.js +5 -0
  170. package/recipes/flag.d.ts +8 -26
  171. package/recipes/flag.js +5 -0
  172. package/recipes/form-control.d.ts +8 -27
  173. package/recipes/form-control.js +5 -0
  174. package/recipes/form-helper-text.d.ts +8 -27
  175. package/recipes/form-helper-text.js +5 -0
  176. package/recipes/form-label.d.ts +10 -28
  177. package/recipes/form-label.js +5 -0
  178. package/recipes/heading.d.ts +10 -28
  179. package/recipes/heading.js +5 -0
  180. package/recipes/highlighted-input.d.ts +9 -26
  181. package/recipes/highlighted-input.js +5 -0
  182. package/recipes/icon-button.d.ts +10 -37
  183. package/recipes/icon-button.js +5 -0
  184. package/recipes/icon.d.ts +8 -26
  185. package/recipes/icon.js +5 -0
  186. package/recipes/illustration.d.ts +9 -29
  187. package/recipes/illustration.js +5 -0
  188. package/recipes/index.d.ts +62 -63
  189. package/recipes/index.js +62 -0
  190. package/recipes/input-addon.d.ts +8 -27
  191. package/recipes/input-addon.js +5 -0
  192. package/recipes/input-group.d.ts +8 -27
  193. package/recipes/input-group.js +5 -0
  194. package/recipes/input.d.ts +9 -29
  195. package/recipes/input.js +5 -0
  196. package/recipes/menu.d.ts +10 -26
  197. package/recipes/menu.js +5 -0
  198. package/recipes/mobile-navigation.d.ts +10 -28
  199. package/recipes/mobile-navigation.js +5 -0
  200. package/recipes/pagination.d.ts +9 -26
  201. package/recipes/pagination.js +5 -0
  202. package/recipes/phone-number-input.d.ts +9 -29
  203. package/recipes/phone-number-input.js +5 -0
  204. package/recipes/popover.d.ts +9 -24
  205. package/recipes/popover.js +5 -0
  206. package/recipes/price-tag.d.ts +10 -26
  207. package/recipes/price-tag.js +5 -0
  208. package/recipes/product-card-catalog.d.ts +9 -26
  209. package/recipes/product-card-catalog.js +5 -0
  210. package/recipes/radio-button-group.d.ts +10 -26
  211. package/recipes/radio-button-group.js +5 -0
  212. package/recipes/radio-card-group.d.ts +10 -26
  213. package/recipes/radio-card-group.js +5 -0
  214. package/recipes/radio-group.d.ts +10 -26
  215. package/recipes/radio-group.js +5 -0
  216. package/recipes/runtime.js +133 -0
  217. package/recipes/select-language.d.ts +10 -26
  218. package/recipes/select-language.js +5 -0
  219. package/recipes/select.d.ts +11 -27
  220. package/recipes/select.js +5 -0
  221. package/recipes/status-tag-select.d.ts +11 -30
  222. package/recipes/status-tag-select.js +5 -0
  223. package/recipes/steps.d.ts +9 -24
  224. package/recipes/steps.js +5 -0
  225. package/recipes/switch-card.d.ts +10 -26
  226. package/recipes/switch-card.js +5 -0
  227. package/recipes/switch-recipe.d.ts +10 -26
  228. package/recipes/switch-recipe.js +5 -0
  229. package/recipes/table-container.d.ts +7 -24
  230. package/recipes/table-container.js +5 -0
  231. package/recipes/table-empty-row.d.ts +7 -24
  232. package/recipes/table-empty-row.js +5 -0
  233. package/recipes/table-group-title.d.ts +8 -26
  234. package/recipes/table-group-title.js +5 -0
  235. package/recipes/table.d.ts +9 -24
  236. package/recipes/table.js +5 -0
  237. package/recipes/tabs-chip.d.ts +9 -29
  238. package/recipes/tabs-chip.js +5 -0
  239. package/recipes/tabs.d.ts +11 -30
  240. package/recipes/tabs.js +5 -0
  241. package/recipes/tag.d.ts +11 -32
  242. package/recipes/tag.js +5 -0
  243. package/recipes/text.d.ts +12 -30
  244. package/recipes/text.js +5 -0
  245. package/recipes/textarea.d.ts +7 -24
  246. package/recipes/textarea.js +5 -0
  247. package/recipes/tooltip.d.ts +9 -24
  248. package/recipes/tooltip.js +5 -0
  249. package/tokens/index.d.ts +4 -5
  250. package/tokens/index.js +18 -0
  251. package/types/index.d.ts +6 -8
  252. package/types/jsx.d.ts +37 -28
  253. package/types/pattern.d.ts +18 -70
  254. package/types/recipe.d.ts +58 -150
  255. package/types/register.d.ts +40 -0
  256. package/types/system.d.ts +1816 -0
  257. package/types/tokens.d.ts +72 -0
  258. package/css/conditions.mjs +0 -36
  259. package/css/css.mjs +0 -45
  260. package/css/cva.mjs +0 -87
  261. package/css/index.mjs +0 -4
  262. package/css/sva.mjs +0 -46
  263. package/helpers.mjs +0 -328
  264. package/jsx/aspect-ratio.mjs +0 -14
  265. package/jsx/bleed.mjs +0 -14
  266. package/jsx/box.mjs +0 -14
  267. package/jsx/center.mjs +0 -14
  268. package/jsx/circle.mjs +0 -14
  269. package/jsx/container.mjs +0 -14
  270. package/jsx/cq.mjs +0 -14
  271. package/jsx/create-style-context.d.ts +0 -54
  272. package/jsx/create-style-context.mjs +0 -118
  273. package/jsx/divider.mjs +0 -14
  274. package/jsx/factory-helper.mjs +0 -22
  275. package/jsx/factory.mjs +0 -89
  276. package/jsx/flex.mjs +0 -14
  277. package/jsx/float.mjs +0 -14
  278. package/jsx/grid-item.mjs +0 -14
  279. package/jsx/grid.mjs +0 -14
  280. package/jsx/hstack.mjs +0 -14
  281. package/jsx/index.mjs +0 -23
  282. package/jsx/is-valid-prop.mjs +0 -17
  283. package/jsx/link-overlay.mjs +0 -14
  284. package/jsx/spacer.mjs +0 -14
  285. package/jsx/square.mjs +0 -14
  286. package/jsx/stack.mjs +0 -14
  287. package/jsx/visually-hidden.mjs +0 -14
  288. package/jsx/vstack.mjs +0 -14
  289. package/jsx/wrap.mjs +0 -14
  290. package/panda.buildinfo.json +0 -471
  291. package/patterns/aspect-ratio.mjs +0 -38
  292. package/patterns/bleed.mjs +0 -24
  293. package/patterns/box.mjs +0 -15
  294. package/patterns/center.mjs +0 -21
  295. package/patterns/circle.mjs +0 -25
  296. package/patterns/container.mjs +0 -21
  297. package/patterns/cq.mjs +0 -21
  298. package/patterns/divider.mjs +0 -25
  299. package/patterns/flex.mjs +0 -26
  300. package/patterns/float.mjs +0 -52
  301. package/patterns/grid-item.mjs +0 -25
  302. package/patterns/grid.mjs +0 -27
  303. package/patterns/hstack.mjs +0 -24
  304. package/patterns/index.mjs +0 -20
  305. package/patterns/link-overlay.mjs +0 -24
  306. package/patterns/spacer.mjs +0 -25
  307. package/patterns/square.mjs +0 -24
  308. package/patterns/stack.mjs +0 -24
  309. package/patterns/visually-hidden.mjs +0 -18
  310. package/patterns/vstack.mjs +0 -24
  311. package/patterns/wrap.mjs +0 -25
  312. package/recipes/accordion.mjs +0 -57
  313. package/recipes/action-card.mjs +0 -45
  314. package/recipes/alert.mjs +0 -57
  315. package/recipes/app-navigation-language-select.mjs +0 -109
  316. package/recipes/app-navigation.mjs +0 -84
  317. package/recipes/avatar-group.mjs +0 -32
  318. package/recipes/avatar.mjs +0 -57
  319. package/recipes/breadcrumb.mjs +0 -45
  320. package/recipes/button-filter.mjs +0 -24
  321. package/recipes/button.mjs +0 -212
  322. package/recipes/chat-document-message.mjs +0 -24
  323. package/recipes/chat-message.mjs +0 -36
  324. package/recipes/chat-profile-avatar.mjs +0 -31
  325. package/recipes/chat-text-input.mjs +0 -24
  326. package/recipes/chat.mjs +0 -45
  327. package/recipes/checkbox-card.mjs +0 -73
  328. package/recipes/checkbox-group.mjs +0 -24
  329. package/recipes/checkbox.mjs +0 -57
  330. package/recipes/chip.mjs +0 -76
  331. package/recipes/collapsible.mjs +0 -45
  332. package/recipes/combobox.mjs +0 -101
  333. package/recipes/create-recipe.mjs +0 -82
  334. package/recipes/datepicker.mjs +0 -133
  335. package/recipes/dialog.mjs +0 -69
  336. package/recipes/drawer.mjs +0 -78
  337. package/recipes/flag.mjs +0 -33
  338. package/recipes/form-control.mjs +0 -24
  339. package/recipes/form-helper-text.mjs +0 -24
  340. package/recipes/form-label.mjs +0 -50
  341. package/recipes/heading.mjs +0 -41
  342. package/recipes/highlighted-input.mjs +0 -45
  343. package/recipes/icon-button.mjs +0 -233
  344. package/recipes/icon.mjs +0 -34
  345. package/recipes/illustration.mjs +0 -37
  346. package/recipes/index.mjs +0 -62
  347. package/recipes/input-addon.mjs +0 -24
  348. package/recipes/input-group.mjs +0 -24
  349. package/recipes/input.mjs +0 -30
  350. package/recipes/menu.mjs +0 -93
  351. package/recipes/mobile-navigation.mjs +0 -56
  352. package/recipes/pagination.mjs +0 -41
  353. package/recipes/phone-number-input.mjs +0 -30
  354. package/recipes/popover.mjs +0 -69
  355. package/recipes/price-tag.mjs +0 -51
  356. package/recipes/product-card-catalog.mjs +0 -73
  357. package/recipes/radio-button-group.mjs +0 -62
  358. package/recipes/radio-card-group.mjs +0 -77
  359. package/recipes/radio-group.mjs +0 -61
  360. package/recipes/select-language.mjs +0 -98
  361. package/recipes/select.mjs +0 -101
  362. package/recipes/status-tag-select.mjs +0 -108
  363. package/recipes/steps.mjs +0 -69
  364. package/recipes/switch-card.mjs +0 -69
  365. package/recipes/switch-recipe.mjs +0 -53
  366. package/recipes/table-container.mjs +0 -24
  367. package/recipes/table-empty-row.mjs +0 -24
  368. package/recipes/table-group-title.mjs +0 -32
  369. package/recipes/table.mjs +0 -61
  370. package/recipes/tabs-chip.mjs +0 -35
  371. package/recipes/tabs.mjs +0 -63
  372. package/recipes/tag.mjs +0 -61
  373. package/recipes/text.mjs +0 -41
  374. package/recipes/textarea.mjs +0 -24
  375. package/recipes/tooltip.mjs +0 -49
  376. package/tokens/index.mjs +0 -1728
  377. package/tokens/tokens.d.ts +0 -63
  378. package/types/composition.d.ts +0 -227
  379. package/types/conditions.d.ts +0 -300
  380. package/types/csstype.d.ts +0 -22570
  381. package/types/global.d.ts +0 -20
  382. package/types/parts.d.ts +0 -8
  383. package/types/prop-type.d.ts +0 -251
  384. package/types/selectors.d.ts +0 -59
  385. package/types/static-css.d.ts +0 -56
  386. package/types/style-props.d.ts +0 -8089
  387. package/types/system-types.d.ts +0 -151
@@ -1,31 +1,16 @@
1
- /* eslint-disable */
2
- import type { ConditionalValue } from '../types/index';
3
- import type { DistributiveOmit, Pretty } from '../types/system-types';
1
+ import type { ConditionalValue } from '../types/system.js';
2
+ import type { ConfigSlotRecipeRuntimeFn, RecipeVariantMap } from '../types/recipe.js';
4
3
 
5
- interface TooltipVariant {
6
-
7
- }
8
-
9
- type TooltipVariantMap = {
10
- [key in keyof TooltipVariant]: Array<TooltipVariant[key]>
11
- }
12
-
13
- type TooltipSlot = "trigger" | "arrow" | "arrowTip" | "positioner" | "content"
4
+ export type TooltipVariant = {}
14
5
 
15
6
  export type TooltipVariantProps = {
16
- [key in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[key]> | undefined
7
+ [K in keyof TooltipVariant]?: ConditionalValue<TooltipVariant[K]>
17
8
  }
18
9
 
19
- export interface TooltipRecipe {
20
- __slot: TooltipSlot
21
- __type: TooltipVariantProps
22
- (props?: TooltipVariantProps): Pretty<Record<TooltipSlot, string>>
23
- raw: (props?: TooltipVariantProps) => TooltipVariantProps
24
- variantMap: TooltipVariantMap
25
- variantKeys: Array<keyof TooltipVariant>
26
- splitVariantProps<Props extends TooltipVariantProps>(props: Props): [TooltipVariantProps, Pretty<DistributiveOmit<Props, keyof TooltipVariantProps>>]
27
- getVariantProps: (props?: TooltipVariantProps) => TooltipVariantProps
28
- }
10
+ export type TooltipVariantMap = RecipeVariantMap<TooltipVariant>
11
+
12
+ export type TooltipSlot = "trigger" | "arrow" | "arrowTip" | "positioner" | "content"
29
13
 
14
+ export type TooltipRecipe = ConfigSlotRecipeRuntimeFn<TooltipSlot, TooltipVariantProps, TooltipVariantMap>
30
15
 
31
- export declare const tooltip: TooltipRecipe
16
+ export declare const tooltip: TooltipRecipe;
@@ -0,0 +1,5 @@
1
+ import { createSlotRecipe } from './runtime.js';
2
+
3
+ const tooltipConfig = {"name":"tooltip","slots":["trigger","arrow","arrowTip","positioner","content"]}
4
+
5
+ export const tooltip = /* @__PURE__ */ createSlotRecipe(tooltipConfig)
package/tokens/index.d.ts CHANGED
@@ -1,9 +1,8 @@
1
- /* eslint-disable */
2
- import type { Token } from './tokens';
1
+ import type { Token, TokenPath } from '../types/tokens.js';
3
2
 
4
- export declare const token: {
5
- (path: Token, fallback?: string): string
3
+ interface TokenFn {
4
+ (path: TokenPath, fallback?: string): string
6
5
  var: (path: Token, fallback?: string) => string
7
6
  }
8
7
 
9
- export * from './tokens';
8
+ export declare const token: TokenFn;
@@ -0,0 +1,18 @@
1
+ import { colorMix, toCssVar } from '../helpers.js';
2
+
3
+ const tokens = {"animations.backdrop-in":"fade-in 250ms var(--easings-emphasized-in)","animations.backdrop-out":"fade-out 200ms var(--easings-emphasized-out)","animations.bounce":"bounce 1s infinite","animations.collapse-in":"collapse-in 150ms var(--easings-in)","animations.collapse-out":"collapse-out 150ms var(--easings-in-out)","animations.dialog-in":"slide-in-modal 400ms var(--easings-emphasized-in)","animations.dialog-out":"slide-out-modal 200ms var(--easings-emphasized-out)","animations.drawer-in-left":"slide-in-left 400ms var(--easings-emphasized-in)","animations.drawer-in-right":"slide-in-right 400ms var(--easings-emphasized-in)","animations.drawer-out-left":"slide-out-left 200ms var(--easings-emphasized-out)","animations.drawer-out-right":"slide-out-right 200ms var(--easings-emphasized-out)","animations.fade-in":"fade-in 400ms var(--easings-emphasized-in)","animations.ping":"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite","animations.pulse":"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite","animations.skeleton-pulse":"skeleton-pulse 2s var(--easings-pulse) infinite","animations.spin":"spin 1s linear infinite","aspectRatios.golden":"1.618 / 1","aspectRatios.landscape":"4 / 3","aspectRatios.portrait":"3 / 4","aspectRatios.square":"1 / 1","aspectRatios.ultrawide":"18 / 5","aspectRatios.wide":"16 / 9","blurs.2xl":"40px","blurs.3xl":"64px","blurs.base":"8px","blurs.lg":"16px","blurs.md":"12px","blurs.sm":"4px","blurs.xl":"24px","borders.border.none":"none","breakpoints.lg":"1200px","breakpoints.md":"900px","breakpoints.sm":"600px","breakpoints.xl":"1536px","colors.black":"#000","colors.blue.100":"#E6EEFF","colors.blue.200":"#ACCAFF","colors.blue.300":"#7CAAFF","colors.blue.400":"#578DFF","colors.blue.500":"#3C74EB","colors.blue.600":"#3566CE","colors.blue.700":"#2D57B0","colors.blue.800":"#264993","colors.blue.900":"#1E3A76","colors.colorPalette":"","colors.colorPalette.10":"","colors.colorPalette.100":"","colors.colorPalette.200":"","colors.colorPalette.300":"","colors.colorPalette.400":"","colors.colorPalette.50":"","colors.colorPalette.500":"","colors.colorPalette.600":"","colors.colorPalette.700":"","colors.colorPalette.800":"","colors.colorPalette.900":"","colors.colorPalette.aromatic.dark":"","colors.colorPalette.aromatic.light":"","colors.colorPalette.aromatic.mid":"","colors.colorPalette.blue.dark":"","colors.colorPalette.blue.light":"","colors.colorPalette.blue.mid":"","colors.colorPalette.brown.dark":"","colors.colorPalette.brown.light":"","colors.colorPalette.brown.mid":"","colors.colorPalette.cereal.dark":"","colors.colorPalette.cereal.light":"","colors.colorPalette.cereal.mid":"","colors.colorPalette.dark":"","colors.colorPalette.disabled":"","colors.colorPalette.fish.dark":"","colors.colorPalette.fish.light":"","colors.colorPalette.fish.mid":"","colors.colorPalette.fruit.dark":"","colors.colorPalette.fruit.light":"","colors.colorPalette.fruit.mid":"","colors.colorPalette.green.dark":"","colors.colorPalette.green.light":"","colors.colorPalette.green.mid":"","colors.colorPalette.heading":"","colors.colorPalette.light":"","colors.colorPalette.meat.dark":"","colors.colorPalette.meat.light":"","colors.colorPalette.meat.mid":"","colors.colorPalette.mid":"","colors.colorPalette.oil.dark":"","colors.colorPalette.oil.light":"","colors.colorPalette.oil.mid":"","colors.colorPalette.purple.dark":"","colors.colorPalette.purple.light":"","colors.colorPalette.purple.mid":"","colors.colorPalette.red.dark":"","colors.colorPalette.red.light":"","colors.colorPalette.red.mid":"","colors.colorPalette.vegetable.dark":"","colors.colorPalette.vegetable.light":"","colors.colorPalette.vegetable.mid":"","colors.colorPalette.yellow.dark":"","colors.colorPalette.yellow.light":"","colors.colorPalette.yellow.mid":"","colors.current":"currentColor","colors.decorative.blue.dark":"#2A6969","colors.decorative.blue.light":"#B8FFFF","colors.decorative.blue.mid":"#54D2D2","colors.decorative.brown.dark":"#483522","colors.decorative.brown.light":"#E4CEB9","colors.decorative.brown.mid":"#8F6944","colors.decorative.green.dark":"#2C5A34","colors.decorative.green.light":"#BEF1C7","colors.decorative.green.mid":"#58B368","colors.decorative.purple.dark":"#463180","colors.decorative.purple.light":"#D1B8FF","colors.decorative.purple.mid":"#8C61FF","colors.decorative.red.dark":"#752821","colors.decorative.red.light":"#FFB5AD","colors.decorative.red.mid":"#EA4F42","colors.decorative.yellow.dark":"#806600","colors.decorative.yellow.light":"#FFFFAC","colors.decorative.yellow.mid":"#FFCB00","colors.error.100":"var(--colors-red-100)","colors.error.200":"var(--colors-red-200)","colors.error.300":"var(--colors-red-300)","colors.error.400":"var(--colors-red-400)","colors.error.500":"var(--colors-red-500)","colors.error.600":"var(--colors-red-600)","colors.error.700":"var(--colors-red-700)","colors.error.800":"var(--colors-red-800)","colors.error.900":"var(--colors-red-900)","colors.green.100":"#E6FFF7","colors.green.200":"#B4FCE2","colors.green.300":"#88F2CC","colors.green.400":"#64E0B3","colors.green.500":"#47c799","colors.green.600":"#3EAE86","colors.green.700":"#359573","colors.green.800":"#2C7C60","colors.green.900":"#24644D","colors.grey.10":"#FBFBFC","colors.grey.100":"#D1D2D6","colors.grey.200":"#ADAEB4","colors.grey.300":"#898B93","colors.grey.400":"#666871","colors.grey.50":"#F5F6F6","colors.grey.500":"#43454e","colors.grey.600":"#3B3B44","colors.grey.700":"#34323B","colors.grey.800":"#2D2A31","colors.grey.900":"#252227","colors.primary.100":"","colors.primary.200":"","colors.primary.300":"","colors.primary.400":"","colors.primary.500":"","colors.primary.600":"","colors.primary.700":"","colors.primary.800":"","colors.primary.900":"","colors.purple.100":"#F2F2FC","colors.purple.200":"#B6B7E8","colors.purple.300":"#7981CE","colors.purple.400":"#4350AD","colors.purple.500":"#162486","colors.purple.600":"#132075","colors.purple.700":"#111B65","colors.purple.800":"#0E1754","colors.purple.900":"#0B1243","colors.red.100":"#FFE6E6","colors.red.200":"#FFB0B0","colors.red.300":"#FF8585","colors.red.400":"#FF6565","colors.red.500":"#Ff4e4e","colors.red.600":"#DF4444","colors.red.700":"#BF3B3B","colors.red.800":"#9F3131","colors.red.900":"#802727","colors.secondary.100":"","colors.secondary.200":"","colors.secondary.300":"","colors.secondary.400":"","colors.secondary.500":"","colors.secondary.600":"","colors.secondary.700":"","colors.secondary.800":"","colors.secondary.900":"","colors.success.100":"var(--colors-green-100)","colors.success.200":"var(--colors-green-200)","colors.success.300":"var(--colors-green-300)","colors.success.400":"var(--colors-green-400)","colors.success.500":"var(--colors-green-500)","colors.success.600":"var(--colors-green-600)","colors.success.700":"var(--colors-green-700)","colors.success.800":"var(--colors-green-800)","colors.success.900":"var(--colors-green-900)","colors.text":"var(--colors-grey-800)","colors.text.disabled":"var(--colors-grey-300)","colors.text.heading":"var(--colors-primary-900)","colors.transparent":"rgb(0 0 0 / 0)","colors.typology.aromatic.dark":"#81AB9B","colors.typology.aromatic.light":"#E8F5F0","colors.typology.aromatic.mid":"#B9E5D4","colors.typology.cereal.dark":"#A3947E","colors.typology.cereal.light":"#F1EDE7","colors.typology.cereal.mid":"#E4D4BB","colors.typology.fish.dark":"#778E9B","colors.typology.fish.light":"#E7F5FD","colors.typology.fish.mid":"#B9D1DF","colors.typology.fruit.dark":"#967B9E","colors.typology.fruit.light":"#FCF3FF","colors.typology.fruit.mid":"#D6B9E0","colors.typology.meat.dark":"#9D7A7A","colors.typology.meat.light":"#FFF0F0","colors.typology.meat.mid":"#DEB8B8","colors.typology.oil.dark":"#A8A47F","colors.typology.oil.light":"#F7F4DB","colors.typology.oil.mid":"#E8E3BC","colors.typology.vegetable.dark":"#97A17F","colors.typology.vegetable.light":"#F1F6E6","colors.typology.vegetable.mid":"#D7E3BC","colors.warning.100":"var(--colors-yellow-100)","colors.warning.200":"var(--colors-yellow-200)","colors.warning.300":"var(--colors-yellow-300)","colors.warning.400":"var(--colors-yellow-400)","colors.warning.500":"var(--colors-yellow-500)","colors.warning.600":"var(--colors-yellow-600)","colors.warning.700":"var(--colors-yellow-700)","colors.warning.800":"var(--colors-yellow-800)","colors.warning.900":"var(--colors-yellow-900)","colors.white":"#fff","colors.yellow.100":"#FFF9E6","colors.yellow.200":"#FFEAAC","colors.yellow.300":"#FFD976","colors.yellow.400":"#FFC551","colors.yellow.500":"#ffaf37","colors.yellow.600":"#DF9930","colors.yellow.700":"#BF8329","colors.yellow.800":"#9F6D22","colors.yellow.900":"#80581C","durations.fast":"150ms","durations.faster":"100ms","durations.fastest":"50ms","durations.normal":"200ms","durations.slow":"300ms","durations.slower":"400ms","durations.slowest":"500ms","easings.default":"cubic-bezier(0.2, 0.0, 0, 1.0)","easings.ease-bounce-1":"linear(\n 0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25, 0.316, 0.391 36.8%,\n 0.563, 0.766, 1 58.8%, 0.946, 0.908 69.1%, 0.895, 0.885, 0.879, 0.878, 0.879,\n 0.885, 0.895, 0.908 89.7%, 0.946, 1\n )","easings.ease-bounce-2":"linear(\n 0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141 15.1%, 0.25, 0.391, 0.562, 0.765,\n 1, 0.892 45.2%, 0.849, 0.815, 0.788, 0.769, 0.757, 0.753, 0.757, 0.769, 0.788,\n 0.815, 0.85, 0.892 75.2%, 1 80.2%, 0.973, 0.954, 0.943, 0.939, 0.943, 0.954,\n 0.973, 1\n )","easings.ease-bounce-3":"linear(\n 0, 0.004, 0.016, 0.035, 0.062, 0.098, 0.141 11.4%, 0.25, 0.39, 0.562, 0.764,\n 1 30.3%, 0.847 34.8%, 0.787, 0.737, 0.699, 0.672, 0.655, 0.65, 0.656, 0.672,\n 0.699, 0.738, 0.787, 0.847 61.7%, 1 66.2%, 0.946, 0.908, 0.885 74.2%, 0.879,\n 0.878, 0.879, 0.885 79.5%, 0.908, 0.946, 1 87.4%, 0.981, 0.968, 0.96, 0.957,\n 0.96, 0.968, 0.981, 1\n )","easings.ease-bounce-4":"linear(\n 0, 0.004, 0.016 3%, 0.062, 0.141, 0.25, 0.391, 0.562 18.2%, 1 24.3%, 0.81,\n 0.676 32.3%, 0.629, 0.595, 0.575, 0.568, 0.575, 0.595, 0.629, 0.676 48.2%,\n 0.811, 1 56.2%, 0.918, 0.86, 0.825, 0.814, 0.825, 0.86, 0.918, 1 77.2%,\n 0.94 80.6%, 0.925, 0.92, 0.925, 0.94 87.5%, 1 90.9%, 0.974, 0.965, 0.974, 1\n )","easings.ease-bounce-5":"linear(\n 0, 0.004, 0.016 2.5%, 0.063, 0.141, 0.25 10.1%, 0.562, 1 20.2%, 0.783, 0.627,\n 0.534 30.9%, 0.511, 0.503, 0.511, 0.534 38%, 0.627, 0.782, 1 48.7%, 0.892,\n 0.815, 0.769 56.3%, 0.757, 0.753, 0.757, 0.769 61.3%, 0.815, 0.892, 1 68.8%,\n 0.908 72.4%, 0.885, 0.878, 0.885, 0.908 79.4%, 1 83%, 0.954 85.5%, 0.943,\n 0.939, 0.943, 0.954 90.5%, 1 93%, 0.977, 0.97, 0.977, 1\n )","easings.ease-spring-1":"linear(\n 0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%,\n 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%,\n 1.001\n )","easings.ease-spring-2":"linear(\n 0, 0.007, 0.029 2.2%, 0.118 4.7%, 0.625 14.4%, 0.826 19%, 0.902, 0.962,\n 1.008 26.1%, 1.041 28.7%, 1.064 32.1%, 1.07 36%, 1.061 40.5%, 1.015 53.4%,\n 0.999 61.6%, 0.995 71.2%, 1\n )","easings.ease-spring-3":"linear(\n 0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077,\n 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%,\n 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%,\n 0.997 69.8%, 1.003 76.9%, 1\n )","easings.ease-spring-4":"linear(\n 0, 0.009, 0.037 1.7%, 0.153 3.6%, 0.776 10.3%, 1.001, 1.142 16%, 1.185,\n 1.209 19%, 1.215 19.9% 20.8%, 1.199, 1.165 25%, 1.056 30.3%, 1.008 33%, 0.973,\n 0.955 39.2%, 0.953 41.1%, 0.957 43.3%, 0.998 53.3%, 1.009 59.1% 63.7%,\n 0.998 78.9%, 1\n )","easings.ease-spring-5":"linear(\n 0, 0.01, 0.04 1.6%, 0.161 3.3%, 0.816 9.4%, 1.046, 1.189 14.4%, 1.231,\n 1.254 17%, 1.259, 1.257 18.6%, 1.236, 1.194 22.3%, 1.057 27%, 0.999 29.4%,\n 0.955 32.1%, 0.942, 0.935 34.9%, 0.933, 0.939 38.4%, 1 47.3%, 1.011,\n 1.017 52.6%, 1.016 56.4%, 1 65.2%, 0.996 70.2%, 1.001 87.2%, 1\n )","easings.emphasized-in":"cubic-bezier(0.05, 0.7, 0.1, 1.0)","easings.emphasized-out":"cubic-bezier(0.3, 0.0, 0.8, 0.15)","easings.in":"cubic-bezier(0.4, 0, 1, 1)","easings.in-out":"cubic-bezier(0.4, 0, 0.2, 1)","easings.linear":"linear","easings.out":"cubic-bezier(0, 0, 0.2, 1)","easings.pulse":"cubic-bezier(0.4, 0.0, 0.6, 1.0)","fontSizes.body.lg":"1rem","fontSizes.body.md":"0.875rem","fontSizes.body.sm":"0.75rem","fontSizes.heading.desktop.2xl":"2.75rem","fontSizes.heading.desktop.lg":"2rem","fontSizes.heading.desktop.md":"1.75rem","fontSizes.heading.desktop.sm":"1.375rem","fontSizes.heading.desktop.xs":"1.125rem","fontSizes.heading.mobile.2xl":"2.375rem","fontSizes.heading.mobile.lg":"1.875rem","fontSizes.heading.mobile.md":"1.5rem","fontSizes.heading.mobile.sm":"1.375rem","fontSizes.heading.mobile.xs":"1.125rem","fontWeights.black":"900","fontWeights.bold":"700","fontWeights.extrabold":"800","fontWeights.extralight":"200","fontWeights.light":"300","fontWeights.medium":"500","fontWeights.normal":"400","fontWeights.semibold":"600","fontWeights.thin":"100","fonts.cabinet":"var(--font-cabinet)","fonts.mono":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace","fonts.sans":"ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"","fonts.satoshi":"var(--font-satoshi)","fonts.serif":"ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif","gradients.band.night":"linear-gradient(to left, var(--colors-primary-800), var(--colors-primary-900))","gradients.band.quality":"linear-gradient(180deg, #1B1038, #241546)","gradients.band.violet":"linear-gradient(to left, var(--colors-primary-700), var(--colors-primary-800))","letterSpacings.normal":"0em","letterSpacings.tight":"-0.025em","letterSpacings.tighter":"-0.05em","letterSpacings.wide":"0.025em","letterSpacings.wider":"0.05em","letterSpacings.widest":"0.1em","radii.full":"9999px","radii.radius-0":"0px","radii.radius-10":"10px","radii.radius-12":"12px","radii.radius-16":"16px","radii.radius-2":"2px","radii.radius-20":"20px","radii.radius-24":"24px","radii.radius-28":"28px","radii.radius-32":"32px","radii.radius-36":"36px","radii.radius-4":"4px","radii.radius-40":"40px","radii.radius-44":"44px","radii.radius-48":"48px","radii.radius-52":"52px","radii.radius-56":"56px","radii.radius-6":"6px","radii.radius-60":"60px","radii.radius-64":"64px","radii.radius-8":"8px","shadows.2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)","shadows.inner":"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)","shadows.lg":"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)","shadows.lift.bar":"0 -8px 24px -12px rgba(37, 34, 39, 0.25)","shadows.lift.form":"0 18px 40px -28px rgba(22, 2, 50, 0.45)","shadows.lift.mock":"0 24px 48px -24px rgba(37, 34, 39, 0.28), 0 8px 16px -8px rgba(37, 34, 39, 0.12)","shadows.lift.mockNight":"0 26px 54px -30px rgba(10, 2, 40, 0.85)","shadows.lift.soft":"0px 4px 16px rgba(112, 8, 250, 0.08)","shadows.lift.softHover":"0px 8px 24px rgba(112, 8, 250, 0.14)","shadows.md":"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)","shadows.sm":"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)","shadows.xl":"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","shadows.xs":"0 1px 2px 0 rgb(0 0 0 / 0.05)","sizes.breakpoint-lg":"1200px","sizes.breakpoint-md":"900px","sizes.breakpoint-sm":"600px","sizes.breakpoint-xl":"1536px","sizes.fit":"fit-content","sizes.full":"100%","sizes.max":"max-content","sizes.min":"min-content","sizes.size-0":"0px","sizes.size-12":"12px","sizes.size-14":"14px","sizes.size-16":"16px","sizes.size-18":"18px","sizes.size-2":"2px","sizes.size-20":"20px","sizes.size-24":"24px","sizes.size-28":"28px","sizes.size-32":"32px","sizes.size-36":"36px","sizes.size-4":"4px","sizes.size-40":"40px","sizes.size-44":"44px","sizes.size-48":"48px","sizes.size-52":"52px","sizes.size-56":"56px","sizes.size-6":"6px","sizes.size-60":"60px","sizes.size-64":"64px","sizes.size-68":"68px","sizes.size-72":"72px","sizes.size-76":"76px","sizes.size-8":"8px","sizes.size-80":"80px","spacing.-space-10":"calc(var(--spacing-space-10) * -1)","spacing.-space-12":"calc(var(--spacing-space-12) * -1)","spacing.-space-14":"calc(var(--spacing-space-14) * -1)","spacing.-space-16":"calc(var(--spacing-space-16) * -1)","spacing.-space-18":"calc(var(--spacing-space-18) * -1)","spacing.-space-2":"calc(var(--spacing-space-2) * -1)","spacing.-space-20":"calc(var(--spacing-space-20) * -1)","spacing.-space-24":"calc(var(--spacing-space-24) * -1)","spacing.-space-28":"calc(var(--spacing-space-28) * -1)","spacing.-space-32":"calc(var(--spacing-space-32) * -1)","spacing.-space-36":"calc(var(--spacing-space-36) * -1)","spacing.-space-4":"calc(var(--spacing-space-4) * -1)","spacing.-space-40":"calc(var(--spacing-space-40) * -1)","spacing.-space-44":"calc(var(--spacing-space-44) * -1)","spacing.-space-48":"calc(var(--spacing-space-48) * -1)","spacing.-space-52":"calc(var(--spacing-space-52) * -1)","spacing.-space-56":"calc(var(--spacing-space-56) * -1)","spacing.-space-6":"calc(var(--spacing-space-6) * -1)","spacing.-space-60":"calc(var(--spacing-space-60) * -1)","spacing.-space-64":"calc(var(--spacing-space-64) * -1)","spacing.-space-68":"calc(var(--spacing-space-68) * -1)","spacing.-space-72":"calc(var(--spacing-space-72) * -1)","spacing.-space-76":"calc(var(--spacing-space-76) * -1)","spacing.-space-8":"calc(var(--spacing-space-8) * -1)","spacing.-space-80":"calc(var(--spacing-space-80) * -1)","spacing.space-0":"0px","spacing.space-10":"10px","spacing.space-12":"12px","spacing.space-14":"14px","spacing.space-16":"16px","spacing.space-18":"18px","spacing.space-2":"2px","spacing.space-20":"20px","spacing.space-24":"24px","spacing.space-28":"28px","spacing.space-32":"32px","spacing.space-36":"36px","spacing.space-4":"4px","spacing.space-40":"40px","spacing.space-44":"44px","spacing.space-48":"48px","spacing.space-52":"52px","spacing.space-56":"56px","spacing.space-6":"6px","spacing.space-60":"60px","spacing.space-64":"64px","spacing.space-68":"68px","spacing.space-72":"72px","spacing.space-76":"76px","spacing.space-8":"8px","spacing.space-80":"80px","zIndex.banner":"1200","zIndex.base":"0","zIndex.docked":"10","zIndex.dropdown":"1000","zIndex.hide":"-1","zIndex.modal":"1400","zIndex.overlay":"1300","zIndex.popover":"1500","zIndex.skipLink":"1600","zIndex.sticky":"1100","zIndex.toast":"1700","zIndex.tooltip":"1800"}
4
+
5
+ const tokenVars = {"spacing.-space-10":"var(--spacing-space-10)","spacing.-space-12":"var(--spacing-space-12)","spacing.-space-14":"var(--spacing-space-14)","spacing.-space-16":"var(--spacing-space-16)","spacing.-space-18":"var(--spacing-space-18)","spacing.-space-2":"var(--spacing-space-2)","spacing.-space-20":"var(--spacing-space-20)","spacing.-space-24":"var(--spacing-space-24)","spacing.-space-28":"var(--spacing-space-28)","spacing.-space-32":"var(--spacing-space-32)","spacing.-space-36":"var(--spacing-space-36)","spacing.-space-4":"var(--spacing-space-4)","spacing.-space-40":"var(--spacing-space-40)","spacing.-space-44":"var(--spacing-space-44)","spacing.-space-48":"var(--spacing-space-48)","spacing.-space-52":"var(--spacing-space-52)","spacing.-space-56":"var(--spacing-space-56)","spacing.-space-6":"var(--spacing-space-6)","spacing.-space-60":"var(--spacing-space-60)","spacing.-space-64":"var(--spacing-space-64)","spacing.-space-68":"var(--spacing-space-68)","spacing.-space-72":"var(--spacing-space-72)","spacing.-space-76":"var(--spacing-space-76)","spacing.-space-8":"var(--spacing-space-8)","spacing.-space-80":"var(--spacing-space-80)"}
6
+ const resolveVar = (path) => tokenVars[path] || toCssVar(path)
7
+
8
+ export const token = /* @__PURE__ */ Object.assign(
9
+ function token(path, fallback) {
10
+ const value = tokens[path]
11
+ return value === undefined ? colorMix(tokens, path, resolveVar) || fallback : value || resolveVar(path)
12
+ },
13
+ {
14
+ var: function tokenVar(path, fallback) {
15
+ return tokens[path] === undefined ? fallback : resolveVar(path)
16
+ },
17
+ },
18
+ )
package/types/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
- /* eslint-disable */
2
- import './global.d.ts'
3
- export * from './conditions';
4
- export * from './pattern';
5
- export * from './recipe';
6
- export * from './system-types';
7
- export * from './jsx';
8
- export * from './style-props';
1
+ export * from './register.js';
2
+ export * from './tokens.js';
3
+ export * from './system.js';
4
+ export * from './pattern.js';
5
+ export * from './recipe.js';
6
+ export * from './jsx.js';
package/types/jsx.d.ts CHANGED
@@ -1,61 +1,70 @@
1
- /* eslint-disable */
2
- import type { ElementType, JSX, ComponentPropsWithRef, ComponentType, Component } from 'react'
3
- import type { RecipeDefinition, RecipeSelection, RecipeVariantRecord } from './recipe';
4
- import type { Assign, DistributiveOmit, DistributiveUnion, JsxHTMLProps, JsxStyleProps, Pretty } from './system-types';
1
+ import type { ElementType, JSX } from 'react';
2
+ import type { RecipeDefinition, RecipeSelection, RecipeVariantRecord } from './recipe.js';
3
+ import type { Assign, JsxHTMLProps, JsxStyleProps } from './system.js';
5
4
 
6
- interface Dict {
5
+ interface AnyProps {
7
6
  [k: string]: unknown
8
7
  }
9
8
 
10
9
  export type DataAttrs = Record<`data-${string}`, unknown>
11
10
 
12
11
  export interface UnstyledProps {
13
- /**
14
- * Whether to remove recipe styles
15
- */
16
12
  unstyled?: boolean | undefined
17
13
  }
18
14
 
19
15
  export interface AsProps {
20
- /**
21
- * The element to render as
22
- */
23
16
  as?: ElementType | undefined
24
17
  }
25
18
 
26
- export type ComponentProps<T extends ElementType> = T extends ComponentType<infer P> | Component<infer P>
27
- ? JSX.LibraryManagedAttributes<T, P>
28
- : ComponentPropsWithRef<T>
19
+ export type ComponentProps<T extends ElementType> = T extends keyof JSX.IntrinsicElements
20
+ ? JSX.IntrinsicElements[T]
21
+ : T extends { (props: infer Props): any }
22
+ ? Props
23
+ : T extends abstract new (props: infer Props) => any
24
+ ? Props
25
+ : {}
29
26
 
30
- export interface StyledComponent<T extends ElementType, P extends Dict = {}> {
31
- (props: JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, Assign<JsxStyleProps, P>>): JSX.Element
27
+ type BaseComponentProps<T extends ElementType> = ComponentProps<T> & UnstyledProps & AsProps
28
+
29
+ export type StyledComponentProps<T extends ElementType, P extends AnyProps = {}> = JsxHTMLProps<
30
+ BaseComponentProps<T>,
31
+ Assign<JsxStyleProps, P>
32
+ >
33
+
34
+ export interface StyledComponent<T extends ElementType, P extends AnyProps = {}> {
35
+ (props: StyledComponentProps<T, P>): JSX.Element
32
36
  displayName?: string | undefined
33
37
  }
34
38
 
35
- interface RecipeFn {
39
+ interface RuntimeRecipeFn {
36
40
  __type: any
37
41
  }
38
42
 
39
- export interface JsxFactoryOptions<TProps extends Dict> {
43
+ export interface JsxFactoryOptions<TProps extends AnyProps, F extends string = string> {
40
44
  dataAttr?: boolean
41
45
  defaultProps?: Partial<TProps> & DataAttrs
42
46
  shouldForwardProp?: (prop: string, variantKeys: string[]) => boolean
43
- forwardProps?: string[]
47
+ forwardProps?: readonly F[]
44
48
  }
45
49
 
46
- export type JsxRecipeProps<T extends ElementType, P extends Dict> = JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, P>;
50
+ // Filters the few forwarded keys; a nested conditional here hits TS2590 on components with many props.
51
+ type ForwardedStyleKeys<T extends ElementType, F extends string> = Extract<Extract<F, keyof JsxStyleProps>, keyof ComponentProps<T>>
52
+
53
+ /** Props `S`, with each forwarded prop that shares a style prop's name typed from the component. */
54
+ export type WithForwardedProps<S, T extends ElementType, F extends string> = [ForwardedStyleKeys<T, F>] extends [never]
55
+ ? S
56
+ : Assign<S, Pick<ComponentProps<T>, ForwardedStyleKeys<T, F>>>
57
+
58
+ export type JsxRecipeProps<T extends ElementType, P extends AnyProps> = JsxHTMLProps<BaseComponentProps<T>, Assign<JsxStyleProps, P>>
47
59
 
48
- export type JsxElement<T extends ElementType, P extends Dict> = T extends StyledComponent<infer A, infer B>
49
- ? StyledComponent<A, Pretty<DistributiveUnion<P, B>>>
60
+ export type JsxElement<T extends ElementType, P extends AnyProps> = T extends StyledComponent<infer A, infer B>
61
+ ? StyledComponent<A, Assign<B, P>>
50
62
  : StyledComponent<T, P>
51
63
 
52
64
  export interface JsxFactory {
53
65
  <T extends ElementType>(component: T): StyledComponent<T, {}>
54
- <T extends ElementType, P extends RecipeVariantRecord>(component: T, recipe: RecipeDefinition<P>, options?: JsxFactoryOptions<JsxRecipeProps<T, RecipeSelection<P>>>): JsxElement<
55
- T,
56
- RecipeSelection<P>
57
- >
58
- <T extends ElementType, P extends RecipeFn>(component: T, recipeFn: P, options?: JsxFactoryOptions<JsxRecipeProps<T, P['__type']>>): JsxElement<T, P['__type']>
66
+ <T extends ElementType, P extends RecipeVariantRecord = {}, F extends string = never>(component: T, recipe: RecipeDefinition<P>, options?: JsxFactoryOptions<JsxRecipeProps<T, RecipeSelection<P>>, F>): JsxElement<T, WithForwardedProps<RecipeSelection<P>, T, F>>
67
+ <T extends ElementType, P extends RuntimeRecipeFn, F extends string = never>(component: T, recipeFn: P, options?: JsxFactoryOptions<JsxRecipeProps<T, P["__type"]>, F>): JsxElement<T, WithForwardedProps<P["__type"], T, F>>
59
68
  }
60
69
 
61
70
  export type JsxElements = {
@@ -64,6 +73,6 @@ export type JsxElements = {
64
73
 
65
74
  export type Styled = JsxFactory & JsxElements
66
75
 
67
- export type HTMLStyledProps<T extends ElementType> = JsxHTMLProps<ComponentProps<T> & UnstyledProps & AsProps, JsxStyleProps>
76
+ export type HTMLStyledProps<T extends ElementType> = JsxHTMLProps<BaseComponentProps<T>, JsxStyleProps>
68
77
 
69
78
  export type StyledVariantProps<T extends StyledComponent<any, any>> = T extends StyledComponent<any, infer Props> ? Props : never
@@ -1,78 +1,26 @@
1
- /* eslint-disable */
2
- import type { CssProperty, SystemStyleObject } from './system-types';
3
- import type { TokenCategory } from '../tokens/index';
1
+ import type { ConditionalValue, SystemProperties, SystemStyleObject } from './system.js';
4
2
 
5
- type Primitive = string | number | boolean | null | undefined
6
- type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
3
+ export type PatternPrimitive = string | number | boolean
7
4
 
8
- export type PatternProperty =
9
- | { type: 'property'; value: CssProperty; description?: string }
10
- | { type: 'enum'; value: string[]; description?: string }
11
- | { type: 'token'; value: TokenCategory; property?: CssProperty; description?: string }
12
- | { type: 'string' | 'boolean' | 'number'; description?: string }
5
+ export type PatternPropertyValue<Property extends keyof SystemProperties> = SystemProperties[Property]
13
6
 
14
- export interface PatternHelpers {
15
- map: (value: any, fn: (value: string) => string | undefined) => any
16
- isCssUnit: (value: any) => boolean
17
- isCssVar: (value: any) => boolean
18
- isCssFunction: (value: any) => boolean
19
- }
7
+ export type PatternTokenValue<Value> = ConditionalValue<Value>
20
8
 
21
- export interface PatternProperties {
22
- [key: string]: PatternProperty
9
+ export interface PatternHelpers {
10
+ map(value: unknown, fn: (value: string) => string | undefined): unknown
11
+ isCssUnit(value: unknown): boolean
12
+ isCssVar(value: unknown): boolean
13
+ isCssFunction(value: unknown): boolean
23
14
  }
24
15
 
25
- type InferProps<T> = Record<LiteralUnion<keyof T>, any>
26
-
27
- export type PatternDefaultValue<T> = Partial<InferProps<T>>
28
-
29
- export type PatternDefaultValueFn<T> = (props: InferProps<T>) => PatternDefaultValue<T>
30
-
31
- export interface PatternConfig<T extends PatternProperties = PatternProperties> {
32
- /**
33
- * The description of the pattern. This will be used in the JSDoc comment.
34
- */
35
- description?: string
36
- /**
37
- * The JSX element rendered by the pattern
38
- * @default 'div'
39
- */
40
- jsxElement?: string
41
- /**
42
- * The properties of the pattern.
43
- */
44
- properties?: T
45
- /**
46
- * The default values of the pattern.
47
- */
48
- defaultValues?: PatternDefaultValue<T> | PatternDefaultValueFn<T>
49
- /**
50
- * The css object this pattern will generate.
51
- */
52
- transform?: (props: InferProps<T>, helpers: PatternHelpers) => SystemStyleObject
53
- /**
54
- * Whether the pattern is deprecated.
55
- */
56
- deprecated?: boolean | string
57
- /**
58
- * The jsx element name this pattern will generate.
59
- */
60
- jsxName?: string
61
- /**
62
- * The jsx elements to track for this pattern. Can be string or Regexp.
63
- *
64
- * @default capitalize(pattern.name)
65
- * @example ['Button', 'Link', /Button$/]
66
- */
67
- jsx?: Array<string | RegExp>
68
- /**
69
- * Whether to only generate types for the specified properties.
70
- * This will disallow css properties
71
- */
16
+ export interface PatternConfig<Props extends object = object> {
17
+ properties?: Props
18
+ defaultValues?: Partial<Props> | ((props: Props) => Partial<Props>)
19
+ transform?: (props: Props, helpers: PatternHelpers) => SystemStyleObject
72
20
  strict?: boolean
73
- /**
74
- * @experimental
75
- * Disallow certain css properties for this pattern
76
- */
77
- blocklist?: LiteralUnion<CssProperty>[]
21
+ blocklist?: Array<keyof SystemProperties>
78
22
  }
23
+
24
+ export interface PatternRuntimeConfig<Props extends object = object> extends PatternConfig<Props> {
25
+ transform: (props: Props, helpers: PatternHelpers) => SystemStyleObject
26
+ }
package/types/recipe.d.ts CHANGED
@@ -1,181 +1,89 @@
1
- /* eslint-disable */
2
- import type { RecipeRule } from './static-css';
3
- import type { SystemStyleObject, DistributiveOmit, Pretty } from './system-types';
1
+ import type { DistributiveOmit, Pretty, SystemStyleObject } from './system.js';
4
2
 
5
- type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T
3
+ export type RecipeVariantProps<T> = T extends (props?: infer Props) => unknown ? Props : never
6
4
 
7
- export type RecipeVariantRecord = Record<any, Record<any, SystemStyleObject>>
5
+ export type RecipeVariant<T> = Required<NonNullable<RecipeVariantProps<T>>>
8
6
 
9
- export type RecipeSelection<T extends RecipeVariantRecord> = keyof any extends keyof T
10
- ? {}
11
- : {
12
- [K in keyof T]?: StringToBoolean<keyof T[K]> | undefined
13
- }
14
-
15
- export type RecipeVariantFn<T extends RecipeVariantRecord> = (props?: RecipeSelection<T>) => string
16
-
17
- /**
18
- * Extract the variant as optional props from a `cva` function.
19
- * Intended to be used with a JSX component, prefer `RecipeVariant` for a more strict type.
20
- */
21
- export type RecipeVariantProps<
22
- T extends RecipeVariantFn<RecipeVariantRecord> | SlotRecipeVariantFn<string, SlotRecipeVariantRecord<string>>,
23
- > = Pretty<Parameters<T>[0]>
24
-
25
- /**
26
- * Extract the variants from a `cva` function.
27
- */
28
- export type RecipeVariant<
29
- T extends RecipeVariantFn<RecipeVariantRecord> | SlotRecipeVariantFn<string, SlotRecipeVariantRecord<string>>,
30
- > = Exclude<Pretty<Required<RecipeVariantProps<T>>>, undefined>
7
+ export type RecipeVariantMap<Variant extends object> = {
8
+ [K in keyof Variant]-?: Array<Exclude<Variant[K], undefined>>
9
+ }
31
10
 
32
- type RecipeVariantMap<T extends RecipeVariantRecord> = {
11
+ export type RecipeConfigVariantMap<T> = {
33
12
  [K in keyof T]: Array<keyof T[K]>
34
13
  }
35
14
 
36
- /* -----------------------------------------------------------------------------
37
- * Recipe / Standard
38
- * -----------------------------------------------------------------------------*/
39
-
40
- export interface RecipeRuntimeFn<T extends RecipeVariantRecord> extends RecipeVariantFn<T> {
41
- __type: RecipeSelection<T>
42
- variantKeys: (keyof T)[]
43
- variantMap: RecipeVariantMap<T>
44
- raw: (props?: RecipeSelection<T>) => SystemStyleObject
45
- config: RecipeConfig<T>
46
- splitVariantProps<Props extends RecipeSelection<T>>(
47
- props: Props,
48
- ): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
49
- getVariantProps: (props?: RecipeSelection<T>) => RecipeSelection<T>
15
+ export interface RecipeRuntimeFn<Props extends object = object, Map extends object = object, Raw = SystemStyleObject> {
16
+ (props?: Props): string
17
+ __type: Props
18
+ variantMap: Map
19
+ variantKeys: Array<keyof Props>
20
+ raw: (props?: Props) => Raw
21
+ splitVariantProps<T extends Props & Record<string, any>>(props: T): [Props, Pretty<DistributiveOmit<T, keyof Props>>]
22
+ getVariantProps: (props?: Props) => Props
23
+ merge(recipe: RecipeRuntimeFn): RecipeRuntimeFn
50
24
  }
51
25
 
52
- type OneOrMore<T> = T | Array<T>
26
+ export type ConfigRecipeRuntimeFn<Props extends object = object, Map extends object = object> = RecipeRuntimeFn<Props, Map, Props>
53
27
 
54
- export type RecipeCompoundSelection<T> = {
55
- [K in keyof T]?: OneOrMore<StringToBoolean<keyof T[K]>> | undefined
28
+ export type SlotRecord<Slot extends string, Value> = Partial<Record<Slot, Value>>
29
+
30
+ export interface SlotRecipeRuntimeFn<Slot extends string, Props extends object = object, Map extends object = object, Raw = Record<Slot, SystemStyleObject>> {
31
+ (props?: Props): Record<Slot, string>
32
+ __type: Props
33
+ __slot: Slot
34
+ variantMap: Map
35
+ variantKeys: Array<keyof Props>
36
+ raw: (props?: Props) => Raw
37
+ splitVariantProps<T extends Props & Record<string, any>>(props: T): [Props, Pretty<DistributiveOmit<T, keyof Props>>]
38
+ getVariantProps: (props?: Props) => Props
56
39
  }
57
40
 
58
- export type RecipeCompoundVariant<T> = T & {
59
- css: SystemStyleObject
41
+ export type ConfigSlotRecipeRuntimeFn<Slot extends string, Props extends object = object, Map extends object = object> = SlotRecipeRuntimeFn<Slot, Props, Map, Props>
42
+
43
+ export type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T
44
+
45
+ export type RecipeVariantRecord = Record<string, Record<string, SystemStyleObject>>
46
+
47
+ export type RecipeSelection<T extends RecipeVariantRecord> = string extends keyof T
48
+ ? {}
49
+ : {
50
+ [K in keyof T]?: StringToBoolean<keyof T[K]> | undefined
51
+ }
52
+
53
+ export type RecipeCompoundSelection<T> = {
54
+ [K in keyof T]?: StringToBoolean<keyof T[K]> | Array<StringToBoolean<keyof T[K]>> | undefined
60
55
  }
61
56
 
62
57
  export interface RecipeDefinition<T extends RecipeVariantRecord = RecipeVariantRecord> {
63
- /**
64
- * The base styles of the recipe.
65
- */
66
58
  base?: SystemStyleObject
67
- /**
68
- * Whether the recipe is deprecated.
69
- */
70
- deprecated?: boolean | string
71
- /**
72
- * The multi-variant styles of the recipe.
73
- */
74
59
  variants?: T
75
- /**
76
- * The default variants of the recipe.
77
- */
78
60
  defaultVariants?: RecipeSelection<T>
79
- /**
80
- * The styles to apply when a combination of variants is selected.
81
- */
82
- compoundVariants?: Pretty<RecipeCompoundVariant<RecipeCompoundSelection<T>>>[]
61
+ compoundVariants?: Array<RecipeCompoundSelection<T> & { css: SystemStyleObject }>
83
62
  }
84
63
 
85
- export type RecipeCreatorFn = <T extends RecipeVariantRecord>(config: RecipeDefinition<T>) => RecipeRuntimeFn<T>
86
-
87
- interface RecipeConfigMeta {
88
- /**
89
- * The class name of the recipe.
90
- */
91
- className: string
92
- /**
93
- * The description of the recipe. This will be used in the JSDoc comment.
94
- */
95
- description?: string
96
- /**
97
- * The jsx elements to track for this recipe. Can be string or Regexp.
98
- *
99
- * @default capitalize(recipe.name)
100
- * @example ['Button', 'Link', /Button$/]
101
- */
102
- jsx?: Array<string | RegExp>
103
- /**
104
- * Variants to pre-generate, will be include in the final `config.staticCss`
105
- */
106
- staticCss?: RecipeRule[]
64
+ export interface RecipeCreatorFn {
65
+ <T extends RecipeVariantRecord>(config: RecipeDefinition<T>): CvaRuntimeFn<T>
107
66
  }
108
67
 
109
- export interface RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord>
110
- extends RecipeDefinition<T>,
111
- RecipeConfigMeta {}
112
-
113
- /* -----------------------------------------------------------------------------
114
- * Recipe / Slot
115
- * -----------------------------------------------------------------------------*/
116
-
117
- type SlotRecord<S extends string, T> = Partial<Record<S, T>>
118
-
119
- export type SlotRecipeVariantRecord<S extends string> = Record<any, Record<any, SlotRecord<S, SystemStyleObject>>>
120
-
121
- export type SlotRecipeVariantFn<S extends string, T extends RecipeVariantRecord> = (
122
- props?: RecipeSelection<T>,
123
- ) => SlotRecord<S, string>
124
-
125
- export interface SlotRecipeRuntimeFn<S extends string, T extends SlotRecipeVariantRecord<S>>
126
- extends SlotRecipeVariantFn<S, T> {
127
- raw: (props?: RecipeSelection<T>) => Record<S, SystemStyleObject>
128
- variantKeys: (keyof T)[]
129
- variantMap: RecipeVariantMap<T>
130
- splitVariantProps<Props extends RecipeSelection<T>>(
131
- props: Props,
132
- ): [RecipeSelection<T>, Pretty<DistributiveOmit<Props, keyof T>>]
133
- getVariantProps: (props?: RecipeSelection<T>) => RecipeSelection<T>
68
+ export interface CvaRuntimeFn<T extends RecipeVariantRecord> extends RecipeRuntimeFn<RecipeSelection<T>, RecipeConfigVariantMap<T>> {
69
+ config: RecipeDefinition<T>
134
70
  }
135
71
 
136
- export type SlotRecipeCompoundVariant<S extends string, T> = T & {
137
- css: SlotRecord<S, SystemStyleObject>
138
- }
72
+ export type SlotRecipeVariantRecord<Slot extends string> = Record<string, Record<string, SlotRecord<Slot, SystemStyleObject>>>
139
73
 
140
- export interface SlotRecipeDefinition<
141
- S extends string = string,
142
- T extends SlotRecipeVariantRecord<S> = SlotRecipeVariantRecord<S>,
143
- > {
144
- /**
145
- * An optional class name that can be used to target slots in the DOM.
146
- */
74
+ export interface SlotRecipeDefinition<Slot extends string = string, T extends SlotRecipeVariantRecord<Slot> = SlotRecipeVariantRecord<Slot>> {
147
75
  className?: string
148
- /**
149
- * Whether the recipe is deprecated.
150
- */
151
- deprecated?: boolean | string
152
- /**
153
- * The parts/slots of the recipe.
154
- */
155
- slots: S[] | Readonly<S[]>
156
- /**
157
- * The base styles of the recipe.
158
- */
159
- base?: SlotRecord<S, SystemStyleObject>
160
- /**
161
- * The multi-variant styles of the recipe.
162
- */
76
+ slots: readonly Slot[]
77
+ base?: SlotRecord<Slot, SystemStyleObject>
163
78
  variants?: T
164
- /**
165
- * The default variants of the recipe.
166
- */
167
79
  defaultVariants?: RecipeSelection<T>
168
- /**
169
- * The styles to apply when a combination of variants is selected.
170
- */
171
- compoundVariants?: Pretty<SlotRecipeCompoundVariant<S, RecipeCompoundSelection<T>>>[]
80
+ compoundVariants?: Array<RecipeCompoundSelection<T> & { css: SlotRecord<Slot, SystemStyleObject> }>
172
81
  }
173
82
 
174
- export type SlotRecipeCreatorFn = <S extends string, T extends SlotRecipeVariantRecord<S>>(
175
- config: SlotRecipeDefinition<S, T>,
176
- ) => SlotRecipeRuntimeFn<S, T>
83
+ export interface SlotRecipeCreatorFn {
84
+ <Slot extends string, T extends SlotRecipeVariantRecord<Slot>>(config: SlotRecipeDefinition<Slot, T>): SvaRuntimeFn<Slot, T>
85
+ }
177
86
 
178
- export type SlotRecipeConfig<
179
- S extends string = string,
180
- T extends SlotRecipeVariantRecord<S> = SlotRecipeVariantRecord<S>,
181
- > = SlotRecipeDefinition<S, T> & RecipeConfigMeta
87
+ export interface SvaRuntimeFn<Slot extends string, T extends SlotRecipeVariantRecord<Slot>> extends SlotRecipeRuntimeFn<Slot, RecipeSelection<T>, RecipeConfigVariantMap<T>> {
88
+ config: SlotRecipeDefinition<Slot, T>
89
+ }
@@ -0,0 +1,40 @@
1
+ import type { Conditions, Breakpoints, ContainerName, SystemProperties } from './system.js';
2
+ import type { Tokens, Token, ColorOpacityModifier, ColorOpacityToken, ColorPalette, AnimationToken, AspectRatioToken, BlurToken, BorderToken, BreakpointToken, ColorToken, DurationToken, EasingToken, FontSizeToken, FontWeightToken, FontToken, GradientToken, LetterSpacingToken, RadiusToken, ShadowToken, SizeToken, SpacingToken, ZIndexToken } from './tokens.js';
3
+
4
+ export interface Register {}
5
+
6
+ export type Registered<K extends PropertyKey, Local> = Register extends { system: infer System }
7
+ ? K extends keyof System
8
+ ? System[K]
9
+ : Local
10
+ : Local
11
+
12
+ export interface PandaSystem {
13
+ Conditions: Conditions
14
+ Breakpoints: Breakpoints
15
+ ContainerName: ContainerName
16
+ SystemProperties: SystemProperties
17
+ Tokens: Tokens
18
+ Token: Token
19
+ ColorOpacityModifier: ColorOpacityModifier
20
+ ColorOpacityToken: ColorOpacityToken
21
+ ColorPalette: ColorPalette
22
+ AnimationToken: AnimationToken
23
+ AspectRatioToken: AspectRatioToken
24
+ BlurToken: BlurToken
25
+ BorderToken: BorderToken
26
+ BreakpointToken: BreakpointToken
27
+ ColorToken: ColorToken
28
+ DurationToken: DurationToken
29
+ EasingToken: EasingToken
30
+ FontSizeToken: FontSizeToken
31
+ FontWeightToken: FontWeightToken
32
+ FontToken: FontToken
33
+ GradientToken: GradientToken
34
+ LetterSpacingToken: LetterSpacingToken
35
+ RadiusToken: RadiusToken
36
+ ShadowToken: ShadowToken
37
+ SizeToken: SizeToken
38
+ SpacingToken: SpacingToken
39
+ ZIndexToken: ZIndexToken
40
+ }