squarex-ui-component-lib 1.0.0
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/LICENSE +21 -0
- package/README.md +282 -0
- package/dist/charts/components/charts/BarChart/BarChart.d.ts +5 -0
- package/dist/charts/components/charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/charts/components/charts/BarChart/BarChart.types.d.ts +18 -0
- package/dist/charts/components/charts/BarChart/BarChart.types.d.ts.map +1 -0
- package/dist/charts/components/charts/BarChart/index.d.ts +3 -0
- package/dist/charts/components/charts/BarChart/index.d.ts.map +1 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.config.d.ts +13 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.config.d.ts.map +1 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.d.ts +5 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.d.ts.map +1 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.hooks.d.ts +28 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.hooks.d.ts.map +1 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.types.d.ts +10 -0
- package/dist/charts/components/charts/GaugeChart/GaugeChart.types.d.ts.map +1 -0
- package/dist/charts/components/charts/GaugeChart/index.d.ts +3 -0
- package/dist/charts/components/charts/GaugeChart/index.d.ts.map +1 -0
- package/dist/charts/components/charts/PieChart/PieChart.d.ts +5 -0
- package/dist/charts/components/charts/PieChart/PieChart.d.ts.map +1 -0
- package/dist/charts/components/charts/PieChart/PieChart.types.d.ts +25 -0
- package/dist/charts/components/charts/PieChart/PieChart.types.d.ts.map +1 -0
- package/dist/charts/components/charts/PieChart/index.d.ts +3 -0
- package/dist/charts/components/charts/PieChart/index.d.ts.map +1 -0
- package/dist/charts/components/charts/Sankey/Sankey.d.ts +5 -0
- package/dist/charts/components/charts/Sankey/Sankey.d.ts.map +1 -0
- package/dist/charts/components/charts/Sankey/Sankey.types.d.ts +50 -0
- package/dist/charts/components/charts/Sankey/Sankey.types.d.ts.map +1 -0
- package/dist/charts/components/charts/Sankey/index.d.ts +3 -0
- package/dist/charts/components/charts/Sankey/index.d.ts.map +1 -0
- package/dist/charts/components/charts/SankeyFlow/SankeyFlow.d.ts +4 -0
- package/dist/charts/components/charts/SankeyFlow/SankeyFlow.d.ts.map +1 -0
- package/dist/charts/components/charts/SankeyFlow/SankeyFlow.types.d.ts +83 -0
- package/dist/charts/components/charts/SankeyFlow/SankeyFlow.types.d.ts.map +1 -0
- package/dist/charts/components/charts/SankeyFlow/index.d.ts +3 -0
- package/dist/charts/components/charts/SankeyFlow/index.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.colors.d.ts +17 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.colors.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.config.d.ts +140 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.config.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.constants.d.ts +202 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.constants.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.d.ts +4 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.types.d.ts +78 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.types.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.utils.d.ts +8 -0
- package/dist/charts/components/charts/ShankeyPro/ShankeyPro.utils.d.ts.map +1 -0
- package/dist/charts/components/charts/ShankeyPro/index.d.ts +5 -0
- package/dist/charts/components/charts/ShankeyPro/index.d.ts.map +1 -0
- package/dist/charts/components/charts/index.d.ts +13 -0
- package/dist/charts/components/charts/index.d.ts.map +1 -0
- package/dist/charts/components/data/iconList.d.ts +8 -0
- package/dist/charts/components/data/iconList.d.ts.map +1 -0
- package/dist/charts/components/icons/Icon.d.ts +18 -0
- package/dist/charts/components/icons/Icon.d.ts.map +1 -0
- package/dist/charts/components/index.d.ts +7 -0
- package/dist/charts/components/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Avatar/Avatar.d.ts +14 -0
- package/dist/charts/components/ui/Avatar/Avatar.d.ts.map +1 -0
- package/dist/charts/components/ui/Avatar/Avatar.types.d.ts +2 -0
- package/dist/charts/components/ui/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Avatar/index.d.ts +3 -0
- package/dist/charts/components/ui/Avatar/index.d.ts.map +1 -0
- package/dist/charts/components/ui/BackgroundGradient/BackgroundGradient.d.ts +5 -0
- package/dist/charts/components/ui/BackgroundGradient/BackgroundGradient.d.ts.map +1 -0
- package/dist/charts/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts +2 -0
- package/dist/charts/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts.map +1 -0
- package/dist/charts/components/ui/BackgroundGradient/index.d.ts +3 -0
- package/dist/charts/components/ui/BackgroundGradient/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Badge/Badge.d.ts +16 -0
- package/dist/charts/components/ui/Badge/Badge.d.ts.map +1 -0
- package/dist/charts/components/ui/Badge/Badge.types.d.ts +2 -0
- package/dist/charts/components/ui/Badge/Badge.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Badge/index.d.ts +3 -0
- package/dist/charts/components/ui/Badge/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/dist/charts/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/charts/components/ui/Breadcrumb/Breadcrumb.types.d.ts +2 -0
- package/dist/charts/components/ui/Breadcrumb/Breadcrumb.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Breadcrumb/index.d.ts +3 -0
- package/dist/charts/components/ui/Breadcrumb/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Button/Button.d.ts +5 -0
- package/dist/charts/components/ui/Button/Button.d.ts.map +1 -0
- package/dist/charts/components/ui/Button/Button.types.d.ts +16 -0
- package/dist/charts/components/ui/Button/Button.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Button/index.d.ts +3 -0
- package/dist/charts/components/ui/Button/index.d.ts.map +1 -0
- package/dist/charts/components/ui/ButtonDanger/ButtonDanger.d.ts +5 -0
- package/dist/charts/components/ui/ButtonDanger/ButtonDanger.d.ts.map +1 -0
- package/dist/charts/components/ui/ButtonDanger/ButtonDanger.types.d.ts +15 -0
- package/dist/charts/components/ui/ButtonDanger/ButtonDanger.types.d.ts.map +1 -0
- package/dist/charts/components/ui/ButtonDanger/index.d.ts +3 -0
- package/dist/charts/components/ui/ButtonDanger/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Card/Card.d.ts +5 -0
- package/dist/charts/components/ui/Card/Card.d.ts.map +1 -0
- package/dist/charts/components/ui/Card/Card.types.d.ts +15 -0
- package/dist/charts/components/ui/Card/Card.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Card/index.d.ts +3 -0
- package/dist/charts/components/ui/Card/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Categories/Categories.d.ts +5 -0
- package/dist/charts/components/ui/Categories/Categories.d.ts.map +1 -0
- package/dist/charts/components/ui/Categories/Categories.types.d.ts +2 -0
- package/dist/charts/components/ui/Categories/Categories.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Categories/index.d.ts +3 -0
- package/dist/charts/components/ui/Categories/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Cell/Cell.d.ts +5 -0
- package/dist/charts/components/ui/Cell/Cell.d.ts.map +1 -0
- package/dist/charts/components/ui/Cell/Cell.types.d.ts +2 -0
- package/dist/charts/components/ui/Cell/Cell.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Cell/CellHeader.d.ts +5 -0
- package/dist/charts/components/ui/Cell/CellHeader.d.ts.map +1 -0
- package/dist/charts/components/ui/Cell/CellHeader.types.d.ts +2 -0
- package/dist/charts/components/ui/Cell/CellHeader.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Cell/index.d.ts +5 -0
- package/dist/charts/components/ui/Cell/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Checkbox/Checkbox.d.ts +5 -0
- package/dist/charts/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/charts/components/ui/Checkbox/Checkbox.types.d.ts +2 -0
- package/dist/charts/components/ui/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Checkbox/index.d.ts +3 -0
- package/dist/charts/components/ui/Checkbox/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Chip/Chip.d.ts +5 -0
- package/dist/charts/components/ui/Chip/Chip.d.ts.map +1 -0
- package/dist/charts/components/ui/Chip/Chip.types.d.ts +16 -0
- package/dist/charts/components/ui/Chip/Chip.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Chip/index.d.ts +3 -0
- package/dist/charts/components/ui/Chip/index.d.ts.map +1 -0
- package/dist/charts/components/ui/ChipList/ChipList.d.ts +5 -0
- package/dist/charts/components/ui/ChipList/ChipList.d.ts.map +1 -0
- package/dist/charts/components/ui/ChipList/ChipList.types.d.ts +13 -0
- package/dist/charts/components/ui/ChipList/ChipList.types.d.ts.map +1 -0
- package/dist/charts/components/ui/ChipList/index.d.ts +3 -0
- package/dist/charts/components/ui/ChipList/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Dropdown/Dropdown.d.ts +5 -0
- package/dist/charts/components/ui/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/charts/components/ui/Dropdown/Dropdown.types.d.ts +28 -0
- package/dist/charts/components/ui/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Dropdown/index.d.ts +3 -0
- package/dist/charts/components/ui/Dropdown/index.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNested/DropdownNested.d.ts +5 -0
- package/dist/charts/components/ui/DropdownNested/DropdownNested.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNested/DropdownNested.types.d.ts +21 -0
- package/dist/charts/components/ui/DropdownNested/DropdownNested.types.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNested/index.d.ts +3 -0
- package/dist/charts/components/ui/DropdownNested/index.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts +5 -0
- package/dist/charts/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts +24 -0
- package/dist/charts/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts.map +1 -0
- package/dist/charts/components/ui/DropdownNestedColumn/index.d.ts +3 -0
- package/dist/charts/components/ui/DropdownNestedColumn/index.d.ts.map +1 -0
- package/dist/charts/components/ui/IconButton/IconButton.d.ts +5 -0
- package/dist/charts/components/ui/IconButton/IconButton.d.ts.map +1 -0
- package/dist/charts/components/ui/IconButton/IconButton.types.d.ts +14 -0
- package/dist/charts/components/ui/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/charts/components/ui/IconButton/index.d.ts +3 -0
- package/dist/charts/components/ui/IconButton/index.d.ts.map +1 -0
- package/dist/charts/components/ui/ItemRow/ItemRow.d.ts +5 -0
- package/dist/charts/components/ui/ItemRow/ItemRow.d.ts.map +1 -0
- package/dist/charts/components/ui/ItemRow/ItemRow.types.d.ts +2 -0
- package/dist/charts/components/ui/ItemRow/ItemRow.types.d.ts.map +1 -0
- package/dist/charts/components/ui/ItemRow/index.d.ts +3 -0
- package/dist/charts/components/ui/ItemRow/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Modal/Modal.d.ts +11 -0
- package/dist/charts/components/ui/Modal/Modal.d.ts.map +1 -0
- package/dist/charts/components/ui/Modal/Modal.types.d.ts +15 -0
- package/dist/charts/components/ui/Modal/Modal.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Modal/index.d.ts +3 -0
- package/dist/charts/components/ui/Modal/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Notification/Notification.d.ts +12 -0
- package/dist/charts/components/ui/Notification/Notification.d.ts.map +1 -0
- package/dist/charts/components/ui/Notification/Notification.types.d.ts +16 -0
- package/dist/charts/components/ui/Notification/Notification.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Notification/index.d.ts +3 -0
- package/dist/charts/components/ui/Notification/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Pagination/Pagination.d.ts +11 -0
- package/dist/charts/components/ui/Pagination/Pagination.d.ts.map +1 -0
- package/dist/charts/components/ui/Pagination/Pagination.types.d.ts +6 -0
- package/dist/charts/components/ui/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Pagination/index.d.ts +3 -0
- package/dist/charts/components/ui/Pagination/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Radio/Radio.d.ts +5 -0
- package/dist/charts/components/ui/Radio/Radio.d.ts.map +1 -0
- package/dist/charts/components/ui/Radio/Radio.types.d.ts +2 -0
- package/dist/charts/components/ui/Radio/Radio.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Radio/index.d.ts +3 -0
- package/dist/charts/components/ui/Radio/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Search/Search.d.ts +10 -0
- package/dist/charts/components/ui/Search/Search.d.ts.map +1 -0
- package/dist/charts/components/ui/Search/Search.types.d.ts +15 -0
- package/dist/charts/components/ui/Search/Search.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Search/index.d.ts +3 -0
- package/dist/charts/components/ui/Search/index.d.ts.map +1 -0
- package/dist/charts/components/ui/StatusIndicator/StatusIndicator.d.ts +11 -0
- package/dist/charts/components/ui/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/dist/charts/components/ui/StatusIndicator/StatusIndicator.types.d.ts +13 -0
- package/dist/charts/components/ui/StatusIndicator/StatusIndicator.types.d.ts.map +1 -0
- package/dist/charts/components/ui/StatusIndicator/index.d.ts +3 -0
- package/dist/charts/components/ui/StatusIndicator/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Tab/Tab.d.ts +12 -0
- package/dist/charts/components/ui/Tab/Tab.d.ts.map +1 -0
- package/dist/charts/components/ui/Tab/Tab.types.d.ts +14 -0
- package/dist/charts/components/ui/Tab/Tab.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Tab/index.d.ts +3 -0
- package/dist/charts/components/ui/Tab/index.d.ts.map +1 -0
- package/dist/charts/components/ui/TabList/TabList.d.ts +11 -0
- package/dist/charts/components/ui/TabList/TabList.d.ts.map +1 -0
- package/dist/charts/components/ui/TabList/TabList.types.d.ts +16 -0
- package/dist/charts/components/ui/TabList/TabList.types.d.ts.map +1 -0
- package/dist/charts/components/ui/TabList/index.d.ts +3 -0
- package/dist/charts/components/ui/TabList/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Table/Table.d.ts +15 -0
- package/dist/charts/components/ui/Table/Table.d.ts.map +1 -0
- package/dist/charts/components/ui/Table/Table.types.d.ts +47 -0
- package/dist/charts/components/ui/Table/Table.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Table/index.d.ts +3 -0
- package/dist/charts/components/ui/Table/index.d.ts.map +1 -0
- package/dist/charts/components/ui/TextArea/TextArea.d.ts +14 -0
- package/dist/charts/components/ui/TextArea/TextArea.d.ts.map +1 -0
- package/dist/charts/components/ui/TextArea/TextArea.types.d.ts +31 -0
- package/dist/charts/components/ui/TextArea/TextArea.types.d.ts.map +1 -0
- package/dist/charts/components/ui/TextArea/index.d.ts +3 -0
- package/dist/charts/components/ui/TextArea/index.d.ts.map +1 -0
- package/dist/charts/components/ui/Toggle/Toggle.d.ts +10 -0
- package/dist/charts/components/ui/Toggle/Toggle.d.ts.map +1 -0
- package/dist/charts/components/ui/Toggle/Toggle.types.d.ts +2 -0
- package/dist/charts/components/ui/Toggle/Toggle.types.d.ts.map +1 -0
- package/dist/charts/components/ui/Toggle/index.d.ts +3 -0
- package/dist/charts/components/ui/Toggle/index.d.ts.map +1 -0
- package/dist/charts/components/ui/index.d.ts +59 -0
- package/dist/charts/components/ui/index.d.ts.map +1 -0
- package/dist/charts/index.d.ts +9 -0
- package/dist/charts/index.d.ts.map +1 -0
- package/dist/charts/index.esm.js +2 -0
- package/dist/charts/index.esm.js.map +1 -0
- package/dist/charts/test/setup.d.ts +2 -0
- package/dist/charts/test/setup.d.ts.map +1 -0
- package/dist/charts/types/charts.d.ts +207 -0
- package/dist/charts/types/charts.d.ts.map +1 -0
- package/dist/charts/types/common.d.ts +107 -0
- package/dist/charts/types/common.d.ts.map +1 -0
- package/dist/charts/types/index.d.ts +5 -0
- package/dist/charts/types/index.d.ts.map +1 -0
- package/dist/charts/types/ui.d.ts +306 -0
- package/dist/charts/types/ui.d.ts.map +1 -0
- package/dist/charts/types.d.ts +43 -0
- package/dist/charts/types.d.ts.map +1 -0
- package/dist/charts/utils/animations.d.ts +103 -0
- package/dist/charts/utils/animations.d.ts.map +1 -0
- package/dist/charts/utils/colors.d.ts +11 -0
- package/dist/charts/utils/colors.d.ts.map +1 -0
- package/dist/charts/utils/formatters.d.ts +34 -0
- package/dist/charts/utils/formatters.d.ts.map +1 -0
- package/dist/charts/utils/themes.d.ts +26 -0
- package/dist/charts/utils/themes.d.ts.map +1 -0
- package/dist/charts/utils/validators.d.ts +73 -0
- package/dist/charts/utils/validators.d.ts.map +1 -0
- package/dist/components/charts/BarChart/BarChart.d.ts +5 -0
- package/dist/components/charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/components/charts/BarChart/BarChart.types.d.ts +18 -0
- package/dist/components/charts/BarChart/BarChart.types.d.ts.map +1 -0
- package/dist/components/charts/BarChart/index.d.ts +3 -0
- package/dist/components/charts/BarChart/index.d.ts.map +1 -0
- package/dist/components/charts/GaugeChart/GaugeChart.config.d.ts +13 -0
- package/dist/components/charts/GaugeChart/GaugeChart.config.d.ts.map +1 -0
- package/dist/components/charts/GaugeChart/GaugeChart.d.ts +5 -0
- package/dist/components/charts/GaugeChart/GaugeChart.d.ts.map +1 -0
- package/dist/components/charts/GaugeChart/GaugeChart.hooks.d.ts +28 -0
- package/dist/components/charts/GaugeChart/GaugeChart.hooks.d.ts.map +1 -0
- package/dist/components/charts/GaugeChart/GaugeChart.types.d.ts +10 -0
- package/dist/components/charts/GaugeChart/GaugeChart.types.d.ts.map +1 -0
- package/dist/components/charts/GaugeChart/index.d.ts +3 -0
- package/dist/components/charts/GaugeChart/index.d.ts.map +1 -0
- package/dist/components/charts/PieChart/PieChart.d.ts +5 -0
- package/dist/components/charts/PieChart/PieChart.d.ts.map +1 -0
- package/dist/components/charts/PieChart/PieChart.types.d.ts +25 -0
- package/dist/components/charts/PieChart/PieChart.types.d.ts.map +1 -0
- package/dist/components/charts/PieChart/index.d.ts +3 -0
- package/dist/components/charts/PieChart/index.d.ts.map +1 -0
- package/dist/components/charts/Sankey/Sankey.d.ts +5 -0
- package/dist/components/charts/Sankey/Sankey.d.ts.map +1 -0
- package/dist/components/charts/Sankey/Sankey.types.d.ts +50 -0
- package/dist/components/charts/Sankey/Sankey.types.d.ts.map +1 -0
- package/dist/components/charts/Sankey/index.d.ts +3 -0
- package/dist/components/charts/Sankey/index.d.ts.map +1 -0
- package/dist/components/charts/SankeyFlow/SankeyFlow.d.ts +4 -0
- package/dist/components/charts/SankeyFlow/SankeyFlow.d.ts.map +1 -0
- package/dist/components/charts/SankeyFlow/SankeyFlow.types.d.ts +83 -0
- package/dist/components/charts/SankeyFlow/SankeyFlow.types.d.ts.map +1 -0
- package/dist/components/charts/SankeyFlow/index.d.ts +3 -0
- package/dist/components/charts/SankeyFlow/index.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.colors.d.ts +17 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.colors.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.config.d.ts +140 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.config.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.constants.d.ts +202 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.constants.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.d.ts +4 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.types.d.ts +78 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.types.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.utils.d.ts +8 -0
- package/dist/components/charts/ShankeyPro/ShankeyPro.utils.d.ts.map +1 -0
- package/dist/components/charts/ShankeyPro/index.d.ts +5 -0
- package/dist/components/charts/ShankeyPro/index.d.ts.map +1 -0
- package/dist/components/charts/index.d.ts +13 -0
- package/dist/components/charts/index.d.ts.map +1 -0
- package/dist/components/data/iconList.d.ts +8 -0
- package/dist/components/data/iconList.d.ts.map +1 -0
- package/dist/components/icons/Icon.d.ts +18 -0
- package/dist/components/icons/Icon.d.ts.map +1 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/ui/Avatar/Avatar.d.ts +14 -0
- package/dist/components/ui/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/ui/Avatar/Avatar.types.d.ts +2 -0
- package/dist/components/ui/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/components/ui/Avatar/index.d.ts +3 -0
- package/dist/components/ui/Avatar/index.d.ts.map +1 -0
- package/dist/components/ui/BackgroundGradient/BackgroundGradient.d.ts +5 -0
- package/dist/components/ui/BackgroundGradient/BackgroundGradient.d.ts.map +1 -0
- package/dist/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts +2 -0
- package/dist/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts.map +1 -0
- package/dist/components/ui/BackgroundGradient/index.d.ts +3 -0
- package/dist/components/ui/BackgroundGradient/index.d.ts.map +1 -0
- package/dist/components/ui/Badge/Badge.d.ts +16 -0
- package/dist/components/ui/Badge/Badge.d.ts.map +1 -0
- package/dist/components/ui/Badge/Badge.types.d.ts +2 -0
- package/dist/components/ui/Badge/Badge.types.d.ts.map +1 -0
- package/dist/components/ui/Badge/index.d.ts +3 -0
- package/dist/components/ui/Badge/index.d.ts.map +1 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.types.d.ts +2 -0
- package/dist/components/ui/Breadcrumb/Breadcrumb.types.d.ts.map +1 -0
- package/dist/components/ui/Breadcrumb/index.d.ts +3 -0
- package/dist/components/ui/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/ui/Button/Button.d.ts +5 -0
- package/dist/components/ui/Button/Button.d.ts.map +1 -0
- package/dist/components/ui/Button/Button.types.d.ts +16 -0
- package/dist/components/ui/Button/Button.types.d.ts.map +1 -0
- package/dist/components/ui/Button/index.d.ts +3 -0
- package/dist/components/ui/Button/index.d.ts.map +1 -0
- package/dist/components/ui/ButtonDanger/ButtonDanger.d.ts +5 -0
- package/dist/components/ui/ButtonDanger/ButtonDanger.d.ts.map +1 -0
- package/dist/components/ui/ButtonDanger/ButtonDanger.types.d.ts +15 -0
- package/dist/components/ui/ButtonDanger/ButtonDanger.types.d.ts.map +1 -0
- package/dist/components/ui/ButtonDanger/index.d.ts +3 -0
- package/dist/components/ui/ButtonDanger/index.d.ts.map +1 -0
- package/dist/components/ui/Card/Card.d.ts +5 -0
- package/dist/components/ui/Card/Card.d.ts.map +1 -0
- package/dist/components/ui/Card/Card.types.d.ts +15 -0
- package/dist/components/ui/Card/Card.types.d.ts.map +1 -0
- package/dist/components/ui/Card/index.d.ts +3 -0
- package/dist/components/ui/Card/index.d.ts.map +1 -0
- package/dist/components/ui/Categories/Categories.d.ts +5 -0
- package/dist/components/ui/Categories/Categories.d.ts.map +1 -0
- package/dist/components/ui/Categories/Categories.types.d.ts +2 -0
- package/dist/components/ui/Categories/Categories.types.d.ts.map +1 -0
- package/dist/components/ui/Categories/index.d.ts +3 -0
- package/dist/components/ui/Categories/index.d.ts.map +1 -0
- package/dist/components/ui/Cell/Cell.d.ts +5 -0
- package/dist/components/ui/Cell/Cell.d.ts.map +1 -0
- package/dist/components/ui/Cell/Cell.types.d.ts +2 -0
- package/dist/components/ui/Cell/Cell.types.d.ts.map +1 -0
- package/dist/components/ui/Cell/CellHeader.d.ts +5 -0
- package/dist/components/ui/Cell/CellHeader.d.ts.map +1 -0
- package/dist/components/ui/Cell/CellHeader.types.d.ts +2 -0
- package/dist/components/ui/Cell/CellHeader.types.d.ts.map +1 -0
- package/dist/components/ui/Cell/index.d.ts +5 -0
- package/dist/components/ui/Cell/index.d.ts.map +1 -0
- package/dist/components/ui/Checkbox/Checkbox.d.ts +5 -0
- package/dist/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/ui/Checkbox/Checkbox.types.d.ts +2 -0
- package/dist/components/ui/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/ui/Checkbox/index.d.ts +3 -0
- package/dist/components/ui/Checkbox/index.d.ts.map +1 -0
- package/dist/components/ui/Chip/Chip.d.ts +5 -0
- package/dist/components/ui/Chip/Chip.d.ts.map +1 -0
- package/dist/components/ui/Chip/Chip.types.d.ts +16 -0
- package/dist/components/ui/Chip/Chip.types.d.ts.map +1 -0
- package/dist/components/ui/Chip/index.d.ts +3 -0
- package/dist/components/ui/Chip/index.d.ts.map +1 -0
- package/dist/components/ui/ChipList/ChipList.d.ts +5 -0
- package/dist/components/ui/ChipList/ChipList.d.ts.map +1 -0
- package/dist/components/ui/ChipList/ChipList.types.d.ts +13 -0
- package/dist/components/ui/ChipList/ChipList.types.d.ts.map +1 -0
- package/dist/components/ui/ChipList/index.d.ts +3 -0
- package/dist/components/ui/ChipList/index.d.ts.map +1 -0
- package/dist/components/ui/Dropdown/Dropdown.d.ts +5 -0
- package/dist/components/ui/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/ui/Dropdown/Dropdown.types.d.ts +28 -0
- package/dist/components/ui/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/components/ui/Dropdown/index.d.ts +3 -0
- package/dist/components/ui/Dropdown/index.d.ts.map +1 -0
- package/dist/components/ui/DropdownNested/DropdownNested.d.ts +5 -0
- package/dist/components/ui/DropdownNested/DropdownNested.d.ts.map +1 -0
- package/dist/components/ui/DropdownNested/DropdownNested.types.d.ts +21 -0
- package/dist/components/ui/DropdownNested/DropdownNested.types.d.ts.map +1 -0
- package/dist/components/ui/DropdownNested/index.d.ts +3 -0
- package/dist/components/ui/DropdownNested/index.d.ts.map +1 -0
- package/dist/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts +5 -0
- package/dist/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts.map +1 -0
- package/dist/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts +24 -0
- package/dist/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts.map +1 -0
- package/dist/components/ui/DropdownNestedColumn/index.d.ts +3 -0
- package/dist/components/ui/DropdownNestedColumn/index.d.ts.map +1 -0
- package/dist/components/ui/IconButton/IconButton.d.ts +5 -0
- package/dist/components/ui/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/ui/IconButton/IconButton.types.d.ts +14 -0
- package/dist/components/ui/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/components/ui/IconButton/index.d.ts +3 -0
- package/dist/components/ui/IconButton/index.d.ts.map +1 -0
- package/dist/components/ui/ItemRow/ItemRow.d.ts +5 -0
- package/dist/components/ui/ItemRow/ItemRow.d.ts.map +1 -0
- package/dist/components/ui/ItemRow/ItemRow.types.d.ts +2 -0
- package/dist/components/ui/ItemRow/ItemRow.types.d.ts.map +1 -0
- package/dist/components/ui/ItemRow/index.d.ts +3 -0
- package/dist/components/ui/ItemRow/index.d.ts.map +1 -0
- package/dist/components/ui/Modal/Modal.d.ts +11 -0
- package/dist/components/ui/Modal/Modal.d.ts.map +1 -0
- package/dist/components/ui/Modal/Modal.types.d.ts +15 -0
- package/dist/components/ui/Modal/Modal.types.d.ts.map +1 -0
- package/dist/components/ui/Modal/index.d.ts +3 -0
- package/dist/components/ui/Modal/index.d.ts.map +1 -0
- package/dist/components/ui/Notification/Notification.d.ts +12 -0
- package/dist/components/ui/Notification/Notification.d.ts.map +1 -0
- package/dist/components/ui/Notification/Notification.types.d.ts +16 -0
- package/dist/components/ui/Notification/Notification.types.d.ts.map +1 -0
- package/dist/components/ui/Notification/index.d.ts +3 -0
- package/dist/components/ui/Notification/index.d.ts.map +1 -0
- package/dist/components/ui/Pagination/Pagination.d.ts +11 -0
- package/dist/components/ui/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/ui/Pagination/Pagination.types.d.ts +6 -0
- package/dist/components/ui/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/components/ui/Pagination/index.d.ts +3 -0
- package/dist/components/ui/Pagination/index.d.ts.map +1 -0
- package/dist/components/ui/Radio/Radio.d.ts +5 -0
- package/dist/components/ui/Radio/Radio.d.ts.map +1 -0
- package/dist/components/ui/Radio/Radio.types.d.ts +2 -0
- package/dist/components/ui/Radio/Radio.types.d.ts.map +1 -0
- package/dist/components/ui/Radio/index.d.ts +3 -0
- package/dist/components/ui/Radio/index.d.ts.map +1 -0
- package/dist/components/ui/Search/Search.d.ts +10 -0
- package/dist/components/ui/Search/Search.d.ts.map +1 -0
- package/dist/components/ui/Search/Search.types.d.ts +15 -0
- package/dist/components/ui/Search/Search.types.d.ts.map +1 -0
- package/dist/components/ui/Search/index.d.ts +3 -0
- package/dist/components/ui/Search/index.d.ts.map +1 -0
- package/dist/components/ui/StatusIndicator/StatusIndicator.d.ts +11 -0
- package/dist/components/ui/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/dist/components/ui/StatusIndicator/StatusIndicator.types.d.ts +13 -0
- package/dist/components/ui/StatusIndicator/StatusIndicator.types.d.ts.map +1 -0
- package/dist/components/ui/StatusIndicator/index.d.ts +3 -0
- package/dist/components/ui/StatusIndicator/index.d.ts.map +1 -0
- package/dist/components/ui/Tab/Tab.d.ts +12 -0
- package/dist/components/ui/Tab/Tab.d.ts.map +1 -0
- package/dist/components/ui/Tab/Tab.types.d.ts +14 -0
- package/dist/components/ui/Tab/Tab.types.d.ts.map +1 -0
- package/dist/components/ui/Tab/index.d.ts +3 -0
- package/dist/components/ui/Tab/index.d.ts.map +1 -0
- package/dist/components/ui/TabList/TabList.d.ts +11 -0
- package/dist/components/ui/TabList/TabList.d.ts.map +1 -0
- package/dist/components/ui/TabList/TabList.types.d.ts +16 -0
- package/dist/components/ui/TabList/TabList.types.d.ts.map +1 -0
- package/dist/components/ui/TabList/index.d.ts +3 -0
- package/dist/components/ui/TabList/index.d.ts.map +1 -0
- package/dist/components/ui/Table/Table.d.ts +15 -0
- package/dist/components/ui/Table/Table.d.ts.map +1 -0
- package/dist/components/ui/Table/Table.types.d.ts +47 -0
- package/dist/components/ui/Table/Table.types.d.ts.map +1 -0
- package/dist/components/ui/Table/index.d.ts +3 -0
- package/dist/components/ui/Table/index.d.ts.map +1 -0
- package/dist/components/ui/TextArea/TextArea.d.ts +14 -0
- package/dist/components/ui/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/ui/TextArea/TextArea.types.d.ts +31 -0
- package/dist/components/ui/TextArea/TextArea.types.d.ts.map +1 -0
- package/dist/components/ui/TextArea/index.d.ts +3 -0
- package/dist/components/ui/TextArea/index.d.ts.map +1 -0
- package/dist/components/ui/Toggle/Toggle.d.ts +10 -0
- package/dist/components/ui/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/ui/Toggle/Toggle.types.d.ts +2 -0
- package/dist/components/ui/Toggle/Toggle.types.d.ts.map +1 -0
- package/dist/components/ui/Toggle/index.d.ts +3 -0
- package/dist/components/ui/Toggle/index.d.ts.map +1 -0
- package/dist/components/ui/index.d.ts +59 -0
- package/dist/components/ui/index.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.css +1 -0
- package/dist/index.esm.js +33 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/test/setup.d.ts +2 -0
- package/dist/test/setup.d.ts.map +1 -0
- package/dist/types/charts.d.ts +207 -0
- package/dist/types/charts.d.ts.map +1 -0
- package/dist/types/common.d.ts +107 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/ui.d.ts +306 -0
- package/dist/types/ui.d.ts.map +1 -0
- package/dist/types.d.ts +43 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/ui/components/charts/BarChart/BarChart.d.ts +5 -0
- package/dist/ui/components/charts/BarChart/BarChart.d.ts.map +1 -0
- package/dist/ui/components/charts/BarChart/BarChart.types.d.ts +18 -0
- package/dist/ui/components/charts/BarChart/BarChart.types.d.ts.map +1 -0
- package/dist/ui/components/charts/BarChart/index.d.ts +3 -0
- package/dist/ui/components/charts/BarChart/index.d.ts.map +1 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.config.d.ts +13 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.config.d.ts.map +1 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.d.ts +5 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.d.ts.map +1 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.hooks.d.ts +28 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.hooks.d.ts.map +1 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.types.d.ts +10 -0
- package/dist/ui/components/charts/GaugeChart/GaugeChart.types.d.ts.map +1 -0
- package/dist/ui/components/charts/GaugeChart/index.d.ts +3 -0
- package/dist/ui/components/charts/GaugeChart/index.d.ts.map +1 -0
- package/dist/ui/components/charts/PieChart/PieChart.d.ts +5 -0
- package/dist/ui/components/charts/PieChart/PieChart.d.ts.map +1 -0
- package/dist/ui/components/charts/PieChart/PieChart.types.d.ts +25 -0
- package/dist/ui/components/charts/PieChart/PieChart.types.d.ts.map +1 -0
- package/dist/ui/components/charts/PieChart/index.d.ts +3 -0
- package/dist/ui/components/charts/PieChart/index.d.ts.map +1 -0
- package/dist/ui/components/charts/Sankey/Sankey.d.ts +5 -0
- package/dist/ui/components/charts/Sankey/Sankey.d.ts.map +1 -0
- package/dist/ui/components/charts/Sankey/Sankey.types.d.ts +50 -0
- package/dist/ui/components/charts/Sankey/Sankey.types.d.ts.map +1 -0
- package/dist/ui/components/charts/Sankey/index.d.ts +3 -0
- package/dist/ui/components/charts/Sankey/index.d.ts.map +1 -0
- package/dist/ui/components/charts/SankeyFlow/SankeyFlow.d.ts +4 -0
- package/dist/ui/components/charts/SankeyFlow/SankeyFlow.d.ts.map +1 -0
- package/dist/ui/components/charts/SankeyFlow/SankeyFlow.types.d.ts +83 -0
- package/dist/ui/components/charts/SankeyFlow/SankeyFlow.types.d.ts.map +1 -0
- package/dist/ui/components/charts/SankeyFlow/index.d.ts +3 -0
- package/dist/ui/components/charts/SankeyFlow/index.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.colors.d.ts +17 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.colors.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.config.d.ts +140 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.config.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.constants.d.ts +202 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.constants.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.d.ts +4 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.types.d.ts +78 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.types.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.utils.d.ts +8 -0
- package/dist/ui/components/charts/ShankeyPro/ShankeyPro.utils.d.ts.map +1 -0
- package/dist/ui/components/charts/ShankeyPro/index.d.ts +5 -0
- package/dist/ui/components/charts/ShankeyPro/index.d.ts.map +1 -0
- package/dist/ui/components/charts/index.d.ts +13 -0
- package/dist/ui/components/charts/index.d.ts.map +1 -0
- package/dist/ui/components/data/iconList.d.ts +8 -0
- package/dist/ui/components/data/iconList.d.ts.map +1 -0
- package/dist/ui/components/icons/Icon.d.ts +18 -0
- package/dist/ui/components/icons/Icon.d.ts.map +1 -0
- package/dist/ui/components/index.d.ts +7 -0
- package/dist/ui/components/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Avatar/Avatar.d.ts +14 -0
- package/dist/ui/components/ui/Avatar/Avatar.d.ts.map +1 -0
- package/dist/ui/components/ui/Avatar/Avatar.types.d.ts +2 -0
- package/dist/ui/components/ui/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Avatar/index.d.ts +3 -0
- package/dist/ui/components/ui/Avatar/index.d.ts.map +1 -0
- package/dist/ui/components/ui/BackgroundGradient/BackgroundGradient.d.ts +5 -0
- package/dist/ui/components/ui/BackgroundGradient/BackgroundGradient.d.ts.map +1 -0
- package/dist/ui/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts +2 -0
- package/dist/ui/components/ui/BackgroundGradient/BackgroundGradient.types.d.ts.map +1 -0
- package/dist/ui/components/ui/BackgroundGradient/index.d.ts +3 -0
- package/dist/ui/components/ui/BackgroundGradient/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Badge/Badge.d.ts +16 -0
- package/dist/ui/components/ui/Badge/Badge.d.ts.map +1 -0
- package/dist/ui/components/ui/Badge/Badge.types.d.ts +2 -0
- package/dist/ui/components/ui/Badge/Badge.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Badge/index.d.ts +3 -0
- package/dist/ui/components/ui/Badge/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/dist/ui/components/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/ui/components/ui/Breadcrumb/Breadcrumb.types.d.ts +2 -0
- package/dist/ui/components/ui/Breadcrumb/Breadcrumb.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Breadcrumb/index.d.ts +3 -0
- package/dist/ui/components/ui/Breadcrumb/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Button/Button.d.ts +5 -0
- package/dist/ui/components/ui/Button/Button.d.ts.map +1 -0
- package/dist/ui/components/ui/Button/Button.types.d.ts +16 -0
- package/dist/ui/components/ui/Button/Button.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Button/index.d.ts +3 -0
- package/dist/ui/components/ui/Button/index.d.ts.map +1 -0
- package/dist/ui/components/ui/ButtonDanger/ButtonDanger.d.ts +5 -0
- package/dist/ui/components/ui/ButtonDanger/ButtonDanger.d.ts.map +1 -0
- package/dist/ui/components/ui/ButtonDanger/ButtonDanger.types.d.ts +15 -0
- package/dist/ui/components/ui/ButtonDanger/ButtonDanger.types.d.ts.map +1 -0
- package/dist/ui/components/ui/ButtonDanger/index.d.ts +3 -0
- package/dist/ui/components/ui/ButtonDanger/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Card/Card.d.ts +5 -0
- package/dist/ui/components/ui/Card/Card.d.ts.map +1 -0
- package/dist/ui/components/ui/Card/Card.types.d.ts +15 -0
- package/dist/ui/components/ui/Card/Card.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Card/index.d.ts +3 -0
- package/dist/ui/components/ui/Card/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Categories/Categories.d.ts +5 -0
- package/dist/ui/components/ui/Categories/Categories.d.ts.map +1 -0
- package/dist/ui/components/ui/Categories/Categories.types.d.ts +2 -0
- package/dist/ui/components/ui/Categories/Categories.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Categories/index.d.ts +3 -0
- package/dist/ui/components/ui/Categories/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Cell/Cell.d.ts +5 -0
- package/dist/ui/components/ui/Cell/Cell.d.ts.map +1 -0
- package/dist/ui/components/ui/Cell/Cell.types.d.ts +2 -0
- package/dist/ui/components/ui/Cell/Cell.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Cell/CellHeader.d.ts +5 -0
- package/dist/ui/components/ui/Cell/CellHeader.d.ts.map +1 -0
- package/dist/ui/components/ui/Cell/CellHeader.types.d.ts +2 -0
- package/dist/ui/components/ui/Cell/CellHeader.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Cell/index.d.ts +5 -0
- package/dist/ui/components/ui/Cell/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Checkbox/Checkbox.d.ts +5 -0
- package/dist/ui/components/ui/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/ui/components/ui/Checkbox/Checkbox.types.d.ts +2 -0
- package/dist/ui/components/ui/Checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Checkbox/index.d.ts +3 -0
- package/dist/ui/components/ui/Checkbox/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Chip/Chip.d.ts +5 -0
- package/dist/ui/components/ui/Chip/Chip.d.ts.map +1 -0
- package/dist/ui/components/ui/Chip/Chip.types.d.ts +16 -0
- package/dist/ui/components/ui/Chip/Chip.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Chip/index.d.ts +3 -0
- package/dist/ui/components/ui/Chip/index.d.ts.map +1 -0
- package/dist/ui/components/ui/ChipList/ChipList.d.ts +5 -0
- package/dist/ui/components/ui/ChipList/ChipList.d.ts.map +1 -0
- package/dist/ui/components/ui/ChipList/ChipList.types.d.ts +13 -0
- package/dist/ui/components/ui/ChipList/ChipList.types.d.ts.map +1 -0
- package/dist/ui/components/ui/ChipList/index.d.ts +3 -0
- package/dist/ui/components/ui/ChipList/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Dropdown/Dropdown.d.ts +5 -0
- package/dist/ui/components/ui/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/ui/components/ui/Dropdown/Dropdown.types.d.ts +28 -0
- package/dist/ui/components/ui/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Dropdown/index.d.ts +3 -0
- package/dist/ui/components/ui/Dropdown/index.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNested/DropdownNested.d.ts +5 -0
- package/dist/ui/components/ui/DropdownNested/DropdownNested.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNested/DropdownNested.types.d.ts +21 -0
- package/dist/ui/components/ui/DropdownNested/DropdownNested.types.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNested/index.d.ts +3 -0
- package/dist/ui/components/ui/DropdownNested/index.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts +5 -0
- package/dist/ui/components/ui/DropdownNestedColumn/DropdownNestedColumn.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts +24 -0
- package/dist/ui/components/ui/DropdownNestedColumn/DropdownNestedColumn.types.d.ts.map +1 -0
- package/dist/ui/components/ui/DropdownNestedColumn/index.d.ts +3 -0
- package/dist/ui/components/ui/DropdownNestedColumn/index.d.ts.map +1 -0
- package/dist/ui/components/ui/IconButton/IconButton.d.ts +5 -0
- package/dist/ui/components/ui/IconButton/IconButton.d.ts.map +1 -0
- package/dist/ui/components/ui/IconButton/IconButton.types.d.ts +14 -0
- package/dist/ui/components/ui/IconButton/IconButton.types.d.ts.map +1 -0
- package/dist/ui/components/ui/IconButton/index.d.ts +3 -0
- package/dist/ui/components/ui/IconButton/index.d.ts.map +1 -0
- package/dist/ui/components/ui/ItemRow/ItemRow.d.ts +5 -0
- package/dist/ui/components/ui/ItemRow/ItemRow.d.ts.map +1 -0
- package/dist/ui/components/ui/ItemRow/ItemRow.types.d.ts +2 -0
- package/dist/ui/components/ui/ItemRow/ItemRow.types.d.ts.map +1 -0
- package/dist/ui/components/ui/ItemRow/index.d.ts +3 -0
- package/dist/ui/components/ui/ItemRow/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Modal/Modal.d.ts +11 -0
- package/dist/ui/components/ui/Modal/Modal.d.ts.map +1 -0
- package/dist/ui/components/ui/Modal/Modal.types.d.ts +15 -0
- package/dist/ui/components/ui/Modal/Modal.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Modal/index.d.ts +3 -0
- package/dist/ui/components/ui/Modal/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Notification/Notification.d.ts +12 -0
- package/dist/ui/components/ui/Notification/Notification.d.ts.map +1 -0
- package/dist/ui/components/ui/Notification/Notification.types.d.ts +16 -0
- package/dist/ui/components/ui/Notification/Notification.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Notification/index.d.ts +3 -0
- package/dist/ui/components/ui/Notification/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Pagination/Pagination.d.ts +11 -0
- package/dist/ui/components/ui/Pagination/Pagination.d.ts.map +1 -0
- package/dist/ui/components/ui/Pagination/Pagination.types.d.ts +6 -0
- package/dist/ui/components/ui/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Pagination/index.d.ts +3 -0
- package/dist/ui/components/ui/Pagination/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Radio/Radio.d.ts +5 -0
- package/dist/ui/components/ui/Radio/Radio.d.ts.map +1 -0
- package/dist/ui/components/ui/Radio/Radio.types.d.ts +2 -0
- package/dist/ui/components/ui/Radio/Radio.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Radio/index.d.ts +3 -0
- package/dist/ui/components/ui/Radio/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Search/Search.d.ts +10 -0
- package/dist/ui/components/ui/Search/Search.d.ts.map +1 -0
- package/dist/ui/components/ui/Search/Search.types.d.ts +15 -0
- package/dist/ui/components/ui/Search/Search.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Search/index.d.ts +3 -0
- package/dist/ui/components/ui/Search/index.d.ts.map +1 -0
- package/dist/ui/components/ui/StatusIndicator/StatusIndicator.d.ts +11 -0
- package/dist/ui/components/ui/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/dist/ui/components/ui/StatusIndicator/StatusIndicator.types.d.ts +13 -0
- package/dist/ui/components/ui/StatusIndicator/StatusIndicator.types.d.ts.map +1 -0
- package/dist/ui/components/ui/StatusIndicator/index.d.ts +3 -0
- package/dist/ui/components/ui/StatusIndicator/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Tab/Tab.d.ts +12 -0
- package/dist/ui/components/ui/Tab/Tab.d.ts.map +1 -0
- package/dist/ui/components/ui/Tab/Tab.types.d.ts +14 -0
- package/dist/ui/components/ui/Tab/Tab.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Tab/index.d.ts +3 -0
- package/dist/ui/components/ui/Tab/index.d.ts.map +1 -0
- package/dist/ui/components/ui/TabList/TabList.d.ts +11 -0
- package/dist/ui/components/ui/TabList/TabList.d.ts.map +1 -0
- package/dist/ui/components/ui/TabList/TabList.types.d.ts +16 -0
- package/dist/ui/components/ui/TabList/TabList.types.d.ts.map +1 -0
- package/dist/ui/components/ui/TabList/index.d.ts +3 -0
- package/dist/ui/components/ui/TabList/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Table/Table.d.ts +15 -0
- package/dist/ui/components/ui/Table/Table.d.ts.map +1 -0
- package/dist/ui/components/ui/Table/Table.types.d.ts +47 -0
- package/dist/ui/components/ui/Table/Table.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Table/index.d.ts +3 -0
- package/dist/ui/components/ui/Table/index.d.ts.map +1 -0
- package/dist/ui/components/ui/TextArea/TextArea.d.ts +14 -0
- package/dist/ui/components/ui/TextArea/TextArea.d.ts.map +1 -0
- package/dist/ui/components/ui/TextArea/TextArea.types.d.ts +31 -0
- package/dist/ui/components/ui/TextArea/TextArea.types.d.ts.map +1 -0
- package/dist/ui/components/ui/TextArea/index.d.ts +3 -0
- package/dist/ui/components/ui/TextArea/index.d.ts.map +1 -0
- package/dist/ui/components/ui/Toggle/Toggle.d.ts +10 -0
- package/dist/ui/components/ui/Toggle/Toggle.d.ts.map +1 -0
- package/dist/ui/components/ui/Toggle/Toggle.types.d.ts +2 -0
- package/dist/ui/components/ui/Toggle/Toggle.types.d.ts.map +1 -0
- package/dist/ui/components/ui/Toggle/index.d.ts +3 -0
- package/dist/ui/components/ui/Toggle/index.d.ts.map +1 -0
- package/dist/ui/components/ui/index.d.ts +59 -0
- package/dist/ui/components/ui/index.d.ts.map +1 -0
- package/dist/ui/index.d.ts +9 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.esm.css +1 -0
- package/dist/ui/index.esm.js +33 -0
- package/dist/ui/index.esm.js.map +1 -0
- package/dist/ui/test/setup.d.ts +2 -0
- package/dist/ui/test/setup.d.ts.map +1 -0
- package/dist/ui/types/charts.d.ts +207 -0
- package/dist/ui/types/charts.d.ts.map +1 -0
- package/dist/ui/types/common.d.ts +107 -0
- package/dist/ui/types/common.d.ts.map +1 -0
- package/dist/ui/types/index.d.ts +5 -0
- package/dist/ui/types/index.d.ts.map +1 -0
- package/dist/ui/types/ui.d.ts +306 -0
- package/dist/ui/types/ui.d.ts.map +1 -0
- package/dist/ui/types.d.ts +43 -0
- package/dist/ui/types.d.ts.map +1 -0
- package/dist/ui/utils/animations.d.ts +103 -0
- package/dist/ui/utils/animations.d.ts.map +1 -0
- package/dist/ui/utils/colors.d.ts +11 -0
- package/dist/ui/utils/colors.d.ts.map +1 -0
- package/dist/ui/utils/formatters.d.ts +34 -0
- package/dist/ui/utils/formatters.d.ts.map +1 -0
- package/dist/ui/utils/themes.d.ts +26 -0
- package/dist/ui/utils/themes.d.ts.map +1 -0
- package/dist/ui/utils/validators.d.ts +73 -0
- package/dist/ui/utils/validators.d.ts.map +1 -0
- package/dist/utils/animations.d.ts +103 -0
- package/dist/utils/animations.d.ts.map +1 -0
- package/dist/utils/colors.d.ts +11 -0
- package/dist/utils/colors.d.ts.map +1 -0
- package/dist/utils/formatters.d.ts +34 -0
- package/dist/utils/formatters.d.ts.map +1 -0
- package/dist/utils/themes.d.ts +26 -0
- package/dist/utils/themes.d.ts.map +1 -0
- package/dist/utils/validators.d.ts +73 -0
- package/dist/utils/validators.d.ts.map +1 -0
- package/package.json +113 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Visulisation Library
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# SquareX UI Component Library
|
|
2
|
+
|
|
3
|
+
A modern, comprehensive React component library featuring beautiful charts and UI components built with TypeScript, Tailwind CSS, and D3.js.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- 🎨 **Beautiful Components**: Modern, accessible UI components with consistent design
|
|
8
|
+
- 📊 **Interactive Charts**: D3.js-powered charts with smooth animations and interactions
|
|
9
|
+
- 🔧 **Highly Customizable**: Extensive theming and customization options
|
|
10
|
+
- 📱 **Responsive Design**: Mobile-first approach with responsive components
|
|
11
|
+
- ⚡ **Lightweight**: Optimized bundle size with tree-shaking support
|
|
12
|
+
- 🎯 **TypeScript First**: Full TypeScript support with comprehensive type definitions
|
|
13
|
+
- 🚀 **React Ready**: Built for modern React applications
|
|
14
|
+
- 🎭 **Storybook Integration**: Interactive documentation and component playground
|
|
15
|
+
- ♿ **Accessible**: WCAG compliant components with proper ARIA support
|
|
16
|
+
- 🎨 **Tailwind CSS**: Utility-first styling with custom SquareX design system
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npm install @squarex/ui-component-lib
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
or
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
yarn add @squarex/ui-component-lib
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Quick Start
|
|
31
|
+
|
|
32
|
+
### Basic Usage
|
|
33
|
+
|
|
34
|
+
```jsx
|
|
35
|
+
import React from 'react';
|
|
36
|
+
import { Button, Card, BarChart, PieChart } from '@squarex/ui-component-lib';
|
|
37
|
+
|
|
38
|
+
function App() {
|
|
39
|
+
const chartData = [
|
|
40
|
+
{ category: 'Q1', value: 120, color: '#0ea5e9' },
|
|
41
|
+
{ category: 'Q2', value: 190, color: '#0284c7' },
|
|
42
|
+
{ category: 'Q3', value: 300, color: '#0369a1' },
|
|
43
|
+
{ category: 'Q4', value: 280, color: '#075985' },
|
|
44
|
+
];
|
|
45
|
+
|
|
46
|
+
return (
|
|
47
|
+
<div className="p-6 space-y-6">
|
|
48
|
+
<Card>
|
|
49
|
+
<h2 className="text-xl font-semibold mb-4">Dashboard</h2>
|
|
50
|
+
<div className="space-y-4">
|
|
51
|
+
<Button variant="primary" size="lg">
|
|
52
|
+
Get Started
|
|
53
|
+
</Button>
|
|
54
|
+
<BarChart
|
|
55
|
+
data={chartData}
|
|
56
|
+
title="Quarterly Sales"
|
|
57
|
+
width={600}
|
|
58
|
+
height={400}
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
</Card>
|
|
62
|
+
</div>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Import Specific Components
|
|
68
|
+
|
|
69
|
+
```jsx
|
|
70
|
+
// Import only what you need
|
|
71
|
+
import { Button } from '@squarex/ui-component-lib/ui';
|
|
72
|
+
import { BarChart } from '@squarex/ui-component-lib/charts';
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Components
|
|
76
|
+
|
|
77
|
+
### UI Components
|
|
78
|
+
|
|
79
|
+
#### Button
|
|
80
|
+
A versatile button component with multiple variants and states.
|
|
81
|
+
|
|
82
|
+
```jsx
|
|
83
|
+
import { Button } from '@squarex/ui-component-lib';
|
|
84
|
+
|
|
85
|
+
<Button variant="primary" size="md" color="primary">
|
|
86
|
+
Click me
|
|
87
|
+
</Button>
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Card
|
|
91
|
+
A flexible container component for grouping related content.
|
|
92
|
+
|
|
93
|
+
```jsx
|
|
94
|
+
import { Card } from '@squarex/ui-component-lib';
|
|
95
|
+
|
|
96
|
+
<Card variant="elevated" padding="lg">
|
|
97
|
+
<h3>Card Title</h3>
|
|
98
|
+
<p>Card content goes here</p>
|
|
99
|
+
</Card>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Chart Components
|
|
103
|
+
|
|
104
|
+
#### BarChart
|
|
105
|
+
Interactive bar charts with customizable styling and animations.
|
|
106
|
+
|
|
107
|
+
```jsx
|
|
108
|
+
import { BarChart } from '@squarex/ui-component-lib';
|
|
109
|
+
|
|
110
|
+
const data = [
|
|
111
|
+
{ category: 'Q1', value: 120, color: '#0ea5e9' },
|
|
112
|
+
{ category: 'Q2', value: 190, color: '#0284c7' },
|
|
113
|
+
];
|
|
114
|
+
|
|
115
|
+
<BarChart
|
|
116
|
+
data={data}
|
|
117
|
+
title="Quarterly Sales"
|
|
118
|
+
width={600}
|
|
119
|
+
height={400}
|
|
120
|
+
showTooltip={true}
|
|
121
|
+
animate={true}
|
|
122
|
+
/>
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
#### PieChart
|
|
126
|
+
Beautiful pie charts with interactive tooltips and legends.
|
|
127
|
+
|
|
128
|
+
```jsx
|
|
129
|
+
import { PieChart } from '@squarex/ui-component-lib';
|
|
130
|
+
|
|
131
|
+
const data = [
|
|
132
|
+
{ label: 'Desktop', value: 45, color: '#0ea5e9' },
|
|
133
|
+
{ label: 'Mobile', value: 35, color: '#0284c7' },
|
|
134
|
+
{ label: 'Tablet', value: 20, color: '#0369a1' },
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
<PieChart
|
|
138
|
+
data={data}
|
|
139
|
+
title="Device Usage"
|
|
140
|
+
showLegend={true}
|
|
141
|
+
showTooltip={true}
|
|
142
|
+
/>
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Configuration
|
|
146
|
+
|
|
147
|
+
### Tailwind CSS Setup
|
|
148
|
+
|
|
149
|
+
Add the SquareX design system to your Tailwind config:
|
|
150
|
+
|
|
151
|
+
```javascript
|
|
152
|
+
// tailwind.config.js
|
|
153
|
+
module.exports = {
|
|
154
|
+
content: [
|
|
155
|
+
"./src/**/*.{js,ts,jsx,tsx}",
|
|
156
|
+
"./node_modules/@squarex/ui-component-lib/**/*.{js,ts,jsx,tsx}",
|
|
157
|
+
],
|
|
158
|
+
theme: {
|
|
159
|
+
extend: {
|
|
160
|
+
colors: {
|
|
161
|
+
squarex: {
|
|
162
|
+
primary: {
|
|
163
|
+
50: '#f0f9ff',
|
|
164
|
+
500: '#0ea5e9',
|
|
165
|
+
900: '#0c4a6e',
|
|
166
|
+
},
|
|
167
|
+
// ... more colors
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
plugins: [
|
|
173
|
+
require('@tailwindcss/forms'),
|
|
174
|
+
require('@tailwindcss/typography'),
|
|
175
|
+
],
|
|
176
|
+
}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### CSS Import
|
|
180
|
+
|
|
181
|
+
Import the global styles in your main CSS file:
|
|
182
|
+
|
|
183
|
+
```css
|
|
184
|
+
@import '@squarex/ui-component-lib/styles';
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
## Development
|
|
188
|
+
|
|
189
|
+
### Prerequisites
|
|
190
|
+
|
|
191
|
+
- Node.js 16+
|
|
192
|
+
- npm or yarn
|
|
193
|
+
- Git
|
|
194
|
+
|
|
195
|
+
### Setup
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
# Clone the repository
|
|
199
|
+
git clone https://github.com/SquareX/SquareXUIComponentLib.git
|
|
200
|
+
cd SquareXUIComponentLib
|
|
201
|
+
|
|
202
|
+
# Install dependencies
|
|
203
|
+
npm install
|
|
204
|
+
|
|
205
|
+
# Start development server
|
|
206
|
+
npm run dev
|
|
207
|
+
|
|
208
|
+
# Run Storybook
|
|
209
|
+
npm run storybook
|
|
210
|
+
|
|
211
|
+
# Run tests
|
|
212
|
+
npm test
|
|
213
|
+
|
|
214
|
+
# Build the library
|
|
215
|
+
npm run build
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### Project Structure
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
src/
|
|
222
|
+
├── components/ # React components
|
|
223
|
+
│ ├── charts/ # Chart components (BarChart, PieChart, etc.)
|
|
224
|
+
│ └── ui/ # UI components (Button, Card, etc.)
|
|
225
|
+
├── types/ # TypeScript type definitions
|
|
226
|
+
├── utils/ # Utility functions
|
|
227
|
+
├── styles/ # Global styles and CSS
|
|
228
|
+
└── index.ts # Main export file
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Adding New Components
|
|
232
|
+
|
|
233
|
+
1. Create component directory: `src/components/ui/NewComponent/`
|
|
234
|
+
2. Add component files: `NewComponent.tsx`, `NewComponent.types.ts`, `index.ts`
|
|
235
|
+
3. Create Storybook story: `NewComponent.stories.tsx`
|
|
236
|
+
4. Add tests: `NewComponent.test.tsx`
|
|
237
|
+
5. Export from main index files
|
|
238
|
+
|
|
239
|
+
### Testing
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
# Run all tests
|
|
243
|
+
npm test
|
|
244
|
+
|
|
245
|
+
# Run tests in watch mode
|
|
246
|
+
npm run test:watch
|
|
247
|
+
|
|
248
|
+
# Run tests with coverage
|
|
249
|
+
npm run test:coverage
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Storybook
|
|
253
|
+
|
|
254
|
+
```bash
|
|
255
|
+
# Start Storybook development server
|
|
256
|
+
npm run storybook
|
|
257
|
+
|
|
258
|
+
# Build Storybook for production
|
|
259
|
+
npm run build-storybook
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
## Contributing
|
|
263
|
+
|
|
264
|
+
We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
|
|
265
|
+
|
|
266
|
+
1. Fork the repository
|
|
267
|
+
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
|
|
268
|
+
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
|
|
269
|
+
4. Push to the branch (`git push origin feature/amazing-feature`)
|
|
270
|
+
5. Open a Pull Request
|
|
271
|
+
|
|
272
|
+
### Development Guidelines
|
|
273
|
+
|
|
274
|
+
- Follow TypeScript best practices
|
|
275
|
+
- Write comprehensive tests
|
|
276
|
+
- Add Storybook stories for new components
|
|
277
|
+
- Follow the existing code style
|
|
278
|
+
- Update documentation as needed
|
|
279
|
+
|
|
280
|
+
## License
|
|
281
|
+
|
|
282
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/BarChart/BarChart.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AA2BjD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6crC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type { BarChartProps, BarChartData } from '../../../types/charts';
|
|
2
|
+
export interface BarChartConfig {
|
|
3
|
+
showGrid?: boolean;
|
|
4
|
+
showAxes?: boolean;
|
|
5
|
+
showLabels?: boolean;
|
|
6
|
+
showValues?: boolean;
|
|
7
|
+
barPadding?: number;
|
|
8
|
+
cornerRadius?: number;
|
|
9
|
+
orientation?: 'vertical' | 'horizontal';
|
|
10
|
+
stacked?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface BarChartTooltip {
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
format?: (data: any) => string;
|
|
15
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
16
|
+
offset?: number;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=BarChart.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/BarChart/BarChart.types.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGzE,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/BarChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const GAUGE_CONFIG: {
|
|
2
|
+
RADIUS: number;
|
|
3
|
+
STROKE_WIDTH: number;
|
|
4
|
+
ANIMATION_DURATION: number;
|
|
5
|
+
STEP_TIME: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const calculateArcPath: (radius: number, strokeWidth: number) => string;
|
|
8
|
+
export declare const formatTooltipContent: (segment: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: number;
|
|
11
|
+
percentage: number;
|
|
12
|
+
}) => string;
|
|
13
|
+
//# sourceMappingURL=GaugeChart.config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GaugeChart.config.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/GaugeChart/GaugeChart.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;CAKxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,MAAM,EAAE,aAAa,MAAM,KAAG,MAGtE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,SAAS;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,KAAG,MAEpG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GaugeChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/GaugeChart/GaugeChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAIrD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAkKzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { GaugeSegment } from './GaugeChart.types';
|
|
2
|
+
export declare const useGaugeAnimation: (total: number) => {
|
|
3
|
+
count: number;
|
|
4
|
+
animationProgress: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const useTooltip: (containerRef: React.RefObject<HTMLDivElement>) => {
|
|
7
|
+
tooltip: {
|
|
8
|
+
show: boolean;
|
|
9
|
+
content: string;
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
showTooltip: (e: React.MouseEvent, content: string, type: string) => void;
|
|
15
|
+
updateTooltip: (e: React.MouseEvent, content: string, type: string) => void;
|
|
16
|
+
hideTooltip: () => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const useGaugeCalculations: (segments: GaugeSegment[]) => {
|
|
19
|
+
segmentData: {
|
|
20
|
+
percentage: number;
|
|
21
|
+
arcLength: number;
|
|
22
|
+
value: number;
|
|
23
|
+
color: string;
|
|
24
|
+
label: string;
|
|
25
|
+
}[];
|
|
26
|
+
total: number;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=GaugeChart.hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GaugeChart.hooks.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/GaugeChart/GaugeChart.hooks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM;;;CAyB9C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,cAAc,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC;;;;;;;;qBASlC,KAAK,CAAC,UAAU,WAAW,MAAM,QAAQ,MAAM;uBAiB7C,KAAK,CAAC,UAAU,WAAW,MAAM,QAAQ,MAAM;;CAmBtF,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,UAAU,YAAY,EAAE;;;;;;;;;CAU5D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GaugeChart.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/GaugeChart/GaugeChart.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/GaugeChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PieChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/PieChart/PieChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAgB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE/D,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA6LrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type { PieChartProps, PieChartData } from '../../../types/charts';
|
|
2
|
+
export interface PieChartConfig {
|
|
3
|
+
innerRadius?: number;
|
|
4
|
+
outerRadius?: number;
|
|
5
|
+
startAngle?: number;
|
|
6
|
+
endAngle?: number;
|
|
7
|
+
padAngle?: number;
|
|
8
|
+
cornerRadius?: number;
|
|
9
|
+
}
|
|
10
|
+
export interface PieChartTooltip {
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
format?: (data: any) => string;
|
|
13
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
14
|
+
offset?: number;
|
|
15
|
+
showPercentage?: boolean;
|
|
16
|
+
showValue?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface PieChartLegend {
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
21
|
+
showValues?: boolean;
|
|
22
|
+
showPercentages?: boolean;
|
|
23
|
+
format?: (data: any) => string;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=PieChart.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PieChart.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/PieChart/PieChart.types.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAGzE,MAAM,WAAW,cAAc;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,MAAM,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/PieChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sankey.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/Sankey/Sankey.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA6hB3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface Node {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
value: number;
|
|
5
|
+
type: "source" | "middle" | "target";
|
|
6
|
+
color: string;
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}
|
|
10
|
+
export interface Link {
|
|
11
|
+
source: string;
|
|
12
|
+
target: string;
|
|
13
|
+
value: number;
|
|
14
|
+
}
|
|
15
|
+
export interface SankeyData {
|
|
16
|
+
nodes: Node[];
|
|
17
|
+
links: Link[];
|
|
18
|
+
}
|
|
19
|
+
export interface Statistics {
|
|
20
|
+
trendGoods: number;
|
|
21
|
+
shoppingViews: number;
|
|
22
|
+
storeDynamics: number;
|
|
23
|
+
}
|
|
24
|
+
export interface Margin {
|
|
25
|
+
top: number;
|
|
26
|
+
right: number;
|
|
27
|
+
bottom: number;
|
|
28
|
+
left: number;
|
|
29
|
+
}
|
|
30
|
+
export interface SankeyVisualizationProps {
|
|
31
|
+
data: SankeyData;
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
margin?: Margin;
|
|
35
|
+
backgroundColor?: string;
|
|
36
|
+
showTimeFilter?: boolean;
|
|
37
|
+
timeFilters?: string[];
|
|
38
|
+
activeFilter?: string;
|
|
39
|
+
onFilterChange?: (filter: string) => void;
|
|
40
|
+
filterButtonColor?: string;
|
|
41
|
+
filterButtonInactive?: string;
|
|
42
|
+
useCustomFlowWidth?: boolean;
|
|
43
|
+
customFlowWidth?: number;
|
|
44
|
+
minFlowWidth?: number;
|
|
45
|
+
maxFlowWidth?: number;
|
|
46
|
+
flowWidthMultiplier?: number;
|
|
47
|
+
showStatistics?: boolean;
|
|
48
|
+
statistics?: Statistics;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=Sankey.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sankey.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/Sankey/Sankey.types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,MAAM;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAG9B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAG7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/Sankey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SankeyFlow.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/SankeyFlow/SankeyFlow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAExE,OAAO,EAAgD,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAqCnG,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8gBhD,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export interface Flow {
|
|
2
|
+
source: string;
|
|
3
|
+
sourceValue: number;
|
|
4
|
+
target: string;
|
|
5
|
+
targetValue: number;
|
|
6
|
+
thickness: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ResponsiveBreakpoint {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
margin: {
|
|
12
|
+
top: number;
|
|
13
|
+
right: number;
|
|
14
|
+
bottom: number;
|
|
15
|
+
left: number;
|
|
16
|
+
};
|
|
17
|
+
fontSize: {
|
|
18
|
+
title: number;
|
|
19
|
+
subtitle: number;
|
|
20
|
+
label: number;
|
|
21
|
+
value: number;
|
|
22
|
+
};
|
|
23
|
+
nodeHeight: number;
|
|
24
|
+
flowScaleFactor: number;
|
|
25
|
+
}
|
|
26
|
+
export interface ResponsiveConfig {
|
|
27
|
+
desktop: ResponsiveBreakpoint;
|
|
28
|
+
tablet: ResponsiveBreakpoint;
|
|
29
|
+
mobile: ResponsiveBreakpoint;
|
|
30
|
+
}
|
|
31
|
+
export interface ShankyFlowProps {
|
|
32
|
+
flows: Flow[];
|
|
33
|
+
hoverColor?: string;
|
|
34
|
+
title?: string;
|
|
35
|
+
subtitle?: string;
|
|
36
|
+
showHeaders?: boolean;
|
|
37
|
+
showTitle?: boolean;
|
|
38
|
+
showSubtitle?: boolean;
|
|
39
|
+
showDebug?: boolean;
|
|
40
|
+
sourceHeader?: string;
|
|
41
|
+
targetHeader?: string;
|
|
42
|
+
labelColor?: string;
|
|
43
|
+
valueColor?: string;
|
|
44
|
+
headerColor?: string;
|
|
45
|
+
titleColor?: string;
|
|
46
|
+
subtitleColor?: string;
|
|
47
|
+
headerUnderlineColor?: string;
|
|
48
|
+
flowOpacity?: number;
|
|
49
|
+
hoverOpacity?: number;
|
|
50
|
+
curvature?: number;
|
|
51
|
+
valueFormatter?: (value: number) => string;
|
|
52
|
+
labelFormatter?: (label: string) => string;
|
|
53
|
+
tooltipRenderer?: (flow: Flow) => string;
|
|
54
|
+
gradientStops?: Array<{
|
|
55
|
+
offset: number | string;
|
|
56
|
+
color: string;
|
|
57
|
+
opacity?: number;
|
|
58
|
+
}>;
|
|
59
|
+
responsive?: boolean;
|
|
60
|
+
width?: number;
|
|
61
|
+
height?: number;
|
|
62
|
+
margin?: {
|
|
63
|
+
top: number;
|
|
64
|
+
right: number;
|
|
65
|
+
bottom: number;
|
|
66
|
+
left: number;
|
|
67
|
+
};
|
|
68
|
+
nodeHeight?: number;
|
|
69
|
+
flowScaleFactor?: number;
|
|
70
|
+
fontSize?: {
|
|
71
|
+
title: number;
|
|
72
|
+
subtitle: number;
|
|
73
|
+
label: number;
|
|
74
|
+
value: number;
|
|
75
|
+
};
|
|
76
|
+
responsiveConfig?: ResponsiveConfig;
|
|
77
|
+
breakpoints?: {
|
|
78
|
+
mobile: number;
|
|
79
|
+
tablet: number;
|
|
80
|
+
desktop: number;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=SankeyFlow.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SankeyFlow.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/charts/SankeyFlow/SankeyFlow.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAGD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACrE,QAAQ,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5E,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE,oBAAoB,CAAC;IAC7B,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACzC,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAE7E,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,WAAW,CAAC,EAAE;QACZ,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH"}
|