@ntbjs/react-components 2.0.0-rc.9 → 2.0.1-rc.31
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/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_virtual/_rollupPluginBabelHelpers.js} +2 -1
- package/build/_virtual/_rollupPluginBabelHelpers.js.map +1 -0
- package/build/data/Alert/Alert.js +73 -0
- package/build/data/Alert/Alert.js.map +1 -0
- package/build/data/Alert/Alert.styled.js +63 -0
- package/build/data/Alert/Alert.styled.js.map +1 -0
- package/build/data/Alert/index.js +2 -0
- package/build/data/Alert/index.js.map +1 -0
- package/build/data/Badge/Badge.js +87 -0
- package/build/data/Badge/Badge.js.map +1 -0
- package/build/data/Badge/Badge.styled.js +144 -0
- package/build/data/Badge/Badge.styled.js.map +1 -0
- package/build/data/Badge/index.js +2 -0
- package/build/data/Badge/index.js.map +1 -0
- package/{esm/components → build}/data/Popover/Popover.js +35 -34
- package/build/data/Popover/Popover.js.map +1 -0
- package/{esm/components → build}/data/Popover/Popover.styled.js +40 -44
- package/build/data/Popover/Popover.styled.js.map +1 -0
- package/build/data/Popover/index.js +2 -0
- package/build/data/Popover/index.js.map +1 -0
- package/build/data/Tab/Tab.js +25 -0
- package/build/data/Tab/Tab.js.map +1 -0
- package/build/data/Tab/Tab.styled.js +18 -0
- package/build/data/Tab/Tab.styled.js.map +1 -0
- package/build/data/Tab/index.js +2 -0
- package/build/data/Tab/index.js.map +1 -0
- package/build/data/Tabs/Tabs.js +91 -0
- package/build/data/Tabs/Tabs.js.map +1 -0
- package/build/data/Tabs/Tabs.styled.js +87 -0
- package/build/data/Tabs/Tabs.styled.js.map +1 -0
- package/build/data/Tabs/index.js +2 -0
- package/build/data/Tabs/index.js.map +1 -0
- package/{esm/components → build}/data/Tooltip/Tooltip.js +20 -20
- package/build/data/Tooltip/Tooltip.js.map +1 -0
- package/build/data/Tooltip/Tooltip.styled.js +28 -0
- package/build/data/Tooltip/Tooltip.styled.js.map +1 -0
- package/build/data/Tooltip/index.js +2 -0
- package/build/data/Tooltip/index.js.map +1 -0
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.js +36 -0
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.js.map +1 -0
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +62 -0
- package/build/data/VerificationStatusIcon/VerificationStatusIcon.styled.js.map +1 -0
- package/build/data/index.js +8 -0
- package/build/data/index.js.map +1 -0
- package/{esm → build}/hooks/useEventListner.js +5 -6
- package/build/hooks/useEventListner.js.map +1 -0
- package/build/hooks/useIsomorphicLayoutEffect.js +6 -0
- package/build/hooks/useIsomorphicLayoutEffect.js.map +1 -0
- package/{esm → build}/hooks/useOnClickOutside.js +2 -1
- package/build/hooks/useOnClickOutside.js.map +1 -0
- package/build/icons/add-circle.svg +3 -0
- package/build/icons/add.svg +3 -0
- package/build/icons/album.svg +3 -0
- package/build/icons/arrow-back.svg +4 -0
- package/{esm → build}/icons/arrow-back.svg.js +4 -4
- package/build/icons/arrow-back.svg.js.map +1 -0
- package/build/icons/arrow-drop-down.svg +4 -0
- package/build/icons/arrow-forward.svg +3 -0
- package/{esm → build}/icons/arrow-forward.svg.js +4 -4
- package/build/icons/arrow-forward.svg.js.map +1 -0
- package/build/icons/audio.svg +3 -0
- package/build/icons/bell.svg +3 -0
- package/build/icons/check-circle-filled.svg +3 -0
- package/build/icons/check-rectangle-filled.svg +3 -0
- package/{esm → build}/icons/check-rectangle-filled.svg.js +4 -4
- package/build/icons/check-rectangle-filled.svg.js.map +1 -0
- package/build/icons/check.svg +3 -0
- package/build/icons/clear-circle-filled.svg +14 -0
- package/build/icons/close.svg +4 -0
- package/{esm → build}/icons/close.svg.js +4 -4
- package/build/icons/close.svg.js.map +1 -0
- package/build/icons/corporate.svg +3 -0
- package/build/icons/delete-context-menu.svg +4 -0
- package/build/icons/delete.svg +3 -0
- package/build/icons/design-services.svg +4 -0
- package/build/icons/download.svg +3 -0
- package/build/icons/edit-note.svg +4 -0
- package/{esm → build}/icons/edit-note.svg.js +4 -4
- package/build/icons/edit-note.svg.js.map +1 -0
- package/build/icons/edit.svg +3 -0
- package/build/icons/expand-more.svg +4 -0
- package/{esm → build}/icons/expand-more.svg.js +4 -4
- package/build/icons/expand-more.svg.js.map +1 -0
- package/build/icons/file.svg +3 -0
- package/build/icons/ftp.svg +3 -0
- package/build/icons/gear.svg +3 -0
- package/build/icons/headset.svg +1 -0
- package/{esm → build}/icons/headset.svg.js +4 -4
- package/build/icons/headset.svg.js.map +1 -0
- package/build/icons/index.js +79 -0
- package/build/icons/layers.svg +3 -0
- package/{esm → build}/icons/layers.svg.js +4 -4
- package/build/icons/layers.svg.js.map +1 -0
- package/build/icons/library-add.svg +3 -0
- package/build/icons/link.svg +4 -0
- package/{esm → build}/icons/link.svg.js +4 -4
- package/build/icons/link.svg.js.map +1 -0
- package/build/icons/pdf.svg +3 -0
- package/build/icons/play.svg +3 -0
- package/{esm → build}/icons/play.svg.js +4 -4
- package/build/icons/play.svg.js.map +1 -0
- package/build/icons/remove-circle.svg +3 -0
- package/build/icons/search.svg +3 -0
- package/{esm → build}/icons/search.svg.js +4 -4
- package/build/icons/search.svg.js.map +1 -0
- package/build/icons/share.svg +3 -0
- package/build/icons/shopping_cart_add.svg +3 -0
- package/build/icons/star-filled.svg +3 -0
- package/{esm → build}/icons/star-filled.svg.js +4 -4
- package/build/icons/star-filled.svg.js.map +1 -0
- package/build/icons/star.svg +3 -0
- package/{esm → build}/icons/star.svg.js +4 -4
- package/build/icons/star.svg.js.map +1 -0
- package/build/icons/triangle-right.svg +4 -0
- package/{esm → build}/icons/triangle-right.svg.js +4 -4
- package/build/icons/triangle-right.svg.js.map +1 -0
- package/build/icons/verification.svg +3 -0
- package/{esm → build}/icons/verification.svg.js +4 -4
- package/build/icons/verification.svg.js.map +1 -0
- package/build/icons/warning-circle.svg +3 -0
- package/{esm → build}/icons/warning-circle.svg.js +4 -4
- package/build/icons/warning-circle.svg.js.map +1 -0
- package/build/icons/warning-triangle.svg +3 -0
- package/build/index.js +5 -0
- package/build/index.js.map +1 -0
- package/build/inputs/ActionButton/ActionButton.js +38 -0
- package/build/inputs/ActionButton/ActionButton.js.map +1 -0
- package/build/inputs/ActionButton/ActionButton.styled.js +64 -0
- package/build/inputs/ActionButton/ActionButton.styled.js.map +1 -0
- package/build/inputs/ActionButton/index.js +2 -0
- package/build/inputs/ActionButton/index.js.map +1 -0
- package/build/inputs/Button/Button.js +188 -0
- package/build/inputs/Button/Button.js.map +1 -0
- package/build/inputs/Button/Button.styled.js +289 -0
- package/build/inputs/Button/Button.styled.js.map +1 -0
- package/build/inputs/Button/index.js +2 -0
- package/build/inputs/Button/index.js.map +1 -0
- package/{esm/components → build}/inputs/Checkbox/Checkbox.js +16 -17
- package/build/inputs/Checkbox/Checkbox.js.map +1 -0
- package/build/inputs/Checkbox/Checkbox.styled.js +137 -0
- package/build/inputs/Checkbox/Checkbox.styled.js.map +1 -0
- package/build/inputs/Checkbox/index.js +2 -0
- package/build/inputs/Checkbox/index.js.map +1 -0
- package/{esm/components → build}/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +61 -58
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js.map +1 -0
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +296 -0
- package/build/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js.map +1 -0
- package/build/inputs/CompactAutocompleteSelect/index.js +2 -0
- package/build/inputs/CompactAutocompleteSelect/index.js.map +1 -0
- package/{esm/components → build}/inputs/CompactStarRating/CompactStarRating.js +56 -54
- package/build/inputs/CompactStarRating/CompactStarRating.js.map +1 -0
- package/build/inputs/CompactStarRating/CompactStarRating.styled.js +234 -0
- package/build/inputs/CompactStarRating/CompactStarRating.styled.js.map +1 -0
- package/build/inputs/CompactStarRating/index.js +2 -0
- package/build/inputs/CompactStarRating/index.js.map +1 -0
- package/{esm/components → build}/inputs/CompactTextInput/CompactTextInput.js +62 -61
- package/build/inputs/CompactTextInput/CompactTextInput.js.map +1 -0
- package/build/inputs/CompactTextInput/CompactTextInput.styled.js +352 -0
- package/build/inputs/CompactTextInput/CompactTextInput.styled.js.map +1 -0
- package/build/inputs/CompactTextInput/index.js +2 -0
- package/build/inputs/CompactTextInput/index.js.map +1 -0
- package/{esm/components → build}/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +44 -84
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js.map +1 -0
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +83 -0
- package/build/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js.map +1 -0
- package/build/inputs/MultiLevelCheckbox/index.js +3 -0
- package/build/inputs/MultiLevelCheckbox/index.js.map +1 -0
- package/build/inputs/MultiLevelCheckbox/types.js +27 -0
- package/build/inputs/MultiLevelCheckbox/types.js.map +1 -0
- package/{esm/components → build}/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +53 -50
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js.map +1 -0
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +118 -0
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js.map +1 -0
- package/build/inputs/MultiLevelCheckboxSelect/index.js +2 -0
- package/build/inputs/MultiLevelCheckboxSelect/index.js.map +1 -0
- package/{esm/components → build}/inputs/MultiSelect/MultiSelect.js +46 -92
- package/build/inputs/MultiSelect/MultiSelect.js.map +1 -0
- package/build/inputs/MultiSelect/MultiSelect.styled.js +224 -0
- package/build/inputs/MultiSelect/MultiSelect.styled.js.map +1 -0
- package/build/inputs/MultiSelect/index.js +2 -0
- package/build/inputs/MultiSelect/index.js.map +1 -0
- package/build/inputs/Radio/Radio.js +60 -0
- package/build/inputs/Radio/Radio.js.map +1 -0
- package/{esm/components → build}/inputs/Radio/Radio.styled.js +27 -24
- package/build/inputs/Radio/Radio.styled.js.map +1 -0
- package/build/inputs/Radio/index.js +2 -0
- package/build/inputs/Radio/index.js.map +1 -0
- package/{esm/components → build}/inputs/Switch/Switch.js +12 -13
- package/build/inputs/Switch/Switch.js.map +1 -0
- package/build/inputs/Switch/Switch.styled.js +117 -0
- package/build/inputs/Switch/Switch.styled.js.map +1 -0
- package/build/inputs/Switch/index.js +2 -0
- package/build/inputs/Switch/index.js.map +1 -0
- package/build/inputs/TextArea/TextArea.js +175 -0
- package/build/inputs/TextArea/TextArea.js.map +1 -0
- package/build/inputs/TextArea/TextArea.styled.js +470 -0
- package/build/inputs/TextArea/TextArea.styled.js.map +1 -0
- package/build/inputs/TextArea/index.js +2 -0
- package/build/inputs/TextArea/index.js.map +1 -0
- package/build/inputs/TextInput/TextInput.js +139 -0
- package/build/inputs/TextInput/TextInput.js.map +1 -0
- package/build/inputs/TextInput/TextInput.styled.js +249 -0
- package/build/inputs/TextInput/TextInput.styled.js.map +1 -0
- package/build/inputs/TextInput/index.js +2 -0
- package/build/inputs/TextInput/index.js.map +1 -0
- package/build/inputs/index.js +15 -0
- package/build/inputs/index.js.map +1 -0
- package/build/layout/InputGroup/InputGroup.js +20 -0
- package/build/layout/InputGroup/InputGroup.js.map +1 -0
- package/build/layout/InputGroup/InputGroup.styled.js +14 -0
- package/build/layout/InputGroup/InputGroup.styled.js.map +1 -0
- package/build/layout/SectionSeparator/SectionSeparator.js +23 -0
- package/build/layout/SectionSeparator/SectionSeparator.js.map +1 -0
- package/build/layout/SectionSeparator/SectionSeparator.styled.js +19 -0
- package/build/layout/SectionSeparator/SectionSeparator.styled.js.map +1 -0
- package/build/layout/SectionSeparator/index.js +2 -0
- package/build/layout/SectionSeparator/index.js.map +1 -0
- package/build/layout/index.js +3 -0
- package/build/layout/index.js.map +1 -0
- package/{esm/ssr → build}/ssr/index.js +1 -0
- package/build/ssr/index.js.map +1 -0
- package/build/styles/.config.scss +38 -0
- package/build/styles/all.scss +3 -0
- package/build/styles/utils/.colors.scss +15 -0
- package/build/styles/utils/colors-export.js +38 -0
- package/build/styles/utils/colors-export.js.map +1 -0
- package/build/styles/utils/theme.scss +35 -0
- package/{esm → build}/utils/dateTime.js +1 -0
- package/build/utils/dateTime.js.map +1 -0
- package/build/utils/defaultTheme.js +67 -0
- package/build/utils/defaultTheme.js.map +1 -0
- package/{esm/components → build}/widgets/AssetAction/AssetAction.js +23 -26
- package/build/widgets/AssetAction/AssetAction.js.map +1 -0
- package/build/widgets/AssetAction/AssetAction.styled.js +52 -0
- package/build/widgets/AssetAction/AssetAction.styled.js.map +1 -0
- package/build/widgets/AssetAction/index.js +2 -0
- package/build/widgets/AssetAction/index.js.map +1 -0
- package/build/widgets/AssetActionsBase/AssetActionsBase.js +29 -0
- package/build/widgets/AssetActionsBase/AssetActionsBase.js.map +1 -0
- package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js +20 -0
- package/build/widgets/AssetActionsBase/AssetActionsBase.styled.js.map +1 -0
- package/build/widgets/AssetActionsBase/index.js +2 -0
- package/build/widgets/AssetActionsBase/index.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/AssetGallery.js +35 -34
- package/build/widgets/AssetGallery/AssetGallery.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +65 -64
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js.map +1 -0
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +39 -0
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +122 -108
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js.map +1 -0
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +329 -0
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +132 -115
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +98 -120
- package/build/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js.map +1 -0
- package/{esm/components → build}/widgets/AssetGallery/asset.propType.js +5 -4
- package/build/widgets/AssetGallery/asset.propType.js.map +1 -0
- package/build/widgets/AssetGallery/index.js +2 -0
- package/build/widgets/AssetGallery/index.js.map +1 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +44 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js.map +1 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +88 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js.map +1 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js +2 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenu.js +23 -0
- package/build/widgets/ContextMenu/ContextMenu.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenu.styled.js +15 -0
- package/build/widgets/ContextMenu/ContextMenu.styled.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +44 -0
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +86 -0
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItem/index.js +2 -0
- package/build/widgets/ContextMenu/ContextMenuItem/index.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +22 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +26 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js.map +1 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js +2 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js.map +1 -0
- package/build/widgets/ContextMenu/index.js +2 -0
- package/build/widgets/ContextMenu/index.js.map +1 -0
- package/build/widgets/InfoCard/InfoCard.js +40 -0
- package/build/widgets/InfoCard/InfoCard.js.map +1 -0
- package/build/widgets/InfoCard/InfoCard.styled.js +113 -0
- package/build/widgets/InfoCard/InfoCard.styled.js.map +1 -0
- package/build/widgets/InfoCard/index.js +2 -0
- package/build/widgets/InfoCard/index.js.map +1 -0
- package/{esm/components → build}/widgets/Instructions/Instructions.js +60 -63
- package/build/widgets/Instructions/Instructions.js.map +1 -0
- package/build/widgets/Instructions/Instructions.styled.js +32 -0
- package/build/widgets/Instructions/Instructions.styled.js.map +1 -0
- package/build/widgets/Instructions/index.js +2 -0
- package/build/widgets/Instructions/index.js.map +1 -0
- package/build/widgets/ProgressBar/ProgressBar.js +72 -0
- package/build/widgets/ProgressBar/ProgressBar.js.map +1 -0
- package/build/widgets/ProgressBar/ProgressBar.styled.js +178 -0
- package/build/widgets/ProgressBar/ProgressBar.styled.js.map +1 -0
- package/build/widgets/ProgressBar/index.js +2 -0
- package/build/widgets/ProgressBar/index.js.map +1 -0
- package/build/widgets/SummaryCard/SummaryCard.js +93 -0
- package/build/widgets/SummaryCard/SummaryCard.js.map +1 -0
- package/build/widgets/SummaryCard/SummaryCard.styled.js +137 -0
- package/build/widgets/SummaryCard/SummaryCard.styled.js.map +1 -0
- package/build/widgets/SummaryCard/index.js +2 -0
- package/build/widgets/SummaryCard/index.js.map +1 -0
- package/build/widgets/index.js +11 -0
- package/build/widgets/index.js.map +1 -0
- package/package.json +45 -60
- package/styles/.config.scss +38 -0
- package/styles/config.scss +1 -0
- package/styles/utils/.colors.scss +15 -0
- package/styles/utils/colors-export.js +35 -0
- package/styles/utils/colors.scss +4 -4
- package/.eslintrc +0 -19
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
- package/cjs/_virtual/index.js +0 -7
- package/cjs/_virtual/index2.js +0 -7
- package/cjs/_virtual/index3.js +0 -7
- package/cjs/_virtual/index4.js +0 -7
- package/cjs/_virtual/index5.js +0 -7
- package/cjs/_virtual/react-dom.development.js +0 -7
- package/cjs/_virtual/react-dom.production.js +0 -7
- package/cjs/_virtual/react-is.development.js +0 -7
- package/cjs/_virtual/react-is.development2.js +0 -7
- package/cjs/_virtual/react-is.production.min.js +0 -7
- package/cjs/_virtual/react-is.production.min2.js +0 -7
- package/cjs/_virtual/react.development.js +0 -7
- package/cjs/_virtual/react.production.js +0 -7
- package/cjs/components/data/Alert/Alert.js +0 -81
- package/cjs/components/data/Alert/Alert.styled.js +0 -72
- package/cjs/components/data/Alert/data/Alert/index.js +0 -9
- package/cjs/components/data/Badge/Badge.js +0 -93
- package/cjs/components/data/Badge/Badge.styled.js +0 -156
- package/cjs/components/data/Badge/data/Badge/index.js +0 -9
- package/cjs/components/data/Popover/Popover.js +0 -102
- package/cjs/components/data/Popover/Popover.styled.js +0 -159
- package/cjs/components/data/Popover/data/Popover/index.js +0 -9
- package/cjs/components/data/Tab/Tab.js +0 -31
- package/cjs/components/data/Tab/Tab.styled.js +0 -22
- package/cjs/components/data/Tab/data/Tab/index.js +0 -9
- package/cjs/components/data/Tabs/Tabs.js +0 -91
- package/cjs/components/data/Tabs/Tabs.styled.js +0 -97
- package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
- package/cjs/components/data/Tooltip/Tooltip.js +0 -50
- package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
- package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -79
- package/cjs/components/data/data/index.js +0 -21
- package/cjs/components/inputs/ActionButton/ActionButton.js +0 -42
- package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -66
- package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
- package/cjs/components/inputs/Button/Button.js +0 -188
- package/cjs/components/inputs/Button/Button.styled.js +0 -294
- package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
- package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
- package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -145
- package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -352
- package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -178
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -258
- package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -352
- package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
- package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
- package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -89
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -122
- package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -251
- package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -279
- package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
- package/cjs/components/inputs/Radio/Radio.js +0 -67
- package/cjs/components/inputs/Radio/Radio.styled.js +0 -93
- package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
- package/cjs/components/inputs/Switch/Switch.js +0 -69
- package/cjs/components/inputs/Switch/Switch.styled.js +0 -123
- package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
- package/cjs/components/inputs/TextArea/TextArea.js +0 -186
- package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -455
- package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
- package/cjs/components/inputs/TextInput/TextInput.js +0 -147
- package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -276
- package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
- package/cjs/components/inputs/inputs/index.js +0 -33
- package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
- package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -18
- package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
- package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
- package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -21
- package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
- package/cjs/components/layout/layout/index.js +0 -11
- package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
- package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -58
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -24
- package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -102
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -392
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -43
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -402
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -338
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
- package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
- package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -96
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
- package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -28
- package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -19
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -93
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -30
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
- package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
- package/cjs/components/widgets/InfoCard/InfoCard.js +0 -39
- package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -110
- package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
- package/cjs/components/widgets/Instructions/Instructions.js +0 -217
- package/cjs/components/widgets/Instructions/Instructions.styled.js +0 -47
- package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +0 -9
- package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -58
- package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -154
- package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
- package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -92
- package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -142
- package/cjs/components/widgets/widgets/index.js +0 -25
- package/cjs/hooks/useEventListner.js +0 -26
- package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
- package/cjs/hooks/useOnClickOutside.js +0 -17
- package/cjs/icons/arrow-back.svg.js +0 -20
- package/cjs/icons/arrow-forward.svg.js +0 -20
- package/cjs/icons/check-rectangle-filled.svg.js +0 -20
- package/cjs/icons/close.svg.js +0 -20
- package/cjs/icons/edit-note.svg.js +0 -20
- package/cjs/icons/expand-more.svg.js +0 -20
- package/cjs/icons/headset.svg.js +0 -20
- package/cjs/icons/layers.svg.js +0 -20
- package/cjs/icons/link.svg.js +0 -20
- package/cjs/icons/play.svg.js +0 -20
- package/cjs/icons/search.svg.js +0 -20
- package/cjs/icons/star-filled.svg.js +0 -20
- package/cjs/icons/star.svg.js +0 -20
- package/cjs/icons/triangle-right.svg.js +0 -20
- package/cjs/icons/verification.svg.js +0 -20
- package/cjs/icons/warning-circle.svg.js +0 -20
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
- package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
- package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
- package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
- package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
- package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
- package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
- package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
- package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
- package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
- package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
- package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
- package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
- package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
- package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
- package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
- package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
- package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
- package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
- package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
- package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
- package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
- package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
- package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
- package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
- package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
- package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
- package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
- package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
- package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
- package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
- package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
- package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
- package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
- package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -907
- package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -128
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -165
- package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -46
- package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -41
- package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
- package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
- package/cjs/node_modules/object-assign/index.js +0 -94
- package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
- package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
- package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
- package/cjs/node_modules/prop-types/index.js +0 -33
- package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
- package/cjs/node_modules/prop-types/lib/has.js +0 -7
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
- package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
- package/cjs/node_modules/react/cjs/react.development.js +0 -1246
- package/cjs/node_modules/react/cjs/react.production.js +0 -552
- package/cjs/node_modules/react/index.js +0 -19
- package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
- package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
- package/cjs/node_modules/react-dom/index.js +0 -44
- package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
- package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
- package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2653
- package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
- package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -101
- package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
- package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
- package/cjs/node_modules/stylis/src/Enum.js +0 -24
- package/cjs/node_modules/stylis/src/Middleware.js +0 -37
- package/cjs/node_modules/stylis/src/Parser.js +0 -201
- package/cjs/node_modules/stylis/src/Serializer.js +0 -43
- package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
- package/cjs/node_modules/stylis/src/Utility.js +0 -134
- package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
- package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
- package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -12
- package/cjs/ssr/ssr/index.js +0 -12
- package/cjs/styles/utils/colors.scss.js +0 -11
- package/cjs/utils/dateTime.js +0 -20
- package/cjs/utils/defaultTheme.js +0 -52
- package/doctor-storybook.log +0 -20
- package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
- package/esm/_virtual/index.js +0 -3
- package/esm/_virtual/index2.js +0 -3
- package/esm/_virtual/index3.js +0 -3
- package/esm/_virtual/index4.js +0 -3
- package/esm/_virtual/index5.js +0 -3
- package/esm/_virtual/react-dom.development.js +0 -3
- package/esm/_virtual/react-dom.production.js +0 -3
- package/esm/_virtual/react-is.development.js +0 -3
- package/esm/_virtual/react-is.development2.js +0 -3
- package/esm/_virtual/react-is.production.min.js +0 -3
- package/esm/_virtual/react-is.production.min2.js +0 -3
- package/esm/_virtual/react.development.js +0 -3
- package/esm/_virtual/react.production.js +0 -3
- package/esm/components/data/Alert/Alert.js +0 -77
- package/esm/components/data/Alert/Alert.styled.js +0 -63
- package/esm/components/data/Alert/data/Alert/index.js +0 -1
- package/esm/components/data/Badge/Badge.js +0 -89
- package/esm/components/data/Badge/Badge.styled.js +0 -145
- package/esm/components/data/Badge/data/Badge/index.js +0 -1
- package/esm/components/data/Popover/data/Popover/index.js +0 -1
- package/esm/components/data/Tab/Tab.js +0 -27
- package/esm/components/data/Tab/Tab.styled.js +0 -14
- package/esm/components/data/Tab/data/Tab/index.js +0 -1
- package/esm/components/data/Tabs/Tabs.js +0 -87
- package/esm/components/data/Tabs/Tabs.styled.js +0 -85
- package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
- package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
- package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -69
- package/esm/components/data/data/index.js +0 -7
- package/esm/components/inputs/ActionButton/ActionButton.js +0 -38
- package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -58
- package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
- package/esm/components/inputs/Button/Button.js +0 -184
- package/esm/components/inputs/Button/Button.styled.js +0 -277
- package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
- package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -132
- package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -324
- package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
- package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -245
- package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
- package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -335
- package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -75
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -104
- package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
- package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
- package/esm/components/inputs/Radio/Radio.js +0 -63
- package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
- package/esm/components/inputs/Switch/Switch.styled.js +0 -110
- package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
- package/esm/components/inputs/TextArea/TextArea.js +0 -182
- package/esm/components/inputs/TextArea/TextArea.styled.js +0 -437
- package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
- package/esm/components/inputs/TextInput/TextInput.js +0 -143
- package/esm/components/inputs/TextInput/TextInput.styled.js +0 -261
- package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
- package/esm/components/inputs/inputs/index.js +0 -13
- package/esm/components/layout/InputGroup/InputGroup.js +0 -22
- package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -10
- package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
- package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
- package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -13
- package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
- package/esm/components/layout/layout/index.js +0 -2
- package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -46
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -16
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -33
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -311
- package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -84
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
- package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -24
- package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -11
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -83
- package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -22
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
- package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
- package/esm/components/widgets/InfoCard/InfoCard.js +0 -35
- package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -94
- package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
- package/esm/components/widgets/Instructions/Instructions.styled.js +0 -36
- package/esm/components/widgets/Instructions/widgets/Instructions/index.js +0 -1
- package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -54
- package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -137
- package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
- package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -88
- package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -124
- package/esm/components/widgets/widgets/index.js +0 -9
- package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
- package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
- package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
- package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
- package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
- package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
- package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
- package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
- package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
- package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
- package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
- package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
- package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -894
- package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -110
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -138
- package/esm/node_modules/@restart/hooks/esm/useMergedRefs.js +0 -41
- package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +0 -37
- package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
- package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
- package/esm/node_modules/object-assign/index.js +0 -90
- package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
- package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
- package/esm/node_modules/prop-types/factoryWithTypeCheckers.js +0 -617
- package/esm/node_modules/prop-types/index.js +0 -29
- package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/esm/node_modules/prop-types/lib/has.js +0 -3
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
- package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
- package/esm/node_modules/react/cjs/react.development.js +0 -1244
- package/esm/node_modules/react/cjs/react.production.js +0 -547
- package/esm/node_modules/react/index.js +0 -15
- package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
- package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
- package/esm/node_modules/react-dom/index.js +0 -42
- package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
- package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
- package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +0 -2644
- package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
- package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +0 -97
- package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
- package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
- package/esm/node_modules/stylis/src/Enum.js +0 -12
- package/esm/node_modules/stylis/src/Middleware.js +0 -32
- package/esm/node_modules/stylis/src/Parser.js +0 -193
- package/esm/node_modules/stylis/src/Serializer.js +0 -38
- package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
- package/esm/node_modules/stylis/src/Utility.js +0 -117
- package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
- package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -8
- package/esm/styles/utils/colors.scss.js +0 -7
- package/esm/utils/defaultTheme.js +0 -47
- package/migration-storybook.log +0 -392
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var floatingUi_core = require('../../core/dist/floating-ui.core.mjs.js');
|
|
6
|
-
var floatingUi_utils = require('../../utils/dist/floating-ui.utils.mjs.js');
|
|
7
|
-
var floatingUi_utils_dom = require('../../utils/dist/floating-ui.utils.dom.mjs.js');
|
|
8
|
-
|
|
9
|
-
function getCssDimensions(element) {
|
|
10
|
-
const css = floatingUi_utils_dom.getComputedStyle(element);
|
|
11
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
12
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
13
|
-
let width = parseFloat(css.width) || 0;
|
|
14
|
-
let height = parseFloat(css.height) || 0;
|
|
15
|
-
const hasOffset = floatingUi_utils_dom.isHTMLElement(element);
|
|
16
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
17
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
18
|
-
const shouldFallback = floatingUi_utils.round(width) !== offsetWidth || floatingUi_utils.round(height) !== offsetHeight;
|
|
19
|
-
if (shouldFallback) {
|
|
20
|
-
width = offsetWidth;
|
|
21
|
-
height = offsetHeight;
|
|
22
|
-
}
|
|
23
|
-
return {
|
|
24
|
-
width,
|
|
25
|
-
height,
|
|
26
|
-
$: shouldFallback
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function unwrapElement(element) {
|
|
31
|
-
return !floatingUi_utils_dom.isElement(element) ? element.contextElement : element;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function getScale(element) {
|
|
35
|
-
const domElement = unwrapElement(element);
|
|
36
|
-
if (!floatingUi_utils_dom.isHTMLElement(domElement)) {
|
|
37
|
-
return floatingUi_utils.createCoords(1);
|
|
38
|
-
}
|
|
39
|
-
const rect = domElement.getBoundingClientRect();
|
|
40
|
-
const {
|
|
41
|
-
width,
|
|
42
|
-
height,
|
|
43
|
-
$
|
|
44
|
-
} = getCssDimensions(domElement);
|
|
45
|
-
let x = ($ ? floatingUi_utils.round(rect.width) : rect.width) / width;
|
|
46
|
-
let y = ($ ? floatingUi_utils.round(rect.height) : rect.height) / height;
|
|
47
|
-
|
|
48
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
49
|
-
|
|
50
|
-
if (!x || !Number.isFinite(x)) {
|
|
51
|
-
x = 1;
|
|
52
|
-
}
|
|
53
|
-
if (!y || !Number.isFinite(y)) {
|
|
54
|
-
y = 1;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
x,
|
|
58
|
-
y
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const noOffsets = /*#__PURE__*/floatingUi_utils.createCoords(0);
|
|
63
|
-
function getVisualOffsets(element) {
|
|
64
|
-
const win = floatingUi_utils_dom.getWindow(element);
|
|
65
|
-
if (!floatingUi_utils_dom.isWebKit() || !win.visualViewport) {
|
|
66
|
-
return noOffsets;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
x: win.visualViewport.offsetLeft,
|
|
70
|
-
y: win.visualViewport.offsetTop
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
74
|
-
if (isFixed === void 0) {
|
|
75
|
-
isFixed = false;
|
|
76
|
-
}
|
|
77
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== floatingUi_utils_dom.getWindow(element)) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
return isFixed;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
84
|
-
if (includeScale === void 0) {
|
|
85
|
-
includeScale = false;
|
|
86
|
-
}
|
|
87
|
-
if (isFixedStrategy === void 0) {
|
|
88
|
-
isFixedStrategy = false;
|
|
89
|
-
}
|
|
90
|
-
const clientRect = element.getBoundingClientRect();
|
|
91
|
-
const domElement = unwrapElement(element);
|
|
92
|
-
let scale = floatingUi_utils.createCoords(1);
|
|
93
|
-
if (includeScale) {
|
|
94
|
-
if (offsetParent) {
|
|
95
|
-
if (floatingUi_utils_dom.isElement(offsetParent)) {
|
|
96
|
-
scale = getScale(offsetParent);
|
|
97
|
-
}
|
|
98
|
-
} else {
|
|
99
|
-
scale = getScale(element);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : floatingUi_utils.createCoords(0);
|
|
103
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
104
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
105
|
-
let width = clientRect.width / scale.x;
|
|
106
|
-
let height = clientRect.height / scale.y;
|
|
107
|
-
if (domElement) {
|
|
108
|
-
const win = floatingUi_utils_dom.getWindow(domElement);
|
|
109
|
-
const offsetWin = offsetParent && floatingUi_utils_dom.isElement(offsetParent) ? floatingUi_utils_dom.getWindow(offsetParent) : offsetParent;
|
|
110
|
-
let currentWin = win;
|
|
111
|
-
let currentIFrame = floatingUi_utils_dom.getFrameElement(currentWin);
|
|
112
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
113
|
-
const iframeScale = getScale(currentIFrame);
|
|
114
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
115
|
-
const css = floatingUi_utils_dom.getComputedStyle(currentIFrame);
|
|
116
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
117
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
118
|
-
x *= iframeScale.x;
|
|
119
|
-
y *= iframeScale.y;
|
|
120
|
-
width *= iframeScale.x;
|
|
121
|
-
height *= iframeScale.y;
|
|
122
|
-
x += left;
|
|
123
|
-
y += top;
|
|
124
|
-
currentWin = floatingUi_utils_dom.getWindow(currentIFrame);
|
|
125
|
-
currentIFrame = floatingUi_utils_dom.getFrameElement(currentWin);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
return floatingUi_utils.rectToClientRect({
|
|
129
|
-
width,
|
|
130
|
-
height,
|
|
131
|
-
x,
|
|
132
|
-
y
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function rectsAreEqual(a, b) {
|
|
137
|
-
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// https://samthor.au/2021/observing-dom/
|
|
141
|
-
function observeMove(element, onMove) {
|
|
142
|
-
let io = null;
|
|
143
|
-
let timeoutId;
|
|
144
|
-
const root = floatingUi_utils_dom.getDocumentElement(element);
|
|
145
|
-
function cleanup() {
|
|
146
|
-
var _io;
|
|
147
|
-
clearTimeout(timeoutId);
|
|
148
|
-
(_io = io) == null || _io.disconnect();
|
|
149
|
-
io = null;
|
|
150
|
-
}
|
|
151
|
-
function refresh(skip, threshold) {
|
|
152
|
-
if (skip === void 0) {
|
|
153
|
-
skip = false;
|
|
154
|
-
}
|
|
155
|
-
if (threshold === void 0) {
|
|
156
|
-
threshold = 1;
|
|
157
|
-
}
|
|
158
|
-
cleanup();
|
|
159
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
160
|
-
const {
|
|
161
|
-
left,
|
|
162
|
-
top,
|
|
163
|
-
width,
|
|
164
|
-
height
|
|
165
|
-
} = elementRectForRootMargin;
|
|
166
|
-
if (!skip) {
|
|
167
|
-
onMove();
|
|
168
|
-
}
|
|
169
|
-
if (!width || !height) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
const insetTop = floatingUi_utils.floor(top);
|
|
173
|
-
const insetRight = floatingUi_utils.floor(root.clientWidth - (left + width));
|
|
174
|
-
const insetBottom = floatingUi_utils.floor(root.clientHeight - (top + height));
|
|
175
|
-
const insetLeft = floatingUi_utils.floor(left);
|
|
176
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
177
|
-
const options = {
|
|
178
|
-
rootMargin,
|
|
179
|
-
threshold: floatingUi_utils.max(0, floatingUi_utils.min(1, threshold)) || 1
|
|
180
|
-
};
|
|
181
|
-
let isFirstUpdate = true;
|
|
182
|
-
function handleObserve(entries) {
|
|
183
|
-
const ratio = entries[0].intersectionRatio;
|
|
184
|
-
if (ratio !== threshold) {
|
|
185
|
-
if (!isFirstUpdate) {
|
|
186
|
-
return refresh();
|
|
187
|
-
}
|
|
188
|
-
if (!ratio) {
|
|
189
|
-
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
190
|
-
// to prevent an infinite loop of updates.
|
|
191
|
-
timeoutId = setTimeout(() => {
|
|
192
|
-
refresh(false, 1e-7);
|
|
193
|
-
}, 1000);
|
|
194
|
-
} else {
|
|
195
|
-
refresh(false, ratio);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
199
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
200
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
201
|
-
// area anymore. This can happen under performance constraints. This may
|
|
202
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
203
|
-
// work around this, we compare the element's bounding rect now with
|
|
204
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
205
|
-
// are not equal then the element moved, so we refresh.
|
|
206
|
-
refresh();
|
|
207
|
-
}
|
|
208
|
-
isFirstUpdate = false;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
212
|
-
// error.
|
|
213
|
-
try {
|
|
214
|
-
io = new IntersectionObserver(handleObserve, {
|
|
215
|
-
...options,
|
|
216
|
-
// Handle <iframe>s
|
|
217
|
-
root: root.ownerDocument
|
|
218
|
-
});
|
|
219
|
-
} catch (e) {
|
|
220
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
221
|
-
}
|
|
222
|
-
io.observe(element);
|
|
223
|
-
}
|
|
224
|
-
refresh(true);
|
|
225
|
-
return cleanup;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Automatically updates the position of the floating element when necessary.
|
|
230
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
231
|
-
* visible on the screen.
|
|
232
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
233
|
-
* removed from the DOM or hidden from the screen.
|
|
234
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
235
|
-
*/
|
|
236
|
-
function autoUpdate(reference, floating, update, options) {
|
|
237
|
-
if (options === void 0) {
|
|
238
|
-
options = {};
|
|
239
|
-
}
|
|
240
|
-
const {
|
|
241
|
-
ancestorScroll = true,
|
|
242
|
-
ancestorResize = true,
|
|
243
|
-
elementResize = typeof ResizeObserver === 'function',
|
|
244
|
-
layoutShift = typeof IntersectionObserver === 'function',
|
|
245
|
-
animationFrame = false
|
|
246
|
-
} = options;
|
|
247
|
-
const referenceEl = unwrapElement(reference);
|
|
248
|
-
const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? floatingUi_utils_dom.getOverflowAncestors(referenceEl) : []), ...floatingUi_utils_dom.getOverflowAncestors(floating)] : [];
|
|
249
|
-
ancestors.forEach(ancestor => {
|
|
250
|
-
ancestorScroll && ancestor.addEventListener('scroll', update, {
|
|
251
|
-
passive: true
|
|
252
|
-
});
|
|
253
|
-
ancestorResize && ancestor.addEventListener('resize', update);
|
|
254
|
-
});
|
|
255
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
256
|
-
let reobserveFrame = -1;
|
|
257
|
-
let resizeObserver = null;
|
|
258
|
-
if (elementResize) {
|
|
259
|
-
resizeObserver = new ResizeObserver(_ref => {
|
|
260
|
-
let [firstEntry] = _ref;
|
|
261
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
262
|
-
// Prevent update loops when using the `size` middleware.
|
|
263
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
264
|
-
resizeObserver.unobserve(floating);
|
|
265
|
-
cancelAnimationFrame(reobserveFrame);
|
|
266
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
267
|
-
var _resizeObserver;
|
|
268
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
269
|
-
});
|
|
270
|
-
}
|
|
271
|
-
update();
|
|
272
|
-
});
|
|
273
|
-
if (referenceEl && !animationFrame) {
|
|
274
|
-
resizeObserver.observe(referenceEl);
|
|
275
|
-
}
|
|
276
|
-
resizeObserver.observe(floating);
|
|
277
|
-
}
|
|
278
|
-
let frameId;
|
|
279
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
280
|
-
if (animationFrame) {
|
|
281
|
-
frameLoop();
|
|
282
|
-
}
|
|
283
|
-
function frameLoop() {
|
|
284
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
285
|
-
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
286
|
-
update();
|
|
287
|
-
}
|
|
288
|
-
prevRefRect = nextRefRect;
|
|
289
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
290
|
-
}
|
|
291
|
-
update();
|
|
292
|
-
return () => {
|
|
293
|
-
var _resizeObserver2;
|
|
294
|
-
ancestors.forEach(ancestor => {
|
|
295
|
-
ancestorScroll && ancestor.removeEventListener('scroll', update);
|
|
296
|
-
ancestorResize && ancestor.removeEventListener('resize', update);
|
|
297
|
-
});
|
|
298
|
-
cleanupIo == null || cleanupIo();
|
|
299
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
300
|
-
resizeObserver = null;
|
|
301
|
-
if (animationFrame) {
|
|
302
|
-
cancelAnimationFrame(frameId);
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Modifies the placement by translating the floating element along the
|
|
309
|
-
* specified axes.
|
|
310
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
311
|
-
* object may be passed.
|
|
312
|
-
* @see https://floating-ui.com/docs/offset
|
|
313
|
-
*/
|
|
314
|
-
floatingUi_core.offset;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Optimizes the visibility of the floating element by choosing the placement
|
|
318
|
-
* that has the most space available automatically, without needing to specify a
|
|
319
|
-
* preferred placement. Alternative to `flip`.
|
|
320
|
-
* @see https://floating-ui.com/docs/autoPlacement
|
|
321
|
-
*/
|
|
322
|
-
floatingUi_core.autoPlacement;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
326
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
327
|
-
* @see https://floating-ui.com/docs/shift
|
|
328
|
-
*/
|
|
329
|
-
floatingUi_core.shift;
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
333
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
334
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
335
|
-
* @see https://floating-ui.com/docs/flip
|
|
336
|
-
*/
|
|
337
|
-
floatingUi_core.flip;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Provides data that allows you to change the size of the floating element —
|
|
341
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
342
|
-
* width of the reference element.
|
|
343
|
-
* @see https://floating-ui.com/docs/size
|
|
344
|
-
*/
|
|
345
|
-
floatingUi_core.size;
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
349
|
-
* when it is not in the same clipping context as the reference element.
|
|
350
|
-
* @see https://floating-ui.com/docs/hide
|
|
351
|
-
*/
|
|
352
|
-
floatingUi_core.hide;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Provides data to position an inner element of the floating element so that it
|
|
356
|
-
* appears centered to the reference element.
|
|
357
|
-
* @see https://floating-ui.com/docs/arrow
|
|
358
|
-
*/
|
|
359
|
-
floatingUi_core.arrow;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* Provides improved positioning for inline reference elements that can span
|
|
363
|
-
* over multiple lines, such as hyperlinks or range selections.
|
|
364
|
-
* @see https://floating-ui.com/docs/inline
|
|
365
|
-
*/
|
|
366
|
-
floatingUi_core.inline;
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
370
|
-
*/
|
|
371
|
-
floatingUi_core.limitShift;
|
|
372
|
-
|
|
373
|
-
exports.getOverflowAncestors = floatingUi_utils_dom.getOverflowAncestors;
|
|
374
|
-
exports.autoUpdate = autoUpdate;
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
function hasWindow() {
|
|
6
|
-
return typeof window !== 'undefined';
|
|
7
|
-
}
|
|
8
|
-
function getNodeName(node) {
|
|
9
|
-
if (isNode(node)) {
|
|
10
|
-
return (node.nodeName || '').toLowerCase();
|
|
11
|
-
}
|
|
12
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
13
|
-
// returning `#document` an infinite loop won't occur.
|
|
14
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
15
|
-
return '#document';
|
|
16
|
-
}
|
|
17
|
-
function getWindow(node) {
|
|
18
|
-
var _node$ownerDocument;
|
|
19
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
20
|
-
}
|
|
21
|
-
function getDocumentElement(node) {
|
|
22
|
-
var _ref;
|
|
23
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
24
|
-
}
|
|
25
|
-
function isNode(value) {
|
|
26
|
-
if (!hasWindow()) {
|
|
27
|
-
return false;
|
|
28
|
-
}
|
|
29
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
30
|
-
}
|
|
31
|
-
function isElement(value) {
|
|
32
|
-
if (!hasWindow()) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
36
|
-
}
|
|
37
|
-
function isHTMLElement(value) {
|
|
38
|
-
if (!hasWindow()) {
|
|
39
|
-
return false;
|
|
40
|
-
}
|
|
41
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
42
|
-
}
|
|
43
|
-
function isShadowRoot(value) {
|
|
44
|
-
if (!hasWindow() || typeof ShadowRoot === 'undefined') {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
48
|
-
}
|
|
49
|
-
function isOverflowElement(element) {
|
|
50
|
-
const {
|
|
51
|
-
overflow,
|
|
52
|
-
overflowX,
|
|
53
|
-
overflowY,
|
|
54
|
-
display
|
|
55
|
-
} = getComputedStyle(element);
|
|
56
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
57
|
-
}
|
|
58
|
-
function isWebKit() {
|
|
59
|
-
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
60
|
-
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
61
|
-
}
|
|
62
|
-
function isLastTraversableNode(node) {
|
|
63
|
-
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
64
|
-
}
|
|
65
|
-
function getComputedStyle(element) {
|
|
66
|
-
return getWindow(element).getComputedStyle(element);
|
|
67
|
-
}
|
|
68
|
-
function getParentNode(node) {
|
|
69
|
-
if (getNodeName(node) === 'html') {
|
|
70
|
-
return node;
|
|
71
|
-
}
|
|
72
|
-
const result =
|
|
73
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
74
|
-
node.assignedSlot ||
|
|
75
|
-
// DOM Element detected.
|
|
76
|
-
node.parentNode ||
|
|
77
|
-
// ShadowRoot detected.
|
|
78
|
-
isShadowRoot(node) && node.host ||
|
|
79
|
-
// Fallback.
|
|
80
|
-
getDocumentElement(node);
|
|
81
|
-
return isShadowRoot(result) ? result.host : result;
|
|
82
|
-
}
|
|
83
|
-
function getNearestOverflowAncestor(node) {
|
|
84
|
-
const parentNode = getParentNode(node);
|
|
85
|
-
if (isLastTraversableNode(parentNode)) {
|
|
86
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
87
|
-
}
|
|
88
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
89
|
-
return parentNode;
|
|
90
|
-
}
|
|
91
|
-
return getNearestOverflowAncestor(parentNode);
|
|
92
|
-
}
|
|
93
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
94
|
-
var _node$ownerDocument2;
|
|
95
|
-
if (list === void 0) {
|
|
96
|
-
list = [];
|
|
97
|
-
}
|
|
98
|
-
if (traverseIframes === void 0) {
|
|
99
|
-
traverseIframes = true;
|
|
100
|
-
}
|
|
101
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
102
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
103
|
-
const win = getWindow(scrollableAncestor);
|
|
104
|
-
if (isBody) {
|
|
105
|
-
const frameElement = getFrameElement(win);
|
|
106
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
107
|
-
}
|
|
108
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
109
|
-
}
|
|
110
|
-
function getFrameElement(win) {
|
|
111
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
exports.getComputedStyle = getComputedStyle;
|
|
115
|
-
exports.getDocumentElement = getDocumentElement;
|
|
116
|
-
exports.getFrameElement = getFrameElement;
|
|
117
|
-
exports.getNearestOverflowAncestor = getNearestOverflowAncestor;
|
|
118
|
-
exports.getNodeName = getNodeName;
|
|
119
|
-
exports.getOverflowAncestors = getOverflowAncestors;
|
|
120
|
-
exports.getParentNode = getParentNode;
|
|
121
|
-
exports.getWindow = getWindow;
|
|
122
|
-
exports.isElement = isElement;
|
|
123
|
-
exports.isHTMLElement = isHTMLElement;
|
|
124
|
-
exports.isLastTraversableNode = isLastTraversableNode;
|
|
125
|
-
exports.isNode = isNode;
|
|
126
|
-
exports.isOverflowElement = isOverflowElement;
|
|
127
|
-
exports.isShadowRoot = isShadowRoot;
|
|
128
|
-
exports.isWebKit = isWebKit;
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Custom positioning reference element.
|
|
7
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
const sides = ['top', 'right', 'bottom', 'left'];
|
|
11
|
-
const alignments = ['start', 'end'];
|
|
12
|
-
const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
13
|
-
const min = Math.min;
|
|
14
|
-
const max = Math.max;
|
|
15
|
-
const round = Math.round;
|
|
16
|
-
const floor = Math.floor;
|
|
17
|
-
const createCoords = v => ({
|
|
18
|
-
x: v,
|
|
19
|
-
y: v
|
|
20
|
-
});
|
|
21
|
-
const oppositeSideMap = {
|
|
22
|
-
left: 'right',
|
|
23
|
-
right: 'left',
|
|
24
|
-
bottom: 'top',
|
|
25
|
-
top: 'bottom'
|
|
26
|
-
};
|
|
27
|
-
const oppositeAlignmentMap = {
|
|
28
|
-
start: 'end',
|
|
29
|
-
end: 'start'
|
|
30
|
-
};
|
|
31
|
-
function clamp(start, value, end) {
|
|
32
|
-
return max(start, min(value, end));
|
|
33
|
-
}
|
|
34
|
-
function evaluate(value, param) {
|
|
35
|
-
return typeof value === 'function' ? value(param) : value;
|
|
36
|
-
}
|
|
37
|
-
function getSide(placement) {
|
|
38
|
-
return placement.split('-')[0];
|
|
39
|
-
}
|
|
40
|
-
function getAlignment(placement) {
|
|
41
|
-
return placement.split('-')[1];
|
|
42
|
-
}
|
|
43
|
-
function getOppositeAxis(axis) {
|
|
44
|
-
return axis === 'x' ? 'y' : 'x';
|
|
45
|
-
}
|
|
46
|
-
function getAxisLength(axis) {
|
|
47
|
-
return axis === 'y' ? 'height' : 'width';
|
|
48
|
-
}
|
|
49
|
-
function getSideAxis(placement) {
|
|
50
|
-
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
51
|
-
}
|
|
52
|
-
function getAlignmentAxis(placement) {
|
|
53
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
54
|
-
}
|
|
55
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
56
|
-
if (rtl === void 0) {
|
|
57
|
-
rtl = false;
|
|
58
|
-
}
|
|
59
|
-
const alignment = getAlignment(placement);
|
|
60
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
61
|
-
const length = getAxisLength(alignmentAxis);
|
|
62
|
-
let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
|
|
63
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
64
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
65
|
-
}
|
|
66
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
67
|
-
}
|
|
68
|
-
function getExpandedPlacements(placement) {
|
|
69
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
70
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
71
|
-
}
|
|
72
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
73
|
-
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
74
|
-
}
|
|
75
|
-
function getSideList(side, isStart, rtl) {
|
|
76
|
-
const lr = ['left', 'right'];
|
|
77
|
-
const rl = ['right', 'left'];
|
|
78
|
-
const tb = ['top', 'bottom'];
|
|
79
|
-
const bt = ['bottom', 'top'];
|
|
80
|
-
switch (side) {
|
|
81
|
-
case 'top':
|
|
82
|
-
case 'bottom':
|
|
83
|
-
if (rtl) return isStart ? rl : lr;
|
|
84
|
-
return isStart ? lr : rl;
|
|
85
|
-
case 'left':
|
|
86
|
-
case 'right':
|
|
87
|
-
return isStart ? tb : bt;
|
|
88
|
-
default:
|
|
89
|
-
return [];
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
93
|
-
const alignment = getAlignment(placement);
|
|
94
|
-
let list = getSideList(getSide(placement), direction === 'start', rtl);
|
|
95
|
-
if (alignment) {
|
|
96
|
-
list = list.map(side => side + "-" + alignment);
|
|
97
|
-
if (flipAlignment) {
|
|
98
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
return list;
|
|
102
|
-
}
|
|
103
|
-
function getOppositePlacement(placement) {
|
|
104
|
-
return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
|
|
105
|
-
}
|
|
106
|
-
function expandPaddingObject(padding) {
|
|
107
|
-
return {
|
|
108
|
-
top: 0,
|
|
109
|
-
right: 0,
|
|
110
|
-
bottom: 0,
|
|
111
|
-
left: 0,
|
|
112
|
-
...padding
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
function getPaddingObject(padding) {
|
|
116
|
-
return typeof padding !== 'number' ? expandPaddingObject(padding) : {
|
|
117
|
-
top: padding,
|
|
118
|
-
right: padding,
|
|
119
|
-
bottom: padding,
|
|
120
|
-
left: padding
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
function rectToClientRect(rect) {
|
|
124
|
-
const {
|
|
125
|
-
x,
|
|
126
|
-
y,
|
|
127
|
-
width,
|
|
128
|
-
height
|
|
129
|
-
} = rect;
|
|
130
|
-
return {
|
|
131
|
-
width,
|
|
132
|
-
height,
|
|
133
|
-
top: y,
|
|
134
|
-
left: x,
|
|
135
|
-
right: x + width,
|
|
136
|
-
bottom: y + height,
|
|
137
|
-
x,
|
|
138
|
-
y
|
|
139
|
-
};
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
exports.alignments = alignments;
|
|
143
|
-
exports.clamp = clamp;
|
|
144
|
-
exports.createCoords = createCoords;
|
|
145
|
-
exports.evaluate = evaluate;
|
|
146
|
-
exports.expandPaddingObject = expandPaddingObject;
|
|
147
|
-
exports.floor = floor;
|
|
148
|
-
exports.getAlignment = getAlignment;
|
|
149
|
-
exports.getAlignmentAxis = getAlignmentAxis;
|
|
150
|
-
exports.getAlignmentSides = getAlignmentSides;
|
|
151
|
-
exports.getAxisLength = getAxisLength;
|
|
152
|
-
exports.getExpandedPlacements = getExpandedPlacements;
|
|
153
|
-
exports.getOppositeAlignmentPlacement = getOppositeAlignmentPlacement;
|
|
154
|
-
exports.getOppositeAxis = getOppositeAxis;
|
|
155
|
-
exports.getOppositeAxisPlacements = getOppositeAxisPlacements;
|
|
156
|
-
exports.getOppositePlacement = getOppositePlacement;
|
|
157
|
-
exports.getPaddingObject = getPaddingObject;
|
|
158
|
-
exports.getSide = getSide;
|
|
159
|
-
exports.getSideAxis = getSideAxis;
|
|
160
|
-
exports.max = max;
|
|
161
|
-
exports.min = min;
|
|
162
|
-
exports.placements = placements;
|
|
163
|
-
exports.rectToClientRect = rectToClientRect;
|
|
164
|
-
exports.round = round;
|
|
165
|
-
exports.sides = sides;
|