@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/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_runtime11 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types0 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_types0.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_runtime11.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_runtime36 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types2 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_runtime36.JSX.Element;
|
|
10
10
|
declare function EmptyHeader({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<'div'>):
|
|
13
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
14
14
|
declare const emptyMediaVariants: (props?: ({
|
|
15
15
|
variant?: "default" | "icon" | null | undefined;
|
|
16
|
-
} &
|
|
16
|
+
} & class_variance_authority_types2.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_runtime36.JSX.Element;
|
|
22
22
|
declare function EmptyTitle({
|
|
23
23
|
className,
|
|
24
24
|
...props
|
|
25
|
-
}: React.ComponentProps<'div'>):
|
|
25
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.JSX.Element;
|
|
26
26
|
declare function EmptyDescription({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'p'>):
|
|
29
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime36.JSX.Element;
|
|
30
30
|
declare function EmptyContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime36.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 };
|
package/dist/ui/empty.js
CHANGED
|
@@ -3,14 +3,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region ui/empty.tsx
|
|
6
|
-
function Empty({ className
|
|
6
|
+
function Empty({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx("div", {
|
|
8
8
|
"data-slot": "empty",
|
|
9
9
|
className: cn("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", className),
|
|
10
10
|
...props
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
function EmptyHeader({ className
|
|
13
|
+
function EmptyHeader({ className, ...props }) {
|
|
14
14
|
return /* @__PURE__ */ jsx("div", {
|
|
15
15
|
"data-slot": "empty-header",
|
|
16
16
|
className: cn("flex max-w-sm flex-col items-center gap-2 text-center", className),
|
|
@@ -24,7 +24,7 @@ const emptyMediaVariants = cva("flex shrink-0 items-center justify-center mb-2 [
|
|
|
24
24
|
} },
|
|
25
25
|
defaultVariants: { variant: "default" }
|
|
26
26
|
});
|
|
27
|
-
function EmptyMedia({ className, variant = "default"
|
|
27
|
+
function EmptyMedia({ className, variant = "default", ...props }) {
|
|
28
28
|
return /* @__PURE__ */ jsx("div", {
|
|
29
29
|
"data-slot": "empty-icon",
|
|
30
30
|
"data-variant": variant,
|
|
@@ -35,21 +35,21 @@ function EmptyMedia({ className, variant = "default",...props }) {
|
|
|
35
35
|
...props
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
function EmptyTitle({ className
|
|
38
|
+
function EmptyTitle({ className, ...props }) {
|
|
39
39
|
return /* @__PURE__ */ jsx("div", {
|
|
40
40
|
"data-slot": "empty-title",
|
|
41
41
|
className: cn("text-lg font-medium tracking-tight", className),
|
|
42
42
|
...props
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function EmptyDescription({ className
|
|
45
|
+
function EmptyDescription({ className, ...props }) {
|
|
46
46
|
return /* @__PURE__ */ jsx("div", {
|
|
47
47
|
"data-slot": "empty-description",
|
|
48
48
|
className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
|
|
49
49
|
...props
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
function EmptyContent({ className
|
|
52
|
+
function EmptyContent({ className, ...props }) {
|
|
53
53
|
return /* @__PURE__ */ jsx("div", {
|
|
54
54
|
"data-slot": "empty-content",
|
|
55
55
|
className: cn("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", className),
|
|
@@ -58,5 +58,4 @@ function EmptyContent({ className,...props }) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
62
|
-
//# sourceMappingURL=empty.js.map
|
|
61
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/field.d.ts
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { Label } from "./label.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime44 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region ui/field.d.ts
|
|
7
7
|
declare function FieldSet({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'fieldset'>):
|
|
10
|
+
}: React.ComponentProps<'fieldset'>): react_jsx_runtime44.JSX.Element;
|
|
11
11
|
declare function FieldLegend({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<'legend'> & {
|
|
16
16
|
variant?: 'legend' | 'label';
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime44.JSX.Element;
|
|
18
18
|
declare function FieldGroup({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<'div'>):
|
|
21
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime44.JSX.Element;
|
|
22
22
|
declare const fieldVariants: (props?: ({
|
|
23
|
-
orientation?: "
|
|
24
|
-
} &
|
|
23
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
24
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
25
25
|
declare function Field({
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>):
|
|
29
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>): react_jsx_runtime44.JSX.Element;
|
|
30
30
|
declare function FieldContent({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<'div'>):
|
|
33
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime44.JSX.Element;
|
|
34
34
|
declare function FieldLabel({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Label>):
|
|
37
|
+
}: React.ComponentProps<typeof Label>): react_jsx_runtime44.JSX.Element;
|
|
38
38
|
declare function FieldTitle({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'div'>):
|
|
41
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime44.JSX.Element;
|
|
42
42
|
declare function FieldDescription({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<'p'>):
|
|
45
|
+
}: React.ComponentProps<'p'>): react_jsx_runtime44.JSX.Element;
|
|
46
46
|
declare function FieldSeparator({
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
children?: React.ReactNode;
|
|
52
|
-
}):
|
|
52
|
+
}): react_jsx_runtime44.JSX.Element;
|
|
53
53
|
declare function FieldError({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
@@ -59,7 +59,6 @@ declare function FieldError({
|
|
|
59
59
|
errors?: ({
|
|
60
60
|
message?: string;
|
|
61
61
|
} | undefined)[];
|
|
62
|
-
}):
|
|
62
|
+
}): react_jsx_runtime44.JSX.Element | null;
|
|
63
63
|
//#endregion
|
|
64
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
65
|
-
//# sourceMappingURL=field.d.ts.map
|
|
64
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
package/dist/ui/field.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { Label } from "./label.js";
|
|
6
5
|
import { Separator } from "./separator.js";
|
|
@@ -9,14 +8,14 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
8
|
import { cva } from "class-variance-authority";
|
|
10
9
|
|
|
11
10
|
//#region ui/field.tsx
|
|
12
|
-
function FieldSet({ className
|
|
11
|
+
function FieldSet({ className, ...props }) {
|
|
13
12
|
return /* @__PURE__ */ jsx("fieldset", {
|
|
14
13
|
"data-slot": "field-set",
|
|
15
14
|
className: cn("flex flex-col gap-6", "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className),
|
|
16
15
|
...props
|
|
17
16
|
});
|
|
18
17
|
}
|
|
19
|
-
function FieldLegend({ className, variant = "legend"
|
|
18
|
+
function FieldLegend({ className, variant = "legend", ...props }) {
|
|
20
19
|
return /* @__PURE__ */ jsx("legend", {
|
|
21
20
|
"data-slot": "field-legend",
|
|
22
21
|
"data-variant": variant,
|
|
@@ -24,7 +23,7 @@ function FieldLegend({ className, variant = "legend",...props }) {
|
|
|
24
23
|
...props
|
|
25
24
|
});
|
|
26
25
|
}
|
|
27
|
-
function FieldGroup({ className
|
|
26
|
+
function FieldGroup({ className, ...props }) {
|
|
28
27
|
return /* @__PURE__ */ jsx("div", {
|
|
29
28
|
"data-slot": "field-group",
|
|
30
29
|
className: cn("group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 data-[slot=field-group]:*:gap-4", className),
|
|
@@ -47,7 +46,7 @@ const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:tex
|
|
|
47
46
|
} },
|
|
48
47
|
defaultVariants: { orientation: "vertical" }
|
|
49
48
|
});
|
|
50
|
-
function Field({ className, orientation = "vertical"
|
|
49
|
+
function Field({ className, orientation = "vertical", ...props }) {
|
|
51
50
|
return /* @__PURE__ */ jsx("div", {
|
|
52
51
|
role: "group",
|
|
53
52
|
"data-slot": "field",
|
|
@@ -56,35 +55,35 @@ function Field({ className, orientation = "vertical",...props }) {
|
|
|
56
55
|
...props
|
|
57
56
|
});
|
|
58
57
|
}
|
|
59
|
-
function FieldContent({ className
|
|
58
|
+
function FieldContent({ className, ...props }) {
|
|
60
59
|
return /* @__PURE__ */ jsx("div", {
|
|
61
60
|
"data-slot": "field-content",
|
|
62
61
|
className: cn("group/field-content flex flex-1 flex-col gap-1.5 leading-snug", className),
|
|
63
62
|
...props
|
|
64
63
|
});
|
|
65
64
|
}
|
|
66
|
-
function FieldLabel({ className
|
|
65
|
+
function FieldLabel({ className, ...props }) {
|
|
67
66
|
return /* @__PURE__ */ jsx(Label, {
|
|
68
67
|
"data-slot": "field-label",
|
|
69
68
|
className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border *:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", className),
|
|
70
69
|
...props
|
|
71
70
|
});
|
|
72
71
|
}
|
|
73
|
-
function FieldTitle({ className
|
|
72
|
+
function FieldTitle({ className, ...props }) {
|
|
74
73
|
return /* @__PURE__ */ jsx("div", {
|
|
75
74
|
"data-slot": "field-label",
|
|
76
75
|
className: cn("flex w-fit items-center gap-2 text-sm leading-snug font-medium group-data-[disabled=true]/field:opacity-50", className),
|
|
77
76
|
...props
|
|
78
77
|
});
|
|
79
78
|
}
|
|
80
|
-
function FieldDescription({ className
|
|
79
|
+
function FieldDescription({ className, ...props }) {
|
|
81
80
|
return /* @__PURE__ */ jsx("p", {
|
|
82
81
|
"data-slot": "field-description",
|
|
83
82
|
className: cn("text-muted-foreground text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className),
|
|
84
83
|
...props
|
|
85
84
|
});
|
|
86
85
|
}
|
|
87
|
-
function FieldSeparator({ children, className
|
|
86
|
+
function FieldSeparator({ children, className, ...props }) {
|
|
88
87
|
return /* @__PURE__ */ jsxs("div", {
|
|
89
88
|
"data-slot": "field-separator",
|
|
90
89
|
"data-content": !!children,
|
|
@@ -97,7 +96,7 @@ function FieldSeparator({ children, className,...props }) {
|
|
|
97
96
|
})]
|
|
98
97
|
});
|
|
99
98
|
}
|
|
100
|
-
function FieldError({ className, children, errors
|
|
99
|
+
function FieldError({ className, children, errors, ...props }) {
|
|
101
100
|
const content = useMemo(() => {
|
|
102
101
|
if (children) return children;
|
|
103
102
|
if (!errors?.length) return null;
|
|
@@ -118,5 +117,4 @@ function FieldError({ className, children, errors,...props }) {
|
|
|
118
117
|
}
|
|
119
118
|
|
|
120
119
|
//#endregion
|
|
121
|
-
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
122
|
-
//# sourceMappingURL=field.js.map
|
|
120
|
+
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
package/dist/ui/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
5
5
|
import * as react_hook_form0 from "react-hook-form";
|
|
@@ -10,7 +10,7 @@ import { zodResolver } from "@hookform/resolvers/zod";
|
|
|
10
10
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form0.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
11
11
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
12
12
|
...props
|
|
13
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
13
|
+
}: ControllerProps<TFieldValues, TName>) => react_jsx_runtime22.JSX.Element;
|
|
14
14
|
declare const useFormField: () => {
|
|
15
15
|
invalid: boolean;
|
|
16
16
|
isDirty: boolean;
|
|
@@ -26,22 +26,21 @@ declare const useFormField: () => {
|
|
|
26
26
|
declare function FormItem({
|
|
27
27
|
className,
|
|
28
28
|
...props
|
|
29
|
-
}: React$1.ComponentProps<'div'>):
|
|
29
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime22.JSX.Element;
|
|
30
30
|
declare function FormLabel({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<typeof LabelPrimitive.Root>):
|
|
33
|
+
}: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime22.JSX.Element;
|
|
34
34
|
declare function FormControl({
|
|
35
35
|
...props
|
|
36
|
-
}: React$1.ComponentProps<typeof Slot>):
|
|
36
|
+
}: React$1.ComponentProps<typeof Slot>): react_jsx_runtime22.JSX.Element;
|
|
37
37
|
declare function FormDescription({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React$1.ComponentProps<'p'>):
|
|
40
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime22.JSX.Element;
|
|
41
41
|
declare function FormMessage({
|
|
42
42
|
className,
|
|
43
43
|
...props
|
|
44
|
-
}: React$1.ComponentProps<'p'>):
|
|
44
|
+
}: React$1.ComponentProps<'p'>): react_jsx_runtime22.JSX.Element | null;
|
|
45
45
|
//#endregion
|
|
46
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
|
47
|
-
//# sourceMappingURL=form.d.ts.map
|
|
46
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type UseFormReturn, useFieldArray, useForm, useFormField, zodResolver };
|
package/dist/ui/form.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import { Label } from "./label.js";
|
|
6
5
|
import * as React$1 from "react";
|
|
@@ -37,7 +36,7 @@ const useFormField = () => {
|
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
38
|
const FormItemContext = React$1.createContext({});
|
|
40
|
-
function FormItem({ className
|
|
39
|
+
function FormItem({ className, ...props }) {
|
|
41
40
|
const id = React$1.useId();
|
|
42
41
|
return /* @__PURE__ */ jsx(FormItemContext.Provider, {
|
|
43
42
|
value: { id },
|
|
@@ -48,7 +47,7 @@ function FormItem({ className,...props }) {
|
|
|
48
47
|
})
|
|
49
48
|
});
|
|
50
49
|
}
|
|
51
|
-
function FormLabel({ className
|
|
50
|
+
function FormLabel({ className, ...props }) {
|
|
52
51
|
const { error, formItemId } = useFormField();
|
|
53
52
|
return /* @__PURE__ */ jsx(Label, {
|
|
54
53
|
"data-slot": "form-label",
|
|
@@ -68,7 +67,7 @@ function FormControl({ ...props }) {
|
|
|
68
67
|
...props
|
|
69
68
|
});
|
|
70
69
|
}
|
|
71
|
-
function FormDescription({ className
|
|
70
|
+
function FormDescription({ className, ...props }) {
|
|
72
71
|
const { formDescriptionId } = useFormField();
|
|
73
72
|
return /* @__PURE__ */ jsx("p", {
|
|
74
73
|
"data-slot": "form-description",
|
|
@@ -77,7 +76,7 @@ function FormDescription({ className,...props }) {
|
|
|
77
76
|
...props
|
|
78
77
|
});
|
|
79
78
|
}
|
|
80
|
-
function FormMessage({ className
|
|
79
|
+
function FormMessage({ className, ...props }) {
|
|
81
80
|
const { error, formMessageId } = useFormField();
|
|
82
81
|
const body = error ? String(error?.message ?? "") : props.children;
|
|
83
82
|
if (!body) return null;
|
|
@@ -91,5 +90,4 @@ function FormMessage({ className,...props }) {
|
|
|
91
90
|
}
|
|
92
91
|
|
|
93
92
|
//#endregion
|
|
94
|
-
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, zodResolver };
|
|
95
|
-
//# sourceMappingURL=form.js.map
|
|
93
|
+
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFieldArray, useForm, useFormField, zodResolver };
|
package/dist/ui/hover-card.d.ts
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
3
3
|
import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
|
|
4
4
|
|
|
5
5
|
//#region ui/hover-card.d.ts
|
|
6
6
|
declare function HoverCard({
|
|
7
7
|
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Root>):
|
|
8
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Root>): react_jsx_runtime204.JSX.Element;
|
|
9
9
|
declare function HoverCardTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>):
|
|
11
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Trigger>): react_jsx_runtime204.JSX.Element;
|
|
12
12
|
declare function HoverCardContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
15
15
|
sideOffset,
|
|
16
16
|
...props
|
|
17
|
-
}: React$1.ComponentProps<typeof HoverCardPrimitive.Content>):
|
|
17
|
+
}: React$1.ComponentProps<typeof HoverCardPrimitive.Content>): react_jsx_runtime204.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
20
|
-
//# sourceMappingURL=hover-card.d.ts.map
|
|
19
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
package/dist/ui/hover-card.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import { cn } from "./utils.js";
|
|
5
4
|
import "react";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -19,7 +18,7 @@ function HoverCardTrigger({ ...props }) {
|
|
|
19
18
|
...props
|
|
20
19
|
});
|
|
21
20
|
}
|
|
22
|
-
function HoverCardContent({ className, align = "center", sideOffset = 4
|
|
21
|
+
function HoverCardContent({ className, align = "center", sideOffset = 4, ...props }) {
|
|
23
22
|
return /* @__PURE__ */ jsx(HoverCardPrimitive.Portal, {
|
|
24
23
|
"data-slot": "hover-card-portal",
|
|
25
24
|
children: /* @__PURE__ */ jsx(HoverCardPrimitive.Content, {
|
|
@@ -33,5 +32,4 @@ function HoverCardContent({ className, align = "center", sideOffset = 4,...props
|
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
//#endregion
|
|
36
|
-
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
37
|
-
//# sourceMappingURL=hover-card.js.map
|
|
35
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
package/dist/ui/input-group.d.ts
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { Button } from "./button.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime29 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
7
7
|
//#region ui/input-group.d.ts
|
|
8
8
|
declare function InputGroup({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React$1.ComponentProps<'div'>):
|
|
11
|
+
}: React$1.ComponentProps<'div'>): react_jsx_runtime29.JSX.Element;
|
|
12
12
|
declare const inputGroupAddonVariants: (props?: ({
|
|
13
13
|
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
14
|
-
} &
|
|
14
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
15
15
|
declare function InputGroupAddon({
|
|
16
16
|
className,
|
|
17
17
|
align,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>):
|
|
19
|
+
}: React$1.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants>): react_jsx_runtime29.JSX.Element;
|
|
20
20
|
declare const inputGroupButtonVariants: (props?: ({
|
|
21
21
|
size?: "sm" | "xs" | "icon-xs" | "icon-sm" | null | undefined;
|
|
22
|
-
} &
|
|
22
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
23
23
|
declare function InputGroupButton({
|
|
24
24
|
className,
|
|
25
25
|
type,
|
|
26
26
|
variant,
|
|
27
27
|
size,
|
|
28
28
|
...props
|
|
29
|
-
}: Omit<React$1.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>):
|
|
29
|
+
}: Omit<React$1.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants>): react_jsx_runtime29.JSX.Element;
|
|
30
30
|
declare function InputGroupText({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React$1.ComponentProps<'span'>):
|
|
33
|
+
}: React$1.ComponentProps<'span'>): react_jsx_runtime29.JSX.Element;
|
|
34
34
|
declare function InputGroupInput({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React$1.ComponentProps<'input'>):
|
|
37
|
+
}: React$1.ComponentProps<'input'>): react_jsx_runtime29.JSX.Element;
|
|
38
38
|
declare function InputGroupTextarea({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React$1.ComponentProps<'textarea'>):
|
|
41
|
+
}: React$1.ComponentProps<'textarea'>): react_jsx_runtime29.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
44
|
-
//# sourceMappingURL=input-group.d.ts.map
|
|
43
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
package/dist/ui/input-group.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";
|
|
@@ -10,7 +9,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
10
9
|
import { cva } from "class-variance-authority";
|
|
11
10
|
|
|
12
11
|
//#region ui/input-group.tsx
|
|
13
|
-
function InputGroup({ className
|
|
12
|
+
function InputGroup({ className, ...props }) {
|
|
14
13
|
return /* @__PURE__ */ jsx("div", {
|
|
15
14
|
"data-slot": "input-group",
|
|
16
15
|
role: "group",
|
|
@@ -27,7 +26,7 @@ const inputGroupAddonVariants = cva("text-muted-foreground flex h-auto cursor-te
|
|
|
27
26
|
} },
|
|
28
27
|
defaultVariants: { align: "inline-start" }
|
|
29
28
|
});
|
|
30
|
-
function InputGroupAddon({ className, align = "inline-start"
|
|
29
|
+
function InputGroupAddon({ className, align = "inline-start", ...props }) {
|
|
31
30
|
return /* @__PURE__ */ jsx("div", {
|
|
32
31
|
role: "group",
|
|
33
32
|
"data-slot": "input-group-addon",
|
|
@@ -49,7 +48,7 @@ const inputGroupButtonVariants = cva("text-sm shadow-none flex gap-2 items-cente
|
|
|
49
48
|
} },
|
|
50
49
|
defaultVariants: { size: "xs" }
|
|
51
50
|
});
|
|
52
|
-
function InputGroupButton({ className, type = "button", variant = "ghost", size = "xs"
|
|
51
|
+
function InputGroupButton({ className, type = "button", variant = "ghost", size = "xs", ...props }) {
|
|
53
52
|
return /* @__PURE__ */ jsx(Button, {
|
|
54
53
|
type,
|
|
55
54
|
"data-size": size,
|
|
@@ -58,20 +57,20 @@ function InputGroupButton({ className, type = "button", variant = "ghost", size
|
|
|
58
57
|
...props
|
|
59
58
|
});
|
|
60
59
|
}
|
|
61
|
-
function InputGroupText({ className
|
|
60
|
+
function InputGroupText({ className, ...props }) {
|
|
62
61
|
return /* @__PURE__ */ jsx("span", {
|
|
63
62
|
className: cn("text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4", className),
|
|
64
63
|
...props
|
|
65
64
|
});
|
|
66
65
|
}
|
|
67
|
-
function InputGroupInput({ className
|
|
66
|
+
function InputGroupInput({ className, ...props }) {
|
|
68
67
|
return /* @__PURE__ */ jsx(Input, {
|
|
69
68
|
"data-slot": "input-group-control",
|
|
70
69
|
className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
71
70
|
...props
|
|
72
71
|
});
|
|
73
72
|
}
|
|
74
|
-
function InputGroupTextarea({ className
|
|
73
|
+
function InputGroupTextarea({ className, ...props }) {
|
|
75
74
|
return /* @__PURE__ */ jsx(Textarea, {
|
|
76
75
|
"data-slot": "input-group-control",
|
|
77
76
|
className: cn("flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent", className),
|
|
@@ -80,5 +79,4 @@ function InputGroupTextarea({ className,...props }) {
|
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
//#endregion
|
|
83
|
-
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
84
|
-
//# sourceMappingURL=input-group.js.map
|
|
82
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
package/dist/ui/input-otp.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React$1 from "react";
|
|
|
2
2
|
import * as input_otp0 from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region ui/input-otp.d.ts
|
|
5
|
-
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
5
|
+
declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
6
6
|
value?: string;
|
|
7
7
|
onChange?: (newValue: string) => unknown;
|
|
8
8
|
maxLength: number;
|
|
@@ -15,7 +15,7 @@ declare const InputOTP: React$1.ForwardRefExoticComponent<(Omit<Omit<React$1.Inp
|
|
|
15
15
|
} & {
|
|
16
16
|
render: (props: input_otp0.RenderProps) => React$1.ReactNode;
|
|
17
17
|
children?: never;
|
|
18
|
-
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
18
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
19
19
|
value?: string;
|
|
20
20
|
onChange?: (newValue: string) => unknown;
|
|
21
21
|
maxLength: number;
|
|
@@ -35,5 +35,4 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
35
35
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
36
36
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
39
|
-
//# sourceMappingURL=input-otp.d.ts.map
|
|
38
|
+
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|