@carbon/ibm-products 2.61.0 → 2.62.0

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 (547) hide show
  1. package/css/index-full-carbon.css +170 -22
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +170 -22
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +170 -22
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +170 -22
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/_virtual/_rollupPluginBabelHelpers.js +4 -4
  18. package/es/components/APIKeyModal/APIKeyDownloader.js +2 -2
  19. package/es/components/APIKeyModal/APIKeyModal.js +16 -16
  20. package/es/components/AboutModal/AboutModal.js +1 -1
  21. package/es/components/ActionBar/ActionBar.js +5 -5
  22. package/es/components/ActionBar/ActionBarOverflowItems.js +3 -3
  23. package/es/components/ActionSet/ActionSet.js +5 -5
  24. package/es/components/AddSelect/AddSelect.js +5 -4
  25. package/es/components/AddSelect/AddSelectBody.js +12 -11
  26. package/es/components/AddSelect/AddSelectColumn.js +1 -1
  27. package/es/components/AddSelect/AddSelectFilter.js +1 -1
  28. package/es/components/AddSelect/AddSelectMetaPanel.js +3 -3
  29. package/es/components/AddSelect/AddSelectRow.js +21 -13
  30. package/es/components/AddSelect/AddSelectSidebar.js +14 -4
  31. package/es/components/AddSelect/AddSelectSort.js +5 -5
  32. package/es/components/AddSelect/add-select-utils.js +3 -3
  33. package/es/components/AddSelect/types/index.d.ts +1 -0
  34. package/es/components/BigNumbers/BigNumbers.js +11 -11
  35. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +4 -4
  36. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +4 -4
  37. package/es/components/Card/Card.js +14 -14
  38. package/es/components/Card/CardFooter.js +4 -4
  39. package/es/components/Card/CardHeader.js +2 -2
  40. package/es/components/Carousel/Carousel.js +16 -16
  41. package/es/components/Cascade/Cascade.js +2 -2
  42. package/es/components/Checklist/Checklist.js +11 -11
  43. package/es/components/Checklist/ChecklistChart.js +1 -1
  44. package/es/components/Checklist/ChecklistIcon.js +1 -1
  45. package/es/components/Coachmark/Coachmark.js +10 -10
  46. package/es/components/Coachmark/CoachmarkDragbar.js +5 -5
  47. package/es/components/Coachmark/CoachmarkHeader.js +4 -4
  48. package/es/components/Coachmark/CoachmarkOverlay.js +4 -4
  49. package/es/components/Coachmark/CoachmarkTagline.js +3 -3
  50. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  51. package/es/components/CoachmarkFixed/CoachmarkFixed.js +6 -6
  52. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +0 -10
  53. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +16 -35
  54. package/es/components/CoachmarkStack/CoachmarkStack.d.ts +2 -13
  55. package/es/components/CoachmarkStack/CoachmarkStack.js +12 -22
  56. package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +0 -17
  57. package/es/components/CoachmarkStack/CoachmarkStackHome.js +6 -29
  58. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +12 -12
  59. package/es/components/ConditionBuilder/ConditionBuilder.js +2 -2
  60. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +5 -5
  61. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +2 -2
  62. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  63. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +3 -3
  64. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +19 -19
  65. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +7 -7
  66. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +2 -2
  67. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +3 -3
  68. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +6 -6
  69. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -6
  70. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  71. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +3 -3
  72. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +31 -31
  73. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +15 -15
  74. package/es/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
  75. package/es/components/ConditionBuilder/utils/useTranslations.js +2 -2
  76. package/es/components/ConditionBuilder/utils/util.js +13 -13
  77. package/es/components/CreateFullPage/CreateFullPage.js +3 -3
  78. package/es/components/CreateFullPage/CreateFullPageStep.js +9 -9
  79. package/es/components/CreateInfluencer/CreateInfluencer.js +8 -8
  80. package/es/components/CreateModal/CreateModal.js +1 -1
  81. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  82. package/es/components/CreateTearsheet/CreateTearsheet.js +4 -4
  83. package/es/components/CreateTearsheet/CreateTearsheetStep.js +16 -16
  84. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  85. package/es/components/DataSpreadsheet/DataSpreadsheet.js +52 -52
  86. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +36 -36
  87. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +26 -26
  88. package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +3 -3
  89. package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +3 -3
  90. package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
  91. package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +16 -16
  92. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +5 -5
  93. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +8 -8
  94. package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
  95. package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +3 -3
  96. package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +5 -5
  97. package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +3 -3
  98. package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +10 -10
  99. package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
  100. package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
  101. package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +6 -6
  102. package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +6 -6
  103. package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +6 -6
  104. package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +3 -3
  105. package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +10 -10
  106. package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +14 -14
  107. package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +4 -4
  108. package/es/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
  109. package/es/components/Datagrid/Datagrid/Datagrid.js +2 -2
  110. package/es/components/Datagrid/Datagrid/DatagridBody.js +1 -1
  111. package/es/components/Datagrid/Datagrid/DatagridContent.js +14 -14
  112. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +2 -2
  113. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +3 -3
  114. package/es/components/Datagrid/Datagrid/DatagridHead.js +2 -2
  115. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -23
  116. package/es/components/Datagrid/Datagrid/DatagridRefBody.js +2 -2
  117. package/es/components/Datagrid/Datagrid/DatagridRow.js +19 -19
  118. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +9 -9
  119. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +7 -7
  120. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  121. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +11 -11
  122. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +18 -18
  123. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  124. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  125. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +9 -9
  126. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  127. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  128. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +15 -15
  129. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +1 -1
  130. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +59 -44
  131. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  132. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +2 -2
  133. package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -5
  134. package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
  135. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +20 -20
  136. package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
  137. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  138. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +35 -35
  139. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  140. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
  141. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +6 -6
  142. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +2 -2
  143. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -5
  144. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  145. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +4 -4
  146. package/es/components/Datagrid/useActionsColumn.js +2 -2
  147. package/es/components/Datagrid/useColumnRightAlign.js +3 -3
  148. package/es/components/Datagrid/useCustomizeColumns.js +1 -1
  149. package/es/components/Datagrid/useDatagrid.js +2 -2
  150. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
  151. package/es/components/Datagrid/useDisableSelectRows.js +16 -16
  152. package/es/components/Datagrid/useExpandedRow.js +1 -1
  153. package/es/components/Datagrid/useFiltering.js +1 -1
  154. package/es/components/Datagrid/useFloatingScroll.js +2 -2
  155. package/es/components/Datagrid/useFocusRowExpander.js +4 -4
  156. package/es/components/Datagrid/useInfiniteScroll.js +1 -1
  157. package/es/components/Datagrid/useInitialColumnSort.js +1 -1
  158. package/es/components/Datagrid/useInlineEdit.js +4 -4
  159. package/es/components/Datagrid/useNestedRowExpander.js +6 -6
  160. package/es/components/Datagrid/useNestedRows.js +6 -6
  161. package/es/components/Datagrid/useOnRowClick.js +1 -1
  162. package/es/components/Datagrid/useRowExpander.js +4 -4
  163. package/es/components/Datagrid/useRowIsMouseOver.js +1 -1
  164. package/es/components/Datagrid/useRowRenderer.js +6 -6
  165. package/es/components/Datagrid/useSelectAllToggle.js +2 -2
  166. package/es/components/Datagrid/useSelectRows.js +5 -5
  167. package/es/components/Datagrid/useSortableColumns.js +11 -11
  168. package/es/components/Datagrid/useStickyColumn.js +8 -8
  169. package/es/components/DecoratorBase/DecoratorBase.js +8 -8
  170. package/es/components/DecoratorBase/DecoratorIcon.js +2 -2
  171. package/es/components/DelimitedList/DelimitedList.js +3 -3
  172. package/es/components/DescriptionList/DescriptionList.js +2 -2
  173. package/es/components/EditInPlace/EditInPlace.js +6 -6
  174. package/es/components/EditSidePanel/EditSidePanel.js +3 -3
  175. package/es/components/EditTearsheet/EditTearsheet.js +3 -3
  176. package/es/components/EditTearsheet/EditTearsheetForm.js +2 -2
  177. package/es/components/EmptyStates/EmptyState.js +5 -5
  178. package/es/components/EmptyStates/EmptyStateContent.js +2 -2
  179. package/es/components/EmptyStates/EmptyStateV2.js +2 -2
  180. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +3 -3
  181. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +3 -3
  182. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +3 -3
  183. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +3 -3
  184. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +3 -3
  185. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +3 -3
  186. package/es/components/ExportModal/ExportModal.js +7 -7
  187. package/es/components/FeatureFlags/index.js +1 -1
  188. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  189. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  190. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +8 -8
  191. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  192. package/es/components/FilterSummary/FilterSummary.js +18 -34
  193. package/es/components/FullPageError/FullPageError.js +1 -1
  194. package/es/components/Guidebanner/Guidebanner.js +8 -8
  195. package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
  196. package/es/components/ImportModal/ImportModal.js +2 -2
  197. package/es/components/InlineTip/InlineTip.d.ts +0 -14
  198. package/es/components/InlineTip/InlineTip.js +13 -35
  199. package/es/components/InlineTip/utils.js +1 -1
  200. package/es/components/InterstitialScreen/InterstitialScreen.d.ts +0 -26
  201. package/es/components/InterstitialScreen/InterstitialScreen.js +22 -56
  202. package/es/components/MultiAddSelect/MultiAddSelect.d.ts +4 -0
  203. package/es/components/MultiAddSelect/MultiAddSelect.js +2 -1
  204. package/es/components/Nav/Nav.js +3 -3
  205. package/es/components/Nav/NavItem.js +8 -9
  206. package/es/components/Nav/NavList.js +14 -15
  207. package/es/components/NonLinearReading/NonLinearReading.js +1 -1
  208. package/es/components/NotificationsPanel/NotificationsPanel.d.ts +53 -1
  209. package/es/components/NotificationsPanel/NotificationsPanel.js +89 -71
  210. package/es/components/OptionsTile/OptionsTile.js +4 -3
  211. package/es/components/PageHeader/PageHeader.js +19 -19
  212. package/es/components/PageHeader/PageHeaderTitle.js +1 -1
  213. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  214. package/es/components/ProductiveCard/ProductiveCard.js +1 -1
  215. package/es/components/RemoveModal/RemoveModal.js +2 -2
  216. package/es/components/Saving/Saving.js +4 -4
  217. package/es/components/ScrollGradient/ScrollGradient.js +6 -6
  218. package/es/components/SearchBar/SearchBar.js +6 -6
  219. package/es/components/SidePanel/SidePanel.js +45 -45
  220. package/es/components/SimpleHeader/SimpleHeader.js +4 -4
  221. package/es/components/StatusIcon/StatusIcon.js +1 -1
  222. package/es/components/StatusIndicator/StatusIndicator.js +2 -2
  223. package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  224. package/es/components/StringFormatter/StringFormatter.js +4 -4
  225. package/es/components/TagOverflow/TagOverflow.js +7 -7
  226. package/es/components/TagOverflow/TagOverflowModal.js +4 -4
  227. package/es/components/TagOverflow/TagOverflowPopover.js +13 -13
  228. package/es/components/TagSet/TagSet.js +15 -15
  229. package/es/components/TagSet/TagSetModal.js +6 -6
  230. package/es/components/TagSet/TagSetOverflow.js +3 -3
  231. package/es/components/Tearsheet/Tearsheet.js +2 -2
  232. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  233. package/es/components/Tearsheet/TearsheetShell.js +6 -6
  234. package/es/components/Toolbar/Toolbar.js +6 -6
  235. package/es/components/Toolbar/ToolbarButton.js +4 -4
  236. package/es/components/TruncatedList/TruncatedList.js +8 -8
  237. package/es/components/UserAvatar/UserAvatar.js +4 -4
  238. package/es/components/UserProfileImage/UserProfileImage.js +2 -2
  239. package/es/components/WebTerminal/WebTerminal.js +8 -8
  240. package/es/global/js/hooks/useControllableState.js +1 -1
  241. package/es/global/js/hooks/useCreateComponentFocus.js +1 -1
  242. package/es/global/js/hooks/useCreateComponentStepChange.js +10 -10
  243. package/es/global/js/hooks/useFocus.js +19 -19
  244. package/es/global/js/hooks/useOverflowItems/index.d.ts +7 -0
  245. package/es/global/js/hooks/{useOverflowItems.js → useOverflowItems/useOverflowItems.js} +16 -16
  246. package/es/global/js/hooks/useOverflowString.js +6 -6
  247. package/es/global/js/hooks/usePresence.d.ts +23 -0
  248. package/es/global/js/hooks/usePresence.js +26 -6
  249. package/es/global/js/hooks/useResetCreateComponent.js +1 -1
  250. package/es/global/js/hooks/useResizeObserver.js +5 -5
  251. package/es/global/js/hooks/useRetrieveStepData.js +1 -1
  252. package/es/global/js/package-settings.js +4 -4
  253. package/es/global/js/utils/Wrap.js +2 -2
  254. package/es/global/js/utils/checkForOverflow.js +1 -1
  255. package/es/global/js/utils/debounce.d.ts +1 -1
  256. package/es/global/js/utils/debounce.js +2 -2
  257. package/es/global/js/utils/getSupportedLocale.d.ts +2 -0
  258. package/es/global/js/utils/getSupportedLocale.js +2 -0
  259. package/es/global/js/utils/lastIndexInArray.js +1 -1
  260. package/es/global/js/utils/props-helper.js +1 -1
  261. package/es/node_modules/@carbon/icon-helpers/es/index.js +2 -2
  262. package/es/node_modules/@carbon/icons-react/es/Icon.js +2 -2
  263. package/es/node_modules/@carbon/icons-react/es/generated/bucket-10.js +894 -863
  264. package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +824 -823
  265. package/es/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  266. package/es/settings.js +2 -2
  267. package/lib/_virtual/_rollupPluginBabelHelpers.js +4 -4
  268. package/lib/components/APIKeyModal/APIKeyDownloader.js +2 -2
  269. package/lib/components/APIKeyModal/APIKeyModal.js +16 -16
  270. package/lib/components/AboutModal/AboutModal.js +1 -1
  271. package/lib/components/ActionBar/ActionBar.js +5 -5
  272. package/lib/components/ActionBar/ActionBarOverflowItems.js +3 -3
  273. package/lib/components/ActionSet/ActionSet.js +5 -5
  274. package/lib/components/AddSelect/AddSelect.js +5 -4
  275. package/lib/components/AddSelect/AddSelectBody.js +12 -11
  276. package/lib/components/AddSelect/AddSelectColumn.js +1 -1
  277. package/lib/components/AddSelect/AddSelectFilter.js +1 -1
  278. package/lib/components/AddSelect/AddSelectMetaPanel.js +3 -3
  279. package/lib/components/AddSelect/AddSelectRow.js +20 -12
  280. package/lib/components/AddSelect/AddSelectSidebar.js +14 -4
  281. package/lib/components/AddSelect/AddSelectSort.js +5 -5
  282. package/lib/components/AddSelect/add-select-utils.js +3 -3
  283. package/lib/components/AddSelect/types/index.d.ts +1 -0
  284. package/lib/components/BigNumbers/BigNumbers.js +10 -10
  285. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +4 -4
  286. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +4 -4
  287. package/lib/components/Card/Card.js +14 -14
  288. package/lib/components/Card/CardFooter.js +4 -4
  289. package/lib/components/Card/CardHeader.js +2 -2
  290. package/lib/components/Carousel/Carousel.js +16 -16
  291. package/lib/components/Cascade/Cascade.js +2 -2
  292. package/lib/components/Checklist/Checklist.js +11 -11
  293. package/lib/components/Checklist/ChecklistChart.js +1 -1
  294. package/lib/components/Checklist/ChecklistIcon.js +1 -1
  295. package/lib/components/Coachmark/Coachmark.js +10 -10
  296. package/lib/components/Coachmark/CoachmarkDragbar.js +5 -5
  297. package/lib/components/Coachmark/CoachmarkHeader.js +4 -4
  298. package/lib/components/Coachmark/CoachmarkOverlay.js +4 -4
  299. package/lib/components/Coachmark/CoachmarkTagline.js +3 -3
  300. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  301. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +6 -6
  302. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +0 -10
  303. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +16 -35
  304. package/lib/components/CoachmarkStack/CoachmarkStack.d.ts +2 -13
  305. package/lib/components/CoachmarkStack/CoachmarkStack.js +12 -22
  306. package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +0 -17
  307. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +6 -29
  308. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +12 -12
  309. package/lib/components/ConditionBuilder/ConditionBuilder.js +2 -2
  310. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +5 -5
  311. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +2 -2
  312. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  313. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +3 -3
  314. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +19 -19
  315. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +7 -7
  316. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +2 -2
  317. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +3 -3
  318. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +6 -6
  319. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -6
  320. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  321. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +3 -3
  322. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +31 -31
  323. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +15 -15
  324. package/lib/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
  325. package/lib/components/ConditionBuilder/utils/useTranslations.js +2 -2
  326. package/lib/components/ConditionBuilder/utils/util.js +13 -13
  327. package/lib/components/CreateFullPage/CreateFullPage.js +3 -3
  328. package/lib/components/CreateFullPage/CreateFullPageStep.js +9 -9
  329. package/lib/components/CreateInfluencer/CreateInfluencer.js +8 -8
  330. package/lib/components/CreateModal/CreateModal.js +1 -1
  331. package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
  332. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -4
  333. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +16 -16
  334. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  335. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +52 -52
  336. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +36 -36
  337. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +26 -26
  338. package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +3 -3
  339. package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +3 -3
  340. package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
  341. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +16 -16
  342. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +5 -5
  343. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +8 -8
  344. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
  345. package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +3 -3
  346. package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +5 -5
  347. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +3 -3
  348. package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +10 -10
  349. package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
  350. package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
  351. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +6 -6
  352. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +6 -6
  353. package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +6 -6
  354. package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +3 -3
  355. package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +10 -10
  356. package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +14 -14
  357. package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +4 -4
  358. package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
  359. package/lib/components/Datagrid/Datagrid/Datagrid.js +2 -2
  360. package/lib/components/Datagrid/Datagrid/DatagridBody.js +1 -1
  361. package/lib/components/Datagrid/Datagrid/DatagridContent.js +14 -14
  362. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +2 -2
  363. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +3 -3
  364. package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -2
  365. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +23 -23
  366. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +2 -2
  367. package/lib/components/Datagrid/Datagrid/DatagridRow.js +19 -19
  368. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +9 -9
  369. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +7 -7
  370. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  371. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +11 -11
  372. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +18 -18
  373. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  374. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  375. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +9 -9
  376. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  377. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  378. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +15 -15
  379. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +1 -1
  380. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +59 -44
  381. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  382. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +2 -2
  383. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +0 -6
  384. package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
  385. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +20 -20
  386. package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
  387. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  388. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +35 -35
  389. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  390. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
  391. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +6 -6
  392. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +2 -2
  393. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +5 -5
  394. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  395. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +4 -4
  396. package/lib/components/Datagrid/useActionsColumn.js +2 -2
  397. package/lib/components/Datagrid/useColumnRightAlign.js +3 -3
  398. package/lib/components/Datagrid/useCustomizeColumns.js +1 -1
  399. package/lib/components/Datagrid/useDatagrid.js +2 -2
  400. package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -1
  401. package/lib/components/Datagrid/useDisableSelectRows.js +16 -16
  402. package/lib/components/Datagrid/useExpandedRow.js +1 -1
  403. package/lib/components/Datagrid/useFiltering.js +1 -1
  404. package/lib/components/Datagrid/useFloatingScroll.js +2 -2
  405. package/lib/components/Datagrid/useFocusRowExpander.js +4 -4
  406. package/lib/components/Datagrid/useInfiniteScroll.js +1 -1
  407. package/lib/components/Datagrid/useInitialColumnSort.js +1 -1
  408. package/lib/components/Datagrid/useInlineEdit.js +4 -4
  409. package/lib/components/Datagrid/useNestedRowExpander.js +6 -6
  410. package/lib/components/Datagrid/useNestedRows.js +6 -6
  411. package/lib/components/Datagrid/useOnRowClick.js +1 -1
  412. package/lib/components/Datagrid/useRowExpander.js +4 -4
  413. package/lib/components/Datagrid/useRowIsMouseOver.js +1 -1
  414. package/lib/components/Datagrid/useRowRenderer.js +6 -6
  415. package/lib/components/Datagrid/useSelectAllToggle.js +2 -2
  416. package/lib/components/Datagrid/useSelectRows.js +5 -5
  417. package/lib/components/Datagrid/useSortableColumns.js +11 -11
  418. package/lib/components/Datagrid/useStickyColumn.js +8 -8
  419. package/lib/components/DecoratorBase/DecoratorBase.js +8 -8
  420. package/lib/components/DecoratorBase/DecoratorIcon.js +2 -2
  421. package/lib/components/DelimitedList/DelimitedList.js +3 -3
  422. package/lib/components/DescriptionList/DescriptionList.js +2 -2
  423. package/lib/components/EditInPlace/EditInPlace.js +6 -6
  424. package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
  425. package/lib/components/EditTearsheet/EditTearsheet.js +3 -3
  426. package/lib/components/EditTearsheet/EditTearsheetForm.js +2 -2
  427. package/lib/components/EmptyStates/EmptyState.js +5 -5
  428. package/lib/components/EmptyStates/EmptyStateContent.js +2 -2
  429. package/lib/components/EmptyStates/EmptyStateV2.js +2 -2
  430. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +3 -3
  431. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +3 -3
  432. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +3 -3
  433. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +3 -3
  434. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +3 -3
  435. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +3 -3
  436. package/lib/components/ExportModal/ExportModal.js +7 -7
  437. package/lib/components/FeatureFlags/index.js +1 -1
  438. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  439. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  440. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +8 -8
  441. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  442. package/lib/components/FilterSummary/FilterSummary.js +18 -34
  443. package/lib/components/FullPageError/FullPageError.js +1 -1
  444. package/lib/components/Guidebanner/Guidebanner.js +8 -8
  445. package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
  446. package/lib/components/ImportModal/ImportModal.js +2 -2
  447. package/lib/components/InlineTip/InlineTip.d.ts +0 -14
  448. package/lib/components/InlineTip/InlineTip.js +13 -35
  449. package/lib/components/InlineTip/utils.js +1 -1
  450. package/lib/components/InterstitialScreen/InterstitialScreen.d.ts +0 -26
  451. package/lib/components/InterstitialScreen/InterstitialScreen.js +22 -56
  452. package/lib/components/MultiAddSelect/MultiAddSelect.d.ts +4 -0
  453. package/lib/components/MultiAddSelect/MultiAddSelect.js +2 -1
  454. package/lib/components/Nav/Nav.js +3 -3
  455. package/lib/components/Nav/NavItem.js +12 -13
  456. package/lib/components/Nav/NavList.js +18 -19
  457. package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
  458. package/lib/components/NotificationsPanel/NotificationsPanel.d.ts +53 -1
  459. package/lib/components/NotificationsPanel/NotificationsPanel.js +89 -71
  460. package/lib/components/OptionsTile/OptionsTile.js +4 -3
  461. package/lib/components/PageHeader/PageHeader.js +19 -19
  462. package/lib/components/PageHeader/PageHeaderTitle.js +1 -1
  463. package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
  464. package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
  465. package/lib/components/RemoveModal/RemoveModal.js +2 -2
  466. package/lib/components/Saving/Saving.js +4 -4
  467. package/lib/components/ScrollGradient/ScrollGradient.js +6 -6
  468. package/lib/components/SearchBar/SearchBar.js +6 -6
  469. package/lib/components/SidePanel/SidePanel.js +45 -45
  470. package/lib/components/SimpleHeader/SimpleHeader.js +4 -4
  471. package/lib/components/StatusIcon/StatusIcon.js +1 -1
  472. package/lib/components/StatusIndicator/StatusIndicator.js +2 -2
  473. package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  474. package/lib/components/StringFormatter/StringFormatter.js +4 -4
  475. package/lib/components/TagOverflow/TagOverflow.js +7 -7
  476. package/lib/components/TagOverflow/TagOverflowModal.js +4 -4
  477. package/lib/components/TagOverflow/TagOverflowPopover.js +13 -13
  478. package/lib/components/TagSet/TagSet.js +15 -15
  479. package/lib/components/TagSet/TagSetModal.js +6 -6
  480. package/lib/components/TagSet/TagSetOverflow.js +3 -3
  481. package/lib/components/Tearsheet/Tearsheet.js +2 -2
  482. package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
  483. package/lib/components/Tearsheet/TearsheetShell.js +6 -6
  484. package/lib/components/Toolbar/Toolbar.js +6 -6
  485. package/lib/components/Toolbar/ToolbarButton.js +4 -4
  486. package/lib/components/TruncatedList/TruncatedList.js +8 -8
  487. package/lib/components/UserAvatar/UserAvatar.js +4 -4
  488. package/lib/components/UserProfileImage/UserProfileImage.js +2 -2
  489. package/lib/components/WebTerminal/WebTerminal.js +8 -8
  490. package/lib/global/js/hooks/useControllableState.js +1 -1
  491. package/lib/global/js/hooks/useCreateComponentFocus.js +1 -1
  492. package/lib/global/js/hooks/useCreateComponentStepChange.js +10 -10
  493. package/lib/global/js/hooks/useFocus.js +19 -19
  494. package/lib/global/js/hooks/useOverflowItems/index.d.ts +7 -0
  495. package/lib/global/js/hooks/{useOverflowItems.js → useOverflowItems/useOverflowItems.js} +16 -16
  496. package/lib/global/js/hooks/useOverflowString.js +6 -6
  497. package/lib/global/js/hooks/usePresence.d.ts +23 -0
  498. package/lib/global/js/hooks/usePresence.js +26 -6
  499. package/lib/global/js/hooks/useResetCreateComponent.js +1 -1
  500. package/lib/global/js/hooks/useResizeObserver.js +5 -5
  501. package/lib/global/js/hooks/useRetrieveStepData.js +1 -1
  502. package/lib/global/js/package-settings.js +4 -4
  503. package/lib/global/js/utils/Wrap.js +2 -2
  504. package/lib/global/js/utils/checkForOverflow.js +1 -1
  505. package/lib/global/js/utils/debounce.d.ts +1 -1
  506. package/lib/global/js/utils/debounce.js +2 -2
  507. package/lib/global/js/utils/getSupportedLocale.d.ts +2 -0
  508. package/lib/global/js/utils/getSupportedLocale.js +2 -0
  509. package/lib/global/js/utils/lastIndexInArray.js +1 -1
  510. package/lib/global/js/utils/props-helper.js +1 -1
  511. package/lib/node_modules/@carbon/icon-helpers/es/index.js +2 -2
  512. package/lib/node_modules/@carbon/icons-react/es/Icon.js +2 -2
  513. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-10.js +902 -871
  514. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +824 -823
  515. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  516. package/lib/settings.js +2 -2
  517. package/package.json +19 -19
  518. package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +100 -22
  519. package/scss/components/Datagrid/styles/addons/_animations.scss +56 -0
  520. package/scss/components/FilterSummary/_animations.scss +20 -0
  521. package/scss/components/FilterSummary/_filter-summary.scss +11 -0
  522. package/scss/components/FullPageError/_full-page-error.scss +4 -0
  523. package/scss/components/GetStartedCard/_get-started-card.scss +2 -2
  524. package/scss/components/NotificationsPanel/_notifications-panel.scss +35 -7
  525. package/scss/components/SidePanel/_side-panel.scss +4 -2
  526. package/scss/components/Tearsheet/_tearsheet.scss +6 -12
  527. package/telemetry.yml +9 -17
  528. package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.d.ts +0 -60
  529. package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +0 -80
  530. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +0 -25
  531. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +0 -146
  532. package/es/components/SteppedAnimatedMedia/index.d.ts +0 -8
  533. package/es/global/js/utils/getBezierValues.d.ts +0 -1
  534. package/es/global/js/utils/getBezierValues.js +0 -28
  535. package/es/global/js/utils/motionConstants.d.ts +0 -23
  536. package/es/global/js/utils/motionConstants.js +0 -39
  537. package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.d.ts +0 -60
  538. package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +0 -84
  539. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +0 -25
  540. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +0 -148
  541. package/lib/components/SteppedAnimatedMedia/index.d.ts +0 -8
  542. package/lib/global/js/utils/getBezierValues.d.ts +0 -1
  543. package/lib/global/js/utils/getBezierValues.js +0 -30
  544. package/lib/global/js/utils/motionConstants.d.ts +0 -23
  545. package/lib/global/js/utils/motionConstants.js +0 -42
  546. /package/es/global/js/hooks/{useOverflowItems.d.ts → useOverflowItems/useOverflowItems.d.ts} +0 -0
  547. /package/lib/global/js/hooks/{useOverflowItems.d.ts → useOverflowItems/useOverflowItems.d.ts} +0 -0
@@ -11,7 +11,7 @@ import { blockClass, HIERARCHICAL_VARIANT, focusThisItem, manageTabIndexAndFocus
11
11
  var handleKeyDown = function handleKeyDown(evt, conditionBuilderRef, variant) {
12
12
  var _activeElement$closes;
13
13
  var activeElement = document.activeElement;
14
- if (!((_activeElement$closes = activeElement.closest(".".concat(blockClass, "__popover"))) !== null && _activeElement$closes !== undefined && _activeElement$closes.querySelector('[role="dialog"]'))) {
14
+ if (!((_activeElement$closes = activeElement.closest(".".concat(blockClass, "__popover"))) !== null && _activeElement$closes !== void 0 && _activeElement$closes.querySelector('[role="dialog"]'))) {
15
15
  handleKeyPressForMainContent(evt, conditionBuilderRef, variant);
16
16
  }
17
17
  };
@@ -19,7 +19,7 @@ var handleKeyDownForPopover = function handleKeyDownForPopover(evt, conditionBui
19
19
  if (excludeKeyPress(evt)) {
20
20
  return;
21
21
  }
22
- handleKeyPressForPopover(evt, popoverRef === null || popoverRef === undefined ? undefined : popoverRef.current, conditionBuilderRef);
22
+ handleKeyPressForPopover(evt, popoverRef === null || popoverRef === void 0 ? void 0 : popoverRef.current, conditionBuilderRef);
23
23
  };
24
24
 
25
25
  //skipping keyboard handling for date and time fields to get take carbon's
@@ -30,8 +30,8 @@ var handleKeyPressForPopover = function handleKeyPressForPopover(evt, parentCont
30
30
  var _parentContainer$quer, _parentContainer$quer2, _evt$target$closest$q, _evt$target$closest;
31
31
  var key = evt.key;
32
32
  var isHoldingShiftKey = checkForHoldingKey(evt, 'shiftKey');
33
- var isMultiSelect = (_parentContainer$quer = parentContainer.querySelector('ul')) === null || _parentContainer$quer === undefined ? undefined : _parentContainer$quer.dataset.multiSelect;
34
- var isOptionInput = (_parentContainer$quer2 = parentContainer.querySelectorAll("[role=\"option\"]")) === null || _parentContainer$quer2 === undefined ? undefined : _parentContainer$quer2.length;
33
+ var isMultiSelect = (_parentContainer$quer = parentContainer.querySelector('ul')) === null || _parentContainer$quer === void 0 ? void 0 : _parentContainer$quer.dataset.multiSelect;
34
+ var isOptionInput = (_parentContainer$quer2 = parentContainer.querySelectorAll("[role=\"option\"]")) === null || _parentContainer$quer2 === void 0 ? void 0 : _parentContainer$quer2.length;
35
35
  var allItems = [];
36
36
  if (key === 'Escape') {
37
37
  //focus the corresponding field in which the popover is triggered from
@@ -47,7 +47,7 @@ var handleKeyPressForPopover = function handleKeyPressForPopover(evt, parentCont
47
47
  traverseReverse(eachElem, index, allElements, null, null, conditionBuilderRef);
48
48
  });
49
49
  //scroll to top when we reach a the top of the list to make search box visible
50
- if (Array.from((_evt$target$closest$q = (_evt$target$closest = evt.target.closest('ul')) === null || _evt$target$closest === undefined ? undefined : _evt$target$closest.querySelectorAll('li')) !== null && _evt$target$closest$q !== undefined ? _evt$target$closest$q : []).indexOf(evt.target) === 1) {
50
+ if (Array.from((_evt$target$closest$q = (_evt$target$closest = evt.target.closest('ul')) === null || _evt$target$closest === void 0 ? void 0 : _evt$target$closest.querySelectorAll('li')) !== null && _evt$target$closest$q !== void 0 ? _evt$target$closest$q : []).indexOf(evt.target) === 1) {
51
51
  parentContainer.querySelector(".".concat(blockClass, "__popover-content-wrapper")).scrollTop = 0;
52
52
  }
53
53
  break;
@@ -74,7 +74,7 @@ var handleKeyPressForPopover = function handleKeyPressForPopover(evt, parentCont
74
74
  if (document.activeElement.type !== 'button') {
75
75
  var _document$activeEleme;
76
76
  //for button , enter key is click which already handled by framework, for other elements trigger click
77
- (_document$activeEleme = document.activeElement) === null || _document$activeEleme === undefined || _document$activeEleme.click();
77
+ (_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 || _document$activeEleme.click();
78
78
  }
79
79
  evt.preventDefault();
80
80
  }
@@ -84,7 +84,7 @@ var handleKeyPressForPopover = function handleKeyPressForPopover(evt, parentCont
84
84
  var _document$activeEleme2;
85
85
  //for button , enter key is click which already handled by framework, else trigger click
86
86
  focusThisField(evt, conditionBuilderRef);
87
- (_document$activeEleme2 = document.activeElement) === null || _document$activeEleme2 === undefined || _document$activeEleme2.click();
87
+ (_document$activeEleme2 = document.activeElement) === null || _document$activeEleme2 === void 0 || _document$activeEleme2.click();
88
88
  }
89
89
  break;
90
90
  }
@@ -94,7 +94,7 @@ var handleKeyPressForPopover = function handleKeyPressForPopover(evt, parentCont
94
94
  var _document$activeEleme3;
95
95
  //for button , enter key is click which already handled by framework, else trigger click
96
96
  focusThisField(evt, conditionBuilderRef);
97
- (_document$activeEleme3 = document.activeElement) === null || _document$activeEleme3 === undefined || _document$activeEleme3.click();
97
+ (_document$activeEleme3 = document.activeElement) === null || _document$activeEleme3 === void 0 || _document$activeEleme3.click();
98
98
  }
99
99
  }
100
100
  }
@@ -106,7 +106,7 @@ var handleKeyPressForMainContent = function handleKeyPressForMainContent(evt, co
106
106
  evt.preventDefault();
107
107
  if (variant == HIERARCHICAL_VARIANT) {
108
108
  var _evt$target$closest2;
109
- var allCellsInRow = Array.from((_evt$target$closest2 = evt.target.closest('[role="row"]')) === null || _evt$target$closest2 === undefined ? undefined : _evt$target$closest2.querySelectorAll('[role="gridcell"] button'));
109
+ var allCellsInRow = Array.from((_evt$target$closest2 = evt.target.closest('[role="row"]')) === null || _evt$target$closest2 === void 0 ? void 0 : _evt$target$closest2.querySelectorAll('[role="gridcell"] button'));
110
110
  if (allCellsInRow.length === 1) {
111
111
  evt.target = evt.target.closest('[role="row"]');
112
112
  handleRowNavigationHierarchical(evt, conditionBuilderRef, variant);
@@ -136,7 +136,7 @@ var handleKeyPressForMainContent = function handleKeyPressForMainContent(evt, co
136
136
  var _evt$target$closest3;
137
137
  //when any cell is focussed, arrow left will select the previous cell or current row
138
138
 
139
- var _allCellsInRow = Array.from((_evt$target$closest3 = evt.target.closest('[role="row"]')) === null || _evt$target$closest3 === undefined ? undefined : _evt$target$closest3.querySelectorAll('[role="gridcell"] button'));
139
+ var _allCellsInRow = Array.from((_evt$target$closest3 = evt.target.closest('[role="row"]')) === null || _evt$target$closest3 === void 0 ? void 0 : _evt$target$closest3.querySelectorAll('[role="gridcell"] button'));
140
140
  var _currentItemIndex = _allCellsInRow.indexOf(evt.target);
141
141
  if (_currentItemIndex > 0) {
142
142
  focusThisItem(_allCellsInRow[_currentItemIndex - 1], conditionBuilderRef);
@@ -160,16 +160,16 @@ var handleKeyPressForMainContent = function handleKeyPressForMainContent(evt, co
160
160
  }
161
161
  break;
162
162
  case 'Enter':
163
- if (((_document$activeEleme4 = document.activeElement) === null || _document$activeEleme4 === undefined || (_document$activeEleme4 = _document$activeEleme4.querySelectorAll("button")) === null || _document$activeEleme4 === undefined ? undefined : _document$activeEleme4.length) === 1) {
163
+ if (((_document$activeEleme4 = document.activeElement) === null || _document$activeEleme4 === void 0 || (_document$activeEleme4 = _document$activeEleme4.querySelectorAll("button")) === null || _document$activeEleme4 === void 0 ? void 0 : _document$activeEleme4.length) === 1) {
164
164
  var _document$activeEleme5;
165
- (_document$activeEleme5 = document.activeElement) === null || _document$activeEleme5 === undefined || (_document$activeEleme5 = _document$activeEleme5.querySelectorAll("button")[0]) === null || _document$activeEleme5 === undefined || _document$activeEleme5.click();
165
+ (_document$activeEleme5 = document.activeElement) === null || _document$activeEleme5 === void 0 || (_document$activeEleme5 = _document$activeEleme5.querySelectorAll("button")[0]) === null || _document$activeEleme5 === void 0 || _document$activeEleme5.click();
166
166
  }
167
167
  break;
168
168
  }
169
169
  };
170
170
  var getRows = function getRows(conditionBuilderRef) {
171
171
  var _conditionBuilderRef$;
172
- return Array.from((_conditionBuilderRef$ = conditionBuilderRef.current) === null || _conditionBuilderRef$ === undefined ? undefined : _conditionBuilderRef$.querySelectorAll('[role="row"]'));
172
+ return Array.from((_conditionBuilderRef$ = conditionBuilderRef.current) === null || _conditionBuilderRef$ === void 0 ? void 0 : _conditionBuilderRef$.querySelectorAll('[role="row"]'));
173
173
  };
174
174
  var getRowIndex = function getRowIndex(element, conditionBuilderRef) {
175
175
  var rows = getRows(conditionBuilderRef);
@@ -218,8 +218,8 @@ var navigateToNextRowCell = function navigateToNextRowCell(evt, currentRowIndex,
218
218
  }
219
219
  var nextRow = rows[nextRowIndex];
220
220
  var itemName = evt.target.dataset.name;
221
- if (nextRow !== null && nextRow !== undefined && nextRow.querySelector("[data-name=\"".concat(itemName, "\"]"))) {
222
- manageTabIndexAndFocus(nextRow === null || nextRow === undefined ? undefined : nextRow.querySelector("[data-name=\"".concat(itemName, "\"]")), conditionBuilderRef);
221
+ if (nextRow !== null && nextRow !== void 0 && nextRow.querySelector("[data-name=\"".concat(itemName, "\"]"))) {
222
+ manageTabIndexAndFocus(nextRow === null || nextRow === void 0 ? void 0 : nextRow.querySelector("[data-name=\"".concat(itemName, "\"]")), conditionBuilderRef);
223
223
  } else if (variant === HIERARCHICAL_VARIANT) {
224
224
  //when the next row is a if statement , then that row is focused. From any cell of last row of an group , arrow down select the next row (if)
225
225
  manageTabIndexAndFocus(nextRow, conditionBuilderRef);
@@ -111,7 +111,7 @@ var useDataConfigs = function useDataConfigs() {
111
111
  type: 'date'
112
112
  }];
113
113
  return {
114
- statementConfig: statementConfigCustom !== null && statementConfigCustom !== undefined ? statementConfigCustom : statementConfigDefault,
114
+ statementConfig: statementConfigCustom !== null && statementConfigCustom !== void 0 ? statementConfigCustom : statementConfigDefault,
115
115
  connectorConfig: connectorConfig,
116
116
  operatorConfig: operatorConfig
117
117
  };
@@ -13,10 +13,10 @@ var useTranslations = function useTranslations(translationKeys, alterTranslation
13
13
  var _useContext = useContext(ConditionBuilderContext),
14
14
  translateWithId = _useContext.translateWithId;
15
15
  return translationKeys.map(function (translationKey) {
16
- if (alterTranslationKeyMap !== null && alterTranslationKeyMap !== undefined && alterTranslationKeyMap[translationKey]) {
16
+ if (alterTranslationKeyMap !== null && alterTranslationKeyMap !== void 0 && alterTranslationKeyMap[translationKey]) {
17
17
  translationKey = alterTranslationKeyMap[translationKey];
18
18
  }
19
- if (translateWithId !== null && translateWithId !== undefined && translateWithId(translationKey)) {
19
+ if (translateWithId !== null && translateWithId !== void 0 && translateWithId(translationKey)) {
20
20
  return translateWithId(translationKey);
21
21
  } else if (translationsObject[translationKey]) {
22
22
  return translationsObject[translationKey];
@@ -14,9 +14,9 @@ var focusThisField = function focusThisField(evt, conditionBuilderRef) {
14
14
  if (evt) {
15
15
  setTimeout(function () {
16
16
  var _evt$target$closest, _evt$target$closest2, _evt$target$closest3;
17
- manageTabIndexAndFocus((_evt$target$closest = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest === undefined ? undefined : _evt$target$closest.querySelector('button'), conditionBuilderRef);
18
- (_evt$target$closest2 = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest2 === undefined || (_evt$target$closest2 = _evt$target$closest2.querySelector('button')) === null || _evt$target$closest2 === undefined || _evt$target$closest2.click();
19
- (_evt$target$closest3 = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest3 === undefined || (_evt$target$closest3 = _evt$target$closest3.querySelector('button')) === null || _evt$target$closest3 === undefined || _evt$target$closest3.focus();
17
+ manageTabIndexAndFocus((_evt$target$closest = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest === void 0 ? void 0 : _evt$target$closest.querySelector('button'), conditionBuilderRef);
18
+ (_evt$target$closest2 = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest2 === void 0 || (_evt$target$closest2 = _evt$target$closest2.querySelector('button')) === null || _evt$target$closest2 === void 0 || _evt$target$closest2.click();
19
+ (_evt$target$closest3 = evt.target.closest('[role="gridcell"]')) === null || _evt$target$closest3 === void 0 || (_evt$target$closest3 = _evt$target$closest3.querySelector('button')) === null || _evt$target$closest3 === void 0 || _evt$target$closest3.focus();
20
20
  }, 0);
21
21
  }
22
22
  };
@@ -55,13 +55,13 @@ var checkIsValid = function checkIsValid(item) {
55
55
  };
56
56
  var manageTabIndexAndFocus = function manageTabIndexAndFocus(currentElement, conditionBuilderRef) {
57
57
  var _currentElement$close, _conditionBuilderRef$;
58
- var contentContainer = (_currentElement$close = currentElement === null || currentElement === undefined ? undefined : currentElement.closest(".".concat(blockClass, "__content-container"))) !== null && _currentElement$close !== undefined ? _currentElement$close : currentElement === null || currentElement === undefined ? undefined : currentElement.closest(".".concat(blockClass, "__actions-container"));
58
+ var contentContainer = (_currentElement$close = currentElement === null || currentElement === void 0 ? void 0 : currentElement.closest(".".concat(blockClass, "__content-container"))) !== null && _currentElement$close !== void 0 ? _currentElement$close : currentElement === null || currentElement === void 0 ? void 0 : currentElement.closest(".".concat(blockClass, "__actions-container"));
59
59
  contentContainer && Array.from(contentContainer.querySelectorAll('[tabindex="0"]')).map(function (element) {
60
- return element === null || element === undefined ? undefined : element.setAttribute('tabindex', '-1');
60
+ return element === null || element === void 0 ? void 0 : element.setAttribute('tabindex', '-1');
61
61
  });
62
- currentElement === null || currentElement === undefined || currentElement.setAttribute('tabindex', '0');
63
- (_conditionBuilderRef$ = conditionBuilderRef.current) === null || _conditionBuilderRef$ === undefined || (_conditionBuilderRef$ = _conditionBuilderRef$.querySelector(".".concat(blockClass, "__statement-button"))) === null || _conditionBuilderRef$ === undefined || _conditionBuilderRef$.setAttribute('tabindex', '1');
64
- currentElement === null || currentElement === undefined || currentElement.focus();
62
+ currentElement === null || currentElement === void 0 || currentElement.setAttribute('tabindex', '0');
63
+ (_conditionBuilderRef$ = conditionBuilderRef.current) === null || _conditionBuilderRef$ === void 0 || (_conditionBuilderRef$ = _conditionBuilderRef$.querySelector(".".concat(blockClass, "__statement-button"))) === null || _conditionBuilderRef$ === void 0 || _conditionBuilderRef$.setAttribute('tabindex', '1');
64
+ currentElement === null || currentElement === void 0 || currentElement.focus();
65
65
  };
66
66
  var formatDate = function formatDate(date) {
67
67
  var day = String(date.getDate()).padStart(2, '0');
@@ -70,7 +70,7 @@ var formatDate = function formatDate(date) {
70
70
  return "".concat(day, "/").concat(month, "/").concat(year);
71
71
  };
72
72
  var getValue = function getValue(type, value, config) {
73
- if (config !== null && config !== undefined && config.valueFormatter && ['date', 'custom'].includes(type)) {
73
+ if (config !== null && config !== void 0 && config.valueFormatter && ['date', 'custom'].includes(type)) {
74
74
  return config.valueFormatter(value);
75
75
  } else {
76
76
  var formatters = {
@@ -97,8 +97,8 @@ var getValue = function getValue(type, value, config) {
97
97
  },
98
98
  date: function date(value) {
99
99
  if (Array.isArray(value) && value.length > 1) {
100
- var start = value !== null && value !== undefined && value[0] && !isNaN(new Date(value[0])) ? formatDate(new Date(value[0])) : '';
101
- var end = value !== null && value !== undefined && value[1] && !isNaN(new Date(value[1])) ? formatDate(new Date(value[1])) : '';
100
+ var start = value !== null && value !== void 0 && value[0] && !isNaN(new Date(value[0])) ? formatDate(new Date(value[0])) : '';
101
+ var end = value !== null && value !== void 0 && value[1] && !isNaN(new Date(value[1])) ? formatDate(new Date(value[1])) : '';
102
102
  return "".concat(start, " To ").concat(end);
103
103
  } else if (Array.isArray(value) && !isNaN(new Date(value[0]))) {
104
104
  return formatDate(new Date(value[0]));
@@ -117,8 +117,8 @@ var getValue = function getValue(type, value, config) {
117
117
  //check if the operator is configured as multiSelect in the input configuration or operator is on of
118
118
  var checkForMultiSelectOperator = function checkForMultiSelectOperator(condition, config) {
119
119
  var _config$operators;
120
- return (condition === null || condition === undefined ? undefined : condition.operator) === 'oneOf' || (config === null || config === undefined || (_config$operators = config.operators) === null || _config$operators === undefined ? undefined : _config$operators.find(function (operator) {
121
- return (condition === null || condition === undefined ? undefined : condition.operator) === operator.id && operator.isMultiSelect;
120
+ return (condition === null || condition === void 0 ? void 0 : condition.operator) === 'oneOf' || (config === null || config === void 0 || (_config$operators = config.operators) === null || _config$operators === void 0 ? void 0 : _config$operators.find(function (operator) {
121
+ return (condition === null || condition === void 0 ? void 0 : condition.operator) === operator.id && operator.isMultiSelect;
122
122
  }));
123
123
  };
124
124
  //this will close the popover on escape key on search box
@@ -70,7 +70,7 @@ var CreateFullPage = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
70
70
  title = _ref.title,
71
71
  secondaryTitle = _ref.secondaryTitle,
72
72
  _ref$breadcrumbOverfl = _ref.breadcrumbOverflowTooltipAlign,
73
- breadcrumbOverflowTooltipAlign = _ref$breadcrumbOverfl === undefined ? 'right' : _ref$breadcrumbOverfl,
73
+ breadcrumbOverflowTooltipAlign = _ref$breadcrumbOverfl === void 0 ? 'right' : _ref$breadcrumbOverfl,
74
74
  rest = _objectWithoutProperties(_ref, _excluded);
75
75
  var _useState = useState([]),
76
76
  _useState2 = _slicedToArray(_useState, 2),
@@ -126,7 +126,7 @@ var CreateFullPage = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
126
126
  setLastIncludedStep = _useState24[1];
127
127
  useEffect(function () {
128
128
  var firstItem = stepData.findIndex(function (item) {
129
- return item === null || item === undefined ? undefined : item.shouldIncludeStep;
129
+ return item === null || item === void 0 ? void 0 : item.shouldIncludeStep;
130
130
  }) + 1;
131
131
  var lastItem = lastIndexInArray(stepData, 'shouldIncludeStep', true);
132
132
  if (firstItem !== firstIncludedStep) {
@@ -158,7 +158,7 @@ var CreateFullPage = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
158
158
  stepData: stepData,
159
159
  /**@ts-ignore */
160
160
  initialStep: initialStep,
161
- totalSteps: stepData === null || stepData === undefined ? undefined : stepData.length,
161
+ totalSteps: stepData === null || stepData === void 0 ? void 0 : stepData.length,
162
162
  componentName: componentName
163
163
  });
164
164
  useCreateComponentStepChange({
@@ -36,7 +36,7 @@ var CreateFullPageStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
36
36
  description = _ref.description,
37
37
  disableSubmit = _ref.disableSubmit,
38
38
  _ref$includeStep = _ref.includeStep,
39
- includeStep = _ref$includeStep === undefined ? defaults.includeStep : _ref$includeStep,
39
+ includeStep = _ref$includeStep === void 0 ? defaults.includeStep : _ref$includeStep,
40
40
  introStep = _ref.introStep,
41
41
  invalid = _ref.invalid,
42
42
  title = _ref.title,
@@ -54,7 +54,7 @@ var CreateFullPageStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
54
54
  shouldIncludeStep = _useState2[0],
55
55
  setShouldIncludeStep = _useState2[1];
56
56
  var previousState = usePreviousValue({
57
- currentStep: stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep
57
+ currentStep: stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep
58
58
  });
59
59
  useRetrieveStepData({
60
60
  invalid: invalid,
@@ -69,10 +69,10 @@ var CreateFullPageStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
69
69
  // This useEffect reports back the onMount value so that they can be used
70
70
  // in the appropriate custom hooks.
71
71
  useEffect(function () {
72
- if (stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep) && (previousState === null || previousState === undefined ? undefined : previousState.currentStep) !== (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)) {
73
- stepsContext === null || stepsContext === undefined || stepsContext.setOnMount(onMount);
72
+ if (stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep) && (previousState === null || previousState === void 0 ? void 0 : previousState.currentStep) !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
73
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnMount(onMount);
74
74
  }
75
- }, [onMount, stepsContext, stepNumber, previousState === null || previousState === undefined ? undefined : previousState.currentStep]);
75
+ }, [onMount, stepsContext, stepNumber, previousState === null || previousState === void 0 ? void 0 : previousState.currentStep]);
76
76
  useEffect(function () {
77
77
  setShouldIncludeStep(includeStep);
78
78
  }, [includeStep, stepsContext, title]);
@@ -80,10 +80,10 @@ var CreateFullPageStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
80
80
  // Whenever we are the current step, supply our disableSubmit and onNext values to the
81
81
  // steps container context so that it can manage the 'Next' button appropriately.
82
82
  useEffect(function () {
83
- if (stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)) {
83
+ if (stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
84
84
  stepsContext.setIsDisabled(disableSubmit);
85
- stepsContext === null || stepsContext === undefined || stepsContext.setOnNext(onNext); // needs to be updated here otherwise there could be stale state values from only initially setting onNext
86
- stepsContext === null || stepsContext === undefined || stepsContext.setOnPrevious(onPrevious);
85
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnNext(onNext); // needs to be updated here otherwise there could be stale state values from only initially setting onNext
86
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnPrevious(onPrevious);
87
87
  }
88
88
  }, [stepsContext, stepNumber, disableSubmit, onNext, onPrevious]);
89
89
  var span = {
@@ -109,7 +109,7 @@ var CreateFullPageStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
109
109
  return null;
110
110
  };
111
111
  return stepsContext ? /*#__PURE__*/React__default.createElement("section", _extends({}, rest, {
112
- className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__step--hidden-step"), stepNumber !== (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)), "".concat(blockClass, "__step--visible-step"), stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep))),
112
+ className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__step--hidden-step"), stepNumber !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)), "".concat(blockClass, "__step--visible-step"), stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep))),
113
113
  ref: ref
114
114
  }), /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(Column, span, /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(Column, _extends({
115
115
  className: "".concat(blockClass, "-title"),
@@ -27,7 +27,7 @@ var CreateInfluencer = function CreateInfluencer(_ref) {
27
27
  var dynamicSteps = [];
28
28
  array.forEach(function (item, index) {
29
29
  var _array$index;
30
- if (((_array$index = array[index]) === null || _array$index === undefined ? undefined : _array$index[key]) === false && index <= currentStep - 1) {
30
+ if (((_array$index = array[index]) === null || _array$index === void 0 ? void 0 : _array$index[key]) === false && index <= currentStep - 1) {
31
31
  dynamicSteps.push(item);
32
32
  }
33
33
  });
@@ -37,11 +37,11 @@ var CreateInfluencer = function CreateInfluencer(_ref) {
37
37
  // renders the step progression components in the left influencer area
38
38
  var renderProgressSteps = function renderProgressSteps() {
39
39
  var _stepData$, _stepData$2;
40
- var extractedSteps = stepData === null || stepData === undefined ? undefined : stepData.filter(function (item) {
41
- return !(item !== null && item !== undefined && item.introStep);
40
+ var extractedSteps = stepData === null || stepData === void 0 ? void 0 : stepData.filter(function (item) {
41
+ return !(item !== null && item !== void 0 && item.introStep);
42
42
  });
43
- var progressSteps = extractedSteps === null || extractedSteps === undefined ? undefined : extractedSteps.filter(function (item) {
44
- return item === null || item === undefined ? undefined : item.shouldIncludeStep;
43
+ var progressSteps = extractedSteps === null || extractedSteps === void 0 ? void 0 : extractedSteps.filter(function (item) {
44
+ return item === null || item === void 0 ? void 0 : item.shouldIncludeStep;
45
45
  });
46
46
 
47
47
  // To get the ProgressIndicator's `currentIndex`, accounting for dynamic steps,
@@ -52,8 +52,8 @@ var CreateInfluencer = function CreateInfluencer(_ref) {
52
52
  className: "".concat(blockClass, "__left-nav")
53
53
  }, title && /*#__PURE__*/React__default.createElement("h3", {
54
54
  className: "".concat(blockClass, "__title")
55
- }, title), currentStep === 1 && (_stepData$ = stepData[0]) !== null && _stepData$ !== undefined && _stepData$.introStep ? null : /*#__PURE__*/React__default.createElement(ProgressIndicator, {
56
- currentIndex: (_stepData$2 = stepData[0]) !== null && _stepData$2 !== undefined && _stepData$2.introStep ? currentStep - totalDynamicSteps - 2 // minus 2 because we need to account for the intro step in addition to `currentIndex` being 0 index based and our steps being 1 index based
55
+ }, title), currentStep === 1 && (_stepData$ = stepData[0]) !== null && _stepData$ !== void 0 && _stepData$.introStep ? null : /*#__PURE__*/React__default.createElement(ProgressIndicator, {
56
+ currentIndex: (_stepData$2 = stepData[0]) !== null && _stepData$2 !== void 0 && _stepData$2.introStep ? currentStep - totalDynamicSteps - 2 // minus 2 because we need to account for the intro step in addition to `currentIndex` being 0 index based and our steps being 1 index based
57
57
  : currentStep - totalDynamicSteps - 1 // minus 1 because ProgressIndicator currentIndex prop is 0 index based, but our steps are 1 index based
58
58
  ,
59
59
  spaceEqually: true,
@@ -62,7 +62,7 @@ var CreateInfluencer = function CreateInfluencer(_ref) {
62
62
  onChange: onClickStep
63
63
  }, progressSteps.map(function (step, stepIndex) {
64
64
  return /*#__PURE__*/React__default.createElement(ProgressStep, {
65
- label: step === null || step === undefined ? undefined : step.title,
65
+ label: step === null || step === void 0 ? void 0 : step.title,
66
66
  key: stepIndex,
67
67
  secondaryLabel: step.secondaryLabel || undefined,
68
68
  invalid: step.invalid
@@ -59,7 +59,7 @@ var CreateModal = /*#__PURE__*/React__default.forwardRef(function (_ref2, ref) {
59
59
  size: "sm",
60
60
  preventCloseOnClickOutside: true,
61
61
  onClose: function onClose() {
62
- onRequestClose === null || onRequestClose === undefined || onRequestClose();
62
+ onRequestClose === null || onRequestClose === void 0 || onRequestClose();
63
63
  return false;
64
64
  }
65
65
  }, getDevtoolsProps(componentName)), /*#__PURE__*/React__default.createElement(ModalHeader, {
@@ -47,7 +47,7 @@ var CreateSidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
47
47
  label: primaryButtonText,
48
48
  onClick: function onClick(event) {
49
49
  event.preventDefault();
50
- onRequestSubmit === null || onRequestSubmit === undefined || onRequestSubmit();
50
+ onRequestSubmit === null || onRequestSubmit === void 0 || onRequestSubmit();
51
51
  },
52
52
  kind: 'primary',
53
53
  disabled: disableSubmit,
@@ -46,7 +46,7 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
46
46
  description = _ref.description,
47
47
  hasError = _ref.hasError,
48
48
  _ref$influencerWidth = _ref.influencerWidth,
49
- influencerWidth = _ref$influencerWidth === undefined ? 'narrow' : _ref$influencerWidth,
49
+ influencerWidth = _ref$influencerWidth === void 0 ? 'narrow' : _ref$influencerWidth,
50
50
  initialStep = _ref.initialStep,
51
51
  label = _ref.label,
52
52
  nextButtonText = _ref.nextButtonText,
@@ -59,7 +59,7 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
59
59
  submitButtonText = _ref.submitButtonText,
60
60
  title = _ref.title,
61
61
  _ref$verticalPosition = _ref.verticalPosition,
62
- verticalPosition = _ref$verticalPosition === undefined ? 'normal' : _ref$verticalPosition,
62
+ verticalPosition = _ref$verticalPosition === void 0 ? 'normal' : _ref$verticalPosition,
63
63
  rest = _objectWithoutProperties(_ref, _excluded);
64
64
  var _useState = useState([]),
65
65
  _useState2 = _slicedToArray(_useState, 2),
@@ -152,7 +152,7 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
152
152
  stepData: stepData,
153
153
  /**@ts-ignore */
154
154
  initialStep: initialStep,
155
- totalSteps: stepData === null || stepData === undefined ? undefined : stepData.length,
155
+ totalSteps: stepData === null || stepData === void 0 ? void 0 : stepData.length,
156
156
  componentName: componentName
157
157
  });
158
158
  useCreateComponentStepChange({
@@ -178,7 +178,7 @@ var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
178
178
  isSubmitting: isSubmitting,
179
179
  componentBlockClass: blockClass,
180
180
  experimentalSecondarySubmit: experimentalSecondarySubmit,
181
- experimentalSecondarySubmitText: experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== undefined && experimentalSecondarySubmit.labelText ? experimentalSecondarySubmit.labelText : experimentalSecondarySubmitText,
181
+ experimentalSecondarySubmitText: experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== void 0 && experimentalSecondarySubmit.labelText ? experimentalSecondarySubmit.labelText : experimentalSecondarySubmitText,
182
182
  setCreateComponentActions: setCreateTearsheetActions
183
183
  });
184
184
  return /*#__PURE__*/React__default.createElement(TearsheetShell, _extends({}, getDevtoolsProps(componentName), rest, {
@@ -43,9 +43,9 @@ var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
43
43
  experimentalSecondarySubmit = _ref.experimentalSecondarySubmit,
44
44
  fieldsetLegendText = _ref.fieldsetLegendText,
45
45
  _ref$hasFieldset = _ref.hasFieldset,
46
- hasFieldset = _ref$hasFieldset === undefined ? defaults.hasFieldset : _ref$hasFieldset,
46
+ hasFieldset = _ref$hasFieldset === void 0 ? defaults.hasFieldset : _ref$hasFieldset,
47
47
  _ref$includeStep = _ref.includeStep,
48
- includeStep = _ref$includeStep === undefined ? defaults.includeStep : _ref$includeStep,
48
+ includeStep = _ref$includeStep === void 0 ? defaults.includeStep : _ref$includeStep,
49
49
  introStep = _ref.introStep,
50
50
  invalid = _ref.invalid,
51
51
  onMount = _ref.onMount,
@@ -65,7 +65,7 @@ var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
65
65
  shouldIncludeStep = _useState2[0],
66
66
  setShouldIncludeStep = _useState2[1];
67
67
  var previousState = usePreviousValue({
68
- currentStep: stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep
68
+ currentStep: stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep
69
69
  });
70
70
  useRetrieveStepData({
71
71
  stepsContext: stepsContext,
@@ -80,18 +80,18 @@ var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
80
80
  // This useEffect reports back the onMount value so that they can be used
81
81
  // in the appropriate custom hooks.
82
82
  useEffect(function () {
83
- if (stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep) && (previousState === null || previousState === undefined ? undefined : previousState.currentStep) !== (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)) {
84
- stepsContext === null || stepsContext === undefined || stepsContext.setOnMount(onMount);
85
- stepsContext === null || stepsContext === undefined || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
83
+ if (stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep) && (previousState === null || previousState === void 0 ? void 0 : previousState.currentStep) !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
84
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnMount(onMount);
85
+ stepsContext === null || stepsContext === void 0 || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
86
86
  }
87
- }, [onMount, experimentalSecondarySubmit, stepsContext, stepNumber, previousState === null || previousState === undefined ? undefined : previousState.currentStep]);
87
+ }, [onMount, experimentalSecondarySubmit, stepsContext, stepNumber, previousState === null || previousState === void 0 ? void 0 : previousState.currentStep]);
88
88
 
89
89
  // Used to take the `includeStep` prop and use it as a local state value
90
90
  useEffect(function () {
91
91
  setShouldIncludeStep(includeStep);
92
92
  }, [includeStep, stepsContext, title]);
93
93
  var setFocusChildrenTabIndex = function setFocusChildrenTabIndex(childInputs, value) {
94
- if (childInputs !== null && childInputs !== undefined && childInputs.length) {
94
+ if (childInputs !== null && childInputs !== void 0 && childInputs.length) {
95
95
  childInputs.forEach(function (child) {
96
96
  child.tabIndex = value;
97
97
  });
@@ -102,25 +102,25 @@ var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
102
102
  // steps container context so that it can manage the 'Next' button appropriately.
103
103
  useEffect(function () {
104
104
  var focusElementQuery = "button, input, select, textarea, a";
105
- if (stepNumber !== (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)) {
105
+ if (stepNumber !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
106
106
  // Specify tab-index -1 for focusable elements not contained
107
107
  // in the current step so that the useFocus hook can exclude
108
108
  // from the focus trap
109
- var childInputs = stepRefValue === null || stepRefValue === undefined ? undefined : stepRefValue.querySelectorAll(focusElementQuery);
109
+ var childInputs = stepRefValue === null || stepRefValue === void 0 ? void 0 : stepRefValue.querySelectorAll(focusElementQuery);
110
110
  setFocusChildrenTabIndex(childInputs, -1);
111
111
  }
112
- if (stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)) {
112
+ if (stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)) {
113
113
  // Specify tab-index 0 for current step focusable elements
114
114
  // for the useFocus hook to know which elements to include
115
115
  // in focus trap
116
- var _childInputs = stepRefValue === null || stepRefValue === undefined ? undefined : stepRefValue.querySelectorAll(focusElementQuery);
116
+ var _childInputs = stepRefValue === null || stepRefValue === void 0 ? void 0 : stepRefValue.querySelectorAll(focusElementQuery);
117
117
  setFocusChildrenTabIndex(_childInputs, 0);
118
118
  stepsContext.setIsDisabled(!!disableSubmit);
119
- stepsContext === null || stepsContext === undefined || stepsContext.setOnNext(onNext); // needs to be updated here otherwise there could be stale state values from only initially setting onNext
120
- stepsContext === null || stepsContext === undefined || stepsContext.setOnPrevious(onPrevious);
119
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnNext(onNext); // needs to be updated here otherwise there could be stale state values from only initially setting onNext
120
+ stepsContext === null || stepsContext === void 0 || stepsContext.setOnPrevious(onPrevious);
121
121
 
122
122
  //Handle props for experimentalSecondarySubmit button, depending on state change
123
- stepsContext === null || stepsContext === undefined || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
123
+ stepsContext === null || stepsContext === void 0 || stepsContext.setExperimentalSecondarySubmit(experimentalSecondarySubmit);
124
124
  }
125
125
  }, [stepsContext, stepNumber, disableSubmit, onNext, onPrevious, stepRef, stepRefValue, experimentalSecondarySubmit]);
126
126
  var renderDescription = function renderDescription() {
@@ -141,7 +141,7 @@ var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
141
141
  return stepsContext ? /*#__PURE__*/React__default.createElement("div", {
142
142
  ref: stepRef
143
143
  }, /*#__PURE__*/React__default.createElement(Grid, _extends({}, rest, {
144
- className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__step--hidden-step"), stepNumber !== (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)), "".concat(blockClass, "__step--visible-step"), stepNumber === (stepsContext === null || stepsContext === undefined ? undefined : stepsContext.currentStep)))
144
+ className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__step--hidden-step"), stepNumber !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)), "".concat(blockClass, "__step--visible-step"), stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)))
145
145
  }), /*#__PURE__*/React__default.createElement(Column, {
146
146
  xlg: 12,
147
147
  lg: 12,
@@ -64,7 +64,7 @@ var CreateTearsheetNarrow = /*#__PURE__*/React__default.forwardRef(function (_re
64
64
  open: open,
65
65
  ref: ref,
66
66
  onClose: function onClose() {
67
- onRequestClose === null || onRequestClose === undefined || onRequestClose();
67
+ onRequestClose === null || onRequestClose === void 0 || onRequestClose();
68
68
  return false;
69
69
  },
70
70
  label: label,