elseware-ui 2.27.2 → 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "elseware-ui",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A modern and customizable React UI component library by elseware Technology.",
|
|
6
6
|
"keywords": [
|
|
@@ -17,54 +17,43 @@
|
|
|
17
17
|
},
|
|
18
18
|
"author": "elseware Technology <elsewaretechnology@gmail.com>",
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"main": "./
|
|
21
|
-
"module": "./
|
|
22
|
-
"types": "./
|
|
20
|
+
"main": "./dist/index.cjs",
|
|
21
|
+
"module": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"import": "./dist/index.js",
|
|
27
|
+
"require": "./dist/index.cjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
|
-
"
|
|
31
|
+
"dist"
|
|
32
32
|
],
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"**/*.css"
|
|
35
|
+
],
|
|
36
|
+
"publishConfig": {
|
|
37
|
+
"access": "public"
|
|
38
|
+
},
|
|
33
39
|
"scripts": {
|
|
34
40
|
"dev": "storybook dev -p 6006",
|
|
35
|
-
"build": "
|
|
41
|
+
"build": "tsup",
|
|
36
42
|
"build:storybook": "storybook build",
|
|
37
|
-
"clean": "
|
|
43
|
+
"clean": "rimraf dist node_modules/.cache",
|
|
38
44
|
"prepare": "npm run build",
|
|
39
45
|
"release": "npm publish --access public"
|
|
40
46
|
},
|
|
41
|
-
"eslintConfig": {
|
|
42
|
-
"extends": [
|
|
43
|
-
"react-app",
|
|
44
|
-
"react-app/jest",
|
|
45
|
-
"plugin:storybook/recommended"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"browserslist": {
|
|
49
|
-
"production": [
|
|
50
|
-
">0.2%",
|
|
51
|
-
"not dead",
|
|
52
|
-
"not op_mini all"
|
|
53
|
-
],
|
|
54
|
-
"development": [
|
|
55
|
-
"last 1 chrome version",
|
|
56
|
-
"last 1 firefox version",
|
|
57
|
-
"last 1 safari version"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
47
|
"peerDependencies": {
|
|
61
|
-
"react": "
|
|
62
|
-
"react-dom": "
|
|
48
|
+
"react": "^18.3.1",
|
|
49
|
+
"react-dom": "^18.3.1",
|
|
63
50
|
"tailwindcss": ">=3.0.0"
|
|
64
51
|
},
|
|
65
52
|
"dependencies": {
|
|
53
|
+
"@codemirror/theme-one-dark": "^6.1.3",
|
|
66
54
|
"@headlessui/react": "^2.1.8",
|
|
67
55
|
"@mdxeditor/editor": "^3.36.0",
|
|
56
|
+
"@uiw/codemirror-theme-github": "^4.25.9",
|
|
68
57
|
"chart.js": "^4.4.4",
|
|
69
58
|
"classnames": "^2.5.1",
|
|
70
59
|
"cloudinary-react": "^1.8.1",
|
|
@@ -103,10 +92,10 @@
|
|
|
103
92
|
"@types/emoji-flags": "^1.3.3",
|
|
104
93
|
"@types/jest": "^30.0.0",
|
|
105
94
|
"@types/node": "^24.0.3",
|
|
106
|
-
"@types/react": "^
|
|
95
|
+
"@types/react": "^18.3.12",
|
|
107
96
|
"@types/react-beautiful-dnd": "^13.1.8",
|
|
108
97
|
"@types/react-chartjs-2": "^2.5.7",
|
|
109
|
-
"@types/react-dom": "^
|
|
98
|
+
"@types/react-dom": "^18.3.1",
|
|
110
99
|
"@types/react-simple-maps": "^3.0.6",
|
|
111
100
|
"@types/react-world-flags": "^1.6.0",
|
|
112
101
|
"autoprefixer": "^10.4.16",
|
|
@@ -114,7 +103,10 @@
|
|
|
114
103
|
"eslint-plugin-storybook": "^0.11.2",
|
|
115
104
|
"postcss": "^8.4.33",
|
|
116
105
|
"prop-types": "^15.8.1",
|
|
106
|
+
"react": "^18.3.1",
|
|
107
|
+
"react-dom": "^18.3.1",
|
|
117
108
|
"react-scripts": "5.0.1",
|
|
109
|
+
"rimraf": "^6.0.1",
|
|
118
110
|
"rollup": "^2.79.2",
|
|
119
111
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
120
112
|
"rollup-plugin-postcss": "^4.0.2",
|
|
@@ -122,7 +114,8 @@
|
|
|
122
114
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
123
115
|
"storybook": "^8.5.0",
|
|
124
116
|
"tailwindcss": "^3.4.1",
|
|
125
|
-
"tslib": "^2.
|
|
117
|
+
"tslib": "^2.8.1",
|
|
118
|
+
"tsup": "^8.5.1",
|
|
126
119
|
"typescript": "^4.9.5"
|
|
127
120
|
}
|
|
128
121
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { Variant, Shape, Size } from "../../../types";
|
|
4
|
-
export interface AvatarProps extends BaseComponentProps {
|
|
5
|
-
alt?: string;
|
|
6
|
-
icon?: ReactNode;
|
|
7
|
-
variant?: Variant;
|
|
8
|
-
shape?: Shape;
|
|
9
|
-
size?: Size;
|
|
10
|
-
src?: string;
|
|
11
|
-
borderVariant?: boolean;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
}
|
|
14
|
-
export declare const Avatar: ({ alt, icon, children, variant, shape, size, src, borderVariant, className, ...rest }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Avatar } from "./Avatar";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { Variant, Shape, Size, OctilePosition } from "../../../types";
|
|
4
|
-
export interface BadgeProps extends BaseComponentProps {
|
|
5
|
-
offset?: [number, number];
|
|
6
|
-
dot?: boolean;
|
|
7
|
-
count?: number;
|
|
8
|
-
variant?: Variant;
|
|
9
|
-
shape?: Shape;
|
|
10
|
-
size?: Size;
|
|
11
|
-
showZero?: boolean;
|
|
12
|
-
position?: OctilePosition;
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
}
|
|
15
|
-
export declare const Badge: ({ children, offset, dot, count, variant, shape, size, showZero, position, className, ...rest }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Badge } from "./Badge";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { TitleBannerLevel } from "../../../types";
|
|
4
|
-
export interface TitleBannerProps extends BaseComponentProps {
|
|
5
|
-
title: string;
|
|
6
|
-
level?: TitleBannerLevel;
|
|
7
|
-
rightSection?: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const TitleBanner: ({ title, level, rightSection, className, ...rest }: TitleBannerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TitleBanner } from "./TitleBanner";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
2
|
-
export interface BrandProps extends BaseComponentProps {
|
|
3
|
-
src?: string;
|
|
4
|
-
alt?: string;
|
|
5
|
-
}
|
|
6
|
-
declare function Brand({ src, alt, className, ...rest }: BrandProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Brand;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ChartOptions, ChartData } from "chart.js";
|
|
3
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
4
|
-
export interface BarChartProps extends BaseComponentProps {
|
|
5
|
-
data: ChartData<"bar">;
|
|
6
|
-
options: ChartOptions<"bar">;
|
|
7
|
-
}
|
|
8
|
-
declare const BarChart: React.FC<BarChartProps>;
|
|
9
|
-
export default BarChart;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ChartData, ChartOptions } from "chart.js";
|
|
3
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
4
|
-
export interface LineChartProps extends BaseComponentProps {
|
|
5
|
-
data: ChartData<"line">;
|
|
6
|
-
options?: ChartOptions<"line">;
|
|
7
|
-
}
|
|
8
|
-
declare const LineChart: React.FC<LineChartProps>;
|
|
9
|
-
export default LineChart;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ChartData, ChartOptions } from "chart.js";
|
|
3
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
4
|
-
export interface PieChartProps extends BaseComponentProps {
|
|
5
|
-
data: ChartData<"pie">;
|
|
6
|
-
options: ChartOptions<"pie">;
|
|
7
|
-
}
|
|
8
|
-
declare const PieChart: React.FC<PieChartProps>;
|
|
9
|
-
export default PieChart;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
2
|
-
import { Variant, Shape, Size } from "../../../types";
|
|
3
|
-
export interface ChipProps extends BaseComponentProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
variant?: Variant;
|
|
6
|
-
shape?: Shape;
|
|
7
|
-
ghost?: boolean;
|
|
8
|
-
size?: Size;
|
|
9
|
-
}
|
|
10
|
-
export declare const Chip: ({ label, variant, shape, ghost, size, className, ...rest }: ChipProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { JSX } from "react";
|
|
3
|
-
type DataViewContentProps<T = any> = {
|
|
4
|
-
children: ReactNode | ((data: T[]) => ReactNode);
|
|
5
|
-
};
|
|
6
|
-
declare function DataViewContent<T = any>({ children, }: DataViewContentProps<T>): JSX.Element;
|
|
7
|
-
export default DataViewContent;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type FilterOption = {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
dotClass?: string;
|
|
5
|
-
};
|
|
6
|
-
type DataViewFilterGroupProps<T = any> = {
|
|
7
|
-
filterKey: keyof T;
|
|
8
|
-
options: FilterOption[];
|
|
9
|
-
title?: string;
|
|
10
|
-
};
|
|
11
|
-
declare function DataViewFilterGroup<T extends Record<string, any>>({ filterKey, options, title, }: DataViewFilterGroupProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default DataViewFilterGroup;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../types";
|
|
2
|
-
type Props = {
|
|
3
|
-
pageSizeOptions?: (number | "All")[];
|
|
4
|
-
shape?: Shape;
|
|
5
|
-
};
|
|
6
|
-
declare function DataViewPageSize({ pageSizeOptions, shape, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DataViewPageSize;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../types";
|
|
2
|
-
type DataViewSearchProps = {
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
shape?: Shape;
|
|
5
|
-
};
|
|
6
|
-
declare function DataViewSearch({ placeholder, shape, }: DataViewSearchProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DataViewSearch;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../types";
|
|
2
|
-
type SortOption = {
|
|
3
|
-
value: string;
|
|
4
|
-
label: string;
|
|
5
|
-
};
|
|
6
|
-
type DataViewSortProps = {
|
|
7
|
-
options: SortOption[];
|
|
8
|
-
shape?: Shape;
|
|
9
|
-
};
|
|
10
|
-
declare function DataViewSort({ options, shape }: DataViewSortProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default DataViewSort;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { SortConfig } from "./types";
|
|
3
|
-
interface Props<T> {
|
|
4
|
-
data: T[];
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
defaultPageSize?: number;
|
|
7
|
-
sortConfig?: Record<string, SortConfig<T>>;
|
|
8
|
-
}
|
|
9
|
-
declare function DataViewProvider<T extends Record<string, any>>({ data, children, defaultPageSize, sortConfig, }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default DataViewProvider;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from "react";
|
|
2
|
-
export type SortDirection = "asc" | "desc";
|
|
3
|
-
export type SortConfig<T, K extends keyof T = keyof T> = {
|
|
4
|
-
key: K;
|
|
5
|
-
direction?: "asc" | "desc";
|
|
6
|
-
transform?: (value: T[K]) => number | string;
|
|
7
|
-
};
|
|
8
|
-
export interface DataViewContextType<T = any> {
|
|
9
|
-
rawData: T[];
|
|
10
|
-
data: T[];
|
|
11
|
-
search: string;
|
|
12
|
-
setSearch: (v: string) => void;
|
|
13
|
-
filters: Record<string, any>;
|
|
14
|
-
setFilters: Dispatch<SetStateAction<Record<string, any>>>;
|
|
15
|
-
sort: string;
|
|
16
|
-
setSort: (v: string) => void;
|
|
17
|
-
page: number;
|
|
18
|
-
setPage: (v: number) => void;
|
|
19
|
-
pageSize: number | "All";
|
|
20
|
-
setPageSize: (v: number | "All") => void;
|
|
21
|
-
totalPages: number;
|
|
22
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import DataViewProvider from "./core/DataViewProvider";
|
|
2
|
-
import DataViewHeader from "./com/DataViewHeader";
|
|
3
|
-
import DataViewSidebar from "./com/DataViewSidebar";
|
|
4
|
-
import DataViewContent from "./com/DataViewContent";
|
|
5
|
-
import DataViewFooter from "./com/DataViewFooter";
|
|
6
|
-
import DataViewSearch from "./controls/DataViewSearch";
|
|
7
|
-
import DataViewSort from "./controls/DataViewSort";
|
|
8
|
-
import DataViewFilterGroup from "./controls/DataViewFilterGroup";
|
|
9
|
-
import DataViewPageSize from "./controls/DataViewPageSize";
|
|
10
|
-
import DataViewPagination from "./controls/DataViewPagination";
|
|
11
|
-
export declare const DataView: typeof DataViewProvider & {
|
|
12
|
-
Header: typeof DataViewHeader;
|
|
13
|
-
Sidebar: typeof DataViewSidebar;
|
|
14
|
-
Content: typeof DataViewContent;
|
|
15
|
-
Footer: typeof DataViewFooter;
|
|
16
|
-
Pagination: typeof DataViewPagination;
|
|
17
|
-
Search: typeof DataViewSearch;
|
|
18
|
-
Sort: typeof DataViewSort;
|
|
19
|
-
FilterGroup: typeof DataViewFilterGroup;
|
|
20
|
-
PageSize: typeof DataViewPageSize;
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function filterData<T extends Record<string, any>>(data: T[], filters: Record<string, any>): T[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function searchData<T extends Record<string, any>>(data: T[], search: string): T[];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
2
|
-
export interface FlagProps extends BaseComponentProps {
|
|
3
|
-
code: string;
|
|
4
|
-
width?: number | string;
|
|
5
|
-
height?: number | string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Flag: ({ code, width, height, className, ...rest }: FlagProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { GraphData } from "./types";
|
|
3
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
4
|
-
export interface GraphProps extends BaseComponentProps {
|
|
5
|
-
data: GraphData;
|
|
6
|
-
layout?: string;
|
|
7
|
-
nodeRenderer?: (node: any) => React.ReactNode;
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const Graph: ({ data, layout, nodeRenderer, width, height, className, ...rest }: GraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { GraphData, GraphNodeType } from "../types";
|
|
3
|
-
interface Props {
|
|
4
|
-
data: GraphData;
|
|
5
|
-
layout?: string;
|
|
6
|
-
nodeRenderer?: (node: GraphNodeType) => React.ReactNode;
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const GraphRenderer: React.FC<Props>;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { GraphNodeType } from "../types";
|
|
2
|
-
export declare function createGridLayout(nodes: GraphNodeType[], width: number, height: number): {
|
|
3
|
-
x: number;
|
|
4
|
-
y: number;
|
|
5
|
-
id: string;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
type?: "default" | "avatar" | "custom" | undefined;
|
|
8
|
-
data?: any;
|
|
9
|
-
vx?: number | undefined;
|
|
10
|
-
vy?: number | undefined;
|
|
11
|
-
fx?: number | null | undefined;
|
|
12
|
-
fy?: number | null | undefined;
|
|
13
|
-
size?: number | undefined;
|
|
14
|
-
color?: string | undefined;
|
|
15
|
-
}[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { GraphNodeType, GraphEdgeType, GraphLayoutType } from "../types";
|
|
2
|
-
export interface LayoutContext {
|
|
3
|
-
nodes: GraphNodeType[];
|
|
4
|
-
edges: GraphEdgeType[];
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
onTick?: (nodes: GraphNodeType[]) => void;
|
|
8
|
-
}
|
|
9
|
-
export type LayoutExecutor = (ctx: LayoutContext) => {
|
|
10
|
-
type: "static" | "simulation";
|
|
11
|
-
stop?: () => void;
|
|
12
|
-
};
|
|
13
|
-
export declare const registerLayout: (type: GraphLayoutType, executor: LayoutExecutor) => void;
|
|
14
|
-
export declare const getLayout: (type: GraphLayoutType) => LayoutExecutor;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type GraphLayoutType = "force" | "grid" | "tree" | (string & {});
|
|
2
|
-
export interface GraphData {
|
|
3
|
-
nodes: GraphNodeType[];
|
|
4
|
-
edges: GraphEdgeType[];
|
|
5
|
-
}
|
|
6
|
-
export interface GraphNodeType {
|
|
7
|
-
id: string;
|
|
8
|
-
label?: string;
|
|
9
|
-
type?: "default" | "avatar" | "custom";
|
|
10
|
-
data?: any;
|
|
11
|
-
x?: number;
|
|
12
|
-
y?: number;
|
|
13
|
-
vx?: number;
|
|
14
|
-
vy?: number;
|
|
15
|
-
fx?: number | null;
|
|
16
|
-
fy?: number | null;
|
|
17
|
-
size?: number;
|
|
18
|
-
color?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface GraphEdgeType {
|
|
21
|
-
id?: string;
|
|
22
|
-
from: string | GraphNodeType;
|
|
23
|
-
to: string | GraphNodeType;
|
|
24
|
-
weight?: string;
|
|
25
|
-
color?: string;
|
|
26
|
-
width?: number;
|
|
27
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
2
|
-
export interface CloudinaryImageProps extends BaseComponentProps {
|
|
3
|
-
publicId?: string;
|
|
4
|
-
cloudName?: string;
|
|
5
|
-
secure?: boolean;
|
|
6
|
-
alt?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function CloudinaryImage({ publicId, cloudName, secure, alt, className, ...rest }: CloudinaryImageProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default CloudinaryImage;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface CloudinaryConfig {
|
|
2
|
-
cloudName: string;
|
|
3
|
-
}
|
|
4
|
-
export declare const CloudinaryProvider: ({ cloudName, children, }: CloudinaryConfig & {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const useCloudinaryConfig: () => CloudinaryConfig;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BaseComponentProps } from "../../../../interfaces";
|
|
2
|
-
export interface ImageProps extends BaseComponentProps {
|
|
3
|
-
alt?: string;
|
|
4
|
-
src?: string;
|
|
5
|
-
height?: number;
|
|
6
|
-
width?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const Image: ({ alt, src, height, width, className, ...rest }: ImageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export * from "./avatar";
|
|
2
|
-
export * from "./badge";
|
|
3
|
-
export * from "./banners";
|
|
4
|
-
export * from "./brand";
|
|
5
|
-
export * from "./charts";
|
|
6
|
-
export * from "./chip";
|
|
7
|
-
export * from "./data-view";
|
|
8
|
-
export * from "./flag";
|
|
9
|
-
export * from "./graphs";
|
|
10
|
-
export * from "./image";
|
|
11
|
-
export * from "./info";
|
|
12
|
-
export * from "./lists";
|
|
13
|
-
export * from "./price-tag";
|
|
14
|
-
export * from "./progress-bar";
|
|
15
|
-
export * from "./rating";
|
|
16
|
-
export * from "./slider";
|
|
17
|
-
export * from "./table";
|
|
18
|
-
export * from "./tag";
|
|
19
|
-
export * from "./tooltip";
|
|
20
|
-
export * from "./typography";
|
|
21
|
-
export * from "./value-badge";
|
|
22
|
-
export * from "./video";
|
|
23
|
-
export * from "./world-map";
|