@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
@@ -24,12 +24,12 @@ var DatagridRefBody = function DatagridRefBody(datagridState) {
24
24
  role: undefined
25
25
  }), {
26
26
  className: cx("".concat(blockClass, "__simple-body"), getTableBodyProps().className)
27
- }), rows === null || rows === undefined ? undefined : rows.map(function (row) {
27
+ }), rows === null || rows === void 0 ? void 0 : rows.map(function (row) {
28
28
  var _row$RowRenderer;
29
29
  prepareRow(row);
30
30
  var _row$getRowProps = row.getRowProps(),
31
31
  key = _row$getRowProps.key;
32
- return row === null || row === undefined || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === undefined ? undefined : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
32
+ return row === null || row === void 0 || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === void 0 ? void 0 : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
33
33
  row: row,
34
34
  key: key
35
35
  }));
@@ -60,12 +60,12 @@ var DatagridRow = function DatagridRow(datagridState) {
60
60
  var subRowCount = _getVisibleNestedRowCount(row);
61
61
  var totalNestedRowIndicatorHeight = px(subRowCount * rowHeights[Number(rowSize)]);
62
62
  var hoverRow = event.target.closest(".".concat(blockClass, "__carbon-row-expanded"));
63
- hoverRow === null || hoverRow === undefined || hoverRow.classList.add("".concat(blockClass, "__carbon-row-expanded-hover-active"));
64
- var rowExpanderButton = hoverRow === null || hoverRow === undefined ? undefined : hoverRow.querySelector(".".concat(blockClass, "__row-expander"));
63
+ hoverRow === null || hoverRow === void 0 || hoverRow.classList.add("".concat(blockClass, "__carbon-row-expanded-hover-active"));
64
+ var rowExpanderButton = hoverRow === null || hoverRow === void 0 ? void 0 : hoverRow.querySelector(".".concat(blockClass, "__row-expander"));
65
65
  var rowSizeValue = rowSize || 'lg';
66
- hoverRow === null || hoverRow === undefined || (_hoverRow$style = hoverRow.style) === null || _hoverRow$style === undefined || _hoverRow$style.setProperty("--".concat(blockClass, "--indicator-height"), totalNestedRowIndicatorHeight);
67
- hoverRow === null || hoverRow === undefined || (_hoverRow$style2 = hoverRow.style) === null || _hoverRow$style2 === undefined || _hoverRow$style2.setProperty("--".concat(blockClass, "--row-height"), px(rowHeights[rowSizeValue]));
68
- hoverRow === null || hoverRow === undefined || (_hoverRow$style3 = hoverRow.style) === null || _hoverRow$style3 === undefined || _hoverRow$style3.setProperty("--".concat(blockClass, "--indicator-offset-amount"), px((rowExpanderButton === null || rowExpanderButton === undefined ? undefined : rowExpanderButton.offsetLeft) || 0));
66
+ hoverRow === null || hoverRow === void 0 || (_hoverRow$style = hoverRow.style) === null || _hoverRow$style === void 0 || _hoverRow$style.setProperty("--".concat(blockClass, "--indicator-height"), totalNestedRowIndicatorHeight);
67
+ hoverRow === null || hoverRow === void 0 || (_hoverRow$style2 = hoverRow.style) === null || _hoverRow$style2 === void 0 || _hoverRow$style2.setProperty("--".concat(blockClass, "--row-height"), px(rowHeights[rowSizeValue]));
68
+ hoverRow === null || hoverRow === void 0 || (_hoverRow$style3 = hoverRow.style) === null || _hoverRow$style3 === void 0 || _hoverRow$style3.setProperty("--".concat(blockClass, "--indicator-offset-amount"), px((rowExpanderButton === null || rowExpanderButton === void 0 ? void 0 : rowExpanderButton.offsetLeft) || 0));
69
69
  };
70
70
  var focusRemover = function focusRemover() {
71
71
  var elements = document.querySelectorAll("#".concat(tableId, " .").concat(blockClass, "__carbon-row-expanded"));
@@ -77,7 +77,7 @@ var DatagridRow = function DatagridRow(datagridState) {
77
77
  if (row.isExpanded) {
78
78
  var _row$RowExpansionRend;
79
79
  prepareRow(row);
80
- return row === null || row === undefined || (_row$RowExpansionRend = row.RowExpansionRenderer) === null || _row$RowExpansionRend === undefined ? undefined : _row$RowExpansionRend.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
80
+ return row === null || row === void 0 || (_row$RowExpansionRend = row.RowExpansionRenderer) === null || _row$RowExpansionRend === void 0 ? void 0 : _row$RowExpansionRend.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
81
81
  row: row
82
82
  }));
83
83
  }
@@ -85,10 +85,10 @@ var DatagridRow = function DatagridRow(datagridState) {
85
85
  };
86
86
  var handleMouseLeave = function handleMouseLeave(event) {
87
87
  if (withMouseHover) {
88
- setMouseOverRowIndex === null || setMouseOverRowIndex === undefined || setMouseOverRowIndex(null);
88
+ setMouseOverRowIndex === null || setMouseOverRowIndex === void 0 || setMouseOverRowIndex(null);
89
89
  }
90
90
  var hoverRow = event.target.closest(".".concat(blockClass, "__carbon-row-expanded"));
91
- hoverRow === null || hoverRow === undefined || hoverRow.classList.remove("".concat(blockClass, "__carbon-row-expanded-hover-active"));
91
+ hoverRow === null || hoverRow === void 0 || hoverRow.classList.remove("".concat(blockClass, "__carbon-row-expanded-hover-active"));
92
92
  };
93
93
  var handleOnKeyUp = function handleOnKeyUp(event) {
94
94
  if (!withNestedRows) {
@@ -114,9 +114,9 @@ var DatagridRow = function DatagridRow(datagridState) {
114
114
  rowProps = _objectWithoutProperties(_row$getRowProps, _excluded);
115
115
  var foundAIRow = rows.some(function (r) {
116
116
  var _r$original, _r$original2;
117
- return /*#__PURE__*/isValidElement(r === null || r === undefined || (_r$original = r.original) === null || _r$original === undefined ? undefined : _r$original.aiLabel) || /*#__PURE__*/isValidElement(r === null || r === undefined || (_r$original2 = r.original) === null || _r$original2 === undefined ? undefined : _r$original2.slug);
117
+ return /*#__PURE__*/isValidElement(r === null || r === void 0 || (_r$original = r.original) === null || _r$original === void 0 ? void 0 : _r$original.aiLabel) || /*#__PURE__*/isValidElement(r === null || r === void 0 || (_r$original2 = r.original) === null || _r$original2 === void 0 ? void 0 : _r$original2.slug);
118
118
  });
119
- var rowClassNames = cx("".concat(blockClass, "__carbon-row"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "__carbon-row-expanded"), row.isExpanded), "".concat(blockClass, "__carbon-row-expandable"), row.canExpand), "".concat(blockClass, "__carbon-row-expandable--async"), getAsyncSubRows && row.depth > 0), "".concat(carbon.prefix, "--data-table--selected"), row.isSelected), "".concat(blockClass, "__slug--row"), /*#__PURE__*/isValidElement(row === null || row === undefined || (_row$original = row.original) === null || _row$original === undefined ? undefined : _row$original.slug)), "".concat(blockClass, "__ai-label--row"), /*#__PURE__*/isValidElement(row === null || row === undefined || (_row$original2 = row.original) === null || _row$original2 === undefined ? undefined : _row$original2.aiLabel)));
119
+ var rowClassNames = cx("".concat(blockClass, "__carbon-row"), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "__carbon-row-expanded"), row.isExpanded), "".concat(blockClass, "__carbon-row-expandable"), row.canExpand), "".concat(blockClass, "__carbon-row-expandable--async"), getAsyncSubRows && row.depth > 0), "".concat(carbon.prefix, "--data-table--selected"), row.isSelected), "".concat(blockClass, "__slug--row"), /*#__PURE__*/isValidElement(row === null || row === void 0 || (_row$original = row.original) === null || _row$original === void 0 ? void 0 : _row$original.slug)), "".concat(blockClass, "__ai-label--row"), /*#__PURE__*/isValidElement(row === null || row === void 0 || (_row$original2 = row.original) === null || _row$original2 === void 0 ? void 0 : _row$original2.aiLabel)));
120
120
  var withActionsColumn = headers ? !!headers.filter(function (header) {
121
121
  return header.isAction;
122
122
  }).length : false;
@@ -131,14 +131,14 @@ var DatagridRow = function DatagridRow(datagridState) {
131
131
  onFocus: hoverHandler,
132
132
  onBlur: focusRemover,
133
133
  onKeyUp: handleOnKeyUp
134
- }, setAdditionalRowProps()), foundAIRow ? row !== null && row !== undefined && (_row$original3 = row.original) !== null && _row$original3 !== undefined && _row$original3.aiLabel ? /*#__PURE__*/React__default.createElement("td", {
134
+ }, setAdditionalRowProps()), foundAIRow ? row !== null && row !== void 0 && (_row$original3 = row.original) !== null && _row$original3 !== void 0 && _row$original3.aiLabel ? /*#__PURE__*/React__default.createElement("td", {
135
135
  className: cx("".concat(blockClass, "__table-row-ai-enabled"), _defineProperty({}, "".concat(blockClass, "__ai-label--expanded"), row.isExpanded))
136
136
  }, /*#__PURE__*/React__default.createElement(DatagridAILabel, {
137
- aiLabel: row === null || row === undefined || (_row$original4 = row.original) === null || _row$original4 === undefined ? undefined : _row$original4.aiLabel
138
- })) : row !== null && row !== undefined && (_row$original5 = row.original) !== null && _row$original5 !== undefined && _row$original5.slug ? /*#__PURE__*/React__default.createElement("td", {
137
+ aiLabel: row === null || row === void 0 || (_row$original4 = row.original) === null || _row$original4 === void 0 ? void 0 : _row$original4.aiLabel
138
+ })) : row !== null && row !== void 0 && (_row$original5 = row.original) !== null && _row$original5 !== void 0 && _row$original5.slug ? /*#__PURE__*/React__default.createElement("td", {
139
139
  className: cx("".concat(blockClass, "__table-row-ai-enabled"), _defineProperty({}, "".concat(blockClass, "__slug--expanded"), row.isExpanded))
140
140
  }, /*#__PURE__*/React__default.createElement(DatagridAILabel, {
141
- aiLabel: row === null || row === undefined || (_row$original6 = row.original) === null || _row$original6 === undefined ? undefined : _row$original6.slug
141
+ aiLabel: row === null || row === void 0 || (_row$original6 = row.original) === null || _row$original6 === void 0 ? void 0 : _row$original6.slug
142
142
  })) : /*#__PURE__*/React__default.createElement("td", {
143
143
  className: "".concat(blockClass, "__table-row-ai-spacer")
144
144
  }) : null, row.cells.map(function (cell, index) {
@@ -150,15 +150,15 @@ var DatagridRow = function DatagridRow(datagridState) {
150
150
  style = _ref2.style,
151
151
  children = _ref2.children,
152
152
  restProps = _objectWithoutProperties(_ref2, _excluded2);
153
- var columnClassname = cell === null || cell === undefined || (_cell$column = cell.column) === null || _cell$column === undefined ? undefined : _cell$column.className;
153
+ var columnClassname = cell === null || cell === void 0 || (_cell$column = cell.column) === null || _cell$column === void 0 ? void 0 : _cell$column.className;
154
154
  var content = children || /*#__PURE__*/React__default.createElement(React__default.Fragment, null, !row.isSkeleton && cell.render('Cell'), row.isSkeleton && (_SkeletonText || (_SkeletonText = /*#__PURE__*/React__default.createElement(SkeletonText, null))));
155
- if ((cell === null || cell === undefined || (_cell$column2 = cell.column) === null || _cell$column2 === undefined ? undefined : _cell$column2.id) === selectionColumnId) {
155
+ if ((cell === null || cell === void 0 || (_cell$column2 = cell.column) === null || _cell$column2 === void 0 ? void 0 : _cell$column2.id) === selectionColumnId) {
156
156
  // directly render component without the wrapping TableCell
157
157
  return cell.render('Cell', {
158
158
  key: cell.column.id
159
159
  });
160
160
  }
161
- var associatedHeader = headers === null || headers === undefined ? undefined : headers.filter(function (h) {
161
+ var associatedHeader = headers === null || headers === void 0 ? void 0 : headers.filter(function (h) {
162
162
  return h.id === cell.column.id;
163
163
  });
164
164
  var lastVisibleIndex = withActionsColumn ? 2 : 1;
@@ -167,13 +167,13 @@ var DatagridRow = function DatagridRow(datagridState) {
167
167
  style.flex = lastVisibleFlexStyle;
168
168
  }
169
169
  return /*#__PURE__*/React__default.createElement(TableCell, _extends({
170
- className: cx("".concat(blockClass, "__cell"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "__expandable-row-cell"), (row.canExpand || getAsyncSubRows) && index === 0), "".concat(blockClass, "__expandable-row-cell--is-expanded"), row.isExpanded && index === 0), "".concat(blockClass, "__slug--cell"), associatedHeader && associatedHeader.length && /*#__PURE__*/isValidElement((_associatedHeader$ = associatedHeader[0]) === null || _associatedHeader$ === undefined ? undefined : _associatedHeader$.slug)), "".concat(blockClass, "__ai-label--cell"), associatedHeader && associatedHeader.length && /*#__PURE__*/isValidElement((_associatedHeader$2 = associatedHeader[0]) === null || _associatedHeader$2 === undefined ? undefined : _associatedHeader$2.aiLabel)), columnClassname)
170
+ className: cx("".concat(blockClass, "__cell"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "__expandable-row-cell"), (row.canExpand || getAsyncSubRows) && index === 0), "".concat(blockClass, "__expandable-row-cell--is-expanded"), row.isExpanded && index === 0), "".concat(blockClass, "__slug--cell"), associatedHeader && associatedHeader.length && /*#__PURE__*/isValidElement((_associatedHeader$ = associatedHeader[0]) === null || _associatedHeader$ === void 0 ? void 0 : _associatedHeader$.slug)), "".concat(blockClass, "__ai-label--cell"), associatedHeader && associatedHeader.length && /*#__PURE__*/isValidElement((_associatedHeader$2 = associatedHeader[0]) === null || _associatedHeader$2 === void 0 ? void 0 : _associatedHeader$2.aiLabel)), columnClassname)
171
171
  }, restProps, {
172
172
  // eslint-disable-next-line react/forbid-component-props
173
173
  style: style,
174
174
  key: cell.column.id
175
175
  }), content);
176
- })), (renderExpandedRow === null || renderExpandedRow === undefined ? undefined : renderExpandedRow()) || undefined);
176
+ })), (renderExpandedRow === null || renderExpandedRow === void 0 ? void 0 : renderExpandedRow()) || undefined);
177
177
  };
178
178
 
179
179
  export { DatagridRow as default };
@@ -48,7 +48,7 @@ var SelectAll = function SelectAll(datagridState) {
48
48
  toggleAllRowsSelected = datagridState.toggleAllRowsSelected,
49
49
  withVirtualScroll = datagridState.withVirtualScroll,
50
50
  onAllRowSelect = datagridState.onAllRowSelect;
51
- var isFirstColumnStickyLeft = ((_columns$ = columns[0]) === null || _columns$ === undefined ? undefined : _columns$.sticky) === 'left' && withStickyColumn;
51
+ var isFirstColumnStickyLeft = ((_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.sticky) === 'left' && withStickyColumn;
52
52
  if (hideSelectAll || radio) {
53
53
  return /*#__PURE__*/React__default.createElement("th", {
54
54
  className: cx("".concat(blockClass, "__head-hidden-select-all"), _defineProperty({}, "".concat(blockClass, "__select-all-sticky-left"), /* istanbul ignore next */
@@ -68,8 +68,8 @@ var SelectAll = function SelectAll(datagridState) {
68
68
  isChecked: event.target.checked,
69
69
  indeterminate: indeterminate
70
70
  });
71
- onAllRowSelect === null || onAllRowSelect === undefined || onAllRowSelect(rows, event);
72
- return onChange === null || onChange === undefined ? undefined : onChange(event);
71
+ onAllRowSelect === null || onAllRowSelect === void 0 || onAllRowSelect(rows, event);
72
+ return onChange === null || onChange === void 0 ? void 0 : onChange(event);
73
73
  };
74
74
  var handleSelectAllChange = function handleSelectAllChange(event) {
75
75
  if (indeterminate) {
@@ -81,8 +81,8 @@ var SelectAll = function SelectAll(datagridState) {
81
81
  isChecked: undefined
82
82
  });
83
83
  toggleAllRowsSelected(false);
84
- onAllRowSelect === null || onAllRowSelect === undefined || onAllRowSelect(rows, event);
85
- return onChange === null || onChange === undefined ? undefined : onChange({
84
+ onAllRowSelect === null || onAllRowSelect === void 0 || onAllRowSelect(rows, event);
85
+ return onChange === null || onChange === void 0 ? void 0 : onChange({
86
86
  target: {
87
87
  checked: false
88
88
  }
@@ -95,16 +95,16 @@ var SelectAll = function SelectAll(datagridState) {
95
95
  isChecked: event.target.checked,
96
96
  indeterminate: indeterminate
97
97
  });
98
- onAllRowSelect === null || onAllRowSelect === undefined || onAllRowSelect(rows, event);
99
- return onChange === null || onChange === undefined ? undefined : onChange(event);
98
+ onAllRowSelect === null || onAllRowSelect === void 0 || onAllRowSelect(rows, event);
99
+ return onChange === null || onChange === void 0 ? void 0 : onChange(event);
100
100
  };
101
101
  return /*#__PURE__*/React__default.createElement(TableSelectAll, _extends({}, selectProps, {
102
- checked: (selectProps === null || selectProps === undefined ? undefined : selectProps.checked) || false,
102
+ checked: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.checked) || false,
103
103
  className: cx("".concat(blockClass, "__head-select-all"), "".concat(blockClass, "__checkbox-cell"), _defineProperty({}, "".concat(blockClass, "__checkbox-cell-sticky-left"), /* istanbul ignore next */
104
104
  isFirstColumnStickyLeft && Number(windowSize) > 671)),
105
105
  name: "".concat(tableId, "-select-all-checkbox-name"),
106
106
  onSelect: withVirtualScroll ? handleSelectAllChange : handleOnPageSelectAllChange,
107
- disabled: isFetching || (selectProps === null || selectProps === undefined ? undefined : selectProps.disabled),
107
+ disabled: isFetching || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled),
108
108
  id: "".concat(tableId, "-select-all-checkbox-id")
109
109
  }));
110
110
  };
@@ -26,9 +26,9 @@ var SelectAllWithToggle = function SelectAllWithToggle(_ref) {
26
26
  getToggleAllPageRowsSelectedProps = _ref.getToggleAllPageRowsSelectedProps,
27
27
  getToggleAllRowsSelectedProps = _ref.getToggleAllRowsSelectedProps,
28
28
  _ref$allPageRowsLabel = _ref.allPageRowsLabel,
29
- allPageRowsLabel = _ref$allPageRowsLabel === undefined ? 'Select all on page' : _ref$allPageRowsLabel,
29
+ allPageRowsLabel = _ref$allPageRowsLabel === void 0 ? 'Select all on page' : _ref$allPageRowsLabel,
30
30
  _ref$allRowsLabel = _ref.allRowsLabel,
31
- allRowsLabel = _ref$allRowsLabel === undefined ? 'Select all' : _ref$allRowsLabel,
31
+ allRowsLabel = _ref$allRowsLabel === void 0 ? 'Select all' : _ref$allRowsLabel,
32
32
  columns = _ref.columns,
33
33
  withStickyColumn = _ref.withStickyColumn;
34
34
  var _ref2 = selectAllToggle || {},
@@ -58,7 +58,7 @@ var SelectAllWithToggle = function SelectAllWithToggle(_ref) {
58
58
  };
59
59
  }, []);
60
60
  if (labels) {
61
- allPageRowsLabel = (labels === null || labels === undefined ? undefined : labels.allPageRows) || allPageRowsLabel;
61
+ allPageRowsLabel = (labels === null || labels === void 0 ? void 0 : labels.allPageRows) || allPageRowsLabel;
62
62
  allRowsLabel = labels.allRows || allRowsLabel;
63
63
  }
64
64
  var getProps = selectAllMode === SELECT_ALL_PAGE_ROWS ? getToggleAllPageRowsSelectedProps : getToggleAllRowsSelectedProps;
@@ -66,14 +66,14 @@ var SelectAllWithToggle = function SelectAllWithToggle(_ref) {
66
66
  onChange = _ref3.onChange,
67
67
  selectProps = _objectWithoutProperties(_ref3, _excluded);
68
68
  var disabled = isFetching || selectProps.disabled;
69
- var isFirstColumnStickyLeft = (columns === null || columns === undefined || (_columns$ = columns[0]) === null || _columns$ === undefined ? undefined : _columns$.sticky) === 'left' && withStickyColumn;
69
+ var isFirstColumnStickyLeft = (columns === null || columns === void 0 || (_columns$ = columns[0]) === null || _columns$ === void 0 ? void 0 : _columns$.sticky) === 'left' && withStickyColumn;
70
70
  return /*#__PURE__*/React__default.createElement("th", {
71
71
  scope: "col",
72
- className: cx("".concat(blockClass, "__select-all-toggle-on"), _defineProperty({}, "".concat(blockClass, "__select-all-sticky-left"), isFirstColumnStickyLeft && (windowSize !== null && windowSize !== undefined ? windowSize : 0) > 671))
72
+ className: cx("".concat(blockClass, "__select-all-toggle-on"), _defineProperty({}, "".concat(blockClass, "__select-all-sticky-left"), isFirstColumnStickyLeft && (windowSize !== null && windowSize !== void 0 ? windowSize : 0) > 671))
73
73
  }, /*#__PURE__*/React__default.createElement("span", null, /*#__PURE__*/React__default.createElement(Checkbox, _extends({}, selectProps, {
74
74
  name: "".concat(tableId, "-select-all-checkbox-name"),
75
75
  onClick: function onClick(e) {
76
- onChange === null || onChange === undefined || onChange(e);
76
+ onChange === null || onChange === void 0 || onChange(e);
77
77
  },
78
78
  disabled: disabled,
79
79
  id: "".concat(tableId, "-select-all-checkbox-id"),
@@ -96,7 +96,7 @@ var SelectAllWithToggle = function SelectAllWithToggle(_ref) {
96
96
  var _ref4;
97
97
  setSelectAllMode(SELECT_ALL_PAGE_ROWS);
98
98
  // deselect all rows first
99
- getToggleAllRowsSelectedProps === null || getToggleAllRowsSelectedProps === undefined || (_ref4 = getToggleAllRowsSelectedProps()) === null || _ref4 === undefined || _ref4.onChange({
99
+ getToggleAllRowsSelectedProps === null || getToggleAllRowsSelectedProps === void 0 || (_ref4 = getToggleAllRowsSelectedProps()) === null || _ref4 === void 0 || _ref4.onChange({
100
100
  target: {
101
101
  checked: false
102
102
  }
@@ -26,7 +26,7 @@ var DatagridSimpleBody = function DatagridSimpleBody(datagridState) {
26
26
  prepareRow(row);
27
27
  var _row$getRowProps = row.getRowProps(),
28
28
  key = _row$getRowProps.key;
29
- return row === null || row === undefined || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === undefined ? undefined : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
29
+ return row === null || row === void 0 || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === void 0 ? void 0 : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
30
30
  row: row,
31
31
  key: key
32
32
  }));
@@ -44,14 +44,14 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
44
44
  _useState8 = _slicedToArray(_useState7, 2),
45
45
  availableRowsCount = _useState8[0],
46
46
  setAvailableRowsCount = _useState8[1];
47
- var batchActionMenuButtonLabelText = batchActionMenuButtonLabel !== null && batchActionMenuButtonLabel !== undefined ? batchActionMenuButtonLabel : 'More';
47
+ var batchActionMenuButtonLabelText = batchActionMenuButtonLabel !== null && batchActionMenuButtonLabel !== void 0 ? batchActionMenuButtonLabel : 'More';
48
48
  var selectedKeys = Object.keys(selectedRowIds || {});
49
49
  var totalSelected = selectedKeys.length;
50
50
  useEffect(function () {
51
51
  var _rows$find, _rows$find$getRowProp;
52
52
  var countDisabledRows = ((_rows$find = rows.find(function (row) {
53
53
  return row.getRowProps;
54
- })) === 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 || (_rows$find$getRowProp = _rows$find$getRowProp.nonselectablerows) === null || _rows$find$getRowProp === undefined ? undefined : _rows$find$getRowProp.length) || 0;
54
+ })) === 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 || (_rows$find$getRowProp = _rows$find$getRowProp.nonselectablerows) === null || _rows$find$getRowProp === void 0 ? void 0 : _rows$find$getRowProp.length) || 0;
55
55
  if (rows) {
56
56
  setAvailableRowsCount(rows.length - countDisabledRows);
57
57
  }
@@ -63,13 +63,13 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
63
63
  useEffect(function () {
64
64
  if (totalSelected === 1 && !receivedInitialWidth) {
65
65
  var _ref$current;
66
- var batchActionListWidth = ref === null || ref === undefined || (_ref$current = ref.current) === null || _ref$current === undefined ? undefined : _ref$current.querySelector(".".concat(carbon.prefix, "--action-list")).offsetWidth;
66
+ var batchActionListWidth = ref === null || ref === void 0 || (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.querySelector(".".concat(carbon.prefix, "--action-list")).offsetWidth;
67
67
  setInitialListWidth(batchActionListWidth);
68
68
  setReceivedInitialWidth(true);
69
69
  }
70
70
  }, [totalSelected, receivedInitialWidth, ref]);
71
71
  useEffect(function () {
72
- var summaryWidth = ref === null || ref === undefined ? undefined : ref.current.querySelector(".".concat(carbon.prefix, "--batch-summary")).offsetWidth;
72
+ var summaryWidth = ref === null || ref === void 0 ? void 0 : ref.current.querySelector(".".concat(carbon.prefix, "--batch-summary")).offsetWidth;
73
73
  if (width < summaryWidth + initialListWidth + 32) {
74
74
  setDisplayAllInMenu(true);
75
75
  } else {
@@ -94,7 +94,7 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
94
94
  var minWidthBeforeOverflowIcon = 380;
95
95
  // Do not render ButtonMenu when there are 3 or less items
96
96
  // and if there is enough available space to render all the items
97
- if (toolbarBatchActions && !displayAllInMenu && (!toolbarBatchActionsDisplayMin && (toolbarBatchActions === null || toolbarBatchActions === undefined ? undefined : toolbarBatchActions.length) <= 3 || toolbarBatchActionsDisplayMin !== undefined && (toolbarBatchActions === null || toolbarBatchActions === undefined ? undefined : toolbarBatchActions.length) <= toolbarBatchActionsDisplayMin)) {
97
+ if (toolbarBatchActions && !displayAllInMenu && (!toolbarBatchActionsDisplayMin && (toolbarBatchActions === null || toolbarBatchActions === void 0 ? void 0 : toolbarBatchActions.length) <= 3 || toolbarBatchActionsDisplayMin !== undefined && (toolbarBatchActions === null || toolbarBatchActions === void 0 ? void 0 : toolbarBatchActions.length) <= toolbarBatchActionsDisplayMin)) {
98
98
  return;
99
99
  }
100
100
  var renderItem = function renderItem(batchAction, index) {
@@ -111,7 +111,7 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
111
111
  className: cx([menuClass, _defineProperty({}, "".concat(menuClass, "-icon-only"), width <= minWidthBeforeOverflowIcon)]),
112
112
  tabIndex: totalSelected > 0 ? 0 : -1,
113
113
  menuAlignment: "bottom"
114
- }, toolbarBatchActions === null || toolbarBatchActions === undefined ? undefined : toolbarBatchActions.map(function (batchAction, index) {
114
+ }, toolbarBatchActions === null || toolbarBatchActions === void 0 ? void 0 : toolbarBatchActions.map(function (batchAction, index) {
115
115
  var hidden = toolbarBatchActionsDisplayMin === undefined && index < 2 && !displayAllInMenu;
116
116
  if (toolbarBatchActionsDisplayMin !== undefined && index < toolbarBatchActionsDisplayMin && !displayAllInMenu) {
117
117
  hidden = true;
@@ -136,11 +136,11 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
136
136
  indeterminate: undefined
137
137
  });
138
138
  toggleAllRowsSelected(false);
139
- setGlobalFilter === null || setGlobalFilter === undefined || setGlobalFilter(null);
139
+ setGlobalFilter === null || setGlobalFilter === void 0 || setGlobalFilter(null);
140
140
  };
141
141
  var onSelectAllHandler = function onSelectAllHandler() {
142
142
  toggleAllRowsSelected(true);
143
- onSelectAllRows === null || onSelectAllRows === undefined || onSelectAllRows(true);
143
+ onSelectAllRows === null || onSelectAllRows === void 0 || onSelectAllRows(true);
144
144
  handleSelectAllRowData({
145
145
  dispatch: dispatch,
146
146
  rows: rows,
@@ -160,7 +160,7 @@ var DatagridBatchActionsToolbar = function DatagridBatchActionsToolbar(datagridS
160
160
  onSelectAll: onSelectAllHandler,
161
161
  totalCount: availableRowsCount,
162
162
  translateWithId: translateWithIdBatchActions
163
- }, !displayAllInMenu && toolbarBatchActions && (toolbarBatchActions === null || toolbarBatchActions === undefined ? undefined : toolbarBatchActions.map(function (batchAction, index) {
163
+ }, !displayAllInMenu && toolbarBatchActions && (toolbarBatchActions === null || toolbarBatchActions === void 0 ? void 0 : toolbarBatchActions.map(function (batchAction, index) {
164
164
  if (!toolbarBatchActionsDisplayMin && index < 2 && toolbarBatchActions.length > 3 || index < 3 && toolbarBatchActions.length <= 3 || toolbarBatchActionsDisplayMin !== undefined && index < toolbarBatchActionsDisplayMin) {
165
165
  return /*#__PURE__*/React__default.createElement(TableBatchAction, {
166
166
  key: "".concat(batchAction.label, "-").concat(index),
@@ -191,11 +191,11 @@ var DatagridToolbar = function DatagridToolbar(_ref2) {
191
191
  className: cx([blockClass, "".concat(blockClass, "--").concat(getRowHeight)])
192
192
  }, /*#__PURE__*/React__default.createElement(TableToolbar, {
193
193
  "aria-label": ariaToolbarLabel
194
- }, DatagridActions && /*#__PURE__*/React__default.createElement(DatagridActions, datagridState), DatagridBatchActionsToolbar === null || DatagridBatchActionsToolbar === undefined ? undefined : DatagridBatchActionsToolbar(datagridState, width, ref))) : DatagridActions ? /*#__PURE__*/React__default.createElement("div", {
194
+ }, DatagridActions && /*#__PURE__*/React__default.createElement(DatagridActions, datagridState), DatagridBatchActionsToolbar === null || DatagridBatchActionsToolbar === void 0 ? void 0 : DatagridBatchActionsToolbar(datagridState, width, ref))) : DatagridActions ? /*#__PURE__*/React__default.createElement("div", {
195
195
  className: blockClass
196
196
  }, /*#__PURE__*/React__default.createElement(TableToolbar, {
197
197
  "aria-label": ariaToolbarLabel
198
- }, DatagridActions && /*#__PURE__*/React__default.createElement(DatagridActions, datagridState), DatagridBatchActions === null || DatagridBatchActions === undefined ? undefined : DatagridBatchActions(datagridState))) : null;
198
+ }, DatagridActions && /*#__PURE__*/React__default.createElement(DatagridActions, datagridState), DatagridBatchActions === null || DatagridBatchActions === void 0 ? void 0 : DatagridBatchActions(datagridState))) : null;
199
199
  };
200
200
  DatagridToolbar.propTypes = {
201
201
  ariaToolbarLabel: PropTypes.string
@@ -31,7 +31,7 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
31
31
  onScroll = datagridState.onScroll,
32
32
  innerListRef = datagridState.innerListRef,
33
33
  _datagridState$tableH = datagridState.tableHeight,
34
- tableHeight = _datagridState$tableH === undefined ? 400 : _datagridState$tableH,
34
+ tableHeight = _datagridState$tableH === void 0 ? 400 : _datagridState$tableH,
35
35
  virtualHeight = datagridState.virtualHeight,
36
36
  listRef = datagridState.listRef,
37
37
  rowSize = datagridState.rowSize,
@@ -43,20 +43,20 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
43
43
  onVirtualScroll = datagridState.onVirtualScroll;
44
44
  var headWrapRef = useRef(null);
45
45
  var innerRef = useRef(null);
46
- var gridWidth = gridRef === null || gridRef === undefined || (_gridRef$current = gridRef.current) === null || _gridRef$current === undefined ? undefined : _gridRef$current.clientWidth;
46
+ var gridWidth = gridRef === null || gridRef === void 0 || (_gridRef$current = gridRef.current) === null || _gridRef$current === void 0 ? void 0 : _gridRef$current.clientWidth;
47
47
  /* istanbul ignore next */
48
48
  var handleVirtualGridResize = function handleVirtualGridResize() {
49
- var gridRefElement = gridRef === null || gridRef === undefined ? undefined : gridRef.current;
49
+ var gridRefElement = gridRef === null || gridRef === void 0 ? void 0 : gridRef.current;
50
50
  // isHidden checks for an edge case where if the table is hidden by something like a Tab that the width can't be calculated to 0
51
- var isHidden = (gridRefElement === null || gridRefElement === undefined ? undefined : gridRefElement.offsetParent) === null;
51
+ var isHidden = (gridRefElement === null || gridRefElement === void 0 ? void 0 : gridRefElement.offsetParent) === null;
52
52
  if (gridRefElement && !isHidden) {
53
53
  var _gridRefElement$clien;
54
- gridRefElement.style.width = gridRefElement === null || gridRefElement === undefined || (_gridRefElement$clien = gridRefElement.clientWidth) === null || _gridRefElement$clien === undefined ? undefined : _gridRefElement$clien.toString();
54
+ gridRefElement.style.width = gridRefElement === null || gridRefElement === void 0 || (_gridRefElement$clien = gridRefElement.clientWidth) === null || _gridRefElement$clien === void 0 ? void 0 : _gridRefElement$clien.toString();
55
55
  }
56
56
  };
57
57
  useResizeObserver(gridRef, handleVirtualGridResize);
58
58
  useEffect(function () {
59
- handleResize === null || handleResize === undefined || handleResize();
59
+ handleResize === null || handleResize === void 0 || handleResize();
60
60
  }, [handleResize]);
61
61
  var rowHeight = rowSize && rowSizeMap[rowSize] || defaultRowHeight;
62
62
  useEffect(function () {
@@ -70,13 +70,13 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
70
70
  // Sync the scrollLeft position of the virtual body to the table header
71
71
  useEffect(function () {
72
72
  var _document;
73
- var headWrapEl = (_document = document) === null || _document === undefined ? undefined : _document.querySelector("#".concat(tableId, " .").concat(blockClass, "__head-wrap"));
73
+ var headWrapEl = (_document = document) === null || _document === void 0 ? void 0 : _document.querySelector("#".concat(tableId, " .").concat(blockClass, "__head-wrap"));
74
74
 
75
75
  // Syncs header scroll position when virtual body is scrolled
76
76
  function handleVirtualScrollX(event) {
77
77
  var virtualBody = event.target;
78
78
  if (headWrapEl) {
79
- headWrapEl.scrollLeft = virtualBody === null || virtualBody === undefined ? undefined : virtualBody.scrollLeft;
79
+ headWrapEl.scrollLeft = virtualBody === null || virtualBody === void 0 ? void 0 : virtualBody.scrollLeft;
80
80
  }
81
81
  }
82
82
 
@@ -84,17 +84,17 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
84
84
  function handleHeaderScrollX(event) {
85
85
  var header = event.target;
86
86
  if (testRef && testRef.current) {
87
- testRef.current.scrollLeft = header === null || header === undefined ? undefined : header.scrollLeft;
87
+ testRef.current.scrollLeft = header === null || header === void 0 ? void 0 : header.scrollLeft;
88
88
  // this prevents the scroll bar from over exceeding the vertical scroll bar compensation in the right
89
89
  header.scrollLeft = testRef.current.scrollLeft;
90
90
  }
91
91
  }
92
- var testRefValue = testRef === null || testRef === undefined ? undefined : testRef.current;
93
- testRefValue === null || testRefValue === undefined || testRefValue.addEventListener('scroll', handleVirtualScrollX);
94
- headWrapEl === null || headWrapEl === undefined || headWrapEl.addEventListener('scroll', handleHeaderScrollX);
92
+ var testRefValue = testRef === null || testRef === void 0 ? void 0 : testRef.current;
93
+ testRefValue === null || testRefValue === void 0 || testRefValue.addEventListener('scroll', handleVirtualScrollX);
94
+ headWrapEl === null || headWrapEl === void 0 || headWrapEl.addEventListener('scroll', handleHeaderScrollX);
95
95
  return function () {
96
- testRefValue === null || testRefValue === undefined || testRefValue.removeEventListener('scroll', handleVirtualScrollX);
97
- headWrapEl === null || headWrapEl === undefined || headWrapEl.removeEventListener('scroll', handleHeaderScrollX);
96
+ testRefValue === null || testRefValue === void 0 || testRefValue.removeEventListener('scroll', handleVirtualScrollX);
97
+ headWrapEl === null || headWrapEl === void 0 || headWrapEl.removeEventListener('scroll', handleHeaderScrollX);
98
98
  };
99
99
  });
100
100
  useIsomorphicEffect(function () {
@@ -104,7 +104,7 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
104
104
  }
105
105
  }, [headWrapRef, gridWidth]);
106
106
  useIsomorphicEffect(function () {
107
- if (testRef !== null && testRef !== undefined && testRef.current && testRef.current.style) {
107
+ if (testRef !== null && testRef !== void 0 && testRef.current && testRef.current.style) {
108
108
  testRef.current.style.width = "".concat(gridWidth, "px");
109
109
  }
110
110
  }, [testRef, gridWidth]);
@@ -120,12 +120,12 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
120
120
  itemCount: visibleRows.length,
121
121
  itemSize: function itemSize(index) {
122
122
  var _visibleRows$index;
123
- return (_visibleRows$index = visibleRows[index]) !== null && _visibleRows$index !== undefined && _visibleRows$index.isExpanded ? (visibleRows[index].expandedContentHeight || 0) + rowHeight : rowHeight;
123
+ return (_visibleRows$index = visibleRows[index]) !== null && _visibleRows$index !== void 0 && _visibleRows$index.isExpanded ? (visibleRows[index].expandedContentHeight || 0) + rowHeight : rowHeight;
124
124
  },
125
125
  estimatedItemSize: rowHeight,
126
126
  onScroll: onScroll,
127
127
  onItemsRendered: function onItemsRendered(e) {
128
- return onVirtualScroll === null || onVirtualScroll === undefined ? undefined : onVirtualScroll(e);
128
+ return onVirtualScroll === null || onVirtualScroll === void 0 ? void 0 : onVirtualScroll(e);
129
129
  },
130
130
  innerRef: innerListRef,
131
131
  outerRef: testRef,
@@ -142,7 +142,7 @@ var DatagridVirtualBody = function DatagridVirtualBody(datagridState) {
142
142
  return /*#__PURE__*/React__default.createElement("div", {
143
143
  ref: innerRef,
144
144
  style: _objectSpread2({}, style)
145
- }, row === null || row === undefined || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === undefined ? undefined : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
145
+ }, row === null || row === void 0 || (_row$RowRenderer = row.RowRenderer) === null || _row$RowRenderer === void 0 ? void 0 : _row$RowRenderer.call(row, _objectSpread2(_objectSpread2({}, datagridState), {}, {
146
146
  row: row,
147
147
  key: key
148
148
  })));
@@ -19,7 +19,7 @@ var ButtonWrapper = function ButtonWrapper(_ref) {
19
19
  setIsTearsheetOpen = _ref.setIsTearsheetOpen,
20
20
  isTearsheetOpen = _ref.isTearsheetOpen,
21
21
  _ref$iconTooltipLabel = _ref.iconTooltipLabel,
22
- iconTooltipLabel = _ref$iconTooltipLabel === undefined ? 'Customize columns' : _ref$iconTooltipLabel,
22
+ iconTooltipLabel = _ref$iconTooltipLabel === void 0 ? 'Customize columns' : _ref$iconTooltipLabel,
23
23
  rest = _objectWithoutProperties(_ref, _excluded);
24
24
  return /*#__PURE__*/React.createElement(Button, _extends({}, rest, {
25
25
  renderIcon: function renderIcon(props) {
@@ -41,7 +41,7 @@ var Columns = function Columns(_ref) {
41
41
  return prevClone;
42
42
  });
43
43
  }, [setColumnsObject]);
44
- var filteredStickyColumn = columns === null || columns === undefined ? undefined : columns.filter(function (item) {
44
+ var filteredStickyColumn = columns === null || columns === void 0 ? void 0 : columns.filter(function (item) {
45
45
  return !item.sticky;
46
46
  });
47
47
  return /*#__PURE__*/React__default.createElement("div", {
@@ -22,23 +22,23 @@ var CustomizeColumnsTearsheet = function CustomizeColumnsTearsheet(_ref) {
22
22
  columnDefinitions = _ref.columnDefinitions,
23
23
  originalColumnDefinitions = _ref.originalColumnDefinitions,
24
24
  _ref$customizeTearshe = _ref.customizeTearsheetHeadingLabel,
25
- customizeTearsheetHeadingLabel = _ref$customizeTearshe === undefined ? 'Customize columns' : _ref$customizeTearshe,
25
+ customizeTearsheetHeadingLabel = _ref$customizeTearshe === void 0 ? 'Customize columns' : _ref$customizeTearshe,
26
26
  _ref$primaryButtonTex = _ref.primaryButtonTextLabel,
27
- primaryButtonTextLabel = _ref$primaryButtonTex === undefined ? 'Save' : _ref$primaryButtonTex,
27
+ primaryButtonTextLabel = _ref$primaryButtonTex === void 0 ? 'Save' : _ref$primaryButtonTex,
28
28
  _ref$secondaryButtonT = _ref.secondaryButtonTextLabel,
29
- secondaryButtonTextLabel = _ref$secondaryButtonT === undefined ? 'Cancel' : _ref$secondaryButtonT,
29
+ secondaryButtonTextLabel = _ref$secondaryButtonT === void 0 ? 'Cancel' : _ref$secondaryButtonT,
30
30
  _ref$instructionsLabe = _ref.instructionsLabel,
31
- instructionsLabel = _ref$instructionsLabe === undefined ? 'Select columns to display them. Click and drag the box to reorder the columns. These specifications will be saved and persist if you leave and return to the data table.' : _ref$instructionsLabe,
31
+ instructionsLabel = _ref$instructionsLabe === void 0 ? 'Select columns to display them. Click and drag the box to reorder the columns. These specifications will be saved and persist if you leave and return to the data table.' : _ref$instructionsLabe,
32
32
  _ref$findColumnPlaceh = _ref.findColumnPlaceholderLabel,
33
- findColumnPlaceholderLabel = _ref$findColumnPlaceh === undefined ? 'Find column' : _ref$findColumnPlaceh,
33
+ findColumnPlaceholderLabel = _ref$findColumnPlaceh === void 0 ? 'Find column' : _ref$findColumnPlaceh,
34
34
  _ref$resetToDefaultLa = _ref.resetToDefaultLabel,
35
- resetToDefaultLabel = _ref$resetToDefaultLa === undefined ? 'Reset to default' : _ref$resetToDefaultLa,
35
+ resetToDefaultLabel = _ref$resetToDefaultLa === void 0 ? 'Reset to default' : _ref$resetToDefaultLa,
36
36
  _ref$assistiveTextIns = _ref.assistiveTextInstructionsLabel,
37
- assistiveTextInstructionsLabel = _ref$assistiveTextIns === undefined ? 'Press space bar to toggle drag drop mode, use arrow keys to move selected elements.' : _ref$assistiveTextIns,
37
+ assistiveTextInstructionsLabel = _ref$assistiveTextIns === void 0 ? 'Press space bar to toggle drag drop mode, use arrow keys to move selected elements.' : _ref$assistiveTextIns,
38
38
  _ref$assistiveTextDis = _ref.assistiveTextDisabledInstructionsLabel,
39
- assistiveTextDisabledInstructionsLabel = _ref$assistiveTextDis === undefined ? 'Reordering columns are disabled because they are filtered currently.' : _ref$assistiveTextDis,
39
+ assistiveTextDisabledInstructionsLabel = _ref$assistiveTextDis === void 0 ? 'Reordering columns are disabled because they are filtered currently.' : _ref$assistiveTextDis,
40
40
  _ref$selectAllLabel = _ref.selectAllLabel,
41
- selectAllLabel = _ref$selectAllLabel === undefined ? 'Column name' : _ref$selectAllLabel;
41
+ selectAllLabel = _ref$selectAllLabel === void 0 ? 'Column name' : _ref$selectAllLabel;
42
42
  var _useState = useState(''),
43
43
  _useState2 = _slicedToArray(_useState, 2),
44
44
  visibleColumnsCount = _useState2[0],
@@ -62,7 +62,7 @@ var DraggableItemsList = function DraggableItemsList(_ref) {
62
62
  var destOverCol = updatedDragCols.filter(function (item) {
63
63
  return item.id === over.id;
64
64
  });
65
- if (destOverCol !== null && destOverCol !== undefined && destOverCol.length && (_destOverCol$ = destOverCol[0]) !== null && _destOverCol$ !== undefined && _destOverCol$.disabled) {
65
+ if (destOverCol !== null && destOverCol !== void 0 && destOverCol.length && (_destOverCol$ = destOverCol[0]) !== null && _destOverCol$ !== void 0 && _destOverCol$.disabled) {
66
66
  return;
67
67
  }
68
68
  var fromVisibleIndex = updatedDragCols.findIndex(function (col) {
@@ -26,7 +26,7 @@ var TearsheetWrapper = function TearsheetWrapper(_ref) {
26
26
  var _ref2 = state || {},
27
27
  featureFlags = _ref2.featureFlags;
28
28
  useEffect(function () {
29
- if (featureFlags && !(featureFlags !== null && featureFlags !== undefined && featureFlags['enable-datagrid-useCustomizeColumns'])) {
29
+ if (featureFlags && !(featureFlags !== null && featureFlags !== void 0 && featureFlags['enable-datagrid-useCustomizeColumns'])) {
30
30
  console.error("Datagrid useCustomizeColumns extension has not been enabled via feature flag.");
31
31
  }
32
32
  }, [featureFlags]);
@@ -38,30 +38,30 @@ var emptyArray = [];
38
38
  var FilterFlyout = function FilterFlyout(_ref) {
39
39
  var updateMethod = _ref.updateMethod,
40
40
  _ref$flyoutIconDescri = _ref.flyoutIconDescription,
41
- flyoutIconDescription = _ref$flyoutIconDescri === undefined ? defaults.flyoutIconDescription : _ref$flyoutIconDescri,
41
+ flyoutIconDescription = _ref$flyoutIconDescri === void 0 ? defaults.flyoutIconDescription : _ref$flyoutIconDescri,
42
42
  _ref$align = _ref.align,
43
- align = _ref$align === undefined ? defaults.align : _ref$align,
43
+ align = _ref$align === void 0 ? defaults.align : _ref$align,
44
44
  _ref$filters = _ref.filters,
45
- filters = _ref$filters === undefined ? emptyArray : _ref$filters,
45
+ filters = _ref$filters === void 0 ? emptyArray : _ref$filters,
46
46
  _ref$title = _ref.title,
47
- title = _ref$title === undefined ? defaults.title : _ref$title,
47
+ title = _ref$title === void 0 ? defaults.title : _ref$title,
48
48
  _ref$primaryActionLab = _ref.primaryActionLabel,
49
- primaryActionLabel = _ref$primaryActionLab === undefined ? defaults.primaryActionLabel : _ref$primaryActionLab,
49
+ primaryActionLabel = _ref$primaryActionLab === void 0 ? defaults.primaryActionLabel : _ref$primaryActionLab,
50
50
  _ref$onFlyoutOpen = _ref.onFlyoutOpen,
51
- onFlyoutOpen = _ref$onFlyoutOpen === undefined ? function () {} : _ref$onFlyoutOpen,
51
+ onFlyoutOpen = _ref$onFlyoutOpen === void 0 ? function () {} : _ref$onFlyoutOpen,
52
52
  _ref$onFlyoutClose = _ref.onFlyoutClose,
53
- onFlyoutClose = _ref$onFlyoutClose === undefined ? function () {} : _ref$onFlyoutClose,
53
+ onFlyoutClose = _ref$onFlyoutClose === void 0 ? function () {} : _ref$onFlyoutClose,
54
54
  _ref$onApply = _ref.onApply,
55
- onApply = _ref$onApply === undefined ? function () {} : _ref$onApply,
55
+ onApply = _ref$onApply === void 0 ? function () {} : _ref$onApply,
56
56
  _ref$onCancel = _ref.onCancel,
57
- onCancel = _ref$onCancel === undefined ? function () {} : _ref$onCancel,
57
+ onCancel = _ref$onCancel === void 0 ? function () {} : _ref$onCancel,
58
58
  _ref$secondaryActionL = _ref.secondaryActionLabel,
59
- secondaryActionLabel = _ref$secondaryActionL === undefined ? defaults.secondaryActionLabel : _ref$secondaryActionL,
59
+ secondaryActionLabel = _ref$secondaryActionL === void 0 ? defaults.secondaryActionLabel : _ref$secondaryActionL,
60
60
  setAllFilters = _ref.setAllFilters,
61
61
  _ref$data = _ref.data,
62
- data = _ref$data === undefined ? emptyArray : _ref$data,
62
+ data = _ref$data === void 0 ? emptyArray : _ref$data,
63
63
  _ref$reactTableFilter = _ref.reactTableFiltersState,
64
- reactTableFiltersState = _ref$reactTableFilter === undefined ? emptyArray : _ref$reactTableFilter;
64
+ reactTableFiltersState = _ref$reactTableFilter === void 0 ? emptyArray : _ref$reactTableFilter;
65
65
  /** State */
66
66
  var _useState = useState(false),
67
67
  _useState2 = _slicedToArray(_useState, 2),
@@ -112,8 +112,8 @@ var FilterFlyout = function FilterFlyout(_ref) {
112
112
  // Skip resize testing
113
113
  /* istanbul ignore next */
114
114
  var handleResize = function handleResize(current) {
115
- var filterFlyoutRefPosition = flyoutInnerRef === null || flyoutInnerRef === undefined ? undefined : flyoutInnerRef.current.getBoundingClientRect();
116
- var originalFlyoutWidth = parseInt(window.getComputedStyle(flyoutInnerRef === null || flyoutInnerRef === undefined ? undefined : flyoutInnerRef.current).getPropertyValue('width'));
115
+ var filterFlyoutRefPosition = flyoutInnerRef === null || flyoutInnerRef === void 0 ? void 0 : flyoutInnerRef.current.getBoundingClientRect();
116
+ var originalFlyoutWidth = parseInt(window.getComputedStyle(flyoutInnerRef === null || flyoutInnerRef === void 0 ? void 0 : flyoutInnerRef.current).getPropertyValue('width'));
117
117
  // Check to see if left value from flyout getBoundingClientRect is a negative number
118
118
  // If it is, that is the amount we need to subtract from the flyout width
119
119
  if (Math.sign(filterFlyoutRefPosition.left) === -1) {
@@ -128,7 +128,7 @@ var FilterFlyout = function FilterFlyout(_ref) {
128
128
  flyoutInnerRef.current.style.width = px(_newFlyoutWidth);
129
129
  }
130
130
  // Begin stacking filters at this specific point
131
- if ((current === null || current === undefined ? undefined : current.innerWidth) <= mdPxWidth + 254) {
131
+ if ((current === null || current === void 0 ? void 0 : current.innerWidth) <= mdPxWidth + 254) {
132
132
  setStackedLayout(true);
133
133
  } else {
134
134
  setStackedLayout(false);
@@ -19,7 +19,7 @@ declare function FilterPanel({ title, closeIconDescription, updateMethod, filter
19
19
  reactTableFiltersState?: any[] | undefined;
20
20
  autoHideFilters?: boolean | undefined;
21
21
  isFetching?: boolean | undefined;
22
- }): React.JSX.Element;
22
+ }): React.JSX.Element | null;
23
23
  declare namespace FilterPanel {
24
24
  namespace propTypes {
25
25
  let autoHideFilters: any;