@boomerang-io/carbon-addons-boomerang-react 4.6.10-beta.0 → 4.6.10-beta.1

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.
Files changed (513) hide show
  1. package/README.md +162 -162
  2. package/dist/cjs/_virtual/_commonjsHelpers.js +5 -0
  3. package/dist/cjs/_virtual/_nodeUtil.js +9 -0
  4. package/dist/cjs/_virtual/isBuffer.js +9 -0
  5. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +16 -0
  6. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +44 -0
  7. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +44 -0
  8. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +16 -0
  9. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +44 -0
  10. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +16 -0
  11. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +16 -0
  12. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +37 -0
  13. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +40 -0
  14. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +14 -0
  15. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +14 -0
  16. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +16 -0
  17. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +32 -0
  18. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +63 -0
  19. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js +28 -0
  20. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +27 -0
  21. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +30 -0
  22. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +29 -0
  23. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseEach.js +23 -0
  24. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +24 -0
  25. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js +25 -0
  26. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js +33 -0
  27. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +29 -0
  28. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +38 -0
  29. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js +20 -0
  30. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +27 -0
  31. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +37 -0
  32. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +99 -0
  33. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js +71 -0
  34. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +58 -0
  35. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +70 -0
  36. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js +43 -0
  37. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +39 -0
  38. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMap.js +31 -0
  39. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js +32 -0
  40. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js +47 -0
  41. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseOrderBy.js +65 -0
  42. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js +21 -0
  43. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js +24 -0
  44. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortBy.js +28 -0
  45. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +27 -0
  46. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js +48 -0
  47. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +21 -0
  48. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +20 -0
  49. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js +32 -0
  50. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareAscending.js +49 -0
  51. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareMultiple.js +52 -0
  52. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +14 -0
  53. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseEach.js +40 -0
  54. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +32 -0
  55. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +94 -0
  56. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +125 -0
  57. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +98 -0
  58. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +13 -0
  59. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +26 -0
  60. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +26 -0
  61. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js +33 -0
  62. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +26 -0
  63. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +54 -0
  64. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +39 -0
  65. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +72 -0
  66. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +20 -0
  67. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js +52 -0
  68. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +23 -0
  69. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +24 -0
  70. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +38 -0
  71. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +31 -0
  72. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +31 -0
  73. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +32 -0
  74. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js +38 -0
  75. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +22 -0
  76. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +28 -0
  77. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +25 -0
  78. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js +23 -0
  79. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +20 -0
  80. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +43 -0
  81. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +27 -0
  82. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +24 -0
  83. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +34 -0
  84. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +31 -0
  85. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +26 -0
  86. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +24 -0
  87. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +24 -0
  88. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +30 -0
  89. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +25 -0
  90. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js +27 -0
  91. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js +34 -0
  92. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +14 -0
  93. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +14 -0
  94. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +37 -0
  95. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +29 -0
  96. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +22 -0
  97. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +17 -0
  98. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +26 -0
  99. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +21 -0
  100. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +25 -0
  101. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +23 -0
  102. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +25 -0
  103. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +21 -0
  104. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +21 -0
  105. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +44 -0
  106. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js +35 -0
  107. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js +29 -0
  108. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +33 -0
  109. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +44 -0
  110. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js +41 -0
  111. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js +43 -0
  112. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +28 -0
  113. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +45 -0
  114. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +33 -0
  115. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +42 -0
  116. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +46 -0
  117. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +46 -0
  118. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +42 -0
  119. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +38 -0
  120. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +36 -0
  121. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +38 -0
  122. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +38 -0
  123. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +47 -0
  124. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js +81 -0
  125. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js +56 -0
  126. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js +43 -0
  127. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +30 -0
  128. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +25 -0
  129. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js +36 -0
  130. package/dist/cjs/{components → src/components}/AboutPlatform/AboutPlatform.js +50 -50
  131. package/dist/cjs/{components → src/components}/AdvantageSideNav/AdvantageSideNav.js +241 -212
  132. package/dist/cjs/{components → src/components}/AutoSuggest/AutoSuggest.js +101 -101
  133. package/dist/cjs/{components → src/components}/Avatar/Avatar.js +18 -18
  134. package/dist/cjs/{components → src/components}/CheckboxList/CheckboxList.js +34 -34
  135. package/dist/cjs/{components → src/components}/ComboBox/ComboBox.js +103 -103
  136. package/dist/cjs/{components → src/components}/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
  137. package/dist/cjs/{components → src/components}/ComboBoxMultiSelect/MultiSelect.js +208 -208
  138. package/dist/cjs/{components → src/components}/ComposedModal/ComposedModal.js +80 -80
  139. package/dist/cjs/{components → src/components}/ConfirmModal/ConfirmModal.js +43 -43
  140. package/dist/cjs/{components → src/components}/Creatable/Creatable.js +137 -137
  141. package/dist/cjs/{components → src/components}/DataDrivenInput/DataDrivenInput.js +226 -226
  142. package/dist/cjs/{components → src/components}/DateInput/DateInput.js +35 -35
  143. package/dist/cjs/{components → src/components}/DecisionButtons/DecisionButtons.js +61 -61
  144. package/dist/cjs/{components → src/components}/DelayedRender/DelayedRender.js +17 -17
  145. package/dist/cjs/{components → src/components}/DynamicFormik/DynamicFormik.js +578 -578
  146. package/dist/cjs/{components → src/components}/Error403/Error403.js +13 -13
  147. package/dist/cjs/{components → src/components}/Error403/ForbiddenErrorBackground.js +113 -113
  148. package/dist/cjs/{components → src/components}/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
  149. package/dist/cjs/{components → src/components}/Error404/Error404.js +13 -13
  150. package/dist/cjs/{components → src/components}/Error404/GraphicLoch/GraphicLoch.js +17 -17
  151. package/dist/cjs/{components → src/components}/Error404/NotFoundErrorBackground.js +129 -129
  152. package/dist/cjs/{components → src/components}/ErrorBoundary/ErrorBoundary.js +32 -32
  153. package/dist/cjs/{components → src/components}/ErrorDragon/ErrorDragon.js +13 -13
  154. package/dist/cjs/{components → src/components}/ErrorDragon/assets/ErrorGraphic.js +35 -35
  155. package/dist/cjs/{components → src/components}/ErrorFullPage/ErrorFullPage.js +10 -10
  156. package/dist/cjs/{components → src/components}/ErrorMessage/ErrorMessage.js +22 -22
  157. package/dist/cjs/{components → src/components}/ErrorPage/ErrorPage.js +11 -11
  158. package/dist/cjs/{components → src/components}/ErrorPageCore/ErrorPageCore.js +15 -15
  159. package/dist/cjs/{components → src/components}/ErrorPageCore/GenericErrorBackground.js +124 -124
  160. package/dist/cjs/{components → src/components}/FeatureHeader/FeatureHeader.js +29 -29
  161. package/dist/cjs/{components → src/components}/FeatureNavTab/FeatureNavTab.js +12 -12
  162. package/dist/cjs/{components → src/components}/FeatureNavTabs/FeatureNavTabs.js +12 -12
  163. package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNav.js +12 -12
  164. package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavFooter.js +8 -8
  165. package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavHeader.js +8 -8
  166. package/dist/cjs/{components → src/components}/FeatureSideNav/FeatureSideNavLinks.js +14 -14
  167. package/dist/cjs/{components → src/components}/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
  168. package/dist/cjs/{components → src/components}/Feedback/Feedback.js +40 -40
  169. package/dist/cjs/{components → src/components}/FlowModal/FlowModal.js +141 -141
  170. package/dist/cjs/{components → src/components}/FlowModal/FlowModalForm.js +12 -12
  171. package/dist/cjs/{components → src/components}/Header/Header.js +182 -180
  172. package/dist/cjs/{components → src/components}/Header/HeaderAppSwitcher.js +94 -102
  173. package/dist/cjs/{components → src/components}/Header/HeaderMenu.js +7 -7
  174. package/dist/cjs/{components → src/components}/Header/HeaderMenuItem.js +52 -52
  175. package/dist/cjs/src/components/Header/HeaderTeamSwitcher.js +269 -0
  176. package/dist/cjs/{components → src/components}/Header/UserRequests.js +29 -29
  177. package/dist/cjs/{components → src/components}/ImageModal/ImageModal.js +17 -17
  178. package/dist/cjs/{components → src/components}/Loading/Loading.js +8 -8
  179. package/dist/cjs/{components → src/components}/MemberBar/MemberBar.js +20 -20
  180. package/dist/cjs/{components → src/components}/Modal/Modal.js +20 -20
  181. package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  182. package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  183. package/dist/cjs/{components → src/components}/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  184. package/dist/cjs/{components → src/components}/ModalForm/ModalForm.js +9 -9
  185. package/dist/cjs/{components → src/components}/Notifications/NotificationsContainer.js +22 -22
  186. package/dist/cjs/{components → src/components}/Notifications/ToastNotification.js +21 -21
  187. package/dist/cjs/{components → src/components}/Notifications/notify.js +17 -17
  188. package/dist/cjs/{components → src/components}/PlatformBanner/PlatformBanner.js +8 -8
  189. package/dist/cjs/{components → src/components}/PlatformNotifications/PlatformNotification.js +17 -17
  190. package/dist/cjs/{components → src/components}/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  191. package/dist/cjs/{components → src/components}/Portal/Portal.js +14 -14
  192. package/dist/cjs/{components → src/components}/PrivacyRedirect/PrivacyRedirect.js +30 -30
  193. package/dist/cjs/{components → src/components}/PrivacyStatement/PrivacyStatement.js +90 -90
  194. package/dist/cjs/{components → src/components}/ProfileSettings/ProfileSettings.js +124 -124
  195. package/dist/cjs/{components → src/components}/ProtectedRoute/ProtectedRoute.js +13 -13
  196. package/dist/cjs/{components → src/components}/RadioGroup/RadioGroup.js +33 -33
  197. package/dist/cjs/{components → src/components}/RichTextArea/RichTextArea.js +142 -142
  198. package/dist/cjs/{components → src/components}/SignOut/SignOut.js +27 -27
  199. package/dist/cjs/{components → src/components}/SupportCenter/SupportCenter.js +65 -65
  200. package/dist/cjs/{components → src/components}/TextArea/TextArea.js +16 -16
  201. package/dist/cjs/{components → src/components}/TextInput/TextInput.js +13 -13
  202. package/dist/cjs/{components → src/components}/Toggle/Toggle.js +22 -22
  203. package/dist/cjs/{components → src/components}/TooltipHover/TooltipHover.js +39 -39
  204. package/dist/cjs/{components → src/components}/UIShell/UIShell.js +90 -89
  205. package/dist/cjs/{config → src/config}/servicesConfig.js +21 -21
  206. package/dist/cjs/{constants → src/constants}/DataDrivenInputTypes.js +74 -74
  207. package/dist/cjs/{constants → src/constants}/UserType.js +13 -13
  208. package/dist/cjs/{hooks → src/hooks}/useHeaderMenu.js +49 -49
  209. package/dist/cjs/{hooks → src/hooks}/usePortal.js +74 -74
  210. package/dist/cjs/{hooks → src/hooks}/useWindowSize.js +33 -33
  211. package/dist/cjs/{internal → src/internal}/ListBox/ListBox.js +41 -41
  212. package/dist/cjs/{internal → src/internal}/ListBox/ListBoxField.js +19 -19
  213. package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenu.js +19 -19
  214. package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenuIcon.js +31 -31
  215. package/dist/cjs/{internal → src/internal}/ListBox/ListBoxMenuItem.js +38 -38
  216. package/dist/cjs/{internal → src/internal}/ListBox/ListBoxSelection.js +64 -64
  217. package/dist/cjs/{internal → src/internal}/ListBox/index.js +10 -10
  218. package/dist/cjs/{internal → src/internal}/keyboard/keys.js +16 -16
  219. package/dist/cjs/{internal → src/internal}/keyboard/match.js +67 -67
  220. package/dist/cjs/{internal → src/internal}/settings.js +5 -5
  221. package/dist/cjs/{tools → src/tools}/accessibility.js +13 -13
  222. package/dist/cjs/{tools → src/tools}/createPropAdapter.js +44 -44
  223. package/dist/cjs/{tools → src/tools}/isUrl.js +39 -39
  224. package/dist/cjs/{tools → src/tools}/setupGetInstanceId.js +20 -20
  225. package/dist/cjs/{tools → src/tools}/useSetState.js +12 -12
  226. package/dist/cjs/{tools → src/tools}/yupAst/astGenerator.js +212 -212
  227. package/dist/cjs/{tools → src/tools}/yupAst/customValidators.js +17 -17
  228. package/dist/esm/_virtual/_commonjsHelpers.js +3 -0
  229. package/dist/esm/_virtual/_nodeUtil.js +7 -0
  230. package/dist/esm/_virtual/isBuffer.js +7 -0
  231. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js +12 -0
  232. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js +40 -0
  233. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js +40 -0
  234. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js +12 -0
  235. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js +40 -0
  236. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js +12 -0
  237. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js +12 -0
  238. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js +33 -0
  239. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js +36 -0
  240. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js +10 -0
  241. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js +10 -0
  242. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js +12 -0
  243. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js +28 -0
  244. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js +59 -0
  245. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js +24 -0
  246. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js +23 -0
  247. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js +26 -0
  248. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +25 -0
  249. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseEach.js +19 -0
  250. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFor.js +20 -0
  251. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseForOwn.js +21 -0
  252. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js +29 -0
  253. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js +25 -0
  254. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +34 -0
  255. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js +16 -0
  256. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js +23 -0
  257. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js +33 -0
  258. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js +95 -0
  259. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js +67 -0
  260. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +54 -0
  261. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js +66 -0
  262. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js +39 -0
  263. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js +35 -0
  264. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMap.js +27 -0
  265. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js +28 -0
  266. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js +43 -0
  267. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseOrderBy.js +61 -0
  268. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js +17 -0
  269. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js +20 -0
  270. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortBy.js +24 -0
  271. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js +23 -0
  272. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js +44 -0
  273. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js +17 -0
  274. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js +16 -0
  275. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js +28 -0
  276. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareAscending.js +45 -0
  277. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_compareMultiple.js +48 -0
  278. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js +10 -0
  279. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseEach.js +36 -0
  280. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_createBaseFor.js +28 -0
  281. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js +90 -0
  282. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js +121 -0
  283. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js +94 -0
  284. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +9 -0
  285. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js +22 -0
  286. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js +22 -0
  287. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js +29 -0
  288. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js +22 -0
  289. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js +50 -0
  290. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js +35 -0
  291. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js +68 -0
  292. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js +16 -0
  293. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js +48 -0
  294. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js +19 -0
  295. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js +20 -0
  296. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js +34 -0
  297. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js +27 -0
  298. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js +27 -0
  299. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js +28 -0
  300. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js +34 -0
  301. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js +18 -0
  302. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js +24 -0
  303. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js +21 -0
  304. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js +19 -0
  305. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +16 -0
  306. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +39 -0
  307. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +23 -0
  308. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +20 -0
  309. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +30 -0
  310. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +27 -0
  311. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +22 -0
  312. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +20 -0
  313. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +20 -0
  314. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +26 -0
  315. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js +21 -0
  316. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js +23 -0
  317. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js +30 -0
  318. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +10 -0
  319. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js +10 -0
  320. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js +35 -0
  321. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js +25 -0
  322. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js +18 -0
  323. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js +13 -0
  324. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js +22 -0
  325. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js +17 -0
  326. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js +21 -0
  327. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js +19 -0
  328. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js +21 -0
  329. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js +17 -0
  330. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js +17 -0
  331. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js +40 -0
  332. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js +31 -0
  333. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js +25 -0
  334. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js +29 -0
  335. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js +40 -0
  336. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js +37 -0
  337. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js +39 -0
  338. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js +24 -0
  339. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js +41 -0
  340. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js +29 -0
  341. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js +38 -0
  342. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js +44 -0
  343. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js +42 -0
  344. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js +38 -0
  345. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js +34 -0
  346. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js +32 -0
  347. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js +34 -0
  348. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js +34 -0
  349. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js +43 -0
  350. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js +77 -0
  351. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/orderBy.js +52 -0
  352. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js +39 -0
  353. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js +26 -0
  354. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js +21 -0
  355. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js +32 -0
  356. package/dist/esm/{components → src/components}/AboutPlatform/AboutPlatform.js +50 -50
  357. package/dist/esm/{components → src/components}/AdvantageSideNav/AdvantageSideNav.js +242 -213
  358. package/dist/esm/{components → src/components}/AutoSuggest/AutoSuggest.js +101 -101
  359. package/dist/esm/{components → src/components}/Avatar/Avatar.js +18 -18
  360. package/dist/esm/{components → src/components}/CheckboxList/CheckboxList.js +34 -34
  361. package/dist/esm/{components → src/components}/ComboBox/ComboBox.js +103 -103
  362. package/dist/esm/{components → src/components}/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
  363. package/dist/esm/{components → src/components}/ComboBoxMultiSelect/MultiSelect.js +208 -208
  364. package/dist/esm/{components → src/components}/ComposedModal/ComposedModal.js +80 -80
  365. package/dist/esm/{components → src/components}/ConfirmModal/ConfirmModal.js +43 -43
  366. package/dist/esm/{components → src/components}/Creatable/Creatable.js +137 -137
  367. package/dist/esm/{components → src/components}/DataDrivenInput/DataDrivenInput.js +226 -226
  368. package/dist/esm/{components → src/components}/DateInput/DateInput.js +35 -35
  369. package/dist/esm/{components → src/components}/DecisionButtons/DecisionButtons.js +61 -61
  370. package/dist/esm/{components → src/components}/DelayedRender/DelayedRender.js +17 -17
  371. package/dist/esm/{components → src/components}/DynamicFormik/DynamicFormik.js +578 -578
  372. package/dist/esm/{components → src/components}/Error403/Error403.js +13 -13
  373. package/dist/esm/{components → src/components}/Error403/ForbiddenErrorBackground.js +113 -113
  374. package/dist/esm/{components → src/components}/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
  375. package/dist/esm/{components → src/components}/Error404/Error404.js +13 -13
  376. package/dist/esm/{components → src/components}/Error404/GraphicLoch/GraphicLoch.js +17 -17
  377. package/dist/esm/{components → src/components}/Error404/NotFoundErrorBackground.js +129 -129
  378. package/dist/esm/{components → src/components}/ErrorBoundary/ErrorBoundary.js +32 -32
  379. package/dist/esm/{components → src/components}/ErrorDragon/ErrorDragon.js +13 -13
  380. package/dist/esm/{components → src/components}/ErrorDragon/assets/ErrorGraphic.js +35 -35
  381. package/dist/esm/{components → src/components}/ErrorFullPage/ErrorFullPage.js +10 -10
  382. package/dist/esm/{components → src/components}/ErrorMessage/ErrorMessage.js +22 -22
  383. package/dist/esm/{components → src/components}/ErrorPage/ErrorPage.js +11 -11
  384. package/dist/esm/{components → src/components}/ErrorPageCore/ErrorPageCore.js +15 -15
  385. package/dist/esm/{components → src/components}/ErrorPageCore/GenericErrorBackground.js +124 -124
  386. package/dist/esm/{components → src/components}/FeatureHeader/FeatureHeader.js +29 -29
  387. package/dist/esm/{components → src/components}/FeatureNavTab/FeatureNavTab.js +12 -12
  388. package/dist/esm/{components → src/components}/FeatureNavTabs/FeatureNavTabs.js +12 -12
  389. package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNav.js +12 -12
  390. package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavFooter.js +8 -8
  391. package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavHeader.js +8 -8
  392. package/dist/esm/{components → src/components}/FeatureSideNav/FeatureSideNavLinks.js +14 -14
  393. package/dist/esm/{components → src/components}/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
  394. package/dist/esm/{components → src/components}/Feedback/Feedback.js +40 -40
  395. package/dist/esm/{components → src/components}/FlowModal/FlowModal.js +141 -141
  396. package/dist/esm/{components → src/components}/FlowModal/FlowModalForm.js +12 -12
  397. package/dist/esm/{components → src/components}/Header/Header.js +183 -181
  398. package/dist/esm/{components → src/components}/Header/HeaderAppSwitcher.js +94 -102
  399. package/dist/esm/{components → src/components}/Header/HeaderMenu.js +7 -7
  400. package/dist/esm/{components → src/components}/Header/HeaderMenuItem.js +52 -52
  401. package/dist/esm/src/components/Header/HeaderTeamSwitcher.js +261 -0
  402. package/dist/esm/{components → src/components}/Header/UserRequests.js +29 -29
  403. package/dist/esm/{components → src/components}/ImageModal/ImageModal.js +17 -17
  404. package/dist/esm/{components → src/components}/Loading/Loading.js +8 -8
  405. package/dist/esm/{components → src/components}/MemberBar/MemberBar.js +20 -20
  406. package/dist/esm/{components → src/components}/Modal/Modal.js +20 -20
  407. package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  408. package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  409. package/dist/esm/{components → src/components}/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  410. package/dist/esm/{components → src/components}/ModalForm/ModalForm.js +9 -9
  411. package/dist/esm/{components → src/components}/Notifications/NotificationsContainer.js +22 -22
  412. package/dist/esm/{components → src/components}/Notifications/ToastNotification.js +21 -21
  413. package/dist/esm/{components → src/components}/Notifications/notify.js +17 -17
  414. package/dist/esm/{components → src/components}/PlatformBanner/PlatformBanner.js +8 -8
  415. package/dist/esm/{components → src/components}/PlatformNotifications/PlatformNotification.js +17 -17
  416. package/dist/esm/{components → src/components}/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  417. package/dist/esm/{components → src/components}/Portal/Portal.js +14 -14
  418. package/dist/esm/{components → src/components}/PrivacyRedirect/PrivacyRedirect.js +30 -30
  419. package/dist/esm/{components → src/components}/PrivacyStatement/PrivacyStatement.js +90 -90
  420. package/dist/esm/{components → src/components}/ProfileSettings/ProfileSettings.js +124 -124
  421. package/dist/esm/{components → src/components}/ProtectedRoute/ProtectedRoute.js +13 -13
  422. package/dist/esm/{components → src/components}/RadioGroup/RadioGroup.js +33 -33
  423. package/dist/esm/{components → src/components}/RichTextArea/RichTextArea.js +142 -142
  424. package/dist/esm/{components → src/components}/SignOut/SignOut.js +27 -27
  425. package/dist/esm/{components → src/components}/SupportCenter/SupportCenter.js +65 -65
  426. package/dist/esm/{components → src/components}/TextArea/TextArea.js +16 -16
  427. package/dist/esm/{components → src/components}/TextInput/TextInput.js +13 -13
  428. package/dist/esm/{components → src/components}/Toggle/Toggle.js +22 -22
  429. package/dist/esm/{components → src/components}/TooltipHover/TooltipHover.js +39 -39
  430. package/dist/esm/{components → src/components}/UIShell/UIShell.js +90 -89
  431. package/dist/esm/{config → src/config}/servicesConfig.js +21 -21
  432. package/dist/esm/{constants → src/constants}/DataDrivenInputTypes.js +74 -74
  433. package/dist/esm/{constants → src/constants}/UserType.js +13 -13
  434. package/dist/esm/{hooks → src/hooks}/useHeaderMenu.js +49 -49
  435. package/dist/esm/{hooks → src/hooks}/usePortal.js +74 -74
  436. package/dist/esm/{hooks → src/hooks}/useWindowSize.js +33 -33
  437. package/dist/esm/{internal → src/internal}/ListBox/ListBox.js +41 -41
  438. package/dist/esm/{internal → src/internal}/ListBox/ListBoxField.js +19 -19
  439. package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenu.js +19 -19
  440. package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenuIcon.js +31 -31
  441. package/dist/esm/{internal → src/internal}/ListBox/ListBoxMenuItem.js +38 -38
  442. package/dist/esm/{internal → src/internal}/ListBox/ListBoxSelection.js +64 -64
  443. package/dist/esm/{internal → src/internal}/ListBox/index.js +10 -10
  444. package/dist/esm/{internal → src/internal}/keyboard/keys.js +16 -16
  445. package/dist/esm/{internal → src/internal}/keyboard/match.js +67 -67
  446. package/dist/esm/{internal → src/internal}/settings.js +5 -5
  447. package/dist/esm/{tools → src/tools}/accessibility.js +13 -13
  448. package/dist/esm/{tools → src/tools}/createPropAdapter.js +44 -44
  449. package/dist/esm/{tools → src/tools}/isUrl.js +39 -39
  450. package/dist/esm/{tools → src/tools}/setupGetInstanceId.js +20 -20
  451. package/dist/esm/{tools → src/tools}/useSetState.js +12 -12
  452. package/dist/esm/{tools → src/tools}/yupAst/astGenerator.js +212 -212
  453. package/dist/esm/{tools → src/tools}/yupAst/customValidators.js +17 -17
  454. package/dist/types/index.d.ts +1321 -1307
  455. package/package.json +167 -167
  456. package/scss/components/AboutPlatform/_aboutPlatform.scss +139 -139
  457. package/scss/components/AdvantageSideNav/_advantageSideNav.scss +261 -258
  458. package/scss/components/AutoSuggest/_autoSuggest.scss +62 -62
  459. package/scss/components/Avatar/_avatar.scss +32 -32
  460. package/scss/components/CheckboxList/_checkboxList.scss +26 -26
  461. package/scss/components/ComboBox/_combobox.scss +23 -23
  462. package/scss/components/ComboBoxMultiSelect/_comboBoxMultiSelect.scss +53 -53
  463. package/scss/components/ConfirmModal/_confirmModal.scss +12 -12
  464. package/scss/components/Creatable/_creatable.scss +48 -48
  465. package/scss/components/DateInput/_dateInput.scss +36 -36
  466. package/scss/components/DecisionButtons/_decisionButtons.scss +132 -132
  467. package/scss/components/DynamicFormik/_dynamicFormik.scss +17 -17
  468. package/scss/components/ErrorBoundary/_errorBoundary.scss +12 -12
  469. package/scss/components/ErrorDragon/_errorDragon.scss +55 -55
  470. package/scss/components/ErrorMessage/_errorMessage.scss +43 -43
  471. package/scss/components/ErrorPage/_errorPage.scss +66 -66
  472. package/scss/components/ErrorPageCore/_errorPageCore.scss +73 -73
  473. package/scss/components/FeatureHeader/_featureHeader.scss +67 -67
  474. package/scss/components/FeatureNavTab/_featureNavTab.scss +27 -27
  475. package/scss/components/FeatureSideNav/_featureSideNav.scss +76 -76
  476. package/scss/components/FeatureSideNavLink/_featureSideNavLink.scss +49 -49
  477. package/scss/components/Feedback/_feedback.scss +46 -46
  478. package/scss/components/Header/_header.scss +179 -179
  479. package/scss/components/Header/_headerAppSwitcher.scss +117 -117
  480. package/scss/components/Header/_headerMenu.scss +30 -30
  481. package/scss/components/Header/_headerMenuItem.scss +65 -65
  482. package/scss/components/Header/_headerTeamSwitcher.scss +165 -0
  483. package/scss/components/Header/_userRequests.scss +36 -36
  484. package/scss/components/ImageModal/_imageModal.scss +51 -51
  485. package/scss/components/MemberBar/_memberBar.scss +99 -99
  486. package/scss/components/Modal/_modal.scss +163 -163
  487. package/scss/components/ModalConfirmEdit/_modalConfirmEdit.scss +113 -113
  488. package/scss/components/Notifications/_notifications.scss +57 -57
  489. package/scss/components/PlatformBanner/_platformBanner.scss +30 -30
  490. package/scss/components/PlatformNotifications/_platformNotifications.scss +230 -230
  491. package/scss/components/PrivacyRedirect/_privacyRedirect.scss +43 -43
  492. package/scss/components/PrivacyStatement/_privacyStatement.scss +137 -137
  493. package/scss/components/ProfileSettings/_profileSettings.scss +117 -117
  494. package/scss/components/ProtectedRoute/_protectedRoute.scss +32 -32
  495. package/scss/components/RadioGroup/_radioGroup.scss +46 -46
  496. package/scss/components/RichTextArea/_richTextArea.scss +82 -82
  497. package/scss/components/SignOut/_signOut.scss +51 -51
  498. package/scss/components/SupportCenter/_supportCenter.scss +16 -16
  499. package/scss/components/TextArea/_textArea.scss +19 -19
  500. package/scss/components/TextInput/_textInput.scss +26 -26
  501. package/scss/components/Toggle/_toggle.scss +80 -80
  502. package/scss/components/TooltipHover/_tooltip.scss +48 -48
  503. package/scss/global/_config.scss +14 -14
  504. package/scss/global/_tippy.scss +49 -49
  505. package/scss/global/index.scss +401 -402
  506. package/scss/global/themes/_boomerang.scss +184 -184
  507. package/scss/global/themes/_default.scss +79 -79
  508. package/scss/global/themes/_shell-tokens.scss +42 -42
  509. package/scss/global/utils/_animations.scss +15 -15
  510. package/scss/global/utils/_mixins.scss +67 -67
  511. package/scss/global/utils/index.scss +10 -10
  512. /package/dist/cjs/{index.js → src/index.js} +0 -0
  513. /package/dist/esm/{index.js → src/index.js} +0 -0
@@ -8,55 +8,55 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefault(React);
10
10
 
11
- /*
12
- IBM Confidential
13
- 694970X, 69497O0
14
- © Copyright IBM Corp. 2022, 2024
15
- */
16
- /**
17
- * Supports HeaderMenu components in the Header meeting usability and a11y guidelines
18
- * Manage state for click/touch, escape and tab events
19
- */
20
- function useHeaderMenu(focusableElementId) {
21
- const ref = React__default.default.useRef(null);
22
- const [isOpen, setIsOpen] = React__default.default.useState(false);
23
- const toggleActive = () => setIsOpen(!isOpen);
24
- // Close menu if click event originates outside the menu
25
- const handleMousedownEvent = React__default.default.useCallback((event) => {
26
- if (!ref.current?.contains(event.target)) {
27
- setIsOpen(false);
28
- }
29
- return;
30
- }, []);
31
- // Close menu if ESC keydown event originates in the menu and transfer focus
32
- const handleKeyDownEvent = React__default.default.useCallback((event) => {
33
- if (event.key === "Escape") {
34
- if (ref.current?.contains(event.target)) {
35
- document.getElementById(focusableElementId)?.focus();
36
- setIsOpen(false);
37
- }
38
- }
39
- return;
40
- }, [focusableElementId]);
41
- // Close menu if focus transfer event originates in the node AND
42
- // transfers focus to a element OUTSIDE the menu
43
- const handleFocusOutEvent = React__default.default.useCallback((event) => {
44
- if (event.relatedTarget && !ref.current?.contains(event.relatedTarget)) {
45
- setIsOpen(false);
46
- }
47
- return;
48
- }, []);
49
- React__default.default.useEffect(() => {
50
- document.addEventListener("mousedown", handleMousedownEvent);
51
- document.addEventListener("keydown", handleKeyDownEvent);
52
- document.addEventListener("focusout", handleFocusOutEvent);
53
- return () => {
54
- document.removeEventListener("mousedown", handleMousedownEvent);
55
- document.removeEventListener("keydown", handleKeyDownEvent);
56
- document.removeEventListener("focusout", handleFocusOutEvent);
57
- };
58
- }, [handleMousedownEvent, handleKeyDownEvent, handleFocusOutEvent]);
59
- return { isOpen, setIsOpen, toggleActive, ref };
11
+ /*
12
+ IBM Confidential
13
+ 694970X, 69497O0
14
+ © Copyright IBM Corp. 2022, 2024
15
+ */
16
+ /**
17
+ * Supports HeaderMenu components in the Header meeting usability and a11y guidelines
18
+ * Manage state for click/touch, escape and tab events
19
+ */
20
+ function useHeaderMenu(focusableElementId) {
21
+ const ref = React__default.default.useRef(null);
22
+ const [isOpen, setIsOpen] = React__default.default.useState(false);
23
+ const toggleActive = () => setIsOpen(!isOpen);
24
+ // Close menu if click event originates outside the menu
25
+ const handleMousedownEvent = React__default.default.useCallback((event) => {
26
+ if (!ref.current?.contains(event.target)) {
27
+ setIsOpen(false);
28
+ }
29
+ return;
30
+ }, []);
31
+ // Close menu if ESC keydown event originates in the menu and transfer focus
32
+ const handleKeyDownEvent = React__default.default.useCallback((event) => {
33
+ if (event.key === "Escape") {
34
+ if (ref.current?.contains(event.target)) {
35
+ document.getElementById(focusableElementId)?.focus();
36
+ setIsOpen(false);
37
+ }
38
+ }
39
+ return;
40
+ }, [focusableElementId]);
41
+ // Close menu if focus transfer event originates in the node AND
42
+ // transfers focus to a element OUTSIDE the menu
43
+ const handleFocusOutEvent = React__default.default.useCallback((event) => {
44
+ if (event.relatedTarget && !ref.current?.contains(event.relatedTarget)) {
45
+ setIsOpen(false);
46
+ }
47
+ return;
48
+ }, []);
49
+ React__default.default.useEffect(() => {
50
+ document.addEventListener("mousedown", handleMousedownEvent);
51
+ document.addEventListener("keydown", handleKeyDownEvent);
52
+ document.addEventListener("focusout", handleFocusOutEvent);
53
+ return () => {
54
+ document.removeEventListener("mousedown", handleMousedownEvent);
55
+ document.removeEventListener("keydown", handleKeyDownEvent);
56
+ document.removeEventListener("focusout", handleFocusOutEvent);
57
+ };
58
+ }, [handleMousedownEvent, handleKeyDownEvent, handleFocusOutEvent]);
59
+ return { isOpen, setIsOpen, toggleActive, ref };
60
60
  }
61
61
 
62
62
  exports.default = useHeaderMenu;
@@ -4,80 +4,80 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
 
7
- /*
8
- IBM Confidential
9
- 694970X, 69497O0
10
- © Copyright IBM Corp. 2022, 2024
11
- */
12
- /**
13
- * Creates DOM element to be used as React root.
14
- */
15
- function createRootElement(id) {
16
- const rootContainer = document.createElement("div");
17
- rootContainer.setAttribute("id", id);
18
- return rootContainer;
19
- }
20
- /**
21
- * Appends element as last child of body.
22
- * @param {HTMLElement} rootElem
23
- */
24
- function addRootElement(rootElem) {
25
- if (document.body.lastElementChild) {
26
- document.body.insertBefore(rootElem, document.body.lastElementChild.nextElementSibling);
27
- }
28
- }
29
- /**
30
- * Hook to create a React Portal.
31
- * Automatically handles creating and tearing-down the root elements (no SRR
32
- * makes this trivial), so there is no need to ensure the parent target already
33
- * exists.
34
- * @example
35
- * const target = usePortal(id, [id]);
36
- * return createPortal(children, target);
37
- * @param {String} id The id of the target container, e.g 'modal' or 'spotlight'
38
- * @returns {HTMLElement} The DOM node to use as the Portal target.
39
- */
40
- function usePortal(id) {
41
- const rootElemRef = React.useRef(null);
42
- React.useEffect(function setupElement() {
43
- // Look for existing target dom element to append to
44
- const existingParent = document.querySelector(`#${id}`);
45
- // Parent is either a new root or the existing dom element
46
- const parentElem = existingParent || createRootElement(id);
47
- // If there is no existing DOM element, add a new one.
48
- if (!existingParent) {
49
- addRootElement(parentElem);
50
- }
51
- // Add the detached element to the parent
52
- if (rootElemRef.current) {
53
- parentElem.appendChild(rootElemRef.current);
54
- }
55
- return function removeElement() {
56
- if (rootElemRef.current) {
57
- rootElemRef.current.remove();
58
- if (parentElem.childNodes.length === -1) {
59
- parentElem.remove();
60
- }
61
- }
62
- };
63
- }, [id]);
64
- /**
65
- * It's important we evaluate this lazily:
66
- * - We need first render to contain the DOM element, so it shouldn't happen
67
- * in useEffect. We would normally put this in the constructor().
68
- * - We can't do 'const rootElemRef = useRef(document.createElement('div))',
69
- * since this will run every single render (that's a lot).
70
- * - We want the ref to consistently point to the same DOM element and only
71
- * ever run once.
72
- * @link https://reactjs.org/docs/hooks-faq.html#how-to-create-expensive-objects-lazily
73
- */
74
- function getRootElem() {
75
- if (!rootElemRef.current) {
76
- rootElemRef.current = document.createElement("div");
77
- }
78
- return rootElemRef.current;
79
- }
80
- return getRootElem();
7
+ /*
8
+ IBM Confidential
9
+ 694970X, 69497O0
10
+ © Copyright IBM Corp. 2022, 2024
11
+ */
12
+ /**
13
+ * Creates DOM element to be used as React root.
14
+ */
15
+ function createRootElement(id) {
16
+ const rootContainer = document.createElement("div");
17
+ rootContainer.setAttribute("id", id);
18
+ return rootContainer;
19
+ }
20
+ /**
21
+ * Appends element as last child of body.
22
+ * @param {HTMLElement} rootElem
23
+ */
24
+ function addRootElement(rootElem) {
25
+ if (document.body.lastElementChild) {
26
+ document.body.insertBefore(rootElem, document.body.lastElementChild.nextElementSibling);
27
+ }
28
+ }
29
+ /**
30
+ * Hook to create a React Portal.
31
+ * Automatically handles creating and tearing-down the root elements (no SRR
32
+ * makes this trivial), so there is no need to ensure the parent target already
33
+ * exists.
34
+ * @example
35
+ * const target = usePortal(id, [id]);
36
+ * return createPortal(children, target);
37
+ * @param {String} id The id of the target container, e.g 'modal' or 'spotlight'
38
+ * @returns {HTMLElement} The DOM node to use as the Portal target.
39
+ */
40
+ function usePortal(id) {
41
+ const rootElemRef = React.useRef(null);
42
+ React.useEffect(function setupElement() {
43
+ // Look for existing target dom element to append to
44
+ const existingParent = document.querySelector(`#${id}`);
45
+ // Parent is either a new root or the existing dom element
46
+ const parentElem = existingParent || createRootElement(id);
47
+ // If there is no existing DOM element, add a new one.
48
+ if (!existingParent) {
49
+ addRootElement(parentElem);
50
+ }
51
+ // Add the detached element to the parent
52
+ if (rootElemRef.current) {
53
+ parentElem.appendChild(rootElemRef.current);
54
+ }
55
+ return function removeElement() {
56
+ if (rootElemRef.current) {
57
+ rootElemRef.current.remove();
58
+ if (parentElem.childNodes.length === -1) {
59
+ parentElem.remove();
60
+ }
61
+ }
62
+ };
63
+ }, [id]);
64
+ /**
65
+ * It's important we evaluate this lazily:
66
+ * - We need first render to contain the DOM element, so it shouldn't happen
67
+ * in useEffect. We would normally put this in the constructor().
68
+ * - We can't do 'const rootElemRef = useRef(document.createElement('div))',
69
+ * since this will run every single render (that's a lot).
70
+ * - We want the ref to consistently point to the same DOM element and only
71
+ * ever run once.
72
+ * @link https://reactjs.org/docs/hooks-faq.html#how-to-create-expensive-objects-lazily
73
+ */
74
+ function getRootElem() {
75
+ if (!rootElemRef.current) {
76
+ rootElemRef.current = document.createElement("div");
77
+ }
78
+ return rootElemRef.current;
79
+ }
80
+ return getRootElem();
81
81
  }
82
82
 
83
83
  exports.default = usePortal;
@@ -4,39 +4,39 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
 
7
- /*
8
- IBM Confidential
9
- 694970X, 69497O0
10
- © Copyright IBM Corp. 2022, 2024
11
- */
12
- // https://usehooks.com/useWindowSize/
13
- /**
14
- * Gets the dimensions of the window
15
- */
16
- function useWindowSize() {
17
- // Initialize state with undefined width/height so server and client renders match
18
- // Learn more here: https://joshwcomeau.com/react/the-perils-of-rehydration/
19
- const [windowSize, setWindowSize] = React.useState({
20
- width: undefined,
21
- height: undefined,
22
- });
23
- React.useEffect(() => {
24
- // Handler to call on window resize
25
- function handleResize() {
26
- // Set window width/height to state
27
- setWindowSize({
28
- width: window.innerWidth,
29
- height: window.innerHeight,
30
- });
31
- }
32
- // Add event listener
33
- window.addEventListener("resize", handleResize);
34
- // Call handler right away so state gets updated with initial window size
35
- handleResize();
36
- // Remove event listener on cleanup
37
- return () => window.removeEventListener("resize", handleResize);
38
- }, []); // Empty array ensures that effect is only run on mount
39
- return windowSize;
7
+ /*
8
+ IBM Confidential
9
+ 694970X, 69497O0
10
+ © Copyright IBM Corp. 2022, 2024
11
+ */
12
+ // https://usehooks.com/useWindowSize/
13
+ /**
14
+ * Gets the dimensions of the window
15
+ */
16
+ function useWindowSize() {
17
+ // Initialize state with undefined width/height so server and client renders match
18
+ // Learn more here: https://joshwcomeau.com/react/the-perils-of-rehydration/
19
+ const [windowSize, setWindowSize] = React.useState({
20
+ width: undefined,
21
+ height: undefined,
22
+ });
23
+ React.useEffect(() => {
24
+ // Handler to call on window resize
25
+ function handleResize() {
26
+ // Set window width/height to state
27
+ setWindowSize({
28
+ width: window.innerWidth,
29
+ height: window.innerHeight,
30
+ });
31
+ }
32
+ // Add event listener
33
+ window.addEventListener("resize", handleResize);
34
+ // Call handler right away so state gets updated with initial window size
35
+ handleResize();
36
+ // Remove event listener on cleanup
37
+ return () => window.removeEventListener("resize", handleResize);
38
+ }, []); // Empty array ensures that effect is only run on mount
39
+ return windowSize;
40
40
  }
41
41
 
42
42
  exports.default = useWindowSize;
@@ -11,47 +11,47 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
11
  var React__default = /*#__PURE__*/_interopDefault(React);
12
12
  var cx__default = /*#__PURE__*/_interopDefault(cx);
13
13
 
14
- /*
15
- IBM Confidential
16
- 694970X, 69497O0
17
- © Copyright IBM Corp. 2022, 2024
18
- */
19
- /**
20
- * Copyright IBM Corp. 2016, 2018
21
- *
22
- * This source code is licensed under the Apache-2.0 license found in the
23
- * LICENSE file in the root directory of this source tree.
24
- */
25
- const handleOnKeyDown = (event) => {
26
- if (event.keyCode === 27) {
27
- event.stopPropagation();
28
- }
29
- };
30
- const handleClick = (event) => {
31
- event.preventDefault();
32
- event.stopPropagation();
33
- };
34
- /**
35
- * `ListBox` is a generic container component that handles creating the
36
- * container class name in response to certain props.
37
- */
38
- const ListBox = React__default.default.forwardRef(function ListBox({ children, className: containerClassName, disabled = false, type = "default", size, invalid, invalidText, warn, warnText, light, isOpen, ...rest }, ref) {
39
- const showWarning = !invalid && warn;
40
- const className = cx__default.default({
41
- [containerClassName]: !!containerClassName,
42
- [`${settings.prefix}--list-box`]: true,
43
- [`${settings.prefix}--list-box--${size}`]: size,
44
- [`${settings.prefix}--list-box--inline`]: type === "inline",
45
- [`${settings.prefix}--list-box--disabled`]: disabled,
46
- [`${settings.prefix}--list-box--light`]: light,
47
- [`${settings.prefix}--list-box--expanded`]: isOpen,
48
- [`${settings.prefix}--list-box--warning`]: showWarning,
49
- });
50
- return (React__default.default.createElement(React__default.default.Fragment, null,
51
- React__default.default.createElement("div", { ...rest, className: className, ref: ref, onKeyDown: handleOnKeyDown, onClick: handleClick, "data-invalid": invalid || undefined }, children),
52
- invalid ? React__default.default.createElement("div", { className: `${settings.prefix}--form-requirement` }, invalidText) : null,
53
- showWarning ? React__default.default.createElement("div", { className: `${settings.prefix}--form-requirement` }, warnText) : null));
54
- });
14
+ /*
15
+ IBM Confidential
16
+ 694970X, 69497O0
17
+ © Copyright IBM Corp. 2022, 2024
18
+ */
19
+ /**
20
+ * Copyright IBM Corp. 2016, 2018
21
+ *
22
+ * This source code is licensed under the Apache-2.0 license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ */
25
+ const handleOnKeyDown = (event) => {
26
+ if (event.keyCode === 27) {
27
+ event.stopPropagation();
28
+ }
29
+ };
30
+ const handleClick = (event) => {
31
+ event.preventDefault();
32
+ event.stopPropagation();
33
+ };
34
+ /**
35
+ * `ListBox` is a generic container component that handles creating the
36
+ * container class name in response to certain props.
37
+ */
38
+ const ListBox = React__default.default.forwardRef(function ListBox({ children, className: containerClassName, disabled = false, type = "default", size, invalid, invalidText, warn, warnText, light, isOpen, ...rest }, ref) {
39
+ const showWarning = !invalid && warn;
40
+ const className = cx__default.default({
41
+ [containerClassName]: !!containerClassName,
42
+ [`${settings.prefix}--list-box`]: true,
43
+ [`${settings.prefix}--list-box--${size}`]: size,
44
+ [`${settings.prefix}--list-box--inline`]: type === "inline",
45
+ [`${settings.prefix}--list-box--disabled`]: disabled,
46
+ [`${settings.prefix}--list-box--light`]: light,
47
+ [`${settings.prefix}--list-box--expanded`]: isOpen,
48
+ [`${settings.prefix}--list-box--warning`]: showWarning,
49
+ });
50
+ return (React__default.default.createElement(React__default.default.Fragment, null,
51
+ React__default.default.createElement("div", { ...rest, className: className, ref: ref, onKeyDown: handleOnKeyDown, onClick: handleClick, "data-invalid": invalid || undefined }, children),
52
+ invalid ? React__default.default.createElement("div", { className: `${settings.prefix}--form-requirement` }, invalidText) : null,
53
+ showWarning ? React__default.default.createElement("div", { className: `${settings.prefix}--form-requirement` }, warnText) : null));
54
+ });
55
55
  ListBox.displayName = "ListBox";
56
56
 
57
57
  exports.default = ListBox;
@@ -9,25 +9,25 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefault(React);
11
11
 
12
- /*
13
- IBM Confidential
14
- 694970X, 69497O0
15
- © Copyright IBM Corp. 2022, 2024
16
- */
17
- /**
18
- * Copyright IBM Corp. 2016, 2018
19
- *
20
- * This source code is licensed under the Apache-2.0 license found in the
21
- * LICENSE file in the root directory of this source tree.
22
- */
23
- /**
24
- * `ListBoxField` is responsible for creating the containing node for valid
25
- * elements inside of a field. It also provides a11y-related attributes like
26
- * `role` to make sure a user can focus the given field.
27
- */
28
- function ListBoxField({ children, disabled, tabIndex, ...rest }) {
29
- const numTabIndex = typeof tabIndex === "string" ? parseInt(tabIndex) : tabIndex;
30
- return (React__default.default.createElement("div", { className: `${settings.prefix}--list-box__field`, tabIndex: (!disabled && numTabIndex) || -1, ...rest }, children));
12
+ /*
13
+ IBM Confidential
14
+ 694970X, 69497O0
15
+ © Copyright IBM Corp. 2022, 2024
16
+ */
17
+ /**
18
+ * Copyright IBM Corp. 2016, 2018
19
+ *
20
+ * This source code is licensed under the Apache-2.0 license found in the
21
+ * LICENSE file in the root directory of this source tree.
22
+ */
23
+ /**
24
+ * `ListBoxField` is responsible for creating the containing node for valid
25
+ * elements inside of a field. It also provides a11y-related attributes like
26
+ * `role` to make sure a user can focus the given field.
27
+ */
28
+ function ListBoxField({ children, disabled, tabIndex, ...rest }) {
29
+ const numTabIndex = typeof tabIndex === "string" ? parseInt(tabIndex) : tabIndex;
30
+ return (React__default.default.createElement("div", { className: `${settings.prefix}--list-box__field`, tabIndex: (!disabled && numTabIndex) || -1, ...rest }, children));
31
31
  }
32
32
 
33
33
  exports.default = ListBoxField;
@@ -9,25 +9,25 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefault(React);
11
11
 
12
- /*
13
- IBM Confidential
14
- 694970X, 69497O0
15
- © Copyright IBM Corp. 2022, 2024
16
- */
17
- /**
18
- * Copyright IBM Corp. 2016, 2018
19
- *
20
- * This source code is licensed under the Apache-2.0 license found in the
21
- * LICENSE file in the root directory of this source tree.
22
- */
23
- /**
24
- * `ListBoxMenu` is a simple container node that isolates the `list-box__menu`
25
- * class into a single component. It is also being used to validate given
26
- * `children` components.
27
- */
28
- const ListBoxMenu = React__default.default.forwardRef(function ListBoxMenu({ children, id, ...rest }, ref) {
29
- return (React__default.default.createElement("div", { ref: ref, id: id, className: `${settings.prefix}--list-box__menu`, role: "listbox", ...rest }, children));
30
- });
12
+ /*
13
+ IBM Confidential
14
+ 694970X, 69497O0
15
+ © Copyright IBM Corp. 2022, 2024
16
+ */
17
+ /**
18
+ * Copyright IBM Corp. 2016, 2018
19
+ *
20
+ * This source code is licensed under the Apache-2.0 license found in the
21
+ * LICENSE file in the root directory of this source tree.
22
+ */
23
+ /**
24
+ * `ListBoxMenu` is a simple container node that isolates the `list-box__menu`
25
+ * class into a single component. It is also being used to validate given
26
+ * `children` components.
27
+ */
28
+ const ListBoxMenu = React__default.default.forwardRef(function ListBoxMenu({ children, id, ...rest }, ref) {
29
+ return (React__default.default.createElement("div", { ref: ref, id: id, className: `${settings.prefix}--list-box__menu`, role: "listbox", ...rest }, children));
30
+ });
31
31
  ListBoxMenu.displayName = "ListBoxMenu";
32
32
 
33
33
  exports.default = ListBoxMenu;
@@ -12,37 +12,37 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
12
12
  var React__default = /*#__PURE__*/_interopDefault(React);
13
13
  var cx__default = /*#__PURE__*/_interopDefault(cx);
14
14
 
15
- /*
16
- IBM Confidential
17
- 694970X, 69497O0
18
- © Copyright IBM Corp. 2022, 2024
19
- */
20
- /**
21
- * Copyright IBM Corp. 2016, 2018
22
- *
23
- * This source code is licensed under the Apache-2.0 license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */
26
- const translationIds = {
27
- "close.menu": "close.menu",
28
- "open.menu": "open.menu",
29
- };
30
- const defaultTranslations = {
31
- [translationIds["close.menu"]]: "Close menu",
32
- [translationIds["open.menu"]]: "Open menu",
33
- };
34
- /**
35
- * `ListBoxMenuIcon` is used to orient the icon up or down depending on the
36
- * state of the menu for a given `ListBox`
37
- */
38
- const ListBoxMenuIcon = ({ isOpen, translateWithId: t = (id) => defaultTranslations[id] }) => {
39
- const className = cx__default.default(`${settings.prefix}--list-box__menu-icon`, {
40
- [`${settings.prefix}--list-box__menu-icon--open`]: isOpen,
41
- });
42
- const description = isOpen ? t("close.menu") : t("open.menu");
43
- return (React__default.default.createElement("div", { className: className },
44
- React__default.default.createElement(icons.ChevronDown, { name: "chevron--down", "aria-label": description },
45
- React__default.default.createElement("title", null, description))));
15
+ /*
16
+ IBM Confidential
17
+ 694970X, 69497O0
18
+ © Copyright IBM Corp. 2022, 2024
19
+ */
20
+ /**
21
+ * Copyright IBM Corp. 2016, 2018
22
+ *
23
+ * This source code is licensed under the Apache-2.0 license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */
26
+ const translationIds = {
27
+ "close.menu": "close.menu",
28
+ "open.menu": "open.menu",
29
+ };
30
+ const defaultTranslations = {
31
+ [translationIds["close.menu"]]: "Close menu",
32
+ [translationIds["open.menu"]]: "Open menu",
33
+ };
34
+ /**
35
+ * `ListBoxMenuIcon` is used to orient the icon up or down depending on the
36
+ * state of the menu for a given `ListBox`
37
+ */
38
+ const ListBoxMenuIcon = ({ isOpen, translateWithId: t = (id) => defaultTranslations[id] }) => {
39
+ const className = cx__default.default(`${settings.prefix}--list-box__menu-icon`, {
40
+ [`${settings.prefix}--list-box__menu-icon--open`]: isOpen,
41
+ });
42
+ const description = isOpen ? t("close.menu") : t("open.menu");
43
+ return (React__default.default.createElement("div", { className: className },
44
+ React__default.default.createElement(icons.ChevronDown, { name: "chevron--down", "aria-label": description },
45
+ React__default.default.createElement("title", null, description))));
46
46
  };
47
47
 
48
48
  exports.default = ListBoxMenuIcon;