@stachelock/ui 0.6.8 → 0.6.11
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/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-CMBsY5Y0.js → CalendarHeader.vue_vue_type_script_setup_true_lang-CooyV5tq.js} +2 -2
- package/dist/{ComboboxInput.vue_vue_type_script_setup_true_lang-DacJtKYo.js → ComboboxInput.vue_vue_type_script_setup_true_lang-Cy0Pl8Ap.js} +90 -91
- package/dist/{DatepickerInput.vue_vue_type_style_index_0_lang-DbI3619T.js → DatepickerInput.vue_vue_type_style_index_0_lang-C_0dWHo6.js} +5 -4
- package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-D-4jcUvI.js → DayCalendar.vue_vue_type_script_setup_true_lang-BgV8wr8v.js} +1 -1
- package/dist/{DynamicForm.vue_vue_type_script_setup_true_lang-Bq8Gvhsc.js → DynamicForm.vue_vue_type_script_setup_true_lang-BR8Pq7Kw.js} +1 -1
- package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-CdNtWWlT.js → DynamicFormField.vue_vue_type_script_setup_true_lang-BCVmqg_n.js} +4 -4
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-59bDl9yw.js +123 -0
- package/dist/{FileDropzoneInput.vue_vue_type_script_setup_true_lang-BJR-_ngq.js → FileDropzoneInput.vue_vue_type_script_setup_true_lang-BC_qN5qn.js} +1 -1
- package/dist/{ImageDropzoneInput.vue_vue_type_script_setup_true_lang-7JWDfxD2.js → ImageDropzoneInput.vue_vue_type_script_setup_true_lang-Dhl2jFaM.js} +93 -89
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-B6A0zsE6.js → InlineTabs.vue_vue_type_script_setup_true_lang-DGGJem-g.js} +1 -1
- package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-lnKkvJ9u.js → MonthCalendar.vue_vue_type_style_index_0_lang-BdrrlrNr.js} +1 -1
- package/dist/{SelectInput.vue_vue_type_script_setup_true_lang-DFfKsmvj.js → SelectInput.vue_vue_type_script_setup_true_lang-DEaP3bhC.js} +138 -140
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-DYlrRigi.js +305 -0
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-BzqtAqbr.js → TabGroup.vue_vue_type_script_setup_true_lang-DTWW7kYh.js} +1 -1
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-C6OYRDCq.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-B8e7kxad.js} +1 -1
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-C7T3PUnB.js → TabsInPills.vue_vue_type_script_setup_true_lang-Dzi4ENL1.js} +1 -1
- package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-BF2mK8JC.js → TagifyInput.vue_vue_type_script_setup_true_lang-CwxJ2x1x.js} +65 -62
- package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Dtf7H1sT.js} +3 -2
- package/dist/{calendar-DLry-Vik.js → calendar-DaXCwXP5.js} +1 -1
- package/dist/calendars/CalendarDashboard.d.ts +3 -1
- package/dist/calendars/CalendarDashboard.js +2 -2
- package/dist/calendars/CalendarHeader.d.ts +3 -1
- package/dist/calendars/CalendarHeader.js +1 -1
- package/dist/calendars/DayCalendar.d.ts +3 -1
- package/dist/calendars/DayCalendar.js +1 -1
- package/dist/calendars/EventCard.d.ts +3 -1
- package/dist/calendars/EventsList.d.ts +3 -1
- package/dist/calendars/MonthCalendar.d.ts +3 -1
- package/dist/calendars/MonthCalendar.js +1 -1
- package/dist/calendars/WeekCalendar.d.ts +3 -1
- package/dist/calendars/WeekCalendar.js +2 -2
- package/dist/calendars/YearCalendar.d.ts +3 -1
- package/dist/charts/BarChart.d.ts +3 -1
- package/dist/charts/BaseChart.d.ts +3 -1
- package/dist/charts/FunnelChart.d.ts +3 -1
- package/dist/charts/LineChart.d.ts +3 -1
- package/dist/charts/PieChart.d.ts +3 -1
- package/dist/charts/SparklineChart.d.ts +3 -1
- package/dist/charts/StatCard.d.ts +3 -1
- package/dist/charts/chartTheme.d.ts +0 -3
- package/dist/charts/index.d.ts +0 -1
- package/dist/components/Avatar.d.ts +3 -1
- package/dist/components/Badge.d.ts +3 -1
- package/dist/components/Banner.d.ts +3 -1
- package/dist/components/Breadcrumb.d.ts +3 -1
- package/dist/components/Button.d.ts +3 -1
- package/dist/components/ButtonGroup.d.ts +3 -1
- package/dist/components/Checkbox.d.ts +3 -1
- package/dist/components/CloudinaryImage.d.ts +3 -1
- package/dist/components/CloudinaryImage.js +52 -52
- package/dist/components/Loading.d.ts +3 -1
- package/dist/components/LoadingDots.d.ts +3 -1
- package/dist/components/LottieAnimation.d.ts +3 -1
- package/dist/components/Menu.d.ts +3 -1
- package/dist/components/Modal.d.ts +3 -1
- package/dist/components/NavLink.d.ts +3 -1
- package/dist/components/ProgressBar.d.ts +3 -1
- package/dist/components/RadialProgressBar.d.ts +3 -1
- package/dist/components/Table.d.ts +3 -1
- package/dist/components/Transition.d.ts +3 -1
- package/dist/composables/index.d.ts +0 -1
- package/dist/composables/useCalendar.d.ts +0 -3
- package/dist/composables/useCalendar.js +1 -1
- package/dist/composables/useFormValidation.d.ts +0 -3
- package/dist/composables/useMap.d.ts +0 -3
- package/dist/composables/useModal.d.ts +0 -3
- package/dist/composables/useNotifications.d.ts +0 -3
- package/dist/composables/useNotifications.js +1 -1
- package/dist/composables/useTabs.d.ts +0 -1
- package/dist/composables/useTheme.d.ts +0 -3
- package/dist/empty-state/ComingSoon.d.ts +3 -1
- package/dist/empty-state/EmptyState.d.ts +3 -1
- package/dist/empty-state/index.d.ts +0 -1
- package/dist/forms/DynamicForm.d.ts +3 -1
- package/dist/forms/DynamicForm.js +1 -1
- package/dist/forms/DynamicFormField.d.ts +3 -1
- package/dist/forms/DynamicFormField.js +1 -1
- package/dist/forms/FormFieldWrapper.d.ts +3 -1
- package/dist/forms/FormFieldWrapper.js +2 -2
- package/dist/index.d.ts +0 -3
- package/dist/index.js +1677 -1341
- package/dist/inputs/AddDeleteButtonGroup.d.ts +3 -1
- package/dist/inputs/AddressInput.d.ts +3 -1
- package/dist/inputs/AddressInput.js +49 -47
- package/dist/inputs/CheckboxInput.d.ts +3 -1
- package/dist/inputs/ComboboxInput.d.ts +3 -1
- package/dist/inputs/ComboboxInput.js +1 -1
- package/dist/inputs/DatepickerInput.d.ts +3 -1
- package/dist/inputs/DatepickerInput.js +1 -1
- package/dist/inputs/EmailInput.d.ts +3 -1
- package/dist/inputs/EmailInput.js +1 -1
- package/dist/inputs/EmptyInput.d.ts +3 -1
- package/dist/inputs/FileDropzoneInput.d.ts +3 -1
- package/dist/inputs/FileDropzoneInput.js +1 -1
- package/dist/inputs/HiddenInput.d.ts +3 -1
- package/dist/inputs/ImageDropzoneInput.d.ts +3 -1
- package/dist/inputs/ImageDropzoneInput.js +1 -1
- package/dist/inputs/PhoneInput.d.ts +3 -1
- package/dist/inputs/PhoneInput.js +148 -147
- package/dist/inputs/RichTextInput.d.ts +3 -1
- package/dist/inputs/RichTextInput.js +1 -1
- package/dist/inputs/SelectInput.d.ts +3 -1
- package/dist/inputs/SelectInput.js +1 -1
- package/dist/inputs/SelectTextInput.d.ts +3 -1
- package/dist/inputs/SelectTextInput.js +1 -1
- package/dist/inputs/SwitchInput.d.ts +3 -1
- package/dist/inputs/SwitchInputGroup.d.ts +3 -1
- package/dist/inputs/TagifyInput.d.ts +3 -1
- package/dist/inputs/TagifyInput.js +1 -1
- package/dist/inputs/TextAreaInput.d.ts +3 -1
- package/dist/inputs/TextAreaInput.js +1 -1
- package/dist/inputs/TextInput.d.ts +3 -1
- package/dist/inputs/TextInput.js +116 -3
- package/dist/layouts/DashboardLayout.d.ts +3 -1
- package/dist/layouts/DefaultLayout.d.ts +3 -1
- package/dist/layouts/HeaderLayout.d.ts +3 -1
- package/dist/layouts/NavigationGroup.d.ts +3 -1
- package/dist/layouts/NavigationItem.d.ts +3 -1
- package/dist/layouts/ProfileHeaderAvatar.d.ts +3 -1
- package/dist/layouts/ProjectLogo.d.ts +3 -1
- package/dist/layouts/SidebarLayout.d.ts +3 -1
- package/dist/loading/ContentSkeleton.d.ts +3 -1
- package/dist/loading/SmartLoadingIndicator.d.ts +3 -1
- package/dist/loading/index.d.ts +0 -1
- package/dist/maps/GoogleMap.d.ts +3 -1
- package/dist/maps/UiInfoWindow.d.ts +3 -1
- package/dist/maps/UiMap.d.ts +3 -1
- package/dist/maps/UiMapAll.d.ts +3 -1
- package/dist/maps/UiMapMarker.d.ts +3 -1
- package/dist/maps/index.d.ts +0 -1
- package/dist/modals/AlertModal.d.ts +3 -1
- package/dist/modals/BaseModal.d.ts +3 -1
- package/dist/modals/ImageCropperModal.d.ts +3 -1
- package/dist/notifications/NotificationContainer.d.ts +3 -1
- package/dist/notifications/NotificationToast.d.ts +3 -1
- package/dist/notifications/index.d.ts +0 -1
- package/dist/src/components/CloudinaryImage.d.ts +16 -14
- package/dist/src/components/LottieAnimation.d.ts +37 -6
- package/dist/src/components/ThemeDebugModal.d.ts +16 -6
- package/dist/src/components/UiAvatar.d.ts +35 -2
- package/dist/src/components/UiBadge.d.ts +33 -6
- package/dist/src/components/UiBanner.d.ts +108 -35
- package/dist/src/components/UiBreadcrumb.d.ts +11 -10
- package/dist/src/components/UiButton.d.ts +66 -13
- package/dist/src/components/UiButtonGroup.d.ts +37 -7
- package/dist/src/components/UiCheckbox.d.ts +33 -8
- package/dist/src/components/UiLoading.d.ts +28 -2
- package/dist/src/components/UiLoadingDots.d.ts +2 -2
- package/dist/src/components/UiMenu.d.ts +33 -5
- package/dist/src/components/UiModal.d.ts +3 -4
- package/dist/src/components/UiNavLink.d.ts +40 -6
- package/dist/src/components/UiProgressBar.d.ts +32 -3
- package/dist/src/components/UiRadialProgressBar.d.ts +34 -3
- package/dist/src/components/UiTable.d.ts +29 -6
- package/dist/src/components/UiTransition.d.ts +26 -3
- package/dist/src/components/avatars/AvatarIcon.d.ts +28 -6
- package/dist/src/components/avatars/AvatarImage.d.ts +30 -9
- package/dist/src/components/avatars/AvatarInitials.d.ts +24 -5
- package/dist/src/components/avatars/AvatarWithText.d.ts +4 -3
- package/dist/src/components/calendars/CalendarDashboard.d.ts +17 -5
- package/dist/src/components/calendars/CalendarHeader.d.ts +7 -8
- package/dist/src/components/calendars/DayCalendar.d.ts +17 -11
- package/dist/src/components/calendars/EventCard.d.ts +2 -1
- package/dist/src/components/calendars/EventsList.d.ts +18 -6
- package/dist/src/components/calendars/MonthCalendar.d.ts +30 -6
- package/dist/src/components/calendars/WeekCalendar.d.ts +16 -10
- package/dist/src/components/calendars/YearCalendar.d.ts +29 -5
- package/dist/src/components/charts/BarChart.d.ts +40 -7
- package/dist/src/components/charts/BaseChart.d.ts +80 -0
- package/dist/src/components/charts/FunnelChart.d.ts +34 -5
- package/dist/src/components/charts/LineChart.d.ts +37 -6
- package/dist/src/components/charts/PieChart.d.ts +37 -6
- package/dist/src/components/charts/SparklineChart.d.ts +32 -3
- package/dist/src/components/charts/StatCard.d.ts +24 -2
- package/dist/src/components/charts/chartTheme.d.ts +1 -0
- package/dist/src/components/collection-editor/CollectionEditor.d.ts +112 -0
- package/dist/src/components/collection-editor/CollectionItemList.d.ts +37 -7
- package/dist/src/components/collection-editor/OrganizationsEditor.d.ts +34 -8
- package/dist/src/components/collection-editor/RelatedNamesEditor.d.ts +37 -7
- package/dist/src/components/collection-editor/SocialLinksEditor.d.ts +37 -7
- package/dist/src/components/empty-state/ComingSoon.d.ts +29 -2
- package/dist/src/components/empty-state/EmptyState.d.ts +26 -4
- package/dist/src/components/formatters/DateFormatter.d.ts +2 -1
- package/dist/src/components/formatters/DateRangeFormatter.d.ts +1 -0
- package/dist/src/components/forms/DynamicForm.d.ts +37 -11
- package/dist/src/components/forms/DynamicFormField.d.ts +15 -5
- package/dist/src/components/forms/FormFieldWrapper.d.ts +58 -14
- package/dist/src/components/icons/brands/DiscordBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/FacebookBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/GitHubBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/InstagramBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/LinkedInBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/PinterestBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/SnapchatBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/ThreadsBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/TikTokBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/TwitchBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/XBrandIcon.d.ts +1 -1
- package/dist/src/components/icons/brands/YouTubeBrandIcon.d.ts +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -2
- package/dist/src/components/inputs/AddressInput.d.ts +45 -7
- package/dist/src/components/inputs/CheckboxInput.d.ts +37 -10
- package/dist/src/components/inputs/ComboboxInput.d.ts +54 -12
- package/dist/src/components/inputs/DatepickerInput.d.ts +43 -1046
- package/dist/src/components/inputs/EmailInput.d.ts +56 -12
- package/dist/src/components/inputs/EmptyInput.d.ts +26 -2
- package/dist/src/components/inputs/FileDropzoneInput.d.ts +6 -7
- package/dist/src/components/inputs/HiddenInput.d.ts +23 -2
- package/dist/src/components/inputs/ImageDropzoneInput.d.ts +9 -8
- package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
- package/dist/src/components/inputs/PhoneInput.d.ts +18 -81
- package/dist/src/components/inputs/RichTextInput.d.ts +81 -23
- package/dist/src/components/inputs/SelectInput.d.ts +41 -47
- package/dist/src/components/inputs/SelectTextInput.d.ts +22 -53
- package/dist/src/components/inputs/SwitchInput.d.ts +41 -114
- package/dist/src/components/inputs/SwitchInputGroup.d.ts +3 -2
- package/dist/src/components/inputs/TagifyInput.d.ts +8 -10
- package/dist/src/components/inputs/TextAreaInput.d.ts +35 -9
- package/dist/src/components/inputs/TextInput.d.ts +76 -14
- package/dist/src/components/layouts/CardLayout.d.ts +64 -18
- package/dist/src/components/layouts/DashboardLayout.d.ts +5 -8
- package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
- package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
- package/dist/src/components/layouts/InfoCard.d.ts +25 -2
- package/dist/src/components/layouts/NavigationGroup.d.ts +16 -5
- package/dist/src/components/layouts/NavigationItem.d.ts +24 -7
- package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +40 -10
- package/dist/src/components/layouts/ProjectLogo.d.ts +33 -2
- package/dist/src/components/layouts/PropsTable.d.ts +23 -2
- package/dist/src/components/layouts/ShowcaseCard.d.ts +29 -2
- package/dist/src/components/layouts/ShowcaseLayout.d.ts +28 -5
- package/dist/src/components/layouts/SidebarLayout.d.ts +4 -7
- package/dist/src/components/layouts/StateDisplay.d.ts +23 -2
- package/dist/src/components/loading/ContentSkeleton.d.ts +31 -2
- package/dist/src/components/loading/SmartLoadingIndicator.d.ts +47 -6
- package/dist/src/components/maps/GoogleMap.d.ts +9 -8
- package/dist/src/components/maps/UiInfoWindow.d.ts +14 -229
- package/dist/src/components/maps/UiMap.d.ts +103 -5093
- package/dist/src/components/maps/UiMapAll.d.ts +22 -1132
- package/dist/src/components/maps/UiMapMarker.d.ts +18 -17
- package/dist/src/components/modals/AlertModal.d.ts +10 -9
- package/dist/src/components/modals/BaseModal.d.ts +6 -5
- package/dist/src/components/modals/ImageCropperModal.d.ts +75 -379
- package/dist/src/components/notifications/NotificationToast.d.ts +18 -7
- package/dist/src/components/profile-inputs/BaseInformationInput.d.ts +117 -0
- package/dist/src/components/profile-inputs/NamesInput.d.ts +107 -0
- package/dist/src/components/profile-inputs/index.d.ts +2 -0
- package/dist/src/components/profiles/BentoProfileLayout.d.ts +44 -2
- package/dist/src/components/profiles/BentoProfileLayoutSkeleton.d.ts +27 -2
- package/dist/src/components/profiles/ProfileCard.d.ts +30 -2
- package/dist/src/components/profiles/ProfileContactCard.d.ts +25 -2
- package/dist/src/components/profiles/ProfileHeaderCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileLocationCard.d.ts +28 -2
- package/dist/src/components/profiles/ProfileOrganizationsCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfilePersonalCard.d.ts +25 -2
- package/dist/src/components/profiles/ProfileProfessionalCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileRelatedNamesCard.d.ts +26 -2
- package/dist/src/components/profiles/ProfileSocialCard.d.ts +26 -2
- package/dist/src/components/stepper/StepperPanels.d.ts +14 -4
- package/dist/src/components/tabs/InlineTabs.d.ts +28 -4
- package/dist/src/components/tabs/TabGroup.d.ts +32 -6
- package/dist/src/components/tabs/TabGroupUnderline.d.ts +32 -6
- package/dist/src/components/tabs/TabsInPills.d.ts +26 -4
- package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +37 -2
- package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
- package/dist/src/components/wrappers/DisclosureWrapper.d.ts +23 -2
- package/dist/src/components/wrappers/FormErrorWrapper.d.ts +25 -2
- package/dist/src/composables/useCalendar.d.ts +1 -0
- package/dist/src/composables/useCollectionEditor.d.ts +1 -0
- package/dist/src/composables/useFormValidation.d.ts +1 -0
- package/dist/src/composables/useMap.d.ts +1 -0
- package/dist/src/composables/useNotifications.d.ts +33 -32
- package/dist/src/composables/useSimpleTabs.d.ts +1 -0
- package/dist/src/composables/useStringTransform.d.ts +1 -0
- package/dist/src/composables/useTabs.d.ts +1 -0
- package/dist/src/config/css-variables.d.ts +1 -0
- package/dist/src/dev.d.ts +1 -0
- package/dist/src/plugin/configure.d.ts +3 -2
- package/dist/src/services/geocoding.service.d.ts +1 -0
- package/dist/src/types/calendars.d.ts +1 -0
- package/dist/src/types/core.d.ts +8 -7
- package/dist/src/types/forms.d.ts +1 -0
- package/dist/src/types/layouts.d.ts +1 -0
- package/dist/src/types/navigation.d.ts +1 -0
- package/dist/src/types/tables.d.ts +1 -0
- package/dist/src/types/ui.d.ts +1 -0
- package/dist/src/utils/component-registry.d.ts +1 -0
- package/dist/src/utils/mapThemes.d.ts +1 -0
- package/dist/src/utils/phone.d.ts +1 -0
- package/dist/src/utils/validation.d.ts +1 -0
- package/dist/src/views/components/index.d.ts +1 -1
- package/dist/src/views/index.d.ts +1 -0
- package/dist/src/views/inputs/index.d.ts +2 -0
- package/dist/stepper/StepperPanels.d.ts +3 -1
- package/dist/stepper/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/dist/tabs/InlineTabs.d.ts +3 -1
- package/dist/tabs/InlineTabs.js +1 -1
- package/dist/tabs/TabGroup.d.ts +3 -1
- package/dist/tabs/TabGroup.js +1 -1
- package/dist/tabs/TabGroupUnderline.d.ts +3 -1
- package/dist/tabs/TabGroupUnderline.js +1 -1
- package/dist/tabs/TabsInPills.d.ts +3 -1
- package/dist/tabs/TabsInPills.js +1 -1
- package/dist/tabs/index.d.ts +0 -1
- package/dist/tabs/index.js +4 -4
- package/dist/validation-Dzczp6MS.js +22 -0
- package/dist/wrappers/BackgroundGradientWrapper.d.ts +3 -1
- package/dist/wrappers/CardWrapper.d.ts +3 -1
- package/dist/wrappers/DisclosureWrapper.d.ts +3 -1
- package/dist/wrappers/FormErrorWrapper.d.ts +3 -1
- package/dist/wrappers/index.d.ts +0 -1
- package/package.json +29 -29
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +0 -121
- package/dist/SelectTextInput.vue_vue_type_script_setup_true_lang-C3BGLjY1.js +0 -336
- package/dist/TextInput-C5IzX7m_.js +0 -131
- package/dist/src/views/ButtonsShowcase.d.ts +0 -2
- package/dist/src/views/CalendarsShowcase.d.ts +0 -2
- package/dist/src/views/CardsShowcase.d.ts +0 -2
- package/dist/src/views/ChartsShowcase.d.ts +0 -2
- package/dist/src/views/EmptyStatesShowcase.d.ts +0 -2
- package/dist/src/views/InputsShowcase.d.ts +0 -2
- package/dist/src/views/KitchenSink.d.ts +0 -2
- package/dist/src/views/LayoutsShowcase.d.ts +0 -2
- package/dist/src/views/LoadingShowcase.d.ts +0 -2
- package/dist/src/views/MapsShowcase.d.ts +0 -2
- package/dist/src/views/ModalsShowcase.d.ts +0 -2
- package/dist/src/views/NotificationsShowcase.d.ts +0 -2
- package/dist/src/views/StepperShowcase.d.ts +0 -2
- package/dist/src/views/TabsShowcase.d.ts +0 -2
- package/dist/src/views/ValidationDemo.d.ts +0 -2
- package/dist/src/views/WrappersShowcase.d.ts +0 -2
- package/dist/src/views/components/AvatarPage.d.ts +0 -2
- package/dist/src/views/components/BadgePage.d.ts +0 -2
- package/dist/src/views/components/BannerPage.d.ts +0 -2
- package/dist/src/views/components/BreadcrumbPage.d.ts +0 -2
- package/dist/src/views/components/ButtonPage.d.ts +0 -2
- package/dist/src/views/components/CloudinaryImagePage.d.ts +0 -2
- package/dist/src/views/components/LoadingPage.d.ts +0 -2
- package/dist/src/views/components/LottiePage.d.ts +0 -2
- package/dist/src/views/components/MenuPage.d.ts +0 -2
- package/dist/src/views/components/ModalPage.d.ts +0 -2
- package/dist/src/views/components/ProgressPage.d.ts +0 -2
- package/dist/src/views/components/RichTextInputPage.d.ts +0 -2
- package/dist/src/views/components/TablePage.d.ts +0 -2
- package/dist/src/views/components/TextInputPage.d.ts +0 -2
- package/dist/src/views/components/TransitionPage.d.ts +0 -2
- package/dist/src/views/examples/CheckoutFormExample.d.ts +0 -2
- package/dist/src/views/examples/ContactFormExample.d.ts +0 -2
- package/dist/src/views/examples/RegistrationFormExample.d.ts +0 -2
- package/dist/src/views/examples/SettingsFormExample.d.ts +0 -2
- package/dist/src/views/forms/ValidationPage.d.ts +0 -2
- package/dist/src/views/inputs/CheckboxPage.d.ts +0 -2
- package/dist/src/views/inputs/ComboboxPage.d.ts +0 -2
- package/dist/src/views/inputs/DatepickerPage.d.ts +0 -2
- package/dist/src/views/inputs/EmailPage.d.ts +0 -2
- package/dist/src/views/inputs/FileDropzonePage.d.ts +0 -2
- package/dist/src/views/inputs/MiscInputsPage.d.ts +0 -2
- package/dist/src/views/inputs/PhonePage.d.ts +0 -2
- package/dist/src/views/inputs/SelectPage.d.ts +0 -2
- package/dist/src/views/inputs/SelectTextPage.d.ts +0 -2
- package/dist/src/views/inputs/SwitchGroupPage.d.ts +0 -2
- package/dist/src/views/inputs/SwitchPage.d.ts +0 -2
- package/dist/src/views/inputs/TextAreaPage.d.ts +0 -2
- package/dist/src/views/layouts/CardLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/DashboardLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/HeaderLayoutPage.d.ts +0 -2
- package/dist/src/views/layouts/SidebarLayoutPage.d.ts +0 -2
- package/dist/ui.css +0 -1
package/dist/tabs/TabGroup.js
CHANGED
package/dist/tabs/TabsInPills.js
CHANGED
package/dist/tabs/index.d.ts
CHANGED
package/dist/tabs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as a } from "../InlineTabs.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as s } from "../TabGroup.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as n } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as a } from "../InlineTabs.vue_vue_type_script_setup_true_lang-DGGJem-g.js";
|
|
2
|
+
import { _ as s } from "../TabGroup.vue_vue_type_script_setup_true_lang-DTWW7kYh.js";
|
|
3
|
+
import { _ as n } from "../TabGroupUnderline.vue_vue_type_script_setup_true_lang-B8e7kxad.js";
|
|
4
|
+
import { _ as f } from "../TabsInPills.vue_vue_type_script_setup_true_lang-Dzi4ENL1.js";
|
|
5
5
|
export {
|
|
6
6
|
a as InlineTabs,
|
|
7
7
|
s as TabGroup,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
function n(e) {
|
|
2
|
+
if (!e || typeof e == "object" && Object.keys(e).length === 0) return !0;
|
|
3
|
+
if (typeof e == "object" && "spec" in e)
|
|
4
|
+
return e.spec?.presence !== "required";
|
|
5
|
+
if (typeof e == "object" && "tests" in e && Array.isArray(e.tests))
|
|
6
|
+
return !e.tests.some(
|
|
7
|
+
(r) => r.OPTIONS?.name === "required" || r.name === "required"
|
|
8
|
+
);
|
|
9
|
+
if (typeof e == "object" && typeof e.describe == "function")
|
|
10
|
+
try {
|
|
11
|
+
const t = e.describe();
|
|
12
|
+
if (t.tests)
|
|
13
|
+
return !t.tests.some(
|
|
14
|
+
(r) => r.name === "required"
|
|
15
|
+
);
|
|
16
|
+
} catch {
|
|
17
|
+
}
|
|
18
|
+
return !0;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
n as i
|
|
22
|
+
};
|
package/dist/wrappers/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stachelock/ui",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "A comprehensive Vue 3 UI component library built with Tailwind CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -121,29 +121,28 @@
|
|
|
121
121
|
},
|
|
122
122
|
"homepage": "https://github.com/stachelock/ui#readme",
|
|
123
123
|
"peerDependencies": {
|
|
124
|
-
"tailwindcss": "^3.4.0",
|
|
125
124
|
"vue": "^3.3.0"
|
|
126
125
|
},
|
|
127
126
|
"dependencies": {
|
|
128
127
|
"@cloudinary/url-gen": "^1.11.2",
|
|
129
128
|
"@cloudinary/vue": "^1.11.2",
|
|
130
129
|
"@googlemaps/js-api-loader": "^1.16.2",
|
|
131
|
-
"@headlessui/vue": "^1.7.
|
|
132
|
-
"@heroicons/vue": "^2.0
|
|
130
|
+
"@headlessui/vue": "^1.7.23",
|
|
131
|
+
"@heroicons/vue": "^2.2.0",
|
|
133
132
|
"@tanstack/table-core": "^8.20.5",
|
|
134
133
|
"@tanstack/vue-table": "^8.20.5",
|
|
135
|
-
"@tiptap/extension-highlight": "^
|
|
136
|
-
"@tiptap/extension-link": "^
|
|
137
|
-
"@tiptap/extension-placeholder": "^
|
|
138
|
-
"@tiptap/extension-task-item": "^
|
|
139
|
-
"@tiptap/extension-task-list": "^
|
|
140
|
-
"@tiptap/extension-text-align": "^
|
|
141
|
-
"@tiptap/extension-underline": "^
|
|
142
|
-
"@tiptap/pm": "^
|
|
143
|
-
"@tiptap/starter-kit": "^
|
|
144
|
-
"@tiptap/vue-3": "^
|
|
134
|
+
"@tiptap/extension-highlight": "^3.15.3",
|
|
135
|
+
"@tiptap/extension-link": "^3.15.3",
|
|
136
|
+
"@tiptap/extension-placeholder": "^3.15.3",
|
|
137
|
+
"@tiptap/extension-task-item": "^3.15.3",
|
|
138
|
+
"@tiptap/extension-task-list": "^3.15.3",
|
|
139
|
+
"@tiptap/extension-text-align": "^3.15.3",
|
|
140
|
+
"@tiptap/extension-underline": "^3.15.3",
|
|
141
|
+
"@tiptap/pm": "^3.15.3",
|
|
142
|
+
"@tiptap/starter-kit": "^3.15.3",
|
|
143
|
+
"@tiptap/vue-3": "^3.15.3",
|
|
145
144
|
"@vuepic/vue-datepicker": "^7.4.1",
|
|
146
|
-
"@vueuse/core": "^
|
|
145
|
+
"@vueuse/core": "^14.1.0",
|
|
147
146
|
"date-fns": "^3.6.0",
|
|
148
147
|
"dayjs": "^1.11.11",
|
|
149
148
|
"echarts": "^5.6.0",
|
|
@@ -161,39 +160,40 @@
|
|
|
161
160
|
},
|
|
162
161
|
"devDependencies": {
|
|
163
162
|
"@rushstack/eslint-patch": "^1.3.3",
|
|
164
|
-
"@storybook/addon-docs": "
|
|
165
|
-
"@storybook/addon-essentials": "
|
|
166
|
-
"@storybook/addon-interactions": "
|
|
167
|
-
"@storybook/addon-links": "
|
|
168
|
-
"@storybook/blocks": "
|
|
163
|
+
"@storybook/addon-docs": "8.6",
|
|
164
|
+
"@storybook/addon-essentials": "8.6",
|
|
165
|
+
"@storybook/addon-interactions": "8.6",
|
|
166
|
+
"@storybook/addon-links": "8.6",
|
|
167
|
+
"@storybook/blocks": "8.6",
|
|
168
|
+
"@storybook/test": "^8.6.15",
|
|
169
169
|
"@storybook/testing-library": "^0.2.2",
|
|
170
|
-
"@storybook/vue3": "
|
|
171
|
-
"@storybook/vue3-vite": "
|
|
170
|
+
"@storybook/vue3": "8.6",
|
|
171
|
+
"@storybook/vue3-vite": "8.6",
|
|
172
172
|
"@tailwindcss/forms": "^0.5.7",
|
|
173
|
-
"@tailwindcss/typography": "^0.5.
|
|
173
|
+
"@tailwindcss/typography": "^0.5.15",
|
|
174
174
|
"@testing-library/vue": "^8.0.1",
|
|
175
175
|
"@tsconfig/node18": "^18.2.2",
|
|
176
176
|
"@types/google.maps": "^3.58.1",
|
|
177
177
|
"@types/lodash-es": "^4.17.12",
|
|
178
|
-
"@types/node": "^
|
|
178
|
+
"@types/node": "^22.19.6",
|
|
179
179
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
180
|
-
"@vitest/coverage-v8": "^
|
|
181
|
-
"@vitest/ui": "^
|
|
180
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
181
|
+
"@vitest/ui": "^4.0.16",
|
|
182
182
|
"@vue/eslint-config-typescript": "^12.0.0",
|
|
183
183
|
"@vue/test-utils": "^2.4.3",
|
|
184
184
|
"@vue/tsconfig": "^0.5.0",
|
|
185
|
-
"autoprefixer": "^10.4.
|
|
185
|
+
"autoprefixer": "^10.4.20",
|
|
186
186
|
"eslint": "^8.49.0",
|
|
187
187
|
"eslint-plugin-storybook": "^0.6.15",
|
|
188
188
|
"eslint-plugin-vue": "^9.17.0",
|
|
189
189
|
"jsdom": "^26.1.0",
|
|
190
190
|
"postcss": "^8.4.32",
|
|
191
|
-
"storybook": "
|
|
191
|
+
"storybook": "8.6",
|
|
192
192
|
"tailwindcss": "^3.4.17",
|
|
193
193
|
"typescript": "~5.3.0",
|
|
194
194
|
"vite": "^5.4.19",
|
|
195
195
|
"vite-plugin-dts": "^3.6.4",
|
|
196
|
-
"vitest": "^
|
|
196
|
+
"vitest": "^4.0.16",
|
|
197
197
|
"vue": "^3.5.18",
|
|
198
198
|
"vue-tsc": "^2.0.29"
|
|
199
199
|
},
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, ref as I, toRef as m, watch as n, nextTick as M, createElementBlock as V, openBlock as F, createVNode as K, unref as t, withCtx as f, renderSlot as q, createElementVNode as L, withKeys as N, normalizeClass as O, withModifiers as T } from "vue";
|
|
2
|
-
import { useField as $ } from "vee-validate";
|
|
3
|
-
import { string as z } from "yup";
|
|
4
|
-
import H from "./forms/FormFieldWrapper.js";
|
|
5
|
-
import { g as R } from "./id-DafBB_QF.js";
|
|
6
|
-
const S = { class: "sl-w-full" }, U = ["name", "id", "value", "placeholder", "autocomplete", "disabled", "onKeydown"], J = /* @__PURE__ */ C({
|
|
7
|
-
__name: "EmailInput",
|
|
8
|
-
props: {
|
|
9
|
-
name: {},
|
|
10
|
-
value: { default: "" },
|
|
11
|
-
label: { default: "Email" },
|
|
12
|
-
placeholder: { default: "you@example.com" },
|
|
13
|
-
disabled: { type: Boolean, default: !1 },
|
|
14
|
-
disabledMessage: { default: "" },
|
|
15
|
-
rules: { default: () => z().email("Invalid email address").required("Email is required") },
|
|
16
|
-
successMessage: { default: "" },
|
|
17
|
-
tertiaryLabel: { default: "" },
|
|
18
|
-
colorfulValidation: { type: Boolean, default: !0 },
|
|
19
|
-
showValidCheck: { type: Boolean, default: !0 },
|
|
20
|
-
showErrors: { type: Boolean, default: !1 },
|
|
21
|
-
autoComplete: { default: "email" }
|
|
22
|
-
},
|
|
23
|
-
emits: ["update:value", "update:validity", "focus", "blur", "submit"],
|
|
24
|
-
setup(l, { expose: h, emit: v }) {
|
|
25
|
-
const s = l, a = v, o = R(`sl-${s.name}`), r = I(!1), {
|
|
26
|
-
value: i,
|
|
27
|
-
errorMessage: g,
|
|
28
|
-
handleBlur: b,
|
|
29
|
-
handleChange: y,
|
|
30
|
-
meta: u,
|
|
31
|
-
validate: c,
|
|
32
|
-
setTouched: p
|
|
33
|
-
} = $(m(s, "name"), m(s, "rules"), {
|
|
34
|
-
initialValue: s.value,
|
|
35
|
-
validateOnValueUpdate: !0,
|
|
36
|
-
validateOnMount: !1
|
|
37
|
-
});
|
|
38
|
-
n(
|
|
39
|
-
() => s.value,
|
|
40
|
-
(e) => {
|
|
41
|
-
e !== void 0 && e !== i.value && (i.value = e);
|
|
42
|
-
},
|
|
43
|
-
{ immediate: !0 }
|
|
44
|
-
), n(
|
|
45
|
-
() => u.valid,
|
|
46
|
-
(e) => M(() => a("update:validity", e)),
|
|
47
|
-
{ immediate: !0 }
|
|
48
|
-
), n(i, (e, d) => {
|
|
49
|
-
e !== d && a("update:value", e || "");
|
|
50
|
-
});
|
|
51
|
-
function w(e) {
|
|
52
|
-
const d = e.target.value;
|
|
53
|
-
y(d), a("update:value", d);
|
|
54
|
-
}
|
|
55
|
-
async function k(e) {
|
|
56
|
-
r.value || (r.value = !0, p(!0)), await c(), b(e), a("blur", e);
|
|
57
|
-
}
|
|
58
|
-
function B(e) {
|
|
59
|
-
a("focus", e);
|
|
60
|
-
}
|
|
61
|
-
function x() {
|
|
62
|
-
u.valid && i.value && a("submit");
|
|
63
|
-
}
|
|
64
|
-
return h({
|
|
65
|
-
focus: () => {
|
|
66
|
-
document.getElementById(o)?.focus();
|
|
67
|
-
},
|
|
68
|
-
blur: () => {
|
|
69
|
-
document.getElementById(o)?.blur();
|
|
70
|
-
},
|
|
71
|
-
validate: c
|
|
72
|
-
}), (e, d) => (F(), V("div", S, [
|
|
73
|
-
K(H, {
|
|
74
|
-
id: t(o),
|
|
75
|
-
name: l.name,
|
|
76
|
-
label: l.label,
|
|
77
|
-
"tertiary-label": l.tertiaryLabel,
|
|
78
|
-
"error-message": t(g),
|
|
79
|
-
"success-message": l.successMessage,
|
|
80
|
-
"is-valid": t(u).valid,
|
|
81
|
-
"is-touched": t(u).touched,
|
|
82
|
-
"show-errors": l.showErrors,
|
|
83
|
-
"show-valid-check": l.showValidCheck,
|
|
84
|
-
"colorful-validation": l.colorfulValidation,
|
|
85
|
-
disabled: l.disabled,
|
|
86
|
-
"disabled-message": l.disabledMessage
|
|
87
|
-
}, {
|
|
88
|
-
default: f(({ inputClasses: E }) => [
|
|
89
|
-
L("input", {
|
|
90
|
-
name: l.name,
|
|
91
|
-
id: t(o),
|
|
92
|
-
type: "email",
|
|
93
|
-
value: t(i),
|
|
94
|
-
placeholder: l.placeholder,
|
|
95
|
-
autocomplete: l.autoComplete,
|
|
96
|
-
disabled: l.disabled,
|
|
97
|
-
class: O(["sl-block sl-w-full sl-bg-transparent sl-text-gray-900 dark:sl-text-gray-100 placeholder:sl-text-gray-400 dark:placeholder:sl-text-gray-500 focus:sl-ring-0 focus:sl-outline-none sm:sl-text-sm sm:sl-leading-6", [
|
|
98
|
-
E,
|
|
99
|
-
"sl-py-1.5 sl-pl-2",
|
|
100
|
-
{ "sl-text-gray-400": l.disabled },
|
|
101
|
-
{ "sl-pr-10": l.showValidCheck }
|
|
102
|
-
]]),
|
|
103
|
-
onInput: w,
|
|
104
|
-
onFocus: B,
|
|
105
|
-
onBlur: k,
|
|
106
|
-
onKeydown: N(T(x, ["prevent"]), ["enter"]),
|
|
107
|
-
enterkeyhint: "go",
|
|
108
|
-
"data-testid": "email-input"
|
|
109
|
-
}, null, 42, U)
|
|
110
|
-
]),
|
|
111
|
-
"input-right": f(() => [
|
|
112
|
-
q(e.$slots, "input-right")
|
|
113
|
-
]),
|
|
114
|
-
_: 3
|
|
115
|
-
}, 8, ["id", "name", "label", "tertiary-label", "error-message", "success-message", "is-valid", "is-touched", "show-errors", "show-valid-check", "colorful-validation", "disabled", "disabled-message"])
|
|
116
|
-
]));
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
export {
|
|
120
|
-
J as _
|
|
121
|
-
};
|