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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAGD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE;QACN,OAAO,EAAE;YACP,EAAE,EAAE,MAAM,CAAC;YACX,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;SACb,CAAC;QACF,SAAS,EAAE;YACT,EAAE,EAAE,MAAM,CAAC;YACX,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC;YACZ,GAAG,EAAE,MAA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,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { BaseComponentProps, Size, ColorVariant, AccessibilityProps, AnimationProps } from './common';
|
|
2
|
+
export interface ButtonProps extends BaseComponentProps, AccessibilityProps, AnimationProps {
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'link' | 'neutral' | 'subtle';
|
|
4
|
+
size?: Size | 'medium' | 'small';
|
|
5
|
+
color?: ColorVariant;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
fullWidth?: boolean;
|
|
9
|
+
leftIcon?: React.ReactNode;
|
|
10
|
+
rightIcon?: React.ReactNode;
|
|
11
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
type?: 'button' | 'submit' | 'reset';
|
|
13
|
+
label?: string;
|
|
14
|
+
showLeadingIcon?: boolean;
|
|
15
|
+
showTrailingIcon?: boolean;
|
|
16
|
+
leadingIcon?: React.ReactNode | string;
|
|
17
|
+
trailingIcon?: React.ReactNode | string;
|
|
18
|
+
state?: 'default' | 'hover' | 'focus' | 'disabled' | 'loading';
|
|
19
|
+
buttonStyle?: 'primary' | 'secondary' | 'neutral' | 'subtle';
|
|
20
|
+
}
|
|
21
|
+
export interface InputProps extends BaseComponentProps, AccessibilityProps {
|
|
22
|
+
type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search';
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
value?: string;
|
|
25
|
+
defaultValue?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
readonly?: boolean;
|
|
28
|
+
required?: boolean;
|
|
29
|
+
error?: boolean;
|
|
30
|
+
errorMessage?: string;
|
|
31
|
+
label?: string;
|
|
32
|
+
helperText?: string;
|
|
33
|
+
leftIcon?: React.ReactNode;
|
|
34
|
+
rightIcon?: React.ReactNode;
|
|
35
|
+
size?: Size;
|
|
36
|
+
variant?: 'default' | 'filled' | 'outlined';
|
|
37
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
38
|
+
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
39
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
40
|
+
}
|
|
41
|
+
export interface CardProps extends BaseComponentProps, AnimationProps {
|
|
42
|
+
variant?: 'default' | 'elevated' | 'outlined' | 'filled';
|
|
43
|
+
padding?: Size;
|
|
44
|
+
hover?: boolean;
|
|
45
|
+
clickable?: boolean;
|
|
46
|
+
header?: React.ReactNode;
|
|
47
|
+
footer?: React.ReactNode;
|
|
48
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
49
|
+
}
|
|
50
|
+
export interface ModalProps extends BaseComponentProps, AccessibilityProps {
|
|
51
|
+
isOpen: boolean;
|
|
52
|
+
onClose: () => void;
|
|
53
|
+
title?: string;
|
|
54
|
+
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
55
|
+
closeOnOverlayClick?: boolean;
|
|
56
|
+
closeOnEscape?: boolean;
|
|
57
|
+
showCloseButton?: boolean;
|
|
58
|
+
footer?: React.ReactNode;
|
|
59
|
+
overlayClassName?: string;
|
|
60
|
+
overlayStyle?: React.CSSProperties;
|
|
61
|
+
}
|
|
62
|
+
export interface TableColumn<T = any> {
|
|
63
|
+
key: string;
|
|
64
|
+
title: string;
|
|
65
|
+
dataIndex?: string;
|
|
66
|
+
render?: (value: any, record: T, index: number) => React.ReactNode;
|
|
67
|
+
width?: number | string;
|
|
68
|
+
align?: 'left' | 'center' | 'right';
|
|
69
|
+
sortable?: boolean;
|
|
70
|
+
filterable?: boolean;
|
|
71
|
+
}
|
|
72
|
+
export interface TableProps<T = any> extends BaseComponentProps {
|
|
73
|
+
columns: TableColumn<T>[];
|
|
74
|
+
data: T[];
|
|
75
|
+
loading?: boolean;
|
|
76
|
+
pagination?: {
|
|
77
|
+
current: number;
|
|
78
|
+
pageSize: number;
|
|
79
|
+
total: number;
|
|
80
|
+
onChange: (page: number, pageSize: number) => void;
|
|
81
|
+
};
|
|
82
|
+
rowKey?: string | ((record: T) => string);
|
|
83
|
+
onRowClick?: (record: T, index: number) => void;
|
|
84
|
+
onRowHover?: (record: T, index: number) => void;
|
|
85
|
+
selectable?: boolean;
|
|
86
|
+
selectedRows?: T[];
|
|
87
|
+
onSelectionChange?: (selectedRows: T[]) => void;
|
|
88
|
+
}
|
|
89
|
+
export interface TooltipProps extends BaseComponentProps, AccessibilityProps {
|
|
90
|
+
content: React.ReactNode;
|
|
91
|
+
position?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
92
|
+
trigger?: 'hover' | 'click' | 'focus' | 'manual';
|
|
93
|
+
disabled?: boolean;
|
|
94
|
+
delay?: number;
|
|
95
|
+
offset?: number;
|
|
96
|
+
arrow?: boolean;
|
|
97
|
+
maxWidth?: number | string;
|
|
98
|
+
zIndex?: number;
|
|
99
|
+
}
|
|
100
|
+
export type BadgeType = 'active' | 'inactive' | 'default';
|
|
101
|
+
export interface BadgeProps extends BaseComponentProps {
|
|
102
|
+
label?: string;
|
|
103
|
+
type?: BadgeType;
|
|
104
|
+
variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error';
|
|
105
|
+
size?: Size | 'small' | 'medium' | 'large';
|
|
106
|
+
dot?: boolean;
|
|
107
|
+
max?: number;
|
|
108
|
+
showZero?: boolean;
|
|
109
|
+
children?: React.ReactNode;
|
|
110
|
+
}
|
|
111
|
+
export interface BreadcrumbItem {
|
|
112
|
+
title: React.ReactNode;
|
|
113
|
+
href?: string;
|
|
114
|
+
icon?: string;
|
|
115
|
+
menu?: any;
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
}
|
|
118
|
+
export interface BreadcrumbProps extends BaseComponentProps {
|
|
119
|
+
items?: BreadcrumbItem[];
|
|
120
|
+
separator?: React.ReactNode;
|
|
121
|
+
}
|
|
122
|
+
export interface DropdownItem {
|
|
123
|
+
key: string;
|
|
124
|
+
label: React.ReactNode;
|
|
125
|
+
icon?: React.ReactNode;
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
onClick?: () => void;
|
|
128
|
+
divider?: boolean;
|
|
129
|
+
}
|
|
130
|
+
export interface DropdownProps extends BaseComponentProps, AccessibilityProps {
|
|
131
|
+
items: DropdownItem[];
|
|
132
|
+
trigger?: React.ReactNode;
|
|
133
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
134
|
+
disabled?: boolean;
|
|
135
|
+
onItemClick?: (item: DropdownItem) => void;
|
|
136
|
+
}
|
|
137
|
+
export interface TabItem {
|
|
138
|
+
key: string;
|
|
139
|
+
label: React.ReactNode;
|
|
140
|
+
content: React.ReactNode;
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
icon?: React.ReactNode;
|
|
143
|
+
}
|
|
144
|
+
export interface TabsProps extends BaseComponentProps {
|
|
145
|
+
items: TabItem[];
|
|
146
|
+
activeKey?: string;
|
|
147
|
+
defaultActiveKey?: string;
|
|
148
|
+
onChange?: (activeKey: string) => void;
|
|
149
|
+
variant?: 'default' | 'pills' | 'underline';
|
|
150
|
+
size?: Size;
|
|
151
|
+
fullWidth?: boolean;
|
|
152
|
+
}
|
|
153
|
+
export interface AccordionItem {
|
|
154
|
+
key: string;
|
|
155
|
+
title: React.ReactNode;
|
|
156
|
+
content: React.ReactNode;
|
|
157
|
+
disabled?: boolean;
|
|
158
|
+
defaultExpanded?: boolean;
|
|
159
|
+
}
|
|
160
|
+
export interface AccordionProps extends BaseComponentProps {
|
|
161
|
+
items: AccordionItem[];
|
|
162
|
+
allowMultiple?: boolean;
|
|
163
|
+
defaultExpandedKeys?: string[];
|
|
164
|
+
onChange?: (expandedKeys: string[]) => void;
|
|
165
|
+
}
|
|
166
|
+
export interface ProgressProps extends BaseComponentProps {
|
|
167
|
+
value: number;
|
|
168
|
+
max?: number;
|
|
169
|
+
size?: Size;
|
|
170
|
+
variant?: 'default' | 'success' | 'warning' | 'error';
|
|
171
|
+
showValue?: boolean;
|
|
172
|
+
animated?: boolean;
|
|
173
|
+
striped?: boolean;
|
|
174
|
+
label?: string;
|
|
175
|
+
}
|
|
176
|
+
export interface SpinnerProps extends BaseComponentProps {
|
|
177
|
+
size?: Size;
|
|
178
|
+
variant?: 'default' | 'primary' | 'secondary';
|
|
179
|
+
speed?: 'slow' | 'normal' | 'fast';
|
|
180
|
+
label?: string;
|
|
181
|
+
}
|
|
182
|
+
export interface AvatarProps extends BaseComponentProps {
|
|
183
|
+
src?: string;
|
|
184
|
+
alt?: string;
|
|
185
|
+
initials?: string;
|
|
186
|
+
size?: 'small' | 'medium' | 'large' | Size;
|
|
187
|
+
shape?: 'circle' | 'square' | 'rounded';
|
|
188
|
+
fallback?: React.ReactNode;
|
|
189
|
+
status?: 'online' | 'offline' | 'away' | 'busy';
|
|
190
|
+
statusColor?: ColorVariant;
|
|
191
|
+
}
|
|
192
|
+
export interface AlertProps extends BaseComponentProps, AccessibilityProps {
|
|
193
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
194
|
+
title?: string;
|
|
195
|
+
description?: string;
|
|
196
|
+
icon?: React.ReactNode;
|
|
197
|
+
closable?: boolean;
|
|
198
|
+
onClose?: () => void;
|
|
199
|
+
action?: React.ReactNode;
|
|
200
|
+
}
|
|
201
|
+
export interface BackgroundGradientProps extends BaseComponentProps {
|
|
202
|
+
mode?: 'Light Mode BG' | 'Dark Mode BG' | string;
|
|
203
|
+
}
|
|
204
|
+
export interface CategoryItem {
|
|
205
|
+
id?: string | number;
|
|
206
|
+
label: string;
|
|
207
|
+
checked?: boolean;
|
|
208
|
+
type?: string;
|
|
209
|
+
[key: string]: any;
|
|
210
|
+
}
|
|
211
|
+
export interface Category {
|
|
212
|
+
title: string;
|
|
213
|
+
expanded?: boolean;
|
|
214
|
+
items: CategoryItem[];
|
|
215
|
+
[key: string]: any;
|
|
216
|
+
}
|
|
217
|
+
export interface CategoriesProps extends BaseComponentProps {
|
|
218
|
+
variant?: 'single' | 'multiple';
|
|
219
|
+
chips?: {
|
|
220
|
+
label: string;
|
|
221
|
+
[key: string]: any;
|
|
222
|
+
}[];
|
|
223
|
+
categories?: Category[];
|
|
224
|
+
onChipRemove?: (chip: any) => void;
|
|
225
|
+
onCategoryToggle?: (index: number, expanded: boolean) => void;
|
|
226
|
+
onItemClick?: (item: CategoryItem, categoryIndex: number) => void;
|
|
227
|
+
onCancel?: () => void;
|
|
228
|
+
onApply?: () => void;
|
|
229
|
+
cancelLabel?: string;
|
|
230
|
+
applyLabel?: string;
|
|
231
|
+
}
|
|
232
|
+
export interface CheckboxProps extends BaseComponentProps {
|
|
233
|
+
checked?: boolean;
|
|
234
|
+
indeterminate?: boolean;
|
|
235
|
+
disabled?: boolean;
|
|
236
|
+
readOnly?: boolean;
|
|
237
|
+
state?: 'default' | 'hover' | 'focus' | 'pressed' | string;
|
|
238
|
+
size?: 'small' | 'medium' | 'large' | number;
|
|
239
|
+
label?: string;
|
|
240
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
241
|
+
name?: string;
|
|
242
|
+
value?: string;
|
|
243
|
+
}
|
|
244
|
+
export interface RadioProps extends BaseComponentProps {
|
|
245
|
+
checked?: boolean;
|
|
246
|
+
disabled?: boolean;
|
|
247
|
+
readOnly?: boolean;
|
|
248
|
+
state?: 'default' | 'hover' | 'focus' | 'pressed' | string;
|
|
249
|
+
size?: 'small' | 'medium' | 'large' | number;
|
|
250
|
+
label?: string;
|
|
251
|
+
name?: string;
|
|
252
|
+
value?: string;
|
|
253
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
254
|
+
}
|
|
255
|
+
export interface ItemRowProps extends BaseComponentProps {
|
|
256
|
+
showLeftIcon?: boolean;
|
|
257
|
+
hasCheckbox?: boolean;
|
|
258
|
+
hasRadio?: boolean;
|
|
259
|
+
checked?: boolean;
|
|
260
|
+
chooseLeftIcon?: React.ReactNode;
|
|
261
|
+
label?: string;
|
|
262
|
+
showBody?: boolean;
|
|
263
|
+
body?: string;
|
|
264
|
+
showInfo?: boolean;
|
|
265
|
+
showRightIcon?: boolean;
|
|
266
|
+
chooseRightIcon?: React.ReactNode;
|
|
267
|
+
type?: 'Default' | 'Hover' | 'Disabled' | 'Selected' | 'Danger' | string;
|
|
268
|
+
onClick?: () => void;
|
|
269
|
+
}
|
|
270
|
+
export interface ToggleProps extends BaseComponentProps {
|
|
271
|
+
checked?: boolean;
|
|
272
|
+
disabled?: boolean;
|
|
273
|
+
state?: 'default' | 'hover' | 'focus' | 'pressed' | string;
|
|
274
|
+
size?: 'small' | 'medium' | 'large';
|
|
275
|
+
label?: string;
|
|
276
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
277
|
+
name?: string;
|
|
278
|
+
value?: string;
|
|
279
|
+
}
|
|
280
|
+
export interface CellAction {
|
|
281
|
+
icon: string;
|
|
282
|
+
label: string;
|
|
283
|
+
onClick: (event: React.MouseEvent) => void;
|
|
284
|
+
}
|
|
285
|
+
export interface CellProps extends BaseComponentProps {
|
|
286
|
+
variant?: 'default' | 'avatar' | 'status' | 'social' | 'actions' | 'checkbox' | 'toggle' | 'userCount' | string;
|
|
287
|
+
label?: string;
|
|
288
|
+
icon?: string;
|
|
289
|
+
badge?: string | number | React.ReactNode;
|
|
290
|
+
avatar?: string;
|
|
291
|
+
status?: 'active' | 'inactive' | 'pending' | 'online' | 'offline' | string;
|
|
292
|
+
checked?: boolean;
|
|
293
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
294
|
+
count?: number | string;
|
|
295
|
+
actions?: CellAction[];
|
|
296
|
+
}
|
|
297
|
+
export interface CellHeaderProps extends BaseComponentProps {
|
|
298
|
+
label?: string;
|
|
299
|
+
sortable?: boolean;
|
|
300
|
+
sortOrder?: 'asc' | 'desc' | null;
|
|
301
|
+
hasCheckbox?: boolean;
|
|
302
|
+
checked?: boolean;
|
|
303
|
+
onSort?: (event: React.MouseEvent) => void;
|
|
304
|
+
onCheckboxChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
305
|
+
}
|
|
306
|
+
//# sourceMappingURL=ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../../src/types/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAGtG,MAAM,WAAW,WAAY,SAAQ,kBAAkB,EAAE,kBAAkB,EAAE,cAAc;IACzF,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxF,IAAI,CAAC,EAAE,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC;IACjC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IAErC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACvC,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,GAAG,OA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KAAK,IAAI,CAAC;IAC3C,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CACzE"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface ChartOptions {
|
|
2
|
+
width?: number;
|
|
3
|
+
height?: number;
|
|
4
|
+
title?: string;
|
|
5
|
+
theme?: ChartTheme;
|
|
6
|
+
}
|
|
7
|
+
export interface ChartTheme {
|
|
8
|
+
background?: string;
|
|
9
|
+
text?: string;
|
|
10
|
+
grid?: string;
|
|
11
|
+
primary?: string;
|
|
12
|
+
secondary?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface Node {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
value: number;
|
|
18
|
+
type: "source" | "middle" | "target";
|
|
19
|
+
color: string;
|
|
20
|
+
x: number;
|
|
21
|
+
y: number;
|
|
22
|
+
}
|
|
23
|
+
export interface Link {
|
|
24
|
+
source: string;
|
|
25
|
+
target: string;
|
|
26
|
+
value: number;
|
|
27
|
+
}
|
|
28
|
+
export interface SankeyData {
|
|
29
|
+
nodes: Node[];
|
|
30
|
+
links: Link[];
|
|
31
|
+
}
|
|
32
|
+
export interface Statistics {
|
|
33
|
+
trendGoods: number;
|
|
34
|
+
shoppingViews: number;
|
|
35
|
+
storeDynamics: number;
|
|
36
|
+
}
|
|
37
|
+
export interface Margin {
|
|
38
|
+
top: number;
|
|
39
|
+
right: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
left: number;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,UAAU,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAGD,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"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export interface AnimationConfig {
|
|
2
|
+
duration?: number;
|
|
3
|
+
delay?: number;
|
|
4
|
+
easing?: string;
|
|
5
|
+
iterations?: number;
|
|
6
|
+
direction?: 'normal' | 'reverse' | 'alternate' | 'alternate-reverse';
|
|
7
|
+
fillMode?: 'none' | 'forwards' | 'backwards' | 'both';
|
|
8
|
+
}
|
|
9
|
+
export declare const defaultAnimations: {
|
|
10
|
+
fadeIn: {
|
|
11
|
+
duration: number;
|
|
12
|
+
easing: string;
|
|
13
|
+
keyframes: {
|
|
14
|
+
opacity: number;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
slideUp: {
|
|
18
|
+
duration: number;
|
|
19
|
+
easing: string;
|
|
20
|
+
keyframes: {
|
|
21
|
+
transform: string;
|
|
22
|
+
opacity: number;
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
slideDown: {
|
|
26
|
+
duration: number;
|
|
27
|
+
easing: string;
|
|
28
|
+
keyframes: {
|
|
29
|
+
transform: string;
|
|
30
|
+
opacity: number;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
33
|
+
slideLeft: {
|
|
34
|
+
duration: number;
|
|
35
|
+
easing: string;
|
|
36
|
+
keyframes: {
|
|
37
|
+
transform: string;
|
|
38
|
+
opacity: number;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
slideRight: {
|
|
42
|
+
duration: number;
|
|
43
|
+
easing: string;
|
|
44
|
+
keyframes: {
|
|
45
|
+
transform: string;
|
|
46
|
+
opacity: number;
|
|
47
|
+
}[];
|
|
48
|
+
};
|
|
49
|
+
scaleIn: {
|
|
50
|
+
duration: number;
|
|
51
|
+
easing: string;
|
|
52
|
+
keyframes: {
|
|
53
|
+
transform: string;
|
|
54
|
+
opacity: number;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
scaleOut: {
|
|
58
|
+
duration: number;
|
|
59
|
+
easing: string;
|
|
60
|
+
keyframes: {
|
|
61
|
+
transform: string;
|
|
62
|
+
opacity: number;
|
|
63
|
+
}[];
|
|
64
|
+
};
|
|
65
|
+
bounce: {
|
|
66
|
+
duration: number;
|
|
67
|
+
easing: string;
|
|
68
|
+
keyframes: {
|
|
69
|
+
transform: string;
|
|
70
|
+
}[];
|
|
71
|
+
};
|
|
72
|
+
pulse: {
|
|
73
|
+
duration: number;
|
|
74
|
+
easing: string;
|
|
75
|
+
iterations: string;
|
|
76
|
+
keyframes: {
|
|
77
|
+
transform: string;
|
|
78
|
+
}[];
|
|
79
|
+
};
|
|
80
|
+
spin: {
|
|
81
|
+
duration: number;
|
|
82
|
+
easing: string;
|
|
83
|
+
iterations: string;
|
|
84
|
+
keyframes: {
|
|
85
|
+
transform: string;
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
export declare function createAnimation(element: HTMLElement, animationName: keyof typeof defaultAnimations, config?: AnimationConfig): Animation | null;
|
|
90
|
+
export declare function animateElement(element: HTMLElement, keyframes: Keyframe[], options?: KeyframeAnimationOptions): Animation | null;
|
|
91
|
+
export declare function staggerAnimation(elements: HTMLElement[], animationName: keyof typeof defaultAnimations, staggerDelay?: number, config?: AnimationConfig): Animation[];
|
|
92
|
+
export declare function createTransition(element: HTMLElement, properties: string[], duration?: number, easing?: string): void;
|
|
93
|
+
export declare function removeTransition(element: HTMLElement): void;
|
|
94
|
+
export declare const animationClasses: {
|
|
95
|
+
fadeIn: string;
|
|
96
|
+
slideUp: string;
|
|
97
|
+
bounce: string;
|
|
98
|
+
pulse: string;
|
|
99
|
+
spin: string;
|
|
100
|
+
};
|
|
101
|
+
export declare function addAnimationClass(element: HTMLElement, animationClass: keyof typeof animationClasses): void;
|
|
102
|
+
export declare function removeAnimationClass(element: HTMLElement, animationClass: keyof typeof animationClasses): void;
|
|
103
|
+
//# sourceMappingURL=animations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../../src/utils/animations.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IAC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11 @@
|
|
|
1
|
+
export declare const colorPalettes: {
|
|
2
|
+
default: string[];
|
|
3
|
+
vibrant: string[];
|
|
4
|
+
pastel: string[];
|
|
5
|
+
monochrome: string[];
|
|
6
|
+
warm: string[];
|
|
7
|
+
cool: string[];
|
|
8
|
+
};
|
|
9
|
+
export declare function getColors(palette: string | string[], count: number): string[];
|
|
10
|
+
export declare function generateGradient(startColor: string, endColor: string, steps: number): string[];
|
|
11
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../src/utils/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;CAOzB,CAAC;AAEF,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAO7E;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAU9F"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface NumberFormatOptions {
|
|
2
|
+
minimumFractionDigits?: number;
|
|
3
|
+
maximumFractionDigits?: number;
|
|
4
|
+
useGrouping?: boolean;
|
|
5
|
+
currency?: string;
|
|
6
|
+
style?: 'decimal' | 'currency' | 'percent';
|
|
7
|
+
}
|
|
8
|
+
export interface DateFormatOptions {
|
|
9
|
+
year?: 'numeric' | '2-digit';
|
|
10
|
+
month?: 'numeric' | '2-digit' | 'long' | 'short' | 'narrow';
|
|
11
|
+
day?: 'numeric' | '2-digit';
|
|
12
|
+
hour?: 'numeric' | '2-digit';
|
|
13
|
+
minute?: 'numeric' | '2-digit';
|
|
14
|
+
second?: 'numeric' | '2-digit';
|
|
15
|
+
timeZoneName?: 'short' | 'long';
|
|
16
|
+
}
|
|
17
|
+
export declare function formatNumber(value: number, options?: NumberFormatOptions): string;
|
|
18
|
+
export declare function formatCompactNumber(value: number): string;
|
|
19
|
+
export declare function formatPercentage(value: number, decimals?: number): string;
|
|
20
|
+
export declare function formatCurrency(value: number, currency?: string, decimals?: number): string;
|
|
21
|
+
export declare function formatDate(date: Date | string | number, options?: DateFormatOptions): string;
|
|
22
|
+
export declare function formatDateTime(date: Date | string | number, options?: DateFormatOptions): string;
|
|
23
|
+
export declare function formatRelativeTime(date: Date | string | number, now?: Date): string;
|
|
24
|
+
export declare function formatFileSize(bytes: number): string;
|
|
25
|
+
export declare function formatDuration(seconds: number): string;
|
|
26
|
+
export declare function formatPhoneNumber(phoneNumber: string): string;
|
|
27
|
+
export declare function formatCreditCard(cardNumber: string): string;
|
|
28
|
+
export declare function capitalizeFirst(str: string): string;
|
|
29
|
+
export declare function capitalizeWords(str: string): string;
|
|
30
|
+
export declare function truncateText(text: string, maxLength: number, suffix?: string): string;
|
|
31
|
+
export declare function slugify(text: string): string;
|
|
32
|
+
export declare function formatValidationError(field: string, message: string): string;
|
|
33
|
+
export declare function formatFieldLabel(fieldName: string): string;
|
|
34
|
+
//# sourceMappingURL=formatters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../src/utils/formatters.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IAClC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CAC5C;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC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C,GAAG,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAInD;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAE,MAAc,GAAG,MAAM,CAG5F;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAM5C;AAGD,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5E;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAK1D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ChartTheme } from '../types';
|
|
2
|
+
export declare const defaultThemes: {
|
|
3
|
+
light: {
|
|
4
|
+
background: string;
|
|
5
|
+
text: string;
|
|
6
|
+
grid: string;
|
|
7
|
+
primary: string;
|
|
8
|
+
secondary: string;
|
|
9
|
+
accent: string;
|
|
10
|
+
border: string;
|
|
11
|
+
shadow: string;
|
|
12
|
+
};
|
|
13
|
+
dark: {
|
|
14
|
+
background: string;
|
|
15
|
+
text: string;
|
|
16
|
+
grid: string;
|
|
17
|
+
primary: string;
|
|
18
|
+
secondary: string;
|
|
19
|
+
accent: string;
|
|
20
|
+
border: string;
|
|
21
|
+
shadow: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare function createTheme(theme: Partial<ChartTheme>): ChartTheme;
|
|
25
|
+
export declare function getTheme(theme: ChartTheme | string): ChartTheme;
|
|
26
|
+
//# sourceMappingURL=themes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../../src/utils/themes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEF,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU,CAKlE;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAK/D"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface ValidationResult {
|
|
2
|
+
isValid: boolean;
|
|
3
|
+
message?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ValidationRule {
|
|
6
|
+
required?: boolean;
|
|
7
|
+
minLength?: number;
|
|
8
|
+
maxLength?: number;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
pattern?: RegExp;
|
|
12
|
+
custom?: (value: any) => ValidationResult;
|
|
13
|
+
}
|
|
14
|
+
export declare function validateEmail(email: string): ValidationResult;
|
|
15
|
+
export declare function validatePassword(password: string): ValidationResult;
|
|
16
|
+
export declare function validatePhoneNumber(phoneNumber: string): ValidationResult;
|
|
17
|
+
export declare function validateURL(url: string): ValidationResult;
|
|
18
|
+
export declare function validateCreditCard(cardNumber: string): ValidationResult;
|
|
19
|
+
export declare function validateField(value: any, rules: ValidationRule): ValidationResult;
|
|
20
|
+
export declare function validateForm(data: Record<string, any>, rules: Record<string, ValidationRule>): {
|
|
21
|
+
isValid: boolean;
|
|
22
|
+
errors: Record<string, string>;
|
|
23
|
+
};
|
|
24
|
+
export declare const validationPatterns: {
|
|
25
|
+
email: RegExp;
|
|
26
|
+
phone: RegExp;
|
|
27
|
+
url: RegExp;
|
|
28
|
+
alphanumeric: RegExp;
|
|
29
|
+
alphabetic: RegExp;
|
|
30
|
+
numeric: RegExp;
|
|
31
|
+
decimal: RegExp;
|
|
32
|
+
slug: RegExp;
|
|
33
|
+
hexColor: RegExp;
|
|
34
|
+
ipAddress: RegExp;
|
|
35
|
+
uuid: RegExp;
|
|
36
|
+
};
|
|
37
|
+
export declare const commonRules: {
|
|
38
|
+
required: {
|
|
39
|
+
required: boolean;
|
|
40
|
+
};
|
|
41
|
+
email: {
|
|
42
|
+
required: boolean;
|
|
43
|
+
pattern: RegExp;
|
|
44
|
+
};
|
|
45
|
+
password: {
|
|
46
|
+
required: boolean;
|
|
47
|
+
minLength: number;
|
|
48
|
+
};
|
|
49
|
+
phone: {
|
|
50
|
+
required: boolean;
|
|
51
|
+
pattern: RegExp;
|
|
52
|
+
};
|
|
53
|
+
url: {
|
|
54
|
+
required: boolean;
|
|
55
|
+
pattern: RegExp;
|
|
56
|
+
};
|
|
57
|
+
alphanumeric: {
|
|
58
|
+
pattern: RegExp;
|
|
59
|
+
};
|
|
60
|
+
numeric: {
|
|
61
|
+
pattern: RegExp;
|
|
62
|
+
};
|
|
63
|
+
decimal: {
|
|
64
|
+
pattern: RegExp;
|
|
65
|
+
};
|
|
66
|
+
slug: {
|
|
67
|
+
pattern: RegExp;
|
|
68
|
+
};
|
|
69
|
+
hexColor: {
|
|
70
|
+
pattern: RegExp;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=validators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../src/utils/validators.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,gBAAgB,CAAC;CAC3C;AAGD,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,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