@schemavaults/ui 0.11.128
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 +58 -0
- package/dist/components/error/ErrorPage/ErrorPage.d.ts +9 -0
- package/dist/components/error/ErrorPage/ErrorPage.js +25 -0
- package/dist/components/error/ErrorPage/ErrorPage.js.map +1 -0
- package/dist/components/error/ErrorPage/index.d.ts +3 -0
- package/dist/components/error/ErrorPage/index.js +3 -0
- package/dist/components/error/ErrorPage/index.js.map +1 -0
- package/dist/components/error/index.d.ts +2 -0
- package/dist/components/error/index.js +2 -0
- package/dist/components/error/index.js.map +1 -0
- package/dist/components/hoc/any-position-context-menu-hoc.d.ts +24 -0
- package/dist/components/hoc/any-position-context-menu-hoc.js +118 -0
- package/dist/components/hoc/any-position-context-menu-hoc.js.map +1 -0
- package/dist/components/hoc/index.d.ts +2 -0
- package/dist/components/hoc/index.js +2 -0
- package/dist/components/hoc/index.js.map +1 -0
- package/dist/components/hooks/index.d.ts +4 -0
- package/dist/components/hooks/index.js +3 -0
- package/dist/components/hooks/index.js.map +1 -0
- package/dist/components/hooks/use-debug.d.ts +2 -0
- package/dist/components/hooks/use-debug.js +23 -0
- package/dist/components/hooks/use-debug.js.map +1 -0
- package/dist/components/hooks/use-mobile.d.ts +2 -0
- package/dist/components/hooks/use-mobile.js +18 -0
- package/dist/components/hooks/use-mobile.js.map +1 -0
- package/dist/components/hooks/use-toast.d.ts +44 -0
- package/dist/components/hooks/use-toast.js +129 -0
- package/dist/components/hooks/use-toast.js.map +1 -0
- package/dist/components/layout/dashboard-layout/DashboardLayoutProps.d.ts +17 -0
- package/dist/components/layout/dashboard-layout/DashboardLayoutProps.js +2 -0
- package/dist/components/layout/dashboard-layout/DashboardLayoutProps.js.map +1 -0
- package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.d.ts +11 -0
- package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.js +2 -0
- package/dist/components/layout/dashboard-layout/customizable-dashboard-component-type.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.d.ts +5 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.js +15 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout-main-content-container.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout.d.ts +11 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout.js +30 -0
- package/dist/components/layout/dashboard-layout/dashboard-layout.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.js +18 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-layout-sidebar-trigger.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.d.ts +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.js +5 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-admin-only-items-context.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.d.ts +7 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.js +25 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-content.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.d.ts +11 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.js +10 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-context-provider.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.d.ts +9 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.js +10 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-footer.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.d.ts +10 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.js +39 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-header.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.d.ts +11 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.js +2 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-definition.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.d.ts +8 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.js +57 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group-renderer.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.d.ts +7 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.js +2 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-group.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.d.ts +8 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.js +64 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-item-renderer.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.d.ts +4 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.js +4 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-items-and-groups-context.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.d.ts +13 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.js +30 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-layout.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.d.ts +7 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.js +31 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state-provider.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.d.ts +7 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.js +8 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-open-state.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.d.ts +37 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.js +21 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar-sizing.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.d.ts +4 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.js +27 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/dashboard-sidebar.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.d.ts +12 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.js +8 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/index.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.d.ts +2 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.js +21 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useCloseDashboardSidebarOnRouteChange.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.js +11 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarItemsAndGroups.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.js +12 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenState.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.js +9 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarOpenStateDispatch.js.map +1 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.js +8 -0
- package/dist/components/layout/dashboard-layout/dashboard-sidebar/useDashboardSidebarSizing.js.map +1 -0
- package/dist/components/layout/dashboard-layout/index.d.ts +6 -0
- package/dist/components/layout/dashboard-layout/index.js +4 -0
- package/dist/components/layout/dashboard-layout/index.js.map +1 -0
- package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.d.ts +3 -0
- package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.js +4 -0
- package/dist/components/layout/dashboard-layout/toggle-dashboard-layout-collapsed-transition-time.js.map +1 -0
- package/dist/components/layout/index.d.ts +6 -0
- package/dist/components/layout/index.js +4 -0
- package/dist/components/layout/index.js.map +1 -0
- package/dist/components/layout/page-column-container/index.d.ts +3 -0
- package/dist/components/layout/page-column-container/index.js +3 -0
- package/dist/components/layout/page-column-container/index.js.map +1 -0
- package/dist/components/layout/page-column-container/page-column-container.d.ts +12 -0
- package/dist/components/layout/page-column-container/page-column-container.js +14 -0
- package/dist/components/layout/page-column-container/page-column-container.js.map +1 -0
- package/dist/components/layout/themed-page-container/index.d.ts +3 -0
- package/dist/components/layout/themed-page-container/index.js +3 -0
- package/dist/components/layout/themed-page-container/index.js.map +1 -0
- package/dist/components/layout/themed-page-container/themed-page-container.d.ts +18 -0
- package/dist/components/layout/themed-page-container/themed-page-container.js +21 -0
- package/dist/components/layout/themed-page-container/themed-page-container.js.map +1 -0
- package/dist/components/navigation/back-button.d.ts +6 -0
- package/dist/components/navigation/back-button.js +8 -0
- package/dist/components/navigation/back-button.js.map +1 -0
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.js +2 -0
- package/dist/components/navigation/index.js.map +1 -0
- package/dist/components/ui/alert/alert.d.ts +29 -0
- package/dist/components/ui/alert/alert.js +35 -0
- package/dist/components/ui/alert/alert.js.map +1 -0
- package/dist/components/ui/alert/index.d.ts +2 -0
- package/dist/components/ui/alert/index.js +2 -0
- package/dist/components/ui/alert/index.js.map +1 -0
- package/dist/components/ui/background-blur/background-blur.d.ts +10 -0
- package/dist/components/ui/background-blur/background-blur.js +45 -0
- package/dist/components/ui/background-blur/background-blur.js.map +1 -0
- package/dist/components/ui/background-blur/index.d.ts +2 -0
- package/dist/components/ui/background-blur/index.js +2 -0
- package/dist/components/ui/background-blur/index.js.map +1 -0
- package/dist/components/ui/badge/badge-variants.d.ts +2 -0
- package/dist/components/ui/badge/badge-variants.js +7 -0
- package/dist/components/ui/badge/badge-variants.js.map +1 -0
- package/dist/components/ui/badge/badge.d.ts +10 -0
- package/dist/components/ui/badge/badge.js +24 -0
- package/dist/components/ui/badge/badge.js.map +1 -0
- package/dist/components/ui/badge/index.d.ts +2 -0
- package/dist/components/ui/badge/index.js +2 -0
- package/dist/components/ui/badge/index.js.map +1 -0
- package/dist/components/ui/button/button.d.ts +15 -0
- package/dist/components/ui/button/button.js +41 -0
- package/dist/components/ui/button/button.js.map +1 -0
- package/dist/components/ui/button/index.d.ts +3 -0
- package/dist/components/ui/button/index.js +3 -0
- package/dist/components/ui/button/index.js.map +1 -0
- package/dist/components/ui/card/card.d.ts +26 -0
- package/dist/components/ui/card/card.js +17 -0
- package/dist/components/ui/card/card.js.map +1 -0
- package/dist/components/ui/card/index.d.ts +2 -0
- package/dist/components/ui/card/index.js +2 -0
- package/dist/components/ui/card/index.js.map +1 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +9 -0
- package/dist/components/ui/checkbox/checkbox.js +10 -0
- package/dist/components/ui/checkbox/checkbox.js.map +1 -0
- package/dist/components/ui/checkbox/index.d.ts +3 -0
- package/dist/components/ui/checkbox/index.js +3 -0
- package/dist/components/ui/checkbox/index.js.map +1 -0
- package/dist/components/ui/command/command.d.ts +39 -0
- package/dist/components/ui/command/command.js +29 -0
- package/dist/components/ui/command/command.js.map +1 -0
- package/dist/components/ui/command/index.d.ts +2 -0
- package/dist/components/ui/command/index.js +2 -0
- package/dist/components/ui/command/index.js.map +1 -0
- package/dist/components/ui/context-menu/context-menu.d.ts +25 -0
- package/dist/components/ui/context-menu/context-menu.js +52 -0
- package/dist/components/ui/context-menu/context-menu.js.map +1 -0
- package/dist/components/ui/context-menu/index.d.ts +2 -0
- package/dist/components/ui/context-menu/index.js +2 -0
- package/dist/components/ui/context-menu/index.js.map +1 -0
- package/dist/components/ui/datatable/datatable.d.ts +10 -0
- package/dist/components/ui/datatable/datatable.js +48 -0
- package/dist/components/ui/datatable/datatable.js.map +1 -0
- package/dist/components/ui/datatable/index.d.ts +2 -0
- package/dist/components/ui/datatable/index.js +2 -0
- package/dist/components/ui/datatable/index.js.map +1 -0
- package/dist/components/ui/dialog/dialog.d.ts +31 -0
- package/dist/components/ui/dialog/dialog.js +23 -0
- package/dist/components/ui/dialog/dialog.js.map +1 -0
- package/dist/components/ui/dialog/index.d.ts +2 -0
- package/dist/components/ui/dialog/index.js +2 -0
- package/dist/components/ui/dialog/index.js.map +1 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +51 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +36 -0
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +2 -0
- package/dist/components/ui/dropdown-menu/index.js +2 -0
- package/dist/components/ui/dropdown-menu/index.js.map +1 -0
- package/dist/components/ui/file-input/FileInput.d.ts +17 -0
- package/dist/components/ui/file-input/FileInput.js +101 -0
- package/dist/components/ui/file-input/FileInput.js.map +1 -0
- package/dist/components/ui/file-input/fileToBuffer.d.ts +3 -0
- package/dist/components/ui/file-input/fileToBuffer.js +62 -0
- package/dist/components/ui/file-input/fileToBuffer.js.map +1 -0
- package/dist/components/ui/file-input/index.d.ts +2 -0
- package/dist/components/ui/file-input/index.js +2 -0
- package/dist/components/ui/file-input/index.js.map +1 -0
- package/dist/components/ui/file-input/serializeFile.d.ts +3 -0
- package/dist/components/ui/file-input/serializeFile.js +26 -0
- package/dist/components/ui/file-input/serializeFile.js.map +1 -0
- package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.d.ts +3 -0
- package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.js +27 -0
- package/dist/components/ui/file-input/useDoesFilenameHaveValidFileExtension.js.map +1 -0
- package/dist/components/ui/form.d.ts +41 -0
- package/dist/components/ui/form.js +65 -0
- package/dist/components/ui/form.js.map +1 -0
- package/dist/components/ui/fullscreen-image/fullscreen-image.d.ts +47 -0
- package/dist/components/ui/fullscreen-image/fullscreen-image.js +77 -0
- package/dist/components/ui/fullscreen-image/fullscreen-image.js.map +1 -0
- package/dist/components/ui/fullscreen-image/index.d.ts +3 -0
- package/dist/components/ui/fullscreen-image/index.js +3 -0
- package/dist/components/ui/fullscreen-image/index.js.map +1 -0
- package/dist/components/ui/hover-card/hover-card.d.ts +9 -0
- package/dist/components/ui/hover-card/hover-card.js +10 -0
- package/dist/components/ui/hover-card/hover-card.js.map +1 -0
- package/dist/components/ui/hover-card/index.d.ts +2 -0
- package/dist/components/ui/hover-card/index.js +2 -0
- package/dist/components/ui/hover-card/index.js.map +1 -0
- package/dist/components/ui/icon/DefaultIconSize.d.ts +2 -0
- package/dist/components/ui/icon/DefaultIconSize.js +3 -0
- package/dist/components/ui/icon/DefaultIconSize.js.map +1 -0
- package/dist/components/ui/icon/Icon.d.ts +4 -0
- package/dist/components/ui/icon/Icon.js +5 -0
- package/dist/components/ui/icon/Icon.js.map +1 -0
- package/dist/components/ui/icon/IconFacade.d.ts +4 -0
- package/dist/components/ui/icon/IconFacade.js +63 -0
- package/dist/components/ui/icon/IconFacade.js.map +1 -0
- package/dist/components/ui/icon/IconFromSvgDataUrl.d.ts +7 -0
- package/dist/components/ui/icon/IconFromSvgDataUrl.js +31 -0
- package/dist/components/ui/icon/IconFromSvgDataUrl.js.map +1 -0
- package/dist/components/ui/icon/IconFromSvgFilepath.d.ts +7 -0
- package/dist/components/ui/icon/IconFromSvgFilepath.js +43 -0
- package/dist/components/ui/icon/IconFromSvgFilepath.js.map +1 -0
- package/dist/components/ui/icon/IconFromUtf8XmlSvg.d.ts +6 -0
- package/dist/components/ui/icon/IconFromUtf8XmlSvg.js +18 -0
- package/dist/components/ui/icon/IconFromUtf8XmlSvg.js.map +1 -0
- package/dist/components/ui/icon/IconProps.d.ts +7 -0
- package/dist/components/ui/icon/IconProps.js +3 -0
- package/dist/components/ui/icon/IconProps.js.map +1 -0
- package/dist/components/ui/icon/IconSkeleton.d.ts +4 -0
- package/dist/components/ui/icon/IconSkeleton.js +8 -0
- package/dist/components/ui/icon/IconSkeleton.js.map +1 -0
- package/dist/components/ui/icon/LazySvgIcon.d.ts +7 -0
- package/dist/components/ui/icon/LazySvgIcon.js +10 -0
- package/dist/components/ui/icon/LazySvgIcon.js.map +1 -0
- package/dist/components/ui/icon/LoadedSvgIcon.d.ts +8 -0
- package/dist/components/ui/icon/LoadedSvgIcon.js +8 -0
- package/dist/components/ui/icon/LoadedSvgIcon.js.map +1 -0
- package/dist/components/ui/icon/RenderSvg.d.ts +7 -0
- package/dist/components/ui/icon/RenderSvg.js +24 -0
- package/dist/components/ui/icon/RenderSvg.js.map +1 -0
- package/dist/components/ui/icon/SvgDataUrl.d.ts +4 -0
- package/dist/components/ui/icon/SvgDataUrl.js +16 -0
- package/dist/components/ui/icon/SvgDataUrl.js.map +1 -0
- package/dist/components/ui/icon/index.d.ts +3 -0
- package/dist/components/ui/icon/index.js +3 -0
- package/dist/components/ui/icon/index.js.map +1 -0
- package/dist/components/ui/icon/parseSvgIcon.d.ts +8 -0
- package/dist/components/ui/icon/parseSvgIcon.js +27 -0
- package/dist/components/ui/icon/parseSvgIcon.js.map +1 -0
- package/dist/components/ui/icon/toReactSvgTransform.d.ts +2 -0
- package/dist/components/ui/icon/toReactSvgTransform.js +12 -0
- package/dist/components/ui/icon/toReactSvgTransform.js.map +1 -0
- package/dist/components/ui/index.d.ts +86 -0
- package/dist/components/ui/index.js +44 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/components/ui/inline-menu.d.ts +21 -0
- package/dist/components/ui/inline-menu.js +28 -0
- package/dist/components/ui/inline-menu.js.map +1 -0
- package/dist/components/ui/input/index.d.ts +3 -0
- package/dist/components/ui/input/index.js +3 -0
- package/dist/components/ui/input/index.js.map +1 -0
- package/dist/components/ui/input/input.d.ts +9 -0
- package/dist/components/ui/input/input.js +10 -0
- package/dist/components/ui/input/input.js.map +1 -0
- package/dist/components/ui/key-value-with-skeleton/index.d.ts +3 -0
- package/dist/components/ui/key-value-with-skeleton/index.js +3 -0
- package/dist/components/ui/key-value-with-skeleton/index.js.map +1 -0
- package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.d.ts +7 -0
- package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.js +55 -0
- package/dist/components/ui/key-value-with-skeleton/key-value-with-skeleton.js.map +1 -0
- package/dist/components/ui/label/index.d.ts +3 -0
- package/dist/components/ui/label/index.js +3 -0
- package/dist/components/ui/label/index.js.map +1 -0
- package/dist/components/ui/label/label.d.ts +9 -0
- package/dist/components/ui/label/label.js +11 -0
- package/dist/components/ui/label/label.js.map +1 -0
- package/dist/components/ui/loading-page/index.d.ts +3 -0
- package/dist/components/ui/loading-page/index.js +3 -0
- package/dist/components/ui/loading-page/index.js.map +1 -0
- package/dist/components/ui/loading-page/loading-page.d.ts +5 -0
- package/dist/components/ui/loading-page/loading-page.js +7 -0
- package/dist/components/ui/loading-page/loading-page.js.map +1 -0
- package/dist/components/ui/navigation-menu/index.d.ts +2 -0
- package/dist/components/ui/navigation-menu/index.js +2 -0
- package/dist/components/ui/navigation-menu/index.js.map +1 -0
- package/dist/components/ui/navigation-menu/navigation-menu.d.ts +14 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js +33 -0
- package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
- package/dist/components/ui/popover/index.d.ts +2 -0
- package/dist/components/ui/popover/index.js +2 -0
- package/dist/components/ui/popover/index.js.map +1 -0
- package/dist/components/ui/popover/popover.d.ts +9 -0
- package/dist/components/ui/popover/popover.js +10 -0
- package/dist/components/ui/popover/popover.js.map +1 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/radio-group/index.js +2 -0
- package/dist/components/ui/radio-group/index.js.map +1 -0
- package/dist/components/ui/radio-group/radio-group.d.ts +11 -0
- package/dist/components/ui/radio-group/radio-group.js +16 -0
- package/dist/components/ui/radio-group/radio-group.js.map +1 -0
- package/dist/components/ui/scroll-area/index.d.ts +1 -0
- package/dist/components/ui/scroll-area/index.js +2 -0
- package/dist/components/ui/scroll-area/index.js.map +1 -0
- package/dist/components/ui/scroll-area/scroll-area.d.ts +5 -0
- package/dist/components/ui/scroll-area/scroll-area.js +14 -0
- package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
- package/dist/components/ui/select/index.d.ts +2 -0
- package/dist/components/ui/select/index.js +2 -0
- package/dist/components/ui/select/index.js.map +1 -0
- package/dist/components/ui/select/select.d.ts +15 -0
- package/dist/components/ui/select/select.js +39 -0
- package/dist/components/ui/select/select.js.map +1 -0
- package/dist/components/ui/separator/index.d.ts +2 -0
- package/dist/components/ui/separator/index.js +2 -0
- package/dist/components/ui/separator/index.js.map +1 -0
- package/dist/components/ui/separator/separator.d.ts +9 -0
- package/dist/components/ui/separator/separator.js +11 -0
- package/dist/components/ui/separator/separator.js.map +1 -0
- package/dist/components/ui/sheet/index.d.ts +2 -0
- package/dist/components/ui/sheet/index.js +2 -0
- package/dist/components/ui/sheet/index.js.map +1 -0
- package/dist/components/ui/sheet/sheet.d.ts +13 -0
- package/dist/components/ui/sheet/sheet.js +41 -0
- package/dist/components/ui/sheet/sheet.js.map +1 -0
- package/dist/components/ui/skeleton/index.d.ts +3 -0
- package/dist/components/ui/skeleton/index.js +3 -0
- package/dist/components/ui/skeleton/index.js.map +1 -0
- package/dist/components/ui/skeleton/skeleton.d.ts +3 -0
- package/dist/components/ui/skeleton/skeleton.js +8 -0
- package/dist/components/ui/skeleton/skeleton.js.map +1 -0
- package/dist/components/ui/slider/index.d.ts +2 -0
- package/dist/components/ui/slider/index.js +2 -0
- package/dist/components/ui/slider/index.js.map +1 -0
- package/dist/components/ui/slider/slider.d.ts +11 -0
- package/dist/components/ui/slider/slider.js +11 -0
- package/dist/components/ui/slider/slider.js.map +1 -0
- package/dist/components/ui/split-pane/index.d.ts +3 -0
- package/dist/components/ui/split-pane/index.js +2 -0
- package/dist/components/ui/split-pane/index.js.map +1 -0
- package/dist/components/ui/split-pane/split-pane-acceptable-split-range.d.ts +3 -0
- package/dist/components/ui/split-pane/split-pane-acceptable-split-range.js +4 -0
- package/dist/components/ui/split-pane/split-pane-acceptable-split-range.js.map +1 -0
- package/dist/components/ui/split-pane/split-pane-directions.d.ts +3 -0
- package/dist/components/ui/split-pane/split-pane-directions.js +6 -0
- package/dist/components/ui/split-pane/split-pane-directions.js.map +1 -0
- package/dist/components/ui/split-pane/split-pane.d.ts +13 -0
- package/dist/components/ui/split-pane/split-pane.js +95 -0
- package/dist/components/ui/split-pane/split-pane.js.map +1 -0
- package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.d.ts +3 -0
- package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.js +25 -0
- package/dist/components/ui/split-pane/useSplitPaneDirectionOrDefault.js.map +1 -0
- package/dist/components/ui/status-blinker/index.d.ts +2 -0
- package/dist/components/ui/status-blinker/index.js +2 -0
- package/dist/components/ui/status-blinker/index.js.map +1 -0
- package/dist/components/ui/status-blinker/status-blinker.d.ts +8 -0
- package/dist/components/ui/status-blinker/status-blinker.js +24 -0
- package/dist/components/ui/status-blinker/status-blinker.js.map +1 -0
- package/dist/components/ui/stepper/base-stepper-state-type.d.ts +1 -0
- package/dist/components/ui/stepper/base-stepper-state-type.js +2 -0
- package/dist/components/ui/stepper/base-stepper-state-type.js.map +1 -0
- package/dist/components/ui/stepper/index.d.ts +2 -0
- package/dist/components/ui/stepper/index.js +2 -0
- package/dist/components/ui/stepper/index.js.map +1 -0
- package/dist/components/ui/stepper/step_definition.d.ts +25 -0
- package/dist/components/ui/stepper/step_definition.js +2 -0
- package/dist/components/ui/stepper/step_definition.js.map +1 -0
- package/dist/components/ui/stepper/stepper-body.d.ts +2 -0
- package/dist/components/ui/stepper/stepper-body.js +28 -0
- package/dist/components/ui/stepper/stepper-body.js.map +1 -0
- package/dist/components/ui/stepper/stepper-context-type.d.ts +9 -0
- package/dist/components/ui/stepper/stepper-context-type.js +2 -0
- package/dist/components/ui/stepper/stepper-context-type.js.map +1 -0
- package/dist/components/ui/stepper/stepper-context.d.ts +2 -0
- package/dist/components/ui/stepper/stepper-context.js +3 -0
- package/dist/components/ui/stepper/stepper-context.js.map +1 -0
- package/dist/components/ui/stepper/stepper-footer.d.ts +10 -0
- package/dist/components/ui/stepper/stepper-footer.js +89 -0
- package/dist/components/ui/stepper/stepper-footer.js.map +1 -0
- package/dist/components/ui/stepper/stepper-provider.d.ts +11 -0
- package/dist/components/ui/stepper/stepper-provider.js +38 -0
- package/dist/components/ui/stepper/stepper-provider.js.map +1 -0
- package/dist/components/ui/stepper/stepper-types.d.ts +21 -0
- package/dist/components/ui/stepper/stepper-types.js +2 -0
- package/dist/components/ui/stepper/stepper-types.js.map +1 -0
- package/dist/components/ui/stepper/stepper.d.ts +5 -0
- package/dist/components/ui/stepper/stepper.js +28 -0
- package/dist/components/ui/stepper/stepper.js.map +1 -0
- package/dist/components/ui/stepper/steps-indicator.d.ts +5 -0
- package/dist/components/ui/stepper/steps-indicator.js +36 -0
- package/dist/components/ui/stepper/steps-indicator.js.map +1 -0
- package/dist/components/ui/stepper/useStepperContext.d.ts +4 -0
- package/dist/components/ui/stepper/useStepperContext.js +13 -0
- package/dist/components/ui/stepper/useStepperContext.js.map +1 -0
- package/dist/components/ui/table.d.ts +34 -0
- package/dist/components/ui/table.js +21 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs/Tabs.d.ts +23 -0
- package/dist/components/ui/tabs/Tabs.js +19 -0
- package/dist/components/ui/tabs/Tabs.js.map +1 -0
- package/dist/components/ui/tabs/index.d.ts +2 -0
- package/dist/components/ui/tabs/index.js +2 -0
- package/dist/components/ui/tabs/index.js.map +1 -0
- package/dist/components/ui/textarea/index.d.ts +3 -0
- package/dist/components/ui/textarea/index.js +3 -0
- package/dist/components/ui/textarea/index.js.map +1 -0
- package/dist/components/ui/textarea/textarea.d.ts +9 -0
- package/dist/components/ui/textarea/textarea.js +10 -0
- package/dist/components/ui/textarea/textarea.js.map +1 -0
- package/dist/components/ui/themed-page-background/index.d.ts +3 -0
- package/dist/components/ui/themed-page-background/index.js +3 -0
- package/dist/components/ui/themed-page-background/index.js.map +1 -0
- package/dist/components/ui/themed-page-background/themed-page-background.d.ts +16 -0
- package/dist/components/ui/themed-page-background/themed-page-background.js +23 -0
- package/dist/components/ui/themed-page-background/themed-page-background.js.map +1 -0
- package/dist/components/ui/toast/index.d.ts +2 -0
- package/dist/components/ui/toast/index.js +2 -0
- package/dist/components/ui/toast/index.js.map +1 -0
- package/dist/components/ui/toast/toast-variants.d.ts +2 -0
- package/dist/components/ui/toast/toast-variants.js +6 -0
- package/dist/components/ui/toast/toast-variants.js.map +1 -0
- package/dist/components/ui/toast/toast.d.ts +33 -0
- package/dist/components/ui/toast/toast.js +35 -0
- package/dist/components/ui/toast/toast.js.map +1 -0
- package/dist/components/ui/toaster/index.d.ts +3 -0
- package/dist/components/ui/toaster/index.js +3 -0
- package/dist/components/ui/toaster/index.js.map +1 -0
- package/dist/components/ui/toaster/toaster.d.ts +2 -0
- package/dist/components/ui/toaster/toaster.js +12 -0
- package/dist/components/ui/toaster/toaster.js.map +1 -0
- package/dist/components/ui/tooltip/index.d.ts +2 -0
- package/dist/components/ui/tooltip/index.js +2 -0
- package/dist/components/ui/tooltip/index.js.map +1 -0
- package/dist/components/ui/tooltip/tooltip.d.ts +14 -0
- package/dist/components/ui/tooltip/tooltip.js +15 -0
- package/dist/components/ui/tooltip/tooltip.js.map +1 -0
- package/dist/components/ui/typewriter-effect/cursor-blinker.d.ts +5 -0
- package/dist/components/ui/typewriter-effect/cursor-blinker.js +26 -0
- package/dist/components/ui/typewriter-effect/cursor-blinker.js.map +1 -0
- package/dist/components/ui/typewriter-effect/index.d.ts +2 -0
- package/dist/components/ui/typewriter-effect/index.js +2 -0
- package/dist/components/ui/typewriter-effect/index.js.map +1 -0
- package/dist/components/ui/typewriter-effect/typewriter-effect.d.ts +10 -0
- package/dist/components/ui/typewriter-effect/typewriter-effect.js +76 -0
- package/dist/components/ui/typewriter-effect/typewriter-effect.js.map +1 -0
- package/dist/components/ui/visually-hidden/index.d.ts +3 -0
- package/dist/components/ui/visually-hidden/index.js +3 -0
- package/dist/components/ui/visually-hidden/index.js.map +1 -0
- package/dist/components/ui/visually-hidden/visually-hidden.d.ts +2 -0
- package/dist/components/ui/visually-hidden/visually-hidden.js +3 -0
- package/dist/components/ui/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/components/ui/wordmark/index.d.ts +3 -0
- package/dist/components/ui/wordmark/index.js +3 -0
- package/dist/components/ui/wordmark/index.js.map +1 -0
- package/dist/components/ui/wordmark/wordmark.d.ts +6 -0
- package/dist/components/ui/wordmark/wordmark.js +8 -0
- package/dist/components/ui/wordmark/wordmark.js.map +1 -0
- package/dist/framer-motion.d.ts +2 -0
- package/dist/framer-motion.js +3 -0
- package/dist/framer-motion.js.map +1 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/getTailwindThemeScreenBreakpoint.d.ts +2 -0
- package/dist/lib/getTailwindThemeScreenBreakpoint.js +5 -0
- package/dist/lib/getTailwindThemeScreenBreakpoint.js.map +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +6 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/providers/brightness-theme/brightness-theme.d.ts +11 -0
- package/dist/providers/brightness-theme/brightness-theme.js +15 -0
- package/dist/providers/brightness-theme/brightness-theme.js.map +1 -0
- package/dist/providers/brightness-theme/index.d.ts +2 -0
- package/dist/providers/brightness-theme/index.js +2 -0
- package/dist/providers/brightness-theme/index.js.map +1 -0
- package/dist/providers/index.d.ts +4 -0
- package/dist/providers/index.js +4 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/lazy_framer.d.ts +6 -0
- package/dist/providers/lazy_framer.js +8 -0
- package/dist/providers/lazy_framer.js.map +1 -0
- package/dist/types/Link.d.ts +9 -0
- package/dist/types/Link.js +2 -0
- package/dist/types/Link.js.map +1 -0
- package/package.json +128 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function toReactSvgTransform(svg) {
|
|
2
|
+
let output = svg;
|
|
3
|
+
// Replace stroke-width with strokeWidth
|
|
4
|
+
output = output.replace(/stroke-width=/g, "strokeWidth=");
|
|
5
|
+
// Replace stroke-linecap with strokeLinecap
|
|
6
|
+
output = output.replace(/stroke-linecap=/g, "strokeLinecap=");
|
|
7
|
+
// Replace stroke-linejoin with strokeLinejoin
|
|
8
|
+
output = output.replace(/stroke-linejoin=/g, "strokeLinejoin=");
|
|
9
|
+
return output;
|
|
10
|
+
}
|
|
11
|
+
export default toReactSvgTransform;
|
|
12
|
+
//# sourceMappingURL=toReactSvgTransform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toReactSvgTransform.js","sourceRoot":"","sources":["../../../../src/components/ui/icon/toReactSvgTransform.ts"],"names":[],"mappings":"AAAA,SAAS,mBAAmB,CAAC,GAAW;IACtC,IAAI,MAAM,GAAW,GAAG,CAAC;IAEzB,wCAAwC;IACxC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC;IAE1D,4CAA4C;IAC5C,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,CAAC;IAE9D,8CAA8C;IAC9C,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,mBAAmB,EAAE,iBAAiB,CAAC,CAAC;IAEhE,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export * from "./alert";
|
|
2
|
+
export type * from "./alert";
|
|
3
|
+
export * from "./badge";
|
|
4
|
+
export type * from "./badge";
|
|
5
|
+
export * from "./background-blur";
|
|
6
|
+
export type * from "./background-blur";
|
|
7
|
+
export * from "./themed-page-background";
|
|
8
|
+
export type * from "./themed-page-background";
|
|
9
|
+
export * from "./button";
|
|
10
|
+
export type * from "./button";
|
|
11
|
+
export * from "./input";
|
|
12
|
+
export type * from "./input";
|
|
13
|
+
export * from "./file-input";
|
|
14
|
+
export type * from "./file-input";
|
|
15
|
+
export * from "./label";
|
|
16
|
+
export type * from "./label";
|
|
17
|
+
export * from "./toast";
|
|
18
|
+
export type * from "./toast";
|
|
19
|
+
export * from "./toaster";
|
|
20
|
+
export type * from "./toaster";
|
|
21
|
+
export * from "./wordmark";
|
|
22
|
+
export type * from "./wordmark";
|
|
23
|
+
export * from "./card";
|
|
24
|
+
export type * from "./card";
|
|
25
|
+
export * from "./form";
|
|
26
|
+
export type * from "./form";
|
|
27
|
+
export * from "./separator";
|
|
28
|
+
export type * from "./separator";
|
|
29
|
+
export * from "./dropdown-menu";
|
|
30
|
+
export type * from "./dropdown-menu";
|
|
31
|
+
export * from "./tooltip";
|
|
32
|
+
export type * from "./tooltip";
|
|
33
|
+
export * from "./navigation-menu";
|
|
34
|
+
export type * from "./navigation-menu";
|
|
35
|
+
export * from "./dialog";
|
|
36
|
+
export type * from "./dialog";
|
|
37
|
+
export * from "./popover";
|
|
38
|
+
export type * from "./popover";
|
|
39
|
+
export * from "./command";
|
|
40
|
+
export type * from "./command";
|
|
41
|
+
export * from "./table";
|
|
42
|
+
export type * from "./table";
|
|
43
|
+
export * from "./datatable";
|
|
44
|
+
export type * from "./datatable";
|
|
45
|
+
export * from "./checkbox";
|
|
46
|
+
export type * from "./checkbox";
|
|
47
|
+
export * from "./textarea";
|
|
48
|
+
export type * from "./textarea";
|
|
49
|
+
export * from "./hover-card";
|
|
50
|
+
export type * from "./hover-card";
|
|
51
|
+
export * from "./radio-group";
|
|
52
|
+
export type * from "./radio-group";
|
|
53
|
+
export * from "./skeleton";
|
|
54
|
+
export type * from "./skeleton";
|
|
55
|
+
export * from "./key-value-with-skeleton";
|
|
56
|
+
export type * from "./key-value-with-skeleton";
|
|
57
|
+
export * from "./status-blinker";
|
|
58
|
+
export type * from "./status-blinker";
|
|
59
|
+
export * from "./context-menu";
|
|
60
|
+
export type * from "./context-menu";
|
|
61
|
+
export * from "./inline-menu";
|
|
62
|
+
export type * from "./inline-menu";
|
|
63
|
+
export * from "./stepper";
|
|
64
|
+
export type * from "./stepper";
|
|
65
|
+
export * from "./loading-page";
|
|
66
|
+
export type * from "./loading-page";
|
|
67
|
+
export * from "./split-pane";
|
|
68
|
+
export type * from "./split-pane";
|
|
69
|
+
export * from "./sheet";
|
|
70
|
+
export type * from "./sheet";
|
|
71
|
+
export * from "./select";
|
|
72
|
+
export type * from "./select";
|
|
73
|
+
export * from "./scroll-area";
|
|
74
|
+
export type * from "./scroll-area";
|
|
75
|
+
export * from "./typewriter-effect";
|
|
76
|
+
export type * from "./typewriter-effect";
|
|
77
|
+
export * from "./fullscreen-image";
|
|
78
|
+
export type * from "./fullscreen-image";
|
|
79
|
+
export * from "./visually-hidden";
|
|
80
|
+
export type * from "./visually-hidden";
|
|
81
|
+
export * from "./icon";
|
|
82
|
+
export type * from "./icon";
|
|
83
|
+
export * from "./tabs";
|
|
84
|
+
export type * from "./tabs";
|
|
85
|
+
export * from "./slider";
|
|
86
|
+
export type * from "./slider";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export * from "./alert";
|
|
2
|
+
export * from "./badge";
|
|
3
|
+
export * from "./background-blur";
|
|
4
|
+
export * from "./themed-page-background";
|
|
5
|
+
export * from "./button";
|
|
6
|
+
export * from "./input";
|
|
7
|
+
export * from "./file-input";
|
|
8
|
+
export * from "./label";
|
|
9
|
+
export * from "./toast";
|
|
10
|
+
export * from "./toaster";
|
|
11
|
+
export * from "./wordmark";
|
|
12
|
+
export * from "./card";
|
|
13
|
+
export * from "./form";
|
|
14
|
+
export * from "./separator";
|
|
15
|
+
export * from "./dropdown-menu";
|
|
16
|
+
export * from "./tooltip";
|
|
17
|
+
export * from "./navigation-menu";
|
|
18
|
+
export * from "./dialog";
|
|
19
|
+
export * from "./popover";
|
|
20
|
+
export * from "./command";
|
|
21
|
+
export * from "./table";
|
|
22
|
+
export * from "./datatable";
|
|
23
|
+
export * from "./checkbox";
|
|
24
|
+
export * from "./textarea";
|
|
25
|
+
export * from "./hover-card";
|
|
26
|
+
export * from "./radio-group";
|
|
27
|
+
export * from "./skeleton";
|
|
28
|
+
export * from "./key-value-with-skeleton";
|
|
29
|
+
export * from "./status-blinker";
|
|
30
|
+
export * from "./context-menu";
|
|
31
|
+
export * from "./inline-menu";
|
|
32
|
+
export * from "./stepper";
|
|
33
|
+
export * from "./loading-page";
|
|
34
|
+
export * from "./split-pane";
|
|
35
|
+
export * from "./sheet";
|
|
36
|
+
export * from "./select";
|
|
37
|
+
export * from "./scroll-area";
|
|
38
|
+
export * from "./typewriter-effect";
|
|
39
|
+
export * from "./fullscreen-image";
|
|
40
|
+
export * from "./visually-hidden";
|
|
41
|
+
export * from "./icon";
|
|
42
|
+
export * from "./tabs";
|
|
43
|
+
export * from "./slider";
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,mBAAmB,CAAC;AAGlC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,UAAU,CAAC;AAGzB,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAExB,cAAc,WAAW,CAAC;AAG1B,cAAc,YAAY,CAAC;AAG3B,cAAc,QAAQ,CAAC;AAGvB,cAAc,QAAQ,CAAC;AAGvB,cAAc,aAAa,CAAC;AAG5B,cAAc,iBAAiB,CAAC;AAGhC,cAAc,WAAW,CAAC;AAG1B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,UAAU,CAAC;AAGzB,cAAc,WAAW,CAAC;AAG1B,cAAc,WAAW,CAAC;AAG1B,cAAc,SAAS,CAAC;AAGxB,cAAc,aAAa,CAAC;AAG5B,cAAc,YAAY,CAAC;AAG3B,cAAc,YAAY,CAAC;AAG3B,cAAc,cAAc,CAAC;AAG7B,cAAc,eAAe,CAAC;AAG9B,cAAc,YAAY,CAAC;AAG3B,cAAc,2BAA2B,CAAC;AAG1C,cAAc,kBAAkB,CAAC;AAGjC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,eAAe,CAAC;AAG9B,cAAc,WAAW,CAAC;AAG1B,cAAc,gBAAgB,CAAC;AAG/B,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AAGzB,cAAc,eAAe,CAAC;AAG9B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,QAAQ,CAAC;AAGvB,cAAc,QAAQ,CAAC;AAGvB,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
2
|
+
export interface InlineMenuContainerProps extends PropsWithChildren {
|
|
3
|
+
close?: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function InlineMenuContainer(props: InlineMenuContainerProps): ReactElement;
|
|
6
|
+
export interface InlineMenuItemDefinition {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
onPress?: () => void;
|
|
10
|
+
destructive?: boolean;
|
|
11
|
+
icon?: ({ className }: {
|
|
12
|
+
className?: string;
|
|
13
|
+
}) => ReactNode;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function InlineMenuItem(props: InlineMenuItemDefinition): ReactElement;
|
|
17
|
+
export interface InlineMenuProps {
|
|
18
|
+
items: InlineMenuItemDefinition[];
|
|
19
|
+
close?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare function InlineMenu(props: InlineMenuProps): ReactElement;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createElement as _createElement } from "react";
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Button } from "./button";
|
|
5
|
+
import { cn } from "../../lib/utils";
|
|
6
|
+
import { X } from "lucide-react";
|
|
7
|
+
// Used to render
|
|
8
|
+
export function InlineMenuContainer(props) {
|
|
9
|
+
return (_jsxs("div", { className: "\n flex flex-col\n justify-start items-stretch\n bg-background\n border border-accent\n rounded-md\n shadow-md\n ", role: "menu", children: [props.close && (_jsx(Button, { className: "\n absolute transform translate-x-1/2 -translate-y-1/2\n top-0 right-0 m-2\n flex items-center justify-center\n rounded-full\n ", onClick: props.close, "aria-label": "Close menu", variant: "secondary", children: _jsx(X, {}) })), _jsx("ul", { className: "\n flex flex-col\n justify-start items-stretch\n p-1\n ", role: "menu", children: props.children })] }));
|
|
10
|
+
}
|
|
11
|
+
function MenuItemIconSlot({ children }) {
|
|
12
|
+
return (_jsx("div", { className: "h-6 w-6 flex items-center justify-center", children: children }));
|
|
13
|
+
}
|
|
14
|
+
export function InlineMenuItem(props) {
|
|
15
|
+
const destructive = props.destructive ?? false;
|
|
16
|
+
const color = destructive ? "red" : undefined;
|
|
17
|
+
const iconClassName = "h-4 w-4";
|
|
18
|
+
const Icon = props.icon;
|
|
19
|
+
const onPress = props.disabled ? undefined : props.onPress;
|
|
20
|
+
const className = cn("w-full grow", "flex flex-row flex-nowrap gap-2", "items-center justify-start", props.disabled ? "hover:cursor-not-allowed" : "hover:cursor-pointer");
|
|
21
|
+
return (_jsx("li", { role: "menuitem", className: "w-full p-2", children: _jsxs(Button, { variant: "ghost", color: color, onClick: onPress, className: className, children: [_jsx(MenuItemIconSlot, { children: typeof Icon === "function" && _jsx(Icon, { className: iconClassName }) }), _jsx("p", { className: "text-foreground", children: props.label })] }) }));
|
|
22
|
+
}
|
|
23
|
+
export function InlineMenu(props) {
|
|
24
|
+
return (_jsx(InlineMenuContainer, { close: props.close, children: props.items.map((inlineItem) => {
|
|
25
|
+
return _createElement(InlineMenuItem, { ...inlineItem, key: inlineItem.id });
|
|
26
|
+
}) }));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=inline-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-menu.js","sourceRoot":"","sources":["../../../src/components/ui/inline-menu.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAGb,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAMjC,iBAAiB;AACjB,MAAM,UAAU,mBAAmB,CACjC,KAA+B;IAE/B,OAAO,CACL,eACE,SAAS,EAAC,kKAOT,EACD,IAAI,EAAC,MAAM,aAEV,KAAK,CAAC,KAAK,IAAI,CACd,KAAC,MAAM,IACL,SAAS,EAAC,sLAKT,EACD,OAAO,EAAE,KAAK,CAAC,KAAK,gBACT,YAAY,EACvB,OAAO,EAAE,WAAW,YAEpB,KAAC,CAAC,KAAG,GACE,CACV,EACD,aACE,SAAS,EAAC,2FAIT,EACD,IAAI,EAAC,MAAM,YAEV,KAAK,CAAC,QAAQ,GACZ,IACD,CACP,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAqB;IACvD,OAAO,CACL,cAAK,SAAS,EAAC,0CAA0C,YAAE,QAAQ,GAAO,CAC3E,CAAC;AACJ,CAAC;AAWD,MAAM,UAAU,cAAc,CAAC,KAA+B;IAC5D,MAAM,WAAW,GAAY,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC;IACxD,MAAM,KAAK,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAE9C,MAAM,aAAa,GAAG,SAAkB,CAAC;IAEzC,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IAExB,MAAM,OAAO,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;IAE3D,MAAM,SAAS,GAAG,EAAE,CAClB,aAAa,EACb,iCAAiC,EACjC,4BAA4B,EAC5B,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,sBAAsB,CACrE,CAAC;IAEF,OAAO,CACL,aAAI,IAAI,EAAC,UAAU,EAAC,SAAS,EAAC,YAAY,YACxC,MAAC,MAAM,IACL,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,aAEpB,KAAC,gBAAgB,cACd,OAAO,IAAI,KAAK,UAAU,IAAI,KAAC,IAAI,IAAC,SAAS,EAAE,aAAa,GAAI,GAChD,EACnB,YAAG,SAAS,EAAC,iBAAiB,YAAE,KAAK,CAAC,KAAK,GAAK,IACzC,GACN,CACN,CAAC;AACJ,CAAC;AAOD,MAAM,UAAU,UAAU,CAAC,KAAsB;IAC/C,OAAO,CACL,KAAC,mBAAmB,IAAC,KAAK,EAAE,KAAK,CAAC,KAAK,YACpC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;YAC9B,OAAO,eAAC,cAAc,OAAK,UAAU,EAAE,GAAG,EAAE,UAAU,CAAC,EAAE,GAAI,CAAC;QAChE,CAAC,CAAC,GACkB,CACvB,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, ReactElement } from "react";
|
|
2
|
+
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
}
|
|
4
|
+
declare const Input: {
|
|
5
|
+
({ className, type, ...props }: InputProps): ReactElement;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export { Input };
|
|
9
|
+
export default Input;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
|
+
const Input = ({ className, type, ...props }) => {
|
|
5
|
+
return (_jsx("input", { type: type, className: cn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className), ...props }));
|
|
6
|
+
};
|
|
7
|
+
Input.displayName = "Input";
|
|
8
|
+
export { Input };
|
|
9
|
+
export default Input;
|
|
10
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../../../src/components/ui/input/input.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAIb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAIjC,MAAM,KAAK,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAc,EAAgB,EAAE;IACxE,OAAO,CACL,gBACE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,EAAE,CACX,8VAA8V,EAC9V,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/key-value-with-skeleton/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAE1C,OAAO,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
export interface KeyValueWithSkeletonProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value?: string | Promise<string> | null;
|
|
5
|
+
}
|
|
6
|
+
export declare function KeyValueWithSkeleton({ label, value, }: KeyValueWithSkeletonProps): ReactElement;
|
|
7
|
+
export default KeyValueWithSkeleton;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Skeleton } from "../../ui/skeleton";
|
|
4
|
+
import { useState, useEffect, useRef, } from "react";
|
|
5
|
+
function KeyValueFallbackSkeleton() {
|
|
6
|
+
return (_jsx(Skeleton, { className: "min-w-[100px] md:min-w-[140px] lg:min-w-[200px] min-h-[12px]" }));
|
|
7
|
+
}
|
|
8
|
+
function DisplayValueText({ value }) {
|
|
9
|
+
const displayValueClassName = "text-gray-400 grow";
|
|
10
|
+
return _jsx("p", { className: displayValueClassName, children: value });
|
|
11
|
+
}
|
|
12
|
+
function DisplayValue({ value, }) {
|
|
13
|
+
const [loaded, setLoaded] = useState(false);
|
|
14
|
+
const cancelSetValueRef = useRef(false);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
if (!value)
|
|
17
|
+
return;
|
|
18
|
+
if (!!value && typeof value !== "string") {
|
|
19
|
+
async function observeDisplayValuePromise() {
|
|
20
|
+
return await value;
|
|
21
|
+
}
|
|
22
|
+
observeDisplayValuePromise().then((val) => {
|
|
23
|
+
const cancelLoadHandler = cancelSetValueRef.current;
|
|
24
|
+
if (!cancelLoadHandler) {
|
|
25
|
+
setLoaded(val);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
return function unsubscribe() {
|
|
29
|
+
cancelSetValueRef.current = true;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
if (typeof value === "undefined") {
|
|
34
|
+
return _jsx(KeyValueFallbackSkeleton, {});
|
|
35
|
+
}
|
|
36
|
+
else if (typeof value === "string") {
|
|
37
|
+
return _jsx(DisplayValueText, { value: value });
|
|
38
|
+
}
|
|
39
|
+
else if (!loaded) {
|
|
40
|
+
return _jsx(KeyValueFallbackSkeleton, {});
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
return _jsx(DisplayValueText, { value: loaded });
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
export function KeyValueWithSkeleton({ label, value, }) {
|
|
47
|
+
const itemContainerDivClassName = "grow w-full flex flex-row items-center justify-start gap-4";
|
|
48
|
+
const displayValueLabelClassName = "text-lg font-bold";
|
|
49
|
+
function ValueWithLabel({ children }) {
|
|
50
|
+
return (_jsxs("div", { className: itemContainerDivClassName, children: [_jsxs("p", { className: displayValueLabelClassName, children: [label, ":"] }), children] }));
|
|
51
|
+
}
|
|
52
|
+
return (_jsx(ValueWithLabel, { children: _jsx(DisplayValue, { value: value }) }));
|
|
53
|
+
}
|
|
54
|
+
export default KeyValueWithSkeleton;
|
|
55
|
+
//# sourceMappingURL=key-value-with-skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key-value-with-skeleton.js","sourceRoot":"","sources":["../../../../src/components/ui/key-value-with-skeleton/key-value-with-skeleton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAIL,QAAQ,EACR,SAAS,EACT,MAAM,GACP,MAAM,OAAO,CAAC;AAOf,SAAS,wBAAwB;IAC/B,OAAO,CACL,KAAC,QAAQ,IAAC,SAAS,EAAC,8DAA8D,GAAG,CACtF,CAAC;AACJ,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAE,KAAK,EAAqB;IACpD,MAAM,qBAAqB,GAAG,oBAA6B,CAAC;IAE5D,OAAO,YAAG,SAAS,EAAE,qBAAqB,YAAG,KAAK,GAAK,CAAC;AAC1D,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,KAAK,GAGN;IACC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAiB,KAAK,CAAC,CAAC;IAC5D,MAAM,iBAAiB,GAAG,MAAM,CAAU,KAAK,CAAC,CAAC;IAEjD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,CAAC,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YACzC,KAAK,UAAU,0BAA0B;gBACvC,OAAO,MAAO,KAAyB,CAAC;YAC1C,CAAC;YACD,0BAA0B,EAAE,CAAC,IAAI,CAAC,CAAC,GAAW,EAAE,EAAE;gBAChD,MAAM,iBAAiB,GAAY,iBAAiB,CAAC,OAAO,CAAC;gBAC7D,IAAI,CAAC,iBAAiB,EAAE,CAAC;oBACvB,SAAS,CAAC,GAAG,CAAC,CAAC;gBACjB,CAAC;YACH,CAAC,CAAC,CAAC;YAEH,OAAO,SAAS,WAAW;gBACzB,iBAAiB,CAAC,OAAO,GAAG,IAAI,CAAC;YACnC,CAAC,CAAC;QACJ,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE,CAAC;QACjC,OAAO,KAAC,wBAAwB,KAAG,CAAC;IACtC,CAAC;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QACrC,OAAO,KAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC;IAC5C,CAAC;SAAM,IAAI,CAAC,MAAM,EAAE,CAAC;QACnB,OAAO,KAAC,wBAAwB,KAAG,CAAC;IACtC,CAAC;SAAM,CAAC;QACN,OAAO,KAAC,gBAAgB,IAAC,KAAK,EAAE,MAAM,GAAI,CAAC;IAC7C,CAAC;AACH,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,EACnC,KAAK,EACL,KAAK,GACqB;IAC1B,MAAM,yBAAyB,GAC7B,4DAAqE,CAAC;IACxE,MAAM,0BAA0B,GAAG,mBAA4B,CAAC;IAEhE,SAAS,cAAc,CAAC,EAAE,QAAQ,EAAqB;QACrD,OAAO,CACL,eAAK,SAAS,EAAE,yBAAyB,aACvC,aAAG,SAAS,EAAE,0BAA0B,aAAG,KAAK,SAAM,EACrD,QAAQ,IACL,CACP,CAAC;IACJ,CAAC;IAED,OAAO,CACL,KAAC,cAAc,cACb,KAAC,YAAY,IAAC,KAAK,EAAE,KAAK,GAAI,GACf,CAClB,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/label/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAGxB,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
+
declare const Label: {
|
|
4
|
+
({ className, ...props }: LabelPrimitive.LabelProps): ReactNode;
|
|
5
|
+
displayName: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
export { Label };
|
|
8
|
+
export type { LabelProps } from "@radix-ui/react-label";
|
|
9
|
+
export default Label;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
const labelVariants = cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
7
|
+
const Label = ({ className, ...props }) => (_jsx(LabelPrimitive.Root, { className: cn(labelVariants(), className), ...props }));
|
|
8
|
+
Label.displayName = LabelPrimitive.Root.displayName;
|
|
9
|
+
export { Label };
|
|
10
|
+
export default Label;
|
|
11
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../src/components/ui/label/label.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,aAAa,GAAG,GAAG,CACvB,4FAA4F,CAC7F,CAAC;AAEF,MAAM,KAAK,GAAG,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACkB,EAAa,EAAE,CAAC,CAC1C,KAAC,cAAc,CAAC,IAAI,IAAC,SAAS,EAAE,EAAE,CAAC,aAAa,EAAE,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CAC9E,CAAC;AACF,KAAK,CAAC,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC;AAEpD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/loading-page/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,OAAO,EAAE,WAAW,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
export function LoadingPage({ message }) {
|
|
4
|
+
return (_jsxs("div", { className: "w-full h-full flex grow flex-col items-center justify-center gap-4 min-h-[75vh]", children: [_jsx("div", { className: "inline-block h-8 w-8 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]", role: "status", children: _jsx("span", { className: "!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]" }) }), message && (_jsx("p", { className: "text-xs font-light text-muted-foreground", children: message }))] }));
|
|
5
|
+
}
|
|
6
|
+
export default LoadingPage;
|
|
7
|
+
//# sourceMappingURL=loading-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading-page.js","sourceRoot":"","sources":["../../../../src/components/ui/loading-page/loading-page.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAMb,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAoB;IACvD,OAAO,CACL,eAAK,SAAS,EAAC,iFAAiF,aAC9F,cACE,SAAS,EAAC,6KAA6K,EACvL,IAAI,EAAC,QAAQ,YAEb,eAAM,SAAS,EAAC,uGAAuG,GAAQ,GAC3H,EACL,OAAO,IAAI,CACV,YAAG,SAAS,EAAC,0CAA0C,YAAE,OAAO,GAAK,CACtE,IACG,CACP,CAAC;AACJ,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/navigation-menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
2
|
+
import type { ComponentProps } from "react";
|
|
3
|
+
declare function NavigationMenu({ className, children, viewport, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
4
|
+
viewport?: boolean;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function NavigationMenuList({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function NavigationMenuItem({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const navigationMenuTriggerStyle: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
|
|
9
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function NavigationMenuContent({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function NavigationMenuViewport({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Viewport>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function NavigationMenuLink({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Link>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function NavigationMenuIndicator({ className, ...props }: ComponentProps<typeof NavigationMenuPrimitive.Indicator>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { ChevronDownIcon } from "lucide-react";
|
|
6
|
+
import { cn } from "../../../lib/utils";
|
|
7
|
+
function NavigationMenu({ className, children, viewport = true, ...props }) {
|
|
8
|
+
return (_jsxs(NavigationMenuPrimitive.Root, { "data-slot": "navigation-menu", "data-viewport": viewport, className: cn("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center", className), ...props, children: [children, viewport && _jsx(NavigationMenuViewport, {})] }));
|
|
9
|
+
}
|
|
10
|
+
function NavigationMenuList({ className, ...props }) {
|
|
11
|
+
return (_jsx(NavigationMenuPrimitive.List, { "data-slot": "navigation-menu-list", className: cn("group flex flex-1 list-none items-center justify-center gap-1", className), ...props }));
|
|
12
|
+
}
|
|
13
|
+
function NavigationMenuItem({ className, ...props }) {
|
|
14
|
+
return (_jsx(NavigationMenuPrimitive.Item, { "data-slot": "navigation-menu-item", className: cn("relative", className), ...props }));
|
|
15
|
+
}
|
|
16
|
+
const navigationMenuTriggerStyle = cva("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=open]:hover:bg-accent data-[state=open]:text-accent-foreground data-[state=open]:focus:bg-accent data-[state=open]:bg-accent/50 focus-visible:ring-ring/50 outline-none transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1");
|
|
17
|
+
function NavigationMenuTrigger({ className, children, ...props }) {
|
|
18
|
+
return (_jsxs(NavigationMenuPrimitive.Trigger, { "data-slot": "navigation-menu-trigger", className: cn(navigationMenuTriggerStyle(), "group", className), ...props, children: [children, " ", _jsx(ChevronDownIcon, { className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180", "aria-hidden": "true" })] }));
|
|
19
|
+
}
|
|
20
|
+
function NavigationMenuContent({ className, ...props }) {
|
|
21
|
+
return (_jsx(NavigationMenuPrimitive.Content, { "data-slot": "navigation-menu-content", className: cn("data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto", "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none", className), ...props }));
|
|
22
|
+
}
|
|
23
|
+
function NavigationMenuViewport({ className, ...props }) {
|
|
24
|
+
return (_jsx("div", { className: cn("absolute top-full left-0 isolate z-50 flex justify-center"), children: _jsx(NavigationMenuPrimitive.Viewport, { "data-slot": "navigation-menu-viewport", className: cn("origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]", className), ...props }) }));
|
|
25
|
+
}
|
|
26
|
+
function NavigationMenuLink({ className, ...props }) {
|
|
27
|
+
return (_jsx(NavigationMenuPrimitive.Link, { "data-slot": "navigation-menu-link", className: cn("data-[active=true]:focus:bg-accent data-[active=true]:hover:bg-accent data-[active=true]:bg-accent/50 data-[active=true]:text-accent-foreground hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-ring/50 [&_svg:not([class*='text-'])]:text-muted-foreground flex flex-col gap-1 rounded-sm p-2 text-sm transition-all outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className), ...props }));
|
|
28
|
+
}
|
|
29
|
+
function NavigationMenuIndicator({ className, ...props }) {
|
|
30
|
+
return (_jsx(NavigationMenuPrimitive.Indicator, { "data-slot": "navigation-menu-indicator", className: cn("data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", className), ...props, children: _jsx("div", { className: "bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" }) }));
|
|
31
|
+
}
|
|
32
|
+
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, };
|
|
33
|
+
//# sourceMappingURL=navigation-menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.js","sourceRoot":"","sources":["../../../../src/components/ui/navigation-menu/navigation-menu.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAGjC,SAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,QAAQ,GAAG,IAAI,EACf,GAAG,KAAK,EAGT;IACC,OAAO,CACL,MAAC,uBAAuB,CAAC,IAAI,iBACjB,iBAAiB,mBACZ,QAAQ,EACvB,SAAS,EAAE,EAAE,CACX,kFAAkF,EAClF,SAAS,CACV,KACG,KAAK,aAER,QAAQ,EACR,QAAQ,IAAI,KAAC,sBAAsB,KAAG,IACV,CAChC,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EAC4C;IACpD,OAAO,CACL,KAAC,uBAAuB,CAAC,IAAI,iBACjB,sBAAsB,EAChC,SAAS,EAAE,EAAE,CACX,+DAA+D,EAC/D,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EAC4C;IACpD,OAAO,CACL,KAAC,uBAAuB,CAAC,IAAI,iBACjB,sBAAsB,EAChC,SAAS,EAAE,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,KAChC,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,MAAM,0BAA0B,GAAG,GAAG,CACpC,8fAA8f,CAC/f,CAAC;AAEF,SAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EAC+C;IACvD,OAAO,CACL,MAAC,uBAAuB,CAAC,OAAO,iBACpB,yBAAyB,EACnC,SAAS,EAAE,EAAE,CAAC,0BAA0B,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,KAC3D,KAAK,aAER,QAAQ,EAAE,GAAG,EACd,KAAC,eAAe,IACd,SAAS,EAAC,2FAA2F,iBACzF,MAAM,GAClB,IAC8B,CACnC,CAAC;AACJ,CAAC;AAED,SAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EAC+C;IACvD,OAAO,CACL,KAAC,uBAAuB,CAAC,OAAO,iBACpB,yBAAyB,EACnC,SAAS,EAAE,EAAE,CACX,kWAAkW,EAClW,2hCAA2hC,EAC3hC,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACgD;IACxD,OAAO,CACL,cACE,SAAS,EAAE,EAAE,CACX,2DAA2D,CAC5D,YAED,KAAC,uBAAuB,CAAC,QAAQ,iBACrB,0BAA0B,EACpC,SAAS,EAAE,EAAE,CACX,oVAAoV,EACpV,SAAS,CACV,KACG,KAAK,GACT,GACE,CACP,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EAC4C;IACpD,OAAO,CACL,KAAC,uBAAuB,CAAC,IAAI,iBACjB,sBAAsB,EAChC,SAAS,EAAE,EAAE,CACX,udAAud,EACvd,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,uBAAuB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACiD;IACzD,OAAO,CACL,KAAC,uBAAuB,CAAC,SAAS,iBACtB,2BAA2B,EACrC,SAAS,EAAE,EAAE,CACX,8LAA8L,EAC9L,SAAS,CACV,KACG,KAAK,YAET,cAAK,SAAS,EAAC,wEAAwE,GAAG,GACxD,CACrC,CAAC;AACJ,CAAC;AAED,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,GAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/popover/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
+
declare const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
+
declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const PopoverContent: {
|
|
6
|
+
({ className, align, sideOffset, ...props }: ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
export { Popover, PopoverTrigger, PopoverContent };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
const Popover = PopoverPrimitive.Root;
|
|
6
|
+
const PopoverTrigger = PopoverPrimitive.Trigger;
|
|
7
|
+
const PopoverContent = ({ className, align = "center", sideOffset = 4, ...props }) => (_jsx(PopoverPrimitive.Portal, { children: _jsx(PopoverPrimitive.Content, { align: align, sideOffset: sideOffset, className: cn("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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", className), ...props }) }));
|
|
8
|
+
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
9
|
+
export { Popover, PopoverTrigger, PopoverContent };
|
|
10
|
+
//# sourceMappingURL=popover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.js","sourceRoot":"","sources":["../../../../src/components/ui/popover/popover.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,OAAO,GAAG,gBAAgB,CAAC,IAAI,CAAC;AAEtC,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,CAAC;AAEhD,MAAM,cAAc,GAAG,CAAC,EACtB,SAAS,EACT,KAAK,GAAG,QAAQ,EAChB,UAAU,GAAG,CAAC,EACd,GAAG,KAAK,EACkD,EAAE,EAAE,CAAC,CAC/D,KAAC,gBAAgB,CAAC,MAAM,cACtB,KAAC,gBAAgB,CAAC,OAAO,IACvB,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE,CACX,4aAA4a,EAC5a,SAAS,CACV,KACG,KAAK,GACT,GACsB,CAC3B,CAAC;AACF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,WAAW,CAAC;AAElE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/radio-group/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactElement, ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
3
|
+
declare const RadioGroup: {
|
|
4
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>): ReactElement;
|
|
5
|
+
displayName: string | undefined;
|
|
6
|
+
};
|
|
7
|
+
declare const RadioGroupItem: {
|
|
8
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>): ReactElement;
|
|
9
|
+
displayName: string | undefined;
|
|
10
|
+
};
|
|
11
|
+
export { RadioGroup, RadioGroupItem };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
|
+
import { Circle } from "lucide-react";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
const RadioGroup = ({ className, ...props }) => {
|
|
7
|
+
return (_jsx(RadioGroupPrimitive.Root, { className: cn("grid gap-2", className), ...props }));
|
|
8
|
+
};
|
|
9
|
+
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
10
|
+
const RadioGroupItem = ({ className, ...props }) => {
|
|
11
|
+
const circle = _jsx(Circle, { className: "h-2.5 w-2.5 fill-current text-current" });
|
|
12
|
+
return (_jsx(RadioGroupPrimitive.Item, { className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className), ...props, children: props.children ? (props.checked ? (_jsx(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: props.children ? props.children : circle })) : (props.children)) : (_jsx(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: circle })) }));
|
|
13
|
+
};
|
|
14
|
+
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
15
|
+
export { RadioGroup, RadioGroupItem };
|
|
16
|
+
//# sourceMappingURL=radio-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-group.js","sourceRoot":"","sources":["../../../../src/components/ui/radio-group/radio-group.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAGZ,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAErC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA;AAEhC,MAAM,UAAU,GAAG,CACjB,EACE,SAAS,EACT,GAAG,KAAK,EACkD,EAC9C,EAAE;IAChB,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,IACvB,SAAS,EAAE,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,KAClC,KAAK,GACT,CACH,CAAA;AACH,CAAC,CAAA;AACD,UAAU,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAA;AAE7D,MAAM,cAAc,GAAG,CACrB,EACE,SAAS,EACT,GAAG,KAAK,EACkD,EAC9C,EAAE;IAEhB,MAAM,MAAM,GAAG,KAAC,MAAM,IAAC,SAAS,EAAC,uCAAuC,GAAG,CAAA;IAE3E,OAAO,CACL,KAAC,mBAAmB,CAAC,IAAI,IACvB,SAAS,EAAE,EAAE,CACX,0OAA0O,EAC1O,SAAS,CACV,KACG,KAAK,YAGP,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CACf,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CACd,KAAC,mBAAmB,CAAC,SAAS,IAAC,SAAS,EAAC,kCAAkC,YACvE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,GACZ,CACjC,CAAC,CAAC,CAAC,CACF,KAAK,CAAC,QAAQ,CACf,CACF,CAAC,CAAC,CAAC,CACF,KAAC,mBAAmB,CAAC,SAAS,IAAC,SAAS,EAAC,kCAAkC,YACvE,MAAM,GACsB,CACjC,GAGsB,CAC5B,CAAA;AACH,CAAC,CAAA;AACD,cAAc,CAAC,WAAW,GAAG,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAA;AAEjE,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScrollArea, ScrollBar } from "./scroll-area";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/scroll-area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
|
|
2
|
+
import type { ComponentProps, ReactElement } from "react";
|
|
3
|
+
declare function ScrollArea({ className, children, ...props }: ComponentProps<typeof ScrollAreaPrimitive.Root>): ReactElement;
|
|
4
|
+
declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export { ScrollArea, ScrollBar };
|