@ntbjs/react-components 1.3.0-rc.9 → 2.0.0-rc.3
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/.eslintrc +7 -8
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +84 -0
- package/cjs/_virtual/index.js +7 -0
- package/cjs/_virtual/index2.js +7 -0
- package/cjs/_virtual/index3.js +7 -0
- package/cjs/_virtual/index4.js +7 -0
- package/cjs/_virtual/index5.js +7 -0
- package/cjs/_virtual/react-dom.development.js +7 -0
- package/cjs/_virtual/react-dom.production.js +7 -0
- package/cjs/_virtual/react-is.development.js +7 -0
- package/cjs/_virtual/react-is.development2.js +7 -0
- package/cjs/_virtual/react-is.production.min.js +7 -0
- package/cjs/_virtual/react-is.production.min2.js +7 -0
- package/cjs/_virtual/react.development.js +7 -0
- package/cjs/_virtual/react.production.js +7 -0
- package/cjs/components/data/Alert/Alert.js +81 -0
- package/cjs/components/data/Alert/Alert.styled.js +72 -0
- package/cjs/components/data/Alert/data/Alert/index.js +9 -0
- package/cjs/components/data/Badge/Badge.js +93 -0
- package/cjs/components/data/Badge/Badge.styled.js +156 -0
- package/cjs/components/data/Badge/data/Badge/index.js +9 -0
- package/cjs/components/data/Popover/Popover.js +102 -0
- package/cjs/components/data/Popover/Popover.styled.js +159 -0
- package/cjs/components/data/Popover/data/Popover/index.js +9 -0
- package/cjs/components/data/Tab/Tab.js +31 -0
- package/cjs/components/data/Tab/Tab.styled.js +22 -0
- package/cjs/components/data/Tab/data/Tab/index.js +9 -0
- package/cjs/components/data/Tabs/Tabs.js +91 -0
- package/cjs/components/data/Tabs/Tabs.styled.js +97 -0
- package/cjs/components/data/Tabs/data/Tabs/index.js +9 -0
- package/cjs/components/data/Tooltip/Tooltip.js +50 -0
- package/cjs/components/data/Tooltip/Tooltip.styled.js +38 -0
- package/cjs/components/data/Tooltip/data/Tooltip/index.js +9 -0
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +42 -0
- package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +79 -0
- package/cjs/components/data/data/index.js +21 -0
- package/cjs/components/inputs/ActionButton/ActionButton.js +42 -0
- package/cjs/components/inputs/ActionButton/ActionButton.styled.js +66 -0
- package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +9 -0
- package/cjs/components/inputs/Button/Button.js +188 -0
- package/cjs/components/inputs/Button/Button.styled.js +294 -0
- package/cjs/components/inputs/Button/inputs/Button/index.js +9 -0
- package/cjs/components/inputs/Checkbox/Checkbox.js +102 -0
- package/cjs/components/inputs/Checkbox/Checkbox.styled.js +145 -0
- package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +9 -0
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +268 -0
- package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +352 -0
- package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +9 -0
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +178 -0
- package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +258 -0
- package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +9 -0
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +187 -0
- package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +352 -0
- package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +9 -0
- package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +253 -0
- package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +89 -0
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +185 -0
- package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +122 -0
- package/cjs/components/inputs/MultiSelect/MultiSelect.js +251 -0
- package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +279 -0
- package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +9 -0
- package/cjs/components/inputs/Radio/Radio.js +67 -0
- package/cjs/components/inputs/Radio/Radio.styled.js +93 -0
- package/cjs/components/inputs/Radio/inputs/Radio/index.js +9 -0
- package/cjs/components/inputs/Switch/Switch.js +69 -0
- package/cjs/components/inputs/Switch/Switch.styled.js +123 -0
- package/cjs/components/inputs/Switch/inputs/Switch/index.js +9 -0
- package/cjs/components/inputs/TextArea/TextArea.js +186 -0
- package/cjs/components/inputs/TextArea/TextArea.styled.js +455 -0
- package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +9 -0
- package/cjs/components/inputs/TextInput/TextInput.js +147 -0
- package/cjs/components/inputs/TextInput/TextInput.styled.js +276 -0
- package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +9 -0
- package/cjs/components/inputs/inputs/index.js +33 -0
- package/cjs/components/layout/InputGroup/InputGroup.js +26 -0
- package/cjs/components/layout/InputGroup/InputGroup.styled.js +18 -0
- package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +9 -0
- package/cjs/components/layout/SectionSeparator/SectionSeparator.js +29 -0
- package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +21 -0
- package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +9 -0
- package/cjs/components/layout/layout/index.js +11 -0
- package/cjs/components/widgets/AssetAction/AssetAction.js +106 -0
- package/cjs/components/widgets/AssetAction/AssetAction.styled.js +58 -0
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +35 -0
- package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +24 -0
- package/cjs/components/widgets/AssetGallery/AssetGallery.js +102 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +392 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +43 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +402 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +338 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +396 -0
- package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +328 -0
- package/cjs/components/widgets/AssetGallery/asset.propType.js +58 -0
- package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +9 -0
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +50 -0
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +96 -0
- package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +9 -0
- package/cjs/components/widgets/ContextMenu/ContextMenu.js +28 -0
- package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +19 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +50 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +93 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +9 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +28 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +30 -0
- package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +9 -0
- package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +9 -0
- package/cjs/components/widgets/InfoCard/InfoCard.js +39 -0
- package/cjs/components/widgets/InfoCard/InfoCard.styled.js +110 -0
- package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +9 -0
- package/cjs/components/widgets/Instructions/Instructions.js +217 -0
- package/cjs/components/widgets/Instructions/Instructions.styled.js +47 -0
- package/cjs/components/widgets/Instructions/widgets/Instructions/index.js +9 -0
- package/cjs/components/widgets/ProgressBar/ProgressBar.js +58 -0
- package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +154 -0
- package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +9 -0
- package/cjs/components/widgets/SummaryCard/SummaryCard.js +92 -0
- package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +142 -0
- package/cjs/components/widgets/widgets/index.js +25 -0
- package/cjs/hooks/useEventListner.js +26 -0
- package/cjs/hooks/useIsomorphicLayoutEffect.js +11 -0
- package/cjs/hooks/useOnClickOutside.js +17 -0
- package/cjs/icons/arrow-back.svg.js +20 -0
- package/cjs/icons/arrow-forward.svg.js +20 -0
- package/cjs/icons/check-rectangle-filled.svg.js +20 -0
- package/cjs/icons/close.svg.js +20 -0
- package/cjs/icons/edit-note.svg.js +20 -0
- package/cjs/icons/expand-more.svg.js +20 -0
- package/cjs/icons/headset.svg.js +20 -0
- package/cjs/icons/layers.svg.js +20 -0
- package/cjs/icons/link.svg.js +20 -0
- package/cjs/icons/play.svg.js +20 -0
- package/cjs/icons/search.svg.js +20 -0
- package/cjs/icons/star-filled.svg.js +20 -0
- package/cjs/icons/star.svg.js +20 -0
- package/cjs/icons/triangle-right.svg.js +20 -0
- package/cjs/icons/verification.svg.js +20 -0
- package/cjs/icons/warning-circle.svg.js +20 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +11 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +9 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +11 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +10 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +9 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +19 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +22 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +16 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +15 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +11 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +20 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +14 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +9 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +33 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +9 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +9 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +29 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +19 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +14 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +11 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +14 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +13 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +14 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +18 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +13 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +15 -0
- package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +15 -0
- package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +503 -0
- package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +59 -0
- package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +13 -0
- package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +158 -0
- package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +66 -0
- package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +240 -0
- package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +144 -0
- package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +56 -0
- package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +16 -0
- package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +60 -0
- package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +20 -0
- package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +907 -0
- package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +374 -0
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +128 -0
- package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +165 -0
- package/cjs/node_modules/@restart/hooks/esm/useMergedRefs.js +46 -0
- package/cjs/node_modules/@restart/hooks/esm/useUpdateEffect.js +41 -0
- package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +24 -0
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +186 -0
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +22 -0
- package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +13 -0
- package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +55 -0
- package/cjs/node_modules/object-assign/index.js +94 -0
- package/cjs/node_modules/prop-types/checkPropTypes.js +110 -0
- package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +69 -0
- package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +621 -0
- package/cjs/node_modules/prop-types/index.js +33 -0
- package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +16 -0
- package/cjs/node_modules/prop-types/lib/has.js +7 -0
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +186 -0
- package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +22 -0
- package/cjs/node_modules/prop-types/node_modules/react-is/index.js +13 -0
- package/cjs/node_modules/react/cjs/react.development.js +1246 -0
- package/cjs/node_modules/react/cjs/react.production.js +552 -0
- package/cjs/node_modules/react/index.js +19 -0
- package/cjs/node_modules/react-dom/cjs/react-dom.development.js +432 -0
- package/cjs/node_modules/react-dom/cjs/react-dom.production.js +218 -0
- package/cjs/node_modules/react-dom/index.js +44 -0
- package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +6 -0
- package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +23 -0
- package/cjs/node_modules/react-select/dist/Select-aab027f3.esm.js +2653 -0
- package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +1426 -0
- package/cjs/node_modules/react-select/dist/useCreatable-84008237.esm.js +101 -0
- package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +78 -0
- package/cjs/node_modules/style-inject/dist/style-inject.es.js +32 -0
- package/cjs/node_modules/stylis/src/Enum.js +24 -0
- package/cjs/node_modules/stylis/src/Middleware.js +37 -0
- package/cjs/node_modules/stylis/src/Parser.js +201 -0
- package/cjs/node_modules/stylis/src/Serializer.js +43 -0
- package/cjs/node_modules/stylis/src/Tokenizer.js +243 -0
- package/cjs/node_modules/stylis/src/Utility.js +134 -0
- package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +6 -0
- package/cjs/node_modules/tippy.js/dist/tippy.css.js +6 -0
- package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +12 -0
- package/{ssr → cjs/ssr/ssr}/index.js +1 -3
- package/cjs/styles/utils/colors.scss.js +11 -0
- package/cjs/utils/dateTime.js +20 -0
- package/cjs/utils/defaultTheme.js +52 -0
- package/doctor-storybook.log +20 -0
- package/esm/_virtual/_rollupPluginBabelHelpers.js +74 -0
- package/esm/_virtual/index.js +3 -0
- package/esm/_virtual/index2.js +3 -0
- package/esm/_virtual/index3.js +3 -0
- package/esm/_virtual/index4.js +3 -0
- package/esm/_virtual/index5.js +3 -0
- package/esm/_virtual/react-dom.development.js +3 -0
- package/esm/_virtual/react-dom.production.js +3 -0
- package/esm/_virtual/react-is.development.js +3 -0
- package/esm/_virtual/react-is.development2.js +3 -0
- package/esm/_virtual/react-is.production.min.js +3 -0
- package/esm/_virtual/react-is.production.min2.js +3 -0
- package/esm/_virtual/react.development.js +3 -0
- package/esm/_virtual/react.production.js +3 -0
- package/esm/components/data/Alert/Alert.js +77 -0
- package/esm/components/data/Alert/Alert.styled.js +63 -0
- package/esm/components/data/Alert/data/Alert/index.js +1 -0
- package/esm/components/data/Badge/Badge.js +89 -0
- package/esm/components/data/Badge/Badge.styled.js +145 -0
- package/esm/components/data/Badge/data/Badge/index.js +1 -0
- package/esm/components/data/Popover/Popover.js +94 -0
- package/esm/components/data/Popover/Popover.styled.js +150 -0
- package/esm/components/data/Popover/data/Popover/index.js +1 -0
- package/esm/components/data/Tab/Tab.js +27 -0
- package/esm/components/data/Tab/Tab.styled.js +14 -0
- package/esm/components/data/Tab/data/Tab/index.js +1 -0
- package/esm/components/data/Tabs/Tabs.js +87 -0
- package/esm/components/data/Tabs/Tabs.styled.js +85 -0
- package/esm/components/data/Tabs/data/Tabs/index.js +1 -0
- package/esm/components/data/Tooltip/Tooltip.js +46 -0
- package/esm/components/data/Tooltip/Tooltip.styled.js +29 -0
- package/esm/components/data/Tooltip/data/Tooltip/index.js +1 -0
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +38 -0
- package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +69 -0
- package/esm/components/data/data/index.js +7 -0
- package/esm/components/inputs/ActionButton/ActionButton.js +38 -0
- package/esm/components/inputs/ActionButton/ActionButton.styled.js +58 -0
- package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +1 -0
- package/esm/components/inputs/Button/Button.js +184 -0
- package/esm/components/inputs/Button/Button.styled.js +277 -0
- package/esm/components/inputs/Button/inputs/Button/index.js +1 -0
- package/esm/components/inputs/Checkbox/Checkbox.js +98 -0
- package/esm/components/inputs/Checkbox/Checkbox.styled.js +132 -0
- package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +1 -0
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +264 -0
- package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +324 -0
- package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +1 -0
- package/esm/components/inputs/CompactStarRating/CompactStarRating.js +174 -0
- package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +245 -0
- package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +1 -0
- package/esm/components/inputs/CompactTextInput/CompactTextInput.js +183 -0
- package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +335 -0
- package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +1 -0
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +247 -0
- package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +75 -0
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +181 -0
- package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +104 -0
- package/esm/components/inputs/MultiSelect/MultiSelect.js +247 -0
- package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +251 -0
- package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +1 -0
- package/esm/components/inputs/Radio/Radio.js +63 -0
- package/esm/components/inputs/Radio/Radio.styled.js +84 -0
- package/esm/components/inputs/Radio/inputs/Radio/index.js +1 -0
- package/esm/components/inputs/Switch/Switch.js +65 -0
- package/esm/components/inputs/Switch/Switch.styled.js +110 -0
- package/esm/components/inputs/Switch/inputs/Switch/index.js +1 -0
- package/esm/components/inputs/TextArea/TextArea.js +182 -0
- package/esm/components/inputs/TextArea/TextArea.styled.js +437 -0
- package/esm/components/inputs/TextArea/inputs/TextArea/index.js +1 -0
- package/esm/components/inputs/TextInput/TextInput.js +143 -0
- package/esm/components/inputs/TextInput/TextInput.styled.js +261 -0
- package/esm/components/inputs/TextInput/inputs/TextInput/index.js +1 -0
- package/esm/components/inputs/inputs/index.js +13 -0
- package/esm/components/layout/InputGroup/InputGroup.js +22 -0
- package/esm/components/layout/InputGroup/InputGroup.styled.js +10 -0
- package/esm/components/layout/InputGroup/layout/InputGroup/index.js +1 -0
- package/esm/components/layout/SectionSeparator/SectionSeparator.js +25 -0
- package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +13 -0
- package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +1 -0
- package/esm/components/layout/layout/index.js +2 -0
- package/esm/components/widgets/AssetAction/AssetAction.js +102 -0
- package/esm/components/widgets/AssetAction/AssetAction.styled.js +46 -0
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +31 -0
- package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +16 -0
- package/esm/components/widgets/AssetGallery/AssetGallery.js +98 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +384 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +33 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +398 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +311 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +392 -0
- package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +302 -0
- package/esm/components/widgets/AssetGallery/asset.propType.js +53 -0
- package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +1 -0
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +46 -0
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +84 -0
- package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +1 -0
- package/esm/components/widgets/ContextMenu/ContextMenu.js +24 -0
- package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +11 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +46 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +83 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +1 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +24 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +22 -0
- package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +1 -0
- package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +1 -0
- package/esm/components/widgets/InfoCard/InfoCard.js +35 -0
- package/esm/components/widgets/InfoCard/InfoCard.styled.js +94 -0
- package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +1 -0
- package/esm/components/widgets/Instructions/Instructions.js +213 -0
- package/esm/components/widgets/Instructions/Instructions.styled.js +36 -0
- package/esm/components/widgets/Instructions/widgets/Instructions/index.js +1 -0
- package/esm/components/widgets/ProgressBar/ProgressBar.js +54 -0
- package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +137 -0
- package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +1 -0
- package/esm/components/widgets/SummaryCard/SummaryCard.js +88 -0
- package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +124 -0
- package/esm/components/widgets/widgets/index.js +9 -0
- package/esm/hooks/useEventListner.js +22 -0
- package/esm/hooks/useIsomorphicLayoutEffect.js +7 -0
- package/esm/hooks/useOnClickOutside.js +13 -0
- package/esm/icons/arrow-back.svg.js +16 -0
- package/esm/icons/arrow-forward.svg.js +16 -0
- package/esm/icons/check-rectangle-filled.svg.js +16 -0
- package/esm/icons/close.svg.js +16 -0
- package/esm/icons/edit-note.svg.js +16 -0
- package/esm/icons/expand-more.svg.js +16 -0
- package/esm/icons/headset.svg.js +16 -0
- package/esm/icons/layers.svg.js +16 -0
- package/esm/icons/link.svg.js +16 -0
- package/esm/icons/play.svg.js +16 -0
- package/esm/icons/search.svg.js +16 -0
- package/esm/icons/star-filled.svg.js +16 -0
- package/esm/icons/star.svg.js +16 -0
- package/esm/icons/triangle-right.svg.js +16 -0
- package/esm/icons/verification.svg.js +16 -0
- package/esm/icons/warning-circle.svg.js +16 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +7 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +5 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +6 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +5 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +15 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +18 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +11 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +7 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +16 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +5 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +29 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +5 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +5 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +15 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +11 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +7 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +9 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +499 -0
- package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +55 -0
- package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
- package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +149 -0
- package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +56 -0
- package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +236 -0
- package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +140 -0
- package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +52 -0
- package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +12 -0
- package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +54 -0
- package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +16 -0
- package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +894 -0
- package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +370 -0
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +110 -0
- package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +138 -0
- package/{useMergedRefs-b6d2f8fc.js → esm/node_modules/@restart/hooks/esm/useMergedRefs.js} +4 -5
- package/esm/node_modules/@restart/hooks/esm/useUpdateEffect.js +37 -0
- package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +22 -0
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +181 -0
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +17 -0
- package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +11 -0
- package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +51 -0
- package/esm/node_modules/object-assign/index.js +90 -0
- package/esm/node_modules/prop-types/checkPropTypes.js +106 -0
- package/esm/node_modules/prop-types/factoryWithThrowingShims.js +65 -0
- package/{index-39bc450c.js → esm/node_modules/prop-types/factoryWithTypeCheckers.js} +46 -514
- package/esm/node_modules/prop-types/index.js +29 -0
- package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +12 -0
- package/esm/node_modules/prop-types/lib/has.js +3 -0
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +181 -0
- package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +17 -0
- package/esm/node_modules/prop-types/node_modules/react-is/index.js +11 -0
- package/esm/node_modules/react/cjs/react.development.js +1244 -0
- package/esm/node_modules/react/cjs/react.production.js +547 -0
- package/esm/node_modules/react/index.js +15 -0
- package/esm/node_modules/react-dom/cjs/react-dom.development.js +427 -0
- package/esm/node_modules/react-dom/cjs/react-dom.production.js +213 -0
- package/esm/node_modules/react-dom/index.js +42 -0
- package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +4 -0
- package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +19 -0
- package/esm/node_modules/react-select/dist/Select-aab027f3.esm.js +2644 -0
- package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +1385 -0
- package/esm/node_modules/react-select/dist/useCreatable-84008237.esm.js +97 -0
- package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +74 -0
- package/esm/node_modules/style-inject/dist/style-inject.es.js +28 -0
- package/esm/node_modules/stylis/src/Enum.js +12 -0
- package/esm/node_modules/stylis/src/Middleware.js +32 -0
- package/esm/node_modules/stylis/src/Parser.js +193 -0
- package/esm/node_modules/stylis/src/Serializer.js +38 -0
- package/esm/node_modules/stylis/src/Tokenizer.js +223 -0
- package/esm/node_modules/stylis/src/Utility.js +117 -0
- package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +4 -0
- package/esm/node_modules/tippy.js/dist/tippy.css.js +4 -0
- package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +8 -0
- package/esm/ssr/ssr/index.js +1 -0
- package/esm/styles/utils/colors.scss.js +7 -0
- package/esm/utils/dateTime.js +16 -0
- package/esm/utils/defaultTheme.js +47 -0
- package/icons/arrow-forward.svg +3 -0
- package/icons/index.js +2 -0
- package/migration-storybook.log +392 -0
- package/package.json +59 -21
- package/styles/all.scss +3 -3
- package/styles/config.scss +3 -0
- package/styles/utils/colors.scss +1 -1
- package/styles/utils/theme.scss +2 -0
- package/ActionButton-15b418c5.js +0 -62
- package/Alert-e9f818d6.js +0 -118
- package/AssetGallery-66cb0dab.js +0 -1925
- package/AssetPreviewTopBar-21b7e172.js +0 -100
- package/AsyncSelect-368b5068.js +0 -28
- package/Badge-72b369a6.js +0 -222
- package/Button-34ce13c6.js +0 -265
- package/Checkbox-d77eed5d.js +0 -141
- package/CompactAutocompleteSelect-72d523e3.js +0 -452
- package/CompactStarRating-bf45f620.js +0 -340
- package/CompactTextInput-0b1979f1.js +0 -350
- package/ContextMenu-f69599d5.js +0 -33
- package/ContextMenuItem-9c5c4c9f.js +0 -111
- package/InputGroup-e30507cb.js +0 -29
- package/Instructions-42d2bc58.js +0 -264
- package/MultiLevelCheckboxSelect-acaac96b.js +0 -699
- package/MultiSelect-ecb48e03.js +0 -378
- package/Popover-a76d0fe5.js +0 -147
- package/Radio-7d5f630d.js +0 -87
- package/SectionSeparator-2a1c720b.js +0 -38
- package/Switch-006abdbd.js +0 -108
- package/Tab-87287c6e.js +0 -36
- package/Tabs-8e4de5a5.js +0 -152
- package/TextArea-76231a3b.js +0 -376
- package/TextInput-a440374c.js +0 -237
- package/Tooltip-298f0547.js +0 -62
- package/VerificationStatusIcon-d596165f.js +0 -122
- package/close-ebf2f3cf.js +0 -41
- package/data/Alert/index.js +0 -12
- package/data/Badge/index.js +0 -11
- package/data/Popover/index.js +0 -16
- package/data/Tab/index.js +0 -11
- package/data/Tabs/index.js +0 -13
- package/data/Tooltip/index.js +0 -13
- package/data/index.js +0 -30
- package/defaultTheme-fcd45bd0.js +0 -339
- package/edit-note-c47d292e.js +0 -41
- package/expand-more-94585605.js +0 -41
- package/inputs/ActionButton/index.js +0 -12
- package/inputs/AsyncSelect/index.js +0 -11
- package/inputs/Button/index.js +0 -19
- package/inputs/Checkbox/index.js +0 -13
- package/inputs/CompactAutocompleteSelect/index.js +0 -30
- package/inputs/CompactStarRating/index.js +0 -23
- package/inputs/CompactTextInput/index.js +0 -25
- package/inputs/MultiSelect/index.js +0 -17
- package/inputs/Radio/index.js +0 -13
- package/inputs/Switch/index.js +0 -13
- package/inputs/TextArea/index.js +0 -26
- package/inputs/TextInput/index.js +0 -15
- package/inputs/index.js +0 -62
- package/layout/InputGroup/index.js +0 -11
- package/layout/SectionSeparator/index.js +0 -11
- package/layout/index.js +0 -15
- package/react-select-creatable.esm-2f23d6c6.js +0 -7709
- package/shift-away-subtle-45129125.js +0 -9
- package/warning-circle-24522402.js +0 -41
- package/widgets/AssetGallery/index.js +0 -52
- package/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -12
- package/widgets/ContextMenu/ContextMenuItem/index.js +0 -11
- package/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -33
- package/widgets/ContextMenu/index.js +0 -11
- package/widgets/Instructions/index.js +0 -35
- package/widgets/index.js +0 -60
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
import { __exports as react_production } from '../../../_virtual/react.production.js';
|
|
2
|
+
export { __exports as default } from '../../../_virtual/react.production.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @license React
|
|
6
|
+
* react.production.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
14
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
15
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
16
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
17
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
18
|
+
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
19
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
20
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
21
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
22
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
23
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
24
|
+
MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
25
|
+
function getIteratorFn(maybeIterable) {
|
|
26
|
+
if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
|
|
27
|
+
maybeIterable =
|
|
28
|
+
(MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
|
|
29
|
+
maybeIterable["@@iterator"];
|
|
30
|
+
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
31
|
+
}
|
|
32
|
+
var ReactNoopUpdateQueue = {
|
|
33
|
+
isMounted: function () {
|
|
34
|
+
return !1;
|
|
35
|
+
},
|
|
36
|
+
enqueueForceUpdate: function () {},
|
|
37
|
+
enqueueReplaceState: function () {},
|
|
38
|
+
enqueueSetState: function () {}
|
|
39
|
+
},
|
|
40
|
+
assign = Object.assign,
|
|
41
|
+
emptyObject = {};
|
|
42
|
+
function Component(props, context, updater) {
|
|
43
|
+
this.props = props;
|
|
44
|
+
this.context = context;
|
|
45
|
+
this.refs = emptyObject;
|
|
46
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
47
|
+
}
|
|
48
|
+
Component.prototype.isReactComponent = {};
|
|
49
|
+
Component.prototype.setState = function (partialState, callback) {
|
|
50
|
+
if (
|
|
51
|
+
"object" !== typeof partialState &&
|
|
52
|
+
"function" !== typeof partialState &&
|
|
53
|
+
null != partialState
|
|
54
|
+
)
|
|
55
|
+
throw Error(
|
|
56
|
+
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
57
|
+
);
|
|
58
|
+
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
|
59
|
+
};
|
|
60
|
+
Component.prototype.forceUpdate = function (callback) {
|
|
61
|
+
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
|
62
|
+
};
|
|
63
|
+
function ComponentDummy() {}
|
|
64
|
+
ComponentDummy.prototype = Component.prototype;
|
|
65
|
+
function PureComponent(props, context, updater) {
|
|
66
|
+
this.props = props;
|
|
67
|
+
this.context = context;
|
|
68
|
+
this.refs = emptyObject;
|
|
69
|
+
this.updater = updater || ReactNoopUpdateQueue;
|
|
70
|
+
}
|
|
71
|
+
var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
|
|
72
|
+
pureComponentPrototype.constructor = PureComponent;
|
|
73
|
+
assign(pureComponentPrototype, Component.prototype);
|
|
74
|
+
pureComponentPrototype.isPureReactComponent = !0;
|
|
75
|
+
var isArrayImpl = Array.isArray,
|
|
76
|
+
ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null },
|
|
77
|
+
hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
78
|
+
function ReactElement(type, key, self, source, owner, props) {
|
|
79
|
+
self = props.ref;
|
|
80
|
+
return {
|
|
81
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
82
|
+
type: type,
|
|
83
|
+
key: key,
|
|
84
|
+
ref: void 0 !== self ? self : null,
|
|
85
|
+
props: props
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function cloneAndReplaceKey(oldElement, newKey) {
|
|
89
|
+
return ReactElement(
|
|
90
|
+
oldElement.type,
|
|
91
|
+
newKey,
|
|
92
|
+
void 0,
|
|
93
|
+
void 0,
|
|
94
|
+
void 0,
|
|
95
|
+
oldElement.props
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
function isValidElement(object) {
|
|
99
|
+
return (
|
|
100
|
+
"object" === typeof object &&
|
|
101
|
+
null !== object &&
|
|
102
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
function escape(key) {
|
|
106
|
+
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
107
|
+
return (
|
|
108
|
+
"$" +
|
|
109
|
+
key.replace(/[=:]/g, function (match) {
|
|
110
|
+
return escaperLookup[match];
|
|
111
|
+
})
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
115
|
+
function getElementKey(element, index) {
|
|
116
|
+
return "object" === typeof element && null !== element && null != element.key
|
|
117
|
+
? escape("" + element.key)
|
|
118
|
+
: index.toString(36);
|
|
119
|
+
}
|
|
120
|
+
function noop$1() {}
|
|
121
|
+
function resolveThenable(thenable) {
|
|
122
|
+
switch (thenable.status) {
|
|
123
|
+
case "fulfilled":
|
|
124
|
+
return thenable.value;
|
|
125
|
+
case "rejected":
|
|
126
|
+
throw thenable.reason;
|
|
127
|
+
default:
|
|
128
|
+
switch (
|
|
129
|
+
("string" === typeof thenable.status
|
|
130
|
+
? thenable.then(noop$1, noop$1)
|
|
131
|
+
: ((thenable.status = "pending"),
|
|
132
|
+
thenable.then(
|
|
133
|
+
function (fulfilledValue) {
|
|
134
|
+
"pending" === thenable.status &&
|
|
135
|
+
((thenable.status = "fulfilled"),
|
|
136
|
+
(thenable.value = fulfilledValue));
|
|
137
|
+
},
|
|
138
|
+
function (error) {
|
|
139
|
+
"pending" === thenable.status &&
|
|
140
|
+
((thenable.status = "rejected"), (thenable.reason = error));
|
|
141
|
+
}
|
|
142
|
+
)),
|
|
143
|
+
thenable.status)
|
|
144
|
+
) {
|
|
145
|
+
case "fulfilled":
|
|
146
|
+
return thenable.value;
|
|
147
|
+
case "rejected":
|
|
148
|
+
throw thenable.reason;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
throw thenable;
|
|
152
|
+
}
|
|
153
|
+
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
154
|
+
var type = typeof children;
|
|
155
|
+
if ("undefined" === type || "boolean" === type) children = null;
|
|
156
|
+
var invokeCallback = !1;
|
|
157
|
+
if (null === children) invokeCallback = !0;
|
|
158
|
+
else
|
|
159
|
+
switch (type) {
|
|
160
|
+
case "bigint":
|
|
161
|
+
case "string":
|
|
162
|
+
case "number":
|
|
163
|
+
invokeCallback = !0;
|
|
164
|
+
break;
|
|
165
|
+
case "object":
|
|
166
|
+
switch (children.$$typeof) {
|
|
167
|
+
case REACT_ELEMENT_TYPE:
|
|
168
|
+
case REACT_PORTAL_TYPE:
|
|
169
|
+
invokeCallback = !0;
|
|
170
|
+
break;
|
|
171
|
+
case REACT_LAZY_TYPE:
|
|
172
|
+
return (
|
|
173
|
+
(invokeCallback = children._init),
|
|
174
|
+
mapIntoArray(
|
|
175
|
+
invokeCallback(children._payload),
|
|
176
|
+
array,
|
|
177
|
+
escapedPrefix,
|
|
178
|
+
nameSoFar,
|
|
179
|
+
callback
|
|
180
|
+
)
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (invokeCallback)
|
|
185
|
+
return (
|
|
186
|
+
(callback = callback(children)),
|
|
187
|
+
(invokeCallback =
|
|
188
|
+
"" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
|
|
189
|
+
isArrayImpl(callback)
|
|
190
|
+
? ((escapedPrefix = ""),
|
|
191
|
+
null != invokeCallback &&
|
|
192
|
+
(escapedPrefix =
|
|
193
|
+
invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
|
|
194
|
+
mapIntoArray(callback, array, escapedPrefix, "", function (c) {
|
|
195
|
+
return c;
|
|
196
|
+
}))
|
|
197
|
+
: null != callback &&
|
|
198
|
+
(isValidElement(callback) &&
|
|
199
|
+
(callback = cloneAndReplaceKey(
|
|
200
|
+
callback,
|
|
201
|
+
escapedPrefix +
|
|
202
|
+
(null == callback.key ||
|
|
203
|
+
(children && children.key === callback.key)
|
|
204
|
+
? ""
|
|
205
|
+
: ("" + callback.key).replace(
|
|
206
|
+
userProvidedKeyEscapeRegex,
|
|
207
|
+
"$&/"
|
|
208
|
+
) + "/") +
|
|
209
|
+
invokeCallback
|
|
210
|
+
)),
|
|
211
|
+
array.push(callback)),
|
|
212
|
+
1
|
|
213
|
+
);
|
|
214
|
+
invokeCallback = 0;
|
|
215
|
+
var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
|
|
216
|
+
if (isArrayImpl(children))
|
|
217
|
+
for (var i = 0; i < children.length; i++)
|
|
218
|
+
(nameSoFar = children[i]),
|
|
219
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i)),
|
|
220
|
+
(invokeCallback += mapIntoArray(
|
|
221
|
+
nameSoFar,
|
|
222
|
+
array,
|
|
223
|
+
escapedPrefix,
|
|
224
|
+
type,
|
|
225
|
+
callback
|
|
226
|
+
));
|
|
227
|
+
else if (((i = getIteratorFn(children)), "function" === typeof i))
|
|
228
|
+
for (
|
|
229
|
+
children = i.call(children), i = 0;
|
|
230
|
+
!(nameSoFar = children.next()).done;
|
|
231
|
+
|
|
232
|
+
)
|
|
233
|
+
(nameSoFar = nameSoFar.value),
|
|
234
|
+
(type = nextNamePrefix + getElementKey(nameSoFar, i++)),
|
|
235
|
+
(invokeCallback += mapIntoArray(
|
|
236
|
+
nameSoFar,
|
|
237
|
+
array,
|
|
238
|
+
escapedPrefix,
|
|
239
|
+
type,
|
|
240
|
+
callback
|
|
241
|
+
));
|
|
242
|
+
else if ("object" === type) {
|
|
243
|
+
if ("function" === typeof children.then)
|
|
244
|
+
return mapIntoArray(
|
|
245
|
+
resolveThenable(children),
|
|
246
|
+
array,
|
|
247
|
+
escapedPrefix,
|
|
248
|
+
nameSoFar,
|
|
249
|
+
callback
|
|
250
|
+
);
|
|
251
|
+
array = String(children);
|
|
252
|
+
throw Error(
|
|
253
|
+
"Objects are not valid as a React child (found: " +
|
|
254
|
+
("[object Object]" === array
|
|
255
|
+
? "object with keys {" + Object.keys(children).join(", ") + "}"
|
|
256
|
+
: array) +
|
|
257
|
+
"). If you meant to render a collection of children, use an array instead."
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
return invokeCallback;
|
|
261
|
+
}
|
|
262
|
+
function mapChildren(children, func, context) {
|
|
263
|
+
if (null == children) return children;
|
|
264
|
+
var result = [],
|
|
265
|
+
count = 0;
|
|
266
|
+
mapIntoArray(children, result, "", "", function (child) {
|
|
267
|
+
return func.call(context, child, count++);
|
|
268
|
+
});
|
|
269
|
+
return result;
|
|
270
|
+
}
|
|
271
|
+
function lazyInitializer(payload) {
|
|
272
|
+
if (-1 === payload._status) {
|
|
273
|
+
var ctor = payload._result;
|
|
274
|
+
ctor = ctor();
|
|
275
|
+
ctor.then(
|
|
276
|
+
function (moduleObject) {
|
|
277
|
+
if (0 === payload._status || -1 === payload._status)
|
|
278
|
+
(payload._status = 1), (payload._result = moduleObject);
|
|
279
|
+
},
|
|
280
|
+
function (error) {
|
|
281
|
+
if (0 === payload._status || -1 === payload._status)
|
|
282
|
+
(payload._status = 2), (payload._result = error);
|
|
283
|
+
}
|
|
284
|
+
);
|
|
285
|
+
-1 === payload._status && ((payload._status = 0), (payload._result = ctor));
|
|
286
|
+
}
|
|
287
|
+
if (1 === payload._status) return payload._result.default;
|
|
288
|
+
throw payload._result;
|
|
289
|
+
}
|
|
290
|
+
var reportGlobalError =
|
|
291
|
+
"function" === typeof reportError
|
|
292
|
+
? reportError
|
|
293
|
+
: function (error) {
|
|
294
|
+
if (
|
|
295
|
+
"object" === typeof window &&
|
|
296
|
+
"function" === typeof window.ErrorEvent
|
|
297
|
+
) {
|
|
298
|
+
var event = new window.ErrorEvent("error", {
|
|
299
|
+
bubbles: !0,
|
|
300
|
+
cancelable: !0,
|
|
301
|
+
message:
|
|
302
|
+
"object" === typeof error &&
|
|
303
|
+
null !== error &&
|
|
304
|
+
"string" === typeof error.message
|
|
305
|
+
? String(error.message)
|
|
306
|
+
: String(error),
|
|
307
|
+
error: error
|
|
308
|
+
});
|
|
309
|
+
if (!window.dispatchEvent(event)) return;
|
|
310
|
+
} else if (
|
|
311
|
+
"object" === typeof process &&
|
|
312
|
+
"function" === typeof process.emit
|
|
313
|
+
) {
|
|
314
|
+
process.emit("uncaughtException", error);
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
console.error(error);
|
|
318
|
+
};
|
|
319
|
+
function noop() {}
|
|
320
|
+
react_production.Children = {
|
|
321
|
+
map: mapChildren,
|
|
322
|
+
forEach: function (children, forEachFunc, forEachContext) {
|
|
323
|
+
mapChildren(
|
|
324
|
+
children,
|
|
325
|
+
function () {
|
|
326
|
+
forEachFunc.apply(this, arguments);
|
|
327
|
+
},
|
|
328
|
+
forEachContext
|
|
329
|
+
);
|
|
330
|
+
},
|
|
331
|
+
count: function (children) {
|
|
332
|
+
var n = 0;
|
|
333
|
+
mapChildren(children, function () {
|
|
334
|
+
n++;
|
|
335
|
+
});
|
|
336
|
+
return n;
|
|
337
|
+
},
|
|
338
|
+
toArray: function (children) {
|
|
339
|
+
return (
|
|
340
|
+
mapChildren(children, function (child) {
|
|
341
|
+
return child;
|
|
342
|
+
}) || []
|
|
343
|
+
);
|
|
344
|
+
},
|
|
345
|
+
only: function (children) {
|
|
346
|
+
if (!isValidElement(children))
|
|
347
|
+
throw Error(
|
|
348
|
+
"React.Children.only expected to receive a single React element child."
|
|
349
|
+
);
|
|
350
|
+
return children;
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
react_production.Component = Component;
|
|
354
|
+
react_production.Fragment = REACT_FRAGMENT_TYPE;
|
|
355
|
+
react_production.Profiler = REACT_PROFILER_TYPE;
|
|
356
|
+
react_production.PureComponent = PureComponent;
|
|
357
|
+
react_production.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
358
|
+
react_production.Suspense = REACT_SUSPENSE_TYPE;
|
|
359
|
+
react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
|
360
|
+
ReactSharedInternals;
|
|
361
|
+
react_production.__COMPILER_RUNTIME = {
|
|
362
|
+
__proto__: null,
|
|
363
|
+
c: function (size) {
|
|
364
|
+
return ReactSharedInternals.H.useMemoCache(size);
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
react_production.cache = function (fn) {
|
|
368
|
+
return function () {
|
|
369
|
+
return fn.apply(null, arguments);
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
react_production.cloneElement = function (element, config, children) {
|
|
373
|
+
if (null === element || void 0 === element)
|
|
374
|
+
throw Error(
|
|
375
|
+
"The argument must be a React element, but you passed " + element + "."
|
|
376
|
+
);
|
|
377
|
+
var props = assign({}, element.props),
|
|
378
|
+
key = element.key,
|
|
379
|
+
owner = void 0;
|
|
380
|
+
if (null != config)
|
|
381
|
+
for (propName in (void 0 !== config.ref && (owner = void 0),
|
|
382
|
+
void 0 !== config.key && (key = "" + config.key),
|
|
383
|
+
config))
|
|
384
|
+
!hasOwnProperty.call(config, propName) ||
|
|
385
|
+
"key" === propName ||
|
|
386
|
+
"__self" === propName ||
|
|
387
|
+
"__source" === propName ||
|
|
388
|
+
("ref" === propName && void 0 === config.ref) ||
|
|
389
|
+
(props[propName] = config[propName]);
|
|
390
|
+
var propName = arguments.length - 2;
|
|
391
|
+
if (1 === propName) props.children = children;
|
|
392
|
+
else if (1 < propName) {
|
|
393
|
+
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
394
|
+
childArray[i] = arguments[i + 2];
|
|
395
|
+
props.children = childArray;
|
|
396
|
+
}
|
|
397
|
+
return ReactElement(element.type, key, void 0, void 0, owner, props);
|
|
398
|
+
};
|
|
399
|
+
react_production.createContext = function (defaultValue) {
|
|
400
|
+
defaultValue = {
|
|
401
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
402
|
+
_currentValue: defaultValue,
|
|
403
|
+
_currentValue2: defaultValue,
|
|
404
|
+
_threadCount: 0,
|
|
405
|
+
Provider: null,
|
|
406
|
+
Consumer: null
|
|
407
|
+
};
|
|
408
|
+
defaultValue.Provider = defaultValue;
|
|
409
|
+
defaultValue.Consumer = {
|
|
410
|
+
$$typeof: REACT_CONSUMER_TYPE,
|
|
411
|
+
_context: defaultValue
|
|
412
|
+
};
|
|
413
|
+
return defaultValue;
|
|
414
|
+
};
|
|
415
|
+
react_production.createElement = function (type, config, children) {
|
|
416
|
+
var propName,
|
|
417
|
+
props = {},
|
|
418
|
+
key = null;
|
|
419
|
+
if (null != config)
|
|
420
|
+
for (propName in (void 0 !== config.key && (key = "" + config.key), config))
|
|
421
|
+
hasOwnProperty.call(config, propName) &&
|
|
422
|
+
"key" !== propName &&
|
|
423
|
+
"__self" !== propName &&
|
|
424
|
+
"__source" !== propName &&
|
|
425
|
+
(props[propName] = config[propName]);
|
|
426
|
+
var childrenLength = arguments.length - 2;
|
|
427
|
+
if (1 === childrenLength) props.children = children;
|
|
428
|
+
else if (1 < childrenLength) {
|
|
429
|
+
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
430
|
+
childArray[i] = arguments[i + 2];
|
|
431
|
+
props.children = childArray;
|
|
432
|
+
}
|
|
433
|
+
if (type && type.defaultProps)
|
|
434
|
+
for (propName in ((childrenLength = type.defaultProps), childrenLength))
|
|
435
|
+
void 0 === props[propName] &&
|
|
436
|
+
(props[propName] = childrenLength[propName]);
|
|
437
|
+
return ReactElement(type, key, void 0, void 0, null, props);
|
|
438
|
+
};
|
|
439
|
+
react_production.createRef = function () {
|
|
440
|
+
return { current: null };
|
|
441
|
+
};
|
|
442
|
+
react_production.forwardRef = function (render) {
|
|
443
|
+
return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
|
|
444
|
+
};
|
|
445
|
+
react_production.isValidElement = isValidElement;
|
|
446
|
+
react_production.lazy = function (ctor) {
|
|
447
|
+
return {
|
|
448
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
449
|
+
_payload: { _status: -1, _result: ctor },
|
|
450
|
+
_init: lazyInitializer
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
react_production.memo = function (type, compare) {
|
|
454
|
+
return {
|
|
455
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
456
|
+
type: type,
|
|
457
|
+
compare: void 0 === compare ? null : compare
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
react_production.startTransition = function (scope) {
|
|
461
|
+
var prevTransition = ReactSharedInternals.T,
|
|
462
|
+
currentTransition = {};
|
|
463
|
+
ReactSharedInternals.T = currentTransition;
|
|
464
|
+
try {
|
|
465
|
+
var returnValue = scope(),
|
|
466
|
+
onStartTransitionFinish = ReactSharedInternals.S;
|
|
467
|
+
null !== onStartTransitionFinish &&
|
|
468
|
+
onStartTransitionFinish(currentTransition, returnValue);
|
|
469
|
+
"object" === typeof returnValue &&
|
|
470
|
+
null !== returnValue &&
|
|
471
|
+
"function" === typeof returnValue.then &&
|
|
472
|
+
returnValue.then(noop, reportGlobalError);
|
|
473
|
+
} catch (error) {
|
|
474
|
+
reportGlobalError(error);
|
|
475
|
+
} finally {
|
|
476
|
+
ReactSharedInternals.T = prevTransition;
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
react_production.unstable_useCacheRefresh = function () {
|
|
480
|
+
return ReactSharedInternals.H.useCacheRefresh();
|
|
481
|
+
};
|
|
482
|
+
react_production.use = function (usable) {
|
|
483
|
+
return ReactSharedInternals.H.use(usable);
|
|
484
|
+
};
|
|
485
|
+
react_production.useActionState = function (action, initialState, permalink) {
|
|
486
|
+
return ReactSharedInternals.H.useActionState(action, initialState, permalink);
|
|
487
|
+
};
|
|
488
|
+
react_production.useCallback = function (callback, deps) {
|
|
489
|
+
return ReactSharedInternals.H.useCallback(callback, deps);
|
|
490
|
+
};
|
|
491
|
+
react_production.useContext = function (Context) {
|
|
492
|
+
return ReactSharedInternals.H.useContext(Context);
|
|
493
|
+
};
|
|
494
|
+
react_production.useDebugValue = function () {};
|
|
495
|
+
react_production.useDeferredValue = function (value, initialValue) {
|
|
496
|
+
return ReactSharedInternals.H.useDeferredValue(value, initialValue);
|
|
497
|
+
};
|
|
498
|
+
react_production.useEffect = function (create, createDeps, update) {
|
|
499
|
+
var dispatcher = ReactSharedInternals.H;
|
|
500
|
+
if ("function" === typeof update)
|
|
501
|
+
throw Error(
|
|
502
|
+
"useEffect CRUD overload is not enabled in this build of React."
|
|
503
|
+
);
|
|
504
|
+
return dispatcher.useEffect(create, createDeps);
|
|
505
|
+
};
|
|
506
|
+
react_production.useId = function () {
|
|
507
|
+
return ReactSharedInternals.H.useId();
|
|
508
|
+
};
|
|
509
|
+
react_production.useImperativeHandle = function (ref, create, deps) {
|
|
510
|
+
return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
|
|
511
|
+
};
|
|
512
|
+
react_production.useInsertionEffect = function (create, deps) {
|
|
513
|
+
return ReactSharedInternals.H.useInsertionEffect(create, deps);
|
|
514
|
+
};
|
|
515
|
+
react_production.useLayoutEffect = function (create, deps) {
|
|
516
|
+
return ReactSharedInternals.H.useLayoutEffect(create, deps);
|
|
517
|
+
};
|
|
518
|
+
react_production.useMemo = function (create, deps) {
|
|
519
|
+
return ReactSharedInternals.H.useMemo(create, deps);
|
|
520
|
+
};
|
|
521
|
+
react_production.useOptimistic = function (passthrough, reducer) {
|
|
522
|
+
return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
|
|
523
|
+
};
|
|
524
|
+
react_production.useReducer = function (reducer, initialArg, init) {
|
|
525
|
+
return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
|
|
526
|
+
};
|
|
527
|
+
react_production.useRef = function (initialValue) {
|
|
528
|
+
return ReactSharedInternals.H.useRef(initialValue);
|
|
529
|
+
};
|
|
530
|
+
react_production.useState = function (initialState) {
|
|
531
|
+
return ReactSharedInternals.H.useState(initialState);
|
|
532
|
+
};
|
|
533
|
+
react_production.useSyncExternalStore = function (
|
|
534
|
+
subscribe,
|
|
535
|
+
getSnapshot,
|
|
536
|
+
getServerSnapshot
|
|
537
|
+
) {
|
|
538
|
+
return ReactSharedInternals.H.useSyncExternalStore(
|
|
539
|
+
subscribe,
|
|
540
|
+
getSnapshot,
|
|
541
|
+
getServerSnapshot
|
|
542
|
+
);
|
|
543
|
+
};
|
|
544
|
+
react_production.useTransition = function () {
|
|
545
|
+
return ReactSharedInternals.H.useTransition();
|
|
546
|
+
};
|
|
547
|
+
react_production.version = "19.1.0";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as react } from '../../_virtual/index.js';
|
|
2
|
+
import './cjs/react.production.js';
|
|
3
|
+
import './cjs/react.development.js';
|
|
4
|
+
import { __exports as react_production } from '../../_virtual/react.production.js';
|
|
5
|
+
import { r as react_development } from '../../_virtual/react.development.js';
|
|
6
|
+
|
|
7
|
+
if (process.env.NODE_ENV === 'production') {
|
|
8
|
+
react.exports = react_production;
|
|
9
|
+
} else {
|
|
10
|
+
react.exports = react_development.exports;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
var React = react.exports;
|
|
14
|
+
|
|
15
|
+
export { React as default };
|