@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
@@ -36,32 +36,32 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
36
36
  var overflowTagContent = React.useRef(null);
37
37
  useClickOutside.useClickOutside(ref || localRef, function () {
38
38
  if (popoverOpen) {
39
- setPopoverOpen === null || setPopoverOpen === undefined || setPopoverOpen(false);
39
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
40
40
  }
41
41
  });
42
42
  var handleShowAllTagsClick = function handleShowAllTagsClick(evt) {
43
43
  evt.stopPropagation();
44
44
  evt.preventDefault();
45
- setPopoverOpen === null || setPopoverOpen === undefined || setPopoverOpen(false);
46
- onShowAllClick === null || onShowAllClick === undefined || onShowAllClick();
45
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
46
+ onShowAllClick === null || onShowAllClick === void 0 || onShowAllClick();
47
47
  };
48
48
  var handleEscKeyPress = function handleEscKeyPress(evt) {
49
49
  var key = evt.key;
50
50
  if (key === 'Escape') {
51
- setPopoverOpen === null || setPopoverOpen === undefined || setPopoverOpen(false);
51
+ setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
52
52
  }
53
53
  };
54
54
  var getOverflowPopoverItems = function getOverflowPopoverItems() {
55
- var thresh = allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== undefined ? allTagsModalSearchThreshold : 0;
56
- return overflowTags === null || overflowTags === undefined ? undefined : overflowTags.filter(function (_, index) {
57
- return (overflowTags === null || overflowTags === undefined ? undefined : overflowTags.length) > thresh ? index < thresh : index <= thresh;
55
+ var thresh = allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== void 0 ? allTagsModalSearchThreshold : 0;
56
+ return overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.filter(function (_, index) {
57
+ return (overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) > thresh ? index < thresh : index <= thresh;
58
58
  });
59
59
  };
60
60
  var visibleItems = getOverflowPopoverItems();
61
- var hasItems = (visibleItems === null || visibleItems === undefined ? undefined : visibleItems.length) > 0;
61
+ var hasItems = (visibleItems === null || visibleItems === void 0 ? void 0 : visibleItems.length) > 0;
62
62
  return /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, rest, {
63
- "aria-hidden": (overflowTags === null || overflowTags === undefined ? undefined : overflowTags.length) === 0,
64
- className: cx(blockClass, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), (overflowTags === null || overflowTags === undefined ? undefined : overflowTags.length) === 0)),
63
+ "aria-hidden": (overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) === 0,
64
+ className: cx(blockClass, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), (overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) === 0)),
65
65
  ref: ref || localRef
66
66
  }), /*#__PURE__*/React.createElement(react.Popover, {
67
67
  align: overflowAlign,
@@ -73,7 +73,7 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
73
73
  open: popoverOpen || false
74
74
  }, /*#__PURE__*/React.createElement(react.OperationalTag, {
75
75
  onClick: function onClick() {
76
- return setPopoverOpen === null || setPopoverOpen === undefined ? undefined : setPopoverOpen(!popoverOpen);
76
+ return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
77
77
  },
78
78
  className: cx("".concat(blockClass, "__trigger")),
79
79
  text: "+".concat(overflowTags.length)
@@ -95,7 +95,7 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
95
95
  if (isFilterable) {
96
96
  tag = /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
97
97
  onClose: function onClose() {
98
- return _onClose === null || _onClose === undefined ? undefined : _onClose();
98
+ return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
99
99
  },
100
100
  type: typeValue,
101
101
  text: label
@@ -109,7 +109,7 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
109
109
  className: cx("".concat(blockClass, "__tag-item"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
110
110
  key: id
111
111
  }, overflowType === 'tag' ? tag : label);
112
- })), ((_overflowTags$length = overflowTags === null || overflowTags === undefined ? undefined : overflowTags.length) !== null && _overflowTags$length !== undefined ? _overflowTags$length : 0) > (allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== undefined ? allTagsModalSearchThreshold : 0) && /*#__PURE__*/React.createElement(react.Link, {
112
+ })), ((_overflowTags$length = overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) !== null && _overflowTags$length !== void 0 ? _overflowTags$length : 0) > (allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== void 0 ? allTagsModalSearchThreshold : 0) && /*#__PURE__*/React.createElement(react.Link, {
113
113
  className: "".concat(blockClass, "__show-all-tags-link"),
114
114
  href: "",
115
115
  onClick: handleShowAllTagsClick,
@@ -33,33 +33,33 @@ var defaults = {
33
33
  };
34
34
  exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
35
35
  var _ref$align = _ref.align,
36
- align = _ref$align === undefined ? 'start' : _ref$align,
36
+ align = _ref$align === void 0 ? 'start' : _ref$align,
37
37
  allTagsModalTarget = _ref.allTagsModalTarget,
38
38
  className = _ref.className,
39
39
  maxVisible = _ref.maxVisible,
40
40
  multiline = _ref.multiline,
41
41
  overflowAutoAlign = _ref.overflowAutoAlign,
42
42
  _ref$overflowAlign = _ref.overflowAlign,
43
- overflowAlign = _ref$overflowAlign === undefined ? 'bottom' : _ref$overflowAlign,
43
+ overflowAlign = _ref$overflowAlign === void 0 ? 'bottom' : _ref$overflowAlign,
44
44
  overflowClassName = _ref.overflowClassName,
45
45
  _ref$overflowType = _ref.overflowType,
46
- overflowType = _ref$overflowType === undefined ? 'default' : _ref$overflowType,
46
+ overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
47
47
  allTagsModalAriaLabel = _ref.allTagsModalAriaLabel,
48
48
  _ref$allTagsModalTitl = _ref.allTagsModalTitle,
49
- allTagsModalTitle = _ref$allTagsModalTitl === undefined ? 'All tags' : _ref$allTagsModalTitl,
49
+ allTagsModalTitle = _ref$allTagsModalTitl === void 0 ? 'All tags' : _ref$allTagsModalTitl,
50
50
  _ref$allTagsModalSear = _ref.allTagsModalSearchLabel,
51
- allTagsModalSearchLabel = _ref$allTagsModalSear === undefined ? 'Search all tags' : _ref$allTagsModalSear,
51
+ allTagsModalSearchLabel = _ref$allTagsModalSear === void 0 ? 'Search all tags' : _ref$allTagsModalSear,
52
52
  _ref$allTagsModalSear2 = _ref.allTagsModalSearchPlaceholderText,
53
- allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === undefined ? 'Search all tags' : _ref$allTagsModalSear2,
53
+ allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === void 0 ? 'Search all tags' : _ref$allTagsModalSear2,
54
54
  _ref$showAllTagsLabel = _ref.showAllTagsLabel,
55
- showAllTagsLabel = _ref$showAllTagsLabel === undefined ? 'View all tags' : _ref$showAllTagsLabel,
55
+ showAllTagsLabel = _ref$showAllTagsLabel === void 0 ? 'View all tags' : _ref$showAllTagsLabel,
56
56
  onOverflowClick = _ref.onOverflowClick,
57
57
  tags = _ref.tags,
58
58
  containingElementRef = _ref.containingElementRef,
59
59
  _ref$measurementOffse = _ref.measurementOffset,
60
- measurementOffset = _ref$measurementOffse === undefined ? defaults.measurementOffset : _ref$measurementOffse,
60
+ measurementOffset = _ref$measurementOffse === void 0 ? defaults.measurementOffset : _ref$measurementOffse,
61
61
  _ref$onOverflowTagCha = _ref.onOverflowTagChange,
62
- onOverflowTagChange = _ref$onOverflowTagCha === undefined ? defaults.onOverflowTagChange : _ref$onOverflowTagCha,
62
+ onOverflowTagChange = _ref$onOverflowTagCha === void 0 ? defaults.onOverflowTagChange : _ref$onOverflowTagCha,
63
63
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
64
64
  var _useState = React.useState(3),
65
65
  _useState2 = _rollupPluginBabelHelpers.slicedToArray(_useState, 2),
@@ -98,7 +98,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
98
98
  setShowAllModalOpen(true);
99
99
  };
100
100
  React.useEffect(function () {
101
- var maxCount = maxVisible || (tags === null || tags === undefined ? undefined : tags.length) || 0;
101
+ var maxCount = maxVisible || (tags === null || tags === void 0 ? void 0 : tags.length) || 0;
102
102
  setMaxVisibleCount(maxCount);
103
103
  }, [maxVisible, tags]);
104
104
  React.useEffect(function () {
@@ -129,7 +129,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
129
129
  setSizingTags(newSizingTags);
130
130
  }, [tags]);
131
131
  var handleTagOnClose = React.useCallback(function (onClose, index) {
132
- onClose === null || onClose === undefined || onClose();
132
+ onClose === null || onClose === void 0 || onClose();
133
133
  if (index <= displayCount - 1) {
134
134
  setPopoverOpen(false);
135
135
  }
@@ -185,7 +185,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
185
185
  onOverflowClick: onOverflowClick,
186
186
  setPopoverOpen: setPopoverOpen
187
187
  }));
188
- onOverflowTagChange === null || onOverflowTagChange === undefined || onOverflowTagChange(newOverflowTags);
188
+ onOverflowTagChange === null || onOverflowTagChange === void 0 || onOverflowTagChange(newOverflowTags);
189
189
  setDisplayedTags(newDisplayedTags);
190
190
  }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, onOverflowClick, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
191
191
  var checkFullyVisibleTags = React.useCallback(function () {
@@ -196,12 +196,12 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
196
196
  // how many will fit?
197
197
  var willFit = 0;
198
198
  if (sizingTags.length > 0) {
199
- var optionalContainingElement = typeof containingElementRef !== 'function' && (containingElementRef === null || containingElementRef === undefined ? undefined : containingElementRef.current);
199
+ var optionalContainingElement = typeof containingElementRef !== 'function' && (containingElementRef === null || containingElementRef === void 0 ? void 0 : containingElementRef.current);
200
200
  var measurementOffsetValue = typeof measurementOffset === 'number' ? measurementOffset : 0;
201
- var spaceAvailable = optionalContainingElement ? optionalContainingElement.offsetWidth - measurementOffsetValue : tagSetRef === null || tagSetRef === undefined ? undefined : tagSetRef['current'].offsetWidth;
201
+ var spaceAvailable = optionalContainingElement ? optionalContainingElement.offsetWidth - measurementOffsetValue : tagSetRef === null || tagSetRef === void 0 ? void 0 : tagSetRef['current'].offsetWidth;
202
202
  for (var i in sizingTags) {
203
203
  var _sizingTags$i;
204
- var tagWidth = ((_sizingTags$i = sizingTags[i]) === null || _sizingTags$i === undefined ? undefined : _sizingTags$i.offsetWidth) || 0;
204
+ var tagWidth = ((_sizingTags$i = sizingTags[i]) === null || _sizingTags$i === void 0 ? void 0 : _sizingTags$i.offsetWidth) || 0;
205
205
  if (spaceAvailable >= tagWidth) {
206
206
  spaceAvailable -= tagWidth;
207
207
  willFit += 1;
@@ -33,12 +33,12 @@ var TagSetModal = function TagSetModal(_ref) {
33
33
  className = _ref.className,
34
34
  title = _ref.title,
35
35
  _ref$modalAriaLabel = _ref.modalAriaLabel,
36
- modalAriaLabel = _ref$modalAriaLabel === undefined ? defaults.modalAriaLabel : _ref$modalAriaLabel,
36
+ modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
37
37
  onClose = _ref.onClose,
38
38
  open = _ref.open,
39
39
  portalTargetIn = _ref.portalTarget,
40
40
  _ref$searchLabel = _ref.searchLabel,
41
- searchLabel = _ref$searchLabel === undefined ? defaults.searchLabel : _ref$searchLabel,
41
+ searchLabel = _ref$searchLabel === void 0 ? defaults.searchLabel : _ref$searchLabel,
42
42
  searchPlaceholder = _ref.searchPlaceholder,
43
43
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
44
44
  var _useState = React.useState([]),
@@ -54,13 +54,13 @@ var TagSetModal = function TagSetModal(_ref) {
54
54
  var newFilteredModalTags = [];
55
55
  if (open) {
56
56
  if (search === '' && allTags) {
57
- newFilteredModalTags = allTags === null || allTags === undefined ? undefined : allTags.slice(0);
57
+ newFilteredModalTags = allTags === null || allTags === void 0 ? void 0 : allTags.slice(0);
58
58
  } else {
59
59
  var lCaseSearch = search.toLocaleLowerCase();
60
- allTags === null || allTags === undefined || allTags.forEach(function (tag) {
60
+ allTags === null || allTags === void 0 || allTags.forEach(function (tag) {
61
61
  var _tag$dataSearch, _tag$label;
62
- var dataSearch = (_tag$dataSearch = tag['data-search']) === null || _tag$dataSearch === undefined || (_tag$dataSearch = _tag$dataSearch.toLocaleLowerCase()) === null || _tag$dataSearch === undefined ? undefined : _tag$dataSearch.indexOf(lCaseSearch);
63
- var labelSearch = (_tag$label = tag.label) === null || _tag$label === undefined || (_tag$label = _tag$label.toLocaleLowerCase()) === null || _tag$label === undefined ? undefined : _tag$label.indexOf(lCaseSearch);
62
+ var dataSearch = (_tag$dataSearch = tag['data-search']) === null || _tag$dataSearch === void 0 || (_tag$dataSearch = _tag$dataSearch.toLocaleLowerCase()) === null || _tag$dataSearch === void 0 ? void 0 : _tag$dataSearch.indexOf(lCaseSearch);
63
+ var labelSearch = (_tag$label = tag.label) === null || _tag$label === void 0 || (_tag$label = _tag$label.toLocaleLowerCase()) === null || _tag$label === void 0 ? void 0 : _tag$label.indexOf(lCaseSearch);
64
64
  if (dataSearch > -1 || labelSearch > -1) {
65
65
  newFilteredModalTags.push(tag);
66
66
  }
@@ -25,18 +25,18 @@ var defaults = {
25
25
  };
26
26
  var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
27
27
  var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
28
- allTagsModalSearchThreshold = _ref$allTagsModalSear === undefined ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
28
+ allTagsModalSearchThreshold = _ref$allTagsModalSear === void 0 ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
29
29
  onOverflowClick = _ref.onOverflowClick,
30
30
  className = _ref.className,
31
31
  onShowAllClick = _ref.onShowAllClick,
32
32
  _ref$overflowAlign = _ref.overflowAlign,
33
- overflowAlign = _ref$overflowAlign === undefined ? 'bottom' : _ref$overflowAlign,
33
+ overflowAlign = _ref$overflowAlign === void 0 ? 'bottom' : _ref$overflowAlign,
34
34
  overflowAutoAlign = _ref.overflowAutoAlign,
35
35
  overflowTags = _ref.overflowTags,
36
36
  overflowType = _ref.overflowType,
37
37
  showAllTagsLabel = _ref.showAllTagsLabel,
38
38
  _ref$popoverOpen = _ref.popoverOpen,
39
- popoverOpen = _ref$popoverOpen === undefined ? false : _ref$popoverOpen,
39
+ popoverOpen = _ref$popoverOpen === void 0 ? false : _ref$popoverOpen,
40
40
  setPopoverOpen = _ref.setPopoverOpen,
41
41
  size = _ref.size,
42
42
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
@@ -42,9 +42,9 @@ var componentName = 'Tearsheet';
42
42
  */
43
43
  exports.Tearsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
44
44
  var _ref$influencerPositi = _ref.influencerPosition,
45
- influencerPosition = _ref$influencerPositi === undefined ? 'left' : _ref$influencerPositi,
45
+ influencerPosition = _ref$influencerPositi === void 0 ? 'left' : _ref$influencerPositi,
46
46
  _ref$influencerWidth = _ref.influencerWidth,
47
- influencerWidth = _ref$influencerWidth === undefined ? 'narrow' : _ref$influencerWidth,
47
+ influencerWidth = _ref$influencerWidth === void 0 ? 'narrow' : _ref$influencerWidth,
48
48
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
49
49
  return /*#__PURE__*/React.createElement(TearsheetShell.TearsheetShell, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, devtools.getDevtoolsProps(componentName)), rest), {}, {
50
50
  influencerPosition: influencerPosition,
@@ -38,7 +38,7 @@ var defaults = {
38
38
 
39
39
  exports.TearsheetNarrow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
40
40
  var _ref$verticalPosition = _ref.verticalPosition,
41
- verticalPosition = _ref$verticalPosition === undefined ? defaults.verticalPosition : _ref$verticalPosition,
41
+ verticalPosition = _ref$verticalPosition === void 0 ? defaults.verticalPosition : _ref$verticalPosition,
42
42
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
43
43
  return /*#__PURE__*/React.createElement(TearsheetShell.TearsheetShell, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, devtools.getDevtoolsProps(componentName)), propsHelper.prepareProps(rest, TearsheetShell.tearsheetShellWideProps)), {}, {
44
44
  verticalPosition: verticalPosition,
@@ -52,10 +52,10 @@ var stack = {
52
52
  // these props are only applicable when size='wide'
53
53
  var tearsheetShellWideProps = ['headerActions', 'influencer', 'influencerPosition', 'influencerWidth', 'navigation'];
54
54
  var tearsheetIsPassive = function tearsheetIsPassive(actions) {
55
- return !actions || !(actions !== null && actions !== undefined && actions.length);
55
+ return !actions || !(actions !== null && actions !== void 0 && actions.length);
56
56
  };
57
57
  var tearsheetHasCloseIcon = function tearsheetHasCloseIcon(actions, hasCloseIcon) {
58
- return hasCloseIcon !== null && hasCloseIcon !== undefined ? hasCloseIcon : tearsheetIsPassive(actions);
58
+ return hasCloseIcon !== null && hasCloseIcon !== void 0 ? hasCloseIcon : tearsheetIsPassive(actions);
59
59
  };
60
60
 
61
61
  /**
@@ -72,7 +72,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
72
72
  children = _ref.children,
73
73
  className = _ref.className,
74
74
  _ref$closeIconDescrip = _ref.closeIconDescription,
75
- closeIconDescription = _ref$closeIconDescrip === undefined ? 'Close' : _ref$closeIconDescrip,
75
+ closeIconDescription = _ref$closeIconDescrip === void 0 ? 'Close' : _ref$closeIconDescrip,
76
76
  currentStep = _ref.currentStep,
77
77
  description = _ref.description,
78
78
  hasCloseIcon = _ref.hasCloseIcon,
@@ -88,7 +88,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
88
88
  portalTargetIn = _ref.portalTarget,
89
89
  selectorPrimaryFocus = _ref.selectorPrimaryFocus,
90
90
  _ref$selectorsFloatin = _ref.selectorsFloatingMenus,
91
- selectorsFloatingMenus = _ref$selectorsFloatin === undefined ? [] : _ref$selectorsFloatin,
91
+ selectorsFloatingMenus = _ref$selectorsFloatin === void 0 ? [] : _ref$selectorsFloatin,
92
92
  size = _ref.size,
93
93
  deprecated_slug = _ref.slug,
94
94
  title = _ref.title,
@@ -221,7 +221,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
221
221
  var includeHeader = label || title || description || headerActions || navigation || effectiveHasCloseIcon;
222
222
 
223
223
  // Include an ActionSet if and only if one or more actions is given.
224
- var includeActions = actions && (actions === null || actions === undefined ? undefined : actions.length) > 0;
224
+ var includeActions = actions && (actions === null || actions === void 0 ? void 0 : actions.length) > 0;
225
225
  var _areAllSameSizeVariant = function _areAllSameSizeVariant() {
226
226
  return new Set(stack.sizes).size === 1;
227
227
  };
@@ -231,7 +231,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
231
231
  "aria-label": ariaLabel || getNodeTextContent.getNodeTextContent(title),
232
232
  className: cx(bc, className, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "--stacked-").concat(position, "-of-").concat(depth),
233
233
  // Don't apply this on the initial open of a single tearsheet.
234
- depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth === undefined ? undefined : prevDepth.current) !== null && _prevDepth$current !== undefined ? _prevDepth$current : 0) > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide), "".concat(bc, "--has-slug"), deprecated_slug), "".concat(bc, "--has-ai-label"), !!decorator && ((_decorator$type = decorator['type']) === null || _decorator$type === undefined ? undefined : _decorator$type.displayName) === 'AILabel'), "".concat(bc, "--has-decorator"), !!decorator && ((_decorator$type2 = decorator['type']) === null || _decorator$type2 === undefined ? undefined : _decorator$type2.displayName) !== 'AILabel'), "".concat(bc, "--has-close"), effectiveHasCloseIcon)),
234
+ depth > 1 || depth === 1 && ((_prevDepth$current = prevDepth === null || prevDepth === void 0 ? void 0 : prevDepth.current) !== null && _prevDepth$current !== void 0 ? _prevDepth$current : 0) > 1), "".concat(bc, "--wide"), wide), "".concat(bc, "--narrow"), !wide), "".concat(bc, "--has-slug"), deprecated_slug), "".concat(bc, "--has-ai-label"), !!decorator && ((_decorator$type = decorator['type']) === null || _decorator$type === void 0 ? void 0 : _decorator$type.displayName) === 'AILabel'), "".concat(bc, "--has-decorator"), !!decorator && ((_decorator$type2 = decorator['type']) === null || _decorator$type2 === void 0 ? void 0 : _decorator$type2.displayName) !== 'AILabel'), "".concat(bc, "--has-close"), effectiveHasCloseIcon)),
235
235
  decorator: decorator || deprecated_slug,
236
236
  containerClassName: cx("".concat(bc, "__container"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(bc, "__container--lower"), verticalPosition === 'lower'), "".concat(bc, "__container--mixed-size-stacking"), !_areAllSameSizeVariant())),
237
237
  onClose: onClose,
@@ -38,10 +38,10 @@ exports.Toolbar = /*#__PURE__*/React.forwardRef(function (_ref, r) {
38
38
  focus = _useState2[0],
39
39
  setFocus = _useState2[1];
40
40
  React.useEffect(function () {
41
- focusableElements.current = getFocusableElements.getFocusableElements(ref === null || ref === undefined ? undefined : ref['current']);
41
+ focusableElements.current = getFocusableElements.getFocusableElements(ref === null || ref === void 0 ? void 0 : ref['current']);
42
42
  if (focus !== -1) {
43
43
  var _getFocusableElements2;
44
- (_getFocusableElements2 = getFocusableElements$1()) === null || _getFocusableElements2 === undefined || _getFocusableElements2.forEach(function (element, index) {
44
+ (_getFocusableElements2 = getFocusableElements$1()) === null || _getFocusableElements2 === void 0 || _getFocusableElements2.forEach(function (element, index) {
45
45
  element[index !== focus ? 'setAttribute' : 'removeAttribute']('tabindex', '-1');
46
46
  });
47
47
  }
@@ -49,7 +49,7 @@ exports.Toolbar = /*#__PURE__*/React.forwardRef(function (_ref, r) {
49
49
  React.useEffect(function () {
50
50
  if (focus !== -1) {
51
51
  var _getFocusableElements3;
52
- (_getFocusableElements3 = getFocusableElements$1()) === null || _getFocusableElements3 === undefined || _getFocusableElements3[focus].focus();
52
+ (_getFocusableElements3 = getFocusableElements$1()) === null || _getFocusableElements3 === void 0 || _getFocusableElements3[focus].focus();
53
53
  }
54
54
  }, [focus, getFocusableElements$1]);
55
55
  var _ref2 = !vertical ? ['ArrowRight', 'ArrowLeft'] : ['ArrowDown', 'ArrowUp'],
@@ -59,14 +59,14 @@ exports.Toolbar = /*#__PURE__*/React.forwardRef(function (_ref, r) {
59
59
  function onArrowDown(increment) {
60
60
  var _getFocusableElements4;
61
61
  var nextFocus = focus + increment;
62
- if ((_getFocusableElements4 = getFocusableElements$1()) !== null && _getFocusableElements4 !== undefined && _getFocusableElements4[nextFocus]) {
62
+ if ((_getFocusableElements4 = getFocusableElements$1()) !== null && _getFocusableElements4 !== void 0 && _getFocusableElements4[nextFocus]) {
63
63
  setFocus(nextFocus);
64
64
  }
65
65
  }
66
66
  function onFocus(_ref4) {
67
67
  var target = _ref4.target;
68
68
  var elements = getFocusableElements$1();
69
- if (elements !== null && elements !== undefined && elements.includes(target)) {
69
+ if (elements !== null && elements !== void 0 && elements.includes(target)) {
70
70
  setFocus(elements.indexOf(target));
71
71
  }
72
72
  }
@@ -74,7 +74,7 @@ exports.Toolbar = /*#__PURE__*/React.forwardRef(function (_ref, r) {
74
74
  var _getFocusableElements5;
75
75
  var key = _ref5.key,
76
76
  target = _ref5.target;
77
- if ((_getFocusableElements5 = getFocusableElements$1()) !== null && _getFocusableElements5 !== undefined && _getFocusableElements5.includes(target)) {
77
+ if ((_getFocusableElements5 = getFocusableElements$1()) !== null && _getFocusableElements5 !== void 0 && _getFocusableElements5.includes(target)) {
78
78
  switch (key) {
79
79
  case arrowNext:
80
80
  onArrowDown(1);
@@ -21,19 +21,19 @@ var blockClass = "".concat(Toolbar.blockClass, "__button");
21
21
  exports.ToolbarButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
22
22
  var _useContext;
23
23
  var _ref$caret = _ref.caret,
24
- caret = _ref$caret === undefined ? false : _ref$caret,
24
+ caret = _ref$caret === void 0 ? false : _ref$caret,
25
25
  children = _ref.children,
26
26
  className = _ref.className,
27
27
  renderIcon = _ref.renderIcon,
28
28
  _ref$iconDescription = _ref.iconDescription,
29
- deprecated_iconDescription = _ref$iconDescription === undefined ? '' : _ref$iconDescription,
29
+ deprecated_iconDescription = _ref$iconDescription === void 0 ? '' : _ref$iconDescription,
30
30
  label = _ref.label,
31
31
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
32
32
  var Icon = renderIcon;
33
33
  return /*#__PURE__*/React.createElement(react.IconButton, _rollupPluginBabelHelpers.extends({
34
- align: (_useContext = React.useContext(Toolbar.ToolbarContext)) !== null && _useContext !== undefined && _useContext.vertical ? 'right' : 'top'
34
+ align: (_useContext = React.useContext(Toolbar.ToolbarContext)) !== null && _useContext !== void 0 && _useContext.vertical ? 'right' : 'top'
35
35
  }, rest, {
36
- label: label !== null && label !== undefined ? label : deprecated_iconDescription,
36
+ label: label !== null && label !== void 0 ? label : deprecated_iconDescription,
37
37
  ref: ref,
38
38
  className: cx(className, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--caret"), caret)),
39
39
  kind: "ghost",
@@ -40,18 +40,18 @@ exports.TruncatedList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
40
40
  var children = _ref.children,
41
41
  className = _ref.className,
42
42
  _ref$as = _ref.as,
43
- List = _ref$as === undefined ? defaults.as : _ref$as,
43
+ List = _ref$as === void 0 ? defaults.as : _ref$as,
44
44
  buttonClassName = _ref.buttonClassName,
45
45
  _ref$collapsedItemsLi = _ref.collapsedItemsLimit,
46
- collapsedItemsLimit = _ref$collapsedItemsLi === undefined ? defaults.collapsedItemsLimit : _ref$collapsedItemsLi,
46
+ collapsedItemsLimit = _ref$collapsedItemsLi === void 0 ? defaults.collapsedItemsLimit : _ref$collapsedItemsLi,
47
47
  _ref$expandedItemsLim = _ref.expandedItemsLimit,
48
- expandedItemsLimit = _ref$expandedItemsLim === undefined ? defaults.expandedItemsLimit : _ref$expandedItemsLim,
48
+ expandedItemsLimit = _ref$expandedItemsLim === void 0 ? defaults.expandedItemsLimit : _ref$expandedItemsLim,
49
49
  _ref$onClick = _ref.onClick,
50
- onClick = _ref$onClick === undefined ? defaults.onClick : _ref$onClick,
50
+ onClick = _ref$onClick === void 0 ? defaults.onClick : _ref$onClick,
51
51
  _ref$viewLessLabel = _ref.viewLessLabel,
52
- viewLessLabel = _ref$viewLessLabel === undefined ? defaults.viewLessLabel : _ref$viewLessLabel,
52
+ viewLessLabel = _ref$viewLessLabel === void 0 ? defaults.viewLessLabel : _ref$viewLessLabel,
53
53
  _ref$viewMoreLabel = _ref.viewMoreLabel,
54
- viewMoreLabel = _ref$viewMoreLabel === undefined ? defaults.viewMoreLabel : _ref$viewMoreLabel,
54
+ viewMoreLabel = _ref$viewMoreLabel === void 0 ? defaults.viewMoreLabel : _ref$viewMoreLabel,
55
55
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
56
56
  var childrenArray = React.Children.toArray(children);
57
57
  // Exception handling: minimum number of items is 1.
@@ -88,13 +88,13 @@ exports.TruncatedList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
88
88
  if (listRef && childrenArray.length > 0) {
89
89
  var _listRef$current;
90
90
  var numItemsToShow = isCollapsed ? minItems : maxItems;
91
- var items = (_listRef$current = listRef.current) === null || _listRef$current === undefined ? undefined : _listRef$current.childNodes;
91
+ var items = (_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.childNodes;
92
92
  var _listHeight = 0;
93
93
  for (var index = 0; index < numItemsToShow; index++) {
94
94
  if (items && items[index]) {
95
95
  var _window;
96
96
  var itemElement = items[index];
97
- var height = ((_window = window) === null || _window === undefined || (_window = _window.getComputedStyle(itemElement)) === null || _window === undefined ? undefined : _window.height) || '16';
97
+ var height = ((_window = window) === null || _window === void 0 || (_window = _window.getComputedStyle(itemElement)) === null || _window === void 0 ? void 0 : _window.height) || '16';
98
98
  _listHeight += parseInt(height);
99
99
  }
100
100
  }
@@ -34,17 +34,17 @@ var componentName = 'UserAvatar';
34
34
 
35
35
  exports.UserAvatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
36
36
  var _ref$backgroundColor = _ref.backgroundColor,
37
- backgroundColor = _ref$backgroundColor === undefined ? 'order-1-cyan' : _ref$backgroundColor,
37
+ backgroundColor = _ref$backgroundColor === void 0 ? 'order-1-cyan' : _ref$backgroundColor,
38
38
  className = _ref.className,
39
39
  image = _ref.image,
40
40
  imageDescription = _ref.imageDescription,
41
41
  name = _ref.name,
42
42
  RenderIcon = _ref.renderIcon,
43
43
  _ref$size = _ref.size,
44
- size = _ref$size === undefined ? 'md' : _ref$size,
44
+ size = _ref$size === void 0 ? 'md' : _ref$size,
45
45
  tooltipText = _ref.tooltipText,
46
46
  _ref$tooltipAlignment = _ref.tooltipAlignment,
47
- tooltipAlignment = _ref$tooltipAlignment === undefined ? 'bottom' : _ref$tooltipAlignment,
47
+ tooltipAlignment = _ref$tooltipAlignment === void 0 ? 'bottom' : _ref$tooltipAlignment,
48
48
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
49
49
  var carbonPrefix = react.usePrefix();
50
50
  var iconSize = {
@@ -55,7 +55,7 @@ exports.UserAvatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
55
55
  };
56
56
  var formatInitials = function formatInitials() {
57
57
  var _ref2;
58
- var parts = (name === null || name === undefined ? undefined : name.split(' ')) || [];
58
+ var parts = (name === null || name === void 0 ? void 0 : name.split(' ')) || [];
59
59
  var firstChar = parts[0].charAt(0).toUpperCase();
60
60
  var secondChar = parts[0].charAt(1).toUpperCase();
61
61
  if (parts.length === 1) {
@@ -42,7 +42,7 @@ exports.UserProfileImage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
42
42
  theme = _ref.theme,
43
43
  tooltipText = _ref.tooltipText,
44
44
  _ref$tooltipAlignment = _ref.tooltipAlignment,
45
- tooltipAlignment = _ref$tooltipAlignment === undefined ? 'bottom' : _ref$tooltipAlignment,
45
+ tooltipAlignment = _ref$tooltipAlignment === void 0 ? 'bottom' : _ref$tooltipAlignment,
46
46
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
47
47
  var carbonPrefix = react.usePrefix();
48
48
  var icons$1 = {
@@ -88,7 +88,7 @@ exports.UserProfileImage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
88
88
  }
89
89
  // RegEx takes in the display name and returns the first and last initials. Thomas Watson and Thomas J. Watson
90
90
  // both return JW.
91
- return ((_match = (initials || '').match(/(^\S\S?|\b\S)?/g)) === null || _match === undefined || (_match = _match.join('').match(/(^\S|\S$)?/g)) === null || _match === undefined ? undefined : _match.join('').toUpperCase()) || '';
91
+ return ((_match = (initials || '').match(/(^\S\S?|\b\S)?/g)) === null || _match === void 0 || (_match = _match.join('').match(/(^\S|\S$)?/g)) === null || _match === void 0 ? void 0 : _match.join('').toUpperCase()) || '';
92
92
  };
93
93
  var getFillItem = function getFillItem() {
94
94
  if (image) {
@@ -37,21 +37,21 @@ var defaults = {
37
37
  */
38
38
  exports.WebTerminal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
39
39
  var _ref$actions = _ref.actions,
40
- actions = _ref$actions === undefined ? defaults.actions : _ref$actions,
40
+ actions = _ref$actions === void 0 ? defaults.actions : _ref$actions,
41
41
  children = _ref.children,
42
42
  className = _ref.className,
43
43
  closeIconDescription = _ref.closeIconDescription,
44
44
  _ref$documentationLin = _ref.documentationLinks,
45
- documentationLinks = _ref$documentationLin === undefined ? defaults.documentationLinks : _ref$documentationLin,
45
+ documentationLinks = _ref$documentationLin === void 0 ? defaults.documentationLinks : _ref$documentationLin,
46
46
  _ref$documentationLin2 = _ref.documentationLinksIconDescription,
47
- documentationLinksIconDescription = _ref$documentationLin2 === undefined ? defaults.documentationLinksIconDescription : _ref$documentationLin2,
47
+ documentationLinksIconDescription = _ref$documentationLin2 === void 0 ? defaults.documentationLinksIconDescription : _ref$documentationLin2,
48
48
  _ref$isInitiallyOpen = _ref.isInitiallyOpen,
49
- isInitiallyOpen = _ref$isInitiallyOpen === undefined ? defaults.isInitiallyOpen : _ref$isInitiallyOpen,
49
+ isInitiallyOpen = _ref$isInitiallyOpen === void 0 ? defaults.isInitiallyOpen : _ref$isInitiallyOpen,
50
50
  _ref$webTerminalAriaL = _ref.webTerminalAriaLabel,
51
- webTerminalAriaLabel = _ref$webTerminalAriaL === undefined ? defaults.webTerminalAriaLabel : _ref$webTerminalAriaL,
51
+ webTerminalAriaLabel = _ref$webTerminalAriaL === void 0 ? defaults.webTerminalAriaLabel : _ref$webTerminalAriaL,
52
52
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
53
53
  var localRef = React.useRef(null);
54
- var webTerminalRef = ref !== null && ref !== undefined ? ref : localRef;
54
+ var webTerminalRef = ref !== null && ref !== void 0 ? ref : localRef;
55
55
  var _useWebTerminal = index$1.useWebTerminal(),
56
56
  open = _useWebTerminal.open,
57
57
  closeWebTerminal = _useWebTerminal.closeWebTerminal,
@@ -75,7 +75,7 @@ exports.WebTerminal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
75
75
  */
76
76
  React.useEffect(function () {
77
77
  if (isInitiallyOpen) {
78
- openWebTerminal === null || openWebTerminal === undefined || openWebTerminal();
78
+ openWebTerminal === null || openWebTerminal === void 0 || openWebTerminal();
79
79
  }
80
80
  }, []); // eslint-disable-line
81
81
 
@@ -95,7 +95,7 @@ exports.WebTerminal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
95
95
  if (shouldReduceMotion) {
96
96
  setRender(false);
97
97
  }
98
- closeWebTerminal === null || closeWebTerminal === undefined || closeWebTerminal();
98
+ closeWebTerminal === null || closeWebTerminal === void 0 || closeWebTerminal();
99
99
  };
100
100
  return shouldRender ? /*#__PURE__*/React.createElement("div", _rollupPluginBabelHelpers.extends({}, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, rest), devtools.getDevtoolsProps(componentName)), {
101
101
  ref: webTerminalRef,
@@ -25,7 +25,7 @@ function useControllableState(value, onChange) {
25
25
  uncontrolledValue = _useState2[0],
26
26
  setUncontrolledValue = _useState2[1];
27
27
  var onControlledChange = React.useCallback(function (controlledValue) {
28
- onChange === null || onChange === undefined || onChange(controlledValue);
28
+ onChange === null || onChange === void 0 || onChange(controlledValue);
29
29
  }, [onChange]);
30
30
  if (typeof onChange === 'function') {
31
31
  return [value, onControlledChange];
@@ -44,7 +44,7 @@ var useCreateComponentFocus = function useCreateComponentFocus(_ref) {
44
44
  return _ref2.apply(this, arguments);
45
45
  };
46
46
  }();
47
- if ((previousState === null || previousState === undefined ? undefined : previousState.currentStep) !== currentStep && currentStep > 0) {
47
+ if ((previousState === null || previousState === void 0 ? void 0 : previousState.currentStep) !== currentStep && currentStep > 0) {
48
48
  if (firstFocusElement) {
49
49
  var elm = document.querySelector(firstFocusElement);
50
50
  if (elm) {
@@ -20,9 +20,9 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
20
20
  setCurrentStep = _ref.setCurrentStep,
21
21
  setIsSubmitting = _ref.setIsSubmitting,
22
22
  _ref$setLoadingPrevio = _ref.setLoadingPrevious,
23
- setLoadingPrevious = _ref$setLoadingPrevio === undefined ? null : _ref$setLoadingPrevio,
23
+ setLoadingPrevious = _ref$setLoadingPrevio === void 0 ? null : _ref$setLoadingPrevio,
24
24
  _ref$loadingPrevious = _ref.loadingPrevious,
25
- loadingPrevious = _ref$loadingPrevious === undefined ? false : _ref$loadingPrevious,
25
+ loadingPrevious = _ref$loadingPrevious === void 0 ? false : _ref$loadingPrevious,
26
26
  onClose = _ref.onClose,
27
27
  onRequestSubmit = _ref.onRequestSubmit,
28
28
  componentName = _ref.componentName,
@@ -46,7 +46,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
46
46
  do {
47
47
  var _stepData;
48
48
  prev++;
49
- } while (!((_stepData = stepData[prev - 1]) !== null && _stepData !== undefined && _stepData.shouldIncludeStep));
49
+ } while (!((_stepData = stepData[prev - 1]) !== null && _stepData !== void 0 && _stepData.shouldIncludeStep));
50
50
  return prev;
51
51
  });
52
52
  }, [setCurrentStep, setIsSubmitting, stepData]);
@@ -61,7 +61,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
61
61
  do {
62
62
  var _stepData2;
63
63
  prev--;
64
- } while (!((_stepData2 = stepData[prev - 1]) !== null && _stepData2 !== undefined && _stepData2.shouldIncludeStep));
64
+ } while (!((_stepData2 = stepData[prev - 1]) !== null && _stepData2 !== void 0 && _stepData2.shouldIncludeStep));
65
65
  return prev;
66
66
  });
67
67
  }, [setCurrentStep, stepData, setLoadingPrevious, componentName]);
@@ -107,7 +107,7 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
107
107
  return _rollupPluginBabelHelpers.regeneratorRuntime().wrap(function _callee2$(_context2) {
108
108
  while (1) switch (_context2.prev = _context2.next) {
109
109
  case 0:
110
- setLoadingPrevious === null || setLoadingPrevious === undefined || setLoadingPrevious(true);
110
+ setLoadingPrevious === null || setLoadingPrevious === void 0 || setLoadingPrevious(true);
111
111
  if (!(typeof onPrevious === 'function')) {
112
112
  _context2.next = 13;
113
113
  break;
@@ -217,13 +217,13 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
217
217
  };
218
218
  }();
219
219
  var handleExperimentalSecondarySubmit = function handleExperimentalSecondarySubmit() {
220
- if (typeof (experimentalSecondarySubmit === null || experimentalSecondarySubmit === undefined ? undefined : experimentalSecondarySubmit.onClick) === 'function') {
220
+ if (typeof (experimentalSecondarySubmit === null || experimentalSecondarySubmit === void 0 ? void 0 : experimentalSecondarySubmit.onClick) === 'function') {
221
221
  experimentalSecondarySubmit.onClick();
222
222
  }
223
223
  };
224
- if ((stepData === null || stepData === undefined ? undefined : stepData.length) > 0) {
224
+ if ((stepData === null || stepData === void 0 ? void 0 : stepData.length) > 0) {
225
225
  var buttons = [];
226
- if ((stepData === null || stepData === undefined ? undefined : stepData.length) > 1) {
226
+ if ((stepData === null || stepData === void 0 ? void 0 : stepData.length) > 1) {
227
227
  buttons.push({
228
228
  key: 'create-action-button-back',
229
229
  label: backButtonText,
@@ -241,13 +241,13 @@ var useCreateComponentStepChange = function useCreateComponentStepChange(_ref) {
241
241
  } : onUnmount,
242
242
  kind: 'ghost'
243
243
  });
244
- if (experimentalSecondarySubmitText && !(experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== undefined && experimentalSecondarySubmit.hideSecondarySubmit)) {
244
+ if (experimentalSecondarySubmitText && !(experimentalSecondarySubmit !== null && experimentalSecondarySubmit !== void 0 && experimentalSecondarySubmit.hideSecondarySubmit)) {
245
245
  buttons.push({
246
246
  key: 'create-action-button-experimentalSecondarySubmit',
247
247
  label: experimentalSecondarySubmitText,
248
248
  onClick: handleExperimentalSecondarySubmit,
249
249
  kind: 'secondary',
250
- disabled: experimentalSecondarySubmit === null || experimentalSecondarySubmit === undefined ? undefined : experimentalSecondarySubmit.disabled
250
+ disabled: experimentalSecondarySubmit === null || experimentalSecondarySubmit === void 0 ? void 0 : experimentalSecondarySubmit.disabled
251
251
  });
252
252
  }
253
253
  buttons.push({