elseware-ui 2.27.1 → 2.27.4
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/dist/index.css +8948 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +1537 -0
- package/dist/index.d.ts +1537 -0
- package/dist/index.js +17745 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +17567 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +27 -34
- package/build/components/data-display/avatar/Avatar.d.ts +0 -14
- package/build/components/data-display/avatar/index.d.ts +0 -1
- package/build/components/data-display/badge/Badge.d.ts +0 -15
- package/build/components/data-display/badge/index.d.ts +0 -1
- package/build/components/data-display/banners/TitleBanner.d.ts +0 -9
- package/build/components/data-display/banners/index.d.ts +0 -1
- package/build/components/data-display/brand/Brand.d.ts +0 -7
- package/build/components/data-display/brand/index.d.ts +0 -2
- package/build/components/data-display/charts/bar-chart/BarChart.d.ts +0 -9
- package/build/components/data-display/charts/bar-chart/index.d.ts +0 -2
- package/build/components/data-display/charts/index.d.ts +0 -3
- package/build/components/data-display/charts/line-chart/LineChart.d.ts +0 -9
- package/build/components/data-display/charts/line-chart/index.d.ts +0 -2
- package/build/components/data-display/charts/pie-chart/PieChart.d.ts +0 -9
- package/build/components/data-display/charts/pie-chart/index.d.ts +0 -2
- package/build/components/data-display/chip/Chip.d.ts +0 -10
- package/build/components/data-display/chip/index.d.ts +0 -2
- package/build/components/data-display/data-view/com/DataViewContent.d.ts +0 -7
- package/build/components/data-display/data-view/com/DataViewFooter.d.ts +0 -6
- package/build/components/data-display/data-view/com/DataViewHeader.d.ts +0 -6
- package/build/components/data-display/data-view/com/DataViewSidebar.d.ts +0 -6
- package/build/components/data-display/data-view/controls/DataViewFilterGroup.d.ts +0 -12
- package/build/components/data-display/data-view/controls/DataViewPageSize.d.ts +0 -7
- package/build/components/data-display/data-view/controls/DataViewPagination.d.ts +0 -6
- package/build/components/data-display/data-view/controls/DataViewSearch.d.ts +0 -7
- package/build/components/data-display/data-view/controls/DataViewSort.d.ts +0 -11
- package/build/components/data-display/data-view/core/DataViewContext.d.ts +0 -3
- package/build/components/data-display/data-view/core/DataViewProvider.d.ts +0 -10
- package/build/components/data-display/data-view/core/types.d.ts +0 -22
- package/build/components/data-display/data-view/hooks/useDataView.d.ts +0 -2
- package/build/components/data-display/data-view/index.d.ts +0 -21
- package/build/components/data-display/data-view/utils/filterData.d.ts +0 -1
- package/build/components/data-display/data-view/utils/searchData.d.ts +0 -1
- package/build/components/data-display/data-view/utils/sortData.d.ts +0 -2
- package/build/components/data-display/flag/Flag.d.ts +0 -7
- package/build/components/data-display/flag/index.d.ts +0 -2
- package/build/components/data-display/graphs/Graph.d.ts +0 -11
- package/build/components/data-display/graphs/com/GraphEdge.d.ts +0 -8
- package/build/components/data-display/graphs/com/GraphNode.d.ts +0 -8
- package/build/components/data-display/graphs/com/GraphRenderer.d.ts +0 -11
- package/build/components/data-display/graphs/index.d.ts +0 -6
- package/build/components/data-display/graphs/layouts/forceLayout.d.ts +0 -3
- package/build/components/data-display/graphs/layouts/gridLayout.d.ts +0 -15
- package/build/components/data-display/graphs/layouts/index.d.ts +0 -4
- package/build/components/data-display/graphs/layouts/registry.d.ts +0 -14
- package/build/components/data-display/graphs/layouts/treeLayout.d.ts +0 -2
- package/build/components/data-display/graphs/types.d.ts +0 -27
- package/build/components/data-display/image/cloudinary-image/CloudinaryImage.d.ts +0 -9
- package/build/components/data-display/image/cloudinary-image/CloudinaryProvider.d.ts +0 -8
- package/build/components/data-display/image/cloudinary-image/index.d.ts +0 -4
- package/build/components/data-display/image/image/Image.d.ts +0 -8
- package/build/components/data-display/image/image/index.d.ts +0 -2
- package/build/components/data-display/image/index.d.ts +0 -2
- package/build/components/data-display/index.d.ts +0 -23
- package/build/components/data-display/info/Info.d.ts +0 -11
- package/build/components/data-display/info/index.d.ts +0 -2
- package/build/components/data-display/lists/List.d.ts +0 -22
- package/build/components/data-display/lists/ListItem.d.ts +0 -13
- package/build/components/data-display/lists/index.d.ts +0 -4
- package/build/components/data-display/price-tag/PriceTag.d.ts +0 -8
- package/build/components/data-display/price-tag/index.d.ts +0 -2
- package/build/components/data-display/progress-bar/ProgressBar.d.ts +0 -11
- package/build/components/data-display/progress-bar/index.d.ts +0 -1
- package/build/components/data-display/rating/index.d.ts +0 -2
- package/build/components/data-display/rating/star-rating/StarRating.d.ts +0 -9
- package/build/components/data-display/rating/star-rating/index.d.ts +0 -2
- package/build/components/data-display/rating/star-rating-distribution/StarRatingDistribution.d.ts +0 -23
- package/build/components/data-display/rating/star-rating-distribution/index.d.ts +0 -2
- package/build/components/data-display/slider/Slider.d.ts +0 -8
- package/build/components/data-display/slider/SliderItem.d.ts +0 -8
- package/build/components/data-display/slider/index.d.ts +0 -2
- package/build/components/data-display/table/Table.d.ts +0 -16
- package/build/components/data-display/table/index.d.ts +0 -2
- package/build/components/data-display/tag/Tag.d.ts +0 -6
- package/build/components/data-display/tag/index.d.ts +0 -2
- package/build/components/data-display/tooltip/Tooltip.d.ts +0 -12
- package/build/components/data-display/tooltip/index.d.ts +0 -2
- package/build/components/data-display/typography/chapter/Chapter.d.ts +0 -12
- package/build/components/data-display/typography/chapter/index.d.ts +0 -2
- package/build/components/data-display/typography/index.d.ts +0 -11
- package/build/components/data-display/typography/paragraph/Paragraph.d.ts +0 -12
- package/build/components/data-display/typography/paragraph/index.d.ts +0 -2
- package/build/components/data-display/typography/quote/Quote.d.ts +0 -5
- package/build/components/data-display/typography/quote/index.d.ts +0 -2
- package/build/components/data-display/typography/section/Section.d.ts +0 -12
- package/build/components/data-display/typography/section/index.d.ts +0 -2
- package/build/components/data-display/value-badge/ValueBadge.d.ts +0 -20
- package/build/components/data-display/value-badge/index.d.ts +0 -2
- package/build/components/data-display/video/cloudinary-video/CloudinaryVideo.d.ts +0 -2
- package/build/components/data-display/video/cloudinary-video/index.d.ts +0 -2
- package/build/components/data-display/video/index.d.ts +0 -2
- package/build/components/data-display/video/youtube-video-player/YoutubeVideoPlayer.d.ts +0 -7
- package/build/components/data-display/video/youtube-video-player/index.d.ts +0 -2
- package/build/components/data-display/world-map/WorldMap.d.ts +0 -16
- package/build/components/data-display/world-map/index.d.ts +0 -2
- package/build/components/data-entry/button/Button.d.ts +0 -18
- package/build/components/data-entry/button/index.d.ts +0 -2
- package/build/components/data-entry/checkbox/Checkbox.d.ts +0 -18
- package/build/components/data-entry/checkbox/index.d.ts +0 -2
- package/build/components/data-entry/date-selector/DateSelector.d.ts +0 -10
- package/build/components/data-entry/date-selector/index.d.ts +0 -2
- package/build/components/data-entry/form/DirtyObserver.d.ts +0 -7
- package/build/components/data-entry/form/Form.d.ts +0 -15
- package/build/components/data-entry/form/FormObserver.d.ts +0 -9
- package/build/components/data-entry/form/FormResponse.d.ts +0 -10
- package/build/components/data-entry/form/UnsavedChangesGuard.d.ts +0 -7
- package/build/components/data-entry/form/index.d.ts +0 -3
- package/build/components/data-entry/image-input/ImageInput.d.ts +0 -12
- package/build/components/data-entry/image-input/ImageView.d.ts +0 -7
- package/build/components/data-entry/image-input/index.d.ts +0 -2
- package/build/components/data-entry/index.d.ts +0 -13
- package/build/components/data-entry/input/index.d.ts +0 -6
- package/build/components/data-entry/input/input/Input.d.ts +0 -14
- package/build/components/data-entry/input/input/index.d.ts +0 -2
- package/build/components/data-entry/input/input-file/InputFile.d.ts +0 -7
- package/build/components/data-entry/input/input-file/index.d.ts +0 -2
- package/build/components/data-entry/input/input-label/InputLabel.d.ts +0 -8
- package/build/components/data-entry/input/input-label/index.d.ts +0 -2
- package/build/components/data-entry/input/input-list/InputList.d.ts +0 -8
- package/build/components/data-entry/input/input-list/index.d.ts +0 -2
- package/build/components/data-entry/input/input-list-group/InputListGroup.d.ts +0 -8
- package/build/components/data-entry/input/input-list-group/index.d.ts +0 -2
- package/build/components/data-entry/input/input-response/InputResponse.d.ts +0 -9
- package/build/components/data-entry/input/input-response/index.d.ts +0 -2
- package/build/components/data-entry/multi-image-input/MultiImageInput.d.ts +0 -8
- package/build/components/data-entry/multi-image-input/index.d.ts +0 -2
- package/build/components/data-entry/radio/Radio.d.ts +0 -7
- package/build/components/data-entry/radio/index.d.ts +0 -2
- package/build/components/data-entry/rating/StarRatingInput.d.ts +0 -7
- package/build/components/data-entry/rating/index.d.ts +0 -2
- package/build/components/data-entry/select/Select.d.ts +0 -11
- package/build/components/data-entry/select/index.d.ts +0 -2
- package/build/components/data-entry/switch/Switch.d.ts +0 -9
- package/build/components/data-entry/switch/index.d.ts +0 -2
- package/build/components/data-entry/tags/Tags.d.ts +0 -8
- package/build/components/data-entry/tags/index.d.ts +0 -2
- package/build/components/data-entry/text-area/TextArea.d.ts +0 -11
- package/build/components/data-entry/text-area/index.d.ts +0 -2
- package/build/components/eui/EUIProvider.d.ts +0 -12
- package/build/components/eui/EUITypes.d.ts +0 -15
- package/build/components/eui/index.d.ts +0 -3
- package/build/components/eui/resolveGlobalConfigs.d.ts +0 -2
- package/build/components/feedback/backdrop/Backdrop.d.ts +0 -7
- package/build/components/feedback/backdrop/index.d.ts +0 -2
- package/build/components/feedback/index.d.ts +0 -4
- package/build/components/feedback/skeleton/Skeleton.d.ts +0 -6
- package/build/components/feedback/skeleton/index.d.ts +0 -2
- package/build/components/feedback/toast/Toast.d.ts +0 -7
- package/build/components/feedback/toast/index.d.ts +0 -2
- package/build/components/feedback/transition/TransitionDropdown.d.ts +0 -7
- package/build/components/feedback/transition/TransitionFadeIn.d.ts +0 -7
- package/build/components/feedback/transition/index.d.ts +0 -7
- package/build/components/general/content-area/ContentArea.d.ts +0 -8
- package/build/components/general/content-area/index.d.ts +0 -2
- package/build/components/general/index.d.ts +0 -1
- package/build/components/index.d.ts +0 -12
- package/build/components/layout/block/Block.d.ts +0 -13
- package/build/components/layout/block/BlockGroup.d.ts +0 -10
- package/build/components/layout/block/index.d.ts +0 -3
- package/build/components/layout/flex/FlexCol.d.ts +0 -8
- package/build/components/layout/flex/FlexRow.d.ts +0 -8
- package/build/components/layout/flex/index.d.ts +0 -7
- package/build/components/layout/grid/Grid.d.ts +0 -7
- package/build/components/layout/grid/index.d.ts +0 -2
- package/build/components/layout/index.d.ts +0 -4
- package/build/components/layout/layout/Content.d.ts +0 -8
- package/build/components/layout/layout/Footer.d.ts +0 -6
- package/build/components/layout/layout/Header.d.ts +0 -7
- package/build/components/layout/layout/Layout.d.ts +0 -7
- package/build/components/layout/layout/index.d.ts +0 -5
- package/build/components/markdown/com/editor/MarkdownEditor.d.ts +0 -9
- package/build/components/markdown/com/toc/MarkdownTOC.d.ts +0 -5
- package/build/components/markdown/com/viewer/MarkdownViewer.d.ts +0 -7
- package/build/components/markdown/hooks/useMarkdown.d.ts +0 -1
- package/build/components/markdown/index.d.ts +0 -5
- package/build/components/markdown/provider/MarkdownContext.d.ts +0 -9
- package/build/components/markdown/provider/MarkdownProvider.d.ts +0 -7
- package/build/components/markdown/types/markdown.d.ts +0 -5
- package/build/components/markdown/utils/extractHeadings.d.ts +0 -2
- package/build/components/markdown/utils/generateHeadingNumbers.d.ts +0 -5
- package/build/components/markdown/utils/sanitizeHeading.d.ts +0 -1
- package/build/components/markdown/utils/slugify.d.ts +0 -1
- package/build/components/navigation/breadcrumb/Breadcrumb.d.ts +0 -18
- package/build/components/navigation/breadcrumb/BreadcrumbItem.d.ts +0 -9
- package/build/components/navigation/breadcrumb/index.d.ts +0 -3
- package/build/components/navigation/drawer/Drawer.d.ts +0 -9
- package/build/components/navigation/drawer/DrawerToggler.d.ts +0 -8
- package/build/components/navigation/drawer/index.d.ts +0 -3
- package/build/components/navigation/footer-nav/FooterNav.d.ts +0 -24
- package/build/components/navigation/footer-nav/FooterNavGroup.d.ts +0 -12
- package/build/components/navigation/footer-nav/FooterNavItem.d.ts +0 -11
- package/build/components/navigation/footer-nav/FooterNavItemContext.d.ts +0 -8
- package/build/components/navigation/footer-nav/FooterNavItemTitle.d.ts +0 -9
- package/build/components/navigation/footer-nav/index.d.ts +0 -6
- package/build/components/navigation/header-nav/HeaderNav.d.ts +0 -24
- package/build/components/navigation/header-nav/HeaderNavGroup.d.ts +0 -12
- package/build/components/navigation/header-nav/HeaderNavItem.d.ts +0 -11
- package/build/components/navigation/header-nav/HeaderNavItemContext.d.ts +0 -8
- package/build/components/navigation/header-nav/HeaderNavItemTitle.d.ts +0 -9
- package/build/components/navigation/header-nav/index.d.ts +0 -6
- package/build/components/navigation/index.d.ts +0 -7
- package/build/components/navigation/link/Link.d.ts +0 -13
- package/build/components/navigation/link/index.d.ts +0 -2
- package/build/components/navigation/menu/Menu.d.ts +0 -2
- package/build/components/navigation/menu/com/MIContext.d.ts +0 -7
- package/build/components/navigation/menu/com/MenuGroup.d.ts +0 -11
- package/build/components/navigation/menu/com/MenuItem.d.ts +0 -10
- package/build/components/navigation/menu/com/MenuItemTitle.d.ts +0 -8
- package/build/components/navigation/menu/index.d.ts +0 -7
- package/build/components/navigation/menu/types.d.ts +0 -36
- package/build/components/navigation/route-tabs/RouteTab.d.ts +0 -8
- package/build/components/navigation/route-tabs/RouteTabs.d.ts +0 -18
- package/build/components/navigation/route-tabs/index.d.ts +0 -3
- package/build/components/other/index.d.ts +0 -2
- package/build/components/other/modal/Modal.d.ts +0 -17
- package/build/components/other/modal/index.d.ts +0 -2
- package/build/components/other/under-construction-banner/UnderConstructionBanner.d.ts +0 -4
- package/build/components/other/under-construction-banner/index.d.ts +0 -2
- package/build/components/surfaces/accordion/Accordion.d.ts +0 -12
- package/build/components/surfaces/accordion/index.d.ts +0 -2
- package/build/components/surfaces/card/Card.d.ts +0 -15
- package/build/components/surfaces/card/CardContent.d.ts +0 -7
- package/build/components/surfaces/card/CardFooter.d.ts +0 -7
- package/build/components/surfaces/card/CardHeader.d.ts +0 -9
- package/build/components/surfaces/card/index.d.ts +0 -5
- package/build/components/surfaces/index.d.ts +0 -3
- package/build/components/surfaces/motion-surface/MotionSurface.d.ts +0 -16
- package/build/components/surfaces/motion-surface/animations/com/BlobAnimation.d.ts +0 -4
- package/build/components/surfaces/motion-surface/animations/com/GradientAnimation.d.ts +0 -4
- package/build/components/surfaces/motion-surface/animations/com/MeshAnimation.d.ts +0 -4
- package/build/components/surfaces/motion-surface/animations/configs.d.ts +0 -4
- package/build/components/surfaces/motion-surface/animations/registry.d.ts +0 -8
- package/build/components/surfaces/motion-surface/animations/types.d.ts +0 -24
- package/build/components/surfaces/motion-surface/index.d.ts +0 -4
- package/build/components/surfaces/motion-surface/overlays/com/DotsOverlay.d.ts +0 -5
- package/build/components/surfaces/motion-surface/overlays/com/GridOverlay.d.ts +0 -5
- package/build/components/surfaces/motion-surface/overlays/com/NoiseOverlay.d.ts +0 -5
- package/build/components/surfaces/motion-surface/overlays/config.d.ts +0 -4
- package/build/components/surfaces/motion-surface/overlays/registry.d.ts +0 -8
- package/build/components/surfaces/motion-surface/overlays/types.d.ts +0 -6
- package/build/components/theme/ShapeSwitch.d.ts +0 -1
- package/build/components/theme/ThemeContext.d.ts +0 -13
- package/build/components/theme/ThemeSwitch.d.ts +0 -1
- package/build/components/theme/index.d.ts +0 -4
- package/build/components/utils/async-component-wrapper/AsyncComponentWrapper.d.ts +0 -14
- package/build/components/utils/async-component-wrapper/index.d.ts +0 -2
- package/build/components/utils/glow-wrapper/GlowWrapper.d.ts +0 -11
- package/build/components/utils/glow-wrapper/index.d.ts +0 -2
- package/build/components/utils/index.d.ts +0 -3
- package/build/components/utils/show-more/ShowMore.d.ts +0 -6
- package/build/components/utils/show-more/index.d.ts +0 -2
- package/build/compositions/data-display/data-view-table/DataViewTable.d.ts +0 -21
- package/build/compositions/data-display/data-view-table/index.d.ts +0 -2
- package/build/compositions/data-display/index.d.ts +0 -2
- package/build/compositions/data-display/world-map-country-table/WorldMapCountryTable.d.ts +0 -7
- package/build/compositions/data-display/world-map-country-table/index.d.ts +0 -2
- package/build/compositions/index.d.ts +0 -2
- package/build/compositions/navigation/box-nav/BoxNav.d.ts +0 -3
- package/build/compositions/navigation/box-nav/BoxNav.types.d.ts +0 -13
- package/build/compositions/navigation/box-nav/BoxNavItem.d.ts +0 -10
- package/build/compositions/navigation/box-nav/index.d.ts +0 -4
- package/build/compositions/navigation/index.d.ts +0 -3
- package/build/compositions/navigation/sidebar/Sidebar.d.ts +0 -10
- package/build/compositions/navigation/sidebar/index.d.ts +0 -2
- package/build/compositions/navigation/top-nav/TopNav.d.ts +0 -2
- package/build/compositions/navigation/top-nav/com/TNContext.d.ts +0 -8
- package/build/compositions/navigation/top-nav/com/TNDropdown.d.ts +0 -8
- package/build/compositions/navigation/top-nav/com/TNDropdownGroup.d.ts +0 -12
- package/build/compositions/navigation/top-nav/com/TNDropdownItem.d.ts +0 -11
- package/build/compositions/navigation/top-nav/com/TNDropdownTitle.d.ts +0 -5
- package/build/compositions/navigation/top-nav/com/TNGroup.d.ts +0 -13
- package/build/compositions/navigation/top-nav/com/TNItem.d.ts +0 -10
- package/build/compositions/navigation/top-nav/index.d.ts +0 -7
- package/build/compositions/navigation/top-nav/types.d.ts +0 -37
- package/build/data/animations.d.ts +0 -8
- package/build/data/enums.d.ts +0 -50
- package/build/data/meta/country.d.ts +0 -9
- package/build/data/meta/currency.d.ts +0 -5
- package/build/data/meta/world_map_topojson.d.ts +0 -43
- package/build/data/styles.d.ts +0 -176
- package/build/data/test/images/index.d.ts +0 -7
- package/build/data/test/md/index.d.ts +0 -2
- package/build/data/test/test-data.d.ts +0 -20
- package/build/data/test/test-user-data.d.ts +0 -7
- package/build/hooks/components/useDrawer.d.ts +0 -6
- package/build/hooks/components/useModal.d.ts +0 -6
- package/build/hooks/index.d.ts +0 -7
- package/build/hooks/layout/useClickOutside.d.ts +0 -4
- package/build/hooks/layout/useIsMobile.d.ts +0 -2
- package/build/hooks/theme/useCurrentTheme.d.ts +0 -2
- package/build/hooks/theme/useTheme.d.ts +0 -2
- package/build/index.d.ts +0 -9
- package/build/index.es.js +0 -146291
- package/build/index.js +0 -146468
- package/build/interfaces/components.d.ts +0 -14
- package/build/interfaces/index.d.ts +0 -1
- package/build/layouts/GenericLayout.d.ts +0 -8
- package/build/layouts/dev/EUIDevLayout.d.ts +0 -8
- package/build/layouts/index.d.ts +0 -8
- package/build/layouts/primary/DefaultLayout.d.ts +0 -8
- package/build/layouts/primary/HomeLayout.d.ts +0 -8
- package/build/layouts/primary/SidebarLayout.d.ts +0 -8
- package/build/layouts/secondary/SidemenuLayout.d.ts +0 -7
- package/build/layouts/secondary/documentation-layout/DocumentationLayout.d.ts +0 -6
- package/build/types/components.d.ts +0 -17
- package/build/types/index.d.ts +0 -1
- package/build/utils/cn.d.ts +0 -2
- package/build/utils/components.d.ts +0 -2
- package/build/utils/currency.d.ts +0 -1
- package/build/utils/index.d.ts +0 -4
- package/build/utils/routes.d.ts +0 -2
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface I_HeaderNavItem {
|
|
3
|
-
component: any;
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
name: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
to?: string;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
interface I_HeaderNavGroup {
|
|
11
|
-
component: any;
|
|
12
|
-
icon?: React.ReactNode;
|
|
13
|
-
name: string;
|
|
14
|
-
badge?: React.ReactNode;
|
|
15
|
-
to?: string;
|
|
16
|
-
items: I_HeaderNavItem[];
|
|
17
|
-
}
|
|
18
|
-
export type HeaderDataItemProps = I_HeaderNavItem | I_HeaderNavGroup;
|
|
19
|
-
export interface HeaderNavProps {
|
|
20
|
-
data: HeaderDataItemProps[];
|
|
21
|
-
styles?: string;
|
|
22
|
-
}
|
|
23
|
-
declare function HeaderNav({ data, styles }: HeaderNavProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default HeaderNav;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HeaderNavGroupProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
to?: string;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
styles?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const HeaderNavGroup: ({ icon, name, description, badge, to, styles, children, }: HeaderNavGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default HeaderNavGroup;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HeaderNavItemProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
to?: string;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
styles?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const HeaderNavItem: ({ icon, name, description, badge, to, onClick, styles, }: HeaderNavItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HeaderNavItemContextProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const HeaderNavItemContext: ({ icon, name, description, badge, }: HeaderNavItemContextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HeaderNavItemTitleProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
styles?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const HeaderNavItemTitle: ({ icon, name, description, badge, styles, }: HeaderNavItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import HeaderNav from "./HeaderNav";
|
|
2
|
-
import HeaderNavGroup from "./HeaderNavGroup";
|
|
3
|
-
import { HeaderNavItem } from "./HeaderNavItem";
|
|
4
|
-
import { HeaderNavItemTitle } from "./HeaderNavItemTitle";
|
|
5
|
-
import { HeaderNavItemContext } from "./HeaderNavItemContext";
|
|
6
|
-
export { HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, HeaderNavItemContext, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TextVariant, Decoration, Target } from "../../../data/enums";
|
|
2
|
-
export interface LinkProps {
|
|
3
|
-
children?: string;
|
|
4
|
-
href?: string;
|
|
5
|
-
target?: keyof typeof Target;
|
|
6
|
-
variant?: keyof typeof TextVariant;
|
|
7
|
-
styles?: string;
|
|
8
|
-
decoration?: keyof typeof Decoration;
|
|
9
|
-
bold?: boolean;
|
|
10
|
-
italic?: boolean;
|
|
11
|
-
onClick?: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const Link: ({ children, href, target, variant, decoration, bold, italic, styles, onClick, }: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
3
|
-
export interface MenuGroupProps extends BaseComponentProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
name: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
to?: string;
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
defaultOpen?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const MenuGroup: ({ icon, name, badge, children, defaultOpen, className, style, ...rest }: MenuGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
3
|
-
export interface MenuItemProps extends BaseComponentProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
name: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
to?: string;
|
|
8
|
-
navigate?: (to: string) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const MenuItem: ({ icon, name, badge, to, navigate, className, onClick, ...rest }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
3
|
-
export interface MenuItemTitleProps extends BaseComponentProps {
|
|
4
|
-
icon?: React.ReactNode;
|
|
5
|
-
name: string;
|
|
6
|
-
badge?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const MenuItemTitle: ({ icon, name, badge, className, style, ...rest }: MenuItemTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Menu } from "./Menu";
|
|
2
|
-
import { MenuGroup } from "./com/MenuGroup";
|
|
3
|
-
import { MenuItem } from "./com/MenuItem";
|
|
4
|
-
import { MenuItemTitle } from "./com/MenuItemTitle";
|
|
5
|
-
import { MenuNode } from "./types";
|
|
6
|
-
export { Menu, MenuGroup, MenuItem, MenuItemTitle, MenuNode };
|
|
7
|
-
export * from "./types";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type MenuElementType = "item" | "group" | "title";
|
|
3
|
-
export interface BaseMenuNode {
|
|
4
|
-
key?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
badge?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
component?: React.ElementType;
|
|
10
|
-
}
|
|
11
|
-
export interface MenuItemNode extends BaseMenuNode {
|
|
12
|
-
type: "item";
|
|
13
|
-
to?: string;
|
|
14
|
-
navigate?: (to: string) => void;
|
|
15
|
-
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
16
|
-
}
|
|
17
|
-
export interface MenuGroupNode extends BaseMenuNode {
|
|
18
|
-
type: "group";
|
|
19
|
-
items: MenuNode[];
|
|
20
|
-
}
|
|
21
|
-
export interface MenuTitleNode extends BaseMenuNode {
|
|
22
|
-
type: "title";
|
|
23
|
-
}
|
|
24
|
-
export type MenuNode = MenuItemNode | MenuGroupNode | MenuTitleNode;
|
|
25
|
-
export interface DefaultMenuElements {
|
|
26
|
-
item?: React.ElementType;
|
|
27
|
-
group?: React.ElementType;
|
|
28
|
-
title?: React.ElementType;
|
|
29
|
-
}
|
|
30
|
-
export interface MenuProps {
|
|
31
|
-
items: MenuNode[];
|
|
32
|
-
defaultMenuElements?: DefaultMenuElements;
|
|
33
|
-
className?: string;
|
|
34
|
-
navigate?: (to: string) => void;
|
|
35
|
-
currentPath?: string;
|
|
36
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
2
|
-
export interface RouteTabProps extends BaseComponentProps {
|
|
3
|
-
title: string;
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
onClick?: () => void;
|
|
6
|
-
}
|
|
7
|
-
declare function RouteTab({ title, onClick, selected, className, ...rest }: RouteTabProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default RouteTab;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { RouteTabMode } from "../../../types";
|
|
4
|
-
export interface RouteTabsNavItem {
|
|
5
|
-
name: string;
|
|
6
|
-
to: string;
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface RouteTabsProps extends BaseComponentProps {
|
|
10
|
-
navData: RouteTabsNavItem[];
|
|
11
|
-
children: React.ReactNode | ((activeTab: string) => React.ReactNode);
|
|
12
|
-
onTabClick?: (to: string) => void;
|
|
13
|
-
mode?: RouteTabMode;
|
|
14
|
-
defaultActive?: string;
|
|
15
|
-
animated?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare function RouteTabs({ navData, children, onTabClick, mode, defaultActive, animated, className, ...rest }: RouteTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default RouteTabs;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Shape } from "../../../data/enums";
|
|
3
|
-
export interface ModalProps {
|
|
4
|
-
title: string;
|
|
5
|
-
show: boolean;
|
|
6
|
-
handleOnClose?: () => void;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
enableCloseOnClickOutside: boolean;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
isSuccess?: boolean;
|
|
11
|
-
isError?: boolean;
|
|
12
|
-
error?: unknown;
|
|
13
|
-
styles?: string;
|
|
14
|
-
shape?: keyof typeof Shape;
|
|
15
|
-
}
|
|
16
|
-
declare function Modal({ title, show, handleOnClose, children, isLoading, isSuccess, isError, error, styles, enableCloseOnClickOutside, shape, }: ModalProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default Modal;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export interface AccordionProps {
|
|
3
|
-
summary?: ReactNode | string;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
lhsActions?: ReactNode;
|
|
6
|
-
rhsActions?: ReactNode;
|
|
7
|
-
defaultCollapse?: boolean;
|
|
8
|
-
toggleOnSummaryClick?: boolean;
|
|
9
|
-
enableChildrenPadding?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare function Accordion({ summary, children, lhsActions, rhsActions, defaultCollapse, toggleOnSummaryClick, enableChildrenPadding, }: AccordionProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default Accordion;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Variant, Shape } from "../../../data/enums";
|
|
3
|
-
import { hoverAnimations } from "../../../data/animations";
|
|
4
|
-
export interface CardProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
styles?: string;
|
|
7
|
-
bgVariant?: keyof typeof Variant;
|
|
8
|
-
borderVariant?: keyof typeof Variant;
|
|
9
|
-
interactive?: boolean;
|
|
10
|
-
ghost?: boolean;
|
|
11
|
-
shape?: keyof typeof Shape;
|
|
12
|
-
hoverAnimation?: keyof typeof hoverAnimations;
|
|
13
|
-
}
|
|
14
|
-
declare function Card({ children, styles, bgVariant, borderVariant, interactive, ghost, shape, hoverAnimation, }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default Card;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface CardHeaderProps {
|
|
3
|
-
icon?: React.ReactNode;
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function CardHeader({ icon, title, description, className }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default CardHeader;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { AnimationVariant, BaseAnimationConfig } from "./animations/types";
|
|
3
|
-
import { OverlayVariant, BaseOverlayConfig } from "./overlays/types";
|
|
4
|
-
export interface MotionSurfaceProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
animationVariant?: AnimationVariant;
|
|
7
|
-
animationConfig?: BaseAnimationConfig;
|
|
8
|
-
animated?: boolean;
|
|
9
|
-
overlay?: OverlayVariant;
|
|
10
|
-
overlayConfig?: BaseOverlayConfig;
|
|
11
|
-
className?: string;
|
|
12
|
-
customAnimation?: React.ComponentType<any>;
|
|
13
|
-
customOverlay?: React.ComponentType<any>;
|
|
14
|
-
}
|
|
15
|
-
declare function MotionSurface({ children, animationVariant, animationConfig, animated, overlay, overlayConfig, className, customAnimation: CustomAnimation, customOverlay: CustomOverlay, }: MotionSurfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default MotionSurface;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AnimationComponentProps } from "../types";
|
|
2
|
-
import { BlobAnimationConfig } from "../types";
|
|
3
|
-
declare function BlobAnimation({ config, animated, }: AnimationComponentProps<BlobAnimationConfig>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default BlobAnimation;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AnimationComponentProps } from "../types";
|
|
2
|
-
import { GradientAnimationConfig } from "../types";
|
|
3
|
-
declare function GradientAnimation({ config, animated, }: AnimationComponentProps<GradientAnimationConfig>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default GradientAnimation;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AnimationComponentProps } from "../types";
|
|
2
|
-
import { MeshAnimationConfig } from "../types";
|
|
3
|
-
declare function MeshAnimation({ config, animated, }: AnimationComponentProps<MeshAnimationConfig>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export default MeshAnimation;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { BlobAnimationConfig, GradientAnimationConfig, MeshAnimationConfig } from "./types";
|
|
2
|
-
export declare const defaultBlobAnimationConfig: BlobAnimationConfig;
|
|
3
|
-
export declare const defaultGradientAnimationConfig: GradientAnimationConfig;
|
|
4
|
-
export declare const defaultMeshAnimationConfig: MeshAnimationConfig;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import GradientAnimation from "./com/GradientAnimation";
|
|
2
|
-
import BlobAnimation from "./com/BlobAnimation";
|
|
3
|
-
import MeshAnimation from "./com/MeshAnimation";
|
|
4
|
-
export declare const animationRegistry: {
|
|
5
|
-
gradient: typeof GradientAnimation;
|
|
6
|
-
blobs: typeof BlobAnimation;
|
|
7
|
-
mesh: typeof MeshAnimation;
|
|
8
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type AnimationVariant = "none" | "gradient" | "blobs" | "mesh" | "custom";
|
|
2
|
-
export interface BaseAnimationConfig {
|
|
3
|
-
duration: number;
|
|
4
|
-
ease?: string;
|
|
5
|
-
opacity?: number;
|
|
6
|
-
colors?: string[];
|
|
7
|
-
}
|
|
8
|
-
export interface BlobAnimationConfig extends BaseAnimationConfig {
|
|
9
|
-
size?: number;
|
|
10
|
-
blur?: number;
|
|
11
|
-
count?: number;
|
|
12
|
-
}
|
|
13
|
-
export interface GradientAnimationConfig extends BaseAnimationConfig {
|
|
14
|
-
angle?: number;
|
|
15
|
-
backgroundSize?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface MeshAnimationConfig extends BaseAnimationConfig {
|
|
18
|
-
density?: number;
|
|
19
|
-
backgroundSize?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface AnimationComponentProps<T = BaseAnimationConfig> {
|
|
22
|
-
config?: T;
|
|
23
|
-
animated?: boolean;
|
|
24
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import NoiseOverlay from "./com/NoiseOverlay";
|
|
2
|
-
import GridOverlay from "./com/GridOverlay";
|
|
3
|
-
import DotsOverlay from "./com/DotsOverlay";
|
|
4
|
-
export declare const overlayRegistry: {
|
|
5
|
-
noise: typeof NoiseOverlay;
|
|
6
|
-
grid: typeof GridOverlay;
|
|
7
|
-
dots: typeof DotsOverlay;
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ShapeSwitch: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
interface ThemeContextProps {
|
|
3
|
-
theme: "light" | "dark";
|
|
4
|
-
setTheme: (theme: "light" | "dark") => void;
|
|
5
|
-
toggleTheme: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const ThemeContext: React.Context<ThemeContextProps | undefined>;
|
|
8
|
-
interface ThemeProviderProps {
|
|
9
|
-
defaultTheme?: "light" | "dark";
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export declare const ThemeProvider: ({ defaultTheme, children, }: ThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ThemeSwitch: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface AsyncComponentWrapperProps {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
isSuccess?: boolean;
|
|
6
|
-
isError?: boolean;
|
|
7
|
-
error?: unknown;
|
|
8
|
-
/**
|
|
9
|
-
* Optional custom formatter if you want full control
|
|
10
|
-
*/
|
|
11
|
-
errorFormatter?: (error: unknown) => string;
|
|
12
|
-
}
|
|
13
|
-
declare function AsyncComponentWrapper({ children, isLoading, isSuccess, isError, error, errorFormatter, }: AsyncComponentWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default AsyncComponentWrapper;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from "react";
|
|
2
|
-
export interface GlowWrapperProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
glowSize?: number;
|
|
5
|
-
glowColor?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
/** optional: when true, glow hides while mouse is outside */
|
|
8
|
-
hideOnLeave?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const GlowWrapper: FC<GlowWrapperProps>;
|
|
11
|
-
export default GlowWrapper;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TableColumnConfig } from "../../../components/data-display/table/Table";
|
|
2
|
-
import { SortConfig } from "../../../components/data-display/data-view/core/types";
|
|
3
|
-
type SortOption = {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
};
|
|
7
|
-
export interface DataViewTableProps<T> {
|
|
8
|
-
title?: string;
|
|
9
|
-
columns: TableColumnConfig<T>[];
|
|
10
|
-
data: T[];
|
|
11
|
-
sortOptions?: SortOption[];
|
|
12
|
-
sortConfig?: Record<string, SortConfig<T>>;
|
|
13
|
-
searchPlaceholder?: string;
|
|
14
|
-
defaultPageSize?: number;
|
|
15
|
-
isLoading?: boolean;
|
|
16
|
-
isSuccess?: boolean;
|
|
17
|
-
isError?: boolean;
|
|
18
|
-
error?: unknown;
|
|
19
|
-
}
|
|
20
|
-
declare function DataViewTable<T extends Record<string, any>>({ title, columns, data, sortOptions, sortConfig, searchPlaceholder, defaultPageSize, isLoading, isSuccess, isError, error, }: DataViewTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default DataViewTable;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { WorldMapPoint } from "../../../components/data-display/world-map/WorldMap";
|
|
2
|
-
interface WorldMapCountryTableProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
data: WorldMapPoint[];
|
|
5
|
-
}
|
|
6
|
-
export default function WorldMapCountryTable({ title, data, }: WorldMapCountryTableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|