@wow-two-beta/ui-vue 0.0.2
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 +113 -0
- package/dist/analytics/Analytics.d.ts +50 -0
- package/dist/analytics/AnalyticsEvent.d.ts +49 -0
- package/dist/analytics/AnalyticsProvider.d.ts +37 -0
- package/dist/analytics/ConsoleAnalyticsProvider.d.ts +8 -0
- package/dist/analytics/MemoryAnalyticsProvider.d.ts +19 -0
- package/dist/analytics/index.d.ts +5 -0
- package/dist/analytics/index.js +196 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/auth/AuthBridge.d.ts +30 -0
- package/dist/auth/AuthContext.d.ts +41 -0
- package/dist/auth/AuthProvider.vue.d.ts +33 -0
- package/dist/auth/AuthSession.d.ts +41 -0
- package/dist/auth/BearerStrategy.d.ts +36 -0
- package/dist/auth/CookieStrategy.d.ts +29 -0
- package/dist/auth/RedirectStrategy.d.ts +24 -0
- package/dist/auth/TokenStorage.d.ts +9 -0
- package/dist/auth/index.d.ts +8 -0
- package/dist/auth/index.js +275 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/chunks/Accept-BWpCXDmS.js +35 -0
- package/dist/chunks/Accept-BWpCXDmS.js.map +1 -0
- package/dist/chunks/Align-DqFtCY3a.js +12 -0
- package/dist/chunks/Align-DqFtCY3a.js.map +1 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js +53 -0
- package/dist/chunks/AnchoredPositioner.vue_vue_type_script_setup_true_lang-BpBVI2Cu.js.map +1 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js +46 -0
- package/dist/chunks/Announce.vue_vue_type_script_setup_true_lang-CDTltiIl.js.map +1 -0
- package/dist/chunks/ApiError-l0YdcqqV.js +15 -0
- package/dist/chunks/ApiError-l0YdcqqV.js.map +1 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js +996 -0
- package/dist/chunks/BackToTopButton.vue_vue_type_script_setup_true_lang-CkxLllEO.js.map +1 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js +78 -0
- package/dist/chunks/Backdrop.vue_vue_type_script_setup_true_lang-DZUhGY9p.js.map +1 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js +1094 -0
- package/dist/chunks/BottomSheet.vue_vue_type_script_setup_true_lang-CmNoI4BE.js.map +1 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js +21 -0
- package/dist/chunks/Bytes-7Jxs6Bq6.js.map +1 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js +12748 -0
- package/dist/chunks/ChatComposer.vue_vue_type_script_setup_true_lang-lNcRhKIv.js.map +1 -0
- package/dist/chunks/Chord-D9Z-j3O0.js +139 -0
- package/dist/chunks/Chord-D9Z-j3O0.js.map +1 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js +21 -0
- package/dist/chunks/ColorModeContext-Bz6CBL0V.js.map +1 -0
- package/dist/chunks/Compare-Du6p-OX1.js +18 -0
- package/dist/chunks/Compare-Du6p-OX1.js.map +1 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js +229 -0
- package/dist/chunks/ControlGroup.vue_vue_type_script_setup_true_lang-CV8Xstes.js.map +1 -0
- package/dist/chunks/CornerPosition-FneGck5D.js +14 -0
- package/dist/chunks/CornerPosition-FneGck5D.js.map +1 -0
- package/dist/chunks/CssExtensions-BzLJG57F.js +161 -0
- package/dist/chunks/CssExtensions-BzLJG57F.js.map +1 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js +282 -0
- package/dist/chunks/DateExtensions-QahSUlRy.js.map +1 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js +29 -0
- package/dist/chunks/DeepEqual-7lBKnkNS.js.map +1 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js +214 -0
- package/dist/chunks/DismissableLayer.vue_vue_type_script_setup_true_lang-6nRnzsJW.js.map +1 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js +207 -0
- package/dist/chunks/DrawerContent.vue_vue_type_script_setup_true_lang-DvvrJdF0.js.map +1 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js +1923 -0
- package/dist/chunks/EmojiCatalog-CR4Lcm43.js.map +1 -0
- package/dist/chunks/Environment-CuQav_mw.js +68 -0
- package/dist/chunks/Environment-CuQav_mw.js.map +1 -0
- package/dist/chunks/Equality-DIQYQysz.js +21 -0
- package/dist/chunks/Equality-DIQYQysz.js.map +1 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js +27 -0
- package/dist/chunks/ErrorLike-Cfj0lZW3.js.map +1 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js +26 -0
- package/dist/chunks/ErrorMessage-Cqt7WaFn.js.map +1 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js +17 -0
- package/dist/chunks/ErrorRecognizers-oTklha6D.js.map +1 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js +39 -0
- package/dist/chunks/FeedbackBus-BRbyOMCn.js.map +1 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js +56 -0
- package/dist/chunks/FieldErrors-2zjhia4U.js.map +1 -0
- package/dist/chunks/FileName-CmNjFV7t.js +30 -0
- package/dist/chunks/FileName-CmNjFV7t.js.map +1 -0
- package/dist/chunks/FormControlContext-B71MFW26.js +22 -0
- package/dist/chunks/FormControlContext-B71MFW26.js.map +1 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js +73 -0
- package/dist/chunks/FormControlProvider.vue_vue_type_script_setup_true_lang-Fak7Jv46.js.map +1 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js +23 -0
- package/dist/chunks/HtmlExtensions-jlKY5f9C.js.map +1 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js +27 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-DgwdLCRR.js.map +1 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js +68 -0
- package/dist/chunks/Inline.vue_vue_type_script_setup_true_lang-BvWbQpJD.js.map +1 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js +34 -0
- package/dist/chunks/KeyboardExtensions-CQlkK53D.js.map +1 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js +44 -0
- package/dist/chunks/Listbox.variants-CqAkYsmK.js.map +1 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js +39 -0
- package/dist/chunks/LocaleContext-B3UXrI6p.js.map +1 -0
- package/dist/chunks/Messages-BGfQHMmW.js +201 -0
- package/dist/chunks/Messages-BGfQHMmW.js.map +1 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js +191 -0
- package/dist/chunks/ModalContent.vue_vue_type_script_setup_true_lang-CLACSqKg.js.map +1 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js +86 -0
- package/dist/chunks/NavItem.vue_vue_type_script_setup_true_lang-CGBo2TiV.js.map +1 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js +2073 -0
- package/dist/chunks/Navbar.vue_vue_type_script_setup_true_lang-Cl2ejukE.js.map +1 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js +2727 -0
- package/dist/chunks/NotificationItem.vue_vue_type_script_setup_true_lang-gi0uHIuK.js.map +1 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js +943 -0
- package/dist/chunks/OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js.map +1 -0
- package/dist/chunks/Orientation-u-sYunuG.js +10 -0
- package/dist/chunks/Orientation-u-sYunuG.js.map +1 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js +33 -0
- package/dist/chunks/OverlayArrow.vue_vue_type_script_setup_true_lang-CLYhnI8i.js.map +1 -0
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js +17 -0
- package/dist/chunks/OverlayChrome-e4MNr8Yl.js.map +1 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js +18 -0
- package/dist/chunks/OverlayPosition-BNybkMGG.js.map +1 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js +212 -0
- package/dist/chunks/PopoverContent.vue_vue_type_script_setup_true_lang-D-OiGICS.js.map +1 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js +34 -0
- package/dist/chunks/Portal.vue_vue_type_script_setup_true_lang-CF3R0VCZ.js.map +1 -0
- package/dist/chunks/Presence-C7IJvh_P.js +120 -0
- package/dist/chunks/Presence-C7IJvh_P.js.map +1 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js +16 -0
- package/dist/chunks/PressExtensions-DXqhjlR2.js.map +1 -0
- package/dist/chunks/Primitive-Cm3ECaVw.js +20 -0
- package/dist/chunks/Primitive-Cm3ECaVw.js.map +1 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js +16 -0
- package/dist/chunks/ProgressTone-BpLPUptx.js.map +1 -0
- package/dist/chunks/QueryPermission--OKfvS9c.js +82 -0
- package/dist/chunks/QueryPermission--OKfvS9c.js.map +1 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js +12 -0
- package/dist/chunks/QueryPlugin-CfotNm6j.js.map +1 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js +235 -0
- package/dist/chunks/RovingFocusGroup.vue_vue_type_script_setup_true_lang-DCpYSP2V.js.map +1 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js +20 -0
- package/dist/chunks/ScrollLockProvider.vue_vue_type_script_setup_true_lang-_ihHJ7jI.js.map +1 -0
- package/dist/chunks/SerializeError-CclP2jCW.js +61 -0
- package/dist/chunks/SerializeError-CclP2jCW.js.map +1 -0
- package/dist/chunks/Severity-D0C5oAt-.js +16 -0
- package/dist/chunks/Severity-D0C5oAt-.js.map +1 -0
- package/dist/chunks/Side-CSys3p-F.js +23 -0
- package/dist/chunks/Side-CSys3p-F.js.map +1 -0
- package/dist/chunks/Slot-D2lIitvV.js +103 -0
- package/dist/chunks/Slot-D2lIitvV.js.map +1 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js +10364 -0
- package/dist/chunks/SortableHandle.vue_vue_type_script_setup_true_lang-CWCXGjZG.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js +23 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js.map +1 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js +76 -0
- package/dist/chunks/Spinner.vue_vue_type_script_setup_true_lang-C4lNiUOm.js.map +1 -0
- package/dist/chunks/StatusTone-BoPK1s09.js +16 -0
- package/dist/chunks/StatusTone-BoPK1s09.js.map +1 -0
- package/dist/chunks/StorageBroker-COC81ZGB.js +64 -0
- package/dist/chunks/StorageBroker-COC81ZGB.js.map +1 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js +65 -0
- package/dist/chunks/StyleTokens-Bkz7Dm5L.js.map +1 -0
- package/dist/chunks/SubmitErrors-K8nmmj0P.js +374 -0
- package/dist/chunks/SubmitErrors-K8nmmj0P.js.map +1 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js +143 -0
- package/dist/chunks/SurfaceStyles-ChdpGRBO.js.map +1 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js +2159 -0
- package/dist/chunks/TableOfContents.vue_vue_type_script_setup_true_lang-HVL4lg_f.js.map +1 -0
- package/dist/chunks/ToError-CyTBsmLO.js +52 -0
- package/dist/chunks/ToError-CyTBsmLO.js.map +1 -0
- package/dist/chunks/Tones-CI65uuq9.js +90 -0
- package/dist/chunks/Tones-CI65uuq9.js.map +1 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js +19 -0
- package/dist/chunks/TransitionExtensions-hFi80JX2.js.map +1 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js +82 -0
- package/dist/chunks/UseHotkeys-CKIYK5Mq.js.map +1 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js +51 -0
- package/dist/chunks/UseNavigationProgress-TQIkkXyU.js.map +1 -0
- package/dist/chunks/cn-CzDCF-Ah.js +9 -0
- package/dist/chunks/cn-CzDCF-Ah.js.map +1 -0
- package/dist/chunks/dataAttr-7BR67dTj.js +7 -0
- package/dist/chunks/dataAttr-7BR67dTj.js.map +1 -0
- package/dist/chunks/index-BD7H9CkO.js +130 -0
- package/dist/chunks/index-BD7H9CkO.js.map +1 -0
- package/dist/chunks/index-BGzbbN9T.js +1707 -0
- package/dist/chunks/index-BGzbbN9T.js.map +1 -0
- package/dist/chunks/index-C034dEhy.js +205 -0
- package/dist/chunks/index-C034dEhy.js.map +1 -0
- package/dist/chunks/index-Cbydgcdk.js +234 -0
- package/dist/chunks/index-Cbydgcdk.js.map +1 -0
- package/dist/chunks/index-CzKEU1kI.js +11 -0
- package/dist/chunks/index-CzKEU1kI.js.map +1 -0
- package/dist/chunks/index-KL15HQew.js +61 -0
- package/dist/chunks/index-KL15HQew.js.map +1 -0
- package/dist/chunks/index-drjQ833B.js +10 -0
- package/dist/chunks/index-drjQ833B.js.map +1 -0
- package/dist/chunks/useClipboard-BVRwXC--.js +37 -0
- package/dist/chunks/useClipboard-BVRwXC--.js.map +1 -0
- package/dist/chunks/useControlled-B6M4kTLn.js +24 -0
- package/dist/chunks/useControlled-B6M4kTLn.js.map +1 -0
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js +20 -0
- package/dist/chunks/useDebounceHandler-BIZgvvGp.js.map +1 -0
- package/dist/chunks/useEscape-CYPdpm_l.js +15 -0
- package/dist/chunks/useEscape-CYPdpm_l.js.map +1 -0
- package/dist/chunks/useEventListener-gohT6zGs.js +16 -0
- package/dist/chunks/useEventListener-gohT6zGs.js.map +1 -0
- package/dist/chunks/useId-CtgAhGrn.js +9 -0
- package/dist/chunks/useId-CtgAhGrn.js.map +1 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js +27 -0
- package/dist/chunks/useMediaQuery-DwVcSgGk.js.map +1 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js +22 -0
- package/dist/chunks/useOutsideClick-CW80BJfE.js.map +1 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js +137 -0
- package/dist/chunks/useRecentItems-DFnt5CBy.js.map +1 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js +8 -0
- package/dist/chunks/useReducedMotion-B9LqQ3UT.js.map +1 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js +17 -0
- package/dist/chunks/useResizeObserver-BUU7lC-n.js.map +1 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.js +37 -0
- package/dist/chunks/useScrollLock-d6YIGUcs.js.map +1 -0
- package/dist/domain/color/Gradient.d.ts +60 -0
- package/dist/domain/color/GradientType.d.ts +8 -0
- package/dist/domain/color/index.d.ts +3 -0
- package/dist/domain/color/index.js +6 -0
- package/dist/domain/color/index.js.map +1 -0
- package/dist/domain/emoji/EmojiCatalog.d.ts +29 -0
- package/dist/domain/emoji/EmojiCatalogData.d.ts +3 -0
- package/dist/domain/emoji/EmojiCategory.d.ts +20 -0
- package/dist/domain/emoji/index.d.ts +3 -0
- package/dist/domain/emoji/index.js +6 -0
- package/dist/domain/emoji/index.js.map +1 -0
- package/dist/feedback/FeedbackBus.d.ts +71 -0
- package/dist/feedback/FeedbackQueryErrors.d.ts +21 -0
- package/dist/feedback/index.d.ts +2 -0
- package/dist/feedback/index.js +20 -0
- package/dist/feedback/index.js.map +1 -0
- package/dist/flags/FlagClient.d.ts +72 -0
- package/dist/flags/FlagProvider.d.ts +38 -0
- package/dist/flags/FlagTypes.d.ts +85 -0
- package/dist/flags/FlagsContext.d.ts +32 -0
- package/dist/flags/FlagsProvider.vue.d.ts +24 -0
- package/dist/flags/StaticFlagProvider.d.ts +51 -0
- package/dist/flags/index.d.ts +6 -0
- package/dist/flags/index.js +243 -0
- package/dist/flags/index.js.map +1 -0
- package/dist/forms-engine/AppForm.d.ts +258 -0
- package/dist/forms-engine/DeepEqual.d.ts +8 -0
- package/dist/forms-engine/FocusFirstInvalid.d.ts +15 -0
- package/dist/forms-engine/FormGlue.d.ts +55 -0
- package/dist/forms-engine/Paths.d.ts +47 -0
- package/dist/forms-engine/SchemaValidation.d.ts +29 -0
- package/dist/forms-engine/StandardSchema.d.ts +55 -0
- package/dist/forms-engine/SubmitErrors.d.ts +33 -0
- package/dist/forms-engine/UseFieldArray.d.ts +87 -0
- package/dist/forms-engine/house/HouseFormCore.d.ts +33 -0
- package/dist/forms-engine/house/UseAppForm.d.ts +16 -0
- package/dist/forms-engine/house/index.d.ts +7 -0
- package/dist/forms-engine/house/index.js +315 -0
- package/dist/forms-engine/house/index.js.map +1 -0
- package/dist/forms-engine/index.d.ts +10 -0
- package/dist/forms-engine/index.js +127 -0
- package/dist/forms-engine/index.js.map +1 -0
- package/dist/forms-engine/tanstack/TanstackFormOverlay.d.ts +49 -0
- package/dist/forms-engine/tanstack/UseAppForm.d.ts +26 -0
- package/dist/forms-engine/tanstack/index.d.ts +8 -0
- package/dist/forms-engine/tanstack/index.js +407 -0
- package/dist/forms-engine/tanstack/index.js.map +1 -0
- package/dist/foundation/animation/Animate.d.ts +73 -0
- package/dist/foundation/animation/AnimatedLayout.d.ts +72 -0
- package/dist/foundation/animation/Flip.d.ts +90 -0
- package/dist/foundation/animation/UseFlip.d.ts +22 -0
- package/dist/foundation/animation/index.d.ts +4 -0
- package/dist/foundation/animation/index.js +241 -0
- package/dist/foundation/animation/index.js.map +1 -0
- package/dist/foundation/async/Abort.d.ts +33 -0
- package/dist/foundation/async/Combinators.d.ts +17 -0
- package/dist/foundation/async/Deferred.d.ts +18 -0
- package/dist/foundation/async/Limit.d.ts +36 -0
- package/dist/foundation/async/Rate.d.ts +31 -0
- package/dist/foundation/async/Retry.d.ts +20 -0
- package/dist/foundation/async/Timeout.d.ts +32 -0
- package/dist/foundation/async/index.d.ts +7 -0
- package/dist/foundation/async/index.js +290 -0
- package/dist/foundation/async/index.js.map +1 -0
- package/dist/foundation/clipboard/ClipboardPermission.d.ts +17 -0
- package/dist/foundation/clipboard/ClipboardResult.d.ts +102 -0
- package/dist/foundation/clipboard/ClipboardSupport.d.ts +55 -0
- package/dist/foundation/clipboard/CopyItems.d.ts +44 -0
- package/dist/foundation/clipboard/CopyText.d.ts +16 -0
- package/dist/foundation/clipboard/LegacyCopy.d.ts +38 -0
- package/dist/foundation/clipboard/PasteItems.d.ts +25 -0
- package/dist/foundation/clipboard/ReadClipboard.d.ts +29 -0
- package/dist/foundation/clipboard/UseClipboardCopy.d.ts +40 -0
- package/dist/foundation/clipboard/UsePasteHandler.d.ts +35 -0
- package/dist/foundation/clipboard/index.d.ts +10 -0
- package/dist/foundation/clipboard/index.js +437 -0
- package/dist/foundation/clipboard/index.js.map +1 -0
- package/dist/foundation/collections/Arrays.d.ts +131 -0
- package/dist/foundation/collections/Comparison.d.ts +39 -0
- package/dist/foundation/collections/Records.d.ts +72 -0
- package/dist/foundation/collections/SetOps.d.ts +45 -0
- package/dist/foundation/collections/Tree.d.ts +63 -0
- package/dist/foundation/collections/index.d.ts +5 -0
- package/dist/foundation/collections/index.js +460 -0
- package/dist/foundation/collections/index.js.map +1 -0
- package/dist/foundation/commands/Command.d.ts +46 -0
- package/dist/foundation/commands/CommandRegistry.d.ts +36 -0
- package/dist/foundation/commands/CommandShortcut.d.ts +8 -0
- package/dist/foundation/commands/CommandsContext.d.ts +30 -0
- package/dist/foundation/commands/CommandsProvider.vue.d.ts +18 -0
- package/dist/foundation/commands/SearchCommands.d.ts +28 -0
- package/dist/foundation/commands/UseCommandRegistry.d.ts +19 -0
- package/dist/foundation/commands/UseCommandShortcuts.d.ts +18 -0
- package/dist/foundation/commands/index.d.ts +8 -0
- package/dist/foundation/commands/index.js +278 -0
- package/dist/foundation/commands/index.js.map +1 -0
- package/dist/foundation/config/ConfigField.d.ts +60 -0
- package/dist/foundation/config/ConfigSource.d.ts +24 -0
- package/dist/foundation/config/DefineConfig.d.ts +43 -0
- package/dist/foundation/config/index.d.ts +3 -0
- package/dist/foundation/config/index.js +186 -0
- package/dist/foundation/config/index.js.map +1 -0
- package/dist/foundation/crypto/Digest.d.ts +25 -0
- package/dist/foundation/crypto/Encoding.d.ts +43 -0
- package/dist/foundation/crypto/HashObject.d.ts +18 -0
- package/dist/foundation/crypto/Random.d.ts +32 -0
- package/dist/foundation/crypto/TimingSafeEqual.d.ts +12 -0
- package/dist/foundation/crypto/WebCrypto.d.ts +15 -0
- package/dist/foundation/crypto/index.d.ts +6 -0
- package/dist/foundation/crypto/index.js +226 -0
- package/dist/foundation/crypto/index.js.map +1 -0
- package/dist/foundation/datetime/Arithmetic.d.ts +31 -0
- package/dist/foundation/datetime/Boundaries.d.ts +24 -0
- package/dist/foundation/datetime/Comparison.d.ts +43 -0
- package/dist/foundation/datetime/Difference.d.ts +28 -0
- package/dist/foundation/datetime/Internals.d.ts +12 -0
- package/dist/foundation/datetime/Interval.d.ts +38 -0
- package/dist/foundation/datetime/IsoDate.d.ts +24 -0
- package/dist/foundation/datetime/index.d.ts +6 -0
- package/dist/foundation/datetime/index.js +302 -0
- package/dist/foundation/datetime/index.js.map +1 -0
- package/dist/foundation/device/Breakpoints.d.ts +54 -0
- package/dist/foundation/device/DisplayMode.d.ts +13 -0
- package/dist/foundation/device/Platform.d.ts +27 -0
- package/dist/foundation/device/PointerType.d.ts +11 -0
- package/dist/foundation/device/UseBreakpoint.d.ts +20 -0
- package/dist/foundation/device/UseDisplayMode.d.ts +23 -0
- package/dist/foundation/device/UseOnlineStatus.d.ts +12 -0
- package/dist/foundation/device/UsePointer.d.ts +25 -0
- package/dist/foundation/device/index.d.ts +8 -0
- package/dist/foundation/device/index.js +187 -0
- package/dist/foundation/device/index.js.map +1 -0
- package/dist/foundation/errors/ErrorChain.d.ts +23 -0
- package/dist/foundation/errors/ErrorLike.d.ts +35 -0
- package/dist/foundation/errors/ErrorMessage.d.ts +13 -0
- package/dist/foundation/errors/ErrorRecognizers.d.ts +18 -0
- package/dist/foundation/errors/SerializeError.d.ts +25 -0
- package/dist/foundation/errors/ToError.d.ts +15 -0
- package/dist/foundation/errors/index.d.ts +6 -0
- package/dist/foundation/errors/index.js +18 -0
- package/dist/foundation/errors/index.js.map +1 -0
- package/dist/foundation/files/Accept.d.ts +30 -0
- package/dist/foundation/files/DownloadFile.d.ts +10 -0
- package/dist/foundation/files/FileName.d.ts +21 -0
- package/dist/foundation/files/ReadFile.d.ts +6 -0
- package/dist/foundation/files/index.d.ts +4 -0
- package/dist/foundation/files/index.js +62 -0
- package/dist/foundation/files/index.js.map +1 -0
- package/dist/foundation/format/Bytes.d.ts +15 -0
- package/dist/foundation/format/Count.d.ts +10 -0
- package/dist/foundation/format/Duration.d.ts +13 -0
- package/dist/foundation/format/Text.d.ts +51 -0
- package/dist/foundation/format/index.d.ts +4 -0
- package/dist/foundation/format/index.js +100 -0
- package/dist/foundation/format/index.js.map +1 -0
- package/dist/foundation/geolocation/CanLocate.d.ts +18 -0
- package/dist/foundation/geolocation/Coordinates.d.ts +41 -0
- package/dist/foundation/geolocation/DistanceBetween.d.ts +21 -0
- package/dist/foundation/geolocation/GeolocationPermission.d.ts +13 -0
- package/dist/foundation/geolocation/GeolocationReading.d.ts +30 -0
- package/dist/foundation/geolocation/GetCurrentPosition.d.ts +14 -0
- package/dist/foundation/geolocation/PositionResult.d.ts +74 -0
- package/dist/foundation/geolocation/UseGeolocation.d.ts +38 -0
- package/dist/foundation/geolocation/UseWatchPosition.d.ts +16 -0
- package/dist/foundation/geolocation/WatchPosition.d.ts +19 -0
- package/dist/foundation/geolocation/index.d.ts +10 -0
- package/dist/foundation/geolocation/index.js +236 -0
- package/dist/foundation/geolocation/index.js.map +1 -0
- package/dist/foundation/gestures/GestureAxis.d.ts +11 -0
- package/dist/foundation/gestures/GestureMath.d.ts +182 -0
- package/dist/foundation/gestures/SwipeDirection.d.ts +13 -0
- package/dist/foundation/gestures/UseDrag.d.ts +75 -0
- package/dist/foundation/gestures/UseLongPress.d.ts +42 -0
- package/dist/foundation/gestures/UsePinch.d.ts +47 -0
- package/dist/foundation/gestures/UseSwipe.d.ts +46 -0
- package/dist/foundation/gestures/index.d.ts +7 -0
- package/dist/foundation/gestures/index.js +440 -0
- package/dist/foundation/gestures/index.js.map +1 -0
- package/dist/foundation/hooks/index.d.ts +17 -0
- package/dist/foundation/hooks/index.js +34 -0
- package/dist/foundation/hooks/index.js.map +1 -0
- package/dist/foundation/hooks/useAutosave/index.d.ts +1 -0
- package/dist/foundation/hooks/useAutosave/useAutosave.d.ts +46 -0
- package/dist/foundation/hooks/useClipboard/index.d.ts +1 -0
- package/dist/foundation/hooks/useClipboard/useClipboard.d.ts +24 -0
- package/dist/foundation/hooks/useControlled/index.d.ts +1 -0
- package/dist/foundation/hooks/useControlled/useControlled.d.ts +31 -0
- package/dist/foundation/hooks/useDebounceHandler/index.d.ts +1 -0
- package/dist/foundation/hooks/useDebounceHandler/useDebounceHandler.d.ts +16 -0
- package/dist/foundation/hooks/useDisclosure/index.d.ts +1 -0
- package/dist/foundation/hooks/useDisclosure/useDisclosure.d.ts +18 -0
- package/dist/foundation/hooks/useEscape/index.d.ts +1 -0
- package/dist/foundation/hooks/useEscape/useEscape.d.ts +10 -0
- package/dist/foundation/hooks/useEventListener/index.d.ts +1 -0
- package/dist/foundation/hooks/useEventListener/useEventListener.d.ts +17 -0
- package/dist/foundation/hooks/useFocusTrap/index.d.ts +1 -0
- package/dist/foundation/hooks/useFocusTrap/useFocusTrap.d.ts +15 -0
- package/dist/foundation/hooks/useId/index.d.ts +1 -0
- package/dist/foundation/hooks/useId/useId.d.ts +8 -0
- package/dist/foundation/hooks/useMediaQuery/index.d.ts +1 -0
- package/dist/foundation/hooks/useMediaQuery/useMediaQuery.d.ts +12 -0
- package/dist/foundation/hooks/useOutsideClick/index.d.ts +1 -0
- package/dist/foundation/hooks/useOutsideClick/useOutsideClick.d.ts +12 -0
- package/dist/foundation/hooks/usePersistentState/index.d.ts +1 -0
- package/dist/foundation/hooks/usePersistentState/usePersistentState.d.ts +31 -0
- package/dist/foundation/hooks/useRecentItems/index.d.ts +1 -0
- package/dist/foundation/hooks/useRecentItems/useRecentItems.d.ts +34 -0
- package/dist/foundation/hooks/useReducedMotion/index.d.ts +1 -0
- package/dist/foundation/hooks/useReducedMotion/useReducedMotion.d.ts +7 -0
- package/dist/foundation/hooks/useResizeObserver/index.d.ts +1 -0
- package/dist/foundation/hooks/useResizeObserver/useResizeObserver.d.ts +11 -0
- package/dist/foundation/hooks/useScrollLock/index.d.ts +1 -0
- package/dist/foundation/hooks/useScrollLock/useScrollLock.d.ts +11 -0
- package/dist/foundation/hooks/useTypeahead/index.d.ts +1 -0
- package/dist/foundation/hooks/useTypeahead/useTypeahead.d.ts +42 -0
- package/dist/foundation/http/ApiError.d.ts +7 -0
- package/dist/foundation/http/ApiResponse.d.ts +4 -0
- package/dist/foundation/http/CreateApiClient.d.ts +65 -0
- package/dist/foundation/http/DateBrands.d.ts +8 -0
- package/dist/foundation/http/Envelope.d.ts +33 -0
- package/dist/foundation/http/FieldErrors.d.ts +16 -0
- package/dist/foundation/http/Page.d.ts +47 -0
- package/dist/foundation/http/ProblemDetails.d.ts +9 -0
- package/dist/foundation/http/index.d.ts +9 -0
- package/dist/foundation/http/index.js +180 -0
- package/dist/foundation/http/index.js.map +1 -0
- package/dist/foundation/http/temporalReviver.d.ts +9 -0
- package/dist/foundation/i18n/FormattedRelative.vue.d.ts +10 -0
- package/dist/foundation/i18n/LocaleContext.d.ts +35 -0
- package/dist/foundation/i18n/LocaleFormatters.d.ts +24 -0
- package/dist/foundation/i18n/LocaleProvider.vue.d.ts +18 -0
- package/dist/foundation/i18n/index.d.ts +4 -0
- package/dist/foundation/i18n/index.js +79 -0
- package/dist/foundation/i18n/index.js.map +1 -0
- package/dist/foundation/icons/Icon.vue.d.ts +40 -0
- package/dist/foundation/icons/Spinner.vue.d.ts +7 -0
- package/dist/foundation/icons/index.d.ts +2 -0
- package/dist/foundation/icons/index.js +7 -0
- package/dist/foundation/icons/index.js.map +1 -0
- package/dist/foundation/idb/IdbPromises.d.ts +25 -0
- package/dist/foundation/idb/IndexedDbSupport.d.ts +32 -0
- package/dist/foundation/idb/KeyValueStore.d.ts +84 -0
- package/dist/foundation/idb/OpenDatabase.d.ts +62 -0
- package/dist/foundation/idb/Transactions.d.ts +44 -0
- package/dist/foundation/idb/index.d.ts +5 -0
- package/dist/foundation/idb/index.js +403 -0
- package/dist/foundation/idb/index.js.map +1 -0
- package/dist/foundation/identifiers/Guid.d.ts +41 -0
- package/dist/foundation/identifiers/index.d.ts +1 -0
- package/dist/foundation/identifiers/index.js +68 -0
- package/dist/foundation/identifiers/index.js.map +1 -0
- package/dist/foundation/logger/ConsoleLogSink.d.ts +8 -0
- package/dist/foundation/logger/LogLevel.d.ts +34 -0
- package/dist/foundation/logger/LogRecord.d.ts +17 -0
- package/dist/foundation/logger/LogSink.d.ts +17 -0
- package/dist/foundation/logger/Logger.d.ts +55 -0
- package/dist/foundation/logger/MemoryLogSink.d.ts +11 -0
- package/dist/foundation/logger/Redaction.d.ts +29 -0
- package/dist/foundation/logger/index.d.ts +7 -0
- package/dist/foundation/logger/index.js +232 -0
- package/dist/foundation/logger/index.js.map +1 -0
- package/dist/foundation/media/CanCaptureMedia.d.ts +36 -0
- package/dist/foundation/media/FacingMode.d.ts +45 -0
- package/dist/foundation/media/ListMediaDevices.d.ts +41 -0
- package/dist/foundation/media/MediaPermission.d.ts +23 -0
- package/dist/foundation/media/MediaStreamResult.d.ts +45 -0
- package/dist/foundation/media/RequestMediaStream.d.ts +37 -0
- package/dist/foundation/media/StopMediaStream.d.ts +10 -0
- package/dist/foundation/media/UseMediaStream.d.ts +41 -0
- package/dist/foundation/media/index.d.ts +8 -0
- package/dist/foundation/media/index.js +218 -0
- package/dist/foundation/media/index.js.map +1 -0
- package/dist/foundation/net/ConnectionState.d.ts +36 -0
- package/dist/foundation/net/CreateEventStream.d.ts +101 -0
- package/dist/foundation/net/CreatePoller.d.ts +59 -0
- package/dist/foundation/net/CreateSocketClient.d.ts +93 -0
- package/dist/foundation/net/Liveness.d.ts +41 -0
- package/dist/foundation/net/Reconnect.d.ts +49 -0
- package/dist/foundation/net/UseEventStream.d.ts +25 -0
- package/dist/foundation/net/UsePolling.d.ts +26 -0
- package/dist/foundation/net/UseSocket.d.ts +32 -0
- package/dist/foundation/net/index.d.ts +9 -0
- package/dist/foundation/net/index.js +840 -0
- package/dist/foundation/net/index.js.map +1 -0
- package/dist/foundation/notifications/CanNotify.d.ts +11 -0
- package/dist/foundation/notifications/NotificationPermission.d.ts +31 -0
- package/dist/foundation/notifications/Notify.d.ts +66 -0
- package/dist/foundation/notifications/QueryPermission.d.ts +55 -0
- package/dist/foundation/notifications/UseNotificationPermission.d.ts +27 -0
- package/dist/foundation/notifications/UsePermissionState.d.ts +14 -0
- package/dist/foundation/notifications/index.d.ts +6 -0
- package/dist/foundation/notifications/index.js +199 -0
- package/dist/foundation/notifications/index.js.map +1 -0
- package/dist/foundation/observers/ObserveIntersection.d.ts +57 -0
- package/dist/foundation/observers/ObserveMutation.d.ts +52 -0
- package/dist/foundation/observers/UseInView.d.ts +41 -0
- package/dist/foundation/observers/UseIntersectionObserver.d.ts +18 -0
- package/dist/foundation/observers/UseMutationObserver.d.ts +21 -0
- package/dist/foundation/observers/UseVisibility.d.ts +33 -0
- package/dist/foundation/observers/VisibilitySteps.d.ts +14 -0
- package/dist/foundation/observers/index.d.ts +7 -0
- package/dist/foundation/observers/index.js +199 -0
- package/dist/foundation/observers/index.js.map +1 -0
- package/dist/foundation/primitives/accessibleIcon/AccessibleIcon.d.ts +27 -0
- package/dist/foundation/primitives/accessibleIcon/index.d.ts +1 -0
- package/dist/foundation/primitives/anchoredPositioner/AnchoredPositioner.vue.d.ts +37 -0
- package/dist/foundation/primitives/anchoredPositioner/index.d.ts +1 -0
- package/dist/foundation/primitives/announce/Announce.vue.d.ts +28 -0
- package/dist/foundation/primitives/announce/index.d.ts +1 -0
- package/dist/foundation/primitives/collection/Collection.d.ts +24 -0
- package/dist/foundation/primitives/collection/index.d.ts +1 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeContext.d.ts +26 -0
- package/dist/foundation/primitives/colorModeProvider/ColorModeProvider.vue.d.ts +20 -0
- package/dist/foundation/primitives/colorModeProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/directionProvider/DirectionContext.d.ts +23 -0
- package/dist/foundation/primitives/directionProvider/DirectionProvider.vue.d.ts +14 -0
- package/dist/foundation/primitives/directionProvider/index.d.ts +2 -0
- package/dist/foundation/primitives/dismissableLayer/DismissableLayer.vue.d.ts +22 -0
- package/dist/foundation/primitives/dismissableLayer/index.d.ts +1 -0
- package/dist/foundation/primitives/focusScope/FocusScope.vue.d.ts +26 -0
- package/dist/foundation/primitives/focusScope/index.d.ts +1 -0
- package/dist/foundation/primitives/formControlContext/FormControlContext.d.ts +57 -0
- package/dist/foundation/primitives/formControlContext/FormControlProvider.vue.d.ts +25 -0
- package/dist/foundation/primitives/formControlContext/index.d.ts +2 -0
- package/dist/foundation/primitives/index.d.ts +17 -0
- package/dist/foundation/primitives/index.js +52 -0
- package/dist/foundation/primitives/index.js.map +1 -0
- package/dist/foundation/primitives/overlayArrow/OverlayArrow.vue.d.ts +27 -0
- package/dist/foundation/primitives/overlayArrow/index.d.ts +1 -0
- package/dist/foundation/primitives/portal/Portal.vue.d.ts +16 -0
- package/dist/foundation/primitives/portal/index.d.ts +1 -0
- package/dist/foundation/primitives/presence/Presence.d.ts +32 -0
- package/dist/foundation/primitives/presence/index.d.ts +1 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusContext.d.ts +74 -0
- package/dist/foundation/primitives/rovingFocusGroup/RovingFocusGroup.vue.d.ts +20 -0
- package/dist/foundation/primitives/rovingFocusGroup/index.d.ts +2 -0
- package/dist/foundation/primitives/scrollLockProvider/ScrollLockProvider.vue.d.ts +15 -0
- package/dist/foundation/primitives/scrollLockProvider/index.d.ts +1 -0
- package/dist/foundation/primitives/scrollViewport/ScrollViewport.vue.d.ts +41 -0
- package/dist/foundation/primitives/scrollViewport/index.d.ts +1 -0
- package/dist/foundation/primitives/slot/Primitive.d.ts +69 -0
- package/dist/foundation/primitives/slot/Slot.d.ts +38 -0
- package/dist/foundation/primitives/slot/index.d.ts +2 -0
- package/dist/foundation/primitives/visuallyHidden/VisuallyHidden.vue.d.ts +11 -0
- package/dist/foundation/primitives/visuallyHidden/index.d.ts +1 -0
- package/dist/foundation/resilience/BackoffStrategy.d.ts +10 -0
- package/dist/foundation/resilience/JitterStrategy.d.ts +12 -0
- package/dist/foundation/resilience/RetryDelay.d.ts +5 -0
- package/dist/foundation/resilience/RetryPolicy.d.ts +34 -0
- package/dist/foundation/resilience/index.d.ts +4 -0
- package/dist/foundation/resilience/index.js +63 -0
- package/dist/foundation/resilience/index.js.map +1 -0
- package/dist/foundation/screen/Fullscreen.d.ts +73 -0
- package/dist/foundation/screen/ScreenEnvironment.d.ts +42 -0
- package/dist/foundation/screen/ScreenOrientation.d.ts +110 -0
- package/dist/foundation/screen/ScreenResult.d.ts +38 -0
- package/dist/foundation/screen/UseFullscreen.d.ts +28 -0
- package/dist/foundation/screen/UseOrientation.d.ts +28 -0
- package/dist/foundation/screen/UseWakeLock.d.ts +18 -0
- package/dist/foundation/screen/WakeLock.d.ts +79 -0
- package/dist/foundation/screen/index.d.ts +7 -0
- package/dist/foundation/screen/index.js +402 -0
- package/dist/foundation/screen/index.js.map +1 -0
- package/dist/foundation/selection/Field.d.ts +31 -0
- package/dist/foundation/selection/Filter.d.ts +71 -0
- package/dist/foundation/selection/Selection.d.ts +116 -0
- package/dist/foundation/selection/Sort.d.ts +69 -0
- package/dist/foundation/selection/UseFilters.d.ts +34 -0
- package/dist/foundation/selection/UseSelection.d.ts +54 -0
- package/dist/foundation/selection/UseSort.d.ts +36 -0
- package/dist/foundation/selection/index.d.ts +7 -0
- package/dist/foundation/selection/index.js +407 -0
- package/dist/foundation/selection/index.js.map +1 -0
- package/dist/foundation/share/CanShare.d.ts +11 -0
- package/dist/foundation/share/Share.d.ts +45 -0
- package/dist/foundation/share/ShareData.d.ts +43 -0
- package/dist/foundation/share/ShareOrCopy.d.ts +27 -0
- package/dist/foundation/share/UseShare.d.ts +30 -0
- package/dist/foundation/share/index.d.ts +5 -0
- package/dist/foundation/share/index.js +111 -0
- package/dist/foundation/share/index.js.map +1 -0
- package/dist/foundation/shortcuts/Chord.d.ts +51 -0
- package/dist/foundation/shortcuts/UseHotkeys.d.ts +34 -0
- package/dist/foundation/shortcuts/index.d.ts +3 -0
- package/dist/foundation/shortcuts/index.js +15 -0
- package/dist/foundation/shortcuts/index.js.map +1 -0
- package/dist/foundation/speech/CreateSpeechRecognizer.d.ts +79 -0
- package/dist/foundation/speech/ListVoices.d.ts +78 -0
- package/dist/foundation/speech/Speak.d.ts +52 -0
- package/dist/foundation/speech/SpeechControls.d.ts +57 -0
- package/dist/foundation/speech/SpeechRecognitionResult.d.ts +45 -0
- package/dist/foundation/speech/SpeechRecognitionTypes.d.ts +67 -0
- package/dist/foundation/speech/SpeechResult.d.ts +32 -0
- package/dist/foundation/speech/SpeechSupport.d.ts +69 -0
- package/dist/foundation/speech/UseSpeechRecognition.d.ts +45 -0
- package/dist/foundation/speech/UseSpeechSynthesis.d.ts +37 -0
- package/dist/foundation/speech/index.d.ts +10 -0
- package/dist/foundation/speech/index.js +573 -0
- package/dist/foundation/speech/index.js.map +1 -0
- package/dist/foundation/storage/NamespacedBroker.d.ts +7 -0
- package/dist/foundation/storage/StorageBroker.d.ts +17 -0
- package/dist/foundation/storage/VersionedStore.d.ts +42 -0
- package/dist/foundation/storage/index.d.ts +3 -0
- package/dist/foundation/storage/index.js +65 -0
- package/dist/foundation/storage/index.js.map +1 -0
- package/dist/foundation/storage/zustand/ZustandPersist.d.ts +36 -0
- package/dist/foundation/storage/zustand/index.d.ts +1 -0
- package/dist/foundation/storage/zustand/index.js +11 -0
- package/dist/foundation/storage/zustand/index.js.map +1 -0
- package/dist/foundation/sync/CreateSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/LeaderElection.d.ts +88 -0
- package/dist/foundation/sync/MemorySyncHub.d.ts +29 -0
- package/dist/foundation/sync/SyncChannel.d.ts +65 -0
- package/dist/foundation/sync/UseBroadcastState.d.ts +31 -0
- package/dist/foundation/sync/UseLeaderElection.d.ts +25 -0
- package/dist/foundation/sync/UseSyncChannel.d.ts +16 -0
- package/dist/foundation/sync/index.d.ts +7 -0
- package/dist/foundation/sync/index.js +484 -0
- package/dist/foundation/sync/index.js.map +1 -0
- package/dist/foundation/themes/Oklch.d.ts +42 -0
- package/dist/foundation/themes/Theme.d.ts +112 -0
- package/dist/foundation/themes/Tokens.d.ts +40 -0
- package/dist/foundation/themes/css.d.ts +20 -0
- package/dist/foundation/themes/generate.d.ts +6 -0
- package/dist/foundation/themes/index.d.ts +11 -0
- package/dist/foundation/themes/index.js +37 -0
- package/dist/foundation/themes/index.js.map +1 -0
- package/dist/foundation/themes/pool.d.ts +3 -0
- package/dist/foundation/themes/registry.d.ts +16 -0
- package/dist/foundation/themes/validate.d.ts +25 -0
- package/dist/foundation/themes/validated.d.ts +3 -0
- package/dist/foundation/undo/HistoryCore.d.ts +92 -0
- package/dist/foundation/undo/SnapshotHistory.d.ts +33 -0
- package/dist/foundation/undo/UndoHistory.d.ts +41 -0
- package/dist/foundation/undo/UseUndoHistory.d.ts +66 -0
- package/dist/foundation/undo/UseUndoShortcuts.d.ts +20 -0
- package/dist/foundation/undo/index.d.ts +5 -0
- package/dist/foundation/undo/index.js +361 -0
- package/dist/foundation/undo/index.js.map +1 -0
- package/dist/foundation/uploads/UploadItem.d.ts +47 -0
- package/dist/foundation/uploads/UploadQueue.d.ts +79 -0
- package/dist/foundation/uploads/UploadTransport.d.ts +41 -0
- package/dist/foundation/uploads/UseUploadQueue.d.ts +47 -0
- package/dist/foundation/uploads/XhrUploadTransport.d.ts +23 -0
- package/dist/foundation/uploads/index.d.ts +5 -0
- package/dist/foundation/uploads/index.js +449 -0
- package/dist/foundation/uploads/index.js.map +1 -0
- package/dist/foundation/utils/Align/Align.d.ts +10 -0
- package/dist/foundation/utils/Align/index.d.ts +1 -0
- package/dist/foundation/utils/ColorExtensions/ColorExtensions.d.ts +51 -0
- package/dist/foundation/utils/ColorExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Compare/Compare.d.ts +7 -0
- package/dist/foundation/utils/Compare/index.d.ts +1 -0
- package/dist/foundation/utils/CornerPosition/CornerPosition.d.ts +12 -0
- package/dist/foundation/utils/CornerPosition/index.d.ts +1 -0
- package/dist/foundation/utils/CssExtensions/CssExtensions.d.ts +115 -0
- package/dist/foundation/utils/CssExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ElementTag/ElementTag.d.ts +28 -0
- package/dist/foundation/utils/ElementTag/index.d.ts +1 -0
- package/dist/foundation/utils/Environment/Environment.d.ts +12 -0
- package/dist/foundation/utils/Environment/index.d.ts +1 -0
- package/dist/foundation/utils/Equality/Equality.d.ts +13 -0
- package/dist/foundation/utils/Equality/index.d.ts +1 -0
- package/dist/foundation/utils/HtmlExtensions/HtmlExtensions.d.ts +22 -0
- package/dist/foundation/utils/HtmlExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/KeyboardExtensions/KeyboardExtensions.d.ts +32 -0
- package/dist/foundation/utils/KeyboardExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Layers/Layers.d.ts +35 -0
- package/dist/foundation/utils/Layers/index.d.ts +1 -0
- package/dist/foundation/utils/OptionalExtensions/OptionalExtensions.d.ts +12 -0
- package/dist/foundation/utils/OptionalExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/Orientation/Orientation.d.ts +8 -0
- package/dist/foundation/utils/Orientation/index.d.ts +1 -0
- package/dist/foundation/utils/OverlayPosition/OverlayPosition.d.ts +16 -0
- package/dist/foundation/utils/OverlayPosition/index.d.ts +1 -0
- package/dist/foundation/utils/PressExtensions/PressExtensions.d.ts +17 -0
- package/dist/foundation/utils/PressExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/ProgressTone/ProgressTone.d.ts +14 -0
- package/dist/foundation/utils/ProgressTone/index.d.ts +1 -0
- package/dist/foundation/utils/Severity/Severity.d.ts +14 -0
- package/dist/foundation/utils/Severity/index.d.ts +1 -0
- package/dist/foundation/utils/Side/Side.d.ts +12 -0
- package/dist/foundation/utils/Side/index.d.ts +1 -0
- package/dist/foundation/utils/StatusTone/StatusTone.d.ts +14 -0
- package/dist/foundation/utils/StatusTone/index.d.ts +1 -0
- package/dist/foundation/utils/StyleTokens/StyleTokens.d.ts +68 -0
- package/dist/foundation/utils/StyleTokens/index.d.ts +1 -0
- package/dist/foundation/utils/SurfaceStyles/SurfaceStyles.d.ts +397 -0
- package/dist/foundation/utils/SurfaceStyles/index.d.ts +1 -0
- package/dist/foundation/utils/Tones/Tones.d.ts +21 -0
- package/dist/foundation/utils/Tones/index.d.ts +1 -0
- package/dist/foundation/utils/TransitionExtensions/TransitionExtensions.d.ts +18 -0
- package/dist/foundation/utils/TransitionExtensions/index.d.ts +1 -0
- package/dist/foundation/utils/cn/cn.d.ts +6 -0
- package/dist/foundation/utils/cn/index.d.ts +1 -0
- package/dist/foundation/utils/composeEventHandlers/composeEventHandlers.d.ts +9 -0
- package/dist/foundation/utils/composeEventHandlers/index.d.ts +1 -0
- package/dist/foundation/utils/dataAttr/dataAttr.d.ts +6 -0
- package/dist/foundation/utils/dataAttr/index.d.ts +1 -0
- package/dist/foundation/utils/index.d.ts +33 -0
- package/dist/foundation/utils/index.js +67 -0
- package/dist/foundation/utils/index.js.map +1 -0
- package/dist/foundation/utils/polymorphic/index.d.ts +1 -0
- package/dist/foundation/utils/polymorphic/polymorphic.d.ts +29 -0
- package/dist/foundation/utils/tv/index.d.ts +1 -0
- package/dist/foundation/utils/tv/tv.d.ts +1 -0
- package/dist/foundation/validation/Composites.d.ts +62 -0
- package/dist/foundation/validation/Formats.d.ts +9 -0
- package/dist/foundation/validation/Messages.d.ts +69 -0
- package/dist/foundation/validation/Primitives.d.ts +49 -0
- package/dist/foundation/validation/StandardSchema.d.ts +55 -0
- package/dist/foundation/validation/ValidationError.d.ts +14 -0
- package/dist/foundation/validation/ValidationResult.d.ts +49 -0
- package/dist/foundation/validation/Validator.d.ts +69 -0
- package/dist/foundation/validation/index.d.ts +8 -0
- package/dist/foundation/validation/index.js +512 -0
- package/dist/foundation/validation/index.js.map +1 -0
- package/dist/foundation/virtualization/Measurements.d.ts +79 -0
- package/dist/foundation/virtualization/UseVirtualList.d.ts +79 -0
- package/dist/foundation/virtualization/Windowing.d.ts +78 -0
- package/dist/foundation/virtualization/index.d.ts +3 -0
- package/dist/foundation/virtualization/index.js +300 -0
- package/dist/foundation/virtualization/index.js.map +1 -0
- package/dist/foundation/workers/RunInWorker.d.ts +41 -0
- package/dist/foundation/workers/UseWorker.d.ts +28 -0
- package/dist/foundation/workers/WorkerClient.d.ts +85 -0
- package/dist/foundation/workers/WorkerHost.d.ts +80 -0
- package/dist/foundation/workers/WorkerProtocol.d.ts +78 -0
- package/dist/foundation/workers/WorkerSupport.d.ts +15 -0
- package/dist/foundation/workers/index.d.ts +6 -0
- package/dist/foundation/workers/index.js +292 -0
- package/dist/foundation/workers/index.js.map +1 -0
- package/dist/index.css +314 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +636 -0
- package/dist/index.js.map +1 -0
- package/dist/presentation/actions/backToTopButton/BackToTopButton.vue.d.ts +33 -0
- package/dist/presentation/actions/backToTopButton/index.d.ts +1 -0
- package/dist/presentation/actions/button/Button.variants.d.ts +311 -0
- package/dist/presentation/actions/button/Button.vue.d.ts +119 -0
- package/dist/presentation/actions/button/index.d.ts +2 -0
- package/dist/presentation/actions/buttonGroup/ButtonGroup.vue.d.ts +22 -0
- package/dist/presentation/actions/buttonGroup/index.d.ts +1 -0
- package/dist/presentation/actions/copyButton/CopyButton.vue.d.ts +35 -0
- package/dist/presentation/actions/copyButton/index.d.ts +1 -0
- package/dist/presentation/actions/disclosureButton/DisclosureButton.vue.d.ts +32 -0
- package/dist/presentation/actions/disclosureButton/index.d.ts +1 -0
- package/dist/presentation/actions/fab/FAB.variants.d.ts +158 -0
- package/dist/presentation/actions/fab/FAB.vue.d.ts +29 -0
- package/dist/presentation/actions/fab/index.d.ts +2 -0
- package/dist/presentation/actions/index.d.ts +14 -0
- package/dist/presentation/actions/index.js +47 -0
- package/dist/presentation/actions/index.js.map +1 -0
- package/dist/presentation/actions/link/Link.variants.d.ts +111 -0
- package/dist/presentation/actions/link/Link.vue.d.ts +24 -0
- package/dist/presentation/actions/link/index.d.ts +2 -0
- package/dist/presentation/actions/optionTile/OptionTile.variants.d.ts +10 -0
- package/dist/presentation/actions/optionTile/OptionTile.vue.d.ts +31 -0
- package/dist/presentation/actions/optionTile/index.d.ts +2 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.variants.d.ts +76 -0
- package/dist/presentation/actions/optionTileGroup/OptionTileGroup.vue.d.ts +27 -0
- package/dist/presentation/actions/optionTileGroup/index.d.ts +2 -0
- package/dist/presentation/actions/segmentedControl/SegmentedControl.vue.d.ts +20 -0
- package/dist/presentation/actions/segmentedControl/index.d.ts +1 -0
- package/dist/presentation/actions/speedDial/SpeedDial.vue.d.ts +28 -0
- package/dist/presentation/actions/speedDial/SpeedDialAction.vue.d.ts +40 -0
- package/dist/presentation/actions/speedDial/SpeedDialContext.d.ts +36 -0
- package/dist/presentation/actions/speedDial/SpeedDialList.vue.d.ts +13 -0
- package/dist/presentation/actions/speedDial/SpeedDialTrigger.vue.d.ts +30 -0
- package/dist/presentation/actions/speedDial/index.d.ts +166 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.variants.d.ts +141 -0
- package/dist/presentation/actions/toggleButton/ToggleButton.vue.d.ts +59 -0
- package/dist/presentation/actions/toggleButton/index.d.ts +2 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.variants.d.ts +33 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroup.vue.d.ts +72 -0
- package/dist/presentation/actions/toggleButtonGroup/ToggleButtonGroupContext.d.ts +24 -0
- package/dist/presentation/actions/toggleButtonGroup/index.d.ts +3 -0
- package/dist/presentation/actions/toolbar/Toolbar.vue.d.ts +19 -0
- package/dist/presentation/actions/toolbar/ToolbarButton.vue.d.ts +16 -0
- package/dist/presentation/actions/toolbar/ToolbarContext.d.ts +9 -0
- package/dist/presentation/actions/toolbar/ToolbarLink.vue.d.ts +11 -0
- package/dist/presentation/actions/toolbar/ToolbarSeparator.vue.d.ts +3 -0
- package/dist/presentation/actions/toolbar/index.d.ts +87 -0
- package/dist/presentation/display/accordion/Accordion.vue.d.ts +45 -0
- package/dist/presentation/display/accordion/AccordionContent.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/AccordionContext.d.ts +29 -0
- package/dist/presentation/display/accordion/AccordionItem.vue.d.ts +20 -0
- package/dist/presentation/display/accordion/AccordionTrigger.vue.d.ts +14 -0
- package/dist/presentation/display/accordion/index.d.ts +5 -0
- package/dist/presentation/display/activityFeed/ActivityFeed.vue.d.ts +18 -0
- package/dist/presentation/display/activityFeed/ActivityItem.vue.d.ts +29 -0
- package/dist/presentation/display/activityFeed/index.d.ts +2 -0
- package/dist/presentation/display/animatedNumber/AnimatedNumber.vue.d.ts +34 -0
- package/dist/presentation/display/animatedNumber/index.d.ts +1 -0
- package/dist/presentation/display/annotationMarker/AnnotationMarker.vue.d.ts +43 -0
- package/dist/presentation/display/annotationMarker/index.d.ts +1 -0
- package/dist/presentation/display/audioPlayer/AudioPlayer.vue.d.ts +38 -0
- package/dist/presentation/display/audioPlayer/index.d.ts +1 -0
- package/dist/presentation/display/audioWaveform/AudioWaveform.vue.d.ts +57 -0
- package/dist/presentation/display/audioWaveform/index.d.ts +1 -0
- package/dist/presentation/display/avatar/Avatar.variants.d.ts +312 -0
- package/dist/presentation/display/avatar/Avatar.vue.d.ts +49 -0
- package/dist/presentation/display/avatar/index.d.ts +2 -0
- package/dist/presentation/display/avatarGroup/AvatarGroup.vue.d.ts +25 -0
- package/dist/presentation/display/avatarGroup/index.d.ts +1 -0
- package/dist/presentation/display/badge/Badge.variants.d.ts +128 -0
- package/dist/presentation/display/badge/Badge.vue.d.ts +20 -0
- package/dist/presentation/display/badge/index.d.ts +2 -0
- package/dist/presentation/display/badgeOverlay/BadgeOverlay.vue.d.ts +24 -0
- package/dist/presentation/display/badgeOverlay/index.d.ts +1 -0
- package/dist/presentation/display/card/Card.vue.d.ts +32 -0
- package/dist/presentation/display/card/CardBody.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardDescription.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardFooter.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardHeader.vue.d.ts +12 -0
- package/dist/presentation/display/card/CardTitle.vue.d.ts +12 -0
- package/dist/presentation/display/card/index.d.ts +6 -0
- package/dist/presentation/display/carousel/Carousel.vue.d.ts +34 -0
- package/dist/presentation/display/carousel/CarouselContext.d.ts +38 -0
- package/dist/presentation/display/carousel/CarouselDot.vue.d.ts +9 -0
- package/dist/presentation/display/carousel/CarouselDots.vue.d.ts +7 -0
- package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +12 -0
- package/dist/presentation/display/carousel/CarouselSlide.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselSlides.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +14 -0
- package/dist/presentation/display/carousel/index.d.ts +10 -0
- package/dist/presentation/display/chatBubble/ChatBubble.vue.d.ts +79 -0
- package/dist/presentation/display/chatBubble/index.d.ts +1 -0
- package/dist/presentation/display/code/Code.variants.d.ts +48 -0
- package/dist/presentation/display/code/Code.vue.d.ts +17 -0
- package/dist/presentation/display/code/index.d.ts +2 -0
- package/dist/presentation/display/collapsible/Collapsible.vue.d.ts +40 -0
- package/dist/presentation/display/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/CollapsibleContentInner.vue.d.ts +23 -0
- package/dist/presentation/display/collapsible/CollapsibleContext.d.ts +17 -0
- package/dist/presentation/display/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/presentation/display/collapsible/index.d.ts +4 -0
- package/dist/presentation/display/commentThread/Comment.vue.d.ts +39 -0
- package/dist/presentation/display/commentThread/CommentThread.vue.d.ts +14 -0
- package/dist/presentation/display/commentThread/index.d.ts +2 -0
- package/dist/presentation/display/confetti/Confetti.vue.d.ts +40 -0
- package/dist/presentation/display/confetti/index.d.ts +1 -0
- package/dist/presentation/display/countBadge/CountBadge.vue.d.ts +24 -0
- package/dist/presentation/display/countBadge/index.d.ts +1 -0
- package/dist/presentation/display/countUp/CountUp.vue.d.ts +40 -0
- package/dist/presentation/display/countUp/index.d.ts +1 -0
- package/dist/presentation/display/dataGrid/CellEditor.vue.d.ts +29 -0
- package/dist/presentation/display/dataGrid/DataGrid.vue.d.ts +47 -0
- package/dist/presentation/display/dataGrid/DataGridTypes.d.ts +65 -0
- package/dist/presentation/display/dataGrid/index.d.ts +2 -0
- package/dist/presentation/display/dataTable/DataTable.vue.d.ts +91 -0
- package/dist/presentation/display/dataTable/index.d.ts +1 -0
- package/dist/presentation/display/descriptionList/DescriptionList.vue.d.ts +54 -0
- package/dist/presentation/display/descriptionList/index.d.ts +1 -0
- package/dist/presentation/display/diffViewer/DiffViewer.vue.d.ts +38 -0
- package/dist/presentation/display/diffViewer/index.d.ts +1 -0
- package/dist/presentation/display/emptyState/EmptyState.vue.d.ts +43 -0
- package/dist/presentation/display/emptyState/index.d.ts +1 -0
- package/dist/presentation/display/eventCalendar/AgendaView.vue.d.ts +13 -0
- package/dist/presentation/display/eventCalendar/EventCalendar.vue.d.ts +41 -0
- package/dist/presentation/display/eventCalendar/EventCalendarTypes.d.ts +28 -0
- package/dist/presentation/display/eventCalendar/MonthView.vue.d.ts +17 -0
- package/dist/presentation/display/eventCalendar/TimeGridView.vue.d.ts +18 -0
- package/dist/presentation/display/eventCalendar/index.d.ts +2 -0
- package/dist/presentation/display/eyebrow/Eyebrow.vue.d.ts +32 -0
- package/dist/presentation/display/eyebrow/index.d.ts +1 -0
- package/dist/presentation/display/featureCard/FeatureCard.vue.d.ts +83 -0
- package/dist/presentation/display/featureCard/index.d.ts +1 -0
- package/dist/presentation/display/frameGlyph/FrameGlyph.vue.d.ts +19 -0
- package/dist/presentation/display/frameGlyph/index.d.ts +1 -0
- package/dist/presentation/display/gantt/Gantt.vue.d.ts +58 -0
- package/dist/presentation/display/gantt/index.d.ts +1 -0
- package/dist/presentation/display/gradientText/GradientText.vue.d.ts +54 -0
- package/dist/presentation/display/gradientText/index.d.ts +1 -0
- package/dist/presentation/display/heading/Heading.variants.d.ts +201 -0
- package/dist/presentation/display/heading/Heading.vue.d.ts +26 -0
- package/dist/presentation/display/heading/index.d.ts +2 -0
- package/dist/presentation/display/heatmapCalendar/HeatmapCalendar.vue.d.ts +61 -0
- package/dist/presentation/display/heatmapCalendar/index.d.ts +1 -0
- package/dist/presentation/display/highlight/Highlight.vue.d.ts +20 -0
- package/dist/presentation/display/highlight/index.d.ts +1 -0
- package/dist/presentation/display/image/Image.vue.d.ts +15 -0
- package/dist/presentation/display/image/index.d.ts +1 -0
- package/dist/presentation/display/index.d.ts +73 -0
- package/dist/presentation/display/index.js +192 -0
- package/dist/presentation/display/index.js.map +1 -0
- package/dist/presentation/display/infoRow/InfoRow.vue.d.ts +39 -0
- package/dist/presentation/display/infoRow/index.d.ts +1 -0
- package/dist/presentation/display/kbd/Kbd.vue.d.ts +13 -0
- package/dist/presentation/display/kbd/index.d.ts +1 -0
- package/dist/presentation/display/keyboardShortcut/KeyboardShortcut.vue.d.ts +13 -0
- package/dist/presentation/display/keyboardShortcut/index.d.ts +1 -0
- package/dist/presentation/display/list/List.variants.d.ts +112 -0
- package/dist/presentation/display/list/List.vue.d.ts +23 -0
- package/dist/presentation/display/list/ListItem.vue.d.ts +23 -0
- package/dist/presentation/display/list/index.d.ts +3 -0
- package/dist/presentation/display/mark/Mark.vue.d.ts +13 -0
- package/dist/presentation/display/mark/index.d.ts +1 -0
- package/dist/presentation/display/marquee/Marquee.vue.d.ts +39 -0
- package/dist/presentation/display/marquee/index.d.ts +1 -0
- package/dist/presentation/display/messageList/DaySeparator.vue.d.ts +17 -0
- package/dist/presentation/display/messageList/MessageList.vue.d.ts +39 -0
- package/dist/presentation/display/messageList/index.d.ts +2 -0
- package/dist/presentation/display/metaInline/MetaInline.vue.d.ts +21 -0
- package/dist/presentation/display/metaInline/index.d.ts +1 -0
- package/dist/presentation/display/metricChip/MetricChip.vue.d.ts +54 -0
- package/dist/presentation/display/metricChip/index.d.ts +1 -0
- package/dist/presentation/display/moduleGlyphs/CellsGlyph.vue.d.ts +13 -0
- package/dist/presentation/display/moduleGlyphs/DotsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/HorizontalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/ModuleGlyphs.d.ts +15 -0
- package/dist/presentation/display/moduleGlyphs/VerticalBarsGlyph.vue.d.ts +9 -0
- package/dist/presentation/display/moduleGlyphs/index.d.ts +5 -0
- package/dist/presentation/display/nodeEditor/NodeEditor.vue.d.ts +58 -0
- package/dist/presentation/display/nodeEditor/index.d.ts +1 -0
- package/dist/presentation/display/notificationDot/NotificationDot.vue.d.ts +47 -0
- package/dist/presentation/display/notificationDot/index.d.ts +1 -0
- package/dist/presentation/display/pdfViewer/PDFViewer.vue.d.ts +40 -0
- package/dist/presentation/display/pdfViewer/index.d.ts +1 -0
- package/dist/presentation/display/pricingCard/PricingCard.vue.d.ts +107 -0
- package/dist/presentation/display/pricingCard/index.d.ts +1 -0
- package/dist/presentation/display/quote/Quote.vue.d.ts +13 -0
- package/dist/presentation/display/quote/index.d.ts +1 -0
- package/dist/presentation/display/radiusGlyph/RadiusGlyph.vue.d.ts +23 -0
- package/dist/presentation/display/radiusGlyph/index.d.ts +1 -0
- package/dist/presentation/display/reactionBar/ReactionBar.vue.d.ts +47 -0
- package/dist/presentation/display/reactionBar/index.d.ts +1 -0
- package/dist/presentation/display/scheduleView/ScheduleView.vue.d.ts +58 -0
- package/dist/presentation/display/scheduleView/index.d.ts +1 -0
- package/dist/presentation/display/scrollReveal/ScrollReveal.vue.d.ts +50 -0
- package/dist/presentation/display/scrollReveal/index.d.ts +1 -0
- package/dist/presentation/display/sectionHeader/SectionHeader.vue.d.ts +49 -0
- package/dist/presentation/display/sectionHeader/index.d.ts +1 -0
- package/dist/presentation/display/separator/Separator.vue.d.ts +14 -0
- package/dist/presentation/display/separator/index.d.ts +1 -0
- package/dist/presentation/display/snippet/Snippet.vue.d.ts +21 -0
- package/dist/presentation/display/snippet/index.d.ts +1 -0
- package/dist/presentation/display/sortable/Sortable.vue.d.ts +18 -0
- package/dist/presentation/display/sortable/SortableContext.d.ts +22 -0
- package/dist/presentation/display/sortable/SortableHandle.vue.d.ts +14 -0
- package/dist/presentation/display/sortable/SortableItem.vue.d.ts +16 -0
- package/dist/presentation/display/sortable/index.d.ts +4 -0
- package/dist/presentation/display/sparkline/Sparkline.vue.d.ts +62 -0
- package/dist/presentation/display/sparkline/index.d.ts +1 -0
- package/dist/presentation/display/stat/Stat.vue.d.ts +48 -0
- package/dist/presentation/display/stat/index.d.ts +1 -0
- package/dist/presentation/display/status/Status.vue.d.ts +35 -0
- package/dist/presentation/display/status/index.d.ts +1 -0
- package/dist/presentation/display/stepCard/StepCard.vue.d.ts +85 -0
- package/dist/presentation/display/stepCard/index.d.ts +1 -0
- package/dist/presentation/display/swipeActions/SwipeActions.vue.d.ts +28 -0
- package/dist/presentation/display/swipeActions/index.d.ts +1 -0
- package/dist/presentation/display/table/Table.vue.d.ts +30 -0
- package/dist/presentation/display/table/TableBody.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCaption.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableContext.d.ts +46 -0
- package/dist/presentation/display/table/TableFooter.vue.d.ts +12 -0
- package/dist/presentation/display/table/TableHead.vue.d.ts +26 -0
- package/dist/presentation/display/table/TableHeaderCell.vue.d.ts +14 -0
- package/dist/presentation/display/table/TableRow.vue.d.ts +12 -0
- package/dist/presentation/display/table/index.d.ts +9 -0
- package/dist/presentation/display/tabs/Tabs.vue.d.ts +33 -0
- package/dist/presentation/display/tabs/TabsContext.d.ts +34 -0
- package/dist/presentation/display/tabs/TabsList.vue.d.ts +256 -0
- package/dist/presentation/display/tabs/TabsPanel.vue.d.ts +16 -0
- package/dist/presentation/display/tabs/TabsTab.vue.d.ts +20 -0
- package/dist/presentation/display/tabs/index.d.ts +5 -0
- package/dist/presentation/display/tag/Tag.variants.d.ts +84 -0
- package/dist/presentation/display/tag/Tag.vue.d.ts +25 -0
- package/dist/presentation/display/tag/index.d.ts +2 -0
- package/dist/presentation/display/text/Text.variants.d.ts +301 -0
- package/dist/presentation/display/text/Text.vue.d.ts +33 -0
- package/dist/presentation/display/text/index.d.ts +2 -0
- package/dist/presentation/display/threadView/ThreadView.vue.d.ts +46 -0
- package/dist/presentation/display/threadView/index.d.ts +1 -0
- package/dist/presentation/display/tilt/Tilt.vue.d.ts +31 -0
- package/dist/presentation/display/tilt/index.d.ts +1 -0
- package/dist/presentation/display/timeline/Timeline.vue.d.ts +19 -0
- package/dist/presentation/display/timeline/TimelineContext.d.ts +40 -0
- package/dist/presentation/display/timeline/TimelineDescription.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/TimelineItem.vue.d.ts +22 -0
- package/dist/presentation/display/timeline/TimelineTitle.vue.d.ts +14 -0
- package/dist/presentation/display/timeline/index.d.ts +5 -0
- package/dist/presentation/display/tooltip/Tooltip.vue.d.ts +53 -0
- package/dist/presentation/display/tooltip/index.d.ts +1 -0
- package/dist/presentation/display/tree/Tree.vue.d.ts +275 -0
- package/dist/presentation/display/tree/TreeContext.d.ts +29 -0
- package/dist/presentation/display/tree/TreeGroup.vue.d.ts +28 -0
- package/dist/presentation/display/tree/TreeGroupContent.vue.d.ts +17 -0
- package/dist/presentation/display/tree/TreeItem.vue.d.ts +20 -0
- package/dist/presentation/display/tree/TreeNodeRow.vue.d.ts +27 -0
- package/dist/presentation/display/tree/index.d.ts +4 -0
- package/dist/presentation/display/typewriter/Typewriter.vue.d.ts +32 -0
- package/dist/presentation/display/typewriter/index.d.ts +1 -0
- package/dist/presentation/display/videoPlayer/VideoPlayer.vue.d.ts +55 -0
- package/dist/presentation/display/videoPlayer/index.d.ts +1 -0
- package/dist/presentation/feedback/alert/Alert.vue.d.ts +41 -0
- package/dist/presentation/feedback/alert/index.d.ts +1 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/alertSimple/AlertSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/alertSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/banner/Banner.vue.d.ts +41 -0
- package/dist/presentation/feedback/banner/index.d.ts +1 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/bannerSimple/BannerSimple.vue.d.ts +17 -0
- package/dist/presentation/feedback/bannerSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/callout/Callout.vue.d.ts +27 -0
- package/dist/presentation/feedback/callout/index.d.ts +1 -0
- package/dist/presentation/feedback/feedbackToasts/FeedbackToasts.vue.d.ts +18 -0
- package/dist/presentation/feedback/feedbackToasts/index.d.ts +1 -0
- package/dist/presentation/feedback/index.d.ts +27 -0
- package/dist/presentation/feedback/index.js +49 -0
- package/dist/presentation/feedback/index.js.map +1 -0
- package/dist/presentation/feedback/inlineSpinner/InlineSpinner.vue.d.ts +22 -0
- package/dist/presentation/feedback/inlineSpinner/index.d.ts +1 -0
- package/dist/presentation/feedback/liveCursor/LiveCursor.vue.d.ts +33 -0
- package/dist/presentation/feedback/liveCursor/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingOverlay/LoadingOverlay.vue.d.ts +36 -0
- package/dist/presentation/feedback/loadingOverlay/index.d.ts +1 -0
- package/dist/presentation/feedback/loadingState/LoadingState.vue.d.ts +26 -0
- package/dist/presentation/feedback/loadingState/index.d.ts +1 -0
- package/dist/presentation/feedback/meterBar/MeterBar.vue.d.ts +21 -0
- package/dist/presentation/feedback/meterBar/index.d.ts +1 -0
- package/dist/presentation/feedback/notificationCenter/NotificationCenter.vue.d.ts +30 -0
- package/dist/presentation/feedback/notificationCenter/NotificationItem.vue.d.ts +40 -0
- package/dist/presentation/feedback/notificationCenter/index.d.ts +2 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklist.vue.d.ts +56 -0
- package/dist/presentation/feedback/onboardingChecklist/OnboardingChecklistTask.vue.d.ts +27 -0
- package/dist/presentation/feedback/onboardingChecklist/index.d.ts +3 -0
- package/dist/presentation/feedback/presenceIndicator/PresenceIndicator.vue.d.ts +34 -0
- package/dist/presentation/feedback/presenceIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.variants.d.ts +104 -0
- package/dist/presentation/feedback/progressBar/ProgressBar.vue.d.ts +19 -0
- package/dist/presentation/feedback/progressBar/index.d.ts +2 -0
- package/dist/presentation/feedback/progressCircle/ProgressCircle.vue.d.ts +21 -0
- package/dist/presentation/feedback/progressCircle/index.d.ts +1 -0
- package/dist/presentation/feedback/progressSteps/ProgressSteps.vue.d.ts +16 -0
- package/dist/presentation/feedback/progressSteps/index.d.ts +1 -0
- package/dist/presentation/feedback/skeleton/Skeleton.variants.d.ts +57 -0
- package/dist/presentation/feedback/skeleton/Skeleton.vue.d.ts +17 -0
- package/dist/presentation/feedback/skeleton/index.d.ts +2 -0
- package/dist/presentation/feedback/spinner/Spinner.variants.d.ts +115 -0
- package/dist/presentation/feedback/spinner/Spinner.vue.d.ts +17 -0
- package/dist/presentation/feedback/spinner/index.d.ts +2 -0
- package/dist/presentation/feedback/statusIndicator/StatusIndicator.vue.d.ts +31 -0
- package/dist/presentation/feedback/statusIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +41 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.variants.d.ts +61 -0
- package/dist/presentation/feedback/toastSimple/ToastSimple.vue.d.ts +20 -0
- package/dist/presentation/feedback/toastSimple/index.d.ts +2 -0
- package/dist/presentation/feedback/toaster/Toaster.vue.d.ts +84 -0
- package/dist/presentation/feedback/toaster/index.d.ts +1 -0
- package/dist/presentation/feedback/tour/Tour.vue.d.ts +45 -0
- package/dist/presentation/feedback/tour/index.d.ts +1 -0
- package/dist/presentation/feedback/trendIndicator/TrendIndicator.vue.d.ts +32 -0
- package/dist/presentation/feedback/trendIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/typingIndicator/TypingIndicator.vue.d.ts +36 -0
- package/dist/presentation/feedback/typingIndicator/index.d.ts +1 -0
- package/dist/presentation/feedback/undoBar/UndoBar.vue.d.ts +34 -0
- package/dist/presentation/feedback/undoBar/index.d.ts +1 -0
- package/dist/presentation/forms/ColorExtensions.d.ts +37 -0
- package/dist/presentation/forms/DateExtensions.d.ts +70 -0
- package/dist/presentation/forms/InputStyles.d.ts +228 -0
- package/dist/presentation/forms/MonthGrid.vue.d.ts +40 -0
- package/dist/presentation/forms/addressForm/AddressForm.vue.d.ts +54 -0
- package/dist/presentation/forms/addressForm/index.d.ts +1 -0
- package/dist/presentation/forms/calendar/Calendar.vue.d.ts +33 -0
- package/dist/presentation/forms/calendar/index.d.ts +1 -0
- package/dist/presentation/forms/characterCount/CharacterCount.vue.d.ts +15 -0
- package/dist/presentation/forms/characterCount/index.d.ts +1 -0
- package/dist/presentation/forms/chatComposer/ChatComposer.vue.d.ts +74 -0
- package/dist/presentation/forms/chatComposer/index.d.ts +1 -0
- package/dist/presentation/forms/checkbox/Checkbox.variants.d.ts +133 -0
- package/dist/presentation/forms/checkbox/Checkbox.vue.d.ts +48 -0
- package/dist/presentation/forms/checkbox/index.d.ts +2 -0
- package/dist/presentation/forms/checkboxField/CheckboxField.vue.d.ts +35 -0
- package/dist/presentation/forms/checkboxField/index.d.ts +1 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroup.vue.d.ts +39 -0
- package/dist/presentation/forms/checkboxGroup/CheckboxGroupContext.d.ts +14 -0
- package/dist/presentation/forms/checkboxGroup/index.d.ts +2 -0
- package/dist/presentation/forms/choiceCard/ChoiceCard.vue.d.ts +35 -0
- package/dist/presentation/forms/choiceCard/index.d.ts +1 -0
- package/dist/presentation/forms/codeEditor/CodeEditor.vue.d.ts +50 -0
- package/dist/presentation/forms/codeEditor/index.d.ts +1 -0
- package/dist/presentation/forms/colorArea/ColorArea.vue.d.ts +40 -0
- package/dist/presentation/forms/colorArea/index.d.ts +1 -0
- package/dist/presentation/forms/colorField/ColorField.vue.d.ts +44 -0
- package/dist/presentation/forms/colorField/index.d.ts +1 -0
- package/dist/presentation/forms/colorPicker/ColorPicker.vue.d.ts +62 -0
- package/dist/presentation/forms/colorPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorSlider/ColorSlider.vue.d.ts +47 -0
- package/dist/presentation/forms/colorSlider/index.d.ts +1 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.variants.d.ts +186 -0
- package/dist/presentation/forms/colorSwatch/ColorSwatch.vue.d.ts +33 -0
- package/dist/presentation/forms/colorSwatch/index.d.ts +2 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchItem.vue.d.ts +27 -0
- package/dist/presentation/forms/colorSwatchPicker/ColorSwatchPicker.vue.d.ts +41 -0
- package/dist/presentation/forms/colorSwatchPicker/index.d.ts +1 -0
- package/dist/presentation/forms/colorWheel/ColorWheel.vue.d.ts +34 -0
- package/dist/presentation/forms/colorWheel/index.d.ts +1 -0
- package/dist/presentation/forms/combobox/Combobox.vue.d.ts +60 -0
- package/dist/presentation/forms/combobox/ComboboxContent.vue.d.ts +39 -0
- package/dist/presentation/forms/combobox/ComboboxContext.d.ts +53 -0
- package/dist/presentation/forms/combobox/ComboboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/combobox/ComboboxInput.vue.d.ts +12 -0
- package/dist/presentation/forms/combobox/ComboboxItem.vue.d.ts +28 -0
- package/dist/presentation/forms/combobox/ComboboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/combobox/index.d.ts +8 -0
- package/dist/presentation/forms/cronInput/CronInput.vue.d.ts +68 -0
- package/dist/presentation/forms/cronInput/index.d.ts +1 -0
- package/dist/presentation/forms/currencyInput/CurrencyInput.vue.d.ts +12 -0
- package/dist/presentation/forms/currencyInput/index.d.ts +1 -0
- package/dist/presentation/forms/dateField/DateField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateField/index.d.ts +1 -0
- package/dist/presentation/forms/datePicker/DatePicker.vue.d.ts +53 -0
- package/dist/presentation/forms/datePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateRangePicker/DateRangePicker.vue.d.ts +54 -0
- package/dist/presentation/forms/dateRangePicker/index.d.ts +1 -0
- package/dist/presentation/forms/dateTimeField/DateTimeField.vue.d.ts +42 -0
- package/dist/presentation/forms/dateTimeField/index.d.ts +1 -0
- package/dist/presentation/forms/editable/Editable.vue.d.ts +60 -0
- package/dist/presentation/forms/editable/EditableCancel.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditableContext.d.ts +37 -0
- package/dist/presentation/forms/editable/EditableInput.vue.d.ts +12 -0
- package/dist/presentation/forms/editable/EditablePreview.vue.d.ts +7 -0
- package/dist/presentation/forms/editable/EditableSubmit.vue.d.ts +14 -0
- package/dist/presentation/forms/editable/index.d.ts +7 -0
- package/dist/presentation/forms/emailInput/EmailInput.vue.d.ts +43 -0
- package/dist/presentation/forms/emailInput/index.d.ts +1 -0
- package/dist/presentation/forms/emojiPicker/CategoryNav.vue.d.ts +19 -0
- package/dist/presentation/forms/emojiPicker/EmojiGrid.vue.d.ts +26 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.variants.d.ts +77 -0
- package/dist/presentation/forms/emojiPicker/EmojiPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/emojiPicker/EmojiPickerPopover.vue.d.ts +68 -0
- package/dist/presentation/forms/emojiPicker/EmojiTile.vue.d.ts +22 -0
- package/dist/presentation/forms/emojiPicker/index.d.ts +4 -0
- package/dist/presentation/forms/emojiPicker/useEmojiPicker.d.ts +45 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.variants.d.ts +23 -0
- package/dist/presentation/forms/emojiSizeControl/EmojiSizeControl.vue.d.ts +32 -0
- package/dist/presentation/forms/emojiSizeControl/index.d.ts +2 -0
- package/dist/presentation/forms/field/Field.vue.d.ts +37 -0
- package/dist/presentation/forms/field/index.d.ts +6 -0
- package/dist/presentation/forms/fieldset/Fieldset.vue.d.ts +22 -0
- package/dist/presentation/forms/fieldset/index.d.ts +1 -0
- package/dist/presentation/forms/filePicker/FilePicker.vue.d.ts +34 -0
- package/dist/presentation/forms/filePicker/index.d.ts +1 -0
- package/dist/presentation/forms/fileUpload/FileUpload.vue.d.ts +60 -0
- package/dist/presentation/forms/fileUpload/index.d.ts +1 -0
- package/dist/presentation/forms/fontPicker/FontPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/fontPicker/index.d.ts +1 -0
- package/dist/presentation/forms/formErrorMessage/FormErrorMessage.vue.d.ts +24 -0
- package/dist/presentation/forms/formErrorMessage/index.d.ts +1 -0
- package/dist/presentation/forms/formHelperText/FormHelperText.vue.d.ts +19 -0
- package/dist/presentation/forms/formHelperText/index.d.ts +1 -0
- package/dist/presentation/forms/gradientPicker/GradientPicker.vue.d.ts +50 -0
- package/dist/presentation/forms/gradientPicker/index.d.ts +1 -0
- package/dist/presentation/forms/iconPicker/IconPicker.vue.d.ts +45 -0
- package/dist/presentation/forms/iconPicker/index.d.ts +1 -0
- package/dist/presentation/forms/index.d.ts +75 -0
- package/dist/presentation/forms/index.js +165 -0
- package/dist/presentation/forms/index.js.map +1 -0
- package/dist/presentation/forms/inputAddon/InputAddon.vue.d.ts +20 -0
- package/dist/presentation/forms/inputAddon/index.d.ts +1 -0
- package/dist/presentation/forms/inputGroup/InputGroup.vue.d.ts +19 -0
- package/dist/presentation/forms/inputGroup/index.d.ts +1 -0
- package/dist/presentation/forms/jsonEditor/JSONEditor.vue.d.ts +49 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorContext.d.ts +28 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorHelpers.d.ts +6 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTextView.vue.d.ts +14 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeNode.vue.d.ts +15 -0
- package/dist/presentation/forms/jsonEditor/JSONEditorTreeView.vue.d.ts +8 -0
- package/dist/presentation/forms/jsonEditor/index.d.ts +2 -0
- package/dist/presentation/forms/keyboardShortcutPicker/KeyboardShortcutPicker.vue.d.ts +43 -0
- package/dist/presentation/forms/keyboardShortcutPicker/index.d.ts +1 -0
- package/dist/presentation/forms/knob/Knob.vue.d.ts +75 -0
- package/dist/presentation/forms/knob/index.d.ts +1 -0
- package/dist/presentation/forms/label/Label.vue.d.ts +34 -0
- package/dist/presentation/forms/label/index.d.ts +1 -0
- package/dist/presentation/forms/labeledInput/LabeledInput.vue.d.ts +23 -0
- package/dist/presentation/forms/labeledInput/index.d.ts +2 -0
- package/dist/presentation/forms/legend/Legend.vue.d.ts +21 -0
- package/dist/presentation/forms/legend/index.d.ts +1 -0
- package/dist/presentation/forms/listbox/Listbox.variants.d.ts +71 -0
- package/dist/presentation/forms/listbox/Listbox.vue.d.ts +70 -0
- package/dist/presentation/forms/listbox/ListboxContext.d.ts +47 -0
- package/dist/presentation/forms/listbox/ListboxEmpty.vue.d.ts +10 -0
- package/dist/presentation/forms/listbox/ListboxGroup.vue.d.ts +20 -0
- package/dist/presentation/forms/listbox/ListboxItem.vue.d.ts +24 -0
- package/dist/presentation/forms/listbox/ListboxSeparator.vue.d.ts +3 -0
- package/dist/presentation/forms/listbox/index.d.ts +7 -0
- package/dist/presentation/forms/markdownEditor/MarkdownEditor.vue.d.ts +73 -0
- package/dist/presentation/forms/markdownEditor/index.d.ts +1 -0
- package/dist/presentation/forms/maskedInput/MaskedInput.vue.d.ts +42 -0
- package/dist/presentation/forms/maskedInput/index.d.ts +1 -0
- package/dist/presentation/forms/multiSelect/MultiSelect.vue.d.ts +52 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContent.vue.d.ts +31 -0
- package/dist/presentation/forms/multiSelect/MultiSelectContext.d.ts +38 -0
- package/dist/presentation/forms/multiSelect/MultiSelectItem.vue.d.ts +25 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTags.vue.d.ts +14 -0
- package/dist/presentation/forms/multiSelect/MultiSelectTrigger.vue.d.ts +20 -0
- package/dist/presentation/forms/multiSelect/index.d.ts +6 -0
- package/dist/presentation/forms/numberInput/NumberInput.vue.d.ts +51 -0
- package/dist/presentation/forms/numberInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordInput/PasswordInput.vue.d.ts +48 -0
- package/dist/presentation/forms/passwordInput/index.d.ts +1 -0
- package/dist/presentation/forms/passwordStrength/PasswordStrength.vue.d.ts +16 -0
- package/dist/presentation/forms/passwordStrength/index.d.ts +1 -0
- package/dist/presentation/forms/percentInput/PercentInput.vue.d.ts +8 -0
- package/dist/presentation/forms/percentInput/index.d.ts +1 -0
- package/dist/presentation/forms/phoneInput/PhoneInput.vue.d.ts +45 -0
- package/dist/presentation/forms/phoneInput/index.d.ts +1 -0
- package/dist/presentation/forms/pinInput/PinInput.vue.d.ts +46 -0
- package/dist/presentation/forms/pinInput/index.d.ts +1 -0
- package/dist/presentation/forms/radio/Radio.vue.d.ts +35 -0
- package/dist/presentation/forms/radio/index.d.ts +1 -0
- package/dist/presentation/forms/radioField/RadioField.vue.d.ts +35 -0
- package/dist/presentation/forms/radioField/index.d.ts +1 -0
- package/dist/presentation/forms/radioGroup/RadioGroup.vue.d.ts +41 -0
- package/dist/presentation/forms/radioGroup/RadioGroupContext.d.ts +16 -0
- package/dist/presentation/forms/radioGroup/index.d.ts +2 -0
- package/dist/presentation/forms/rangeCalendar/RangeCalendar.vue.d.ts +37 -0
- package/dist/presentation/forms/rangeCalendar/index.d.ts +1 -0
- package/dist/presentation/forms/reactionPicker/ReactionPicker.vue.d.ts +32 -0
- package/dist/presentation/forms/reactionPicker/index.d.ts +1 -0
- package/dist/presentation/forms/recurrenceEditor/RecurrenceEditor.vue.d.ts +88 -0
- package/dist/presentation/forms/recurrenceEditor/index.d.ts +1 -0
- package/dist/presentation/forms/searchInput/SearchInput.vue.d.ts +48 -0
- package/dist/presentation/forms/searchInput/index.d.ts +1 -0
- package/dist/presentation/forms/select/Select.variants.d.ts +263 -0
- package/dist/presentation/forms/select/Select.vue.d.ts +69 -0
- package/dist/presentation/forms/select/SelectContent.vue.d.ts +44 -0
- package/dist/presentation/forms/select/SelectContext.d.ts +76 -0
- package/dist/presentation/forms/select/SelectItem.vue.d.ts +33 -0
- package/dist/presentation/forms/select/SelectTrigger.vue.d.ts +21 -0
- package/dist/presentation/forms/select/SelectValue.vue.d.ts +22 -0
- package/dist/presentation/forms/select/index.d.ts +7 -0
- package/dist/presentation/forms/slider/Slider.vue.d.ts +38 -0
- package/dist/presentation/forms/slider/index.d.ts +1 -0
- package/dist/presentation/forms/stepper/Stepper.vue.d.ts +34 -0
- package/dist/presentation/forms/stepper/StepperContext.d.ts +44 -0
- package/dist/presentation/forms/stepper/StepperList.vue.d.ts +256 -0
- package/dist/presentation/forms/stepper/StepperPanel.vue.d.ts +16 -0
- package/dist/presentation/forms/stepper/StepperStep.vue.d.ts +23 -0
- package/dist/presentation/forms/stepper/index.d.ts +5 -0
- package/dist/presentation/forms/switch/Switch.vue.d.ts +35 -0
- package/dist/presentation/forms/switch/index.d.ts +1 -0
- package/dist/presentation/forms/switchField/SwitchField.vue.d.ts +33 -0
- package/dist/presentation/forms/switchField/index.d.ts +1 -0
- package/dist/presentation/forms/tagsInput/TagsInput.vue.d.ts +75 -0
- package/dist/presentation/forms/tagsInput/index.d.ts +1 -0
- package/dist/presentation/forms/telInput/TelInput.vue.d.ts +43 -0
- package/dist/presentation/forms/telInput/index.d.ts +1 -0
- package/dist/presentation/forms/textAreaInput/TextAreaInput.vue.d.ts +46 -0
- package/dist/presentation/forms/textAreaInput/index.d.ts +1 -0
- package/dist/presentation/forms/textInput/TextInput.vue.d.ts +43 -0
- package/dist/presentation/forms/textInput/index.d.ts +1 -0
- package/dist/presentation/forms/timeField/TimeField.vue.d.ts +38 -0
- package/dist/presentation/forms/timeField/index.d.ts +1 -0
- package/dist/presentation/forms/timePicker/TimePicker.vue.d.ts +50 -0
- package/dist/presentation/forms/timePicker/index.d.ts +1 -0
- package/dist/presentation/forms/urlInput/UrlInput.vue.d.ts +43 -0
- package/dist/presentation/forms/urlInput/index.d.ts +1 -0
- package/dist/presentation/forms/wizard/Wizard.vue.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardContext.d.ts +38 -0
- package/dist/presentation/forms/wizard/WizardFooter.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardStep.vue.d.ts +29 -0
- package/dist/presentation/forms/wizard/WizardSteps.vue.d.ts +7 -0
- package/dist/presentation/forms/wizard/index.d.ts +6 -0
- package/dist/presentation/layout/appShell/AppShell.vue.d.ts +90 -0
- package/dist/presentation/layout/appShell/AppShellAside.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellContent.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellFooter.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellHeader.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellMain.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/AppShellSidebar.vue.d.ts +20 -0
- package/dist/presentation/layout/appShell/index.d.ts +7 -0
- package/dist/presentation/layout/aspectRatio/AspectRatio.vue.d.ts +18 -0
- package/dist/presentation/layout/aspectRatio/index.d.ts +1 -0
- package/dist/presentation/layout/box/Box.vue.d.ts +19 -0
- package/dist/presentation/layout/box/index.d.ts +1 -0
- package/dist/presentation/layout/center/Center.vue.d.ts +13 -0
- package/dist/presentation/layout/center/index.d.ts +1 -0
- package/dist/presentation/layout/cluster/Cluster.vue.d.ts +22 -0
- package/dist/presentation/layout/cluster/index.d.ts +1 -0
- package/dist/presentation/layout/container/Container.variants.d.ts +84 -0
- package/dist/presentation/layout/container/Container.vue.d.ts +21 -0
- package/dist/presentation/layout/container/index.d.ts +2 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.variants.d.ts +136 -0
- package/dist/presentation/layout/controlGroup/ControlGroup.vue.d.ts +35 -0
- package/dist/presentation/layout/controlGroup/index.d.ts +2 -0
- package/dist/presentation/layout/divider/Divider.variants.d.ts +47 -0
- package/dist/presentation/layout/divider/Divider.vue.d.ts +38 -0
- package/dist/presentation/layout/divider/index.d.ts +2 -0
- package/dist/presentation/layout/flex/Flex.vue.d.ts +18 -0
- package/dist/presentation/layout/flex/index.d.ts +1 -0
- package/dist/presentation/layout/frame/Frame.vue.d.ts +38 -0
- package/dist/presentation/layout/frame/index.d.ts +1 -0
- package/dist/presentation/layout/grid/Grid.variants.d.ts +193 -0
- package/dist/presentation/layout/grid/Grid.vue.d.ts +32 -0
- package/dist/presentation/layout/grid/index.d.ts +2 -0
- package/dist/presentation/layout/hStack/HStack.vue.d.ts +14 -0
- package/dist/presentation/layout/hStack/index.d.ts +1 -0
- package/dist/presentation/layout/index.d.ts +24 -0
- package/dist/presentation/layout/index.js +64 -0
- package/dist/presentation/layout/index.js.map +1 -0
- package/dist/presentation/layout/inline/Inline.vue.d.ts +42 -0
- package/dist/presentation/layout/inline/index.d.ts +1 -0
- package/dist/presentation/layout/navbar/Navbar.variants.d.ts +86 -0
- package/dist/presentation/layout/navbar/Navbar.vue.d.ts +43 -0
- package/dist/presentation/layout/navbar/index.d.ts +2 -0
- package/dist/presentation/layout/overlay/Overlay.variants.d.ts +231 -0
- package/dist/presentation/layout/overlay/Overlay.vue.d.ts +64 -0
- package/dist/presentation/layout/overlay/index.d.ts +2 -0
- package/dist/presentation/layout/pullToRefresh/PullToRefresh.vue.d.ts +22 -0
- package/dist/presentation/layout/pullToRefresh/index.d.ts +1 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanel.vue.d.ts +21 -0
- package/dist/presentation/layout/resizablePanels/ResizablePanels.vue.d.ts +59 -0
- package/dist/presentation/layout/resizablePanels/ResizableSeparator.vue.d.ts +10 -0
- package/dist/presentation/layout/resizablePanels/index.d.ts +4 -0
- package/dist/presentation/layout/scrollArea/ScrollArea.vue.d.ts +31 -0
- package/dist/presentation/layout/scrollArea/index.d.ts +1 -0
- package/dist/presentation/layout/section/Section.variants.d.ts +76 -0
- package/dist/presentation/layout/section/Section.vue.d.ts +33 -0
- package/dist/presentation/layout/section/index.d.ts +2 -0
- package/dist/presentation/layout/spacer/Spacer.vue.d.ts +15 -0
- package/dist/presentation/layout/spacer/index.d.ts +1 -0
- package/dist/presentation/layout/stack/Stack.variants.d.ts +330 -0
- package/dist/presentation/layout/stack/Stack.vue.d.ts +37 -0
- package/dist/presentation/layout/stack/index.d.ts +2 -0
- package/dist/presentation/layout/surface/Surface.vue.d.ts +39 -0
- package/dist/presentation/layout/surface/index.d.ts +1 -0
- package/dist/presentation/layout/twoColumn/TwoColumn.vue.d.ts +28 -0
- package/dist/presentation/layout/twoColumn/index.d.ts +1 -0
- package/dist/presentation/layout/vStack/VStack.vue.d.ts +14 -0
- package/dist/presentation/layout/vStack/index.d.ts +1 -0
- package/dist/presentation/nav/NavHelpers.d.ts +11 -0
- package/dist/presentation/nav/breadcrumb/Breadcrumb.vue.d.ts +27 -0
- package/dist/presentation/nav/breadcrumb/index.d.ts +1 -0
- package/dist/presentation/nav/commandPalette/CommandPalette.vue.d.ts +53 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContent.vue.d.ts +17 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteContext.d.ts +42 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteEmpty.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteInput.vue.d.ts +14 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteItem.vue.d.ts +36 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteList.vue.d.ts +19 -0
- package/dist/presentation/nav/commandPalette/CommandPaletteSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/commandPalette/index.d.ts +9 -0
- package/dist/presentation/nav/contextMenu/ContextMenu.vue.d.ts +18 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContent.vue.d.ts +29 -0
- package/dist/presentation/nav/contextMenu/ContextMenuContext.d.ts +20 -0
- package/dist/presentation/nav/contextMenu/ContextMenuTrigger.vue.d.ts +27 -0
- package/dist/presentation/nav/contextMenu/index.d.ts +4 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenu.vue.d.ts +44 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuContext.d.ts +28 -0
- package/dist/presentation/nav/dropdownMenu/DropdownMenuTrigger.vue.d.ts +24 -0
- package/dist/presentation/nav/dropdownMenu/index.d.ts +4 -0
- package/dist/presentation/nav/index.d.ts +11 -0
- package/dist/presentation/nav/index.js +62 -0
- package/dist/presentation/nav/index.js.map +1 -0
- package/dist/presentation/nav/menu/Menu.variants.d.ts +61 -0
- package/dist/presentation/nav/menu/Menu.vue.d.ts +65 -0
- package/dist/presentation/nav/menu/MenuContext.d.ts +25 -0
- package/dist/presentation/nav/menu/MenuGroup.vue.d.ts +19 -0
- package/dist/presentation/nav/menu/MenuItem.vue.d.ts +33 -0
- package/dist/presentation/nav/menu/MenuLabel.vue.d.ts +20 -0
- package/dist/presentation/nav/menu/MenuSeparator.vue.d.ts +12 -0
- package/dist/presentation/nav/menu/index.d.ts +7 -0
- package/dist/presentation/nav/menubar/Menubar.variants.d.ts +6 -0
- package/dist/presentation/nav/menubar/Menubar.vue.d.ts +274 -0
- package/dist/presentation/nav/menubar/MenubarContent.vue.d.ts +30 -0
- package/dist/presentation/nav/menubar/MenubarContext.d.ts +34 -0
- package/dist/presentation/nav/menubar/MenubarMenu.vue.d.ts +14 -0
- package/dist/presentation/nav/menubar/MenubarTrigger.vue.d.ts +20 -0
- package/dist/presentation/nav/menubar/index.d.ts +5 -0
- package/dist/presentation/nav/navItem/NavItem.vue.d.ts +30 -0
- package/dist/presentation/nav/navItem/index.d.ts +1 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenu.vue.d.ts +33 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContent.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuContext.d.ts +24 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuItem.vue.d.ts +16 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuLink.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuList.vue.d.ts +262 -0
- package/dist/presentation/nav/navigationMenu/NavigationMenuTrigger.vue.d.ts +20 -0
- package/dist/presentation/nav/navigationMenu/index.d.ts +7 -0
- package/dist/presentation/nav/pagination/Pagination.vue.d.ts +24 -0
- package/dist/presentation/nav/pagination/index.d.ts +1 -0
- package/dist/presentation/nav/scrollSpy/ScrollSpy.vue.d.ts +31 -0
- package/dist/presentation/nav/scrollSpy/UseScrollSpy.d.ts +20 -0
- package/dist/presentation/nav/scrollSpy/index.d.ts +2 -0
- package/dist/presentation/nav/tableOfContents/TableOfContents.vue.d.ts +41 -0
- package/dist/presentation/nav/tableOfContents/index.d.ts +1 -0
- package/dist/presentation/overlays/OverlayBody.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayChrome.d.ts +9 -0
- package/dist/presentation/overlays/OverlayCloseButton.vue.d.ts +24 -0
- package/dist/presentation/overlays/OverlayDescription.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayFooter.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHeader.vue.d.ts +20 -0
- package/dist/presentation/overlays/OverlayHelpers.d.ts +11 -0
- package/dist/presentation/overlays/OverlayTitle.vue.d.ts +20 -0
- package/dist/presentation/overlays/actionSheet/ActionSheet.vue.d.ts +52 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetAction.vue.d.ts +29 -0
- package/dist/presentation/overlays/actionSheet/ActionSheetCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/actionSheet/index.d.ts +4 -0
- package/dist/presentation/overlays/alertModal/AlertModal.vue.d.ts +28 -0
- package/dist/presentation/overlays/alertModal/AlertModalAction.vue.d.ts +24 -0
- package/dist/presentation/overlays/alertModal/AlertModalCancel.vue.d.ts +19 -0
- package/dist/presentation/overlays/alertModal/AlertModalContent.vue.d.ts +15 -0
- package/dist/presentation/overlays/alertModal/index.d.ts +12 -0
- package/dist/presentation/overlays/backdrop/Backdrop.vue.d.ts +40 -0
- package/dist/presentation/overlays/backdrop/index.d.ts +1 -0
- package/dist/presentation/overlays/bottomSheet/BottomSheet.vue.d.ts +79 -0
- package/dist/presentation/overlays/bottomSheet/index.d.ts +3 -0
- package/dist/presentation/overlays/drawer/Drawer.vue.d.ts +68 -0
- package/dist/presentation/overlays/drawer/DrawerContent.vue.d.ts +54 -0
- package/dist/presentation/overlays/drawer/DrawerTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/drawer/index.d.ts +9 -0
- package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +68 -0
- package/dist/presentation/overlays/hoverCard/HoverCardArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/hoverCard/HoverCardContent.vue.d.ts +20 -0
- package/dist/presentation/overlays/hoverCard/HoverCardTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/hoverCard/index.d.ts +4 -0
- package/dist/presentation/overlays/index.d.ts +8 -0
- package/dist/presentation/overlays/index.js +62 -0
- package/dist/presentation/overlays/index.js.map +1 -0
- package/dist/presentation/overlays/modal/Modal.vue.d.ts +75 -0
- package/dist/presentation/overlays/modal/ModalContent.vue.d.ts +38 -0
- package/dist/presentation/overlays/modal/ModalTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/modal/index.d.ts +22 -0
- package/dist/presentation/overlays/popover/Popover.vue.d.ts +70 -0
- package/dist/presentation/overlays/popover/PopoverArrow.vue.d.ts +10 -0
- package/dist/presentation/overlays/popover/PopoverContent.vue.d.ts +34 -0
- package/dist/presentation/overlays/popover/PopoverTrigger.vue.d.ts +24 -0
- package/dist/presentation/overlays/popover/index.d.ts +4 -0
- package/dist/query/CreateQueryClient.d.ts +19 -0
- package/dist/query/Devtools.vue.d.ts +10 -0
- package/dist/query/Endpoints.d.ts +14 -0
- package/dist/query/PageHelpers.d.ts +10 -0
- package/dist/query/Persistence.d.ts +40 -0
- package/dist/query/QueryPlugin.d.ts +14 -0
- package/dist/query/QueryProgressBridge.d.ts +16 -0
- package/dist/query/QueryProvider.vue.d.ts +17 -0
- package/dist/query/QueryTestUtils.d.ts +54 -0
- package/dist/query/ToApiError.d.ts +7 -0
- package/dist/query/UseAppInfiniteQuery.d.ts +45 -0
- package/dist/query/UseAppLazyQuery.d.ts +40 -0
- package/dist/query/UseAppMutation.d.ts +32 -0
- package/dist/query/UseAppPaginatedQuery.d.ts +39 -0
- package/dist/query/UseAppQueries.d.ts +43 -0
- package/dist/query/UseAppQuery.d.ts +38 -0
- package/dist/query/UseAppSuspenseQuery.d.ts +42 -0
- package/dist/query/UseOptimisticMutation.d.ts +25 -0
- package/dist/query/UsePrefetchQuery.d.ts +26 -0
- package/dist/query/UseQueryCache.d.ts +31 -0
- package/dist/query/index.d.ts +19 -0
- package/dist/query/index.js +461 -0
- package/dist/query/index.js.map +1 -0
- package/dist/query/testing.d.ts +1 -0
- package/dist/query/testing.js +48 -0
- package/dist/query/testing.js.map +1 -0
- package/dist/router/AppErrorBoundary.vue.d.ts +26 -0
- package/dist/router/AppNavLink.vue.d.ts +40 -0
- package/dist/router/CreateAppRouter.d.ts +65 -0
- package/dist/router/DocumentMeta.d.ts +9 -0
- package/dist/router/DocumentTitle.d.ts +18 -0
- package/dist/router/Guards.d.ts +29 -0
- package/dist/router/LazyRoute.d.ts +16 -0
- package/dist/router/NavigationProgress.vue.d.ts +19 -0
- package/dist/router/NavigationProgressModes.d.ts +18 -0
- package/dist/router/NotFound.vue.d.ts +10 -0
- package/dist/router/PageViewTracker.d.ts +23 -0
- package/dist/router/Paths.d.ts +18 -0
- package/dist/router/ProgressProvider.vue.d.ts +19 -0
- package/dist/router/RouteAnnouncer.vue.d.ts +10 -0
- package/dist/router/RouteConfig.d.ts +82 -0
- package/dist/router/RouteHandles.d.ts +24 -0
- package/dist/router/RoutePersistence.d.ts +21 -0
- package/dist/router/UseBreadcrumbs.d.ts +17 -0
- package/dist/router/UseNavigationBlocker.d.ts +41 -0
- package/dist/router/UseNavigationProgress.d.ts +32 -0
- package/dist/router/UsePrefetch.d.ts +19 -0
- package/dist/router/UseRouteNavigating.d.ts +15 -0
- package/dist/router/UseTypedSearchParams.d.ts +17 -0
- package/dist/router/index.d.ts +23 -0
- package/dist/router/index.js +711 -0
- package/dist/router/index.js.map +1 -0
- package/dist/themes.css +15374 -0
- package/dist/themes.json +2898 -0
- package/package.json +432 -0
|
@@ -0,0 +1,943 @@
|
|
|
1
|
+
import { defineComponent, useAttrs, useSlots, computed, watchEffect, normalizeStyle, getCurrentInstance, onBeforeUnmount, useTemplateRef, openBlock, createBlock, unref, mergeProps, withCtx, renderSlot, createElementBlock, Fragment, toDisplayString, createCommentVNode, createElementVNode, inject, provide } from "vue";
|
|
2
|
+
import { O as Orientation } from "./Orientation-u-sYunuG.js";
|
|
3
|
+
import { u as useControlled } from "./useControlled-B6M4kTLn.js";
|
|
4
|
+
import { c as cn } from "./cn-CzDCF-Ah.js";
|
|
5
|
+
import { u as useFormControl } from "./FormControlContext-B71MFW26.js";
|
|
6
|
+
import { _ as _sfc_main$6 } from "./Spinner.vue_vue_type_script_setup_true_lang-BAepBy2n.js";
|
|
7
|
+
import { T as Tones } from "./Tones-CI65uuq9.js";
|
|
8
|
+
import { tv } from "tailwind-variants";
|
|
9
|
+
import { P as PressExtensions } from "./PressExtensions-DXqhjlR2.js";
|
|
10
|
+
import { B as ButtonType, H as HtmlElement } from "./HtmlExtensions-jlKY5f9C.js";
|
|
11
|
+
import { I as IS_DEV, C as ColorExtensions, O as OptionalExtensions, a as ColorTone } from "./Environment-CuQav_mw.js";
|
|
12
|
+
import { C as CssExtensions } from "./CssExtensions-BzLJG57F.js";
|
|
13
|
+
import { c as composeEventHandlers } from "./Side-CSys3p-F.js";
|
|
14
|
+
import { P as Primitive } from "./Primitive-Cm3ECaVw.js";
|
|
15
|
+
import { u as useDebounceHandler } from "./useDebounceHandler-BIZgvvGp.js";
|
|
16
|
+
import { K as Key } from "./KeyboardExtensions-CQlkK53D.js";
|
|
17
|
+
const ButtonVariant = {
|
|
18
|
+
/** Refers to an opaque, filled surface. */
|
|
19
|
+
Solid: "solid",
|
|
20
|
+
/** Refers to a muted/tinted fill. */
|
|
21
|
+
Soft: "soft",
|
|
22
|
+
/** Refers to a subtle tinted fill + tone-colored border. */
|
|
23
|
+
Surface: "surface",
|
|
24
|
+
/** Refers to a transparent fill + tone border. */
|
|
25
|
+
Outline: "outline",
|
|
26
|
+
/** Refers to a borderless, transparent-at-rest button. */
|
|
27
|
+
Ghost: "ghost",
|
|
28
|
+
/** Refers to a borderless button that reveals a bordered chip on hover/focus. */
|
|
29
|
+
Reveal: "reveal",
|
|
30
|
+
/** Refers to an inline text link. */
|
|
31
|
+
Link: "link",
|
|
32
|
+
/** Refers to a translucent glass wash + blur. */
|
|
33
|
+
Glass: "glass",
|
|
34
|
+
/** Refers to a glass surface with a hairline border. */
|
|
35
|
+
GlassSurface: "glass-surface"
|
|
36
|
+
};
|
|
37
|
+
const ButtonShape = {
|
|
38
|
+
/** Refers to the default (text-width) shape. */
|
|
39
|
+
Default: "default",
|
|
40
|
+
/** Refers to a square (1:1) icon shape. */
|
|
41
|
+
Square: "square",
|
|
42
|
+
/** Refers to a circular icon shape. */
|
|
43
|
+
Circle: "circle"
|
|
44
|
+
};
|
|
45
|
+
const buttonVariants = tv({
|
|
46
|
+
base: [
|
|
47
|
+
// layout
|
|
48
|
+
"group inline-flex items-center justify-center gap-2",
|
|
49
|
+
// typography
|
|
50
|
+
"font-medium align-middle",
|
|
51
|
+
// borders (forced-colors fallback)
|
|
52
|
+
"border border-transparent",
|
|
53
|
+
"forced-colors:border-[ButtonBorder]",
|
|
54
|
+
// transitions (color only)
|
|
55
|
+
"transition-colors duration-150 ease-out",
|
|
56
|
+
"motion-reduce:transition-none",
|
|
57
|
+
// focus
|
|
58
|
+
"outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
59
|
+
// disabled (native attr handles click-blocking; pointer-events-none would
|
|
60
|
+
// suppress the cursor visual, so we don't add it here)
|
|
61
|
+
"disabled:opacity-50 disabled:cursor-not-allowed",
|
|
62
|
+
// skeleton state — wins over everything
|
|
63
|
+
"data-[state=skeleton]:!bg-muted data-[state=skeleton]:!text-transparent data-[state=skeleton]:!border-transparent data-[state=skeleton]:!cursor-default data-[state=skeleton]:!pointer-events-none data-[state=skeleton]:animate-pulse",
|
|
64
|
+
"data-[state=skeleton]:[&>*]:!invisible"
|
|
65
|
+
],
|
|
66
|
+
variants: {
|
|
67
|
+
variant: {
|
|
68
|
+
solid: "",
|
|
69
|
+
soft: "",
|
|
70
|
+
surface: "",
|
|
71
|
+
outline: "bg-transparent",
|
|
72
|
+
ghost: "bg-transparent",
|
|
73
|
+
// Borderless + transparent at rest; on hover / focus-visible a bordered chip is
|
|
74
|
+
// revealed (border + bg + foreground text). Per-tone reveal target set via
|
|
75
|
+
// compoundVariants below. Pairs with `hoverSlot` for the icon-swap affordance.
|
|
76
|
+
reveal: "bg-transparent border-transparent",
|
|
77
|
+
link: "bg-transparent !h-auto !p-0 !rounded-none underline-offset-4 hover:underline focus-visible:ring-offset-0",
|
|
78
|
+
// Base = neutral/default tone: dark image-overlay wash + blur. Non-neutral tones resolve
|
|
79
|
+
// through the shared `Tones.glass` palette via compoundVariants below (so tone + color
|
|
80
|
+
// overrides apply). `backdrop-blur-md` stays here for every tone.
|
|
81
|
+
glass: "backdrop-blur-md",
|
|
82
|
+
"glass-surface": "backdrop-blur-md border-white/10"
|
|
83
|
+
},
|
|
84
|
+
tone: {
|
|
85
|
+
primary: "",
|
|
86
|
+
neutral: "",
|
|
87
|
+
danger: "",
|
|
88
|
+
success: "",
|
|
89
|
+
warning: ""
|
|
90
|
+
},
|
|
91
|
+
size: {
|
|
92
|
+
// min-h/min-w floor keeps the hit-target ≥ 24×24 (WCAG 2.2 SC 2.5.8) even when
|
|
93
|
+
// --ui-density-scale < 1 would otherwise shrink it below the floor. Applies to
|
|
94
|
+
// square/circle xs too (the min-h sets the box height; min-w the width).
|
|
95
|
+
xs: "h-[calc(1.5rem*var(--ui-density-scale,1))] min-h-6 min-w-6 px-[calc(0.5rem*var(--ui-density-scale,1))] text-xs rounded-sm gap-1",
|
|
96
|
+
sm: "h-[calc(2rem*var(--ui-density-scale,1))] px-[calc(0.75rem*var(--ui-density-scale,1))] text-sm rounded-md gap-1.5",
|
|
97
|
+
md: "h-[calc(2.5rem*var(--ui-density-scale,1))] px-[calc(1rem*var(--ui-density-scale,1))] text-sm rounded-md gap-2",
|
|
98
|
+
lg: "h-[calc(3rem*var(--ui-density-scale,1))] px-[calc(1.5rem*var(--ui-density-scale,1))] text-base rounded-lg gap-2",
|
|
99
|
+
xl: "h-[calc(3.5rem*var(--ui-density-scale,1))] px-[calc(2rem*var(--ui-density-scale,1))] text-base rounded-lg gap-2.5"
|
|
100
|
+
},
|
|
101
|
+
shape: {
|
|
102
|
+
default: "",
|
|
103
|
+
square: "aspect-square !px-0",
|
|
104
|
+
circle: "aspect-square !px-0 !rounded-full"
|
|
105
|
+
},
|
|
106
|
+
fullWidth: {
|
|
107
|
+
true: "w-full",
|
|
108
|
+
false: ""
|
|
109
|
+
},
|
|
110
|
+
wrap: {
|
|
111
|
+
true: "whitespace-normal text-left",
|
|
112
|
+
false: "whitespace-nowrap text-ellipsis overflow-hidden"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
compoundVariants: [
|
|
116
|
+
// === SOLID × tone ===
|
|
117
|
+
{ variant: "solid", tone: "primary", class: "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/95" },
|
|
118
|
+
{ variant: "solid", tone: "neutral", class: "bg-muted text-foreground hover:bg-muted/80 active:bg-muted/85" },
|
|
119
|
+
{ variant: "solid", tone: "danger", class: "bg-destructive text-destructive-foreground hover:bg-destructive/90 active:bg-destructive/95" },
|
|
120
|
+
{ variant: "solid", tone: "success", class: "bg-success text-success-foreground hover:bg-success/90 active:bg-success/95" },
|
|
121
|
+
{ variant: "solid", tone: "warning", class: "bg-warning text-warning-foreground hover:bg-warning/90 active:bg-warning/95" },
|
|
122
|
+
// === SOFT × tone ===
|
|
123
|
+
{ variant: "soft", tone: "primary", class: "bg-primary-soft text-primary-soft-foreground hover:bg-primary-soft/80 active:bg-primary-soft/85" },
|
|
124
|
+
{ variant: "soft", tone: "neutral", class: "bg-muted/60 text-foreground hover:bg-muted/80 active:bg-muted/85" },
|
|
125
|
+
{ variant: "soft", tone: "danger", class: "bg-destructive-soft text-destructive-soft-foreground hover:bg-destructive-soft/80 active:bg-destructive-soft/85" },
|
|
126
|
+
{ variant: "soft", tone: "success", class: "bg-success-soft text-success-soft-foreground hover:bg-success-soft/80 active:bg-success-soft/85" },
|
|
127
|
+
{ variant: "soft", tone: "warning", class: "bg-warning-soft text-warning-soft-foreground hover:bg-warning-soft/80 active:bg-warning-soft/85" },
|
|
128
|
+
// === SURFACE × tone (subtle tinted bg + visible tone-colored border) ===
|
|
129
|
+
{ variant: "surface", tone: "primary", class: "bg-primary/5 border-primary/40 text-primary hover:bg-primary/10 active:bg-primary/15" },
|
|
130
|
+
{ variant: "surface", tone: "neutral", class: "bg-muted/30 border-border-strong text-foreground hover:bg-muted/50 active:bg-muted/70" },
|
|
131
|
+
{ variant: "surface", tone: "danger", class: "bg-destructive/5 border-destructive/40 text-destructive hover:bg-destructive/10 active:bg-destructive/15" },
|
|
132
|
+
{ variant: "surface", tone: "success", class: "bg-success/5 border-success/40 text-success hover:bg-success/10 active:bg-success/15" },
|
|
133
|
+
{ variant: "surface", tone: "warning", class: "bg-warning/10 border-warning/40 text-warning hover:bg-warning/15 active:bg-warning/20" },
|
|
134
|
+
// === OUTLINE × tone ===
|
|
135
|
+
{ variant: "outline", tone: "primary", class: "border-primary/50 text-primary hover:bg-primary/10 active:bg-primary/15" },
|
|
136
|
+
{ variant: "outline", tone: "neutral", class: "border-border-strong text-foreground hover:bg-muted/50 active:bg-muted/70" },
|
|
137
|
+
{ variant: "outline", tone: "danger", class: "border-destructive/50 text-destructive hover:bg-destructive/10 active:bg-destructive/15" },
|
|
138
|
+
{ variant: "outline", tone: "success", class: "border-success/50 text-success hover:bg-success/10 active:bg-success/15" },
|
|
139
|
+
{ variant: "outline", tone: "warning", class: "border-warning/60 text-warning hover:bg-warning/10 active:bg-warning/15" },
|
|
140
|
+
// === GHOST × tone ===
|
|
141
|
+
{ variant: "ghost", tone: "primary", class: "text-primary hover:bg-primary/10 active:bg-primary/15" },
|
|
142
|
+
{ variant: "ghost", tone: "neutral", class: "text-foreground hover:bg-foreground/10 active:bg-foreground/15" },
|
|
143
|
+
{ variant: "ghost", tone: "danger", class: "text-destructive hover:bg-destructive/10 active:bg-destructive/15" },
|
|
144
|
+
{ variant: "ghost", tone: "success", class: "text-success hover:bg-success/10 active:bg-success/15" },
|
|
145
|
+
{ variant: "ghost", tone: "warning", class: "text-warning hover:bg-warning/10 active:bg-warning/15" },
|
|
146
|
+
// === REVEAL × tone (idle: muted transparent · hover/focus-visible: bordered chip revealed) ===
|
|
147
|
+
// Idle text sits at reduced emphasis (muted-foreground / tone-tinted); hover & focus-visible
|
|
148
|
+
// resolve the border + a surface background + full-emphasis foreground so a bordered chip
|
|
149
|
+
// "appears". neutral is the common case (borderless icon affordance).
|
|
150
|
+
{ variant: "reveal", tone: "primary", class: "text-primary/70 hover:border-border hover:bg-background hover:text-primary focus-visible:border-border focus-visible:bg-background focus-visible:text-primary active:bg-muted/70" },
|
|
151
|
+
{ variant: "reveal", tone: "neutral", class: "text-muted-foreground hover:border-border hover:bg-background hover:text-foreground focus-visible:border-border focus-visible:bg-background focus-visible:text-foreground active:bg-muted/70" },
|
|
152
|
+
{ variant: "reveal", tone: "danger", class: "text-destructive/70 hover:border-border hover:bg-background hover:text-destructive focus-visible:border-border focus-visible:bg-background focus-visible:text-destructive active:bg-muted/70" },
|
|
153
|
+
{ variant: "reveal", tone: "success", class: "text-success/70 hover:border-border hover:bg-background hover:text-success focus-visible:border-border focus-visible:bg-background focus-visible:text-success active:bg-muted/70" },
|
|
154
|
+
{ variant: "reveal", tone: "warning", class: "text-warning/70 hover:border-border hover:bg-background hover:text-warning focus-visible:border-border focus-visible:bg-background focus-visible:text-warning active:bg-muted/70" },
|
|
155
|
+
// === LINK × tone (h/padding/radius cleared by variant) ===
|
|
156
|
+
{ variant: "link", tone: "primary", class: "text-primary" },
|
|
157
|
+
{ variant: "link", tone: "neutral", class: "text-foreground" },
|
|
158
|
+
{ variant: "link", tone: "danger", class: "text-destructive" },
|
|
159
|
+
{ variant: "link", tone: "success", class: "text-success" },
|
|
160
|
+
{ variant: "link", tone: "warning", class: "text-warning" },
|
|
161
|
+
// === GLASS / GLASS-SURFACE × tone ===
|
|
162
|
+
// neutral = the image-overlay default: fixed dark wash + light text (reads over any imagery).
|
|
163
|
+
{ variant: ["glass", "glass-surface"], tone: "neutral", class: "bg-black/45 text-white/70 hover:bg-black/65 hover:text-white active:bg-black/75" },
|
|
164
|
+
// Every other tone resolves through the shared `Tones.glass` palette (`bg-{tone}/30 text-{tone}-foreground`)
|
|
165
|
+
// so `tone="success"` etc. AND per-instance `color` overrides actually apply, plus a tone-matched hover/active wash.
|
|
166
|
+
{ variant: ["glass", "glass-surface"], tone: "primary", class: `${Tones.glass.primary} hover:bg-primary/45 active:bg-primary/55` },
|
|
167
|
+
{ variant: ["glass", "glass-surface"], tone: "danger", class: `${Tones.glass.danger} hover:bg-destructive/45 active:bg-destructive/55` },
|
|
168
|
+
{ variant: ["glass", "glass-surface"], tone: "success", class: `${Tones.glass.success} hover:bg-success/45 active:bg-success/55` },
|
|
169
|
+
{ variant: ["glass", "glass-surface"], tone: "warning", class: `${Tones.glass.warning} hover:bg-warning/45 active:bg-warning/55` },
|
|
170
|
+
// glass-surface non-neutral tones swap the white hairline for a tone-accent border (50% alpha).
|
|
171
|
+
{ variant: "glass-surface", tone: "primary", class: "border-primary/50" },
|
|
172
|
+
{ variant: "glass-surface", tone: "danger", class: "border-destructive/50" },
|
|
173
|
+
{ variant: "glass-surface", tone: "success", class: "border-success/50" },
|
|
174
|
+
{ variant: "glass-surface", tone: "warning", class: "border-warning/50" }
|
|
175
|
+
],
|
|
176
|
+
defaultVariants: {
|
|
177
|
+
variant: "solid",
|
|
178
|
+
tone: "primary",
|
|
179
|
+
size: "md",
|
|
180
|
+
shape: "default",
|
|
181
|
+
fullWidth: false,
|
|
182
|
+
wrap: false
|
|
183
|
+
}
|
|
184
|
+
});
|
|
185
|
+
const _hoisted_1$1 = { key: 0 };
|
|
186
|
+
const _hoisted_2 = {
|
|
187
|
+
key: 1,
|
|
188
|
+
class: "sr-only"
|
|
189
|
+
};
|
|
190
|
+
const _hoisted_3 = { class: "relative inline-flex items-center justify-center" };
|
|
191
|
+
const _hoisted_4 = { class: "inline-flex items-center justify-center group-hover:invisible group-focus-visible:invisible" };
|
|
192
|
+
const _hoisted_5 = {
|
|
193
|
+
"aria-hidden": "true",
|
|
194
|
+
class: "invisible absolute inset-0 inline-flex items-center justify-center group-hover:visible group-focus-visible:visible"
|
|
195
|
+
};
|
|
196
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
197
|
+
...{ name: "Button", inheritAttrs: false },
|
|
198
|
+
__name: "Button",
|
|
199
|
+
props: {
|
|
200
|
+
variant: {},
|
|
201
|
+
tone: {},
|
|
202
|
+
shape: {},
|
|
203
|
+
size: {},
|
|
204
|
+
color: {},
|
|
205
|
+
leadingSlot: { type: [Object, String, Number, Boolean, null, Array], default: void 0 },
|
|
206
|
+
trailingSlot: { type: [Object, String, Number, Boolean, null, Array], default: void 0 },
|
|
207
|
+
hoverSlot: { type: [Object, String, Number, Boolean, null, Array], default: void 0 },
|
|
208
|
+
loadingSlot: { type: [Object, String, Number, Boolean, null, Array], default: void 0 },
|
|
209
|
+
isLoading: { type: Boolean, default: void 0 },
|
|
210
|
+
loadingText: {},
|
|
211
|
+
isSkeleton: { type: Boolean, default: void 0 },
|
|
212
|
+
isDisabled: { type: Boolean, default: void 0 },
|
|
213
|
+
isFullWidth: { type: Boolean, default: void 0 },
|
|
214
|
+
isMultiline: { type: Boolean, default: void 0 },
|
|
215
|
+
asChild: { type: Boolean, default: false },
|
|
216
|
+
padding: {},
|
|
217
|
+
radius: {},
|
|
218
|
+
width: {},
|
|
219
|
+
height: {},
|
|
220
|
+
minWidth: {},
|
|
221
|
+
minHeight: {},
|
|
222
|
+
boxSize: {},
|
|
223
|
+
type: { default: ButtonType.Button },
|
|
224
|
+
longPressDelay: { default: PressExtensions.longPressDelay.default },
|
|
225
|
+
debounceMs: {}
|
|
226
|
+
},
|
|
227
|
+
emits: ["press-start", "press-end", "long-press"],
|
|
228
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
229
|
+
const COMPONENT_NAME = "Button";
|
|
230
|
+
const BUTTON_SIZE_PRESETS = /* @__PURE__ */ new Set([
|
|
231
|
+
"xs",
|
|
232
|
+
"sm",
|
|
233
|
+
"md",
|
|
234
|
+
"lg",
|
|
235
|
+
"xl"
|
|
236
|
+
]);
|
|
237
|
+
const ButtonDataState = {
|
|
238
|
+
Loading: "loading",
|
|
239
|
+
Skeleton: "skeleton",
|
|
240
|
+
Disabled: "disabled"
|
|
241
|
+
};
|
|
242
|
+
const props = __props;
|
|
243
|
+
const emit = __emit;
|
|
244
|
+
const attrs = useAttrs();
|
|
245
|
+
const slots = useSlots();
|
|
246
|
+
const nodeProp = (read) => defineComponent({ render: read });
|
|
247
|
+
const LeadingSlotProp = nodeProp(() => props.leadingSlot);
|
|
248
|
+
const TrailingSlotProp = nodeProp(() => props.trailingSlot);
|
|
249
|
+
const HoverSlotProp = nodeProp(() => props.hoverSlot);
|
|
250
|
+
const LoadingSlotProp = nodeProp(() => props.loadingSlot);
|
|
251
|
+
const formControl = useFormControl();
|
|
252
|
+
const resolvedDisabled = computed(() => props.isDisabled ?? formControl?.isDisabled ?? false);
|
|
253
|
+
const skeletonActive = computed(() => !!props.isSkeleton);
|
|
254
|
+
const loadingActive = computed(() => !skeletonActive.value && !!props.isLoading);
|
|
255
|
+
const isInactive = computed(
|
|
256
|
+
() => loadingActive.value || skeletonActive.value || resolvedDisabled.value
|
|
257
|
+
);
|
|
258
|
+
const dataState = computed(
|
|
259
|
+
() => skeletonActive.value ? ButtonDataState.Skeleton : loadingActive.value ? ButtonDataState.Loading : resolvedDisabled.value ? ButtonDataState.Disabled : void 0
|
|
260
|
+
);
|
|
261
|
+
const safeLongPressDelay = computed(
|
|
262
|
+
() => props.longPressDelay < PressExtensions.longPressDelay.min || props.longPressDelay > PressExtensions.longPressDelay.max ? PressExtensions.longPressDelay.default : props.longPressDelay
|
|
263
|
+
);
|
|
264
|
+
watchEffect(() => {
|
|
265
|
+
if (!IS_DEV) return;
|
|
266
|
+
if (props.isLoading && props.isSkeleton) {
|
|
267
|
+
console.warn(
|
|
268
|
+
`[${COMPONENT_NAME}] \`isLoading\` and \`isSkeleton\` are mutually exclusive — \`isSkeleton\` takes precedence.`
|
|
269
|
+
);
|
|
270
|
+
}
|
|
271
|
+
if (safeLongPressDelay.value !== props.longPressDelay) {
|
|
272
|
+
console.warn(
|
|
273
|
+
`[${COMPONENT_NAME}] longPressDelay=${props.longPressDelay}ms is outside reasonable range (${PressExtensions.longPressDelay.min}–${PressExtensions.longPressDelay.max}ms). Falling back to ${PressExtensions.longPressDelay.default}ms.`
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
if (slots.default === void 0 && attrs["aria-label"] === void 0 && attrs["aria-labelledby"] === void 0) {
|
|
277
|
+
console.warn(
|
|
278
|
+
`[${COMPONENT_NAME}] icon-only button (no text children) is missing an accessible name — pass \`aria-label\` or \`aria-labelledby\` (Button.standard.md rule 12).`
|
|
279
|
+
);
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
const parsedSize = computed(
|
|
283
|
+
() => CssExtensions.parseSizeUnion(props.size, BUTTON_SIZE_PRESETS)
|
|
284
|
+
);
|
|
285
|
+
const rootClass = computed(
|
|
286
|
+
() => cn(
|
|
287
|
+
buttonVariants({
|
|
288
|
+
variant: props.variant,
|
|
289
|
+
tone: props.tone,
|
|
290
|
+
size: parsedSize.value.preset,
|
|
291
|
+
shape: props.shape,
|
|
292
|
+
fullWidth: props.isFullWidth,
|
|
293
|
+
wrap: props.isMultiline
|
|
294
|
+
}),
|
|
295
|
+
attrs.class
|
|
296
|
+
)
|
|
297
|
+
);
|
|
298
|
+
const overrideStyle = computed(() => {
|
|
299
|
+
const padStyle = CssExtensions.resolvePadding(props.padding);
|
|
300
|
+
const radStyle = CssExtensions.resolveRadius(props.radius);
|
|
301
|
+
const composedBox = {
|
|
302
|
+
...parsedSize.value.box ?? {},
|
|
303
|
+
...props.width !== void 0 ? { width: props.width } : {},
|
|
304
|
+
...props.height !== void 0 ? { height: props.height } : {},
|
|
305
|
+
...props.minWidth !== void 0 ? { minWidth: props.minWidth } : {},
|
|
306
|
+
...props.minHeight !== void 0 ? { minHeight: props.minHeight } : {},
|
|
307
|
+
...props.boxSize !== void 0 ? { boxSize: props.boxSize } : {}
|
|
308
|
+
};
|
|
309
|
+
const boxStyle = CssExtensions.resolveBoxSize(composedBox);
|
|
310
|
+
const colorStyle = ColorExtensions.toneColorOverride(props.color, props.tone);
|
|
311
|
+
const consumerStyle = attrs.style;
|
|
312
|
+
if (!padStyle && !radStyle && !boxStyle && !colorStyle && !consumerStyle) return void 0;
|
|
313
|
+
return normalizeStyle([colorStyle, padStyle, radStyle, boxStyle, consumerStyle]);
|
|
314
|
+
});
|
|
315
|
+
let isPressing = false;
|
|
316
|
+
let longPressTimer;
|
|
317
|
+
let longPressFired = false;
|
|
318
|
+
const instance = getCurrentInstance();
|
|
319
|
+
function hasLongPressListener() {
|
|
320
|
+
return instance?.vnode.props?.onLongPress !== void 0;
|
|
321
|
+
}
|
|
322
|
+
onBeforeUnmount(() => {
|
|
323
|
+
if (longPressTimer !== void 0) clearTimeout(longPressTimer);
|
|
324
|
+
});
|
|
325
|
+
function cancelLongPress() {
|
|
326
|
+
if (longPressTimer !== void 0) {
|
|
327
|
+
clearTimeout(longPressTimer);
|
|
328
|
+
longPressTimer = void 0;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
function endPress(event) {
|
|
332
|
+
if (isPressing) {
|
|
333
|
+
isPressing = false;
|
|
334
|
+
emit("press-end", event);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
function handlePointerDown(event) {
|
|
338
|
+
if (isInactive.value) return;
|
|
339
|
+
cancelLongPress();
|
|
340
|
+
if (!isPressing) {
|
|
341
|
+
const pressEvent = event;
|
|
342
|
+
isPressing = true;
|
|
343
|
+
longPressFired = false;
|
|
344
|
+
emit("press-start", pressEvent);
|
|
345
|
+
if (hasLongPressListener()) {
|
|
346
|
+
longPressTimer = setTimeout(() => {
|
|
347
|
+
longPressFired = true;
|
|
348
|
+
emit("long-press", pressEvent);
|
|
349
|
+
longPressTimer = void 0;
|
|
350
|
+
}, safeLongPressDelay.value);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
function handlePointerUp(event) {
|
|
355
|
+
cancelLongPress();
|
|
356
|
+
endPress(event);
|
|
357
|
+
}
|
|
358
|
+
function handlePointerCancel(event) {
|
|
359
|
+
cancelLongPress();
|
|
360
|
+
endPress(event);
|
|
361
|
+
}
|
|
362
|
+
function handlePointerLeave() {
|
|
363
|
+
cancelLongPress();
|
|
364
|
+
}
|
|
365
|
+
const isActivationKey = (event) => event.key === Key.Space || event.key === Key.Enter;
|
|
366
|
+
function handleKeyDown(event) {
|
|
367
|
+
if (isInactive.value) return;
|
|
368
|
+
if (isActivationKey(event) && !event.repeat && !isPressing) {
|
|
369
|
+
isPressing = true;
|
|
370
|
+
longPressFired = false;
|
|
371
|
+
emit("press-start", event);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
function handleKeyUp(event) {
|
|
375
|
+
if (isActivationKey(event) && isPressing) {
|
|
376
|
+
isPressing = false;
|
|
377
|
+
emit("press-end", event);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
function toHandler(value) {
|
|
381
|
+
if (typeof value === "function") return value;
|
|
382
|
+
if (!Array.isArray(value)) return void 0;
|
|
383
|
+
const handlers = value.filter(
|
|
384
|
+
(entry) => typeof entry === "function"
|
|
385
|
+
);
|
|
386
|
+
if (handlers.length === 0) return void 0;
|
|
387
|
+
return (event) => {
|
|
388
|
+
for (const handler of handlers) handler(event);
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
const debouncedOnClick = useDebounceHandler(
|
|
392
|
+
(event) => toHandler(attrs.onClick)?.(event),
|
|
393
|
+
() => props.debounceMs
|
|
394
|
+
);
|
|
395
|
+
function handleClick(event) {
|
|
396
|
+
if (loadingActive.value || skeletonActive.value) {
|
|
397
|
+
event.preventDefault();
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
if (longPressFired) {
|
|
401
|
+
longPressFired = false;
|
|
402
|
+
event.preventDefault();
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
debouncedOnClick(event);
|
|
406
|
+
}
|
|
407
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set([
|
|
408
|
+
"class",
|
|
409
|
+
"style",
|
|
410
|
+
"onClick",
|
|
411
|
+
"onPointerdown",
|
|
412
|
+
"onPointerup",
|
|
413
|
+
"onPointercancel",
|
|
414
|
+
"onPointerleave",
|
|
415
|
+
"onKeydown",
|
|
416
|
+
"onKeyup"
|
|
417
|
+
]);
|
|
418
|
+
const passthroughAttrs = computed(
|
|
419
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
420
|
+
);
|
|
421
|
+
function consumerHandler(name) {
|
|
422
|
+
return toHandler(attrs[name]);
|
|
423
|
+
}
|
|
424
|
+
const rootProps = computed(() => ({
|
|
425
|
+
type: props.asChild ? void 0 : props.type,
|
|
426
|
+
class: rootClass.value,
|
|
427
|
+
style: overrideStyle.value,
|
|
428
|
+
disabled: OptionalExtensions.from(resolvedDisabled.value, true),
|
|
429
|
+
"aria-busy": OptionalExtensions.from(loadingActive.value || skeletonActive.value, true),
|
|
430
|
+
"aria-disabled": OptionalExtensions.from(loadingActive.value || skeletonActive.value, true),
|
|
431
|
+
tabindex: OptionalExtensions.from(skeletonActive.value, -1),
|
|
432
|
+
"data-state": dataState.value,
|
|
433
|
+
onClick: handleClick,
|
|
434
|
+
onPointerdown: composeEventHandlers(consumerHandler("onPointerdown"), handlePointerDown),
|
|
435
|
+
onPointerup: composeEventHandlers(consumerHandler("onPointerup"), handlePointerUp),
|
|
436
|
+
onPointercancel: composeEventHandlers(
|
|
437
|
+
consumerHandler("onPointercancel"),
|
|
438
|
+
handlePointerCancel
|
|
439
|
+
),
|
|
440
|
+
onPointerleave: composeEventHandlers(
|
|
441
|
+
consumerHandler("onPointerleave"),
|
|
442
|
+
handlePointerLeave
|
|
443
|
+
),
|
|
444
|
+
onKeydown: composeEventHandlers(consumerHandler("onKeydown"), handleKeyDown),
|
|
445
|
+
onKeyup: composeEventHandlers(consumerHandler("onKeyup"), handleKeyUp),
|
|
446
|
+
...passthroughAttrs.value
|
|
447
|
+
}));
|
|
448
|
+
const root = useTemplateRef("root");
|
|
449
|
+
const el = computed(() => {
|
|
450
|
+
const node = root.value?.$el;
|
|
451
|
+
return node instanceof HTMLElement ? node : null;
|
|
452
|
+
});
|
|
453
|
+
__expose({ el });
|
|
454
|
+
return (_ctx, _cache) => {
|
|
455
|
+
return openBlock(), createBlock(unref(Primitive), mergeProps({
|
|
456
|
+
ref_key: "root",
|
|
457
|
+
ref: root,
|
|
458
|
+
as: unref(HtmlElement).Button,
|
|
459
|
+
"as-child": __props.asChild
|
|
460
|
+
}, rootProps.value), {
|
|
461
|
+
default: withCtx(() => [
|
|
462
|
+
__props.asChild ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : loadingActive.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
463
|
+
renderSlot(_ctx.$slots, "loading", {}, () => [
|
|
464
|
+
__props.loadingSlot !== void 0 ? (openBlock(), createBlock(unref(LoadingSlotProp), { key: 0 })) : (openBlock(), createBlock(unref(_sfc_main$6), { key: 1 }))
|
|
465
|
+
]),
|
|
466
|
+
__props.loadingText !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(__props.loadingText), 1)) : (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
467
|
+
renderSlot(_ctx.$slots, "default")
|
|
468
|
+
]))
|
|
469
|
+
], 64)) : __props.hoverSlot !== void 0 || _ctx.$slots.hover ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
470
|
+
renderSlot(_ctx.$slots, "leading", {}, () => [
|
|
471
|
+
__props.leadingSlot !== void 0 ? (openBlock(), createBlock(unref(LeadingSlotProp), { key: 0 })) : createCommentVNode("", true)
|
|
472
|
+
]),
|
|
473
|
+
createElementVNode("span", _hoisted_3, [
|
|
474
|
+
createElementVNode("span", _hoisted_4, [
|
|
475
|
+
renderSlot(_ctx.$slots, "default")
|
|
476
|
+
]),
|
|
477
|
+
createElementVNode("span", _hoisted_5, [
|
|
478
|
+
renderSlot(_ctx.$slots, "hover", {}, () => [
|
|
479
|
+
__props.hoverSlot !== void 0 ? (openBlock(), createBlock(unref(HoverSlotProp), { key: 0 })) : createCommentVNode("", true)
|
|
480
|
+
])
|
|
481
|
+
])
|
|
482
|
+
]),
|
|
483
|
+
renderSlot(_ctx.$slots, "trailing", {}, () => [
|
|
484
|
+
__props.trailingSlot !== void 0 ? (openBlock(), createBlock(unref(TrailingSlotProp), { key: 0 })) : createCommentVNode("", true)
|
|
485
|
+
])
|
|
486
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
487
|
+
renderSlot(_ctx.$slots, "leading", {}, () => [
|
|
488
|
+
__props.leadingSlot !== void 0 ? (openBlock(), createBlock(unref(LeadingSlotProp), { key: 0 })) : createCommentVNode("", true)
|
|
489
|
+
]),
|
|
490
|
+
renderSlot(_ctx.$slots, "default"),
|
|
491
|
+
renderSlot(_ctx.$slots, "trailing", {}, () => [
|
|
492
|
+
__props.trailingSlot !== void 0 ? (openBlock(), createBlock(unref(TrailingSlotProp), { key: 0 })) : createCommentVNode("", true)
|
|
493
|
+
])
|
|
494
|
+
], 64))
|
|
495
|
+
]),
|
|
496
|
+
_: 3
|
|
497
|
+
}, 16, ["as", "as-child"]);
|
|
498
|
+
};
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
const ToggleButtonGroupKey = Symbol(
|
|
502
|
+
"wow-two.toggleButtonGroup"
|
|
503
|
+
);
|
|
504
|
+
const ToggleButtonGroupVariant = {
|
|
505
|
+
/** Refers to a standard button row/column (borders + attached radii). */
|
|
506
|
+
Default: "default",
|
|
507
|
+
/** Refers to an iOS-style connected pill row on a muted track (active segment lifts). */
|
|
508
|
+
Segmented: "segmented",
|
|
509
|
+
/** Refers to individually-separated rounded pills (each item its own detached chip). */
|
|
510
|
+
Pill: "pill"
|
|
511
|
+
};
|
|
512
|
+
const ToggleMode = {
|
|
513
|
+
/** Refers to at-most-one active item; toggling the active one clears it. */
|
|
514
|
+
Single: "single",
|
|
515
|
+
/** Refers to any number of independently-active items. */
|
|
516
|
+
Multi: "multi"
|
|
517
|
+
};
|
|
518
|
+
const ToggleItemRole = {
|
|
519
|
+
/** Refers to the default `role="group"` of independent toggle buttons. */
|
|
520
|
+
Group: "group",
|
|
521
|
+
/** Refers to `role="tablist"` on the root + `role="tab"` (+ `aria-selected`) on items. */
|
|
522
|
+
Tab: "tab"
|
|
523
|
+
};
|
|
524
|
+
const ToggleButtonVariant = {
|
|
525
|
+
/** Refers to a borderless, transparent surface (text-color only). */
|
|
526
|
+
Ghost: "ghost",
|
|
527
|
+
/** Refers to a muted/tinted fill on press. */
|
|
528
|
+
Soft: "soft",
|
|
529
|
+
/** Refers to a bordered surface that swaps to a tone border on press. */
|
|
530
|
+
Outline: "outline",
|
|
531
|
+
/** Refers to a bordered surface that fills with the tone on press. */
|
|
532
|
+
Solid: "solid",
|
|
533
|
+
/** Refers to a translucent glass wash + blur. */
|
|
534
|
+
Glass: "glass",
|
|
535
|
+
/** Refers to a glass surface with a hairline border. */
|
|
536
|
+
GlassSurface: "glass-surface"
|
|
537
|
+
};
|
|
538
|
+
const ToggleButtonElement = {
|
|
539
|
+
/** Refers to a native `<button>`. */
|
|
540
|
+
Button: "button",
|
|
541
|
+
/** Refers to a `<div>` with `role="button"` + Space/Enter keyboard — lets you nest interactive children without invalid button-in-button markup. */
|
|
542
|
+
Div: "div"
|
|
543
|
+
};
|
|
544
|
+
const toggleButtonVariants = tv({
|
|
545
|
+
base: "",
|
|
546
|
+
variants: {
|
|
547
|
+
variant: {
|
|
548
|
+
ghost: "",
|
|
549
|
+
soft: "",
|
|
550
|
+
outline: "border",
|
|
551
|
+
solid: "border",
|
|
552
|
+
glass: "border border-transparent backdrop-blur-md",
|
|
553
|
+
"glass-surface": "border backdrop-blur-md"
|
|
554
|
+
},
|
|
555
|
+
tone: {
|
|
556
|
+
primary: "",
|
|
557
|
+
neutral: "",
|
|
558
|
+
danger: "",
|
|
559
|
+
success: "",
|
|
560
|
+
warning: ""
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
compoundVariants: [
|
|
564
|
+
// === GHOST × tone — text color only, transparent bg ===
|
|
565
|
+
{ variant: "ghost", tone: "primary", class: "text-foreground/50 data-[pressed=true]:text-primary" },
|
|
566
|
+
{ variant: "ghost", tone: "neutral", class: "text-foreground/50 data-[pressed=true]:text-foreground" },
|
|
567
|
+
{ variant: "ghost", tone: "danger", class: "text-foreground/50 data-[pressed=true]:text-destructive" },
|
|
568
|
+
{ variant: "ghost", tone: "success", class: "text-foreground/50 data-[pressed=true]:text-success" },
|
|
569
|
+
{ variant: "ghost", tone: "warning", class: "text-foreground/50 data-[pressed=true]:text-warning" },
|
|
570
|
+
// === SOFT × tone — pressed gets tone-soft bg ===
|
|
571
|
+
{ variant: "soft", tone: "primary", class: "text-foreground/70 data-[pressed=true]:bg-primary-soft data-[pressed=true]:text-primary-soft-foreground" },
|
|
572
|
+
{ variant: "soft", tone: "neutral", class: "text-foreground/70 data-[pressed=true]:bg-muted data-[pressed=true]:text-foreground" },
|
|
573
|
+
{ variant: "soft", tone: "danger", class: "text-foreground/70 data-[pressed=true]:bg-destructive-soft data-[pressed=true]:text-destructive-soft-foreground" },
|
|
574
|
+
{ variant: "soft", tone: "success", class: "text-foreground/70 data-[pressed=true]:bg-success-soft data-[pressed=true]:text-success-soft-foreground" },
|
|
575
|
+
{ variant: "soft", tone: "warning", class: "text-foreground/70 data-[pressed=true]:bg-warning-soft data-[pressed=true]:text-warning-soft-foreground" },
|
|
576
|
+
// === OUTLINE × tone — pressed swaps to tone border + tone text ===
|
|
577
|
+
{ variant: "outline", tone: "primary", class: "border-input text-foreground/70 data-[pressed=true]:border-primary data-[pressed=true]:text-primary" },
|
|
578
|
+
{ variant: "outline", tone: "neutral", class: "border-input text-foreground/70 data-[pressed=true]:border-foreground data-[pressed=true]:text-foreground" },
|
|
579
|
+
{ variant: "outline", tone: "danger", class: "border-input text-foreground/70 data-[pressed=true]:border-destructive data-[pressed=true]:text-destructive" },
|
|
580
|
+
{ variant: "outline", tone: "success", class: "border-input text-foreground/70 data-[pressed=true]:border-success data-[pressed=true]:text-success" },
|
|
581
|
+
{ variant: "outline", tone: "warning", class: "border-input text-foreground/70 data-[pressed=true]:border-warning data-[pressed=true]:text-warning" },
|
|
582
|
+
// === SOLID × tone — pressed fills with tone ===
|
|
583
|
+
{ variant: "solid", tone: "primary", class: "border-input bg-background text-foreground/70 data-[pressed=true]:bg-primary data-[pressed=true]:border-primary data-[pressed=true]:text-primary-foreground" },
|
|
584
|
+
{ variant: "solid", tone: "neutral", class: "border-input bg-background text-foreground/70 data-[pressed=true]:bg-foreground data-[pressed=true]:border-foreground data-[pressed=true]:text-background" },
|
|
585
|
+
{ variant: "solid", tone: "danger", class: "border-input bg-background text-foreground/70 data-[pressed=true]:bg-destructive data-[pressed=true]:border-destructive data-[pressed=true]:text-destructive-foreground" },
|
|
586
|
+
{ variant: "solid", tone: "success", class: "border-input bg-background text-foreground/70 data-[pressed=true]:bg-success data-[pressed=true]:border-success data-[pressed=true]:text-success-foreground" },
|
|
587
|
+
{ variant: "solid", tone: "warning", class: "border-input bg-background text-foreground/70 data-[pressed=true]:bg-warning data-[pressed=true]:border-warning data-[pressed=true]:text-warning-foreground" },
|
|
588
|
+
// === GLASS × tone — dark glass; pressed darkens slightly + tone-tinted text on tone variants ===
|
|
589
|
+
{ variant: "glass", tone: "primary", class: "bg-black/45 text-white/60 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-white" },
|
|
590
|
+
{ variant: "glass", tone: "neutral", class: "bg-black/45 text-white/60 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-white" },
|
|
591
|
+
{ variant: "glass", tone: "danger", class: "bg-black/45 text-white/60 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-destructive" },
|
|
592
|
+
{ variant: "glass", tone: "success", class: "bg-black/45 text-white/60 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-success" },
|
|
593
|
+
{ variant: "glass", tone: "warning", class: "bg-black/45 text-white/60 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-warning" },
|
|
594
|
+
// === GLASS-SURFACE × tone — same as glass + visible border emphasis on press ===
|
|
595
|
+
{ variant: "glass-surface", tone: "primary", class: "bg-black/45 text-white/60 border-white/10 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-white data-[pressed=true]:border-white/40" },
|
|
596
|
+
{ variant: "glass-surface", tone: "neutral", class: "bg-black/45 text-white/60 border-white/10 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-white data-[pressed=true]:border-white/40" },
|
|
597
|
+
{ variant: "glass-surface", tone: "danger", class: "bg-black/45 text-white/60 border-white/10 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-destructive data-[pressed=true]:border-destructive/60" },
|
|
598
|
+
{ variant: "glass-surface", tone: "success", class: "bg-black/45 text-white/60 border-white/10 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-success data-[pressed=true]:border-success/60" },
|
|
599
|
+
{ variant: "glass-surface", tone: "warning", class: "bg-black/45 text-white/60 border-white/10 data-[pressed=true]:bg-black/65 data-[pressed=true]:text-warning data-[pressed=true]:border-warning/60" }
|
|
600
|
+
],
|
|
601
|
+
defaultVariants: {
|
|
602
|
+
variant: "ghost",
|
|
603
|
+
tone: "primary"
|
|
604
|
+
}
|
|
605
|
+
});
|
|
606
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
607
|
+
...{ name: "ToggleButton", inheritAttrs: false },
|
|
608
|
+
__name: "ToggleButton",
|
|
609
|
+
props: {
|
|
610
|
+
variant: { default: ToggleButtonVariant.Ghost },
|
|
611
|
+
tone: { default: ColorTone.Primary },
|
|
612
|
+
isPressed: { type: Boolean, default: void 0 },
|
|
613
|
+
defaultPressed: { type: Boolean, default: void 0 },
|
|
614
|
+
value: {},
|
|
615
|
+
title: {},
|
|
616
|
+
color: {},
|
|
617
|
+
tooltip: { type: [Object, String, Number, Boolean, null, Array], default: void 0 },
|
|
618
|
+
as: { default: ToggleButtonElement.Button }
|
|
619
|
+
},
|
|
620
|
+
emits: ["pressed-change"],
|
|
621
|
+
setup(__props, { emit: __emit }) {
|
|
622
|
+
const props = __props;
|
|
623
|
+
const emit = __emit;
|
|
624
|
+
const attrs = useAttrs();
|
|
625
|
+
const group = inject(ToggleButtonGroupKey, null);
|
|
626
|
+
const { value: pressed, setValue: setPressed } = useControlled({
|
|
627
|
+
/* Inside a group the selection lives on the group, which makes the item controlled — the same
|
|
628
|
+
state the original produced by cloning `isPressed` onto each child. An explicit `isPressed`
|
|
629
|
+
prop still wins over the group. */
|
|
630
|
+
controlled: () => props.isPressed ?? group?.isPressed(props.value),
|
|
631
|
+
default: props.defaultPressed ?? false,
|
|
632
|
+
onChange: (pressed2) => emit("pressed-change", pressed2)
|
|
633
|
+
});
|
|
634
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set(["class", "aria-label"]);
|
|
635
|
+
const passthroughAttrs = computed(
|
|
636
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
637
|
+
);
|
|
638
|
+
const isDiv = computed(() => props.as === ToggleButtonElement.Div);
|
|
639
|
+
const resolvedTitle = computed(() => {
|
|
640
|
+
const title = typeof props.title === "function" ? props.title({ pressed: pressed.value }) : props.title;
|
|
641
|
+
return title ?? (typeof props.tooltip === "string" ? props.tooltip : void 0);
|
|
642
|
+
});
|
|
643
|
+
const resolvedAriaLabel = computed(() => {
|
|
644
|
+
const label = attrs["aria-label"];
|
|
645
|
+
return typeof label === "function" ? label({ pressed: pressed.value }) : label;
|
|
646
|
+
});
|
|
647
|
+
const rootClass = computed(
|
|
648
|
+
() => cn(
|
|
649
|
+
toggleButtonVariants({ variant: props.variant, tone: props.tone }),
|
|
650
|
+
attrs.class
|
|
651
|
+
)
|
|
652
|
+
);
|
|
653
|
+
const itemRole = computed(
|
|
654
|
+
() => group?.itemRole === ToggleItemRole.Tab ? "tab" : void 0
|
|
655
|
+
);
|
|
656
|
+
const ariaSelected = computed(() => itemRole.value === "tab" ? pressed.value : void 0);
|
|
657
|
+
function toggle() {
|
|
658
|
+
setPressed(!pressed.value);
|
|
659
|
+
group?.toggle(props.value);
|
|
660
|
+
}
|
|
661
|
+
function handleClick(event) {
|
|
662
|
+
if (event.defaultPrevented) return;
|
|
663
|
+
toggle();
|
|
664
|
+
}
|
|
665
|
+
function handleDivKeyDown(event) {
|
|
666
|
+
if (event.key === Key.Space || event.key === Key.Enter) {
|
|
667
|
+
event.preventDefault();
|
|
668
|
+
toggle();
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
return (_ctx, _cache) => {
|
|
672
|
+
return openBlock(), createBlock(_sfc_main$5, mergeProps({
|
|
673
|
+
variant: unref(ButtonVariant).Ghost,
|
|
674
|
+
tone: __props.tone ?? void 0,
|
|
675
|
+
color: __props.color,
|
|
676
|
+
"as-child": isDiv.value,
|
|
677
|
+
value: __props.value,
|
|
678
|
+
"aria-pressed": unref(pressed),
|
|
679
|
+
"aria-label": resolvedAriaLabel.value,
|
|
680
|
+
"data-pressed": unref(pressed) ? "true" : "false",
|
|
681
|
+
title: resolvedTitle.value,
|
|
682
|
+
role: itemRole.value,
|
|
683
|
+
"aria-selected": ariaSelected.value,
|
|
684
|
+
class: rootClass.value
|
|
685
|
+
}, passthroughAttrs.value, { onClick: handleClick }), {
|
|
686
|
+
default: withCtx(() => [
|
|
687
|
+
isDiv.value ? (openBlock(), createElementBlock("div", {
|
|
688
|
+
key: 0,
|
|
689
|
+
role: "button",
|
|
690
|
+
tabindex: 0,
|
|
691
|
+
onKeydown: handleDivKeyDown
|
|
692
|
+
}, [
|
|
693
|
+
renderSlot(_ctx.$slots, "default", { pressed: unref(pressed) })
|
|
694
|
+
], 32)) : renderSlot(_ctx.$slots, "default", { pressed: unref(pressed) }, void 0, void 0, 1)
|
|
695
|
+
]),
|
|
696
|
+
_: 3
|
|
697
|
+
}, 16, ["variant", "tone", "color", "as-child", "value", "aria-pressed", "aria-label", "data-pressed", "title", "role", "aria-selected", "class"]);
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
});
|
|
701
|
+
const _hoisted_1 = ["role", "aria-orientation", "data-orientation"];
|
|
702
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
703
|
+
...{ name: "ToggleButtonGroup", inheritAttrs: false },
|
|
704
|
+
__name: "ToggleButtonGroup",
|
|
705
|
+
props: {
|
|
706
|
+
type: { default: void 0 },
|
|
707
|
+
value: { default: void 0 },
|
|
708
|
+
defaultValue: { default: void 0 },
|
|
709
|
+
orientation: { default: Orientation.Horizontal },
|
|
710
|
+
isAttached: { type: Boolean, default: true },
|
|
711
|
+
variant: { default: ToggleButtonGroupVariant.Default },
|
|
712
|
+
itemRole: { default: ToggleItemRole.Group },
|
|
713
|
+
equalWidth: { type: Boolean, default: false }
|
|
714
|
+
},
|
|
715
|
+
emits: ["value-change"],
|
|
716
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
717
|
+
const props = __props;
|
|
718
|
+
const emit = __emit;
|
|
719
|
+
const attrs = useAttrs();
|
|
720
|
+
const mode = computed(
|
|
721
|
+
() => props.type === ToggleMode.Multi ? ToggleMode.Multi : ToggleMode.Single
|
|
722
|
+
);
|
|
723
|
+
const isSegmented = computed(() => props.variant === ToggleButtonGroupVariant.Segmented);
|
|
724
|
+
const isPill = computed(() => props.variant === ToggleButtonGroupVariant.Pill);
|
|
725
|
+
const isTablist = computed(() => props.itemRole === ToggleItemRole.Tab);
|
|
726
|
+
const isHorizontal = computed(() => props.orientation === Orientation.Horizontal);
|
|
727
|
+
const attached = computed(
|
|
728
|
+
() => isPill.value ? false : isSegmented.value || props.isAttached
|
|
729
|
+
);
|
|
730
|
+
const { value: singleValue, setValue: setSingleValue } = useControlled({
|
|
731
|
+
controlled: () => mode.value === ToggleMode.Single ? props.value : void 0,
|
|
732
|
+
default: props.type !== ToggleMode.Multi ? props.defaultValue ?? null : null,
|
|
733
|
+
onChange: (next) => {
|
|
734
|
+
if (mode.value === ToggleMode.Single) emit("value-change", next);
|
|
735
|
+
}
|
|
736
|
+
});
|
|
737
|
+
const { value: multiValue, setValue: setMultiValue } = useControlled({
|
|
738
|
+
controlled: () => mode.value === ToggleMode.Multi ? props.value : void 0,
|
|
739
|
+
default: props.type === ToggleMode.Multi ? props.defaultValue ?? [] : [],
|
|
740
|
+
onChange: (next) => {
|
|
741
|
+
if (mode.value === ToggleMode.Multi) emit("value-change", next);
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
function isPressed(childValue) {
|
|
745
|
+
if (childValue === void 0) return false;
|
|
746
|
+
return mode.value === ToggleMode.Single ? singleValue.value === childValue : multiValue.value.includes(childValue);
|
|
747
|
+
}
|
|
748
|
+
function togglePressed(childValue) {
|
|
749
|
+
if (childValue === void 0) return;
|
|
750
|
+
if (mode.value === ToggleMode.Single) {
|
|
751
|
+
setSingleValue(singleValue.value === childValue ? null : childValue);
|
|
752
|
+
} else {
|
|
753
|
+
setMultiValue(
|
|
754
|
+
multiValue.value.includes(childValue) ? multiValue.value.filter((entry) => entry !== childValue) : [...multiValue.value, childValue]
|
|
755
|
+
);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
provide(ToggleButtonGroupKey, {
|
|
759
|
+
isPressed,
|
|
760
|
+
toggle: togglePressed,
|
|
761
|
+
get itemRole() {
|
|
762
|
+
return props.itemRole;
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set(["class"]);
|
|
766
|
+
const passthroughAttrs = computed(
|
|
767
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
768
|
+
);
|
|
769
|
+
const rootClass = computed(
|
|
770
|
+
() => cn(
|
|
771
|
+
"inline-flex",
|
|
772
|
+
isHorizontal.value ? "flex-row" : "flex-col",
|
|
773
|
+
attached.value ? isHorizontal.value ? "[&>*]:rounded-none [&>*:first-child]:rounded-l-md [&>*:last-child]:rounded-r-md [&>*:not(:first-child)]:-ml-px" : "[&>*]:rounded-none [&>*:first-child]:rounded-t-md [&>*:last-child]:rounded-b-md [&>*:not(:first-child)]:-mt-px" : "gap-2",
|
|
774
|
+
// Segmented: muted track + reset segment chrome; active segment lifts to a `background` surface.
|
|
775
|
+
isSegmented.value && [
|
|
776
|
+
"rounded-md bg-muted p-1",
|
|
777
|
+
"[&>*]:!rounded-md [&>*]:!ml-0 [&>*]:!border-transparent [&>*]:!bg-transparent",
|
|
778
|
+
"[&>*[data-pressed=true]]:!bg-background [&>*[data-pressed=true]]:!text-foreground [&>*[data-pressed=true]]:shadow-sm"
|
|
779
|
+
],
|
|
780
|
+
// Pill: fully-rounded detached chips (gap already applied via the non-attached branch above).
|
|
781
|
+
isPill.value && "[&>*]:!rounded-full",
|
|
782
|
+
// Equal-width tiles: every item shares the row/column extent (icon category strip).
|
|
783
|
+
props.equalWidth && "[&>*]:flex-1 [&>*]:basis-0",
|
|
784
|
+
attrs.class
|
|
785
|
+
)
|
|
786
|
+
);
|
|
787
|
+
const root = useTemplateRef("root");
|
|
788
|
+
__expose({ el: root });
|
|
789
|
+
return (_ctx, _cache) => {
|
|
790
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
791
|
+
ref_key: "root",
|
|
792
|
+
ref: root,
|
|
793
|
+
role: isTablist.value ? "tablist" : "group",
|
|
794
|
+
"aria-orientation": isTablist.value ? __props.orientation : void 0,
|
|
795
|
+
"data-orientation": __props.orientation,
|
|
796
|
+
class: rootClass.value
|
|
797
|
+
}, passthroughAttrs.value), [
|
|
798
|
+
renderSlot(_ctx.$slots, "default")
|
|
799
|
+
], 16, _hoisted_1);
|
|
800
|
+
};
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
const optionTileVariants = tv({
|
|
804
|
+
base: "data-[pressed=true]:bg-primary/10"
|
|
805
|
+
});
|
|
806
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
807
|
+
...{ name: "OptionTile", inheritAttrs: false },
|
|
808
|
+
__name: "OptionTile",
|
|
809
|
+
props: {
|
|
810
|
+
selected: { type: Boolean },
|
|
811
|
+
label: {},
|
|
812
|
+
tone: { default: ColorTone.Primary },
|
|
813
|
+
size: { default: "sm" }
|
|
814
|
+
},
|
|
815
|
+
emits: ["select"],
|
|
816
|
+
setup(__props, { emit: __emit }) {
|
|
817
|
+
const emit = __emit;
|
|
818
|
+
const attrs = useAttrs();
|
|
819
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set(["class"]);
|
|
820
|
+
const passthroughAttrs = computed(
|
|
821
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
822
|
+
);
|
|
823
|
+
const rootClass = computed(() => cn(optionTileVariants(), attrs.class));
|
|
824
|
+
return (_ctx, _cache) => {
|
|
825
|
+
return openBlock(), createBlock(_sfc_main$4, mergeProps({
|
|
826
|
+
shape: unref(ButtonShape).Square,
|
|
827
|
+
variant: unref(ToggleButtonVariant).Outline,
|
|
828
|
+
tone: __props.tone,
|
|
829
|
+
size: __props.size,
|
|
830
|
+
"is-pressed": __props.selected,
|
|
831
|
+
"aria-label": __props.label,
|
|
832
|
+
title: __props.label,
|
|
833
|
+
class: rootClass.value
|
|
834
|
+
}, passthroughAttrs.value, {
|
|
835
|
+
onPressedChange: _cache[0] || (_cache[0] = ($event) => emit("select"))
|
|
836
|
+
}), {
|
|
837
|
+
default: withCtx(() => [
|
|
838
|
+
renderSlot(_ctx.$slots, "default")
|
|
839
|
+
]),
|
|
840
|
+
_: 3
|
|
841
|
+
}, 16, ["shape", "variant", "tone", "size", "is-pressed", "aria-label", "title", "class"]);
|
|
842
|
+
};
|
|
843
|
+
}
|
|
844
|
+
});
|
|
845
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
846
|
+
...{ name: "Fieldset", inheritAttrs: false },
|
|
847
|
+
__name: "Fieldset",
|
|
848
|
+
setup(__props, { expose: __expose }) {
|
|
849
|
+
const attrs = useAttrs();
|
|
850
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set(["class"]);
|
|
851
|
+
const passthroughAttrs = computed(
|
|
852
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
853
|
+
);
|
|
854
|
+
const rootClass = computed(() => cn("m-0 min-w-0 border-0 p-0", attrs.class));
|
|
855
|
+
const root = useTemplateRef("root");
|
|
856
|
+
__expose({ el: root });
|
|
857
|
+
return (_ctx, _cache) => {
|
|
858
|
+
return openBlock(), createElementBlock("fieldset", mergeProps({
|
|
859
|
+
ref_key: "root",
|
|
860
|
+
ref: root,
|
|
861
|
+
class: rootClass.value
|
|
862
|
+
}, passthroughAttrs.value), [
|
|
863
|
+
renderSlot(_ctx.$slots, "default")
|
|
864
|
+
], 16);
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
const optionTileGroupVariants = tv({
|
|
869
|
+
base: "flex items-center gap-2",
|
|
870
|
+
variants: {
|
|
871
|
+
wrap: {
|
|
872
|
+
true: "flex-wrap",
|
|
873
|
+
false: ""
|
|
874
|
+
},
|
|
875
|
+
align: {
|
|
876
|
+
start: "justify-start",
|
|
877
|
+
center: "justify-center",
|
|
878
|
+
end: "justify-end"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
defaultVariants: {
|
|
882
|
+
wrap: false,
|
|
883
|
+
align: "start"
|
|
884
|
+
}
|
|
885
|
+
});
|
|
886
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
887
|
+
...{ name: "OptionTileGroup", inheritAttrs: false },
|
|
888
|
+
__name: "OptionTileGroup",
|
|
889
|
+
props: {
|
|
890
|
+
label: {},
|
|
891
|
+
disabled: { type: Boolean, default: void 0 },
|
|
892
|
+
wrap: { type: Boolean, default: void 0 },
|
|
893
|
+
align: {}
|
|
894
|
+
},
|
|
895
|
+
setup(__props, { expose: __expose }) {
|
|
896
|
+
const props = __props;
|
|
897
|
+
const attrs = useAttrs();
|
|
898
|
+
const OWNED_ATTRS = /* @__PURE__ */ new Set(["class"]);
|
|
899
|
+
const passthroughAttrs = computed(
|
|
900
|
+
() => Object.fromEntries(Object.entries(attrs).filter(([key]) => !OWNED_ATTRS.has(key)))
|
|
901
|
+
);
|
|
902
|
+
const rootClass = computed(
|
|
903
|
+
() => cn(optionTileGroupVariants({ wrap: props.wrap, align: props.align }), attrs.class)
|
|
904
|
+
);
|
|
905
|
+
const root = useTemplateRef("root");
|
|
906
|
+
__expose({ el: computed(() => root.value?.el ?? null) });
|
|
907
|
+
return (_ctx, _cache) => {
|
|
908
|
+
return openBlock(), createBlock(unref(_sfc_main$1), mergeProps({
|
|
909
|
+
ref_key: "root",
|
|
910
|
+
ref: root,
|
|
911
|
+
disabled: __props.disabled,
|
|
912
|
+
"aria-label": __props.label,
|
|
913
|
+
class: rootClass.value
|
|
914
|
+
}, passthroughAttrs.value), {
|
|
915
|
+
default: withCtx(() => [
|
|
916
|
+
renderSlot(_ctx.$slots, "default")
|
|
917
|
+
]),
|
|
918
|
+
_: 3
|
|
919
|
+
}, 16, ["disabled", "aria-label", "class"]);
|
|
920
|
+
};
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
export {
|
|
924
|
+
ButtonShape as B,
|
|
925
|
+
ToggleButtonElement as T,
|
|
926
|
+
_sfc_main$5 as _,
|
|
927
|
+
ButtonVariant as a,
|
|
928
|
+
_sfc_main$1 as b,
|
|
929
|
+
_sfc_main$2 as c,
|
|
930
|
+
_sfc_main as d,
|
|
931
|
+
_sfc_main$4 as e,
|
|
932
|
+
_sfc_main$3 as f,
|
|
933
|
+
ToggleButtonGroupKey as g,
|
|
934
|
+
ToggleButtonGroupVariant as h,
|
|
935
|
+
ToggleButtonVariant as i,
|
|
936
|
+
ToggleItemRole as j,
|
|
937
|
+
ToggleMode as k,
|
|
938
|
+
buttonVariants as l,
|
|
939
|
+
optionTileVariants as m,
|
|
940
|
+
optionTileGroupVariants as o,
|
|
941
|
+
toggleButtonVariants as t
|
|
942
|
+
};
|
|
943
|
+
//# sourceMappingURL=OptionTileGroup.vue_vue_type_script_setup_true_lang-BGSmXM_u.js.map
|