@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
package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-1bcc2541.js}
RENAMED
|
@@ -1,9 +1,416 @@
|
|
|
1
|
-
import '
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { css } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
var propTypes = {exports: {}};
|
|
4
|
+
|
|
5
|
+
var reactIs = {exports: {}};
|
|
6
|
+
|
|
7
|
+
var reactIs_production_min = {};
|
|
8
|
+
|
|
9
|
+
/** @license React v16.13.1
|
|
10
|
+
* react-is.production.min.js
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the MIT license found in the
|
|
15
|
+
* LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
18
|
+
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
19
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
20
|
+
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
21
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
22
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
23
|
+
|
|
24
|
+
var reactIs_development = {};
|
|
25
|
+
|
|
26
|
+
/** @license React v16.13.1
|
|
27
|
+
* react-is.development.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
if (process.env.NODE_ENV !== "production") {
|
|
38
|
+
(function() {
|
|
39
|
+
|
|
40
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
41
|
+
// nor polyfill, then a plain number is used for performance.
|
|
42
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
43
|
+
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
44
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
45
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
46
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
47
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
48
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
49
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
50
|
+
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
51
|
+
|
|
52
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
53
|
+
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
54
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
55
|
+
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
56
|
+
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
57
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
58
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
59
|
+
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
60
|
+
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
61
|
+
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
62
|
+
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
63
|
+
|
|
64
|
+
function isValidElementType(type) {
|
|
65
|
+
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
66
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function typeOf(object) {
|
|
70
|
+
if (typeof object === 'object' && object !== null) {
|
|
71
|
+
var $$typeof = object.$$typeof;
|
|
72
|
+
|
|
73
|
+
switch ($$typeof) {
|
|
74
|
+
case REACT_ELEMENT_TYPE:
|
|
75
|
+
var type = object.type;
|
|
76
|
+
|
|
77
|
+
switch (type) {
|
|
78
|
+
case REACT_ASYNC_MODE_TYPE:
|
|
79
|
+
case REACT_CONCURRENT_MODE_TYPE:
|
|
80
|
+
case REACT_FRAGMENT_TYPE:
|
|
81
|
+
case REACT_PROFILER_TYPE:
|
|
82
|
+
case REACT_STRICT_MODE_TYPE:
|
|
83
|
+
case REACT_SUSPENSE_TYPE:
|
|
84
|
+
return type;
|
|
85
|
+
|
|
86
|
+
default:
|
|
87
|
+
var $$typeofType = type && type.$$typeof;
|
|
88
|
+
|
|
89
|
+
switch ($$typeofType) {
|
|
90
|
+
case REACT_CONTEXT_TYPE:
|
|
91
|
+
case REACT_FORWARD_REF_TYPE:
|
|
92
|
+
case REACT_LAZY_TYPE:
|
|
93
|
+
case REACT_MEMO_TYPE:
|
|
94
|
+
case REACT_PROVIDER_TYPE:
|
|
95
|
+
return $$typeofType;
|
|
96
|
+
|
|
97
|
+
default:
|
|
98
|
+
return $$typeof;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
case REACT_PORTAL_TYPE:
|
|
104
|
+
return $$typeof;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return undefined;
|
|
109
|
+
} // AsyncMode is deprecated along with isAsyncMode
|
|
110
|
+
|
|
111
|
+
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
112
|
+
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
113
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
114
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
115
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
116
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
117
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
118
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
119
|
+
var Memo = REACT_MEMO_TYPE;
|
|
120
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
121
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
122
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
123
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
124
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
125
|
+
|
|
126
|
+
function isAsyncMode(object) {
|
|
127
|
+
{
|
|
128
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
129
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
130
|
+
|
|
131
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
136
|
+
}
|
|
137
|
+
function isConcurrentMode(object) {
|
|
138
|
+
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
139
|
+
}
|
|
140
|
+
function isContextConsumer(object) {
|
|
141
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
142
|
+
}
|
|
143
|
+
function isContextProvider(object) {
|
|
144
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
145
|
+
}
|
|
146
|
+
function isElement(object) {
|
|
147
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
148
|
+
}
|
|
149
|
+
function isForwardRef(object) {
|
|
150
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
151
|
+
}
|
|
152
|
+
function isFragment(object) {
|
|
153
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
154
|
+
}
|
|
155
|
+
function isLazy(object) {
|
|
156
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
157
|
+
}
|
|
158
|
+
function isMemo(object) {
|
|
159
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
160
|
+
}
|
|
161
|
+
function isPortal(object) {
|
|
162
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
163
|
+
}
|
|
164
|
+
function isProfiler(object) {
|
|
165
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
166
|
+
}
|
|
167
|
+
function isStrictMode(object) {
|
|
168
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
169
|
+
}
|
|
170
|
+
function isSuspense(object) {
|
|
171
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
reactIs_development.AsyncMode = AsyncMode;
|
|
175
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
176
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
177
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
178
|
+
reactIs_development.Element = Element;
|
|
179
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
180
|
+
reactIs_development.Fragment = Fragment;
|
|
181
|
+
reactIs_development.Lazy = Lazy;
|
|
182
|
+
reactIs_development.Memo = Memo;
|
|
183
|
+
reactIs_development.Portal = Portal;
|
|
184
|
+
reactIs_development.Profiler = Profiler;
|
|
185
|
+
reactIs_development.StrictMode = StrictMode;
|
|
186
|
+
reactIs_development.Suspense = Suspense;
|
|
187
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
188
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
189
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
190
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
191
|
+
reactIs_development.isElement = isElement;
|
|
192
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
193
|
+
reactIs_development.isFragment = isFragment;
|
|
194
|
+
reactIs_development.isLazy = isLazy;
|
|
195
|
+
reactIs_development.isMemo = isMemo;
|
|
196
|
+
reactIs_development.isPortal = isPortal;
|
|
197
|
+
reactIs_development.isProfiler = isProfiler;
|
|
198
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
199
|
+
reactIs_development.isSuspense = isSuspense;
|
|
200
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
201
|
+
reactIs_development.typeOf = typeOf;
|
|
202
|
+
})();
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (process.env.NODE_ENV === 'production') {
|
|
206
|
+
reactIs.exports = reactIs_production_min;
|
|
207
|
+
} else {
|
|
208
|
+
reactIs.exports = reactIs_development;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/*
|
|
212
|
+
object-assign
|
|
213
|
+
(c) Sindre Sorhus
|
|
214
|
+
@license MIT
|
|
215
|
+
*/
|
|
216
|
+
/* eslint-disable no-unused-vars */
|
|
217
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
218
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
219
|
+
var propIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
220
|
+
|
|
221
|
+
function toObject(val) {
|
|
222
|
+
if (val === null || val === undefined) {
|
|
223
|
+
throw new TypeError('Object.assign cannot be called with null or undefined');
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
return Object(val);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function shouldUseNative() {
|
|
230
|
+
try {
|
|
231
|
+
if (!Object.assign) {
|
|
232
|
+
return false;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// Detect buggy property enumeration order in older V8 versions.
|
|
236
|
+
|
|
237
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=4118
|
|
238
|
+
var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
|
|
239
|
+
test1[5] = 'de';
|
|
240
|
+
if (Object.getOwnPropertyNames(test1)[0] === '5') {
|
|
241
|
+
return false;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
245
|
+
var test2 = {};
|
|
246
|
+
for (var i = 0; i < 10; i++) {
|
|
247
|
+
test2['_' + String.fromCharCode(i)] = i;
|
|
248
|
+
}
|
|
249
|
+
var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
|
|
250
|
+
return test2[n];
|
|
251
|
+
});
|
|
252
|
+
if (order2.join('') !== '0123456789') {
|
|
253
|
+
return false;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3056
|
|
257
|
+
var test3 = {};
|
|
258
|
+
'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
|
|
259
|
+
test3[letter] = letter;
|
|
260
|
+
});
|
|
261
|
+
if (Object.keys(Object.assign({}, test3)).join('') !==
|
|
262
|
+
'abcdefghijklmnopqrst') {
|
|
263
|
+
return false;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
return true;
|
|
267
|
+
} catch (err) {
|
|
268
|
+
// We don't expect any of the above to throw, but better to be safe.
|
|
269
|
+
return false;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
|
|
274
|
+
var from;
|
|
275
|
+
var to = toObject(target);
|
|
276
|
+
var symbols;
|
|
277
|
+
|
|
278
|
+
for (var s = 1; s < arguments.length; s++) {
|
|
279
|
+
from = Object(arguments[s]);
|
|
280
|
+
|
|
281
|
+
for (var key in from) {
|
|
282
|
+
if (hasOwnProperty.call(from, key)) {
|
|
283
|
+
to[key] = from[key];
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (getOwnPropertySymbols) {
|
|
288
|
+
symbols = getOwnPropertySymbols(from);
|
|
289
|
+
for (var i = 0; i < symbols.length; i++) {
|
|
290
|
+
if (propIsEnumerable.call(from, symbols[i])) {
|
|
291
|
+
to[symbols[i]] = from[symbols[i]];
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
return to;
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
302
|
+
*
|
|
303
|
+
* This source code is licensed under the MIT license found in the
|
|
304
|
+
* LICENSE file in the root directory of this source tree.
|
|
305
|
+
*/
|
|
306
|
+
|
|
307
|
+
var ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
308
|
+
|
|
309
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$3;
|
|
310
|
+
|
|
311
|
+
var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
315
|
+
*
|
|
316
|
+
* This source code is licensed under the MIT license found in the
|
|
317
|
+
* LICENSE file in the root directory of this source tree.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
var printWarning$1 = function() {};
|
|
321
|
+
|
|
322
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
323
|
+
var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;
|
|
324
|
+
var loggedTypeFailures = {};
|
|
325
|
+
var has$1 = has$2;
|
|
326
|
+
|
|
327
|
+
printWarning$1 = function(text) {
|
|
328
|
+
var message = 'Warning: ' + text;
|
|
329
|
+
if (typeof console !== 'undefined') {
|
|
330
|
+
console.error(message);
|
|
331
|
+
}
|
|
332
|
+
try {
|
|
333
|
+
// --- Welcome to debugging React ---
|
|
334
|
+
// This error was thrown as a convenience so that you can use this stack
|
|
335
|
+
// to find the callsite that caused this warning to fire.
|
|
336
|
+
throw new Error(message);
|
|
337
|
+
} catch (x) { /**/ }
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Assert that the values match with the type specs.
|
|
343
|
+
* Error messages are memorized and will only be shown once.
|
|
344
|
+
*
|
|
345
|
+
* @param {object} typeSpecs Map of name to a ReactPropType
|
|
346
|
+
* @param {object} values Runtime values that need to be type-checked
|
|
347
|
+
* @param {string} location e.g. "prop", "context", "child context"
|
|
348
|
+
* @param {string} componentName Name of the component for error messages.
|
|
349
|
+
* @param {?Function} getStack Returns the component stack.
|
|
350
|
+
* @private
|
|
351
|
+
*/
|
|
352
|
+
function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
|
|
353
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
354
|
+
for (var typeSpecName in typeSpecs) {
|
|
355
|
+
if (has$1(typeSpecs, typeSpecName)) {
|
|
356
|
+
var error;
|
|
357
|
+
// Prop type validation may throw. In case they do, we don't want to
|
|
358
|
+
// fail the render phase where it didn't fail before. So we log it.
|
|
359
|
+
// After these have been cleaned up, we'll let them throw.
|
|
360
|
+
try {
|
|
361
|
+
// This is intentionally an invariant that gets caught. It's the same
|
|
362
|
+
// behavior as without this statement except with a better message.
|
|
363
|
+
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
364
|
+
var err = Error(
|
|
365
|
+
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
366
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
367
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
368
|
+
);
|
|
369
|
+
err.name = 'Invariant Violation';
|
|
370
|
+
throw err;
|
|
371
|
+
}
|
|
372
|
+
error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$2);
|
|
373
|
+
} catch (ex) {
|
|
374
|
+
error = ex;
|
|
375
|
+
}
|
|
376
|
+
if (error && !(error instanceof Error)) {
|
|
377
|
+
printWarning$1(
|
|
378
|
+
(componentName || 'React class') + ': type specification of ' +
|
|
379
|
+
location + ' `' + typeSpecName + '` is invalid; the type checker ' +
|
|
380
|
+
'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
|
|
381
|
+
'You may have forgotten to pass an argument to the type checker ' +
|
|
382
|
+
'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
|
|
383
|
+
'shape all require an argument).'
|
|
384
|
+
);
|
|
385
|
+
}
|
|
386
|
+
if (error instanceof Error && !(error.message in loggedTypeFailures)) {
|
|
387
|
+
// Only monitor this failure once because there tends to be a lot of the
|
|
388
|
+
// same error.
|
|
389
|
+
loggedTypeFailures[error.message] = true;
|
|
390
|
+
|
|
391
|
+
var stack = getStack ? getStack() : '';
|
|
392
|
+
|
|
393
|
+
printWarning$1(
|
|
394
|
+
'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Resets warning cache when testing.
|
|
404
|
+
*
|
|
405
|
+
* @private
|
|
406
|
+
*/
|
|
407
|
+
checkPropTypes$1.resetWarningCache = function() {
|
|
408
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
409
|
+
loggedTypeFailures = {};
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
var checkPropTypes_1 = checkPropTypes$1;
|
|
7
414
|
|
|
8
415
|
/**
|
|
9
416
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -12,11 +419,11 @@ import { r as reactIs } from '../../_virtual/index3.js';
|
|
|
12
419
|
* LICENSE file in the root directory of this source tree.
|
|
13
420
|
*/
|
|
14
421
|
|
|
15
|
-
var ReactIs = reactIs.exports;
|
|
422
|
+
var ReactIs$1 = reactIs.exports;
|
|
16
423
|
var assign = objectAssign;
|
|
17
424
|
|
|
18
|
-
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
19
|
-
var has = has$
|
|
425
|
+
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
426
|
+
var has = has$2;
|
|
20
427
|
var checkPropTypes = checkPropTypes_1;
|
|
21
428
|
|
|
22
429
|
var printWarning = function() {};
|
|
@@ -182,7 +589,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
182
589
|
componentName = componentName || ANONYMOUS;
|
|
183
590
|
propFullName = propFullName || propName;
|
|
184
591
|
|
|
185
|
-
if (secret !== ReactPropTypesSecret) {
|
|
592
|
+
if (secret !== ReactPropTypesSecret$1) {
|
|
186
593
|
if (throwOnDirectAccess) {
|
|
187
594
|
// New behavior only for users of `prop-types` package
|
|
188
595
|
var err = new Error(
|
|
@@ -266,7 +673,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
266
673
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
267
674
|
}
|
|
268
675
|
for (var i = 0; i < propValue.length; i++) {
|
|
269
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
|
|
676
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
|
|
270
677
|
if (error instanceof Error) {
|
|
271
678
|
return error;
|
|
272
679
|
}
|
|
@@ -291,7 +698,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
291
698
|
function createElementTypeTypeChecker() {
|
|
292
699
|
function validate(props, propName, componentName, location, propFullName) {
|
|
293
700
|
var propValue = props[propName];
|
|
294
|
-
if (!ReactIs.isValidElementType(propValue)) {
|
|
701
|
+
if (!ReactIs$1.isValidElementType(propValue)) {
|
|
295
702
|
var propType = getPropType(propValue);
|
|
296
703
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
|
|
297
704
|
}
|
|
@@ -359,7 +766,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
359
766
|
}
|
|
360
767
|
for (var key in propValue) {
|
|
361
768
|
if (has(propValue, key)) {
|
|
362
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
769
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
363
770
|
if (error instanceof Error) {
|
|
364
771
|
return error;
|
|
365
772
|
}
|
|
@@ -391,7 +798,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
391
798
|
var expectedTypes = [];
|
|
392
799
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
393
800
|
var checker = arrayOfTypeCheckers[i];
|
|
394
|
-
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
801
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
|
|
395
802
|
if (checkerResult == null) {
|
|
396
803
|
return null;
|
|
397
804
|
}
|
|
@@ -434,7 +841,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
434
841
|
if (typeof checker !== 'function') {
|
|
435
842
|
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
436
843
|
}
|
|
437
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
844
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
438
845
|
if (error) {
|
|
439
846
|
return error;
|
|
440
847
|
}
|
|
@@ -465,7 +872,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
465
872
|
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
466
873
|
);
|
|
467
874
|
}
|
|
468
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
875
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
469
876
|
if (error) {
|
|
470
877
|
return error;
|
|
471
878
|
}
|
|
@@ -614,4 +1021,158 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
614
1021
|
return ReactPropTypes;
|
|
615
1022
|
};
|
|
616
1023
|
|
|
617
|
-
|
|
1024
|
+
/**
|
|
1025
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1026
|
+
*
|
|
1027
|
+
* This source code is licensed under the MIT license found in the
|
|
1028
|
+
* LICENSE file in the root directory of this source tree.
|
|
1029
|
+
*/
|
|
1030
|
+
|
|
1031
|
+
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
1032
|
+
|
|
1033
|
+
function emptyFunction() {}
|
|
1034
|
+
function emptyFunctionWithReset() {}
|
|
1035
|
+
emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
1036
|
+
|
|
1037
|
+
var factoryWithThrowingShims = function() {
|
|
1038
|
+
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1039
|
+
if (secret === ReactPropTypesSecret) {
|
|
1040
|
+
// It is still safe when called from React.
|
|
1041
|
+
return;
|
|
1042
|
+
}
|
|
1043
|
+
var err = new Error(
|
|
1044
|
+
'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
|
|
1045
|
+
'Use PropTypes.checkPropTypes() to call them. ' +
|
|
1046
|
+
'Read more at http://fb.me/use-check-prop-types'
|
|
1047
|
+
);
|
|
1048
|
+
err.name = 'Invariant Violation';
|
|
1049
|
+
throw err;
|
|
1050
|
+
} shim.isRequired = shim;
|
|
1051
|
+
function getShim() {
|
|
1052
|
+
return shim;
|
|
1053
|
+
} // Important!
|
|
1054
|
+
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1055
|
+
var ReactPropTypes = {
|
|
1056
|
+
array: shim,
|
|
1057
|
+
bigint: shim,
|
|
1058
|
+
bool: shim,
|
|
1059
|
+
func: shim,
|
|
1060
|
+
number: shim,
|
|
1061
|
+
object: shim,
|
|
1062
|
+
string: shim,
|
|
1063
|
+
symbol: shim,
|
|
1064
|
+
|
|
1065
|
+
any: shim,
|
|
1066
|
+
arrayOf: getShim,
|
|
1067
|
+
element: shim,
|
|
1068
|
+
elementType: shim,
|
|
1069
|
+
instanceOf: getShim,
|
|
1070
|
+
node: shim,
|
|
1071
|
+
objectOf: getShim,
|
|
1072
|
+
oneOf: getShim,
|
|
1073
|
+
oneOfType: getShim,
|
|
1074
|
+
shape: getShim,
|
|
1075
|
+
exact: getShim,
|
|
1076
|
+
|
|
1077
|
+
checkPropTypes: emptyFunctionWithReset,
|
|
1078
|
+
resetWarningCache: emptyFunction
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1082
|
+
|
|
1083
|
+
return ReactPropTypes;
|
|
1084
|
+
};
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1088
|
+
*
|
|
1089
|
+
* This source code is licensed under the MIT license found in the
|
|
1090
|
+
* LICENSE file in the root directory of this source tree.
|
|
1091
|
+
*/
|
|
1092
|
+
|
|
1093
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
1094
|
+
var ReactIs = reactIs.exports;
|
|
1095
|
+
|
|
1096
|
+
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1097
|
+
// http://fb.me/prop-types-in-prod
|
|
1098
|
+
var throwOnDirectAccess = true;
|
|
1099
|
+
propTypes.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
1100
|
+
} else {
|
|
1101
|
+
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1102
|
+
// http://fb.me/prop-types-in-prod
|
|
1103
|
+
propTypes.exports = factoryWithThrowingShims();
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
var PropTypes = propTypes.exports;
|
|
1107
|
+
|
|
1108
|
+
function styleInject(css, ref) {
|
|
1109
|
+
if ( ref === void 0 ) ref = {};
|
|
1110
|
+
var insertAt = ref.insertAt;
|
|
1111
|
+
|
|
1112
|
+
if (!css || typeof document === 'undefined') { return; }
|
|
1113
|
+
|
|
1114
|
+
var head = document.head || document.getElementsByTagName('head')[0];
|
|
1115
|
+
var style = document.createElement('style');
|
|
1116
|
+
style.type = 'text/css';
|
|
1117
|
+
|
|
1118
|
+
if (insertAt === 'top') {
|
|
1119
|
+
if (head.firstChild) {
|
|
1120
|
+
head.insertBefore(style, head.firstChild);
|
|
1121
|
+
} else {
|
|
1122
|
+
head.appendChild(style);
|
|
1123
|
+
}
|
|
1124
|
+
} else {
|
|
1125
|
+
head.appendChild(style);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
if (style.styleSheet) {
|
|
1129
|
+
style.styleSheet.cssText = css;
|
|
1130
|
+
} else {
|
|
1131
|
+
style.appendChild(document.createTextNode(css));
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
var css_248z = "/**\n * Colors\n */";
|
|
1136
|
+
var importedColors = {"orange-600":"#634e01","orange-500":"#ff9900","orange-400":"#ffcb7e","emerald-600":"#296c58","emerald-500":"#30826a","emerald-400":"#64b49d","emerald-300":"#bfe0d5","emerald-200":"#f3f9f7","gray-900":"#141313","gray-800":"#272727","gray-700":"#323232","gray-600":"#505050","gray-500":"#767676","gray-400":"#b0b6b9","gray-300":"#d9dce0","gray-200":"#eff1f4","gray-100":"#f7f8f9","gray-50":"#f4f4f5","cercise-500":"#5f1031","cercise-400":"#854962","cercise-300":"#d099b0","cercise-200":"#fecaca","cercise-100":"#f9f3f5","red-600":"#7f1b1b","red-500":"#d83000","red-200":"#fbeae6","brown-500":"#634e01","signal-yellow-500":"#f4e21e","signal-yellow-400":"#fff36c","signal-green-500":"#00bd98","signal-green-400":"#a3ffe0","black":"#202435","white":"#ffffff"};
|
|
1137
|
+
styleInject(css_248z);
|
|
1138
|
+
|
|
1139
|
+
const defaultTheme = {
|
|
1140
|
+
getColor: name => {
|
|
1141
|
+
if (!importedColors[name]) throw Error(`The color "${name}" is not registered.`);
|
|
1142
|
+
return importedColors[name];
|
|
1143
|
+
},
|
|
1144
|
+
primaryFontFamily: "'Roboto', sans-serif",
|
|
1145
|
+
secondaryFontFamily: "'Overpass', sans-serif",
|
|
1146
|
+
themeProp
|
|
1147
|
+
};
|
|
1148
|
+
function themeProp(property, darkMode, lightMode, specificity = 2) {
|
|
1149
|
+
const specificityString = Array(specificity).fill("&").join("");
|
|
1150
|
+
return css`
|
|
1151
|
+
body.dark-theme ${specificityString} {
|
|
1152
|
+
${property}: ${darkMode};
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
body.light-theme ${specificityString} {
|
|
1156
|
+
${property}: ${lightMode};
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
body:not(.light-theme):not(.dark-theme) ${specificityString} {
|
|
1160
|
+
${property}: ${lightMode};
|
|
1161
|
+
|
|
1162
|
+
@media (prefers-color-scheme: dark) {
|
|
1163
|
+
${property}: ${darkMode};
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
`;
|
|
1167
|
+
}
|
|
1168
|
+
function applyDefaultTheme({
|
|
1169
|
+
theme = {},
|
|
1170
|
+
...props
|
|
1171
|
+
}) {
|
|
1172
|
+
return {
|
|
1173
|
+
...props,
|
|
1174
|
+
theme: Object.assign({}, defaultTheme, theme)
|
|
1175
|
+
};
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export { PropTypes as P, applyDefaultTheme as a, styleInject as s };
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import { r as react } from '../_virtual/index.js';
|
|
1
|
+
import * as React from 'react';
|
|
3
2
|
|
|
4
3
|
var _path;
|
|
5
4
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
6
5
|
function SvgEditNote(props) {
|
|
7
|
-
return /*#__PURE__*/
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
8
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
8
|
viewBox: "0 0 14.67 12"
|
|
10
|
-
}, props), _path || (_path = /*#__PURE__*/
|
|
9
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
10
|
fill: "currentColor",
|
|
12
11
|
d: "M7 12v-1.77l4.42-4.42 1.77 1.77L8.77 12H7zM0 7.75v-1.5h6v1.5H0zM13.77 7L12 5.23l.67-.67c.15-.15.33-.23.53-.23s.38.08.53.23l.71.71c.15.15.23.33.23.53s-.08.38-.23.53l-.67.67zM0 4.63v-1.5h9v1.5H0zM0 1.5V0h9v1.5H0z"
|
|
13
12
|
})));
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
export { SvgEditNote as
|
|
15
|
+
export { SvgEditNote as S };
|