@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,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M18 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2ZM2 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm15-1h2V5h-2v10ZM3 5H1v10h2V5ZM2 0C.9 0 0 .9 0 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm3 3h10V1H5v2Zm13 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM5 19h10v-2H5v2Z\" clip-rule=\"evenodd\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3dpZGdldC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUsZ1ZBQWdWO0lBQ3hWLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" d=\"M1 4h18c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1V5c0-.55.45-1 1-1Zm1 2v8h16V6H2Zm4 5c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm4 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Zm4 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1Z\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0QnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3dpZGdldEJ1dHRvbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUsK1JBQStSO0lBQ3ZTLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" d=\"M17 0H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1Zm-1 18H4v-4h12v4Zm0-5H4V2h12v11Z\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0Rm9vdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3dpZGdldEZvb3Rlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUsc0pBQXNKO0lBQzlKLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" d=\"M17 0H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h14c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1Zm-1 18H4V7h12v11Zm0-12H4V2h12v4Z\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0SGVhZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3dpZGdldEhlYWRlci5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUsc0pBQXNKO0lBQzlKLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<g fill=\"none\"><g clip-path=\"url(#svgIDa)\"><path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M19.8 4.44 16.13 8.1l-3.55-.71-.71-3.53L15.54.21c-2.01-.53-4.23-.03-5.8 1.53-1.86 1.85-2.23 4.6-1.14 6.83L.59 16.59C.22 16.95 0 17.45 0 18a2 2 0 002 2c.55 0 1.05-.22 1.41-.59l8.03-8.04c2.23 1.05 4.97.67 6.82-1.16 1.57-1.56 2.07-3.77 1.54-5.77Z\" clip-rule=\"evenodd\"/></g><defs><clipPath id=\"svgIDa\"><path fill=\"#fff\" d=\"M0 0h20v20H0z\"/></clipPath></defs></g>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JlbmNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3dyZW5jaC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUscWRBQXFkO0lBQzdkLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"m19.56 17.44-4.94-4.94A8.004 8.004 0 0016 8c0-4.42-3.58-8-8-8S0 3.58 0 8s3.58 8 8 8c1.67 0 3.21-.51 4.5-1.38l4.94 4.94a1.498 1.498 0 102.12-2.12ZM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6Zm3-7H9V5c0-.55-.45-1-1-1s-1 .45-1 1v2H5c-.55 0-1 .45-1 1s.45 1 1 1h2v2c0 .55.45 1 1 1s1-.45 1-1V9h2c.55 0 1-.45 1-1s-.45-1-1-1Z\" clip-rule=\"evenodd\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9vbUluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3pvb21Jbi5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUsNFpBQTRaO0lBQ3BhLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1Zm8.56 10.44-4.94-4.94A8.004 8.004 0 0016 8c0-4.42-3.58-8-8-8S0 3.58 0 8s3.58 8 8 8c1.67 0 3.21-.51 4.5-1.38l4.94 4.94a1.498 1.498 0 102.12-2.12ZM8 14c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6Z\" clip-rule=\"evenodd\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9vbU91dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pY29ucy96b29tT3V0LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxNQUFNLElBQUksR0FBRztJQUNaLE1BQU0sRUFBRSw0VkFBNFY7SUFDcFcsTUFBTSxFQUFFLENBQUM7SUFDVCxLQUFLLEVBQUUsQ0FBQztJQUNSLE9BQU8sRUFBRSxFQUFFO0lBQ1gsUUFBUSxFQUFFLEVBQUU7Q0FDWixDQUFDO0FBQ0YsT0FBTyxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUM7QUFDMUIsT0FBTyxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUMifQ==
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
const data = {
|
3
|
+
"body": "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M1 7c.55 0 1-.45 1-1V2h4c.55 0 1-.45 1-1s-.45-1-1-1H1C.45 0 0 .45 0 1v5c0 .55.45 1 1 1Zm5 1a1.003 1.003 0 00-1.71-.71l-2 2c-.18.18-.29.43-.29.71 0 .28.11.53.29.71l2 2a1.003 1.003 0 001.42-1.42L4.41 10 5.7 8.71c.19-.18.3-.43.3-.71Zm2-2c.28 0 .53-.11.71-.29L10 4.41l1.29 1.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71l-2-2A.997.997 0 0010 2c-.28 0-.53.11-.71.29l-2 2A1.003 1.003 0 008 6ZM6 18H2v-4c0-.55-.45-1-1-1s-1 .45-1 1v5c0 .55.45 1 1 1h5c.55 0 1-.45 1-1s-.45-1-1-1Zm8-6a1.003 1.003 0 001.71.71l2-2c.18-.18.29-.43.29-.71 0-.28-.11-.53-.29-.71l-2-2a1.003 1.003 0 00-1.42 1.42l1.3 1.29-1.29 1.29c-.19.18-.3.43-.3.71Zm5-12h-5c-.55 0-1 .45-1 1s.45 1 1 1h4v4c0 .55.45 1 1 1s1-.45 1-1V1c0-.55-.45-1-1-1Zm-7 14c-.28 0-.53.11-.71.29L10 15.59 8.71 14.3A.965.965 0 008 14a1.003 1.003 0 00-.71 1.71l2 2c.18.18.43.29.71.29.28 0 .53-.11.71-.29l2-2A1.003 1.003 0 0012 14Zm7-1c-.55 0-1 .45-1 1v4h-4c-.55 0-1 .45-1 1s.45 1 1 1h5c.55 0 1-.45 1-1v-5c0-.55-.45-1-1-1Z\" clip-rule=\"evenodd\"/>",
|
4
|
+
"left": 0,
|
5
|
+
"top": 0,
|
6
|
+
"width": 20,
|
7
|
+
"height": 20
|
8
|
+
};
|
9
|
+
exports.__esModule = true;
|
10
|
+
exports.default = data;
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiem9vbVRvRml0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ljb25zL3pvb21Ub0ZpdC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxJQUFJLEdBQUc7SUFDWixNQUFNLEVBQUUseWdDQUF5Z0M7SUFDamhDLE1BQU0sRUFBRSxDQUFDO0lBQ1QsS0FBSyxFQUFFLENBQUM7SUFDUixPQUFPLEVBQUUsRUFBRTtJQUNYLFFBQVEsRUFBRSxFQUFFO0NBQ1osQ0FBQztBQUNGLE9BQU8sQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDO0FBQzFCLE9BQU8sQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDIn0=
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
// We want to share this logic between Aquarium design system Typescript code and
|
3
|
+
// Tailwind config that is JavaScript. tailwind.config.js is expecting
|
4
|
+
// CommonJS modules.
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
6
|
+
const tokensJson = require('../../tokens.json');
|
7
|
+
// Aim of no-process-env is to specify process variables in a single place
|
8
|
+
// so that the input variables to app is not scattered around the code base.
|
9
|
+
// In this it makes more sense to just refer to env variable directly.
|
10
|
+
//
|
11
|
+
// For storybook, we need to prefix the env var with STORYBOOK_, see:
|
12
|
+
// https://storybook.js.org/docs/react/configure/environment-variables
|
13
|
+
//
|
14
|
+
// eslint-disable-next-line
|
15
|
+
const themeName = process.env.THEME || process.env.STORYBOOK_THEME || 'aiven';
|
16
|
+
if (!(themeName in tokensJson.themes)) {
|
17
|
+
throw new Error(`Could not find theme '${themeName}' from tokens.json`);
|
18
|
+
}
|
19
|
+
module.exports = {
|
20
|
+
theme: tokensJson.themes[themeName],
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZVRoZW1lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2pzL3Jlc29sdmVUaGVtZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsaUZBQWlGO0FBQ2pGLHNFQUFzRTtBQUN0RSxvQkFBb0I7QUFDcEIsOERBQThEO0FBQzlELE1BQU0sVUFBVSxHQUFHLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDO0FBRWhELDBFQUEwRTtBQUMxRSw0RUFBNEU7QUFDNUUsc0VBQXNFO0FBQ3RFLEVBQUU7QUFDRixzRUFBc0U7QUFDdEUsdUVBQXVFO0FBQ3ZFLEVBQUU7QUFDRiwyQkFBMkI7QUFDM0IsTUFBTSxTQUFTLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxLQUFLLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxlQUFlLElBQUksT0FBTyxDQUFDO0FBRTlFLElBQUksQ0FBQyxDQUFDLFNBQVMsSUFBSSxVQUFVLENBQUMsTUFBTSxDQUFDLEVBQUU7SUFDckMsTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsU0FBUyxvQkFBb0IsQ0FBQyxDQUFDO0NBQ3pFO0FBRUQsTUFBTSxDQUFDLE9BQU8sR0FBRztJQUNmLEtBQUssRUFBRSxVQUFVLENBQUMsTUFBTSxDQUFDLFNBQVMsQ0FBQztDQUNwQyxDQUFDIn0=
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Theme } from '../types/designTokens';
|
2
|
+
import { theme } from '../src/js/resolveTheme.js';
|
3
|
+
export * from './components';
|
4
|
+
export * from './utils/positioner';
|
5
|
+
export * from './utils/form/Label/Label';
|
6
|
+
export * from './utils/form/CharCounter/CharCounter';
|
7
|
+
export * from './utils/form/HelperText/HelperText';
|
8
|
+
export * from './utils/form/FormControl/FormControl';
|
9
|
+
export * from './utils/createComponent';
|
10
|
+
export { theme };
|
11
|
+
import * as components from './components';
|
12
|
+
declare const _default: typeof components & {
|
13
|
+
theme: Theme;
|
14
|
+
};
|
15
|
+
export default _default;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import tokensJson from '../tokens.json';
|
2
|
+
import { theme } from '../src/js/resolveTheme.js';
|
3
|
+
// The main entrypoint for building CSS
|
4
|
+
// import 'src/main.css';
|
5
|
+
// This type check is important to verify that tokens.json is matching
|
6
|
+
// the expected type
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
8
|
+
const typeCheckedTokensJson = tokensJson;
|
9
|
+
export * from './components';
|
10
|
+
export * from './utils/positioner';
|
11
|
+
export * from './utils/form/Label/Label';
|
12
|
+
export * from './utils/form/CharCounter/CharCounter';
|
13
|
+
export * from './utils/form/HelperText/HelperText';
|
14
|
+
export * from './utils/form/FormControl/FormControl';
|
15
|
+
export * from './utils/createComponent';
|
16
|
+
export { theme };
|
17
|
+
import * as components from './components';
|
18
|
+
export default Object.assign(Object.assign({}, components), { theme });
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3lzdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3N5c3RlbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLFVBQVUsTUFBTSxhQUFhLENBQUM7QUFDckMsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQy9DLHVDQUF1QztBQUN2Qyx5QkFBeUI7QUFFekIsc0VBQXNFO0FBQ3RFLG9CQUFvQjtBQUNwQiw2REFBNkQ7QUFDN0QsTUFBTSxxQkFBcUIsR0FBRyxVQUFvQixDQUFDO0FBRW5ELGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxzQ0FBc0MsQ0FBQztBQUNyRCxjQUFjLHlCQUF5QixDQUFDO0FBRXhDLE9BQU8sRUFBRSxLQUFLLEVBQUUsQ0FBQztBQUVqQixPQUFPLEtBQUssVUFBVSxNQUFNLGNBQWMsQ0FBQztBQUMzQyxlQUFlLGdDQUNWLFVBQVUsS0FDYixLQUFLLEdBQ2tDLENBQUMifQ==
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { BreakpointsObject, Breakpoint, Breakpointable } from '../../types/tailwind';
|
2
|
+
import { WindowSize } from '../../src/utils/useWindowSize';
|
3
|
+
export declare type BreakpointMatches = {
|
4
|
+
[key in Breakpoint]: boolean;
|
5
|
+
};
|
6
|
+
export declare type ScreenToPxMapping = {
|
7
|
+
[key in Breakpoint]: number;
|
8
|
+
};
|
9
|
+
export declare function getPxMapping(breakpoints: BreakpointsObject): ScreenToPxMapping;
|
10
|
+
export declare function getMatches(windowSize: WindowSize): BreakpointMatches;
|
11
|
+
export declare function selectBreakpointValue(value: Breakpointable<any>, matches: BreakpointMatches): any;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import isUndefined from 'lodash/isUndefined';
|
2
|
+
import orderBy from 'lodash/orderBy';
|
3
|
+
import isPlainObject from 'lodash/isPlainObject';
|
4
|
+
import theme from '../../tailwind.theme.json';
|
5
|
+
const { screens: allBreakpoints } = theme;
|
6
|
+
// Make this a constant to avoid ordering the screens from each window resize
|
7
|
+
const SCREEN_TO_PX_MAPPING = getPxMapping(allBreakpoints);
|
8
|
+
const BREAKPOINT_PRIORITY = orderBy(Object.keys(SCREEN_TO_PX_MAPPING).map((key) => {
|
9
|
+
return {
|
10
|
+
breakpoint: key,
|
11
|
+
pxValue: SCREEN_TO_PX_MAPPING[key],
|
12
|
+
};
|
13
|
+
}), (bp) => bp.pxValue, 'desc');
|
14
|
+
export function getPxMapping(breakpoints) {
|
15
|
+
return Object.keys(breakpoints).reduce((acc, key) => {
|
16
|
+
const minWidthInPx = breakpoints[key];
|
17
|
+
if (!minWidthInPx.endsWith('px')) {
|
18
|
+
throw new Error(`Unexpected breakpoint value found: '${minWidthInPx}'. Expecting it to be in px unit.`);
|
19
|
+
}
|
20
|
+
return Object.assign(Object.assign({}, acc), { [key]: parseInt(minWidthInPx, 10) });
|
21
|
+
}, {});
|
22
|
+
}
|
23
|
+
export function getMatches(windowSize) {
|
24
|
+
const mapping = getPxMapping(allBreakpoints);
|
25
|
+
return Object.keys(allBreakpoints).reduce((acc, key) => {
|
26
|
+
// If window is undefined or width is under 1px, set default breakpoint as true, and everything else as false
|
27
|
+
const isMatch = !isUndefined(windowSize) && windowSize.width > 0
|
28
|
+
? windowSize.width > mapping[key]
|
29
|
+
: key === 'default'
|
30
|
+
? true
|
31
|
+
: false;
|
32
|
+
return Object.assign(Object.assign({}, acc), { [key]: isMatch });
|
33
|
+
}, {});
|
34
|
+
}
|
35
|
+
export function selectBreakpointValue(value, matches) {
|
36
|
+
const bp = BREAKPOINT_PRIORITY.find((bp) => {
|
37
|
+
const pickBreakpoint = isPlainObject(value) && bp.breakpoint in value ? bp.breakpoint : undefined;
|
38
|
+
return !isUndefined(pickBreakpoint) && matches[bp.breakpoint];
|
39
|
+
});
|
40
|
+
if (!isUndefined(bp)) {
|
41
|
+
return value[bp.breakpoint];
|
42
|
+
}
|
43
|
+
return value;
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWtwb2ludHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvYnJlYWtwb2ludHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxXQUFXLE1BQU0sb0JBQW9CLENBQUM7QUFDN0MsT0FBTyxPQUFPLE1BQU0sZ0JBQWdCLENBQUM7QUFDckMsT0FBTyxhQUFhLE1BQU0sc0JBQXNCLENBQUM7QUFHakQsT0FBTyxLQUFLLE1BQU0scUJBQXFCLENBQUM7QUFDeEMsTUFBTSxFQUFFLE9BQU8sRUFBRSxjQUFjLEVBQUUsR0FBRyxLQUFLLENBQUM7QUFRMUMsNkVBQTZFO0FBQzdFLE1BQU0sb0JBQW9CLEdBQUcsWUFBWSxDQUFDLGNBQWMsQ0FBQyxDQUFDO0FBQzFELE1BQU0sbUJBQW1CLEdBQUcsT0FBTyxDQUNqQyxNQUFNLENBQUMsSUFBSSxDQUFDLG9CQUFvQixDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUU7SUFDNUMsT0FBTztRQUNMLFVBQVUsRUFBRSxHQUFpQjtRQUM3QixPQUFPLEVBQUUsb0JBQW9CLENBQUMsR0FBaUIsQ0FBQztLQUNqRCxDQUFDO0FBQ0osQ0FBQyxDQUFDLEVBQ0YsQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDLEVBQUUsQ0FBQyxPQUFPLEVBQ2xCLE1BQU0sQ0FDUCxDQUFDO0FBRUYsTUFBTSxVQUFVLFlBQVksQ0FBQyxXQUE4QjtJQUN6RCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxFQUFFO1FBQ2xELE1BQU0sWUFBWSxHQUFHLFdBQVcsQ0FBQyxHQUFpQixDQUFDLENBQUM7UUFDcEQsSUFBSSxDQUFDLFlBQVksQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLEVBQUU7WUFDaEMsTUFBTSxJQUFJLEtBQUssQ0FBQyx1Q0FBdUMsWUFBWSxtQ0FBbUMsQ0FBQyxDQUFDO1NBQ3pHO1FBRUQsdUNBQ0ssR0FBRyxLQUNOLENBQUMsR0FBRyxDQUFDLEVBQUUsUUFBUSxDQUFDLFlBQVksRUFBRSxFQUFFLENBQUMsSUFDakM7SUFDSixDQUFDLEVBQUUsRUFBdUIsQ0FBQyxDQUFDO0FBQzlCLENBQUM7QUFFRCxNQUFNLFVBQVUsVUFBVSxDQUFDLFVBQXNCO0lBQy9DLE1BQU0sT0FBTyxHQUFHLFlBQVksQ0FBQyxjQUFjLENBQUMsQ0FBQztJQUU3QyxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxFQUFFO1FBQ3JELDZHQUE2RztRQUM3RyxNQUFNLE9BQU8sR0FDWCxDQUFDLFdBQVcsQ0FBQyxVQUFVLENBQUMsSUFBSSxVQUFVLENBQUMsS0FBSyxHQUFHLENBQUM7WUFDOUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxLQUFLLEdBQUcsT0FBTyxDQUFDLEdBQWlCLENBQUM7WUFDL0MsQ0FBQyxDQUFDLEdBQUcsS0FBSyxTQUFTO2dCQUNuQixDQUFDLENBQUMsSUFBSTtnQkFDTixDQUFDLENBQUMsS0FBSyxDQUFDO1FBRVosdUNBQ0ssR0FBRyxLQUNOLENBQUMsR0FBRyxDQUFDLEVBQUUsT0FBTyxJQUNkO0lBQ0osQ0FBQyxFQUFFLEVBQXVCLENBQUMsQ0FBQztBQUM5QixDQUFDO0FBRUQsTUFBTSxVQUFVLHFCQUFxQixDQUFDLEtBQTBCLEVBQUUsT0FBMEI7SUFDMUYsTUFBTSxFQUFFLEdBQUcsbUJBQW1CLENBQUMsSUFBSSxDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUU7UUFDekMsTUFBTSxjQUFjLEdBQUcsYUFBYSxDQUFDLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQyxVQUFVLElBQUksS0FBSyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQyxTQUFTLENBQUM7UUFDbEcsT0FBTyxDQUFDLFdBQVcsQ0FBQyxjQUFjLENBQUMsSUFBSSxPQUFPLENBQUMsRUFBRSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQ2hFLENBQUMsQ0FBQyxDQUFDO0lBRUgsSUFBSSxDQUFDLFdBQVcsQ0FBQyxFQUFFLENBQUMsRUFBRTtRQUNwQixPQUFPLEtBQUssQ0FBQyxFQUFFLENBQUMsVUFBVSxDQUFDLENBQUM7S0FDN0I7SUFFRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMifQ==
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { tw } from '../../src/utils/tailwind';
|
2
|
+
export const getCommonInputStyles = ({ readOnly, valid }) => tw('block w-full rounded-sm disabled:cursor-not-allowed disabled:border-grey-20 disabled:bg-grey-5 typography-body-small text-grey-70 disabled:text-grey-40 placeholder:text-grey-40 focus:outline-none', {
|
3
|
+
'px-3 py-3': !readOnly,
|
4
|
+
'border-none resize-none cursor-default': readOnly,
|
5
|
+
'border border-error-50': !valid && !readOnly,
|
6
|
+
'border border-grey-20 hover:border-grey-50 focus:border-info-70': valid && !readOnly,
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2NvbnN0YW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsRUFBRSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFFeEMsTUFBTSxDQUFDLE1BQU0sb0JBQW9CLEdBQUcsQ0FBQyxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQXlDLEVBQVUsRUFBRSxDQUN6RyxFQUFFLENBQ0EscU1BQXFNLEVBQ3JNO0lBQ0UsV0FBVyxFQUFFLENBQUMsUUFBUTtJQUN0Qix3Q0FBd0MsRUFBRSxRQUFRO0lBQ2xELHdCQUF3QixFQUFFLENBQUMsS0FBSyxJQUFJLENBQUMsUUFBUTtJQUM3QyxpRUFBaUUsRUFBRSxLQUFLLElBQUksQ0FBQyxRQUFRO0NBQ3RGLENBQ0YsQ0FBQyJ9
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import React, { ComponentType } from 'react';
|
2
|
+
export declare const createComponent: <T extends Record<string, unknown>, E = unknown>(Component: React.ComponentType<T>, freezedProps: Partial<E>, defaultProps: Partial<T>, displayName: string) => React.ComponentType<Omit<T, keyof E>>;
|
3
|
+
export declare const createSimpleComponent: <T extends Record<string, unknown>>(Component: React.ComponentType<T>, defaultProps: Partial<T>, displayName: string) => React.ComponentType<T>;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { classNames } from '../../src/utils/tailwind';
|
2
|
+
import React from 'react';
|
3
|
+
const hasClassName = (val) => {
|
4
|
+
return val.className !== undefined;
|
5
|
+
};
|
6
|
+
export const createComponent = (Component, freezedProps, // use this for pre-set values that can NOT be modified anymore when use the component.
|
7
|
+
defaultProps, // use this for pre-set values that can still be modified when use the component.
|
8
|
+
displayName) => {
|
9
|
+
const defaultClassName = hasClassName(defaultProps) ? defaultProps.className : '';
|
10
|
+
const Curried = (props) => {
|
11
|
+
const combinedProps = Object.assign(Object.assign(Object.assign({}, defaultProps), freezedProps), props);
|
12
|
+
const propsClassName = hasClassName(props) ? props.className : '';
|
13
|
+
const className = defaultClassName || propsClassName ? classNames(defaultClassName, propsClassName) : undefined;
|
14
|
+
return React.createElement(Component, Object.assign({}, combinedProps, { className: className }));
|
15
|
+
};
|
16
|
+
Curried.displayName = displayName;
|
17
|
+
return Curried;
|
18
|
+
};
|
19
|
+
export const createSimpleComponent = (Component, defaultProps, displayName) => {
|
20
|
+
const defaultClassName = hasClassName(defaultProps) ? defaultProps.className : '';
|
21
|
+
const Curried = (props) => {
|
22
|
+
const propsClassName = hasClassName(props) ? props.className : '';
|
23
|
+
const className = defaultClassName || propsClassName ? classNames(defaultClassName, propsClassName) : undefined;
|
24
|
+
return React.createElement(Component, Object.assign({}, defaultProps, props, { className: className }));
|
25
|
+
};
|
26
|
+
Curried.displayName = displayName;
|
27
|
+
return Curried;
|
28
|
+
};
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlQ29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2NyZWF0ZUNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hELE9BQU8sS0FBd0IsTUFBTSxPQUFPLENBQUM7QUFFN0MsTUFBTSxZQUFZLEdBQUcsQ0FBb0MsR0FBTSxFQUFvQyxFQUFFO0lBQ25HLE9BQVEsR0FBVyxDQUFDLFNBQVMsS0FBSyxTQUFTLENBQUM7QUFDOUMsQ0FBQyxDQUFDO0FBQ0YsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUFHLENBQzdCLFNBQTJCLEVBQzNCLFlBQXdCLEVBQUUsdUZBQXVGO0FBQ2pILFlBQXdCLEVBQUUsaUZBQWlGO0FBQzNHLFdBQW1CLEVBQ2MsRUFBRTtJQUNuQyxNQUFNLGdCQUFnQixHQUFHLFlBQVksQ0FBQyxZQUFZLENBQUMsQ0FBQyxDQUFDLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDO0lBRWxGLE1BQU0sT0FBTyxHQUErQixDQUFDLEtBQUssRUFBRSxFQUFFO1FBQ3BELE1BQU0sYUFBYSxHQUFNLDhDQUFLLFlBQVksR0FBSyxZQUFZLEdBQUssS0FBSyxDQUFPLENBQUM7UUFDN0UsTUFBTSxjQUFjLEdBQUcsWUFBWSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7UUFDbEUsTUFBTSxTQUFTLEdBQUcsZ0JBQWdCLElBQUksY0FBYyxDQUFDLENBQUMsQ0FBQyxVQUFVLENBQUMsZ0JBQWdCLEVBQUUsY0FBYyxDQUFDLENBQUMsQ0FBQyxDQUFDLFNBQVMsQ0FBQztRQUNoSCxPQUFPLG9CQUFDLFNBQVMsb0JBQUssYUFBYSxJQUFFLFNBQVMsRUFBRSxTQUFTLElBQUksQ0FBQztJQUNoRSxDQUFDLENBQUM7SUFFRixPQUFPLENBQUMsV0FBVyxHQUFHLFdBQVcsQ0FBQztJQUNsQyxPQUFPLE9BQU8sQ0FBQztBQUNqQixDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyxDQUNuQyxTQUEyQixFQUMzQixZQUF3QixFQUN4QixXQUFtQixFQUNELEVBQUU7SUFDcEIsTUFBTSxnQkFBZ0IsR0FBRyxZQUFZLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQyxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztJQUVsRixNQUFNLE9BQU8sR0FBZ0IsQ0FBQyxLQUFRLEVBQUUsRUFBRTtRQUN4QyxNQUFNLGNBQWMsR0FBRyxZQUFZLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztRQUNsRSxNQUFNLFNBQVMsR0FBRyxnQkFBZ0IsSUFBSSxjQUFjLENBQUMsQ0FBQyxDQUFDLFVBQVUsQ0FBQyxnQkFBZ0IsRUFBRSxjQUFjLENBQUMsQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO1FBQ2hILE9BQU8sb0JBQUMsU0FBUyxvQkFBSyxZQUFZLEVBQU0sS0FBSyxJQUFFLFNBQVMsRUFBRSxTQUFTLElBQUksQ0FBQztJQUMxRSxDQUFDLENBQUM7SUFFRixPQUFPLENBQUMsV0FBVyxHQUFHLFdBQVcsQ0FBQztJQUNsQyxPQUFPLE9BQU8sQ0FBQztBQUNqQixDQUFDLENBQUMifQ==
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { tw } from '../../../../src/utils/tailwind';
|
3
|
+
export const CharCounter = ({ dense = true, length, maxLength, valid = true }) => {
|
4
|
+
return (React.createElement("span", { className: tw(`whitespace-nowrap`, valid ? 'text-grey-50' : 'text-error-70', dense ? 'typography-caption-default' : 'typography-body-small') }, `${length} / ${maxLength}`));
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2hhckNvdW50ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdXRpbHMvZm9ybS9DaGFyQ291bnRlci9DaGFyQ291bnRlci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQVN4QyxNQUFNLENBQUMsTUFBTSxXQUFXLEdBQStCLENBQUMsRUFBRSxLQUFLLEdBQUcsSUFBSSxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsS0FBSyxHQUFHLElBQUksRUFBRSxFQUFFLEVBQUU7SUFDM0csT0FBTyxDQUNMLDhCQUNFLFNBQVMsRUFBRSxFQUFFLENBQ1gsbUJBQW1CLEVBQ25CLEtBQUssQ0FBQyxDQUFDLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQyxlQUFlLEVBQ3hDLEtBQUssQ0FBQyxDQUFDLENBQUMsNEJBQTRCLENBQUMsQ0FBQyxDQUFDLHVCQUF1QixDQUMvRCxJQUVBLEdBQUcsTUFBTSxNQUFNLFNBQVMsRUFBRSxDQUN0QixDQUNSLENBQUM7QUFDSixDQUFDLENBQUMifQ==
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Flexbox } from '../../../../src/components';
|
3
|
+
export const FormControl = ({ className, inline, children }) => {
|
4
|
+
return (React.createElement(Flexbox, { direction: 'column', display: inline ? 'inline-flex' : 'flex', className: className }, children));
|
5
|
+
};
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUNvbnRyb2wuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdXRpbHMvZm9ybS9Gb3JtQ29udHJvbC9Gb3JtQ29udHJvbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQU96QyxNQUFNLENBQUMsTUFBTSxXQUFXLEdBQW9CLENBQUMsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFFBQVEsRUFBRSxFQUFFLEVBQUU7SUFDOUUsT0FBTyxDQUNMLG9CQUFDLE9BQU8sSUFBQyxTQUFTLEVBQUUsUUFBUSxFQUFFLE9BQU8sRUFBRSxNQUFNLENBQUMsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxDQUFDLENBQUMsTUFBTSxFQUFFLFNBQVMsRUFBRSxTQUFTLElBQ3pGLFFBQVEsQ0FDRCxDQUNYLENBQUM7QUFDSixDQUFDLENBQUMifQ==
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export declare type HelperTextProps = {
|
3
|
+
/**
|
4
|
+
* An unique ID to be used for an accessible connection between the input and its error message
|
5
|
+
*/
|
6
|
+
messageId?: string;
|
7
|
+
/**
|
8
|
+
* If false, help text will be displayed as an error message.
|
9
|
+
*/
|
10
|
+
error?: boolean | undefined;
|
11
|
+
/**
|
12
|
+
* Help text content.
|
13
|
+
*/
|
14
|
+
helperText?: string;
|
15
|
+
/**
|
16
|
+
* Current length of the input value.
|
17
|
+
*/
|
18
|
+
length?: number;
|
19
|
+
/**
|
20
|
+
* Max length of the input value.
|
21
|
+
*
|
22
|
+
* If no value is given, no count is shown.
|
23
|
+
*/
|
24
|
+
maxLength?: number;
|
25
|
+
/**
|
26
|
+
* True, if helper text should always reserve vertical space to prevent
|
27
|
+
* jitter in UI when there are multiple input components visible
|
28
|
+
* at the same time and their validity changes.
|
29
|
+
* @deprecated There should not be be need to use labeled controls without reserving space for the helper text.
|
30
|
+
*/
|
31
|
+
reserveSpaceForError?: boolean;
|
32
|
+
};
|
33
|
+
export declare const HelperText: React.FC<HelperTextProps> & {
|
34
|
+
Skeleton: typeof Skeleton;
|
35
|
+
};
|
36
|
+
declare const Skeleton: React.FC<{
|
37
|
+
className?: string;
|
38
|
+
}>;
|
39
|
+
export {};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import isNumber from 'lodash/isNumber';
|
3
|
+
import { tw } from '../../../../src/utils/tailwind';
|
4
|
+
import { Grid, GridItem } from '../../../../src/components';
|
5
|
+
import { CharCounter } from '../../../../src/utils/form/CharCounter/CharCounter';
|
6
|
+
import classNames from 'classnames';
|
7
|
+
export const HelperText = ({ messageId, error = false, helperText, length, maxLength, reserveSpaceForError = true, }) => {
|
8
|
+
const hasError = error && helperText;
|
9
|
+
const hasMaxLength = isNumber(maxLength) && maxLength > 0;
|
10
|
+
const showMessage = hasError || hasMaxLength;
|
11
|
+
if (!showMessage) {
|
12
|
+
return reserveSpaceForError ? React.createElement("p", { className: tw('block mt-1 mb-3 typography-caption-default') }, "\u00A0") : null;
|
13
|
+
}
|
14
|
+
return (React.createElement(Grid, { cols: '1', rows: '1', colGap: '3', alignItems: 'start', autoCols: 'min', className: tw('mt-1 mb-3') },
|
15
|
+
React.createElement(GridItem, { colStart: '1', colEnd: '2' }, hasError && (React.createElement("p", { id: messageId, className: tw('text-error-50 block typography-caption-default') }, helperText))),
|
16
|
+
React.createElement(GridItem, { colStart: '2', colEnd: '3', display: "flex" }, isNumber(length) && hasMaxLength && React.createElement(CharCounter, { length: length, maxLength: maxLength, valid: !error }))));
|
17
|
+
};
|
18
|
+
const Skeleton = ({ className, children }) => (React.createElement("div", { className: classNames(className, 'h-[25px]') }, children));
|
19
|
+
HelperText.Skeleton = Skeleton;
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSGVscGVyVGV4dC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy91dGlscy9mb3JtL0hlbHBlclRleHQvSGVscGVyVGV4dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sUUFBUSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZDLE9BQU8sRUFBRSxFQUFFLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUN4QyxPQUFPLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUNyRSxPQUFPLFVBQVUsTUFBTSxZQUFZLENBQUM7QUF1Q3BDLE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBOEQsQ0FBQyxFQUNwRixTQUFTLEVBQ1QsS0FBSyxHQUFHLEtBQUssRUFDYixVQUFVLEVBQ1YsTUFBTSxFQUNOLFNBQVMsRUFDVCxvQkFBb0IsR0FBRyxJQUFJLEdBQzVCLEVBQUUsRUFBRTtJQUNILE1BQU0sUUFBUSxHQUFHLEtBQUssSUFBSSxVQUFVLENBQUM7SUFDckMsTUFBTSxZQUFZLEdBQUcsUUFBUSxDQUFDLFNBQVMsQ0FBQyxJQUFJLFNBQVMsR0FBRyxDQUFDLENBQUM7SUFDMUQsTUFBTSxXQUFXLEdBQUcsUUFBUSxJQUFJLFlBQVksQ0FBQztJQUU3QyxJQUFJLENBQUMsV0FBVyxFQUFFO1FBQ2hCLE9BQU8sb0JBQW9CLENBQUMsQ0FBQyxDQUFDLDJCQUFHLFNBQVMsRUFBRSxFQUFFLENBQUMsNENBQTRDLENBQUMsYUFBWSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUM7S0FDakg7SUFFRCxPQUFPLENBQ0wsb0JBQUMsSUFBSSxJQUFDLElBQUksRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUUsR0FBRyxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBRSxTQUFTLEVBQUUsRUFBRSxDQUFDLFdBQVcsQ0FBQztRQUN2RyxvQkFBQyxRQUFRLElBQUMsUUFBUSxFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUUsR0FBRyxJQUNqQyxRQUFRLElBQUksQ0FDWCwyQkFBRyxFQUFFLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxFQUFFLENBQUMsZ0RBQWdELENBQUMsSUFDOUUsVUFBVSxDQUNULENBQ0wsQ0FDUTtRQUNYLG9CQUFDLFFBQVEsSUFBQyxRQUFRLEVBQUUsR0FBRyxFQUFFLE1BQU0sRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFDLE1BQU0sSUFFakQsUUFBUSxDQUFDLE1BQU0sQ0FBQyxJQUFJLFlBQVksSUFBSSxvQkFBQyxXQUFXLElBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxDQUFDLEtBQUssR0FBSSxDQUNoRyxDQUNOLENBQ1IsQ0FBQztBQUNKLENBQUMsQ0FBQztBQUVGLE1BQU0sUUFBUSxHQUFxQyxDQUFDLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUM5RSw2QkFBSyxTQUFTLEVBQUUsVUFBVSxDQUFDLFNBQVMsRUFBRSxVQUFVLENBQUMsSUFBRyxRQUFRLENBQU8sQ0FDcEUsQ0FBQztBQUVGLFVBQVUsQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDIn0=
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IconProps } from '../../../../src/components';
|
3
|
+
declare type AdornmentProps = {
|
4
|
+
placement?: 'left' | 'right';
|
5
|
+
className?: string;
|
6
|
+
dense?: boolean;
|
7
|
+
};
|
8
|
+
export declare const InputAdornment: React.FC<AdornmentProps>;
|
9
|
+
declare type Props = Pick<IconProps, 'onClick'>;
|
10
|
+
export declare const ValidIcon: React.FC<Props>;
|
11
|
+
export declare const ErrorIcon: React.FC<Props>;
|
12
|
+
export declare const SearchIcon: React.FC<Props>;
|
13
|
+
export declare const ResetIcon: React.FC<Props>;
|
14
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { classNames } from '../../../../src/utils/tailwind';
|
3
|
+
import tickIcon from '../../../../src/icons/tick';
|
4
|
+
import errorIcon from '../../../../src/icons/error';
|
5
|
+
import searchIcon from '../../../../src/icons/search';
|
6
|
+
import crossIcon from '../../../../src/icons/cross';
|
7
|
+
import { Icon, Flexbox } from '../../../../src/components';
|
8
|
+
export const InputAdornment = ({ placement = 'right', className, dense, children }) => {
|
9
|
+
return (React.createElement("span", { className: classNames(className, 'absolute inset-y-0 grow-0 text-grey-40 flex items-center mx-3', {
|
10
|
+
'right-0': placement === 'right',
|
11
|
+
'left-0': placement === 'left',
|
12
|
+
'typography-body-small': dense,
|
13
|
+
'typography-body-default-medium': !dense,
|
14
|
+
}) },
|
15
|
+
React.createElement(Flexbox, { gap: '3', wrap: 'wrap' }, children)));
|
16
|
+
};
|
17
|
+
export const ValidIcon = ({ onClick }) => (React.createElement(Icon, { icon: tickIcon, color: 'success-50', "data-testid": 'icon-valid', onClick: onClick }));
|
18
|
+
export const ErrorIcon = ({ onClick }) => (React.createElement(Icon, { icon: errorIcon, color: 'error-70', "data-testid": 'icon-invalid', onClick: onClick }));
|
19
|
+
export const SearchIcon = ({ onClick }) => (React.createElement(Icon, { icon: searchIcon, color: 'grey-30', "data-testid": 'icon-search', onClick: onClick }));
|
20
|
+
export const ResetIcon = ({ onClick }) => (React.createElement(Icon, { className: "hover:cursor-pointer", icon: crossIcon, color: 'grey-30', "data-testid": 'icon-reset', onClick: onClick }));
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW5wdXRBZG9ybm1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvdXRpbHMvZm9ybS9JbnB1dEFkb3JubWVudC9JbnB1dEFkb3JubWVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBQzFCLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLFFBQVEsTUFBTSxnQkFBZ0IsQ0FBQztBQUN0QyxPQUFPLFNBQVMsTUFBTSxpQkFBaUIsQ0FBQztBQUN4QyxPQUFPLFVBQVUsTUFBTSxrQkFBa0IsQ0FBQztBQUMxQyxPQUFPLFNBQVMsTUFBTSxpQkFBaUIsQ0FBQztBQUN4QyxPQUFPLEVBQUUsSUFBSSxFQUFhLE9BQU8sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBUTFELE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBNkIsQ0FBQyxFQUFFLFNBQVMsR0FBRyxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxRQUFRLEVBQUUsRUFBRSxFQUFFO0lBQzlHLE9BQU8sQ0FDTCw4QkFDRSxTQUFTLEVBQUUsVUFBVSxDQUFDLFNBQVMsRUFBRSwrREFBK0QsRUFBRTtZQUNoRyxTQUFTLEVBQUUsU0FBUyxLQUFLLE9BQU87WUFDaEMsUUFBUSxFQUFFLFNBQVMsS0FBSyxNQUFNO1lBQzlCLHVCQUF1QixFQUFFLEtBQUs7WUFDOUIsZ0NBQWdDLEVBQUUsQ0FBQyxLQUFLO1NBQ3pDLENBQUM7UUFFRixvQkFBQyxPQUFPLElBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxJQUFJLEVBQUUsTUFBTSxJQUM1QixRQUFRLENBQ0QsQ0FDTCxDQUNSLENBQUM7QUFDSixDQUFDLENBQUM7QUFJRixNQUFNLENBQUMsTUFBTSxTQUFTLEdBQW9CLENBQUMsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FDekQsb0JBQUMsSUFBSSxJQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsS0FBSyxFQUFFLFlBQVksaUJBQWUsWUFBWSxFQUFFLE9BQU8sRUFBRSxPQUFPLEdBQUksQ0FDM0YsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLFNBQVMsR0FBb0IsQ0FBQyxFQUFFLE9BQU8sRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUN6RCxvQkFBQyxJQUFJLElBQUMsSUFBSSxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsVUFBVSxpQkFBZSxjQUFjLEVBQUUsT0FBTyxFQUFFLE9BQU8sR0FBSSxDQUM1RixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFvQixDQUFDLEVBQUUsT0FBTyxFQUFFLEVBQUUsRUFBRSxDQUFDLENBQzFELG9CQUFDLElBQUksSUFBQyxJQUFJLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxTQUFTLGlCQUFlLGFBQWEsRUFBRSxPQUFPLEVBQUUsT0FBTyxHQUFJLENBQzNGLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxTQUFTLEdBQW9CLENBQUMsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FDekQsb0JBQUMsSUFBSSxJQUNILFNBQVMsRUFBQyxzQkFBc0IsRUFDaEMsSUFBSSxFQUFFLFNBQVMsRUFDZixLQUFLLEVBQUUsU0FBUyxpQkFDSCxZQUFZLEVBQ3pCLE9BQU8sRUFBRSxPQUFPLEdBQ2hCLENBQ0gsQ0FBQyJ9
|
@@ -0,0 +1,80 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { PopoverPlacement } from '../../../../src/components/Popover/Popover';
|
3
|
+
import { HelperTextProps } from '../../../../src/utils/form/HelperText/HelperText';
|
4
|
+
declare type LabelVariant = 'default' | 'error' | 'disabled';
|
5
|
+
export declare type LabelProps = {
|
6
|
+
/**
|
7
|
+
* Optional label text.
|
8
|
+
* TODO: This might be something we'd like to deprecate at some point and make the label non-optional.
|
9
|
+
* We could also thing about renaming this one to `label`. That way we could do the change so that we
|
10
|
+
* would keep deprecated, optional `labelText` support for some time before removing it completely.
|
11
|
+
*/
|
12
|
+
'labelText'?: string;
|
13
|
+
/**
|
14
|
+
* Optional id.
|
15
|
+
*/
|
16
|
+
'id'?: string;
|
17
|
+
/**
|
18
|
+
* Optional `for` attribute for the `<label>` element.
|
19
|
+
*/
|
20
|
+
'htmlFor'?: string;
|
21
|
+
/**
|
22
|
+
* If true, control will be marked as required.
|
23
|
+
*/
|
24
|
+
'required'?: boolean;
|
25
|
+
/**
|
26
|
+
* Label state - `default`, `error` or `disabled`.
|
27
|
+
*/
|
28
|
+
'variant'?: LabelVariant;
|
29
|
+
/**
|
30
|
+
* Optional help tooltip content. If provided, tooltip will be attached to the label.
|
31
|
+
*/
|
32
|
+
'helpTooltip'?: string | React.ReactNode;
|
33
|
+
/**
|
34
|
+
* Optional placement suggestion for the help tooltip.
|
35
|
+
*/
|
36
|
+
'helpTooltipPlacement'?: PopoverPlacement;
|
37
|
+
/**
|
38
|
+
* This allows to further configure the surrounding label of the input.
|
39
|
+
* @deprecated Label component should be self sufficient and using custom props for the label is not anymore encouraged.
|
40
|
+
*/
|
41
|
+
'labelProps'?: React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>;
|
42
|
+
/**
|
43
|
+
* Optional `data-testid` property for the label wrapper.
|
44
|
+
*/
|
45
|
+
'data-testid'?: string;
|
46
|
+
};
|
47
|
+
export declare const Label: React.FC<LabelProps> & {
|
48
|
+
Skeleton: typeof LabelSkeleton;
|
49
|
+
};
|
50
|
+
declare const LabelSkeleton: React.FC;
|
51
|
+
export declare type LabelControlProps = Omit<LabelProps, 'variant'> & Omit<HelperTextProps, 'error'> & {
|
52
|
+
/**
|
53
|
+
* If true, label control will be rendered using <fieldset> and <legend>.
|
54
|
+
*/
|
55
|
+
fieldset?: boolean;
|
56
|
+
/**
|
57
|
+
* If false, label will be highlighted as an error.
|
58
|
+
*/
|
59
|
+
valid?: boolean;
|
60
|
+
/**
|
61
|
+
* If true, label will rendered as disabled.
|
62
|
+
*/
|
63
|
+
disabled?: boolean;
|
64
|
+
/**
|
65
|
+
* @deprecated `error` property has been deprecated in favor of `helperText`.
|
66
|
+
*/
|
67
|
+
error?: string;
|
68
|
+
/**
|
69
|
+
* Indicator if the input should always reserve space for error message.
|
70
|
+
*
|
71
|
+
* If no value is given, defaults to true.
|
72
|
+
* @deprecated
|
73
|
+
*/
|
74
|
+
reserveSpaceForError?: boolean;
|
75
|
+
};
|
76
|
+
export declare const LabelControl: React.FC<LabelControlProps> & {
|
77
|
+
Skeleton: React.FC;
|
78
|
+
};
|
79
|
+
export declare const getLabelControlProps: <T extends LabelControlProps>({ labelText, required, valid, disabled, "labelProps": { ...labelProps }, helpTooltip, helpTooltipPlacement, maxLength, error, helperText, reserveSpaceForError, "data-testid": dataTestId, }: T) => LabelControlProps;
|
80
|
+
export {};
|