@aivenio/aquarium 0.0.1
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 +202 -0
- package/README.md +190 -0
- package/dist/_variables.scss +155 -0
- package/dist/_variables_timescale.scss +155 -0
- package/dist/atoms.cjs +3131 -0
- package/dist/atoms.mjs +3105 -0
- package/dist/src/common/Alert/Alert.d.ts +19 -0
- package/dist/src/common/Alert/Alert.js +74 -0
- package/dist/src/common/Banner/Banner.d.ts +24 -0
- package/dist/src/common/Banner/Banner.js +52 -0
- package/dist/src/common/Checkbox/Checkbox.d.ts +13 -0
- package/dist/src/common/Checkbox/Checkbox.js +35 -0
- package/dist/src/common/Chip/Chip.d.ts +11 -0
- package/dist/src/common/Chip/Chip.js +24 -0
- package/dist/src/common/Dialog/Dialog.d.ts +10 -0
- package/dist/src/common/Dialog/Dialog.js +18 -0
- package/dist/src/common/DropdownMenu/DropdownMenu.d.ts +33 -0
- package/dist/src/common/DropdownMenu/DropdownMenu.js +50 -0
- package/dist/src/common/InputGroup/InputGroup.d.ts +11 -0
- package/dist/src/common/InputGroup/InputGroup.js +24 -0
- package/dist/src/common/Modal/Modal.d.ts +28 -0
- package/dist/src/common/Modal/Modal.js +59 -0
- package/dist/src/common/Popover/Popover.d.ts +8 -0
- package/dist/src/common/Popover/Popover.js +21 -0
- package/dist/src/common/PopoverDialog/PopoverDialog.d.ts +11 -0
- package/dist/src/common/PopoverDialog/PopoverDialog.js +42 -0
- package/dist/src/common/ProgressBar/ProgressBar.d.ts +20 -0
- package/dist/src/common/ProgressBar/ProgressBar.js +36 -0
- package/dist/src/common/RadioButton/RadioButton.d.ts +11 -0
- package/dist/src/common/RadioButton/RadioButton.js +30 -0
- package/dist/src/common/Select/Select.d.ts +76 -0
- package/dist/src/common/Select/Select.js +118 -0
- package/dist/src/common/Table/Table.d.ts +49 -0
- package/dist/src/common/Table/Table.js +81 -0
- package/dist/src/common/Table/Table.utils.d.ts +19 -0
- package/dist/src/common/Table/Table.utils.js +41 -0
- package/dist/src/common/Typography/Typography.d.ts +11 -0
- package/dist/src/common/Typography/Typography.js +17 -0
- package/dist/src/common/index.d.ts +12 -0
- package/dist/src/common/index.js +13 -0
- package/dist/src/components/Alert/Alert.d.ts +18 -0
- package/dist/src/components/Alert/Alert.js +12 -0
- package/dist/src/components/Avatar/Avatar.d.ts +20 -0
- package/dist/src/components/Avatar/Avatar.js +9 -0
- package/dist/src/components/Badge/Badge.d.ts +36 -0
- package/dist/src/components/Badge/Badge.js +46 -0
- package/dist/src/components/Banner/Banner.d.ts +51 -0
- package/dist/src/components/Banner/Banner.js +45 -0
- package/dist/src/components/Box/Box.d.ts +53 -0
- package/dist/src/components/Box/Box.js +55 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +36 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.js +86 -0
- package/dist/src/components/Button/Button.d.ts +134 -0
- package/dist/src/components/Button/Button.js +104 -0
- package/dist/src/components/Card/Card.d.ts +68 -0
- package/dist/src/components/Card/Card.js +46 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +10 -0
- package/dist/src/components/Checkbox/Checkbox.js +33 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.d.ts +45 -0
- package/dist/src/components/CheckboxGroup/CheckboxGroup.js +60 -0
- package/dist/src/components/Chip/Chip.d.ts +76 -0
- package/dist/src/components/Chip/Chip.js +63 -0
- package/dist/src/components/ChoiceChip/ChoiceChip.d.ts +24 -0
- package/dist/src/components/ChoiceChip/ChoiceChip.js +34 -0
- package/dist/src/components/Combobox/Combobox.d.ts +30 -0
- package/dist/src/components/Combobox/Combobox.js +109 -0
- package/dist/src/components/Context/Context.d.ts +10 -0
- package/dist/src/components/Context/Context.js +18 -0
- package/dist/src/components/ControlLabel/ControlLabel.d.ts +12 -0
- package/dist/src/components/ControlLabel/ControlLabel.js +26 -0
- package/dist/src/components/DataTable/DataTable.d.ts +107 -0
- package/dist/src/components/DataTable/DataTable.js +54 -0
- package/dist/src/components/Dialog/Dialog.d.ts +19 -0
- package/dist/src/components/Dialog/Dialog.js +18 -0
- package/dist/src/components/Divider/Divider.d.ts +27 -0
- package/dist/src/components/Divider/Divider.js +47 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +28 -0
- package/dist/src/components/Dropdown/Dropdown.js +87 -0
- package/dist/src/components/DropdownMenu/DropdownMenu.d.ts +103 -0
- package/dist/src/components/DropdownMenu/DropdownMenu.js +131 -0
- package/dist/src/components/Element/Element.d.ts +10 -0
- package/dist/src/components/Element/Element.js +18 -0
- package/dist/src/components/EmptyState/EmptyState.d.ts +62 -0
- package/dist/src/components/EmptyState/EmptyState.js +74 -0
- package/dist/src/components/Flexbox/Flexbox.d.ts +20 -0
- package/dist/src/components/Flexbox/Flexbox.js +19 -0
- package/dist/src/components/Flexbox/FlexboxItem.d.ts +17 -0
- package/dist/src/components/Flexbox/FlexboxItem.js +16 -0
- package/dist/src/components/Grid/Grid.d.ts +32 -0
- package/dist/src/components/Grid/Grid.js +31 -0
- package/dist/src/components/Grid/GridItem.d.ts +21 -0
- package/dist/src/components/Grid/GridItem.js +20 -0
- package/dist/src/components/Icon/Icon.d.ts +9 -0
- package/dist/src/components/Icon/Icon.js +26 -0
- package/dist/src/components/Input/Input.d.ts +28 -0
- package/dist/src/components/Input/Input.js +79 -0
- package/dist/src/components/List/List.d.ts +19 -0
- package/dist/src/components/List/List.js +6 -0
- package/dist/src/components/ListItem/ListItem.d.ts +7 -0
- package/dist/src/components/ListItem/ListItem.js +10 -0
- package/dist/src/components/Modal/Modal.d.ts +31 -0
- package/dist/src/components/Modal/Modal.js +57 -0
- package/dist/src/components/MultiInput/InputChip.d.ts +8 -0
- package/dist/src/components/MultiInput/InputChip.js +37 -0
- package/dist/src/components/MultiInput/MultiInput.d.ts +35 -0
- package/dist/src/components/MultiInput/MultiInput.js +150 -0
- package/dist/src/components/MultiSelect/MultiSelect.d.ts +21 -0
- package/dist/src/components/MultiSelect/MultiSelect.js +134 -0
- package/dist/src/components/NativeSelect/NativeSelect.d.ts +19 -0
- package/dist/src/components/NativeSelect/NativeSelect.js +56 -0
- package/dist/src/components/PageHeader/PageHeader.d.ts +34 -0
- package/dist/src/components/PageHeader/PageHeader.js +40 -0
- package/dist/src/components/Pagination/Pagination.d.ts +37 -0
- package/dist/src/components/Pagination/Pagination.js +63 -0
- package/dist/src/components/Popover/Popover.d.ts +34 -0
- package/dist/src/components/Popover/Popover.js +79 -0
- package/dist/src/components/Popover/PopoverContext.d.ts +7 -0
- package/dist/src/components/Popover/PopoverContext.js +10 -0
- package/dist/src/components/Popover/PopoverWrapper.d.ts +15 -0
- package/dist/src/components/Popover/PopoverWrapper.js +36 -0
- package/dist/src/components/PopoverDialog/PopoverDialog.d.ts +12 -0
- package/dist/src/components/PopoverDialog/PopoverDialog.js +28 -0
- package/dist/src/components/Portal/Portal.d.ts +7 -0
- package/dist/src/components/Portal/Portal.js +3 -0
- package/dist/src/components/Positioner/Positioner.d.ts +21 -0
- package/dist/src/components/Positioner/Positioner.js +97 -0
- package/dist/src/components/ProgressBar/ProgressBar.d.ts +45 -0
- package/dist/src/components/ProgressBar/ProgressBar.js +21 -0
- package/dist/src/components/RadioButton/RadioButton.d.ts +10 -0
- package/dist/src/components/RadioButton/RadioButton.js +33 -0
- package/dist/src/components/RadioButtonGroup/RadioButtonGroup.d.ts +55 -0
- package/dist/src/components/RadioButtonGroup/RadioButtonGroup.js +64 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +23 -0
- package/dist/src/components/SegmentedControl/SegmentedControl.js +51 -0
- package/dist/src/components/Select/Select.d.ts +55 -0
- package/dist/src/components/Select/Select.js +143 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +25 -0
- package/dist/src/components/Skeleton/Skeleton.js +15 -0
- package/dist/src/components/Switch/Switch.d.ts +12 -0
- package/dist/src/components/Switch/Switch.js +51 -0
- package/dist/src/components/SwitchGroup/SwitchGroup.d.ts +45 -0
- package/dist/src/components/SwitchGroup/SwitchGroup.js +58 -0
- package/dist/src/components/Table/Table.d.ts +14 -0
- package/dist/src/components/Table/Table.js +31 -0
- package/dist/src/components/Tabs/Tabs.d.ts +91 -0
- package/dist/src/components/Tabs/Tabs.js +184 -0
- package/dist/src/components/TagLabel/TagLabel.d.ts +16 -0
- package/dist/src/components/TagLabel/TagLabel.js +21 -0
- package/dist/src/components/Tailwindify/Tailwindify.d.ts +38 -0
- package/dist/src/components/Tailwindify/Tailwindify.js +71 -0
- package/dist/src/components/Textarea/Textarea.d.ts +15 -0
- package/dist/src/components/Textarea/Textarea.js +44 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +44 -0
- package/dist/src/components/Tooltip/Tooltip.js +110 -0
- package/dist/src/components/Tooltip/useTooltipTriggerState.d.ts +19 -0
- package/dist/src/components/Tooltip/useTooltipTriggerState.js +142 -0
- package/dist/src/components/Typography/Typography.d.ts +11 -0
- package/dist/src/components/Typography/Typography.js +49 -0
- package/dist/src/components/index.d.ts +65 -0
- package/dist/src/components/index.js +62 -0
- package/dist/src/icons/add.d.ts +9 -0
- package/dist/src/icons/add.js +11 -0
- package/dist/src/icons/addColumnLeft.d.ts +9 -0
- package/dist/src/icons/addColumnLeft.js +11 -0
- package/dist/src/icons/addColumnRight.d.ts +9 -0
- package/dist/src/icons/addColumnRight.js +11 -0
- package/dist/src/icons/addRowBottom.d.ts +9 -0
- package/dist/src/icons/addRowBottom.js +11 -0
- package/dist/src/icons/addRowTop.d.ts +9 -0
- package/dist/src/icons/addRowTop.js +11 -0
- package/dist/src/icons/addToArtifact.d.ts +9 -0
- package/dist/src/icons/addToArtifact.js +11 -0
- package/dist/src/icons/addToFolder.d.ts +9 -0
- package/dist/src/icons/addToFolder.js +11 -0
- package/dist/src/icons/airplane.d.ts +9 -0
- package/dist/src/icons/airplane.js +11 -0
- package/dist/src/icons/alignCenter.d.ts +9 -0
- package/dist/src/icons/alignCenter.js +11 -0
- package/dist/src/icons/alignJustify.d.ts +9 -0
- package/dist/src/icons/alignJustify.js +11 -0
- package/dist/src/icons/alignLeft.d.ts +9 -0
- package/dist/src/icons/alignLeft.js +11 -0
- package/dist/src/icons/alignRight.d.ts +9 -0
- package/dist/src/icons/alignRight.js +11 -0
- package/dist/src/icons/alignmentBottom.d.ts +9 -0
- package/dist/src/icons/alignmentBottom.js +11 -0
- package/dist/src/icons/alignmentHorizontalCenter.d.ts +9 -0
- package/dist/src/icons/alignmentHorizontalCenter.js +11 -0
- package/dist/src/icons/alignmentLeft.d.ts +9 -0
- package/dist/src/icons/alignmentLeft.js +11 -0
- package/dist/src/icons/alignmentRight.d.ts +9 -0
- package/dist/src/icons/alignmentRight.js +11 -0
- package/dist/src/icons/alignmentTop.d.ts +9 -0
- package/dist/src/icons/alignmentTop.js +11 -0
- package/dist/src/icons/alignmentVerticalCenter.d.ts +9 -0
- package/dist/src/icons/alignmentVerticalCenter.js +11 -0
- package/dist/src/icons/annotation.d.ts +9 -0
- package/dist/src/icons/annotation.js +11 -0
- package/dist/src/icons/application.d.ts +9 -0
- package/dist/src/icons/application.js +11 -0
- package/dist/src/icons/applications.d.ts +9 -0
- package/dist/src/icons/applications.js +11 -0
- package/dist/src/icons/archive.d.ts +9 -0
- package/dist/src/icons/archive.js +11 -0
- package/dist/src/icons/arrowBottomLeft.d.ts +9 -0
- package/dist/src/icons/arrowBottomLeft.js +11 -0
- package/dist/src/icons/arrowBottomRight.d.ts +9 -0
- package/dist/src/icons/arrowBottomRight.js +11 -0
- package/dist/src/icons/arrowDown.d.ts +9 -0
- package/dist/src/icons/arrowDown.js +11 -0
- package/dist/src/icons/arrowLeft.d.ts +9 -0
- package/dist/src/icons/arrowLeft.js +11 -0
- package/dist/src/icons/arrowRight.d.ts +9 -0
- package/dist/src/icons/arrowRight.js +11 -0
- package/dist/src/icons/arrowTopLeft.d.ts +9 -0
- package/dist/src/icons/arrowTopLeft.js +11 -0
- package/dist/src/icons/arrowTopRight.d.ts +9 -0
- package/dist/src/icons/arrowTopRight.js +11 -0
- package/dist/src/icons/arrowUp.d.ts +9 -0
- package/dist/src/icons/arrowUp.js +11 -0
- package/dist/src/icons/arrowsHorizontal.d.ts +9 -0
- package/dist/src/icons/arrowsHorizontal.js +11 -0
- package/dist/src/icons/arrowsVertical.d.ts +9 -0
- package/dist/src/icons/arrowsVertical.js +11 -0
- package/dist/src/icons/asterisk.d.ts +9 -0
- package/dist/src/icons/asterisk.js +11 -0
- package/dist/src/icons/automaticUpdates.d.ts +9 -0
- package/dist/src/icons/automaticUpdates.js +11 -0
- package/dist/src/icons/badge.d.ts +9 -0
- package/dist/src/icons/badge.js +11 -0
- package/dist/src/icons/banCircle.d.ts +9 -0
- package/dist/src/icons/banCircle.js +11 -0
- package/dist/src/icons/bankAccount.d.ts +9 -0
- package/dist/src/icons/bankAccount.js +11 -0
- package/dist/src/icons/barcode.d.ts +9 -0
- package/dist/src/icons/barcode.js +11 -0
- package/dist/src/icons/blockedPerson.d.ts +9 -0
- package/dist/src/icons/blockedPerson.js +11 -0
- package/dist/src/icons/bold.d.ts +9 -0
- package/dist/src/icons/bold.js +11 -0
- package/dist/src/icons/book.d.ts +9 -0
- package/dist/src/icons/book.js +11 -0
- package/dist/src/icons/bookmark.d.ts +9 -0
- package/dist/src/icons/bookmark.js +11 -0
- package/dist/src/icons/box.d.ts +9 -0
- package/dist/src/icons/box.js +11 -0
- package/dist/src/icons/briefcase.d.ts +9 -0
- package/dist/src/icons/briefcase.js +11 -0
- package/dist/src/icons/bringData.d.ts +9 -0
- package/dist/src/icons/bringData.js +11 -0
- package/dist/src/icons/build.d.ts +9 -0
- package/dist/src/icons/build.js +11 -0
- package/dist/src/icons/calculator.d.ts +9 -0
- package/dist/src/icons/calculator.js +11 -0
- package/dist/src/icons/calendar.d.ts +9 -0
- package/dist/src/icons/calendar.js +11 -0
- package/dist/src/icons/camera.d.ts +9 -0
- package/dist/src/icons/camera.js +11 -0
- package/dist/src/icons/caretDown.d.ts +9 -0
- package/dist/src/icons/caretDown.js +11 -0
- package/dist/src/icons/caretLeft.d.ts +9 -0
- package/dist/src/icons/caretLeft.js +11 -0
- package/dist/src/icons/caretRight.d.ts +9 -0
- package/dist/src/icons/caretRight.js +11 -0
- package/dist/src/icons/caretUp.d.ts +9 -0
- package/dist/src/icons/caretUp.js +11 -0
- package/dist/src/icons/cellTower.d.ts +9 -0
- package/dist/src/icons/cellTower.js +11 -0
- package/dist/src/icons/changes.d.ts +9 -0
- package/dist/src/icons/changes.js +11 -0
- package/dist/src/icons/chart.d.ts +9 -0
- package/dist/src/icons/chart.js +11 -0
- package/dist/src/icons/chat.d.ts +9 -0
- package/dist/src/icons/chat.js +11 -0
- package/dist/src/icons/chevronBackward.d.ts +9 -0
- package/dist/src/icons/chevronBackward.js +11 -0
- package/dist/src/icons/chevronDown.d.ts +9 -0
- package/dist/src/icons/chevronDown.js +11 -0
- package/dist/src/icons/chevronForward.d.ts +9 -0
- package/dist/src/icons/chevronForward.js +11 -0
- package/dist/src/icons/chevronLeft.d.ts +9 -0
- package/dist/src/icons/chevronLeft.js +11 -0
- package/dist/src/icons/chevronRight.d.ts +9 -0
- package/dist/src/icons/chevronRight.js +11 -0
- package/dist/src/icons/chevronUp.d.ts +9 -0
- package/dist/src/icons/chevronUp.js +11 -0
- package/dist/src/icons/circle.d.ts +9 -0
- package/dist/src/icons/circle.js +11 -0
- package/dist/src/icons/circleArrowDown.d.ts +9 -0
- package/dist/src/icons/circleArrowDown.js +11 -0
- package/dist/src/icons/circleArrowLeft.d.ts +9 -0
- package/dist/src/icons/circleArrowLeft.js +11 -0
- package/dist/src/icons/circleArrowRight.d.ts +9 -0
- package/dist/src/icons/circleArrowRight.js +11 -0
- package/dist/src/icons/circleArrowUp.d.ts +9 -0
- package/dist/src/icons/circleArrowUp.js +11 -0
- package/dist/src/icons/citation.d.ts +9 -0
- package/dist/src/icons/citation.js +11 -0
- package/dist/src/icons/clean.d.ts +9 -0
- package/dist/src/icons/clean.js +11 -0
- package/dist/src/icons/clipboard.d.ts +9 -0
- package/dist/src/icons/clipboard.js +11 -0
- package/dist/src/icons/cloud.d.ts +9 -0
- package/dist/src/icons/cloud.js +11 -0
- package/dist/src/icons/cloudDownload.d.ts +9 -0
- package/dist/src/icons/cloudDownload.js +11 -0
- package/dist/src/icons/cloudUpload.d.ts +9 -0
- package/dist/src/icons/cloudUpload.js +11 -0
- package/dist/src/icons/code.d.ts +9 -0
- package/dist/src/icons/code.js +11 -0
- package/dist/src/icons/codeBlock.d.ts +9 -0
- package/dist/src/icons/codeBlock.js +11 -0
- package/dist/src/icons/cog.d.ts +9 -0
- package/dist/src/icons/cog.js +11 -0
- package/dist/src/icons/collapseAll.d.ts +9 -0
- package/dist/src/icons/collapseAll.js +11 -0
- package/dist/src/icons/columnLayout.d.ts +9 -0
- package/dist/src/icons/columnLayout.js +11 -0
- package/dist/src/icons/comment.d.ts +9 -0
- package/dist/src/icons/comment.js +11 -0
- package/dist/src/icons/comparison.d.ts +9 -0
- package/dist/src/icons/comparison.js +11 -0
- package/dist/src/icons/compass.d.ts +9 -0
- package/dist/src/icons/compass.js +11 -0
- package/dist/src/icons/compressed.d.ts +9 -0
- package/dist/src/icons/compressed.js +11 -0
- package/dist/src/icons/confirm.d.ts +9 -0
- package/dist/src/icons/confirm.js +11 -0
- package/dist/src/icons/console.d.ts +9 -0
- package/dist/src/icons/console.js +11 -0
- package/dist/src/icons/contrast.d.ts +9 -0
- package/dist/src/icons/contrast.js +11 -0
- package/dist/src/icons/control.d.ts +9 -0
- package/dist/src/icons/control.js +11 -0
- package/dist/src/icons/creditCard.d.ts +9 -0
- package/dist/src/icons/creditCard.js +11 -0
- package/dist/src/icons/cross.d.ts +9 -0
- package/dist/src/icons/cross.js +11 -0
- package/dist/src/icons/crown.d.ts +9 -0
- package/dist/src/icons/crown.js +11 -0
- package/dist/src/icons/cube.d.ts +9 -0
- package/dist/src/icons/cube.js +11 -0
- package/dist/src/icons/cubeAdd.d.ts +9 -0
- package/dist/src/icons/cubeAdd.js +11 -0
- package/dist/src/icons/cubeRemove.d.ts +9 -0
- package/dist/src/icons/cubeRemove.js +11 -0
- package/dist/src/icons/curvedRangeChart.d.ts +9 -0
- package/dist/src/icons/curvedRangeChart.js +11 -0
- package/dist/src/icons/cut.d.ts +9 -0
- package/dist/src/icons/cut.js +11 -0
- package/dist/src/icons/dashboard.d.ts +9 -0
- package/dist/src/icons/dashboard.js +11 -0
- package/dist/src/icons/dataLineage.d.ts +9 -0
- package/dist/src/icons/dataLineage.js +11 -0
- package/dist/src/icons/database.d.ts +9 -0
- package/dist/src/icons/database.js +11 -0
- package/dist/src/icons/delete.d.ts +9 -0
- package/dist/src/icons/delete.js +11 -0
- package/dist/src/icons/delta.d.ts +9 -0
- package/dist/src/icons/delta.js +11 -0
- package/dist/src/icons/deriveColumn.d.ts +9 -0
- package/dist/src/icons/deriveColumn.js +11 -0
- package/dist/src/icons/desktop.d.ts +9 -0
- package/dist/src/icons/desktop.js +11 -0
- package/dist/src/icons/diagnosis.d.ts +9 -0
- package/dist/src/icons/diagnosis.js +11 -0
- package/dist/src/icons/diagramTree.d.ts +9 -0
- package/dist/src/icons/diagramTree.js +11 -0
- package/dist/src/icons/directionLeft.d.ts +9 -0
- package/dist/src/icons/directionLeft.js +11 -0
- package/dist/src/icons/directionRight.d.ts +9 -0
- package/dist/src/icons/directionRight.js +11 -0
- package/dist/src/icons/disable.d.ts +9 -0
- package/dist/src/icons/disable.js +11 -0
- package/dist/src/icons/document.d.ts +9 -0
- package/dist/src/icons/document.js +11 -0
- package/dist/src/icons/documentOpen.d.ts +9 -0
- package/dist/src/icons/documentOpen.js +11 -0
- package/dist/src/icons/documentShare.d.ts +9 -0
- package/dist/src/icons/documentShare.js +11 -0
- package/dist/src/icons/dollar.d.ts +9 -0
- package/dist/src/icons/dollar.js +11 -0
- package/dist/src/icons/dot.d.ts +9 -0
- package/dist/src/icons/dot.js +11 -0
- package/dist/src/icons/doubleCaretHorizontal.d.ts +9 -0
- package/dist/src/icons/doubleCaretHorizontal.js +11 -0
- package/dist/src/icons/doubleCaretVertical.d.ts +9 -0
- package/dist/src/icons/doubleCaretVertical.js +11 -0
- package/dist/src/icons/doubleChevronDown.d.ts +9 -0
- package/dist/src/icons/doubleChevronDown.js +11 -0
- package/dist/src/icons/doubleChevronLeft.d.ts +9 -0
- package/dist/src/icons/doubleChevronLeft.js +11 -0
- package/dist/src/icons/doubleChevronRight.d.ts +9 -0
- package/dist/src/icons/doubleChevronRight.js +11 -0
- package/dist/src/icons/doubleChevronUp.d.ts +9 -0
- package/dist/src/icons/doubleChevronUp.js +11 -0
- package/dist/src/icons/doughnutChart.d.ts +9 -0
- package/dist/src/icons/doughnutChart.js +11 -0
- package/dist/src/icons/download.d.ts +9 -0
- package/dist/src/icons/download.js +11 -0
- package/dist/src/icons/dragHandleHorizontal.d.ts +9 -0
- package/dist/src/icons/dragHandleHorizontal.js +11 -0
- package/dist/src/icons/dragHandleVertical.d.ts +9 -0
- package/dist/src/icons/dragHandleVertical.js +11 -0
- package/dist/src/icons/draw.d.ts +9 -0
- package/dist/src/icons/draw.js +11 -0
- package/dist/src/icons/driveTime.d.ts +9 -0
- package/dist/src/icons/driveTime.js +11 -0
- package/dist/src/icons/duplicate.d.ts +9 -0
- package/dist/src/icons/duplicate.js +11 -0
- package/dist/src/icons/edit.d.ts +9 -0
- package/dist/src/icons/edit.js +11 -0
- package/dist/src/icons/eject.d.ts +9 -0
- package/dist/src/icons/eject.js +11 -0
- package/dist/src/icons/endorsed.d.ts +9 -0
- package/dist/src/icons/endorsed.js +11 -0
- package/dist/src/icons/envelope.d.ts +9 -0
- package/dist/src/icons/envelope.js +11 -0
- package/dist/src/icons/equals.d.ts +9 -0
- package/dist/src/icons/equals.js +11 -0
- package/dist/src/icons/eraser.d.ts +9 -0
- package/dist/src/icons/eraser.js +11 -0
- package/dist/src/icons/error.d.ts +9 -0
- package/dist/src/icons/error.js +11 -0
- package/dist/src/icons/euro.d.ts +9 -0
- package/dist/src/icons/euro.js +11 -0
- package/dist/src/icons/exchange.d.ts +9 -0
- package/dist/src/icons/exchange.js +11 -0
- package/dist/src/icons/excludeRow.d.ts +9 -0
- package/dist/src/icons/excludeRow.js +11 -0
- package/dist/src/icons/expandAll.d.ts +9 -0
- package/dist/src/icons/expandAll.js +11 -0
- package/dist/src/icons/export.d.ts +9 -0
- package/dist/src/icons/export.js +11 -0
- package/dist/src/icons/eyeOff.d.ts +9 -0
- package/dist/src/icons/eyeOff.js +11 -0
- package/dist/src/icons/eyeOn.d.ts +9 -0
- package/dist/src/icons/eyeOn.js +11 -0
- package/dist/src/icons/eyeOpen.d.ts +9 -0
- package/dist/src/icons/eyeOpen.js +11 -0
- package/dist/src/icons/fastBackward.d.ts +9 -0
- package/dist/src/icons/fastBackward.js +11 -0
- package/dist/src/icons/fastForward.d.ts +9 -0
- package/dist/src/icons/fastForward.js +11 -0
- package/dist/src/icons/feed.d.ts +9 -0
- package/dist/src/icons/feed.js +11 -0
- package/dist/src/icons/feedSubscribed.d.ts +9 -0
- package/dist/src/icons/feedSubscribed.js +11 -0
- package/dist/src/icons/film.d.ts +9 -0
- package/dist/src/icons/film.js +11 -0
- package/dist/src/icons/filter.d.ts +9 -0
- package/dist/src/icons/filter.js +11 -0
- package/dist/src/icons/filterKeep.d.ts +9 -0
- package/dist/src/icons/filterKeep.js +11 -0
- package/dist/src/icons/filterList.d.ts +9 -0
- package/dist/src/icons/filterList.js +11 -0
- package/dist/src/icons/filterOpen.d.ts +9 -0
- package/dist/src/icons/filterOpen.js +11 -0
- package/dist/src/icons/filterRemove.d.ts +9 -0
- package/dist/src/icons/filterRemove.js +11 -0
- package/dist/src/icons/flag.d.ts +9 -0
- package/dist/src/icons/flag.js +11 -0
- package/dist/src/icons/flame.d.ts +9 -0
- package/dist/src/icons/flame.js +11 -0
- package/dist/src/icons/flash.d.ts +9 -0
- package/dist/src/icons/flash.js +11 -0
- package/dist/src/icons/floppyDisk.d.ts +9 -0
- package/dist/src/icons/floppyDisk.js +11 -0
- package/dist/src/icons/flowBranch.d.ts +9 -0
- package/dist/src/icons/flowBranch.js +11 -0
- package/dist/src/icons/flowEnd.d.ts +9 -0
- package/dist/src/icons/flowEnd.js +11 -0
- package/dist/src/icons/flowLinear.d.ts +9 -0
- package/dist/src/icons/flowLinear.js +11 -0
- package/dist/src/icons/flowReview.d.ts +9 -0
- package/dist/src/icons/flowReview.js +11 -0
- package/dist/src/icons/flowReviewBranch.d.ts +9 -0
- package/dist/src/icons/flowReviewBranch.js +11 -0
- package/dist/src/icons/flows.d.ts +9 -0
- package/dist/src/icons/flows.js +11 -0
- package/dist/src/icons/folderClose.d.ts +9 -0
- package/dist/src/icons/folderClose.js +11 -0
- package/dist/src/icons/folderNew.d.ts +9 -0
- package/dist/src/icons/folderNew.js +11 -0
- package/dist/src/icons/folderOpen.d.ts +9 -0
- package/dist/src/icons/folderOpen.js +11 -0
- package/dist/src/icons/folderShared.d.ts +9 -0
- package/dist/src/icons/folderShared.js +11 -0
- package/dist/src/icons/folderSharedOpen.d.ts +9 -0
- package/dist/src/icons/folderSharedOpen.js +11 -0
- package/dist/src/icons/follower.d.ts +9 -0
- package/dist/src/icons/follower.js +11 -0
- package/dist/src/icons/following.d.ts +9 -0
- package/dist/src/icons/following.js +11 -0
- package/dist/src/icons/font.d.ts +9 -0
- package/dist/src/icons/font.js +11 -0
- package/dist/src/icons/fork.d.ts +9 -0
- package/dist/src/icons/fork.js +11 -0
- package/dist/src/icons/form.d.ts +9 -0
- package/dist/src/icons/form.js +11 -0
- package/dist/src/icons/fullCircle.d.ts +9 -0
- package/dist/src/icons/fullCircle.js +11 -0
- package/dist/src/icons/fullStackedChart.d.ts +9 -0
- package/dist/src/icons/fullStackedChart.js +11 -0
- package/dist/src/icons/fullscreen.d.ts +9 -0
- package/dist/src/icons/fullscreen.js +11 -0
- package/dist/src/icons/function.d.ts +9 -0
- package/dist/src/icons/function.js +11 -0
- package/dist/src/icons/ganttChart.d.ts +9 -0
- package/dist/src/icons/ganttChart.js +11 -0
- package/dist/src/icons/geolocation.d.ts +9 -0
- package/dist/src/icons/geolocation.js +11 -0
- package/dist/src/icons/geosearch.d.ts +9 -0
- package/dist/src/icons/geosearch.js +11 -0
- package/dist/src/icons/gitBranch.d.ts +9 -0
- package/dist/src/icons/gitBranch.js +11 -0
- package/dist/src/icons/gitCommit.d.ts +9 -0
- package/dist/src/icons/gitCommit.js +11 -0
- package/dist/src/icons/gitMerge.d.ts +9 -0
- package/dist/src/icons/gitMerge.js +11 -0
- package/dist/src/icons/gitNewBranch.d.ts +9 -0
- package/dist/src/icons/gitNewBranch.js +11 -0
- package/dist/src/icons/gitPull.d.ts +9 -0
- package/dist/src/icons/gitPull.js +11 -0
- package/dist/src/icons/gitPush.d.ts +9 -0
- package/dist/src/icons/gitPush.js +11 -0
- package/dist/src/icons/gitRepo.d.ts +9 -0
- package/dist/src/icons/gitRepo.js +11 -0
- package/dist/src/icons/glass.d.ts +9 -0
- package/dist/src/icons/glass.js +11 -0
- package/dist/src/icons/globe.d.ts +9 -0
- package/dist/src/icons/globe.js +11 -0
- package/dist/src/icons/globeNetwork.d.ts +9 -0
- package/dist/src/icons/globeNetwork.js +11 -0
- package/dist/src/icons/graph.d.ts +9 -0
- package/dist/src/icons/graph.js +11 -0
- package/dist/src/icons/graphRemove.d.ts +9 -0
- package/dist/src/icons/graphRemove.js +11 -0
- package/dist/src/icons/greaterThan.d.ts +9 -0
- package/dist/src/icons/greaterThan.js +11 -0
- package/dist/src/icons/greaterThanOrEqualTo.d.ts +9 -0
- package/dist/src/icons/greaterThanOrEqualTo.js +11 -0
- package/dist/src/icons/grid.d.ts +9 -0
- package/dist/src/icons/grid.js +11 -0
- package/dist/src/icons/gridView.d.ts +9 -0
- package/dist/src/icons/gridView.js +11 -0
- package/dist/src/icons/groupObjects.d.ts +9 -0
- package/dist/src/icons/groupObjects.js +11 -0
- package/dist/src/icons/groupedBarChart.d.ts +9 -0
- package/dist/src/icons/groupedBarChart.js +11 -0
- package/dist/src/icons/hand.d.ts +9 -0
- package/dist/src/icons/hand.js +11 -0
- package/dist/src/icons/handDown.d.ts +9 -0
- package/dist/src/icons/handDown.js +11 -0
- package/dist/src/icons/handLeft.d.ts +9 -0
- package/dist/src/icons/handLeft.js +11 -0
- package/dist/src/icons/handRight.d.ts +9 -0
- package/dist/src/icons/handRight.js +11 -0
- package/dist/src/icons/handUp.d.ts +9 -0
- package/dist/src/icons/handUp.js +11 -0
- package/dist/src/icons/header.d.ts +9 -0
- package/dist/src/icons/header.js +11 -0
- package/dist/src/icons/headerOne.d.ts +9 -0
- package/dist/src/icons/headerOne.js +11 -0
- package/dist/src/icons/headerTwo.d.ts +9 -0
- package/dist/src/icons/headerTwo.js +11 -0
- package/dist/src/icons/headset.d.ts +9 -0
- package/dist/src/icons/headset.js +11 -0
- package/dist/src/icons/heart.d.ts +9 -0
- package/dist/src/icons/heart.js +11 -0
- package/dist/src/icons/heartBroken.d.ts +9 -0
- package/dist/src/icons/heartBroken.js +11 -0
- package/dist/src/icons/heatGrid.d.ts +9 -0
- package/dist/src/icons/heatGrid.js +11 -0
- package/dist/src/icons/heatmap.d.ts +9 -0
- package/dist/src/icons/heatmap.js +11 -0
- package/dist/src/icons/help.d.ts +9 -0
- package/dist/src/icons/help.js +11 -0
- package/dist/src/icons/helperManagement.d.ts +9 -0
- package/dist/src/icons/helperManagement.js +11 -0
- package/dist/src/icons/highlight.d.ts +9 -0
- package/dist/src/icons/highlight.js +11 -0
- package/dist/src/icons/history.d.ts +9 -0
- package/dist/src/icons/history.js +11 -0
- package/dist/src/icons/home.d.ts +9 -0
- package/dist/src/icons/home.js +11 -0
- package/dist/src/icons/horizontalBarChart.d.ts +9 -0
- package/dist/src/icons/horizontalBarChart.js +11 -0
- package/dist/src/icons/horizontalBarChartAsc.d.ts +9 -0
- package/dist/src/icons/horizontalBarChartAsc.js +11 -0
- package/dist/src/icons/horizontalBarChartDesc.d.ts +9 -0
- package/dist/src/icons/horizontalBarChartDesc.js +11 -0
- package/dist/src/icons/horizontalDistribution.d.ts +9 -0
- package/dist/src/icons/horizontalDistribution.js +11 -0
- package/dist/src/icons/idNumber.d.ts +9 -0
- package/dist/src/icons/idNumber.js +11 -0
- package/dist/src/icons/imageRotateLeft.d.ts +9 -0
- package/dist/src/icons/imageRotateLeft.js +11 -0
- package/dist/src/icons/imageRotateRight.d.ts +9 -0
- package/dist/src/icons/imageRotateRight.js +11 -0
- package/dist/src/icons/import.d.ts +9 -0
- package/dist/src/icons/import.js +11 -0
- package/dist/src/icons/inbox.d.ts +9 -0
- package/dist/src/icons/inbox.js +11 -0
- package/dist/src/icons/inboxFiltered.d.ts +9 -0
- package/dist/src/icons/inboxFiltered.js +11 -0
- package/dist/src/icons/inboxGeo.d.ts +9 -0
- package/dist/src/icons/inboxGeo.js +11 -0
- package/dist/src/icons/inboxSearch.d.ts +9 -0
- package/dist/src/icons/inboxSearch.js +11 -0
- package/dist/src/icons/inboxUpdate.d.ts +9 -0
- package/dist/src/icons/inboxUpdate.js +11 -0
- package/dist/src/icons/index.d.ts +490 -0
- package/dist/src/icons/index.js +490 -0
- package/dist/src/icons/infoSign.d.ts +9 -0
- package/dist/src/icons/infoSign.js +11 -0
- package/dist/src/icons/inheritance.d.ts +9 -0
- package/dist/src/icons/inheritance.js +11 -0
- package/dist/src/icons/innerJoin.d.ts +9 -0
- package/dist/src/icons/innerJoin.js +11 -0
- package/dist/src/icons/insert.d.ts +9 -0
- package/dist/src/icons/insert.js +11 -0
- package/dist/src/icons/intersection.d.ts +9 -0
- package/dist/src/icons/intersection.js +11 -0
- package/dist/src/icons/ipAddress.d.ts +9 -0
- package/dist/src/icons/ipAddress.js +11 -0
- package/dist/src/icons/issue.d.ts +9 -0
- package/dist/src/icons/issue.js +11 -0
- package/dist/src/icons/issueClosed.d.ts +9 -0
- package/dist/src/icons/issueClosed.js +11 -0
- package/dist/src/icons/issueNew.d.ts +9 -0
- package/dist/src/icons/issueNew.js +11 -0
- package/dist/src/icons/italic.d.ts +9 -0
- package/dist/src/icons/italic.js +11 -0
- package/dist/src/icons/joinTable.d.ts +9 -0
- package/dist/src/icons/joinTable.js +11 -0
- package/dist/src/icons/key.d.ts +9 -0
- package/dist/src/icons/key.js +11 -0
- package/dist/src/icons/keyBackspace.d.ts +9 -0
- package/dist/src/icons/keyBackspace.js +11 -0
- package/dist/src/icons/keyCommand.d.ts +9 -0
- package/dist/src/icons/keyCommand.js +11 -0
- package/dist/src/icons/keyControl.d.ts +9 -0
- package/dist/src/icons/keyControl.js +11 -0
- package/dist/src/icons/keyDelete.d.ts +9 -0
- package/dist/src/icons/keyDelete.js +11 -0
- package/dist/src/icons/keyEnter.d.ts +9 -0
- package/dist/src/icons/keyEnter.js +11 -0
- package/dist/src/icons/keyEscape.d.ts +9 -0
- package/dist/src/icons/keyEscape.js +11 -0
- package/dist/src/icons/keyOption.d.ts +9 -0
- package/dist/src/icons/keyOption.js +11 -0
- package/dist/src/icons/keyShift.d.ts +9 -0
- package/dist/src/icons/keyShift.js +11 -0
- package/dist/src/icons/keyTab.d.ts +9 -0
- package/dist/src/icons/keyTab.js +11 -0
- package/dist/src/icons/knownVehicle.d.ts +9 -0
- package/dist/src/icons/knownVehicle.js +11 -0
- package/dist/src/icons/labTest.d.ts +9 -0
- package/dist/src/icons/labTest.js +11 -0
- package/dist/src/icons/label.d.ts +9 -0
- package/dist/src/icons/label.js +11 -0
- package/dist/src/icons/layer.d.ts +9 -0
- package/dist/src/icons/layer.js +11 -0
- package/dist/src/icons/layers.d.ts +9 -0
- package/dist/src/icons/layers.js +11 -0
- package/dist/src/icons/layout.d.ts +9 -0
- package/dist/src/icons/layout.js +11 -0
- package/dist/src/icons/layoutAuto.d.ts +9 -0
- package/dist/src/icons/layoutAuto.js +11 -0
- package/dist/src/icons/layoutBalloon.d.ts +9 -0
- package/dist/src/icons/layoutBalloon.js +11 -0
- package/dist/src/icons/layoutCircle.d.ts +9 -0
- package/dist/src/icons/layoutCircle.js +11 -0
- package/dist/src/icons/layoutGrid.d.ts +9 -0
- package/dist/src/icons/layoutGrid.js +11 -0
- package/dist/src/icons/layoutGroupBy.d.ts +9 -0
- package/dist/src/icons/layoutGroupBy.js +11 -0
- package/dist/src/icons/layoutHierarchy.d.ts +9 -0
- package/dist/src/icons/layoutHierarchy.js +11 -0
- package/dist/src/icons/layoutLinear.d.ts +9 -0
- package/dist/src/icons/layoutLinear.js +11 -0
- package/dist/src/icons/layoutSkewGrid.d.ts +9 -0
- package/dist/src/icons/layoutSkewGrid.js +11 -0
- package/dist/src/icons/layoutSortedClusters.d.ts +9 -0
- package/dist/src/icons/layoutSortedClusters.js +11 -0
- package/dist/src/icons/learning.d.ts +9 -0
- package/dist/src/icons/learning.js +11 -0
- package/dist/src/icons/leftJoin.d.ts +9 -0
- package/dist/src/icons/leftJoin.js +11 -0
- package/dist/src/icons/lessThan.d.ts +9 -0
- package/dist/src/icons/lessThan.js +11 -0
- package/dist/src/icons/lessThanOrEqualTo.d.ts +9 -0
- package/dist/src/icons/lessThanOrEqualTo.js +11 -0
- package/dist/src/icons/lifesaver.d.ts +9 -0
- package/dist/src/icons/lifesaver.js +11 -0
- package/dist/src/icons/lightbulb.d.ts +9 -0
- package/dist/src/icons/lightbulb.js +11 -0
- package/dist/src/icons/link.d.ts +9 -0
- package/dist/src/icons/link.js +11 -0
- package/dist/src/icons/list.d.ts +9 -0
- package/dist/src/icons/list.js +11 -0
- package/dist/src/icons/listColumns.d.ts +9 -0
- package/dist/src/icons/listColumns.js +11 -0
- package/dist/src/icons/listDetailView.d.ts +9 -0
- package/dist/src/icons/listDetailView.js +11 -0
- package/dist/src/icons/loading.d.ts +9 -0
- package/dist/src/icons/loading.js +11 -0
- package/dist/src/icons/locate.d.ts +9 -0
- package/dist/src/icons/locate.js +11 -0
- package/dist/src/icons/lock.d.ts +9 -0
- package/dist/src/icons/lock.js +11 -0
- package/dist/src/icons/logIn.d.ts +9 -0
- package/dist/src/icons/logIn.js +11 -0
- package/dist/src/icons/logOut.d.ts +9 -0
- package/dist/src/icons/logOut.js +11 -0
- package/dist/src/icons/manual.d.ts +9 -0
- package/dist/src/icons/manual.js +11 -0
- package/dist/src/icons/manuallyEnteredData.d.ts +9 -0
- package/dist/src/icons/manuallyEnteredData.js +11 -0
- package/dist/src/icons/map.d.ts +9 -0
- package/dist/src/icons/map.js +11 -0
- package/dist/src/icons/mapCreate.d.ts +9 -0
- package/dist/src/icons/mapCreate.js +11 -0
- package/dist/src/icons/mapMarker.d.ts +9 -0
- package/dist/src/icons/mapMarker.js +11 -0
- package/dist/src/icons/maximize.d.ts +9 -0
- package/dist/src/icons/maximize.js +11 -0
- package/dist/src/icons/media.d.ts +9 -0
- package/dist/src/icons/media.js +11 -0
- package/dist/src/icons/menu.d.ts +9 -0
- package/dist/src/icons/menu.js +11 -0
- package/dist/src/icons/menuClosed.d.ts +9 -0
- package/dist/src/icons/menuClosed.js +11 -0
- package/dist/src/icons/menuOpen.d.ts +9 -0
- package/dist/src/icons/menuOpen.js +11 -0
- package/dist/src/icons/mergeColumns.d.ts +9 -0
- package/dist/src/icons/mergeColumns.js +11 -0
- package/dist/src/icons/mergeLinks.d.ts +9 -0
- package/dist/src/icons/mergeLinks.js +11 -0
- package/dist/src/icons/minimize.d.ts +9 -0
- package/dist/src/icons/minimize.js +11 -0
- package/dist/src/icons/minus.d.ts +9 -0
- package/dist/src/icons/minus.js +11 -0
- package/dist/src/icons/mobilePhone.d.ts +9 -0
- package/dist/src/icons/mobilePhone.js +11 -0
- package/dist/src/icons/mobileVideo.d.ts +9 -0
- package/dist/src/icons/mobileVideo.js +11 -0
- package/dist/src/icons/moon.d.ts +9 -0
- package/dist/src/icons/moon.js +11 -0
- package/dist/src/icons/more.d.ts +9 -0
- package/dist/src/icons/more.js +11 -0
- package/dist/src/icons/mountain.d.ts +9 -0
- package/dist/src/icons/mountain.js +11 -0
- package/dist/src/icons/move.d.ts +9 -0
- package/dist/src/icons/move.js +11 -0
- package/dist/src/icons/moveProject.d.ts +9 -0
- package/dist/src/icons/moveProject.js +11 -0
- package/dist/src/icons/mugshot.d.ts +9 -0
- package/dist/src/icons/mugshot.js +11 -0
- package/dist/src/icons/multiSelect.d.ts +9 -0
- package/dist/src/icons/multiSelect.js +11 -0
- package/dist/src/icons/music.d.ts +9 -0
- package/dist/src/icons/music.js +11 -0
- package/dist/src/icons/newDrawing.d.ts +9 -0
- package/dist/src/icons/newDrawing.js +11 -0
- package/dist/src/icons/newGridItem.d.ts +9 -0
- package/dist/src/icons/newGridItem.js +11 -0
- package/dist/src/icons/newLayer.d.ts +9 -0
- package/dist/src/icons/newLayer.js +11 -0
- package/dist/src/icons/newLayers.d.ts +9 -0
- package/dist/src/icons/newLayers.js +11 -0
- package/dist/src/icons/newLink.d.ts +9 -0
- package/dist/src/icons/newLink.js +11 -0
- package/dist/src/icons/newObject.d.ts +9 -0
- package/dist/src/icons/newObject.js +11 -0
- package/dist/src/icons/newPerson.d.ts +9 -0
- package/dist/src/icons/newPerson.js +11 -0
- package/dist/src/icons/newPrescription.d.ts +9 -0
- package/dist/src/icons/newPrescription.js +11 -0
- package/dist/src/icons/newTextBox.d.ts +9 -0
- package/dist/src/icons/newTextBox.js +11 -0
- package/dist/src/icons/ninja.d.ts +9 -0
- package/dist/src/icons/ninja.js +11 -0
- package/dist/src/icons/notEqualTo.d.ts +9 -0
- package/dist/src/icons/notEqualTo.js +11 -0
- package/dist/src/icons/notifications.d.ts +9 -0
- package/dist/src/icons/notifications.js +11 -0
- package/dist/src/icons/notificationsUpdated.d.ts +9 -0
- package/dist/src/icons/notificationsUpdated.js +11 -0
- package/dist/src/icons/numberedList.d.ts +9 -0
- package/dist/src/icons/numberedList.js +11 -0
- package/dist/src/icons/numerical.d.ts +9 -0
- package/dist/src/icons/numerical.js +11 -0
- package/dist/src/icons/office.d.ts +9 -0
- package/dist/src/icons/office.js +11 -0
- package/dist/src/icons/offline.d.ts +9 -0
- package/dist/src/icons/offline.js +11 -0
- package/dist/src/icons/oilField.d.ts +9 -0
- package/dist/src/icons/oilField.js +11 -0
- package/dist/src/icons/oneColumn.d.ts +9 -0
- package/dist/src/icons/oneColumn.js +11 -0
- package/dist/src/icons/outdated.d.ts +9 -0
- package/dist/src/icons/outdated.js +11 -0
- package/dist/src/icons/pageLayout.d.ts +9 -0
- package/dist/src/icons/pageLayout.js +11 -0
- package/dist/src/icons/panelStats.d.ts +9 -0
- package/dist/src/icons/panelStats.js +11 -0
- package/dist/src/icons/panelTable.d.ts +9 -0
- package/dist/src/icons/panelTable.js +11 -0
- package/dist/src/icons/paperclip.d.ts +9 -0
- package/dist/src/icons/paperclip.js +11 -0
- package/dist/src/icons/paragraph.d.ts +9 -0
- package/dist/src/icons/paragraph.js +11 -0
- package/dist/src/icons/path.d.ts +9 -0
- package/dist/src/icons/path.js +11 -0
- package/dist/src/icons/pathSearch.d.ts +9 -0
- package/dist/src/icons/pathSearch.js +11 -0
- package/dist/src/icons/pause.d.ts +9 -0
- package/dist/src/icons/pause.js +11 -0
- package/dist/src/icons/people.d.ts +9 -0
- package/dist/src/icons/people.js +11 -0
- package/dist/src/icons/percentage.d.ts +9 -0
- package/dist/src/icons/percentage.js +11 -0
- package/dist/src/icons/person.d.ts +9 -0
- package/dist/src/icons/person.js +11 -0
- package/dist/src/icons/phone.d.ts +9 -0
- package/dist/src/icons/phone.js +11 -0
- package/dist/src/icons/pieChart.d.ts +9 -0
- package/dist/src/icons/pieChart.js +11 -0
- package/dist/src/icons/pin.d.ts +9 -0
- package/dist/src/icons/pin.js +11 -0
- package/dist/src/icons/pivot.d.ts +9 -0
- package/dist/src/icons/pivot.js +11 -0
- package/dist/src/icons/pivotTable.d.ts +9 -0
- package/dist/src/icons/pivotTable.js +11 -0
- package/dist/src/icons/play.d.ts +9 -0
- package/dist/src/icons/play.js +11 -0
- package/dist/src/icons/plus.d.ts +9 -0
- package/dist/src/icons/plus.js +11 -0
- package/dist/src/icons/polygonFilter.d.ts +9 -0
- package/dist/src/icons/polygonFilter.js +11 -0
- package/dist/src/icons/power.d.ts +9 -0
- package/dist/src/icons/power.js +11 -0
- package/dist/src/icons/predictiveAnalysis.d.ts +9 -0
- package/dist/src/icons/predictiveAnalysis.js +11 -0
- package/dist/src/icons/prescription.d.ts +9 -0
- package/dist/src/icons/prescription.js +11 -0
- package/dist/src/icons/presentation.d.ts +9 -0
- package/dist/src/icons/presentation.js +11 -0
- package/dist/src/icons/print.d.ts +9 -0
- package/dist/src/icons/print.js +11 -0
- package/dist/src/icons/projects.d.ts +9 -0
- package/dist/src/icons/projects.js +11 -0
- package/dist/src/icons/properties.d.ts +9 -0
- package/dist/src/icons/properties.js +11 -0
- package/dist/src/icons/property.d.ts +9 -0
- package/dist/src/icons/property.js +11 -0
- package/dist/src/icons/publishFunction.d.ts +9 -0
- package/dist/src/icons/publishFunction.js +11 -0
- package/dist/src/icons/pulse.d.ts +9 -0
- package/dist/src/icons/pulse.js +11 -0
- package/dist/src/icons/questionMark.d.ts +9 -0
- package/dist/src/icons/questionMark.js +11 -0
- package/dist/src/icons/random.d.ts +9 -0
- package/dist/src/icons/random.js +11 -0
- package/dist/src/icons/record.d.ts +9 -0
- package/dist/src/icons/record.js +11 -0
- package/dist/src/icons/redo.d.ts +9 -0
- package/dist/src/icons/redo.js +11 -0
- package/dist/src/icons/refresh.d.ts +9 -0
- package/dist/src/icons/refresh.js +11 -0
- package/dist/src/icons/regressionChart.d.ts +9 -0
- package/dist/src/icons/regressionChart.js +11 -0
- package/dist/src/icons/remove.d.ts +9 -0
- package/dist/src/icons/remove.js +11 -0
- package/dist/src/icons/removeColumn.d.ts +9 -0
- package/dist/src/icons/removeColumn.js +11 -0
- package/dist/src/icons/removeColumnLeft.d.ts +9 -0
- package/dist/src/icons/removeColumnLeft.js +11 -0
- package/dist/src/icons/removeColumnRight.d.ts +9 -0
- package/dist/src/icons/removeColumnRight.js +11 -0
- package/dist/src/icons/removeRowBottom.d.ts +9 -0
- package/dist/src/icons/removeRowBottom.js +11 -0
- package/dist/src/icons/removeRowTop.d.ts +9 -0
- package/dist/src/icons/removeRowTop.js +11 -0
- package/dist/src/icons/repeat.d.ts +9 -0
- package/dist/src/icons/repeat.js +11 -0
- package/dist/src/icons/reset.d.ts +9 -0
- package/dist/src/icons/reset.js +11 -0
- package/dist/src/icons/resolve.d.ts +9 -0
- package/dist/src/icons/resolve.js +11 -0
- package/dist/src/icons/rig.d.ts +9 -0
- package/dist/src/icons/rig.js +11 -0
- package/dist/src/icons/rightJoin.d.ts +9 -0
- package/dist/src/icons/rightJoin.js +11 -0
- package/dist/src/icons/ring.d.ts +9 -0
- package/dist/src/icons/ring.js +11 -0
- package/dist/src/icons/rotateDocument.d.ts +9 -0
- package/dist/src/icons/rotateDocument.js +11 -0
- package/dist/src/icons/rotatePage.d.ts +9 -0
- package/dist/src/icons/rotatePage.js +11 -0
- package/dist/src/icons/satellite.d.ts +9 -0
- package/dist/src/icons/satellite.js +11 -0
- package/dist/src/icons/saved.d.ts +9 -0
- package/dist/src/icons/saved.js +11 -0
- package/dist/src/icons/scatterPlot.d.ts +9 -0
- package/dist/src/icons/scatterPlot.js +11 -0
- package/dist/src/icons/search.d.ts +9 -0
- package/dist/src/icons/search.js +11 -0
- package/dist/src/icons/searchAround.d.ts +9 -0
- package/dist/src/icons/searchAround.js +11 -0
- package/dist/src/icons/searchTemplate.d.ts +9 -0
- package/dist/src/icons/searchTemplate.js +11 -0
- package/dist/src/icons/searchText.d.ts +9 -0
- package/dist/src/icons/searchText.js +11 -0
- package/dist/src/icons/segmentedControl.d.ts +9 -0
- package/dist/src/icons/segmentedControl.js +11 -0
- package/dist/src/icons/select.d.ts +9 -0
- package/dist/src/icons/select.js +11 -0
- package/dist/src/icons/selection.d.ts +9 -0
- package/dist/src/icons/selection.js +11 -0
- package/dist/src/icons/sendTo.d.ts +9 -0
- package/dist/src/icons/sendTo.js +11 -0
- package/dist/src/icons/sendToGraph.d.ts +9 -0
- package/dist/src/icons/sendToGraph.js +11 -0
- package/dist/src/icons/sendToMap.d.ts +9 -0
- package/dist/src/icons/sendToMap.js +11 -0
- package/dist/src/icons/seriesAdd.d.ts +9 -0
- package/dist/src/icons/seriesAdd.js +11 -0
- package/dist/src/icons/seriesConfiguration.d.ts +9 -0
- package/dist/src/icons/seriesConfiguration.js +11 -0
- package/dist/src/icons/seriesDerived.d.ts +9 -0
- package/dist/src/icons/seriesDerived.js +11 -0
- package/dist/src/icons/seriesFiltered.d.ts +9 -0
- package/dist/src/icons/seriesFiltered.js +11 -0
- package/dist/src/icons/seriesSearch.d.ts +9 -0
- package/dist/src/icons/seriesSearch.js +11 -0
- package/dist/src/icons/settings.d.ts +9 -0
- package/dist/src/icons/settings.js +11 -0
- package/dist/src/icons/share.d.ts +9 -0
- package/dist/src/icons/share.js +11 -0
- package/dist/src/icons/shield.d.ts +9 -0
- package/dist/src/icons/shield.js +11 -0
- package/dist/src/icons/shop.d.ts +9 -0
- package/dist/src/icons/shop.js +11 -0
- package/dist/src/icons/shoppingCart.d.ts +9 -0
- package/dist/src/icons/shoppingCart.js +11 -0
- package/dist/src/icons/signalSearch.d.ts +9 -0
- package/dist/src/icons/signalSearch.js +11 -0
- package/dist/src/icons/simCard.d.ts +9 -0
- package/dist/src/icons/simCard.js +11 -0
- package/dist/src/icons/slash.d.ts +9 -0
- package/dist/src/icons/slash.js +11 -0
- package/dist/src/icons/smallCross.d.ts +9 -0
- package/dist/src/icons/smallCross.js +11 -0
- package/dist/src/icons/smallMinus.d.ts +9 -0
- package/dist/src/icons/smallMinus.js +11 -0
- package/dist/src/icons/smallPlus.d.ts +9 -0
- package/dist/src/icons/smallPlus.js +11 -0
- package/dist/src/icons/smallTick.d.ts +9 -0
- package/dist/src/icons/smallTick.js +11 -0
- package/dist/src/icons/snowflake.d.ts +9 -0
- package/dist/src/icons/snowflake.js +11 -0
- package/dist/src/icons/socialMedia.d.ts +9 -0
- package/dist/src/icons/socialMedia.js +11 -0
- package/dist/src/icons/sort.d.ts +9 -0
- package/dist/src/icons/sort.js +11 -0
- package/dist/src/icons/sortAlphabetical.d.ts +9 -0
- package/dist/src/icons/sortAlphabetical.js +11 -0
- package/dist/src/icons/sortAlphabeticalDesc.d.ts +9 -0
- package/dist/src/icons/sortAlphabeticalDesc.js +11 -0
- package/dist/src/icons/sortAsc.d.ts +9 -0
- package/dist/src/icons/sortAsc.js +11 -0
- package/dist/src/icons/sortDesc.d.ts +9 -0
- package/dist/src/icons/sortDesc.js +11 -0
- package/dist/src/icons/sortNumerical.d.ts +9 -0
- package/dist/src/icons/sortNumerical.js +11 -0
- package/dist/src/icons/sortNumericalDesc.d.ts +9 -0
- package/dist/src/icons/sortNumericalDesc.js +11 -0
- package/dist/src/icons/splitColumns.d.ts +9 -0
- package/dist/src/icons/splitColumns.js +11 -0
- package/dist/src/icons/square.d.ts +9 -0
- package/dist/src/icons/square.js +11 -0
- package/dist/src/icons/stackedChart.d.ts +9 -0
- package/dist/src/icons/stackedChart.js +11 -0
- package/dist/src/icons/star.d.ts +9 -0
- package/dist/src/icons/star.js +11 -0
- package/dist/src/icons/starEmpty.d.ts +9 -0
- package/dist/src/icons/starEmpty.js +11 -0
- package/dist/src/icons/stepBackward.d.ts +9 -0
- package/dist/src/icons/stepBackward.js +11 -0
- package/dist/src/icons/stepChart.d.ts +9 -0
- package/dist/src/icons/stepChart.js +11 -0
- package/dist/src/icons/stepForward.d.ts +9 -0
- package/dist/src/icons/stepForward.js +11 -0
- package/dist/src/icons/stop.d.ts +9 -0
- package/dist/src/icons/stop.js +11 -0
- package/dist/src/icons/stopwatch.d.ts +9 -0
- package/dist/src/icons/stopwatch.js +11 -0
- package/dist/src/icons/strikethrough.d.ts +9 -0
- package/dist/src/icons/strikethrough.js +11 -0
- package/dist/src/icons/style.d.ts +9 -0
- package/dist/src/icons/style.js +11 -0
- package/dist/src/icons/swapHorizontal.d.ts +9 -0
- package/dist/src/icons/swapHorizontal.js +11 -0
- package/dist/src/icons/swapVertical.d.ts +9 -0
- package/dist/src/icons/swapVertical.js +11 -0
- package/dist/src/icons/symbolCircle.d.ts +9 -0
- package/dist/src/icons/symbolCircle.js +11 -0
- package/dist/src/icons/symbolCross.d.ts +9 -0
- package/dist/src/icons/symbolCross.js +11 -0
- package/dist/src/icons/symbolDiamond.d.ts +9 -0
- package/dist/src/icons/symbolDiamond.js +11 -0
- package/dist/src/icons/symbolSquare.d.ts +9 -0
- package/dist/src/icons/symbolSquare.js +11 -0
- package/dist/src/icons/symbolTriangleDown.d.ts +9 -0
- package/dist/src/icons/symbolTriangleDown.js +11 -0
- package/dist/src/icons/symbolTriangleUp.d.ts +9 -0
- package/dist/src/icons/symbolTriangleUp.js +11 -0
- package/dist/src/icons/tag.d.ts +9 -0
- package/dist/src/icons/tag.js +11 -0
- package/dist/src/icons/takeAction.d.ts +9 -0
- package/dist/src/icons/takeAction.js +11 -0
- package/dist/src/icons/taxi.d.ts +9 -0
- package/dist/src/icons/taxi.js +11 -0
- package/dist/src/icons/terraform.d.ts +9 -0
- package/dist/src/icons/terraform.js +11 -0
- package/dist/src/icons/textHighlight.d.ts +9 -0
- package/dist/src/icons/textHighlight.js +11 -0
- package/dist/src/icons/th.d.ts +9 -0
- package/dist/src/icons/th.js +11 -0
- package/dist/src/icons/thDerived.d.ts +9 -0
- package/dist/src/icons/thDerived.js +11 -0
- package/dist/src/icons/thDisconnect.d.ts +9 -0
- package/dist/src/icons/thDisconnect.js +11 -0
- package/dist/src/icons/thFiltered.d.ts +9 -0
- package/dist/src/icons/thFiltered.js +11 -0
- package/dist/src/icons/thList.d.ts +9 -0
- package/dist/src/icons/thList.js +11 -0
- package/dist/src/icons/thumbsDown.d.ts +9 -0
- package/dist/src/icons/thumbsDown.js +11 -0
- package/dist/src/icons/thumbsUp.d.ts +9 -0
- package/dist/src/icons/thumbsUp.js +11 -0
- package/dist/src/icons/tick.d.ts +9 -0
- package/dist/src/icons/tick.js +11 -0
- package/dist/src/icons/tickCircle.d.ts +9 -0
- package/dist/src/icons/tickCircle.js +11 -0
- package/dist/src/icons/time.d.ts +9 -0
- package/dist/src/icons/time.js +11 -0
- package/dist/src/icons/timelineAreaChart.d.ts +9 -0
- package/dist/src/icons/timelineAreaChart.js +11 -0
- package/dist/src/icons/timelineBarChart.d.ts +9 -0
- package/dist/src/icons/timelineBarChart.js +11 -0
- package/dist/src/icons/timelineEvents.d.ts +9 -0
- package/dist/src/icons/timelineEvents.js +11 -0
- package/dist/src/icons/timelineLineChart.d.ts +9 -0
- package/dist/src/icons/timelineLineChart.js +11 -0
- package/dist/src/icons/tint.d.ts +9 -0
- package/dist/src/icons/tint.js +11 -0
- package/dist/src/icons/torch.d.ts +9 -0
- package/dist/src/icons/torch.js +11 -0
- package/dist/src/icons/tractor.d.ts +9 -0
- package/dist/src/icons/tractor.js +11 -0
- package/dist/src/icons/train.d.ts +9 -0
- package/dist/src/icons/train.js +11 -0
- package/dist/src/icons/translate.d.ts +9 -0
- package/dist/src/icons/translate.js +11 -0
- package/dist/src/icons/trash.d.ts +9 -0
- package/dist/src/icons/trash.js +11 -0
- package/dist/src/icons/tree.d.ts +9 -0
- package/dist/src/icons/tree.js +11 -0
- package/dist/src/icons/trendingDown.d.ts +9 -0
- package/dist/src/icons/trendingDown.js +11 -0
- package/dist/src/icons/trendingUp.d.ts +9 -0
- package/dist/src/icons/trendingUp.js +11 -0
- package/dist/src/icons/truck.d.ts +9 -0
- package/dist/src/icons/truck.js +11 -0
- package/dist/src/icons/twoColumns.d.ts +9 -0
- package/dist/src/icons/twoColumns.js +11 -0
- package/dist/src/icons/unarchive.d.ts +9 -0
- package/dist/src/icons/unarchive.js +11 -0
- package/dist/src/icons/underline.d.ts +9 -0
- package/dist/src/icons/underline.js +11 -0
- package/dist/src/icons/undo.d.ts +9 -0
- package/dist/src/icons/undo.js +11 -0
- package/dist/src/icons/ungroupObjects.d.ts +9 -0
- package/dist/src/icons/ungroupObjects.js +11 -0
- package/dist/src/icons/unknownVehicle.d.ts +9 -0
- package/dist/src/icons/unknownVehicle.js +11 -0
- package/dist/src/icons/unlock.d.ts +9 -0
- package/dist/src/icons/unlock.js +11 -0
- package/dist/src/icons/unpin.d.ts +9 -0
- package/dist/src/icons/unpin.js +11 -0
- package/dist/src/icons/unresolve.d.ts +9 -0
- package/dist/src/icons/unresolve.js +11 -0
- package/dist/src/icons/updated.d.ts +9 -0
- package/dist/src/icons/updated.js +11 -0
- package/dist/src/icons/upload.d.ts +9 -0
- package/dist/src/icons/upload.js +11 -0
- package/dist/src/icons/user.d.ts +9 -0
- package/dist/src/icons/user.js +11 -0
- package/dist/src/icons/variable.d.ts +9 -0
- package/dist/src/icons/variable.js +11 -0
- package/dist/src/icons/verticalBarChartAsc.d.ts +9 -0
- package/dist/src/icons/verticalBarChartAsc.js +11 -0
- package/dist/src/icons/verticalBarChartDesc.d.ts +9 -0
- package/dist/src/icons/verticalBarChartDesc.js +11 -0
- package/dist/src/icons/verticalDistribution.d.ts +9 -0
- package/dist/src/icons/verticalDistribution.js +11 -0
- package/dist/src/icons/video.d.ts +9 -0
- package/dist/src/icons/video.js +11 -0
- package/dist/src/icons/volumeDown.d.ts +9 -0
- package/dist/src/icons/volumeDown.js +11 -0
- package/dist/src/icons/volumeOff.d.ts +9 -0
- package/dist/src/icons/volumeOff.js +11 -0
- package/dist/src/icons/volumeUp.d.ts +9 -0
- package/dist/src/icons/volumeUp.js +11 -0
- package/dist/src/icons/walk.d.ts +9 -0
- package/dist/src/icons/walk.js +11 -0
- package/dist/src/icons/warningSign.d.ts +9 -0
- package/dist/src/icons/warningSign.js +11 -0
- package/dist/src/icons/waterfallChart.d.ts +9 -0
- package/dist/src/icons/waterfallChart.js +11 -0
- package/dist/src/icons/widget.d.ts +9 -0
- package/dist/src/icons/widget.js +11 -0
- package/dist/src/icons/widgetButton.d.ts +9 -0
- package/dist/src/icons/widgetButton.js +11 -0
- package/dist/src/icons/widgetFooter.d.ts +9 -0
- package/dist/src/icons/widgetFooter.js +11 -0
- package/dist/src/icons/widgetHeader.d.ts +9 -0
- package/dist/src/icons/widgetHeader.js +11 -0
- package/dist/src/icons/wrench.d.ts +9 -0
- package/dist/src/icons/wrench.js +11 -0
- package/dist/src/icons/zoomIn.d.ts +9 -0
- package/dist/src/icons/zoomIn.js +11 -0
- package/dist/src/icons/zoomOut.d.ts +9 -0
- package/dist/src/icons/zoomOut.js +11 -0
- package/dist/src/icons/zoomToFit.d.ts +9 -0
- package/dist/src/icons/zoomToFit.js +11 -0
- package/dist/src/js/resolveTheme.d.ts +6 -0
- package/dist/src/js/resolveTheme.js +22 -0
- package/dist/src/system.d.ts +15 -0
- package/dist/src/system.js +19 -0
- package/dist/src/utils/breakpoints.d.ts +11 -0
- package/dist/src/utils/breakpoints.js +45 -0
- package/dist/src/utils/constants.d.ts +4 -0
- package/dist/src/utils/constants.js +8 -0
- package/dist/src/utils/createComponent.d.ts +3 -0
- package/dist/src/utils/createComponent.js +29 -0
- package/dist/src/utils/form/CharCounter/CharCounter.d.ts +8 -0
- package/dist/src/utils/form/CharCounter/CharCounter.js +6 -0
- package/dist/src/utils/form/FormControl/FormControl.d.ts +7 -0
- package/dist/src/utils/form/FormControl/FormControl.js +6 -0
- package/dist/src/utils/form/HelperText/HelperText.d.ts +39 -0
- package/dist/src/utils/form/HelperText/HelperText.js +20 -0
- package/dist/src/utils/form/InputAdornment/InputAdornment.d.ts +14 -0
- package/dist/src/utils/form/InputAdornment/InputAdornment.js +21 -0
- package/dist/src/utils/form/Label/Label.d.ts +80 -0
- package/dist/src/utils/form/Label/Label.js +89 -0
- package/dist/src/utils/object.d.ts +4 -0
- package/dist/src/utils/object.js +19 -0
- package/dist/src/utils/positioner.d.ts +28 -0
- package/dist/src/utils/positioner.js +111 -0
- package/dist/src/utils/setupTests.d.ts +1 -0
- package/dist/src/utils/setupTests.js +2 -0
- package/dist/src/utils/string.d.ts +1 -0
- package/dist/src/utils/string.js +2 -0
- package/dist/src/utils/tailwind.d.ts +4 -0
- package/dist/src/utils/tailwind.js +18 -0
- package/dist/src/utils/useStyle.d.ts +11 -0
- package/dist/src/utils/useStyle.js +70 -0
- package/dist/src/utils/useWindowSize.d.ts +5 -0
- package/dist/src/utils/useWindowSize.js +27 -0
- package/dist/styles.css +2136 -0
- package/dist/styles_timescaledb.css +2136 -0
- package/dist/system.cjs +7685 -0
- package/dist/system.mjs +7561 -0
- package/dist/tailwind.config.js +150 -0
- package/dist/tailwind.theme.json +520 -0
- package/dist/tokens.json +866 -0
- package/dist/tsconfig.module.tsbuildinfo +1 -0
- package/dist/types/ActionType.d.ts +20 -0
- package/dist/types/ActionType.js +2 -0
- package/dist/types/IconProps.d.ts +4 -0
- package/dist/types/IconProps.js +2 -0
- package/dist/types/designTokens.d.ts +57 -0
- package/dist/types/designTokens.js +5 -0
- package/dist/types/tailwind.d.ts +42 -0
- package/dist/types/tailwind.js +2 -0
- package/dist/types/tailwindGenerated.d.ts +1 -0
- package/dist/types/tailwindGenerated.js +3 -0
- package/dist/types/utils.d.ts +5 -0
- package/dist/types/utils.js +3 -0
- package/package.json +183 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
export * from './Alert/Alert';
|
2
|
+
export * from './Checkbox/Checkbox';
|
3
|
+
export * from './Chip/Chip';
|
4
|
+
export * from './Dialog/Dialog';
|
5
|
+
export * from './DropdownMenu/DropdownMenu';
|
6
|
+
export * from './InputGroup/InputGroup';
|
7
|
+
export * from './Modal/Modal';
|
8
|
+
export * from './PopoverDialog/PopoverDialog';
|
9
|
+
export * from './Popover/Popover';
|
10
|
+
export * from './RadioButton/RadioButton';
|
11
|
+
export * from './Select/Select';
|
12
|
+
export * from './Table/Table';
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tbW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLDZCQUE2QixDQUFDO0FBQzVDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGVBQWUsQ0FBQyJ9
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { AlertType } from '../../../src/common/Alert/Alert';
|
3
|
+
import type { ActionType } from '../../../types/ActionType';
|
4
|
+
export declare type AlertProps = {
|
5
|
+
/** Optional title for alert. */
|
6
|
+
title?: string;
|
7
|
+
/** Alert description. */
|
8
|
+
description: string;
|
9
|
+
/** Alert type. */
|
10
|
+
type: AlertType;
|
11
|
+
/** Optional action for alert. */
|
12
|
+
action?: ActionType;
|
13
|
+
/** If `onDismiss()` callback is provided, alert will be rendered with close icon.
|
14
|
+
* Callback will be called, when user clicks the icon.
|
15
|
+
*/
|
16
|
+
onDismiss?: () => void;
|
17
|
+
};
|
18
|
+
export declare const Alert: React.FC<AlertProps>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Alert as AlertBase } from '../../../src/common/Alert/Alert';
|
3
|
+
import { GhostButton } from '../../../src/components';
|
4
|
+
import omit from 'lodash/omit';
|
5
|
+
export const Alert = ({ description, type, title, action, onDismiss }) => (React.createElement(AlertBase, { type: type, dense: Boolean(title) },
|
6
|
+
React.createElement(AlertBase.Icon, { type: type }),
|
7
|
+
title && React.createElement(AlertBase.Title, null, title),
|
8
|
+
React.createElement(AlertBase.Description, null, description),
|
9
|
+
action && (React.createElement(AlertBase.Actions, null,
|
10
|
+
React.createElement(GhostButton, Object.assign({ dense: true }, omit(action, 'text')), action.text))),
|
11
|
+
onDismiss && React.createElement(AlertBase.Dismiss, { onClick: onDismiss })));
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWxlcnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9BbGVydC9BbGVydC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxLQUFLLElBQUksU0FBUyxFQUFhLE1BQU0sd0JBQXdCLENBQUM7QUFFdkUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sSUFBSSxNQUFNLGFBQWEsQ0FBQztBQXNCL0IsTUFBTSxDQUFDLE1BQU0sS0FBSyxHQUF5QixDQUFDLEVBQUUsV0FBVyxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUM5RixvQkFBQyxTQUFTLElBQUMsSUFBSSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsT0FBTyxDQUFDLEtBQUssQ0FBQztJQUMxQyxvQkFBQyxTQUFTLENBQUMsSUFBSSxJQUFDLElBQUksRUFBRSxJQUFJLEdBQUk7SUFDN0IsS0FBSyxJQUFJLG9CQUFDLFNBQVMsQ0FBQyxLQUFLLFFBQUUsS0FBSyxDQUFtQjtJQUNwRCxvQkFBQyxTQUFTLENBQUMsV0FBVyxRQUFFLFdBQVcsQ0FBeUI7SUFDM0QsTUFBTSxJQUFJLENBQ1Qsb0JBQUMsU0FBUyxDQUFDLE9BQU87UUFDaEIsb0JBQUMsV0FBVyxrQkFBQyxLQUFLLFVBQUssSUFBSSxDQUFDLE1BQU0sRUFBRSxNQUFNLENBQUMsR0FDeEMsTUFBTSxDQUFDLElBQUksQ0FDQSxDQUNJLENBQ3JCO0lBQ0EsU0FBUyxJQUFJLG9CQUFDLFNBQVMsQ0FBQyxPQUFPLElBQUMsT0FBTyxFQUFFLFNBQVMsR0FBSSxDQUM3QyxDQUNiLENBQUMifQ==
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare type AvatarStackProps = {
|
3
|
+
/**
|
4
|
+
* Image src of avatars that will be displayed as stacked entity and set to 32px x 32px.
|
5
|
+
* If the value is "null", it will show as skeleton.
|
6
|
+
*/
|
7
|
+
images: Array<string | null>;
|
8
|
+
};
|
9
|
+
export declare const AvatarStack: React.FC<AvatarStackProps>;
|
10
|
+
export declare type AvatarProps = {
|
11
|
+
/**
|
12
|
+
* Image src of avatar that will be displayed as 32px x 32px.
|
13
|
+
*/
|
14
|
+
image: string;
|
15
|
+
};
|
16
|
+
export declare const Avatar: React.FC<AvatarProps> & {
|
17
|
+
Skeleton: typeof AvatarSkeleton;
|
18
|
+
};
|
19
|
+
declare const AvatarSkeleton: React.FC;
|
20
|
+
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Box } from '../../../src/components/Box/Box';
|
3
|
+
import { classNames, tw } from '../../../src/utils/tailwind';
|
4
|
+
import { Skeleton } from '../../../src/components/Skeleton/Skeleton';
|
5
|
+
export const AvatarStack = ({ images }) => (React.createElement(Box, { display: "flex", className: tw('[&>*:not(:first-child)]:-ml-3') }, images.map((image) => (image ? React.createElement(Avatar, { key: image, image: image }) : React.createElement(Avatar.Skeleton, { key: image })))));
|
6
|
+
export const Avatar = ({ image }) => (React.createElement("img", { src: image, className: classNames(tw('w-[32px] h-[32px]')) }));
|
7
|
+
const AvatarSkeleton = () => React.createElement(Skeleton, { height: 32, width: 32, className: tw('rounded-full') });
|
8
|
+
Avatar.Skeleton = AvatarSkeleton;
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXZhdGFyLm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DQUNwRSxDQUFDO0FBRUYsTUFBTSxjQUFjLEdBQWEsR0FBRyxFQUFFLENBQUMsb0JBQUMsUUFBUSxJQUFDLE1BQU0sRUFBRSxFQUFFLEVBQUUsS0FBSyxFQUFFLEVBQUUsRUFBRSxTQUFTLEVBQUUsRUFBRSxDQUFDLGNBQWMsQ0FBQyxHQUFJLENBQUM7QUFFMUcsTUFBTSxDQUFDLFFBQVEsR0FBRyxjQUFjLENBQUMifQ==
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
declare type BadgeType = 'outlined' | 'filled';
|
3
|
+
export interface BadgeProps {
|
4
|
+
/**
|
5
|
+
* Badge value.
|
6
|
+
*/
|
7
|
+
'value': string | number;
|
8
|
+
/**
|
9
|
+
* Badge kind. Can be either 'filled' or 'outlined'. Defaults to 'filled'.
|
10
|
+
*/
|
11
|
+
'kind'?: BadgeType;
|
12
|
+
/**
|
13
|
+
* `data-testid` prop that will be added for containing element.
|
14
|
+
*/
|
15
|
+
'data-testid'?: string;
|
16
|
+
/**
|
17
|
+
* Optional classname for text.
|
18
|
+
*/
|
19
|
+
'textClassname'?: string;
|
20
|
+
}
|
21
|
+
export declare type ChipBadgeProps = BadgeProps & {
|
22
|
+
/**
|
23
|
+
* If true, display dense version of the badge.
|
24
|
+
*/
|
25
|
+
dense?: boolean;
|
26
|
+
};
|
27
|
+
export declare const Badge: React.FC<BadgeProps> & {
|
28
|
+
Skeleton: React.FC;
|
29
|
+
};
|
30
|
+
export declare const TabBadge: React.FC<BadgeProps> & {
|
31
|
+
Skeleton: React.FC;
|
32
|
+
};
|
33
|
+
export declare const ChipBadge: React.FC<ChipBadgeProps> & {
|
34
|
+
Skeleton: React.FC;
|
35
|
+
};
|
36
|
+
export {};
|
@@ -0,0 +1,46 @@
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
2
|
+
var t = {};
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4
|
+
t[p] = s[p];
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8
|
+
t[p[i]] = s[p[i]];
|
9
|
+
}
|
10
|
+
return t;
|
11
|
+
};
|
12
|
+
import React from 'react';
|
13
|
+
import omit from 'lodash/omit';
|
14
|
+
import { tw, classNames } from '../../../src/utils/tailwind';
|
15
|
+
import { Skeleton } from '../Skeleton/Skeleton';
|
16
|
+
const isChipBadgeProps = (props) => 'dense' in props;
|
17
|
+
const createBadge = (type, displayName) => {
|
18
|
+
const Component = (props) => {
|
19
|
+
var _a;
|
20
|
+
const { kind = 'filled', value, textClassname } = props, rest = __rest(props, ["kind", "value", "textClassname"]);
|
21
|
+
const valueStr = value.toString();
|
22
|
+
const dense = isChipBadgeProps(props) ? (_a = props.dense) !== null && _a !== void 0 ? _a : false : false;
|
23
|
+
return (React.createElement("span", Object.assign({}, omit(rest, 'dense'), { className: tw('inline-block text-center', {
|
24
|
+
'rounded-full': type === 'default' || type === 'chip',
|
25
|
+
'rounded': type === 'tab',
|
26
|
+
'border border-current': kind === 'outlined',
|
27
|
+
'bg-current': kind === 'filled' && type !== 'chip',
|
28
|
+
'bg-white': type === 'chip',
|
29
|
+
'typography-caption-small leading-none py-1 px-2': !dense,
|
30
|
+
'text-[8px]': dense,
|
31
|
+
'px-1': dense && valueStr.length > 1,
|
32
|
+
'px-[4px]': dense && valueStr.length === 1,
|
33
|
+
}) }),
|
34
|
+
React.createElement("span", { className: classNames(textClassname, tw('inline-block', {
|
35
|
+
'text-white': !textClassname && kind === 'filled',
|
36
|
+
'm-[1px]': kind === 'filled',
|
37
|
+
})) }, valueStr)));
|
38
|
+
};
|
39
|
+
Component.displayName = displayName;
|
40
|
+
Component.Skeleton = () => (React.createElement(Skeleton, { height: 16, width: 16, display: "inline-block", className: tw(type === 'tab' ? 'rounded' : 'rounded-full') }));
|
41
|
+
return Component;
|
42
|
+
};
|
43
|
+
export const Badge = createBadge('default', 'Badge');
|
44
|
+
export const TabBadge = createBadge('tab', 'TabBadge');
|
45
|
+
export const ChipBadge = createBadge('chip', 'ChipBadge');
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmFkZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9CYWRnZS9CYWRnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFDMUIsT0FBTyxJQUFJLE1BQU0sYUFBYSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxFQUFFLEVBQUUsVUFBVSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDcEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBaUNoRCxNQUFNLGdCQUFnQixHQUFHLENBQUMsS0FBa0MsRUFBMkIsRUFBRSxDQUFDLE9BQU8sSUFBSSxLQUFLLENBQUM7QUFFM0csTUFBTSxXQUFXLEdBQUcsQ0FDbEIsSUFBZ0MsRUFDaEMsV0FBbUIsRUFDbkIsRUFBRTtJQUNGLE1BQU0sU0FBUyxHQUE4QyxDQUFDLEtBQUssRUFBRSxFQUFFOztRQUNyRSxNQUFNLEVBQUUsSUFBSSxHQUFHLFFBQVEsRUFBRSxLQUFLLEVBQUUsYUFBYSxLQUFjLEtBQUssRUFBZCxJQUFJLFVBQUssS0FBSyxFQUExRCxrQ0FBa0QsQ0FBUSxDQUFDO1FBQ2pFLE1BQU0sUUFBUSxHQUFHLEtBQUssQ0FBQyxRQUFRLEVBQUUsQ0FBQztRQUNsQyxNQUFNLEtBQUssR0FBRyxnQkFBZ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QyxTQUFTLENBQUMsUUFBUSxHQUFHLEdBQUcsRUFBRSxDQUFDLENBQ3pCLG9CQUFDLFFBQVEsSUFDUCxNQUFNLEVBQUUsRUFBRSxFQUNWLEtBQUssRUFBRSxFQUFFLEVBQ1QsT0FBTyxFQUFDLGNBQWMsRUFDdEIsU0FBUyxFQUFFLEVBQUUsQ0FBQyxJQUFJLEtBQUssS0FBSyxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLGNBQWMsQ0FBQyxHQUMxRCxDQUNILENBQUM7SUFDRixPQUFPLFNBQVMsQ0FBQztBQUNuQixDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxLQUFLLEdBQUcsV0FBVyxDQUFhLFNBQVMsRUFBRSxPQUFPLENBQUMsQ0FBQztBQUNqRSxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQUcsV0FBVyxDQUFhLEtBQUssRUFBRSxVQUFVLENBQUMsQ0FBQztBQUNuRSxNQUFNLENBQUMsTUFBTSxTQUFTLEdBQUcsV0FBVyxDQUFpQixNQUFNLEVBQUUsV0FBVyxDQUFDLENBQUMifQ==
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { ActionType } from '../../../types/ActionType';
|
3
|
+
import type { BannerLayoutType } from '../../../src/common/Banner/Banner';
|
4
|
+
declare type ImageBanner = {
|
5
|
+
/**
|
6
|
+
* Optional image src that will be displayed on the right side of banner.
|
7
|
+
* If the value is "null", it will show as skeleton.
|
8
|
+
*/
|
9
|
+
image?: string | null;
|
10
|
+
/**
|
11
|
+
* Optional `alt` attribute to image.
|
12
|
+
*/
|
13
|
+
imageAlt?: string;
|
14
|
+
};
|
15
|
+
declare type BannerWithImage = ImageBanner & {
|
16
|
+
layout?: 'vertical';
|
17
|
+
imageHeight?: HTMLImageElement['height'];
|
18
|
+
imageWidth?: HTMLImageElement['width'];
|
19
|
+
};
|
20
|
+
declare type BannerWithoutImage = {
|
21
|
+
layout: 'horizontal';
|
22
|
+
};
|
23
|
+
export declare type BannerProps = {
|
24
|
+
/** Title for banner. */
|
25
|
+
title: string;
|
26
|
+
/** Alert description. */
|
27
|
+
description: string;
|
28
|
+
/** Banner layout. */
|
29
|
+
layout?: BannerLayoutType;
|
30
|
+
/** Optional action for banner. */
|
31
|
+
action?: ActionType;
|
32
|
+
/** If `onDismiss()` callback is provided, alert will be rendered with close icon.
|
33
|
+
* Callback will be called, when user clicks the icon.
|
34
|
+
*/
|
35
|
+
onDismiss?: () => void;
|
36
|
+
} & (BannerWithImage | BannerWithoutImage);
|
37
|
+
/**
|
38
|
+
* ## A banner component to highlight some content
|
39
|
+
*
|
40
|
+
* There are 2 layouts available: vertical(default) and horizontal.
|
41
|
+
* Vertical layout is required an image.
|
42
|
+
* Horizontal layout doesn't support having an image at all.
|
43
|
+
*
|
44
|
+
* Note: a size of image prop will affect a size of a whole banner too.
|
45
|
+
*
|
46
|
+
* @param props BannerProps
|
47
|
+
* @returns React.ReactElement
|
48
|
+
*/
|
49
|
+
export declare const Banner: React.FC<BannerProps>;
|
50
|
+
export declare const OneLineBanner: React.FC<Omit<React.PropsWithChildren<BannerProps>, "layout" | keyof ImageBanner | "imageHeight" | "imageWidth">>;
|
51
|
+
export {};
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Banner as BannerBase } from '../../../src/common/Banner/Banner';
|
3
|
+
import { GhostButton, IconButton } from '../../../src/components/Button/Button';
|
4
|
+
import { Skeleton } from '../../../src/components/Skeleton/Skeleton';
|
5
|
+
import { tw } from '../../../src/utils/tailwind';
|
6
|
+
import omit from 'lodash/omit';
|
7
|
+
import cross from '../../../src/icons/cross';
|
8
|
+
const BannerImageSkeleton = () => React.createElement(Skeleton, { width: 225, className: tw('h-full') });
|
9
|
+
const createBanner = (displayName, opts = {}) => {
|
10
|
+
const BannerComponent = (props) => {
|
11
|
+
const { title, description, layout: layoutProp, action, onDismiss } = props;
|
12
|
+
const layout = opts.isOneLineBanner ? 'horizontal' : layoutProp || 'vertical';
|
13
|
+
const isDismissable = onDismiss !== undefined;
|
14
|
+
return (React.createElement(BannerBase, { layout: layout },
|
15
|
+
React.createElement(BannerBase.ContentContainer, { layout: layout },
|
16
|
+
React.createElement(BannerBase.Title, { layout: layout, titleVariant: opts.isOneLineBanner ? 'secondary' : 'primary' }, title),
|
17
|
+
React.createElement(BannerBase.Description, { flexGrow: isDismissable ? false : true }, description),
|
18
|
+
action && (React.createElement(BannerBase.Actions, { layout: layout },
|
19
|
+
React.createElement(GhostButton, Object.assign({ dense: true }, omit(action, 'text')), action.text)))),
|
20
|
+
(props.layout === 'vertical' || props.layout === undefined) && props.image !== undefined && (React.createElement(BannerBase.ImageContainer, null, props.image ? (React.createElement("img", { src: props.image, alt: props.imageAlt, className: tw('w-full bg-cover object-cover'), style: { width: props.imageWidth, height: props.imageHeight } })) : (React.createElement(BannerImageSkeleton, null)))),
|
21
|
+
isDismissable && (React.createElement(BannerBase.DismissContainer, { layout: layout },
|
22
|
+
React.createElement(IconButton, { type: "button", tooltip: "Dismiss", icon: cross, onClick: onDismiss })))));
|
23
|
+
};
|
24
|
+
BannerComponent.displayName = displayName;
|
25
|
+
return BannerComponent;
|
26
|
+
};
|
27
|
+
/**
|
28
|
+
* ## A banner component to highlight some content
|
29
|
+
*
|
30
|
+
* There are 2 layouts available: vertical(default) and horizontal.
|
31
|
+
* Vertical layout is required an image.
|
32
|
+
* Horizontal layout doesn't support having an image at all.
|
33
|
+
*
|
34
|
+
* Note: a size of image prop will affect a size of a whole banner too.
|
35
|
+
*
|
36
|
+
* @param props BannerProps
|
37
|
+
* @returns React.ReactElement
|
38
|
+
*/
|
39
|
+
export const Banner = createBanner('Banner');
|
40
|
+
const OneLineBannerBase = createBanner('OneLineBanner', {
|
41
|
+
isOneLineBanner: true,
|
42
|
+
});
|
43
|
+
// type test = React.ComponentProps<typeof OneLineBannerBase>;
|
44
|
+
export const OneLineBanner = OneLineBannerBase;
|
45
|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'../../../src/components/Element/Element';
|
3
|
+
import { TailwindifyProps } from '../../../src/components/Tailwindify/Tailwindify';
|
4
|
+
import twTheme from '../../../tailwind.theme.json';
|
5
|
+
declare type Props = {
|
6
|
+
style?: React.CSSProperties;
|
7
|
+
display?: React.CSSProperties['display'];
|
8
|
+
borderRadius?: React.CSSProperties['borderRadius'];
|
9
|
+
borderWidth?: React.CSSProperties['borderWidth'];
|
10
|
+
borderColor?: keyof typeof twTheme['backgroundColor'];
|
11
|
+
justifyContent?: React.CSSProperties['justifyContent'];
|
12
|
+
alignContent?: React.CSSProperties['alignContent'];
|
13
|
+
alignItems?: React.CSSProperties['alignItems'];
|
14
|
+
flexDirection?: React.CSSProperties['flexDirection'];
|
15
|
+
flexWrap?: React.CSSProperties['flexWrap'];
|
16
|
+
gap?: keyof typeof twTheme['gap'];
|
17
|
+
colGap?: keyof typeof twTheme['gap'];
|
18
|
+
rowGap?: keyof typeof twTheme['gap'];
|
19
|
+
};
|
20
|
+
export declare type BoxProps<C extends React.ElementType> = TailwindifyProps<Props> & ElementProps<C> & Props;
|
21
|
+
export declare const Box: <C extends React.ElementType<any>>({ style, color, borderColor, borderRadius, borderWidth, justifyContent, alignContent, alignItems, flexDirection, flexWrap, display, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, backgroundColor, width, height, maxWidth, maxHeight, minWidth, minHeight, gap, colGap, rowGap, ...rest }: BoxProps<C>) => JSX.Element;
|
22
|
+
export declare const BorderBox: React.ComponentType<{
|
23
|
+
className?: string | undefined;
|
24
|
+
style?: React.CSSProperties | undefined;
|
25
|
+
} & import("../../../types/tailwind").ObjectBreakpointable<{
|
26
|
+
padding?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
27
|
+
paddingX?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
28
|
+
paddingY?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
29
|
+
paddingTop?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
30
|
+
paddingRight?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
31
|
+
paddingBottom?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
32
|
+
paddingLeft?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
33
|
+
margin?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
34
|
+
marginX?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
35
|
+
marginY?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
36
|
+
marginTop?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
37
|
+
marginRight?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
38
|
+
marginBottom?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
39
|
+
marginLeft?: "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "-1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "-9" | "-l1" | "-l2" | "-l3" | "-l4" | "-l5" | "-l6" | "-l7" | undefined;
|
40
|
+
space?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
41
|
+
spaceX?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
42
|
+
spaceY?: "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | undefined;
|
43
|
+
backgroundColor?: "primary-0" | "primary-100" | "primary-5" | "primary-10" | "primary-20" | "primary-30" | "primary-40" | "primary-50" | "primary-60" | "primary-70" | "primary-80" | "primary-90" | "secondary-0" | "secondary-100" | "secondary-5" | "secondary-10" | "secondary-20" | "secondary-30" | "secondary-40" | "secondary-50" | "secondary-60" | "secondary-70" | "secondary-80" | "secondary-90" | "grey-0" | "grey-100" | "grey-5" | "grey-10" | "grey-20" | "grey-30" | "grey-40" | "grey-50" | "grey-60" | "grey-70" | "grey-80" | "grey-90" | "info-0" | "info-100" | "info-5" | "info-10" | "info-20" | "info-30" | "info-40" | "info-50" | "info-60" | "info-70" | "info-80" | "info-90" | "success-0" | "success-100" | "success-5" | "success-10" | "success-20" | "success-30" | "success-40" | "success-50" | "success-60" | "success-70" | "success-80" | "success-90" | "warning-0" | "warning-100" | "warning-5" | "warning-10" | "warning-20" | "warning-30" | "warning-40" | "warning-50" | "warning-60" | "warning-70" | "warning-80" | "warning-90" | "error-0" | "error-100" | "error-5" | "error-10" | "error-20" | "error-30" | "error-40" | "error-50" | "error-60" | "error-70" | "error-80" | "error-90" | "transparent" | "white" | "current" | "navyBlue-100" | undefined;
|
44
|
+
width?: "auto" | "screen" | "max" | "min" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | "full" | "fit" | undefined;
|
45
|
+
height?: "auto" | "screen" | "max" | "min" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "fit" | undefined;
|
46
|
+
maxWidth?: "none" | "max" | "min" | "0" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | "fit" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "prose" | "screen-default" | "screen-xs" | "screen-sm" | "screen-md" | "screen-lg" | "screen-xl" | undefined;
|
47
|
+
maxHeight?: "screen" | "max" | "min" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "0" | "1px" | "l1" | "l2" | "l3" | "l4" | "l5" | "l6" | "l7" | "full" | "fit" | undefined;
|
48
|
+
minWidth?: "max" | "min" | "0" | "full" | "fit" | undefined;
|
49
|
+
minHeight?: "screen" | "max" | "min" | "0" | "full" | "fit" | undefined;
|
50
|
+
}> & Props & {
|
51
|
+
component?: React.ElementType<any> | undefined;
|
52
|
+
} & Omit<Pick<any, string | number | symbol>, "component">>;
|
53
|
+
export {};
|
@@ -0,0 +1,55 @@
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
2
|
+
var t = {};
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
4
|
+
t[p] = s[p];
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
8
|
+
t[p[i]] = s[p[i]];
|
9
|
+
}
|
10
|
+
return t;
|
11
|
+
};
|
12
|
+
import React from 'react';
|
13
|
+
import { Element } from '../../../src/components/Element/Element';
|
14
|
+
import { useStyle } from '../../../src/utils/useStyle';
|
15
|
+
import isUndefined from 'lodash/isUndefined';
|
16
|
+
import twTheme from '../../../tailwind.theme.json';
|
17
|
+
import { createSimpleComponent } from '../../../src/utils/createComponent';
|
18
|
+
export const Box = (_a) => {
|
19
|
+
var { style, color, borderColor, borderRadius, borderWidth, justifyContent, alignContent, alignItems, flexDirection, flexWrap, display, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, backgroundColor, width, height, maxWidth, maxHeight, minWidth, minHeight, gap, colGap, rowGap } = _a, rest = __rest(_a, ["style", "color", "borderColor", "borderRadius", "borderWidth", "justifyContent", "alignContent", "alignItems", "flexDirection", "flexWrap", "display", "padding", "paddingX", "paddingY", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "margin", "marginX", "marginY", "marginTop", "marginRight", "marginBottom", "marginLeft", "backgroundColor", "width", "height", "maxWidth", "maxHeight", "minWidth", "minHeight", "gap", "colGap", "rowGap"]);
|
20
|
+
const styles = useStyle({
|
21
|
+
padding,
|
22
|
+
display,
|
23
|
+
color,
|
24
|
+
borderColor: borderColor ? twTheme.backgroundColor[borderColor] : '',
|
25
|
+
borderRadius,
|
26
|
+
borderWidth,
|
27
|
+
justifyContent,
|
28
|
+
alignContent,
|
29
|
+
alignItems,
|
30
|
+
flexDirection,
|
31
|
+
flexWrap,
|
32
|
+
paddingTop: isUndefined(paddingY) ? paddingTop : paddingY,
|
33
|
+
paddingRight: isUndefined(paddingX) ? paddingRight : paddingX,
|
34
|
+
paddingBottom: isUndefined(paddingY) ? paddingBottom : paddingY,
|
35
|
+
paddingLeft: isUndefined(paddingX) ? paddingLeft : paddingX,
|
36
|
+
margin,
|
37
|
+
marginTop: isUndefined(marginY) ? marginTop : marginY,
|
38
|
+
marginRight: isUndefined(marginX) ? marginRight : marginX,
|
39
|
+
marginBottom: isUndefined(marginY) ? marginBottom : marginY,
|
40
|
+
marginLeft: isUndefined(marginX) ? marginLeft : marginX,
|
41
|
+
backgroundColor,
|
42
|
+
width,
|
43
|
+
height,
|
44
|
+
maxWidth,
|
45
|
+
maxHeight,
|
46
|
+
minWidth,
|
47
|
+
minHeight,
|
48
|
+
gap,
|
49
|
+
columnGap: colGap,
|
50
|
+
rowGap,
|
51
|
+
});
|
52
|
+
return React.createElement(Element, Object.assign({ style: Object.assign(Object.assign({}, styles), style) }, rest));
|
53
|
+
};
|
54
|
+
export const BorderBox = createSimpleComponent(Box, { className: 'rounded border', borderColor: 'grey-10' }, 'BorderBox');
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQm94LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvQm94L0JveC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBQSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFDMUIsT0FBTyxFQUFFLE9BQU8sRUFBZ0IsTUFBTSxnQ0FBZ0MsQ0FBQztBQUV2RSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDOUMsT0FBTyxXQUFXLE1BQU0sb0JBQW9CLENBQUM7QUFDN0MsT0FBTyxPQUFPLE1BQU0scUJBQXFCLENBQUM7QUFDMUMsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFvQmxFLE1BQU0sQ0FBQyxNQUFNLEdBQUcsR0FBRyxDQUE4QixFQXFDbkMsRUFBZSxFQUFFO1FBckNrQixFQUMvQyxLQUFLLEVBQ0wsS0FBSyxFQUNMLFdBQVcsRUFDWCxZQUFZLEVBQ1osV0FBVyxFQUNYLGNBQWMsRUFD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ify/react';
|
3
|
+
export declare type BreadcrumbsProps = {
|
4
|
+
className?: string;
|
5
|
+
children: React.ReactElement<CrumbProps> | Array<React.ReactElement<CrumbProps> | undefined | null>;
|
6
|
+
};
|
7
|
+
/**
|
8
|
+
* Allows for visualizing the user's location within a hierarchical set of webpages.
|
9
|
+
*
|
10
|
+
* To be used with `Breadcrumbs.Crumb` component; using another
|
11
|
+
* type of component (such as `React.Fragment`) as a child will not work.
|
12
|
+
*
|
13
|
+
* @see {@link Crumb}
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* <Breadcrumbs>
|
17
|
+
* <Breadcrumbs.Crumb>
|
18
|
+
* Services
|
19
|
+
* </Breadcrumbs.Crumb>
|
20
|
+
* <Breadcrumbs.Crumb>
|
21
|
+
* Example service
|
22
|
+
* </Breadcrumbs.Crumb>
|
23
|
+
* </Breadcrumbs>
|
24
|
+
*/
|
25
|
+
declare const Breadcrumbs: {
|
26
|
+
(props: BreadcrumbsProps): React.ReactElement<BreadcrumbsProps>;
|
27
|
+
Crumb: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "href" | "onClick"> & CrumbProps & React.RefAttributes<HTMLAnchorElement>>;
|
28
|
+
};
|
29
|
+
export declare type CrumbProps = {
|
30
|
+
icon?: IconifyIcon;
|
31
|
+
children?: React.ReactNode;
|
32
|
+
};
|
33
|
+
declare const asCrumb: <ElementType extends HTMLElement, Props = unknown>(Component: string | React.ComponentType<Props>, displayName: string, options?: {
|
34
|
+
isActive: boolean;
|
35
|
+
}) => React.ForwardRefExoticComponent<React.PropsWithoutRef<Props & CrumbProps> & React.RefAttributes<ElementType>>;
|
36
|
+
export { Breadcrumbs, asCrumb };
|
@@ -0,0 +1,86 @@
|
|
1
|
+
// https://www.w3.org/TR/wai-aria-practices-1.1/examples/breadcrumb/index.html
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
3
|
+
var t = {};
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
5
|
+
t[p] = s[p];
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
9
|
+
t[p[i]] = s[p[i]];
|
10
|
+
}
|
11
|
+
return t;
|
12
|
+
};
|
13
|
+
import React from 'react';
|
14
|
+
import { Icon } from '../../../src/components';
|
15
|
+
import slash from '../../../src/icons/slash';
|
16
|
+
import { tw } from '../../../src/utils/tailwind';
|
17
|
+
import classNames from 'classnames';
|
18
|
+
/**
|
19
|
+
* Allows for visualizing the user's location within a hierarchical set of webpages.
|
20
|
+
*
|
21
|
+
* To be used with `Breadcrumbs.Crumb` component; using another
|
22
|
+
* type of component (such as `React.Fragment`) as a child will not work.
|
23
|
+
*
|
24
|
+
* @see {@link Crumb}
|
25
|
+
*
|
26
|
+
* @example
|
27
|
+
* <Breadcrumbs>
|
28
|
+
* <Breadcrumbs.Crumb>
|
29
|
+
* Services
|
30
|
+
* </Breadcrumbs.Crumb>
|
31
|
+
* <Breadcrumbs.Crumb>
|
32
|
+
* Example service
|
33
|
+
* </Breadcrumbs.Crumb>
|
34
|
+
* </Breadcrumbs>
|
35
|
+
*/
|
36
|
+
const Breadcrumbs = (props) => {
|
37
|
+
const { children, className } = props;
|
38
|
+
const crumbs = React.Children.toArray(children).filter((c) => Boolean(c));
|
39
|
+
return (React.createElement("nav", { className: className, "aria-label": 'Breadcrumbs' },
|
40
|
+
React.createElement("ol", { className: tw('flex flex-row flex-nowrap items-center typography-caption-default') }, crumbs.map((crumb, index) => {
|
41
|
+
const isLast = index === crumbs.length - 1;
|
42
|
+
return (
|
43
|
+
// Using index as key here is not good, but there isn't too many other options to choose from either.
|
44
|
+
React.createElement("li", { key: index, className: tw('flex flex-row items-center') },
|
45
|
+
!!index && React.createElement(Icon, { "aria-hidden": true, className: tw('mx-2 text-grey-30'), icon: slash }),
|
46
|
+
!isLast && crumb,
|
47
|
+
isLast && (React.createElement(ActiveCrumb, { "aria-disabled": true, "aria-current": "page", icon: crumb.props.icon }, crumb.props.children))));
|
48
|
+
}))));
|
49
|
+
};
|
50
|
+
const asCrumb = (Component, displayName, options = { isActive: false }) => {
|
51
|
+
const Crumb = React.forwardRef((_a, ref) => {
|
52
|
+
var { icon, children } = _a, rest = __rest(_a, ["icon", "children"]);
|
53
|
+
return (React.createElement(Component, Object.assign({ ref: ref }, rest, { role: "link" }),
|
54
|
+
React.createElement("span", { className: classNames(tw('flex flex-row flex-nowrap items-center gap-x-3 ', {
|
55
|
+
'text-primary-80 underline underline-offset-2 hover:no-underline hover:text-primary-70': !options.isActive,
|
56
|
+
'text-grey-90': options.isActive,
|
57
|
+
})) },
|
58
|
+
icon && React.createElement(Icon, { icon: icon }),
|
59
|
+
children)));
|
60
|
+
});
|
61
|
+
Crumb.displayName = displayName;
|
62
|
+
return Crumb;
|
63
|
+
};
|
64
|
+
/**
|
65
|
+
* Represents a part within a set of breadcrumbs.
|
66
|
+
*
|
67
|
+
* This is intended to be used with the `Breadcrumbs` component as
|
68
|
+
* the child component/children components.
|
69
|
+
*
|
70
|
+
* @see {@link Breadcrumbs}
|
71
|
+
*
|
72
|
+
* @example
|
73
|
+
* <Breadcrumbs>
|
74
|
+
* <Breadcrumbs.Crumb href="/a">
|
75
|
+
* Services
|
76
|
+
* </Breadcrumbs.Crumb>
|
77
|
+
* <Breadcrumbs.Crumb href="/a/b">
|
78
|
+
* Example service
|
79
|
+
* </Breadcrumbs.Crumb href="/a/b/c">
|
80
|
+
* </Breadcrumbs>
|
81
|
+
*/
|
82
|
+
const Crumb = asCrumb('a', 'Crumb');
|
83
|
+
const ActiveCrumb = asCrumb('span', 'ActiveCrumb', { isActive: true });
|
84
|
+
Breadcrumbs.Crumb = Crumb;
|
85
|
+
export { Breadcrumbs,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