@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/sidebar.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { Input } from "./input.js";
|
|
|
3
3
|
import { Separator } from "./separator.js";
|
|
4
4
|
import { TooltipContent } from "./tooltip.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime147 from "react/jsx-runtime";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
|
-
import * as
|
|
8
|
+
import * as class_variance_authority_types14 from "class-variance-authority/types";
|
|
9
9
|
|
|
10
10
|
//#region ui/sidebar.d.ts
|
|
11
|
-
|
|
11
|
+
interface SidebarContextProps {
|
|
12
12
|
state: 'expanded' | 'collapsed';
|
|
13
13
|
open: boolean;
|
|
14
14
|
setOpen: (open: boolean) => void;
|
|
@@ -16,7 +16,7 @@ type SidebarContextProps = {
|
|
|
16
16
|
setOpenMobile: (open: boolean) => void;
|
|
17
17
|
isMobile: boolean;
|
|
18
18
|
toggleSidebar: () => void;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
declare function useSidebar(): SidebarContextProps;
|
|
21
21
|
declare function SidebarProvider({
|
|
22
22
|
defaultOpen,
|
|
@@ -30,7 +30,7 @@ declare function SidebarProvider({
|
|
|
30
30
|
defaultOpen?: boolean;
|
|
31
31
|
open?: boolean;
|
|
32
32
|
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
34
34
|
declare function Sidebar({
|
|
35
35
|
side,
|
|
36
36
|
variant,
|
|
@@ -42,74 +42,74 @@ declare function Sidebar({
|
|
|
42
42
|
side?: 'left' | 'right';
|
|
43
43
|
variant?: 'sidebar' | 'floating' | 'inset';
|
|
44
44
|
collapsible?: 'offcanvas' | 'icon' | 'none';
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
46
46
|
declare function SidebarTrigger({
|
|
47
47
|
className,
|
|
48
48
|
onClick,
|
|
49
49
|
...props
|
|
50
|
-
}: React$1.ComponentProps<typeof Button>):
|
|
50
|
+
}: React$1.ComponentProps<typeof Button>): react_jsx_runtime147.JSX.Element;
|
|
51
51
|
declare function SidebarRail({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React$1.ComponentProps<'button'>):
|
|
54
|
+
}: React$1.ComponentProps<'button'>): react_jsx_runtime147.JSX.Element;
|
|
55
55
|
declare function SidebarInset({
|
|
56
56
|
className,
|
|
57
57
|
...props
|
|
58
|
-
}: React$1.ComponentProps<'main'>):
|
|
58
|
+
}: React$1.ComponentProps<'main'>): react_jsx_runtime147.JSX.Element;
|
|
59
59
|
declare function SidebarInput({
|
|
60
60
|
className,
|
|
61
61
|
...props
|
|
62
|
-
}: React$1.ComponentProps<typeof Input>):
|
|
62
|
+
}: React$1.ComponentProps<typeof Input>): react_jsx_runtime147.JSX.Element;
|
|
63
63
|
declare function SidebarHeader({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React$1.ComponentProps<'div'>):
|
|
66
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
67
67
|
declare function SidebarFooter({
|
|
68
68
|
className,
|
|
69
69
|
...props
|
|
70
|
-
}: React$1.ComponentProps<'div'>):
|
|
70
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
71
71
|
declare function SidebarSeparator({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: React$1.ComponentProps<typeof Separator>):
|
|
74
|
+
}: React$1.ComponentProps<typeof Separator>): react_jsx_runtime147.JSX.Element;
|
|
75
75
|
declare function SidebarContent({
|
|
76
76
|
className,
|
|
77
77
|
...props
|
|
78
|
-
}: React$1.ComponentProps<'div'>):
|
|
78
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
79
79
|
declare function SidebarGroup({
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: React$1.ComponentProps<'div'>):
|
|
82
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
83
83
|
declare function SidebarGroupLabel({
|
|
84
84
|
className,
|
|
85
85
|
asChild,
|
|
86
86
|
...props
|
|
87
87
|
}: React$1.ComponentProps<'div'> & {
|
|
88
88
|
asChild?: boolean;
|
|
89
|
-
}):
|
|
89
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
90
90
|
declare function SidebarGroupAction({
|
|
91
91
|
className,
|
|
92
92
|
asChild,
|
|
93
93
|
...props
|
|
94
94
|
}: React$1.ComponentProps<'button'> & {
|
|
95
95
|
asChild?: boolean;
|
|
96
|
-
}):
|
|
96
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
97
97
|
declare function SidebarGroupContent({
|
|
98
98
|
className,
|
|
99
99
|
...props
|
|
100
|
-
}: React$1.ComponentProps<'div'>):
|
|
100
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
101
101
|
declare function SidebarMenu({
|
|
102
102
|
className,
|
|
103
103
|
...props
|
|
104
|
-
}: React$1.ComponentProps<'ul'>):
|
|
104
|
+
}: React$1.ComponentProps<'ul'>): react_jsx_runtime147.JSX.Element;
|
|
105
105
|
declare function SidebarMenuItem({
|
|
106
106
|
className,
|
|
107
107
|
...props
|
|
108
|
-
}: React$1.ComponentProps<'li'>):
|
|
108
|
+
}: React$1.ComponentProps<'li'>): react_jsx_runtime147.JSX.Element;
|
|
109
109
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
110
110
|
variant?: "default" | "outline" | null | undefined;
|
|
111
111
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
112
|
-
} &
|
|
112
|
+
} & class_variance_authority_types14.ClassProp) | undefined) => string;
|
|
113
113
|
declare function SidebarMenuButton({
|
|
114
114
|
asChild,
|
|
115
115
|
isActive,
|
|
@@ -122,7 +122,7 @@ declare function SidebarMenuButton({
|
|
|
122
122
|
asChild?: boolean;
|
|
123
123
|
isActive?: boolean;
|
|
124
124
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
125
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
125
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime147.JSX.Element;
|
|
126
126
|
declare function SidebarMenuAction({
|
|
127
127
|
className,
|
|
128
128
|
asChild,
|
|
@@ -131,26 +131,26 @@ declare function SidebarMenuAction({
|
|
|
131
131
|
}: React$1.ComponentProps<'button'> & {
|
|
132
132
|
asChild?: boolean;
|
|
133
133
|
showOnHover?: boolean;
|
|
134
|
-
}):
|
|
134
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
135
135
|
declare function SidebarMenuBadge({
|
|
136
136
|
className,
|
|
137
137
|
...props
|
|
138
|
-
}: React$1.ComponentProps<'div'>):
|
|
138
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime147.JSX.Element;
|
|
139
139
|
declare function SidebarMenuSkeleton({
|
|
140
140
|
className,
|
|
141
141
|
showIcon,
|
|
142
142
|
...props
|
|
143
143
|
}: React$1.ComponentProps<'div'> & {
|
|
144
144
|
showIcon?: boolean;
|
|
145
|
-
}):
|
|
145
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
146
146
|
declare function SidebarMenuSub({
|
|
147
147
|
className,
|
|
148
148
|
...props
|
|
149
|
-
}: React$1.ComponentProps<'ul'>):
|
|
149
|
+
}: React$1.ComponentProps<'ul'>): react_jsx_runtime147.JSX.Element;
|
|
150
150
|
declare function SidebarMenuSubItem({
|
|
151
151
|
className,
|
|
152
152
|
...props
|
|
153
|
-
}: React$1.ComponentProps<'li'>):
|
|
153
|
+
}: React$1.ComponentProps<'li'>): react_jsx_runtime147.JSX.Element;
|
|
154
154
|
declare function SidebarMenuSubButton({
|
|
155
155
|
asChild,
|
|
156
156
|
size,
|
|
@@ -161,7 +161,6 @@ declare function SidebarMenuSubButton({
|
|
|
161
161
|
asChild?: boolean;
|
|
162
162
|
size?: 'sm' | 'md';
|
|
163
163
|
isActive?: boolean;
|
|
164
|
-
}):
|
|
164
|
+
}): react_jsx_runtime147.JSX.Element;
|
|
165
165
|
//#endregion
|
|
166
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
167
|
-
//# sourceMappingURL=sidebar.d.ts.map
|
|
166
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
package/dist/ui/sidebar.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 { Input } from "./input.js";
|
|
@@ -28,7 +27,7 @@ function useSidebar() {
|
|
|
28
27
|
if (!context) throw new Error("useSidebar must be used within a SidebarProvider.");
|
|
29
28
|
return context;
|
|
30
29
|
}
|
|
31
|
-
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children
|
|
30
|
+
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }) {
|
|
32
31
|
const isMobile = useIsMobile();
|
|
33
32
|
const [openMobile, setOpenMobile] = React$1.useState(false);
|
|
34
33
|
const [_open, _setOpen] = React$1.useState(defaultOpen);
|
|
@@ -92,7 +91,7 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
92
91
|
})
|
|
93
92
|
});
|
|
94
93
|
}
|
|
95
|
-
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children
|
|
94
|
+
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }) {
|
|
96
95
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
97
96
|
if (collapsible === "none") return /* @__PURE__ */ jsx("div", {
|
|
98
97
|
"data-slot": "sidebar",
|
|
@@ -143,7 +142,7 @@ function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas"
|
|
|
143
142
|
})]
|
|
144
143
|
});
|
|
145
144
|
}
|
|
146
|
-
function SidebarTrigger({ className, onClick
|
|
145
|
+
function SidebarTrigger({ className, onClick, ...props }) {
|
|
147
146
|
const { toggleSidebar } = useSidebar();
|
|
148
147
|
return /* @__PURE__ */ jsxs(Button, {
|
|
149
148
|
"data-sidebar": "trigger",
|
|
@@ -162,7 +161,7 @@ function SidebarTrigger({ className, onClick,...props }) {
|
|
|
162
161
|
})]
|
|
163
162
|
});
|
|
164
163
|
}
|
|
165
|
-
function SidebarRail({ className
|
|
164
|
+
function SidebarRail({ className, ...props }) {
|
|
166
165
|
const { toggleSidebar } = useSidebar();
|
|
167
166
|
return /* @__PURE__ */ jsx("button", {
|
|
168
167
|
"data-sidebar": "rail",
|
|
@@ -175,14 +174,14 @@ function SidebarRail({ className,...props }) {
|
|
|
175
174
|
...props
|
|
176
175
|
});
|
|
177
176
|
}
|
|
178
|
-
function SidebarInset({ className
|
|
177
|
+
function SidebarInset({ className, ...props }) {
|
|
179
178
|
return /* @__PURE__ */ jsx("main", {
|
|
180
179
|
"data-slot": "sidebar-inset",
|
|
181
180
|
className: cn("bg-background relative flex w-full flex-1 flex-col", "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2", className),
|
|
182
181
|
...props
|
|
183
182
|
});
|
|
184
183
|
}
|
|
185
|
-
function SidebarInput({ className
|
|
184
|
+
function SidebarInput({ className, ...props }) {
|
|
186
185
|
return /* @__PURE__ */ jsx(Input, {
|
|
187
186
|
"data-slot": "sidebar-input",
|
|
188
187
|
"data-sidebar": "input",
|
|
@@ -190,7 +189,7 @@ function SidebarInput({ className,...props }) {
|
|
|
190
189
|
...props
|
|
191
190
|
});
|
|
192
191
|
}
|
|
193
|
-
function SidebarHeader({ className
|
|
192
|
+
function SidebarHeader({ className, ...props }) {
|
|
194
193
|
return /* @__PURE__ */ jsx("div", {
|
|
195
194
|
"data-slot": "sidebar-header",
|
|
196
195
|
"data-sidebar": "header",
|
|
@@ -198,7 +197,7 @@ function SidebarHeader({ className,...props }) {
|
|
|
198
197
|
...props
|
|
199
198
|
});
|
|
200
199
|
}
|
|
201
|
-
function SidebarFooter({ className
|
|
200
|
+
function SidebarFooter({ className, ...props }) {
|
|
202
201
|
return /* @__PURE__ */ jsx("div", {
|
|
203
202
|
"data-slot": "sidebar-footer",
|
|
204
203
|
"data-sidebar": "footer",
|
|
@@ -206,7 +205,7 @@ function SidebarFooter({ className,...props }) {
|
|
|
206
205
|
...props
|
|
207
206
|
});
|
|
208
207
|
}
|
|
209
|
-
function SidebarSeparator({ className
|
|
208
|
+
function SidebarSeparator({ className, ...props }) {
|
|
210
209
|
return /* @__PURE__ */ jsx(Separator, {
|
|
211
210
|
"data-slot": "sidebar-separator",
|
|
212
211
|
"data-sidebar": "separator",
|
|
@@ -214,7 +213,7 @@ function SidebarSeparator({ className,...props }) {
|
|
|
214
213
|
...props
|
|
215
214
|
});
|
|
216
215
|
}
|
|
217
|
-
function SidebarContent({ className
|
|
216
|
+
function SidebarContent({ className, ...props }) {
|
|
218
217
|
return /* @__PURE__ */ jsx("div", {
|
|
219
218
|
"data-slot": "sidebar-content",
|
|
220
219
|
"data-sidebar": "content",
|
|
@@ -222,7 +221,7 @@ function SidebarContent({ className,...props }) {
|
|
|
222
221
|
...props
|
|
223
222
|
});
|
|
224
223
|
}
|
|
225
|
-
function SidebarGroup({ className
|
|
224
|
+
function SidebarGroup({ className, ...props }) {
|
|
226
225
|
return /* @__PURE__ */ jsx("div", {
|
|
227
226
|
"data-slot": "sidebar-group",
|
|
228
227
|
"data-sidebar": "group",
|
|
@@ -230,7 +229,7 @@ function SidebarGroup({ className,...props }) {
|
|
|
230
229
|
...props
|
|
231
230
|
});
|
|
232
231
|
}
|
|
233
|
-
function SidebarGroupLabel({ className, asChild = false
|
|
232
|
+
function SidebarGroupLabel({ className, asChild = false, ...props }) {
|
|
234
233
|
return /* @__PURE__ */ jsx(asChild ? Slot : "div", {
|
|
235
234
|
"data-slot": "sidebar-group-label",
|
|
236
235
|
"data-sidebar": "group-label",
|
|
@@ -238,7 +237,7 @@ function SidebarGroupLabel({ className, asChild = false,...props }) {
|
|
|
238
237
|
...props
|
|
239
238
|
});
|
|
240
239
|
}
|
|
241
|
-
function SidebarGroupAction({ className, asChild = false
|
|
240
|
+
function SidebarGroupAction({ className, asChild = false, ...props }) {
|
|
242
241
|
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
243
242
|
"data-slot": "sidebar-group-action",
|
|
244
243
|
"data-sidebar": "group-action",
|
|
@@ -246,7 +245,7 @@ function SidebarGroupAction({ className, asChild = false,...props }) {
|
|
|
246
245
|
...props
|
|
247
246
|
});
|
|
248
247
|
}
|
|
249
|
-
function SidebarGroupContent({ className
|
|
248
|
+
function SidebarGroupContent({ className, ...props }) {
|
|
250
249
|
return /* @__PURE__ */ jsx("div", {
|
|
251
250
|
"data-slot": "sidebar-group-content",
|
|
252
251
|
"data-sidebar": "group-content",
|
|
@@ -254,7 +253,7 @@ function SidebarGroupContent({ className,...props }) {
|
|
|
254
253
|
...props
|
|
255
254
|
});
|
|
256
255
|
}
|
|
257
|
-
function SidebarMenu({ className
|
|
256
|
+
function SidebarMenu({ className, ...props }) {
|
|
258
257
|
return /* @__PURE__ */ jsx("ul", {
|
|
259
258
|
"data-slot": "sidebar-menu",
|
|
260
259
|
"data-sidebar": "menu",
|
|
@@ -262,7 +261,7 @@ function SidebarMenu({ className,...props }) {
|
|
|
262
261
|
...props
|
|
263
262
|
});
|
|
264
263
|
}
|
|
265
|
-
function SidebarMenuItem({ className
|
|
264
|
+
function SidebarMenuItem({ className, ...props }) {
|
|
266
265
|
return /* @__PURE__ */ jsx("li", {
|
|
267
266
|
"data-slot": "sidebar-menu-item",
|
|
268
267
|
"data-sidebar": "menu-item",
|
|
@@ -287,7 +286,7 @@ const sidebarMenuButtonVariants = cva("peer/menu-button flex w-full items-center
|
|
|
287
286
|
size: "default"
|
|
288
287
|
}
|
|
289
288
|
});
|
|
290
|
-
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className
|
|
289
|
+
function SidebarMenuButton({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, ...props }) {
|
|
291
290
|
const Comp = asChild ? Slot : "button";
|
|
292
291
|
const { isMobile, state } = useSidebar();
|
|
293
292
|
const button = /* @__PURE__ */ jsx(Comp, {
|
|
@@ -313,7 +312,7 @@ function SidebarMenuButton({ asChild = false, isActive = false, variant = "defau
|
|
|
313
312
|
...tooltip
|
|
314
313
|
})] });
|
|
315
314
|
}
|
|
316
|
-
function SidebarMenuAction({ className, asChild = false, showOnHover = false
|
|
315
|
+
function SidebarMenuAction({ className, asChild = false, showOnHover = false, ...props }) {
|
|
317
316
|
return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
|
|
318
317
|
"data-slot": "sidebar-menu-action",
|
|
319
318
|
"data-sidebar": "menu-action",
|
|
@@ -321,7 +320,7 @@ function SidebarMenuAction({ className, asChild = false, showOnHover = false,...
|
|
|
321
320
|
...props
|
|
322
321
|
});
|
|
323
322
|
}
|
|
324
|
-
function SidebarMenuBadge({ className
|
|
323
|
+
function SidebarMenuBadge({ className, ...props }) {
|
|
325
324
|
return /* @__PURE__ */ jsx("div", {
|
|
326
325
|
"data-slot": "sidebar-menu-badge",
|
|
327
326
|
"data-sidebar": "menu-badge",
|
|
@@ -329,7 +328,7 @@ function SidebarMenuBadge({ className,...props }) {
|
|
|
329
328
|
...props
|
|
330
329
|
});
|
|
331
330
|
}
|
|
332
|
-
function SidebarMenuSkeleton({ className, showIcon = false
|
|
331
|
+
function SidebarMenuSkeleton({ className, showIcon = false, ...props }) {
|
|
333
332
|
const width = React$1.useMemo(() => {
|
|
334
333
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
335
334
|
}, []);
|
|
@@ -348,7 +347,7 @@ function SidebarMenuSkeleton({ className, showIcon = false,...props }) {
|
|
|
348
347
|
})]
|
|
349
348
|
});
|
|
350
349
|
}
|
|
351
|
-
function SidebarMenuSub({ className
|
|
350
|
+
function SidebarMenuSub({ className, ...props }) {
|
|
352
351
|
return /* @__PURE__ */ jsx("ul", {
|
|
353
352
|
"data-slot": "sidebar-menu-sub",
|
|
354
353
|
"data-sidebar": "menu-sub",
|
|
@@ -356,7 +355,7 @@ function SidebarMenuSub({ className,...props }) {
|
|
|
356
355
|
...props
|
|
357
356
|
});
|
|
358
357
|
}
|
|
359
|
-
function SidebarMenuSubItem({ className
|
|
358
|
+
function SidebarMenuSubItem({ className, ...props }) {
|
|
360
359
|
return /* @__PURE__ */ jsx("li", {
|
|
361
360
|
"data-slot": "sidebar-menu-sub-item",
|
|
362
361
|
"data-sidebar": "menu-sub-item",
|
|
@@ -364,7 +363,7 @@ function SidebarMenuSubItem({ className,...props }) {
|
|
|
364
363
|
...props
|
|
365
364
|
});
|
|
366
365
|
}
|
|
367
|
-
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className
|
|
366
|
+
function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false, className, ...props }) {
|
|
368
367
|
return /* @__PURE__ */ jsx(asChild ? Slot : "a", {
|
|
369
368
|
"data-slot": "sidebar-menu-sub-button",
|
|
370
369
|
"data-sidebar": "menu-sub-button",
|
|
@@ -376,5 +375,4 @@ function SidebarMenuSubButton({ asChild = false, size = "md", isActive = false,
|
|
|
376
375
|
}
|
|
377
376
|
|
|
378
377
|
//#endregion
|
|
379
|
-
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
380
|
-
//# sourceMappingURL=sidebar.js.map
|
|
378
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
package/dist/ui/skeleton.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/skeleton.d.ts
|
|
4
4
|
declare function Skeleton({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<'div'>):
|
|
7
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime43.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { Skeleton };
|
|
10
|
-
//# sourceMappingURL=skeleton.d.ts.map
|
|
9
|
+
export { Skeleton };
|
package/dist/ui/skeleton.js
CHANGED
|
@@ -2,7 +2,7 @@ import { cn } from "./utils.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/skeleton.tsx
|
|
5
|
-
function Skeleton({ className
|
|
5
|
+
function Skeleton({ className, ...props }) {
|
|
6
6
|
return /* @__PURE__ */ jsx("div", {
|
|
7
7
|
"data-slot": "skeleton",
|
|
8
8
|
className: cn("bg-accent animate-pulse rounded-md", className),
|
|
@@ -11,5 +11,4 @@ function Skeleton({ className,...props }) {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
export { Skeleton };
|
|
15
|
-
//# sourceMappingURL=skeleton.js.map
|
|
14
|
+
export { Skeleton };
|
package/dist/ui/skip-link.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/skip-link.d.ts
|
|
5
5
|
interface SkipLinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
@@ -11,7 +11,6 @@ declare function SkipLink({
|
|
|
11
11
|
children,
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: SkipLinkProps):
|
|
14
|
+
}: SkipLinkProps): react_jsx_runtime96.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
|
-
export { SkipLink };
|
|
17
|
-
//# sourceMappingURL=skip-link.d.ts.map
|
|
16
|
+
export { SkipLink };
|
package/dist/ui/skip-link.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
|
|
4
4
|
//#region ui/skip-link.tsx
|
|
5
5
|
const defaultClasses = "sr-only focus:not-sr-only focus-visible:outline-solid focus-visible:ring-4 focus-visible:ring-offset-2 fixed top-2 left-2 z-100 rounded-xs bg-background px-3 py-2 text-sm shadow-2xs";
|
|
6
|
-
function SkipLink({ targetId = "main", children, className
|
|
6
|
+
function SkipLink({ targetId = "main", children, className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx("a", {
|
|
8
8
|
className: [defaultClasses, className].filter(Boolean).join(" "),
|
|
9
9
|
href: `#${targetId}`,
|
|
@@ -13,5 +13,4 @@ function SkipLink({ targetId = "main", children, className,...props }) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
16
|
-
export { SkipLink };
|
|
17
|
-
//# sourceMappingURL=skip-link.js.map
|
|
16
|
+
export { SkipLink };
|
package/dist/ui/slider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime95 from "react/jsx-runtime";
|
|
3
3
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
4
4
|
|
|
5
5
|
//#region ui/slider.d.ts
|
|
@@ -10,7 +10,6 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof SliderPrimitive.Root>):
|
|
13
|
+
}: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime95.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Slider };
|
|
16
|
-
//# sourceMappingURL=slider.d.ts.map
|
|
15
|
+
export { Slider };
|
package/dist/ui/slider.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
7
6
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
8
7
|
|
|
9
8
|
//#region ui/slider.tsx
|
|
10
|
-
function Slider({ className, defaultValue, value, min = 0, max = 100
|
|
9
|
+
function Slider({ className, defaultValue, value, min = 0, max = 100, ...props }) {
|
|
11
10
|
const _values = React$1.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max], [
|
|
12
11
|
value,
|
|
13
12
|
defaultValue,
|
|
@@ -37,5 +36,4 @@ function Slider({ className, defaultValue, value, min = 0, max = 100,...props })
|
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
//#endregion
|
|
40
|
-
export { Slider };
|
|
41
|
-
//# sourceMappingURL=slider.js.map
|
|
39
|
+
export { Slider };
|
package/dist/ui/sonner.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime104 from "react/jsx-runtime";
|
|
2
2
|
import { ToasterProps } from "sonner";
|
|
3
3
|
|
|
4
4
|
//#region ui/sonner.d.ts
|
|
5
5
|
declare const Toaster: ({
|
|
6
6
|
...props
|
|
7
|
-
}: ToasterProps) =>
|
|
7
|
+
}: ToasterProps) => react_jsx_runtime104.JSX.Element;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { Toaster };
|
|
10
|
-
//# sourceMappingURL=sonner.d.ts.map
|
|
9
|
+
export { Toaster };
|
package/dist/ui/sonner.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
import { Toaster as Toaster$1 } from "../node_modules/sonner/dist/index.js";
|
|
3
|
+
import { $e } from "../node_modules/sonner/dist/index.js";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { useTheme } from "next-themes";
|
|
7
6
|
|
|
8
7
|
//#region ui/sonner.tsx
|
|
9
8
|
const Toaster = ({ ...props }) => {
|
|
10
9
|
const { theme = "system" } = useTheme();
|
|
11
|
-
return /* @__PURE__ */ jsx(
|
|
10
|
+
return /* @__PURE__ */ jsx($e, {
|
|
12
11
|
theme,
|
|
13
12
|
className: "toaster group",
|
|
14
13
|
style: {
|
|
@@ -21,5 +20,4 @@ const Toaster = ({ ...props }) => {
|
|
|
21
20
|
};
|
|
22
21
|
|
|
23
22
|
//#endregion
|
|
24
|
-
export { Toaster };
|
|
25
|
-
//# sourceMappingURL=sonner.js.map
|
|
23
|
+
export { Toaster };
|
package/dist/ui/stack.d.ts
CHANGED
|
@@ -1,48 +1,47 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/stack.d.ts
|
|
6
6
|
declare const vStackVariants: (props?: ({
|
|
7
|
-
gap?: "sm" | "lg" | "
|
|
7
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
8
8
|
align?: "center" | "start" | "end" | "stretch" | null | undefined;
|
|
9
9
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
11
11
|
declare const VStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
12
|
-
gap?: "sm" | "lg" | "
|
|
12
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
13
13
|
align?: "center" | "start" | "end" | "stretch" | null | undefined;
|
|
14
14
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
15
|
-
} &
|
|
15
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string> & {
|
|
16
16
|
as?: "div" | "section" | "nav" | "main" | "header" | "footer" | "article" | "aside";
|
|
17
17
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
18
18
|
declare const hStackVariants: (props?: ({
|
|
19
|
-
gap?: "sm" | "lg" | "
|
|
19
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
20
20
|
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
21
21
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
22
22
|
wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
|
|
23
|
-
} &
|
|
23
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
24
24
|
declare const HStack: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
25
|
-
gap?: "sm" | "lg" | "
|
|
25
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
26
26
|
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
27
27
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
28
28
|
wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
|
|
29
|
-
} &
|
|
29
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string> & {
|
|
30
30
|
as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
|
|
31
31
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
32
32
|
declare const boxVariants: (props?: ({
|
|
33
|
-
gap?: "sm" | "lg" | "
|
|
33
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
34
34
|
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
35
35
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
36
36
|
wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
|
|
37
|
-
} &
|
|
37
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
38
38
|
declare const Box: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
39
|
-
gap?: "sm" | "lg" | "
|
|
39
|
+
gap?: "sm" | "lg" | "xs" | "none" | "md" | "xl" | "2xl" | null | undefined;
|
|
40
40
|
align?: "center" | "start" | "end" | "stretch" | "baseline" | null | undefined;
|
|
41
41
|
justify?: "center" | "start" | "end" | "between" | "around" | "evenly" | null | undefined;
|
|
42
42
|
wrap?: "wrap" | "nowrap" | "wrapReverse" | null | undefined;
|
|
43
|
-
} &
|
|
43
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string> & {
|
|
44
44
|
as?: "div" | "section" | "nav" | "header" | "footer" | "article" | "aside";
|
|
45
45
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { Box, HStack, VStack, boxVariants, hStackVariants, vStackVariants };
|
|
48
|
-
//# sourceMappingURL=stack.d.ts.map
|
|
47
|
+
export { Box, HStack, VStack, boxVariants, hStackVariants, vStackVariants };
|
package/dist/ui/stack.js
CHANGED
|
@@ -36,7 +36,7 @@ const vStackVariants = cva("flex flex-col", {
|
|
|
36
36
|
justify: "start"
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
-
const VStack = React$1.forwardRef(({ className, gap, align, justify, as = "div"
|
|
39
|
+
const VStack = React$1.forwardRef(({ className, gap, align, justify, as = "div", ...props }, ref) => {
|
|
40
40
|
return /* @__PURE__ */ jsx(as, {
|
|
41
41
|
ref,
|
|
42
42
|
className: cn(vStackVariants({
|
|
@@ -87,7 +87,7 @@ const hStackVariants = cva("flex flex-row", {
|
|
|
87
87
|
wrap: "wrap"
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
const HStack = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div"
|
|
90
|
+
const HStack = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
|
|
91
91
|
return /* @__PURE__ */ jsx(as, {
|
|
92
92
|
ref,
|
|
93
93
|
className: cn(hStackVariants({
|
|
@@ -139,7 +139,7 @@ const boxVariants = cva("flex flex-row", {
|
|
|
139
139
|
wrap: "nowrap"
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
|
-
const Box = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div"
|
|
142
|
+
const Box = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "div", ...props }, ref) => {
|
|
143
143
|
return /* @__PURE__ */ jsx(as, {
|
|
144
144
|
ref,
|
|
145
145
|
className: cn(boxVariants({
|
|
@@ -154,5 +154,4 @@ const Box = React$1.forwardRef(({ className, gap, align, justify, wrap, as = "di
|
|
|
154
154
|
Box.displayName = "Box";
|
|
155
155
|
|
|
156
156
|
//#endregion
|
|
157
|
-
export { Box, HStack, VStack, boxVariants, hStackVariants, vStackVariants };
|
|
158
|
-
//# sourceMappingURL=stack.js.map
|
|
157
|
+
export { Box, HStack, VStack, boxVariants, hStackVariants, vStackVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime54 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region ui/stat-card-group.d.ts
|
|
5
5
|
interface StatItem {
|
|
@@ -13,7 +13,6 @@ declare function StatCardGroup({
|
|
|
13
13
|
}: {
|
|
14
14
|
items: StatItem[];
|
|
15
15
|
className?: string;
|
|
16
|
-
}):
|
|
16
|
+
}): react_jsx_runtime54.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { StatCardGroup, StatItem };
|
|
19
|
-
//# sourceMappingURL=stat-card-group.d.ts.map
|
|
18
|
+
export { StatCardGroup, StatItem };
|