@carbon/ibm-products 2.61.0-rc.0 → 2.62.0-rc.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
@@ -26,14 +26,14 @@ var InlineEditCell = function InlineEditCell(_ref) {
26
26
  var cell = _ref.cell,
27
27
  config = _ref.config,
28
28
  _ref$disabledCell = _ref.disabledCell,
29
- disabledCell = _ref$disabledCell === undefined ? false : _ref$disabledCell,
29
+ disabledCell = _ref$disabledCell === void 0 ? false : _ref$disabledCell,
30
30
  instance = _ref.instance,
31
31
  _ref$placeholder = _ref.placeholder,
32
- placeholder = _ref$placeholder === undefined ? '' : _ref$placeholder,
32
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
33
33
  tabIndex = _ref.tabIndex,
34
34
  value = _ref.value,
35
35
  _ref$nonEditCell = _ref.nonEditCell,
36
- nonEditCell = _ref$nonEditCell === undefined ? false : _ref$nonEditCell,
36
+ nonEditCell = _ref$nonEditCell === void 0 ? false : _ref$nonEditCell,
37
37
  type = _ref.type;
38
38
  var columnId = cell.column.id;
39
39
  var columnIndex = instance.columns.findIndex(function (col) {
@@ -98,17 +98,17 @@ var InlineEditCell = function InlineEditCell(_ref) {
98
98
  // of the cell (either on a regular cell or clicking into another inline edit cell) and the
99
99
  // edit input is in an invalid state
100
100
  React.useEffect(function () {
101
- if ((previousState === null || previousState === undefined ? undefined : previousState.editId) === cellId && !editId || (previousState === null || previousState === undefined ? undefined : previousState.editId) === cellId && cellId !== editId) {
101
+ if ((previousState === null || previousState === void 0 ? void 0 : previousState.editId) === cellId && !editId || (previousState === null || previousState === void 0 ? void 0 : previousState.editId) === cellId && cellId !== editId) {
102
102
  var _ref3 = config || {},
103
103
  validator = _ref3.validator;
104
- var isInvalid = validator === null || validator === undefined ? undefined : validator(cellValue);
104
+ var isInvalid = validator === null || validator === void 0 ? void 0 : validator(cellValue);
105
105
  if (isInvalid) {
106
106
  setCellValue(initialValue);
107
107
  saveCellData(initialValue);
108
108
  return;
109
109
  }
110
110
  }
111
- }, [previousState === null || previousState === undefined ? undefined : previousState.editId, editId, cellId, cellValue, config, initialValue, saveCellData]);
111
+ }, [previousState === null || previousState === void 0 ? void 0 : previousState.editId, editId, cellId, cellValue, config, initialValue, saveCellData]);
112
112
 
113
113
  // If you are in edit mode and click outside of the cell,
114
114
  // this changes the cell back to the InlineEditButton
@@ -126,20 +126,20 @@ var InlineEditCell = function InlineEditCell(_ref) {
126
126
  // Only added this querySelector because v11 Datepicker isn't forwarding the ref which breaks how we were handling this in v10
127
127
  // *****
128
128
  var datePickerInputElement = document.querySelector("#".concat(blockClass, "__inline-edit--date-picker--").concat(cell.row.index));
129
- var dropdownTrigger = type === 'selection' ? dropdownRef === null || dropdownRef === undefined ? undefined : dropdownRef.current : datePickerInputElement;
129
+ var dropdownTrigger = type === 'selection' ? dropdownRef === null || dropdownRef === void 0 ? void 0 : dropdownRef.current : datePickerInputElement;
130
130
  dropdownTrigger.click();
131
131
  if (type === 'date') {
132
- dropdownTrigger === null || dropdownTrigger === undefined || dropdownTrigger.focus();
132
+ dropdownTrigger === null || dropdownTrigger === void 0 || dropdownTrigger.focus();
133
133
  }
134
134
  };
135
135
 
136
136
  // Re-initializes initialValue if clicking outside of a cell that was previously
137
137
  // in edit mode, otherwise `initialValue` becomes stale
138
138
  React.useEffect(function () {
139
- if ((previousState === null || previousState === undefined ? undefined : previousState.editId) === cellId && (previousState === null || previousState === undefined ? undefined : previousState.activeCellId) === cellId && activeCellId !== cellId) {
139
+ if ((previousState === null || previousState === void 0 ? void 0 : previousState.editId) === cellId && (previousState === null || previousState === void 0 ? void 0 : previousState.activeCellId) === cellId && activeCellId !== cellId) {
140
140
  var _ref4 = config || {},
141
141
  validator = _ref4.validator;
142
- var isInvalid = validator === null || validator === undefined ? undefined : validator(cellValue);
142
+ var isInvalid = validator === null || validator === void 0 ? void 0 : validator(cellValue);
143
143
  if (!isInvalid) {
144
144
  setInitialValue(cellValue);
145
145
  }
@@ -174,7 +174,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
174
174
  }
175
175
  if (type === 'selection') {
176
176
  var _dropdownRef$current;
177
- dropdownRef === null || dropdownRef === undefined || (_dropdownRef$current = dropdownRef.current) === null || _dropdownRef$current === undefined || _dropdownRef$current.focus();
177
+ dropdownRef === null || dropdownRef === void 0 || (_dropdownRef$current = dropdownRef.current) === null || _dropdownRef$current === void 0 || _dropdownRef$current.focus();
178
178
  }
179
179
  }
180
180
  }, [inEditMode, type]);
@@ -248,7 +248,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
248
248
  }
249
249
  var _ref5 = config || {},
250
250
  validator = _ref5.validator;
251
- var isInvalid = validator === null || validator === undefined ? undefined : validator(cellValue);
251
+ var isInvalid = validator === null || validator === void 0 ? void 0 : validator(cellValue);
252
252
  // If an invalid state is detected, Tab/Enter should not do anything
253
253
  // until the input has a valid state once again
254
254
  if (isInvalid) {
@@ -291,13 +291,13 @@ var InlineEditCell = function InlineEditCell(_ref) {
291
291
  });
292
292
  };
293
293
  var renderDropdownItem = function renderDropdownItem(item) {
294
- var includesIcon = !!(item !== null && item !== undefined && item.icon);
294
+ var includesIcon = !!(item !== null && item !== void 0 && item.icon);
295
295
  return includesIcon ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(item.icon), /*#__PURE__*/React.createElement("span", {
296
296
  className: cx("".concat(blockClass, "__inline-edit--select-item"))
297
- }, item === null || item === undefined ? undefined : item.text)) : item === null || item === undefined ? undefined : item.text;
297
+ }, item === null || item === void 0 ? void 0 : item.text)) : item === null || item === void 0 ? void 0 : item.text;
298
298
  };
299
299
  var handleTransformedItem = function handleTransformedItem(items) {
300
- return items !== null && items !== undefined && items.length && _rollupPluginBabelHelpers.typeof(items[0]) === 'object' ? function (item) {
300
+ return items !== null && items !== void 0 && items.length && _rollupPluginBabelHelpers.typeof(items[0]) === 'object' ? function (item) {
301
301
  return renderDropdownItem(item);
302
302
  } : null;
303
303
  };
@@ -318,10 +318,10 @@ var InlineEditCell = function InlineEditCell(_ref) {
318
318
  }, inputProps, {
319
319
  hideLabel: true,
320
320
  className: cx("".concat(blockClass, "__inline-edit--select"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__inline-edit--select-").concat(rowSize), rowSize)),
321
- items: (inputProps === null || inputProps === undefined ? undefined : inputProps.items) || [],
321
+ items: (inputProps === null || inputProps === void 0 ? void 0 : inputProps.items) || [],
322
322
  initialSelectedItem: cell.value,
323
- itemToElement: handleTransformedItem(inputProps === null || inputProps === undefined ? undefined : inputProps.items),
324
- renderSelectedItem: handleTransformedItem(inputProps === null || inputProps === undefined ? undefined : inputProps.items),
323
+ itemToElement: handleTransformedItem(inputProps === null || inputProps === void 0 ? void 0 : inputProps.items),
324
+ renderSelectedItem: handleTransformedItem(inputProps === null || inputProps === void 0 ? void 0 : inputProps.items),
325
325
  onChange: function onChange(item) {
326
326
  var _inputProps$onChange;
327
327
  var newCellId = getNewCellId('Enter');
@@ -333,7 +333,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
333
333
  });
334
334
  setInEditMode(false);
335
335
  sendFocusBackToGrid();
336
- inputProps === null || inputProps === undefined || (_inputProps$onChange = inputProps.onChange) === null || _inputProps$onChange === undefined || _inputProps$onChange.call(inputProps, item.selectedItem);
336
+ inputProps === null || inputProps === void 0 || (_inputProps$onChange = inputProps.onChange) === null || _inputProps$onChange === void 0 || _inputProps$onChange.call(inputProps, item.selectedItem);
337
337
  },
338
338
  downshiftProps: {
339
339
  onStateChange: function onStateChange(downshiftState) {
@@ -372,9 +372,9 @@ var InlineEditCell = function InlineEditCell(_ref) {
372
372
  var renderDateCell = function renderDateCell() {
373
373
  var _config$inputProps, _outerButtonElement$c;
374
374
  var datePickerPreparedProps = propsHelper.prepareProps(config.inputProps, ['datePickerInputProps']);
375
- var datePickerInputProps = config === null || config === undefined || (_config$inputProps = config.inputProps) === null || _config$inputProps === undefined ? undefined : _config$inputProps.datePickerInputProps;
375
+ var datePickerInputProps = config === null || config === void 0 || (_config$inputProps = config.inputProps) === null || _config$inputProps === void 0 ? void 0 : _config$inputProps.datePickerInputProps;
376
376
  return /*#__PURE__*/React.createElement(react.DatePicker, _rollupPluginBabelHelpers.extends({}, datePickerPreparedProps, {
377
- appendTo: outerButtonElement === null || outerButtonElement === undefined || (_outerButtonElement$c = outerButtonElement.current) === null || _outerButtonElement$c === undefined ? undefined : _outerButtonElement$c.parentElement,
377
+ appendTo: outerButtonElement === null || outerButtonElement === void 0 || (_outerButtonElement$c = outerButtonElement.current) === null || _outerButtonElement$c === void 0 ? void 0 : _outerButtonElement$c.parentElement,
378
378
  ref: function ref(el) {
379
379
  if (el && el.style) {
380
380
  el.style.width = "".concat(cell.column.totalWidth, "px");
@@ -390,7 +390,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
390
390
  onChange: function onChange(newDate) {
391
391
  var _datePickerPreparedPr;
392
392
  var newDateObj = newDate[0];
393
- datePickerPreparedProps === null || datePickerPreparedProps === undefined || (_datePickerPreparedPr = datePickerPreparedProps.onChange) === null || _datePickerPreparedPr === undefined || _datePickerPreparedPr.call(datePickerPreparedProps, newDateObj, cell);
393
+ datePickerPreparedProps === null || datePickerPreparedProps === void 0 || (_datePickerPreparedPr = datePickerPreparedProps.onChange) === null || _datePickerPreparedPr === void 0 || _datePickerPreparedPr.call(datePickerPreparedProps, newDateObj, cell);
394
394
  var newCellId = getNewCellId('Enter');
395
395
  saveCellData(newDateObj);
396
396
  setCellValue(newDateObj);
@@ -406,8 +406,8 @@ var InlineEditCell = function InlineEditCell(_ref) {
406
406
  },
407
407
  value: cell.value
408
408
  }), /*#__PURE__*/React.createElement(react.DatePickerInput, _rollupPluginBabelHelpers.extends({}, datePickerInputProps, {
409
- placeholder: (datePickerInputProps === null || datePickerInputProps === undefined ? undefined : datePickerInputProps.placeholder) || 'mm/dd/yyyy',
410
- labelText: (datePickerInputProps === null || datePickerInputProps === undefined ? undefined : datePickerInputProps.labelText) || cellLabel || 'Set date',
409
+ placeholder: (datePickerInputProps === null || datePickerInputProps === void 0 ? void 0 : datePickerInputProps.placeholder) || 'mm/dd/yyyy',
410
+ labelText: (datePickerInputProps === null || datePickerInputProps === void 0 ? void 0 : datePickerInputProps.labelText) || cellLabel || 'Set date',
411
411
  id: "".concat(blockClass, "__inline-edit--date-picker--").concat(cell.row.index),
412
412
  hideLabel: true
413
413
  })));
@@ -419,7 +419,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
419
419
  };
420
420
  var buildDate = function buildDate(value) {
421
421
  var _config$inputProps2;
422
- var dateFormat = config === null || config === undefined || (_config$inputProps2 = config.inputProps) === null || _config$inputProps2 === undefined ? undefined : _config$inputProps2.dateFormat;
422
+ var dateFormat = config === null || config === void 0 || (_config$inputProps2 = config.inputProps) === null || _config$inputProps2 === void 0 ? void 0 : _config$inputProps2.dateFormat;
423
423
  if (value instanceof Date) {
424
424
  var maskedFullYear = value.getFullYear();
425
425
  var maskedMonth = padTo2Digits(value.getMonth() + 1);
@@ -445,8 +445,8 @@ var InlineEditCell = function InlineEditCell(_ref) {
445
445
  id: cellId,
446
446
  hideLabel: true,
447
447
  defaultValue: cellValue,
448
- invalid: validator === null || validator === undefined ? undefined : validator(cellValue),
449
- invalidText: (inputProps === null || inputProps === undefined ? undefined : inputProps.invalidText) || 'Provide missing invalidText',
448
+ invalid: validator === null || validator === void 0 ? void 0 : validator(cellValue),
449
+ invalidText: (inputProps === null || inputProps === void 0 ? void 0 : inputProps.invalidText) || 'Provide missing invalidText',
450
450
  onChange: function onChange(event, _ref9) {
451
451
  var value = _ref9.value;
452
452
  setCellValue(value);
@@ -478,7 +478,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
478
478
  var renderTextInput = function renderTextInput() {
479
479
  var _ref11 = config || {},
480
480
  validator = _ref11.validator;
481
- var isInvalid = validator === null || validator === undefined ? undefined : validator(cellValue);
481
+ var isInvalid = validator === null || validator === void 0 ? void 0 : validator(cellValue);
482
482
  return /*#__PURE__*/React.createElement(react.TextInput, _rollupPluginBabelHelpers.extends({
483
483
  labelText: cellLabel,
484
484
  placeholder: placeholder
@@ -487,7 +487,7 @@ var InlineEditCell = function InlineEditCell(_ref) {
487
487
  hideLabel: true,
488
488
  defaultValue: cellValue,
489
489
  invalid: isInvalid,
490
- invalidText: (inputProps === null || inputProps === undefined ? undefined : inputProps.invalidText) || 'Provide missing invalidText',
490
+ invalidText: (inputProps === null || inputProps === void 0 ? void 0 : inputProps.invalidText) || 'Provide missing invalidText',
491
491
  onChange: function onChange(event) {
492
492
  setCellValue(event.target.value);
493
493
  if (inputProps.onChange) {
@@ -500,19 +500,19 @@ var InlineEditCell = function InlineEditCell(_ref) {
500
500
  var getLabel = function getLabel() {
501
501
  var _value$text, _checkStaticCell;
502
502
  var checkStaticCell = function checkStaticCell(val) {
503
- if (_rollupPluginBabelHelpers.typeof(val) === 'object' && val !== null && val !== undefined && val.isStaticCell) {
504
- return val === null || val === undefined ? undefined : val.value;
503
+ if (_rollupPluginBabelHelpers.typeof(val) === 'object' && val !== null && val !== void 0 && val.isStaticCell) {
504
+ return val === null || val === void 0 ? void 0 : val.value;
505
505
  }
506
506
  };
507
507
  switch (type) {
508
508
  case 'selection':
509
509
  checkStaticCell(value);
510
- return (_value$text = value === null || value === undefined ? undefined : value.text) !== null && _value$text !== undefined ? _value$text : value;
510
+ return (_value$text = value === null || value === void 0 ? void 0 : value.text) !== null && _value$text !== void 0 ? _value$text : value;
511
511
  case 'date':
512
512
  checkStaticCell(value);
513
513
  return buildDate(value);
514
514
  default:
515
- return (_checkStaticCell = checkStaticCell(value)) !== null && _checkStaticCell !== undefined ? _checkStaticCell : value;
515
+ return (_checkStaticCell = checkStaticCell(value)) !== null && _checkStaticCell !== void 0 ? _checkStaticCell : value;
516
516
  }
517
517
  };
518
518
  return (
@@ -527,13 +527,13 @@ var InlineEditCell = function InlineEditCell(_ref) {
527
527
  "data-inline-type": type,
528
528
  onClick: !nonEditCell ? handleInlineCellClick : addActiveState,
529
529
  onKeyDown: !nonEditCell ? handleKeyDown : null,
530
- className: cx("".concat(blockClass, "__inline-edit--outer-cell-button"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__inline-edit--outer-cell-button--").concat(rowSize), rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--lg"), !rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--invalid"), inEditMode && (config === null || config === undefined || (_config$validator = config.validator) === null || _config$validator === undefined ? undefined : _config$validator.call(config, cellValue))), "".concat(blockClass, "__static--outer-cell"), !disabledCell))
530
+ className: cx("".concat(blockClass, "__inline-edit--outer-cell-button"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__inline-edit--outer-cell-button--").concat(rowSize), rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--lg"), !rowSize), "".concat(blockClass, "__inline-edit--outer-cell-button--invalid"), inEditMode && (config === null || config === void 0 || (_config$validator = config.validator) === null || _config$validator === void 0 ? void 0 : _config$validator.call(config, cellValue))), "".concat(blockClass, "__static--outer-cell"), !disabledCell))
531
531
  }, (!inEditMode || disabledCell) && type !== 'checkbox' && /*#__PURE__*/React.createElement(InlineEditButton.InlineEditButton, {
532
532
  isActiveCell: cellId === activeCellId,
533
533
  renderIcon: setRenderIcon(),
534
534
  label: getLabel(),
535
535
  disabledCell: disabledCell,
536
- labelIcon: (value === null || value === undefined ? undefined : value.icon) || null,
536
+ labelIcon: (value === null || value === void 0 ? void 0 : value.icon) || null,
537
537
  placeholder: placeholder,
538
538
  tabIndex: tabIndex,
539
539
  nonEditCell: nonEditCell,
@@ -79,7 +79,7 @@ var inlineEditReducer = function inlineEditReducer(state, action) {
79
79
  {
80
80
  var _action$payload2;
81
81
  return _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, state), {}, {
82
- featureFlags: (_action$payload2 = action.payload) !== null && _action$payload2 !== undefined ? _action$payload2 : {}
82
+ featureFlags: (_action$payload2 = action.payload) !== null && _action$payload2 !== void 0 ? _action$payload2 : {}
83
83
  });
84
84
  }
85
85
  default:
@@ -27,7 +27,7 @@ var returnUpdatedActiveCell = function returnUpdatedActiveCell(_ref) {
27
27
  var newCellIdButton = document.querySelector("#".concat(instance.tableId, " .").concat(blockClass, "__table-with-inline-edit [data-cell-id=\"").concat(newActiveCellId, "\"] .").concat(blockClass, "__inline-edit-button"));
28
28
  // Allows scrollable area to keep focused/active cell id visible
29
29
  if (newCellIdButton) {
30
- newCellIdButton === null || newCellIdButton === undefined || newCellIdButton.focus();
30
+ newCellIdButton === null || newCellIdButton === void 0 || newCellIdButton.focus();
31
31
  }
32
32
  return _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, state), {}, {
33
33
  activeCellId: newActiveCellId
@@ -57,7 +57,7 @@ var handleGridKeyPress = function handleGridKeyPress(_ref) {
57
57
 
58
58
  // Checks if the dropdown menu is open
59
59
  var dropdownIsActive = function dropdownIsActive() {
60
- var selectedDropdown = ref === null || ref === undefined ? undefined : ref.current.querySelector("\n #".concat(instance.tableId, " .").concat(blockClass, "__table-with-inline-edit [data-cell-id=\"").concat(activeCellId, "\"] button[role='combobox']\n "));
60
+ var selectedDropdown = ref === null || ref === void 0 ? void 0 : ref.current.querySelector("\n #".concat(instance.tableId, " .").concat(blockClass, "__table-with-inline-edit [data-cell-id=\"").concat(activeCellId, "\"] button[role='combobox']\n "));
61
61
  if (selectedDropdown) {
62
62
  // Prevents arrow keys from scrolling any other content when dropdown menu is open
63
63
  event.preventDefault();
@@ -207,21 +207,21 @@ var handleGridKeyPress = function handleGridKeyPress(_ref) {
207
207
  if (focusedType === 'selection') {
208
208
  setTimeout(function () {
209
209
  var dropdownTrigger = focusedCell.querySelector('button');
210
- dropdownTrigger === null || dropdownTrigger === undefined || dropdownTrigger.click();
210
+ dropdownTrigger === null || dropdownTrigger === void 0 || dropdownTrigger.click();
211
211
  }, 1);
212
212
  }
213
213
  if (focusedType === 'checkbox') {
214
214
  setTimeout(function () {
215
215
  var checkboxTrigger = focusedCell.querySelector('input');
216
- checkboxTrigger === null || checkboxTrigger === undefined || checkboxTrigger.click();
217
- checkboxTrigger === null || checkboxTrigger === undefined || checkboxTrigger.focus();
216
+ checkboxTrigger === null || checkboxTrigger === void 0 || checkboxTrigger.click();
217
+ checkboxTrigger === null || checkboxTrigger === void 0 || checkboxTrigger.focus();
218
218
  }, 1);
219
219
  }
220
220
  if (focusedType === 'date') {
221
221
  setTimeout(function () {
222
222
  var dateInputTrigger = focusedCell.querySelector('input');
223
- dateInputTrigger === null || dateInputTrigger === undefined || dateInputTrigger.click();
224
- dateInputTrigger === null || dateInputTrigger === undefined || dateInputTrigger.focus();
223
+ dateInputTrigger === null || dateInputTrigger === void 0 || dateInputTrigger.click();
224
+ dateInputTrigger === null || dateInputTrigger === void 0 || dateInputTrigger.focus();
225
225
  }, 1);
226
226
  }
227
227
  dispatch({
@@ -38,7 +38,7 @@ var handleMultipleKeys = function handleMultipleKeys(_ref) {
38
38
  var totalVisibleColumns = instance.visibleColumns.filter(function (item) {
39
39
  return item.id !== 'spacer';
40
40
  }).length;
41
- var totalRows = (_instance$rows = instance.rows) === null || _instance$rows === undefined ? undefined : _instance$rows.length;
41
+ var totalRows = (_instance$rows = instance.rows) === null || _instance$rows === void 0 ? void 0 : _instance$rows.length;
42
42
  var lastCellDataId = "column-".concat(totalVisibleColumns - 1, "-row-").concat(totalRows - 1);
43
43
  var lastCellElement = document.querySelector("#".concat(instance.tableId, " .").concat(blockClass, "__table-with-inline-edit [data-cell-id=\"").concat(activeCellId, "\"]"));
44
44
  var _scrollElement = document.querySelector("#".concat(instance.tableId, " .").concat(settings.pkg.prefix, "--datagrid__table-container"));
@@ -77,7 +77,7 @@ var handleMultipleKeys = function handleMultipleKeys(_ref) {
77
77
  });
78
78
  if (indexOfTable && Number.isFinite(indexOfTable)) {
79
79
  var _datagridFocusableEle;
80
- (_datagridFocusableEle = datagridFocusableElements[indexOfTable]) === null || _datagridFocusableEle === undefined || _datagridFocusableEle.focus();
80
+ (_datagridFocusableEle = datagridFocusableElements[indexOfTable]) === null || _datagridFocusableEle === void 0 || _datagridFocusableEle.focus();
81
81
  }
82
82
  }
83
83
  };
@@ -23,9 +23,9 @@ var _excluded = ["align", "legendText", "autoAlign"];
23
23
  var blockClass = "".concat(settings.pkg.prefix, "--datagrid__row-size");
24
24
  var RowSizeDropdown = function RowSizeDropdown(_ref) {
25
25
  var _ref$align = _ref.align,
26
- align = _ref$align === undefined ? 'bottom-right' : _ref$align,
26
+ align = _ref$align === void 0 ? 'bottom-right' : _ref$align,
27
27
  _ref$legendText = _ref.legendText,
28
- legendText = _ref$legendText === undefined ? 'Row settings' : _ref$legendText,
28
+ legendText = _ref$legendText === void 0 ? 'Row settings' : _ref$legendText,
29
29
  autoAlign = _ref.autoAlign,
30
30
  props = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
31
31
  var radioGroupRef = React.useRef(undefined);
@@ -48,9 +48,9 @@ var RowSizeDropdown = function RowSizeDropdown(_ref) {
48
48
  };
49
49
  React.useEffect(function () {
50
50
  if (isOpen) {
51
- var radioGroupParentElement = radioGroupRef === null || radioGroupRef === undefined ? undefined : radioGroupRef.current;
52
- var checkedRadioChild = radioGroupParentElement === null || radioGroupParentElement === undefined ? undefined : radioGroupParentElement.querySelector(".".concat(settings.carbon.prefix, "--radio-button:checked"));
53
- checkedRadioChild === null || checkedRadioChild === undefined || checkedRadioChild.focus();
51
+ var radioGroupParentElement = radioGroupRef === null || radioGroupRef === void 0 ? void 0 : radioGroupRef.current;
52
+ var checkedRadioChild = radioGroupParentElement === null || radioGroupParentElement === void 0 ? void 0 : radioGroupParentElement.querySelector(".".concat(settings.carbon.prefix, "--radio-button:checked"));
53
+ checkedRadioChild === null || checkedRadioChild === void 0 || checkedRadioChild.focus();
54
54
  }
55
55
  }, [isOpen]);
56
56
  var onClickHandler = function onClickHandler() {
@@ -21,7 +21,7 @@ var RowSizeRadioGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
21
21
  onChange = _ref.onChange,
22
22
  legendText = _ref.legendText,
23
23
  _ref$rowSizeLabels = _ref.rowSizeLabels,
24
- rowSizeLabels = _ref$rowSizeLabels === undefined ? {
24
+ rowSizeLabels = _ref$rowSizeLabels === void 0 ? {
25
25
  xl: 'Extra large',
26
26
  lg: 'Large (default)',
27
27
  md: 'Medium',
@@ -154,7 +154,7 @@ var stateReducer = function stateReducer(newState, action) {
154
154
  var newSelectedRowData = {};
155
155
  var nonSelectableRows = ((_rows$find = rows.find(function (row) {
156
156
  return row.getRowProps;
157
- })) === null || _rows$find === undefined || (_rows$find$getRowProp = _rows$find.getRowProps) === null || _rows$find$getRowProp === undefined || (_rows$find$getRowProp = _rows$find$getRowProp.call(_rows$find)) === null || _rows$find$getRowProp === undefined ? undefined : _rows$find$getRowProp.nonselectablerows) || [];
157
+ })) === null || _rows$find === void 0 || (_rows$find$getRowProp = _rows$find.getRowProps) === null || _rows$find$getRowProp === void 0 || (_rows$find$getRowProp = _rows$find$getRowProp.call(_rows$find)) === null || _rows$find$getRowProp === void 0 ? void 0 : _rows$find$getRowProp.nonselectablerows) || [];
158
158
  rows.forEach(function (row) {
159
159
  if (nonSelectableRows.length > 0 && nonSelectableRows.includes(row.id)) {
160
160
  return;
@@ -183,7 +183,7 @@ var stateReducer = function stateReducer(newState, action) {
183
183
  var _newSelectedRowData = {};
184
184
  _rows.forEach(function (row) {
185
185
  var _row$getRowProps;
186
- var props = (_row$getRowProps = row.getRowProps) === null || _row$getRowProps === undefined ? undefined : _row$getRowProps.call(row);
186
+ var props = (_row$getRowProps = row.getRowProps) === null || _row$getRowProps === void 0 ? void 0 : _row$getRowProps.call(row);
187
187
  if (props && props.disabled) {
188
188
  return;
189
189
  }
@@ -285,13 +285,13 @@ var stateReducer = function stateReducer(newState, action) {
285
285
  var currentColumn = {};
286
286
  currentColumn[_headerId2] = newState.columnResizing.columnWidths[_headerId2];
287
287
  var allChangedColumns = newState.columnResizing.columnWidths;
288
- onColResizeEnd === null || onColResizeEnd === undefined || onColResizeEnd(currentColumn, allChangedColumns);
288
+ onColResizeEnd === null || onColResizeEnd === void 0 || onColResizeEnd(currentColumn, allChangedColumns);
289
289
  if (!isKeyEvent) {
290
290
  if (typeof isKeyEvent === 'undefined') {
291
291
  // Blur resizer input if it has focus and is not from a key event resize
292
292
  if (document.activeElement.classList.contains("".concat(blockClass, "__col-resizer-range"))) {
293
293
  var _document;
294
- (_document = document) === null || _document === undefined || (_document = _document.activeElement) === null || _document === undefined || _document.blur();
294
+ (_document = document) === null || _document === void 0 || (_document = _document.activeElement) === null || _document === void 0 || _document.blur();
295
295
  }
296
296
  return;
297
297
  }
@@ -81,7 +81,7 @@ var useActionsColumn = function useActionsColumn(hooks) {
81
81
  return;
82
82
  }
83
83
  e.stopPropagation();
84
- _onClick === null || _onClick === undefined || _onClick(id, row, e);
84
+ _onClick === null || _onClick === void 0 || _onClick(id, row, e);
85
85
  },
86
86
  disabled: isDisabledByRow
87
87
  }), Icon && /*#__PURE__*/React.createElement(Icon, null)));
@@ -110,7 +110,7 @@ var useActionsColumn = function useActionsColumn(hooks) {
110
110
  disabled: isDisabledByRow,
111
111
  onClick: function onClick(e) {
112
112
  e.stopPropagation();
113
- _onClick2 === null || _onClick2 === undefined || _onClick2(id, row, e);
113
+ _onClick2 === null || _onClick2 === void 0 || _onClick2(id, row, e);
114
114
  },
115
115
  key: id
116
116
  }));
@@ -20,14 +20,14 @@ var useColumnRightAlign = function useColumnRightAlign(hooks) {
20
20
  var _tableProps$column, _column$Cell;
21
21
  return /*#__PURE__*/React.createElement("div", {
22
22
  className: cx("".concat(blockClass, "__right-align-cell-renderer"), {
23
- sortDisabled: !tableProps.isTableSortable || (tableProps === null || tableProps === undefined || (_tableProps$column = tableProps.column) === null || _tableProps$column === undefined ? undefined : _tableProps$column.disableSortBy) === true
23
+ sortDisabled: !tableProps.isTableSortable || (tableProps === null || tableProps === void 0 || (_tableProps$column = tableProps.column) === null || _tableProps$column === void 0 ? void 0 : _tableProps$column.disableSortBy) === true
24
24
  })
25
- }, column === null || column === undefined || (_column$Cell = column.Cell) === null || _column$Cell === undefined ? undefined : _column$Cell.call(column, tableProps));
25
+ }, column === null || column === void 0 || (_column$Cell = column.Cell) === null || _column$Cell === void 0 ? void 0 : _column$Cell.call(column, tableProps));
26
26
  };
27
27
  var RightAlignHeader = function RightAlignHeader(headerProp, column) {
28
28
  return /*#__PURE__*/React.createElement("div", {
29
29
  className: "".concat(blockClass, "__right-align-header")
30
- }, typeof column.Header === 'function' ? (column === null || column === undefined ? undefined : column.Header.bind(column))(headerProp) : column.Header);
30
+ }, typeof column.Header === 'function' ? (column === null || column === void 0 ? void 0 : column.Header.bind(column))(headerProp) : column.Header);
31
31
  };
32
32
  var rightAlignedColumns = function rightAlignedColumns(columns) {
33
33
  var columnsWithDefaultCells = columns.map(function (column) {
@@ -50,7 +50,7 @@ var useCustomizeColumns = function useCustomizeColumns(hooks) {
50
50
  }),
51
51
  CustomizeColumnsButton: function CustomizeColumnsButton(props) {
52
52
  return /*#__PURE__*/React__namespace.createElement(ButtonWrapper.default, _rollupPluginBabelHelpers.extends({
53
- iconTooltipLabel: labels === null || labels === undefined ? undefined : labels.iconTooltipLabel,
53
+ iconTooltipLabel: labels === null || labels === void 0 ? void 0 : labels.iconTooltipLabel,
54
54
  isTearsheetOpen: isTearsheetOpen,
55
55
  setIsTearsheetOpen: setIsTearsheetOpen
56
56
  }, props));
@@ -28,7 +28,7 @@ var useDatagrid = function useDatagrid(params) {
28
28
  // Disable resizing
29
29
  if (params.disableResizing) {
30
30
  var resizeIndex = defaultPlugins.findIndex(function (p) {
31
- return (p === null || p === undefined ? undefined : p['pluginName']) === 'useResizeColumns';
31
+ return (p === null || p === void 0 ? void 0 : p['pluginName']) === 'useResizeColumns';
32
32
  });
33
33
  defaultPlugins.splice(resizeIndex, 1);
34
34
  }
@@ -43,7 +43,7 @@ var useDatagrid = function useDatagrid(params) {
43
43
  for (var _len = arguments.length, plugins = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
44
44
  plugins[_key - 1] = arguments[_key];
45
45
  }
46
- var tableState = reactTable.useTable.apply(undefined, [_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
46
+ var tableState = reactTable.useTable.apply(void 0, [_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({
47
47
  tableId: tableId
48
48
  }, params), {}, {
49
49
  stateReducer: stateReducer.stateReducer,
@@ -19,7 +19,7 @@ var useDefaultStringRenderer = function useDefaultStringRenderer(hooks) {
19
19
  var StringRenderer = function StringRenderer(tableProps) {
20
20
  var _tableProps$column;
21
21
  return /*#__PURE__*/React.createElement("div", {
22
- className: cx("".concat(blockClass, "__defaultStringRenderer"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__defaultStringRenderer--multiline"), ((_tableProps$column = tableProps.column) === null || _tableProps$column === undefined ? undefined : _tableProps$column.multiLineWrap) || (tableProps === null || tableProps === undefined ? undefined : tableProps.multiLineWrapAll)))
22
+ className: cx("".concat(blockClass, "__defaultStringRenderer"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__defaultStringRenderer--multiline"), ((_tableProps$column = tableProps.column) === null || _tableProps$column === void 0 ? void 0 : _tableProps$column.multiLineWrap) || (tableProps === null || tableProps === void 0 ? void 0 : tableProps.multiLineWrapAll)))
23
23
  }, tableProps.value);
24
24
  };
25
25
  var HeaderRenderer = function HeaderRenderer(header, slug, aiLabel) {
@@ -11,7 +11,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var nonselectablerowsList = function nonselectablerowsList(instance) {
13
13
  var _instance$rows;
14
- var nonselectablerows = (instance === null || instance === undefined || (_instance$rows = instance.rows) === null || _instance$rows === undefined ? undefined : _instance$rows.filter(function (row) {
14
+ var nonselectablerows = (instance === null || instance === void 0 || (_instance$rows = instance.rows) === null || _instance$rows === void 0 ? void 0 : _instance$rows.filter(function (row) {
15
15
  return instance.shouldDisableSelectRow && instance.shouldDisableSelectRow(row);
16
16
  }).map(function (row) {
17
17
  return row.id;
@@ -31,7 +31,7 @@ var useDisableSelectRows = function useDisableSelectRows(hooks) {
31
31
  var row = _ref.row,
32
32
  instance = _ref.instance;
33
33
  return [props, {
34
- disabled: instance === null || instance === undefined || (_instance$shouldDisab = instance.shouldDisableSelectRow) === null || _instance$shouldDisab === undefined ? undefined : _instance$shouldDisab.call(instance, row),
34
+ disabled: instance === null || instance === void 0 || (_instance$shouldDisab = instance.shouldDisableSelectRow) === null || _instance$shouldDisab === void 0 ? void 0 : _instance$shouldDisab.call(instance, row),
35
35
  nonselectablerows: nonselectablerows
36
36
  }];
37
37
  };
@@ -41,28 +41,28 @@ var updateSelectAll = function updateSelectAll(hooks) {
41
41
  var getToggleAllRowsSelectedProps = function getToggleAllRowsSelectedProps(props, _ref2) {
42
42
  var _instance$rows2, _instance$disableSele, _instance$state2;
43
43
  var instance = _ref2.instance;
44
- var selectableRows = (instance === null || instance === undefined || (_instance$rows2 = instance.rows) === null || _instance$rows2 === undefined ? undefined : _instance$rows2.filter(function (row) {
44
+ var selectableRows = (instance === null || instance === void 0 || (_instance$rows2 = instance.rows) === null || _instance$rows2 === void 0 ? void 0 : _instance$rows2.filter(function (row) {
45
45
  return !(instance.shouldDisableSelectRow && instance.shouldDisableSelectRow(row));
46
46
  })) || [];
47
- var isAllRowsSelected = (selectableRows === null || selectableRows === undefined ? undefined : selectableRows.length) > 0 && selectableRows.every(function (_ref3) {
47
+ var isAllRowsSelected = (selectableRows === null || selectableRows === void 0 ? void 0 : selectableRows.length) > 0 && selectableRows.every(function (_ref3) {
48
48
  var _instance$state;
49
49
  var id = _ref3.id;
50
- return instance === null || instance === undefined || (_instance$state = instance.state) === null || _instance$state === undefined || (_instance$state = _instance$state.selectedRowIds) === null || _instance$state === undefined ? undefined : _instance$state[id];
50
+ return instance === null || instance === void 0 || (_instance$state = instance.state) === null || _instance$state === void 0 || (_instance$state = _instance$state.selectedRowIds) === null || _instance$state === void 0 ? void 0 : _instance$state[id];
51
51
  });
52
52
  return [props, {
53
53
  onChange: function onChange(e) {
54
54
  selectableRows.forEach(function (row) {
55
55
  var _toggleRowSelected, _ref4;
56
- return row === null || row === undefined || (_toggleRowSelected = (_ref4 = row).toggleRowSelected) === null || _toggleRowSelected === undefined ? undefined : _toggleRowSelected.call(_ref4, e.target.checked);
56
+ return row === null || row === void 0 || (_toggleRowSelected = (_ref4 = row).toggleRowSelected) === null || _toggleRowSelected === void 0 ? void 0 : _toggleRowSelected.call(_ref4, e.target.checked);
57
57
  });
58
58
  },
59
59
  style: {
60
60
  cursor: 'pointer'
61
61
  },
62
62
  checked: isAllRowsSelected,
63
- disabled: instance === null || instance === undefined ? undefined : instance.disableSelectAll,
64
- title: (instance === null || instance === undefined || (_instance$disableSele = instance.disableSelectRowsProps) === null || _instance$disableSele === undefined || (_instance$disableSele = _instance$disableSele.labels) === null || _instance$disableSele === undefined ? undefined : _instance$disableSele.toggleAllRowsLabel) || 'Toggle All Rows Selected',
65
- indeterminate: Boolean(!isAllRowsSelected && Object.keys((instance === null || instance === undefined || (_instance$state2 = instance.state) === null || _instance$state2 === undefined ? undefined : _instance$state2.selectedRowIds) || {}).length)
63
+ disabled: instance === null || instance === void 0 ? void 0 : instance.disableSelectAll,
64
+ title: (instance === null || instance === void 0 || (_instance$disableSele = instance.disableSelectRowsProps) === null || _instance$disableSele === void 0 || (_instance$disableSele = _instance$disableSele.labels) === null || _instance$disableSele === void 0 ? void 0 : _instance$disableSele.toggleAllRowsLabel) || 'Toggle All Rows Selected',
65
+ indeterminate: Boolean(!isAllRowsSelected && Object.keys((instance === null || instance === void 0 || (_instance$state2 = instance.state) === null || _instance$state2 === void 0 ? void 0 : _instance$state2.selectedRowIds) || {}).length)
66
66
  }];
67
67
  };
68
68
  hooks.getToggleAllRowsSelectedProps.push(getToggleAllRowsSelectedProps);
@@ -71,13 +71,13 @@ var updatePageSelectAll = function updatePageSelectAll(hooks) {
71
71
  var getToggleAllPageRowsSelectedProps = function getToggleAllPageRowsSelectedProps(props, _ref5) {
72
72
  var _instance$page, _instance$disableSele2, _instance$page2;
73
73
  var instance = _ref5.instance;
74
- var selectableRows = (instance === null || instance === undefined || (_instance$page = instance.page) === null || _instance$page === undefined ? undefined : _instance$page.filter(function (row) {
74
+ var selectableRows = (instance === null || instance === void 0 || (_instance$page = instance.page) === null || _instance$page === void 0 ? void 0 : _instance$page.filter(function (row) {
75
75
  return !(instance.shouldDisableSelectRow && instance.shouldDisableSelectRow(row));
76
76
  })) || [];
77
- var isAllRowsSelected = (selectableRows === null || selectableRows === undefined ? undefined : selectableRows.length) > 0 && selectableRows.every(function (_ref6) {
77
+ var isAllRowsSelected = (selectableRows === null || selectableRows === void 0 ? void 0 : selectableRows.length) > 0 && selectableRows.every(function (_ref6) {
78
78
  var _instance$state3;
79
79
  var id = _ref6.id;
80
- return instance === null || instance === undefined || (_instance$state3 = instance.state) === null || _instance$state3 === undefined || (_instance$state3 = _instance$state3.selectedRowIds) === null || _instance$state3 === undefined ? undefined : _instance$state3[id];
80
+ return instance === null || instance === void 0 || (_instance$state3 = instance.state) === null || _instance$state3 === void 0 || (_instance$state3 = _instance$state3.selectedRowIds) === null || _instance$state3 === void 0 ? void 0 : _instance$state3[id];
81
81
  });
82
82
  return [props, {
83
83
  onChange: function onChange(e) {
@@ -89,12 +89,12 @@ var updatePageSelectAll = function updatePageSelectAll(hooks) {
89
89
  cursor: 'pointer'
90
90
  },
91
91
  checked: isAllRowsSelected,
92
- disabled: instance === null || instance === undefined ? undefined : instance.disableSelectAll,
93
- title: (instance === null || instance === undefined || (_instance$disableSele2 = instance.disableSelectRowsProps) === null || _instance$disableSele2 === undefined || (_instance$disableSele2 = _instance$disableSele2.labels) === null || _instance$disableSele2 === undefined ? undefined : _instance$disableSele2.toggleAllRowsLabel) || 'Toggle All Rows Selected',
94
- indeterminate: Boolean(!isAllRowsSelected && (instance === null || instance === undefined || (_instance$page2 = instance.page) === null || _instance$page2 === undefined ? undefined : _instance$page2.some(function (_ref7) {
92
+ disabled: instance === null || instance === void 0 ? void 0 : instance.disableSelectAll,
93
+ title: (instance === null || instance === void 0 || (_instance$disableSele2 = instance.disableSelectRowsProps) === null || _instance$disableSele2 === void 0 || (_instance$disableSele2 = _instance$disableSele2.labels) === null || _instance$disableSele2 === void 0 ? void 0 : _instance$disableSele2.toggleAllRowsLabel) || 'Toggle All Rows Selected',
94
+ indeterminate: Boolean(!isAllRowsSelected && (instance === null || instance === void 0 || (_instance$page2 = instance.page) === null || _instance$page2 === void 0 ? void 0 : _instance$page2.some(function (_ref7) {
95
95
  var _instance$state4;
96
96
  var id = _ref7.id;
97
- return instance === null || instance === undefined || (_instance$state4 = instance.state) === null || _instance$state4 === undefined || (_instance$state4 = _instance$state4.selectedRowIds) === null || _instance$state4 === undefined ? undefined : _instance$state4[id];
97
+ return instance === null || instance === void 0 || (_instance$state4 = instance.state) === null || _instance$state4 === void 0 || (_instance$state4 = _instance$state4.selectedRowIds) === null || _instance$state4 === void 0 ? void 0 : _instance$state4[id];
98
98
  })))
99
99
  }];
100
100
  };
@@ -35,7 +35,7 @@ var useExpandedRow = function useExpandedRow(hooks) {
35
35
  expandedContentHeight: expandedRowsHeight[row.index] || expandedContentHeight,
36
36
  RowExpansionRenderer: ExpandedRowContentComponent && DatagridExpandedRow.default(ExpandedRowContentComponent),
37
37
  onClick: function onClick(row, event) {
38
- return onRowExpand === null || onRowExpand === undefined ? undefined : onRowExpand(row, event);
38
+ return onRowExpand === null || onRowExpand === void 0 ? void 0 : onRowExpand(row, event);
39
39
  }
40
40
  });
41
41
  });
@@ -100,7 +100,7 @@ var useFiltering = function useFiltering(hooks) {
100
100
  });
101
101
  };
102
102
  Object.assign(instance, {
103
- filterProps: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, defaultProps), instance === null || instance === undefined ? undefined : instance.filterProps),
103
+ filterProps: _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, defaultProps), instance === null || instance === void 0 ? void 0 : instance.filterProps),
104
104
  filterTypes: filterTypes,
105
105
  getFilterFlyoutProps: getFilterFlyoutProps,
106
106
  FilterFlyout: FilterFlyout.default
@@ -26,7 +26,7 @@ var useFloatingScroll = function useFloatingScroll(hooks) {
26
26
  }
27
27
  var datagrid = document.getElementById(tableId);
28
28
  // eslint-disable-next-line no-unused-expressions
29
- datagrid === null || datagrid === undefined || datagrid.classList.add("".concat(blockClass, "__sticky"));
29
+ datagrid === null || datagrid === void 0 || datagrid.classList.add("".concat(blockClass, "__sticky"));
30
30
  }, [ExpandedRowContentComponent, tableId, withVirtualScroll]);
31
31
  };
32
32
  var useAddStickyClass = function useAddStickyClass(instance) {
@@ -62,7 +62,7 @@ var useFloatingScroll = function useFloatingScroll(hooks) {
62
62
  simpleThead = memoHead;
63
63
  } else {
64
64
  var datagrid = document.getElementById(tableId);
65
- simpleThead = datagrid === null || datagrid === undefined ? undefined : datagrid.querySelector(".".concat(blockClass, "__table-simple thead > div"));
65
+ simpleThead = datagrid === null || datagrid === void 0 ? void 0 : datagrid.querySelector(".".concat(blockClass, "__table-simple thead > div"));
66
66
  memoHead = simpleThead;
67
67
  }
68
68
  if (simpleThead) {