@ntbjs/react-components 2.0.0-rc.13 → 2.0.0-rc.27
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/build/ActionButton-4db754c3.js +85 -0
- package/build/Alert-e6847a22.js +131 -0
- package/build/Badge-d93586a9.js +214 -0
- package/build/Button-179a2fe4.js +442 -0
- package/build/Checkbox-4a5fd716.js +213 -0
- package/build/CompactAutocompleteSelect-52c49513.js +546 -0
- package/build/CompactStarRating-9af2f427.js +411 -0
- package/build/CompactTextInput-42ca5d42.js +516 -0
- package/build/InputGroup-1294d190.js +23 -0
- package/build/MultiLevelCheckboxSelect-d8044c88.js +604 -0
- package/build/MultiSelect-9f497e62.js +461 -0
- package/build/Popover-20050b91.js +232 -0
- package/build/Radio-73ca3ae2.js +134 -0
- package/build/SectionSeparator-f47760a2.js +31 -0
- package/build/Switch-ecf3122b.js +160 -0
- package/build/Tab-04d435c3.js +32 -0
- package/build/Tabs-74d1ea8a.js +159 -0
- package/build/TextArea-1e5b9201.js +611 -0
- package/build/TextInput-fab35842.js +364 -0
- package/build/Tooltip-c1d1199e.js +65 -0
- package/build/VerificationStatusIcon-49cb1c1b.js +95 -0
- package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_rollupPluginBabelHelpers-c245b26a.js} +1 -1
- package/{esm/icons/arrow-forward.svg.js → build/arrow-forward-ad12c5f3.js} +4 -5
- package/{esm/icons/close.svg.js → build/close-a5d37608.js} +4 -5
- package/build/data/Alert/index.js +6 -0
- package/build/data/Badge/index.js +5 -0
- package/build/data/Popover/index.js +10 -0
- package/build/data/Tab/index.js +5 -0
- package/build/data/Tabs/index.js +7 -0
- package/build/data/Tooltip/index.js +7 -0
- package/build/data/index.js +16 -0
- package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-1bcc2541.js} +578 -17
- package/{esm/icons/edit-note.svg.js → build/edit-note-283a0e15.js} +4 -5
- package/{esm/icons/expand-more.svg.js → build/expand-more-c5523c46.js} +4 -5
- 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/build/icons/arrow-drop-down.svg +4 -0
- package/build/icons/arrow-forward.svg +3 -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/build/icons/check.svg +3 -0
- package/build/icons/clear-circle-filled.svg +14 -0
- package/build/icons/close.svg +4 -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/build/icons/edit.svg +3 -0
- package/build/icons/expand-more.svg +4 -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/build/icons/index.js +79 -0
- package/build/icons/layers.svg +3 -0
- package/build/icons/library-add.svg +3 -0
- package/build/icons/link.svg +4 -0
- package/build/icons/pdf.svg +3 -0
- package/build/icons/play.svg +3 -0
- package/build/icons/remove-circle.svg +3 -0
- package/build/icons/search.svg +3 -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/build/icons/star.svg +3 -0
- package/build/icons/triangle-right.svg +4 -0
- package/build/icons/verification.svg +3 -0
- package/build/icons/warning-circle.svg +3 -0
- package/build/icons/warning-triangle.svg +3 -0
- package/build/inputs/ActionButton/index.js +6 -0
- package/build/inputs/Button/index.js +13 -0
- package/build/inputs/Checkbox/index.js +6 -0
- package/build/inputs/CompactAutocompleteSelect/index.js +23 -0
- package/build/inputs/CompactStarRating/index.js +17 -0
- package/build/inputs/CompactTextInput/index.js +19 -0
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +26 -0
- package/build/inputs/MultiSelect/index.js +10 -0
- package/build/inputs/Radio/index.js +7 -0
- package/build/inputs/Switch/index.js +6 -0
- package/build/inputs/TextArea/index.js +20 -0
- package/build/inputs/TextInput/index.js +9 -0
- package/build/inputs/index.js +40 -0
- package/build/layout/InputGroup/index.js +5 -0
- package/build/layout/SectionSeparator/index.js +5 -0
- package/build/layout/index.js +6 -0
- package/build/shift-away-subtle-0dd94a03.js +7 -0
- package/build/styles/all.scss +3 -0
- package/build/styles/config.scss +38 -0
- package/{styles/utils/.colors.scss → build/styles/utils/colors.scss} +1 -1
- package/build/styles/utils/theme.scss +33 -0
- package/{esm/icons/warning-circle.svg.js → build/warning-circle-24f3efcd.js} +4 -5
- package/build/widgets/AssetGallery/AssetGallery.js +2356 -0
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +127 -0
- package/build/widgets/ContextMenu/ContextMenu.js +26 -0
- package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +127 -0
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +37 -0
- package/build/widgets/InfoCard/InfoCard.js +125 -0
- package/build/widgets/Instructions/Instructions.js +255 -0
- package/build/widgets/ProgressBar/ProgressBar.js +210 -0
- package/package.json +49 -56
- package/styles/all.scss +3 -3
- package/styles/config.scss +38 -0
- package/styles/utils/colors.scss +15 -0
- package/styles/utils/theme.scss +0 -2
- 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 -79
- package/cjs/components/data/Alert/Alert.styled.js +0 -79
- 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 -167
- package/cjs/components/data/Badge/data/Badge/index.js +0 -9
- package/cjs/components/data/Popover/Popover.js +0 -104
- 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 -27
- package/cjs/components/data/Tab/data/Tab/index.js +0 -9
- package/cjs/components/data/Tabs/Tabs.js +0 -101
- package/cjs/components/data/Tabs/Tabs.styled.js +0 -110
- package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
- package/cjs/components/data/Tooltip/Tooltip.js +0 -52
- 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 -88
- package/cjs/components/data/data/index.js +0 -21
- package/cjs/components/inputs/ActionButton/ActionButton.js +0 -44
- package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -75
- package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
- package/cjs/components/inputs/Button/Button.js +0 -195
- package/cjs/components/inputs/Button/Button.styled.js +0 -340
- 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 -160
- 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 -363
- package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -177
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -269
- 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 -406
- 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 -106
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -147
- package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -208
- package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -275
- 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 -100
- 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 -138
- package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
- package/cjs/components/inputs/TextArea/TextArea.js +0 -176
- package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -530
- package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
- package/cjs/components/inputs/TextInput/TextInput.js +0 -146
- package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -289
- 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 -23
- 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 -28
- 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 -69
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -29
- package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -106
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -395
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -52
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -405
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -385
- 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 -107
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
- package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -29
- package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -24
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -102
- 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 -35
- 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 -47
- package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -137
- package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
- package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -79
- package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -210
- package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
- package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -93
- package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -169
- package/cjs/components/widgets/widgets/index.js +0 -23
- 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 -915
- 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 -130
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -166
- package/cjs/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -43
- package/cjs/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -39
- 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 -1289
- package/cjs/node_modules/react/cjs/react.production.js +0 -548
- 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-ef7c0426.esm.js +0 -2659
- package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
- package/cjs/node_modules/react-select/dist/useCreatable-09aaeb9a.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 -13
- package/cjs/ssr/ssr/index.js +0 -12
- package/cjs/styles/utils/colors-export.js +0 -41
- package/cjs/utils/dateTime.js +0 -20
- package/cjs/utils/defaultTheme.js +0 -75
- 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 -75
- package/esm/components/data/Alert/Alert.styled.js +0 -70
- 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 -156
- package/esm/components/data/Badge/data/Badge/index.js +0 -1
- package/esm/components/data/Popover/Popover.js +0 -96
- package/esm/components/data/Popover/Popover.styled.js +0 -150
- 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 -19
- package/esm/components/data/Tab/data/Tab/index.js +0 -1
- package/esm/components/data/Tabs/Tabs.js +0 -97
- package/esm/components/data/Tabs/Tabs.styled.js +0 -98
- package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
- package/esm/components/data/Tooltip/Tooltip.js +0 -48
- 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 -78
- package/esm/components/data/data/index.js +0 -7
- package/esm/components/inputs/ActionButton/ActionButton.js +0 -40
- package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -67
- package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
- package/esm/components/inputs/Button/Button.js +0 -191
- package/esm/components/inputs/Button/Button.styled.js +0 -323
- package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
- package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
- package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -147
- package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -335
- package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
- package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -173
- package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -256
- package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
- package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
- package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -389
- package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -92
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -129
- package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -204
- 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/Radio.styled.js +0 -91
- package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
- package/esm/components/inputs/Switch/Switch.js +0 -65
- package/esm/components/inputs/Switch/Switch.styled.js +0 -125
- package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
- package/esm/components/inputs/TextArea/TextArea.js +0 -172
- package/esm/components/inputs/TextArea/TextArea.styled.js +0 -512
- package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
- package/esm/components/inputs/TextInput/TextInput.js +0 -142
- package/esm/components/inputs/TextInput/TextInput.styled.js +0 -274
- 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 -15
- 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 -20
- 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.js +0 -102
- package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -57
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -21
- package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -102
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -387
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -42
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -401
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -358
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
- package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
- 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 -95
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
- package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -25
- package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -16
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -92
- 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 -27
- 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 -43
- package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -121
- package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
- package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -75
- package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -191
- package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
- package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -89
- package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -151
- package/esm/components/widgets/widgets/index.js +0 -8
- package/esm/hooks/useEventListner.js +0 -22
- package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
- package/esm/hooks/useOnClickOutside.js +0 -13
- package/esm/icons/arrow-back.svg.js +0 -16
- package/esm/icons/check-rectangle-filled.svg.js +0 -16
- package/esm/icons/headset.svg.js +0 -16
- package/esm/icons/layers.svg.js +0 -16
- package/esm/icons/link.svg.js +0 -16
- package/esm/icons/play.svg.js +0 -16
- package/esm/icons/search.svg.js +0 -16
- package/esm/icons/star-filled.svg.js +0 -16
- package/esm/icons/star.svg.js +0 -16
- package/esm/icons/triangle-right.svg.js +0 -16
- package/esm/icons/verification.svg.js +0 -16
- 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 -902
- 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 -112
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -139
- package/esm/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -38
- package/esm/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -35
- 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/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 -1287
- package/esm/node_modules/react/cjs/react.production.js +0 -543
- 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-ef7c0426.esm.js +0 -2650
- package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
- package/esm/node_modules/react-select/dist/useCreatable-09aaeb9a.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 -9
- package/esm/styles/utils/colors-export.js +0 -37
- package/esm/utils/dateTime.js +0 -16
- package/esm/utils/defaultTheme.js +0 -70
- package/migration-storybook.log +0 -392
- package/styles/utils/colors-export.js +0 -35
- /package/{esm/ssr → build}/ssr/index.js +0 -0
|
@@ -1,251 +0,0 @@
|
|
|
1
|
-
import styled, { css } from 'styled-components';
|
|
2
|
-
import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
|
|
3
|
-
import { ReactComponent as SvgClose } from '../../../icons/close.svg.js';
|
|
4
|
-
import Select, { components } from 'react-select';
|
|
5
|
-
import CreatableSelect$1 from '../../../node_modules/react-select/creatable/dist/react-select-creatable.esm.js';
|
|
6
|
-
import { withAsyncPaginate, AsyncPaginate } from 'react-select-async-paginate';
|
|
7
|
-
|
|
8
|
-
let _ = t => t,
|
|
9
|
-
_t,
|
|
10
|
-
_t2,
|
|
11
|
-
_t3,
|
|
12
|
-
_t4,
|
|
13
|
-
_t5,
|
|
14
|
-
_t6,
|
|
15
|
-
_t7,
|
|
16
|
-
_t8,
|
|
17
|
-
_t9,
|
|
18
|
-
_t0,
|
|
19
|
-
_t1,
|
|
20
|
-
_t10,
|
|
21
|
-
_t11,
|
|
22
|
-
_t12,
|
|
23
|
-
_t13,
|
|
24
|
-
_t14,
|
|
25
|
-
_t15,
|
|
26
|
-
_t16,
|
|
27
|
-
_t17,
|
|
28
|
-
_t18,
|
|
29
|
-
_t19,
|
|
30
|
-
_t20,
|
|
31
|
-
_t21,
|
|
32
|
-
_t22,
|
|
33
|
-
_t23,
|
|
34
|
-
_t24,
|
|
35
|
-
_t25;
|
|
36
|
-
const AsyncCreatableSelectPaginate = withAsyncPaginate(CreatableSelect$1);
|
|
37
|
-
const showMoreHeight = 114;
|
|
38
|
-
const sharedStyle = css(_t || (_t = _`
|
|
39
|
-
font-family: ${0};
|
|
40
|
-
font-size: 12px;
|
|
41
|
-
font-weight: 400;
|
|
42
|
-
position: relative;
|
|
43
|
-
`), props => props.theme.primaryFontFamily);
|
|
44
|
-
styled.label.attrs(applyDefaultTheme)(_t2 || (_t2 = _`
|
|
45
|
-
${0};
|
|
46
|
-
flex-basis: 33.33%;
|
|
47
|
-
font-size: 0.875rem;
|
|
48
|
-
line-height: 1rem;
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
height: 19px;
|
|
51
|
-
display: flex;
|
|
52
|
-
align-items: center;
|
|
53
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('white'), props.theme.getColor('gray-700')));
|
|
54
|
-
const MultiSelect = styled(Select).attrs(applyDefaultTheme)(_t3 || (_t3 = _`
|
|
55
|
-
${0}
|
|
56
|
-
`), sharedStyle);
|
|
57
|
-
const CreatableMultiSelect = styled(CreatableSelect$1).attrs(applyDefaultTheme)(_t4 || (_t4 = _`
|
|
58
|
-
${0}
|
|
59
|
-
`), sharedStyle);
|
|
60
|
-
const AsyncCreatableMultiSelect = styled(AsyncCreatableSelectPaginate).attrs(applyDefaultTheme)(_t5 || (_t5 = _`
|
|
61
|
-
${0}
|
|
62
|
-
`), sharedStyle);
|
|
63
|
-
const AsyncMultiSelect = styled(AsyncPaginate).attrs(applyDefaultTheme)(_t6 || (_t6 = _`
|
|
64
|
-
${0}
|
|
65
|
-
`), sharedStyle);
|
|
66
|
-
const MultiSelectWrapper = styled.div.attrs(applyDefaultTheme)(_t7 || (_t7 = _`
|
|
67
|
-
position: relative;
|
|
68
|
-
`));
|
|
69
|
-
styled(components.Control).attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
70
|
-
&& {
|
|
71
|
-
align-items: flex-start;
|
|
72
|
-
background: transparent;
|
|
73
|
-
border: none;
|
|
74
|
-
box-shadow: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
:hover {
|
|
78
|
-
cursor: ${0};
|
|
79
|
-
}
|
|
80
|
-
`), props => !props.isDisabled && props.focused || props.readOnly ? 'default' : 'pointer');
|
|
81
|
-
styled(components.ValueContainer)(_t9 || (_t9 = _`
|
|
82
|
-
&& {
|
|
83
|
-
align-items: flex-start;
|
|
84
|
-
gap: 8px;
|
|
85
|
-
padding: 0;
|
|
86
|
-
|
|
87
|
-
max-height: ${0} !important;
|
|
88
|
-
|
|
89
|
-
${0}
|
|
90
|
-
}
|
|
91
|
-
`), props => {
|
|
92
|
-
return props.showMore ? props.$error || props.$warning ? '100%' : showMoreHeight + 16 + 'px' : '100%';
|
|
93
|
-
}, props => (props.$error || props.$warning) && css(_t0 || (_t0 = _`
|
|
94
|
-
border: 1px solid;
|
|
95
|
-
border-radius: 3px;
|
|
96
|
-
padding: 4px;
|
|
97
|
-
|
|
98
|
-
border-color: ${0};
|
|
99
|
-
`), props => props.$error ? props.theme.getColor('red-500') : props.warning ? props.theme.getColor('orange-500') : 'inherit'));
|
|
100
|
-
const MultiValueWrapper = styled.div.attrs(applyDefaultTheme)(_t1 || (_t1 = _`
|
|
101
|
-
&& {
|
|
102
|
-
border-radius: 3px;
|
|
103
|
-
margin: 0;
|
|
104
|
-
}
|
|
105
|
-
`));
|
|
106
|
-
const MultiValue = styled(components.MultiValue).attrs(applyDefaultTheme)(_t10 || (_t10 = _`
|
|
107
|
-
&& {
|
|
108
|
-
border-radius: 3px;
|
|
109
|
-
margin: 0;
|
|
110
|
-
|
|
111
|
-
${0}
|
|
112
|
-
|
|
113
|
-
${0}
|
|
114
|
-
|
|
115
|
-
> div {
|
|
116
|
-
align-items: center;
|
|
117
|
-
display: flex;
|
|
118
|
-
font-size: 12px;
|
|
119
|
-
min-height: 26px;
|
|
120
|
-
|
|
121
|
-
:first-of-type {
|
|
122
|
-
padding: ${0};
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
:last-of-type:not(:only-child) {
|
|
126
|
-
padding: 0 8px 0 5px;
|
|
127
|
-
height: 100%;
|
|
128
|
-
width: fit-content;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
:last-of-type:not(:only-child):hover {
|
|
132
|
-
background-color: ${0};
|
|
133
|
-
border-bottom-left-radius: 0;
|
|
134
|
-
border-top-left-radius: 0;
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
svg {
|
|
139
|
-
stroke: white;
|
|
140
|
-
stroke-width: 2px;
|
|
141
|
-
width: 8px;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
:hover {
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
`), props => props.theme.themeProp('background-color', props.theme.getColor('gray-600'), props.theme.getColor('gray-800')), props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-100')), props => props.isDisabled || props.readOnly ? '0 8px' : '0 3px 0 8px', props => props.theme.getColor('red-500'));
|
|
149
|
-
const MultiValueRemove = styled(components.MultiValueRemove).attrs(applyDefaultTheme)(_t11 || (_t11 = _``));
|
|
150
|
-
styled(components.Input).attrs(applyDefaultTheme)(_t12 || (_t12 = _`
|
|
151
|
-
align-self: center;
|
|
152
|
-
font-size: ${0};
|
|
153
|
-
min-width: 150px;
|
|
154
|
-
|
|
155
|
-
${0}
|
|
156
|
-
|
|
157
|
-
${0}
|
|
158
|
-
}
|
|
159
|
-
`), props => props.$focused ? '14px' : '12px', props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')), props => !props.$focused && css(_t13 || (_t13 = _`
|
|
160
|
-
${0}
|
|
161
|
-
|
|
162
|
-
:before {
|
|
163
|
-
height: 100%;
|
|
164
|
-
white-space: nowrap;
|
|
165
|
-
width: fit-content;
|
|
166
|
-
content: '${0}';
|
|
167
|
-
}
|
|
168
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500')), props => props.edittext));
|
|
169
|
-
const DropdownMenu = styled(components.Menu).attrs(applyDefaultTheme)(_t14 || (_t14 = _`
|
|
170
|
-
font-size: 14px;
|
|
171
|
-
|
|
172
|
-
${0}
|
|
173
|
-
|
|
174
|
-
${0}
|
|
175
|
-
`), props => props.theme.themeProp('background-color', props.theme.getColor('gray-600'), props.theme.getColor('white')), props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')));
|
|
176
|
-
const sharedOptionStyle = css(_t15 || (_t15 = _`
|
|
177
|
-
${0}
|
|
178
|
-
|
|
179
|
-
${0}
|
|
180
|
-
|
|
181
|
-
${0}
|
|
182
|
-
|
|
183
|
-
:hover {
|
|
184
|
-
cursor: pointer;
|
|
185
|
-
}
|
|
186
|
-
`), props => props.isFocused && css(_t16 || (_t16 = _`
|
|
187
|
-
${0}
|
|
188
|
-
`), props.theme.themeProp('background-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-200'))), props => props.isSelected && css(_t17 || (_t17 = _`
|
|
189
|
-
${0}
|
|
190
|
-
|
|
191
|
-
${0}
|
|
192
|
-
`), props.theme.themeProp('background-color', 'transparent', 'transparent'), props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('gray-900'))), props => props.isFocused && props.isSelected && css(_t18 || (_t18 = _`
|
|
193
|
-
${0}
|
|
194
|
-
`), props.theme.themeProp('background-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-200'))));
|
|
195
|
-
const Option = styled(components.Option).attrs(applyDefaultTheme)(_t19 || (_t19 = _`
|
|
196
|
-
${0}
|
|
197
|
-
`), sharedOptionStyle);
|
|
198
|
-
const SelectedOption = styled(components.Option).attrs(applyDefaultTheme)(_t20 || (_t20 = _`
|
|
199
|
-
${0}
|
|
200
|
-
|
|
201
|
-
display: flex !important;
|
|
202
|
-
justify-content: space-between;
|
|
203
|
-
`), sharedOptionStyle);
|
|
204
|
-
const DropdownOptionDeleteIcon = styled(SvgClose).attrs(applyDefaultTheme)(_t21 || (_t21 = _`
|
|
205
|
-
stroke-width: 1px;
|
|
206
|
-
width: 8px;
|
|
207
|
-
|
|
208
|
-
${0}
|
|
209
|
-
`), props => props.theme.themeProp('stroke', props.theme.getColor('gray-100'), props.theme.getColor('gray-900')));
|
|
210
|
-
const ShowMoreWrapper = styled.div.attrs(applyDefaultTheme)(_t22 || (_t22 = _`
|
|
211
|
-
align-items: end;
|
|
212
|
-
display: flex;
|
|
213
|
-
flex-direction: column;
|
|
214
|
-
height: 100%;
|
|
215
|
-
left: 0;
|
|
216
|
-
position: absolute;
|
|
217
|
-
max-height: ${0}px;
|
|
218
|
-
top: 0;
|
|
219
|
-
width: 100%;
|
|
220
|
-
|
|
221
|
-
${0}
|
|
222
|
-
|
|
223
|
-
:hover {
|
|
224
|
-
cursor: pointer;
|
|
225
|
-
text-decoration: underline;
|
|
226
|
-
}
|
|
227
|
-
`), showMoreHeight + 16, props => props.theme.themeProp('color', props.theme.getColor('gray-100'), props.theme.getColor('emerald-500')));
|
|
228
|
-
const ShowMoreOverlay = styled.div.attrs(applyDefaultTheme)(_t23 || (_t23 = _`
|
|
229
|
-
align-items: end;
|
|
230
|
-
display: block;
|
|
231
|
-
height: 100%;
|
|
232
|
-
max-height: ${0}px;
|
|
233
|
-
left: 0;
|
|
234
|
-
top: 0;
|
|
235
|
-
width: 100%;
|
|
236
|
-
|
|
237
|
-
${0}
|
|
238
|
-
`), showMoreHeight, props => props.theme.themeProp('background', 'transparent linear-gradient(180deg, #12121200 0%, #12121230 40%, #12121279 70%, #121212 95%, #121212 100%) 0% 0% no-repeat padding-box', 'transparent linear-gradient(180deg, #fefefe00 0%, #fefefe30 40%, #fefefe79 70%, #fefefe 95%, #fefefe 100%) 0% 0% no-repeat padding-box'));
|
|
239
|
-
const ShowMoreText = styled.div.attrs(applyDefaultTheme)(_t24 || (_t24 = _`
|
|
240
|
-
font-size: 0.875rem;
|
|
241
|
-
width: 100%;
|
|
242
|
-
${0}
|
|
243
|
-
`), props => props.theme.themeProp('background-color', '#121212', '#fefefe'));
|
|
244
|
-
const ErrorMessage = styled.div.attrs(applyDefaultTheme)(_t25 || (_t25 = _`
|
|
245
|
-
color: ${0};
|
|
246
|
-
font-size: 0.75rem;
|
|
247
|
-
margin-top: 8px;
|
|
248
|
-
padding: 0 12px;
|
|
249
|
-
`), props => props.$error ? props.theme.getColor('red-500') : props.$warning ? props.theme.getColor('orange-500') : 'inherit');
|
|
250
|
-
|
|
251
|
-
export { AsyncCreatableMultiSelect, AsyncMultiSelect, CreatableMultiSelect, DropdownMenu, DropdownOptionDeleteIcon, ErrorMessage, MultiSelect, MultiSelectWrapper, MultiValue, MultiValueRemove, MultiValueWrapper, Option, SelectedOption, ShowMoreOverlay, ShowMoreText, ShowMoreWrapper };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../MultiSelect.js';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React from '../../../node_modules/react/index.js';
|
|
3
|
-
import { nanoid } from 'nanoid';
|
|
4
|
-
import PropTypes from '../../../node_modules/prop-types/index.js';
|
|
5
|
-
import { Radio as Radio$2, RadioLabel } from './Radio.styled.js';
|
|
6
|
-
import { r as react } from '../../../_virtual/index.js';
|
|
7
|
-
|
|
8
|
-
const _excluded = ["name", "value", "checked", "defaultChecked", "disabled", "readOnly", "label", "className", "style", "onChange", "onBlur"];
|
|
9
|
-
const Radio = React.forwardRef(function Radio(_ref, forwardedRef) {
|
|
10
|
-
let {
|
|
11
|
-
name,
|
|
12
|
-
value,
|
|
13
|
-
checked,
|
|
14
|
-
defaultChecked,
|
|
15
|
-
disabled,
|
|
16
|
-
readOnly,
|
|
17
|
-
label,
|
|
18
|
-
className,
|
|
19
|
-
style,
|
|
20
|
-
onChange,
|
|
21
|
-
onBlur
|
|
22
|
-
} = _ref,
|
|
23
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
24
|
-
const [uniqueId] = react.exports.useState(nanoid());
|
|
25
|
-
return React.createElement(Radio$2, {
|
|
26
|
-
htmlFor: uniqueId,
|
|
27
|
-
disabled: disabled,
|
|
28
|
-
readOnly: readOnly,
|
|
29
|
-
className: className,
|
|
30
|
-
style: style
|
|
31
|
-
}, React.createElement("input", _extends({
|
|
32
|
-
ref: forwardedRef,
|
|
33
|
-
type: "radio",
|
|
34
|
-
name: name,
|
|
35
|
-
value: value,
|
|
36
|
-
checked: checked,
|
|
37
|
-
defaultChecked: defaultChecked,
|
|
38
|
-
disabled: disabled,
|
|
39
|
-
readOnly: readOnly,
|
|
40
|
-
id: uniqueId,
|
|
41
|
-
onChange: onChange,
|
|
42
|
-
onBlur: onBlur
|
|
43
|
-
}, rest)), React.createElement(RadioLabel, null, label));
|
|
44
|
-
});
|
|
45
|
-
Radio.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
46
|
-
label: PropTypes.any,
|
|
47
|
-
name: PropTypes.string.isRequired,
|
|
48
|
-
value: PropTypes.any.isRequired,
|
|
49
|
-
checked: PropTypes.bool,
|
|
50
|
-
defaultChecked: PropTypes.bool,
|
|
51
|
-
disabled: PropTypes.bool,
|
|
52
|
-
readOnly: PropTypes.bool,
|
|
53
|
-
className: PropTypes.string,
|
|
54
|
-
style: PropTypes.object,
|
|
55
|
-
onChange: PropTypes.func,
|
|
56
|
-
onBlur: PropTypes.func
|
|
57
|
-
} : {};
|
|
58
|
-
Radio.defaultProps = {
|
|
59
|
-
disabled: false
|
|
60
|
-
};
|
|
61
|
-
var Radio$1 = Radio;
|
|
62
|
-
|
|
63
|
-
export { Radio$1 as default };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { math } from 'polished';
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
|
|
4
|
-
|
|
5
|
-
let _ = t => t,
|
|
6
|
-
_t,
|
|
7
|
-
_t2,
|
|
8
|
-
_t3,
|
|
9
|
-
_t4;
|
|
10
|
-
const radioSize = '18px';
|
|
11
|
-
const shouldForwardProp = prop => {
|
|
12
|
-
return prop !== 'theme' && !prop.startsWith('$');
|
|
13
|
-
};
|
|
14
|
-
const RadioLabel = styled.div.withConfig({
|
|
15
|
-
shouldForwardProp
|
|
16
|
-
}).attrs(applyDefaultTheme)(_t || (_t = _`
|
|
17
|
-
padding-left: ${0};
|
|
18
|
-
font-weight: 400;
|
|
19
|
-
font-size: 0.875rem;
|
|
20
|
-
|
|
21
|
-
${0};
|
|
22
|
-
`), math(`${radioSize} + 10px`), props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600')));
|
|
23
|
-
const Radio = styled.label.withConfig({
|
|
24
|
-
shouldForwardProp
|
|
25
|
-
}).attrs(applyDefaultTheme)(_t2 || (_t2 = _`
|
|
26
|
-
display: block;
|
|
27
|
-
position: relative;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
line-height: ${0};
|
|
30
|
-
user-select: none;
|
|
31
|
-
|
|
32
|
-
&::before {
|
|
33
|
-
content: '';
|
|
34
|
-
position: absolute;
|
|
35
|
-
border: 2px solid ${0};
|
|
36
|
-
width: ${0};
|
|
37
|
-
height: ${0};
|
|
38
|
-
top: 0;
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
transition: all 200ms;
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&::after {
|
|
45
|
-
content: '';
|
|
46
|
-
position: absolute;
|
|
47
|
-
width: 8px;
|
|
48
|
-
height: 8px;
|
|
49
|
-
top: 5px;
|
|
50
|
-
left: 5px;
|
|
51
|
-
border-radius: 50%;
|
|
52
|
-
transform: scale(0);
|
|
53
|
-
transition: all 200ms;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&:has(input:checked) {
|
|
57
|
-
::before {
|
|
58
|
-
border-color: ${0};
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
::after {
|
|
62
|
-
background: ${0};
|
|
63
|
-
transform: scale(1);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
${0} {
|
|
67
|
-
opacity: 1;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
& {
|
|
71
|
-
input[type='radio'] {
|
|
72
|
-
position: absolute;
|
|
73
|
-
opacity: 0;
|
|
74
|
-
pointer-events: none;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
${0}
|
|
79
|
-
|
|
80
|
-
${0}
|
|
81
|
-
`), radioSize, props => props.theme.getColor('gray-300'), radioSize, radioSize, props => props.theme.getColor('emerald-500'), props => props.theme.getColor('emerald-500'), RadioLabel, props => props.readOnly && css(_t3 || (_t3 = _`
|
|
82
|
-
opacity: 0.5;
|
|
83
|
-
pointer-events: none;
|
|
84
|
-
user-select: text;
|
|
85
|
-
`)), props => props.disabled && css(_t4 || (_t4 = _`
|
|
86
|
-
opacity: 0.5;
|
|
87
|
-
cursor: not-allowed;
|
|
88
|
-
user-select: text;
|
|
89
|
-
`)));
|
|
90
|
-
|
|
91
|
-
export { Radio, RadioLabel };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../Radio.js';
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import React from '../../../node_modules/react/index.js';
|
|
2
|
-
import { nanoid } from 'nanoid';
|
|
3
|
-
import PropTypes from '../../../node_modules/prop-types/index.js';
|
|
4
|
-
import { Switch as Switch$2, SwitchLabel, SwitchIndicator, SwitchIndicatorButton, SwitchIndicatorLabelText, Description } from './Switch.styled.js';
|
|
5
|
-
import { r as react } from '../../../_virtual/index.js';
|
|
6
|
-
|
|
7
|
-
const Switch = React.forwardRef(function Switch({
|
|
8
|
-
name,
|
|
9
|
-
checked,
|
|
10
|
-
defaultChecked,
|
|
11
|
-
label,
|
|
12
|
-
disabled,
|
|
13
|
-
readOnly,
|
|
14
|
-
description,
|
|
15
|
-
spaciousDescription,
|
|
16
|
-
className,
|
|
17
|
-
style,
|
|
18
|
-
onChange,
|
|
19
|
-
onBlur
|
|
20
|
-
}, forwardedRef) {
|
|
21
|
-
const [uniqueId] = react.exports.useState(nanoid());
|
|
22
|
-
return React.createElement(Switch$2, {
|
|
23
|
-
disabled: disabled,
|
|
24
|
-
readOnly: readOnly,
|
|
25
|
-
className: className,
|
|
26
|
-
style: style
|
|
27
|
-
}, React.createElement(SwitchLabel, {
|
|
28
|
-
htmlFor: uniqueId
|
|
29
|
-
}, React.createElement("input", {
|
|
30
|
-
ref: forwardedRef,
|
|
31
|
-
checked: checked,
|
|
32
|
-
defaultChecked: defaultChecked,
|
|
33
|
-
disabled: disabled,
|
|
34
|
-
readOnly: readOnly,
|
|
35
|
-
id: uniqueId,
|
|
36
|
-
name: name,
|
|
37
|
-
type: "checkbox",
|
|
38
|
-
onBlur: onBlur,
|
|
39
|
-
onChange: onChange
|
|
40
|
-
}), React.createElement(SwitchIndicator, null, React.createElement(SwitchIndicatorButton, null)), typeof label === 'string' && label.length > 0 && React.createElement(SwitchIndicatorLabelText, null, label)), typeof description === 'string' && description.length > 0 && React.createElement(Description, {
|
|
41
|
-
$spaciousdescription: spaciousDescription
|
|
42
|
-
}, description));
|
|
43
|
-
});
|
|
44
|
-
Switch.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
45
|
-
children: PropTypes.any,
|
|
46
|
-
name: PropTypes.string.isRequired,
|
|
47
|
-
checked: PropTypes.bool,
|
|
48
|
-
defaultChecked: PropTypes.bool,
|
|
49
|
-
label: PropTypes.string,
|
|
50
|
-
disabled: PropTypes.bool,
|
|
51
|
-
readOnly: PropTypes.bool,
|
|
52
|
-
description: PropTypes.string,
|
|
53
|
-
spaciousDescription: PropTypes.bool,
|
|
54
|
-
className: PropTypes.string,
|
|
55
|
-
style: PropTypes.object,
|
|
56
|
-
onChange: PropTypes.func,
|
|
57
|
-
onBlur: PropTypes.func
|
|
58
|
-
} : {};
|
|
59
|
-
Switch.defaultProps = {
|
|
60
|
-
disabled: false,
|
|
61
|
-
readOnly: false
|
|
62
|
-
};
|
|
63
|
-
var Switch$1 = Switch;
|
|
64
|
-
|
|
65
|
-
export { Switch$1 as default };
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { math, rgba } from 'polished';
|
|
2
|
-
import styled, { css } from 'styled-components';
|
|
3
|
-
import { applyDefaultTheme } from '../../../utils/defaultTheme.js';
|
|
4
|
-
|
|
5
|
-
let _ = t => t,
|
|
6
|
-
_t,
|
|
7
|
-
_t2,
|
|
8
|
-
_t3,
|
|
9
|
-
_t4,
|
|
10
|
-
_t5,
|
|
11
|
-
_t6,
|
|
12
|
-
_t7,
|
|
13
|
-
_t8;
|
|
14
|
-
const switchButtonSize = '16px';
|
|
15
|
-
const shouldForwardProp = prop => {
|
|
16
|
-
return prop !== 'theme' && !prop.startsWith('$');
|
|
17
|
-
};
|
|
18
|
-
const Switch = styled.div.withConfig({
|
|
19
|
-
shouldForwardProp
|
|
20
|
-
}).attrs(applyDefaultTheme)(_t || (_t = _`
|
|
21
|
-
* {
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: column;
|
|
27
|
-
|
|
28
|
-
${0}
|
|
29
|
-
|
|
30
|
-
${0}
|
|
31
|
-
`), props => props.readOnly && css(_t2 || (_t2 = _`
|
|
32
|
-
opacity: 0.5;
|
|
33
|
-
> * {
|
|
34
|
-
pointer-events: none;
|
|
35
|
-
user-select: text;
|
|
36
|
-
}
|
|
37
|
-
`)), props => props.disabled && css(_t3 || (_t3 = _`
|
|
38
|
-
opacity: 0.5;
|
|
39
|
-
cursor: not-allowed;
|
|
40
|
-
* {
|
|
41
|
-
pointer-events: none;
|
|
42
|
-
user-select: text;
|
|
43
|
-
}
|
|
44
|
-
`)));
|
|
45
|
-
const SwitchIndicator = styled.div.withConfig({
|
|
46
|
-
shouldForwardProp
|
|
47
|
-
}).attrs(applyDefaultTheme)(_t4 || (_t4 = _`
|
|
48
|
-
display: inline-block;
|
|
49
|
-
position: relative;
|
|
50
|
-
${0}
|
|
51
|
-
height: ${0};
|
|
52
|
-
width: 32px;
|
|
53
|
-
border-radius: 20px;
|
|
54
|
-
border: 1px solid;
|
|
55
|
-
${0}
|
|
56
|
-
transition: background 200ms;
|
|
57
|
-
`), props => props.theme.themeProp('background', props.theme.getColor('gray-900'), props.theme.getColor('gray-200')), math(`${switchButtonSize} + 2px`), props => props.theme.themeProp('border-color', props.theme.getColor('gray-500'), props.theme.getColor('gray-300')));
|
|
58
|
-
const SwitchIndicatorButton = styled.div.withConfig({
|
|
59
|
-
shouldForwardProp
|
|
60
|
-
}).attrs(applyDefaultTheme)(_t5 || (_t5 = _`
|
|
61
|
-
position: absolute;
|
|
62
|
-
${0}
|
|
63
|
-
height: ${0};
|
|
64
|
-
width: ${0};
|
|
65
|
-
border-radius: 50%;
|
|
66
|
-
box-shadow: ${0} 0 0px 2px 0px;
|
|
67
|
-
transition: left 200ms;
|
|
68
|
-
`), props => props.theme.themeProp('background', props.theme.getColor('gray-200'), props.theme.getColor('white')), switchButtonSize, switchButtonSize, props => props.theme.getColor('gray-500'));
|
|
69
|
-
const SwitchIndicatorLabelText = styled.div.withConfig({
|
|
70
|
-
shouldForwardProp
|
|
71
|
-
}).attrs(applyDefaultTheme)(_t6 || (_t6 = _`
|
|
72
|
-
padding-left: 10px;
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
font-size: 0.875rem;
|
|
75
|
-
line-height: 18px;
|
|
76
|
-
|
|
77
|
-
${0};
|
|
78
|
-
`), props => props.theme.themeProp('color', props.theme.getColor('gray-300'), props.theme.getColor('gray-600')));
|
|
79
|
-
const SwitchLabel = styled.label.withConfig({
|
|
80
|
-
shouldForwardProp
|
|
81
|
-
}).attrs(applyDefaultTheme)(_t7 || (_t7 = _`
|
|
82
|
-
display: inline-flex;
|
|
83
|
-
margin-right: auto;
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
|
|
86
|
-
input[type='checkbox'] {
|
|
87
|
-
position: absolute;
|
|
88
|
-
opacity: 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&:has(input[type='checkbox']:not(:checked)) {
|
|
92
|
-
${0} {
|
|
93
|
-
left: 0;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&:has(input[type='checkbox']:checked) {
|
|
98
|
-
${0} {
|
|
99
|
-
left: calc(100% - ${0});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
${0} {
|
|
103
|
-
background: ${0};
|
|
104
|
-
|
|
105
|
-
${0}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:has(input[type='checkbox']:focus-visible) {
|
|
110
|
-
${0} {
|
|
111
|
-
${0}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
`), SwitchIndicatorButton, SwitchIndicatorButton, switchButtonSize, SwitchIndicator, props => props.theme.getColor('emerald-500'), props => props.theme.themeProp('border-color', props.theme.getColor('gray-400'), props.theme.getColor('gray-300'), 1), SwitchIndicatorButton, props => props.theme.themeProp('outline', `8px solid ${rgba(props.theme.getColor('emerald-500'), 0.5)}`, `8px solid ${rgba(props.theme.getColor('emerald-500'), 0.3)}`, 1));
|
|
115
|
-
const Description = styled.div.withConfig({
|
|
116
|
-
shouldForwardProp
|
|
117
|
-
}).attrs(applyDefaultTheme)(_t8 || (_t8 = _`
|
|
118
|
-
margin: ${0} 0 0 0;
|
|
119
|
-
font-size: 0.75rem;
|
|
120
|
-
line-height: 1.333;
|
|
121
|
-
|
|
122
|
-
${0};
|
|
123
|
-
`), props => props.$spaciousdescription ? '16px' : '6px', props => props.theme.themeProp('color', props.theme.getColor('gray-400'), props.theme.getColor('gray-500')));
|
|
124
|
-
|
|
125
|
-
export { Description, Switch, SwitchIndicator, SwitchIndicatorButton, SwitchIndicatorLabelText, SwitchLabel };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../../Switch.js';
|