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,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { Variant, Shape, Appearance } from "../../../types";
|
|
4
|
-
export interface InfoProps extends BaseComponentProps {
|
|
5
|
-
variant?: Variant;
|
|
6
|
-
appearance?: Appearance;
|
|
7
|
-
shape?: Shape;
|
|
8
|
-
children?: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
declare function Info({ children, className, variant, appearance, shape, ...rest }: InfoProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Info;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { BaseComponentProps } from "../../../interfaces";
|
|
3
|
-
import { ListBulletType, ListAlign, ListDirection } from "../../../types";
|
|
4
|
-
export interface ListItemData {
|
|
5
|
-
content: React.ReactNode;
|
|
6
|
-
bulletType?: ListBulletType;
|
|
7
|
-
renderBullet?: (index?: number) => React.ReactNode;
|
|
8
|
-
TypographyComponent?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ListProps extends BaseComponentProps {
|
|
12
|
-
title?: string;
|
|
13
|
-
items: (string | React.ReactNode | ListItemData)[];
|
|
14
|
-
direction?: ListDirection;
|
|
15
|
-
gap?: 1 | 2 | 3 | 4;
|
|
16
|
-
columns?: 1 | 2 | 3 | 4;
|
|
17
|
-
align?: ListAlign;
|
|
18
|
-
wrap?: boolean;
|
|
19
|
-
bulletType?: ListBulletType;
|
|
20
|
-
}
|
|
21
|
-
declare function List({ title, items, direction, gap, columns, align, wrap, bulletType, className, ...rest }: ListProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default List;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ListBulletType, ListAlign } from "../../../types";
|
|
3
|
-
export interface ListItemProps {
|
|
4
|
-
content: React.ReactNode;
|
|
5
|
-
index?: number;
|
|
6
|
-
TypographyComponent?: React.ReactNode;
|
|
7
|
-
bulletType?: ListBulletType;
|
|
8
|
-
renderBullet?: (index?: number) => React.ReactNode;
|
|
9
|
-
align?: ListAlign;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const ListItem: ({ content, TypographyComponent, bulletType, renderBullet, index, align, className, }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default ListItem;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Variant, Size } from "../../../data/enums";
|
|
2
|
-
export interface ProgressBarProps {
|
|
3
|
-
value: number;
|
|
4
|
-
variant?: keyof typeof Variant;
|
|
5
|
-
size?: keyof typeof Size;
|
|
6
|
-
showLabel?: boolean;
|
|
7
|
-
label?: string;
|
|
8
|
-
labelPlacement?: "top" | "overlay";
|
|
9
|
-
styles?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const ProgressBar: ({ value, variant, size, showLabel, label, labelPlacement, styles, }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ProgressBar";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface StarRatingProps {
|
|
2
|
-
rating: number;
|
|
3
|
-
isNumericRatingEnabled?: boolean;
|
|
4
|
-
reviewAmount?: number;
|
|
5
|
-
isReviewAmountEnabled?: boolean;
|
|
6
|
-
styles?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function StarRating({ rating, reviewAmount, isNumericRatingEnabled, isReviewAmountEnabled, styles }: StarRatingProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default StarRating;
|
package/build/components/data-display/rating/star-rating-distribution/StarRatingDistribution.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface NumericRatingProps {
|
|
2
|
-
averageRating: number;
|
|
3
|
-
totalReviews: number;
|
|
4
|
-
}
|
|
5
|
-
export interface ProgressBarRatingProps {
|
|
6
|
-
star: number;
|
|
7
|
-
percentage: number;
|
|
8
|
-
}
|
|
9
|
-
export interface ProgressBarsRatingProps {
|
|
10
|
-
ratingDistribution: Array<{
|
|
11
|
-
star: number;
|
|
12
|
-
percentage: number;
|
|
13
|
-
}>;
|
|
14
|
-
}
|
|
15
|
-
declare function StarRatingDistribution({ numericRating, progressBarsRating, ratingDistribution, }: {
|
|
16
|
-
numericRating?: boolean | undefined;
|
|
17
|
-
progressBarsRating?: boolean | undefined;
|
|
18
|
-
ratingDistribution?: {
|
|
19
|
-
star: number;
|
|
20
|
-
count: number;
|
|
21
|
-
}[] | undefined;
|
|
22
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default StarRatingDistribution;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface SliderProps {
|
|
2
|
-
isLoading?: boolean;
|
|
3
|
-
isSuccess?: boolean;
|
|
4
|
-
coverArt: string;
|
|
5
|
-
screenshots: string[];
|
|
6
|
-
}
|
|
7
|
-
declare function Slider({ isLoading, isSuccess, coverArt, screenshots }: SliderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Slider;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface SliderItemProps {
|
|
2
|
-
img?: string;
|
|
3
|
-
onClick?: () => void;
|
|
4
|
-
selected?: boolean;
|
|
5
|
-
styles?: string;
|
|
6
|
-
}
|
|
7
|
-
declare function SliderItem({ img, onClick, selected, styles }: SliderItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default SliderItem;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Shape } from "../../../types";
|
|
3
|
-
export interface TableColumnConfig<T> {
|
|
4
|
-
key: keyof T | string;
|
|
5
|
-
header: string;
|
|
6
|
-
sortable?: boolean;
|
|
7
|
-
render?: (value: any, row: T) => ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export interface TableProps<T> {
|
|
10
|
-
title?: string;
|
|
11
|
-
columns: TableColumnConfig<T>[];
|
|
12
|
-
data: T[];
|
|
13
|
-
shape?: Shape;
|
|
14
|
-
}
|
|
15
|
-
declare function Table<T extends Record<string, any>>({ title, columns, data, shape, }: TableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default Table;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export interface TooltipProps {
|
|
3
|
-
content: ReactNode;
|
|
4
|
-
show: boolean;
|
|
5
|
-
offsetX?: number;
|
|
6
|
-
offsetY?: number;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A generalized tooltip that automatically follows the mouse cursor.
|
|
11
|
-
*/
|
|
12
|
-
export default function Tooltip({ content, show, offsetX, offsetY, className, }: TooltipProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TextVariant, Decoration } from "../../../../data/enums";
|
|
2
|
-
export interface ChapterProps {
|
|
3
|
-
level: 1 | 2 | 3;
|
|
4
|
-
children?: string;
|
|
5
|
-
variant?: keyof typeof TextVariant;
|
|
6
|
-
styles?: string;
|
|
7
|
-
decoration?: keyof typeof Decoration;
|
|
8
|
-
bold?: boolean;
|
|
9
|
-
italic?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ChapterProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Chapter } from "./chapter";
|
|
2
|
-
import { Section } from "./section";
|
|
3
|
-
import { Paragraph } from "./paragraph";
|
|
4
|
-
import { Quote } from "./quote";
|
|
5
|
-
declare const Typography: {
|
|
6
|
-
Chapter: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: import("./chapter/Chapter").ChapterProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: import("./section/Section").SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: import("./paragraph/Paragraph").ParagraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
Quote: ({ children, styles }: import("./quote/Quote").QuoteProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
};
|
|
11
|
-
export { Typography, Chapter, Section, Paragraph, Quote };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TextVariant, Decoration } from "../../../../data/enums";
|
|
2
|
-
export interface ParagraphProps {
|
|
3
|
-
level: 1 | 2 | 3;
|
|
4
|
-
children?: string;
|
|
5
|
-
variant?: keyof typeof TextVariant;
|
|
6
|
-
styles?: string;
|
|
7
|
-
decoration?: keyof typeof Decoration;
|
|
8
|
-
bold?: boolean;
|
|
9
|
-
italic?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const Paragraph: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TextVariant, Decoration } from "../../../../data/enums";
|
|
2
|
-
export interface SectionProps {
|
|
3
|
-
level: 1 | 2 | 3;
|
|
4
|
-
children?: string;
|
|
5
|
-
variant?: keyof typeof TextVariant;
|
|
6
|
-
styles?: string;
|
|
7
|
-
decoration?: keyof typeof Decoration;
|
|
8
|
-
bold?: boolean;
|
|
9
|
-
italic?: boolean;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const Section: ({ level, children, variant, decoration, bold, italic, styles, onClick, }: SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface Tier {
|
|
2
|
-
condition: (percent: number) => boolean;
|
|
3
|
-
style: {
|
|
4
|
-
bg: string;
|
|
5
|
-
color: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export interface ValueBadgeProps {
|
|
9
|
-
value: number;
|
|
10
|
-
tiers?: Tier[];
|
|
11
|
-
lowerBound?: number;
|
|
12
|
-
upperBound?: number;
|
|
13
|
-
formatValue?: (value: number) => string | number;
|
|
14
|
-
className?: string;
|
|
15
|
-
noBackground?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare const defaultTiers: Tier[];
|
|
18
|
-
export declare const defaultFormatValue: (v: number) => string;
|
|
19
|
-
declare const ValueBadge: ({ value, tiers, lowerBound, upperBound, formatValue, className, noBackground, }: ValueBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default ValueBadge;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface YoutubeVideoPlayerProps {
|
|
2
|
-
videoUrl: string;
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
}
|
|
6
|
-
declare function YoutubeVideoPlayer({ videoUrl, width, height, }: YoutubeVideoPlayerProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default YoutubeVideoPlayer;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface WorldMapPoint {
|
|
2
|
-
code: string;
|
|
3
|
-
value: number;
|
|
4
|
-
}
|
|
5
|
-
export interface WorldMapProps {
|
|
6
|
-
data: WorldMapPoint[];
|
|
7
|
-
title?: string;
|
|
8
|
-
bubbleColor?: string;
|
|
9
|
-
bubbleStroke?: string;
|
|
10
|
-
bubbleScale?: number;
|
|
11
|
-
minBubble?: number;
|
|
12
|
-
styles?: string;
|
|
13
|
-
disableCountryHover?: boolean;
|
|
14
|
-
disableCountrySelect?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export default function WorldMap({ data, title, bubbleColor, bubbleStroke, bubbleScale, minBubble, styles, disableCountryHover, disableCountrySelect, }: WorldMapProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
import { Variant, Shape, Size } from "../../../data/enums";
|
|
3
|
-
export interface ButtonProps {
|
|
4
|
-
type?: "button" | "submit";
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
text?: string;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
ghost?: boolean;
|
|
11
|
-
block?: boolean;
|
|
12
|
-
variant?: keyof typeof Variant;
|
|
13
|
-
shape?: keyof typeof Shape;
|
|
14
|
-
size?: keyof typeof Size;
|
|
15
|
-
styles?: string;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare const Button: ({ type, icon, text, children, loading, disabled, ghost, block, variant, shape, size, styles, onClick, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FieldHookConfig } from "formik";
|
|
3
|
-
export interface CheckboxOption {
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}
|
|
7
|
-
interface BaseCheckboxProps {
|
|
8
|
-
placeholder: string;
|
|
9
|
-
}
|
|
10
|
-
interface SingleCheckboxProps extends BaseCheckboxProps {
|
|
11
|
-
options?: never;
|
|
12
|
-
}
|
|
13
|
-
interface MultiCheckboxProps extends BaseCheckboxProps {
|
|
14
|
-
options: CheckboxOption[];
|
|
15
|
-
}
|
|
16
|
-
export type CheckboxProps = (SingleCheckboxProps & FieldHookConfig<boolean>) | (MultiCheckboxProps & FieldHookConfig<string[]>);
|
|
17
|
-
declare const Checkbox: React.FC<CheckboxProps>;
|
|
18
|
-
export default Checkbox;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FieldHookConfig } from "formik";
|
|
2
|
-
import { Shape } from "../../../data/enums";
|
|
3
|
-
interface DateSelectorProps extends FieldHookConfig<string> {
|
|
4
|
-
name: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
styles?: string;
|
|
7
|
-
shape?: keyof typeof Shape;
|
|
8
|
-
}
|
|
9
|
-
export declare const DateSelector: ({ placeholder, styles, shape, ...props }: DateSelectorProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default DateSelector;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface FormProps {
|
|
3
|
-
initialValues?: Record<string, any>;
|
|
4
|
-
validationSchema?: object;
|
|
5
|
-
enableReinitialize?: boolean;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
styles?: string;
|
|
8
|
-
onSubmit: (values: any, helpers?: any) => void;
|
|
9
|
-
onChange?: (values: Record<string, any>, meta?: {
|
|
10
|
-
changed: Record<string, any>;
|
|
11
|
-
}) => void;
|
|
12
|
-
warnOnUnsavedChanges?: boolean;
|
|
13
|
-
onDirtyChange?: (dirty: boolean) => void;
|
|
14
|
-
}
|
|
15
|
-
export declare const Form: ({ initialValues, validationSchema, enableReinitialize, children, styles, onSubmit, onChange, warnOnUnsavedChanges, onDirtyChange, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FormikProps } from "formik";
|
|
2
|
-
interface FormObserverProps {
|
|
3
|
-
formik: FormikProps<Record<string, any>>;
|
|
4
|
-
onChange?: (values: Record<string, any>, meta?: {
|
|
5
|
-
changed: Record<string, any>;
|
|
6
|
-
}) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const FormObserver: ({ formik, onChange }: FormObserverProps) => null;
|
|
9
|
-
export default FormObserver;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Variant, Shape, Size } from "../../../data/enums";
|
|
2
|
-
export interface FormResponseProps {
|
|
3
|
-
text: string | undefined;
|
|
4
|
-
variant?: keyof typeof Variant;
|
|
5
|
-
shape?: keyof typeof Shape;
|
|
6
|
-
size?: keyof typeof Size;
|
|
7
|
-
styles?: string;
|
|
8
|
-
}
|
|
9
|
-
declare function FormResponse({ text, variant, shape, size, styles, }: FormResponseProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default FormResponse;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ImageInputProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
uploadDir?: string;
|
|
5
|
-
onValueChanged?: (imageUrl: string) => void;
|
|
6
|
-
disableSetValue?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ImageInputRef {
|
|
9
|
-
handleResetClick: () => void;
|
|
10
|
-
}
|
|
11
|
-
declare const ImageInput: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<ImageInputRef>>;
|
|
12
|
-
export default ImageInput;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from "./button";
|
|
2
|
-
export * from "./checkbox";
|
|
3
|
-
export * from "./date-selector";
|
|
4
|
-
export * from "./form";
|
|
5
|
-
export * from "./image-input";
|
|
6
|
-
export * from "./input";
|
|
7
|
-
export * from "./multi-image-input";
|
|
8
|
-
export * from "./radio";
|
|
9
|
-
export * from "./rating";
|
|
10
|
-
export * from "./select";
|
|
11
|
-
export * from "./switch";
|
|
12
|
-
export * from "./tags";
|
|
13
|
-
export * from "./text-area";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FieldHookConfig } from "formik";
|
|
2
|
-
import { Shape } from "../../../../data/enums";
|
|
3
|
-
export interface InputProps extends FieldHookConfig<string> {
|
|
4
|
-
type: "text" | "password" | "number";
|
|
5
|
-
name: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
styles?: string;
|
|
8
|
-
step?: string;
|
|
9
|
-
shape?: keyof typeof Shape;
|
|
10
|
-
}
|
|
11
|
-
export interface PasswordVisibilityTogglerProps {
|
|
12
|
-
onClick: (visibility: boolean) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const Input: ({ type, placeholder, styles, step, shape, ...props }: InputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FieldHookConfig } from "formik";
|
|
2
|
-
export interface InputFileProps {
|
|
3
|
-
placeholder: string;
|
|
4
|
-
accept?: string;
|
|
5
|
-
styles?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const InputFile: ({ placeholder, accept, styles, ...props }: FieldHookConfig<File | null> & InputFileProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface FormDataEntryLabelProps {
|
|
3
|
-
text?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
styles?: string;
|
|
6
|
-
}
|
|
7
|
-
declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default InputLabel;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../data/enums";
|
|
2
|
-
interface InputListProps {
|
|
3
|
-
name: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
shape?: keyof typeof Shape;
|
|
6
|
-
}
|
|
7
|
-
export declare const InputList: ({ name, placeholder, shape }: InputListProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Shape } from "../../../../data/enums";
|
|
2
|
-
interface InputListGroupProps {
|
|
3
|
-
name: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
shape?: keyof typeof Shape;
|
|
6
|
-
}
|
|
7
|
-
export declare const InputListGroup: ({ name, placeholder, shape, }: InputListGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|