@lssm/lib.ui-kit-web 0.0.0-canary-20251120192244 → 0.0.0-canary-20251206181705
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/README.md +21 -0
- package/dist/node_modules/sonner/dist/index.js +467 -751
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/accordion.d.ts +6 -7
- package/dist/ui/accordion.js +4 -6
- package/dist/ui/alert-dialog.d.ts +13 -14
- package/dist/ui/alert-dialog.js +9 -11
- package/dist/ui/alert.d.ts +7 -8
- package/dist/ui/alert.js +4 -5
- package/dist/ui/aspect-ratio.d.ts +3 -4
- package/dist/ui/aspect-ratio.js +1 -3
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts +1 -2
- package/dist/ui/atoms/FilterSelect/FilterSelect.js +1 -2
- package/dist/ui/atoms/FilterSelect/types.d.ts +1 -2
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts +1 -2
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js +1 -2
- package/dist/ui/atoms/Pagination/Pagination.d.ts +1 -2
- package/dist/ui/atoms/Pagination/Pagination.js +1 -2
- package/dist/ui/atoms/Pagination/types.d.ts +1 -2
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts +1 -2
- package/dist/ui/atoms/SearchInput/SearchInput.js +1 -2
- package/dist/ui/atoms/SearchInput/types.d.ts +1 -2
- package/dist/ui/avatar.d.ts +5 -6
- package/dist/ui/avatar.js +4 -6
- package/dist/ui/badge.d.ts +5 -6
- package/dist/ui/badge.js +2 -3
- package/dist/ui/breadcrumb.d.ts +9 -10
- package/dist/ui/breadcrumb.js +7 -8
- package/dist/ui/button.d.ts +6 -7
- package/dist/ui/button.js +2 -3
- package/dist/ui/calendar.d.ts +4 -5
- package/dist/ui/calendar.js +6 -8
- package/dist/ui/card.d.ts +9 -10
- package/dist/ui/card.js +8 -9
- package/dist/ui/carousel.d.ts +7 -8
- package/dist/ui/carousel.js +6 -8
- package/dist/ui/checkbox.d.ts +3 -4
- package/dist/ui/checkbox.js +4 -6
- package/dist/ui/collapsible.d.ts +5 -6
- package/dist/ui/collapsible.js +1 -3
- package/dist/ui/command.d.ts +11 -12
- package/dist/ui/command.js +9 -11
- package/dist/ui/confirm-dialog.d.ts +3 -4
- package/dist/ui/confirm-dialog.js +1 -2
- package/dist/ui/context-menu.d.ts +3 -4
- package/dist/ui/context-menu.js +10 -12
- package/dist/ui/cta.d.ts +1 -2
- package/dist/ui/cta.js +2 -3
- package/dist/ui/date-picker.d.ts +3 -4
- package/dist/ui/date-picker.js +1 -3
- package/dist/ui/date-range-picker.d.ts +3 -4
- package/dist/ui/date-range-picker.js +1 -3
- package/dist/ui/datetime-picker.d.ts +3 -4
- package/dist/ui/datetime-picker.js +1 -3
- package/dist/ui/dialog.d.ts +12 -13
- package/dist/ui/dialog.js +7 -9
- package/dist/ui/drawer.d.ts +12 -13
- package/dist/ui/drawer.js +7 -9
- package/dist/ui/dropdown-menu.d.ts +17 -18
- package/dist/ui/dropdown-menu.js +10 -12
- package/dist/ui/empty-state.d.ts +5 -6
- package/dist/ui/empty-state.js +1 -2
- package/dist/ui/empty.d.ts +10 -11
- package/dist/ui/empty.js +7 -8
- package/dist/ui/field.d.ts +15 -16
- package/dist/ui/field.js +11 -13
- package/dist/ui/focus-on-route-change.d.ts +1 -2
- package/dist/ui/focus-on-route-change.js +1 -2
- package/dist/ui/form.d.ts +8 -9
- package/dist/ui/form.js +5 -7
- package/dist/ui/hover-card.d.ts +5 -6
- package/dist/ui/hover-card.js +2 -4
- package/dist/ui/input-group.d.ts +11 -12
- package/dist/ui/input-group.js +7 -9
- package/dist/ui/input-otp.d.ts +3 -4
- package/dist/ui/input-otp.js +4 -6
- package/dist/ui/input.d.ts +3 -4
- package/dist/ui/input.js +2 -3
- package/dist/ui/label.d.ts +3 -4
- package/dist/ui/label.js +2 -4
- package/dist/ui/link.d.ts +4 -5
- package/dist/ui/link.js +2 -3
- package/dist/ui/live-region.d.ts +3 -4
- package/dist/ui/live-region.js +1 -3
- package/dist/ui/loading-button.d.ts +3 -4
- package/dist/ui/loading-button.js +2 -3
- package/dist/ui/map/MapBase.d.ts +3 -4
- package/dist/ui/map/MapBase.js +1 -3
- package/dist/ui/map/MapGeoJsonOverlay.d.ts +3 -4
- package/dist/ui/map/MapGeoJsonOverlay.js +1 -3
- package/dist/ui/map/MapHeatmapH3.d.ts +3 -4
- package/dist/ui/map/MapHeatmapH3.js +1 -3
- package/dist/ui/map/MapMarkers.d.ts +3 -4
- package/dist/ui/map/MapMarkers.js +1 -3
- package/dist/ui/marketing/FeatureGrid.d.ts +3 -4
- package/dist/ui/marketing/FeatureGrid.js +1 -2
- package/dist/ui/marketing/Hero.d.ts +3 -4
- package/dist/ui/marketing/Hero.js +1 -2
- package/dist/ui/marketing/PricingTable.d.ts +3 -4
- package/dist/ui/marketing/PricingTable.js +1 -2
- package/dist/ui/menubar.d.ts +18 -19
- package/dist/ui/menubar.js +12 -14
- package/dist/ui/molecules/Autocomplete/index.d.ts +3 -4
- package/dist/ui/molecules/Autocomplete/index.js +1 -3
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts +1 -2
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js +1 -2
- package/dist/ui/molecules/SearchAndFilter/types.d.ts +1 -2
- package/dist/ui/molecules/SkeletonList.d.ts +3 -4
- package/dist/ui/molecules/SkeletonList.js +1 -2
- package/dist/ui/nav-layout.d.ts +8 -9
- package/dist/ui/nav-layout.js +2 -3
- package/dist/ui/navigation-menu.d.ts +12 -13
- package/dist/ui/navigation-menu.js +9 -10
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +1 -2
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js +1 -3
- package/dist/ui/organisms/ListPage/ListPage.d.ts +3 -4
- package/dist/ui/organisms/ListPage/ListPage.js +1 -2
- package/dist/ui/organisms/ListPage/types.d.ts +1 -2
- package/dist/ui/page-header.d.ts +5 -6
- package/dist/ui/page-header.js +1 -2
- package/dist/ui/pagination.d.ts +7 -8
- package/dist/ui/pagination.js +8 -9
- package/dist/ui/popover.d.ts +6 -7
- package/dist/ui/popover.js +2 -4
- package/dist/ui/progress.d.ts +3 -4
- package/dist/ui/progress.js +2 -4
- package/dist/ui/radio-group.d.ts +4 -5
- package/dist/ui/radio-group.js +3 -5
- package/dist/ui/resizable.d.ts +8 -9
- package/dist/ui/resizable.js +3 -5
- package/dist/ui/route-announcer.d.ts +3 -4
- package/dist/ui/route-announcer.js +1 -3
- package/dist/ui/scroll-area.d.ts +4 -5
- package/dist/ui/scroll-area.js +3 -5
- package/dist/ui/section.d.ts +6 -7
- package/dist/ui/section.js +2 -3
- package/dist/ui/select.d.ts +12 -13
- package/dist/ui/select.js +8 -10
- package/dist/ui/separator.d.ts +3 -4
- package/dist/ui/separator.js +2 -4
- package/dist/ui/sheet.d.ts +10 -11
- package/dist/ui/sheet.js +7 -9
- package/dist/ui/sidebar.d.ts +29 -30
- package/dist/ui/sidebar.js +24 -26
- package/dist/ui/skeleton.d.ts +3 -4
- package/dist/ui/skeleton.js +2 -3
- package/dist/ui/skip-link.d.ts +3 -4
- package/dist/ui/skip-link.js +2 -3
- package/dist/ui/slider.d.ts +3 -4
- package/dist/ui/slider.js +2 -4
- package/dist/ui/sonner.d.ts +3 -4
- package/dist/ui/sonner.js +3 -5
- package/dist/ui/stack.d.ts +14 -15
- package/dist/ui/stack.js +4 -5
- package/dist/ui/stat-card-group.d.ts +3 -4
- package/dist/ui/stat-card-group.js +1 -2
- package/dist/ui/stepper.d.ts +5 -6
- package/dist/ui/stepper.js +1 -2
- package/dist/ui/switch.d.ts +6 -4
- package/dist/ui/switch.js +4 -5
- package/dist/ui/table.d.ts +10 -11
- package/dist/ui/table.js +9 -11
- package/dist/ui/tabs.d.ts +6 -7
- package/dist/ui/tabs.js +5 -7
- package/dist/ui/text.d.ts +3 -4
- package/dist/ui/text.js +2 -3
- package/dist/ui/textarea.d.ts +3 -4
- package/dist/ui/textarea.js +2 -3
- package/dist/ui/time-picker.d.ts +1 -2
- package/dist/ui/time-picker.js +1 -3
- package/dist/ui/toast.d.ts +3 -4
- package/dist/ui/toast.js +7 -9
- package/dist/ui/toaster.d.ts +3 -4
- package/dist/ui/toaster.js +2 -4
- package/dist/ui/toggle-group.d.ts +4 -5
- package/dist/ui/toggle-group.js +3 -5
- package/dist/ui/toggle.d.ts +5 -6
- package/dist/ui/toggle.js +2 -4
- package/dist/ui/tooltip.d.ts +6 -7
- package/dist/ui/tooltip.js +3 -5
- package/dist/ui/typography.d.ts +13 -14
- package/dist/ui/typography.js +12 -13
- package/dist/ui/use-media-query.d.ts +1 -2
- package/dist/ui/use-media-query.js +1 -2
- package/dist/ui/use-mobile.d.ts +1 -2
- package/dist/ui/use-mobile.js +1 -2
- package/dist/ui/use-reduced-motion.d.ts +1 -2
- package/dist/ui/use-reduced-motion.js +1 -2
- package/dist/ui/use-toast.d.ts +1 -2
- package/dist/ui/use-toast.js +1 -3
- package/dist/ui/useListState.d.ts +1 -2
- package/dist/ui/useListState.js +1 -2
- package/dist/ui/usecases/UseCaseCard.d.ts +3 -4
- package/dist/ui/usecases/UseCaseCard.js +1 -2
- package/dist/ui/usecases/UserStoryCard.d.ts +3 -4
- package/dist/ui/usecases/UserStoryCard.js +1 -2
- package/dist/ui/utils.d.ts +1 -2
- package/dist/ui/utils.js +1 -2
- package/dist/ui/visually-hidden.d.ts +1 -2
- package/dist/ui/visually-hidden.js +2 -3
- package/package.json +17 -14
- package/dist/node_modules/sonner/dist/index.js.map +0 -1
- package/dist/ui/accordion.d.ts.map +0 -1
- package/dist/ui/accordion.js.map +0 -1
- package/dist/ui/alert-dialog.d.ts.map +0 -1
- package/dist/ui/alert-dialog.js.map +0 -1
- package/dist/ui/alert.d.ts.map +0 -1
- package/dist/ui/alert.js.map +0 -1
- package/dist/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/ui/aspect-ratio.js.map +0 -1
- package/dist/ui/atoms/FilterSelect/FilterSelect.d.ts.map +0 -1
- package/dist/ui/atoms/FilterSelect/FilterSelect.js.map +0 -1
- package/dist/ui/atoms/FilterSelect/types.d.ts.map +0 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +0 -1
- package/dist/ui/atoms/LoadingSpinner/LoadingSpinner.js.map +0 -1
- package/dist/ui/atoms/Pagination/Pagination.d.ts.map +0 -1
- package/dist/ui/atoms/Pagination/Pagination.js.map +0 -1
- package/dist/ui/atoms/Pagination/types.d.ts.map +0 -1
- package/dist/ui/atoms/SearchInput/SearchInput.d.ts.map +0 -1
- package/dist/ui/atoms/SearchInput/SearchInput.js.map +0 -1
- package/dist/ui/atoms/SearchInput/types.d.ts.map +0 -1
- package/dist/ui/avatar.d.ts.map +0 -1
- package/dist/ui/avatar.js.map +0 -1
- package/dist/ui/badge.d.ts.map +0 -1
- package/dist/ui/badge.js.map +0 -1
- package/dist/ui/breadcrumb.d.ts.map +0 -1
- package/dist/ui/breadcrumb.js.map +0 -1
- package/dist/ui/button.d.ts.map +0 -1
- package/dist/ui/button.js.map +0 -1
- package/dist/ui/calendar.d.ts.map +0 -1
- package/dist/ui/calendar.js.map +0 -1
- package/dist/ui/card.d.ts.map +0 -1
- package/dist/ui/card.js.map +0 -1
- package/dist/ui/carousel.d.ts.map +0 -1
- package/dist/ui/carousel.js.map +0 -1
- package/dist/ui/checkbox.d.ts.map +0 -1
- package/dist/ui/checkbox.js.map +0 -1
- package/dist/ui/collapsible.d.ts.map +0 -1
- package/dist/ui/collapsible.js.map +0 -1
- package/dist/ui/command.d.ts.map +0 -1
- package/dist/ui/command.js.map +0 -1
- package/dist/ui/confirm-dialog.d.ts.map +0 -1
- package/dist/ui/confirm-dialog.js.map +0 -1
- package/dist/ui/context-menu.d.ts.map +0 -1
- package/dist/ui/context-menu.js.map +0 -1
- package/dist/ui/cta.d.ts.map +0 -1
- package/dist/ui/cta.js.map +0 -1
- package/dist/ui/date-picker.d.ts.map +0 -1
- package/dist/ui/date-picker.js.map +0 -1
- package/dist/ui/date-range-picker.d.ts.map +0 -1
- package/dist/ui/date-range-picker.js.map +0 -1
- package/dist/ui/datetime-picker.d.ts.map +0 -1
- package/dist/ui/datetime-picker.js.map +0 -1
- package/dist/ui/dialog.d.ts.map +0 -1
- package/dist/ui/dialog.js.map +0 -1
- package/dist/ui/drawer.d.ts.map +0 -1
- package/dist/ui/drawer.js.map +0 -1
- package/dist/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/ui/dropdown-menu.js.map +0 -1
- package/dist/ui/empty-state.d.ts.map +0 -1
- package/dist/ui/empty-state.js.map +0 -1
- package/dist/ui/empty.d.ts.map +0 -1
- package/dist/ui/empty.js.map +0 -1
- package/dist/ui/field.d.ts.map +0 -1
- package/dist/ui/field.js.map +0 -1
- package/dist/ui/focus-on-route-change.d.ts.map +0 -1
- package/dist/ui/focus-on-route-change.js.map +0 -1
- package/dist/ui/form.d.ts.map +0 -1
- package/dist/ui/form.js.map +0 -1
- package/dist/ui/hover-card.d.ts.map +0 -1
- package/dist/ui/hover-card.js.map +0 -1
- package/dist/ui/input-group.d.ts.map +0 -1
- package/dist/ui/input-group.js.map +0 -1
- package/dist/ui/input-otp.d.ts.map +0 -1
- package/dist/ui/input-otp.js.map +0 -1
- package/dist/ui/input.d.ts.map +0 -1
- package/dist/ui/input.js.map +0 -1
- package/dist/ui/label.d.ts.map +0 -1
- package/dist/ui/label.js.map +0 -1
- package/dist/ui/link.d.ts.map +0 -1
- package/dist/ui/link.js.map +0 -1
- package/dist/ui/live-region.d.ts.map +0 -1
- package/dist/ui/live-region.js.map +0 -1
- package/dist/ui/loading-button.d.ts.map +0 -1
- package/dist/ui/loading-button.js.map +0 -1
- package/dist/ui/map/MapBase.d.ts.map +0 -1
- package/dist/ui/map/MapBase.js.map +0 -1
- package/dist/ui/map/MapGeoJsonOverlay.d.ts.map +0 -1
- package/dist/ui/map/MapGeoJsonOverlay.js.map +0 -1
- package/dist/ui/map/MapHeatmapH3.d.ts.map +0 -1
- package/dist/ui/map/MapHeatmapH3.js.map +0 -1
- package/dist/ui/map/MapMarkers.d.ts.map +0 -1
- package/dist/ui/map/MapMarkers.js.map +0 -1
- package/dist/ui/marketing/FeatureGrid.d.ts.map +0 -1
- package/dist/ui/marketing/FeatureGrid.js.map +0 -1
- package/dist/ui/marketing/Hero.d.ts.map +0 -1
- package/dist/ui/marketing/Hero.js.map +0 -1
- package/dist/ui/marketing/PricingTable.d.ts.map +0 -1
- package/dist/ui/marketing/PricingTable.js.map +0 -1
- package/dist/ui/menubar.d.ts.map +0 -1
- package/dist/ui/menubar.js.map +0 -1
- package/dist/ui/molecules/Autocomplete/index.d.ts.map +0 -1
- package/dist/ui/molecules/Autocomplete/index.js.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.d.ts.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js.map +0 -1
- package/dist/ui/molecules/SearchAndFilter/types.d.ts.map +0 -1
- package/dist/ui/molecules/SkeletonList.d.ts.map +0 -1
- package/dist/ui/molecules/SkeletonList.js.map +0 -1
- package/dist/ui/nav-layout.d.ts.map +0 -1
- package/dist/ui/nav-layout.js.map +0 -1
- package/dist/ui/navigation-menu.d.ts.map +0 -1
- package/dist/ui/navigation-menu.js.map +0 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts.map +0 -1
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.js.map +0 -1
- package/dist/ui/organisms/ListPage/ListPage.d.ts.map +0 -1
- package/dist/ui/organisms/ListPage/ListPage.js.map +0 -1
- package/dist/ui/organisms/ListPage/types.d.ts.map +0 -1
- package/dist/ui/page-header.d.ts.map +0 -1
- package/dist/ui/page-header.js.map +0 -1
- package/dist/ui/pagination.d.ts.map +0 -1
- package/dist/ui/pagination.js.map +0 -1
- package/dist/ui/popover.d.ts.map +0 -1
- package/dist/ui/popover.js.map +0 -1
- package/dist/ui/progress.d.ts.map +0 -1
- package/dist/ui/progress.js.map +0 -1
- package/dist/ui/radio-group.d.ts.map +0 -1
- package/dist/ui/radio-group.js.map +0 -1
- package/dist/ui/resizable.d.ts.map +0 -1
- package/dist/ui/resizable.js.map +0 -1
- package/dist/ui/route-announcer.d.ts.map +0 -1
- package/dist/ui/route-announcer.js.map +0 -1
- package/dist/ui/scroll-area.d.ts.map +0 -1
- package/dist/ui/scroll-area.js.map +0 -1
- package/dist/ui/section.d.ts.map +0 -1
- package/dist/ui/section.js.map +0 -1
- package/dist/ui/select.d.ts.map +0 -1
- package/dist/ui/select.js.map +0 -1
- package/dist/ui/separator.d.ts.map +0 -1
- package/dist/ui/separator.js.map +0 -1
- package/dist/ui/sheet.d.ts.map +0 -1
- package/dist/ui/sheet.js.map +0 -1
- package/dist/ui/sidebar.d.ts.map +0 -1
- package/dist/ui/sidebar.js.map +0 -1
- package/dist/ui/skeleton.d.ts.map +0 -1
- package/dist/ui/skeleton.js.map +0 -1
- package/dist/ui/skip-link.d.ts.map +0 -1
- package/dist/ui/skip-link.js.map +0 -1
- package/dist/ui/slider.d.ts.map +0 -1
- package/dist/ui/slider.js.map +0 -1
- package/dist/ui/sonner.d.ts.map +0 -1
- package/dist/ui/sonner.js.map +0 -1
- package/dist/ui/stack.d.ts.map +0 -1
- package/dist/ui/stack.js.map +0 -1
- package/dist/ui/stat-card-group.d.ts.map +0 -1
- package/dist/ui/stat-card-group.js.map +0 -1
- package/dist/ui/stepper.d.ts.map +0 -1
- package/dist/ui/stepper.js.map +0 -1
- package/dist/ui/switch.d.ts.map +0 -1
- package/dist/ui/switch.js.map +0 -1
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/table.js.map +0 -1
- package/dist/ui/tabs.d.ts.map +0 -1
- package/dist/ui/tabs.js.map +0 -1
- package/dist/ui/text.d.ts.map +0 -1
- package/dist/ui/text.js.map +0 -1
- package/dist/ui/textarea.d.ts.map +0 -1
- package/dist/ui/textarea.js.map +0 -1
- package/dist/ui/time-picker.d.ts.map +0 -1
- package/dist/ui/time-picker.js.map +0 -1
- package/dist/ui/toast.d.ts.map +0 -1
- package/dist/ui/toast.js.map +0 -1
- package/dist/ui/toaster.d.ts.map +0 -1
- package/dist/ui/toaster.js.map +0 -1
- package/dist/ui/toggle-group.d.ts.map +0 -1
- package/dist/ui/toggle-group.js.map +0 -1
- package/dist/ui/toggle.d.ts.map +0 -1
- package/dist/ui/toggle.js.map +0 -1
- package/dist/ui/tooltip.d.ts.map +0 -1
- package/dist/ui/tooltip.js.map +0 -1
- package/dist/ui/typography.d.ts.map +0 -1
- package/dist/ui/typography.js.map +0 -1
- package/dist/ui/use-media-query.d.ts.map +0 -1
- package/dist/ui/use-media-query.js.map +0 -1
- package/dist/ui/use-mobile.d.ts.map +0 -1
- package/dist/ui/use-mobile.js.map +0 -1
- package/dist/ui/use-reduced-motion.d.ts.map +0 -1
- package/dist/ui/use-reduced-motion.js.map +0 -1
- package/dist/ui/use-toast.d.ts.map +0 -1
- package/dist/ui/use-toast.js.map +0 -1
- package/dist/ui/useListState.d.ts.map +0 -1
- package/dist/ui/useListState.js.map +0 -1
- package/dist/ui/usecases/UseCaseCard.d.ts.map +0 -1
- package/dist/ui/usecases/UseCaseCard.js.map +0 -1
- package/dist/ui/usecases/UserStoryCard.d.ts.map +0 -1
- package/dist/ui/usecases/UserStoryCard.js.map +0 -1
- package/dist/ui/utils.d.ts.map +0 -1
- package/dist/ui/utils.js.map +0 -1
- package/dist/ui/visually-hidden.d.ts.map +0 -1
- package/dist/ui/visually-hidden.js.map +0 -1
package/dist/ui/stepper.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime146 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types13 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/stepper.d.ts
|
|
6
6
|
declare const dotVariants: (props?: ({
|
|
7
7
|
state?: "active" | "inactive" | null | undefined;
|
|
8
8
|
size?: "sm" | "md" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types13.ClassProp) | undefined) => string;
|
|
10
10
|
interface StepperProps extends VariantProps<typeof dotVariants> {
|
|
11
11
|
current: number;
|
|
12
12
|
total: number;
|
|
@@ -17,7 +17,6 @@ declare function Stepper({
|
|
|
17
17
|
total,
|
|
18
18
|
size,
|
|
19
19
|
className
|
|
20
|
-
}: StepperProps):
|
|
20
|
+
}: StepperProps): react_jsx_runtime146.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { Stepper, StepperProps };
|
|
23
|
-
//# sourceMappingURL=stepper.d.ts.map
|
|
22
|
+
export { Stepper, StepperProps };
|
package/dist/ui/stepper.js
CHANGED
package/dist/ui/switch.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime121 from "react/jsx-runtime";
|
|
3
3
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
4
4
|
|
|
5
5
|
//#region ui/switch.d.ts
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
|
+
thumbClassName,
|
|
8
9
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof SwitchPrimitive.Root>
|
|
10
|
+
}: React$1.ComponentProps<typeof SwitchPrimitive.Root> & {
|
|
11
|
+
thumbClassName?: string;
|
|
12
|
+
}): react_jsx_runtime121.JSX.Element;
|
|
10
13
|
//#endregion
|
|
11
|
-
export { Switch };
|
|
12
|
-
//# sourceMappingURL=switch.d.ts.map
|
|
14
|
+
export { Switch };
|
package/dist/ui/switch.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
7
|
import * as SwitchPrimitive from "@radix-ui/react-switch";
|
|
8
8
|
|
|
9
9
|
//#region ui/switch.tsx
|
|
10
|
-
function Switch({ className
|
|
10
|
+
function Switch({ className, thumbClassName, ...props }) {
|
|
11
11
|
return /* @__PURE__ */ jsx(SwitchPrimitive.Root, {
|
|
12
12
|
"data-slot": "switch",
|
|
13
13
|
className: cn("peer focus-visible:border-ring focus-visible:ring-ring/50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-2xs outline-hidden transition-all focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className),
|
|
14
14
|
...props,
|
|
15
15
|
children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, {
|
|
16
16
|
"data-slot": "switch-thumb",
|
|
17
|
-
className: cn("bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")
|
|
17
|
+
className: cn("bg-background dark:data-[state=checked]:bg-primary-foreground dark:data-[state=unchecked]:bg-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0", thumbClassName)
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Switch };
|
|
24
|
-
//# sourceMappingURL=switch.js.map
|
|
23
|
+
export { Switch };
|
package/dist/ui/table.d.ts
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime135 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/table.d.ts
|
|
5
5
|
declare function Table({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<'table'>):
|
|
8
|
+
}: React$1.ComponentProps<'table'>): react_jsx_runtime135.JSX.Element;
|
|
9
9
|
declare function TableHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<'thead'>):
|
|
12
|
+
}: React$1.ComponentProps<'thead'>): react_jsx_runtime135.JSX.Element;
|
|
13
13
|
declare function TableBody({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<'tbody'>):
|
|
16
|
+
}: React$1.ComponentProps<'tbody'>): react_jsx_runtime135.JSX.Element;
|
|
17
17
|
declare function TableFooter({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React$1.ComponentProps<'tfoot'>):
|
|
20
|
+
}: React$1.ComponentProps<'tfoot'>): react_jsx_runtime135.JSX.Element;
|
|
21
21
|
declare function TableRow({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React$1.ComponentProps<'tr'>):
|
|
24
|
+
}: React$1.ComponentProps<'tr'>): react_jsx_runtime135.JSX.Element;
|
|
25
25
|
declare function TableHead({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<'th'>):
|
|
28
|
+
}: React$1.ComponentProps<'th'>): react_jsx_runtime135.JSX.Element;
|
|
29
29
|
declare function TableCell({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<'td'>):
|
|
32
|
+
}: React$1.ComponentProps<'td'>): react_jsx_runtime135.JSX.Element;
|
|
33
33
|
declare function TableCaption({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<'caption'>):
|
|
36
|
+
}: React$1.ComponentProps<'caption'>): react_jsx_runtime135.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
|
-
//# sourceMappingURL=table.d.ts.map
|
|
38
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/ui/table.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
|
|
8
7
|
//#region ui/table.tsx
|
|
9
|
-
function Table({ className
|
|
8
|
+
function Table({ className, ...props }) {
|
|
10
9
|
return /* @__PURE__ */ jsx("div", {
|
|
11
10
|
"data-slot": "table-container",
|
|
12
11
|
className: "relative w-full overflow-x-auto",
|
|
@@ -17,49 +16,49 @@ function Table({ className,...props }) {
|
|
|
17
16
|
})
|
|
18
17
|
});
|
|
19
18
|
}
|
|
20
|
-
function TableHeader({ className
|
|
19
|
+
function TableHeader({ className, ...props }) {
|
|
21
20
|
return /* @__PURE__ */ jsx("thead", {
|
|
22
21
|
"data-slot": "table-header",
|
|
23
22
|
className: cn("[&_tr]:border-b", className),
|
|
24
23
|
...props
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
function TableBody({ className
|
|
26
|
+
function TableBody({ className, ...props }) {
|
|
28
27
|
return /* @__PURE__ */ jsx("tbody", {
|
|
29
28
|
"data-slot": "table-body",
|
|
30
29
|
className: cn("[&_tr:last-child]:border-0", className),
|
|
31
30
|
...props
|
|
32
31
|
});
|
|
33
32
|
}
|
|
34
|
-
function TableFooter({ className
|
|
33
|
+
function TableFooter({ className, ...props }) {
|
|
35
34
|
return /* @__PURE__ */ jsx("tfoot", {
|
|
36
35
|
"data-slot": "table-footer",
|
|
37
36
|
className: cn("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
|
|
38
37
|
...props
|
|
39
38
|
});
|
|
40
39
|
}
|
|
41
|
-
function TableRow({ className
|
|
40
|
+
function TableRow({ className, ...props }) {
|
|
42
41
|
return /* @__PURE__ */ jsx("tr", {
|
|
43
42
|
"data-slot": "table-row",
|
|
44
43
|
className: cn("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
|
|
45
44
|
...props
|
|
46
45
|
});
|
|
47
46
|
}
|
|
48
|
-
function TableHead({ className
|
|
47
|
+
function TableHead({ className, ...props }) {
|
|
49
48
|
return /* @__PURE__ */ jsx("th", {
|
|
50
49
|
"data-slot": "table-head",
|
|
51
50
|
className: cn("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
|
|
52
51
|
...props
|
|
53
52
|
});
|
|
54
53
|
}
|
|
55
|
-
function TableCell({ className
|
|
54
|
+
function TableCell({ className, ...props }) {
|
|
56
55
|
return /* @__PURE__ */ jsx("td", {
|
|
57
56
|
"data-slot": "table-cell",
|
|
58
57
|
className: cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className),
|
|
59
58
|
...props
|
|
60
59
|
});
|
|
61
60
|
}
|
|
62
|
-
function TableCaption({ className
|
|
61
|
+
function TableCaption({ className, ...props }) {
|
|
63
62
|
return /* @__PURE__ */ jsx("caption", {
|
|
64
63
|
"data-slot": "table-caption",
|
|
65
64
|
className: cn("text-muted-foreground mt-4 text-sm", className),
|
|
@@ -68,5 +67,4 @@ function TableCaption({ className,...props }) {
|
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
//#endregion
|
|
71
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
72
|
-
//# sourceMappingURL=table.js.map
|
|
70
|
+
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
package/dist/ui/tabs.d.ts
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime97 from "react/jsx-runtime";
|
|
3
3
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
4
4
|
|
|
5
5
|
//#region ui/tabs.d.ts
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Root>):
|
|
9
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Root>): react_jsx_runtime97.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.List>):
|
|
13
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.List>): react_jsx_runtime97.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Trigger>):
|
|
17
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Trigger>): react_jsx_runtime97.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof TabsPrimitive.Content>):
|
|
21
|
+
}: React$1.ComponentProps<typeof TabsPrimitive.Content>): react_jsx_runtime97.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
|
-
//# sourceMappingURL=tabs.d.ts.map
|
|
23
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
package/dist/ui/tabs.js
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
8
7
|
|
|
9
8
|
//#region ui/tabs.tsx
|
|
10
|
-
function Tabs({ className
|
|
9
|
+
function Tabs({ className, ...props }) {
|
|
11
10
|
return /* @__PURE__ */ jsx(TabsPrimitive.Root, {
|
|
12
11
|
"data-slot": "tabs",
|
|
13
12
|
className: cn("flex flex-col gap-2", className),
|
|
14
13
|
...props
|
|
15
14
|
});
|
|
16
15
|
}
|
|
17
|
-
function TabsList({ className
|
|
16
|
+
function TabsList({ className, ...props }) {
|
|
18
17
|
return /* @__PURE__ */ jsx(TabsPrimitive.List, {
|
|
19
18
|
"data-slot": "tabs-list",
|
|
20
19
|
className: cn("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]", className),
|
|
21
20
|
...props
|
|
22
21
|
});
|
|
23
22
|
}
|
|
24
|
-
function TabsTrigger({ className
|
|
23
|
+
function TabsTrigger({ className, ...props }) {
|
|
25
24
|
return /* @__PURE__ */ jsx(TabsPrimitive.Trigger, {
|
|
26
25
|
"data-slot": "tabs-trigger",
|
|
27
26
|
className: cn("text-foreground focus-visible:border-ring focus-visible:outline-ring focus-visible:ring-ring/50 data-[state=active]:bg-background dark:text-muted-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-2xs [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
28
27
|
...props
|
|
29
28
|
});
|
|
30
29
|
}
|
|
31
|
-
function TabsContent({ className
|
|
30
|
+
function TabsContent({ className, ...props }) {
|
|
32
31
|
return /* @__PURE__ */ jsx(TabsPrimitive.Content, {
|
|
33
32
|
"data-slot": "tabs-content",
|
|
34
33
|
className: cn("flex-1 outline-hidden", className),
|
|
@@ -37,5 +36,4 @@ function TabsContent({ className,...props }) {
|
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
//#endregion
|
|
40
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
41
|
-
//# sourceMappingURL=tabs.js.map
|
|
39
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
package/dist/ui/text.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime170 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/text.d.ts
|
|
5
5
|
type TextProps = React$1.HTMLProps<HTMLParagraphElement> & {
|
|
@@ -10,7 +10,6 @@ declare function Text({
|
|
|
10
10
|
className,
|
|
11
11
|
asChild,
|
|
12
12
|
...props
|
|
13
|
-
}: TextProps):
|
|
13
|
+
}: TextProps): react_jsx_runtime170.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Text, TextProps };
|
|
16
|
-
//# sourceMappingURL=text.d.ts.map
|
|
15
|
+
export { Text, TextProps };
|
package/dist/ui/text.js
CHANGED
|
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
5
|
|
|
6
6
|
//#region ui/text.tsx
|
|
7
|
-
function Text({ className, asChild = false
|
|
7
|
+
function Text({ className, asChild = false, ...props }) {
|
|
8
8
|
return /* @__PURE__ */ jsx(asChild ? Slot : "p", {
|
|
9
9
|
className: cn("text-foreground web:select-text text-base", className),
|
|
10
10
|
...props
|
|
@@ -12,5 +12,4 @@ function Text({ className, asChild = false,...props }) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Text };
|
|
16
|
-
//# sourceMappingURL=text.js.map
|
|
15
|
+
export { Text };
|
package/dist/ui/textarea.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime175 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/textarea.d.ts
|
|
5
5
|
type TextareaProps = React$1.ComponentProps<'textarea'>;
|
|
6
6
|
declare function Textarea({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: TextareaProps):
|
|
9
|
+
}: TextareaProps): react_jsx_runtime175.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { Textarea, TextareaProps };
|
|
12
|
-
//# sourceMappingURL=textarea.d.ts.map
|
|
11
|
+
export { Textarea, TextareaProps };
|
package/dist/ui/textarea.js
CHANGED
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region ui/textarea.tsx
|
|
6
|
-
function Textarea({ className
|
|
6
|
+
function Textarea({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx("textarea", {
|
|
8
8
|
"data-slot": "textarea",
|
|
9
9
|
className: cn("aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-2xs outline-hidden transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", className),
|
|
@@ -12,5 +12,4 @@ function Textarea({ className,...props }) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Textarea };
|
|
16
|
-
//# sourceMappingURL=textarea.js.map
|
|
15
|
+
export { Textarea };
|
package/dist/ui/time-picker.d.ts
CHANGED
package/dist/ui/time-picker.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { Button } from "./button.js";
|
|
6
5
|
import { Popover, PopoverContent, PopoverTrigger } from "./popover.js";
|
|
@@ -78,5 +77,4 @@ function TimePicker({ value, onChange, disabled, placeholder = "Select time", is
|
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
//#endregion
|
|
81
|
-
export { TimePicker };
|
|
82
|
-
//# sourceMappingURL=time-picker.js.map
|
|
80
|
+
export { TimePicker };
|
package/dist/ui/toast.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types17 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/toast.d.ts
|
|
7
7
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
8
8
|
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
9
9
|
declare const Toast: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
10
10
|
variant?: "default" | "destructive" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types17.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
12
12
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
13
13
|
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
14
14
|
declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -16,5 +16,4 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrim
|
|
|
16
16
|
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast>;
|
|
17
17
|
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
18
18
|
//#endregion
|
|
19
|
-
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
|
|
20
|
-
//# sourceMappingURL=toast.d.ts.map
|
|
19
|
+
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport };
|
package/dist/ui/toast.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import * as React$1 from "react";
|
|
6
5
|
import { X } from "lucide-react";
|
|
@@ -10,7 +9,7 @@ import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
|
10
9
|
|
|
11
10
|
//#region ui/toast.tsx
|
|
12
11
|
const ToastProvider = ToastPrimitives.Provider;
|
|
13
|
-
const ToastViewport = React$1.forwardRef(({ className
|
|
12
|
+
const ToastViewport = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Viewport, {
|
|
14
13
|
ref,
|
|
15
14
|
className: cn("fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:top-auto sm:right-0 sm:bottom-0 sm:flex-col md:max-w-[420px]", className),
|
|
16
15
|
...props
|
|
@@ -23,7 +22,7 @@ const toastVariants = cva("group pointer-events-auto relative flex w-full items-
|
|
|
23
22
|
} },
|
|
24
23
|
defaultVariants: { variant: "default" }
|
|
25
24
|
});
|
|
26
|
-
const Toast = React$1.forwardRef(({ className, variant
|
|
25
|
+
const Toast = React$1.forwardRef(({ className, variant, ...props }, ref) => {
|
|
27
26
|
return /* @__PURE__ */ jsx(ToastPrimitives.Root, {
|
|
28
27
|
ref,
|
|
29
28
|
className: cn(toastVariants({ variant }), className),
|
|
@@ -31,13 +30,13 @@ const Toast = React$1.forwardRef(({ className, variant,...props }, ref) => {
|
|
|
31
30
|
});
|
|
32
31
|
});
|
|
33
32
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
34
|
-
const ToastAction = React$1.forwardRef(({ className
|
|
33
|
+
const ToastAction = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Action, {
|
|
35
34
|
ref,
|
|
36
35
|
className: cn("ring-offset-background hover:bg-secondary focus:ring-ring group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-base font-medium transition-colors focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none disabled:opacity-50", className),
|
|
37
36
|
...props
|
|
38
37
|
}));
|
|
39
38
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
40
|
-
const ToastClose = React$1.forwardRef(({ className
|
|
39
|
+
const ToastClose = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Close, {
|
|
41
40
|
ref,
|
|
42
41
|
className: cn("text-foreground/50 hover:text-foreground absolute top-2 right-2 rounded-md p-1 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:ring-2 focus:outline-hidden group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", className),
|
|
43
42
|
"toast-close": "",
|
|
@@ -45,13 +44,13 @@ const ToastClose = React$1.forwardRef(({ className,...props }, ref) => /* @__PUR
|
|
|
45
44
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
46
45
|
}));
|
|
47
46
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
48
|
-
const ToastTitle = React$1.forwardRef(({ className
|
|
47
|
+
const ToastTitle = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Title, {
|
|
49
48
|
ref,
|
|
50
49
|
className: cn("text-base font-semibold", className),
|
|
51
50
|
...props
|
|
52
51
|
}));
|
|
53
52
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
54
|
-
const ToastDescription = React$1.forwardRef(({ className
|
|
53
|
+
const ToastDescription = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(ToastPrimitives.Description, {
|
|
55
54
|
ref,
|
|
56
55
|
className: cn("text-base opacity-90", className),
|
|
57
56
|
...props
|
|
@@ -59,5 +58,4 @@ const ToastDescription = React$1.forwardRef(({ className,...props }, ref) => /*
|
|
|
59
58
|
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
60
59
|
|
|
61
60
|
//#endregion
|
|
62
|
-
export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport };
|
|
63
|
-
//# sourceMappingURL=toast.js.map
|
|
61
|
+
export { Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport };
|
package/dist/ui/toaster.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/toaster.d.ts
|
|
4
|
-
declare function Toaster():
|
|
4
|
+
declare function Toaster(): react_jsx_runtime57.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { Toaster };
|
|
7
|
-
//# sourceMappingURL=toaster.d.ts.map
|
|
6
|
+
export { Toaster };
|
package/dist/ui/toaster.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport } from "./toast.js";
|
|
5
4
|
import { useToast } from "./use-toast.js";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -8,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
7
|
//#region ui/toaster.tsx
|
|
9
8
|
function Toaster() {
|
|
10
9
|
const { toasts } = useToast();
|
|
11
|
-
return /* @__PURE__ */ jsxs(ToastProvider, { children: [toasts.map(function({ id, title, description, action
|
|
10
|
+
return /* @__PURE__ */ jsxs(ToastProvider, { children: [toasts.map(function({ id, title, description, action, ...props }) {
|
|
12
11
|
return /* @__PURE__ */ jsxs(Toast, {
|
|
13
12
|
...props,
|
|
14
13
|
children: [
|
|
@@ -24,5 +23,4 @@ function Toaster() {
|
|
|
24
23
|
}
|
|
25
24
|
|
|
26
25
|
//#endregion
|
|
27
|
-
export { Toaster };
|
|
28
|
-
//# sourceMappingURL=toaster.js.map
|
|
26
|
+
export { Toaster };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group";
|
|
6
6
|
|
|
@@ -11,14 +11,13 @@ declare function ToggleGroup({
|
|
|
11
11
|
size,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
14
|
+
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime93.JSX.Element;
|
|
15
15
|
declare function ToggleGroupItem({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
variant,
|
|
19
19
|
size,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>):
|
|
21
|
+
}: React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime93.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
24
|
-
//# sourceMappingURL=toggle-group.d.ts.map
|
|
23
|
+
export { ToggleGroup, ToggleGroupItem };
|
package/dist/ui/toggle-group.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { toggleVariants } from "./toggle.js";
|
|
6
5
|
import * as React$1 from "react";
|
|
@@ -13,7 +12,7 @@ const ToggleGroupContext = React$1.createContext({
|
|
|
13
12
|
size: "default",
|
|
14
13
|
variant: "default"
|
|
15
14
|
});
|
|
16
|
-
function ToggleGroup({ className, variant, size, children
|
|
15
|
+
function ToggleGroup({ className, variant, size, children, ...props }) {
|
|
17
16
|
return /* @__PURE__ */ jsx(ToggleGroupPrimitive.Root, {
|
|
18
17
|
"data-slot": "toggle-group",
|
|
19
18
|
"data-variant": variant,
|
|
@@ -29,7 +28,7 @@ function ToggleGroup({ className, variant, size, children,...props }) {
|
|
|
29
28
|
})
|
|
30
29
|
});
|
|
31
30
|
}
|
|
32
|
-
function ToggleGroupItem({ className, children, variant, size
|
|
31
|
+
function ToggleGroupItem({ className, children, variant, size, ...props }) {
|
|
33
32
|
const context = React$1.useContext(ToggleGroupContext);
|
|
34
33
|
return /* @__PURE__ */ jsx(ToggleGroupPrimitive.Item, {
|
|
35
34
|
"data-slot": "toggle-group-item",
|
|
@@ -45,5 +44,4 @@ function ToggleGroupItem({ className, children, variant, size,...props }) {
|
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
//#endregion
|
|
48
|
-
export { ToggleGroup, ToggleGroupItem };
|
|
49
|
-
//# sourceMappingURL=toggle-group.js.map
|
|
47
|
+
export { ToggleGroup, ToggleGroupItem };
|
package/dist/ui/toggle.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime180 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as TogglePrimitive from "@radix-ui/react-toggle";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types15 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/toggle.d.ts
|
|
8
8
|
declare const toggleVariants: (props?: ({
|
|
9
9
|
variant?: "default" | "outline" | null | undefined;
|
|
10
10
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
11
|
-
} &
|
|
11
|
+
} & class_variance_authority_types15.ClassProp) | undefined) => string;
|
|
12
12
|
declare function Toggle({
|
|
13
13
|
className,
|
|
14
14
|
variant,
|
|
15
15
|
size,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>):
|
|
17
|
+
}: React$1.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime180.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
|
-
export { Toggle, toggleVariants };
|
|
20
|
-
//# sourceMappingURL=toggle.d.ts.map
|
|
19
|
+
export { Toggle, toggleVariants };
|
package/dist/ui/toggle.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -25,7 +24,7 @@ const toggleVariants = cva("inline-flex items-center justify-center gap-2 rounde
|
|
|
25
24
|
size: "default"
|
|
26
25
|
}
|
|
27
26
|
});
|
|
28
|
-
function Toggle({ className, variant, size
|
|
27
|
+
function Toggle({ className, variant, size, ...props }) {
|
|
29
28
|
return /* @__PURE__ */ jsx(TogglePrimitive.Root, {
|
|
30
29
|
"data-slot": "toggle",
|
|
31
30
|
className: cn(toggleVariants({
|
|
@@ -38,5 +37,4 @@ function Toggle({ className, variant, size,...props }) {
|
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
//#endregion
|
|
41
|
-
export { Toggle, toggleVariants };
|
|
42
|
-
//# sourceMappingURL=toggle.js.map
|
|
40
|
+
export { Toggle, toggleVariants };
|
package/dist/ui/tooltip.d.ts
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime247 from "react/jsx-runtime";
|
|
3
3
|
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
4
|
|
|
5
5
|
//#region ui/tooltip.d.ts
|
|
6
6
|
declare function TooltipProvider({
|
|
7
7
|
delayDuration,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Provider>):
|
|
9
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime247.JSX.Element;
|
|
10
10
|
declare function Tooltip({
|
|
11
11
|
...props
|
|
12
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Root>):
|
|
12
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime247.JSX.Element;
|
|
13
13
|
declare function TooltipTrigger({
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>):
|
|
15
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime247.JSX.Element;
|
|
16
16
|
declare function TooltipContent({
|
|
17
17
|
className,
|
|
18
18
|
sideOffset,
|
|
19
19
|
children,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof TooltipPrimitive.Content>):
|
|
21
|
+
}: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime247.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
24
|
-
//# sourceMappingURL=tooltip.d.ts.map
|
|
23
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|