@boomerang-io/carbon-addons-boomerang-react 4.6.10-beta.0 → 4.6.10-beta.2
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/README.md +162 -162
- package/dist/cjs/_virtual/_commonjsHelpers.js +5 -0
- package/dist/cjs/_virtual/_nodeUtil.js +9 -0
- package/dist/cjs/_virtual/isBuffer.js +9 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +16 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +44 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +44 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +16 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +44 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +16 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +16 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +37 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +40 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +14 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +14 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +16 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +32 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +63 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js +28 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +27 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +30 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +29 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseEach.js +23 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js +33 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +29 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js +20 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +27 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +37 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +99 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js +71 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +58 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +70 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js +43 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +39 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMap.js +31 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js +32 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js +47 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseOrderBy.js +65 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js +21 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortBy.js +28 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +27 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js +48 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +21 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +20 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js +32 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareAscending.js +49 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareMultiple.js +52 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +14 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseEach.js +40 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +32 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +94 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +125 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +98 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +13 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +26 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +26 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js +33 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +26 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +54 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +39 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +72 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +20 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js +52 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +23 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +31 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +31 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +32 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +22 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +28 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js +23 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +20 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +43 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +27 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +34 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +31 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +26 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +24 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +30 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js +27 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js +34 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +14 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +14 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +37 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +29 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +22 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +17 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +26 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +21 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +23 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +21 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +21 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +44 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js +35 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js +29 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +33 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +44 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js +41 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js +43 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +28 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +45 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +33 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +42 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +46 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +46 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +42 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +36 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +38 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +47 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js +81 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js +56 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js +43 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +30 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +25 -0
- package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js +36 -0
- package/dist/cjs/{components → src/components}/AboutPlatform/AboutPlatform.js +50 -50
- package/dist/cjs/{components → src/components}/AdvantageSideNav/AdvantageSideNav.js +241 -212
- package/dist/cjs/{components → src/components}/AutoSuggest/AutoSuggest.js +101 -101
- package/dist/cjs/{components → src/components}/Avatar/Avatar.js +18 -18
- package/dist/cjs/{components → src/components}/CheckboxList/CheckboxList.js +34 -34
- package/dist/cjs/{components → src/components}/ComboBox/ComboBox.js +103 -103
- package/dist/cjs/{components → src/components}/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
- package/dist/cjs/{components → src/components}/ComboBoxMultiSelect/MultiSelect.js +208 -208
- package/dist/cjs/{components → src/components}/ComposedModal/ComposedModal.js +80 -80
- package/dist/cjs/{components → src/components}/ConfirmModal/ConfirmModal.js +43 -43
- package/dist/cjs/{components → src/components}/Creatable/Creatable.js +137 -137
- package/dist/cjs/{components → src/components}/DataDrivenInput/DataDrivenInput.js +226 -226
- package/dist/cjs/{components → src/components}/DateInput/DateInput.js +35 -35
- package/dist/cjs/{components → src/components}/DecisionButtons/DecisionButtons.js +61 -61
- package/dist/cjs/{components → src/components}/DelayedRender/DelayedRender.js +17 -17
- package/dist/cjs/{components → src/components}/DynamicFormik/DynamicFormik.js +578 -578
- package/dist/cjs/{components → src/components}/Error403/Error403.js +13 -13
- package/dist/cjs/{components → src/components}/Error403/ForbiddenErrorBackground.js +113 -113
- package/dist/cjs/{components → src/components}/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
- package/dist/cjs/{components → src/components}/Error404/Error404.js +13 -13
- package/dist/cjs/{components → src/components}/Error404/GraphicLoch/GraphicLoch.js +17 -17
- package/dist/cjs/{components → src/components}/Error404/NotFoundErrorBackground.js +129 -129
- package/dist/cjs/{components → src/components}/ErrorBoundary/ErrorBoundary.js +32 -32
- package/dist/cjs/{components → src/components}/ErrorDragon/ErrorDragon.js +13 -13
- package/dist/cjs/{components → src/components}/ErrorDragon/assets/ErrorGraphic.js +35 -35
- package/dist/cjs/{components → src/components}/ErrorFullPage/ErrorFullPage.js +10 -10
- package/dist/cjs/{components → src/components}/ErrorMessage/ErrorMessage.js +22 -22
- package/dist/cjs/{components → src/components}/ErrorPage/ErrorPage.js +11 -11
- package/dist/cjs/{components → src/components}/ErrorPageCore/ErrorPageCore.js +15 -15
- package/dist/cjs/{components → src/components}/ErrorPageCore/GenericErrorBackground.js +124 -124
- package/dist/cjs/{components → src/components}/FeatureHeader/FeatureHeader.js +29 -29
- package/dist/cjs/{components → src/components}/FeatureNavTab/FeatureNavTab.js +12 -12
- package/dist/cjs/{components → src/components}/FeatureNavTabs/FeatureNavTabs.js +12 -12
- package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNav.js +12 -12
- package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavFooter.js +8 -8
- package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavHeader.js +8 -8
- package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavLinks.js +14 -14
- package/dist/cjs/{components → src/components}/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
- package/dist/cjs/{components → src/components}/Feedback/Feedback.js +40 -40
- package/dist/cjs/{components → src/components}/FlowModal/FlowModal.js +141 -141
- package/dist/cjs/{components → src/components}/FlowModal/FlowModalForm.js +12 -12
- package/dist/cjs/{components → src/components}/Header/Header.js +182 -180
- package/dist/cjs/{components → src/components}/Header/HeaderAppSwitcher.js +94 -102
- package/dist/cjs/{components → src/components}/Header/HeaderMenu.js +7 -7
- package/dist/cjs/{components → src/components}/Header/HeaderMenuItem.js +52 -52
- package/dist/cjs/src/components/Header/HeaderTeamSwitcher.js +269 -0
- package/dist/cjs/{components → src/components}/Header/UserRequests.js +29 -29
- package/dist/cjs/{components → src/components}/ImageModal/ImageModal.js +17 -17
- package/dist/cjs/{components → src/components}/Loading/Loading.js +8 -8
- package/dist/cjs/{components → src/components}/MemberBar/MemberBar.js +20 -20
- package/dist/cjs/{components → src/components}/Modal/Modal.js +20 -20
- package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmArray.js +14 -14
- package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
- package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
- package/dist/cjs/{components → src/components}/ModalForm/ModalForm.js +9 -9
- package/dist/cjs/{components → src/components}/Notifications/NotificationsContainer.js +22 -22
- package/dist/cjs/{components → src/components}/Notifications/ToastNotification.js +21 -21
- package/dist/cjs/{components → src/components}/Notifications/notify.js +17 -17
- package/dist/cjs/{components → src/components}/PlatformBanner/PlatformBanner.js +8 -8
- package/dist/cjs/{components → src/components}/PlatformNotifications/PlatformNotification.js +17 -17
- package/dist/cjs/{components → src/components}/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
- package/dist/cjs/{components → src/components}/Portal/Portal.js +14 -14
- package/dist/cjs/{components → src/components}/PrivacyRedirect/PrivacyRedirect.js +30 -30
- package/dist/cjs/{components → src/components}/PrivacyStatement/PrivacyStatement.js +90 -90
- package/dist/cjs/{components → src/components}/ProfileSettings/ProfileSettings.js +124 -124
- package/dist/cjs/{components → src/components}/ProtectedRoute/ProtectedRoute.js +13 -13
- package/dist/cjs/{components → src/components}/RadioGroup/RadioGroup.js +33 -33
- package/dist/cjs/{components → src/components}/RichTextArea/RichTextArea.js +142 -142
- package/dist/cjs/{components → src/components}/SignOut/SignOut.js +27 -27
- package/dist/cjs/{components → src/components}/SupportCenter/SupportCenter.js +65 -65
- package/dist/cjs/{components → src/components}/TextArea/TextArea.js +16 -16
- package/dist/cjs/{components → src/components}/TextInput/TextInput.js +13 -13
- package/dist/cjs/{components → src/components}/Toggle/Toggle.js +22 -22
- package/dist/cjs/{components → src/components}/TooltipHover/TooltipHover.js +39 -39
- package/dist/cjs/{components → src/components}/UIShell/UIShell.js +90 -89
- package/dist/cjs/{config → src/config}/servicesConfig.js +21 -21
- package/dist/cjs/{constants → src/constants}/DataDrivenInputTypes.js +74 -74
- package/dist/cjs/{constants → src/constants}/UserType.js +13 -13
- package/dist/cjs/{hooks → src/hooks}/useHeaderMenu.js +49 -49
- package/dist/cjs/{hooks → src/hooks}/usePortal.js +74 -74
- package/dist/cjs/{hooks → src/hooks}/useWindowSize.js +33 -33
- package/dist/cjs/{internal → src/internal}/ListBox/ListBox.js +41 -41
- package/dist/cjs/{internal → src/internal}/ListBox/ListBoxField.js +19 -19
- package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenu.js +19 -19
- package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenuIcon.js +31 -31
- package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenuItem.js +38 -38
- package/dist/cjs/{internal → src/internal}/ListBox/ListBoxSelection.js +64 -64
- package/dist/cjs/{internal → src/internal}/ListBox/index.js +10 -10
- package/dist/cjs/{internal → src/internal}/keyboard/keys.js +16 -16
- package/dist/cjs/{internal → src/internal}/keyboard/match.js +67 -67
- package/dist/cjs/{internal → src/internal}/settings.js +5 -5
- package/dist/cjs/{tools → src/tools}/accessibility.js +13 -13
- package/dist/cjs/{tools → src/tools}/createPropAdapter.js +44 -44
- package/dist/cjs/{tools → src/tools}/isUrl.js +39 -39
- package/dist/cjs/{tools → src/tools}/setupGetInstanceId.js +20 -20
- package/dist/cjs/{tools → src/tools}/useSetState.js +12 -12
- package/dist/cjs/{tools → src/tools}/yupAst/astGenerator.js +212 -212
- package/dist/cjs/{tools → src/tools}/yupAst/customValidators.js +17 -17
- package/dist/esm/_virtual/_commonjsHelpers.js +3 -0
- package/dist/esm/_virtual/_nodeUtil.js +7 -0
- package/dist/esm/_virtual/isBuffer.js +7 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +40 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +40 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +40 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +33 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +36 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +10 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +10 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +28 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +59 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js +24 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +23 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +26 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +25 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseEach.js +19 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js +29 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +25 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js +16 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +23 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +33 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +95 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js +67 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +54 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +66 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js +39 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +35 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMap.js +27 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js +28 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js +43 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseOrderBy.js +61 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js +17 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortBy.js +24 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +23 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js +44 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +17 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +16 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js +28 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareAscending.js +45 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareMultiple.js +48 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +10 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseEach.js +36 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +28 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +90 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +121 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +94 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +9 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +22 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +22 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js +29 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +22 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +50 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +35 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +68 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +16 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js +48 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +19 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +27 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +27 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +28 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +18 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +24 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js +19 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +16 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +39 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +23 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +30 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +27 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +22 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +20 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +26 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js +23 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js +30 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +10 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +10 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +35 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +25 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +18 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +13 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +22 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +17 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +19 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +17 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +17 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +40 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js +31 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js +25 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +29 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +40 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js +37 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js +39 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +24 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +41 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +29 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +38 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +44 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +42 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +38 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +32 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +34 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +43 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js +77 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js +52 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js +39 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +26 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +21 -0
- package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js +32 -0
- package/dist/esm/{components → src/components}/AboutPlatform/AboutPlatform.js +50 -50
- package/dist/esm/{components → src/components}/AdvantageSideNav/AdvantageSideNav.js +242 -213
- package/dist/esm/{components → src/components}/AutoSuggest/AutoSuggest.js +101 -101
- package/dist/esm/{components → src/components}/Avatar/Avatar.js +18 -18
- package/dist/esm/{components → src/components}/CheckboxList/CheckboxList.js +34 -34
- package/dist/esm/{components → src/components}/ComboBox/ComboBox.js +103 -103
- package/dist/esm/{components → src/components}/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
- package/dist/esm/{components → src/components}/ComboBoxMultiSelect/MultiSelect.js +208 -208
- package/dist/esm/{components → src/components}/ComposedModal/ComposedModal.js +80 -80
- package/dist/esm/{components → src/components}/ConfirmModal/ConfirmModal.js +43 -43
- package/dist/esm/{components → src/components}/Creatable/Creatable.js +137 -137
- package/dist/esm/{components → src/components}/DataDrivenInput/DataDrivenInput.js +226 -226
- package/dist/esm/{components → src/components}/DateInput/DateInput.js +35 -35
- package/dist/esm/{components → src/components}/DecisionButtons/DecisionButtons.js +61 -61
- package/dist/esm/{components → src/components}/DelayedRender/DelayedRender.js +17 -17
- package/dist/esm/{components → src/components}/DynamicFormik/DynamicFormik.js +578 -578
- package/dist/esm/{components → src/components}/Error403/Error403.js +13 -13
- package/dist/esm/{components → src/components}/Error403/ForbiddenErrorBackground.js +113 -113
- package/dist/esm/{components → src/components}/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
- package/dist/esm/{components → src/components}/Error404/Error404.js +13 -13
- package/dist/esm/{components → src/components}/Error404/GraphicLoch/GraphicLoch.js +17 -17
- package/dist/esm/{components → src/components}/Error404/NotFoundErrorBackground.js +129 -129
- package/dist/esm/{components → src/components}/ErrorBoundary/ErrorBoundary.js +32 -32
- package/dist/esm/{components → src/components}/ErrorDragon/ErrorDragon.js +13 -13
- package/dist/esm/{components → src/components}/ErrorDragon/assets/ErrorGraphic.js +35 -35
- package/dist/esm/{components → src/components}/ErrorFullPage/ErrorFullPage.js +10 -10
- package/dist/esm/{components → src/components}/ErrorMessage/ErrorMessage.js +22 -22
- package/dist/esm/{components → src/components}/ErrorPage/ErrorPage.js +11 -11
- package/dist/esm/{components → src/components}/ErrorPageCore/ErrorPageCore.js +15 -15
- package/dist/esm/{components → src/components}/ErrorPageCore/GenericErrorBackground.js +124 -124
- package/dist/esm/{components → src/components}/FeatureHeader/FeatureHeader.js +29 -29
- package/dist/esm/{components → src/components}/FeatureNavTab/FeatureNavTab.js +12 -12
- package/dist/esm/{components → src/components}/FeatureNavTabs/FeatureNavTabs.js +12 -12
- package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNav.js +12 -12
- package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavFooter.js +8 -8
- package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavHeader.js +8 -8
- package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavLinks.js +14 -14
- package/dist/esm/{components → src/components}/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
- package/dist/esm/{components → src/components}/Feedback/Feedback.js +40 -40
- package/dist/esm/{components → src/components}/FlowModal/FlowModal.js +141 -141
- package/dist/esm/{components → src/components}/FlowModal/FlowModalForm.js +12 -12
- package/dist/esm/{components → src/components}/Header/Header.js +183 -181
- package/dist/esm/{components → src/components}/Header/HeaderAppSwitcher.js +94 -102
- package/dist/esm/{components → src/components}/Header/HeaderMenu.js +7 -7
- package/dist/esm/{components → src/components}/Header/HeaderMenuItem.js +52 -52
- package/dist/esm/src/components/Header/HeaderTeamSwitcher.js +261 -0
- package/dist/esm/{components → src/components}/Header/UserRequests.js +29 -29
- package/dist/esm/{components → src/components}/ImageModal/ImageModal.js +17 -17
- package/dist/esm/{components → src/components}/Loading/Loading.js +8 -8
- package/dist/esm/{components → src/components}/MemberBar/MemberBar.js +20 -20
- package/dist/esm/{components → src/components}/Modal/Modal.js +20 -20
- package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmArray.js +14 -14
- package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
- package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
- package/dist/esm/{components → src/components}/ModalForm/ModalForm.js +9 -9
- package/dist/esm/{components → src/components}/Notifications/NotificationsContainer.js +22 -22
- package/dist/esm/{components → src/components}/Notifications/ToastNotification.js +21 -21
- package/dist/esm/{components → src/components}/Notifications/notify.js +17 -17
- package/dist/esm/{components → src/components}/PlatformBanner/PlatformBanner.js +8 -8
- package/dist/esm/{components → src/components}/PlatformNotifications/PlatformNotification.js +17 -17
- package/dist/esm/{components → src/components}/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
- package/dist/esm/{components → src/components}/Portal/Portal.js +14 -14
- package/dist/esm/{components → src/components}/PrivacyRedirect/PrivacyRedirect.js +30 -30
- package/dist/esm/{components → src/components}/PrivacyStatement/PrivacyStatement.js +90 -90
- package/dist/esm/{components → src/components}/ProfileSettings/ProfileSettings.js +124 -124
- package/dist/esm/{components → src/components}/ProtectedRoute/ProtectedRoute.js +13 -13
- package/dist/esm/{components → src/components}/RadioGroup/RadioGroup.js +33 -33
- package/dist/esm/{components → src/components}/RichTextArea/RichTextArea.js +142 -142
- package/dist/esm/{components → src/components}/SignOut/SignOut.js +27 -27
- package/dist/esm/{components → src/components}/SupportCenter/SupportCenter.js +65 -65
- package/dist/esm/{components → src/components}/TextArea/TextArea.js +16 -16
- package/dist/esm/{components → src/components}/TextInput/TextInput.js +13 -13
- package/dist/esm/{components → src/components}/Toggle/Toggle.js +22 -22
- package/dist/esm/{components → src/components}/TooltipHover/TooltipHover.js +39 -39
- package/dist/esm/{components → src/components}/UIShell/UIShell.js +90 -89
- package/dist/esm/{config → src/config}/servicesConfig.js +21 -21
- package/dist/esm/{constants → src/constants}/DataDrivenInputTypes.js +74 -74
- package/dist/esm/{constants → src/constants}/UserType.js +13 -13
- package/dist/esm/{hooks → src/hooks}/useHeaderMenu.js +49 -49
- package/dist/esm/{hooks → src/hooks}/usePortal.js +74 -74
- package/dist/esm/{hooks → src/hooks}/useWindowSize.js +33 -33
- package/dist/esm/{internal → src/internal}/ListBox/ListBox.js +41 -41
- package/dist/esm/{internal → src/internal}/ListBox/ListBoxField.js +19 -19
- package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenu.js +19 -19
- package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenuIcon.js +31 -31
- package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenuItem.js +38 -38
- package/dist/esm/{internal → src/internal}/ListBox/ListBoxSelection.js +64 -64
- package/dist/esm/{internal → src/internal}/ListBox/index.js +10 -10
- package/dist/esm/{internal → src/internal}/keyboard/keys.js +16 -16
- package/dist/esm/{internal → src/internal}/keyboard/match.js +67 -67
- package/dist/esm/{internal → src/internal}/settings.js +5 -5
- package/dist/esm/{tools → src/tools}/accessibility.js +13 -13
- package/dist/esm/{tools → src/tools}/createPropAdapter.js +44 -44
- package/dist/esm/{tools → src/tools}/isUrl.js +39 -39
- package/dist/esm/{tools → src/tools}/setupGetInstanceId.js +20 -20
- package/dist/esm/{tools → src/tools}/useSetState.js +12 -12
- package/dist/esm/{tools → src/tools}/yupAst/astGenerator.js +212 -212
- package/dist/esm/{tools → src/tools}/yupAst/customValidators.js +17 -17
- package/dist/types/index.d.ts +1321 -1307
- package/package.json +167 -167
- package/scss/components/AboutPlatform/_aboutPlatform.scss +139 -139
- package/scss/components/AdvantageSideNav/_advantageSideNav.scss +261 -258
- package/scss/components/AutoSuggest/_autoSuggest.scss +62 -62
- package/scss/components/Avatar/_avatar.scss +32 -32
- package/scss/components/CheckboxList/_checkboxList.scss +26 -26
- package/scss/components/ComboBox/_combobox.scss +23 -23
- package/scss/components/ComboBoxMultiSelect/_comboBoxMultiSelect.scss +53 -53
- package/scss/components/ConfirmModal/_confirmModal.scss +12 -12
- package/scss/components/Creatable/_creatable.scss +48 -48
- package/scss/components/DateInput/_dateInput.scss +36 -36
- package/scss/components/DecisionButtons/_decisionButtons.scss +132 -132
- package/scss/components/DynamicFormik/_dynamicFormik.scss +17 -17
- package/scss/components/ErrorBoundary/_errorBoundary.scss +12 -12
- package/scss/components/ErrorDragon/_errorDragon.scss +55 -55
- package/scss/components/ErrorMessage/_errorMessage.scss +43 -43
- package/scss/components/ErrorPage/_errorPage.scss +66 -66
- package/scss/components/ErrorPageCore/_errorPageCore.scss +73 -73
- package/scss/components/FeatureHeader/_featureHeader.scss +67 -67
- package/scss/components/FeatureNavTab/_featureNavTab.scss +27 -27
- package/scss/components/FeatureSideNav/_featureSideNav.scss +76 -76
- package/scss/components/FeatureSideNavLink/_featureSideNavLink.scss +49 -49
- package/scss/components/Feedback/_feedback.scss +46 -46
- package/scss/components/Header/_header.scss +179 -179
- package/scss/components/Header/_headerAppSwitcher.scss +117 -117
- package/scss/components/Header/_headerMenu.scss +30 -30
- package/scss/components/Header/_headerMenuItem.scss +65 -65
- package/scss/components/Header/_headerTeamSwitcher.scss +165 -0
- package/scss/components/Header/_userRequests.scss +36 -36
- package/scss/components/ImageModal/_imageModal.scss +51 -51
- package/scss/components/MemberBar/_memberBar.scss +99 -99
- package/scss/components/Modal/_modal.scss +163 -163
- package/scss/components/ModalConfirmEdit/_modalConfirmEdit.scss +113 -113
- package/scss/components/Notifications/_notifications.scss +57 -57
- package/scss/components/PlatformBanner/_platformBanner.scss +30 -30
- package/scss/components/PlatformNotifications/_platformNotifications.scss +230 -230
- package/scss/components/PrivacyRedirect/_privacyRedirect.scss +43 -43
- package/scss/components/PrivacyStatement/_privacyStatement.scss +137 -137
- package/scss/components/ProfileSettings/_profileSettings.scss +117 -117
- package/scss/components/ProtectedRoute/_protectedRoute.scss +32 -32
- package/scss/components/RadioGroup/_radioGroup.scss +46 -46
- package/scss/components/RichTextArea/_richTextArea.scss +82 -82
- package/scss/components/SignOut/_signOut.scss +51 -51
- package/scss/components/SupportCenter/_supportCenter.scss +16 -16
- package/scss/components/TextArea/_textArea.scss +19 -19
- package/scss/components/TextInput/_textInput.scss +26 -26
- package/scss/components/Toggle/_toggle.scss +80 -80
- package/scss/components/TooltipHover/_tooltip.scss +48 -48
- package/scss/global/_config.scss +14 -14
- package/scss/global/_tippy.scss +49 -49
- package/scss/global/index.scss +401 -402
- package/scss/global/themes/_boomerang.scss +184 -184
- package/scss/global/themes/_default.scss +79 -79
- package/scss/global/themes/_shell-tokens.scss +42 -42
- package/scss/global/utils/_animations.scss +15 -15
- package/scss/global/utils/_mixins.scss +67 -67
- package/scss/global/utils/index.scss +10 -10
- /package/dist/cjs/{index.js → src/index.js} +0 -0
- /package/dist/esm/{index.js → src/index.js} +0 -0
|
@@ -3,14 +3,14 @@ import { SkeletonPlaceholder } from '@carbon/react';
|
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
import { prefix } from '../../internal/settings.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
IBM Confidential
|
|
8
|
-
694970X, 69497O0
|
|
9
|
-
© Copyright IBM Corp. 2022, 2024
|
|
10
|
-
*/
|
|
11
|
-
function FeatureSideNavFooter(props) {
|
|
12
|
-
const { children, className, isLoading, ...rest } = props;
|
|
13
|
-
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-footer`, className), ...rest }, isLoading ? React.createElement(SkeletonPlaceholder, { style: { padding: "1rem", height: "3rem", width: "100%" } }) : children));
|
|
6
|
+
/*
|
|
7
|
+
IBM Confidential
|
|
8
|
+
694970X, 69497O0
|
|
9
|
+
© Copyright IBM Corp. 2022, 2024
|
|
10
|
+
*/
|
|
11
|
+
function FeatureSideNavFooter(props) {
|
|
12
|
+
const { children, className, isLoading, ...rest } = props;
|
|
13
|
+
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-footer`, className), ...rest }, isLoading ? React.createElement(SkeletonPlaceholder, { style: { padding: "1rem", height: "3rem", width: "100%" } }) : children));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { FeatureSideNavFooter, FeatureSideNavFooter as default };
|
|
@@ -3,14 +3,14 @@ import { SkeletonPlaceholder } from '@carbon/react';
|
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
import { prefix } from '../../internal/settings.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
IBM Confidential
|
|
8
|
-
694970X, 69497O0
|
|
9
|
-
© Copyright IBM Corp. 2022, 2024
|
|
10
|
-
*/
|
|
11
|
-
function FeatureSideNavHeader(props) {
|
|
12
|
-
const { children, className, isLoading, ...rest } = props;
|
|
13
|
-
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-header`, className), ...rest }, isLoading ? React.createElement(SkeletonPlaceholder, { style: { padding: "1rem", height: "5rem", width: "100%" } }) : children));
|
|
6
|
+
/*
|
|
7
|
+
IBM Confidential
|
|
8
|
+
694970X, 69497O0
|
|
9
|
+
© Copyright IBM Corp. 2022, 2024
|
|
10
|
+
*/
|
|
11
|
+
function FeatureSideNavHeader(props) {
|
|
12
|
+
const { children, className, isLoading, ...rest } = props;
|
|
13
|
+
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-header`, className), ...rest }, isLoading ? React.createElement(SkeletonPlaceholder, { style: { padding: "1rem", height: "5rem", width: "100%" } }) : children));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { FeatureSideNavHeader, FeatureSideNavHeader as default };
|
|
@@ -3,20 +3,20 @@ import { ButtonSkeleton } from '@carbon/react';
|
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
import { prefix } from '../../internal/settings.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
IBM Confidential
|
|
8
|
-
694970X, 69497O0
|
|
9
|
-
© Copyright IBM Corp. 2022, 2024
|
|
10
|
-
*/
|
|
11
|
-
const LoadingSkeleton = () => {
|
|
12
|
-
return (React.createElement("div", { className: `${prefix}--bmrg-feature-sidenav-links-skeleton` },
|
|
13
|
-
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true }),
|
|
14
|
-
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true }),
|
|
15
|
-
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true })));
|
|
16
|
-
};
|
|
17
|
-
function FeatureSideNavLinks(props) {
|
|
18
|
-
const { children, className, isLoading, ...rest } = props;
|
|
19
|
-
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-links`, className), ...rest }, isLoading ? React.createElement(LoadingSkeleton, null) : children));
|
|
6
|
+
/*
|
|
7
|
+
IBM Confidential
|
|
8
|
+
694970X, 69497O0
|
|
9
|
+
© Copyright IBM Corp. 2022, 2024
|
|
10
|
+
*/
|
|
11
|
+
const LoadingSkeleton = () => {
|
|
12
|
+
return (React.createElement("div", { className: `${prefix}--bmrg-feature-sidenav-links-skeleton` },
|
|
13
|
+
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true }),
|
|
14
|
+
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true }),
|
|
15
|
+
React.createElement(ButtonSkeleton, { style: { width: "90%" }, small: true })));
|
|
16
|
+
};
|
|
17
|
+
function FeatureSideNavLinks(props) {
|
|
18
|
+
const { children, className, isLoading, ...rest } = props;
|
|
19
|
+
return (React.createElement("section", { className: cx(`${prefix}--bmrg-feature-sidenav-links`, className), ...rest }, isLoading ? React.createElement(LoadingSkeleton, null) : children));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export { FeatureSideNavLinks, FeatureSideNavLinks as default };
|
|
@@ -3,18 +3,18 @@ import { NavLink } from 'react-router-dom';
|
|
|
3
3
|
import cx from 'classnames';
|
|
4
4
|
import { prefix } from '../../internal/settings.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
IBM Confidential
|
|
8
|
-
694970X, 69497O0
|
|
9
|
-
© Copyright IBM Corp. 2022, 2024
|
|
10
|
-
*/
|
|
11
|
-
function FeatureSideNavLink(props) {
|
|
12
|
-
const { children, className, activeClassName, iconProps, icon: Icon, hasDivider = false, ...rest } = props;
|
|
13
|
-
return (React.createElement(React.Fragment, null,
|
|
14
|
-
React.createElement(NavLink, { className: cx(`${prefix}--bmrg-feature-sidenav-link`, className), activeClassName: cx(`${prefix}--bmrg-feature-sidenav-active-link`, activeClassName), ...rest },
|
|
15
|
-
Icon && React.createElement(Icon, { ...iconProps }),
|
|
16
|
-
React.createElement("div", { className: `${prefix}--bmrg-feature-sidenav-link-content` }, children)),
|
|
17
|
-
hasDivider && React.createElement("hr", { className: `${prefix}--bmrg-feature-sidenav-link-divider` })));
|
|
6
|
+
/*
|
|
7
|
+
IBM Confidential
|
|
8
|
+
694970X, 69497O0
|
|
9
|
+
© Copyright IBM Corp. 2022, 2024
|
|
10
|
+
*/
|
|
11
|
+
function FeatureSideNavLink(props) {
|
|
12
|
+
const { children, className, activeClassName, iconProps, icon: Icon, hasDivider = false, ...rest } = props;
|
|
13
|
+
return (React.createElement(React.Fragment, null,
|
|
14
|
+
React.createElement(NavLink, { className: cx(`${prefix}--bmrg-feature-sidenav-link`, className), activeClassName: cx(`${prefix}--bmrg-feature-sidenav-active-link`, activeClassName), ...rest },
|
|
15
|
+
Icon && React.createElement(Icon, { ...iconProps }),
|
|
16
|
+
React.createElement("div", { className: `${prefix}--bmrg-feature-sidenav-link-content` }, children)),
|
|
17
|
+
hasDivider && React.createElement("hr", { className: `${prefix}--bmrg-feature-sidenav-link-divider` })));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export { FeatureSideNavLink as default };
|
|
@@ -4,46 +4,46 @@ import { Idea } from '@carbon/react/icons';
|
|
|
4
4
|
import HeaderMenuItem from '../Header/HeaderMenuItem.js';
|
|
5
5
|
import { prefix } from '../../internal/settings.js';
|
|
6
6
|
|
|
7
|
-
/*
|
|
8
|
-
IBM Confidential
|
|
9
|
-
694970X, 69497O0
|
|
10
|
-
© Copyright IBM Corp. 2022, 2024
|
|
11
|
-
*/
|
|
12
|
-
function Feedback(props) {
|
|
13
|
-
return (React.createElement(ComposedModal, { "aria-label": "Feedback", open: props.isOpen, className: `${prefix}--bmrg-feedback-container ${prefix}--bmrg-header-modal`, onClose: props.closeModal, onKeyDown: (e) => e.stopPropagation() },
|
|
14
|
-
React.createElement(ModalHeader, { title: "Submit an Idea", closeModal: props.closeModal }),
|
|
15
|
-
React.createElement(ModalBody, null,
|
|
16
|
-
React.createElement("div", { className: `${prefix}--bmrg-feedback` },
|
|
17
|
-
React.createElement("p", null,
|
|
18
|
-
"Share your thoughts and ideas on what we can do to improve the ",
|
|
19
|
-
props.platformName,
|
|
20
|
-
" platform and our onboarding process."),
|
|
21
|
-
React.createElement("p", null,
|
|
22
|
-
"To submit your idea, visit our portal at",
|
|
23
|
-
" " /* We need to force a space before the link tag */,
|
|
24
|
-
React.createElement("a", { "aria-describedby": "new-window-aria-desc-0", href: props.sendIdeasUrl, target: "_blank", rel: "noopener noreferrer" }, props.sendIdeasUrl),
|
|
25
|
-
"."),
|
|
26
|
-
React.createElement("p", null,
|
|
27
|
-
"For now, you must have an ",
|
|
28
|
-
props.platformOrganization,
|
|
29
|
-
" email address and you will need to register with a password during your first visit."),
|
|
30
|
-
React.createElement("p", null, "You will have the opportunity to see other public ideas, vote on them and track the status of your idea."),
|
|
31
|
-
React.createElement("p", null, "We look forward to your feedback!"))),
|
|
32
|
-
React.createElement(ModalFooter, null,
|
|
33
|
-
React.createElement(Button, { "data-modal-primary-focus": true, kind: "primary", onClick: props.closeModal }, "OK"))));
|
|
34
|
-
}
|
|
35
|
-
function FeedbackMenuItem(props) {
|
|
36
|
-
const menuItemRef = React.useRef(null);
|
|
37
|
-
const [isOpen, setIsOpen] = React.useState(false);
|
|
38
|
-
const handleClose = () => {
|
|
39
|
-
setIsOpen(false);
|
|
40
|
-
setTimeout(() => {
|
|
41
|
-
menuItemRef.current?.focus();
|
|
42
|
-
}, 0);
|
|
43
|
-
};
|
|
44
|
-
return (React.createElement(React.Fragment, null,
|
|
45
|
-
React.createElement(HeaderMenuItem, { icon: React.createElement(Idea, null), onClick: () => setIsOpen(!isOpen), ref: menuItemRef, text: "Submit an idea", type: "button" }),
|
|
46
|
-
React.createElement(Feedback, { isOpen: isOpen, closeModal: handleClose, ...props })));
|
|
7
|
+
/*
|
|
8
|
+
IBM Confidential
|
|
9
|
+
694970X, 69497O0
|
|
10
|
+
© Copyright IBM Corp. 2022, 2024
|
|
11
|
+
*/
|
|
12
|
+
function Feedback(props) {
|
|
13
|
+
return (React.createElement(ComposedModal, { "aria-label": "Feedback", open: props.isOpen, className: `${prefix}--bmrg-feedback-container ${prefix}--bmrg-header-modal`, onClose: props.closeModal, onKeyDown: (e) => e.stopPropagation() },
|
|
14
|
+
React.createElement(ModalHeader, { title: "Submit an Idea", closeModal: props.closeModal }),
|
|
15
|
+
React.createElement(ModalBody, null,
|
|
16
|
+
React.createElement("div", { className: `${prefix}--bmrg-feedback` },
|
|
17
|
+
React.createElement("p", null,
|
|
18
|
+
"Share your thoughts and ideas on what we can do to improve the ",
|
|
19
|
+
props.platformName,
|
|
20
|
+
" platform and our onboarding process."),
|
|
21
|
+
React.createElement("p", null,
|
|
22
|
+
"To submit your idea, visit our portal at",
|
|
23
|
+
" " /* We need to force a space before the link tag */,
|
|
24
|
+
React.createElement("a", { "aria-describedby": "new-window-aria-desc-0", href: props.sendIdeasUrl, target: "_blank", rel: "noopener noreferrer" }, props.sendIdeasUrl),
|
|
25
|
+
"."),
|
|
26
|
+
React.createElement("p", null,
|
|
27
|
+
"For now, you must have an ",
|
|
28
|
+
props.platformOrganization,
|
|
29
|
+
" email address and you will need to register with a password during your first visit."),
|
|
30
|
+
React.createElement("p", null, "You will have the opportunity to see other public ideas, vote on them and track the status of your idea."),
|
|
31
|
+
React.createElement("p", null, "We look forward to your feedback!"))),
|
|
32
|
+
React.createElement(ModalFooter, null,
|
|
33
|
+
React.createElement(Button, { "data-modal-primary-focus": true, kind: "primary", onClick: props.closeModal }, "OK"))));
|
|
34
|
+
}
|
|
35
|
+
function FeedbackMenuItem(props) {
|
|
36
|
+
const menuItemRef = React.useRef(null);
|
|
37
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
38
|
+
const handleClose = () => {
|
|
39
|
+
setIsOpen(false);
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
menuItemRef.current?.focus();
|
|
42
|
+
}, 0);
|
|
43
|
+
};
|
|
44
|
+
return (React.createElement(React.Fragment, null,
|
|
45
|
+
React.createElement(HeaderMenuItem, { icon: React.createElement(Idea, null), onClick: () => setIsOpen(!isOpen), ref: menuItemRef, text: "Submit an idea", type: "button" }),
|
|
46
|
+
React.createElement(Feedback, { isOpen: isOpen, closeModal: handleClose, ...props })));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export { FeedbackMenuItem, Feedback as default };
|
|
@@ -6,147 +6,147 @@ import cx from 'classnames';
|
|
|
6
6
|
import useSetState from '../../tools/useSetState.js';
|
|
7
7
|
import { prefix } from '../../internal/settings.js';
|
|
8
8
|
|
|
9
|
-
/*
|
|
10
|
-
IBM Confidential
|
|
11
|
-
694970X, 69497O0
|
|
12
|
-
© Copyright IBM Corp. 2022, 2024
|
|
13
|
-
*/
|
|
14
|
-
FlowModalContainer.defaultProps = {
|
|
15
|
-
composedModalProps: {},
|
|
16
|
-
isOpen: false,
|
|
17
|
-
modalHeaderProps: {},
|
|
18
|
-
};
|
|
19
|
-
function FlowModalContainer(props) {
|
|
20
|
-
const [state, setState] = useSetState({
|
|
21
|
-
formData: new Map(),
|
|
22
|
-
isConfirmModalOpen: false,
|
|
23
|
-
isOpen: props.isOpen,
|
|
24
|
-
shouldConfirmModalClose: false,
|
|
25
|
-
step: 0,
|
|
26
|
-
...props.initialState,
|
|
27
|
-
});
|
|
28
|
-
// Let it be externally controlled
|
|
29
|
-
useEffect(() => {
|
|
30
|
-
setState({ isOpen: props.isOpen });
|
|
31
|
-
}, [props.isOpen, setState]);
|
|
32
|
-
/**
|
|
33
|
-
* Change step value to the requested value
|
|
34
|
-
* @param {number} stepRequested - requested value
|
|
35
|
-
*/
|
|
36
|
-
function goToStep(stepRequested) {
|
|
37
|
-
setState({ step: stepRequested });
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Change step to next one
|
|
41
|
-
*/
|
|
42
|
-
function requestNextStep() {
|
|
43
|
-
goToStep(state.step + 1);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Change step to previous one
|
|
47
|
-
*/
|
|
48
|
-
function requestPreviousStep() {
|
|
49
|
-
goToStep(state.step - 1);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Save data colected by user input into formData
|
|
53
|
-
* @param {obj} data - the new data to be saved
|
|
54
|
-
*/
|
|
55
|
-
function saveValues(data) {
|
|
56
|
-
setState({ formData: { ...state.formData, ...data } });
|
|
57
|
-
if (typeof props.onFormDataChange === "function") {
|
|
58
|
-
props.onFormDataChange(state.formData);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Reset to initial state
|
|
63
|
-
* and let parent know
|
|
64
|
-
*/
|
|
65
|
-
function resetInitialState(stateUpdate) {
|
|
66
|
-
setState({
|
|
67
|
-
formData: new Map(),
|
|
68
|
-
isConfirmModalOpen: false,
|
|
69
|
-
shouldConfirmModalClose: false,
|
|
70
|
-
step: 0,
|
|
71
|
-
...props.initialState,
|
|
72
|
-
...stateUpdate,
|
|
73
|
-
});
|
|
74
|
-
if (typeof props.onFormDataChange === "function") {
|
|
75
|
-
props.onFormDataChange(state.formData);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
function handleOpenModal() {
|
|
79
|
-
setState({ isOpen: true });
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Close modal and call event function for parent if provided
|
|
83
|
-
*/
|
|
84
|
-
function handleCloseModal() {
|
|
85
|
-
resetInitialState({ isOpen: false });
|
|
86
|
-
if (typeof props.onCloseModal === "function") {
|
|
87
|
-
props.onCloseModal();
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Check if should confirm exit with confirm modal or just exit modal flow
|
|
92
|
-
*/
|
|
93
|
-
function handleShouldCloseModal() {
|
|
94
|
-
if (state.shouldConfirmModalClose) {
|
|
95
|
-
setState({ isConfirmModalOpen: true });
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
handleCloseModal();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
function closeConfirmModal() {
|
|
102
|
-
setState({ isConfirmModalOpen: false });
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Method passed to children components and they determine if should confirm exit of modal
|
|
106
|
-
* @param {bool} shouldConfirmModalClose - boolean of current component
|
|
107
|
-
*/
|
|
108
|
-
function handleSetShouldConfirmModalClose(shouldConfirmModalClose) {
|
|
109
|
-
setState({ shouldConfirmModalClose });
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Determine which child to render based on the current step in the flow
|
|
113
|
-
*/
|
|
114
|
-
function determineChildToRender() {
|
|
115
|
-
const { step } = state;
|
|
116
|
-
let childToRender;
|
|
117
|
-
if (React.Children.count(props.children) > 0) {
|
|
118
|
-
React.Children.forEach(props.children, (child, index) => {
|
|
119
|
-
if (index === step) {
|
|
120
|
-
childToRender = child;
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
return childToRender;
|
|
125
|
-
}
|
|
126
|
-
const { containerClassName, ...restComposedModalProps } = props.composedModalProps;
|
|
127
|
-
const { subtitle, ...restModalHeaderProps } = props.modalHeaderProps;
|
|
128
|
-
const childToRender = determineChildToRender();
|
|
129
|
-
return (React.createElement(React.Fragment, null,
|
|
130
|
-
props.modalTrigger && props.modalTrigger({ openModal: handleOpenModal }),
|
|
131
|
-
React.createElement(Modal, { appElement: props.appElement, containerClassName: cx(`${prefix}--bmrg-modal-flow-container`, `${prefix}--modal-container`, props.size ? `${prefix}--modal-container--${props.size}` : "modal-container-fix-width", containerClassName), isOpen: state.isOpen, onRequestClose: handleShouldCloseModal, shouldCloseOnOverlayClick: false, ...restComposedModalProps },
|
|
132
|
-
React.createElement(ModalHeader, { closeModal: handleShouldCloseModal, ...restModalHeaderProps }, subtitle && React.createElement("p", { className: `${prefix}--bmrg-modal-flow-subtitle` }, subtitle)),
|
|
133
|
-
Array.isArray(props.progressSteps) && (React.createElement(ProgressIndicator, { currentIndex: state.step }, props.progressSteps.map((stepProps, index) => (React.createElement(ProgressStep, { key: index, ...stepProps }))))),
|
|
134
|
-
childToRender &&
|
|
135
|
-
state.isOpen &&
|
|
136
|
-
React.cloneElement(childToRender, {
|
|
137
|
-
closeModal: handleShouldCloseModal,
|
|
138
|
-
forceCloseModal: handleCloseModal,
|
|
139
|
-
formData: state.formData,
|
|
140
|
-
goToStep,
|
|
141
|
-
requestNextStep,
|
|
142
|
-
requestPreviousStep,
|
|
143
|
-
resetInitialState,
|
|
144
|
-
saveValues,
|
|
145
|
-
setShouldConfirmModalClose: handleSetShouldConfirmModalClose,
|
|
146
|
-
shouldConfirmModalClose: state.shouldConfirmModalClose,
|
|
147
|
-
step: state.step,
|
|
148
|
-
}),
|
|
149
|
-
React.createElement(ConfirmModal, { affirmativeAction: handleCloseModal, appElement: props.appElement, negativeAction: closeConfirmModal, isOpen: state.isConfirmModalOpen, onCloseModal: closeConfirmModal, ...props.confirmModalProps }))));
|
|
9
|
+
/*
|
|
10
|
+
IBM Confidential
|
|
11
|
+
694970X, 69497O0
|
|
12
|
+
© Copyright IBM Corp. 2022, 2024
|
|
13
|
+
*/
|
|
14
|
+
FlowModalContainer.defaultProps = {
|
|
15
|
+
composedModalProps: {},
|
|
16
|
+
isOpen: false,
|
|
17
|
+
modalHeaderProps: {},
|
|
18
|
+
};
|
|
19
|
+
function FlowModalContainer(props) {
|
|
20
|
+
const [state, setState] = useSetState({
|
|
21
|
+
formData: new Map(),
|
|
22
|
+
isConfirmModalOpen: false,
|
|
23
|
+
isOpen: props.isOpen,
|
|
24
|
+
shouldConfirmModalClose: false,
|
|
25
|
+
step: 0,
|
|
26
|
+
...props.initialState,
|
|
27
|
+
});
|
|
28
|
+
// Let it be externally controlled
|
|
29
|
+
useEffect(() => {
|
|
30
|
+
setState({ isOpen: props.isOpen });
|
|
31
|
+
}, [props.isOpen, setState]);
|
|
32
|
+
/**
|
|
33
|
+
* Change step value to the requested value
|
|
34
|
+
* @param {number} stepRequested - requested value
|
|
35
|
+
*/
|
|
36
|
+
function goToStep(stepRequested) {
|
|
37
|
+
setState({ step: stepRequested });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Change step to next one
|
|
41
|
+
*/
|
|
42
|
+
function requestNextStep() {
|
|
43
|
+
goToStep(state.step + 1);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Change step to previous one
|
|
47
|
+
*/
|
|
48
|
+
function requestPreviousStep() {
|
|
49
|
+
goToStep(state.step - 1);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Save data colected by user input into formData
|
|
53
|
+
* @param {obj} data - the new data to be saved
|
|
54
|
+
*/
|
|
55
|
+
function saveValues(data) {
|
|
56
|
+
setState({ formData: { ...state.formData, ...data } });
|
|
57
|
+
if (typeof props.onFormDataChange === "function") {
|
|
58
|
+
props.onFormDataChange(state.formData);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Reset to initial state
|
|
63
|
+
* and let parent know
|
|
64
|
+
*/
|
|
65
|
+
function resetInitialState(stateUpdate) {
|
|
66
|
+
setState({
|
|
67
|
+
formData: new Map(),
|
|
68
|
+
isConfirmModalOpen: false,
|
|
69
|
+
shouldConfirmModalClose: false,
|
|
70
|
+
step: 0,
|
|
71
|
+
...props.initialState,
|
|
72
|
+
...stateUpdate,
|
|
73
|
+
});
|
|
74
|
+
if (typeof props.onFormDataChange === "function") {
|
|
75
|
+
props.onFormDataChange(state.formData);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function handleOpenModal() {
|
|
79
|
+
setState({ isOpen: true });
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Close modal and call event function for parent if provided
|
|
83
|
+
*/
|
|
84
|
+
function handleCloseModal() {
|
|
85
|
+
resetInitialState({ isOpen: false });
|
|
86
|
+
if (typeof props.onCloseModal === "function") {
|
|
87
|
+
props.onCloseModal();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Check if should confirm exit with confirm modal or just exit modal flow
|
|
92
|
+
*/
|
|
93
|
+
function handleShouldCloseModal() {
|
|
94
|
+
if (state.shouldConfirmModalClose) {
|
|
95
|
+
setState({ isConfirmModalOpen: true });
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
handleCloseModal();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function closeConfirmModal() {
|
|
102
|
+
setState({ isConfirmModalOpen: false });
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Method passed to children components and they determine if should confirm exit of modal
|
|
106
|
+
* @param {bool} shouldConfirmModalClose - boolean of current component
|
|
107
|
+
*/
|
|
108
|
+
function handleSetShouldConfirmModalClose(shouldConfirmModalClose) {
|
|
109
|
+
setState({ shouldConfirmModalClose });
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Determine which child to render based on the current step in the flow
|
|
113
|
+
*/
|
|
114
|
+
function determineChildToRender() {
|
|
115
|
+
const { step } = state;
|
|
116
|
+
let childToRender;
|
|
117
|
+
if (React.Children.count(props.children) > 0) {
|
|
118
|
+
React.Children.forEach(props.children, (child, index) => {
|
|
119
|
+
if (index === step) {
|
|
120
|
+
childToRender = child;
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
return childToRender;
|
|
125
|
+
}
|
|
126
|
+
const { containerClassName, ...restComposedModalProps } = props.composedModalProps;
|
|
127
|
+
const { subtitle, ...restModalHeaderProps } = props.modalHeaderProps;
|
|
128
|
+
const childToRender = determineChildToRender();
|
|
129
|
+
return (React.createElement(React.Fragment, null,
|
|
130
|
+
props.modalTrigger && props.modalTrigger({ openModal: handleOpenModal }),
|
|
131
|
+
React.createElement(Modal, { appElement: props.appElement, containerClassName: cx(`${prefix}--bmrg-modal-flow-container`, `${prefix}--modal-container`, props.size ? `${prefix}--modal-container--${props.size}` : "modal-container-fix-width", containerClassName), isOpen: state.isOpen, onRequestClose: handleShouldCloseModal, shouldCloseOnOverlayClick: false, ...restComposedModalProps },
|
|
132
|
+
React.createElement(ModalHeader, { closeModal: handleShouldCloseModal, ...restModalHeaderProps }, subtitle && React.createElement("p", { className: `${prefix}--bmrg-modal-flow-subtitle` }, subtitle)),
|
|
133
|
+
Array.isArray(props.progressSteps) && (React.createElement(ProgressIndicator, { currentIndex: state.step }, props.progressSteps.map((stepProps, index) => (React.createElement(ProgressStep, { key: index, ...stepProps }))))),
|
|
134
|
+
childToRender &&
|
|
135
|
+
state.isOpen &&
|
|
136
|
+
React.cloneElement(childToRender, {
|
|
137
|
+
closeModal: handleShouldCloseModal,
|
|
138
|
+
forceCloseModal: handleCloseModal,
|
|
139
|
+
formData: state.formData,
|
|
140
|
+
goToStep,
|
|
141
|
+
requestNextStep,
|
|
142
|
+
requestPreviousStep,
|
|
143
|
+
resetInitialState,
|
|
144
|
+
saveValues,
|
|
145
|
+
setShouldConfirmModalClose: handleSetShouldConfirmModalClose,
|
|
146
|
+
shouldConfirmModalClose: state.shouldConfirmModalClose,
|
|
147
|
+
step: state.step,
|
|
148
|
+
}),
|
|
149
|
+
React.createElement(ConfirmModal, { affirmativeAction: handleCloseModal, appElement: props.appElement, negativeAction: closeConfirmModal, isOpen: state.isConfirmModalOpen, onCloseModal: closeConfirmModal, ...props.confirmModalProps }))));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
export { FlowModalContainer, FlowModalContainer as default };
|
|
@@ -2,18 +2,18 @@ import React from 'react';
|
|
|
2
2
|
import cx from 'classnames';
|
|
3
3
|
import { prefix } from '../../internal/settings.js';
|
|
4
4
|
|
|
5
|
-
/*
|
|
6
|
-
IBM Confidential
|
|
7
|
-
694970X, 69497O0
|
|
8
|
-
© Copyright IBM Corp. 2022, 2024
|
|
9
|
-
*/
|
|
10
|
-
const FlowModalForm = React.forwardRef(function FlowModalForm({ children, className, element: Element, title, ...rest }, ref) {
|
|
11
|
-
return (React.createElement(Element, { className: cx(`${prefix}--bmrg-modal-flow-form`, className), ...rest, ref: ref },
|
|
12
|
-
title && React.createElement("p", { className: `${prefix}--bmrg-modal-flow-form__title` }, title),
|
|
13
|
-
children));
|
|
14
|
-
});
|
|
15
|
-
FlowModalForm.defaultProps = {
|
|
16
|
-
element: "form",
|
|
5
|
+
/*
|
|
6
|
+
IBM Confidential
|
|
7
|
+
694970X, 69497O0
|
|
8
|
+
© Copyright IBM Corp. 2022, 2024
|
|
9
|
+
*/
|
|
10
|
+
const FlowModalForm = React.forwardRef(function FlowModalForm({ children, className, element: Element, title, ...rest }, ref) {
|
|
11
|
+
return (React.createElement(Element, { className: cx(`${prefix}--bmrg-modal-flow-form`, className), ...rest, ref: ref },
|
|
12
|
+
title && React.createElement("p", { className: `${prefix}--bmrg-modal-flow-form__title` }, title),
|
|
13
|
+
children));
|
|
14
|
+
});
|
|
15
|
+
FlowModalForm.defaultProps = {
|
|
16
|
+
element: "form",
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
export { FlowModalForm as default };
|