@webflare/ui 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +234 -2
  3. package/dist/AccordionRoot-CNPxdTtA.cjs +182 -0
  4. package/dist/AccordionRoot-CmK-jaZz.js +178 -0
  5. package/dist/AlertRoot-B-M0xDFC.js +274 -0
  6. package/dist/AlertRoot-DRRwRAhA.cjs +278 -0
  7. package/dist/BadgeRoot-CzUSTR0W.cjs +136 -0
  8. package/dist/BadgeRoot-ffbcCd5B.js +132 -0
  9. package/dist/Button-A9BiKfSl.js +240 -0
  10. package/dist/Button-CwVAoJjO.cjs +244 -0
  11. package/dist/CardBody-BEbTLrA2.cjs +21 -0
  12. package/dist/CardBody-DbSW-Ssx.js +16 -0
  13. package/dist/CardHeader-Cx1pE9No.cjs +36 -0
  14. package/dist/CardHeader-DDRGpYth.js +31 -0
  15. package/dist/CardRoot-CZpgncJQ.cjs +49 -0
  16. package/dist/CardRoot-ia9NDth1.js +44 -0
  17. package/dist/CarouselItem-CJ9Kj2lU.cjs +21 -0
  18. package/dist/CarouselItem-Crs28MA9.js +16 -0
  19. package/dist/CarouselNavigation-BUZyy5GA.cjs +53 -0
  20. package/dist/CarouselNavigation-aM0v6IoI.js +48 -0
  21. package/dist/CarouselRoot-Co9IuVve.cjs +45 -0
  22. package/dist/CarouselRoot-DlGJZCox.js +40 -0
  23. package/dist/ControlSwitch-C-pzHgWm.cjs +188 -0
  24. package/dist/ControlSwitch-C0Rj6fSW.js +184 -0
  25. package/dist/DialogRoot-BiH9G8Jm.js +170 -0
  26. package/dist/DialogRoot-C6icP9Fb.cjs +174 -0
  27. package/dist/FieldBase-BwD6Dput.js +42 -0
  28. package/dist/FieldBase-X1FWOqPU.cjs +47 -0
  29. package/dist/FieldCheckbox-CYuyWgbl.cjs +139 -0
  30. package/dist/FieldCheckbox-DsQsNeX7.js +134 -0
  31. package/dist/FieldError-BPjk-uZc.js +36 -0
  32. package/dist/FieldError-XRz98TFe.cjs +41 -0
  33. package/dist/FieldFooter-05GxwrFg.cjs +29 -0
  34. package/dist/FieldFooter-CE598o7n.js +24 -0
  35. package/dist/FieldInput-bnC_fTws.cjs +155 -0
  36. package/dist/FieldInput-h3MgGC6J.js +150 -0
  37. package/dist/FieldLabel-BYlOJvXY.js +37 -0
  38. package/dist/FieldLabel-DBKhMbql.cjs +42 -0
  39. package/dist/FieldMessage-C83iNsEp.cjs +40 -0
  40. package/dist/FieldMessage-GyO_RQdK.js +35 -0
  41. package/dist/FieldRadioGroup-CLWFr3aL.cjs +158 -0
  42. package/dist/FieldRadioGroup-CmQ5JOjv.js +153 -0
  43. package/dist/FieldRequired-7fJtYCdt.js +16 -0
  44. package/dist/FieldRequired-CJtyr3cL.cjs +21 -0
  45. package/dist/FieldSelect-D6X_BwTS.js +239 -0
  46. package/dist/FieldSelect-DVcgCsHL.cjs +243 -0
  47. package/dist/FieldSwitch-C7VMSMoE.cjs +71 -0
  48. package/dist/FieldSwitch-DqagDsKK.js +66 -0
  49. package/dist/FieldTextarea-DBufxMQf.cjs +148 -0
  50. package/dist/FieldTextarea-_BtGkI0v.js +143 -0
  51. package/dist/FieldUrl-CcIOyPSl.js +387 -0
  52. package/dist/FieldUrl-DNnXDfBR.cjs +391 -0
  53. package/dist/FlyoutDropdown-Bw3pD8Tk.cjs +90 -0
  54. package/dist/FlyoutDropdown-ByXW9lqH.js +74 -0
  55. package/dist/FlyoutRoot-CuXnqpf8.js +110 -0
  56. package/dist/FlyoutRoot-DUoOHEoX.cjs +115 -0
  57. package/dist/FormPrompt-BDAVKk5i.cjs +63 -0
  58. package/dist/FormPrompt-BuS1lg-K.js +58 -0
  59. package/dist/FormPromptFooter-BhwWsaib.cjs +21 -0
  60. package/dist/FormPromptFooter-BrUOs40t.js +16 -0
  61. package/dist/HeroLead-BU-74-fX.js +151 -0
  62. package/dist/HeroLead-D52JBlM2.cjs +155 -0
  63. package/dist/ListItem-1sYxrNuv.cjs +164 -0
  64. package/dist/ListItem-rD49tsLw.js +148 -0
  65. package/dist/ListRoot-BRrC79y6.cjs +42 -0
  66. package/dist/ListRoot-CP7smMl_.js +37 -0
  67. package/dist/Loader-CMEggjED.cjs +121 -0
  68. package/dist/Loader-DSLPdX6P.js +116 -0
  69. package/dist/PricingCardBadge-DoHnRqTM.cjs +25 -0
  70. package/dist/PricingCardBadge-lh3Oq5fB.js +20 -0
  71. package/dist/PricingCardBody--EB7FzUU.cjs +60 -0
  72. package/dist/PricingCardBody-Dai1zKDL.js +49 -0
  73. package/dist/PricingCardHeader-DCEG6BUA.js +39 -0
  74. package/dist/PricingCardHeader-yebSjw8M.cjs +44 -0
  75. package/dist/PricingCardPricing-DvdbyMEh.cjs +30 -0
  76. package/dist/PricingCardPricing-Vbs2D8Fm.js +25 -0
  77. package/dist/PricingCardRoot-B9ztC1u9.cjs +46 -0
  78. package/dist/PricingCardRoot-Dagig8jr.js +41 -0
  79. package/dist/ProgressRoot-BV_wQKYv.js +251 -0
  80. package/dist/ProgressRoot-CWWNmB99.cjs +255 -0
  81. package/dist/SwitchRoot-CcipiBzA.cjs +61 -0
  82. package/dist/SwitchRoot-DGFu9ZWR.js +56 -0
  83. package/dist/TabItem--4wiBton.cjs +114 -0
  84. package/dist/TabItem-BTIrtLtp.js +104 -0
  85. package/dist/TabRoot-BNp4_dI_.cjs +77 -0
  86. package/dist/TabRoot-DDDJe5FC.js +72 -0
  87. package/dist/carousel-BrCOR927.cjs +144 -0
  88. package/dist/carousel-CBw9xA_6.js +139 -0
  89. package/dist/choiceStyles-DIVBtoZF.cjs +175 -0
  90. package/dist/choiceStyles-DRjL1Y2d.js +164 -0
  91. package/dist/components/Accordion/AccordionRoot.vue.d.ts +31 -0
  92. package/dist/components/Accordion/index.d.ts +59 -0
  93. package/dist/components/Accordion/styles.d.ts +67 -0
  94. package/dist/components/Accordion/types.d.ts +15 -0
  95. package/dist/components/Alert/AlertRoot.vue.d.ts +38 -0
  96. package/dist/components/Alert/index.d.ts +54 -0
  97. package/dist/components/Alert/styles.d.ts +132 -0
  98. package/dist/components/Alert/types.d.ts +6 -0
  99. package/dist/components/Badge/BadgeRoot.vue.d.ts +26 -0
  100. package/dist/components/Badge/index.d.ts +49 -0
  101. package/dist/components/Badge/styles.d.ts +94 -0
  102. package/dist/components/Button/Button.vue.d.ts +26 -0
  103. package/dist/components/Button/index.d.ts +4 -0
  104. package/dist/components/Button/styles.d.ts +140 -0
  105. package/dist/components/Card/CardBody.vue.d.ts +17 -0
  106. package/dist/components/Card/CardHeader.vue.d.ts +25 -0
  107. package/dist/components/Card/CardRoot.vue.d.ts +39 -0
  108. package/dist/components/Card/index.d.ts +98 -0
  109. package/dist/components/Card/styles.d.ts +169 -0
  110. package/dist/components/Card/types.d.ts +8 -0
  111. package/dist/components/Carousel/CarouselItem.vue.d.ts +17 -0
  112. package/dist/components/Carousel/CarouselNavigation.vue.d.ts +30 -0
  113. package/dist/components/Carousel/CarouselRoot.vue.d.ts +30 -0
  114. package/dist/components/Carousel/index.d.ts +117 -0
  115. package/dist/components/Carousel/styles.d.ts +1 -0
  116. package/dist/components/Carousel/types.d.ts +11 -0
  117. package/dist/components/Dialog/DialogRoot.vue.d.ts +39 -0
  118. package/dist/components/Dialog/index.d.ts +68 -0
  119. package/dist/components/Dialog/styles.d.ts +1 -0
  120. package/dist/components/Field/FieldBase.vue.d.ts +22 -0
  121. package/dist/components/Field/FieldCheckbox.vue.d.ts +15 -0
  122. package/dist/components/Field/FieldError.vue.d.ts +10 -0
  123. package/dist/components/Field/FieldFooter.vue.d.ts +3 -0
  124. package/dist/components/Field/FieldInput.vue.d.ts +21 -0
  125. package/dist/components/Field/FieldLabel.vue.d.ts +13 -0
  126. package/dist/components/Field/FieldMessage.vue.d.ts +10 -0
  127. package/dist/components/Field/FieldRadioGroup.vue.d.ts +19 -0
  128. package/dist/components/Field/FieldRequired.vue.d.ts +3 -0
  129. package/dist/components/Field/FieldSelect.vue.d.ts +20 -0
  130. package/dist/components/Field/FieldSwitch.vue.d.ts +18 -0
  131. package/dist/components/Field/FieldTextarea.vue.d.ts +19 -0
  132. package/dist/components/Field/FieldUrl.vue.d.ts +24 -0
  133. package/dist/components/Field/index.d.ts +220 -0
  134. package/dist/components/Field/styles.d.ts +20 -0
  135. package/dist/components/Field/types.d.ts +17 -0
  136. package/dist/components/Flyout/FlyoutDropdown.vue.d.ts +19 -0
  137. package/dist/components/Flyout/FlyoutRoot.vue.d.ts +43 -0
  138. package/dist/components/Flyout/index.d.ts +74 -0
  139. package/dist/components/Flyout/styles.d.ts +1 -0
  140. package/dist/components/Flyout/types.d.ts +10 -0
  141. package/dist/components/Form/FormPrompt.vue.d.ts +43 -0
  142. package/dist/components/Form/FormPromptFooter.vue.d.ts +20 -0
  143. package/dist/components/Form/index.d.ts +72 -0
  144. package/dist/components/Form/styles.d.ts +1 -0
  145. package/dist/components/Hero/HeroLead.vue.d.ts +39 -0
  146. package/dist/components/Hero/index.d.ts +49 -0
  147. package/dist/components/Hero/styles.d.ts +111 -0
  148. package/dist/components/List/ListItem.vue.d.ts +24 -0
  149. package/dist/components/List/ListRoot.vue.d.ts +26 -0
  150. package/dist/components/List/index.d.ts +74 -0
  151. package/dist/components/List/styles.d.ts +90 -0
  152. package/dist/components/List/types.d.ts +12 -0
  153. package/dist/components/Loader/Loader.vue.d.ts +14 -0
  154. package/dist/components/Loader/index.d.ts +4 -0
  155. package/dist/components/Loader/styles.d.ts +62 -0
  156. package/dist/components/PricingCard/PricingCardBadge.vue.d.ts +20 -0
  157. package/dist/components/PricingCard/PricingCardBody.vue.d.ts +20 -0
  158. package/dist/components/PricingCard/PricingCardHeader.vue.d.ts +28 -0
  159. package/dist/components/PricingCard/PricingCardPricing.vue.d.ts +22 -0
  160. package/dist/components/PricingCard/PricingCardRoot.vue.d.ts +27 -0
  161. package/dist/components/PricingCard/index.d.ts +138 -0
  162. package/dist/components/PricingCard/styles.d.ts +10 -0
  163. package/dist/components/PricingCard/types.d.ts +21 -0
  164. package/dist/components/Progress/ProgressRoot.vue.d.ts +41 -0
  165. package/dist/components/Progress/index.d.ts +81 -0
  166. package/dist/components/Progress/styles.d.ts +560 -0
  167. package/dist/components/Progress/types.d.ts +4 -0
  168. package/dist/components/Switch/SwitchRoot.vue.d.ts +25 -0
  169. package/dist/components/Switch/index.d.ts +35 -0
  170. package/dist/components/Switch/types.d.ts +2 -0
  171. package/dist/components/Tab/TabItem.vue.d.ts +19 -0
  172. package/dist/components/Tab/TabRoot.vue.d.ts +32 -0
  173. package/dist/components/Tab/index.d.ts +97 -0
  174. package/dist/components/Tab/styles.d.ts +1 -0
  175. package/dist/components/Tab/types.d.ts +14 -0
  176. package/dist/composables/carousel.d.ts +29 -0
  177. package/dist/composables/flyout.d.ts +30 -0
  178. package/dist/composables/form.d.ts +18 -0
  179. package/dist/composables/injection-key.d.ts +2 -0
  180. package/dist/context-Bk4uIMQS.js +4 -0
  181. package/dist/context-cK3z69qT.cjs +8 -0
  182. package/dist/controlStyles-Bf6fx2rL.js +92 -0
  183. package/dist/controlStyles-CClWH9EG.cjs +96 -0
  184. package/dist/css-BRRSQx3P.cjs +21 -0
  185. package/dist/css-DWYlz0rn.js +16 -0
  186. package/dist/flyout-BaVoXePQ.cjs +67 -0
  187. package/dist/flyout-QHh1jKmV.js +62 -0
  188. package/dist/form-BtxAsfYs.cjs +34 -0
  189. package/dist/form-CB12X8xv.js +29 -0
  190. package/dist/index.cjs +233 -0
  191. package/dist/index.d.ts +41 -0
  192. package/dist/index.js +168 -0
  193. package/dist/injection-key-BQYV9vIr.js +5 -0
  194. package/dist/injection-key-DPb_AXnh.cjs +10 -0
  195. package/dist/internal/controls/ControlCheckbox.vue.d.ts +23 -0
  196. package/dist/internal/controls/ControlInput.vue.d.ts +28 -0
  197. package/dist/internal/controls/ControlRadioGroup.vue.d.ts +24 -0
  198. package/dist/internal/controls/ControlSelect.vue.d.ts +27 -0
  199. package/dist/internal/controls/ControlSwitch.vue.d.ts +25 -0
  200. package/dist/internal/controls/ControlTextarea.vue.d.ts +27 -0
  201. package/dist/internal/controls/ControlUrl.vue.d.ts +31 -0
  202. package/dist/internal/controls/choiceStyles.d.ts +64 -0
  203. package/dist/internal/controls/context.d.ts +10 -0
  204. package/dist/internal/controls/controlStyles.d.ts +54 -0
  205. package/dist/internal/controls/index.d.ts +14 -0
  206. package/dist/internal/controls/selectStyles.d.ts +2 -0
  207. package/dist/internal/controls/switchStyles.d.ts +46 -0
  208. package/dist/internal/controls/types.d.ts +10 -0
  209. package/dist/internal/controls/urlStyles.d.ts +84 -0
  210. package/dist/internal/controls/urlUtils.d.ts +14 -0
  211. package/dist/internal/controls/useFieldControl.d.ts +17 -0
  212. package/dist/internal/css.d.ts +24 -0
  213. package/dist/nuxt/module.d.mts +21 -0
  214. package/dist/nuxt/module.json +9 -0
  215. package/dist/nuxt/module.mjs +126 -0
  216. package/dist/nuxt/types.d.mts +3 -0
  217. package/dist/nuxt-entries.json +49 -0
  218. package/dist/panda/buildinfo.json +5432 -0
  219. package/dist/panda/lib.json +18 -0
  220. package/dist/panda/preset.mjs +4092 -0
  221. package/dist/plugin.d.ts +3 -0
  222. package/dist/preset/index.cjs +692 -0
  223. package/dist/preset/index.d.cts +18 -0
  224. package/dist/preset/index.d.ts +18 -0
  225. package/dist/preset/index.js +656 -0
  226. package/dist/style.css +153 -0
  227. package/dist/styled-system/css/conditions.d.ts +7 -0
  228. package/dist/styled-system/css/conditions.js +32 -0
  229. package/dist/styled-system/css/css.d.ts +22 -0
  230. package/dist/styled-system/css/css.js +63 -0
  231. package/dist/styled-system/css/cva.d.ts +5 -0
  232. package/dist/styled-system/css/cva.js +51 -0
  233. package/dist/styled-system/css/cx.d.ts +6 -0
  234. package/dist/styled-system/css/cx.js +16 -0
  235. package/dist/styled-system/css/first-that-works.d.ts +22 -0
  236. package/dist/styled-system/css/first-that-works.js +1 -0
  237. package/dist/styled-system/css/index.d.ts +8 -0
  238. package/dist/styled-system/css/index.js +8 -0
  239. package/dist/styled-system/css/keyframes.d.ts +5 -0
  240. package/dist/styled-system/css/keyframes.js +8 -0
  241. package/dist/styled-system/css/position-try.d.ts +5 -0
  242. package/dist/styled-system/css/position-try.js +11 -0
  243. package/dist/styled-system/css/sva.d.ts +3 -0
  244. package/dist/styled-system/css/sva.js +49 -0
  245. package/dist/styled-system/css/view-transition.d.ts +7 -0
  246. package/dist/styled-system/css/view-transition.js +18 -0
  247. package/dist/styled-system/helpers.d.ts +67 -0
  248. package/dist/styled-system/helpers.js +624 -0
  249. package/dist/styled-system/patterns/aspect-ratio.d.ts +19 -0
  250. package/dist/styled-system/patterns/aspect-ratio.js +37 -0
  251. package/dist/styled-system/patterns/bleed.d.ts +20 -0
  252. package/dist/styled-system/patterns/bleed.js +30 -0
  253. package/dist/styled-system/patterns/box.d.ts +17 -0
  254. package/dist/styled-system/patterns/box.js +16 -0
  255. package/dist/styled-system/patterns/center.d.ts +19 -0
  256. package/dist/styled-system/patterns/center.js +22 -0
  257. package/dist/styled-system/patterns/circle.d.ts +19 -0
  258. package/dist/styled-system/patterns/circle.js +26 -0
  259. package/dist/styled-system/patterns/container.d.ts +17 -0
  260. package/dist/styled-system/patterns/container.js +37 -0
  261. package/dist/styled-system/patterns/cq.d.ts +21 -0
  262. package/dist/styled-system/patterns/cq.js +24 -0
  263. package/dist/styled-system/patterns/divider.d.ts +22 -0
  264. package/dist/styled-system/patterns/divider.js +31 -0
  265. package/dist/styled-system/patterns/flex.d.ts +25 -0
  266. package/dist/styled-system/patterns/flex.js +27 -0
  267. package/dist/styled-system/patterns/float.d.ts +23 -0
  268. package/dist/styled-system/patterns/float.js +78 -0
  269. package/dist/styled-system/patterns/grid-item.d.ts +24 -0
  270. package/dist/styled-system/patterns/grid-item.js +26 -0
  271. package/dist/styled-system/patterns/grid.d.ts +24 -0
  272. package/dist/styled-system/patterns/grid.js +30 -0
  273. package/dist/styled-system/patterns/hstack.d.ts +20 -0
  274. package/dist/styled-system/patterns/hstack.js +27 -0
  275. package/dist/styled-system/patterns/index.d.ts +20 -0
  276. package/dist/styled-system/patterns/index.js +20 -0
  277. package/dist/styled-system/patterns/link-overlay.d.ts +17 -0
  278. package/dist/styled-system/patterns/link-overlay.js +25 -0
  279. package/dist/styled-system/patterns/runtime.js +25 -0
  280. package/dist/styled-system/patterns/spacer.d.ts +20 -0
  281. package/dist/styled-system/patterns/spacer.js +25 -0
  282. package/dist/styled-system/patterns/square.d.ts +19 -0
  283. package/dist/styled-system/patterns/square.js +25 -0
  284. package/dist/styled-system/patterns/stack.d.ts +22 -0
  285. package/dist/styled-system/patterns/stack.js +30 -0
  286. package/dist/styled-system/patterns/visually-hidden.d.ts +17 -0
  287. package/dist/styled-system/patterns/visually-hidden.js +19 -0
  288. package/dist/styled-system/patterns/vstack.d.ts +20 -0
  289. package/dist/styled-system/patterns/vstack.js +27 -0
  290. package/dist/styled-system/patterns/wrap.d.ts +23 -0
  291. package/dist/styled-system/patterns/wrap.js +26 -0
  292. package/dist/styled-system/recipes/runtime.js +133 -0
  293. package/dist/styled-system/tokens/index.d.ts +8 -0
  294. package/dist/styled-system/tokens/index.js +18 -0
  295. package/dist/styled-system/types/index.d.ts +5 -0
  296. package/dist/styled-system/types/pattern.d.ts +26 -0
  297. package/dist/styled-system/types/recipe.d.ts +89 -0
  298. package/dist/styled-system/types/register.d.ts +36 -0
  299. package/dist/styled-system/types/system.d.ts +1880 -0
  300. package/dist/styled-system/types/tokens.d.ts +60 -0
  301. package/dist/styles-8a0pzMRc.js +88 -0
  302. package/dist/styles-BU90HeKh.js +72 -0
  303. package/dist/styles-BvLgeNpb.cjs +42 -0
  304. package/dist/styles-CK7DJVwO.js +72 -0
  305. package/dist/styles-Cjlvkx8i.cjs +92 -0
  306. package/dist/styles-CuN4CHU4.cjs +76 -0
  307. package/dist/styles-WOyB8APA.js +38 -0
  308. package/dist/styles-_I-I4HYc.cjs +76 -0
  309. package/dist/types-B1vOzUjg.js +5 -0
  310. package/dist/types-Boy3jvmf.js +4 -0
  311. package/dist/types-CBApDh_h.js +149 -0
  312. package/dist/types-D2v625uE.cjs +8 -0
  313. package/dist/types-DzEK6W6x.cjs +16 -0
  314. package/dist/types-cLDeFros.cjs +166 -0
  315. package/dist/useFieldControl-BkQi1zak.js +29 -0
  316. package/dist/useFieldControl-CEI7IRAa.cjs +34 -0
  317. package/dist/vue/AccordionRoot.cjs +6 -0
  318. package/dist/vue/AccordionRoot.d.ts +1 -0
  319. package/dist/vue/AccordionRoot.js +1 -0
  320. package/dist/vue/AlertRoot.cjs +6 -0
  321. package/dist/vue/AlertRoot.d.ts +1 -0
  322. package/dist/vue/AlertRoot.js +1 -0
  323. package/dist/vue/BadgeRoot.cjs +6 -0
  324. package/dist/vue/BadgeRoot.d.ts +1 -0
  325. package/dist/vue/BadgeRoot.js +1 -0
  326. package/dist/vue/Button.cjs +6 -0
  327. package/dist/vue/Button.d.ts +1 -0
  328. package/dist/vue/Button.js +1 -0
  329. package/dist/vue/CardBody.cjs +6 -0
  330. package/dist/vue/CardBody.d.ts +1 -0
  331. package/dist/vue/CardBody.js +1 -0
  332. package/dist/vue/CardHeader.cjs +6 -0
  333. package/dist/vue/CardHeader.d.ts +1 -0
  334. package/dist/vue/CardHeader.js +1 -0
  335. package/dist/vue/CardRoot.cjs +6 -0
  336. package/dist/vue/CardRoot.d.ts +1 -0
  337. package/dist/vue/CardRoot.js +1 -0
  338. package/dist/vue/CarouselItem.cjs +6 -0
  339. package/dist/vue/CarouselItem.d.ts +1 -0
  340. package/dist/vue/CarouselItem.js +1 -0
  341. package/dist/vue/CarouselNavigation.cjs +6 -0
  342. package/dist/vue/CarouselNavigation.d.ts +1 -0
  343. package/dist/vue/CarouselNavigation.js +1 -0
  344. package/dist/vue/CarouselRoot.cjs +6 -0
  345. package/dist/vue/CarouselRoot.d.ts +1 -0
  346. package/dist/vue/CarouselRoot.js +1 -0
  347. package/dist/vue/DialogRoot.cjs +6 -0
  348. package/dist/vue/DialogRoot.d.ts +1 -0
  349. package/dist/vue/DialogRoot.js +1 -0
  350. package/dist/vue/FieldBase.cjs +6 -0
  351. package/dist/vue/FieldBase.d.ts +1 -0
  352. package/dist/vue/FieldBase.js +1 -0
  353. package/dist/vue/FieldCheckbox.cjs +6 -0
  354. package/dist/vue/FieldCheckbox.d.ts +1 -0
  355. package/dist/vue/FieldCheckbox.js +1 -0
  356. package/dist/vue/FieldError.cjs +6 -0
  357. package/dist/vue/FieldError.d.ts +1 -0
  358. package/dist/vue/FieldError.js +1 -0
  359. package/dist/vue/FieldInput.cjs +6 -0
  360. package/dist/vue/FieldInput.d.ts +1 -0
  361. package/dist/vue/FieldInput.js +1 -0
  362. package/dist/vue/FieldLabel.cjs +6 -0
  363. package/dist/vue/FieldLabel.d.ts +1 -0
  364. package/dist/vue/FieldLabel.js +1 -0
  365. package/dist/vue/FieldMessage.cjs +6 -0
  366. package/dist/vue/FieldMessage.d.ts +1 -0
  367. package/dist/vue/FieldMessage.js +1 -0
  368. package/dist/vue/FieldRadioGroup.cjs +6 -0
  369. package/dist/vue/FieldRadioGroup.d.ts +1 -0
  370. package/dist/vue/FieldRadioGroup.js +1 -0
  371. package/dist/vue/FieldRequired.cjs +6 -0
  372. package/dist/vue/FieldRequired.d.ts +1 -0
  373. package/dist/vue/FieldRequired.js +1 -0
  374. package/dist/vue/FieldSelect.cjs +6 -0
  375. package/dist/vue/FieldSelect.d.ts +1 -0
  376. package/dist/vue/FieldSelect.js +1 -0
  377. package/dist/vue/FieldSwitch.cjs +6 -0
  378. package/dist/vue/FieldSwitch.d.ts +1 -0
  379. package/dist/vue/FieldSwitch.js +1 -0
  380. package/dist/vue/FieldTextarea.cjs +6 -0
  381. package/dist/vue/FieldTextarea.d.ts +1 -0
  382. package/dist/vue/FieldTextarea.js +1 -0
  383. package/dist/vue/FieldUrl.cjs +6 -0
  384. package/dist/vue/FieldUrl.d.ts +1 -0
  385. package/dist/vue/FieldUrl.js +1 -0
  386. package/dist/vue/FlyoutDropdown.cjs +6 -0
  387. package/dist/vue/FlyoutDropdown.d.ts +1 -0
  388. package/dist/vue/FlyoutDropdown.js +1 -0
  389. package/dist/vue/FlyoutRoot.cjs +6 -0
  390. package/dist/vue/FlyoutRoot.d.ts +1 -0
  391. package/dist/vue/FlyoutRoot.js +1 -0
  392. package/dist/vue/FormPrompt.cjs +6 -0
  393. package/dist/vue/FormPrompt.d.ts +1 -0
  394. package/dist/vue/FormPrompt.js +1 -0
  395. package/dist/vue/FormPromptFooter.cjs +6 -0
  396. package/dist/vue/FormPromptFooter.d.ts +1 -0
  397. package/dist/vue/FormPromptFooter.js +1 -0
  398. package/dist/vue/HeroLead.cjs +6 -0
  399. package/dist/vue/HeroLead.d.ts +1 -0
  400. package/dist/vue/HeroLead.js +1 -0
  401. package/dist/vue/ListItem.cjs +6 -0
  402. package/dist/vue/ListItem.d.ts +1 -0
  403. package/dist/vue/ListItem.js +1 -0
  404. package/dist/vue/ListRoot.cjs +6 -0
  405. package/dist/vue/ListRoot.d.ts +1 -0
  406. package/dist/vue/ListRoot.js +1 -0
  407. package/dist/vue/Loader.cjs +6 -0
  408. package/dist/vue/Loader.d.ts +1 -0
  409. package/dist/vue/Loader.js +1 -0
  410. package/dist/vue/PricingCardBadge.cjs +6 -0
  411. package/dist/vue/PricingCardBadge.d.ts +1 -0
  412. package/dist/vue/PricingCardBadge.js +1 -0
  413. package/dist/vue/PricingCardBody.cjs +6 -0
  414. package/dist/vue/PricingCardBody.d.ts +1 -0
  415. package/dist/vue/PricingCardBody.js +1 -0
  416. package/dist/vue/PricingCardHeader.cjs +6 -0
  417. package/dist/vue/PricingCardHeader.d.ts +1 -0
  418. package/dist/vue/PricingCardHeader.js +1 -0
  419. package/dist/vue/PricingCardPricing.cjs +6 -0
  420. package/dist/vue/PricingCardPricing.d.ts +1 -0
  421. package/dist/vue/PricingCardPricing.js +1 -0
  422. package/dist/vue/PricingCardRoot.cjs +6 -0
  423. package/dist/vue/PricingCardRoot.d.ts +1 -0
  424. package/dist/vue/PricingCardRoot.js +1 -0
  425. package/dist/vue/ProgressRoot.cjs +6 -0
  426. package/dist/vue/ProgressRoot.d.ts +1 -0
  427. package/dist/vue/ProgressRoot.js +1 -0
  428. package/dist/vue/SwitchRoot.cjs +6 -0
  429. package/dist/vue/SwitchRoot.d.ts +1 -0
  430. package/dist/vue/SwitchRoot.js +1 -0
  431. package/dist/vue/TabItem.cjs +6 -0
  432. package/dist/vue/TabItem.d.ts +1 -0
  433. package/dist/vue/TabItem.js +1 -0
  434. package/dist/vue/TabRoot.cjs +6 -0
  435. package/dist/vue/TabRoot.d.ts +1 -0
  436. package/dist/vue/TabRoot.js +1 -0
  437. package/dist/vue/useCarousel.cjs +3 -0
  438. package/dist/vue/useCarousel.d.ts +1 -0
  439. package/dist/vue/useCarousel.js +1 -0
  440. package/dist/vue/useFlyout.cjs +3 -0
  441. package/dist/vue/useFlyout.d.ts +1 -0
  442. package/dist/vue/useFlyout.js +1 -0
  443. package/dist/vue/useFormData.cjs +3 -0
  444. package/dist/vue/useFormData.d.ts +1 -0
  445. package/dist/vue/useFormData.js +1 -0
  446. package/dist/vue-components.d.ts +17 -0
  447. package/package.json +172 -4
@@ -0,0 +1,4092 @@
1
+ //#region node_modules/.bun/@pandacss+dev@2.4.0+e4317cfdafc19053/node_modules/@pandacss/dev/dist/chunk-5IG6UNUZ.js
2
+ function defineConfig(config) {
3
+ return Object.assign(config, { name: "__panda.config__" });
4
+ }
5
+ function definePreset$1(preset) {
6
+ return preset;
7
+ }
8
+ function defineKeyframes(keyframes) {
9
+ return keyframes;
10
+ }
11
+ function createProxy() {
12
+ const identity = (value) => value;
13
+ return new Proxy(identity, { get() {
14
+ return identity;
15
+ } });
16
+ }
17
+ var defineTokens = /* @__PURE__ */ createProxy();
18
+ var defineSemanticTokens = /* @__PURE__ */ createProxy();
19
+ function defineAnimationStyles(definition) {
20
+ return definition;
21
+ }
22
+ //#endregion
23
+ //#region node_modules/.bun/@pandacss+preset-base@2.4.0/node_modules/@pandacss/preset-base/dist/index.js
24
+ var conditions = {
25
+ hover: "&:is(:hover, [data-hover])",
26
+ focus: "&:is(:focus, [data-focus])",
27
+ focusWithin: "&:focus-within",
28
+ focusVisible: "&:is(:focus-visible, [data-focus-visible])",
29
+ disabled: "&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",
30
+ active: "&:is(:active, [data-active])",
31
+ visited: "&:visited",
32
+ target: "&:target",
33
+ readOnly: "&:is(:read-only, [data-read-only], [aria-readonly=true])",
34
+ readWrite: "&:read-write",
35
+ empty: "&:is(:empty, [data-empty])",
36
+ checked: "&:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"])",
37
+ enabled: "&:enabled",
38
+ expanded: "&:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"])",
39
+ highlighted: "&[data-highlighted]",
40
+ complete: "&[data-complete]",
41
+ incomplete: "&[data-incomplete]",
42
+ dragging: "&[data-dragging]",
43
+ before: "&::before",
44
+ after: "&::after",
45
+ firstLetter: "&::first-letter",
46
+ firstLine: "&::first-line",
47
+ marker: "&::marker, &::-webkit-details-marker",
48
+ selection: "&::selection",
49
+ file: "&::file-selector-button",
50
+ backdrop: "&::backdrop",
51
+ first: "&:first-child",
52
+ last: "&:last-child",
53
+ only: "&:only-child",
54
+ even: "&:nth-child(even)",
55
+ odd: "&:nth-child(odd)",
56
+ firstOfType: "&:first-of-type",
57
+ lastOfType: "&:last-of-type",
58
+ onlyOfType: "&:only-of-type",
59
+ peerFocus: ".peer:is(:focus, [data-focus]) ~ &",
60
+ peerHover: ".peer:is(:hover, [data-hover]) ~ &",
61
+ peerActive: ".peer:is(:active, [data-active]) ~ &",
62
+ peerFocusWithin: ".peer:focus-within ~ &",
63
+ peerFocusVisible: ".peer:is(:focus-visible, [data-focus-visible]) ~ &",
64
+ peerDisabled: ".peer:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) ~ &",
65
+ peerChecked: ".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"]) ~ &",
66
+ peerInvalid: ".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",
67
+ peerExpanded: ".peer:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"]) ~ &",
68
+ peerPlaceholderShown: ".peer:placeholder-shown ~ &",
69
+ groupFocus: ".group:is(:focus, [data-focus]) &",
70
+ groupHover: ".group:is(:hover, [data-hover]) &",
71
+ groupActive: ".group:is(:active, [data-active]) &",
72
+ groupFocusWithin: ".group:focus-within &",
73
+ groupFocusVisible: ".group:is(:focus-visible, [data-focus-visible]) &",
74
+ groupDisabled: ".group:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) &",
75
+ groupChecked: ".group:is(:checked, [data-checked], [aria-checked=true], [data-state=\"checked\"]) &",
76
+ groupExpanded: ".group:is([aria-expanded=true], [data-expanded], [data-state=\"expanded\"]) &",
77
+ groupInvalid: ".group:is(:invalid, [data-invalid], [aria-invalid=true]) &",
78
+ indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=\"indeterminate\"])",
79
+ required: "&:is(:required, [data-required], [aria-required=true])",
80
+ valid: "&:is(:valid, [data-valid])",
81
+ invalid: "&:is(:invalid, [data-invalid], [aria-invalid=true])",
82
+ userValid: "&:is(:user-valid, [data-user-valid])",
83
+ userInvalid: "&:is(:user-invalid, [data-user-invalid])",
84
+ autofill: "&:autofill",
85
+ inRange: "&:is(:in-range, [data-in-range])",
86
+ outOfRange: "&:is(:out-of-range, [data-outside-range])",
87
+ placeholder: "&::placeholder, &[data-placeholder]",
88
+ placeholderShown: "&:is(:placeholder-shown, [data-placeholder-shown])",
89
+ pressed: "&:is([aria-pressed=true], [data-pressed])",
90
+ selected: "&:is([aria-selected=true], [data-selected])",
91
+ grabbed: "&:is([aria-grabbed=true], [data-grabbed])",
92
+ underValue: "&[data-state=under-value]",
93
+ overValue: "&[data-state=over-value]",
94
+ atValue: "&[data-state=at-value]",
95
+ default: "&:default",
96
+ optional: "&:optional",
97
+ open: "&:is([open], [data-open], [data-state=\"open\"], :popover-open)",
98
+ closed: "&:is([closed], [data-closed], [data-state=\"closed\"])",
99
+ fullscreen: "&:is(:fullscreen, [data-fullscreen])",
100
+ loading: "&:is([data-loading], [aria-busy=true])",
101
+ hidden: "&:is([hidden], [data-hidden])",
102
+ inert: "&:is([inert], [data-inert])",
103
+ current: "&:is([aria-current=true], [data-current])",
104
+ currentPage: "&[aria-current=page]",
105
+ currentStep: "&[aria-current=step]",
106
+ today: "&[data-today]",
107
+ unavailable: "&[data-unavailable]",
108
+ rangeStart: "&[data-range-start]",
109
+ rangeEnd: "&[data-range-end]",
110
+ now: "&[data-now]",
111
+ topmost: "&[data-topmost]",
112
+ motionReduce: "@media (prefers-reduced-motion: reduce)",
113
+ motionSafe: "@media (prefers-reduced-motion: no-preference)",
114
+ print: "@media print",
115
+ landscape: "@media (orientation: landscape)",
116
+ portrait: "@media (orientation: portrait)",
117
+ dark: ".dark &",
118
+ light: ".light &",
119
+ osDark: "@media (prefers-color-scheme: dark)",
120
+ osLight: "@media (prefers-color-scheme: light)",
121
+ highContrast: "@media (forced-colors: active)",
122
+ lessContrast: "@media (prefers-contrast: less)",
123
+ moreContrast: "@media (prefers-contrast: more)",
124
+ ltr: ":where([dir=ltr], :dir(ltr)) &",
125
+ rtl: ":where([dir=rtl], :dir(rtl)) &",
126
+ scrollbar: "&::-webkit-scrollbar",
127
+ scrollbarThumb: "&::-webkit-scrollbar-thumb",
128
+ scrollbarTrack: "&::-webkit-scrollbar-track",
129
+ horizontal: "&[data-orientation=horizontal]",
130
+ vertical: "&[data-orientation=vertical]",
131
+ icon: "& :where(svg)",
132
+ starting: "@starting-style",
133
+ noscript: "@media (scripting: none)",
134
+ invertedColors: "@media (inverted-colors: inverted)",
135
+ pointerFine: "@media (pointer: fine)",
136
+ pointerCoarse: "@media (pointer: coarse)",
137
+ pointerNone: "@media (pointer: none)",
138
+ anyPointerFine: "@media (any-pointer: fine)",
139
+ anyPointerCoarse: "@media (any-pointer: coarse)",
140
+ anyPointerNone: "@media (any-pointer: none)"
141
+ };
142
+ function definePattern(config) {
143
+ return config;
144
+ }
145
+ var box = definePattern({ transform(props) {
146
+ return props;
147
+ } });
148
+ var flex = definePattern({
149
+ properties: {
150
+ align: {
151
+ type: "property",
152
+ value: "alignItems"
153
+ },
154
+ justify: {
155
+ type: "property",
156
+ value: "justifyContent"
157
+ },
158
+ direction: {
159
+ type: "property",
160
+ value: "flexDirection"
161
+ },
162
+ wrap: {
163
+ type: "property",
164
+ value: "flexWrap"
165
+ },
166
+ basis: {
167
+ type: "property",
168
+ value: "flexBasis"
169
+ },
170
+ grow: {
171
+ type: "property",
172
+ value: "flexGrow"
173
+ },
174
+ shrink: {
175
+ type: "property",
176
+ value: "flexShrink"
177
+ }
178
+ },
179
+ transform(props) {
180
+ const { direction, align, justify, wrap: wrap2, basis, grow, shrink, ...rest } = props;
181
+ return {
182
+ display: "flex",
183
+ flexDirection: direction,
184
+ alignItems: align,
185
+ justifyContent: justify,
186
+ flexWrap: wrap2,
187
+ flexBasis: basis,
188
+ flexGrow: grow,
189
+ flexShrink: shrink,
190
+ ...rest
191
+ };
192
+ }
193
+ });
194
+ var stack = definePattern({
195
+ properties: {
196
+ align: {
197
+ type: "property",
198
+ value: "alignItems"
199
+ },
200
+ justify: {
201
+ type: "property",
202
+ value: "justifyContent"
203
+ },
204
+ direction: {
205
+ type: "property",
206
+ value: "flexDirection"
207
+ },
208
+ gap: {
209
+ type: "property",
210
+ value: "gap"
211
+ }
212
+ },
213
+ defaultValues: {
214
+ direction: "column",
215
+ gap: "8px"
216
+ },
217
+ transform(props) {
218
+ const { align, justify, direction, gap, ...rest } = props;
219
+ return {
220
+ display: "flex",
221
+ flexDirection: direction,
222
+ alignItems: align,
223
+ justifyContent: justify,
224
+ gap,
225
+ ...rest
226
+ };
227
+ }
228
+ });
229
+ var vstack = definePattern({
230
+ jsxName: "VStack",
231
+ properties: {
232
+ justify: {
233
+ type: "property",
234
+ value: "justifyContent"
235
+ },
236
+ gap: {
237
+ type: "property",
238
+ value: "gap"
239
+ }
240
+ },
241
+ defaultValues: { gap: "8px" },
242
+ transform(props) {
243
+ const { justify, gap, ...rest } = props;
244
+ return {
245
+ display: "flex",
246
+ alignItems: "center",
247
+ justifyContent: justify,
248
+ gap,
249
+ flexDirection: "column",
250
+ ...rest
251
+ };
252
+ }
253
+ });
254
+ var hstack = definePattern({
255
+ jsxName: "HStack",
256
+ properties: {
257
+ justify: {
258
+ type: "property",
259
+ value: "justifyContent"
260
+ },
261
+ gap: {
262
+ type: "property",
263
+ value: "gap"
264
+ }
265
+ },
266
+ defaultValues: { gap: "8px" },
267
+ transform(props) {
268
+ const { justify, gap, ...rest } = props;
269
+ return {
270
+ display: "flex",
271
+ alignItems: "center",
272
+ justifyContent: justify,
273
+ gap,
274
+ flexDirection: "row",
275
+ ...rest
276
+ };
277
+ }
278
+ });
279
+ var spacer = definePattern({
280
+ properties: { size: {
281
+ type: "token",
282
+ value: "spacing"
283
+ } },
284
+ transform(props, { map, isCssUnit, isCssVar }) {
285
+ const { size, ...rest } = props;
286
+ return {
287
+ alignSelf: "stretch",
288
+ justifySelf: "stretch",
289
+ flex: map(size, (v) => {
290
+ if (v == null) return "1";
291
+ return `0 0 ${isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`}`;
292
+ }),
293
+ ...rest
294
+ };
295
+ }
296
+ });
297
+ var circle = definePattern({
298
+ properties: { size: {
299
+ type: "property",
300
+ value: "width"
301
+ } },
302
+ transform(props) {
303
+ const { size, ...rest } = props;
304
+ return {
305
+ display: "flex",
306
+ alignItems: "center",
307
+ justifyContent: "center",
308
+ flex: "0 0 auto",
309
+ width: size,
310
+ height: size,
311
+ borderRadius: "9999px",
312
+ ...rest
313
+ };
314
+ }
315
+ });
316
+ var square = definePattern({
317
+ properties: { size: {
318
+ type: "property",
319
+ value: "width"
320
+ } },
321
+ transform(props) {
322
+ const { size, ...rest } = props;
323
+ return {
324
+ display: "flex",
325
+ alignItems: "center",
326
+ justifyContent: "center",
327
+ flex: "0 0 auto",
328
+ width: size,
329
+ height: size,
330
+ ...rest
331
+ };
332
+ }
333
+ });
334
+ var grid = definePattern({
335
+ properties: {
336
+ gap: {
337
+ type: "property",
338
+ value: "gap"
339
+ },
340
+ columnGap: {
341
+ type: "property",
342
+ value: "gap"
343
+ },
344
+ rowGap: {
345
+ type: "property",
346
+ value: "gap"
347
+ },
348
+ columns: { type: "number" },
349
+ minChildWidth: {
350
+ type: "token",
351
+ value: "sizes",
352
+ property: "width"
353
+ }
354
+ },
355
+ defaultValues(props) {
356
+ return { gap: props.columnGap || props.rowGap ? void 0 : "8px" };
357
+ },
358
+ transform(props, { map, isCssUnit }) {
359
+ const { columnGap, rowGap, gap, columns, minChildWidth, ...rest } = props;
360
+ const getValue = (v) => isCssUnit(v) ? v : `token(sizes.${v}, ${v})`;
361
+ return {
362
+ display: "grid",
363
+ gridTemplateColumns: columns != null ? map(columns, (v) => `repeat(${v}, minmax(0, 1fr))`) : minChildWidth != null ? map(minChildWidth, (v) => `repeat(auto-fit, minmax(${getValue(v)}, 1fr))`) : void 0,
364
+ gap,
365
+ columnGap,
366
+ rowGap,
367
+ ...rest
368
+ };
369
+ }
370
+ });
371
+ var gridItem = definePattern({
372
+ properties: {
373
+ colSpan: { type: "number" },
374
+ rowSpan: { type: "number" },
375
+ colStart: { type: "number" },
376
+ rowStart: { type: "number" },
377
+ colEnd: { type: "number" },
378
+ rowEnd: { type: "number" }
379
+ },
380
+ transform(props, { map }) {
381
+ const { colSpan, rowSpan, colStart, rowStart, colEnd, rowEnd, ...rest } = props;
382
+ const spanFn = (v) => v === "auto" ? v : `span ${v}`;
383
+ return {
384
+ gridColumn: colSpan != null ? map(colSpan, spanFn) : void 0,
385
+ gridRow: rowSpan != null ? map(rowSpan, spanFn) : void 0,
386
+ gridColumnStart: colStart,
387
+ gridColumnEnd: colEnd,
388
+ gridRowStart: rowStart,
389
+ gridRowEnd: rowEnd,
390
+ ...rest
391
+ };
392
+ }
393
+ });
394
+ var wrap = definePattern({
395
+ properties: {
396
+ gap: {
397
+ type: "property",
398
+ value: "gap"
399
+ },
400
+ rowGap: {
401
+ type: "property",
402
+ value: "gap"
403
+ },
404
+ columnGap: {
405
+ type: "property",
406
+ value: "gap"
407
+ },
408
+ align: {
409
+ type: "property",
410
+ value: "alignItems"
411
+ },
412
+ justify: {
413
+ type: "property",
414
+ value: "justifyContent"
415
+ }
416
+ },
417
+ transform(props) {
418
+ const { columnGap, rowGap, gap = columnGap || rowGap ? void 0 : "8px", align, justify, ...rest } = props;
419
+ return {
420
+ display: "flex",
421
+ flexWrap: "wrap",
422
+ alignItems: align,
423
+ justifyContent: justify,
424
+ gap,
425
+ columnGap,
426
+ rowGap,
427
+ ...rest
428
+ };
429
+ }
430
+ });
431
+ var container = definePattern({ transform(props) {
432
+ return {
433
+ position: "relative",
434
+ maxWidth: "8xl",
435
+ mx: "auto",
436
+ px: {
437
+ base: "4",
438
+ md: "6",
439
+ lg: "8"
440
+ },
441
+ ...props
442
+ };
443
+ } });
444
+ var center = definePattern({
445
+ properties: { inline: { type: "boolean" } },
446
+ transform(props) {
447
+ const { inline, ...rest } = props;
448
+ return {
449
+ display: inline ? "inline-flex" : "flex",
450
+ alignItems: "center",
451
+ justifyContent: "center",
452
+ ...rest
453
+ };
454
+ }
455
+ });
456
+ var aspectRatio = definePattern({
457
+ properties: { ratio: { type: "number" } },
458
+ blocklist: ["aspectRatio"],
459
+ transform(props, { map }) {
460
+ const { ratio = 4 / 3, ...rest } = props;
461
+ return {
462
+ position: "relative",
463
+ _before: {
464
+ content: `""`,
465
+ display: "block",
466
+ height: "0",
467
+ paddingBottom: map(ratio, (r) => `${1 / r * 100}%`)
468
+ },
469
+ "&>*": {
470
+ display: "flex",
471
+ justifyContent: "center",
472
+ alignItems: "center",
473
+ overflow: "hidden",
474
+ position: "absolute",
475
+ inset: "0",
476
+ width: "100%",
477
+ height: "100%"
478
+ },
479
+ "&>img, &>video": { objectFit: "cover" },
480
+ ...rest
481
+ };
482
+ }
483
+ });
484
+ var divider = definePattern({
485
+ properties: {
486
+ orientation: {
487
+ type: "enum",
488
+ value: ["horizontal", "vertical"]
489
+ },
490
+ thickness: {
491
+ type: "token",
492
+ value: "sizes",
493
+ property: "borderWidth"
494
+ },
495
+ color: {
496
+ type: "token",
497
+ value: "colors",
498
+ property: "borderColor"
499
+ }
500
+ },
501
+ defaultValues: {
502
+ orientation: "horizontal",
503
+ thickness: "1px"
504
+ },
505
+ transform(props, { map }) {
506
+ const { orientation, thickness, color: color2, ...rest } = props;
507
+ return {
508
+ "--thickness": thickness,
509
+ width: map(orientation, (v) => v === "vertical" ? void 0 : "100%"),
510
+ height: map(orientation, (v) => v === "horizontal" ? void 0 : "100%"),
511
+ borderBlockEndWidth: map(orientation, (v) => v === "horizontal" ? "var(--thickness)" : void 0),
512
+ borderInlineEndWidth: map(orientation, (v) => v === "vertical" ? "var(--thickness)" : void 0),
513
+ borderColor: color2,
514
+ ...rest
515
+ };
516
+ }
517
+ });
518
+ var patterns = {
519
+ box,
520
+ flex,
521
+ stack,
522
+ vstack,
523
+ hstack,
524
+ spacer,
525
+ square,
526
+ circle,
527
+ center,
528
+ linkOverlay: definePattern({
529
+ jsxElement: "a",
530
+ transform(props) {
531
+ return {
532
+ _before: {
533
+ content: "\"\"",
534
+ position: "absolute",
535
+ inset: "0",
536
+ zIndex: "0",
537
+ ...props["_before"]
538
+ },
539
+ ...props
540
+ };
541
+ }
542
+ }),
543
+ aspectRatio,
544
+ grid,
545
+ gridItem,
546
+ wrap,
547
+ container,
548
+ divider,
549
+ float: definePattern({
550
+ properties: {
551
+ offsetX: {
552
+ type: "token",
553
+ value: "spacing",
554
+ property: "left"
555
+ },
556
+ offsetY: {
557
+ type: "token",
558
+ value: "spacing",
559
+ property: "top"
560
+ },
561
+ offset: {
562
+ type: "token",
563
+ value: "spacing",
564
+ property: "top"
565
+ },
566
+ placement: {
567
+ type: "enum",
568
+ value: [
569
+ "bottom-end",
570
+ "bottom-start",
571
+ "top-end",
572
+ "top-start",
573
+ "bottom-center",
574
+ "top-center",
575
+ "middle-center",
576
+ "middle-end",
577
+ "middle-start"
578
+ ]
579
+ }
580
+ },
581
+ defaultValues(props) {
582
+ const offset = props.offset || "0";
583
+ return {
584
+ offset,
585
+ offsetX: offset,
586
+ offsetY: offset,
587
+ placement: "top-end"
588
+ };
589
+ },
590
+ transform(props, { map }) {
591
+ const { offset, offsetX, offsetY, placement, ...rest } = props;
592
+ return {
593
+ display: "inline-flex",
594
+ justifyContent: "center",
595
+ alignItems: "center",
596
+ position: "absolute",
597
+ insetBlockStart: map(placement, (v) => {
598
+ const [side] = v.split("-");
599
+ return {
600
+ top: offsetY,
601
+ middle: "50%",
602
+ bottom: "auto"
603
+ }[side];
604
+ }),
605
+ insetBlockEnd: map(placement, (v) => {
606
+ const [side] = v.split("-");
607
+ return {
608
+ top: "auto",
609
+ middle: "50%",
610
+ bottom: offsetY
611
+ }[side];
612
+ }),
613
+ insetInlineStart: map(placement, (v) => {
614
+ const [, align] = v.split("-");
615
+ return {
616
+ start: offsetX,
617
+ center: "50%",
618
+ end: "auto"
619
+ }[align];
620
+ }),
621
+ insetInlineEnd: map(placement, (v) => {
622
+ const [, align] = v.split("-");
623
+ return {
624
+ start: "auto",
625
+ center: "50%",
626
+ end: offsetX
627
+ }[align];
628
+ }),
629
+ translate: map(placement, (v) => {
630
+ const [side, align] = v.split("-");
631
+ return `${{
632
+ start: "-50%",
633
+ center: "-50%",
634
+ end: "50%"
635
+ }[align]} ${{
636
+ top: "-50%",
637
+ middle: "-50%",
638
+ bottom: "50%"
639
+ }[side]}`;
640
+ }),
641
+ ...rest
642
+ };
643
+ }
644
+ }),
645
+ bleed: definePattern({
646
+ properties: {
647
+ inline: {
648
+ type: "property",
649
+ value: "marginInline"
650
+ },
651
+ block: {
652
+ type: "property",
653
+ value: "marginBlock"
654
+ }
655
+ },
656
+ defaultValues: {
657
+ inline: "0",
658
+ block: "0"
659
+ },
660
+ transform(props, { map, isCssUnit, isCssVar }) {
661
+ const { inline, block, ...rest } = props;
662
+ const valueFn = (v) => isCssUnit(v) || isCssVar(v) ? v : `token(spacing.${v}, ${v})`;
663
+ return {
664
+ "--bleed-x": map(inline, valueFn),
665
+ "--bleed-y": map(block, valueFn),
666
+ marginInline: "calc(var(--bleed-x, 0) * -1)",
667
+ marginBlock: "calc(var(--bleed-y, 0) * -1)",
668
+ ...rest
669
+ };
670
+ }
671
+ }),
672
+ visuallyHidden: definePattern({ transform(props) {
673
+ return {
674
+ srOnly: true,
675
+ ...props
676
+ };
677
+ } }),
678
+ cq: definePattern({
679
+ properties: {
680
+ name: {
681
+ type: "token",
682
+ value: "containerNames",
683
+ property: "containerName"
684
+ },
685
+ type: {
686
+ type: "property",
687
+ value: "containerType"
688
+ }
689
+ },
690
+ defaultValues: { type: "inline-size" },
691
+ transform(props) {
692
+ const { name, type, ...rest } = props;
693
+ return {
694
+ containerType: type,
695
+ containerName: name,
696
+ ...rest
697
+ };
698
+ }
699
+ })
700
+ };
701
+ var createColorMixTransform = (prop) => {
702
+ return (value, args) => {
703
+ const mix = args.utils.colorMix(value);
704
+ if (mix.invalid) return { [prop]: value };
705
+ return { [prop]: mix.value };
706
+ };
707
+ };
708
+ var background = {
709
+ backgroundPosition: {
710
+ shorthand: "bgPosition",
711
+ className: "bg-p",
712
+ group: "Background"
713
+ },
714
+ backgroundPositionX: {
715
+ shorthand: "bgPositionX",
716
+ className: "bg-p-x",
717
+ group: "Background"
718
+ },
719
+ backgroundPositionY: {
720
+ shorthand: "bgPositionY",
721
+ className: "bg-p-y",
722
+ group: "Background"
723
+ },
724
+ backgroundAttachment: {
725
+ shorthand: "bgAttachment",
726
+ className: "bg-a",
727
+ group: "Background"
728
+ },
729
+ backgroundClip: {
730
+ shorthand: "bgClip",
731
+ className: "bg-cp",
732
+ group: "Background",
733
+ transform(value) {
734
+ return {
735
+ WebkitBackgroundClip: value,
736
+ backgroundClip: value
737
+ };
738
+ }
739
+ },
740
+ background: {
741
+ shorthand: "bg",
742
+ className: "bg",
743
+ values: "colors",
744
+ group: "Background",
745
+ transform: createColorMixTransform("background")
746
+ },
747
+ backgroundColor: {
748
+ shorthand: "bgColor",
749
+ className: "bg-c",
750
+ values: "colors",
751
+ group: "Background",
752
+ transform: createColorMixTransform("backgroundColor")
753
+ },
754
+ backgroundOrigin: {
755
+ shorthand: "bgOrigin",
756
+ className: "bg-o",
757
+ group: "Background"
758
+ },
759
+ backgroundImage: {
760
+ shorthand: "bgImage",
761
+ className: "bg-i",
762
+ values: "assets",
763
+ group: "Background"
764
+ },
765
+ backgroundRepeat: {
766
+ shorthand: "bgRepeat",
767
+ className: "bg-r",
768
+ group: "Background"
769
+ },
770
+ backgroundBlendMode: {
771
+ shorthand: "bgBlendMode",
772
+ className: "bg-bm",
773
+ group: "Background"
774
+ },
775
+ backgroundSize: {
776
+ shorthand: "bgSize",
777
+ className: "bg-s",
778
+ group: "Background"
779
+ }
780
+ };
781
+ var border = {
782
+ borderRadius: {
783
+ className: "bdr",
784
+ shorthand: "rounded",
785
+ values: "radii",
786
+ group: "Border Radius"
787
+ },
788
+ borderTopLeftRadius: {
789
+ className: "bdr-tl",
790
+ shorthand: "roundedTopLeft",
791
+ values: "radii",
792
+ group: "Border Radius"
793
+ },
794
+ borderTopRightRadius: {
795
+ className: "bdr-tr",
796
+ shorthand: "roundedTopRight",
797
+ values: "radii",
798
+ group: "Border Radius"
799
+ },
800
+ borderBottomRightRadius: {
801
+ className: "bdr-br",
802
+ shorthand: "roundedBottomRight",
803
+ values: "radii",
804
+ group: "Border Radius"
805
+ },
806
+ borderBottomLeftRadius: {
807
+ className: "bdr-bl",
808
+ shorthand: "roundedBottomLeft",
809
+ values: "radii",
810
+ group: "Border Radius"
811
+ },
812
+ borderTopRadius: {
813
+ className: "bdr-t",
814
+ shorthand: "roundedTop",
815
+ property: "borderRadius",
816
+ values: "radii",
817
+ group: "Border Radius",
818
+ transform(value) {
819
+ return {
820
+ borderTopLeftRadius: value,
821
+ borderTopRightRadius: value
822
+ };
823
+ }
824
+ },
825
+ borderRightRadius: {
826
+ className: "bdr-r",
827
+ shorthand: "roundedRight",
828
+ property: "borderRadius",
829
+ values: "radii",
830
+ group: "Border Radius",
831
+ transform(value) {
832
+ return {
833
+ borderTopRightRadius: value,
834
+ borderBottomRightRadius: value
835
+ };
836
+ }
837
+ },
838
+ borderBottomRadius: {
839
+ className: "bdr-b",
840
+ shorthand: "roundedBottom",
841
+ property: "borderRadius",
842
+ values: "radii",
843
+ group: "Border Radius",
844
+ transform(value) {
845
+ return {
846
+ borderBottomLeftRadius: value,
847
+ borderBottomRightRadius: value
848
+ };
849
+ }
850
+ },
851
+ borderLeftRadius: {
852
+ className: "bdr-l",
853
+ shorthand: "roundedLeft",
854
+ values: "radii",
855
+ property: "borderRadius",
856
+ group: "Border Radius",
857
+ transform(value) {
858
+ return {
859
+ borderTopLeftRadius: value,
860
+ borderBottomLeftRadius: value
861
+ };
862
+ }
863
+ },
864
+ borderStartStartRadius: {
865
+ className: "bdr-ss",
866
+ shorthand: "roundedStartStart",
867
+ values: "radii",
868
+ group: "Border Radius"
869
+ },
870
+ borderStartEndRadius: {
871
+ className: "bdr-se",
872
+ shorthand: "roundedStartEnd",
873
+ values: "radii",
874
+ group: "Border Radius"
875
+ },
876
+ borderStartRadius: {
877
+ className: "bdr-s",
878
+ values: "radii",
879
+ property: "borderRadius",
880
+ shorthand: "roundedStart",
881
+ group: "Border Radius",
882
+ transform(value) {
883
+ return {
884
+ borderStartStartRadius: value,
885
+ borderEndStartRadius: value
886
+ };
887
+ }
888
+ },
889
+ borderEndStartRadius: {
890
+ className: "bdr-es",
891
+ shorthand: "roundedEndStart",
892
+ values: "radii",
893
+ group: "Border Radius"
894
+ },
895
+ borderEndEndRadius: {
896
+ className: "bdr-ee",
897
+ shorthand: "roundedEndEnd",
898
+ values: "radii",
899
+ group: "Border Radius"
900
+ },
901
+ borderEndRadius: {
902
+ className: "bdr-e",
903
+ shorthand: "roundedEnd",
904
+ property: "borderRadius",
905
+ values: "radii",
906
+ group: "Border Radius",
907
+ transform(value) {
908
+ return {
909
+ borderStartEndRadius: value,
910
+ borderEndEndRadius: value
911
+ };
912
+ }
913
+ },
914
+ border: {
915
+ className: "bd",
916
+ values: "borders",
917
+ group: "Border"
918
+ },
919
+ borderWidth: {
920
+ className: "bd-w",
921
+ values: "borderWidths",
922
+ group: "Border Radius"
923
+ },
924
+ borderTopWidth: {
925
+ className: "bd-t-w",
926
+ values: "borderWidths",
927
+ group: "Border"
928
+ },
929
+ borderLeftWidth: {
930
+ className: "bd-l-w",
931
+ values: "borderWidths",
932
+ group: "Border"
933
+ },
934
+ borderRightWidth: {
935
+ className: "bd-r-w",
936
+ values: "borderWidths",
937
+ group: "Border"
938
+ },
939
+ borderBottomWidth: {
940
+ className: "bd-b-w",
941
+ values: "borderWidths",
942
+ group: "Border"
943
+ },
944
+ borderBlockStartWidth: {
945
+ className: "bd-bs-w",
946
+ values: "borderWidths",
947
+ group: "Border Radius"
948
+ },
949
+ borderBlockEndWidth: {
950
+ className: "bd-be-w",
951
+ values: "borderWidths",
952
+ group: "Border Radius"
953
+ },
954
+ borderColor: {
955
+ className: "bd-c",
956
+ values: "colors",
957
+ group: "Border",
958
+ transform: createColorMixTransform("borderColor")
959
+ },
960
+ borderInline: {
961
+ className: "bd-x",
962
+ values: "borders",
963
+ group: "Border",
964
+ shorthand: "borderX"
965
+ },
966
+ borderInlineWidth: {
967
+ className: "bd-x-w",
968
+ values: "borderWidths",
969
+ group: "Border",
970
+ shorthand: "borderXWidth"
971
+ },
972
+ borderInlineColor: {
973
+ className: "bd-x-c",
974
+ values: "colors",
975
+ group: "Border",
976
+ shorthand: "borderXColor",
977
+ transform: createColorMixTransform("borderInlineColor")
978
+ },
979
+ borderBlock: {
980
+ className: "bd-y",
981
+ values: "borders",
982
+ group: "Border",
983
+ shorthand: "borderY"
984
+ },
985
+ borderBlockWidth: {
986
+ className: "bd-y-w",
987
+ values: "borderWidths",
988
+ group: "Border",
989
+ shorthand: "borderYWidth"
990
+ },
991
+ borderBlockColor: {
992
+ className: "bd-y-c",
993
+ values: "colors",
994
+ group: "Border",
995
+ shorthand: "borderYColor",
996
+ transform: createColorMixTransform("borderBlockColor")
997
+ },
998
+ borderLeft: {
999
+ className: "bd-l",
1000
+ values: "borders",
1001
+ group: "Border"
1002
+ },
1003
+ borderLeftColor: {
1004
+ className: "bd-l-c",
1005
+ values: "colors",
1006
+ group: "Border",
1007
+ transform: createColorMixTransform("borderLeftColor")
1008
+ },
1009
+ borderInlineStart: {
1010
+ className: "bd-s",
1011
+ values: "borders",
1012
+ group: "Border",
1013
+ shorthand: "borderStart"
1014
+ },
1015
+ borderInlineStartWidth: {
1016
+ className: "bd-s-w",
1017
+ values: "borderWidths",
1018
+ group: "Border",
1019
+ shorthand: "borderStartWidth"
1020
+ },
1021
+ borderInlineStartColor: {
1022
+ className: "bd-s-c",
1023
+ values: "colors",
1024
+ group: "Border",
1025
+ shorthand: "borderStartColor",
1026
+ transform: createColorMixTransform("borderInlineStartColor")
1027
+ },
1028
+ borderRight: {
1029
+ className: "bd-r",
1030
+ values: "borders",
1031
+ group: "Border"
1032
+ },
1033
+ borderRightColor: {
1034
+ className: "bd-r-c",
1035
+ values: "colors",
1036
+ group: "Border",
1037
+ transform: createColorMixTransform("borderRightColor")
1038
+ },
1039
+ borderInlineEnd: {
1040
+ className: "bd-e",
1041
+ values: "borders",
1042
+ group: "Border",
1043
+ shorthand: "borderEnd"
1044
+ },
1045
+ borderInlineEndWidth: {
1046
+ className: "bd-e-w",
1047
+ values: "borderWidths",
1048
+ group: "Border",
1049
+ shorthand: "borderEndWidth"
1050
+ },
1051
+ borderInlineEndColor: {
1052
+ className: "bd-e-c",
1053
+ values: "colors",
1054
+ group: "Border",
1055
+ shorthand: "borderEndColor",
1056
+ transform: createColorMixTransform("borderInlineEndColor")
1057
+ },
1058
+ borderTop: {
1059
+ className: "bd-t",
1060
+ values: "borders",
1061
+ group: "Border"
1062
+ },
1063
+ borderTopColor: {
1064
+ className: "bd-t-c",
1065
+ values: "colors",
1066
+ group: "Border",
1067
+ transform: createColorMixTransform("borderTopColor")
1068
+ },
1069
+ borderBottom: {
1070
+ className: "bd-b",
1071
+ values: "borders",
1072
+ group: "Border"
1073
+ },
1074
+ borderBottomColor: {
1075
+ className: "bd-b-c",
1076
+ values: "colors",
1077
+ group: "Border",
1078
+ transform: createColorMixTransform("borderBottomColor")
1079
+ },
1080
+ borderBlockEnd: {
1081
+ className: "bd-be",
1082
+ values: "borders",
1083
+ group: "Border"
1084
+ },
1085
+ borderBlockEndColor: {
1086
+ className: "bd-be-c",
1087
+ values: "colors",
1088
+ group: "Border",
1089
+ transform: createColorMixTransform("borderBlockEndColor")
1090
+ },
1091
+ borderBlockStart: {
1092
+ className: "bd-bs",
1093
+ values: "borders",
1094
+ group: "Border"
1095
+ },
1096
+ borderBlockStartColor: {
1097
+ className: "bd-bs-c",
1098
+ values: "colors",
1099
+ group: "Border",
1100
+ transform: createColorMixTransform("borderBlockStartColor")
1101
+ }
1102
+ };
1103
+ var container2 = {
1104
+ container: {
1105
+ className: "cq",
1106
+ group: "Container"
1107
+ },
1108
+ containerName: {
1109
+ className: "cq-n",
1110
+ property: "containerName",
1111
+ values: "containerNames",
1112
+ group: "Container"
1113
+ },
1114
+ containerType: {
1115
+ className: "cq-t",
1116
+ group: "Container"
1117
+ }
1118
+ };
1119
+ var cursor = { cursor: {
1120
+ className: "cursor",
1121
+ values: "cursor",
1122
+ group: "System"
1123
+ } };
1124
+ var display = {
1125
+ display: {
1126
+ className: "d",
1127
+ group: "Display"
1128
+ },
1129
+ hideFrom: {
1130
+ className: "hide",
1131
+ values: "breakpoints",
1132
+ group: "Display",
1133
+ transform(value, { raw, token }) {
1134
+ return { [token.raw(`breakpoints.${raw}`) ? `@breakpoint ${raw}` : `@media screen and (min-width: ${value})`]: { display: "none" } };
1135
+ }
1136
+ },
1137
+ hideBelow: {
1138
+ className: "show",
1139
+ values: "breakpoints",
1140
+ group: "Display",
1141
+ transform(value, { raw, token }) {
1142
+ return { [token.raw(`breakpoints.${raw}`) ? `@breakpoint ${raw}Down` : `@media screen and (max-width: ${value})`]: { display: "none" } };
1143
+ }
1144
+ }
1145
+ };
1146
+ var divideColor = createColorMixTransform("borderColor");
1147
+ var divide = {
1148
+ divideX: {
1149
+ className: "dvd-x",
1150
+ values: "borderWidths",
1151
+ group: "Border",
1152
+ transform(value) {
1153
+ return { "& > :not([hidden]) ~ :not([hidden])": {
1154
+ borderInlineStartWidth: value,
1155
+ borderInlineEndWidth: "0px"
1156
+ } };
1157
+ }
1158
+ },
1159
+ divideY: {
1160
+ className: "dvd-y",
1161
+ values: "borderWidths",
1162
+ group: "Border",
1163
+ transform(value) {
1164
+ return { "& > :not([hidden]) ~ :not([hidden])": {
1165
+ borderTopWidth: value,
1166
+ borderBottomWidth: "0px"
1167
+ } };
1168
+ }
1169
+ },
1170
+ divideColor: {
1171
+ className: "dvd-c",
1172
+ values: "colors",
1173
+ group: "Border",
1174
+ transform(value, args) {
1175
+ return { "& > :not([hidden]) ~ :not([hidden])": divideColor(value, args) };
1176
+ }
1177
+ },
1178
+ divideStyle: {
1179
+ className: "dvd-s",
1180
+ property: "borderStyle",
1181
+ group: "Border",
1182
+ transform(value) {
1183
+ return { "& > :not([hidden]) ~ :not([hidden])": { borderStyle: value } };
1184
+ }
1185
+ }
1186
+ };
1187
+ function cssVar(syntax, initialValue) {
1188
+ return initialValue === void 0 ? {
1189
+ syntax,
1190
+ inherits: false
1191
+ } : {
1192
+ syntax,
1193
+ inherits: false,
1194
+ initialValue
1195
+ };
1196
+ }
1197
+ function anyVar(initialValue) {
1198
+ return cssVar("*", initialValue);
1199
+ }
1200
+ var effects = {
1201
+ opacity: {
1202
+ className: "op",
1203
+ values: "opacity",
1204
+ group: "Background"
1205
+ },
1206
+ boxShadow: {
1207
+ shorthand: "shadow",
1208
+ className: "bx-sh",
1209
+ values: "shadows",
1210
+ group: "Shadow"
1211
+ },
1212
+ boxShadowColor: {
1213
+ shorthand: "shadowColor",
1214
+ className: "bx-sh-c",
1215
+ values: "colors",
1216
+ transform: createColorMixTransform("--shadow-color"),
1217
+ group: "Color"
1218
+ },
1219
+ mixBlendMode: {
1220
+ className: "mix-bm",
1221
+ group: "Effect"
1222
+ },
1223
+ filter: {
1224
+ className: "filter",
1225
+ group: "Effect",
1226
+ values: { auto: "var(--blur, ) var(--brightness, ) var(--contrast, ) var(--grayscale, ) var(--hue-rotate, ) var(--invert, ) var(--saturate, ) var(--sepia, ) var(--drop-shadow, )" }
1227
+ },
1228
+ brightness: {
1229
+ className: "brightness",
1230
+ group: "Effect",
1231
+ globalVars: { "--brightness": anyVar() },
1232
+ transform(value) {
1233
+ return { "--brightness": `brightness(${value})` };
1234
+ }
1235
+ },
1236
+ contrast: {
1237
+ className: "contrast",
1238
+ group: "Effect",
1239
+ globalVars: { "--contrast": anyVar() },
1240
+ transform(value) {
1241
+ return { "--contrast": `contrast(${value})` };
1242
+ }
1243
+ },
1244
+ grayscale: {
1245
+ className: "grayscale",
1246
+ group: "Effect",
1247
+ globalVars: { "--grayscale": anyVar() },
1248
+ transform(value) {
1249
+ return { "--grayscale": `grayscale(${value})` };
1250
+ }
1251
+ },
1252
+ hueRotate: {
1253
+ className: "hue-rotate",
1254
+ group: "Effect",
1255
+ globalVars: { "--hue-rotate": anyVar() },
1256
+ transform(value) {
1257
+ return { "--hue-rotate": `hue-rotate(${value})` };
1258
+ }
1259
+ },
1260
+ invert: {
1261
+ className: "invert",
1262
+ group: "Effect",
1263
+ globalVars: { "--invert": anyVar() },
1264
+ transform(value) {
1265
+ return { "--invert": `invert(${value})` };
1266
+ }
1267
+ },
1268
+ saturate: {
1269
+ className: "saturate",
1270
+ group: "Effect",
1271
+ globalVars: { "--saturate": anyVar() },
1272
+ transform(value) {
1273
+ return { "--saturate": `saturate(${value})` };
1274
+ }
1275
+ },
1276
+ sepia: {
1277
+ className: "sepia",
1278
+ group: "Effect",
1279
+ globalVars: { "--sepia": anyVar() },
1280
+ transform(value) {
1281
+ return { "--sepia": `sepia(${value})` };
1282
+ }
1283
+ },
1284
+ dropShadow: {
1285
+ className: "drop-shadow",
1286
+ group: "Effect",
1287
+ values: "dropShadows",
1288
+ globalVars: { "--drop-shadow": anyVar() },
1289
+ transform(value) {
1290
+ return { "--drop-shadow": value };
1291
+ }
1292
+ },
1293
+ blur: {
1294
+ className: "blur",
1295
+ group: "Effect",
1296
+ values: "blurs",
1297
+ globalVars: { "--blur": anyVar() },
1298
+ transform(value) {
1299
+ return { "--blur": `blur(${value})` };
1300
+ }
1301
+ },
1302
+ backdropFilter: {
1303
+ className: "bkdp",
1304
+ group: "Effect",
1305
+ values: { auto: "var(--backdrop-blur, ) var(--backdrop-brightness, ) var(--backdrop-contrast, ) var(--backdrop-grayscale, ) var(--backdrop-hue-rotate, ) var(--backdrop-invert, ) var(--backdrop-opacity, ) var(--backdrop-saturate, ) var(--backdrop-sepia, )" },
1306
+ transform(value) {
1307
+ return {
1308
+ WebkitBackdropFilter: value,
1309
+ backdropFilter: value
1310
+ };
1311
+ }
1312
+ },
1313
+ backdropBlur: {
1314
+ className: "bkdp-blur",
1315
+ group: "Effect",
1316
+ values: "blurs",
1317
+ globalVars: { "--backdrop-blur": anyVar() },
1318
+ transform(value) {
1319
+ return { "--backdrop-blur": `blur(${value})` };
1320
+ }
1321
+ },
1322
+ backdropBrightness: {
1323
+ className: "bkdp-brightness",
1324
+ group: "Effect",
1325
+ globalVars: { "--backdrop-brightness": anyVar() },
1326
+ transform(value) {
1327
+ return { "--backdrop-brightness": `brightness(${value})` };
1328
+ }
1329
+ },
1330
+ backdropContrast: {
1331
+ className: "bkdp-contrast",
1332
+ group: "Effect",
1333
+ globalVars: { "--backdrop-contrast": anyVar() },
1334
+ transform(value) {
1335
+ return { "--backdrop-contrast": `contrast(${value})` };
1336
+ }
1337
+ },
1338
+ backdropGrayscale: {
1339
+ className: "bkdp-grayscale",
1340
+ group: "Effect",
1341
+ globalVars: { "--backdrop-grayscale": anyVar() },
1342
+ transform(value) {
1343
+ return { "--backdrop-grayscale": `grayscale(${value})` };
1344
+ }
1345
+ },
1346
+ backdropHueRotate: {
1347
+ className: "bkdp-hue-rotate",
1348
+ group: "Effect",
1349
+ globalVars: { "--backdrop-hue-rotate": anyVar() },
1350
+ transform(value) {
1351
+ return { "--backdrop-hue-rotate": `hue-rotate(${value})` };
1352
+ }
1353
+ },
1354
+ backdropInvert: {
1355
+ className: "bkdp-invert",
1356
+ group: "Effect",
1357
+ globalVars: { "--backdrop-invert": anyVar() },
1358
+ transform(value) {
1359
+ return { "--backdrop-invert": `invert(${value})` };
1360
+ }
1361
+ },
1362
+ backdropOpacity: {
1363
+ className: "bkdp-opacity",
1364
+ group: "Effect",
1365
+ globalVars: { "--backdrop-opacity": anyVar() },
1366
+ transform(value) {
1367
+ return { "--backdrop-opacity": value };
1368
+ }
1369
+ },
1370
+ backdropSaturate: {
1371
+ className: "bkdp-saturate",
1372
+ group: "Effect",
1373
+ globalVars: { "--backdrop-saturate": anyVar() },
1374
+ transform(value) {
1375
+ return { "--backdrop-saturate": `saturate(${value})` };
1376
+ }
1377
+ },
1378
+ backdropSepia: {
1379
+ className: "bkdp-sepia",
1380
+ group: "Effect",
1381
+ globalVars: { "--backdrop-sepia": anyVar() },
1382
+ transform(value) {
1383
+ return { "--backdrop-sepia": `sepia(${value})` };
1384
+ }
1385
+ }
1386
+ };
1387
+ var flexGrid = {
1388
+ flexBasis: {
1389
+ className: "flex-b",
1390
+ group: "Flex Layout",
1391
+ values(theme) {
1392
+ return {
1393
+ ...theme("sizes"),
1394
+ "1/2": "50%",
1395
+ "1/3": "33.333333%",
1396
+ "2/3": "66.666667%",
1397
+ "1/4": "25%",
1398
+ "2/4": "50%",
1399
+ "3/4": "75%",
1400
+ "1/5": "20%",
1401
+ "2/5": "40%",
1402
+ "3/5": "60%",
1403
+ "4/5": "80%",
1404
+ "1/6": "16.666667%",
1405
+ "2/6": "33.333333%",
1406
+ "3/6": "50%",
1407
+ "4/6": "66.666667%",
1408
+ "5/6": "83.333333%",
1409
+ "1/12": "8.333333%",
1410
+ "2/12": "16.666667%",
1411
+ "3/12": "25%",
1412
+ "4/12": "33.333333%",
1413
+ "5/12": "41.666667%",
1414
+ "6/12": "50%",
1415
+ "7/12": "58.333333%",
1416
+ "8/12": "66.666667%",
1417
+ "9/12": "75%",
1418
+ "10/12": "83.333333%",
1419
+ "11/12": "91.666667%",
1420
+ full: "100%"
1421
+ };
1422
+ }
1423
+ },
1424
+ flex: {
1425
+ className: "flex",
1426
+ group: "Flex Layout",
1427
+ values: {
1428
+ "1": "1 1 0%",
1429
+ auto: "1 1 auto",
1430
+ initial: "0 1 auto",
1431
+ none: "none"
1432
+ }
1433
+ },
1434
+ flexDirection: {
1435
+ className: "flex-d",
1436
+ group: "Flex Layout",
1437
+ shorthand: "flexDir"
1438
+ },
1439
+ flexGrow: {
1440
+ className: "flex-g",
1441
+ group: "Flex Layout"
1442
+ },
1443
+ flexShrink: {
1444
+ className: "flex-sh",
1445
+ group: "Flex Layout"
1446
+ },
1447
+ gridTemplateColumns: {
1448
+ className: "grid-tc",
1449
+ group: "Grid Layout"
1450
+ },
1451
+ gridTemplateRows: {
1452
+ className: "grid-tr",
1453
+ group: "Grid Layout"
1454
+ },
1455
+ gridColumn: {
1456
+ className: "grid-c",
1457
+ group: "Grid Layout"
1458
+ },
1459
+ gridRow: {
1460
+ className: "grid-r",
1461
+ group: "Grid Layout"
1462
+ },
1463
+ gridColumnStart: {
1464
+ className: "grid-cs",
1465
+ group: "Grid Layout"
1466
+ },
1467
+ gridColumnEnd: {
1468
+ className: "grid-ce",
1469
+ group: "Grid Layout"
1470
+ },
1471
+ gridAutoFlow: {
1472
+ className: "grid-af",
1473
+ group: "Grid Layout"
1474
+ },
1475
+ gridAutoColumns: {
1476
+ className: "grid-ac",
1477
+ group: "Grid Layout",
1478
+ values: {
1479
+ min: "min-content",
1480
+ max: "max-content",
1481
+ fr: "minmax(0, 1fr)"
1482
+ }
1483
+ },
1484
+ gridAutoRows: {
1485
+ className: "grid-ar",
1486
+ group: "Grid Layout",
1487
+ values: {
1488
+ min: "min-content",
1489
+ max: "max-content",
1490
+ fr: "minmax(0, 1fr)"
1491
+ }
1492
+ },
1493
+ gap: {
1494
+ className: "gap",
1495
+ group: "Flex Layout",
1496
+ values: "spacing"
1497
+ },
1498
+ gridGap: {
1499
+ className: "grid-g",
1500
+ group: "Grid Layout",
1501
+ values: "spacing"
1502
+ },
1503
+ gridRowGap: {
1504
+ className: "grid-rg",
1505
+ group: "Grid Layout",
1506
+ values: "spacing"
1507
+ },
1508
+ gridColumnGap: {
1509
+ className: "grid-cg",
1510
+ group: "Grid Layout",
1511
+ values: "spacing"
1512
+ },
1513
+ rowGap: {
1514
+ className: "rg",
1515
+ group: "Grid Layout",
1516
+ values: "spacing"
1517
+ },
1518
+ columnGap: {
1519
+ className: "cg",
1520
+ group: "Grid Layout",
1521
+ values: "spacing"
1522
+ },
1523
+ justifyContent: {
1524
+ className: "jc",
1525
+ group: "Flex Layout"
1526
+ },
1527
+ alignContent: {
1528
+ className: "ac",
1529
+ group: "Flex Layout"
1530
+ },
1531
+ alignItems: {
1532
+ className: "ai",
1533
+ group: "Flex Layout"
1534
+ },
1535
+ alignSelf: {
1536
+ className: "as",
1537
+ group: "Flex Layout"
1538
+ }
1539
+ };
1540
+ function createFocusRing(selector, className) {
1541
+ return {
1542
+ className,
1543
+ group: "Focus Ring",
1544
+ values: [
1545
+ "outside",
1546
+ "inside",
1547
+ "mixed",
1548
+ "none"
1549
+ ],
1550
+ transform(value) {
1551
+ const focusRingColor = `var(--focus-ring-color-prop, var(--global-color-focus-ring, #005FCC))`;
1552
+ switch (value) {
1553
+ case "inside": return {
1554
+ "--focus-ring-color": focusRingColor,
1555
+ [selector]: {
1556
+ outlineOffset: "0px",
1557
+ outlineWidth: "var(--focus-ring-width, 1px)",
1558
+ outlineColor: "var(--focus-ring-color)",
1559
+ outlineStyle: "var(--focus-ring-style, solid)",
1560
+ borderColor: "var(--focus-ring-color)"
1561
+ }
1562
+ };
1563
+ case "outside": return {
1564
+ "--focus-ring-color": focusRingColor,
1565
+ [selector]: {
1566
+ outlineWidth: "var(--focus-ring-width, 2px)",
1567
+ outlineOffset: "var(--focus-ring-offset, 2px)",
1568
+ outlineStyle: "var(--focus-ring-style, solid)",
1569
+ outlineColor: "var(--focus-ring-color)"
1570
+ }
1571
+ };
1572
+ case "mixed": return {
1573
+ "--focus-ring-color": focusRingColor,
1574
+ [selector]: {
1575
+ outlineOffset: "0px",
1576
+ outlineWidth: "var(--focus-ring-width, 3px)",
1577
+ outlineStyle: "var(--focus-ring-style, solid)",
1578
+ outlineColor: "color-mix(in srgb, var(--focus-ring-color), transparent 60%)",
1579
+ borderColor: "var(--focus-ring-color)"
1580
+ }
1581
+ };
1582
+ case "none": return {
1583
+ "--focus-ring-color": focusRingColor,
1584
+ [selector]: { outline: "none" }
1585
+ };
1586
+ default: return {};
1587
+ }
1588
+ }
1589
+ };
1590
+ }
1591
+ var focusRing = {
1592
+ focusRing: createFocusRing("&:is(:focus, [data-focus])", "focus-ring"),
1593
+ focusVisibleRing: createFocusRing("&:is(:focus-visible, [data-focus-visible])", "focus-v-ring"),
1594
+ focusRingColor: {
1595
+ className: "focus-ring-c",
1596
+ values: "colors",
1597
+ group: "Focus Ring",
1598
+ transform: createColorMixTransform("--focus-ring-color-prop")
1599
+ },
1600
+ focusRingOffset: {
1601
+ className: "focus-ring-o",
1602
+ values: "spacing",
1603
+ group: "Focus Ring",
1604
+ transform: (v) => ({ "--focus-ring-offset": v })
1605
+ },
1606
+ focusRingWidth: {
1607
+ className: "focus-ring-w",
1608
+ values: "borderWidths",
1609
+ property: "outlineWidth",
1610
+ group: "Focus Ring",
1611
+ transform: (v) => ({ "--focus-ring-width": v })
1612
+ },
1613
+ focusRingStyle: {
1614
+ className: "focus-ring-s",
1615
+ values: "borderStyles",
1616
+ property: "outlineStyle",
1617
+ group: "Focus Ring",
1618
+ transform: (v) => ({ "--focus-ring-style": v })
1619
+ }
1620
+ };
1621
+ var stopColor = () => cssVar("<color>", "#0000");
1622
+ var composed = {
1623
+ "--gradient-position": anyVar(),
1624
+ "--gradient-stops": anyVar(),
1625
+ "--gradient-via-stops": anyVar()
1626
+ };
1627
+ var gradientVia = createColorMixTransform("--gradient-via");
1628
+ var linearGradientDirectionMap = /* @__PURE__ */ new Map([
1629
+ ["to-t", "to top"],
1630
+ ["to-tr", "to top right"],
1631
+ ["to-r", "to right"],
1632
+ ["to-br", "to bottom right"],
1633
+ ["to-b", "to bottom"],
1634
+ ["to-bl", "to bottom left"],
1635
+ ["to-l", "to left"],
1636
+ ["to-tl", "to top left"]
1637
+ ]);
1638
+ var isGradientShortcut = (value) => linearGradientDirectionMap.has(value);
1639
+ var linearGradientValues = (theme) => {
1640
+ return {
1641
+ ...theme("gradients"),
1642
+ ...Object.fromEntries(linearGradientDirectionMap.entries())
1643
+ };
1644
+ };
1645
+ var gradientStops = "var(--gradient-via-stops, var(--gradient-position), var(--gradient-from) var(--gradient-from-position), var(--gradient-to) var(--gradient-to-position))";
1646
+ var gradientViaStops = "var(--gradient-position), var(--gradient-from) var(--gradient-from-position), var(--gradient-via) var(--gradient-via-position), var(--gradient-to) var(--gradient-to-position)";
1647
+ var backgroundGradients = {
1648
+ backgroundGradient: {
1649
+ shorthand: "bgGradient",
1650
+ className: "bg-grad",
1651
+ group: "Background Gradient",
1652
+ globalVars: composed,
1653
+ values: linearGradientValues,
1654
+ transform(value, { raw, token }) {
1655
+ const tokenValue = token(`gradients.${raw}`);
1656
+ if (tokenValue) return { backgroundImage: tokenValue };
1657
+ if (!isGradientShortcut(raw)) return { backgroundImage: value };
1658
+ return {
1659
+ "--gradient-stops": gradientStops,
1660
+ "--gradient-position": linearGradientDirectionMap.get(raw),
1661
+ backgroundImage: `linear-gradient(var(--gradient-stops))`
1662
+ };
1663
+ }
1664
+ },
1665
+ backgroundLinear: {
1666
+ shorthand: "bgLinear",
1667
+ className: "bg-linear",
1668
+ group: "Background Gradient",
1669
+ globalVars: composed,
1670
+ values: linearGradientValues,
1671
+ transform(value, { raw, token }) {
1672
+ const tokenValue = token(`gradients.${raw}`);
1673
+ if (tokenValue) return { backgroundImage: tokenValue };
1674
+ if (!isGradientShortcut(raw)) return { backgroundImage: value };
1675
+ return {
1676
+ "--gradient-stops": gradientStops,
1677
+ "--gradient-position": linearGradientDirectionMap.get(raw),
1678
+ backgroundImage: `linear-gradient(var(--gradient-stops))`
1679
+ };
1680
+ }
1681
+ },
1682
+ backgroundRadial: {
1683
+ shorthand: "bgRadial",
1684
+ className: "bg-radial",
1685
+ group: "Background Gradient",
1686
+ globalVars: composed,
1687
+ values: "gradients",
1688
+ transform(value, { raw, token }) {
1689
+ const tokenValue = token(`gradients.${raw}`);
1690
+ if (tokenValue) return { backgroundImage: tokenValue };
1691
+ return {
1692
+ "--gradient-stops": gradientStops,
1693
+ "--gradient-position": value,
1694
+ backgroundImage: `radial-gradient(var(--gradient-stops,${value}))`
1695
+ };
1696
+ }
1697
+ },
1698
+ backgroundConic: {
1699
+ shorthand: "bgConic",
1700
+ className: "bg-conic",
1701
+ group: "Background Gradient",
1702
+ globalVars: composed,
1703
+ transform(value) {
1704
+ return {
1705
+ "--gradient-stops": gradientStops,
1706
+ "--gradient-position": value,
1707
+ backgroundImage: `conic-gradient(var(--gradient-stops))`
1708
+ };
1709
+ }
1710
+ },
1711
+ textGradient: {
1712
+ className: "txt-grad",
1713
+ group: "Background Gradient",
1714
+ globalVars: composed,
1715
+ values: linearGradientValues,
1716
+ transform(value, { raw, token }) {
1717
+ const tokenValue = token(`gradients.${raw}`);
1718
+ if (tokenValue) return {
1719
+ backgroundImage: tokenValue,
1720
+ WebkitBackgroundClip: "text",
1721
+ color: "transparent"
1722
+ };
1723
+ if (!isGradientShortcut(raw)) return {
1724
+ backgroundImage: value,
1725
+ WebkitBackgroundClip: "text",
1726
+ color: "transparent"
1727
+ };
1728
+ return {
1729
+ "--gradient-stops": gradientStops,
1730
+ "--gradient-position": linearGradientDirectionMap.get(raw),
1731
+ backgroundImage: `linear-gradient(var(--gradient-stops))`,
1732
+ WebkitBackgroundClip: "text",
1733
+ color: "transparent"
1734
+ };
1735
+ }
1736
+ },
1737
+ gradientFromPosition: {
1738
+ className: "grad-from-pos",
1739
+ group: "Background Gradient",
1740
+ globalVars: { "--gradient-from-position": cssVar("<length-percentage>", "0%") },
1741
+ transform(value) {
1742
+ return { "--gradient-from-position": value };
1743
+ }
1744
+ },
1745
+ gradientToPosition: {
1746
+ className: "grad-to-pos",
1747
+ group: "Background Gradient",
1748
+ globalVars: { "--gradient-to-position": cssVar("<length-percentage>", "100%") },
1749
+ transform(value) {
1750
+ return { "--gradient-to-position": value };
1751
+ }
1752
+ },
1753
+ gradientFrom: {
1754
+ className: "grad-from",
1755
+ values: "colors",
1756
+ group: "Background Gradient",
1757
+ globalVars: { "--gradient-from": stopColor() },
1758
+ transform: createColorMixTransform("--gradient-from")
1759
+ },
1760
+ gradientTo: {
1761
+ className: "grad-to",
1762
+ values: "colors",
1763
+ group: "Background Gradient",
1764
+ globalVars: { "--gradient-to": stopColor() },
1765
+ transform: createColorMixTransform("--gradient-to")
1766
+ },
1767
+ gradientVia: {
1768
+ className: "grad-via",
1769
+ values: "colors",
1770
+ group: "Background Gradient",
1771
+ globalVars: { "--gradient-via": stopColor() },
1772
+ transform(value, args) {
1773
+ return {
1774
+ ...gradientVia(value, args),
1775
+ "--gradient-stops": "var(--gradient-via-stops)",
1776
+ "--gradient-via-stops": gradientViaStops
1777
+ };
1778
+ }
1779
+ },
1780
+ gradientViaPosition: {
1781
+ className: "grad-via-pos",
1782
+ group: "Background Gradient",
1783
+ globalVars: { "--gradient-via-position": cssVar("<length-percentage>", "50%") },
1784
+ transform(value) {
1785
+ return { "--gradient-via-position": value };
1786
+ }
1787
+ }
1788
+ };
1789
+ var srMapping = {
1790
+ true: {
1791
+ position: "absolute",
1792
+ width: "1px",
1793
+ height: "1px",
1794
+ padding: "0",
1795
+ margin: "-1px",
1796
+ overflow: "hidden",
1797
+ clip: "rect(0, 0, 0, 0)",
1798
+ whiteSpace: "nowrap",
1799
+ borderWidth: "0"
1800
+ },
1801
+ false: {
1802
+ position: "static",
1803
+ width: "auto",
1804
+ height: "auto",
1805
+ padding: "0",
1806
+ margin: "0",
1807
+ overflow: "visible",
1808
+ clip: "auto",
1809
+ whiteSpace: "normal"
1810
+ }
1811
+ };
1812
+ var helpers = {
1813
+ srOnly: {
1814
+ className: "sr",
1815
+ values: { type: "boolean" },
1816
+ group: "Other",
1817
+ transform(value) {
1818
+ return srMapping[value] || {};
1819
+ }
1820
+ },
1821
+ debug: {
1822
+ className: "debug",
1823
+ values: { type: "boolean" },
1824
+ group: "Other",
1825
+ transform(value) {
1826
+ if (!value) return {};
1827
+ return {
1828
+ outline: "1px solid blue !important",
1829
+ "&>*": { outline: "1px solid red !important" }
1830
+ };
1831
+ }
1832
+ }
1833
+ };
1834
+ var SCROLLBAR_COLOR = "var(--scrollbar-thumb, currentColor) var(--scrollbar-track, transparent)";
1835
+ function scrollbarColorStyles(colorVars) {
1836
+ return {
1837
+ ...colorVars,
1838
+ scrollbarColor: SCROLLBAR_COLOR,
1839
+ "&::-webkit-scrollbar-thumb": { backgroundColor: "var(--scrollbar-thumb, currentColor)" },
1840
+ "&::-webkit-scrollbar-track": { backgroundColor: "var(--scrollbar-track, transparent)" }
1841
+ };
1842
+ }
1843
+ var interactivity = {
1844
+ accentColor: {
1845
+ className: "ac-c",
1846
+ values: "colors",
1847
+ transform: createColorMixTransform("accentColor"),
1848
+ group: "Color"
1849
+ },
1850
+ caretColor: {
1851
+ className: "ca-c",
1852
+ values: "colors",
1853
+ group: "Color",
1854
+ transform: createColorMixTransform("caretColor")
1855
+ },
1856
+ scrollBehavior: {
1857
+ className: "scr-bhv",
1858
+ group: "Scroll"
1859
+ },
1860
+ scrollbar: {
1861
+ className: "scr-bar",
1862
+ values: ["visible", "hidden"],
1863
+ group: "Scroll",
1864
+ transform(value) {
1865
+ if (value === "visible") return {
1866
+ msOverflowStyle: "auto",
1867
+ scrollbarWidth: "auto",
1868
+ "&::-webkit-scrollbar": { display: "block" }
1869
+ };
1870
+ if (value === "hidden") return {
1871
+ msOverflowStyle: "none",
1872
+ scrollbarWidth: "none",
1873
+ "&::-webkit-scrollbar": { display: "none" }
1874
+ };
1875
+ }
1876
+ },
1877
+ scrollbarColor: {
1878
+ className: "scr-bar-c",
1879
+ group: "Scroll"
1880
+ },
1881
+ scrollbarThumb: {
1882
+ className: "scr-bar-th",
1883
+ values: "colors",
1884
+ group: "Scroll",
1885
+ globalVars: { "--scrollbar-thumb": cssVar("<color>") },
1886
+ transform(value, args) {
1887
+ return scrollbarColorStyles(createColorMixTransform("--scrollbar-thumb")(value, args));
1888
+ }
1889
+ },
1890
+ scrollbarTrack: {
1891
+ className: "scr-bar-tk",
1892
+ values: "colors",
1893
+ group: "Scroll",
1894
+ globalVars: { "--scrollbar-track": cssVar("<color>") },
1895
+ transform(value, args) {
1896
+ return scrollbarColorStyles(createColorMixTransform("--scrollbar-track")(value, args));
1897
+ }
1898
+ },
1899
+ scrollbarGutter: {
1900
+ className: "scr-bar-g",
1901
+ group: "Scroll"
1902
+ },
1903
+ scrollbarWidth: {
1904
+ className: "scr-bar-w",
1905
+ group: "Scroll"
1906
+ },
1907
+ scrollMargin: {
1908
+ className: "scr-m",
1909
+ values: "spacing",
1910
+ group: "Scroll"
1911
+ },
1912
+ scrollMarginLeft: {
1913
+ className: "scr-ml",
1914
+ values: "spacing",
1915
+ group: "Scroll"
1916
+ },
1917
+ scrollMarginRight: {
1918
+ className: "scr-mr",
1919
+ values: "spacing",
1920
+ group: "Scroll"
1921
+ },
1922
+ scrollMarginTop: {
1923
+ className: "scr-mt",
1924
+ values: "spacing",
1925
+ group: "Scroll"
1926
+ },
1927
+ scrollMarginBottom: {
1928
+ className: "scr-mb",
1929
+ values: "spacing",
1930
+ group: "Scroll"
1931
+ },
1932
+ scrollMarginBlock: {
1933
+ className: "scr-my",
1934
+ values: "spacing",
1935
+ group: "Scroll",
1936
+ shorthand: ["scrollMarginY"]
1937
+ },
1938
+ scrollMarginBlockEnd: {
1939
+ className: "scr-mbe",
1940
+ values: "spacing",
1941
+ group: "Scroll"
1942
+ },
1943
+ scrollMarginBlockStart: {
1944
+ className: "scr-mbt",
1945
+ values: "spacing",
1946
+ group: "Scroll"
1947
+ },
1948
+ scrollMarginInline: {
1949
+ className: "scr-mx",
1950
+ values: "spacing",
1951
+ group: "Scroll",
1952
+ shorthand: ["scrollMarginX"]
1953
+ },
1954
+ scrollMarginInlineEnd: {
1955
+ className: "scr-me",
1956
+ values: "spacing",
1957
+ group: "Scroll"
1958
+ },
1959
+ scrollMarginInlineStart: {
1960
+ className: "scr-ms",
1961
+ values: "spacing",
1962
+ group: "Scroll"
1963
+ },
1964
+ scrollPadding: {
1965
+ className: "scr-p",
1966
+ values: "spacing",
1967
+ group: "Scroll"
1968
+ },
1969
+ scrollPaddingBlock: {
1970
+ className: "scr-py",
1971
+ values: "spacing",
1972
+ group: "Scroll",
1973
+ shorthand: ["scrollPaddingY"]
1974
+ },
1975
+ scrollPaddingBlockStart: {
1976
+ className: "scr-pbs",
1977
+ values: "spacing",
1978
+ group: "Scroll"
1979
+ },
1980
+ scrollPaddingBlockEnd: {
1981
+ className: "scr-pbe",
1982
+ values: "spacing",
1983
+ group: "Scroll"
1984
+ },
1985
+ scrollPaddingInline: {
1986
+ className: "scr-px",
1987
+ values: "spacing",
1988
+ group: "Scroll",
1989
+ shorthand: ["scrollPaddingX"]
1990
+ },
1991
+ scrollPaddingInlineEnd: {
1992
+ className: "scr-pe",
1993
+ values: "spacing",
1994
+ group: "Scroll"
1995
+ },
1996
+ scrollPaddingInlineStart: {
1997
+ className: "scr-ps",
1998
+ values: "spacing",
1999
+ group: "Scroll"
2000
+ },
2001
+ scrollPaddingLeft: {
2002
+ className: "scr-pl",
2003
+ values: "spacing",
2004
+ group: "Scroll"
2005
+ },
2006
+ scrollPaddingRight: {
2007
+ className: "scr-pr",
2008
+ values: "spacing",
2009
+ group: "Scroll"
2010
+ },
2011
+ scrollPaddingTop: {
2012
+ className: "scr-pt",
2013
+ values: "spacing",
2014
+ group: "Scroll"
2015
+ },
2016
+ scrollPaddingBottom: {
2017
+ className: "scr-pb",
2018
+ values: "spacing",
2019
+ group: "Scroll"
2020
+ },
2021
+ scrollSnapAlign: {
2022
+ className: "scr-sa",
2023
+ group: "Scroll"
2024
+ },
2025
+ scrollSnapStop: {
2026
+ className: "scrs-s",
2027
+ group: "Scroll"
2028
+ },
2029
+ scrollSnapType: {
2030
+ className: "scrs-t",
2031
+ group: "Scroll",
2032
+ values: {
2033
+ none: "none",
2034
+ x: "x var(--scroll-snap-strictness)",
2035
+ y: "y var(--scroll-snap-strictness)",
2036
+ both: "both var(--scroll-snap-strictness)"
2037
+ }
2038
+ },
2039
+ scrollSnapStrictness: {
2040
+ className: "scrs-strt",
2041
+ values: ["mandatory", "proximity"],
2042
+ group: "Scroll",
2043
+ globalVars: { "--scroll-snap-strictness": anyVar("proximity") },
2044
+ transform(value) {
2045
+ return { "--scroll-snap-strictness": value };
2046
+ }
2047
+ },
2048
+ scrollSnapMargin: {
2049
+ className: "scrs-m",
2050
+ values: "spacing",
2051
+ group: "Scroll"
2052
+ },
2053
+ scrollSnapMarginTop: {
2054
+ className: "scrs-mt",
2055
+ values: "spacing",
2056
+ group: "Scroll"
2057
+ },
2058
+ scrollSnapMarginBottom: {
2059
+ className: "scrs-mb",
2060
+ values: "spacing",
2061
+ group: "Scroll"
2062
+ },
2063
+ scrollSnapMarginLeft: {
2064
+ className: "scrs-ml",
2065
+ values: "spacing",
2066
+ group: "Scroll"
2067
+ },
2068
+ scrollSnapMarginRight: {
2069
+ className: "scrs-mr",
2070
+ values: "spacing",
2071
+ group: "Scroll"
2072
+ },
2073
+ scrollSnapCoordinate: {
2074
+ className: "scrs-c",
2075
+ group: "Scroll"
2076
+ },
2077
+ scrollSnapDestination: {
2078
+ className: "scrs-d",
2079
+ group: "Scroll"
2080
+ },
2081
+ scrollSnapPointsX: {
2082
+ className: "scrs-px",
2083
+ group: "Scroll"
2084
+ },
2085
+ scrollSnapPointsY: {
2086
+ className: "scrs-py",
2087
+ group: "Scroll"
2088
+ },
2089
+ scrollSnapTypeX: {
2090
+ className: "scrs-tx",
2091
+ group: "Scroll"
2092
+ },
2093
+ scrollSnapTypeY: {
2094
+ className: "scrs-ty",
2095
+ group: "Scroll"
2096
+ },
2097
+ scrollTimeline: {
2098
+ className: "scrtl",
2099
+ group: "Scroll"
2100
+ },
2101
+ scrollTimelineAxis: {
2102
+ className: "scrtl-a",
2103
+ group: "Scroll"
2104
+ },
2105
+ scrollTimelineName: {
2106
+ className: "scrtl-n",
2107
+ group: "Scroll"
2108
+ },
2109
+ touchAction: {
2110
+ className: "tch-a",
2111
+ group: "Interactivity"
2112
+ },
2113
+ userSelect: {
2114
+ className: "us",
2115
+ group: "Interactivity",
2116
+ transform(value) {
2117
+ return {
2118
+ WebkitUserSelect: value,
2119
+ userSelect: value
2120
+ };
2121
+ }
2122
+ },
2123
+ overflow: {
2124
+ className: "ov",
2125
+ group: "Scroll"
2126
+ },
2127
+ overflowWrap: {
2128
+ className: "ov-wrap",
2129
+ group: "Scroll"
2130
+ },
2131
+ overflowX: {
2132
+ className: "ov-x",
2133
+ group: "Scroll"
2134
+ },
2135
+ overflowY: {
2136
+ className: "ov-y",
2137
+ group: "Scroll"
2138
+ },
2139
+ overflowAnchor: {
2140
+ className: "ov-a",
2141
+ group: "Scroll"
2142
+ },
2143
+ overflowBlock: {
2144
+ className: "ov-b",
2145
+ group: "Scroll"
2146
+ },
2147
+ overflowInline: {
2148
+ className: "ov-i",
2149
+ group: "Scroll"
2150
+ },
2151
+ overflowClipBox: {
2152
+ className: "ovcp-bx",
2153
+ group: "Scroll"
2154
+ },
2155
+ overflowClipMargin: {
2156
+ className: "ovcp-m",
2157
+ group: "Scroll"
2158
+ },
2159
+ overscrollBehavior: {
2160
+ className: "ovs-b",
2161
+ group: "Scroll"
2162
+ },
2163
+ overscrollBehaviorX: {
2164
+ className: "ovs-bx",
2165
+ group: "Scroll"
2166
+ },
2167
+ overscrollBehaviorY: {
2168
+ className: "ovs-by",
2169
+ group: "Scroll"
2170
+ },
2171
+ overscrollBehaviorBlock: {
2172
+ className: "ovs-bb",
2173
+ group: "Scroll"
2174
+ },
2175
+ overscrollBehaviorInline: {
2176
+ className: "ovs-bi",
2177
+ group: "Scroll"
2178
+ }
2179
+ };
2180
+ var layout = {
2181
+ aspectRatio: {
2182
+ className: "asp",
2183
+ values: "aspectRatios",
2184
+ group: "Layout"
2185
+ },
2186
+ boxDecorationBreak: {
2187
+ className: "bx-db",
2188
+ group: "Layout",
2189
+ transform(value) {
2190
+ return {
2191
+ WebkitBoxDecorationBreak: value,
2192
+ boxDecorationBreak: value
2193
+ };
2194
+ }
2195
+ },
2196
+ zIndex: {
2197
+ className: "z",
2198
+ values: "zIndex",
2199
+ group: "Visibility"
2200
+ },
2201
+ boxSizing: {
2202
+ className: "bx-s",
2203
+ group: "System"
2204
+ },
2205
+ objectPosition: {
2206
+ className: "obj-p",
2207
+ group: "Layout"
2208
+ },
2209
+ objectFit: {
2210
+ className: "obj-f",
2211
+ group: "Layout"
2212
+ },
2213
+ overscrollBehavior: {
2214
+ className: "ovscl",
2215
+ group: "Scroll"
2216
+ },
2217
+ overscrollBehaviorX: {
2218
+ className: "ovscl-x",
2219
+ group: "Scroll"
2220
+ },
2221
+ overscrollBehaviorY: {
2222
+ className: "ovscl-y",
2223
+ group: "Scroll"
2224
+ },
2225
+ position: {
2226
+ className: "pos",
2227
+ shorthand: "pos",
2228
+ group: "Position"
2229
+ },
2230
+ top: {
2231
+ className: "top",
2232
+ values: "spacing",
2233
+ group: "Position"
2234
+ },
2235
+ left: {
2236
+ className: "left",
2237
+ values: "spacing",
2238
+ group: "Position"
2239
+ },
2240
+ inset: {
2241
+ className: "inset",
2242
+ group: "Position",
2243
+ values: (theme) => ({
2244
+ auto: "auto",
2245
+ ...theme("spacing")
2246
+ })
2247
+ },
2248
+ insetInline: {
2249
+ className: "inset-x",
2250
+ values: "spacing",
2251
+ group: "Position",
2252
+ shorthand: ["insetX"]
2253
+ },
2254
+ insetBlock: {
2255
+ className: "inset-y",
2256
+ values: "spacing",
2257
+ group: "Position",
2258
+ shorthand: ["insetY"]
2259
+ },
2260
+ insetBlockEnd: {
2261
+ className: "inset-be",
2262
+ values: "spacing",
2263
+ group: "Position"
2264
+ },
2265
+ insetBlockStart: {
2266
+ className: "inset-bs",
2267
+ values: "spacing",
2268
+ group: "Position"
2269
+ },
2270
+ insetInlineEnd: {
2271
+ className: "inset-e",
2272
+ values: "spacing",
2273
+ group: "Position",
2274
+ shorthand: ["insetEnd", "end"]
2275
+ },
2276
+ insetInlineStart: {
2277
+ className: "inset-s",
2278
+ values: "spacing",
2279
+ group: "Position",
2280
+ shorthand: ["insetStart", "start"]
2281
+ },
2282
+ right: {
2283
+ className: "right",
2284
+ values: "spacing",
2285
+ group: "Position"
2286
+ },
2287
+ bottom: {
2288
+ className: "bottom",
2289
+ values: "spacing",
2290
+ group: "Position"
2291
+ },
2292
+ float: {
2293
+ className: "float",
2294
+ values: ["start", "end"],
2295
+ property: "float",
2296
+ group: "Position",
2297
+ transform(value) {
2298
+ if (value === "start") return {
2299
+ float: "left",
2300
+ "[dir=\"rtl\"] &": { float: "right" }
2301
+ };
2302
+ if (value === "end") return {
2303
+ float: "right",
2304
+ "[dir=\"rtl\"] &": { float: "left" }
2305
+ };
2306
+ return { float: value };
2307
+ }
2308
+ },
2309
+ visibility: {
2310
+ className: "vis",
2311
+ group: "Visibility"
2312
+ }
2313
+ };
2314
+ var list = {
2315
+ listStyleType: {
2316
+ className: "li-t",
2317
+ group: "List"
2318
+ },
2319
+ listStylePosition: {
2320
+ className: "li-pos",
2321
+ group: "List"
2322
+ },
2323
+ listStyleImage: {
2324
+ className: "li-img",
2325
+ group: "List",
2326
+ values: "assets"
2327
+ },
2328
+ listStyle: {
2329
+ className: "li-s",
2330
+ group: "List"
2331
+ }
2332
+ };
2333
+ var IDENTITY = "linear-gradient(#fff, #fff)";
2334
+ var maskVar = (name) => `var(--mask-${name})`;
2335
+ var LAYERS = [
2336
+ "linear",
2337
+ "radial",
2338
+ "conic"
2339
+ ];
2340
+ var EDGES = [
2341
+ "left",
2342
+ "right",
2343
+ "bottom",
2344
+ "top"
2345
+ ];
2346
+ var MASK_IMAGE = LAYERS.map(maskVar).join(", ");
2347
+ var MASK_EDGES = EDGES.map(maskVar).join(", ");
2348
+ var image = {
2349
+ syntax: "*",
2350
+ inherits: false,
2351
+ initialValue: IDENTITY
2352
+ };
2353
+ var composedList = {
2354
+ syntax: "*",
2355
+ inherits: false
2356
+ };
2357
+ var keyword = (initialValue) => ({
2358
+ syntax: "*",
2359
+ inherits: false,
2360
+ initialValue
2361
+ });
2362
+ var color = (initialValue) => ({
2363
+ syntax: "<color>",
2364
+ inherits: false,
2365
+ initialValue
2366
+ });
2367
+ var position = (initialValue) => ({
2368
+ syntax: "<length-percentage>",
2369
+ inherits: false,
2370
+ initialValue
2371
+ });
2372
+ function gradientVars(name) {
2373
+ return {
2374
+ [`--mask-${name}`]: image,
2375
+ [`--mask-${name}-from-color`]: color("black"),
2376
+ [`--mask-${name}-to-color`]: color("transparent"),
2377
+ [`--mask-${name}-from-position`]: position("0%"),
2378
+ [`--mask-${name}-to-position`]: position("100%")
2379
+ };
2380
+ }
2381
+ var maskVars = Object.assign({}, ...[...LAYERS, ...EDGES].map(gradientVars), ...LAYERS.map((layer) => ({ [`--mask-${layer}-stops`]: composedList })), {
2382
+ "--mask-linear-position": keyword("0deg"),
2383
+ "--mask-conic-position": keyword("0deg"),
2384
+ "--mask-radial-position": keyword("center"),
2385
+ "--mask-radial-shape": keyword("ellipse"),
2386
+ "--mask-radial-size": keyword("farthest-corner"),
2387
+ "--mask-composite": keyword("intersect"),
2388
+ "--mask-composite-webkit": keyword("source-in")
2389
+ });
2390
+ function cssProps(styles) {
2391
+ return styles;
2392
+ }
2393
+ function maskLayers(layers) {
2394
+ return {
2395
+ WebkitMaskImage: MASK_IMAGE,
2396
+ maskImage: MASK_IMAGE,
2397
+ WebkitMaskComposite: maskVar("composite-webkit"),
2398
+ maskComposite: maskVar("composite"),
2399
+ ...layers
2400
+ };
2401
+ }
2402
+ function stopList(name) {
2403
+ return `${maskVar(`${name}-from-color`)} ${maskVar(`${name}-from-position`)}, ${maskVar(`${name}-to-color`)} ${maskVar(`${name}-to-position`)}`;
2404
+ }
2405
+ function edgeLayers(edges) {
2406
+ const layers = { "--mask-linear": MASK_EDGES };
2407
+ for (const edge of edges) layers[`--mask-${edge}`] = `linear-gradient(to ${edge}, ${stopList(edge)})`;
2408
+ return maskLayers(layers);
2409
+ }
2410
+ var GEOMETRY = {
2411
+ linear: {
2412
+ fn: "linear-gradient",
2413
+ head: maskVar("linear-position")
2414
+ },
2415
+ radial: {
2416
+ fn: "radial-gradient",
2417
+ head: `${maskVar("radial-shape")} ${maskVar("radial-size")} at ${maskVar("radial-position")}`
2418
+ },
2419
+ conic: {
2420
+ fn: "conic-gradient",
2421
+ head: `from ${maskVar("conic-position")}`
2422
+ }
2423
+ };
2424
+ function gradientLayer(layer) {
2425
+ const { fn, head } = GEOMETRY[layer];
2426
+ return maskLayers({
2427
+ [`--mask-${layer}-stops`]: `${head}, ${stopList(layer)}`,
2428
+ [`--mask-${layer}`]: `${fn}(${maskVar(`${layer}-stops`)})`
2429
+ });
2430
+ }
2431
+ function positionStop(className, vars, wiring) {
2432
+ return {
2433
+ className,
2434
+ values: "spacing",
2435
+ group: "Mask",
2436
+ globalVars: maskVars,
2437
+ transform(value) {
2438
+ const stops = Object.fromEntries(vars.map((name) => [`--mask-${name}`, value]));
2439
+ return cssProps({
2440
+ ...wiring(),
2441
+ ...stops
2442
+ });
2443
+ }
2444
+ };
2445
+ }
2446
+ function colorStop(className, vars, wiring) {
2447
+ return {
2448
+ className,
2449
+ values: "colors",
2450
+ group: "Mask",
2451
+ globalVars: maskVars,
2452
+ transform(value, args) {
2453
+ const stops = {};
2454
+ for (const name of vars) Object.assign(stops, createColorMixTransform(`--mask-${name}`)(value, args));
2455
+ return cssProps({
2456
+ ...wiring(),
2457
+ ...stops
2458
+ });
2459
+ }
2460
+ };
2461
+ }
2462
+ function stopProps(prop, className, targets, wiring) {
2463
+ const vars = (suffix) => targets.map((target) => `${target}-${suffix}`);
2464
+ return {
2465
+ [`${prop}From`]: positionStop(`${className}-from`, vars("from-position"), wiring),
2466
+ [`${prop}To`]: positionStop(`${className}-to`, vars("to-position"), wiring),
2467
+ [`${prop}FromColor`]: colorStop(`${className}-from-c`, vars("from-color"), wiring),
2468
+ [`${prop}ToColor`]: colorStop(`${className}-to-c`, vars("to-color"), wiring)
2469
+ };
2470
+ }
2471
+ var edgeProps = Object.assign({}, ...[
2472
+ [
2473
+ "Top",
2474
+ "t",
2475
+ ["top"]
2476
+ ],
2477
+ [
2478
+ "Right",
2479
+ "r",
2480
+ ["right"]
2481
+ ],
2482
+ [
2483
+ "Bottom",
2484
+ "b",
2485
+ ["bottom"]
2486
+ ],
2487
+ [
2488
+ "Left",
2489
+ "l",
2490
+ ["left"]
2491
+ ],
2492
+ [
2493
+ "X",
2494
+ "x",
2495
+ ["left", "right"]
2496
+ ],
2497
+ [
2498
+ "Y",
2499
+ "y",
2500
+ ["top", "bottom"]
2501
+ ]
2502
+ ].map(([name, short, edges]) => stopProps(`mask${name}`, `msk-${short}`, edges, () => edgeLayers(edges))));
2503
+ var layerProps = (layer) => stopProps(`mask${layer[0].toUpperCase()}${layer.slice(1)}`, `msk-${layer}`, [layer], () => gradientLayer(layer));
2504
+ function prefixed(prop, className) {
2505
+ const webkit = `Webkit${prop[0].toUpperCase()}${prop.slice(1)}`;
2506
+ return {
2507
+ className,
2508
+ group: "Mask",
2509
+ transform(value) {
2510
+ return cssProps({
2511
+ [webkit]: value,
2512
+ [prop]: value
2513
+ });
2514
+ }
2515
+ };
2516
+ }
2517
+ var webkitMaskComposite = {
2518
+ add: "source-over",
2519
+ subtract: "source-out",
2520
+ intersect: "source-in",
2521
+ exclude: "xor"
2522
+ };
2523
+ var POSITION = {
2524
+ center: "center",
2525
+ top: "top",
2526
+ bottom: "bottom",
2527
+ left: "left",
2528
+ right: "right"
2529
+ };
2530
+ var linearDirectionMap = /* @__PURE__ */ new Map([
2531
+ ["to-t", "to top"],
2532
+ ["to-tr", "to top right"],
2533
+ ["to-r", "to right"],
2534
+ ["to-br", "to bottom right"],
2535
+ ["to-b", "to bottom"],
2536
+ ["to-bl", "to bottom left"],
2537
+ ["to-l", "to left"],
2538
+ ["to-tl", "to top left"]
2539
+ ]);
2540
+ var maskLinearValues = () => Object.fromEntries(linearDirectionMap.entries());
2541
+ function asAngle(raw, value) {
2542
+ if (/^-?\d+(\.\d+)?$/.test(raw)) return `${raw}deg`;
2543
+ return value;
2544
+ }
2545
+ var varOnly = (name, className, values) => ({
2546
+ className,
2547
+ group: "Mask",
2548
+ globalVars: maskVars,
2549
+ values,
2550
+ transform: (value) => ({ [`--mask-${name}`]: value })
2551
+ });
2552
+ var mask = {
2553
+ mask: prefixed("mask", "msk"),
2554
+ maskImage: prefixed("maskImage", "msk-i"),
2555
+ maskSize: prefixed("maskSize", "msk-s"),
2556
+ maskPosition: prefixed("maskPosition", "msk-p"),
2557
+ maskRepeat: prefixed("maskRepeat", "msk-r"),
2558
+ maskClip: prefixed("maskClip", "msk-cp"),
2559
+ maskOrigin: prefixed("maskOrigin", "msk-o"),
2560
+ maskComposite: {
2561
+ className: "msk-cmp",
2562
+ group: "Mask",
2563
+ globalVars: maskVars,
2564
+ transform(value) {
2565
+ return cssProps({
2566
+ "--mask-composite": value,
2567
+ "--mask-composite-webkit": webkitMaskComposite[value] ?? value,
2568
+ WebkitMaskComposite: maskVar("composite-webkit"),
2569
+ maskComposite: maskVar("composite")
2570
+ });
2571
+ }
2572
+ },
2573
+ maskMode: {
2574
+ className: "msk-md",
2575
+ group: "Mask"
2576
+ },
2577
+ maskType: {
2578
+ className: "msk-t",
2579
+ group: "Mask"
2580
+ },
2581
+ ...edgeProps,
2582
+ maskLinear: {
2583
+ className: "msk-linear",
2584
+ group: "Mask",
2585
+ globalVars: maskVars,
2586
+ values: maskLinearValues,
2587
+ transform(value, { raw }) {
2588
+ const angle = linearDirectionMap.get(String(raw)) ?? asAngle(String(raw), value);
2589
+ return cssProps({
2590
+ ...gradientLayer("linear"),
2591
+ "--mask-linear-position": angle
2592
+ });
2593
+ }
2594
+ },
2595
+ ...layerProps("linear"),
2596
+ maskRadial: {
2597
+ className: "msk-radial",
2598
+ group: "Mask",
2599
+ globalVars: maskVars,
2600
+ transform(value) {
2601
+ return cssProps({
2602
+ ...gradientLayer("radial"),
2603
+ "--mask-radial-size": value
2604
+ });
2605
+ }
2606
+ },
2607
+ ...layerProps("radial"),
2608
+ maskRadialAt: varOnly("radial-position", "msk-radial-at", {
2609
+ ...POSITION,
2610
+ "top left": "top left",
2611
+ "top right": "top right",
2612
+ "bottom left": "bottom left",
2613
+ "bottom right": "bottom right"
2614
+ }),
2615
+ maskRadialSize: varOnly("radial-size", "msk-radial-sz", {
2616
+ "closest-side": "closest-side",
2617
+ "closest-corner": "closest-corner",
2618
+ "farthest-side": "farthest-side",
2619
+ "farthest-corner": "farthest-corner"
2620
+ }),
2621
+ maskRadialShape: varOnly("radial-shape", "msk-radial-shape", {
2622
+ circle: "circle",
2623
+ ellipse: "ellipse"
2624
+ }),
2625
+ maskConic: {
2626
+ className: "msk-conic",
2627
+ group: "Mask",
2628
+ globalVars: maskVars,
2629
+ transform(value, { raw }) {
2630
+ return cssProps({
2631
+ ...gradientLayer("conic"),
2632
+ "--mask-conic-position": asAngle(String(raw), value)
2633
+ });
2634
+ }
2635
+ },
2636
+ ...layerProps("conic")
2637
+ };
2638
+ var outline = {
2639
+ outlineWidth: {
2640
+ className: "ring-w",
2641
+ shorthand: "ringWidth",
2642
+ values: "borderWidths",
2643
+ group: "Border"
2644
+ },
2645
+ outlineColor: {
2646
+ className: "ring-c",
2647
+ values: "colors",
2648
+ group: "Color",
2649
+ shorthand: "ringColor",
2650
+ transform: createColorMixTransform("outlineColor")
2651
+ },
2652
+ outline: {
2653
+ className: "ring",
2654
+ shorthand: "ring",
2655
+ values: "borders",
2656
+ group: "Border",
2657
+ transform(value) {
2658
+ if (value === "none") return {
2659
+ outline: "2px solid transparent",
2660
+ outlineOffset: "2px"
2661
+ };
2662
+ return { outline: value };
2663
+ }
2664
+ },
2665
+ outlineOffset: {
2666
+ className: "ring-o",
2667
+ shorthand: "ringOffset",
2668
+ values: "spacing",
2669
+ group: "Border"
2670
+ }
2671
+ };
2672
+ var polyfill = {
2673
+ appearance: {
2674
+ className: "ap",
2675
+ group: "Visibility",
2676
+ transform(value) {
2677
+ return {
2678
+ WebkitAppearance: value,
2679
+ appearance: value
2680
+ };
2681
+ }
2682
+ },
2683
+ backfaceVisibility: {
2684
+ className: "bfv",
2685
+ group: "Visibility",
2686
+ transform(value) {
2687
+ return {
2688
+ WebkitBackfaceVisibility: value,
2689
+ backfaceVisibility: value
2690
+ };
2691
+ }
2692
+ },
2693
+ clipPath: {
2694
+ className: "cp-path",
2695
+ group: "Other",
2696
+ transform(value) {
2697
+ return {
2698
+ WebkitClipPath: value,
2699
+ clipPath: value
2700
+ };
2701
+ }
2702
+ },
2703
+ hyphens: {
2704
+ className: "hy",
2705
+ group: "Other",
2706
+ transform(value) {
2707
+ return {
2708
+ WebkitHyphens: value,
2709
+ hyphens: value
2710
+ };
2711
+ }
2712
+ },
2713
+ textSizeAdjust: {
2714
+ className: "txt-adj",
2715
+ group: "Typography",
2716
+ transform(value) {
2717
+ return {
2718
+ WebkitTextSizeAdjust: value,
2719
+ textSizeAdjust: value
2720
+ };
2721
+ }
2722
+ }
2723
+ };
2724
+ var widthValues = (theme) => ({
2725
+ auto: "auto",
2726
+ ...theme("sizes"),
2727
+ "1/2": "50%",
2728
+ "1/3": "33.333333%",
2729
+ "2/3": "66.666667%",
2730
+ "1/4": "25%",
2731
+ "2/4": "50%",
2732
+ "3/4": "75%",
2733
+ "1/5": "20%",
2734
+ "2/5": "40%",
2735
+ "3/5": "60%",
2736
+ "4/5": "80%",
2737
+ "1/6": "16.666667%",
2738
+ "2/6": "33.333333%",
2739
+ "3/6": "50%",
2740
+ "4/6": "66.666667%",
2741
+ "5/6": "83.333333%",
2742
+ "1/12": "8.333333%",
2743
+ "2/12": "16.666667%",
2744
+ "3/12": "25%",
2745
+ "4/12": "33.333333%",
2746
+ "5/12": "41.666667%",
2747
+ "6/12": "50%",
2748
+ "7/12": "58.333333%",
2749
+ "8/12": "66.666667%",
2750
+ "9/12": "75%",
2751
+ "10/12": "83.333333%",
2752
+ "11/12": "91.666667%",
2753
+ screen: "100vw"
2754
+ });
2755
+ var heightValues = (theme) => ({
2756
+ auto: "auto",
2757
+ ...theme("sizes"),
2758
+ svh: "100svh",
2759
+ lvh: "100lvh",
2760
+ dvh: "100dvh",
2761
+ screen: "100vh",
2762
+ "1/2": "50%",
2763
+ "1/3": "33.333333%",
2764
+ "2/3": "66.666667%",
2765
+ "1/4": "25%",
2766
+ "2/4": "50%",
2767
+ "3/4": "75%",
2768
+ "1/5": "20%",
2769
+ "2/5": "40%",
2770
+ "3/5": "60%",
2771
+ "4/5": "80%",
2772
+ "1/6": "16.666667%",
2773
+ "2/6": "33.333333%",
2774
+ "3/6": "50%",
2775
+ "4/6": "66.666667%",
2776
+ "5/6": "83.333333%"
2777
+ });
2778
+ var sizing = {
2779
+ width: {
2780
+ shorthand: "w",
2781
+ className: "w",
2782
+ group: "Width",
2783
+ values: widthValues
2784
+ },
2785
+ inlineSize: {
2786
+ className: "w-is",
2787
+ group: "Width",
2788
+ values: widthValues
2789
+ },
2790
+ minWidth: {
2791
+ shorthand: "minW",
2792
+ className: "min-w",
2793
+ group: "Width",
2794
+ values: widthValues
2795
+ },
2796
+ minInlineSize: {
2797
+ className: "min-w-is",
2798
+ group: "Width",
2799
+ values: widthValues
2800
+ },
2801
+ maxWidth: {
2802
+ shorthand: "maxW",
2803
+ className: "max-w",
2804
+ group: "Width",
2805
+ values: widthValues
2806
+ },
2807
+ maxInlineSize: {
2808
+ className: "max-w-is",
2809
+ group: "Width",
2810
+ values: widthValues
2811
+ },
2812
+ height: {
2813
+ shorthand: "h",
2814
+ className: "h",
2815
+ group: "Height",
2816
+ values: heightValues
2817
+ },
2818
+ blockSize: {
2819
+ className: "h-bs",
2820
+ group: "Height",
2821
+ values: heightValues
2822
+ },
2823
+ minHeight: {
2824
+ shorthand: "minH",
2825
+ className: "min-h",
2826
+ group: "Height",
2827
+ values: heightValues
2828
+ },
2829
+ minBlockSize: {
2830
+ className: "min-h-bs",
2831
+ group: "Height",
2832
+ values: heightValues
2833
+ },
2834
+ maxHeight: {
2835
+ shorthand: "maxH",
2836
+ className: "max-h",
2837
+ group: "Height",
2838
+ values: heightValues
2839
+ },
2840
+ maxBlockSize: {
2841
+ className: "max-b",
2842
+ group: "Height",
2843
+ values: heightValues
2844
+ },
2845
+ boxSize: {
2846
+ className: "size",
2847
+ group: "Width",
2848
+ values: widthValues,
2849
+ transform(value) {
2850
+ return {
2851
+ width: value,
2852
+ height: value
2853
+ };
2854
+ }
2855
+ }
2856
+ };
2857
+ var marginValues = (theme) => ({
2858
+ auto: "auto",
2859
+ ...theme("spacing")
2860
+ });
2861
+ var spacing$1 = {
2862
+ padding: {
2863
+ className: "p",
2864
+ shorthand: "p",
2865
+ values: "spacing",
2866
+ group: "Padding"
2867
+ },
2868
+ paddingLeft: {
2869
+ className: "pl",
2870
+ shorthand: "pl",
2871
+ values: "spacing",
2872
+ group: "Padding"
2873
+ },
2874
+ paddingRight: {
2875
+ className: "pr",
2876
+ shorthand: "pr",
2877
+ values: "spacing",
2878
+ group: "Padding"
2879
+ },
2880
+ paddingTop: {
2881
+ className: "pt",
2882
+ shorthand: "pt",
2883
+ values: "spacing",
2884
+ group: "Padding"
2885
+ },
2886
+ paddingBottom: {
2887
+ className: "pb",
2888
+ shorthand: "pb",
2889
+ values: "spacing",
2890
+ group: "Padding"
2891
+ },
2892
+ paddingBlock: {
2893
+ className: "py",
2894
+ values: "spacing",
2895
+ group: "Padding",
2896
+ shorthand: ["py", "paddingY"]
2897
+ },
2898
+ paddingBlockEnd: {
2899
+ className: "pbe",
2900
+ values: "spacing",
2901
+ group: "Padding"
2902
+ },
2903
+ paddingBlockStart: {
2904
+ className: "pbs",
2905
+ values: "spacing",
2906
+ group: "Padding"
2907
+ },
2908
+ paddingInline: {
2909
+ className: "px",
2910
+ values: "spacing",
2911
+ group: "Padding",
2912
+ shorthand: ["paddingX", "px"]
2913
+ },
2914
+ paddingInlineEnd: {
2915
+ className: "pe",
2916
+ shorthand: ["pe", "paddingEnd"],
2917
+ values: "spacing",
2918
+ group: "Padding"
2919
+ },
2920
+ paddingInlineStart: {
2921
+ className: "ps",
2922
+ shorthand: ["ps", "paddingStart"],
2923
+ values: "spacing",
2924
+ group: "Padding"
2925
+ },
2926
+ marginLeft: {
2927
+ className: "ml",
2928
+ shorthand: "ml",
2929
+ values: marginValues,
2930
+ group: "Margin"
2931
+ },
2932
+ marginRight: {
2933
+ className: "mr",
2934
+ shorthand: "mr",
2935
+ values: marginValues,
2936
+ group: "Margin"
2937
+ },
2938
+ marginTop: {
2939
+ className: "mt",
2940
+ shorthand: "mt",
2941
+ values: marginValues,
2942
+ group: "Margin"
2943
+ },
2944
+ marginBottom: {
2945
+ className: "mb",
2946
+ shorthand: "mb",
2947
+ values: marginValues,
2948
+ group: "Margin"
2949
+ },
2950
+ margin: {
2951
+ className: "m",
2952
+ shorthand: "m",
2953
+ values: marginValues,
2954
+ group: "Margin"
2955
+ },
2956
+ marginBlock: {
2957
+ className: "my",
2958
+ values: marginValues,
2959
+ group: "Margin",
2960
+ shorthand: ["my", "marginY"]
2961
+ },
2962
+ marginBlockEnd: {
2963
+ className: "mbe",
2964
+ values: marginValues,
2965
+ group: "Margin"
2966
+ },
2967
+ marginBlockStart: {
2968
+ className: "mbs",
2969
+ values: marginValues,
2970
+ group: "Margin"
2971
+ },
2972
+ marginInline: {
2973
+ className: "mx",
2974
+ values: marginValues,
2975
+ group: "Margin",
2976
+ shorthand: ["mx", "marginX"]
2977
+ },
2978
+ marginInlineEnd: {
2979
+ className: "me",
2980
+ shorthand: ["me", "marginEnd"],
2981
+ values: marginValues,
2982
+ group: "Margin"
2983
+ },
2984
+ marginInlineStart: {
2985
+ className: "ms",
2986
+ shorthand: ["ms", "marginStart"],
2987
+ values: marginValues,
2988
+ group: "Margin"
2989
+ },
2990
+ spaceX: {
2991
+ className: "sx",
2992
+ values: marginValues,
2993
+ property: "marginInlineStart",
2994
+ group: "Margin",
2995
+ transform(value) {
2996
+ return { "& > :not([hidden]) ~ :not([hidden])": {
2997
+ marginInlineStart: value,
2998
+ marginInlineEnd: "0px"
2999
+ } };
3000
+ }
3001
+ },
3002
+ spaceY: {
3003
+ className: "sy",
3004
+ values: marginValues,
3005
+ property: "marginBlockStart",
3006
+ group: "Margin",
3007
+ transform(value) {
3008
+ return { "& > :not([hidden]) ~ :not([hidden])": {
3009
+ marginTop: value,
3010
+ marginBottom: "0px"
3011
+ } };
3012
+ }
3013
+ }
3014
+ };
3015
+ var svg = {
3016
+ fill: {
3017
+ className: "fill",
3018
+ values: "colors",
3019
+ group: "Color",
3020
+ transform: createColorMixTransform("fill")
3021
+ },
3022
+ stroke: {
3023
+ className: "stk",
3024
+ values: "colors",
3025
+ group: "Color",
3026
+ transform: createColorMixTransform("stroke")
3027
+ },
3028
+ strokeWidth: {
3029
+ className: "stk-w",
3030
+ values: "borderWidths",
3031
+ group: "Border"
3032
+ },
3033
+ strokeDasharray: {
3034
+ className: "stk-dsh",
3035
+ group: "Border"
3036
+ },
3037
+ strokeDashoffset: {
3038
+ className: "stk-do",
3039
+ group: "Border"
3040
+ },
3041
+ strokeLinecap: {
3042
+ className: "stk-lc",
3043
+ group: "Border"
3044
+ },
3045
+ strokeLinejoin: {
3046
+ className: "stk-lj",
3047
+ group: "Border"
3048
+ },
3049
+ strokeMiterlimit: {
3050
+ className: "stk-ml",
3051
+ group: "Border"
3052
+ },
3053
+ strokeOpacity: {
3054
+ className: "stk-op",
3055
+ group: "Border"
3056
+ }
3057
+ };
3058
+ var tables = {
3059
+ borderCollapse: {
3060
+ className: "bd-cl",
3061
+ group: "Table"
3062
+ },
3063
+ borderSpacing: {
3064
+ className: "bd-sp",
3065
+ group: "Table",
3066
+ values(theme) {
3067
+ return {
3068
+ ...theme("spacing"),
3069
+ auto: "var(--border-spacing-x) var(--border-spacing-y)"
3070
+ };
3071
+ }
3072
+ },
3073
+ borderSpacingX: {
3074
+ className: "bd-sx",
3075
+ values: "spacing",
3076
+ group: "Table",
3077
+ globalVars: { "--border-spacing-x": cssVar("<length>", "0") },
3078
+ transform(value) {
3079
+ return { "--border-spacing-x": value };
3080
+ }
3081
+ },
3082
+ borderSpacingY: {
3083
+ className: "bd-sy",
3084
+ values: "spacing",
3085
+ group: "Table",
3086
+ globalVars: { "--border-spacing-y": cssVar("<length>", "0") },
3087
+ transform(value) {
3088
+ return { "--border-spacing-y": value };
3089
+ }
3090
+ },
3091
+ tableLayout: {
3092
+ className: "tbl",
3093
+ group: "Table"
3094
+ }
3095
+ };
3096
+ var length = () => cssVar("<length-percentage>", "0");
3097
+ var ROTATE_AXES = [
3098
+ "x",
3099
+ "y",
3100
+ "z"
3101
+ ].map((axis) => `var(--rotate-${axis},)`).join(" ");
3102
+ var positiveFractions = {
3103
+ "1/2": "50%",
3104
+ "1/3": "33.333333%",
3105
+ "2/3": "66.666667%",
3106
+ "1/4": "25%",
3107
+ "2/4": "50%",
3108
+ "3/4": "75%",
3109
+ full: "100%"
3110
+ };
3111
+ var negativeFractions = Object.fromEntries(Object.entries(positiveFractions).map(([key, value]) => [`-${key}`, `-${value}`]));
3112
+ var fractions = {
3113
+ ...positiveFractions,
3114
+ ...negativeFractions
3115
+ };
3116
+ var transforms = {
3117
+ transformOrigin: {
3118
+ className: "trf-o",
3119
+ group: "Transform"
3120
+ },
3121
+ transformBox: {
3122
+ className: "trf-b",
3123
+ group: "Transform"
3124
+ },
3125
+ transformStyle: {
3126
+ className: "trf-s",
3127
+ group: "Transform"
3128
+ },
3129
+ transform: {
3130
+ className: "trf",
3131
+ group: "Transform"
3132
+ },
3133
+ rotate: {
3134
+ className: "rotate",
3135
+ group: "Transform",
3136
+ property: "rotate",
3137
+ values: {
3138
+ auto: "auto",
3139
+ "auto-3d": "auto"
3140
+ },
3141
+ transform(value) {
3142
+ return value === "auto" ? { transform: ROTATE_AXES } : { rotate: value };
3143
+ }
3144
+ },
3145
+ rotateX: {
3146
+ className: "rotate-x",
3147
+ group: "Transform",
3148
+ property: "rotate",
3149
+ globalVars: { "--rotate-x": anyVar() },
3150
+ transform(value) {
3151
+ return { "--rotate-x": `rotateX(${value})` };
3152
+ }
3153
+ },
3154
+ rotateY: {
3155
+ className: "rotate-y",
3156
+ group: "Transform",
3157
+ property: "rotate",
3158
+ globalVars: { "--rotate-y": anyVar() },
3159
+ transform(value) {
3160
+ return { "--rotate-y": `rotateY(${value})` };
3161
+ }
3162
+ },
3163
+ rotateZ: {
3164
+ className: "rotate-z",
3165
+ group: "Transform",
3166
+ property: "rotate",
3167
+ globalVars: { "--rotate-z": anyVar() },
3168
+ transform(value) {
3169
+ return { "--rotate-z": `rotateZ(${value})` };
3170
+ }
3171
+ },
3172
+ scale: {
3173
+ className: "scale",
3174
+ group: "Transform",
3175
+ property: "scale",
3176
+ values: { auto: "var(--scale-x) var(--scale-y)" }
3177
+ },
3178
+ scaleX: {
3179
+ className: "scale-x",
3180
+ group: "Transform",
3181
+ globalVars: { "--scale-x": anyVar("1") },
3182
+ transform(value) {
3183
+ return { "--scale-x": value };
3184
+ }
3185
+ },
3186
+ scaleY: {
3187
+ className: "scale-y",
3188
+ group: "Transform",
3189
+ globalVars: { "--scale-y": anyVar("1") },
3190
+ transform(value) {
3191
+ return { "--scale-y": value };
3192
+ }
3193
+ },
3194
+ translate: {
3195
+ className: "translate",
3196
+ group: "Transform",
3197
+ property: "translate",
3198
+ values: {
3199
+ auto: "var(--translate-x) var(--translate-y)",
3200
+ "auto-3d": "var(--translate-x) var(--translate-y) var(--translate-z)"
3201
+ }
3202
+ },
3203
+ translateX: {
3204
+ shorthand: "x",
3205
+ className: "translate-x",
3206
+ group: "Transform",
3207
+ globalVars: { "--translate-x": length() },
3208
+ values(theme) {
3209
+ return {
3210
+ ...theme("spacing"),
3211
+ ...fractions
3212
+ };
3213
+ },
3214
+ transform(value) {
3215
+ return { "--translate-x": value };
3216
+ }
3217
+ },
3218
+ translateY: {
3219
+ shorthand: "y",
3220
+ className: "translate-y",
3221
+ group: "Transform",
3222
+ globalVars: { "--translate-y": length() },
3223
+ values(theme) {
3224
+ return {
3225
+ ...theme("spacing"),
3226
+ ...fractions
3227
+ };
3228
+ },
3229
+ transform(value) {
3230
+ return { "--translate-y": value };
3231
+ }
3232
+ },
3233
+ translateZ: {
3234
+ shorthand: "z",
3235
+ className: "translate-z",
3236
+ group: "Transform",
3237
+ globalVars: { "--translate-z": cssVar("<length>", "0") },
3238
+ values(theme) {
3239
+ return theme("spacing");
3240
+ },
3241
+ transform(value) {
3242
+ return { "--translate-z": value };
3243
+ }
3244
+ }
3245
+ };
3246
+ var createTransition = (value) => ({
3247
+ transitionProperty: `var(--transition-prop, ${value})`,
3248
+ transitionTimingFunction: "var(--transition-easing, cubic-bezier(0.4, 0, 0.2, 1))",
3249
+ transitionDuration: "var(--transition-duration, 150ms)"
3250
+ });
3251
+ var transitionMap = {
3252
+ all: createTransition("all"),
3253
+ common: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter"),
3254
+ size: createTransition("width, height, min-width, max-width, min-height, max-height"),
3255
+ position: createTransition("left, right, top, bottom, inset, inset-inline, inset-block"),
3256
+ background: createTransition("background, background-color, background-image, background-position"),
3257
+ colors: createTransition("color, background-color, border-color, outline-color, text-decoration-color, fill, stroke"),
3258
+ opacity: createTransition("opacity"),
3259
+ shadow: createTransition("box-shadow"),
3260
+ transform: createTransition("transform")
3261
+ };
3262
+ var transitions = {
3263
+ transitionTimingFunction: {
3264
+ className: "trs-tmf",
3265
+ values: "easings",
3266
+ group: "Transition",
3267
+ transform(value) {
3268
+ return {
3269
+ "--transition-easing": value,
3270
+ transitionTimingFunction: value
3271
+ };
3272
+ }
3273
+ },
3274
+ transitionDelay: {
3275
+ className: "trs-dly",
3276
+ values: "durations",
3277
+ group: "Transition"
3278
+ },
3279
+ transitionDuration: {
3280
+ className: "trs-dur",
3281
+ values: "durations",
3282
+ group: "Transition",
3283
+ transform(value) {
3284
+ return {
3285
+ "--transition-duration": value,
3286
+ transitionDuration: value
3287
+ };
3288
+ }
3289
+ },
3290
+ transitionProperty: {
3291
+ className: "trs-prop",
3292
+ group: "Transition",
3293
+ values: {
3294
+ common: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
3295
+ colors: "color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",
3296
+ size: "width, height, min-width, max-width, min-height, max-height",
3297
+ position: "left, right, top, bottom, inset, inset-inline, inset-block",
3298
+ background: "background, background-color, background-image, background-position"
3299
+ },
3300
+ transform(value) {
3301
+ return {
3302
+ "--transition-prop": value,
3303
+ transitionProperty: value
3304
+ };
3305
+ }
3306
+ },
3307
+ transition: {
3308
+ className: "trs",
3309
+ values: Object.keys(transitionMap),
3310
+ group: "Transition",
3311
+ transform(value) {
3312
+ return transitionMap[value] ?? { transition: value };
3313
+ }
3314
+ },
3315
+ animation: {
3316
+ className: "anim",
3317
+ values: "animations",
3318
+ group: "Animation"
3319
+ },
3320
+ animationName: {
3321
+ className: "anim-n",
3322
+ values: "keyframes",
3323
+ group: "Animation"
3324
+ },
3325
+ animationTimingFunction: {
3326
+ className: "anim-tmf",
3327
+ values: "easings",
3328
+ group: "Animation"
3329
+ },
3330
+ animationDuration: {
3331
+ className: "anim-dur",
3332
+ values: "durations",
3333
+ group: "Animation"
3334
+ },
3335
+ animationDelay: {
3336
+ className: "anim-dly",
3337
+ values: "durations",
3338
+ group: "Animation"
3339
+ },
3340
+ animationPlayState: {
3341
+ className: "anim-ps",
3342
+ group: "Animation"
3343
+ },
3344
+ animationComposition: {
3345
+ className: "anim-comp",
3346
+ group: "Animation"
3347
+ },
3348
+ animationFillMode: {
3349
+ className: "anim-fm",
3350
+ group: "Animation"
3351
+ },
3352
+ animationDirection: {
3353
+ className: "anim-dir",
3354
+ group: "Animation"
3355
+ },
3356
+ animationIterationCount: {
3357
+ className: "anim-ic",
3358
+ group: "Animation"
3359
+ },
3360
+ animationRange: {
3361
+ className: "anim-r",
3362
+ group: "Animation"
3363
+ },
3364
+ animationState: {
3365
+ className: "anim-s",
3366
+ group: "Animation"
3367
+ },
3368
+ animationRangeStart: {
3369
+ className: "anim-rs",
3370
+ group: "Animation"
3371
+ },
3372
+ animationRangeEnd: {
3373
+ className: "anim-re",
3374
+ group: "Animation"
3375
+ },
3376
+ animationTimeline: {
3377
+ className: "anim-tl",
3378
+ group: "Animation"
3379
+ }
3380
+ };
3381
+ var typography = {
3382
+ color: {
3383
+ className: "c",
3384
+ values: "colors",
3385
+ group: "Color",
3386
+ transform: createColorMixTransform("color")
3387
+ },
3388
+ fontFamily: {
3389
+ className: "ff",
3390
+ values: "fonts",
3391
+ group: "Typography"
3392
+ },
3393
+ fontSize: {
3394
+ className: "fs",
3395
+ values: "fontSizes",
3396
+ group: "Typography"
3397
+ },
3398
+ fontSizeAdjust: {
3399
+ className: "fs-a",
3400
+ group: "Typography"
3401
+ },
3402
+ fontPalette: {
3403
+ className: "fp",
3404
+ group: "Typography"
3405
+ },
3406
+ fontKerning: {
3407
+ className: "fk",
3408
+ group: "Typography"
3409
+ },
3410
+ fontFeatureSettings: {
3411
+ className: "ff-s",
3412
+ group: "Typography"
3413
+ },
3414
+ fontWeight: {
3415
+ className: "fw",
3416
+ values: "fontWeights",
3417
+ group: "Typography"
3418
+ },
3419
+ fontSmoothing: {
3420
+ className: "fsmt",
3421
+ group: "Typography",
3422
+ values: {
3423
+ antialiased: "antialiased",
3424
+ "subpixel-antialiased": "auto"
3425
+ },
3426
+ transform(value) {
3427
+ return { WebkitFontSmoothing: value };
3428
+ }
3429
+ },
3430
+ fontVariant: {
3431
+ className: "fv",
3432
+ group: "Typography"
3433
+ },
3434
+ fontVariantAlternates: {
3435
+ className: "fv-alt",
3436
+ group: "Typography"
3437
+ },
3438
+ fontVariantCaps: {
3439
+ className: "fv-caps",
3440
+ group: "Typography"
3441
+ },
3442
+ fontVariationSettings: {
3443
+ className: "fv-s",
3444
+ group: "Typography"
3445
+ },
3446
+ fontVariantNumeric: {
3447
+ className: "fv-num",
3448
+ group: "Typography"
3449
+ },
3450
+ letterSpacing: {
3451
+ className: "ls",
3452
+ values: "letterSpacings",
3453
+ group: "Typography"
3454
+ },
3455
+ lineHeight: {
3456
+ className: "lh",
3457
+ values: "lineHeights",
3458
+ group: "Typography"
3459
+ },
3460
+ textAlign: {
3461
+ className: "ta",
3462
+ group: "Typography"
3463
+ },
3464
+ textDecoration: {
3465
+ className: "td",
3466
+ group: "Typography"
3467
+ },
3468
+ textDecorationColor: {
3469
+ className: "td-c",
3470
+ values: "colors",
3471
+ transform: createColorMixTransform("textDecorationColor"),
3472
+ group: "Typography"
3473
+ },
3474
+ textEmphasisColor: {
3475
+ className: "te-c",
3476
+ values: "colors",
3477
+ transform: createColorMixTransform("textEmphasisColor"),
3478
+ group: "Typography"
3479
+ },
3480
+ textDecorationStyle: {
3481
+ className: "td-s",
3482
+ group: "Typography"
3483
+ },
3484
+ textDecorationThickness: {
3485
+ className: "td-t",
3486
+ group: "Typography"
3487
+ },
3488
+ textUnderlineOffset: {
3489
+ className: "tu-o",
3490
+ group: "Typography"
3491
+ },
3492
+ textTransform: {
3493
+ className: "tt",
3494
+ group: "Typography"
3495
+ },
3496
+ textIndent: {
3497
+ className: "ti",
3498
+ group: "Typography",
3499
+ values: "spacing"
3500
+ },
3501
+ textShadow: {
3502
+ className: "tsh",
3503
+ values: "shadows",
3504
+ group: "Typography"
3505
+ },
3506
+ textShadowColor: {
3507
+ shorthand: "textShadowColor",
3508
+ className: "tsh-c",
3509
+ values: "colors",
3510
+ transform: createColorMixTransform("--text-shadow-color"),
3511
+ group: "Typography"
3512
+ },
3513
+ WebkitTextFillColor: {
3514
+ className: "wktf-c",
3515
+ values: "colors",
3516
+ transform: createColorMixTransform("WebkitTextFillColor"),
3517
+ group: "Typography"
3518
+ },
3519
+ textOverflow: {
3520
+ className: "tov",
3521
+ group: "Typography"
3522
+ },
3523
+ verticalAlign: {
3524
+ className: "va",
3525
+ group: "Typography"
3526
+ },
3527
+ wordBreak: {
3528
+ className: "wb",
3529
+ group: "Typography"
3530
+ },
3531
+ textWrap: {
3532
+ className: "tw",
3533
+ group: "Typography"
3534
+ },
3535
+ truncate: {
3536
+ className: "trunc",
3537
+ values: { type: "boolean" },
3538
+ group: "Typography",
3539
+ transform(value) {
3540
+ if (!value) return {};
3541
+ return {
3542
+ overflow: "hidden",
3543
+ textOverflow: "ellipsis",
3544
+ whiteSpace: "nowrap"
3545
+ };
3546
+ }
3547
+ },
3548
+ lineClamp: {
3549
+ className: "lc",
3550
+ group: "Typography",
3551
+ transform(value) {
3552
+ if (value === "none") return { WebkitLineClamp: "unset" };
3553
+ return {
3554
+ overflow: "hidden",
3555
+ display: "-webkit-box",
3556
+ WebkitLineClamp: value,
3557
+ WebkitBoxOrient: "vertical"
3558
+ };
3559
+ }
3560
+ }
3561
+ };
3562
+ var utilities = Object.assign({}, layout, mask, display, flexGrid, spacing$1, outline, focusRing, divide, sizing, typography, list, background, backgroundGradients, border, effects, tables, transitions, transforms, interactivity, svg, helpers, polyfill, container2, cursor);
3563
+ var definePreset = (preset2) => preset2;
3564
+ var index_default = definePreset({
3565
+ name: "@pandacss/preset-base",
3566
+ conditions,
3567
+ utilities,
3568
+ patterns
3569
+ });
3570
+ //#endregion
3571
+ //#region packages/preset/src/tokens/breakpoints.ts
3572
+ const breakpoints = {
3573
+ "3xs": "360px",
3574
+ "2xs": "420px",
3575
+ "xs": "520px",
3576
+ "sm": "640px",
3577
+ "md": "768px",
3578
+ "lg": "1024px",
3579
+ "xl": "1280px",
3580
+ "2xl": "1440px",
3581
+ "3xl": "1640px",
3582
+ "4xl": "1920px"
3583
+ };
3584
+ //#endregion
3585
+ //#region packages/preset/src/tokens/colors.ts
3586
+ const colors$1 = defineTokens.colors({
3587
+ white: {
3588
+ value: "#FFFFFF",
3589
+ description: "This is the primary white color used in our design system"
3590
+ },
3591
+ black: {
3592
+ value: "#000000",
3593
+ description: "This is the primary black color used in our design system"
3594
+ },
3595
+ transparent: {
3596
+ value: "#00000000",
3597
+ description: "This is the transparent color used in our design system"
3598
+ },
3599
+ brand: {
3600
+ 50: {
3601
+ value: "#FDF1EB",
3602
+ description: "Lightest brand tint, referenced as primary-pale"
3603
+ },
3604
+ 100: { value: "#FFD9CE" },
3605
+ 200: { value: "#FFBAAA" },
3606
+ 300: { value: "#FD9B85" },
3607
+ 400: {
3608
+ value: "#f87960",
3609
+ description: "The Webflare brand color, referenced as primary"
3610
+ },
3611
+ 500: { value: "#E75F45" },
3612
+ 600: { value: "#C6543F" },
3613
+ 700: { value: "#A44C3B" },
3614
+ 800: { value: "#834235" },
3615
+ 900: { value: "#66382E" }
3616
+ },
3617
+ red: {
3618
+ 50: { value: "#fef2f2" },
3619
+ 100: { value: "#fee2e2" },
3620
+ 200: { value: "#fecaca" },
3621
+ 300: { value: "#fca5a5" },
3622
+ 400: { value: "#f87171" },
3623
+ 500: { value: "#ef4444" },
3624
+ 600: { value: "#dc2626" },
3625
+ 700: { value: "#b91c1c" },
3626
+ 800: { value: "#991b1b" },
3627
+ 900: { value: "#7f1d1d" },
3628
+ 950: { value: "#450a0a" }
3629
+ },
3630
+ green: {
3631
+ 50: { value: "#f0fdf4" },
3632
+ 100: { value: "#dcfce7" },
3633
+ 200: { value: "#bbf7d0" },
3634
+ 300: { value: "#86efac" },
3635
+ 400: { value: "#4ade80" },
3636
+ 500: { value: "#22c55e" },
3637
+ 600: { value: "#16a34a" },
3638
+ 700: { value: "#15803d" },
3639
+ 800: { value: "#166534" },
3640
+ 900: { value: "#14532d" },
3641
+ 950: { value: "#052e16" }
3642
+ },
3643
+ blue: {
3644
+ 50: { value: "#eff6ff" },
3645
+ 100: { value: "#dbeafe" },
3646
+ 200: { value: "#bfdbfe" },
3647
+ 300: { value: "#93c5fd" },
3648
+ 400: { value: "#60a5fa" },
3649
+ 500: { value: "#3b82f6" },
3650
+ 600: { value: "#2563eb" },
3651
+ 700: { value: "#1d4ed8" },
3652
+ 800: { value: "#1e40af" },
3653
+ 900: { value: "#1e3a8a" },
3654
+ 950: { value: "#172554" }
3655
+ },
3656
+ yellow: {
3657
+ 50: { value: "#fffbeb" },
3658
+ 100: { value: "#fef3c7" },
3659
+ 200: { value: "#fde68a" },
3660
+ 300: { value: "#fcd34d" },
3661
+ 400: { value: "#fbbf24" },
3662
+ 500: { value: "#f59e0b" },
3663
+ 600: { value: "#d97706" },
3664
+ 700: { value: "#b45309" },
3665
+ 800: { value: "#92400e" },
3666
+ 900: { value: "#78350f" },
3667
+ 950: { value: "#451a03" }
3668
+ },
3669
+ grey: {
3670
+ 50: { value: "#fafafa" },
3671
+ 100: { value: "#e5e5e5" },
3672
+ 200: { value: "#d4d4d4" },
3673
+ 300: { value: "#a3a3a3" },
3674
+ 400: { value: "#737373" },
3675
+ 500: { value: "#525252" },
3676
+ 600: { value: "#404040" },
3677
+ 700: { value: "#333333" },
3678
+ 800: { value: "#262626" },
3679
+ 900: { value: "#1d1d1d" },
3680
+ 950: {
3681
+ value: "#171717",
3682
+ description: "This is the darkest grey color in our design system and replaces black"
3683
+ }
3684
+ }
3685
+ });
3686
+ //#endregion
3687
+ //#region packages/preset/src/tokens/motion.ts
3688
+ const durations = defineTokens.durations({
3689
+ fast: { value: "150ms" },
3690
+ normal: { value: "300ms" },
3691
+ slow: { value: "600ms" }
3692
+ });
3693
+ const easings = defineTokens.easings({
3694
+ default: { value: "cubic-bezier(0.4, 0, 0.2, 1)" },
3695
+ out: { value: "cubic-bezier(0.16, 1, 0.3, 1)" }
3696
+ });
3697
+ //#endregion
3698
+ //#region packages/preset/src/tokens/radii.ts
3699
+ const radii = defineTokens.radii({
3700
+ "sm": { value: "4px" },
3701
+ "md": { value: "6px" },
3702
+ "lg": { value: "10px" },
3703
+ "xl": { value: "16px" },
3704
+ "2xl": { value: "20px" },
3705
+ "3xl": { value: "24px" },
3706
+ "4xl": { value: "32px" },
3707
+ "5xl": { value: "40px" },
3708
+ "pill": { value: "99rem" }
3709
+ });
3710
+ //#endregion
3711
+ //#region packages/preset/src/tokens/sizes.ts
3712
+ /**
3713
+ * `sizes.container` is a width token (`maxW: 'container'`). It is unrelated to
3714
+ * the `container` pattern and to the `containers` scale for container queries.
3715
+ */
3716
+ const sizes = defineTokens.sizes({
3717
+ container: { value: "1200px" },
3718
+ prose: { value: "44rem" }
3719
+ });
3720
+ //#endregion
3721
+ //#region packages/preset/src/tokens/spacing.ts
3722
+ const spacing = defineTokens.spacing({
3723
+ "3xs": { value: "2px" },
3724
+ "2xs": { value: "4px" },
3725
+ "xs": { value: "8px" },
3726
+ "sm": { value: "12px" },
3727
+ "md": { value: "16px" },
3728
+ "lg": { value: "20px" },
3729
+ "xl": { value: "24px" },
3730
+ "2xl": { value: "32px" },
3731
+ "3xl": { value: "40px" },
3732
+ "4xl": { value: "48px" },
3733
+ "5xl": { value: "56px" },
3734
+ "6xl": { value: "64px" },
3735
+ "7xl": { value: "72px" },
3736
+ "8xl": { value: "80px" },
3737
+ "9xl": { value: "96px" },
3738
+ "10xl": { value: "128px" },
3739
+ "11xl": { value: "144px" },
3740
+ "12xl": { value: "160px" }
3741
+ });
3742
+ //#endregion
3743
+ //#region packages/preset/src/tokens/typography.ts
3744
+ /**
3745
+ * Figtree is the brand sans. The package does not ship the font files.
3746
+ * `serif` and `mono` match the system stacks from `@pandacss/preset-panda`
3747
+ * so a design-system consumer is not missing those tokens.
3748
+ * Values are strings (not arrays) so a later `extend` replaces the stack
3749
+ * instead of appending to it.
3750
+ */
3751
+ const fonts$1 = defineTokens.fonts({
3752
+ sans: {
3753
+ value: "Figtree, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
3754
+ description: "Brand sans. Load the Figtree face in the app. Falls back to the system sans when the face is not available."
3755
+ },
3756
+ serif: {
3757
+ value: "ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif",
3758
+ description: "System serif. This design system does not ship a brand serif face."
3759
+ },
3760
+ mono: {
3761
+ value: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace",
3762
+ description: "System monospace. This design system does not ship a brand mono face."
3763
+ }
3764
+ });
3765
+ const fontSizes = defineTokens.fontSizes({
3766
+ "xs": { value: "12px" },
3767
+ "sm": { value: "14px" },
3768
+ "md": { value: "16px" },
3769
+ "lg": { value: "20px" },
3770
+ "xl": { value: "24px" },
3771
+ "2xl": { value: "32px" },
3772
+ "3xl": { value: "40px" },
3773
+ "4xl": { value: "48px" },
3774
+ "5xl": { value: "64px" }
3775
+ });
3776
+ const fontWeights = defineTokens.fontWeights({
3777
+ regular: {
3778
+ value: "400",
3779
+ description: "Same weight as normal"
3780
+ },
3781
+ normal: { value: "400" },
3782
+ medium: { value: "500" },
3783
+ semibold: { value: "600" },
3784
+ bold: { value: "700" },
3785
+ extrabold: { value: "800" }
3786
+ });
3787
+ const lineHeights = defineTokens.lineHeights({
3788
+ none: { value: "1" },
3789
+ heading: { value: "1.08" },
3790
+ tight: { value: "1.25" },
3791
+ normal: { value: "1.5" },
3792
+ relaxed: { value: "1.65" }
3793
+ });
3794
+ const letterSpacings = defineTokens.letterSpacings({
3795
+ tighter: { value: "-0.035em" },
3796
+ tight: { value: "-0.02em" },
3797
+ normal: { value: "0" },
3798
+ wide: { value: "0.08em" }
3799
+ });
3800
+ //#endregion
3801
+ //#region packages/preset/src/tokens/semantic-tokens.ts
3802
+ /**
3803
+ * Light is the base. Dark applies inside a `.dark` class (`_dark`) and when the
3804
+ * OS prefers dark (`_osDark`), so every dark value is written under both.
3805
+ *
3806
+ * A value that references a mode-dependent token repeats the reference under
3807
+ * the dark conditions too. Otherwise the CSS variable is resolved once at the
3808
+ * root, and an element inside `.dark` would keep the light result.
3809
+ */
3810
+ const mode = (light, dark) => ({
3811
+ base: light,
3812
+ _dark: dark,
3813
+ _osDark: dark
3814
+ });
3815
+ const subtleMix = (light, dark, status = "{opacity.color.status}", neutral = "{opacity.color.neutral}") => ({ value: mode(`color-mix(in srgb, {colors.${light}} ${status}, {colors.grey.400} ${neutral})`, `color-mix(in srgb, {colors.${dark}} ${status}, {colors.grey.800} ${neutral})`) });
3816
+ const opacity = defineSemanticTokens.opacity({ color: {
3817
+ status: {
3818
+ DEFAULT: { value: mode("80%", "20%") },
3819
+ lighter: { value: "25%" }
3820
+ },
3821
+ neutral: {
3822
+ DEFAULT: { value: mode("5%", "80%") },
3823
+ lighter: { value: mode("25%", "20%") }
3824
+ }
3825
+ } });
3826
+ const fonts = defineSemanticTokens.fonts({ body: {
3827
+ value: "{fonts.sans}",
3828
+ description: "Document face. Alias of the Figtree sans stack."
3829
+ } });
3830
+ const colors = defineSemanticTokens.colors({
3831
+ "primary": {
3832
+ value: "{colors.brand.400}",
3833
+ description: "The brand color. Same in both modes."
3834
+ },
3835
+ "primary-pale": {
3836
+ value: "{colors.brand.50}",
3837
+ description: "Pale brand fill"
3838
+ },
3839
+ "danger": {
3840
+ DEFAULT: { value: mode("{colors.red.600}", "{colors.red.400}") },
3841
+ subtle: {
3842
+ DEFAULT: subtleMix("red.200", "red.400"),
3843
+ light: subtleMix("red.400", "red.200", "{opacity.color.status.lighter}", "{opacity.color.neutral.lighter}")
3844
+ },
3845
+ text: { value: "{colors.red.900}" }
3846
+ },
3847
+ "success": {
3848
+ DEFAULT: { value: mode("{colors.green.600}", "{colors.green.400}") },
3849
+ subtle: {
3850
+ DEFAULT: subtleMix("green.200", "green.400"),
3851
+ light: subtleMix("green.400", "green.200", "{opacity.color.status.lighter}", "{opacity.color.neutral.lighter}")
3852
+ },
3853
+ text: { value: "{colors.green.900}" }
3854
+ },
3855
+ "warning": {
3856
+ DEFAULT: { value: mode("{colors.yellow.600}", "{colors.yellow.400}") },
3857
+ subtle: {
3858
+ DEFAULT: subtleMix("yellow.200", "yellow.400"),
3859
+ light: subtleMix("yellow.400", "yellow.200", "{opacity.color.status.lighter}", "{opacity.color.neutral.lighter}")
3860
+ },
3861
+ text: { value: "{colors.yellow.900}" }
3862
+ },
3863
+ "info": {
3864
+ DEFAULT: { value: mode("{colors.blue.600}", "{colors.blue.400}") },
3865
+ subtle: {
3866
+ DEFAULT: subtleMix("blue.200", "blue.400"),
3867
+ light: subtleMix("blue.400", "blue.200", "{opacity.color.status.lighter}", "{opacity.color.neutral.lighter}")
3868
+ },
3869
+ text: { value: "{colors.blue.900}" }
3870
+ },
3871
+ "neutral": {
3872
+ DEFAULT: {
3873
+ value: mode("{colors.grey.800}", "{colors.white}"),
3874
+ description: "Default text color"
3875
+ },
3876
+ inverse: { value: mode("{colors.white}", "{colors.grey.800}") },
3877
+ light: { value: "{colors.grey.400}" },
3878
+ subtle: {
3879
+ value: mode("{colors.grey.100}", "{colors.grey.800}"),
3880
+ description: "Quiet neutral fill: default badge, list marker, highlighted option, open accordion item"
3881
+ }
3882
+ },
3883
+ "surface": {
3884
+ DEFAULT: {
3885
+ value: mode("{colors.white}", "{colors.grey.950}"),
3886
+ description: "Background of fields, menus, and dialogs"
3887
+ },
3888
+ raised: {
3889
+ value: mode("{colors.white}", "{colors.grey.900}"),
3890
+ description: "Background of panels that sit on the page, such as the prompt form"
3891
+ }
3892
+ },
3893
+ "surface-muted": {
3894
+ value: mode("{colors.grey.50}", "{colors.grey.900}"),
3895
+ description: "Muted page section background"
3896
+ },
3897
+ "border": {
3898
+ DEFAULT: {
3899
+ value: mode("{colors.grey.200}", "{colors.grey.600}"),
3900
+ description: "Border of fields and menus"
3901
+ },
3902
+ hover: {
3903
+ value: mode("{colors.grey.300}", "{colors.grey.400}"),
3904
+ description: "Border of a hovered field"
3905
+ },
3906
+ subtle: {
3907
+ value: mode("{colors.grey.100}", "{colors.grey.800}"),
3908
+ description: "Dividers and dialog borders"
3909
+ },
3910
+ card: {
3911
+ value: mode("{colors.grey.100}", "{colors.grey.700}"),
3912
+ description: "Border of cards, pricing cards, and the tab bar"
3913
+ }
3914
+ },
3915
+ "muted": {
3916
+ value: mode("{colors.neutral.light}", "{colors.grey.300}"),
3917
+ description: "Secondary copy"
3918
+ },
3919
+ "text": {
3920
+ muted: {
3921
+ value: mode("{colors.muted}", "{colors.muted}"),
3922
+ description: "Secondary copy: descriptions and helper text"
3923
+ },
3924
+ placeholder: {
3925
+ value: mode("{colors.black/75}", "{colors.white/75}"),
3926
+ description: "Placeholder text and quiet icons inside a field"
3927
+ }
3928
+ },
3929
+ "loader": { track: {
3930
+ value: mode("{colors.black/17.5}", "{colors.white/17.5}"),
3931
+ description: "Ring of the loader, behind the brand arc"
3932
+ } },
3933
+ "input-border": { value: mode("{colors.border}", "{colors.border}") },
3934
+ "input-bg": { value: mode("{colors.surface}", "{colors.surface}") },
3935
+ "input-disabled-bg": { value: mode("{colors.grey.50}", "{colors.grey.800}") },
3936
+ "input-color": { value: "{colors.grey.400}" },
3937
+ "accent-subtle": { value: mode("{colors.brand.50}", "#f879601a") },
3938
+ "accent-border": { value: mode("{colors.brand.100}", "#f8796040") },
3939
+ "accent-text": { value: mode("{colors.brand.600}", "{colors.brand.300}") }
3940
+ });
3941
+ /**
3942
+ * Focus rings point at color tokens. `card` and `float` change per mode and use
3943
+ * raw `rgb()` values, as on the website.
3944
+ */
3945
+ const shadows = defineSemanticTokens.shadows({
3946
+ "focus": { value: "0 0 0 4px color-mix(in srgb, {colors.primary} 30%, transparent)" },
3947
+ "focus-danger": { value: "0 0 0 4px color-mix(in srgb, {colors.red.600} 30%, transparent)" },
3948
+ "focus-success": { value: "0 0 0 4px color-mix(in srgb, {colors.green.600} 30%, transparent)" },
3949
+ "card": { value: mode("0 1px 2px rgb(23 23 23 / 0.04), 0 12px 32px -12px rgb(23 23 23 / 0.12)", "0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -12px rgb(0 0 0 / 0.6)") },
3950
+ "float": { value: mode("0 2px 4px rgb(23 23 23 / 0.04), 0 32px 64px -24px rgb(23 23 23 / 0.22)", "0 2px 4px rgb(0 0 0 / 0.5), 0 32px 64px -24px rgb(0 0 0 / 0.8)") }
3951
+ });
3952
+ //#endregion
3953
+ //#region packages/preset/src/animation.ts
3954
+ const animationStyles = defineAnimationStyles({
3955
+ slideDown: { value: {
3956
+ animationName: "slideDown",
3957
+ animationDuration: "300ms"
3958
+ } },
3959
+ slideUp: { value: {
3960
+ animationName: "slideUp",
3961
+ animationDuration: "300ms"
3962
+ } },
3963
+ progressIndeterminate: { value: {
3964
+ animationName: "progressIndeterminate",
3965
+ animationDuration: "1.4s",
3966
+ animationTimingFunction: "ease-in-out",
3967
+ animationIterationCount: "infinite"
3968
+ } }
3969
+ });
3970
+ const keyframes = defineKeyframes({
3971
+ slideDown: {
3972
+ "0%": {
3973
+ height: "0",
3974
+ visibility: "hidden"
3975
+ },
3976
+ "100%": {
3977
+ height: "auto",
3978
+ visibility: "visible"
3979
+ }
3980
+ },
3981
+ slideUp: {
3982
+ "0%": {
3983
+ height: "auto",
3984
+ visibility: "visible"
3985
+ },
3986
+ "100%": {
3987
+ height: "0",
3988
+ visibility: "hidden"
3989
+ }
3990
+ },
3991
+ flyoutIn: {
3992
+ "0%": { opacity: "0" },
3993
+ "100%": { opacity: "1" }
3994
+ },
3995
+ flyoutOut: {
3996
+ "0%": { opacity: "1" },
3997
+ "100%": { opacity: "0" }
3998
+ },
3999
+ progressIndeterminate: {
4000
+ "0%": { transform: "translateX(-100%)" },
4001
+ "100%": { transform: "translateX(350%)" }
4002
+ }
4003
+ });
4004
+ //#endregion
4005
+ //#region \0panda-lib-preset-entry
4006
+ const __panda_lib_resolved = await defineConfig({
4007
+ preflight: true,
4008
+ presets: [definePreset$1({
4009
+ name: "webflare-design-preset",
4010
+ presets: [index_default],
4011
+ theme: {
4012
+ tokens: {
4013
+ colors: colors$1,
4014
+ spacing,
4015
+ radii,
4016
+ fonts: fonts$1,
4017
+ fontSizes,
4018
+ fontWeights,
4019
+ lineHeights,
4020
+ letterSpacings,
4021
+ sizes,
4022
+ durations,
4023
+ easings
4024
+ },
4025
+ semanticTokens: {
4026
+ colors,
4027
+ fonts,
4028
+ opacity,
4029
+ shadows
4030
+ },
4031
+ extend: {
4032
+ breakpoints,
4033
+ containers: {
4034
+ "xs": "320px",
4035
+ "sm": "384px",
4036
+ "md": "448px",
4037
+ "lg": "512px",
4038
+ "xl": "576px",
4039
+ "2xl": "672px",
4040
+ "3xl": "768px",
4041
+ "4xl": "896px",
4042
+ "5xl": "1024px",
4043
+ "6xl": "1152px",
4044
+ "7xl": "1280px",
4045
+ "8xl": "1440px"
4046
+ },
4047
+ keyframes,
4048
+ animationStyles
4049
+ }
4050
+ },
4051
+ conditions: { extend: {
4052
+ light: ".light &, .light&",
4053
+ dark: ".dark &, .dark&",
4054
+ hasNext: "&:has(+ *)"
4055
+ } },
4056
+ patterns: { extend: { container: { transform({ maxWidth, px }) {
4057
+ return {
4058
+ position: "relative",
4059
+ maxWidth: {
4060
+ "base": "360px",
4061
+ "3xs": "360px",
4062
+ "2xs": "400px",
4063
+ "xs": "500px",
4064
+ "sm": "620px",
4065
+ "md": "740px",
4066
+ "lg": "1000px",
4067
+ "xl": "1200px",
4068
+ "2xl": "1400px",
4069
+ "3xl": "1600px",
4070
+ ...maxWidth
4071
+ },
4072
+ mx: "auto",
4073
+ px: {
4074
+ base: "lg",
4075
+ ...px
4076
+ },
4077
+ transition: "max-width 200ms"
4078
+ };
4079
+ } } } }
4080
+ })],
4081
+ include: ["./packages/components/src/**/*.{js,jsx,ts,tsx,vue}"],
4082
+ outdir: "dist/styled-system",
4083
+ forceImportExtension: true
4084
+ });
4085
+ if (!((value) => {
4086
+ if (!value || typeof value !== "object" || Array.isArray(value)) return false;
4087
+ const proto = Object.getPrototypeOf(value);
4088
+ return proto === Object.prototype || proto === null;
4089
+ })(__panda_lib_resolved)) throw new Error("Config must export or return an object.");
4090
+ const { designSystem, include, exclude, outdir, cwd, watch, clean, gitignore, importMap, ...preset } = __panda_lib_resolved;
4091
+ //#endregion
4092
+ export { preset as default };