@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
@@ -29,7 +29,7 @@ var EditTearsheetForm = /*#__PURE__*/forwardRef(function (_ref, ref) {
29
29
  description = _ref.description,
30
30
  fieldsetLegendText = _ref.fieldsetLegendText,
31
31
  _ref$hasFieldset = _ref.hasFieldset,
32
- hasFieldset = _ref$hasFieldset === undefined ? defaults.hasFieldset : _ref$hasFieldset,
32
+ hasFieldset = _ref$hasFieldset === void 0 ? defaults.hasFieldset : _ref$hasFieldset,
33
33
  subtitle = _ref.subtitle,
34
34
  title = _ref.title,
35
35
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -41,7 +41,7 @@ var EditTearsheetForm = /*#__PURE__*/forwardRef(function (_ref, ref) {
41
41
  title: title
42
42
  });
43
43
  return formContext ? /*#__PURE__*/React__default.createElement("div", _extends({}, rest, {
44
- className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__form--hidden-form"), formNumber !== (formContext === null || formContext === undefined ? undefined : formContext.currentForm)), "".concat(blockClass, "__form--visible-form"), formNumber === (formContext === null || formContext === undefined ? undefined : formContext.currentForm))),
44
+ className: cx(blockClass, className, _defineProperty(_defineProperty({}, "".concat(blockClass, "__form--hidden-form"), formNumber !== (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm)), "".concat(blockClass, "__form--visible-form"), formNumber === (formContext === null || formContext === void 0 ? void 0 : formContext.currentForm))),
45
45
  ref: ref
46
46
  }), /*#__PURE__*/React__default.createElement(Grid, null, /*#__PURE__*/React__default.createElement(Column, {
47
47
  xlg: 12,
@@ -43,7 +43,7 @@ var defaults = {
43
43
  */
44
44
  var EmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
45
45
  var _ref$v = _ref.v2,
46
- v2 = _ref$v === undefined ? false : _ref$v,
46
+ v2 = _ref$v === void 0 ? false : _ref$v,
47
47
  props = _objectWithoutProperties(_ref, _excluded);
48
48
  // todo: deprecate v1
49
49
  if (v2) {
@@ -54,12 +54,12 @@ var EmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
54
54
  illustration = props.illustration,
55
55
  illustrationDescription = props.illustrationDescription,
56
56
  _props$illustrationPo = props.illustrationPosition,
57
- illustrationPosition = _props$illustrationPo === undefined ? defaults.position : _props$illustrationPo,
57
+ illustrationPosition = _props$illustrationPo === void 0 ? defaults.position : _props$illustrationPo,
58
58
  link = props.link,
59
59
  _props$size = props.size,
60
- size = _props$size === undefined ? defaults.size : _props$size,
60
+ size = _props$size === void 0 ? defaults.size : _props$size,
61
61
  _props$headingAs = props.headingAs,
62
- headingAs = _props$headingAs === undefined ? defaults.headingAs : _props$headingAs,
62
+ headingAs = _props$headingAs === void 0 ? defaults.headingAs : _props$headingAs,
63
63
  subtitle = props.subtitle,
64
64
  title = props.title,
65
65
  rest = _objectWithoutProperties(props, _excluded2);
@@ -77,7 +77,7 @@ var EmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
77
77
  size: size,
78
78
  headingAs: headingAs,
79
79
  subtitle: subtitle,
80
- title: title !== null && title !== undefined ? title : ''
80
+ title: title !== null && title !== void 0 ? title : ''
81
81
  }));
82
82
  });
83
83
 
@@ -29,13 +29,13 @@ var EmptyStateContent = function EmptyStateContent(_ref) {
29
29
  className: cx("".concat(blockClass, "__header"), _defineProperty({}, "".concat(blockClass, "__header--small"), size === 'sm'))
30
30
  }, title), subtitle && /*#__PURE__*/React__default.createElement("p", {
31
31
  className: cx("".concat(blockClass, "__subtitle"), _defineProperty({}, "".concat(blockClass, "__subtitle--small"), size === 'sm'))
32
- }, subtitle), (action === null || action === undefined ? undefined : action.text) && (action === null || action === undefined ? undefined : action.onClick) && /*#__PURE__*/React__default.createElement(Button, _extends({}, action, {
32
+ }, subtitle), (action === null || action === void 0 ? void 0 : action.text) && (action === null || action === void 0 ? void 0 : action.onClick) && /*#__PURE__*/React__default.createElement(Button, _extends({}, action, {
33
33
  className: "".concat(blockClass, "__action-button"),
34
34
  kind: action.kind || 'tertiary',
35
35
  onClick: action.onClick,
36
36
  renderIcon: action.renderIcon || null,
37
37
  size: 'sm'
38
- }), action.text), (link === null || link === undefined ? undefined : link.text) && (link === null || link === undefined ? undefined : link.href) && /*#__PURE__*/React__default.createElement(Link, _extends({}, link, {
38
+ }), action.text), (link === null || link === void 0 ? void 0 : link.text) && (link === null || link === void 0 ? void 0 : link.href) && /*#__PURE__*/React__default.createElement(Link, _extends({}, link, {
39
39
  className: "".concat(blockClass, "__link"),
40
40
  href: link.href
41
41
  }), link.text));
@@ -30,12 +30,12 @@ var EmptyStateV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref)
30
30
  customIllustration = props.illustration,
31
31
  illustrationDescription = props.illustrationDescription,
32
32
  _props$illustrationPo = props.illustrationPosition,
33
- illustrationPosition = _props$illustrationPo === undefined ? 'top' : _props$illustrationPo,
33
+ illustrationPosition = _props$illustrationPo === void 0 ? 'top' : _props$illustrationPo,
34
34
  illustrationTheme = props.illustrationTheme,
35
35
  kind = props.kind,
36
36
  link = props.link,
37
37
  _props$size = props.size,
38
- size = _props$size === undefined ? 'lg' : _props$size,
38
+ size = _props$size === void 0 ? 'lg' : _props$size,
39
39
  subtitle = props.subtitle,
40
40
  title = props.title,
41
41
  rest = _objectWithoutProperties(props, _excluded);
@@ -27,14 +27,14 @@ var ErrorEmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
27
27
  var action = _ref.action,
28
28
  className = _ref.className,
29
29
  _ref$illustrationPosi = _ref.illustrationPosition,
30
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
30
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
31
31
  illustrationDescription = _ref.illustrationDescription,
32
32
  illustrationTheme = _ref.illustrationTheme,
33
33
  link = _ref.link,
34
34
  _ref$size = _ref.size,
35
- size = _ref$size === undefined ? defaults.size : _ref$size,
35
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
36
36
  _ref$headingAs = _ref.headingAs,
37
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
37
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
38
38
  subtitle = _ref.subtitle,
39
39
  title = _ref.title,
40
40
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -28,14 +28,14 @@ var NoDataEmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, re
28
28
  var action = _ref.action,
29
29
  className = _ref.className,
30
30
  _ref$illustrationPosi = _ref.illustrationPosition,
31
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
31
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
32
32
  illustrationTheme = _ref.illustrationTheme,
33
33
  illustrationDescription = _ref.illustrationDescription,
34
34
  link = _ref.link,
35
35
  _ref$size = _ref.size,
36
- size = _ref$size === undefined ? defaults.size : _ref$size,
36
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
37
37
  _ref$headingAs = _ref.headingAs,
38
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
38
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
39
39
  subtitle = _ref.subtitle,
40
40
  title = _ref.title,
41
41
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -27,14 +27,14 @@ var NoTagsEmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref, re
27
27
  var action = _ref.action,
28
28
  className = _ref.className,
29
29
  _ref$illustrationPosi = _ref.illustrationPosition,
30
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
30
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
31
31
  illustrationTheme = _ref.illustrationTheme,
32
32
  illustrationDescription = _ref.illustrationDescription,
33
33
  link = _ref.link,
34
34
  _ref$size = _ref.size,
35
- size = _ref$size === undefined ? defaults.size : _ref$size,
35
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
36
36
  _ref$headingAs = _ref.headingAs,
37
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
37
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
38
38
  subtitle = _ref.subtitle,
39
39
  title = _ref.title,
40
40
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -27,14 +27,14 @@ var NotFoundEmptyState = /*#__PURE__*/React__default.forwardRef(function (_ref,
27
27
  var action = _ref.action,
28
28
  className = _ref.className,
29
29
  _ref$illustrationPosi = _ref.illustrationPosition,
30
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
30
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
31
31
  illustrationTheme = _ref.illustrationTheme,
32
32
  illustrationDescription = _ref.illustrationDescription,
33
33
  link = _ref.link,
34
34
  _ref$size = _ref.size,
35
- size = _ref$size === undefined ? defaults.size : _ref$size,
35
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
36
36
  _ref$headingAs = _ref.headingAs,
37
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
37
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
38
38
  subtitle = _ref.subtitle,
39
39
  title = _ref.title,
40
40
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -27,14 +27,14 @@ var NotificationsEmptyState = /*#__PURE__*/React__default.forwardRef(function (_
27
27
  var action = _ref.action,
28
28
  className = _ref.className,
29
29
  _ref$illustrationPosi = _ref.illustrationPosition,
30
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
30
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
31
31
  illustrationTheme = _ref.illustrationTheme,
32
32
  illustrationDescription = _ref.illustrationDescription,
33
33
  link = _ref.link,
34
34
  _ref$size = _ref.size,
35
- size = _ref$size === undefined ? defaults.size : _ref$size,
35
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
36
36
  _ref$headingAs = _ref.headingAs,
37
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
37
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
38
38
  subtitle = _ref.subtitle,
39
39
  title = _ref.title,
40
40
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -28,14 +28,14 @@ var UnauthorizedEmptyState = /*#__PURE__*/React__default.forwardRef(function (_r
28
28
  var action = _ref.action,
29
29
  className = _ref.className,
30
30
  _ref$illustrationPosi = _ref.illustrationPosition,
31
- illustrationPosition = _ref$illustrationPosi === undefined ? defaults.position : _ref$illustrationPosi,
31
+ illustrationPosition = _ref$illustrationPosi === void 0 ? defaults.position : _ref$illustrationPosi,
32
32
  illustrationTheme = _ref.illustrationTheme,
33
33
  illustrationDescription = _ref.illustrationDescription,
34
34
  link = _ref.link,
35
35
  _ref$size = _ref.size,
36
- size = _ref$size === undefined ? defaults.size : _ref$size,
36
+ size = _ref$size === void 0 ? defaults.size : _ref$size,
37
37
  _ref$headingAs = _ref.headingAs,
38
- headingAs = _ref$headingAs === undefined ? defaults.headingAs : _ref$headingAs,
38
+ headingAs = _ref$headingAs === void 0 ? defaults.headingAs : _ref$headingAs,
39
39
  subtitle = _ref.subtitle,
40
40
  title = _ref.title,
41
41
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -37,7 +37,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
37
37
  hidePasswordLabel = _ref.hidePasswordLabel,
38
38
  inputLabel = _ref.inputLabel,
39
39
  _ref$inputType = _ref.inputType,
40
- inputType = _ref$inputType === undefined ? 'text' : _ref$inputType,
40
+ inputType = _ref$inputType === void 0 ? 'text' : _ref$inputType,
41
41
  invalidInputText = _ref.invalidInputText,
42
42
  loading = _ref.loading,
43
43
  loadingMessage = _ref.loadingMessage,
@@ -46,7 +46,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
46
46
  open = _ref.open,
47
47
  portalTargetIn = _ref.portalTarget,
48
48
  _ref$preformattedExte = _ref.preformattedExtensions,
49
- preformattedExtensions = _ref$preformattedExte === undefined ? defaults.preformattedExtensions : _ref$preformattedExte,
49
+ preformattedExtensions = _ref$preformattedExte === void 0 ? defaults.preformattedExtensions : _ref$preformattedExte,
50
50
  preformattedExtensionsLabel = _ref.preformattedExtensionsLabel,
51
51
  primaryButtonText = _ref.primaryButtonText,
52
52
  secondaryButtonText = _ref.secondaryButtonText,
@@ -56,7 +56,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
56
56
  title = _ref.title,
57
57
  triggerButtonRef = _ref.triggerButtonRef,
58
58
  _ref$validExtensions = _ref.validExtensions,
59
- validExtensions = _ref$validExtensions === undefined ? defaults.validExtensions : _ref$validExtensions,
59
+ validExtensions = _ref$validExtensions === void 0 ? defaults.validExtensions : _ref$validExtensions,
60
60
  rest = _objectWithoutProperties(_ref, _excluded);
61
61
  var blockClass = "".concat(pkg.prefix, "--export-modal");
62
62
  var _useState = useState(''),
@@ -76,15 +76,15 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
76
76
  useEffect(function () {
77
77
  var _preformattedExtensio;
78
78
  setName(filename);
79
- if (preformattedExtensions && preformattedExtensions.length > 0 && (_preformattedExtensio = preformattedExtensions[0]) !== null && _preformattedExtensio !== undefined && _preformattedExtensio.extension) {
79
+ if (preformattedExtensions && preformattedExtensions.length > 0 && (_preformattedExtensio = preformattedExtensions[0]) !== null && _preformattedExtensio !== void 0 && _preformattedExtensio.extension) {
80
80
  var _preformattedExtensio2;
81
- setExtension(preformattedExtensions === null || preformattedExtensions === undefined || (_preformattedExtensio2 = preformattedExtensions[0]) === null || _preformattedExtensio2 === undefined ? undefined : _preformattedExtensio2.extension);
81
+ setExtension(preformattedExtensions === null || preformattedExtensions === void 0 || (_preformattedExtensio2 = preformattedExtensions[0]) === null || _preformattedExtensio2 === void 0 ? void 0 : _preformattedExtensio2.extension);
82
82
  }
83
83
  }, [filename, preformattedExtensions, open]);
84
84
  useEffect(function () {
85
85
  if (successful) {
86
86
  var button = document.querySelector(".".concat(blockClass, " .").concat(carbon.prefix, "--modal-close-button button"));
87
- button === null || button === undefined || button.focus();
87
+ button === null || button === void 0 || button.focus();
88
88
  }
89
89
  }, [successful, blockClass]);
90
90
  var onNameChangeHandler = function onNameChangeHandler(evt) {
@@ -98,7 +98,7 @@ var ExportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
98
98
  };
99
99
  var onSubmitHandler = function onSubmitHandler() {
100
100
  var returnName = extension ? "".concat(filename, ".").concat(extension.toLocaleLowerCase()) : name;
101
- onRequestSubmit === null || onRequestSubmit === undefined || onRequestSubmit(returnName);
101
+ onRequestSubmit === null || onRequestSubmit === void 0 || onRequestSubmit(returnName);
102
102
  };
103
103
  var hasInvalidExtension = function hasInvalidExtension() {
104
104
  if (!dirtyInput || !validExtensions || !validExtensions.length) {
@@ -26,7 +26,7 @@ var FeatureFlagContext = /*#__PURE__*/createContext(FeatureFlags$1);
26
26
  function FeatureFlags(_ref) {
27
27
  var children = _ref.children,
28
28
  _ref$flags = _ref.flags,
29
- flags = _ref$flags === undefined ? {} : _ref$flags,
29
+ flags = _ref$flags === void 0 ? {} : _ref$flags,
30
30
  newFlags = _objectWithoutProperties(_ref, _excluded);
31
31
  var parentScope = useContext(FeatureFlagContext);
32
32
  var newFlagsObject = Object.keys(newFlags).reduce(function (acc, key) {
@@ -30,7 +30,7 @@ var defaults = {
30
30
  */
31
31
  var FilterPanelAccordion = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
32
32
  var _ref$accordionProps = _ref.accordionProps,
33
- accordionProps = _ref$accordionProps === undefined ? defaults.accordionProps : _ref$accordionProps,
33
+ accordionProps = _ref$accordionProps === void 0 ? defaults.accordionProps : _ref$accordionProps,
34
34
  children = _ref.children,
35
35
  className = _ref.className,
36
36
  count = _ref.count,
@@ -31,9 +31,9 @@ var defaults = {
31
31
  */
32
32
  var FilterPanelAccordionItem = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
33
33
  var _ref$accordionItemPro = _ref.accordionItemProps,
34
- accordionItemProps = _ref$accordionItemPro === undefined ? defaults.accordionItemProps : _ref$accordionItemPro,
34
+ accordionItemProps = _ref$accordionItemPro === void 0 ? defaults.accordionItemProps : _ref$accordionItemPro,
35
35
  _ref$truncatedListPro = _ref.truncatedListProps,
36
- truncatedListProps = _ref$truncatedListPro === undefined ? defaults.truncatedListProps : _ref$truncatedListPro,
36
+ truncatedListProps = _ref$truncatedListPro === void 0 ? defaults.truncatedListProps : _ref$truncatedListPro,
37
37
  children = _ref.children,
38
38
  className = _ref.className,
39
39
  count = _ref.count,
@@ -39,7 +39,7 @@ var FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default.forwardRef(fun
39
39
  id = _ref.id,
40
40
  labelText = _ref.labelText,
41
41
  _ref$overflowMenuProp = _ref.overflowMenuProps,
42
- overflowMenuProps = _ref$overflowMenuProp === undefined ? defaults.overflowMenuProps : _ref$overflowMenuProp,
42
+ overflowMenuProps = _ref$overflowMenuProp === void 0 ? defaults.overflowMenuProps : _ref$overflowMenuProp,
43
43
  title = _ref.title,
44
44
  rest = _objectWithoutProperties(_ref, _excluded);
45
45
  var _useState = useState(false),
@@ -100,19 +100,19 @@ var FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default.forwardRef(fun
100
100
  labelText: labelText,
101
101
  title: title
102
102
  })), showMenuButton && /*#__PURE__*/React__default.createElement(OverflowMenu, _extends({
103
- open: overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps.open,
104
- className: cx("".concat(blockClass, "__overflow-button"), overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps.menuClass),
105
- menuOptionsClass: cx("".concat(blockClass, "__overflow-options"), overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps.menuOptionsClass),
106
- "aria-label": overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps['aria-label'],
107
- iconDescription: overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps['aria-label'],
103
+ open: overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.open,
104
+ className: cx("".concat(blockClass, "__overflow-button"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuClass),
105
+ menuOptionsClass: cx("".concat(blockClass, "__overflow-options"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuOptionsClass),
106
+ "aria-label": overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps['aria-label'],
107
+ iconDescription: overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps['aria-label'],
108
108
  onOpen: function onOpen() {
109
109
  return setMenuIsOpen(true);
110
110
  },
111
111
  onClose: function onClose() {
112
112
  return setMenuIsOpen(false);
113
113
  },
114
- flipped: (overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps.flipped) || true,
115
- selectorPrimaryFocus: overflowMenuProps === null || overflowMenuProps === undefined ? undefined : overflowMenuProps.selectorPrimaryFocus
114
+ flipped: (overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.flipped) || true,
115
+ selectorPrimaryFocus: overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.selectorPrimaryFocus
116
116
  }, other), children))
117
117
  );
118
118
  });
@@ -30,7 +30,7 @@ var FilterPanelSearch = /*#__PURE__*/React__default.forwardRef(function (_ref, r
30
30
  var children = _ref.children,
31
31
  className = _ref.className,
32
32
  _ref$searchProps = _ref.searchProps,
33
- searchProps = _ref$searchProps === undefined ? defaults.searchProps : _ref$searchProps,
33
+ searchProps = _ref$searchProps === void 0 ? defaults.searchProps : _ref$searchProps,
34
34
  rest = _objectWithoutProperties(_ref, _excluded);
35
35
  var _useState = useState(false),
36
36
  _useState2 = _slicedToArray(_useState, 2),
@@ -6,9 +6,7 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import { AnimatePresence, motion } from 'framer-motion';
10
9
  import { Button, IconButton } from '@carbon/react';
11
- import { EASINGS, DURATIONS } from '../../global/js/utils/motionConstants.js';
12
10
  import React__default, { useRef, useState } from 'react';
13
11
  import { ChevronDown } from '@carbon/react/icons';
14
12
  import PropTypes from '../../_virtual/index.js';
@@ -19,6 +17,7 @@ import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
19
17
  import { pkg } from '../../settings.js';
20
18
  import uuidv4 from '../../global/js/utils/uuidv4.js';
21
19
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
20
+ import { usePresence } from '../../global/js/hooks/usePresence.js';
22
21
  import { useWindowResize } from '../../global/js/hooks/useWindowResize.js';
23
22
 
24
23
  var _excluded = ["className", "clearFiltersText", "clearFilters", "filters", "renderLabel", "overflowType", "clearButtonInline"],
@@ -27,16 +26,16 @@ var blockClass = "".concat(pkg.prefix, "--filter-summary");
27
26
  var FilterSummary = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
28
27
  var _viewAllButtonRef$cur, _filterSummaryClearBu;
29
28
  var _ref$className = _ref.className,
30
- className = _ref$className === undefined ? '' : _ref$className,
29
+ className = _ref$className === void 0 ? '' : _ref$className,
31
30
  _ref$clearFiltersText = _ref.clearFiltersText,
32
- clearFiltersText = _ref$clearFiltersText === undefined ? 'Clear filters' : _ref$clearFiltersText,
31
+ clearFiltersText = _ref$clearFiltersText === void 0 ? 'Clear filters' : _ref$clearFiltersText,
33
32
  clearFilters = _ref.clearFilters,
34
33
  filters = _ref.filters,
35
34
  renderLabel = _ref.renderLabel,
36
35
  _ref$overflowType = _ref.overflowType,
37
- overflowType = _ref$overflowType === undefined ? 'default' : _ref$overflowType,
36
+ overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
38
37
  _ref$clearButtonInlin = _ref.clearButtonInline,
39
- clearButtonInline = _ref$clearButtonInlin === undefined ? true : _ref$clearButtonInlin,
38
+ clearButtonInline = _ref$clearButtonInlin === void 0 ? true : _ref$clearButtonInlin,
40
39
  rest = _objectWithoutProperties(_ref, _excluded);
41
40
  var filterSummaryId = "".concat(blockClass, "__").concat(uuidv4());
42
41
  var tagFilters = filters.map(function (_ref2) {
@@ -46,7 +45,7 @@ var FilterSummary = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
46
45
  rest = _objectWithoutProperties(_ref2, _excluded2);
47
46
  return _objectSpread2(_objectSpread2({}, rest), {}, {
48
47
  type: 'gray',
49
- label: (_renderLabel = renderLabel === null || renderLabel === undefined ? undefined : renderLabel(key, value)) !== null && _renderLabel !== undefined ? _renderLabel : "".concat(key, ": ").concat(value)
48
+ label: (_renderLabel = renderLabel === null || renderLabel === void 0 ? void 0 : renderLabel(key, value)) !== null && _renderLabel !== void 0 ? _renderLabel : "".concat(key, ": ").concat(value)
50
49
  });
51
50
  });
52
51
  var filterSummaryClearButton = useRef(null);
@@ -73,27 +72,14 @@ var FilterSummary = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
73
72
  return !prev;
74
73
  });
75
74
  };
76
- var viewAllWidth = typeof (viewAllButtonRef === null || viewAllButtonRef === undefined || (_viewAllButtonRef$cur = viewAllButtonRef.current) === null || _viewAllButtonRef$cur === undefined ? undefined : _viewAllButtonRef$cur.offsetWidth) === 'undefined' ? 0 : overflowCount > 0 ? 48 : 0;
77
- var measurementOffset = ((filterSummaryClearButton === null || filterSummaryClearButton === undefined || (_filterSummaryClearBu = filterSummaryClearButton.current) === null || _filterSummaryClearBu === undefined ? undefined : _filterSummaryClearBu.offsetWidth) || 0) + viewAllWidth;
75
+ var viewAllWidth = typeof (viewAllButtonRef === null || viewAllButtonRef === void 0 || (_viewAllButtonRef$cur = viewAllButtonRef.current) === null || _viewAllButtonRef$cur === void 0 ? void 0 : _viewAllButtonRef$cur.offsetWidth) === 'undefined' ? 0 : overflowCount > 0 ? 48 : 0;
76
+ var measurementOffset = ((filterSummaryClearButton === null || filterSummaryClearButton === void 0 || (_filterSummaryClearBu = filterSummaryClearButton.current) === null || _filterSummaryClearBu === void 0 ? void 0 : _filterSummaryClearBu.offsetWidth) || 0) + viewAllWidth;
77
+ var exitAnimationName = 'filter-summary-enter';
78
+ var _usePresence = usePresence(true, localRef, exitAnimationName),
79
+ shouldRender = _usePresence.shouldRender;
78
80
  var renderTagSet = function renderTagSet(type) {
79
- return /*#__PURE__*/React__default.createElement(motion.div, {
80
- key: type,
81
- initial: {
82
- opacity: 0,
83
- y: -16
84
- },
85
- animate: {
86
- opacity: 1,
87
- y: 0
88
- },
89
- exit: {
90
- opacity: 0,
91
- y: -16
92
- },
93
- transition: {
94
- duration: DURATIONS.moderate01,
95
- ease: EASINGS.productive.entrance
96
- }
81
+ return shouldRender ? /*#__PURE__*/React__default.createElement("div", {
82
+ key: type
97
83
  }, /*#__PURE__*/React__default.createElement(TagSet, {
98
84
  allTagsModalSearchLabel: "Search all tags",
99
85
  allTagsModalSearchPlaceholderText: "Search all tags",
@@ -105,29 +91,27 @@ var FilterSummary = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
105
91
  containingElementRef: localRef,
106
92
  measurementOffset: measurementOffset,
107
93
  onOverflowTagChange: function onOverflowTagChange(overflowTags) {
108
- return setOverflowCount(overflowTags === null || overflowTags === undefined ? undefined : overflowTags.length);
94
+ return setOverflowCount(overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length);
109
95
  },
110
96
  multiline: multiline
111
- }));
97
+ })) : null;
112
98
  };
113
99
  useWindowResize(function () {
114
100
  var handleFilterSummaryResize = function handleFilterSummaryResize() {
115
101
  var _localRef$current, _localRef$current2;
116
- if (multiline && localRef !== null && localRef !== undefined && (_localRef$current = localRef.current) !== null && _localRef$current !== undefined && _localRef$current.offsetHeight && (localRef === null || localRef === undefined || (_localRef$current2 = localRef.current) === null || _localRef$current2 === undefined ? undefined : _localRef$current2.offsetHeight) <= 50) {
102
+ if (multiline && localRef !== null && localRef !== void 0 && (_localRef$current = localRef.current) !== null && _localRef$current !== void 0 && _localRef$current.offsetHeight && (localRef === null || localRef === void 0 || (_localRef$current2 = localRef.current) === null || _localRef$current2 === void 0 ? void 0 : _localRef$current2.offsetHeight) <= 50) {
117
103
  setMultiline(false);
118
104
  }
119
105
  };
120
106
  var filterResize = debounce(handleFilterSummaryResize, 500);
121
107
  filterResize();
122
- }, [previousState === null || previousState === undefined ? undefined : previousState.multiline, multiline]);
108
+ }, [previousState === null || previousState === void 0 ? void 0 : previousState.multiline, multiline]);
123
109
  return /*#__PURE__*/React__default.createElement("div", _extends({}, getDevtoolsProps(componentName), {
124
110
  id: filterSummaryId
125
111
  }, rest, {
126
112
  ref: localRef,
127
113
  className: cx([blockClass, className], _defineProperty({}, "".concat(blockClass, "__expanded"), multiline))
128
- }), /*#__PURE__*/React__default.createElement(AnimatePresence, {
129
- mode: "wait"
130
- }, !multiline && renderTagSet('single'), multiline && renderTagSet('multiline')), /*#__PURE__*/React__default.createElement(Button, {
114
+ }), !multiline && renderTagSet('single'), multiline && renderTagSet('multiline'), /*#__PURE__*/React__default.createElement(Button, {
131
115
  kind: "ghost",
132
116
  size: "sm",
133
117
  onClick: clearFilters,
@@ -37,7 +37,7 @@ var FullPageError = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
37
37
  description = _ref.description,
38
38
  label = _ref.label,
39
39
  _ref$kind = _ref.kind,
40
- kind = _ref$kind === undefined ? defaults.kind : _ref$kind,
40
+ kind = _ref$kind === void 0 ? defaults.kind : _ref$kind,
41
41
  title = _ref.title,
42
42
  rest = _objectWithoutProperties(_ref, _excluded);
43
43
  var errorData = {
@@ -43,20 +43,20 @@ var Guidebanner = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
43
43
  var children = _ref.children,
44
44
  className = _ref.className,
45
45
  _ref$collapsible = _ref.collapsible,
46
- collapsible = _ref$collapsible === undefined ? defaults.collapsible : _ref$collapsible,
46
+ collapsible = _ref$collapsible === void 0 ? defaults.collapsible : _ref$collapsible,
47
47
  onClose = _ref.onClose,
48
48
  _ref$withLeftGutter = _ref.withLeftGutter,
49
- withLeftGutter = _ref$withLeftGutter === undefined ? defaults.withLeftGutter : _ref$withLeftGutter,
49
+ withLeftGutter = _ref$withLeftGutter === void 0 ? defaults.withLeftGutter : _ref$withLeftGutter,
50
50
  _ref$closeIconDescrip = _ref.closeIconDescription,
51
- closeIconDescription = _ref$closeIconDescrip === undefined ? defaults.closeIconDescription : _ref$closeIconDescrip,
51
+ closeIconDescription = _ref$closeIconDescrip === void 0 ? defaults.closeIconDescription : _ref$closeIconDescrip,
52
52
  _ref$collapseButtonLa = _ref.collapseButtonLabel,
53
- collapseButtonLabel = _ref$collapseButtonLa === undefined ? defaults.collapseButtonLabel : _ref$collapseButtonLa,
53
+ collapseButtonLabel = _ref$collapseButtonLa === void 0 ? defaults.collapseButtonLabel : _ref$collapseButtonLa,
54
54
  _ref$expandButtonLabe = _ref.expandButtonLabel,
55
- expandButtonLabel = _ref$expandButtonLabe === undefined ? defaults.expandButtonLabel : _ref$expandButtonLabe,
55
+ expandButtonLabel = _ref$expandButtonLabe === void 0 ? defaults.expandButtonLabel : _ref$expandButtonLabe,
56
56
  _ref$nextIconDescript = _ref.nextIconDescription,
57
- nextIconDescription = _ref$nextIconDescript === undefined ? defaults.nextIconDescription : _ref$nextIconDescript,
57
+ nextIconDescription = _ref$nextIconDescript === void 0 ? defaults.nextIconDescription : _ref$nextIconDescript,
58
58
  _ref$previousIconDesc = _ref.previousIconDescription,
59
- previousIconDescription = _ref$previousIconDesc === undefined ? defaults.previousIconDescription : _ref$previousIconDesc,
59
+ previousIconDescription = _ref$previousIconDesc === void 0 ? defaults.previousIconDescription : _ref$previousIconDesc,
60
60
  title = _ref.title,
61
61
  rest = _objectWithoutProperties(_ref, _excluded);
62
62
  var scrollRef = useRef(null);
@@ -182,7 +182,7 @@ Guidebanner.propTypes = {
182
182
  // Carbon Products component's `displayName` (child.type.displayName) or
183
183
  // React component's `name` (child.type.name) or
184
184
  // HTML element's tag name (child.type).
185
- error = new Error("`Guidebanner` only accepts children of type `GuidebannerElement`, found `".concat(((_child$type = child.type) === null || _child$type === undefined ? undefined : _child$type.displayName) || ((_child$type2 = child.type) === null || _child$type2 === undefined ? undefined : _child$type2.name) || child.type, "` instead."));
185
+ error = new Error("`Guidebanner` only accepts children of type `GuidebannerElement`, found `".concat(((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) || ((_child$type2 = child.type) === null || _child$type2 === void 0 ? void 0 : _child$type2.name) || child.type, "` instead."));
186
186
  }
187
187
  });
188
188
  return error;
@@ -31,7 +31,7 @@ var GuidebannerElementButton = /*#__PURE__*/React__default.forwardRef(function (
31
31
  var children = _ref.children,
32
32
  className = _ref.className,
33
33
  _ref$iconDescription = _ref.iconDescription,
34
- iconDescription = _ref$iconDescription === undefined ? defaults.iconDescription : _ref$iconDescription,
34
+ iconDescription = _ref$iconDescription === void 0 ? defaults.iconDescription : _ref$iconDescription,
35
35
  type = _ref.type,
36
36
  rest = _objectWithoutProperties(_ref, _excluded);
37
37
  if (type === 'primary') {
@@ -20,7 +20,7 @@ var _excluded = ["accept", "className", "defaultErrorBody", "defaultErrorHeader"
20
20
  var componentName = 'ImportModal';
21
21
  var ImportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
22
22
  var _ref$accept = _ref.accept,
23
- accept = _ref$accept === undefined ? [] : _ref$accept,
23
+ accept = _ref$accept === void 0 ? [] : _ref$accept,
24
24
  className = _ref.className,
25
25
  defaultErrorBody = _ref.defaultErrorBody,
26
26
  defaultErrorHeader = _ref.defaultErrorHeader,
@@ -90,7 +90,7 @@ var ImportModal = /*#__PURE__*/forwardRef(function (_ref, ref) {
90
90
  newFile.errorBody = invalidFileTypeErrorBody || defaultErrorBody;
91
91
  newFile.errorSubject = invalidFileTypeErrorHeader || defaultErrorHeader;
92
92
  newFile.invalid = true;
93
- } else if (maxFileSize && ((_newFile$fileSize = newFile === null || newFile === undefined ? undefined : newFile.fileSize) !== null && _newFile$fileSize !== undefined ? _newFile$fileSize : 0) > maxFileSize) {
93
+ } else if (maxFileSize && ((_newFile$fileSize = newFile === null || newFile === void 0 ? void 0 : newFile.fileSize) !== null && _newFile$fileSize !== void 0 ? _newFile$fileSize : 0) > maxFileSize) {
94
94
  newFile.errorBody = maxFileSizeErrorBody || defaultErrorBody;
95
95
  newFile.errorSubject = maxFileSizeErrorHeader || defaultErrorHeader;
96
96
  newFile.invalid = true;
@@ -5,10 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- type MediaType = {
9
- render?: () => ReactNode;
10
- filePaths?: string[];
11
- };
12
8
  export interface InlineTipProps {
13
9
  /**
14
10
  * Optional "call to action" ghost button or link that can appear
@@ -45,15 +41,6 @@ export interface InlineTipProps {
45
41
  * This button is not visible if `media` is specified.
46
42
  */
47
43
  expandButtonLabel?: string;
48
- /**
49
- * The object describing an image in one of two shapes.
50
- * - If a single media element is required, use `{render}`.
51
- * - If a stepped animation is required, use `{filePaths}`.
52
- *
53
- * Enabling `media` disables the `collapsible` feature.
54
- * @deprecated please use the `renderMedia` prop
55
- */
56
- media?: MediaType;
57
44
  /**
58
45
  * Optional prop to render any media like images or any animated media.
59
46
  */
@@ -97,4 +84,3 @@ export interface InlineTipProps {
97
84
  export declare let InlineTip: React.ForwardRefExoticComponent<InlineTipProps & {
98
85
  children?: ReactNode | undefined;
99
86
  } & React.RefAttributes<HTMLDivElement>>;
100
- export {};