@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.
- package/LICENSE +21 -0
- package/README.md +234 -2
- package/dist/AccordionRoot-CNPxdTtA.cjs +182 -0
- package/dist/AccordionRoot-CmK-jaZz.js +178 -0
- package/dist/AlertRoot-B-M0xDFC.js +274 -0
- package/dist/AlertRoot-DRRwRAhA.cjs +278 -0
- package/dist/BadgeRoot-CzUSTR0W.cjs +136 -0
- package/dist/BadgeRoot-ffbcCd5B.js +132 -0
- package/dist/Button-A9BiKfSl.js +240 -0
- package/dist/Button-CwVAoJjO.cjs +244 -0
- package/dist/CardBody-BEbTLrA2.cjs +21 -0
- package/dist/CardBody-DbSW-Ssx.js +16 -0
- package/dist/CardHeader-Cx1pE9No.cjs +36 -0
- package/dist/CardHeader-DDRGpYth.js +31 -0
- package/dist/CardRoot-CZpgncJQ.cjs +49 -0
- package/dist/CardRoot-ia9NDth1.js +44 -0
- package/dist/CarouselItem-CJ9Kj2lU.cjs +21 -0
- package/dist/CarouselItem-Crs28MA9.js +16 -0
- package/dist/CarouselNavigation-BUZyy5GA.cjs +53 -0
- package/dist/CarouselNavigation-aM0v6IoI.js +48 -0
- package/dist/CarouselRoot-Co9IuVve.cjs +45 -0
- package/dist/CarouselRoot-DlGJZCox.js +40 -0
- package/dist/ControlSwitch-C-pzHgWm.cjs +188 -0
- package/dist/ControlSwitch-C0Rj6fSW.js +184 -0
- package/dist/DialogRoot-BiH9G8Jm.js +170 -0
- package/dist/DialogRoot-C6icP9Fb.cjs +174 -0
- package/dist/FieldBase-BwD6Dput.js +42 -0
- package/dist/FieldBase-X1FWOqPU.cjs +47 -0
- package/dist/FieldCheckbox-CYuyWgbl.cjs +139 -0
- package/dist/FieldCheckbox-DsQsNeX7.js +134 -0
- package/dist/FieldError-BPjk-uZc.js +36 -0
- package/dist/FieldError-XRz98TFe.cjs +41 -0
- package/dist/FieldFooter-05GxwrFg.cjs +29 -0
- package/dist/FieldFooter-CE598o7n.js +24 -0
- package/dist/FieldInput-bnC_fTws.cjs +155 -0
- package/dist/FieldInput-h3MgGC6J.js +150 -0
- package/dist/FieldLabel-BYlOJvXY.js +37 -0
- package/dist/FieldLabel-DBKhMbql.cjs +42 -0
- package/dist/FieldMessage-C83iNsEp.cjs +40 -0
- package/dist/FieldMessage-GyO_RQdK.js +35 -0
- package/dist/FieldRadioGroup-CLWFr3aL.cjs +158 -0
- package/dist/FieldRadioGroup-CmQ5JOjv.js +153 -0
- package/dist/FieldRequired-7fJtYCdt.js +16 -0
- package/dist/FieldRequired-CJtyr3cL.cjs +21 -0
- package/dist/FieldSelect-D6X_BwTS.js +239 -0
- package/dist/FieldSelect-DVcgCsHL.cjs +243 -0
- package/dist/FieldSwitch-C7VMSMoE.cjs +71 -0
- package/dist/FieldSwitch-DqagDsKK.js +66 -0
- package/dist/FieldTextarea-DBufxMQf.cjs +148 -0
- package/dist/FieldTextarea-_BtGkI0v.js +143 -0
- package/dist/FieldUrl-CcIOyPSl.js +387 -0
- package/dist/FieldUrl-DNnXDfBR.cjs +391 -0
- package/dist/FlyoutDropdown-Bw3pD8Tk.cjs +90 -0
- package/dist/FlyoutDropdown-ByXW9lqH.js +74 -0
- package/dist/FlyoutRoot-CuXnqpf8.js +110 -0
- package/dist/FlyoutRoot-DUoOHEoX.cjs +115 -0
- package/dist/FormPrompt-BDAVKk5i.cjs +63 -0
- package/dist/FormPrompt-BuS1lg-K.js +58 -0
- package/dist/FormPromptFooter-BhwWsaib.cjs +21 -0
- package/dist/FormPromptFooter-BrUOs40t.js +16 -0
- package/dist/HeroLead-BU-74-fX.js +151 -0
- package/dist/HeroLead-D52JBlM2.cjs +155 -0
- package/dist/ListItem-1sYxrNuv.cjs +164 -0
- package/dist/ListItem-rD49tsLw.js +148 -0
- package/dist/ListRoot-BRrC79y6.cjs +42 -0
- package/dist/ListRoot-CP7smMl_.js +37 -0
- package/dist/Loader-CMEggjED.cjs +121 -0
- package/dist/Loader-DSLPdX6P.js +116 -0
- package/dist/PricingCardBadge-DoHnRqTM.cjs +25 -0
- package/dist/PricingCardBadge-lh3Oq5fB.js +20 -0
- package/dist/PricingCardBody--EB7FzUU.cjs +60 -0
- package/dist/PricingCardBody-Dai1zKDL.js +49 -0
- package/dist/PricingCardHeader-DCEG6BUA.js +39 -0
- package/dist/PricingCardHeader-yebSjw8M.cjs +44 -0
- package/dist/PricingCardPricing-DvdbyMEh.cjs +30 -0
- package/dist/PricingCardPricing-Vbs2D8Fm.js +25 -0
- package/dist/PricingCardRoot-B9ztC1u9.cjs +46 -0
- package/dist/PricingCardRoot-Dagig8jr.js +41 -0
- package/dist/ProgressRoot-BV_wQKYv.js +251 -0
- package/dist/ProgressRoot-CWWNmB99.cjs +255 -0
- package/dist/SwitchRoot-CcipiBzA.cjs +61 -0
- package/dist/SwitchRoot-DGFu9ZWR.js +56 -0
- package/dist/TabItem--4wiBton.cjs +114 -0
- package/dist/TabItem-BTIrtLtp.js +104 -0
- package/dist/TabRoot-BNp4_dI_.cjs +77 -0
- package/dist/TabRoot-DDDJe5FC.js +72 -0
- package/dist/carousel-BrCOR927.cjs +144 -0
- package/dist/carousel-CBw9xA_6.js +139 -0
- package/dist/choiceStyles-DIVBtoZF.cjs +175 -0
- package/dist/choiceStyles-DRjL1Y2d.js +164 -0
- package/dist/components/Accordion/AccordionRoot.vue.d.ts +31 -0
- package/dist/components/Accordion/index.d.ts +59 -0
- package/dist/components/Accordion/styles.d.ts +67 -0
- package/dist/components/Accordion/types.d.ts +15 -0
- package/dist/components/Alert/AlertRoot.vue.d.ts +38 -0
- package/dist/components/Alert/index.d.ts +54 -0
- package/dist/components/Alert/styles.d.ts +132 -0
- package/dist/components/Alert/types.d.ts +6 -0
- package/dist/components/Badge/BadgeRoot.vue.d.ts +26 -0
- package/dist/components/Badge/index.d.ts +49 -0
- package/dist/components/Badge/styles.d.ts +94 -0
- package/dist/components/Button/Button.vue.d.ts +26 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/styles.d.ts +140 -0
- package/dist/components/Card/CardBody.vue.d.ts +17 -0
- package/dist/components/Card/CardHeader.vue.d.ts +25 -0
- package/dist/components/Card/CardRoot.vue.d.ts +39 -0
- package/dist/components/Card/index.d.ts +98 -0
- package/dist/components/Card/styles.d.ts +169 -0
- package/dist/components/Card/types.d.ts +8 -0
- package/dist/components/Carousel/CarouselItem.vue.d.ts +17 -0
- package/dist/components/Carousel/CarouselNavigation.vue.d.ts +30 -0
- package/dist/components/Carousel/CarouselRoot.vue.d.ts +30 -0
- package/dist/components/Carousel/index.d.ts +117 -0
- package/dist/components/Carousel/styles.d.ts +1 -0
- package/dist/components/Carousel/types.d.ts +11 -0
- package/dist/components/Dialog/DialogRoot.vue.d.ts +39 -0
- package/dist/components/Dialog/index.d.ts +68 -0
- package/dist/components/Dialog/styles.d.ts +1 -0
- package/dist/components/Field/FieldBase.vue.d.ts +22 -0
- package/dist/components/Field/FieldCheckbox.vue.d.ts +15 -0
- package/dist/components/Field/FieldError.vue.d.ts +10 -0
- package/dist/components/Field/FieldFooter.vue.d.ts +3 -0
- package/dist/components/Field/FieldInput.vue.d.ts +21 -0
- package/dist/components/Field/FieldLabel.vue.d.ts +13 -0
- package/dist/components/Field/FieldMessage.vue.d.ts +10 -0
- package/dist/components/Field/FieldRadioGroup.vue.d.ts +19 -0
- package/dist/components/Field/FieldRequired.vue.d.ts +3 -0
- package/dist/components/Field/FieldSelect.vue.d.ts +20 -0
- package/dist/components/Field/FieldSwitch.vue.d.ts +18 -0
- package/dist/components/Field/FieldTextarea.vue.d.ts +19 -0
- package/dist/components/Field/FieldUrl.vue.d.ts +24 -0
- package/dist/components/Field/index.d.ts +220 -0
- package/dist/components/Field/styles.d.ts +20 -0
- package/dist/components/Field/types.d.ts +17 -0
- package/dist/components/Flyout/FlyoutDropdown.vue.d.ts +19 -0
- package/dist/components/Flyout/FlyoutRoot.vue.d.ts +43 -0
- package/dist/components/Flyout/index.d.ts +74 -0
- package/dist/components/Flyout/styles.d.ts +1 -0
- package/dist/components/Flyout/types.d.ts +10 -0
- package/dist/components/Form/FormPrompt.vue.d.ts +43 -0
- package/dist/components/Form/FormPromptFooter.vue.d.ts +20 -0
- package/dist/components/Form/index.d.ts +72 -0
- package/dist/components/Form/styles.d.ts +1 -0
- package/dist/components/Hero/HeroLead.vue.d.ts +39 -0
- package/dist/components/Hero/index.d.ts +49 -0
- package/dist/components/Hero/styles.d.ts +111 -0
- package/dist/components/List/ListItem.vue.d.ts +24 -0
- package/dist/components/List/ListRoot.vue.d.ts +26 -0
- package/dist/components/List/index.d.ts +74 -0
- package/dist/components/List/styles.d.ts +90 -0
- package/dist/components/List/types.d.ts +12 -0
- package/dist/components/Loader/Loader.vue.d.ts +14 -0
- package/dist/components/Loader/index.d.ts +4 -0
- package/dist/components/Loader/styles.d.ts +62 -0
- package/dist/components/PricingCard/PricingCardBadge.vue.d.ts +20 -0
- package/dist/components/PricingCard/PricingCardBody.vue.d.ts +20 -0
- package/dist/components/PricingCard/PricingCardHeader.vue.d.ts +28 -0
- package/dist/components/PricingCard/PricingCardPricing.vue.d.ts +22 -0
- package/dist/components/PricingCard/PricingCardRoot.vue.d.ts +27 -0
- package/dist/components/PricingCard/index.d.ts +138 -0
- package/dist/components/PricingCard/styles.d.ts +10 -0
- package/dist/components/PricingCard/types.d.ts +21 -0
- package/dist/components/Progress/ProgressRoot.vue.d.ts +41 -0
- package/dist/components/Progress/index.d.ts +81 -0
- package/dist/components/Progress/styles.d.ts +560 -0
- package/dist/components/Progress/types.d.ts +4 -0
- package/dist/components/Switch/SwitchRoot.vue.d.ts +25 -0
- package/dist/components/Switch/index.d.ts +35 -0
- package/dist/components/Switch/types.d.ts +2 -0
- package/dist/components/Tab/TabItem.vue.d.ts +19 -0
- package/dist/components/Tab/TabRoot.vue.d.ts +32 -0
- package/dist/components/Tab/index.d.ts +97 -0
- package/dist/components/Tab/styles.d.ts +1 -0
- package/dist/components/Tab/types.d.ts +14 -0
- package/dist/composables/carousel.d.ts +29 -0
- package/dist/composables/flyout.d.ts +30 -0
- package/dist/composables/form.d.ts +18 -0
- package/dist/composables/injection-key.d.ts +2 -0
- package/dist/context-Bk4uIMQS.js +4 -0
- package/dist/context-cK3z69qT.cjs +8 -0
- package/dist/controlStyles-Bf6fx2rL.js +92 -0
- package/dist/controlStyles-CClWH9EG.cjs +96 -0
- package/dist/css-BRRSQx3P.cjs +21 -0
- package/dist/css-DWYlz0rn.js +16 -0
- package/dist/flyout-BaVoXePQ.cjs +67 -0
- package/dist/flyout-QHh1jKmV.js +62 -0
- package/dist/form-BtxAsfYs.cjs +34 -0
- package/dist/form-CB12X8xv.js +29 -0
- package/dist/index.cjs +233 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.js +168 -0
- package/dist/injection-key-BQYV9vIr.js +5 -0
- package/dist/injection-key-DPb_AXnh.cjs +10 -0
- package/dist/internal/controls/ControlCheckbox.vue.d.ts +23 -0
- package/dist/internal/controls/ControlInput.vue.d.ts +28 -0
- package/dist/internal/controls/ControlRadioGroup.vue.d.ts +24 -0
- package/dist/internal/controls/ControlSelect.vue.d.ts +27 -0
- package/dist/internal/controls/ControlSwitch.vue.d.ts +25 -0
- package/dist/internal/controls/ControlTextarea.vue.d.ts +27 -0
- package/dist/internal/controls/ControlUrl.vue.d.ts +31 -0
- package/dist/internal/controls/choiceStyles.d.ts +64 -0
- package/dist/internal/controls/context.d.ts +10 -0
- package/dist/internal/controls/controlStyles.d.ts +54 -0
- package/dist/internal/controls/index.d.ts +14 -0
- package/dist/internal/controls/selectStyles.d.ts +2 -0
- package/dist/internal/controls/switchStyles.d.ts +46 -0
- package/dist/internal/controls/types.d.ts +10 -0
- package/dist/internal/controls/urlStyles.d.ts +84 -0
- package/dist/internal/controls/urlUtils.d.ts +14 -0
- package/dist/internal/controls/useFieldControl.d.ts +17 -0
- package/dist/internal/css.d.ts +24 -0
- package/dist/nuxt/module.d.mts +21 -0
- package/dist/nuxt/module.json +9 -0
- package/dist/nuxt/module.mjs +126 -0
- package/dist/nuxt/types.d.mts +3 -0
- package/dist/nuxt-entries.json +49 -0
- package/dist/panda/buildinfo.json +5432 -0
- package/dist/panda/lib.json +18 -0
- package/dist/panda/preset.mjs +4092 -0
- package/dist/plugin.d.ts +3 -0
- package/dist/preset/index.cjs +692 -0
- package/dist/preset/index.d.cts +18 -0
- package/dist/preset/index.d.ts +18 -0
- package/dist/preset/index.js +656 -0
- package/dist/style.css +153 -0
- package/dist/styled-system/css/conditions.d.ts +7 -0
- package/dist/styled-system/css/conditions.js +32 -0
- package/dist/styled-system/css/css.d.ts +22 -0
- package/dist/styled-system/css/css.js +63 -0
- package/dist/styled-system/css/cva.d.ts +5 -0
- package/dist/styled-system/css/cva.js +51 -0
- package/dist/styled-system/css/cx.d.ts +6 -0
- package/dist/styled-system/css/cx.js +16 -0
- package/dist/styled-system/css/first-that-works.d.ts +22 -0
- package/dist/styled-system/css/first-that-works.js +1 -0
- package/dist/styled-system/css/index.d.ts +8 -0
- package/dist/styled-system/css/index.js +8 -0
- package/dist/styled-system/css/keyframes.d.ts +5 -0
- package/dist/styled-system/css/keyframes.js +8 -0
- package/dist/styled-system/css/position-try.d.ts +5 -0
- package/dist/styled-system/css/position-try.js +11 -0
- package/dist/styled-system/css/sva.d.ts +3 -0
- package/dist/styled-system/css/sva.js +49 -0
- package/dist/styled-system/css/view-transition.d.ts +7 -0
- package/dist/styled-system/css/view-transition.js +18 -0
- package/dist/styled-system/helpers.d.ts +67 -0
- package/dist/styled-system/helpers.js +624 -0
- package/dist/styled-system/patterns/aspect-ratio.d.ts +19 -0
- package/dist/styled-system/patterns/aspect-ratio.js +37 -0
- package/dist/styled-system/patterns/bleed.d.ts +20 -0
- package/dist/styled-system/patterns/bleed.js +30 -0
- package/dist/styled-system/patterns/box.d.ts +17 -0
- package/dist/styled-system/patterns/box.js +16 -0
- package/dist/styled-system/patterns/center.d.ts +19 -0
- package/dist/styled-system/patterns/center.js +22 -0
- package/dist/styled-system/patterns/circle.d.ts +19 -0
- package/dist/styled-system/patterns/circle.js +26 -0
- package/dist/styled-system/patterns/container.d.ts +17 -0
- package/dist/styled-system/patterns/container.js +37 -0
- package/dist/styled-system/patterns/cq.d.ts +21 -0
- package/dist/styled-system/patterns/cq.js +24 -0
- package/dist/styled-system/patterns/divider.d.ts +22 -0
- package/dist/styled-system/patterns/divider.js +31 -0
- package/dist/styled-system/patterns/flex.d.ts +25 -0
- package/dist/styled-system/patterns/flex.js +27 -0
- package/dist/styled-system/patterns/float.d.ts +23 -0
- package/dist/styled-system/patterns/float.js +78 -0
- package/dist/styled-system/patterns/grid-item.d.ts +24 -0
- package/dist/styled-system/patterns/grid-item.js +26 -0
- package/dist/styled-system/patterns/grid.d.ts +24 -0
- package/dist/styled-system/patterns/grid.js +30 -0
- package/dist/styled-system/patterns/hstack.d.ts +20 -0
- package/dist/styled-system/patterns/hstack.js +27 -0
- package/dist/styled-system/patterns/index.d.ts +20 -0
- package/dist/styled-system/patterns/index.js +20 -0
- package/dist/styled-system/patterns/link-overlay.d.ts +17 -0
- package/dist/styled-system/patterns/link-overlay.js +25 -0
- package/dist/styled-system/patterns/runtime.js +25 -0
- package/dist/styled-system/patterns/spacer.d.ts +20 -0
- package/dist/styled-system/patterns/spacer.js +25 -0
- package/dist/styled-system/patterns/square.d.ts +19 -0
- package/dist/styled-system/patterns/square.js +25 -0
- package/dist/styled-system/patterns/stack.d.ts +22 -0
- package/dist/styled-system/patterns/stack.js +30 -0
- package/dist/styled-system/patterns/visually-hidden.d.ts +17 -0
- package/dist/styled-system/patterns/visually-hidden.js +19 -0
- package/dist/styled-system/patterns/vstack.d.ts +20 -0
- package/dist/styled-system/patterns/vstack.js +27 -0
- package/dist/styled-system/patterns/wrap.d.ts +23 -0
- package/dist/styled-system/patterns/wrap.js +26 -0
- package/dist/styled-system/recipes/runtime.js +133 -0
- package/dist/styled-system/tokens/index.d.ts +8 -0
- package/dist/styled-system/tokens/index.js +18 -0
- package/dist/styled-system/types/index.d.ts +5 -0
- package/dist/styled-system/types/pattern.d.ts +26 -0
- package/dist/styled-system/types/recipe.d.ts +89 -0
- package/dist/styled-system/types/register.d.ts +36 -0
- package/dist/styled-system/types/system.d.ts +1880 -0
- package/dist/styled-system/types/tokens.d.ts +60 -0
- package/dist/styles-8a0pzMRc.js +88 -0
- package/dist/styles-BU90HeKh.js +72 -0
- package/dist/styles-BvLgeNpb.cjs +42 -0
- package/dist/styles-CK7DJVwO.js +72 -0
- package/dist/styles-Cjlvkx8i.cjs +92 -0
- package/dist/styles-CuN4CHU4.cjs +76 -0
- package/dist/styles-WOyB8APA.js +38 -0
- package/dist/styles-_I-I4HYc.cjs +76 -0
- package/dist/types-B1vOzUjg.js +5 -0
- package/dist/types-Boy3jvmf.js +4 -0
- package/dist/types-CBApDh_h.js +149 -0
- package/dist/types-D2v625uE.cjs +8 -0
- package/dist/types-DzEK6W6x.cjs +16 -0
- package/dist/types-cLDeFros.cjs +166 -0
- package/dist/useFieldControl-BkQi1zak.js +29 -0
- package/dist/useFieldControl-CEI7IRAa.cjs +34 -0
- package/dist/vue/AccordionRoot.cjs +6 -0
- package/dist/vue/AccordionRoot.d.ts +1 -0
- package/dist/vue/AccordionRoot.js +1 -0
- package/dist/vue/AlertRoot.cjs +6 -0
- package/dist/vue/AlertRoot.d.ts +1 -0
- package/dist/vue/AlertRoot.js +1 -0
- package/dist/vue/BadgeRoot.cjs +6 -0
- package/dist/vue/BadgeRoot.d.ts +1 -0
- package/dist/vue/BadgeRoot.js +1 -0
- package/dist/vue/Button.cjs +6 -0
- package/dist/vue/Button.d.ts +1 -0
- package/dist/vue/Button.js +1 -0
- package/dist/vue/CardBody.cjs +6 -0
- package/dist/vue/CardBody.d.ts +1 -0
- package/dist/vue/CardBody.js +1 -0
- package/dist/vue/CardHeader.cjs +6 -0
- package/dist/vue/CardHeader.d.ts +1 -0
- package/dist/vue/CardHeader.js +1 -0
- package/dist/vue/CardRoot.cjs +6 -0
- package/dist/vue/CardRoot.d.ts +1 -0
- package/dist/vue/CardRoot.js +1 -0
- package/dist/vue/CarouselItem.cjs +6 -0
- package/dist/vue/CarouselItem.d.ts +1 -0
- package/dist/vue/CarouselItem.js +1 -0
- package/dist/vue/CarouselNavigation.cjs +6 -0
- package/dist/vue/CarouselNavigation.d.ts +1 -0
- package/dist/vue/CarouselNavigation.js +1 -0
- package/dist/vue/CarouselRoot.cjs +6 -0
- package/dist/vue/CarouselRoot.d.ts +1 -0
- package/dist/vue/CarouselRoot.js +1 -0
- package/dist/vue/DialogRoot.cjs +6 -0
- package/dist/vue/DialogRoot.d.ts +1 -0
- package/dist/vue/DialogRoot.js +1 -0
- package/dist/vue/FieldBase.cjs +6 -0
- package/dist/vue/FieldBase.d.ts +1 -0
- package/dist/vue/FieldBase.js +1 -0
- package/dist/vue/FieldCheckbox.cjs +6 -0
- package/dist/vue/FieldCheckbox.d.ts +1 -0
- package/dist/vue/FieldCheckbox.js +1 -0
- package/dist/vue/FieldError.cjs +6 -0
- package/dist/vue/FieldError.d.ts +1 -0
- package/dist/vue/FieldError.js +1 -0
- package/dist/vue/FieldInput.cjs +6 -0
- package/dist/vue/FieldInput.d.ts +1 -0
- package/dist/vue/FieldInput.js +1 -0
- package/dist/vue/FieldLabel.cjs +6 -0
- package/dist/vue/FieldLabel.d.ts +1 -0
- package/dist/vue/FieldLabel.js +1 -0
- package/dist/vue/FieldMessage.cjs +6 -0
- package/dist/vue/FieldMessage.d.ts +1 -0
- package/dist/vue/FieldMessage.js +1 -0
- package/dist/vue/FieldRadioGroup.cjs +6 -0
- package/dist/vue/FieldRadioGroup.d.ts +1 -0
- package/dist/vue/FieldRadioGroup.js +1 -0
- package/dist/vue/FieldRequired.cjs +6 -0
- package/dist/vue/FieldRequired.d.ts +1 -0
- package/dist/vue/FieldRequired.js +1 -0
- package/dist/vue/FieldSelect.cjs +6 -0
- package/dist/vue/FieldSelect.d.ts +1 -0
- package/dist/vue/FieldSelect.js +1 -0
- package/dist/vue/FieldSwitch.cjs +6 -0
- package/dist/vue/FieldSwitch.d.ts +1 -0
- package/dist/vue/FieldSwitch.js +1 -0
- package/dist/vue/FieldTextarea.cjs +6 -0
- package/dist/vue/FieldTextarea.d.ts +1 -0
- package/dist/vue/FieldTextarea.js +1 -0
- package/dist/vue/FieldUrl.cjs +6 -0
- package/dist/vue/FieldUrl.d.ts +1 -0
- package/dist/vue/FieldUrl.js +1 -0
- package/dist/vue/FlyoutDropdown.cjs +6 -0
- package/dist/vue/FlyoutDropdown.d.ts +1 -0
- package/dist/vue/FlyoutDropdown.js +1 -0
- package/dist/vue/FlyoutRoot.cjs +6 -0
- package/dist/vue/FlyoutRoot.d.ts +1 -0
- package/dist/vue/FlyoutRoot.js +1 -0
- package/dist/vue/FormPrompt.cjs +6 -0
- package/dist/vue/FormPrompt.d.ts +1 -0
- package/dist/vue/FormPrompt.js +1 -0
- package/dist/vue/FormPromptFooter.cjs +6 -0
- package/dist/vue/FormPromptFooter.d.ts +1 -0
- package/dist/vue/FormPromptFooter.js +1 -0
- package/dist/vue/HeroLead.cjs +6 -0
- package/dist/vue/HeroLead.d.ts +1 -0
- package/dist/vue/HeroLead.js +1 -0
- package/dist/vue/ListItem.cjs +6 -0
- package/dist/vue/ListItem.d.ts +1 -0
- package/dist/vue/ListItem.js +1 -0
- package/dist/vue/ListRoot.cjs +6 -0
- package/dist/vue/ListRoot.d.ts +1 -0
- package/dist/vue/ListRoot.js +1 -0
- package/dist/vue/Loader.cjs +6 -0
- package/dist/vue/Loader.d.ts +1 -0
- package/dist/vue/Loader.js +1 -0
- package/dist/vue/PricingCardBadge.cjs +6 -0
- package/dist/vue/PricingCardBadge.d.ts +1 -0
- package/dist/vue/PricingCardBadge.js +1 -0
- package/dist/vue/PricingCardBody.cjs +6 -0
- package/dist/vue/PricingCardBody.d.ts +1 -0
- package/dist/vue/PricingCardBody.js +1 -0
- package/dist/vue/PricingCardHeader.cjs +6 -0
- package/dist/vue/PricingCardHeader.d.ts +1 -0
- package/dist/vue/PricingCardHeader.js +1 -0
- package/dist/vue/PricingCardPricing.cjs +6 -0
- package/dist/vue/PricingCardPricing.d.ts +1 -0
- package/dist/vue/PricingCardPricing.js +1 -0
- package/dist/vue/PricingCardRoot.cjs +6 -0
- package/dist/vue/PricingCardRoot.d.ts +1 -0
- package/dist/vue/PricingCardRoot.js +1 -0
- package/dist/vue/ProgressRoot.cjs +6 -0
- package/dist/vue/ProgressRoot.d.ts +1 -0
- package/dist/vue/ProgressRoot.js +1 -0
- package/dist/vue/SwitchRoot.cjs +6 -0
- package/dist/vue/SwitchRoot.d.ts +1 -0
- package/dist/vue/SwitchRoot.js +1 -0
- package/dist/vue/TabItem.cjs +6 -0
- package/dist/vue/TabItem.d.ts +1 -0
- package/dist/vue/TabItem.js +1 -0
- package/dist/vue/TabRoot.cjs +6 -0
- package/dist/vue/TabRoot.d.ts +1 -0
- package/dist/vue/TabRoot.js +1 -0
- package/dist/vue/useCarousel.cjs +3 -0
- package/dist/vue/useCarousel.d.ts +1 -0
- package/dist/vue/useCarousel.js +1 -0
- package/dist/vue/useFlyout.cjs +3 -0
- package/dist/vue/useFlyout.d.ts +1 -0
- package/dist/vue/useFlyout.js +1 -0
- package/dist/vue/useFormData.cjs +3 -0
- package/dist/vue/useFormData.d.ts +1 -0
- package/dist/vue/useFormData.js +1 -0
- package/dist/vue-components.d.ts +17 -0
- package/package.json +172 -4
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const require_ListRoot = require("./ListRoot-BRrC79y6.cjs");
|
|
2
|
+
const require_ListItem = require("./ListItem-1sYxrNuv.cjs");
|
|
3
|
+
const require_types = require("./types-DzEK6W6x.cjs");
|
|
4
|
+
let vue = require("vue");
|
|
5
|
+
let styled_system_css = require("@webflare/ui/css");
|
|
6
|
+
// src/components/List/index.ts
|
|
7
|
+
var List_default = {
|
|
8
|
+
Root: require_ListRoot.ListRoot_default,
|
|
9
|
+
Item: require_ListItem.ListItem_default
|
|
10
|
+
};
|
|
11
|
+
// src/components/PricingCard/PricingCardBody.vue
|
|
12
|
+
var PricingCardBody_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
13
|
+
__name: "PricingCardBody",
|
|
14
|
+
props: {
|
|
15
|
+
features: { default: void 0 },
|
|
16
|
+
css: {}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const data = (0, vue.inject)(require_types.PricingCardDataKey, (0, vue.computed)(() => ({})));
|
|
21
|
+
const features = (0, vue.computed)(() => props.features ?? data.value.features ?? []);
|
|
22
|
+
const items = (0, vue.computed)(() => features.value.map((feature) => ({
|
|
23
|
+
content: feature,
|
|
24
|
+
css: {
|
|
25
|
+
root: props.css?.feature,
|
|
26
|
+
marker: props.css?.featureIcon
|
|
27
|
+
}
|
|
28
|
+
})));
|
|
29
|
+
const rootCss = (0, vue.computed)(() => styled_system_css.css.raw({
|
|
30
|
+
paddingBlock: "lg",
|
|
31
|
+
paddingInline: "lg"
|
|
32
|
+
}, props.css?.root));
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return (0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [items.value.length > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_ListRoot.ListRoot_default), {
|
|
35
|
+
key: 0,
|
|
36
|
+
state: (0, vue.unref)(data).featuresState ?? "success",
|
|
37
|
+
size: (0, vue.unref)(data).featuresSize ?? "md",
|
|
38
|
+
items: items.value,
|
|
39
|
+
css: { root: rootCss.value }
|
|
40
|
+
}, null, 8, [
|
|
41
|
+
"state",
|
|
42
|
+
"size",
|
|
43
|
+
"items",
|
|
44
|
+
"css"
|
|
45
|
+
])) : (0, vue.createCommentVNode)("", true)]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "List_default", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function() {
|
|
52
|
+
return List_default;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "PricingCardBody_default", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function() {
|
|
58
|
+
return PricingCardBody_default;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as ListRoot_default } from "./ListRoot-CP7smMl_.js";
|
|
2
|
+
import { t as ListItem_default } from "./ListItem-rD49tsLw.js";
|
|
3
|
+
import { t as PricingCardDataKey } from "./types-B1vOzUjg.js";
|
|
4
|
+
import { computed, createBlock, createCommentVNode, defineComponent, inject, openBlock, renderSlot, unref } from "vue";
|
|
5
|
+
import { css } from "@webflare/ui/css";
|
|
6
|
+
// src/components/List/index.ts
|
|
7
|
+
var List_default = {
|
|
8
|
+
Root: ListRoot_default,
|
|
9
|
+
Item: ListItem_default
|
|
10
|
+
};
|
|
11
|
+
// src/components/PricingCard/PricingCardBody.vue
|
|
12
|
+
var PricingCardBody_default = /* @__PURE__ */ defineComponent({
|
|
13
|
+
__name: "PricingCardBody",
|
|
14
|
+
props: {
|
|
15
|
+
features: { default: void 0 },
|
|
16
|
+
css: {}
|
|
17
|
+
},
|
|
18
|
+
setup(__props) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const data = inject(PricingCardDataKey, computed(() => ({})));
|
|
21
|
+
const features = computed(() => props.features ?? data.value.features ?? []);
|
|
22
|
+
const items = computed(() => features.value.map((feature) => ({
|
|
23
|
+
content: feature,
|
|
24
|
+
css: {
|
|
25
|
+
root: props.css?.feature,
|
|
26
|
+
marker: props.css?.featureIcon
|
|
27
|
+
}
|
|
28
|
+
})));
|
|
29
|
+
const rootCss = computed(() => css.raw({
|
|
30
|
+
paddingBlock: "lg",
|
|
31
|
+
paddingInline: "lg"
|
|
32
|
+
}, props.css?.root));
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return renderSlot(_ctx.$slots, "default", {}, () => [items.value.length > 0 ? (openBlock(), createBlock(unref(ListRoot_default), {
|
|
35
|
+
key: 0,
|
|
36
|
+
state: unref(data).featuresState ?? "success",
|
|
37
|
+
size: unref(data).featuresSize ?? "md",
|
|
38
|
+
items: items.value,
|
|
39
|
+
css: { root: rootCss.value }
|
|
40
|
+
}, null, 8, [
|
|
41
|
+
"state",
|
|
42
|
+
"size",
|
|
43
|
+
"items",
|
|
44
|
+
"css"
|
|
45
|
+
])) : createCommentVNode("", true)]);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export { List_default as n, PricingCardBody_default as t };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as pricingCardStyles } from "./styles-8a0pzMRc.js";
|
|
2
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
3
|
+
import { n as PricingCardStylesKey, t as PricingCardDataKey } from "./types-B1vOzUjg.js";
|
|
4
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, inject, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
5
|
+
// src/components/PricingCard/PricingCardHeader.vue
|
|
6
|
+
var PricingCardHeader_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "PricingCardHeader",
|
|
8
|
+
props: {
|
|
9
|
+
title: {},
|
|
10
|
+
titleTag: {},
|
|
11
|
+
subtitle: {},
|
|
12
|
+
css: {}
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const styles = inject(PricingCardStylesKey, computed(() => pricingCardStyles.raw()));
|
|
17
|
+
const data = inject(PricingCardDataKey, computed(() => ({})));
|
|
18
|
+
const titleTag = computed(() => props.titleTag ?? data.value.titleTag ?? "div");
|
|
19
|
+
const title = computed(() => props.title ?? data.value.title);
|
|
20
|
+
const subtitle = computed(() => props.subtitle ?? data.value.subtitle);
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createElementBlock("header", { class: normalizeClass(unref(withCss)(unref(styles).header, props.css?.root)) }, [
|
|
23
|
+
renderSlot(_ctx.$slots, "prepend"),
|
|
24
|
+
renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("div", { class: normalizeClass(unref(withCss)(unref(styles).headerPackage, props.css?.headerPackage)) }, [renderSlot(_ctx.$slots, "title", {}, () => [title.value ? (openBlock(), createBlock(resolveDynamicComponent(titleTag.value), {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: normalizeClass(unref(withCss)(unref(styles).title, props.css?.title))
|
|
27
|
+
}, {
|
|
28
|
+
default: withCtx(() => [createTextVNode(toDisplayString(title.value), 1)]),
|
|
29
|
+
_: 1
|
|
30
|
+
}, 8, ["class"])) : createCommentVNode("", true)]), renderSlot(_ctx.$slots, "subtitle", {}, () => [subtitle.value ? (openBlock(), createElementBlock("p", {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: normalizeClass(unref(withCss)(unref(styles).subtitle, props.css?.subtitle))
|
|
33
|
+
}, toDisplayString(subtitle.value), 3)) : createCommentVNode("", true)])], 2)]),
|
|
34
|
+
renderSlot(_ctx.$slots, "append")
|
|
35
|
+
], 2);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export { PricingCardHeader_default as t };
|
|
@@ -0,0 +1,44 @@
|
|
|
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/PricingCardHeader.vue
|
|
6
|
+
var PricingCardHeader_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
7
|
+
__name: "PricingCardHeader",
|
|
8
|
+
props: {
|
|
9
|
+
title: {},
|
|
10
|
+
titleTag: {},
|
|
11
|
+
subtitle: {},
|
|
12
|
+
css: {}
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const styles = (0, vue.inject)(require_types.PricingCardStylesKey, (0, vue.computed)(() => require_styles.pricingCardStyles.raw()));
|
|
17
|
+
const data = (0, vue.inject)(require_types.PricingCardDataKey, (0, vue.computed)(() => ({})));
|
|
18
|
+
const titleTag = (0, vue.computed)(() => props.titleTag ?? data.value.titleTag ?? "div");
|
|
19
|
+
const title = (0, vue.computed)(() => props.title ?? data.value.title);
|
|
20
|
+
const subtitle = (0, vue.computed)(() => props.subtitle ?? data.value.subtitle);
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("header", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).header, props.css?.root)) }, [
|
|
23
|
+
(0, vue.renderSlot)(_ctx.$slots, "prepend"),
|
|
24
|
+
(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).headerPackage, props.css?.headerPackage)) }, [(0, vue.renderSlot)(_ctx.$slots, "title", {}, () => [title.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(titleTag.value), {
|
|
25
|
+
key: 0,
|
|
26
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).title, props.css?.title))
|
|
27
|
+
}, {
|
|
28
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(title.value), 1)]),
|
|
29
|
+
_: 1
|
|
30
|
+
}, 8, ["class"])) : (0, vue.createCommentVNode)("", true)]), (0, vue.renderSlot)(_ctx.$slots, "subtitle", {}, () => [subtitle.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("p", {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).subtitle, props.css?.subtitle))
|
|
33
|
+
}, (0, vue.toDisplayString)(subtitle.value), 3)) : (0, vue.createCommentVNode)("", true)])], 2)]),
|
|
34
|
+
(0, vue.renderSlot)(_ctx.$slots, "append")
|
|
35
|
+
], 2);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "PricingCardHeader_default", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function() {
|
|
42
|
+
return PricingCardHeader_default;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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/PricingCardPricing.vue
|
|
6
|
+
var PricingCardPricing_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
7
|
+
__name: "PricingCardPricing",
|
|
8
|
+
props: {
|
|
9
|
+
price: {},
|
|
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
|
+
const data = (0, vue.inject)(require_types.PricingCardDataKey, (0, vue.computed)(() => ({})));
|
|
16
|
+
const price = (0, vue.computed)(() => props.price ?? data.value.price);
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).pricing, props.css?.root)) }, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.renderSlot)(_ctx.$slots, "price", {}, () => [price.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).price, props.css?.price))
|
|
21
|
+
}, (0, vue.toDisplayString)(price.value), 3)) : (0, vue.createCommentVNode)("", true)]), (0, vue.renderSlot)(_ctx.$slots, "pricing-addon")])], 2);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "PricingCardPricing_default", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function() {
|
|
28
|
+
return PricingCardPricing_default;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as pricingCardStyles } from "./styles-8a0pzMRc.js";
|
|
2
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
3
|
+
import { n as PricingCardStylesKey, t as PricingCardDataKey } from "./types-B1vOzUjg.js";
|
|
4
|
+
import { computed, createCommentVNode, createElementBlock, defineComponent, inject, normalizeClass, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
5
|
+
// src/components/PricingCard/PricingCardPricing.vue
|
|
6
|
+
var PricingCardPricing_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "PricingCardPricing",
|
|
8
|
+
props: {
|
|
9
|
+
price: {},
|
|
10
|
+
css: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
const styles = inject(PricingCardStylesKey, computed(() => pricingCardStyles.raw()));
|
|
15
|
+
const data = inject(PricingCardDataKey, computed(() => ({})));
|
|
16
|
+
const price = computed(() => props.price ?? data.value.price);
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(withCss)(unref(styles).pricing, props.css?.root)) }, [renderSlot(_ctx.$slots, "default", {}, () => [renderSlot(_ctx.$slots, "price", {}, () => [price.value ? (openBlock(), createElementBlock("span", {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: normalizeClass(unref(withCss)(unref(styles).price, props.css?.price))
|
|
21
|
+
}, toDisplayString(price.value), 3)) : createCommentVNode("", true)]), renderSlot(_ctx.$slots, "pricing-addon")])], 2);
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export { PricingCardPricing_default as t };
|
|
@@ -0,0 +1,46 @@
|
|
|
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/PricingCardRoot.vue
|
|
6
|
+
var PricingCardRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
7
|
+
__name: "PricingCardRoot",
|
|
8
|
+
props: {
|
|
9
|
+
highlight: { type: Boolean },
|
|
10
|
+
css: {},
|
|
11
|
+
title: {},
|
|
12
|
+
titleTag: { default: "div" },
|
|
13
|
+
subtitle: {},
|
|
14
|
+
price: {},
|
|
15
|
+
features: { default: () => [] },
|
|
16
|
+
featuresState: { default: "success" },
|
|
17
|
+
featuresSize: { default: "md" }
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const styles = (0, vue.computed)(() => require_styles.pricingCardStyles.raw({ highlight: props.highlight }));
|
|
22
|
+
(0, vue.provide)(require_types.PricingCardStylesKey, styles);
|
|
23
|
+
(0, vue.provide)(require_types.PricingCardDataKey, (0, vue.computed)(() => ({
|
|
24
|
+
title: props.title,
|
|
25
|
+
titleTag: props.titleTag,
|
|
26
|
+
subtitle: props.subtitle,
|
|
27
|
+
price: props.price,
|
|
28
|
+
features: props.features,
|
|
29
|
+
featuresState: props.featuresState,
|
|
30
|
+
featuresSize: props.featuresSize
|
|
31
|
+
})));
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("article", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.root, props.css?.root)) }, [
|
|
34
|
+
(0, vue.renderSlot)(_ctx.$slots, "before"),
|
|
35
|
+
(0, vue.renderSlot)(_ctx.$slots, "default"),
|
|
36
|
+
(0, vue.renderSlot)(_ctx.$slots, "after")
|
|
37
|
+
], 2);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "PricingCardRoot_default", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function() {
|
|
44
|
+
return PricingCardRoot_default;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as pricingCardStyles } from "./styles-8a0pzMRc.js";
|
|
2
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
3
|
+
import { n as PricingCardStylesKey, t as PricingCardDataKey } from "./types-B1vOzUjg.js";
|
|
4
|
+
import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, provide, renderSlot, unref } from "vue";
|
|
5
|
+
// src/components/PricingCard/PricingCardRoot.vue
|
|
6
|
+
var PricingCardRoot_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "PricingCardRoot",
|
|
8
|
+
props: {
|
|
9
|
+
highlight: { type: Boolean },
|
|
10
|
+
css: {},
|
|
11
|
+
title: {},
|
|
12
|
+
titleTag: { default: "div" },
|
|
13
|
+
subtitle: {},
|
|
14
|
+
price: {},
|
|
15
|
+
features: { default: () => [] },
|
|
16
|
+
featuresState: { default: "success" },
|
|
17
|
+
featuresSize: { default: "md" }
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const styles = computed(() => pricingCardStyles.raw({ highlight: props.highlight }));
|
|
22
|
+
provide(PricingCardStylesKey, styles);
|
|
23
|
+
provide(PricingCardDataKey, computed(() => ({
|
|
24
|
+
title: props.title,
|
|
25
|
+
titleTag: props.titleTag,
|
|
26
|
+
subtitle: props.subtitle,
|
|
27
|
+
price: props.price,
|
|
28
|
+
features: props.features,
|
|
29
|
+
featuresState: props.featuresState,
|
|
30
|
+
featuresSize: props.featuresSize
|
|
31
|
+
})));
|
|
32
|
+
return (_ctx, _cache) => {
|
|
33
|
+
return openBlock(), createElementBlock("article", { class: normalizeClass(unref(withCss)(styles.value.root, props.css?.root)) }, [
|
|
34
|
+
renderSlot(_ctx.$slots, "before"),
|
|
35
|
+
renderSlot(_ctx.$slots, "default"),
|
|
36
|
+
renderSlot(_ctx.$slots, "after")
|
|
37
|
+
], 2);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
export { PricingCardRoot_default as t };
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
2
|
+
import { computed, createCommentVNode, createElementBlock, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
3
|
+
import { ProgressIndicator, ProgressRoot } from "reka-ui";
|
|
4
|
+
import { sva } from "@webflare/ui/css";
|
|
5
|
+
// src/components/Progress/styles.ts
|
|
6
|
+
var progressStyles = sva({
|
|
7
|
+
slots: [
|
|
8
|
+
"root",
|
|
9
|
+
"track",
|
|
10
|
+
"indicator",
|
|
11
|
+
"value"
|
|
12
|
+
],
|
|
13
|
+
base: {
|
|
14
|
+
root: {
|
|
15
|
+
display: "flex",
|
|
16
|
+
flexDirection: "column",
|
|
17
|
+
gap: "xs",
|
|
18
|
+
width: "100%"
|
|
19
|
+
},
|
|
20
|
+
track: {
|
|
21
|
+
position: "relative",
|
|
22
|
+
overflow: "hidden",
|
|
23
|
+
width: "100%",
|
|
24
|
+
borderRadius: "pill",
|
|
25
|
+
bgColor: "grey.700"
|
|
26
|
+
},
|
|
27
|
+
indicator: {
|
|
28
|
+
"height": "100%",
|
|
29
|
+
"borderRadius": "pill",
|
|
30
|
+
"transition": "width 300ms ease",
|
|
31
|
+
"width": "0%",
|
|
32
|
+
"&[data-state=\"indeterminate\"]": {
|
|
33
|
+
width: "40%",
|
|
34
|
+
animationStyle: "progressIndeterminate"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
value: {
|
|
38
|
+
fontWeight: "600",
|
|
39
|
+
lineHeight: "1.2",
|
|
40
|
+
color: "text.muted"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
variants: {
|
|
44
|
+
size: {
|
|
45
|
+
sm: {
|
|
46
|
+
track: { height: "3px" },
|
|
47
|
+
value: {
|
|
48
|
+
paddingInline: "2xs",
|
|
49
|
+
fontSize: "sm"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
md: {
|
|
53
|
+
track: { height: "6px" },
|
|
54
|
+
value: {
|
|
55
|
+
paddingInline: "2xs",
|
|
56
|
+
fontSize: "sm"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
lg: {
|
|
60
|
+
track: { height: "12px" },
|
|
61
|
+
value: {
|
|
62
|
+
paddingInline: "2xs",
|
|
63
|
+
fontSize: "md"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
color: {
|
|
68
|
+
primary: { indicator: { bgColor: "primary" } },
|
|
69
|
+
success: { indicator: { bgColor: "success.subtle" } },
|
|
70
|
+
danger: { indicator: { bgColor: "danger.subtle" } },
|
|
71
|
+
info: { indicator: { bgColor: "info.subtle" } }
|
|
72
|
+
},
|
|
73
|
+
percent: {
|
|
74
|
+
0: { indicator: { width: "0%" } },
|
|
75
|
+
1: { indicator: { width: "1%" } },
|
|
76
|
+
2: { indicator: { width: "2%" } },
|
|
77
|
+
3: { indicator: { width: "3%" } },
|
|
78
|
+
4: { indicator: { width: "4%" } },
|
|
79
|
+
5: { indicator: { width: "5%" } },
|
|
80
|
+
6: { indicator: { width: "6%" } },
|
|
81
|
+
7: { indicator: { width: "7%" } },
|
|
82
|
+
8: { indicator: { width: "8%" } },
|
|
83
|
+
9: { indicator: { width: "9%" } },
|
|
84
|
+
10: { indicator: { width: "10%" } },
|
|
85
|
+
11: { indicator: { width: "11%" } },
|
|
86
|
+
12: { indicator: { width: "12%" } },
|
|
87
|
+
13: { indicator: { width: "13%" } },
|
|
88
|
+
14: { indicator: { width: "14%" } },
|
|
89
|
+
15: { indicator: { width: "15%" } },
|
|
90
|
+
16: { indicator: { width: "16%" } },
|
|
91
|
+
17: { indicator: { width: "17%" } },
|
|
92
|
+
18: { indicator: { width: "18%" } },
|
|
93
|
+
19: { indicator: { width: "19%" } },
|
|
94
|
+
20: { indicator: { width: "20%" } },
|
|
95
|
+
21: { indicator: { width: "21%" } },
|
|
96
|
+
22: { indicator: { width: "22%" } },
|
|
97
|
+
23: { indicator: { width: "23%" } },
|
|
98
|
+
24: { indicator: { width: "24%" } },
|
|
99
|
+
25: { indicator: { width: "25%" } },
|
|
100
|
+
26: { indicator: { width: "26%" } },
|
|
101
|
+
27: { indicator: { width: "27%" } },
|
|
102
|
+
28: { indicator: { width: "28%" } },
|
|
103
|
+
29: { indicator: { width: "29%" } },
|
|
104
|
+
30: { indicator: { width: "30%" } },
|
|
105
|
+
31: { indicator: { width: "31%" } },
|
|
106
|
+
32: { indicator: { width: "32%" } },
|
|
107
|
+
33: { indicator: { width: "33%" } },
|
|
108
|
+
34: { indicator: { width: "34%" } },
|
|
109
|
+
35: { indicator: { width: "35%" } },
|
|
110
|
+
36: { indicator: { width: "36%" } },
|
|
111
|
+
37: { indicator: { width: "37%" } },
|
|
112
|
+
38: { indicator: { width: "38%" } },
|
|
113
|
+
39: { indicator: { width: "39%" } },
|
|
114
|
+
40: { indicator: { width: "40%" } },
|
|
115
|
+
41: { indicator: { width: "41%" } },
|
|
116
|
+
42: { indicator: { width: "42%" } },
|
|
117
|
+
43: { indicator: { width: "43%" } },
|
|
118
|
+
44: { indicator: { width: "44%" } },
|
|
119
|
+
45: { indicator: { width: "45%" } },
|
|
120
|
+
46: { indicator: { width: "46%" } },
|
|
121
|
+
47: { indicator: { width: "47%" } },
|
|
122
|
+
48: { indicator: { width: "48%" } },
|
|
123
|
+
49: { indicator: { width: "49%" } },
|
|
124
|
+
50: { indicator: { width: "50%" } },
|
|
125
|
+
51: { indicator: { width: "51%" } },
|
|
126
|
+
52: { indicator: { width: "52%" } },
|
|
127
|
+
53: { indicator: { width: "53%" } },
|
|
128
|
+
54: { indicator: { width: "54%" } },
|
|
129
|
+
55: { indicator: { width: "55%" } },
|
|
130
|
+
56: { indicator: { width: "56%" } },
|
|
131
|
+
57: { indicator: { width: "57%" } },
|
|
132
|
+
58: { indicator: { width: "58%" } },
|
|
133
|
+
59: { indicator: { width: "59%" } },
|
|
134
|
+
60: { indicator: { width: "60%" } },
|
|
135
|
+
61: { indicator: { width: "61%" } },
|
|
136
|
+
62: { indicator: { width: "62%" } },
|
|
137
|
+
63: { indicator: { width: "63%" } },
|
|
138
|
+
64: { indicator: { width: "64%" } },
|
|
139
|
+
65: { indicator: { width: "65%" } },
|
|
140
|
+
66: { indicator: { width: "66%" } },
|
|
141
|
+
67: { indicator: { width: "67%" } },
|
|
142
|
+
68: { indicator: { width: "68%" } },
|
|
143
|
+
69: { indicator: { width: "69%" } },
|
|
144
|
+
70: { indicator: { width: "70%" } },
|
|
145
|
+
71: { indicator: { width: "71%" } },
|
|
146
|
+
72: { indicator: { width: "72%" } },
|
|
147
|
+
73: { indicator: { width: "73%" } },
|
|
148
|
+
74: { indicator: { width: "74%" } },
|
|
149
|
+
75: { indicator: { width: "75%" } },
|
|
150
|
+
76: { indicator: { width: "76%" } },
|
|
151
|
+
77: { indicator: { width: "77%" } },
|
|
152
|
+
78: { indicator: { width: "78%" } },
|
|
153
|
+
79: { indicator: { width: "79%" } },
|
|
154
|
+
80: { indicator: { width: "80%" } },
|
|
155
|
+
81: { indicator: { width: "81%" } },
|
|
156
|
+
82: { indicator: { width: "82%" } },
|
|
157
|
+
83: { indicator: { width: "83%" } },
|
|
158
|
+
84: { indicator: { width: "84%" } },
|
|
159
|
+
85: { indicator: { width: "85%" } },
|
|
160
|
+
86: { indicator: { width: "86%" } },
|
|
161
|
+
87: { indicator: { width: "87%" } },
|
|
162
|
+
88: { indicator: { width: "88%" } },
|
|
163
|
+
89: { indicator: { width: "89%" } },
|
|
164
|
+
90: { indicator: { width: "90%" } },
|
|
165
|
+
91: { indicator: { width: "91%" } },
|
|
166
|
+
92: { indicator: { width: "92%" } },
|
|
167
|
+
93: { indicator: { width: "93%" } },
|
|
168
|
+
94: { indicator: { width: "94%" } },
|
|
169
|
+
95: { indicator: { width: "95%" } },
|
|
170
|
+
96: { indicator: { width: "96%" } },
|
|
171
|
+
97: { indicator: { width: "97%" } },
|
|
172
|
+
98: { indicator: { width: "98%" } },
|
|
173
|
+
99: { indicator: { width: "99%" } },
|
|
174
|
+
100: { indicator: { width: "100%" } }
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
defaultVariants: {
|
|
178
|
+
size: "md",
|
|
179
|
+
color: "primary"
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
// src/components/Progress/ProgressRoot.vue
|
|
183
|
+
var ProgressRoot_default = /* @__PURE__ */ defineComponent({
|
|
184
|
+
__name: "ProgressRoot",
|
|
185
|
+
props: {
|
|
186
|
+
modelValue: { default: null },
|
|
187
|
+
max: { default: 100 },
|
|
188
|
+
size: { default: "md" },
|
|
189
|
+
color: { default: "primary" },
|
|
190
|
+
showValue: {
|
|
191
|
+
type: Boolean,
|
|
192
|
+
default: false
|
|
193
|
+
},
|
|
194
|
+
getValueLabel: {},
|
|
195
|
+
getValueText: {},
|
|
196
|
+
css: {},
|
|
197
|
+
class: {}
|
|
198
|
+
},
|
|
199
|
+
setup(__props) {
|
|
200
|
+
/**
|
|
201
|
+
* @component ProgressRoot
|
|
202
|
+
* @description Progress bar built on reka-ui Progress primitives.
|
|
203
|
+
* A `null` value renders the indeterminate animation.
|
|
204
|
+
*/
|
|
205
|
+
const props = __props;
|
|
206
|
+
const isIndeterminate = computed(() => props.modelValue == null);
|
|
207
|
+
const percentage = computed(() => {
|
|
208
|
+
if (props.modelValue == null || props.max <= 0) return 0;
|
|
209
|
+
return Math.min(100, Math.max(0, Math.round(props.modelValue / props.max * 100)));
|
|
210
|
+
});
|
|
211
|
+
const styles = computed(() => progressStyles.raw({
|
|
212
|
+
size: props.size,
|
|
213
|
+
color: props.color,
|
|
214
|
+
percent: isIndeterminate.value ? void 0 : percentage.value
|
|
215
|
+
}));
|
|
216
|
+
const displayValue = computed(() => {
|
|
217
|
+
if (isIndeterminate.value) return void 0;
|
|
218
|
+
return `${percentage.value}%`;
|
|
219
|
+
});
|
|
220
|
+
return (_ctx, _cache) => {
|
|
221
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass([unref(withCss)(styles.value.root, props.css?.root), props.class]) }, [__props.showValue ? (openBlock(), createElementBlock("div", {
|
|
222
|
+
key: 0,
|
|
223
|
+
class: normalizeClass(unref(withCss)(styles.value.value, props.css?.value))
|
|
224
|
+
}, [renderSlot(_ctx.$slots, "value", {
|
|
225
|
+
modelValue: __props.modelValue,
|
|
226
|
+
max: __props.max,
|
|
227
|
+
percentage: percentage.value
|
|
228
|
+
}, () => [createTextVNode(toDisplayString(displayValue.value), 1)])], 2)) : createCommentVNode("", true), createVNode(unref(ProgressRoot), {
|
|
229
|
+
"model-value": __props.modelValue,
|
|
230
|
+
max: __props.max,
|
|
231
|
+
"get-value-label": __props.getValueLabel,
|
|
232
|
+
"get-value-text": __props.getValueText,
|
|
233
|
+
class: normalizeClass(unref(withCss)(styles.value.track, props.css?.track))
|
|
234
|
+
}, {
|
|
235
|
+
default: withCtx(() => [createVNode(unref(ProgressIndicator), { class: normalizeClass(unref(withCss)(styles.value.indicator, props.css?.indicator)) }, null, 8, ["class"]), renderSlot(_ctx.$slots, "default", {
|
|
236
|
+
modelValue: __props.modelValue,
|
|
237
|
+
max: __props.max,
|
|
238
|
+
percentage: percentage.value
|
|
239
|
+
})]),
|
|
240
|
+
_: 3
|
|
241
|
+
}, 8, [
|
|
242
|
+
"model-value",
|
|
243
|
+
"max",
|
|
244
|
+
"get-value-label",
|
|
245
|
+
"get-value-text",
|
|
246
|
+
"class"
|
|
247
|
+
])], 2);
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
export { ProgressRoot_default as t };
|