@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
package/dist/atoms.cjs
ADDED
@@ -0,0 +1,3131 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __create = Object.create;
|
3
|
+
var __defProp = Object.defineProperty;
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
+
var __commonJS = (cb, mod) => function __require() {
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
10
|
+
};
|
11
|
+
var __export = (target, all) => {
|
12
|
+
for (var name in all)
|
13
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
14
|
+
};
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
17
|
+
for (let key of __getOwnPropNames(from))
|
18
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
19
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
20
|
+
}
|
21
|
+
return to;
|
22
|
+
};
|
23
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
25
|
+
mod
|
26
|
+
));
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
28
|
+
|
29
|
+
// src/icons/chevronDown.js
|
30
|
+
var require_chevronDown = __commonJS({
|
31
|
+
"src/icons/chevronDown.js"(exports) {
|
32
|
+
"use strict";
|
33
|
+
var data = {
|
34
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M16 6c-.28 0-.53.11-.71.29L10 11.59l-5.29-5.3a1.003 1.003 0 00-1.42 1.42l6 6c.18.18.43.29.71.29.28 0 .53-.11.71-.29l6-6A1.003 1.003 0 0016 6Z" clip-rule="evenodd"/>',
|
35
|
+
"left": 0,
|
36
|
+
"top": 0,
|
37
|
+
"width": 20,
|
38
|
+
"height": 20
|
39
|
+
};
|
40
|
+
exports.__esModule = true;
|
41
|
+
exports.default = data;
|
42
|
+
}
|
43
|
+
});
|
44
|
+
|
45
|
+
// src/icons/loading.js
|
46
|
+
var require_loading = __commonJS({
|
47
|
+
"src/icons/loading.js"(exports) {
|
48
|
+
"use strict";
|
49
|
+
var data = {
|
50
|
+
"body": '<g fill="none" fill-rule="evenodd" stroke="currentColor" stroke-width="3" transform="translate(1 1)"><circle cx="18" cy="18" r="18" stroke-opacity=".5"/><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" dur="1s" from="0 18 18" repeatCount="indefinite" to="360 18 18" type="rotate"/></path></g>',
|
51
|
+
"left": 0,
|
52
|
+
"top": 0,
|
53
|
+
"width": 40,
|
54
|
+
"height": 40
|
55
|
+
};
|
56
|
+
exports.__esModule = true;
|
57
|
+
exports.default = data;
|
58
|
+
}
|
59
|
+
});
|
60
|
+
|
61
|
+
// tokens.json
|
62
|
+
var require_tokens = __commonJS({
|
63
|
+
"tokens.json"(exports, module2) {
|
64
|
+
module2.exports = {
|
65
|
+
themes: {
|
66
|
+
timescale: {
|
67
|
+
colors: {
|
68
|
+
"error-100": "#aa0000",
|
69
|
+
"error-90": "#b90000",
|
70
|
+
"error-80": "#c50001",
|
71
|
+
"error-70": "#d80005",
|
72
|
+
"error-60": "#e70000",
|
73
|
+
"error-50": "#e62728",
|
74
|
+
"error-40": "#e0504f",
|
75
|
+
"error-30": "#ed7975",
|
76
|
+
"error-20": "#ffadb3",
|
77
|
+
"error-10": "#ffcbd2",
|
78
|
+
"error-5": "#fee8e7",
|
79
|
+
"error-0": "#fef2f1",
|
80
|
+
"warning-100": "#fe6d00",
|
81
|
+
"warning-90": "#ff9003",
|
82
|
+
"warning-80": "#fd9f00",
|
83
|
+
"warning-70": "#ffb300",
|
84
|
+
"warning-60": "#ffc107",
|
85
|
+
"warning-50": "#fdc926",
|
86
|
+
"warning-40": "#fdd44d",
|
87
|
+
"warning-30": "#fddf81",
|
88
|
+
"warning-20": "#feebb2",
|
89
|
+
"warning-10": "#fff2cd",
|
90
|
+
"warning-5": "#fff8ea",
|
91
|
+
"warning-0": "#fffdf9",
|
92
|
+
"success-100": "#006f00",
|
93
|
+
"success-90": "#008e00",
|
94
|
+
"success-80": "#009f00",
|
95
|
+
"success-70": "#00b300",
|
96
|
+
"success-60": "#00c300",
|
97
|
+
"success-50": "#40ce37",
|
98
|
+
"success-40": "#60db57",
|
99
|
+
"success-30": "#89eb80",
|
100
|
+
"success-20": "#afffa7",
|
101
|
+
"success-10": "#cbffc9",
|
102
|
+
"success-5": "#ecf7ed",
|
103
|
+
"success-0": "#f5faf5",
|
104
|
+
"info-100": "#02569a",
|
105
|
+
"info-90": "#0174ba",
|
106
|
+
"info-80": "#0788d1",
|
107
|
+
"info-70": "#0399e3",
|
108
|
+
"info-60": "#02a8f3",
|
109
|
+
"info-50": "#28b4f4",
|
110
|
+
"info-40": "#4cc2f7",
|
111
|
+
"info-30": "#7fd1f7",
|
112
|
+
"info-20": "#b4e5fb",
|
113
|
+
"info-10": "#e0f5fe",
|
114
|
+
"info-5": "#effaff",
|
115
|
+
"info-0": "#f9fdff",
|
116
|
+
"grey-100": "#19191d",
|
117
|
+
"grey-90": "#292a31",
|
118
|
+
"grey-80": "#3a3a44",
|
119
|
+
"grey-70": "#4a4b57",
|
120
|
+
"grey-60": "#5a5b6a",
|
121
|
+
"grey-50": "#787885",
|
122
|
+
"grey-40": "#9696a0",
|
123
|
+
"grey-30": "#b4b4bb",
|
124
|
+
"grey-20": "#d2d2d6",
|
125
|
+
"grey-10": "#e1e1e3",
|
126
|
+
"grey-5": "#ededf0",
|
127
|
+
"grey-0": "#f7f7fa",
|
128
|
+
"secondary-100": "#e11d16",
|
129
|
+
"secondary-90": "#eb4610",
|
130
|
+
"secondary-80": "#f3580d",
|
131
|
+
"secondary-70": "#f96a02",
|
132
|
+
"secondary-60": "#ff7700",
|
133
|
+
"secondary-50": "#fc871a",
|
134
|
+
"secondary-40": "#fb9a3e",
|
135
|
+
"secondary-30": "#fab26e",
|
136
|
+
"secondary-20": "#f8c99c",
|
137
|
+
"secondary-10": "#fee8d0",
|
138
|
+
"secondary-5": "#fff3e8",
|
139
|
+
"secondary-0": "#fffbf8",
|
140
|
+
"primary-100": "#02569a",
|
141
|
+
"primary-90": "#0174ba",
|
142
|
+
"primary-80": "#0788d1",
|
143
|
+
"primary-70": "#0399e3",
|
144
|
+
"primary-60": "#02a8f3",
|
145
|
+
"primary-50": "#28b4f4",
|
146
|
+
"primary-40": "#4cc2f7",
|
147
|
+
"primary-30": "#7fd1f7",
|
148
|
+
"primary-20": "#b4e5fb",
|
149
|
+
"primary-10": "#e0f5fe",
|
150
|
+
"primary-5": "#effaff",
|
151
|
+
"primary-0": "#f9fdff"
|
152
|
+
},
|
153
|
+
typography: {
|
154
|
+
sizes: [
|
155
|
+
{
|
156
|
+
name: "caption-small",
|
157
|
+
className: "typography-caption-small",
|
158
|
+
style: {
|
159
|
+
fontFamily: "Inter",
|
160
|
+
fontSize: "10px",
|
161
|
+
fontWeight: 400,
|
162
|
+
fontStyle: "normal",
|
163
|
+
lineHeight: 1.2,
|
164
|
+
letterSpacing: 0,
|
165
|
+
textTransform: "none"
|
166
|
+
},
|
167
|
+
fontPostScriptName: null
|
168
|
+
},
|
169
|
+
{
|
170
|
+
name: "caption-default",
|
171
|
+
className: "typography-caption-default",
|
172
|
+
style: {
|
173
|
+
fontFamily: "Inter",
|
174
|
+
fontSize: "12px",
|
175
|
+
fontWeight: 400,
|
176
|
+
fontStyle: "normal",
|
177
|
+
lineHeight: 1.26,
|
178
|
+
letterSpacing: 0,
|
179
|
+
textTransform: "none"
|
180
|
+
},
|
181
|
+
fontPostScriptName: null
|
182
|
+
},
|
183
|
+
{
|
184
|
+
name: "overline-small",
|
185
|
+
className: "typography-overline-small",
|
186
|
+
style: {
|
187
|
+
fontFamily: "Inter",
|
188
|
+
fontSize: "10px",
|
189
|
+
fontWeight: 400,
|
190
|
+
fontStyle: "normal",
|
191
|
+
lineHeight: 1,
|
192
|
+
letterSpacing: 0,
|
193
|
+
textTransform: "uppercase"
|
194
|
+
},
|
195
|
+
fontPostScriptName: null
|
196
|
+
},
|
197
|
+
{
|
198
|
+
name: "overline-default",
|
199
|
+
className: "typography-overline-default",
|
200
|
+
style: {
|
201
|
+
fontFamily: "Inter",
|
202
|
+
fontSize: "12px",
|
203
|
+
fontWeight: 400,
|
204
|
+
fontStyle: "normal",
|
205
|
+
lineHeight: 1,
|
206
|
+
letterSpacing: 0,
|
207
|
+
textTransform: "uppercase"
|
208
|
+
},
|
209
|
+
fontPostScriptName: null
|
210
|
+
},
|
211
|
+
{
|
212
|
+
name: "button-small",
|
213
|
+
className: "typography-button-small",
|
214
|
+
style: {
|
215
|
+
fontFamily: "Inter",
|
216
|
+
fontSize: "12px",
|
217
|
+
fontWeight: 500,
|
218
|
+
fontStyle: "normal",
|
219
|
+
lineHeight: 1,
|
220
|
+
letterSpacing: 0,
|
221
|
+
textTransform: "none"
|
222
|
+
},
|
223
|
+
fontPostScriptName: "Inter-Medium"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
name: "button-medium",
|
227
|
+
className: "typography-button-medium",
|
228
|
+
style: {
|
229
|
+
fontFamily: "Inter",
|
230
|
+
fontSize: "14px",
|
231
|
+
fontWeight: 400,
|
232
|
+
fontStyle: "normal",
|
233
|
+
lineHeight: 1,
|
234
|
+
letterSpacing: 0,
|
235
|
+
textTransform: "none"
|
236
|
+
},
|
237
|
+
fontPostScriptName: "Inter-SemiBold"
|
238
|
+
},
|
239
|
+
{
|
240
|
+
name: "button-large",
|
241
|
+
className: "typography-button-large",
|
242
|
+
style: {
|
243
|
+
fontFamily: "Inter",
|
244
|
+
fontSize: "16px",
|
245
|
+
fontWeight: 500,
|
246
|
+
fontStyle: "normal",
|
247
|
+
lineHeight: 1.5,
|
248
|
+
letterSpacing: 0,
|
249
|
+
textTransform: "none"
|
250
|
+
},
|
251
|
+
fontPostScriptName: "Inter-Medium"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
name: "body-small",
|
255
|
+
className: "typography-body-small",
|
256
|
+
style: {
|
257
|
+
fontFamily: "Inter",
|
258
|
+
fontSize: "14px",
|
259
|
+
fontWeight: 400,
|
260
|
+
fontStyle: "normal",
|
261
|
+
lineHeight: 1.43,
|
262
|
+
letterSpacing: 0,
|
263
|
+
textTransform: "none"
|
264
|
+
},
|
265
|
+
fontPostScriptName: null
|
266
|
+
},
|
267
|
+
{
|
268
|
+
name: "body-small-medium",
|
269
|
+
className: "typography-body-small-medium",
|
270
|
+
style: {
|
271
|
+
fontFamily: "Inter",
|
272
|
+
fontSize: "14px",
|
273
|
+
fontWeight: 500,
|
274
|
+
fontStyle: "normal",
|
275
|
+
lineHeight: 1.43,
|
276
|
+
letterSpacing: 0,
|
277
|
+
textTransform: "none"
|
278
|
+
},
|
279
|
+
fontPostScriptName: "Inter-SemiBold"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
name: "body-default",
|
283
|
+
className: "typography-body-default",
|
284
|
+
style: {
|
285
|
+
fontFamily: "Inter",
|
286
|
+
fontSize: "16px",
|
287
|
+
fontWeight: 400,
|
288
|
+
fontStyle: "normal",
|
289
|
+
lineHeight: 1.5,
|
290
|
+
letterSpacing: 0,
|
291
|
+
textTransform: "none"
|
292
|
+
},
|
293
|
+
fontPostScriptName: null
|
294
|
+
},
|
295
|
+
{
|
296
|
+
name: "body-default-medium",
|
297
|
+
className: "typography-body-default-medium",
|
298
|
+
style: {
|
299
|
+
fontFamily: "Inter",
|
300
|
+
fontSize: "16px",
|
301
|
+
fontWeight: 500,
|
302
|
+
fontStyle: "normal",
|
303
|
+
lineHeight: 1.5,
|
304
|
+
letterSpacing: 0,
|
305
|
+
textTransform: "none"
|
306
|
+
},
|
307
|
+
fontPostScriptName: "Inter-SemiBold"
|
308
|
+
},
|
309
|
+
{
|
310
|
+
name: "body-large",
|
311
|
+
className: "typography-body-large",
|
312
|
+
style: {
|
313
|
+
fontFamily: "Inter",
|
314
|
+
fontSize: "20px",
|
315
|
+
fontWeight: 400,
|
316
|
+
fontStyle: "normal",
|
317
|
+
lineHeight: 1.58,
|
318
|
+
letterSpacing: 0,
|
319
|
+
textTransform: "none"
|
320
|
+
},
|
321
|
+
fontPostScriptName: null
|
322
|
+
},
|
323
|
+
{
|
324
|
+
name: "body-large-medium",
|
325
|
+
className: "typography-body-large-medium",
|
326
|
+
style: {
|
327
|
+
fontFamily: "Inter",
|
328
|
+
fontSize: "20px",
|
329
|
+
fontWeight: 400,
|
330
|
+
fontStyle: "normal",
|
331
|
+
lineHeight: 1.2,
|
332
|
+
letterSpacing: 0,
|
333
|
+
textTransform: "none"
|
334
|
+
},
|
335
|
+
fontPostScriptName: "Inter-SemiBold"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
name: "heading-large",
|
339
|
+
className: "typography-heading-large",
|
340
|
+
style: {
|
341
|
+
fontFamily: "Inter",
|
342
|
+
fontSize: "20px",
|
343
|
+
fontWeight: 700,
|
344
|
+
fontStyle: "normal",
|
345
|
+
lineHeight: 1.5,
|
346
|
+
letterSpacing: 0.15,
|
347
|
+
textTransform: "none"
|
348
|
+
},
|
349
|
+
fontPostScriptName: "Inter-Bold"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
name: "heading-xl",
|
353
|
+
className: "typography-heading-xl",
|
354
|
+
style: {
|
355
|
+
fontFamily: "Inter",
|
356
|
+
fontSize: "24px",
|
357
|
+
fontWeight: 700,
|
358
|
+
fontStyle: "normal",
|
359
|
+
lineHeight: 1.5,
|
360
|
+
letterSpacing: 0,
|
361
|
+
textTransform: "none"
|
362
|
+
},
|
363
|
+
fontPostScriptName: "Inter-Bold"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
name: "heading-2xl",
|
367
|
+
className: "typography-heading-2xl",
|
368
|
+
style: {
|
369
|
+
fontFamily: "Inter",
|
370
|
+
fontSize: "34px",
|
371
|
+
fontWeight: 700,
|
372
|
+
fontStyle: "normal",
|
373
|
+
lineHeight: 1.28,
|
374
|
+
letterSpacing: 0,
|
375
|
+
textTransform: "none"
|
376
|
+
},
|
377
|
+
fontPostScriptName: "Inter-Bold"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
name: "heading-3xl",
|
381
|
+
className: "typography-heading-3xl",
|
382
|
+
style: {
|
383
|
+
fontFamily: "Inter",
|
384
|
+
fontSize: "48px",
|
385
|
+
fontWeight: 700,
|
386
|
+
fontStyle: "normal",
|
387
|
+
lineHeight: 1.24,
|
388
|
+
letterSpacing: -0.48,
|
389
|
+
textTransform: "none"
|
390
|
+
},
|
391
|
+
fontPostScriptName: "Inter-Bold"
|
392
|
+
},
|
393
|
+
{
|
394
|
+
name: "heading-4xl",
|
395
|
+
className: "typography-heading-4xl",
|
396
|
+
style: {
|
397
|
+
fontFamily: "Inter",
|
398
|
+
fontSize: "60px",
|
399
|
+
fontWeight: 700,
|
400
|
+
fontStyle: "normal",
|
401
|
+
lineHeight: 1.2,
|
402
|
+
letterSpacing: -1.5,
|
403
|
+
textTransform: "none"
|
404
|
+
},
|
405
|
+
fontPostScriptName: "Inter-Bold"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
name: "heading-5xl",
|
409
|
+
className: "typography-heading-5xl",
|
410
|
+
style: {
|
411
|
+
fontFamily: "Inter",
|
412
|
+
fontSize: "76px",
|
413
|
+
fontWeight: 700,
|
414
|
+
fontStyle: "normal",
|
415
|
+
lineHeight: 1.2,
|
416
|
+
letterSpacing: -1.98,
|
417
|
+
textTransform: "none"
|
418
|
+
},
|
419
|
+
fontPostScriptName: "Inter-Bold"
|
420
|
+
}
|
421
|
+
]
|
422
|
+
},
|
423
|
+
elevations: {
|
424
|
+
"24dp": "0px 24px 48px rgba(90, 91, 106, 0.08), 0px 12px 24px rgba(58, 58, 68, 0.08)",
|
425
|
+
"16dp": "0px 16px 32px rgba(90, 91, 106, 0.12), 0px 8px 16px rgba(58, 58, 68, 0.12)",
|
426
|
+
"8dp": "0px 8px 16px rgba(90, 91, 106, 0.16), 0px 4px 8px rgba(58, 58, 68, 0.16)",
|
427
|
+
"4dp": "0px 4px 8px rgba(90, 91, 106, 0.20), 0px 2px 4px rgba(58, 58, 68, 0.20)",
|
428
|
+
"2dp": "0px 2px 4px rgba(90, 91, 106, 0.24), 0px 1px 2px rgba(58, 58, 68, 0.24)"
|
429
|
+
},
|
430
|
+
spacing: {
|
431
|
+
layout01: {
|
432
|
+
px: 16,
|
433
|
+
rem: 1
|
434
|
+
},
|
435
|
+
layout02: {
|
436
|
+
px: 24,
|
437
|
+
rem: 1.5
|
438
|
+
},
|
439
|
+
layout03: {
|
440
|
+
px: 32,
|
441
|
+
rem: 2
|
442
|
+
},
|
443
|
+
layout04: {
|
444
|
+
px: 48,
|
445
|
+
rem: 3
|
446
|
+
},
|
447
|
+
layout05: {
|
448
|
+
px: 64,
|
449
|
+
rem: 4
|
450
|
+
},
|
451
|
+
layout06: {
|
452
|
+
px: 96,
|
453
|
+
rem: 6
|
454
|
+
},
|
455
|
+
layout07: {
|
456
|
+
px: 160,
|
457
|
+
rem: 10
|
458
|
+
},
|
459
|
+
spacing01: {
|
460
|
+
px: 2,
|
461
|
+
rem: 0.125
|
462
|
+
},
|
463
|
+
spacing02: {
|
464
|
+
px: 4,
|
465
|
+
rem: 0.25
|
466
|
+
},
|
467
|
+
spacing03: {
|
468
|
+
px: 8,
|
469
|
+
rem: 0.5
|
470
|
+
},
|
471
|
+
spacing04: {
|
472
|
+
px: 12,
|
473
|
+
rem: 0.75
|
474
|
+
},
|
475
|
+
spacing05: {
|
476
|
+
px: 16,
|
477
|
+
rem: 1
|
478
|
+
},
|
479
|
+
spacing06: {
|
480
|
+
px: 24,
|
481
|
+
rem: 1.5
|
482
|
+
},
|
483
|
+
spacing07: {
|
484
|
+
px: 32,
|
485
|
+
rem: 2
|
486
|
+
},
|
487
|
+
spacing08: {
|
488
|
+
px: 40,
|
489
|
+
rem: 2.5
|
490
|
+
},
|
491
|
+
spacing09: {
|
492
|
+
px: 48,
|
493
|
+
rem: 3
|
494
|
+
}
|
495
|
+
}
|
496
|
+
},
|
497
|
+
aiven: {
|
498
|
+
colors: {
|
499
|
+
"error-100": "#aa0000",
|
500
|
+
"error-90": "#b90000",
|
501
|
+
"error-80": "#c50001",
|
502
|
+
"error-70": "#d80005",
|
503
|
+
"error-60": "#e70000",
|
504
|
+
"error-50": "#e62728",
|
505
|
+
"error-40": "#e0504f",
|
506
|
+
"error-30": "#ed7975",
|
507
|
+
"error-20": "#ffadb3",
|
508
|
+
"error-10": "#ffcbd2",
|
509
|
+
"error-5": "#fee8e7",
|
510
|
+
"error-0": "#fef2f1",
|
511
|
+
"warning-100": "#fe6d00",
|
512
|
+
"warning-90": "#ff9003",
|
513
|
+
"warning-80": "#fd9f00",
|
514
|
+
"warning-70": "#ffb300",
|
515
|
+
"warning-60": "#ffc107",
|
516
|
+
"warning-50": "#fdc926",
|
517
|
+
"warning-40": "#fdd44d",
|
518
|
+
"warning-30": "#fddf81",
|
519
|
+
"warning-20": "#feebb2",
|
520
|
+
"warning-10": "#fff2cd",
|
521
|
+
"warning-5": "#fff8ea",
|
522
|
+
"warning-0": "#fffdf9",
|
523
|
+
"success-100": "#006f00",
|
524
|
+
"success-90": "#008e00",
|
525
|
+
"success-80": "#009f00",
|
526
|
+
"success-70": "#00b300",
|
527
|
+
"success-60": "#00c300",
|
528
|
+
"success-50": "#40ce37",
|
529
|
+
"success-40": "#60db57",
|
530
|
+
"success-30": "#89eb80",
|
531
|
+
"success-20": "#afffa7",
|
532
|
+
"success-10": "#cbffc9",
|
533
|
+
"success-5": "#ecf7ed",
|
534
|
+
"success-0": "#f5faf5",
|
535
|
+
"info-100": "#02569a",
|
536
|
+
"info-90": "#0174ba",
|
537
|
+
"info-80": "#0788d1",
|
538
|
+
"info-70": "#0399e3",
|
539
|
+
"info-60": "#02a8f3",
|
540
|
+
"info-50": "#28b4f4",
|
541
|
+
"info-40": "#4cc2f7",
|
542
|
+
"info-30": "#7fd1f7",
|
543
|
+
"info-20": "#b4e5fb",
|
544
|
+
"info-10": "#e0f5fe",
|
545
|
+
"info-5": "#effaff",
|
546
|
+
"info-0": "#f9fdff",
|
547
|
+
"grey-100": "#19191d",
|
548
|
+
"grey-90": "#292a31",
|
549
|
+
"grey-80": "#3a3a44",
|
550
|
+
"grey-70": "#4a4b57",
|
551
|
+
"grey-60": "#5a5b6a",
|
552
|
+
"grey-50": "#787885",
|
553
|
+
"grey-40": "#9696a0",
|
554
|
+
"grey-30": "#b4b4bb",
|
555
|
+
"grey-10": "#e1e1e3",
|
556
|
+
"grey-5": "#ededf0",
|
557
|
+
"grey-0": "#f7f7fa",
|
558
|
+
"secondary-100": "#e11d16",
|
559
|
+
"secondary-90": "#eb4610",
|
560
|
+
"secondary-80": "#f3580d",
|
561
|
+
"secondary-70": "#f96a02",
|
562
|
+
"secondary-60": "#ff7700",
|
563
|
+
"secondary-50": "#fc871a",
|
564
|
+
"secondary-40": "#fb9a3e",
|
565
|
+
"secondary-30": "#fab26e",
|
566
|
+
"secondary-20": "#f8c99c",
|
567
|
+
"secondary-10": "#fee8d0",
|
568
|
+
"secondary-5": "#fff3e8",
|
569
|
+
"secondary-0": "#fffbf8",
|
570
|
+
"primary-100": "#a70045",
|
571
|
+
"primary-90": "#c60443",
|
572
|
+
"primary-80": "#e41a4a",
|
573
|
+
"primary-70": "#ff3554",
|
574
|
+
"primary-60": "#ff5275",
|
575
|
+
"primary-50": "#ff6f94",
|
576
|
+
"primary-40": "#ff8db0",
|
577
|
+
"primary-30": "#ffa9c9",
|
578
|
+
"primary-20": "#ffc4de",
|
579
|
+
"primary-10": "#ffdeef",
|
580
|
+
"primary-5": "#ffe8f4",
|
581
|
+
"primary-0": "#fff9fc",
|
582
|
+
"grey-20": "#d2d2d6"
|
583
|
+
},
|
584
|
+
typography: {
|
585
|
+
sizes: [
|
586
|
+
{
|
587
|
+
name: "caption-small",
|
588
|
+
className: "typography-caption-small",
|
589
|
+
style: {
|
590
|
+
fontFamily: "Inter",
|
591
|
+
fontSize: "10px",
|
592
|
+
fontWeight: 400,
|
593
|
+
fontStyle: "normal",
|
594
|
+
lineHeight: 1.2,
|
595
|
+
letterSpacing: 0,
|
596
|
+
textTransform: "none"
|
597
|
+
},
|
598
|
+
fontPostScriptName: null
|
599
|
+
},
|
600
|
+
{
|
601
|
+
name: "caption-default",
|
602
|
+
className: "typography-caption-default",
|
603
|
+
style: {
|
604
|
+
fontFamily: "Inter",
|
605
|
+
fontSize: "12px",
|
606
|
+
fontWeight: 400,
|
607
|
+
fontStyle: "normal",
|
608
|
+
lineHeight: 1.26,
|
609
|
+
letterSpacing: 0,
|
610
|
+
textTransform: "none"
|
611
|
+
},
|
612
|
+
fontPostScriptName: null
|
613
|
+
},
|
614
|
+
{
|
615
|
+
name: "overline-small",
|
616
|
+
className: "typography-overline-small",
|
617
|
+
style: {
|
618
|
+
fontFamily: "Inter",
|
619
|
+
fontSize: "10px",
|
620
|
+
fontWeight: 400,
|
621
|
+
fontStyle: "normal",
|
622
|
+
lineHeight: 1,
|
623
|
+
letterSpacing: 0,
|
624
|
+
textTransform: "uppercase"
|
625
|
+
},
|
626
|
+
fontPostScriptName: null
|
627
|
+
},
|
628
|
+
{
|
629
|
+
name: "overline-default",
|
630
|
+
className: "typography-overline-default",
|
631
|
+
style: {
|
632
|
+
fontFamily: "Inter",
|
633
|
+
fontSize: "12px",
|
634
|
+
fontWeight: 400,
|
635
|
+
fontStyle: "normal",
|
636
|
+
lineHeight: 1,
|
637
|
+
letterSpacing: 0,
|
638
|
+
textTransform: "uppercase"
|
639
|
+
},
|
640
|
+
fontPostScriptName: null
|
641
|
+
},
|
642
|
+
{
|
643
|
+
name: "button-small",
|
644
|
+
className: "typography-button-small",
|
645
|
+
style: {
|
646
|
+
fontFamily: "Inter",
|
647
|
+
fontSize: "12px",
|
648
|
+
fontWeight: 500,
|
649
|
+
fontStyle: "normal",
|
650
|
+
lineHeight: 1,
|
651
|
+
letterSpacing: 0,
|
652
|
+
textTransform: "none"
|
653
|
+
},
|
654
|
+
fontPostScriptName: "Inter-Medium"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
name: "button-medium",
|
658
|
+
className: "typography-button-medium",
|
659
|
+
style: {
|
660
|
+
fontFamily: "Inter",
|
661
|
+
fontSize: "14px",
|
662
|
+
fontWeight: 400,
|
663
|
+
fontStyle: "normal",
|
664
|
+
lineHeight: 1,
|
665
|
+
letterSpacing: 0,
|
666
|
+
textTransform: "none"
|
667
|
+
},
|
668
|
+
fontPostScriptName: "Inter-SemiBold"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
name: "button-large",
|
672
|
+
className: "typography-button-large",
|
673
|
+
style: {
|
674
|
+
fontFamily: "Inter",
|
675
|
+
fontSize: "16px",
|
676
|
+
fontWeight: 500,
|
677
|
+
fontStyle: "normal",
|
678
|
+
lineHeight: 1.5,
|
679
|
+
letterSpacing: 0,
|
680
|
+
textTransform: "none"
|
681
|
+
},
|
682
|
+
fontPostScriptName: "Inter-Medium"
|
683
|
+
},
|
684
|
+
{
|
685
|
+
name: "body-small",
|
686
|
+
className: "typography-body-small",
|
687
|
+
style: {
|
688
|
+
fontFamily: "Inter",
|
689
|
+
fontSize: "14px",
|
690
|
+
fontWeight: 400,
|
691
|
+
fontStyle: "normal",
|
692
|
+
lineHeight: 1.43,
|
693
|
+
letterSpacing: 0,
|
694
|
+
textTransform: "none"
|
695
|
+
},
|
696
|
+
fontPostScriptName: null
|
697
|
+
},
|
698
|
+
{
|
699
|
+
name: "body-small-medium",
|
700
|
+
className: "typography-body-small-medium",
|
701
|
+
style: {
|
702
|
+
fontFamily: "Inter",
|
703
|
+
fontSize: "14px",
|
704
|
+
fontWeight: 500,
|
705
|
+
fontStyle: "normal",
|
706
|
+
lineHeight: 1.43,
|
707
|
+
letterSpacing: 0,
|
708
|
+
textTransform: "none"
|
709
|
+
},
|
710
|
+
fontPostScriptName: "Inter-SemiBold"
|
711
|
+
},
|
712
|
+
{
|
713
|
+
name: "body-default",
|
714
|
+
className: "typography-body-default",
|
715
|
+
style: {
|
716
|
+
fontFamily: "Inter",
|
717
|
+
fontSize: "16px",
|
718
|
+
fontWeight: 400,
|
719
|
+
fontStyle: "normal",
|
720
|
+
lineHeight: 1.5,
|
721
|
+
letterSpacing: 0,
|
722
|
+
textTransform: "none"
|
723
|
+
},
|
724
|
+
fontPostScriptName: null
|
725
|
+
},
|
726
|
+
{
|
727
|
+
name: "body-default-medium",
|
728
|
+
className: "typography-body-default-medium",
|
729
|
+
style: {
|
730
|
+
fontFamily: "Inter",
|
731
|
+
fontSize: "16px",
|
732
|
+
fontWeight: 500,
|
733
|
+
fontStyle: "normal",
|
734
|
+
lineHeight: 1.5,
|
735
|
+
letterSpacing: 0,
|
736
|
+
textTransform: "none"
|
737
|
+
},
|
738
|
+
fontPostScriptName: "Inter-SemiBold"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
name: "body-large",
|
742
|
+
className: "typography-body-large",
|
743
|
+
style: {
|
744
|
+
fontFamily: "Inter",
|
745
|
+
fontSize: "20px",
|
746
|
+
fontWeight: 400,
|
747
|
+
fontStyle: "normal",
|
748
|
+
lineHeight: 1.58,
|
749
|
+
letterSpacing: 0,
|
750
|
+
textTransform: "none"
|
751
|
+
},
|
752
|
+
fontPostScriptName: null
|
753
|
+
},
|
754
|
+
{
|
755
|
+
name: "body-large-medium",
|
756
|
+
className: "typography-body-large-medium",
|
757
|
+
style: {
|
758
|
+
fontFamily: "Inter",
|
759
|
+
fontSize: "20px",
|
760
|
+
fontWeight: 400,
|
761
|
+
fontStyle: "normal",
|
762
|
+
lineHeight: 1.2,
|
763
|
+
letterSpacing: 0,
|
764
|
+
textTransform: "none"
|
765
|
+
},
|
766
|
+
fontPostScriptName: "Inter-SemiBold"
|
767
|
+
},
|
768
|
+
{
|
769
|
+
name: "heading-large",
|
770
|
+
className: "typography-heading-large",
|
771
|
+
style: {
|
772
|
+
fontFamily: "Inter",
|
773
|
+
fontSize: "20px",
|
774
|
+
fontWeight: 700,
|
775
|
+
fontStyle: "normal",
|
776
|
+
lineHeight: 1.5,
|
777
|
+
letterSpacing: 0.15,
|
778
|
+
textTransform: "none"
|
779
|
+
},
|
780
|
+
fontPostScriptName: "Inter-Bold"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
name: "heading-xl",
|
784
|
+
className: "typography-heading-xl",
|
785
|
+
style: {
|
786
|
+
fontFamily: "Inter",
|
787
|
+
fontSize: "24px",
|
788
|
+
fontWeight: 700,
|
789
|
+
fontStyle: "normal",
|
790
|
+
lineHeight: 1.5,
|
791
|
+
letterSpacing: 0,
|
792
|
+
textTransform: "none"
|
793
|
+
},
|
794
|
+
fontPostScriptName: "Inter-Bold"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
name: "heading-2xl",
|
798
|
+
className: "typography-heading-2xl",
|
799
|
+
style: {
|
800
|
+
fontFamily: "Inter",
|
801
|
+
fontSize: "34px",
|
802
|
+
fontWeight: 700,
|
803
|
+
fontStyle: "normal",
|
804
|
+
lineHeight: 1.28,
|
805
|
+
letterSpacing: 0,
|
806
|
+
textTransform: "none"
|
807
|
+
},
|
808
|
+
fontPostScriptName: "Inter-Bold"
|
809
|
+
},
|
810
|
+
{
|
811
|
+
name: "heading-3xl",
|
812
|
+
className: "typography-heading-3xl",
|
813
|
+
style: {
|
814
|
+
fontFamily: "Inter",
|
815
|
+
fontSize: "48px",
|
816
|
+
fontWeight: 700,
|
817
|
+
fontStyle: "normal",
|
818
|
+
lineHeight: 1.24,
|
819
|
+
letterSpacing: -0.48,
|
820
|
+
textTransform: "none"
|
821
|
+
},
|
822
|
+
fontPostScriptName: "Inter-Bold"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
name: "heading-4xl",
|
826
|
+
className: "typography-heading-4xl",
|
827
|
+
style: {
|
828
|
+
fontFamily: "Inter",
|
829
|
+
fontSize: "60px",
|
830
|
+
fontWeight: 700,
|
831
|
+
fontStyle: "normal",
|
832
|
+
lineHeight: 1.2,
|
833
|
+
letterSpacing: -1.5,
|
834
|
+
textTransform: "none"
|
835
|
+
},
|
836
|
+
fontPostScriptName: "Inter-Bold"
|
837
|
+
},
|
838
|
+
{
|
839
|
+
name: "heading-5xl",
|
840
|
+
className: "typography-heading-5xl",
|
841
|
+
style: {
|
842
|
+
fontFamily: "Inter",
|
843
|
+
fontSize: "76px",
|
844
|
+
fontWeight: 700,
|
845
|
+
fontStyle: "normal",
|
846
|
+
lineHeight: 1.2,
|
847
|
+
letterSpacing: -1.98,
|
848
|
+
textTransform: "none"
|
849
|
+
},
|
850
|
+
fontPostScriptName: "Inter-Bold"
|
851
|
+
}
|
852
|
+
]
|
853
|
+
},
|
854
|
+
elevations: {
|
855
|
+
"24dp": "0px 24px 48px rgba(90, 91, 106, 0.08), 0px 12px 24px rgba(58, 58, 68, 0.08)",
|
856
|
+
"16dp": "0px 16px 32px rgba(90, 91, 106, 0.12), 0px 8px 16px rgba(58, 58, 68, 0.12)",
|
857
|
+
"8dp": "0px 8px 16px rgba(90, 91, 106, 0.16), 0px 4px 8px rgba(58, 58, 68, 0.16)",
|
858
|
+
"4dp": "0px 4px 8px rgba(90, 91, 106, 0.20), 0px 2px 4px rgba(58, 58, 68, 0.20)",
|
859
|
+
"2dp": "0px 2px 4px rgba(90, 91, 106, 0.24), 0px 1px 2px rgba(58, 58, 68, 0.24)"
|
860
|
+
},
|
861
|
+
spacing: {
|
862
|
+
layout01: {
|
863
|
+
px: 16,
|
864
|
+
rem: 1
|
865
|
+
},
|
866
|
+
layout02: {
|
867
|
+
px: 24,
|
868
|
+
rem: 1.5
|
869
|
+
},
|
870
|
+
layout03: {
|
871
|
+
px: 32,
|
872
|
+
rem: 2
|
873
|
+
},
|
874
|
+
layout04: {
|
875
|
+
px: 48,
|
876
|
+
rem: 3
|
877
|
+
},
|
878
|
+
layout05: {
|
879
|
+
px: 64,
|
880
|
+
rem: 4
|
881
|
+
},
|
882
|
+
layout06: {
|
883
|
+
px: 96,
|
884
|
+
rem: 6
|
885
|
+
},
|
886
|
+
layout07: {
|
887
|
+
px: 160,
|
888
|
+
rem: 10
|
889
|
+
},
|
890
|
+
spacing01: {
|
891
|
+
px: 2,
|
892
|
+
rem: 0.125
|
893
|
+
},
|
894
|
+
spacing02: {
|
895
|
+
px: 4,
|
896
|
+
rem: 0.25
|
897
|
+
},
|
898
|
+
spacing03: {
|
899
|
+
px: 8,
|
900
|
+
rem: 0.5
|
901
|
+
},
|
902
|
+
spacing04: {
|
903
|
+
px: 12,
|
904
|
+
rem: 0.75
|
905
|
+
},
|
906
|
+
spacing05: {
|
907
|
+
px: 16,
|
908
|
+
rem: 1
|
909
|
+
},
|
910
|
+
spacing06: {
|
911
|
+
px: 24,
|
912
|
+
rem: 1.5
|
913
|
+
},
|
914
|
+
spacing07: {
|
915
|
+
px: 32,
|
916
|
+
rem: 2
|
917
|
+
},
|
918
|
+
spacing08: {
|
919
|
+
px: 40,
|
920
|
+
rem: 2.5
|
921
|
+
},
|
922
|
+
spacing09: {
|
923
|
+
px: 48,
|
924
|
+
rem: 3
|
925
|
+
}
|
926
|
+
}
|
927
|
+
}
|
928
|
+
}
|
929
|
+
};
|
930
|
+
}
|
931
|
+
});
|
932
|
+
|
933
|
+
// src/js/resolveTheme.js
|
934
|
+
var require_resolveTheme = __commonJS({
|
935
|
+
"src/js/resolveTheme.js"(exports, module2) {
|
936
|
+
"use strict";
|
937
|
+
var tokensJson = require_tokens();
|
938
|
+
var themeName = process.env.THEME || process.env.STORYBOOK_THEME || "aiven";
|
939
|
+
if (!(themeName in tokensJson.themes)) {
|
940
|
+
throw new Error(`Could not find theme '${themeName}' from tokens.json`);
|
941
|
+
}
|
942
|
+
module2.exports = {
|
943
|
+
theme: tokensJson.themes[themeName]
|
944
|
+
};
|
945
|
+
}
|
946
|
+
});
|
947
|
+
|
948
|
+
// src/icons/confirm.js
|
949
|
+
var require_confirm = __commonJS({
|
950
|
+
"src/icons/confirm.js"(exports) {
|
951
|
+
"use strict";
|
952
|
+
var data = {
|
953
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M9.71 5.29a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29.28 0 .53-.11.71-.29l7-7a1.003 1.003 0 00-1.42-1.42L12 7.59l-2.29-2.3Zm7.93 2.32c.23.75.36 1.56.36 2.39 0 4.42-3.58 8-8 8s-8-3.58-8-8a7.998 7.998 0 0111.8-7.04l1.46-1.46C13.73.56 11.93 0 10 0 4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10c0-1.4-.29-2.73-.81-3.95l-1.55 1.56Z" clip-rule="evenodd"/>',
|
954
|
+
"left": 0,
|
955
|
+
"top": 0,
|
956
|
+
"width": 20,
|
957
|
+
"height": 20
|
958
|
+
};
|
959
|
+
exports.__esModule = true;
|
960
|
+
exports.default = data;
|
961
|
+
}
|
962
|
+
});
|
963
|
+
|
964
|
+
// src/icons/warningSign.js
|
965
|
+
var require_warningSign = __commonJS({
|
966
|
+
"src/icons/warningSign.js"(exports) {
|
967
|
+
"use strict";
|
968
|
+
var data = {
|
969
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="m19.86 17.52.01-.01-9-16-.01.01A.982.982 0 0010 1c-.37 0-.69.21-.86.52l-.01-.01-9 16 .01.01c-.08.14-.14.3-.14.48 0 .55.45 1 1 1h18c.55 0 1-.45 1-1 0-.18-.06-.34-.14-.48ZM11 17H9v-2h2v2Zm0-3H9V6h2v8Z" clip-rule="evenodd"/>',
|
970
|
+
"left": 0,
|
971
|
+
"top": 0,
|
972
|
+
"width": 20,
|
973
|
+
"height": 20
|
974
|
+
};
|
975
|
+
exports.__esModule = true;
|
976
|
+
exports.default = data;
|
977
|
+
}
|
978
|
+
});
|
979
|
+
|
980
|
+
// src/icons/error.js
|
981
|
+
var require_error = __commonJS({
|
982
|
+
"src/icons/error.js"(exports) {
|
983
|
+
"use strict";
|
984
|
+
var data = {
|
985
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0Zm1 16H9v-2h2v2Zm0-3H9V4h2v9Z" clip-rule="evenodd"/>',
|
986
|
+
"left": 0,
|
987
|
+
"top": 0,
|
988
|
+
"width": 20,
|
989
|
+
"height": 20
|
990
|
+
};
|
991
|
+
exports.__esModule = true;
|
992
|
+
exports.default = data;
|
993
|
+
}
|
994
|
+
});
|
995
|
+
|
996
|
+
// src/icons/infoSign.js
|
997
|
+
var require_infoSign = __commonJS({
|
998
|
+
"src/icons/infoSign.js"(exports) {
|
999
|
+
"use strict";
|
1000
|
+
var data = {
|
1001
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M10 0C4.48 0 0 4.48 0 10s4.48 10 10 10 10-4.48 10-10S15.52 0 10 0ZM9 4h2v2H9V4Zm4 12H7v-1h2V8H8V7h3v8h2v1Z" clip-rule="evenodd"/>',
|
1002
|
+
"left": 0,
|
1003
|
+
"top": 0,
|
1004
|
+
"width": 20,
|
1005
|
+
"height": 20
|
1006
|
+
};
|
1007
|
+
exports.__esModule = true;
|
1008
|
+
exports.default = data;
|
1009
|
+
}
|
1010
|
+
});
|
1011
|
+
|
1012
|
+
// src/icons/cross.js
|
1013
|
+
var require_cross = __commonJS({
|
1014
|
+
"src/icons/cross.js"(exports) {
|
1015
|
+
"use strict";
|
1016
|
+
var data = {
|
1017
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="m11.41 10 4.29-4.29c.19-.18.3-.43.3-.71a1.003 1.003 0 00-1.71-.71L10 8.59l-4.29-4.3a1.003 1.003 0 00-1.42 1.42L8.59 10 4.3 14.29c-.19.18-.3.43-.3.71a1.003 1.003 0 001.71.71l4.29-4.3 4.29 4.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71L11.41 10Z" clip-rule="evenodd"/>',
|
1018
|
+
"left": 0,
|
1019
|
+
"top": 0,
|
1020
|
+
"width": 20,
|
1021
|
+
"height": 20
|
1022
|
+
};
|
1023
|
+
exports.__esModule = true;
|
1024
|
+
exports.default = data;
|
1025
|
+
}
|
1026
|
+
});
|
1027
|
+
|
1028
|
+
// src/icons/tick.js
|
1029
|
+
var require_tick = __commonJS({
|
1030
|
+
"src/icons/tick.js"(exports) {
|
1031
|
+
"use strict";
|
1032
|
+
var data = {
|
1033
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M17 4c-.28 0-.53.11-.71.29L7 13.59 3.71 10.3A.965.965 0 003 10a1.003 1.003 0 00-.71 1.71l4 4c.18.18.43.29.71.29.28 0 .53-.11.71-.29l10-10A1.003 1.003 0 0017 4Z" clip-rule="evenodd"/>',
|
1034
|
+
"left": 0,
|
1035
|
+
"top": 0,
|
1036
|
+
"width": 20,
|
1037
|
+
"height": 20
|
1038
|
+
};
|
1039
|
+
exports.__esModule = true;
|
1040
|
+
exports.default = data;
|
1041
|
+
}
|
1042
|
+
});
|
1043
|
+
|
1044
|
+
// src/icons/minus.js
|
1045
|
+
var require_minus = __commonJS({
|
1046
|
+
"src/icons/minus.js"(exports) {
|
1047
|
+
"use strict";
|
1048
|
+
var data = {
|
1049
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="M16 9H4c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1Z" clip-rule="evenodd"/>',
|
1050
|
+
"left": 0,
|
1051
|
+
"top": 0,
|
1052
|
+
"width": 20,
|
1053
|
+
"height": 20
|
1054
|
+
};
|
1055
|
+
exports.__esModule = true;
|
1056
|
+
exports.default = data;
|
1057
|
+
}
|
1058
|
+
});
|
1059
|
+
|
1060
|
+
// src/icons/chevronUp.js
|
1061
|
+
var require_chevronUp = __commonJS({
|
1062
|
+
"src/icons/chevronUp.js"(exports) {
|
1063
|
+
"use strict";
|
1064
|
+
var data = {
|
1065
|
+
"body": '<path fill="currentColor" fill-rule="evenodd" d="m16.71 12.29-6-6A.997.997 0 0010 6c-.28 0-.53.11-.71.29l-6 6a1.003 1.003 0 001.42 1.42L10 8.41l5.29 5.29c.18.19.43.3.71.3a1.003 1.003 0 00.71-1.71Z" clip-rule="evenodd"/>',
|
1066
|
+
"left": 0,
|
1067
|
+
"top": 0,
|
1068
|
+
"width": 20,
|
1069
|
+
"height": 20
|
1070
|
+
};
|
1071
|
+
exports.__esModule = true;
|
1072
|
+
exports.default = data;
|
1073
|
+
}
|
1074
|
+
});
|
1075
|
+
|
1076
|
+
// src/icons/search.js
|
1077
|
+
var require_search = __commonJS({
|
1078
|
+
"src/icons/search.js"(exports) {
|
1079
|
+
"use strict";
|
1080
|
+
var data = {
|
1081
|
+
"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 6Z" clip-rule="evenodd"/>',
|
1082
|
+
"left": 0,
|
1083
|
+
"top": 0,
|
1084
|
+
"width": 20,
|
1085
|
+
"height": 20
|
1086
|
+
};
|
1087
|
+
exports.__esModule = true;
|
1088
|
+
exports.default = data;
|
1089
|
+
}
|
1090
|
+
});
|
1091
|
+
|
1092
|
+
// src/common/index.ts
|
1093
|
+
var common_exports = {};
|
1094
|
+
__export(common_exports, {
|
1095
|
+
Alert: () => Alert,
|
1096
|
+
Checkbox: () => Checkbox,
|
1097
|
+
Chip: () => Chip,
|
1098
|
+
DIALOG_ICONS_AND_COLORS: () => DIALOG_ICONS_AND_COLORS,
|
1099
|
+
DropdownMenu: () => DropdownMenu,
|
1100
|
+
InputGroup: () => InputGroup,
|
1101
|
+
Modal: () => Modal,
|
1102
|
+
Popover: () => Popover,
|
1103
|
+
PopoverDialog: () => PopoverDialog,
|
1104
|
+
RadioButton: () => RadioButton,
|
1105
|
+
Select: () => Select,
|
1106
|
+
Table: () => Table,
|
1107
|
+
getHeadCellClassNames: () => getHeadCellClassNames,
|
1108
|
+
getOptionLabelBuiltin: () => getOptionLabelBuiltin,
|
1109
|
+
getValues: () => getValues,
|
1110
|
+
isOptionDisabledBuiltin: () => isOptionDisabledBuiltin
|
1111
|
+
});
|
1112
|
+
module.exports = __toCommonJS(common_exports);
|
1113
|
+
|
1114
|
+
// src/common/Alert/Alert.tsx
|
1115
|
+
var import_react12 = __toESM(require("react"));
|
1116
|
+
|
1117
|
+
// src/utils/tailwind.ts
|
1118
|
+
var import_classnames = __toESM(require("classnames"));
|
1119
|
+
function cleanClassNames(classNames2) {
|
1120
|
+
const tokens = classNames2.split(/\s+/);
|
1121
|
+
return tokens.filter((item) => item).join(" ");
|
1122
|
+
}
|
1123
|
+
function tw(classesOrModifiers1, classesOrModifiers2, classesOrModifiers3, classesOrModifiers4, classesOrModifiers5, classesOrModifiers6, classesOrModifiers7, classesOrModifiers8, classesOrModifiers9, classesOrModifiers10) {
|
1124
|
+
const result = (0, import_classnames.default)(
|
1125
|
+
classesOrModifiers1,
|
1126
|
+
classesOrModifiers2,
|
1127
|
+
classesOrModifiers3,
|
1128
|
+
classesOrModifiers4,
|
1129
|
+
classesOrModifiers5,
|
1130
|
+
classesOrModifiers6,
|
1131
|
+
classesOrModifiers7,
|
1132
|
+
classesOrModifiers8,
|
1133
|
+
classesOrModifiers9,
|
1134
|
+
classesOrModifiers10
|
1135
|
+
);
|
1136
|
+
return cleanClassNames(result);
|
1137
|
+
}
|
1138
|
+
var classNames = (...args) => {
|
1139
|
+
const result = (0, import_classnames.default)(...args);
|
1140
|
+
return cleanClassNames(result);
|
1141
|
+
};
|
1142
|
+
|
1143
|
+
// src/components/Button/Button.tsx
|
1144
|
+
var import_react10 = __toESM(require("react"));
|
1145
|
+
|
1146
|
+
// src/components/Icon/Icon.tsx
|
1147
|
+
var import_react = __toESM(require("react"));
|
1148
|
+
var import_react2 = require("@iconify/react");
|
1149
|
+
var Icon = import_react.default.forwardRef(({ color, className, ...rest }, ref) => {
|
1150
|
+
const classes = classNames(className, color && `text-${color}`);
|
1151
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react2.Icon, {
|
1152
|
+
ref: ref ?? void 0,
|
1153
|
+
className: classes !== "" ? classes : void 0,
|
1154
|
+
...rest
|
1155
|
+
});
|
1156
|
+
});
|
1157
|
+
var InlineIcon = import_react.default.forwardRef(({ color, className, ...rest }, ref) => {
|
1158
|
+
const classes = classNames(color && `text-${color}`);
|
1159
|
+
return /* @__PURE__ */ import_react.default.createElement("span", {
|
1160
|
+
className: classNames(tw("children:inline-block inline-flex justify-center items-center"), className)
|
1161
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_react2.InlineIcon, {
|
1162
|
+
ref: ref ?? void 0,
|
1163
|
+
className: classes !== "" ? classes : void 0,
|
1164
|
+
...rest
|
1165
|
+
}));
|
1166
|
+
});
|
1167
|
+
|
1168
|
+
// src/components/Flexbox/Flexbox.tsx
|
1169
|
+
var import_react7 = __toESM(require("react"));
|
1170
|
+
|
1171
|
+
// src/components/Tailwindify/Tailwindify.tsx
|
1172
|
+
var import_react6 = __toESM(require("react"));
|
1173
|
+
var import_get2 = __toESM(require("lodash/get"));
|
1174
|
+
var import_isUndefined4 = __toESM(require("lodash/isUndefined"));
|
1175
|
+
|
1176
|
+
// src/utils/useStyle.ts
|
1177
|
+
var import_react5 = require("react");
|
1178
|
+
var import_get = __toESM(require("lodash/get"));
|
1179
|
+
var import_isUndefined3 = __toESM(require("lodash/isUndefined"));
|
1180
|
+
var import_isPlainObject2 = __toESM(require("lodash/isPlainObject"));
|
1181
|
+
|
1182
|
+
// src/components/Context/Context.tsx
|
1183
|
+
var import_react4 = __toESM(require("react"));
|
1184
|
+
var import_overlays = require("@react-aria/overlays");
|
1185
|
+
|
1186
|
+
// src/utils/breakpoints.ts
|
1187
|
+
var import_isUndefined = __toESM(require("lodash/isUndefined"));
|
1188
|
+
var import_orderBy = __toESM(require("lodash/orderBy"));
|
1189
|
+
var import_isPlainObject = __toESM(require("lodash/isPlainObject"));
|
1190
|
+
|
1191
|
+
// tailwind.theme.json
|
1192
|
+
var tailwind_theme_default = {
|
1193
|
+
screens: {
|
1194
|
+
default: "0px",
|
1195
|
+
xs: "320px",
|
1196
|
+
sm: "672px",
|
1197
|
+
md: "1056px",
|
1198
|
+
lg: "1312px",
|
1199
|
+
xl: "1536px"
|
1200
|
+
},
|
1201
|
+
order: {
|
1202
|
+
"1": "1",
|
1203
|
+
"2": "2",
|
1204
|
+
"3": "3",
|
1205
|
+
"4": "4",
|
1206
|
+
"5": "5",
|
1207
|
+
"6": "6",
|
1208
|
+
"7": "7",
|
1209
|
+
"8": "8",
|
1210
|
+
"9": "9",
|
1211
|
+
"10": "10",
|
1212
|
+
"11": "11",
|
1213
|
+
"12": "12",
|
1214
|
+
first: "-9999",
|
1215
|
+
last: "9999",
|
1216
|
+
none: "0"
|
1217
|
+
},
|
1218
|
+
spacing: {
|
1219
|
+
"0": "0",
|
1220
|
+
"1": "2px",
|
1221
|
+
"2": "4px",
|
1222
|
+
"3": "8px",
|
1223
|
+
"4": "12px",
|
1224
|
+
"5": "16px",
|
1225
|
+
"6": "24px",
|
1226
|
+
"7": "32px",
|
1227
|
+
"8": "40px",
|
1228
|
+
"9": "48px",
|
1229
|
+
"1px": "1px",
|
1230
|
+
l1: "16px",
|
1231
|
+
l2: "24px",
|
1232
|
+
l3: "32px",
|
1233
|
+
l4: "48px",
|
1234
|
+
l5: "64px",
|
1235
|
+
l6: "96px",
|
1236
|
+
l7: "160px"
|
1237
|
+
},
|
1238
|
+
margin: {
|
1239
|
+
"0": "0",
|
1240
|
+
"1": "2px",
|
1241
|
+
"2": "4px",
|
1242
|
+
"3": "8px",
|
1243
|
+
"4": "12px",
|
1244
|
+
"5": "16px",
|
1245
|
+
"6": "24px",
|
1246
|
+
"7": "32px",
|
1247
|
+
"8": "40px",
|
1248
|
+
"9": "48px",
|
1249
|
+
"1px": "1px",
|
1250
|
+
l1: "16px",
|
1251
|
+
l2: "24px",
|
1252
|
+
l3: "32px",
|
1253
|
+
l4: "48px",
|
1254
|
+
l5: "64px",
|
1255
|
+
l6: "96px",
|
1256
|
+
l7: "160px",
|
1257
|
+
auto: "auto",
|
1258
|
+
"-1": "-2px",
|
1259
|
+
"-2": "-4px",
|
1260
|
+
"-3": "-8px",
|
1261
|
+
"-4": "-12px",
|
1262
|
+
"-5": "-16px",
|
1263
|
+
"-6": "-24px",
|
1264
|
+
"-7": "-32px",
|
1265
|
+
"-8": "-40px",
|
1266
|
+
"-9": "-48px",
|
1267
|
+
"-1px": "-1px",
|
1268
|
+
"-l1": "-16px",
|
1269
|
+
"-l2": "-24px",
|
1270
|
+
"-l3": "-32px",
|
1271
|
+
"-l4": "-48px",
|
1272
|
+
"-l5": "-64px",
|
1273
|
+
"-l6": "-96px",
|
1274
|
+
"-l7": "-160px"
|
1275
|
+
},
|
1276
|
+
padding: {
|
1277
|
+
"0": "0",
|
1278
|
+
"1": "2px",
|
1279
|
+
"2": "4px",
|
1280
|
+
"3": "8px",
|
1281
|
+
"4": "12px",
|
1282
|
+
"5": "16px",
|
1283
|
+
"6": "24px",
|
1284
|
+
"7": "32px",
|
1285
|
+
"8": "40px",
|
1286
|
+
"9": "48px",
|
1287
|
+
"1px": "1px",
|
1288
|
+
l1: "16px",
|
1289
|
+
l2: "24px",
|
1290
|
+
l3: "32px",
|
1291
|
+
l4: "48px",
|
1292
|
+
l5: "64px",
|
1293
|
+
l6: "96px",
|
1294
|
+
l7: "160px"
|
1295
|
+
},
|
1296
|
+
width: {
|
1297
|
+
"0": "0",
|
1298
|
+
"1": "2px",
|
1299
|
+
"2": "4px",
|
1300
|
+
"3": "8px",
|
1301
|
+
"4": "12px",
|
1302
|
+
"5": "16px",
|
1303
|
+
"6": "24px",
|
1304
|
+
"7": "32px",
|
1305
|
+
"8": "40px",
|
1306
|
+
"9": "48px",
|
1307
|
+
auto: "auto",
|
1308
|
+
"1px": "1px",
|
1309
|
+
l1: "16px",
|
1310
|
+
l2: "24px",
|
1311
|
+
l3: "32px",
|
1312
|
+
l4: "48px",
|
1313
|
+
l5: "64px",
|
1314
|
+
l6: "96px",
|
1315
|
+
l7: "160px",
|
1316
|
+
"1/2": "50%",
|
1317
|
+
"1/3": "33.333333%",
|
1318
|
+
"2/3": "66.666667%",
|
1319
|
+
"1/4": "25%",
|
1320
|
+
"2/4": "50%",
|
1321
|
+
"3/4": "75%",
|
1322
|
+
"1/5": "20%",
|
1323
|
+
"2/5": "40%",
|
1324
|
+
"3/5": "60%",
|
1325
|
+
"4/5": "80%",
|
1326
|
+
"1/6": "16.666667%",
|
1327
|
+
"2/6": "33.333333%",
|
1328
|
+
"3/6": "50%",
|
1329
|
+
"4/6": "66.666667%",
|
1330
|
+
"5/6": "83.333333%",
|
1331
|
+
"1/12": "8.333333%",
|
1332
|
+
"2/12": "16.666667%",
|
1333
|
+
"3/12": "25%",
|
1334
|
+
"4/12": "33.333333%",
|
1335
|
+
"5/12": "41.666667%",
|
1336
|
+
"6/12": "50%",
|
1337
|
+
"7/12": "58.333333%",
|
1338
|
+
"8/12": "66.666667%",
|
1339
|
+
"9/12": "75%",
|
1340
|
+
"10/12": "83.333333%",
|
1341
|
+
"11/12": "91.666667%",
|
1342
|
+
full: "100%",
|
1343
|
+
screen: "100vw",
|
1344
|
+
min: "min-content",
|
1345
|
+
max: "max-content",
|
1346
|
+
fit: "fit-content"
|
1347
|
+
},
|
1348
|
+
height: {
|
1349
|
+
"0": "0",
|
1350
|
+
"1": "2px",
|
1351
|
+
"2": "4px",
|
1352
|
+
"3": "8px",
|
1353
|
+
"4": "12px",
|
1354
|
+
"5": "16px",
|
1355
|
+
"6": "24px",
|
1356
|
+
"7": "32px",
|
1357
|
+
"8": "40px",
|
1358
|
+
"9": "48px",
|
1359
|
+
auto: "auto",
|
1360
|
+
"1px": "1px",
|
1361
|
+
l1: "16px",
|
1362
|
+
l2: "24px",
|
1363
|
+
l3: "32px",
|
1364
|
+
l4: "48px",
|
1365
|
+
l5: "64px",
|
1366
|
+
l6: "96px",
|
1367
|
+
l7: "160px",
|
1368
|
+
"1/2": "50%",
|
1369
|
+
"1/3": "33.333333%",
|
1370
|
+
"2/3": "66.666667%",
|
1371
|
+
"1/4": "25%",
|
1372
|
+
"2/4": "50%",
|
1373
|
+
"3/4": "75%",
|
1374
|
+
"1/5": "20%",
|
1375
|
+
"2/5": "40%",
|
1376
|
+
"3/5": "60%",
|
1377
|
+
"4/5": "80%",
|
1378
|
+
"1/6": "16.666667%",
|
1379
|
+
"2/6": "33.333333%",
|
1380
|
+
"3/6": "50%",
|
1381
|
+
"4/6": "66.666667%",
|
1382
|
+
"5/6": "83.333333%",
|
1383
|
+
full: "100%",
|
1384
|
+
screen: "100vh",
|
1385
|
+
min: "min-content",
|
1386
|
+
max: "max-content",
|
1387
|
+
fit: "fit-content"
|
1388
|
+
},
|
1389
|
+
maxWidth: {
|
1390
|
+
"0": "0rem",
|
1391
|
+
none: "none",
|
1392
|
+
xs: "20rem",
|
1393
|
+
sm: "24rem",
|
1394
|
+
md: "28rem",
|
1395
|
+
lg: "32rem",
|
1396
|
+
xl: "36rem",
|
1397
|
+
"2xl": "42rem",
|
1398
|
+
"3xl": "48rem",
|
1399
|
+
"4xl": "56rem",
|
1400
|
+
"5xl": "64rem",
|
1401
|
+
"6xl": "72rem",
|
1402
|
+
"7xl": "80rem",
|
1403
|
+
full: "100%",
|
1404
|
+
min: "min-content",
|
1405
|
+
max: "max-content",
|
1406
|
+
fit: "fit-content",
|
1407
|
+
prose: "65ch",
|
1408
|
+
"screen-default": "0px",
|
1409
|
+
"screen-xs": "320px",
|
1410
|
+
"screen-sm": "672px",
|
1411
|
+
"screen-md": "1056px",
|
1412
|
+
"screen-lg": "1312px",
|
1413
|
+
"screen-xl": "1536px"
|
1414
|
+
},
|
1415
|
+
maxHeight: {
|
1416
|
+
"0": "0",
|
1417
|
+
"1": "2px",
|
1418
|
+
"2": "4px",
|
1419
|
+
"3": "8px",
|
1420
|
+
"4": "12px",
|
1421
|
+
"5": "16px",
|
1422
|
+
"6": "24px",
|
1423
|
+
"7": "32px",
|
1424
|
+
"8": "40px",
|
1425
|
+
"9": "48px",
|
1426
|
+
"1px": "1px",
|
1427
|
+
l1: "16px",
|
1428
|
+
l2: "24px",
|
1429
|
+
l3: "32px",
|
1430
|
+
l4: "48px",
|
1431
|
+
l5: "64px",
|
1432
|
+
l6: "96px",
|
1433
|
+
l7: "160px",
|
1434
|
+
full: "100%",
|
1435
|
+
screen: "100vh",
|
1436
|
+
min: "min-content",
|
1437
|
+
max: "max-content",
|
1438
|
+
fit: "fit-content"
|
1439
|
+
},
|
1440
|
+
minWidth: {
|
1441
|
+
"0": "0px",
|
1442
|
+
full: "100%",
|
1443
|
+
min: "min-content",
|
1444
|
+
max: "max-content",
|
1445
|
+
fit: "fit-content"
|
1446
|
+
},
|
1447
|
+
minHeight: {
|
1448
|
+
"0": "0px",
|
1449
|
+
full: "100%",
|
1450
|
+
screen: "100vh",
|
1451
|
+
min: "min-content",
|
1452
|
+
max: "max-content",
|
1453
|
+
fit: "fit-content"
|
1454
|
+
},
|
1455
|
+
flex: {
|
1456
|
+
"1": "1 1 0%",
|
1457
|
+
auto: "1 1 auto",
|
1458
|
+
initial: "0 1 auto",
|
1459
|
+
none: "none"
|
1460
|
+
},
|
1461
|
+
flexGrow: { "0": "0", DEFAULT: "1" },
|
1462
|
+
flexShrink: { "0": "0", DEFAULT: "1" },
|
1463
|
+
backgroundColor: {
|
1464
|
+
"error-100": "#aa0000",
|
1465
|
+
"error-90": "#b90000",
|
1466
|
+
"error-80": "#c50001",
|
1467
|
+
"error-70": "#d80005",
|
1468
|
+
"error-60": "#e70000",
|
1469
|
+
"error-50": "#e62728",
|
1470
|
+
"error-40": "#e0504f",
|
1471
|
+
"error-30": "#ed7975",
|
1472
|
+
"error-20": "#ffadb3",
|
1473
|
+
"error-10": "#ffcbd2",
|
1474
|
+
"error-5": "#fee8e7",
|
1475
|
+
"error-0": "#fef2f1",
|
1476
|
+
"warning-100": "#fe6d00",
|
1477
|
+
"warning-90": "#ff9003",
|
1478
|
+
"warning-80": "#fd9f00",
|
1479
|
+
"warning-70": "#ffb300",
|
1480
|
+
"warning-60": "#ffc107",
|
1481
|
+
"warning-50": "#fdc926",
|
1482
|
+
"warning-40": "#fdd44d",
|
1483
|
+
"warning-30": "#fddf81",
|
1484
|
+
"warning-20": "#feebb2",
|
1485
|
+
"warning-10": "#fff2cd",
|
1486
|
+
"warning-5": "#fff8ea",
|
1487
|
+
"warning-0": "#fffdf9",
|
1488
|
+
"success-100": "#006f00",
|
1489
|
+
"success-90": "#008e00",
|
1490
|
+
"success-80": "#009f00",
|
1491
|
+
"success-70": "#00b300",
|
1492
|
+
"success-60": "#00c300",
|
1493
|
+
"success-50": "#40ce37",
|
1494
|
+
"success-40": "#60db57",
|
1495
|
+
"success-30": "#89eb80",
|
1496
|
+
"success-20": "#afffa7",
|
1497
|
+
"success-10": "#cbffc9",
|
1498
|
+
"success-5": "#ecf7ed",
|
1499
|
+
"success-0": "#f5faf5",
|
1500
|
+
"info-100": "#02569a",
|
1501
|
+
"info-90": "#0174ba",
|
1502
|
+
"info-80": "#0788d1",
|
1503
|
+
"info-70": "#0399e3",
|
1504
|
+
"info-60": "#02a8f3",
|
1505
|
+
"info-50": "#28b4f4",
|
1506
|
+
"info-40": "#4cc2f7",
|
1507
|
+
"info-30": "#7fd1f7",
|
1508
|
+
"info-20": "#b4e5fb",
|
1509
|
+
"info-10": "#e0f5fe",
|
1510
|
+
"info-5": "#effaff",
|
1511
|
+
"info-0": "#f9fdff",
|
1512
|
+
"grey-100": "#19191d",
|
1513
|
+
"grey-90": "#292a31",
|
1514
|
+
"grey-80": "#3a3a44",
|
1515
|
+
"grey-70": "#4a4b57",
|
1516
|
+
"grey-60": "#5a5b6a",
|
1517
|
+
"grey-50": "#787885",
|
1518
|
+
"grey-40": "#9696a0",
|
1519
|
+
"grey-30": "#b4b4bb",
|
1520
|
+
"grey-10": "#e1e1e3",
|
1521
|
+
"grey-5": "#ededf0",
|
1522
|
+
"grey-0": "#f7f7fa",
|
1523
|
+
"secondary-100": "#e11d16",
|
1524
|
+
"secondary-90": "#eb4610",
|
1525
|
+
"secondary-80": "#f3580d",
|
1526
|
+
"secondary-70": "#f96a02",
|
1527
|
+
"secondary-60": "#ff7700",
|
1528
|
+
"secondary-50": "#fc871a",
|
1529
|
+
"secondary-40": "#fb9a3e",
|
1530
|
+
"secondary-30": "#fab26e",
|
1531
|
+
"secondary-20": "#f8c99c",
|
1532
|
+
"secondary-10": "#fee8d0",
|
1533
|
+
"secondary-5": "#fff3e8",
|
1534
|
+
"secondary-0": "#fffbf8",
|
1535
|
+
"primary-100": "#a70045",
|
1536
|
+
"primary-90": "#c60443",
|
1537
|
+
"primary-80": "#e41a4a",
|
1538
|
+
"primary-70": "#ff3554",
|
1539
|
+
"primary-60": "#ff5275",
|
1540
|
+
"primary-50": "#ff6f94",
|
1541
|
+
"primary-40": "#ff8db0",
|
1542
|
+
"primary-30": "#ffa9c9",
|
1543
|
+
"primary-20": "#ffc4de",
|
1544
|
+
"primary-10": "#ffdeef",
|
1545
|
+
"primary-5": "#ffe8f4",
|
1546
|
+
"primary-0": "#fff9fc",
|
1547
|
+
"grey-20": "#d2d2d6",
|
1548
|
+
transparent: "transparent",
|
1549
|
+
white: "white",
|
1550
|
+
current: "currentColor",
|
1551
|
+
"navyBlue-100": "#30375E"
|
1552
|
+
},
|
1553
|
+
gap: {
|
1554
|
+
"0": "0",
|
1555
|
+
"1": "2px",
|
1556
|
+
"2": "4px",
|
1557
|
+
"3": "8px",
|
1558
|
+
"4": "12px",
|
1559
|
+
"5": "16px",
|
1560
|
+
"6": "24px",
|
1561
|
+
"7": "32px",
|
1562
|
+
"8": "40px",
|
1563
|
+
"9": "48px",
|
1564
|
+
"1px": "1px",
|
1565
|
+
l1: "16px",
|
1566
|
+
l2: "24px",
|
1567
|
+
l3: "32px",
|
1568
|
+
l4: "48px",
|
1569
|
+
l5: "64px",
|
1570
|
+
l6: "96px",
|
1571
|
+
l7: "160px"
|
1572
|
+
},
|
1573
|
+
gridAutoColumns: {
|
1574
|
+
auto: "auto",
|
1575
|
+
min: "min-content",
|
1576
|
+
max: "max-content",
|
1577
|
+
fr: "minmax(0, 1fr)"
|
1578
|
+
},
|
1579
|
+
gridAutoRows: {
|
1580
|
+
auto: "auto",
|
1581
|
+
min: "min-content",
|
1582
|
+
max: "max-content",
|
1583
|
+
fr: "minmax(0, 1fr)"
|
1584
|
+
},
|
1585
|
+
gridColumn: {
|
1586
|
+
auto: "auto",
|
1587
|
+
"span-1": "span 1 / span 1",
|
1588
|
+
"span-2": "span 2 / span 2",
|
1589
|
+
"span-3": "span 3 / span 3",
|
1590
|
+
"span-4": "span 4 / span 4",
|
1591
|
+
"span-5": "span 5 / span 5",
|
1592
|
+
"span-6": "span 6 / span 6",
|
1593
|
+
"span-7": "span 7 / span 7",
|
1594
|
+
"span-8": "span 8 / span 8",
|
1595
|
+
"span-9": "span 9 / span 9",
|
1596
|
+
"span-10": "span 10 / span 10",
|
1597
|
+
"span-11": "span 11 / span 11",
|
1598
|
+
"span-12": "span 12 / span 12",
|
1599
|
+
"span-full": "1 / -1"
|
1600
|
+
},
|
1601
|
+
gridColumnEnd: {
|
1602
|
+
"1": "1",
|
1603
|
+
"2": "2",
|
1604
|
+
"3": "3",
|
1605
|
+
"4": "4",
|
1606
|
+
"5": "5",
|
1607
|
+
"6": "6",
|
1608
|
+
"7": "7",
|
1609
|
+
"8": "8",
|
1610
|
+
"9": "9",
|
1611
|
+
"10": "10",
|
1612
|
+
"11": "11",
|
1613
|
+
"12": "12",
|
1614
|
+
"13": "13",
|
1615
|
+
auto: "auto"
|
1616
|
+
},
|
1617
|
+
gridColumnStart: {
|
1618
|
+
"1": "1",
|
1619
|
+
"2": "2",
|
1620
|
+
"3": "3",
|
1621
|
+
"4": "4",
|
1622
|
+
"5": "5",
|
1623
|
+
"6": "6",
|
1624
|
+
"7": "7",
|
1625
|
+
"8": "8",
|
1626
|
+
"9": "9",
|
1627
|
+
"10": "10",
|
1628
|
+
"11": "11",
|
1629
|
+
"12": "12",
|
1630
|
+
"13": "13",
|
1631
|
+
auto: "auto"
|
1632
|
+
},
|
1633
|
+
gridRow: {
|
1634
|
+
auto: "auto",
|
1635
|
+
"span-1": "span 1 / span 1",
|
1636
|
+
"span-2": "span 2 / span 2",
|
1637
|
+
"span-3": "span 3 / span 3",
|
1638
|
+
"span-4": "span 4 / span 4",
|
1639
|
+
"span-5": "span 5 / span 5",
|
1640
|
+
"span-6": "span 6 / span 6",
|
1641
|
+
"span-full": "1 / -1"
|
1642
|
+
},
|
1643
|
+
gridRowStart: {
|
1644
|
+
"1": "1",
|
1645
|
+
"2": "2",
|
1646
|
+
"3": "3",
|
1647
|
+
"4": "4",
|
1648
|
+
"5": "5",
|
1649
|
+
"6": "6",
|
1650
|
+
"7": "7",
|
1651
|
+
auto: "auto"
|
1652
|
+
},
|
1653
|
+
gridRowEnd: {
|
1654
|
+
"1": "1",
|
1655
|
+
"2": "2",
|
1656
|
+
"3": "3",
|
1657
|
+
"4": "4",
|
1658
|
+
"5": "5",
|
1659
|
+
"6": "6",
|
1660
|
+
"7": "7",
|
1661
|
+
auto: "auto"
|
1662
|
+
},
|
1663
|
+
gridTemplateColumns: {
|
1664
|
+
"1": "repeat(1, minmax(0, 1fr))",
|
1665
|
+
"2": "repeat(2, minmax(0, 1fr))",
|
1666
|
+
"3": "repeat(3, minmax(0, 1fr))",
|
1667
|
+
"4": "repeat(4, minmax(0, 1fr))",
|
1668
|
+
"5": "repeat(5, minmax(0, 1fr))",
|
1669
|
+
"6": "repeat(6, minmax(0, 1fr))",
|
1670
|
+
"7": "repeat(7, minmax(0, 1fr))",
|
1671
|
+
"8": "repeat(8, minmax(0, 1fr))",
|
1672
|
+
"9": "repeat(9, minmax(0, 1fr))",
|
1673
|
+
"10": "repeat(10, minmax(0, 1fr))",
|
1674
|
+
"11": "repeat(11, minmax(0, 1fr))",
|
1675
|
+
"12": "repeat(12, minmax(0, 1fr))",
|
1676
|
+
none: "none"
|
1677
|
+
},
|
1678
|
+
gridTemplateRows: {
|
1679
|
+
"1": "repeat(1, minmax(0, 1fr))",
|
1680
|
+
"2": "repeat(2, minmax(0, 1fr))",
|
1681
|
+
"3": "repeat(3, minmax(0, 1fr))",
|
1682
|
+
"4": "repeat(4, minmax(0, 1fr))",
|
1683
|
+
"5": "repeat(5, minmax(0, 1fr))",
|
1684
|
+
"6": "repeat(6, minmax(0, 1fr))",
|
1685
|
+
none: "none"
|
1686
|
+
},
|
1687
|
+
keyframes: {
|
1688
|
+
spin: { to: { transform: "rotate(360deg)" } },
|
1689
|
+
ping: { "75%, 100%": { transform: "scale(2)", opacity: "0" } },
|
1690
|
+
pulse: { "50%": { opacity: ".5" } },
|
1691
|
+
bounce: {
|
1692
|
+
"0%, 100%": {
|
1693
|
+
transform: "translateY(-25%)",
|
1694
|
+
animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
|
1695
|
+
},
|
1696
|
+
"50%": {
|
1697
|
+
transform: "none",
|
1698
|
+
animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
|
1699
|
+
}
|
1700
|
+
},
|
1701
|
+
"positioner-fade-in": { from: { opacity: "0" }, to: { opacity: "1" } }
|
1702
|
+
},
|
1703
|
+
animation: {
|
1704
|
+
none: "none",
|
1705
|
+
spin: "spin 1s linear infinite",
|
1706
|
+
ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
|
1707
|
+
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
|
1708
|
+
bounce: "bounce 1s infinite",
|
1709
|
+
"positioner-fade-in": "positioner-fade-in 300ms ease-in-out"
|
1710
|
+
}
|
1711
|
+
};
|
1712
|
+
|
1713
|
+
// src/utils/breakpoints.ts
|
1714
|
+
var { screens: allBreakpoints } = tailwind_theme_default;
|
1715
|
+
var SCREEN_TO_PX_MAPPING = getPxMapping(allBreakpoints);
|
1716
|
+
var BREAKPOINT_PRIORITY = (0, import_orderBy.default)(
|
1717
|
+
Object.keys(SCREEN_TO_PX_MAPPING).map((key) => {
|
1718
|
+
return {
|
1719
|
+
breakpoint: key,
|
1720
|
+
pxValue: SCREEN_TO_PX_MAPPING[key]
|
1721
|
+
};
|
1722
|
+
}),
|
1723
|
+
(bp) => bp.pxValue,
|
1724
|
+
"desc"
|
1725
|
+
);
|
1726
|
+
function getPxMapping(breakpoints) {
|
1727
|
+
return Object.keys(breakpoints).reduce((acc, key) => {
|
1728
|
+
const minWidthInPx = breakpoints[key];
|
1729
|
+
if (!minWidthInPx.endsWith("px")) {
|
1730
|
+
throw new Error(`Unexpected breakpoint value found: '${minWidthInPx}'. Expecting it to be in px unit.`);
|
1731
|
+
}
|
1732
|
+
return {
|
1733
|
+
...acc,
|
1734
|
+
[key]: parseInt(minWidthInPx, 10)
|
1735
|
+
};
|
1736
|
+
}, {});
|
1737
|
+
}
|
1738
|
+
function getMatches(windowSize) {
|
1739
|
+
const mapping = getPxMapping(allBreakpoints);
|
1740
|
+
return Object.keys(allBreakpoints).reduce((acc, key) => {
|
1741
|
+
const isMatch = !(0, import_isUndefined.default)(windowSize) && windowSize.width > 0 ? windowSize.width > mapping[key] : key === "default" ? true : false;
|
1742
|
+
return {
|
1743
|
+
...acc,
|
1744
|
+
[key]: isMatch
|
1745
|
+
};
|
1746
|
+
}, {});
|
1747
|
+
}
|
1748
|
+
function selectBreakpointValue(value, matches) {
|
1749
|
+
const bp = BREAKPOINT_PRIORITY.find((bp2) => {
|
1750
|
+
const pickBreakpoint = (0, import_isPlainObject.default)(value) && bp2.breakpoint in value ? bp2.breakpoint : void 0;
|
1751
|
+
return !(0, import_isUndefined.default)(pickBreakpoint) && matches[bp2.breakpoint];
|
1752
|
+
});
|
1753
|
+
if (!(0, import_isUndefined.default)(bp)) {
|
1754
|
+
return value[bp.breakpoint];
|
1755
|
+
}
|
1756
|
+
return value;
|
1757
|
+
}
|
1758
|
+
|
1759
|
+
// src/utils/useWindowSize.ts
|
1760
|
+
var import_react3 = require("react");
|
1761
|
+
var import_isUndefined2 = __toESM(require("lodash/isUndefined"));
|
1762
|
+
var import_debounce = __toESM(require("lodash/debounce"));
|
1763
|
+
|
1764
|
+
// src/components/Context/Context.tsx
|
1765
|
+
var context = {
|
1766
|
+
breakpointMatches: getMatches(void 0)
|
1767
|
+
};
|
1768
|
+
var DesignSystemContext = import_react4.default.createContext(context);
|
1769
|
+
|
1770
|
+
// src/utils/useStyle.ts
|
1771
|
+
var THEME_MAPPING = {
|
1772
|
+
paddingTop: "padding",
|
1773
|
+
paddingBottom: "padding",
|
1774
|
+
paddingLeft: "padding",
|
1775
|
+
paddingRight: "padding",
|
1776
|
+
marginTop: "margin",
|
1777
|
+
marginBottom: "margin",
|
1778
|
+
marginLeft: "margin",
|
1779
|
+
marginRight: "margin",
|
1780
|
+
rowGap: "gap",
|
1781
|
+
columnGap: "gap"
|
1782
|
+
};
|
1783
|
+
function resolveTailwindThemeValue(key, val) {
|
1784
|
+
const resolvedKey = key in THEME_MAPPING ? THEME_MAPPING[key] : key;
|
1785
|
+
const found = (0, import_get.default)(tailwind_theme_default, [resolvedKey, val], void 0);
|
1786
|
+
if (!(0, import_isUndefined3.default)(found)) {
|
1787
|
+
return found;
|
1788
|
+
}
|
1789
|
+
return val;
|
1790
|
+
}
|
1791
|
+
function useStyle(styles) {
|
1792
|
+
const context2 = (0, import_react5.useContext)(DesignSystemContext);
|
1793
|
+
return Object.keys(styles).reduce((acc, key) => {
|
1794
|
+
const property = styles[key];
|
1795
|
+
const isStylesObject = (0, import_isPlainObject2.default)(property) && "value" in property;
|
1796
|
+
const value = isStylesObject ? property.value : property;
|
1797
|
+
const resolvedValue = selectBreakpointValue(value, context2.breakpointMatches);
|
1798
|
+
const transformer = (0, import_isUndefined3.default)(property?.transformer) ? (val) => resolveTailwindThemeValue(key, val) : (val) => resolveTailwindThemeValue(key, property.transformer(val));
|
1799
|
+
const cssPropertyValue = transformer(resolvedValue);
|
1800
|
+
if ((0, import_isUndefined3.default)(cssPropertyValue)) {
|
1801
|
+
return acc;
|
1802
|
+
}
|
1803
|
+
return {
|
1804
|
+
...acc,
|
1805
|
+
[key]: cssPropertyValue
|
1806
|
+
};
|
1807
|
+
}, {});
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
// src/components/Tailwindify/Tailwindify.tsx
|
1811
|
+
function Tailwindify(Component) {
|
1812
|
+
return ({
|
1813
|
+
className,
|
1814
|
+
style,
|
1815
|
+
children,
|
1816
|
+
padding,
|
1817
|
+
paddingX,
|
1818
|
+
paddingY,
|
1819
|
+
paddingTop,
|
1820
|
+
paddingRight,
|
1821
|
+
paddingBottom,
|
1822
|
+
paddingLeft,
|
1823
|
+
margin,
|
1824
|
+
marginX,
|
1825
|
+
marginY,
|
1826
|
+
marginTop,
|
1827
|
+
marginRight,
|
1828
|
+
marginBottom,
|
1829
|
+
marginLeft,
|
1830
|
+
space,
|
1831
|
+
spaceX,
|
1832
|
+
spaceY,
|
1833
|
+
backgroundColor,
|
1834
|
+
width,
|
1835
|
+
height,
|
1836
|
+
maxWidth,
|
1837
|
+
maxHeight,
|
1838
|
+
minWidth,
|
1839
|
+
minHeight,
|
1840
|
+
...otherProps
|
1841
|
+
}) => {
|
1842
|
+
const tailwindifyStyle = useStyle({
|
1843
|
+
padding,
|
1844
|
+
paddingTop: (0, import_isUndefined4.default)(paddingY) ? paddingTop : paddingY,
|
1845
|
+
paddingRight: (0, import_isUndefined4.default)(paddingX) ? paddingRight : paddingX,
|
1846
|
+
paddingBottom: (0, import_isUndefined4.default)(paddingY) ? paddingBottom : paddingY,
|
1847
|
+
paddingLeft: (0, import_isUndefined4.default)(paddingX) ? paddingLeft : paddingX,
|
1848
|
+
margin,
|
1849
|
+
marginTop: (0, import_isUndefined4.default)(marginY) ? marginTop : marginY,
|
1850
|
+
marginRight: (0, import_isUndefined4.default)(marginX) ? marginRight : marginX,
|
1851
|
+
marginBottom: (0, import_isUndefined4.default)(marginY) ? marginBottom : marginY,
|
1852
|
+
marginLeft: (0, import_isUndefined4.default)(marginX) ? marginLeft : marginX,
|
1853
|
+
backgroundColor,
|
1854
|
+
width,
|
1855
|
+
height,
|
1856
|
+
maxWidth,
|
1857
|
+
maxHeight,
|
1858
|
+
minWidth,
|
1859
|
+
minHeight
|
1860
|
+
});
|
1861
|
+
const finalStyle = {
|
1862
|
+
...tailwindifyStyle,
|
1863
|
+
...style
|
1864
|
+
};
|
1865
|
+
const componentProps = {
|
1866
|
+
...otherProps,
|
1867
|
+
style: finalStyle
|
1868
|
+
};
|
1869
|
+
const childrenWithProps = import_react6.default.Children.map(children, (child, index) => {
|
1870
|
+
if (!import_react6.default.isValidElement(child)) {
|
1871
|
+
return child;
|
1872
|
+
}
|
1873
|
+
const isLastChild = index === children.length - 1;
|
1874
|
+
const childProps = {};
|
1875
|
+
const additionalStyle = {};
|
1876
|
+
if (!isLastChild && !(0, import_isUndefined4.default)(space)) {
|
1877
|
+
additionalStyle.marginBottom = resolveTailwindThemeValue("margin", space);
|
1878
|
+
additionalStyle.marginRight = resolveTailwindThemeValue("margin", space);
|
1879
|
+
}
|
1880
|
+
if (!isLastChild && !(0, import_isUndefined4.default)(spaceY)) {
|
1881
|
+
additionalStyle.marginBottom = resolveTailwindThemeValue("margin", spaceY);
|
1882
|
+
}
|
1883
|
+
if (!isLastChild && !(0, import_isUndefined4.default)(spaceX)) {
|
1884
|
+
additionalStyle.marginRight = resolveTailwindThemeValue("margin", spaceX);
|
1885
|
+
}
|
1886
|
+
if (Object.keys(childProps).length === 0 && Object.keys(additionalStyle).length === 0) {
|
1887
|
+
return child;
|
1888
|
+
}
|
1889
|
+
const childStyle = (0, import_get2.default)(child, ["props", "style"], {});
|
1890
|
+
const newProps = { ...childProps, style: { ...childStyle, ...additionalStyle } };
|
1891
|
+
return import_react6.default.cloneElement(child, newProps);
|
1892
|
+
});
|
1893
|
+
return /* @__PURE__ */ import_react6.default.createElement(Component, {
|
1894
|
+
className,
|
1895
|
+
children: childrenWithProps,
|
1896
|
+
...componentProps
|
1897
|
+
});
|
1898
|
+
};
|
1899
|
+
}
|
1900
|
+
|
1901
|
+
// src/components/Flexbox/Flexbox.tsx
|
1902
|
+
var Flexbox = Tailwindify(
|
1903
|
+
({
|
1904
|
+
htmlTag = "div",
|
1905
|
+
className,
|
1906
|
+
style,
|
1907
|
+
children,
|
1908
|
+
display = "flex",
|
1909
|
+
justifyContent,
|
1910
|
+
alignContent,
|
1911
|
+
alignItems,
|
1912
|
+
direction,
|
1913
|
+
wrap,
|
1914
|
+
gap,
|
1915
|
+
colGap,
|
1916
|
+
rowGap
|
1917
|
+
}) => {
|
1918
|
+
const hookStyle = useStyle({
|
1919
|
+
display,
|
1920
|
+
justifyContent,
|
1921
|
+
alignContent,
|
1922
|
+
alignItems,
|
1923
|
+
flexDirection: direction,
|
1924
|
+
flexWrap: wrap,
|
1925
|
+
gap,
|
1926
|
+
columnGap: colGap,
|
1927
|
+
rowGap
|
1928
|
+
});
|
1929
|
+
const HtmlElement = htmlTag;
|
1930
|
+
return /* @__PURE__ */ import_react7.default.createElement(HtmlElement, {
|
1931
|
+
style: { ...hookStyle, ...style },
|
1932
|
+
className
|
1933
|
+
}, children);
|
1934
|
+
}
|
1935
|
+
);
|
1936
|
+
|
1937
|
+
// src/components/Tooltip/Tooltip.tsx
|
1938
|
+
var import_react9 = __toESM(require("react"));
|
1939
|
+
var import_tooltip = require("@react-aria/tooltip");
|
1940
|
+
var import_overlays3 = require("@react-aria/overlays");
|
1941
|
+
var import_utils = require("@react-aria/utils");
|
1942
|
+
|
1943
|
+
// src/components/Tooltip/useTooltipTriggerState.ts
|
1944
|
+
var import_react8 = require("react");
|
1945
|
+
var import_overlays2 = require("@react-stately/overlays");
|
1946
|
+
var TOOLTIP_DELAY = 1500;
|
1947
|
+
var TOOLTIP_COOLDOWN = 500;
|
1948
|
+
var tooltips = {};
|
1949
|
+
var globalWarmUpTimeout = null;
|
1950
|
+
var globalCooldownTimeout = null;
|
1951
|
+
var tooltipId = 0;
|
1952
|
+
var globalWarmedUp = false;
|
1953
|
+
function useTooltipTriggerState(props = {}) {
|
1954
|
+
const { delay = TOOLTIP_DELAY } = props;
|
1955
|
+
const { isOpen, open, close } = (0, import_overlays2.useOverlayTriggerState)(props);
|
1956
|
+
const id = (0, import_react8.useMemo)(() => `${++tooltipId}`, []);
|
1957
|
+
const closeTimeout = (0, import_react8.useRef)();
|
1958
|
+
const isUnmounted = (0, import_react8.useRef)(false);
|
1959
|
+
const ensureTooltipEntry = () => {
|
1960
|
+
tooltips[id] = hideTooltip;
|
1961
|
+
};
|
1962
|
+
const closeOpenTooltips = () => {
|
1963
|
+
for (const hideTooltipId in tooltips) {
|
1964
|
+
if (hideTooltipId !== id) {
|
1965
|
+
tooltips[hideTooltipId](true);
|
1966
|
+
delete tooltips[hideTooltipId];
|
1967
|
+
}
|
1968
|
+
}
|
1969
|
+
};
|
1970
|
+
const showTooltip = () => {
|
1971
|
+
if (isUnmounted.current) {
|
1972
|
+
return;
|
1973
|
+
}
|
1974
|
+
if (closeTimeout.current) {
|
1975
|
+
clearTimeout(closeTimeout.current);
|
1976
|
+
}
|
1977
|
+
closeTimeout.current = null;
|
1978
|
+
closeOpenTooltips();
|
1979
|
+
ensureTooltipEntry();
|
1980
|
+
globalWarmedUp = true;
|
1981
|
+
open();
|
1982
|
+
if (globalWarmUpTimeout) {
|
1983
|
+
clearTimeout(globalWarmUpTimeout);
|
1984
|
+
globalWarmUpTimeout = null;
|
1985
|
+
}
|
1986
|
+
if (globalCooldownTimeout) {
|
1987
|
+
clearTimeout(globalCooldownTimeout);
|
1988
|
+
globalCooldownTimeout = null;
|
1989
|
+
}
|
1990
|
+
};
|
1991
|
+
const hideTooltip = (immediate) => {
|
1992
|
+
if (isUnmounted.current) {
|
1993
|
+
return;
|
1994
|
+
}
|
1995
|
+
if (immediate) {
|
1996
|
+
if (closeTimeout.current) {
|
1997
|
+
clearTimeout(closeTimeout.current);
|
1998
|
+
}
|
1999
|
+
closeTimeout.current = null;
|
2000
|
+
close();
|
2001
|
+
} else if (!closeTimeout.current) {
|
2002
|
+
closeTimeout.current = setTimeout(() => {
|
2003
|
+
closeTimeout.current = null;
|
2004
|
+
close();
|
2005
|
+
}, TOOLTIP_COOLDOWN);
|
2006
|
+
}
|
2007
|
+
if (globalWarmUpTimeout) {
|
2008
|
+
clearTimeout(globalWarmUpTimeout);
|
2009
|
+
globalWarmUpTimeout = null;
|
2010
|
+
}
|
2011
|
+
if (globalWarmedUp) {
|
2012
|
+
if (globalCooldownTimeout) {
|
2013
|
+
clearTimeout(globalCooldownTimeout);
|
2014
|
+
}
|
2015
|
+
globalCooldownTimeout = setTimeout(() => {
|
2016
|
+
delete tooltips[id];
|
2017
|
+
globalCooldownTimeout = null;
|
2018
|
+
globalWarmedUp = false;
|
2019
|
+
}, TOOLTIP_COOLDOWN);
|
2020
|
+
}
|
2021
|
+
};
|
2022
|
+
const warmupTooltip = () => {
|
2023
|
+
closeOpenTooltips();
|
2024
|
+
ensureTooltipEntry();
|
2025
|
+
if (!isOpen && !globalWarmUpTimeout && !globalWarmedUp) {
|
2026
|
+
globalWarmUpTimeout = setTimeout(() => {
|
2027
|
+
globalWarmUpTimeout = null;
|
2028
|
+
globalWarmedUp = true;
|
2029
|
+
showTooltip();
|
2030
|
+
}, delay);
|
2031
|
+
} else if (!isOpen) {
|
2032
|
+
showTooltip();
|
2033
|
+
}
|
2034
|
+
};
|
2035
|
+
(0, import_react8.useEffect)(() => {
|
2036
|
+
return () => {
|
2037
|
+
isUnmounted.current = true;
|
2038
|
+
if (closeTimeout.current) {
|
2039
|
+
clearTimeout(closeTimeout.current);
|
2040
|
+
}
|
2041
|
+
const tooltip = tooltips[id];
|
2042
|
+
if (tooltip !== void 0) {
|
2043
|
+
delete tooltips[id];
|
2044
|
+
}
|
2045
|
+
};
|
2046
|
+
}, [id]);
|
2047
|
+
return {
|
2048
|
+
isOpen,
|
2049
|
+
open: (immediate) => {
|
2050
|
+
if (!immediate && delay > 0 && !closeTimeout.current) {
|
2051
|
+
warmupTooltip();
|
2052
|
+
} else {
|
2053
|
+
showTooltip();
|
2054
|
+
}
|
2055
|
+
},
|
2056
|
+
close: hideTooltip
|
2057
|
+
};
|
2058
|
+
}
|
2059
|
+
|
2060
|
+
// src/components/Tooltip/Tooltip.tsx
|
2061
|
+
var Tooltip = ({ inline = true, delay = 200, ...props }) => {
|
2062
|
+
const { placement: _placement = "top", content, disabled: isDisabled, shouldFlip = true } = props;
|
2063
|
+
const triggerRef = import_react9.default.useRef(null);
|
2064
|
+
const overlayRef = import_react9.default.useRef(null);
|
2065
|
+
const state = useTooltipTriggerState({ isDisabled, delay, ...props });
|
2066
|
+
const { triggerProps, tooltipProps } = (0, import_tooltip.useTooltipTrigger)(props, state, triggerRef);
|
2067
|
+
const { overlayProps, arrowProps, placement } = (0, import_overlays3.useOverlayPosition)({
|
2068
|
+
placement: _placement.replace("-", " "),
|
2069
|
+
targetRef: triggerRef,
|
2070
|
+
overlayRef,
|
2071
|
+
isOpen: state.isOpen,
|
2072
|
+
shouldFlip,
|
2073
|
+
offset: ARROW_OFFSET
|
2074
|
+
});
|
2075
|
+
const handleClick = (e) => {
|
2076
|
+
props.onClick?.(e);
|
2077
|
+
triggerProps.onClick?.(e);
|
2078
|
+
};
|
2079
|
+
const handleMouseDown = (e) => {
|
2080
|
+
props.onMouseDown?.(e);
|
2081
|
+
triggerProps.onMouseDown?.(e);
|
2082
|
+
};
|
2083
|
+
const handleMouseUp = (e) => {
|
2084
|
+
props.onMouseUp?.(e);
|
2085
|
+
triggerProps.onMouseUp?.(e);
|
2086
|
+
};
|
2087
|
+
const handlePointerDown = (e) => {
|
2088
|
+
props.onPointerDown?.(e);
|
2089
|
+
triggerProps.onPointerDown?.(e);
|
2090
|
+
};
|
2091
|
+
const handlePointerUp = (e) => {
|
2092
|
+
props.onPointerUp?.(e);
|
2093
|
+
triggerProps.onPointerUp?.(e);
|
2094
|
+
};
|
2095
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", {
|
2096
|
+
className: tw(`${inline ? "inline-block" : "block"}`),
|
2097
|
+
...triggerProps,
|
2098
|
+
onClick: handleClick,
|
2099
|
+
onMouseDown: handleMouseDown,
|
2100
|
+
onMouseUp: handleMouseUp,
|
2101
|
+
onPointerDown: handlePointerDown,
|
2102
|
+
onPointerUp: handlePointerUp,
|
2103
|
+
ref: triggerRef
|
2104
|
+
}, props.children, state.isOpen && /* @__PURE__ */ import_react9.default.createElement(TooltipWrapper, {
|
2105
|
+
ref: overlayRef,
|
2106
|
+
state,
|
2107
|
+
placement,
|
2108
|
+
arrowProps,
|
2109
|
+
...(0, import_utils.mergeProps)(tooltipProps, overlayProps)
|
2110
|
+
}, content));
|
2111
|
+
};
|
2112
|
+
var TooltipWrapper = import_react9.default.forwardRef(
|
2113
|
+
({ state, placement, arrowProps, ...props }, forwardedRef) => {
|
2114
|
+
const ref = import_react9.default.useRef(null);
|
2115
|
+
import_react9.default.useImperativeHandle(forwardedRef, () => ref.current);
|
2116
|
+
const { tooltipProps } = (0, import_tooltip.useTooltip)(props, state);
|
2117
|
+
const arrowStyle = getArrowStyle(ref.current, placement, arrowProps.style ?? {});
|
2118
|
+
return /* @__PURE__ */ import_react9.default.createElement(import_overlays3.OverlayContainer, null, /* @__PURE__ */ import_react9.default.createElement("div", {
|
2119
|
+
ref,
|
2120
|
+
className: tw("p-3 rounded-sm typography-caption-default max-w-[320px] bg-grey-90 text-white"),
|
2121
|
+
...(0, import_utils.mergeProps)(props, tooltipProps)
|
2122
|
+
}, props.children, /* @__PURE__ */ import_react9.default.createElement(Arrow, {
|
2123
|
+
...arrowProps,
|
2124
|
+
style: arrowStyle
|
2125
|
+
})));
|
2126
|
+
}
|
2127
|
+
);
|
2128
|
+
var isNotNumberProperty = (p) => typeof p === "string";
|
2129
|
+
var ARROW_SIZE = 4;
|
2130
|
+
var ARROW_MARGIN = 8;
|
2131
|
+
var ARROW_OFFSET = 7;
|
2132
|
+
var getArrowStyle = (element, position, { left, top }) => {
|
2133
|
+
if (!element || isNotNumberProperty(left) || isNotNumberProperty(top)) {
|
2134
|
+
return { left, top };
|
2135
|
+
}
|
2136
|
+
const rect = element.getBoundingClientRect();
|
2137
|
+
const limits = {
|
2138
|
+
top: ARROW_MARGIN,
|
2139
|
+
bottom: rect.height - ARROW_SIZE * 2 - ARROW_MARGIN,
|
2140
|
+
left: ARROW_MARGIN,
|
2141
|
+
right: rect.width - ARROW_SIZE * 2 - ARROW_MARGIN
|
2142
|
+
};
|
2143
|
+
switch (position) {
|
2144
|
+
case "top": {
|
2145
|
+
return { left: Math.min(limits.right, Math.max((left ?? 0) - ARROW_SIZE, limits.left)), bottom: -ARROW_SIZE };
|
2146
|
+
}
|
2147
|
+
case "bottom": {
|
2148
|
+
return { left: Math.min(limits.right, Math.max((left ?? 0) - ARROW_SIZE, limits.left)), top: -ARROW_SIZE };
|
2149
|
+
}
|
2150
|
+
case "left": {
|
2151
|
+
return { right: -ARROW_SIZE, top: Math.min(limits.bottom, Math.max((top ?? 0) - ARROW_SIZE, limits.top)) };
|
2152
|
+
}
|
2153
|
+
case "right": {
|
2154
|
+
return { left: -ARROW_SIZE, top: Math.min(limits.bottom, Math.max((top ?? 0) - ARROW_SIZE, limits.top)) };
|
2155
|
+
}
|
2156
|
+
}
|
2157
|
+
return { left, top };
|
2158
|
+
};
|
2159
|
+
var Arrow = (props) => {
|
2160
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", {
|
2161
|
+
className: tw("absolute w-3 h-3 bg-grey-90 rotate-45"),
|
2162
|
+
...props
|
2163
|
+
});
|
2164
|
+
};
|
2165
|
+
|
2166
|
+
// src/components/Button/Button.tsx
|
2167
|
+
var import_chevronDown = __toESM(require_chevronDown());
|
2168
|
+
var import_loading = __toESM(require_loading());
|
2169
|
+
var COLOR_CLASSNAMES = {
|
2170
|
+
"primary": tw(
|
2171
|
+
"text-white bg-primary-80 active:bg-primary-90 active:ring-0 focus-visible:ring-2 focus-visible:ring-primary-100 focus-visible:ring-inset hover:bg-primary-70 disabled:bg-primary-5"
|
2172
|
+
),
|
2173
|
+
"secondary": tw(
|
2174
|
+
"text-grey-60 bg-white ring-1 ring-grey-30 ring-inset active:bg-grey-5 active:ring-grey-50 active:text-grey-80",
|
2175
|
+
"focus-visible:ring-2 focus-visible:ring-grey-50 focus-visible:text-grey-80",
|
2176
|
+
"hover:ring-grey-50 hover:text-grey-80 disabled:text-grey-30 disabled:bg-grey-0 disabled:ring-grey-20"
|
2177
|
+
),
|
2178
|
+
"ghost": tw(
|
2179
|
+
"text-primary-80 active:text-primary-70 focus-visible:text-grey-90 hover:text-primary-70 disabled:text-primary-40"
|
2180
|
+
),
|
2181
|
+
"secondary-ghost": tw(
|
2182
|
+
"text-grey-60 active:text-grey-50 focus-visible:text-grey-80 hover:text-grey-80 disabled:text-grey-30"
|
2183
|
+
)
|
2184
|
+
};
|
2185
|
+
var LoadingSpinner = ({
|
2186
|
+
size = "20px",
|
2187
|
+
kind = "primary"
|
2188
|
+
}) => {
|
2189
|
+
return /* @__PURE__ */ import_react10.default.createElement(InlineIcon, {
|
2190
|
+
icon: import_loading.default,
|
2191
|
+
width: size,
|
2192
|
+
height: size,
|
2193
|
+
color: kind === "primary" ? "primary-60" : "grey-60",
|
2194
|
+
"data-testid": "loading-button"
|
2195
|
+
});
|
2196
|
+
};
|
2197
|
+
var asButton = (Component, isDropdownButton) => {
|
2198
|
+
return import_react10.default.forwardRef(
|
2199
|
+
({
|
2200
|
+
kind = "primary",
|
2201
|
+
icon,
|
2202
|
+
iconPlacement = "left",
|
2203
|
+
tooltip,
|
2204
|
+
tooltipPlacement,
|
2205
|
+
disabled,
|
2206
|
+
loading: loading2 = false,
|
2207
|
+
fullWidth = false,
|
2208
|
+
dense = false,
|
2209
|
+
UNSAFE_className,
|
2210
|
+
"aria-label": ariaLabel,
|
2211
|
+
children,
|
2212
|
+
...props
|
2213
|
+
}, ref) => {
|
2214
|
+
const hasChildren = import_react10.default.Children.count(children) > 0;
|
2215
|
+
const isIconOnlyButton = !hasChildren && !!icon;
|
2216
|
+
const isGhost = !isIconOnlyButton && (kind === "ghost" || kind === "secondary-ghost");
|
2217
|
+
const isButton = !isIconOnlyButton && (kind === "primary" || kind === "secondary");
|
2218
|
+
const iconSize = !dense ? "20px" : "16px";
|
2219
|
+
if (isIconOnlyButton && !(tooltip || ariaLabel)) {
|
2220
|
+
throw new Error(
|
2221
|
+
'Please provide an accessible name as a string only for an icon only button via "aria-label" or "tooltip" prop.'
|
2222
|
+
);
|
2223
|
+
}
|
2224
|
+
if (!!isDropdownButton && kind !== "primary" && kind !== "secondary") {
|
2225
|
+
throw new Error('Dropdown button is available only for "primary" and "secondary" kinds.');
|
2226
|
+
}
|
2227
|
+
if (!!isDropdownButton && !!icon) {
|
2228
|
+
throw new Error("Dropdown button doesn't support any icon prop.");
|
2229
|
+
}
|
2230
|
+
if (!!loading2 && kind !== "primary" && kind !== "secondary") {
|
2231
|
+
throw new Error('Loading button is only supported for "primary" and "secondary" kinds.');
|
2232
|
+
}
|
2233
|
+
const buttonContent = () => {
|
2234
|
+
if (!!isDropdownButton && (kind === "primary" || kind === "secondary")) {
|
2235
|
+
return /* @__PURE__ */ import_react10.default.createElement(Flexbox, {
|
2236
|
+
gap: "4",
|
2237
|
+
alignItems: "center",
|
2238
|
+
justifyContent: "center"
|
2239
|
+
}, hasChildren && /* @__PURE__ */ import_react10.default.createElement("div", null, children), /* @__PURE__ */ import_react10.default.createElement(InlineIcon, {
|
2240
|
+
icon: import_chevronDown.default,
|
2241
|
+
width: iconSize,
|
2242
|
+
height: iconSize
|
2243
|
+
}));
|
2244
|
+
} else if (icon) {
|
2245
|
+
return /* @__PURE__ */ import_react10.default.createElement(Flexbox, {
|
2246
|
+
gap: "3",
|
2247
|
+
alignItems: "center",
|
2248
|
+
justifyContent: "center",
|
2249
|
+
direction: iconPlacement === "right" ? "row-reverse" : "row"
|
2250
|
+
}, /* @__PURE__ */ import_react10.default.createElement(InlineIcon, {
|
2251
|
+
icon,
|
2252
|
+
width: iconSize,
|
2253
|
+
height: iconSize
|
2254
|
+
}), hasChildren && /* @__PURE__ */ import_react10.default.createElement("div", null, children));
|
2255
|
+
} else {
|
2256
|
+
return children;
|
2257
|
+
}
|
2258
|
+
};
|
2259
|
+
const buttonComponent = /* @__PURE__ */ import_react10.default.createElement(Component, {
|
2260
|
+
ref,
|
2261
|
+
...props,
|
2262
|
+
className: classNames(
|
2263
|
+
UNSAFE_className,
|
2264
|
+
!isIconOnlyButton && COLOR_CLASSNAMES[kind],
|
2265
|
+
tw("inline-block border-0 rounded-sm transition whitespace-nowrap focus:outline-none relative", {
|
2266
|
+
"text-grey-70 p-2 active:text-grey-70 active:bg-transparent hover:text-grey-90 hover:bg-grey-0 focus-visible:text-grey-90 focus-visible:bg-grey-0 disabled:text-grey-20 disabled:bg-transparent": isIconOnlyButton,
|
2267
|
+
"typography-body-default": !dense && !isIconOnlyButton,
|
2268
|
+
"typography-body-small": dense && !isIconOnlyButton,
|
2269
|
+
"py-3 px-4": !dense && isButton,
|
2270
|
+
"py-2 px-3": dense && isButton,
|
2271
|
+
"py-3": !dense && isGhost,
|
2272
|
+
"py-2": dense && isGhost,
|
2273
|
+
"block w-full": fullWidth && !isIconOnlyButton,
|
2274
|
+
"cursor-not-allowed": !!disabled || !!loading2
|
2275
|
+
})
|
2276
|
+
),
|
2277
|
+
"aria-label": isIconOnlyButton ? ariaLabel ?? tooltip : ariaLabel,
|
2278
|
+
disabled: disabled || loading2
|
2279
|
+
}, loading2 && !isGhost ? /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, /* @__PURE__ */ import_react10.default.createElement("div", {
|
2280
|
+
className: tw("absolute left-1/2 top-0 bottom-0 flex"),
|
2281
|
+
style: { transform: "translate(-50%)" }
|
2282
|
+
}, /* @__PURE__ */ import_react10.default.createElement(LoadingSpinner, {
|
2283
|
+
size: iconSize,
|
2284
|
+
kind: kind === "primary" ? "primary" : "secondary"
|
2285
|
+
})), /* @__PURE__ */ import_react10.default.createElement("div", {
|
2286
|
+
className: tw({ invisible: loading2 })
|
2287
|
+
}, buttonContent())) : buttonContent());
|
2288
|
+
return tooltip ? /* @__PURE__ */ import_react10.default.createElement(Tooltip, {
|
2289
|
+
content: tooltip,
|
2290
|
+
placement: tooltipPlacement
|
2291
|
+
}, buttonComponent) : buttonComponent;
|
2292
|
+
}
|
2293
|
+
);
|
2294
|
+
};
|
2295
|
+
var Button = asButton("button");
|
2296
|
+
Button.displayName = "Button";
|
2297
|
+
var PrimaryButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(Button, {
|
2298
|
+
ref,
|
2299
|
+
...props,
|
2300
|
+
kind: "primary"
|
2301
|
+
}));
|
2302
|
+
PrimaryButton.displayName = "PrimaryButton";
|
2303
|
+
var SecondaryButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(Button, {
|
2304
|
+
ref,
|
2305
|
+
...props,
|
2306
|
+
kind: "secondary"
|
2307
|
+
}));
|
2308
|
+
SecondaryButton.displayName = "SecondaryButton";
|
2309
|
+
var GhostButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(Button, {
|
2310
|
+
ref,
|
2311
|
+
...props,
|
2312
|
+
kind: "ghost"
|
2313
|
+
}));
|
2314
|
+
GhostButton.displayName = "GhostButton";
|
2315
|
+
var SecondaryGhostButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(Button, {
|
2316
|
+
ref,
|
2317
|
+
...props,
|
2318
|
+
kind: "secondary-ghost"
|
2319
|
+
}));
|
2320
|
+
SecondaryGhostButton.displayName = "SecondaryGhostButton";
|
2321
|
+
var IconButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(Button, {
|
2322
|
+
ref,
|
2323
|
+
...props,
|
2324
|
+
kind: "ghost",
|
2325
|
+
loading: false,
|
2326
|
+
fullWidth: false
|
2327
|
+
}));
|
2328
|
+
IconButton.displayName = "IconButton";
|
2329
|
+
var ExternalLinkButton = asButton("a");
|
2330
|
+
var IconExternalLinkButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(ExternalLinkButton, {
|
2331
|
+
ref,
|
2332
|
+
...props,
|
2333
|
+
kind: "ghost",
|
2334
|
+
loading: false,
|
2335
|
+
fullWidth: false
|
2336
|
+
}));
|
2337
|
+
IconExternalLinkButton.displayName = "IconExternalLink";
|
2338
|
+
var DropdownButton = asButton("button", true);
|
2339
|
+
var PrimaryDropdownButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(DropdownButton, {
|
2340
|
+
ref,
|
2341
|
+
...props,
|
2342
|
+
kind: "primary"
|
2343
|
+
}));
|
2344
|
+
PrimaryDropdownButton.displayName = "PrimaryDropdownButton";
|
2345
|
+
var SecondaryDropdownButton = import_react10.default.forwardRef((props, ref) => /* @__PURE__ */ import_react10.default.createElement(DropdownButton, {
|
2346
|
+
ref,
|
2347
|
+
...props,
|
2348
|
+
kind: "secondary"
|
2349
|
+
}));
|
2350
|
+
SecondaryDropdownButton.displayName = "SecondaryDropdownButton";
|
2351
|
+
|
2352
|
+
// src/common/Typography/Typography.tsx
|
2353
|
+
var import_react11 = __toESM(require("react"));
|
2354
|
+
var import_isUndefined5 = __toESM(require("lodash/isUndefined"));
|
2355
|
+
var import_resolveTheme = __toESM(require_resolveTheme());
|
2356
|
+
var typographies = import_resolveTheme.theme.typography.sizes.reduce(
|
2357
|
+
(acc, { name, className }) => ({ ...acc, [name]: className }),
|
2358
|
+
{}
|
2359
|
+
);
|
2360
|
+
var Typography = ({
|
2361
|
+
children,
|
2362
|
+
variant = "body-default",
|
2363
|
+
color,
|
2364
|
+
htmlTag = "div",
|
2365
|
+
className,
|
2366
|
+
fontWeight
|
2367
|
+
}) => {
|
2368
|
+
const HtmlElement = htmlTag;
|
2369
|
+
const resolvedColorName = (0, import_isUndefined5.default)(color) || color === "current" ? "grey-80" : color;
|
2370
|
+
const style = useStyle({ fontWeight });
|
2371
|
+
return /* @__PURE__ */ import_react11.default.createElement(HtmlElement, {
|
2372
|
+
className: classNames(typographies[variant], `text-${resolvedColorName}`, className),
|
2373
|
+
style
|
2374
|
+
}, children);
|
2375
|
+
};
|
2376
|
+
|
2377
|
+
// src/common/Alert/Alert.tsx
|
2378
|
+
var import_confirm = __toESM(require_confirm());
|
2379
|
+
var import_warningSign = __toESM(require_warningSign());
|
2380
|
+
var import_error = __toESM(require_error());
|
2381
|
+
var import_infoSign = __toESM(require_infoSign());
|
2382
|
+
var import_cross = __toESM(require_cross());
|
2383
|
+
var alertTypes = {
|
2384
|
+
information: {
|
2385
|
+
icon: import_infoSign.default,
|
2386
|
+
color: "info-40"
|
2387
|
+
},
|
2388
|
+
warning: {
|
2389
|
+
icon: import_warningSign.default,
|
2390
|
+
color: "warning-40"
|
2391
|
+
},
|
2392
|
+
error: {
|
2393
|
+
icon: import_error.default,
|
2394
|
+
color: "error-40"
|
2395
|
+
},
|
2396
|
+
success: {
|
2397
|
+
icon: import_confirm.default,
|
2398
|
+
color: "success-40"
|
2399
|
+
}
|
2400
|
+
};
|
2401
|
+
var Alert = ({
|
2402
|
+
children,
|
2403
|
+
className,
|
2404
|
+
type,
|
2405
|
+
dense,
|
2406
|
+
...rest
|
2407
|
+
}) => /* @__PURE__ */ import_react12.default.createElement("div", {
|
2408
|
+
...rest,
|
2409
|
+
className: classNames(
|
2410
|
+
tw("rounded grid grid-cols-[auto_1fr_auto] items-center gap-x-3 gap-y-2", {
|
2411
|
+
"bg-error-5": type === "error",
|
2412
|
+
"bg-info-5": type === "information",
|
2413
|
+
"bg-success-5": type === "success",
|
2414
|
+
"bg-warning-5": type === "warning",
|
2415
|
+
"p-4": Boolean(dense),
|
2416
|
+
"p-5": !dense
|
2417
|
+
}),
|
2418
|
+
className
|
2419
|
+
)
|
2420
|
+
}, children);
|
2421
|
+
Alert.Title = ({ children, className, ...rest }) => /* @__PURE__ */ import_react12.default.createElement(Typography, {
|
2422
|
+
...rest,
|
2423
|
+
variant: "body-default",
|
2424
|
+
color: "grey-80",
|
2425
|
+
fontWeight: 500,
|
2426
|
+
className: classNames(tw("col-start-2"), className)
|
2427
|
+
}, children);
|
2428
|
+
Alert.Description = ({ children, className, ...rest }) => /* @__PURE__ */ import_react12.default.createElement(Typography, {
|
2429
|
+
...rest,
|
2430
|
+
variant: "body-small",
|
2431
|
+
color: "grey-60",
|
2432
|
+
className: classNames(tw("col-start-2"), className)
|
2433
|
+
}, children);
|
2434
|
+
Alert.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ import_react12.default.createElement("div", {
|
2435
|
+
...rest,
|
2436
|
+
className: classNames(tw("flex gap-4 col-start-2"), className)
|
2437
|
+
}, children);
|
2438
|
+
Alert.Icon = ({ type, ...rest }) => /* @__PURE__ */ import_react12.default.createElement("div", {
|
2439
|
+
className: tw("h-[20px] col-start-1 row-start-1")
|
2440
|
+
}, /* @__PURE__ */ import_react12.default.createElement(Icon, {
|
2441
|
+
...rest,
|
2442
|
+
icon: alertTypes[type].icon,
|
2443
|
+
color: alertTypes[type].color,
|
2444
|
+
fontSize: 20
|
2445
|
+
}));
|
2446
|
+
Alert.Dismiss = ({ type, ...rest }) => /* @__PURE__ */ import_react12.default.createElement("div", {
|
2447
|
+
className: tw("h-[20px] col-start-3 row-start-1")
|
2448
|
+
}, /* @__PURE__ */ import_react12.default.createElement(IconButton, {
|
2449
|
+
...rest,
|
2450
|
+
UNSAFE_className: tw("-m-2"),
|
2451
|
+
tooltip: "Dismiss",
|
2452
|
+
icon: import_cross.default
|
2453
|
+
}));
|
2454
|
+
|
2455
|
+
// src/common/Checkbox/Checkbox.tsx
|
2456
|
+
var import_react13 = __toESM(require("react"));
|
2457
|
+
var import_tick = __toESM(require_tick());
|
2458
|
+
var import_minus = __toESM(require_minus());
|
2459
|
+
var Checkbox = import_react13.default.forwardRef(
|
2460
|
+
({ id, children, name, checked, disabled = false, readOnly = false, indeterminate = false, ...props }, ref) => /* @__PURE__ */ import_react13.default.createElement("span", {
|
2461
|
+
className: classNames(
|
2462
|
+
tw("inline-flex justify-center items-center relative self-center", {
|
2463
|
+
"text-grey-30": disabled,
|
2464
|
+
"text-grey-100 cursor-pointer": !disabled
|
2465
|
+
})
|
2466
|
+
)
|
2467
|
+
}, /* @__PURE__ */ import_react13.default.createElement("input", {
|
2468
|
+
id,
|
2469
|
+
ref,
|
2470
|
+
type: "checkbox",
|
2471
|
+
name,
|
2472
|
+
...props,
|
2473
|
+
checked,
|
2474
|
+
className: classNames(
|
2475
|
+
tw("appearance-none rounded-sm border"),
|
2476
|
+
{
|
2477
|
+
"cursor-pointer": !disabled,
|
2478
|
+
"border-grey-20 hover:border-grey-50 focus:border-info-70": !disabled && !checked,
|
2479
|
+
"border-navyBlue-100 bg-navyBlue-100": !disabled && checked,
|
2480
|
+
"border-grey-5 cursor-not-allowed": disabled,
|
2481
|
+
"bg-grey-0": disabled && checked
|
2482
|
+
},
|
2483
|
+
props.className
|
2484
|
+
),
|
2485
|
+
style: { width: 16, height: 16, ...props.style },
|
2486
|
+
readOnly,
|
2487
|
+
disabled
|
2488
|
+
}), (checked || indeterminate) && /* @__PURE__ */ import_react13.default.createElement(Icon, {
|
2489
|
+
className: tw("absolute top-2 left-2 w-3 h-3 pointer-events-none [&>path]:stroke-2", {
|
2490
|
+
"text-white [&>path]:stroke-white": !disabled,
|
2491
|
+
"text-grey-30 [&>path]:stroke-grey-30": disabled
|
2492
|
+
}),
|
2493
|
+
icon: indeterminate ? import_minus.default : import_tick.default
|
2494
|
+
}))
|
2495
|
+
);
|
2496
|
+
|
2497
|
+
// src/common/Chip/Chip.tsx
|
2498
|
+
var import_react14 = __toESM(require("react"));
|
2499
|
+
var Container = import_react14.default.forwardRef(
|
2500
|
+
({ dense = false, className, children, ...rest }, ref) => /* @__PURE__ */ import_react14.default.createElement("span", {
|
2501
|
+
ref,
|
2502
|
+
className: classNames(
|
2503
|
+
tw("inline-flex items-center rounded-sm transition whitespace-nowrap", {
|
2504
|
+
"typography-body-small py-2 px-3 gap-x-3": !dense,
|
2505
|
+
"typography-caption-default py-1 px-2 gap-x-2": dense
|
2506
|
+
}),
|
2507
|
+
className
|
2508
|
+
),
|
2509
|
+
...rest
|
2510
|
+
}, children)
|
2511
|
+
);
|
2512
|
+
var Chip = {
|
2513
|
+
Container
|
2514
|
+
};
|
2515
|
+
|
2516
|
+
// src/common/Dialog/Dialog.tsx
|
2517
|
+
var import_confirm2 = __toESM(require_confirm());
|
2518
|
+
var import_warningSign2 = __toESM(require_warningSign());
|
2519
|
+
var import_error2 = __toESM(require_error());
|
2520
|
+
var DIALOG_ICONS_AND_COLORS = {
|
2521
|
+
confirmation: {
|
2522
|
+
icon: import_confirm2.default,
|
2523
|
+
color: "info-70"
|
2524
|
+
},
|
2525
|
+
warning: {
|
2526
|
+
icon: import_warningSign2.default,
|
2527
|
+
color: "secondary-70"
|
2528
|
+
},
|
2529
|
+
danger: {
|
2530
|
+
icon: import_error2.default,
|
2531
|
+
color: "error-70"
|
2532
|
+
}
|
2533
|
+
};
|
2534
|
+
|
2535
|
+
// src/common/DropdownMenu/DropdownMenu.tsx
|
2536
|
+
var import_react16 = __toESM(require("react"));
|
2537
|
+
|
2538
|
+
// src/components/Typography/Typography.tsx
|
2539
|
+
var import_react15 = __toESM(require("react"));
|
2540
|
+
var Typography2 = (props) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2541
|
+
...props
|
2542
|
+
});
|
2543
|
+
Typography2.Heading = ({ htmlTag = "h1", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2544
|
+
...props,
|
2545
|
+
htmlTag,
|
2546
|
+
variant: "heading-xl"
|
2547
|
+
});
|
2548
|
+
Typography2.Subheading = ({ htmlTag = "h2", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2549
|
+
...props,
|
2550
|
+
htmlTag,
|
2551
|
+
variant: "heading-large"
|
2552
|
+
});
|
2553
|
+
Typography2.LargeText = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2554
|
+
...props,
|
2555
|
+
htmlTag,
|
2556
|
+
variant: "body-large"
|
2557
|
+
});
|
2558
|
+
Typography2.MediumText = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2559
|
+
...props,
|
2560
|
+
htmlTag,
|
2561
|
+
variant: "body-default-medium"
|
2562
|
+
});
|
2563
|
+
Typography2.Text = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2564
|
+
...props,
|
2565
|
+
htmlTag,
|
2566
|
+
variant: "body-default"
|
2567
|
+
});
|
2568
|
+
Typography2.Paragraph = Typography2.Text;
|
2569
|
+
Typography2.P = Typography2.Text;
|
2570
|
+
Typography2.SmallText = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2571
|
+
...props,
|
2572
|
+
htmlTag,
|
2573
|
+
variant: "body-small"
|
2574
|
+
});
|
2575
|
+
Typography2.SmallTextBold = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2576
|
+
...props,
|
2577
|
+
htmlTag,
|
2578
|
+
variant: "body-small-medium"
|
2579
|
+
});
|
2580
|
+
Typography2.Caption = ({ htmlTag = "p", ...props }) => /* @__PURE__ */ import_react15.default.createElement(Typography, {
|
2581
|
+
...props,
|
2582
|
+
htmlTag,
|
2583
|
+
variant: "caption-default"
|
2584
|
+
});
|
2585
|
+
|
2586
|
+
// src/common/DropdownMenu/DropdownMenu.tsx
|
2587
|
+
var import_tick2 = __toESM(require_tick());
|
2588
|
+
var DropdownMenu = import_react16.default.forwardRef(
|
2589
|
+
({ maxHeight = "450px", minWidth = "125px", maxWidth, className, children, ...props }, ref) => /* @__PURE__ */ import_react16.default.createElement("ul", {
|
2590
|
+
ref,
|
2591
|
+
style: { maxHeight, minWidth, maxWidth },
|
2592
|
+
className: classNames(
|
2593
|
+
className,
|
2594
|
+
"p-3 bg-white w-full overflow-y-auto overflow-x-hidden typography-body-small-medium text-grey-70"
|
2595
|
+
),
|
2596
|
+
...props
|
2597
|
+
}, children)
|
2598
|
+
);
|
2599
|
+
var Group = import_react16.default.forwardRef(
|
2600
|
+
({ className, title, titleProps, children, ...props }, ref) => /* @__PURE__ */ import_react16.default.createElement("li", {
|
2601
|
+
ref,
|
2602
|
+
...props
|
2603
|
+
}, title && /* @__PURE__ */ import_react16.default.createElement("div", {
|
2604
|
+
className: classNames(
|
2605
|
+
className,
|
2606
|
+
"p-3 text-grey-40 uppercase cursor-default typography-caption-default font-medium",
|
2607
|
+
{
|
2608
|
+
"text-grey-20": props.disabled
|
2609
|
+
}
|
2610
|
+
),
|
2611
|
+
...titleProps
|
2612
|
+
}, title), children)
|
2613
|
+
);
|
2614
|
+
DropdownMenu.Group = Group;
|
2615
|
+
var Item = import_react16.default.forwardRef(
|
2616
|
+
({ kind, highlighted, selected, className, icon, children, ...props }, ref) => /* @__PURE__ */ import_react16.default.createElement("li", {
|
2617
|
+
ref,
|
2618
|
+
className: classNames(className, "flex items-center gap-x-3 p-3 outline-none", {
|
2619
|
+
"cursor-pointer hover:bg-grey-0": !props.disabled,
|
2620
|
+
"bg-grey-0": highlighted,
|
2621
|
+
"text-primary-80": kind === "action",
|
2622
|
+
"text-grey-20 cursor-not-allowed": props.disabled
|
2623
|
+
}),
|
2624
|
+
...props
|
2625
|
+
}, icon && /* @__PURE__ */ import_react16.default.createElement(InlineIcon, {
|
2626
|
+
icon
|
2627
|
+
}), /* @__PURE__ */ import_react16.default.createElement("span", {
|
2628
|
+
className: tw("grow")
|
2629
|
+
}, children), selected && /* @__PURE__ */ import_react16.default.createElement(InlineIcon, {
|
2630
|
+
icon: import_tick2.default
|
2631
|
+
}))
|
2632
|
+
);
|
2633
|
+
DropdownMenu.Item = Item;
|
2634
|
+
var Description = ({ disabled, children }) => /* @__PURE__ */ import_react16.default.createElement(Typography2.Caption, {
|
2635
|
+
color: disabled ? "grey-20" : "grey-40"
|
2636
|
+
}, children);
|
2637
|
+
DropdownMenu.Description = Description;
|
2638
|
+
var Separator = ({ className, ...props }) => {
|
2639
|
+
return /* @__PURE__ */ import_react16.default.createElement("li", {
|
2640
|
+
...props,
|
2641
|
+
className: classNames(className, tw("m-3 block bg-grey-5 h-[1px]"))
|
2642
|
+
});
|
2643
|
+
};
|
2644
|
+
DropdownMenu.Separator = Separator;
|
2645
|
+
|
2646
|
+
// src/common/InputGroup/InputGroup.tsx
|
2647
|
+
var import_react18 = __toESM(require("react"));
|
2648
|
+
|
2649
|
+
// src/components/Grid/Grid.tsx
|
2650
|
+
var import_react17 = __toESM(require("react"));
|
2651
|
+
var Grid = Tailwindify(
|
2652
|
+
({
|
2653
|
+
htmlTag = "div",
|
2654
|
+
className,
|
2655
|
+
style,
|
2656
|
+
children,
|
2657
|
+
display = "grid",
|
2658
|
+
justifyContent,
|
2659
|
+
alignContent,
|
2660
|
+
alignItems,
|
2661
|
+
justifyItems,
|
2662
|
+
placeContent,
|
2663
|
+
placeItems,
|
2664
|
+
cols = "12",
|
2665
|
+
rows,
|
2666
|
+
autoFlow,
|
2667
|
+
autoCols,
|
2668
|
+
autoRows,
|
2669
|
+
gap,
|
2670
|
+
colGap,
|
2671
|
+
rowGap,
|
2672
|
+
colSpan,
|
2673
|
+
colStart,
|
2674
|
+
colEnd,
|
2675
|
+
rowSpan,
|
2676
|
+
rowStart,
|
2677
|
+
rowEnd
|
2678
|
+
}) => {
|
2679
|
+
const hookStyle = useStyle({
|
2680
|
+
display,
|
2681
|
+
justifyContent,
|
2682
|
+
alignContent,
|
2683
|
+
alignItems,
|
2684
|
+
justifyItems,
|
2685
|
+
placeContent,
|
2686
|
+
placeItems,
|
2687
|
+
gridTemplateColumns: cols,
|
2688
|
+
gridTemplateRows: rows,
|
2689
|
+
gridAutoFlow: autoFlow,
|
2690
|
+
gridAutoColumns: autoCols,
|
2691
|
+
gridAutoRows: autoRows,
|
2692
|
+
gap,
|
2693
|
+
columnGap: colGap,
|
2694
|
+
rowGap,
|
2695
|
+
gridColumn: colSpan,
|
2696
|
+
gridColumnStart: colStart,
|
2697
|
+
gridColumnEnd: colEnd,
|
2698
|
+
gridRow: rowSpan,
|
2699
|
+
gridRowStart: rowStart,
|
2700
|
+
gridRowEnd: rowEnd
|
2701
|
+
});
|
2702
|
+
const HtmlElement = htmlTag;
|
2703
|
+
return /* @__PURE__ */ import_react17.default.createElement(HtmlElement, {
|
2704
|
+
style: { ...hookStyle, ...style },
|
2705
|
+
className
|
2706
|
+
}, children);
|
2707
|
+
}
|
2708
|
+
);
|
2709
|
+
|
2710
|
+
// src/common/InputGroup/InputGroup.tsx
|
2711
|
+
var gridColumnStyles = {
|
2712
|
+
"1": "grid-cols-1",
|
2713
|
+
"2": "grid-cols-2",
|
2714
|
+
"3": "grid-cols-3",
|
2715
|
+
"auto": "auto-cols-fr"
|
2716
|
+
};
|
2717
|
+
var InputGroup = ({ cols = "1", children, ...rest }) => {
|
2718
|
+
return /* @__PURE__ */ import_react18.default.createElement(Grid, {
|
2719
|
+
...rest,
|
2720
|
+
display: "inline-grid",
|
2721
|
+
colGap: "l4",
|
2722
|
+
rowGap: "3",
|
2723
|
+
cols: cols !== "auto" ? cols : void 0,
|
2724
|
+
className: gridColumnStyles[cols]
|
2725
|
+
}, children);
|
2726
|
+
};
|
2727
|
+
|
2728
|
+
// src/common/Modal/Modal.tsx
|
2729
|
+
var import_react19 = __toESM(require("react"));
|
2730
|
+
var Modal = ({ children, className, open, ...rest }) => open ? /* @__PURE__ */ import_react19.default.createElement("div", {
|
2731
|
+
...rest,
|
2732
|
+
className: classNames(
|
2733
|
+
tw("fixed inset-0 overflow-y-auto z-modal flex justify-center items-center fixed py-7"),
|
2734
|
+
className
|
2735
|
+
)
|
2736
|
+
}, children) : null;
|
2737
|
+
Modal.BackDrop = ({ className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2738
|
+
...rest,
|
2739
|
+
className: classNames(tw("-z-10 fixed min-w-full min-h-full bg-navyBlue-100 opacity-70"), className)
|
2740
|
+
});
|
2741
|
+
Modal.Dialog = import_react19.default.forwardRef(
|
2742
|
+
({ children, className, size = "sm", ...rest }, ref) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2743
|
+
ref,
|
2744
|
+
...rest,
|
2745
|
+
className: classNames(
|
2746
|
+
tw("bg-white rounded mx-7 w-full max-h-full flex flex-col"),
|
2747
|
+
{
|
2748
|
+
"max-w-[600px]": size === "sm",
|
2749
|
+
"max-w-[940px]": size === "md",
|
2750
|
+
"min-h-full": size === "full"
|
2751
|
+
},
|
2752
|
+
className
|
2753
|
+
)
|
2754
|
+
}, children)
|
2755
|
+
);
|
2756
|
+
Modal.Header = ({ children, className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2757
|
+
...rest,
|
2758
|
+
className: classNames(tw("px-7 py-6 gap-3 flex items-center"), className)
|
2759
|
+
}, children);
|
2760
|
+
Modal.Title = ({ children, className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement(Typography, {
|
2761
|
+
htmlTag: "h2",
|
2762
|
+
variant: "heading-large",
|
2763
|
+
color: "grey-90",
|
2764
|
+
className: classNames(tw("leading-none"), className),
|
2765
|
+
...rest
|
2766
|
+
}, children);
|
2767
|
+
Modal.Subtitle = ({ children, ...rest }) => /* @__PURE__ */ import_react19.default.createElement(Typography, {
|
2768
|
+
variant: "body-small",
|
2769
|
+
color: "grey-60",
|
2770
|
+
...rest
|
2771
|
+
}, children);
|
2772
|
+
Modal.TitleContainer = ({ children, className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2773
|
+
...rest,
|
2774
|
+
className: classNames(tw("flex flex-col grow gap-2"), className)
|
2775
|
+
}, children);
|
2776
|
+
Modal.Body = ({ children, className, noFooter = false, maxHeight, style, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2777
|
+
...rest,
|
2778
|
+
className: classNames(tw("px-7 grow overflow-y-auto", { "pb-6": noFooter }), className),
|
2779
|
+
style: { maxHeight, ...style }
|
2780
|
+
}, children);
|
2781
|
+
Modal.Footer = ({ children, className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2782
|
+
...rest,
|
2783
|
+
className: classNames(tw("px-7 py-6"), className)
|
2784
|
+
}, children);
|
2785
|
+
Modal.Actions = ({ children, className, ...rest }) => /* @__PURE__ */ import_react19.default.createElement("div", {
|
2786
|
+
...rest,
|
2787
|
+
className: classNames(tw("flex gap-4 justify-end"), className)
|
2788
|
+
}, children);
|
2789
|
+
|
2790
|
+
// src/common/PopoverDialog/PopoverDialog.tsx
|
2791
|
+
var import_react20 = __toESM(require("react"));
|
2792
|
+
var Header = ({ children, className, ...rest }) => /* @__PURE__ */ import_react20.default.createElement("div", {
|
2793
|
+
...rest,
|
2794
|
+
className: classNames(tw("p-5 gap-3 flex items-center"), className)
|
2795
|
+
}, children);
|
2796
|
+
var Title = ({ children, className, ...rest }) => /* @__PURE__ */ import_react20.default.createElement(Typography, {
|
2797
|
+
...rest,
|
2798
|
+
htmlTag: "h1",
|
2799
|
+
variant: "body-small-medium"
|
2800
|
+
}, children);
|
2801
|
+
var Body = ({ children, className, ...rest }) => /* @__PURE__ */ import_react20.default.createElement(Typography, {
|
2802
|
+
...rest,
|
2803
|
+
htmlTag: "div",
|
2804
|
+
variant: "caption-default",
|
2805
|
+
className: classNames(tw("px-5 overflow-y-auto"), className)
|
2806
|
+
}, children);
|
2807
|
+
var Footer = ({ children, className, ...rest }) => /* @__PURE__ */ import_react20.default.createElement("div", {
|
2808
|
+
...rest,
|
2809
|
+
className: classNames(tw("p-5"), className)
|
2810
|
+
}, children);
|
2811
|
+
var Actions = ({ children, className, ...rest }) => /* @__PURE__ */ import_react20.default.createElement("div", {
|
2812
|
+
...rest,
|
2813
|
+
className: classNames(tw("flex gap-4"), className)
|
2814
|
+
}, children);
|
2815
|
+
var PopoverDialog = {
|
2816
|
+
Header,
|
2817
|
+
Title,
|
2818
|
+
Body,
|
2819
|
+
Footer,
|
2820
|
+
Actions
|
2821
|
+
};
|
2822
|
+
|
2823
|
+
// src/common/Popover/Popover.tsx
|
2824
|
+
var import_react21 = __toESM(require("react"));
|
2825
|
+
var PopoverPanel = import_react21.default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ import_react21.default.createElement("div", {
|
2826
|
+
ref,
|
2827
|
+
className: classNames(
|
2828
|
+
className,
|
2829
|
+
tw(
|
2830
|
+
"rounded-sm shadow-16dp bg-white mt-1 focus-visible:outline-0 focus-visible:border-info-70 border border-grey-20"
|
2831
|
+
)
|
2832
|
+
),
|
2833
|
+
...props
|
2834
|
+
}, children));
|
2835
|
+
var Popover = {
|
2836
|
+
Panel: PopoverPanel
|
2837
|
+
};
|
2838
|
+
|
2839
|
+
// src/common/RadioButton/RadioButton.tsx
|
2840
|
+
var import_react22 = __toESM(require("react"));
|
2841
|
+
var RadioButton = import_react22.default.forwardRef(
|
2842
|
+
({ id, children, name, checked = false, disabled = false, readOnly = false, ...props }, ref) => /* @__PURE__ */ import_react22.default.createElement("span", {
|
2843
|
+
className: classNames(
|
2844
|
+
tw("inline-flex justify-center items-center relative self-center", {
|
2845
|
+
"text-grey-30": disabled,
|
2846
|
+
"text-grey-100": !disabled
|
2847
|
+
})
|
2848
|
+
)
|
2849
|
+
}, /* @__PURE__ */ import_react22.default.createElement("input", {
|
2850
|
+
id,
|
2851
|
+
ref,
|
2852
|
+
type: "radio",
|
2853
|
+
name,
|
2854
|
+
...props,
|
2855
|
+
checked,
|
2856
|
+
className: classNames(
|
2857
|
+
tw("appearance-none rounded-full border cursor-pointer"),
|
2858
|
+
{
|
2859
|
+
"border-grey-20 hover:border-grey-50 focus:border-info-70": !disabled && !checked,
|
2860
|
+
"border-navyBlue-100": !disabled && checked,
|
2861
|
+
"border-grey-5": disabled
|
2862
|
+
},
|
2863
|
+
props.className
|
2864
|
+
),
|
2865
|
+
style: { width: 16, height: 16, ...props.style },
|
2866
|
+
readOnly,
|
2867
|
+
disabled
|
2868
|
+
}), /* @__PURE__ */ import_react22.default.createElement("span", {
|
2869
|
+
style: { backgroundColor: "currentcolor" },
|
2870
|
+
className: tw("absolute w-3 h-3 rounded-full bg-navyBlue-100 pointer-events-none", {
|
2871
|
+
"opacity-0": !checked,
|
2872
|
+
"opacity-40": disabled && checked
|
2873
|
+
})
|
2874
|
+
}))
|
2875
|
+
);
|
2876
|
+
|
2877
|
+
// src/common/Select/Select.tsx
|
2878
|
+
var import_react23 = __toESM(require("react"));
|
2879
|
+
var import_chevronDown2 = __toESM(require_chevronDown());
|
2880
|
+
var import_chevronUp = __toESM(require_chevronUp());
|
2881
|
+
var import_search = __toESM(require_search());
|
2882
|
+
var import_tick3 = __toESM(require_tick());
|
2883
|
+
function getOptionLabelBuiltin(option) {
|
2884
|
+
if (option === null) {
|
2885
|
+
return "";
|
2886
|
+
}
|
2887
|
+
if (typeof option === "string") {
|
2888
|
+
return option;
|
2889
|
+
}
|
2890
|
+
return option.label ?? "";
|
2891
|
+
}
|
2892
|
+
function isOptionDisabledBuiltin(option) {
|
2893
|
+
return !!option.disabled;
|
2894
|
+
}
|
2895
|
+
var getValues = (children) => {
|
2896
|
+
const values = import_react23.default.Children.map(children, (c) => c?.props?.value);
|
2897
|
+
return values?.filter((v) => v !== void 0 && v !== null) ?? [];
|
2898
|
+
};
|
2899
|
+
var InputContainer = import_react23.default.forwardRef(
|
2900
|
+
({ variant = "default", className, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("div", {
|
2901
|
+
ref,
|
2902
|
+
className: classNames(
|
2903
|
+
className,
|
2904
|
+
"relative rounded-sm typography-body-default-medium w-full flex flex-row items-center focus-visible:outline-0 focus-visible:border-info-70",
|
2905
|
+
{
|
2906
|
+
"border px-3 py-[6px]": variant !== "readOnly",
|
2907
|
+
"cursor-default": variant === "readOnly",
|
2908
|
+
"border-grey-20": variant !== "error" && variant !== "readOnly",
|
2909
|
+
"border-error-50": variant === "error",
|
2910
|
+
"hover:border-grey-50": variant !== "error" && variant !== "disabled" && variant !== "focused",
|
2911
|
+
"border-info-70": variant === "focused",
|
2912
|
+
"bg-white": variant !== "disabled",
|
2913
|
+
"cursor-not-allowed border-grey-20 bg-grey-5": variant === "disabled"
|
2914
|
+
}
|
2915
|
+
),
|
2916
|
+
...props
|
2917
|
+
})
|
2918
|
+
);
|
2919
|
+
var Input = import_react23.default.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("input", {
|
2920
|
+
ref,
|
2921
|
+
type: "text",
|
2922
|
+
className: classNames(
|
2923
|
+
className,
|
2924
|
+
"grow rounded border-0 focus:outline-none px-[1px] my-1 min-w-0 typography-body-small disabled:cursor-not-allowed disabled:bg-grey-5 placeholder:text-grey-40",
|
2925
|
+
{
|
2926
|
+
"text-grey-70": !props.disabled,
|
2927
|
+
"text-grey-30": props.disabled,
|
2928
|
+
"cursor-default": props.readOnly
|
2929
|
+
}
|
2930
|
+
),
|
2931
|
+
...props
|
2932
|
+
}));
|
2933
|
+
var Menu = import_react23.default.forwardRef(
|
2934
|
+
({ maxHeight = "450px", className, children, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("ul", {
|
2935
|
+
ref,
|
2936
|
+
style: { maxHeight },
|
2937
|
+
className: classNames(className, tw("overflow-y-auto")),
|
2938
|
+
...props
|
2939
|
+
}, children)
|
2940
|
+
);
|
2941
|
+
var NoResults = import_react23.default.forwardRef(
|
2942
|
+
({ className, children, ...rest }, ref) => /* @__PURE__ */ import_react23.default.createElement("li", {
|
2943
|
+
ref,
|
2944
|
+
...rest,
|
2945
|
+
className: classNames(tw("p-3 text-grey-40 italic"), className)
|
2946
|
+
}, children)
|
2947
|
+
);
|
2948
|
+
var EmptyStateContainer = import_react23.default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("li", {
|
2949
|
+
ref,
|
2950
|
+
className: tw("border border-dashed border-grey-10 m-4 p-6"),
|
2951
|
+
...props
|
2952
|
+
}, children));
|
2953
|
+
var Divider = (props) => /* @__PURE__ */ import_react23.default.createElement("div", {
|
2954
|
+
className: tw("border-b-[1px] border-grey-5 mx-3 my-4"),
|
2955
|
+
...props
|
2956
|
+
});
|
2957
|
+
var Group2 = import_react23.default.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("li", {
|
2958
|
+
ref,
|
2959
|
+
className: classNames(
|
2960
|
+
className,
|
2961
|
+
"flex items-center gap-x-3 p-3 text-grey-40 uppercase cursor-default typography-caption-default mt-4 first:mt-0 font-medium",
|
2962
|
+
{
|
2963
|
+
"text-grey-20": props.disabled
|
2964
|
+
}
|
2965
|
+
),
|
2966
|
+
...props
|
2967
|
+
}, children));
|
2968
|
+
var Item2 = import_react23.default.forwardRef(
|
2969
|
+
({ highlighted, selected, className, children, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("li", {
|
2970
|
+
ref,
|
2971
|
+
className: classNames(className, "flex items-center gap-x-3 p-3", {
|
2972
|
+
"cursor-pointer": !props.disabled,
|
2973
|
+
"bg-grey-0": highlighted,
|
2974
|
+
"text-grey-20": props.disabled,
|
2975
|
+
"hover:bg-grey-0": !props.disabled
|
2976
|
+
}),
|
2977
|
+
...props
|
2978
|
+
}, /* @__PURE__ */ import_react23.default.createElement("span", {
|
2979
|
+
className: tw("grow flex gap-x-3")
|
2980
|
+
}, children), selected && /* @__PURE__ */ import_react23.default.createElement(InlineIcon, {
|
2981
|
+
icon: import_tick3.default
|
2982
|
+
}))
|
2983
|
+
);
|
2984
|
+
var ActionItem = import_react23.default.forwardRef(
|
2985
|
+
({ className, dense, icon, onClick, children, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("li", {
|
2986
|
+
ref,
|
2987
|
+
role: "button",
|
2988
|
+
onClick: () => !props.disabled && onClick?.(),
|
2989
|
+
className: classNames(className, "flex items-center gap-x-3 text-primary-80", {
|
2990
|
+
"p-3": !dense,
|
2991
|
+
"px-3 py-2": dense,
|
2992
|
+
"cursor-pointer": !props.disabled,
|
2993
|
+
"text-grey-20": props.disabled,
|
2994
|
+
"hover:text-primary-70": !props.disabled
|
2995
|
+
}),
|
2996
|
+
...props
|
2997
|
+
}, icon && /* @__PURE__ */ import_react23.default.createElement(InlineIcon, {
|
2998
|
+
icon
|
2999
|
+
}), children)
|
3000
|
+
);
|
3001
|
+
var Toggle = import_react23.default.forwardRef(({ hasFocus, isOpen, ...props }, ref) => /* @__PURE__ */ import_react23.default.createElement("button", {
|
3002
|
+
ref,
|
3003
|
+
type: "button",
|
3004
|
+
"aria-label": "Toggle",
|
3005
|
+
...props,
|
3006
|
+
className: tw("grow-0 leading-none", { "cursor-not-allowed": props.disabled ?? false })
|
3007
|
+
}, /* @__PURE__ */ import_react23.default.createElement(InlineIcon, {
|
3008
|
+
color: props.disabled ? "grey-40" : "grey-70",
|
3009
|
+
icon: hasFocus ? import_search.default : isOpen ? import_chevronUp.default : import_chevronDown2.default
|
3010
|
+
})));
|
3011
|
+
var Select = {
|
3012
|
+
InputContainer,
|
3013
|
+
Input,
|
3014
|
+
Menu,
|
3015
|
+
EmptyStateContainer,
|
3016
|
+
NoResults,
|
3017
|
+
Divider,
|
3018
|
+
Group: Group2,
|
3019
|
+
Item: Item2,
|
3020
|
+
ActionItem,
|
3021
|
+
Toggle
|
3022
|
+
};
|
3023
|
+
|
3024
|
+
// src/common/Table/Table.tsx
|
3025
|
+
var import_react24 = __toESM(require("react"));
|
3026
|
+
var import_chevronUp2 = __toESM(require_chevronUp());
|
3027
|
+
var import_chevronDown3 = __toESM(require_chevronDown());
|
3028
|
+
var HeadContext = import_react24.default.createContext(null);
|
3029
|
+
var tableClassNames = tw("w-full relative typography-body-default border-spacing-0");
|
3030
|
+
var Table = ({ children, ariaLabel, className, ...rest }) => {
|
3031
|
+
return /* @__PURE__ */ import_react24.default.createElement("table", {
|
3032
|
+
...rest,
|
3033
|
+
className: classNames(tableClassNames, className),
|
3034
|
+
"aria-label": ariaLabel
|
3035
|
+
}, children);
|
3036
|
+
};
|
3037
|
+
var TableHead = ({ children, sticky, ...rest }) => /* @__PURE__ */ import_react24.default.createElement("thead", {
|
3038
|
+
...rest
|
3039
|
+
}, /* @__PURE__ */ import_react24.default.createElement("tr", null, /* @__PURE__ */ import_react24.default.createElement(HeadContext.Provider, {
|
3040
|
+
value: { children, sticky }
|
3041
|
+
}, children)));
|
3042
|
+
var TableBody = ({ children, ...rest }) => /* @__PURE__ */ import_react24.default.createElement("tbody", {
|
3043
|
+
...rest
|
3044
|
+
}, children);
|
3045
|
+
var rowClassNames = tw("children:border-grey-10 children:last:border-b-0 hover:bg-grey-0");
|
3046
|
+
var TableRow = ({ children, className, ...rest }) => /* @__PURE__ */ import_react24.default.createElement("tr", {
|
3047
|
+
...rest,
|
3048
|
+
className: classNames(rowClassNames, className)
|
3049
|
+
}, children);
|
3050
|
+
var cellClassNames = tw("px-4 border-b typography-body-small-medium leading-[18px]");
|
3051
|
+
var bodyCellClassNames = tw("text-grey-70 py-3 h-[50px]");
|
3052
|
+
var getAlignClassNames = (align) => tw({ "text-right": align === "right", "text-center": align === "center" });
|
3053
|
+
var getHeadCellClassNames = (sticky = true) => {
|
3054
|
+
const common = tw("py-[14px] text-left bg-white border-grey-40 text-grey-50 font-normal");
|
3055
|
+
return sticky ? classNames(common, tw("sticky top-0")) : common;
|
3056
|
+
};
|
3057
|
+
var TableCell = ({ children, className, align = "left", ...rest }) => {
|
3058
|
+
const headContext = import_react24.default.useContext(HeadContext);
|
3059
|
+
return headContext ? /* @__PURE__ */ import_react24.default.createElement("th", {
|
3060
|
+
...rest,
|
3061
|
+
className: classNames(
|
3062
|
+
cellClassNames,
|
3063
|
+
getHeadCellClassNames(headContext.sticky),
|
3064
|
+
getAlignClassNames(align),
|
3065
|
+
className
|
3066
|
+
)
|
3067
|
+
}, children) : /* @__PURE__ */ import_react24.default.createElement("td", {
|
3068
|
+
...rest,
|
3069
|
+
className: classNames(cellClassNames, bodyCellClassNames, getAlignClassNames(align), className)
|
3070
|
+
}, children);
|
3071
|
+
};
|
3072
|
+
var TableSelectCell = ({ ariaLabel, ...props }) => {
|
3073
|
+
return /* @__PURE__ */ import_react24.default.createElement(Table.Cell, {
|
3074
|
+
className: tw("leading-[0px]")
|
3075
|
+
}, props.type === "radio" ? /* @__PURE__ */ import_react24.default.createElement(RadioButton, {
|
3076
|
+
"aria-label": ariaLabel,
|
3077
|
+
...props
|
3078
|
+
}) : /* @__PURE__ */ import_react24.default.createElement(Checkbox, {
|
3079
|
+
"aria-label": ariaLabel,
|
3080
|
+
...props
|
3081
|
+
}));
|
3082
|
+
};
|
3083
|
+
var sortCellButtonClassNames = tw("group inline-flex items-center text-grey-50");
|
3084
|
+
var getSortCellIconClassNames = (active) => {
|
3085
|
+
return tw("text-[9px]", active ? "text-grey-70" : "text-grey-30");
|
3086
|
+
};
|
3087
|
+
var TableSortCell = ({ children, direction = "none", onClick, ...rest }) => /* @__PURE__ */ import_react24.default.createElement(Table.Cell, {
|
3088
|
+
...rest,
|
3089
|
+
"aria-sort": direction
|
3090
|
+
}, /* @__PURE__ */ import_react24.default.createElement("span", {
|
3091
|
+
className: sortCellButtonClassNames,
|
3092
|
+
role: "button",
|
3093
|
+
tabIndex: -1,
|
3094
|
+
onClick
|
3095
|
+
}, children, /* @__PURE__ */ import_react24.default.createElement("div", {
|
3096
|
+
"data-sort-icons": true,
|
3097
|
+
className: tw("flex flex-col ml-4", {
|
3098
|
+
"invisible group-hover:visible": direction === "none"
|
3099
|
+
})
|
3100
|
+
}, /* @__PURE__ */ import_react24.default.createElement(InlineIcon, {
|
3101
|
+
icon: import_chevronUp2.default,
|
3102
|
+
className: getSortCellIconClassNames(direction === "descending")
|
3103
|
+
}), /* @__PURE__ */ import_react24.default.createElement(InlineIcon, {
|
3104
|
+
icon: import_chevronDown3.default,
|
3105
|
+
className: getSortCellIconClassNames(direction === "ascending")
|
3106
|
+
}))));
|
3107
|
+
Table.Head = import_react24.default.memo(TableHead);
|
3108
|
+
Table.Body = import_react24.default.memo(TableBody);
|
3109
|
+
Table.Row = import_react24.default.memo(TableRow);
|
3110
|
+
Table.Cell = import_react24.default.memo(TableCell);
|
3111
|
+
Table.SortCell = import_react24.default.memo(TableSortCell);
|
3112
|
+
Table.SelectCell = import_react24.default.memo(TableSelectCell);
|
3113
|
+
// Annotate the CommonJS export names for ESM import in node:
|
3114
|
+
0 && (module.exports = {
|
3115
|
+
Alert,
|
3116
|
+
Checkbox,
|
3117
|
+
Chip,
|
3118
|
+
DIALOG_ICONS_AND_COLORS,
|
3119
|
+
DropdownMenu,
|
3120
|
+
InputGroup,
|
3121
|
+
Modal,
|
3122
|
+
Popover,
|
3123
|
+
PopoverDialog,
|
3124
|
+
RadioButton,
|
3125
|
+
Select,
|
3126
|
+
Table,
|
3127
|
+
getHeadCellClassNames,
|
3128
|
+
getOptionLabelBuiltin,
|
3129
|
+
getValues,
|
3130
|
+
isOptionDisabledBuiltin
|
3131
|
+
});
|