@webflare/ui 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,115 @@
|
|
|
1
|
+
const require_FlyoutDropdown = require("./FlyoutDropdown-Bw3pD8Tk.cjs");
|
|
2
|
+
const require_flyout = require("./flyout-BaVoXePQ.cjs");
|
|
3
|
+
const require_css = require("./css-BRRSQx3P.cjs");
|
|
4
|
+
let vue = require("vue");
|
|
5
|
+
let reka_ui = require("reka-ui");
|
|
6
|
+
// src/components/Flyout/FlyoutRoot.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var _hoisted_1 = ["innerHTML"];
|
|
8
|
+
// src/components/Flyout/FlyoutRoot.vue
|
|
9
|
+
var FlyoutRoot_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
10
|
+
__name: "FlyoutRoot",
|
|
11
|
+
props: {
|
|
12
|
+
icon: {},
|
|
13
|
+
label: {},
|
|
14
|
+
ariaLabel: {},
|
|
15
|
+
direction: { default: "left" },
|
|
16
|
+
openOnHover: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: true
|
|
19
|
+
},
|
|
20
|
+
css: {}
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
/**
|
|
24
|
+
* @component FlyoutRoot
|
|
25
|
+
* @description Dropdown panel built on reka-ui Popover. Opens on mouse hover and on click;
|
|
26
|
+
* Escape and an outside click close it. A click while it is hover-open pins it open.
|
|
27
|
+
*
|
|
28
|
+
* @slot trigger - Replaces the trigger button. Render exactly one element; it becomes
|
|
29
|
+
* the Popover trigger. Slot props: `{ open, toggle }`.
|
|
30
|
+
* @slot trigger-label - Replaces the label inside the default trigger.
|
|
31
|
+
* @slot trigger-icon - Appended inside the default trigger. Slot props: `{ open }`.
|
|
32
|
+
* @slot dropdown - Replaces the default `Flyout.Dropdown`. Keep the panel inside a
|
|
33
|
+
* `Flyout.Dropdown` so Escape, outside clicks, and positioning still work.
|
|
34
|
+
* @slot default - Panel content.
|
|
35
|
+
*/
|
|
36
|
+
const props = __props;
|
|
37
|
+
const slots = (0, vue.useSlots)();
|
|
38
|
+
const { open, openedBy, setOpen, toggle, pin, onPointerEnter, onPointerLeave } = require_flyout.useFlyout({ openOnHover: () => props.openOnHover });
|
|
39
|
+
(0, vue.provide)(require_FlyoutDropdown.FlyoutContextKey, {
|
|
40
|
+
openedBy,
|
|
41
|
+
direction: (0, vue.toRef)(props, "direction")
|
|
42
|
+
});
|
|
43
|
+
const triggerId = (0, vue.useId)();
|
|
44
|
+
let clickOnTrigger = false;
|
|
45
|
+
/** Runs before PopoverTrigger's own click handler toggles the popover. */
|
|
46
|
+
const onClickCapture = (event) => {
|
|
47
|
+
const target = event.target;
|
|
48
|
+
clickOnTrigger = Boolean(target?.closest?.(`[data-flyout-trigger="${triggerId}"]`));
|
|
49
|
+
};
|
|
50
|
+
const onOpenChange = (value) => {
|
|
51
|
+
const fromTrigger = clickOnTrigger;
|
|
52
|
+
clickOnTrigger = false;
|
|
53
|
+
if (!value && fromTrigger && openedBy.value === "hover") {
|
|
54
|
+
pin();
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
setOpen(value, "click");
|
|
58
|
+
};
|
|
59
|
+
const styles = (0, vue.computed)(() => require_FlyoutDropdown.flyoutStyles.raw());
|
|
60
|
+
const hasCustomTrigger = (0, vue.computed)(() => Boolean(slots.trigger));
|
|
61
|
+
return (_ctx, _cache) => {
|
|
62
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.PopoverRoot), {
|
|
63
|
+
open: (0, vue.unref)(open),
|
|
64
|
+
"onUpdate:open": onOpenChange
|
|
65
|
+
}, {
|
|
66
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", {
|
|
67
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.root, props.css?.root)),
|
|
68
|
+
onPointerenter: _cache[0] || (_cache[0] = (...args) => (0, vue.unref)(onPointerEnter) && (0, vue.unref)(onPointerEnter)(...args)),
|
|
69
|
+
onPointerleave: _cache[1] || (_cache[1] = (...args) => (0, vue.unref)(onPointerLeave) && (0, vue.unref)(onPointerLeave)(...args)),
|
|
70
|
+
onClickCapture
|
|
71
|
+
}, [hasCustomTrigger.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.PopoverTrigger), {
|
|
72
|
+
key: 0,
|
|
73
|
+
"as-child": "",
|
|
74
|
+
"data-flyout-trigger": (0, vue.unref)(triggerId)
|
|
75
|
+
}, {
|
|
76
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "trigger", {
|
|
77
|
+
open: (0, vue.unref)(open),
|
|
78
|
+
toggle: (0, vue.unref)(toggle)
|
|
79
|
+
})]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 8, ["data-flyout-trigger"])) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.PopoverTrigger), {
|
|
82
|
+
key: 1,
|
|
83
|
+
"data-flyout-trigger": (0, vue.unref)(triggerId),
|
|
84
|
+
class: (0, vue.normalizeClass)([(0, vue.unref)(require_css.withCss)(styles.value.trigger, props.css?.trigger), (0, vue.unref)(open) ? "active" : null]),
|
|
85
|
+
"aria-label": __props.ariaLabel || __props.label
|
|
86
|
+
}, {
|
|
87
|
+
default: (0, vue.withCtx)(() => [
|
|
88
|
+
props.icon ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
89
|
+
key: 0,
|
|
90
|
+
class: (0, vue.normalizeClass)(props.icon),
|
|
91
|
+
"aria-hidden": "true"
|
|
92
|
+
}, null, 2)) : (0, vue.createCommentVNode)("", true),
|
|
93
|
+
(0, vue.renderSlot)(_ctx.$slots, "trigger-label", {}, () => [(0, vue.createElementVNode)("span", { innerHTML: __props.label }, null, 8, _hoisted_1)]),
|
|
94
|
+
(0, vue.renderSlot)(_ctx.$slots, "trigger-icon", { open: (0, vue.unref)(open) })
|
|
95
|
+
]),
|
|
96
|
+
_: 3
|
|
97
|
+
}, 8, [
|
|
98
|
+
"data-flyout-trigger",
|
|
99
|
+
"class",
|
|
100
|
+
"aria-label"
|
|
101
|
+
])), (0, vue.renderSlot)(_ctx.$slots, "dropdown", { open: (0, vue.unref)(open) }, () => [(0, vue.createVNode)(require_FlyoutDropdown.FlyoutDropdown_default, { css: { root: props.css?.content } }, {
|
|
102
|
+
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default")]),
|
|
103
|
+
_: 3
|
|
104
|
+
}, 8, ["css"])])], 34)]),
|
|
105
|
+
_: 3
|
|
106
|
+
}, 8, ["open"]);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "FlyoutRoot_default", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function() {
|
|
113
|
+
return FlyoutRoot_default;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
const require_styles = require("./styles-_I-I4HYc.cjs");
|
|
2
|
+
const require_css = require("./css-BRRSQx3P.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
// src/components/Form/FormPrompt.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = [
|
|
6
|
+
"id",
|
|
7
|
+
"action",
|
|
8
|
+
"method",
|
|
9
|
+
"name",
|
|
10
|
+
"aria-label"
|
|
11
|
+
];
|
|
12
|
+
var _hoisted_2 = ["placeholder"];
|
|
13
|
+
// src/components/Form/FormPrompt.vue
|
|
14
|
+
var FormPrompt_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
15
|
+
__name: "FormPrompt",
|
|
16
|
+
props: {
|
|
17
|
+
action: {},
|
|
18
|
+
method: { default: "post" },
|
|
19
|
+
id: {},
|
|
20
|
+
name: {},
|
|
21
|
+
ariaLabel: {},
|
|
22
|
+
placeholder: {},
|
|
23
|
+
css: {}
|
|
24
|
+
},
|
|
25
|
+
emits: ["submit"],
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const emit = __emit;
|
|
29
|
+
const promptForm = (0, vue.ref)(null);
|
|
30
|
+
const styles = require_styles.formPromptStyles.raw();
|
|
31
|
+
const handleSubmit = (event) => {
|
|
32
|
+
event.preventDefault();
|
|
33
|
+
emit("submit", promptForm.value);
|
|
34
|
+
};
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).root, props.css?.root)) }, [(0, vue.renderSlot)(_ctx.$slots, "alert"), (0, vue.createElementVNode)("form", {
|
|
37
|
+
id: __props.id,
|
|
38
|
+
ref_key: "promptForm",
|
|
39
|
+
ref: promptForm,
|
|
40
|
+
action: __props.action,
|
|
41
|
+
method: __props.method,
|
|
42
|
+
name: __props.name,
|
|
43
|
+
"aria-label": __props.ariaLabel,
|
|
44
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).form, props.css?.form)),
|
|
45
|
+
onSubmit: handleSubmit
|
|
46
|
+
}, [
|
|
47
|
+
(0, vue.renderSlot)(_ctx.$slots, "parameter"),
|
|
48
|
+
(0, vue.renderSlot)(_ctx.$slots, "textarea", {}, () => [(0, vue.createElementVNode)("textarea", {
|
|
49
|
+
name: "message",
|
|
50
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).textarea, props.css?.textarea)),
|
|
51
|
+
placeholder: __props.placeholder
|
|
52
|
+
}, null, 10, _hoisted_2)]),
|
|
53
|
+
(0, vue.renderSlot)(_ctx.$slots, "footer")
|
|
54
|
+
], 42, _hoisted_1)], 2);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
Object.defineProperty(exports, "FormPrompt_default", {
|
|
59
|
+
enumerable: true,
|
|
60
|
+
get: function() {
|
|
61
|
+
return FormPrompt_default;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { t as formPromptStyles } from "./styles-CK7DJVwO.js";
|
|
2
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
3
|
+
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, ref, renderSlot, unref } from "vue";
|
|
4
|
+
// src/components/Form/FormPrompt.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = [
|
|
6
|
+
"id",
|
|
7
|
+
"action",
|
|
8
|
+
"method",
|
|
9
|
+
"name",
|
|
10
|
+
"aria-label"
|
|
11
|
+
];
|
|
12
|
+
var _hoisted_2 = ["placeholder"];
|
|
13
|
+
// src/components/Form/FormPrompt.vue
|
|
14
|
+
var FormPrompt_default = /* @__PURE__ */ defineComponent({
|
|
15
|
+
__name: "FormPrompt",
|
|
16
|
+
props: {
|
|
17
|
+
action: {},
|
|
18
|
+
method: { default: "post" },
|
|
19
|
+
id: {},
|
|
20
|
+
name: {},
|
|
21
|
+
ariaLabel: {},
|
|
22
|
+
placeholder: {},
|
|
23
|
+
css: {}
|
|
24
|
+
},
|
|
25
|
+
emits: ["submit"],
|
|
26
|
+
setup(__props, { emit: __emit }) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const emit = __emit;
|
|
29
|
+
const promptForm = ref(null);
|
|
30
|
+
const styles = formPromptStyles.raw();
|
|
31
|
+
const handleSubmit = (event) => {
|
|
32
|
+
event.preventDefault();
|
|
33
|
+
emit("submit", promptForm.value);
|
|
34
|
+
};
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(withCss)(unref(styles).root, props.css?.root)) }, [renderSlot(_ctx.$slots, "alert"), createElementVNode("form", {
|
|
37
|
+
id: __props.id,
|
|
38
|
+
ref_key: "promptForm",
|
|
39
|
+
ref: promptForm,
|
|
40
|
+
action: __props.action,
|
|
41
|
+
method: __props.method,
|
|
42
|
+
name: __props.name,
|
|
43
|
+
"aria-label": __props.ariaLabel,
|
|
44
|
+
class: normalizeClass(unref(withCss)(unref(styles).form, props.css?.form)),
|
|
45
|
+
onSubmit: handleSubmit
|
|
46
|
+
}, [
|
|
47
|
+
renderSlot(_ctx.$slots, "parameter"),
|
|
48
|
+
renderSlot(_ctx.$slots, "textarea", {}, () => [createElementVNode("textarea", {
|
|
49
|
+
name: "message",
|
|
50
|
+
class: normalizeClass(unref(withCss)(unref(styles).textarea, props.css?.textarea)),
|
|
51
|
+
placeholder: __props.placeholder
|
|
52
|
+
}, null, 10, _hoisted_2)]),
|
|
53
|
+
renderSlot(_ctx.$slots, "footer")
|
|
54
|
+
], 42, _hoisted_1)], 2);
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
export { FormPrompt_default as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_styles = require("./styles-_I-I4HYc.cjs");
|
|
2
|
+
const require_css = require("./css-BRRSQx3P.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
// src/components/Form/FormPromptFooter.vue
|
|
5
|
+
var FormPromptFooter_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
6
|
+
__name: "FormPromptFooter",
|
|
7
|
+
props: { css: {} },
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const props = __props;
|
|
10
|
+
const styles = require_styles.formPromptStyles.raw();
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).footer, props.css?.root)) }, [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).inputs, props.css?.inputs)) }, [(0, vue.renderSlot)(_ctx.$slots, "inputs")], 2), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)((0, vue.unref)(styles).action, props.css?.action)) }, [(0, vue.renderSlot)(_ctx.$slots, "action")], 2)], 2);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "FormPromptFooter_default", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return FormPromptFooter_default;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as formPromptStyles } from "./styles-CK7DJVwO.js";
|
|
2
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
3
|
+
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
|
+
// src/components/Form/FormPromptFooter.vue
|
|
5
|
+
var FormPromptFooter_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "FormPromptFooter",
|
|
7
|
+
props: { css: {} },
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const props = __props;
|
|
10
|
+
const styles = formPromptStyles.raw();
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(withCss)(unref(styles).footer, props.css?.root)) }, [createElementVNode("div", { class: normalizeClass(unref(withCss)(unref(styles).inputs, props.css?.inputs)) }, [renderSlot(_ctx.$slots, "inputs")], 2), createElementVNode("div", { class: normalizeClass(unref(withCss)(unref(styles).action, props.css?.action)) }, [renderSlot(_ctx.$slots, "action")], 2)], 2);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export { FormPromptFooter_default as t };
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { t as withCss } from "./css-DWYlz0rn.js";
|
|
2
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
3
|
+
import { sva } from "@webflare/ui/css";
|
|
4
|
+
// src/components/Hero/styles.ts
|
|
5
|
+
var heroLeadStyles = sva({
|
|
6
|
+
slots: [
|
|
7
|
+
"root",
|
|
8
|
+
"headline",
|
|
9
|
+
"description",
|
|
10
|
+
"actions"
|
|
11
|
+
],
|
|
12
|
+
base: {
|
|
13
|
+
root: {
|
|
14
|
+
display: "flex",
|
|
15
|
+
flexDirection: "column",
|
|
16
|
+
justifyContent: "start",
|
|
17
|
+
marginX: "auto"
|
|
18
|
+
},
|
|
19
|
+
headline: {
|
|
20
|
+
"textWrap": "balance",
|
|
21
|
+
"fontWeight": "750",
|
|
22
|
+
"transition": "all 200ms",
|
|
23
|
+
"& mark, & strong": { color: "primary" }
|
|
24
|
+
},
|
|
25
|
+
description: {
|
|
26
|
+
"color": "text.muted",
|
|
27
|
+
"textWrap": "balance",
|
|
28
|
+
"transition": "all 200ms",
|
|
29
|
+
"& mark, & strong, & a": { color: "neutral" }
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
variants: {
|
|
33
|
+
alignItems: {
|
|
34
|
+
start: { root: {
|
|
35
|
+
alignItems: "start",
|
|
36
|
+
textAlign: "start"
|
|
37
|
+
} },
|
|
38
|
+
center: { root: {
|
|
39
|
+
alignItems: "center",
|
|
40
|
+
textAlign: "center"
|
|
41
|
+
} },
|
|
42
|
+
end: { root: {
|
|
43
|
+
alignItems: "end",
|
|
44
|
+
textAlign: "end"
|
|
45
|
+
} }
|
|
46
|
+
},
|
|
47
|
+
alignSelf: {
|
|
48
|
+
start: { root: { alignSelf: "start" } },
|
|
49
|
+
center: { root: { alignSelf: "center" } },
|
|
50
|
+
end: { root: { alignSelf: "end" } }
|
|
51
|
+
},
|
|
52
|
+
size: {
|
|
53
|
+
sm: {
|
|
54
|
+
headline: {
|
|
55
|
+
fontSize: {
|
|
56
|
+
base: "xl",
|
|
57
|
+
xl: "2xl"
|
|
58
|
+
},
|
|
59
|
+
lineHeight: "1.25"
|
|
60
|
+
},
|
|
61
|
+
description: { fontSize: {
|
|
62
|
+
base: "sm",
|
|
63
|
+
md: "md"
|
|
64
|
+
} }
|
|
65
|
+
},
|
|
66
|
+
md: {
|
|
67
|
+
headline: {
|
|
68
|
+
fontSize: {
|
|
69
|
+
base: "2xl",
|
|
70
|
+
xl: "3xl"
|
|
71
|
+
},
|
|
72
|
+
lineHeight: "1.25"
|
|
73
|
+
},
|
|
74
|
+
description: { fontSize: {
|
|
75
|
+
base: "md",
|
|
76
|
+
md: "lg"
|
|
77
|
+
} }
|
|
78
|
+
},
|
|
79
|
+
lg: {
|
|
80
|
+
headline: {
|
|
81
|
+
fontSize: {
|
|
82
|
+
"base": "2xl",
|
|
83
|
+
"md": "4xl",
|
|
84
|
+
"2xl": "5xl"
|
|
85
|
+
},
|
|
86
|
+
lineHeight: "1.1"
|
|
87
|
+
},
|
|
88
|
+
description: {
|
|
89
|
+
fontSize: {
|
|
90
|
+
"base": "md",
|
|
91
|
+
"md": "lg",
|
|
92
|
+
"2xl": "xl"
|
|
93
|
+
},
|
|
94
|
+
lineHeight: "1.75"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
gap: {
|
|
99
|
+
sm: { root: { gap: "sm" } },
|
|
100
|
+
md: { root: { gap: "lg" } },
|
|
101
|
+
lg: { root: { gap: "xl" } },
|
|
102
|
+
xl: { root: { gap: "2xl" } }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
// src/components/Hero/HeroLead.vue?vue&type=script&setup=true&lang.ts
|
|
107
|
+
var _hoisted_1 = ["innerHTML"];
|
|
108
|
+
var _hoisted_2 = ["innerHTML"];
|
|
109
|
+
// src/components/Hero/HeroLead.vue
|
|
110
|
+
var HeroLead_default = /* @__PURE__ */ defineComponent({
|
|
111
|
+
__name: "HeroLead",
|
|
112
|
+
props: {
|
|
113
|
+
headline: {},
|
|
114
|
+
headlineTag: { default: "h1" },
|
|
115
|
+
description: {},
|
|
116
|
+
alignItems: { default: "start" },
|
|
117
|
+
alignSelf: { default: "start" },
|
|
118
|
+
size: { default: "md" },
|
|
119
|
+
gap: { default: "md" },
|
|
120
|
+
css: {}
|
|
121
|
+
},
|
|
122
|
+
setup(__props) {
|
|
123
|
+
const props = __props;
|
|
124
|
+
const styles = computed(() => heroLeadStyles.raw({
|
|
125
|
+
alignItems: props.alignItems,
|
|
126
|
+
alignSelf: props.alignSelf,
|
|
127
|
+
size: props.size,
|
|
128
|
+
gap: props.gap
|
|
129
|
+
}));
|
|
130
|
+
return (_ctx, _cache) => {
|
|
131
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(withCss)(styles.value.root, props.css?.root)) }, [
|
|
132
|
+
renderSlot(_ctx.$slots, "prepend"),
|
|
133
|
+
renderSlot(_ctx.$slots, "headline", {}, () => [__props.headline ? (openBlock(), createBlock(resolveDynamicComponent(__props.headlineTag), {
|
|
134
|
+
key: 0,
|
|
135
|
+
class: normalizeClass(unref(withCss)(styles.value.headline, props.css?.headline))
|
|
136
|
+
}, {
|
|
137
|
+
default: withCtx(() => [createElementVNode("span", { innerHTML: __props.headline }, null, 8, _hoisted_1)]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 8, ["class"])) : createCommentVNode("", true)]),
|
|
140
|
+
renderSlot(_ctx.$slots, "description", {}, () => [__props.description ? (openBlock(), createElementBlock("div", {
|
|
141
|
+
key: 0,
|
|
142
|
+
class: normalizeClass(unref(withCss)(styles.value.description, props.css?.description)),
|
|
143
|
+
innerHTML: __props.description
|
|
144
|
+
}, null, 10, _hoisted_2)) : createCommentVNode("", true)]),
|
|
145
|
+
renderSlot(_ctx.$slots, "actions"),
|
|
146
|
+
renderSlot(_ctx.$slots, "append")
|
|
147
|
+
], 2);
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
export { HeroLead_default as t };
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
const require_css = require("./css-BRRSQx3P.cjs");
|
|
2
|
+
let vue = require("vue");
|
|
3
|
+
// src/components/Hero/styles.ts
|
|
4
|
+
var heroLeadStyles = (0, require("@webflare/ui/css").sva)({
|
|
5
|
+
slots: [
|
|
6
|
+
"root",
|
|
7
|
+
"headline",
|
|
8
|
+
"description",
|
|
9
|
+
"actions"
|
|
10
|
+
],
|
|
11
|
+
base: {
|
|
12
|
+
root: {
|
|
13
|
+
display: "flex",
|
|
14
|
+
flexDirection: "column",
|
|
15
|
+
justifyContent: "start",
|
|
16
|
+
marginX: "auto"
|
|
17
|
+
},
|
|
18
|
+
headline: {
|
|
19
|
+
"textWrap": "balance",
|
|
20
|
+
"fontWeight": "750",
|
|
21
|
+
"transition": "all 200ms",
|
|
22
|
+
"& mark, & strong": { color: "primary" }
|
|
23
|
+
},
|
|
24
|
+
description: {
|
|
25
|
+
"color": "text.muted",
|
|
26
|
+
"textWrap": "balance",
|
|
27
|
+
"transition": "all 200ms",
|
|
28
|
+
"& mark, & strong, & a": { color: "neutral" }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
variants: {
|
|
32
|
+
alignItems: {
|
|
33
|
+
start: { root: {
|
|
34
|
+
alignItems: "start",
|
|
35
|
+
textAlign: "start"
|
|
36
|
+
} },
|
|
37
|
+
center: { root: {
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
textAlign: "center"
|
|
40
|
+
} },
|
|
41
|
+
end: { root: {
|
|
42
|
+
alignItems: "end",
|
|
43
|
+
textAlign: "end"
|
|
44
|
+
} }
|
|
45
|
+
},
|
|
46
|
+
alignSelf: {
|
|
47
|
+
start: { root: { alignSelf: "start" } },
|
|
48
|
+
center: { root: { alignSelf: "center" } },
|
|
49
|
+
end: { root: { alignSelf: "end" } }
|
|
50
|
+
},
|
|
51
|
+
size: {
|
|
52
|
+
sm: {
|
|
53
|
+
headline: {
|
|
54
|
+
fontSize: {
|
|
55
|
+
base: "xl",
|
|
56
|
+
xl: "2xl"
|
|
57
|
+
},
|
|
58
|
+
lineHeight: "1.25"
|
|
59
|
+
},
|
|
60
|
+
description: { fontSize: {
|
|
61
|
+
base: "sm",
|
|
62
|
+
md: "md"
|
|
63
|
+
} }
|
|
64
|
+
},
|
|
65
|
+
md: {
|
|
66
|
+
headline: {
|
|
67
|
+
fontSize: {
|
|
68
|
+
base: "2xl",
|
|
69
|
+
xl: "3xl"
|
|
70
|
+
},
|
|
71
|
+
lineHeight: "1.25"
|
|
72
|
+
},
|
|
73
|
+
description: { fontSize: {
|
|
74
|
+
base: "md",
|
|
75
|
+
md: "lg"
|
|
76
|
+
} }
|
|
77
|
+
},
|
|
78
|
+
lg: {
|
|
79
|
+
headline: {
|
|
80
|
+
fontSize: {
|
|
81
|
+
"base": "2xl",
|
|
82
|
+
"md": "4xl",
|
|
83
|
+
"2xl": "5xl"
|
|
84
|
+
},
|
|
85
|
+
lineHeight: "1.1"
|
|
86
|
+
},
|
|
87
|
+
description: {
|
|
88
|
+
fontSize: {
|
|
89
|
+
"base": "md",
|
|
90
|
+
"md": "lg",
|
|
91
|
+
"2xl": "xl"
|
|
92
|
+
},
|
|
93
|
+
lineHeight: "1.75"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
gap: {
|
|
98
|
+
sm: { root: { gap: "sm" } },
|
|
99
|
+
md: { root: { gap: "lg" } },
|
|
100
|
+
lg: { root: { gap: "xl" } },
|
|
101
|
+
xl: { root: { gap: "2xl" } }
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
// src/components/Hero/HeroLead.vue?vue&type=script&setup=true&lang.ts
|
|
106
|
+
var _hoisted_1 = ["innerHTML"];
|
|
107
|
+
var _hoisted_2 = ["innerHTML"];
|
|
108
|
+
// src/components/Hero/HeroLead.vue
|
|
109
|
+
var HeroLead_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
110
|
+
__name: "HeroLead",
|
|
111
|
+
props: {
|
|
112
|
+
headline: {},
|
|
113
|
+
headlineTag: { default: "h1" },
|
|
114
|
+
description: {},
|
|
115
|
+
alignItems: { default: "start" },
|
|
116
|
+
alignSelf: { default: "start" },
|
|
117
|
+
size: { default: "md" },
|
|
118
|
+
gap: { default: "md" },
|
|
119
|
+
css: {}
|
|
120
|
+
},
|
|
121
|
+
setup(__props) {
|
|
122
|
+
const props = __props;
|
|
123
|
+
const styles = (0, vue.computed)(() => heroLeadStyles.raw({
|
|
124
|
+
alignItems: props.alignItems,
|
|
125
|
+
alignSelf: props.alignSelf,
|
|
126
|
+
size: props.size,
|
|
127
|
+
gap: props.gap
|
|
128
|
+
}));
|
|
129
|
+
return (_ctx, _cache) => {
|
|
130
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.root, props.css?.root)) }, [
|
|
131
|
+
(0, vue.renderSlot)(_ctx.$slots, "prepend"),
|
|
132
|
+
(0, vue.renderSlot)(_ctx.$slots, "headline", {}, () => [__props.headline ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.headlineTag), {
|
|
133
|
+
key: 0,
|
|
134
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.headline, props.css?.headline))
|
|
135
|
+
}, {
|
|
136
|
+
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("span", { innerHTML: __props.headline }, null, 8, _hoisted_1)]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["class"])) : (0, vue.createCommentVNode)("", true)]),
|
|
139
|
+
(0, vue.renderSlot)(_ctx.$slots, "description", {}, () => [__props.description ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
140
|
+
key: 0,
|
|
141
|
+
class: (0, vue.normalizeClass)((0, vue.unref)(require_css.withCss)(styles.value.description, props.css?.description)),
|
|
142
|
+
innerHTML: __props.description
|
|
143
|
+
}, null, 10, _hoisted_2)) : (0, vue.createCommentVNode)("", true)]),
|
|
144
|
+
(0, vue.renderSlot)(_ctx.$slots, "actions"),
|
|
145
|
+
(0, vue.renderSlot)(_ctx.$slots, "append")
|
|
146
|
+
], 2);
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "HeroLead_default", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function() {
|
|
153
|
+
return HeroLead_default;
|
|
154
|
+
}
|
|
155
|
+
});
|