@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,16 @@
|
|
|
1
|
+
import type { PropsWithChildren, ReactElement } from "react";
|
|
2
|
+
export interface ThemedPageBackgroundProps extends PropsWithChildren {
|
|
3
|
+
/** Append classnames to the content container within the background gradient container */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Append classnames to the background gradient container */
|
|
6
|
+
backgroundClassName?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @name ThemedPageBackground
|
|
10
|
+
*
|
|
11
|
+
* @param param0 ThemedPageBackgroundProps
|
|
12
|
+
*
|
|
13
|
+
* @returns A component that fills the background container with a colorful SchemaVaults-themed background; child content is displayed on top
|
|
14
|
+
*/
|
|
15
|
+
export declare function ThemedPageBackground({ children, ...props }: ThemedPageBackgroundProps): ReactElement;
|
|
16
|
+
export default ThemedPageBackground;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
|
+
/**
|
|
5
|
+
* @name ThemedPageBackground
|
|
6
|
+
*
|
|
7
|
+
* @param param0 ThemedPageBackgroundProps
|
|
8
|
+
*
|
|
9
|
+
* @returns A component that fills the background container with a colorful SchemaVaults-themed background; child content is displayed on top
|
|
10
|
+
*/
|
|
11
|
+
export function ThemedPageBackground({ children, ...props }) {
|
|
12
|
+
const backgroundClassNames = [
|
|
13
|
+
"schemavaults-themed-page-background",
|
|
14
|
+
"relative min-h-full w-full",
|
|
15
|
+
"bg-schemavaults-brand-blue bg-gradient-to-b from-schemavaults-brand-red to-transparent",
|
|
16
|
+
];
|
|
17
|
+
if (typeof props.backgroundClassName === "string") {
|
|
18
|
+
backgroundClassNames.push(props.backgroundClassName);
|
|
19
|
+
}
|
|
20
|
+
return (_jsx("div", { className: backgroundClassNames.join(" "), children: _jsx("div", { className: cn("relative z-10 w-full min-h-full", props.className), children: children }) }));
|
|
21
|
+
}
|
|
22
|
+
export default ThemedPageBackground;
|
|
23
|
+
//# sourceMappingURL=themed-page-background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themed-page-background.js","sourceRoot":"","sources":["../../../../src/components/ui/themed-page-background/themed-page-background.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AASjC;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,EACnC,QAAQ,EACR,GAAG,KAAK,EACkB;IAC1B,MAAM,oBAAoB,GAAa;QACrC,qCAAqC;QACrC,4BAA4B;QAC5B,wFAAwF;KACzF,CAAC;IACF,IAAI,OAAO,KAAK,CAAC,mBAAmB,KAAK,QAAQ,EAAE,CAAC;QAClD,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvD,CAAC;IAED,OAAO,CACL,cAAK,SAAS,EAAE,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,YAC5C,cAAK,SAAS,EAAE,EAAE,CAAC,iCAAiC,EAAE,KAAK,CAAC,SAAS,CAAC,YACnE,QAAQ,GACL,GACF,CACP,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/toast/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast-variants.js","sourceRoot":"","sources":["../../../../src/components/ui/toast/toast-variants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS;IACT,aAAa;IACb,SAAS;CAC2B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef, ReactElement } from "react";
|
|
2
|
+
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
3
|
+
import type { ToastVariantID } from "./toast-variants";
|
|
4
|
+
declare const ToastProvider: import("react").FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
+
declare const ToastViewport: {
|
|
6
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string | undefined;
|
|
8
|
+
};
|
|
9
|
+
interface ToastProps extends ComponentPropsWithoutRef<typeof ToastPrimitives.Root> {
|
|
10
|
+
variant?: ToastVariantID;
|
|
11
|
+
}
|
|
12
|
+
declare const Toast: {
|
|
13
|
+
({ className, variant, ...props }: ToastProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
declare const ToastAction: {
|
|
17
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof ToastPrimitives.Action>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
declare const ToastClose: {
|
|
21
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof ToastPrimitives.Close>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
declare const ToastTitle: {
|
|
25
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof ToastPrimitives.Title>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
declare const ToastDescription: {
|
|
29
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof ToastPrimitives.Description>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
displayName: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
type ToastActionElement = ReactElement<typeof ToastAction>;
|
|
33
|
+
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { X } from "lucide-react";
|
|
6
|
+
import { cn } from "../../../lib/utils";
|
|
7
|
+
const ToastProvider = ToastPrimitives.Provider;
|
|
8
|
+
const ToastViewport = ({ className, ...props }) => (_jsx(ToastPrimitives.Viewport, { className: cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className), ...props }));
|
|
9
|
+
ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
|
|
10
|
+
const toastVariants = cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
|
|
11
|
+
variants: {
|
|
12
|
+
variant: {
|
|
13
|
+
default: "border bg-background text-foreground",
|
|
14
|
+
destructive: "destructive group border-destructive bg-destructive text-destructive-foreground",
|
|
15
|
+
warning: "warning group border-warning bg-warning text-warning-foreground",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
variant: "default",
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
const Toast = ({ className, variant, ...props }) => {
|
|
23
|
+
return (_jsx(ToastPrimitives.Root, { className: cn(toastVariants({ variant }), className), ...props }));
|
|
24
|
+
};
|
|
25
|
+
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
26
|
+
const ToastAction = ({ className, ...props }) => (_jsx(ToastPrimitives.Action, { className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive", className), ...props }));
|
|
27
|
+
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
28
|
+
const ToastClose = ({ className, ...props }) => (_jsx(ToastPrimitives.Close, { className: cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", className), "toast-close": "", ...props, children: _jsx(X, { className: "h-4 w-4" }) }));
|
|
29
|
+
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
30
|
+
const ToastTitle = ({ className, ...props }) => (_jsx(ToastPrimitives.Title, { className: cn("text-sm font-semibold", className), ...props }));
|
|
31
|
+
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
32
|
+
const ToastDescription = ({ className, ...props }) => (_jsx(ToastPrimitives.Description, { className: cn("text-sm opacity-90", className), ...props }));
|
|
33
|
+
ToastDescription.displayName = ToastPrimitives.Description.displayName;
|
|
34
|
+
export { ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
35
|
+
//# sourceMappingURL=toast.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.js","sourceRoot":"","sources":["../../../../src/components/ui/toast/toast.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/toaster/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useToast } from "../../hooks/use-toast";
|
|
4
|
+
import { Toast, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, } from "../../ui/toast";
|
|
5
|
+
export function Toaster() {
|
|
6
|
+
const { toasts } = useToast();
|
|
7
|
+
return (_jsxs(ToastProvider, { children: [toasts.map(function ({ id, title, description, action, ...props }) {
|
|
8
|
+
return (_jsxs(Toast, { ...props, children: [_jsxs("div", { className: "grid gap-1", children: [title && _jsx(ToastTitle, { children: title }), description && (_jsx(ToastDescription, { children: description }))] }), action, _jsx(ToastClose, {})] }, id));
|
|
9
|
+
}), _jsx(ToastViewport, {})] }));
|
|
10
|
+
}
|
|
11
|
+
export default Toaster;
|
|
12
|
+
//# sourceMappingURL=toaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toaster.js","sourceRoot":"","sources":["../../../../src/components/ui/toaster/toaster.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EACL,KAAK,EACL,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,aAAa,GACd,MAAM,uBAAuB,CAAC;AAE/B,MAAM,UAAU,OAAO;IACrB,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC;IAE9B,OAAO,CACL,MAAC,aAAa,eACX,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE;gBAChE,OAAO,CACL,MAAC,KAAK,OAAc,KAAK,aACvB,eAAK,SAAS,EAAC,YAAY,aACxB,KAAK,IAAI,KAAC,UAAU,cAAE,KAAK,GAAc,EACzC,WAAW,IAAI,CACd,KAAC,gBAAgB,cAAE,WAAW,GAAoB,CACnD,IACG,EACL,MAAM,EACP,KAAC,UAAU,KAAG,KARJ,EAAE,CASN,CACT,CAAC;YACJ,CAAC,CAAC,EACF,KAAC,aAAa,KAAG,IACH,CACjB,CAAC;AACJ,CAAC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
+
declare const TooltipProvider: import("react").FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
+
declare const Tooltip: import("react").FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
+
declare const TooltipTrigger: import("react").ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TooltipContent: {
|
|
7
|
+
({ className, sideOffset, ...props }: ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string | undefined;
|
|
9
|
+
};
|
|
10
|
+
declare const TooltipArrow: {
|
|
11
|
+
({ className, ...props }: ComponentPropsWithoutRef<typeof TooltipPrimitive.TooltipArrow>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TooltipArrow, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
4
|
+
import { cn } from "../../../lib/utils";
|
|
5
|
+
const TooltipProvider = TooltipPrimitive.Provider;
|
|
6
|
+
const Tooltip = TooltipPrimitive.Root;
|
|
7
|
+
const TooltipTrigger = TooltipPrimitive.Trigger;
|
|
8
|
+
const TooltipContent = ({ className, sideOffset = 4, ...props }) => (_jsx(TooltipPrimitive.Content, { sideOffset: sideOffset, className: cn("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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 }));
|
|
9
|
+
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
10
|
+
const TooltipArrow = ({ className, ...props }) => {
|
|
11
|
+
return (_jsx(TooltipPrimitive.TooltipArrow, { className: cn("fill-popover", "z-50", className), ...props }));
|
|
12
|
+
};
|
|
13
|
+
TooltipArrow.displayName = TooltipPrimitive.TooltipArrow.displayName;
|
|
14
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider, TooltipArrow, };
|
|
15
|
+
//# sourceMappingURL=tooltip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../../src/components/ui/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,MAAM,eAAe,GAAG,gBAAgB,CAAC,QAAQ,CAAC;AAElD,MAAM,OAAO,GAAG,gBAAgB,CAAC,IAAI,CAAC;AAEtC,MAAM,cAAc,GAAG,gBAAgB,CAAC,OAAO,CAAC;AAEhD,MAAM,cAAc,GAAG,CAAC,EACtB,SAAS,EACT,UAAU,GAAG,CAAC,EACd,GAAG,KAAK,EACkD,EAAE,EAAE,CAAC,CAC/D,KAAC,gBAAgB,CAAC,OAAO,IACvB,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE,CACX,oYAAoY,EACpY,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,WAAW,CAAC;AAElE,MAAM,YAAY,GAAG,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACuD,EAAE,EAAE;IACnE,OAAO,CACL,KAAC,gBAAgB,CAAC,YAAY,IAC5B,SAAS,EAAE,EAAE,CAAC,cAAc,EAAE,MAAM,EAAE,SAAS,CAAC,KAC5C,KAAK,GACT,CACH,CAAC;AACJ,CAAC,CAAC;AACF,YAAY,CAAC,WAAW,GAAG,gBAAgB,CAAC,YAAY,CAAC,WAAW,CAAC;AAErE,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,eAAe,EACf,YAAY,GACb,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { m } from "../../../framer-motion";
|
|
4
|
+
export function CursorBlinker({}) {
|
|
5
|
+
return (_jsx(m.span, { variants: {
|
|
6
|
+
hidden: {
|
|
7
|
+
opacity: 0,
|
|
8
|
+
visibility: "hidden",
|
|
9
|
+
display: "none",
|
|
10
|
+
},
|
|
11
|
+
blinking: {
|
|
12
|
+
opacity: [0, 0, 1, 1],
|
|
13
|
+
transition: {
|
|
14
|
+
duration: 1,
|
|
15
|
+
repeat: Infinity,
|
|
16
|
+
repeatDelay: 0,
|
|
17
|
+
ease: "linear",
|
|
18
|
+
times: [0, 0.5, 0.5, 1],
|
|
19
|
+
},
|
|
20
|
+
visibility: "visible",
|
|
21
|
+
display: "inline-block",
|
|
22
|
+
},
|
|
23
|
+
}, initial: "hidden", animate: "blinking", exit: "hidden", className: "text-primary", role: "presentation", "aria-description": "A blinking vertical line-- indicating that a 'typewriter effect' animation is active", children: "|" }));
|
|
24
|
+
}
|
|
25
|
+
export default CursorBlinker;
|
|
26
|
+
//# sourceMappingURL=cursor-blinker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cursor-blinker.js","sourceRoot":"","sources":["../../../../src/components/ui/typewriter-effect/cursor-blinker.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,CAAC,EAAE,MAAM,iBAAiB,CAAC;AAKpC,MAAM,UAAU,aAAa,CAAC,EAAsB;IAClD,OAAO,CACL,KAAC,CAAC,CAAC,IAAI,IACL,QAAQ,EAAE;YACR,MAAM,EAAE;gBACN,OAAO,EAAE,CAAC;gBACV,UAAU,EAAE,QAAQ;gBACpB,OAAO,EAAE,MAAM;aAChB;YACD,QAAQ,EAAE;gBACR,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBACrB,UAAU,EAAE;oBACV,QAAQ,EAAE,CAAC;oBACX,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;iBACxB;gBACD,UAAU,EAAE,SAAS;gBACrB,OAAO,EAAE,cAAc;aACxB;SACF,EACD,OAAO,EAAC,QAAQ,EAChB,OAAO,EAAE,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,cAAc,EACxB,IAAI,EAAC,cAAc,sBACF,sFAAsF,kBAGhG,CACV,CAAC;AACJ,CAAC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/typewriter-effect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
export interface TypewriterEffectProps {
|
|
3
|
+
message: string[];
|
|
4
|
+
onComplete: (animationCompleted: "enter" | "exit") => void;
|
|
5
|
+
duration: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
initial?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function TypewriterEffect({ message, onComplete, duration, className, initial, }: TypewriterEffectProps): ReactElement;
|
|
10
|
+
export default TypewriterEffect;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { m, useAnimate, useMotionValue, usePresence, useTransform, } from "../../../framer-motion";
|
|
3
|
+
import { useEffect, useRef } from "react";
|
|
4
|
+
import { CursorBlinker } from "./cursor-blinker";
|
|
5
|
+
import { cn } from "../../../lib/utils";
|
|
6
|
+
import useDebug from "../../hooks/use-debug";
|
|
7
|
+
export function TypewriterEffect({ message, onComplete, duration, className, initial = true, }) {
|
|
8
|
+
const debug = useDebug();
|
|
9
|
+
const [isPresent, safeToRemove] = usePresence();
|
|
10
|
+
const hasInitialized = useRef(false);
|
|
11
|
+
const count = useMotionValue(initial ? 0 : message.length);
|
|
12
|
+
const rounded = useTransform(count, (latest) => Math.max(0, Math.round(latest)));
|
|
13
|
+
const displayText = useTransform(rounded, (latest) => {
|
|
14
|
+
return message.slice(0, latest).join("");
|
|
15
|
+
});
|
|
16
|
+
const [scope, animate] = useAnimate();
|
|
17
|
+
// Effect that controls enter & exit animation
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
if (!isPresent) {
|
|
20
|
+
if (debug) {
|
|
21
|
+
console.log("[TypewriterEffect] Running exit animation...");
|
|
22
|
+
}
|
|
23
|
+
// Exit animation: animate from current count to 0
|
|
24
|
+
const keyframes = 0;
|
|
25
|
+
const controls = animate(count, keyframes, {
|
|
26
|
+
type: "tween",
|
|
27
|
+
duration,
|
|
28
|
+
ease: "easeInOut",
|
|
29
|
+
onComplete: () => {
|
|
30
|
+
if (count.get() < 1) {
|
|
31
|
+
onComplete("exit");
|
|
32
|
+
safeToRemove();
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
return controls.stop;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
if (debug) {
|
|
40
|
+
console.log("[TypewriterEffect] Running entry animation...");
|
|
41
|
+
}
|
|
42
|
+
// Entry animation: animate from 0 to message.length
|
|
43
|
+
console.assert(isPresent, "Expected AnimatePresence to have marked this component as present if this point was reached!");
|
|
44
|
+
const keyframes = message.length;
|
|
45
|
+
// If this is the initial render and initial={false}, skip animation
|
|
46
|
+
if (!hasInitialized.current && !initial) {
|
|
47
|
+
hasInitialized.current = true;
|
|
48
|
+
count.set(keyframes);
|
|
49
|
+
onComplete("enter");
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
hasInitialized.current = true;
|
|
53
|
+
const controls = animate(count, keyframes, {
|
|
54
|
+
type: "tween",
|
|
55
|
+
duration,
|
|
56
|
+
ease: "easeInOut",
|
|
57
|
+
onComplete: () => {
|
|
58
|
+
onComplete("enter");
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
return controls.stop;
|
|
62
|
+
}
|
|
63
|
+
}, [
|
|
64
|
+
animate,
|
|
65
|
+
count,
|
|
66
|
+
duration,
|
|
67
|
+
message.length,
|
|
68
|
+
isPresent,
|
|
69
|
+
onComplete,
|
|
70
|
+
safeToRemove,
|
|
71
|
+
initial,
|
|
72
|
+
]);
|
|
73
|
+
return (_jsxs(m.h1, { className: cn("flex flex-row flex-nowrap items-center", className), children: [_jsx(m.span, { ref: scope, children: displayText }), _jsx(CursorBlinker, {})] }));
|
|
74
|
+
}
|
|
75
|
+
export default TypewriterEffect;
|
|
76
|
+
//# sourceMappingURL=typewriter-effect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typewriter-effect.js","sourceRoot":"","sources":["../../../../src/components/ui/typewriter-effect/typewriter-effect.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/visually-hidden/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visually-hidden.js","sourceRoot":"","sources":["../../../../src/components/ui/visually-hidden/visually-hidden.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EAAE,cAAc,EAAE,cAAc,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/ui/wordmark/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../../lib/utils";
|
|
4
|
+
export function Wordmark({ className }) {
|
|
5
|
+
return (_jsx("span", { className: cn("text-transparent bg-clip-text bg-gradient-to-br", "from-schemavaults-brand-blue to-schemavaults-brand-red", "text-nowrap", className), children: "SchemaVaults" }));
|
|
6
|
+
}
|
|
7
|
+
export default Wordmark;
|
|
8
|
+
//# sourceMappingURL=wordmark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wordmark.js","sourceRoot":"","sources":["../../../../src/components/ui/wordmark/wordmark.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAOjC,MAAM,UAAU,QAAQ,CAAC,EAAE,SAAS,EAAiB;IACnD,OAAO,CACL,eACE,SAAS,EAAE,EAAE,CACX,iDAAiD,EACjD,wDAAwD,EACxD,aAAa,EACb,SAAS,CACV,6BAGI,CACR,CAAC;AACJ,CAAC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"framer-motion.js","sourceRoot":"","sources":["../src/framer-motion.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EACL,CAAC,EACD,eAAe,EACf,YAAY,EACZ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,cAAc,EACd,WAAW,GACZ,MAAM,eAAe,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./lib/utils";
|
|
2
|
+
export type * from "./lib/utils";
|
|
3
|
+
export * from "./components/ui";
|
|
4
|
+
export type * from "./components/ui";
|
|
5
|
+
export * from "./components/navigation";
|
|
6
|
+
export type * from "./components/navigation";
|
|
7
|
+
export * from "./components/hooks";
|
|
8
|
+
export type * from "./components/hooks";
|
|
9
|
+
export * from "./components/error";
|
|
10
|
+
export type * from "./components/error";
|
|
11
|
+
export * from "./components/layout";
|
|
12
|
+
export type * from "./components/layout";
|
|
13
|
+
export * from "./providers";
|
|
14
|
+
export type * from "./providers";
|
|
15
|
+
export * from "./components/hoc";
|
|
16
|
+
export type * from "./components/hoc";
|
|
17
|
+
export { m, AnimatePresence } from "./framer-motion";
|
|
18
|
+
export type * from "./framer-motion";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
// UI Utilities
|
|
3
|
+
export * from "./lib/utils";
|
|
4
|
+
// Components
|
|
5
|
+
export * from "./components/ui";
|
|
6
|
+
// Navigation Components (which depend on /components/ui)
|
|
7
|
+
export * from "./components/navigation";
|
|
8
|
+
// Component Hooks
|
|
9
|
+
export * from "./components/hooks";
|
|
10
|
+
// Error Components
|
|
11
|
+
export * from "./components/error";
|
|
12
|
+
// Layout Components
|
|
13
|
+
export * from "./components/layout";
|
|
14
|
+
// Providers for UI functionality
|
|
15
|
+
export * from "./providers";
|
|
16
|
+
// Higher-Order Components (useful for creating scoped providers and hooks)
|
|
17
|
+
export * from "./components/hoc";
|
|
18
|
+
// Framer Motion Components
|
|
19
|
+
export { m, AnimatePresence } from "./framer-motion";
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,eAAe;AACf,cAAc,aAAa,CAAC;AAG5B,aAAa;AACb,cAAc,iBAAiB,CAAC;AAGhC,yDAAyD;AACzD,cAAc,yBAAyB,CAAC;AAGxC,kBAAkB;AAClB,cAAc,oBAAoB,CAAC;AAGnC,mBAAmB;AACnB,cAAc,oBAAoB,CAAC;AAGnC,oBAAoB;AACpB,cAAc,qBAAqB,CAAC;AAGpC,iCAAiC;AACjC,cAAc,aAAa,CAAC;AAG5B,2EAA2E;AAC3E,cAAc,kBAAkB,CAAC;AAGjC,2BAA2B;AAC3B,OAAO,EAAE,CAAC,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTailwindThemeScreenBreakpoint.js","sourceRoot":"","sources":["../../src/lib/getTailwindThemeScreenBreakpoint.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,GAEpB,MAAM,uCAAuC,CAAC;AAE/C,MAAM,UAAU,wBAAwB,CACtC,UAA8B;IAE9B,OAAO,mBAAmB,CAAC,UAAU,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,IAAI,EAAE,MAAM,MAAM,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ThemeProvider as NextThemesProvider, useTheme as useBrightnessTheme } from "next-themes";
|
|
2
|
+
export type BrightnessThemeProviderProps = Parameters<typeof NextThemesProvider>[0];
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param param0 Props for theme provider, a 'children' prop containing the app render tree
|
|
6
|
+
* @see next-themes package
|
|
7
|
+
* @returns Wraps an app with a provider that determines light/dark/system color theme
|
|
8
|
+
*/
|
|
9
|
+
export declare function BrightnessThemeProvider({ children, ...props }: BrightnessThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default BrightnessThemeProvider;
|
|
11
|
+
export { useBrightnessTheme };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { ThemeProvider as NextThemesProvider, useTheme as useBrightnessTheme, } from "next-themes";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @param param0 Props for theme provider, a 'children' prop containing the app render tree
|
|
7
|
+
* @see next-themes package
|
|
8
|
+
* @returns Wraps an app with a provider that determines light/dark/system color theme
|
|
9
|
+
*/
|
|
10
|
+
export function BrightnessThemeProvider({ children, ...props }) {
|
|
11
|
+
return _jsx(NextThemesProvider, { ...props, children: children });
|
|
12
|
+
}
|
|
13
|
+
export default BrightnessThemeProvider;
|
|
14
|
+
export { useBrightnessTheme };
|
|
15
|
+
//# sourceMappingURL=brightness-theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brightness-theme.js","sourceRoot":"","sources":["../../../src/providers/brightness-theme/brightness-theme.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EACL,aAAa,IAAI,kBAAkB,EACnC,QAAQ,IAAI,kBAAkB,GAC/B,MAAM,aAAa,CAAC;AAMrB;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,EACtC,QAAQ,EACR,GAAG,KAAK,EACqB;IAC7B,OAAO,KAAC,kBAAkB,OAAK,KAAK,YAAG,QAAQ,GAAsB,CAAC;AACxE,CAAC;AAED,eAAe,uBAAuB,CAAC;AAEvC,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/providers/brightness-theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,uBAAuB,IAAI,OAAO,EAClC,kBAAkB,GACnB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AAGzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC"}
|