@webflare/ui 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,164 @@
1
+ const require_css = require("./css-BRRSQx3P.cjs");
2
+ const require_injection_key = require("./injection-key-DPb_AXnh.cjs");
3
+ let vue = require("vue");
4
+ // src/components/List/styles.ts
5
+ var listStyles = (0, require("@webflare/ui/css").sva)({
6
+ slots: [
7
+ "list",
8
+ "item",
9
+ "marker"
10
+ ],
11
+ base: {
12
+ list: {
13
+ display: "flex",
14
+ flexDirection: "column",
15
+ flexWrap: "wrap"
16
+ },
17
+ item: { display: "inline-flex" },
18
+ marker: {
19
+ display: "inline-flex",
20
+ alignItems: "center",
21
+ justifyContent: "center",
22
+ borderRadius: "5xl",
23
+ flexBasis: "auto",
24
+ flexGrow: "0"
25
+ }
26
+ },
27
+ variants: {
28
+ size: {
29
+ sm: {
30
+ list: { gap: "xs" },
31
+ item: {
32
+ fontSize: "sm",
33
+ gap: "sm"
34
+ },
35
+ marker: {
36
+ "width": "16px",
37
+ "height": "16px",
38
+ "minWidth": "16px",
39
+ "marginTop": "2px",
40
+ "& .icon": { fontSize: "10px" }
41
+ }
42
+ },
43
+ md: {
44
+ list: { gap: "xs" },
45
+ item: {
46
+ fontSize: "md",
47
+ gap: "sm"
48
+ },
49
+ marker: {
50
+ "width": "20px",
51
+ "height": "20px",
52
+ "minWidth": "20px",
53
+ "marginTop": "2px",
54
+ "& .icon": { fontSize: "12px" }
55
+ }
56
+ },
57
+ lg: {
58
+ list: { gap: "xs" },
59
+ item: {
60
+ fontSize: "lg",
61
+ gap: "sm"
62
+ },
63
+ marker: {
64
+ "width": "20px",
65
+ "height": "20px",
66
+ "minWidth": "20px",
67
+ "marginTop": "6px",
68
+ "& .icon": { fontSize: "12px" }
69
+ }
70
+ }
71
+ },
72
+ state: {
73
+ default: { marker: {
74
+ color: "text.muted",
75
+ backgroundColor: "neutral.subtle"
76
+ } },
77
+ primary: { marker: {
78
+ color: "primary",
79
+ backgroundColor: "primary/10"
80
+ } },
81
+ success: { marker: {
82
+ color: "success.subtle",
83
+ backgroundColor: "success.subtle/10"
84
+ } },
85
+ danger: { marker: {
86
+ color: "danger.subtle",
87
+ backgroundColor: "danger.subtle/10"
88
+ } },
89
+ info: { marker: {
90
+ color: "info.subtle",
91
+ backgroundColor: "info.subtle/10"
92
+ } }
93
+ }
94
+ },
95
+ defaultVariants: {
96
+ size: "sm",
97
+ state: "default"
98
+ }
99
+ });
100
+ // src/components/List/types.ts
101
+ var ListContextKey = require_injection_key.createInjectionKey("ListContext");
102
+ // src/components/List/ListItem.vue?vue&type=script&setup=true&lang.ts
103
+ var _hoisted_1 = ["innerHTML"];
104
+ // src/components/List/ListItem.vue
105
+ var ListItem_default = /* @__PURE__ */ (0, vue.defineComponent)({
106
+ __name: "ListItem",
107
+ props: {
108
+ content: {},
109
+ size: {},
110
+ state: {},
111
+ icon: { type: [String, Boolean] },
112
+ css: {}
113
+ },
114
+ setup(__props) {
115
+ const props = __props;
116
+ const list = (0, vue.inject)(ListContextKey, null);
117
+ const size = (0, vue.computed)(() => props.size ?? list?.value.size ?? "md");
118
+ const state = (0, vue.computed)(() => props.state ?? list?.value.state ?? "default");
119
+ const styles = (0, vue.computed)(() => listStyles.raw({
120
+ size: size.value,
121
+ state: state.value
122
+ }));
123
+ const stateIcons = {
124
+ default: "caret-right-bold",
125
+ primary: "caret-right-bold",
126
+ success: "check-bold",
127
+ danger: "x-bold",
128
+ info: "info-bold"
129
+ };
130
+ const icon = (0, vue.computed)(() => {
131
+ if (props.icon === false) return null;
132
+ if (typeof props.icon === "string") return props.icon;
133
+ return stateIcons[state.value];
134
+ });
135
+ return (_ctx, _cache) => {
136
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("li", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.item, props.css?.root)) }, [(0, vue.renderSlot)(_ctx.$slots, "marker", {}, () => [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.marker, props.css?.marker)) }, [icon.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
137
+ key: 0,
138
+ class: (0, vue.normalizeClass)(`icon icon-${icon.value}`),
139
+ "aria-hidden": "true"
140
+ }, null, 2)) : (0, vue.createCommentVNode)("", true)], 2)]), (0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [props.content ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
141
+ key: 0,
142
+ innerHTML: props.content
143
+ }, null, 8, _hoisted_1)) : (0, vue.createCommentVNode)("", true)])], 2);
144
+ };
145
+ }
146
+ });
147
+ Object.defineProperty(exports, "ListContextKey", {
148
+ enumerable: true,
149
+ get: function() {
150
+ return ListContextKey;
151
+ }
152
+ });
153
+ Object.defineProperty(exports, "ListItem_default", {
154
+ enumerable: true,
155
+ get: function() {
156
+ return ListItem_default;
157
+ }
158
+ });
159
+ Object.defineProperty(exports, "listStyles", {
160
+ enumerable: true,
161
+ get: function() {
162
+ return listStyles;
163
+ }
164
+ });
@@ -0,0 +1,148 @@
1
+ import { t as withCss } from "./css-DWYlz0rn.js";
2
+ import { t as createInjectionKey } from "./injection-key-BQYV9vIr.js";
3
+ import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, inject, normalizeClass, openBlock, renderSlot, unref } from "vue";
4
+ import { sva } from "@webflare/ui/css";
5
+ // src/components/List/styles.ts
6
+ var listStyles = sva({
7
+ slots: [
8
+ "list",
9
+ "item",
10
+ "marker"
11
+ ],
12
+ base: {
13
+ list: {
14
+ display: "flex",
15
+ flexDirection: "column",
16
+ flexWrap: "wrap"
17
+ },
18
+ item: { display: "inline-flex" },
19
+ marker: {
20
+ display: "inline-flex",
21
+ alignItems: "center",
22
+ justifyContent: "center",
23
+ borderRadius: "5xl",
24
+ flexBasis: "auto",
25
+ flexGrow: "0"
26
+ }
27
+ },
28
+ variants: {
29
+ size: {
30
+ sm: {
31
+ list: { gap: "xs" },
32
+ item: {
33
+ fontSize: "sm",
34
+ gap: "sm"
35
+ },
36
+ marker: {
37
+ "width": "16px",
38
+ "height": "16px",
39
+ "minWidth": "16px",
40
+ "marginTop": "2px",
41
+ "& .icon": { fontSize: "10px" }
42
+ }
43
+ },
44
+ md: {
45
+ list: { gap: "xs" },
46
+ item: {
47
+ fontSize: "md",
48
+ gap: "sm"
49
+ },
50
+ marker: {
51
+ "width": "20px",
52
+ "height": "20px",
53
+ "minWidth": "20px",
54
+ "marginTop": "2px",
55
+ "& .icon": { fontSize: "12px" }
56
+ }
57
+ },
58
+ lg: {
59
+ list: { gap: "xs" },
60
+ item: {
61
+ fontSize: "lg",
62
+ gap: "sm"
63
+ },
64
+ marker: {
65
+ "width": "20px",
66
+ "height": "20px",
67
+ "minWidth": "20px",
68
+ "marginTop": "6px",
69
+ "& .icon": { fontSize: "12px" }
70
+ }
71
+ }
72
+ },
73
+ state: {
74
+ default: { marker: {
75
+ color: "text.muted",
76
+ backgroundColor: "neutral.subtle"
77
+ } },
78
+ primary: { marker: {
79
+ color: "primary",
80
+ backgroundColor: "primary/10"
81
+ } },
82
+ success: { marker: {
83
+ color: "success.subtle",
84
+ backgroundColor: "success.subtle/10"
85
+ } },
86
+ danger: { marker: {
87
+ color: "danger.subtle",
88
+ backgroundColor: "danger.subtle/10"
89
+ } },
90
+ info: { marker: {
91
+ color: "info.subtle",
92
+ backgroundColor: "info.subtle/10"
93
+ } }
94
+ }
95
+ },
96
+ defaultVariants: {
97
+ size: "sm",
98
+ state: "default"
99
+ }
100
+ });
101
+ // src/components/List/types.ts
102
+ var ListContextKey = createInjectionKey("ListContext");
103
+ // src/components/List/ListItem.vue?vue&type=script&setup=true&lang.ts
104
+ var _hoisted_1 = ["innerHTML"];
105
+ // src/components/List/ListItem.vue
106
+ var ListItem_default = /* @__PURE__ */ defineComponent({
107
+ __name: "ListItem",
108
+ props: {
109
+ content: {},
110
+ size: {},
111
+ state: {},
112
+ icon: { type: [String, Boolean] },
113
+ css: {}
114
+ },
115
+ setup(__props) {
116
+ const props = __props;
117
+ const list = inject(ListContextKey, null);
118
+ const size = computed(() => props.size ?? list?.value.size ?? "md");
119
+ const state = computed(() => props.state ?? list?.value.state ?? "default");
120
+ const styles = computed(() => listStyles.raw({
121
+ size: size.value,
122
+ state: state.value
123
+ }));
124
+ const stateIcons = {
125
+ default: "caret-right-bold",
126
+ primary: "caret-right-bold",
127
+ success: "check-bold",
128
+ danger: "x-bold",
129
+ info: "info-bold"
130
+ };
131
+ const icon = computed(() => {
132
+ if (props.icon === false) return null;
133
+ if (typeof props.icon === "string") return props.icon;
134
+ return stateIcons[state.value];
135
+ });
136
+ return (_ctx, _cache) => {
137
+ return openBlock(), createElementBlock("li", { class: normalizeClass(unref(withCss)(styles.value.item, props.css?.root)) }, [renderSlot(_ctx.$slots, "marker", {}, () => [createElementVNode("span", { class: normalizeClass(unref(withCss)(styles.value.marker, props.css?.marker)) }, [icon.value ? (openBlock(), createElementBlock("span", {
138
+ key: 0,
139
+ class: normalizeClass(`icon icon-${icon.value}`),
140
+ "aria-hidden": "true"
141
+ }, null, 2)) : createCommentVNode("", true)], 2)]), renderSlot(_ctx.$slots, "default", {}, () => [props.content ? (openBlock(), createElementBlock("div", {
142
+ key: 0,
143
+ innerHTML: props.content
144
+ }, null, 8, _hoisted_1)) : createCommentVNode("", true)])], 2);
145
+ };
146
+ }
147
+ });
148
+ export { ListContextKey as n, listStyles as r, ListItem_default as t };
@@ -0,0 +1,42 @@
1
+ const require_ListItem = require("./ListItem-1sYxrNuv.cjs");
2
+ const require_css = require("./css-BRRSQx3P.cjs");
3
+ let vue = require("vue");
4
+ // src/components/List/ListRoot.vue
5
+ var ListRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
6
+ __name: "ListRoot",
7
+ props: {
8
+ items: {},
9
+ size: { default: "md" },
10
+ state: { default: "default" },
11
+ icon: {
12
+ type: [String, Boolean],
13
+ default: true
14
+ },
15
+ css: {}
16
+ },
17
+ setup(__props) {
18
+ const props = __props;
19
+ (0, vue.provide)(require_ListItem.ListContextKey, (0, vue.computed)(() => ({
20
+ size: props.size,
21
+ state: props.state
22
+ })));
23
+ const styles = (0, vue.computed)(() => require_ListItem.listStyles.raw({
24
+ size: props.size,
25
+ state: props.state
26
+ }));
27
+ return (_ctx, _cache) => {
28
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("ul", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.list, props.css?.root)) }, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(__props.items, (item, index) => {
29
+ return (0, vue.openBlock)(), (0, vue.createBlock)(require_ListItem.ListItem_default, (0, vue.mergeProps)({
30
+ key: index,
31
+ icon: props.icon
32
+ }, { ref_for: true }, item), null, 16, ["icon"]);
33
+ }), 128))])], 2);
34
+ };
35
+ }
36
+ });
37
+ Object.defineProperty(exports, "ListRoot_default", {
38
+ enumerable: true,
39
+ get: function() {
40
+ return ListRoot_default;
41
+ }
42
+ });
@@ -0,0 +1,37 @@
1
+ import { n as ListContextKey, r as listStyles, t as ListItem_default } from "./ListItem-rD49tsLw.js";
2
+ import { t as withCss } from "./css-DWYlz0rn.js";
3
+ import { Fragment, computed, createBlock, createElementBlock, defineComponent, mergeProps, normalizeClass, openBlock, provide, renderList, renderSlot, unref } from "vue";
4
+ // src/components/List/ListRoot.vue
5
+ var ListRoot_default = /* @__PURE__ */ defineComponent({
6
+ __name: "ListRoot",
7
+ props: {
8
+ items: {},
9
+ size: { default: "md" },
10
+ state: { default: "default" },
11
+ icon: {
12
+ type: [String, Boolean],
13
+ default: true
14
+ },
15
+ css: {}
16
+ },
17
+ setup(__props) {
18
+ const props = __props;
19
+ provide(ListContextKey, computed(() => ({
20
+ size: props.size,
21
+ state: props.state
22
+ })));
23
+ const styles = computed(() => listStyles.raw({
24
+ size: props.size,
25
+ state: props.state
26
+ }));
27
+ return (_ctx, _cache) => {
28
+ return openBlock(), createElementBlock("ul", { class: normalizeClass(unref(withCss)(styles.value.list, props.css?.root)) }, [renderSlot(_ctx.$slots, "default", {}, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, index) => {
29
+ return openBlock(), createBlock(ListItem_default, mergeProps({
30
+ key: index,
31
+ icon: props.icon
32
+ }, { ref_for: true }, item), null, 16, ["icon"]);
33
+ }), 128))])], 2);
34
+ };
35
+ }
36
+ });
37
+ export { ListRoot_default as t };
@@ -0,0 +1,121 @@
1
+ const require_css = require("./css-BRRSQx3P.cjs");
2
+ let vue = require("vue");
3
+ let styled_system_css = require("@webflare/ui/css");
4
+ // src/components/Loader/styles.ts
5
+ /** Diameters with a `size` variant. `Loader` snaps other sizes to the closest one. */
6
+ var loaderSizeValues = [
7
+ 16,
8
+ 20,
9
+ 24,
10
+ 32,
11
+ 40,
12
+ 48,
13
+ 56,
14
+ 64,
15
+ 80,
16
+ 96,
17
+ 120
18
+ ];
19
+ var loaderStyles = (0, styled_system_css.cva)({
20
+ base: {
21
+ boxSizing: "border-box",
22
+ borderRadius: "50%",
23
+ borderStyle: "solid",
24
+ borderColor: "loader.track",
25
+ borderTopColor: "primary",
26
+ animationDuration: "1000ms",
27
+ animationTimingFunction: "linear",
28
+ animationIterationCount: "infinite",
29
+ animationName: "spin"
30
+ },
31
+ variants: { size: {
32
+ 16: {
33
+ width: "16px",
34
+ height: "16px",
35
+ borderWidth: "2px"
36
+ },
37
+ 20: {
38
+ width: "20px",
39
+ height: "20px",
40
+ borderWidth: "2px"
41
+ },
42
+ 24: {
43
+ width: "24px",
44
+ height: "24px",
45
+ borderWidth: "2px"
46
+ },
47
+ 32: {
48
+ width: "32px",
49
+ height: "32px",
50
+ borderWidth: "3px"
51
+ },
52
+ 40: {
53
+ width: "40px",
54
+ height: "40px",
55
+ borderWidth: "4px"
56
+ },
57
+ 48: {
58
+ width: "48px",
59
+ height: "48px",
60
+ borderWidth: "5px"
61
+ },
62
+ 56: {
63
+ width: "56px",
64
+ height: "56px",
65
+ borderWidth: "6px"
66
+ },
67
+ 64: {
68
+ width: "64px",
69
+ height: "64px",
70
+ borderWidth: "6px"
71
+ },
72
+ 80: {
73
+ width: "80px",
74
+ height: "80px",
75
+ borderWidth: "8px"
76
+ },
77
+ 96: {
78
+ width: "96px",
79
+ height: "96px",
80
+ borderWidth: "10px"
81
+ },
82
+ 120: {
83
+ width: "120px",
84
+ height: "120px",
85
+ borderWidth: "12px"
86
+ }
87
+ } },
88
+ defaultVariants: { size: 40 }
89
+ });
90
+ // src/components/Loader/Loader.vue?vue&type=script&setup=true&lang.ts
91
+ var _hoisted_1 = ["aria-label"];
92
+ // src/components/Loader/Loader.vue
93
+ var Loader_default = /* @__PURE__ */ (0, vue.defineComponent)({
94
+ name: "WfLoader",
95
+ __name: "Loader",
96
+ props: {
97
+ size: { default: 40 },
98
+ label: { default: "Loading" },
99
+ css: {}
100
+ },
101
+ setup(__props) {
102
+ const props = __props;
103
+ function resolveLoaderSize(value) {
104
+ return loaderSizeValues.reduce((best, candidate) => Math.abs(candidate - value) < Math.abs(best - value) ? candidate : best);
105
+ }
106
+ const loaderClass = (0, vue.computed)(() => require_css.withCss(loaderStyles.raw({ size: resolveLoaderSize(props.size) }), props.css?.root));
107
+ return (_ctx, _cache) => {
108
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
109
+ class: (0, vue.normalizeClass)(["loader", loaderClass.value]),
110
+ role: "status",
111
+ "aria-label": __props.label
112
+ }, null, 10, _hoisted_1);
113
+ };
114
+ }
115
+ });
116
+ Object.defineProperty(exports, "Loader_default", {
117
+ enumerable: true,
118
+ get: function() {
119
+ return Loader_default;
120
+ }
121
+ });
@@ -0,0 +1,116 @@
1
+ import { t as withCss } from "./css-DWYlz0rn.js";
2
+ import { computed, createElementBlock, defineComponent, normalizeClass, openBlock } from "vue";
3
+ import { cva } from "@webflare/ui/css";
4
+ // src/components/Loader/styles.ts
5
+ /** Diameters with a `size` variant. `Loader` snaps other sizes to the closest one. */
6
+ var loaderSizeValues = [
7
+ 16,
8
+ 20,
9
+ 24,
10
+ 32,
11
+ 40,
12
+ 48,
13
+ 56,
14
+ 64,
15
+ 80,
16
+ 96,
17
+ 120
18
+ ];
19
+ var loaderStyles = cva({
20
+ base: {
21
+ boxSizing: "border-box",
22
+ borderRadius: "50%",
23
+ borderStyle: "solid",
24
+ borderColor: "loader.track",
25
+ borderTopColor: "primary",
26
+ animationDuration: "1000ms",
27
+ animationTimingFunction: "linear",
28
+ animationIterationCount: "infinite",
29
+ animationName: "spin"
30
+ },
31
+ variants: { size: {
32
+ 16: {
33
+ width: "16px",
34
+ height: "16px",
35
+ borderWidth: "2px"
36
+ },
37
+ 20: {
38
+ width: "20px",
39
+ height: "20px",
40
+ borderWidth: "2px"
41
+ },
42
+ 24: {
43
+ width: "24px",
44
+ height: "24px",
45
+ borderWidth: "2px"
46
+ },
47
+ 32: {
48
+ width: "32px",
49
+ height: "32px",
50
+ borderWidth: "3px"
51
+ },
52
+ 40: {
53
+ width: "40px",
54
+ height: "40px",
55
+ borderWidth: "4px"
56
+ },
57
+ 48: {
58
+ width: "48px",
59
+ height: "48px",
60
+ borderWidth: "5px"
61
+ },
62
+ 56: {
63
+ width: "56px",
64
+ height: "56px",
65
+ borderWidth: "6px"
66
+ },
67
+ 64: {
68
+ width: "64px",
69
+ height: "64px",
70
+ borderWidth: "6px"
71
+ },
72
+ 80: {
73
+ width: "80px",
74
+ height: "80px",
75
+ borderWidth: "8px"
76
+ },
77
+ 96: {
78
+ width: "96px",
79
+ height: "96px",
80
+ borderWidth: "10px"
81
+ },
82
+ 120: {
83
+ width: "120px",
84
+ height: "120px",
85
+ borderWidth: "12px"
86
+ }
87
+ } },
88
+ defaultVariants: { size: 40 }
89
+ });
90
+ // src/components/Loader/Loader.vue?vue&type=script&setup=true&lang.ts
91
+ var _hoisted_1 = ["aria-label"];
92
+ // src/components/Loader/Loader.vue
93
+ var Loader_default = /* @__PURE__ */ defineComponent({
94
+ name: "WfLoader",
95
+ __name: "Loader",
96
+ props: {
97
+ size: { default: 40 },
98
+ label: { default: "Loading" },
99
+ css: {}
100
+ },
101
+ setup(__props) {
102
+ const props = __props;
103
+ function resolveLoaderSize(value) {
104
+ return loaderSizeValues.reduce((best, candidate) => Math.abs(candidate - value) < Math.abs(best - value) ? candidate : best);
105
+ }
106
+ const loaderClass = computed(() => withCss(loaderStyles.raw({ size: resolveLoaderSize(props.size) }), props.css?.root));
107
+ return (_ctx, _cache) => {
108
+ return openBlock(), createElementBlock("div", {
109
+ class: normalizeClass(["loader", loaderClass.value]),
110
+ role: "status",
111
+ "aria-label": __props.label
112
+ }, null, 10, _hoisted_1);
113
+ };
114
+ }
115
+ });
116
+ export { Loader_default as t };
@@ -0,0 +1,25 @@
1
+ const require_styles = require("./styles-Cjlvkx8i.cjs");
2
+ const require_css = require("./css-BRRSQx3P.cjs");
3
+ const require_types = require("./types-DzEK6W6x.cjs");
4
+ let vue = require("vue");
5
+ // src/components/PricingCard/PricingCardBadge.vue
6
+ var PricingCardBadge_default = /* @__PURE__ */ (0, vue.defineComponent)({
7
+ __name: "PricingCardBadge",
8
+ props: {
9
+ label: { default: "Featured" },
10
+ css: {}
11
+ },
12
+ setup(__props) {
13
+ const props = __props;
14
+ const styles = (0, vue.inject)(require_types.PricingCardStylesKey, (0, vue.computed)(() => require_styles.pricingCardStyles.raw()));
15
+ return (_ctx, _cache) => {
16
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).badge, props.css?.root)) }, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [props.label ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(props.label), 1)], 64)) : (0, vue.createCommentVNode)("", true)])], 2);
17
+ };
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "PricingCardBadge_default", {
21
+ enumerable: true,
22
+ get: function() {
23
+ return PricingCardBadge_default;
24
+ }
25
+ });
@@ -0,0 +1,20 @@
1
+ import { t as pricingCardStyles } from "./styles-8a0pzMRc.js";
2
+ import { t as withCss } from "./css-DWYlz0rn.js";
3
+ import { n as PricingCardStylesKey } from "./types-B1vOzUjg.js";
4
+ import { Fragment, computed, createCommentVNode, createElementBlock, createTextVNode, defineComponent, inject, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
5
+ // src/components/PricingCard/PricingCardBadge.vue
6
+ var PricingCardBadge_default = /* @__PURE__ */ defineComponent({
7
+ __name: "PricingCardBadge",
8
+ props: {
9
+ label: { default: "Featured" },
10
+ css: {}
11
+ },
12
+ setup(__props) {
13
+ const props = __props;
14
+ const styles = inject(PricingCardStylesKey, computed(() => pricingCardStyles.raw()));
15
+ return (_ctx, _cache) => {
16
+ return openBlock(), createElementBlock("div", { class: normalizeClass(unref(withCss)(unref(styles).badge, props.css?.root)) }, [renderSlot(_ctx.$slots, "default", {}, () => [props.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(props.label), 1)], 64)) : createCommentVNode("", true)])], 2);
17
+ };
18
+ }
19
+ });
20
+ export { PricingCardBadge_default as t };