@lssm/lib.ui-kit-web 0.0.0-canary-20251120170226 → 0.0.0-canary-20251206160926
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 +22 -0
- package/dist/node_modules/sonner/dist/index.js +467 -751
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/accordion.d.ts +1 -2
- 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 +5 -6
- package/dist/ui/alert.js +4 -5
- package/dist/ui/aspect-ratio.d.ts +1 -2
- 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 +3 -4
- 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 +3 -4
- 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 +1 -2
- 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 +6 -7
- package/dist/ui/nav-layout.js +2 -3
- package/dist/ui/navigation-menu.d.ts +10 -11
- package/dist/ui/navigation-menu.js +9 -10
- package/dist/ui/organisms/ErrorBoundary/ErrorBoundary.d.ts +3 -4
- 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 +3 -4
- 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 +4 -5
- 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 +3 -4
- 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/cta.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as React$1 from "react";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region ui/cta.tsx
|
|
7
|
-
const Cta = React$1.forwardRef(({ capture, ctaName, className, as = "button", href, onClick, size = "lg", children
|
|
7
|
+
const Cta = React$1.forwardRef(({ capture, ctaName, className, as = "button", href, onClick, size = "lg", children, ...props }, ref) => {
|
|
8
8
|
const handleClick = (e) => {
|
|
9
9
|
if (ctaName && capture) try {
|
|
10
10
|
capture(ctaName);
|
|
@@ -35,5 +35,4 @@ const Cta = React$1.forwardRef(({ capture, ctaName, className, as = "button", hr
|
|
|
35
35
|
Cta.displayName = "Cta";
|
|
36
36
|
|
|
37
37
|
//#endregion
|
|
38
|
-
export { Cta };
|
|
39
|
-
//# sourceMappingURL=cta.js.map
|
|
38
|
+
export { Cta };
|
package/dist/ui/date-picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime60 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-picker.d.ts
|
|
4
4
|
interface DatePickerProps {
|
|
@@ -20,7 +20,6 @@ declare function DatePicker({
|
|
|
20
20
|
placeholder,
|
|
21
21
|
className,
|
|
22
22
|
language
|
|
23
|
-
}: DatePickerProps):
|
|
23
|
+
}: DatePickerProps): react_jsx_runtime60.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { DatePicker, DatePickerProps };
|
|
26
|
-
//# sourceMappingURL=date-picker.d.ts.map
|
|
25
|
+
export { DatePicker, DatePickerProps };
|
package/dist/ui/date-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 { Calendar } from "./calendar.js";
|
|
@@ -98,5 +97,4 @@ function DatePicker({ value, onChange, disabled, minDate, maxDate, placeholder =
|
|
|
98
97
|
}
|
|
99
98
|
|
|
100
99
|
//#endregion
|
|
101
|
-
export { DatePicker };
|
|
102
|
-
//# sourceMappingURL=date-picker.js.map
|
|
100
|
+
export { DatePicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/date-range-picker.d.ts
|
|
4
4
|
interface DateRange {
|
|
@@ -20,7 +20,6 @@ declare function DateRangePicker({
|
|
|
20
20
|
minDate,
|
|
21
21
|
maxDate,
|
|
22
22
|
className
|
|
23
|
-
}: DateRangePickerProps):
|
|
23
|
+
}: DateRangePickerProps): react_jsx_runtime22.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
26
|
-
//# sourceMappingURL=date-range-picker.d.ts.map
|
|
25
|
+
export { DateRange, DateRangePicker, DateRangePickerProps };
|
|
@@ -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 { Calendar } from "./calendar.js";
|
|
@@ -51,5 +50,4 @@ function DateRangePicker({ value, onChange, disabled, minDate, maxDate, classNam
|
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
//#endregion
|
|
54
|
-
export { DateRangePicker };
|
|
55
|
-
//# sourceMappingURL=date-range-picker.js.map
|
|
53
|
+
export { DateRangePicker };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime62 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region ui/datetime-picker.d.ts
|
|
4
4
|
interface DateTimePickerProps {
|
|
@@ -22,7 +22,6 @@ declare function DateTimePicker({
|
|
|
22
22
|
timePlaceholder,
|
|
23
23
|
is24Hour,
|
|
24
24
|
className
|
|
25
|
-
}: DateTimePickerProps):
|
|
25
|
+
}: DateTimePickerProps): react_jsx_runtime62.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
|
-
export { DateTimePicker, DateTimePickerProps };
|
|
28
|
-
//# sourceMappingURL=datetime-picker.d.ts.map
|
|
27
|
+
export { DateTimePicker, DateTimePickerProps };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { DatePicker } from "./date-picker.js";
|
|
6
5
|
import { TimePicker } from "./time-picker.js";
|
|
@@ -41,5 +40,4 @@ function DateTimePicker({ value, onChange, disabled, minDate, maxDate, datePlace
|
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
//#endregion
|
|
44
|
-
export { DateTimePicker };
|
|
45
|
-
//# sourceMappingURL=datetime-picker.js.map
|
|
43
|
+
export { DateTimePicker };
|
package/dist/ui/dialog.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
3
3
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
4
4
|
|
|
5
5
|
//#region ui/dialog.d.ts
|
|
6
6
|
declare function Dialog({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Root>): react_jsx_runtime63.JSX.Element;
|
|
9
9
|
declare function DialogTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Trigger>): react_jsx_runtime63.JSX.Element;
|
|
12
12
|
declare function DialogPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Portal>): react_jsx_runtime63.JSX.Element;
|
|
15
15
|
declare function DialogClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Close>):
|
|
17
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Close>): react_jsx_runtime63.JSX.Element;
|
|
18
18
|
declare function DialogOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>):
|
|
21
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Overlay>): react_jsx_runtime63.JSX.Element;
|
|
22
22
|
declare function DialogContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
@@ -26,23 +26,22 @@ declare function DialogContent({
|
|
|
26
26
|
...props
|
|
27
27
|
}: React$1.ComponentProps<typeof DialogPrimitive.Content> & {
|
|
28
28
|
showCloseButton?: boolean;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime63.JSX.Element;
|
|
30
30
|
declare function DialogHeader({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<'div'>):
|
|
33
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime63.JSX.Element;
|
|
34
34
|
declare function DialogFooter({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<'div'>):
|
|
37
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime63.JSX.Element;
|
|
38
38
|
declare function DialogTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Title>):
|
|
41
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Title>): react_jsx_runtime63.JSX.Element;
|
|
42
42
|
declare function DialogDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React$1.ComponentProps<typeof DialogPrimitive.Description>):
|
|
45
|
+
}: React$1.ComponentProps<typeof DialogPrimitive.Description>): react_jsx_runtime63.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
48
|
-
//# sourceMappingURL=dialog.d.ts.map
|
|
47
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
package/dist/ui/dialog.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 { XIcon } from "lucide-react";
|
|
@@ -32,14 +31,14 @@ function DialogClose({ ...props }) {
|
|
|
32
31
|
...props
|
|
33
32
|
});
|
|
34
33
|
}
|
|
35
|
-
function DialogOverlay({ className
|
|
34
|
+
function DialogOverlay({ className, ...props }) {
|
|
36
35
|
return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, {
|
|
37
36
|
"data-slot": "dialog-overlay",
|
|
38
37
|
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
39
38
|
...props
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
|
-
function DialogContent({ className, children, showCloseButton = true
|
|
41
|
+
function DialogContent({ className, children, showCloseButton = true, ...props }) {
|
|
43
42
|
return /* @__PURE__ */ jsxs(DialogPortal, {
|
|
44
43
|
"data-slot": "dialog-portal",
|
|
45
44
|
children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsxs(DialogPrimitive.Content, {
|
|
@@ -57,28 +56,28 @@ function DialogContent({ className, children, showCloseButton = true,...props })
|
|
|
57
56
|
})]
|
|
58
57
|
});
|
|
59
58
|
}
|
|
60
|
-
function DialogHeader({ className
|
|
59
|
+
function DialogHeader({ className, ...props }) {
|
|
61
60
|
return /* @__PURE__ */ jsx("div", {
|
|
62
61
|
"data-slot": "dialog-header",
|
|
63
62
|
className: cn("flex flex-col gap-2 text-center sm:text-left", className),
|
|
64
63
|
...props
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
|
-
function DialogFooter({ className
|
|
66
|
+
function DialogFooter({ className, ...props }) {
|
|
68
67
|
return /* @__PURE__ */ jsx("div", {
|
|
69
68
|
"data-slot": "dialog-footer",
|
|
70
69
|
className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
|
|
71
70
|
...props
|
|
72
71
|
});
|
|
73
72
|
}
|
|
74
|
-
function DialogTitle({ className
|
|
73
|
+
function DialogTitle({ className, ...props }) {
|
|
75
74
|
return /* @__PURE__ */ jsx(DialogPrimitive.Title, {
|
|
76
75
|
"data-slot": "dialog-title",
|
|
77
76
|
className: cn("text-lg leading-none font-semibold", className),
|
|
78
77
|
...props
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
|
-
function DialogDescription({ className
|
|
80
|
+
function DialogDescription({ className, ...props }) {
|
|
82
81
|
return /* @__PURE__ */ jsx(DialogPrimitive.Description, {
|
|
83
82
|
"data-slot": "dialog-description",
|
|
84
83
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -87,5 +86,4 @@ function DialogDescription({ className,...props }) {
|
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
//#endregion
|
|
90
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
|
91
|
-
//# sourceMappingURL=dialog.js.map
|
|
89
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
|
package/dist/ui/drawer.d.ts
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime73 from "react/jsx-runtime";
|
|
3
3
|
import { Drawer as Drawer$1 } from "vaul";
|
|
4
4
|
|
|
5
5
|
//#region ui/drawer.d.ts
|
|
6
6
|
declare function Drawer({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof Drawer$1.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime73.JSX.Element;
|
|
9
9
|
declare function DrawerTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof Drawer$1.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime73.JSX.Element;
|
|
12
12
|
declare function DrawerPortal({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof Drawer$1.Portal>):
|
|
14
|
+
}: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime73.JSX.Element;
|
|
15
15
|
declare function DrawerClose({
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof Drawer$1.Close>):
|
|
17
|
+
}: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime73.JSX.Element;
|
|
18
18
|
declare function DrawerOverlay({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React$1.ComponentProps<typeof Drawer$1.Overlay>):
|
|
21
|
+
}: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime73.JSX.Element;
|
|
22
22
|
declare function DrawerContent({
|
|
23
23
|
className,
|
|
24
24
|
children,
|
|
25
25
|
...props
|
|
26
|
-
}: React$1.ComponentProps<typeof Drawer$1.Content>):
|
|
26
|
+
}: React$1.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime73.JSX.Element;
|
|
27
27
|
declare function DrawerHeader({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentProps<'div'>):
|
|
30
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime73.JSX.Element;
|
|
31
31
|
declare function DrawerFooter({
|
|
32
32
|
className,
|
|
33
33
|
...props
|
|
34
|
-
}: React$1.ComponentProps<'div'>):
|
|
34
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime73.JSX.Element;
|
|
35
35
|
declare function DrawerTitle({
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof Drawer$1.Title>):
|
|
38
|
+
}: React$1.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime73.JSX.Element;
|
|
39
39
|
declare function DrawerDescription({
|
|
40
40
|
className,
|
|
41
41
|
...props
|
|
42
|
-
}: React$1.ComponentProps<typeof Drawer$1.Description>):
|
|
42
|
+
}: React$1.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime73.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
45
|
-
//# sourceMappingURL=drawer.d.ts.map
|
|
44
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
package/dist/ui/drawer.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, jsxs } from "react/jsx-runtime";
|
|
@@ -31,14 +30,14 @@ function DrawerClose({ ...props }) {
|
|
|
31
30
|
...props
|
|
32
31
|
});
|
|
33
32
|
}
|
|
34
|
-
function DrawerOverlay({ className
|
|
33
|
+
function DrawerOverlay({ className, ...props }) {
|
|
35
34
|
return /* @__PURE__ */ jsx(Drawer$1.Overlay, {
|
|
36
35
|
"data-slot": "drawer-overlay",
|
|
37
36
|
className: cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className),
|
|
38
37
|
...props
|
|
39
38
|
});
|
|
40
39
|
}
|
|
41
|
-
function DrawerContent({ className, children
|
|
40
|
+
function DrawerContent({ className, children, ...props }) {
|
|
42
41
|
return /* @__PURE__ */ jsxs(DrawerPortal, {
|
|
43
42
|
"data-slot": "drawer-portal",
|
|
44
43
|
children: [/* @__PURE__ */ jsx(DrawerOverlay, {}), /* @__PURE__ */ jsxs(Drawer$1.Content, {
|
|
@@ -49,28 +48,28 @@ function DrawerContent({ className, children,...props }) {
|
|
|
49
48
|
})]
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
|
-
function DrawerHeader({ className
|
|
51
|
+
function DrawerHeader({ className, ...props }) {
|
|
53
52
|
return /* @__PURE__ */ jsx("div", {
|
|
54
53
|
"data-slot": "drawer-header",
|
|
55
54
|
className: cn("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", className),
|
|
56
55
|
...props
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
|
-
function DrawerFooter({ className
|
|
58
|
+
function DrawerFooter({ className, ...props }) {
|
|
60
59
|
return /* @__PURE__ */ jsx("div", {
|
|
61
60
|
"data-slot": "drawer-footer",
|
|
62
61
|
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
63
62
|
...props
|
|
64
63
|
});
|
|
65
64
|
}
|
|
66
|
-
function DrawerTitle({ className
|
|
65
|
+
function DrawerTitle({ className, ...props }) {
|
|
67
66
|
return /* @__PURE__ */ jsx(Drawer$1.Title, {
|
|
68
67
|
"data-slot": "drawer-title",
|
|
69
68
|
className: cn("text-foreground font-semibold", className),
|
|
70
69
|
...props
|
|
71
70
|
});
|
|
72
71
|
}
|
|
73
|
-
function DrawerDescription({ className
|
|
72
|
+
function DrawerDescription({ className, ...props }) {
|
|
74
73
|
return /* @__PURE__ */ jsx(Drawer$1.Description, {
|
|
75
74
|
"data-slot": "drawer-description",
|
|
76
75
|
className: cn("text-muted-foreground text-sm", className),
|
|
@@ -79,5 +78,4 @@ function DrawerDescription({ className,...props }) {
|
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
//#endregion
|
|
82
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
83
|
-
//# sourceMappingURL=drawer.js.map
|
|
81
|
+
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime83 from "react/jsx-runtime";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region ui/dropdown-menu.d.ts
|
|
6
6
|
declare function DropdownMenu({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Root>): react_jsx_runtime83.JSX.Element;
|
|
9
9
|
declare function DropdownMenuPortal({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>):
|
|
11
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Portal>): react_jsx_runtime83.JSX.Element;
|
|
12
12
|
declare function DropdownMenuTrigger({
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>):
|
|
14
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): react_jsx_runtime83.JSX.Element;
|
|
15
15
|
declare function DropdownMenuContent({
|
|
16
16
|
className,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>):
|
|
19
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Content>): react_jsx_runtime83.JSX.Element;
|
|
20
20
|
declare function DropdownMenuGroup({
|
|
21
21
|
...props
|
|
22
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>):
|
|
22
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Group>): react_jsx_runtime83.JSX.Element;
|
|
23
23
|
declare function DropdownMenuItem({
|
|
24
24
|
className,
|
|
25
25
|
inset,
|
|
@@ -28,39 +28,39 @@ declare function DropdownMenuItem({
|
|
|
28
28
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: 'default' | 'destructive';
|
|
31
|
-
}):
|
|
31
|
+
}): react_jsx_runtime83.JSX.Element;
|
|
32
32
|
declare function DropdownMenuCheckboxItem({
|
|
33
33
|
className,
|
|
34
34
|
children,
|
|
35
35
|
checked,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>):
|
|
37
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): react_jsx_runtime83.JSX.Element;
|
|
38
38
|
declare function DropdownMenuRadioGroup({
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>):
|
|
40
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): react_jsx_runtime83.JSX.Element;
|
|
41
41
|
declare function DropdownMenuRadioItem({
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
44
|
...props
|
|
45
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>):
|
|
45
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>): react_jsx_runtime83.JSX.Element;
|
|
46
46
|
declare function DropdownMenuLabel({
|
|
47
47
|
className,
|
|
48
48
|
inset,
|
|
49
49
|
...props
|
|
50
50
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
51
51
|
inset?: boolean;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime83.JSX.Element;
|
|
53
53
|
declare function DropdownMenuSeparator({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>):
|
|
56
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Separator>): react_jsx_runtime83.JSX.Element;
|
|
57
57
|
declare function DropdownMenuShortcut({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React$1.ComponentProps<'span'>):
|
|
60
|
+
}: React$1.ComponentProps<'span'>): react_jsx_runtime83.JSX.Element;
|
|
61
61
|
declare function DropdownMenuSub({
|
|
62
62
|
...props
|
|
63
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>):
|
|
63
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.Sub>): react_jsx_runtime83.JSX.Element;
|
|
64
64
|
declare function DropdownMenuSubTrigger({
|
|
65
65
|
className,
|
|
66
66
|
inset,
|
|
@@ -68,11 +68,10 @@ declare function DropdownMenuSubTrigger({
|
|
|
68
68
|
...props
|
|
69
69
|
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
70
70
|
inset?: boolean;
|
|
71
|
-
}):
|
|
71
|
+
}): react_jsx_runtime83.JSX.Element;
|
|
72
72
|
declare function DropdownMenuSubContent({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>):
|
|
75
|
+
}: React$1.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): react_jsx_runtime83.JSX.Element;
|
|
76
76
|
//#endregion
|
|
77
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
78
|
-
//# sourceMappingURL=dropdown-menu.d.ts.map
|
|
77
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
package/dist/ui/dropdown-menu.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 { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
@@ -26,7 +25,7 @@ function DropdownMenuTrigger({ ...props }) {
|
|
|
26
25
|
...props
|
|
27
26
|
});
|
|
28
27
|
}
|
|
29
|
-
function DropdownMenuContent({ className, sideOffset = 4
|
|
28
|
+
function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
|
|
30
29
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.Content, {
|
|
31
30
|
"data-slot": "dropdown-menu-content",
|
|
32
31
|
sideOffset,
|
|
@@ -40,7 +39,7 @@ function DropdownMenuGroup({ ...props }) {
|
|
|
40
39
|
...props
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
|
-
function DropdownMenuItem({ className, inset, variant = "default"
|
|
42
|
+
function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
|
|
44
43
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Item, {
|
|
45
44
|
"data-slot": "dropdown-menu-item",
|
|
46
45
|
"data-inset": inset,
|
|
@@ -49,7 +48,7 @@ function DropdownMenuItem({ className, inset, variant = "default",...props }) {
|
|
|
49
48
|
...props
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
|
-
function DropdownMenuCheckboxItem({ className, children, checked
|
|
51
|
+
function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
53
52
|
return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.CheckboxItem, {
|
|
54
53
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
55
54
|
className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
@@ -67,7 +66,7 @@ function DropdownMenuRadioGroup({ ...props }) {
|
|
|
67
66
|
...props
|
|
68
67
|
});
|
|
69
68
|
}
|
|
70
|
-
function DropdownMenuRadioItem({ className, children
|
|
69
|
+
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
71
70
|
return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.RadioItem, {
|
|
72
71
|
"data-slot": "dropdown-menu-radio-item",
|
|
73
72
|
className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
|
|
@@ -78,7 +77,7 @@ function DropdownMenuRadioItem({ className, children,...props }) {
|
|
|
78
77
|
}), children]
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
|
-
function DropdownMenuLabel({ className, inset
|
|
80
|
+
function DropdownMenuLabel({ className, inset, ...props }) {
|
|
82
81
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Label, {
|
|
83
82
|
"data-slot": "dropdown-menu-label",
|
|
84
83
|
"data-inset": inset,
|
|
@@ -86,14 +85,14 @@ function DropdownMenuLabel({ className, inset,...props }) {
|
|
|
86
85
|
...props
|
|
87
86
|
});
|
|
88
87
|
}
|
|
89
|
-
function DropdownMenuSeparator({ className
|
|
88
|
+
function DropdownMenuSeparator({ className, ...props }) {
|
|
90
89
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Separator, {
|
|
91
90
|
"data-slot": "dropdown-menu-separator",
|
|
92
91
|
className: cn("bg-border -mx-1 my-1 h-px", className),
|
|
93
92
|
...props
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
|
-
function DropdownMenuShortcut({ className
|
|
95
|
+
function DropdownMenuShortcut({ className, ...props }) {
|
|
97
96
|
return /* @__PURE__ */ jsx("span", {
|
|
98
97
|
"data-slot": "dropdown-menu-shortcut",
|
|
99
98
|
className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className),
|
|
@@ -106,7 +105,7 @@ function DropdownMenuSub({ ...props }) {
|
|
|
106
105
|
...props
|
|
107
106
|
});
|
|
108
107
|
}
|
|
109
|
-
function DropdownMenuSubTrigger({ className, inset, children
|
|
108
|
+
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
110
109
|
return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.SubTrigger, {
|
|
111
110
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
112
111
|
"data-inset": inset,
|
|
@@ -115,7 +114,7 @@ function DropdownMenuSubTrigger({ className, inset, children,...props }) {
|
|
|
115
114
|
children: [children, /* @__PURE__ */ jsx(ChevronRightIcon, { className: "ml-auto size-4" })]
|
|
116
115
|
});
|
|
117
116
|
}
|
|
118
|
-
function DropdownMenuSubContent({ className
|
|
117
|
+
function DropdownMenuSubContent({ className, ...props }) {
|
|
119
118
|
return /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubContent, {
|
|
120
119
|
"data-slot": "dropdown-menu-sub-content",
|
|
121
120
|
className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className),
|
|
@@ -124,5 +123,4 @@ function DropdownMenuSubContent({ className,...props }) {
|
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
//#endregion
|
|
127
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
|
128
|
-
//# sourceMappingURL=dropdown-menu.js.map
|
|
126
|
+
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
|
package/dist/ui/empty-state.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/empty-state.d.ts
|
|
7
7
|
declare const containerVariants: (props?: ({
|
|
8
8
|
density?: "default" | "compact" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
10
10
|
interface EmptyStateProps extends VariantProps<typeof containerVariants> {
|
|
11
11
|
icon?: React$1.ReactNode;
|
|
12
12
|
title: React$1.ReactNode;
|
|
@@ -23,7 +23,6 @@ declare function EmptyState({
|
|
|
23
23
|
secondaryAction,
|
|
24
24
|
className,
|
|
25
25
|
density
|
|
26
|
-
}: EmptyStateProps):
|
|
26
|
+
}: EmptyStateProps): react_jsx_runtime98.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { EmptyState, EmptyStateProps };
|
|
29
|
-
//# sourceMappingURL=empty-state.d.ts.map
|
|
28
|
+
export { EmptyState, EmptyStateProps };
|
package/dist/ui/empty-state.js
CHANGED
package/dist/ui/empty.d.ts
CHANGED
|
@@ -1,36 +1,35 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime99 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region ui/empty.d.ts
|
|
6
6
|
declare function Empty({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<'div'>):
|
|
9
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
10
10
|
declare function EmptyHeader({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
13
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
14
14
|
declare const emptyMediaVariants: (props?: ({
|
|
15
15
|
variant?: "default" | "icon" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
17
17
|
declare function EmptyMedia({
|
|
18
18
|
className,
|
|
19
19
|
variant,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
21
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime99.JSX.Element;
|
|
22
22
|
declare function EmptyTitle({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
26
26
|
declare function EmptyDescription({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
29
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime99.JSX.Element;
|
|
30
30
|
declare function EmptyContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime99.JSX.Element;
|
|
34
34
|
//#endregion
|
|
35
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
36
|
-
//# sourceMappingURL=empty.d.ts.map
|
|
35
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|