@carbon/ibm-products 2.43.2-canary.257 → 2.43.2-canary.260

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 (396) hide show
  1. package/css/index-full-carbon.css +1 -0
  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 +1 -0
  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 +1 -0
  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 +1 -0
  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/components/ActionBar/ActionBarOverflowItems.js +5 -0
  18. package/es/components/AddSelect/AddSelectBody.js +1 -1
  19. package/es/components/BigNumbers/BigNumbers.js +1 -1
  20. package/es/components/Coachmark/utils/enums.js +1 -0
  21. package/es/components/ScrollGradient/ScrollGradient.js +1 -1
  22. package/es/components/StringFormatter/StringFormatter.js +1 -1
  23. package/es/global/js/utils/devtools.js +1 -2
  24. package/lib/_virtual/_commonjsHelpers.js +0 -2
  25. package/lib/_virtual/_rollupPluginBabelHelpers.js +2 -4
  26. package/lib/_virtual/index.js +0 -2
  27. package/lib/components/APIKeyModal/APIKeyDownloader.js +8 -14
  28. package/lib/components/APIKeyModal/APIKeyModal.js +70 -77
  29. package/lib/components/AboutModal/AboutModal.js +29 -36
  30. package/lib/components/ActionBar/ActionBar.js +26 -33
  31. package/lib/components/ActionBar/ActionBarItem.js +9 -16
  32. package/lib/components/ActionBar/ActionBarOverflowItems.js +23 -25
  33. package/lib/components/ActionSet/ActionSet.js +17 -24
  34. package/lib/components/AddSelect/AddSelect.js +62 -68
  35. package/lib/components/AddSelect/AddSelectBody.js +82 -89
  36. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +6 -13
  37. package/lib/components/AddSelect/AddSelectColumn.js +29 -35
  38. package/lib/components/AddSelect/AddSelectFilter.js +30 -37
  39. package/lib/components/AddSelect/AddSelectFormControl.js +15 -21
  40. package/lib/components/AddSelect/AddSelectList.js +9 -16
  41. package/lib/components/AddSelect/AddSelectMetaPanel.js +16 -22
  42. package/lib/components/AddSelect/AddSelectRow.js +32 -39
  43. package/lib/components/AddSelect/AddSelectSidebar.js +29 -35
  44. package/lib/components/AddSelect/AddSelectSort.js +10 -16
  45. package/lib/components/AddSelect/add-select-utils.js +0 -2
  46. package/lib/components/AddSelect/hooks/useFocus.js +1 -1
  47. package/lib/components/AddSelect/hooks/useItemSort.js +0 -2
  48. package/lib/components/AddSelect/hooks/useParentSelect.js +1 -1
  49. package/lib/components/AddSelect/hooks/usePath.js +1 -1
  50. package/lib/components/BigNumbers/BigNumbers.js +39 -46
  51. package/lib/components/BigNumbers/constants.js +0 -2
  52. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +35 -42
  53. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +22 -29
  54. package/lib/components/Card/Card.js +73 -80
  55. package/lib/components/Card/CardFooter.js +28 -35
  56. package/lib/components/Card/CardHeader.js +37 -44
  57. package/lib/components/Carousel/Carousel.js +21 -28
  58. package/lib/components/Carousel/CarouselItem.js +5 -12
  59. package/lib/components/Cascade/Cascade.js +15 -22
  60. package/lib/components/Checklist/Checklist.js +50 -57
  61. package/lib/components/Checklist/Checklist.types.js +0 -2
  62. package/lib/components/Checklist/ChecklistChart.js +7 -15
  63. package/lib/components/Checklist/ChecklistIcon.js +7 -14
  64. package/lib/components/Coachmark/Coachmark.js +24 -31
  65. package/lib/components/Coachmark/CoachmarkDragbar.js +12 -19
  66. package/lib/components/Coachmark/CoachmarkHeader.js +9 -16
  67. package/lib/components/Coachmark/CoachmarkOverlay.js +14 -21
  68. package/lib/components/Coachmark/CoachmarkTagline.js +12 -19
  69. package/lib/components/Coachmark/utils/constants.js +0 -2
  70. package/lib/components/Coachmark/utils/context.js +0 -2
  71. package/lib/components/Coachmark/utils/enums.js +1 -2
  72. package/lib/components/Coachmark/utils/hooks.js +0 -2
  73. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +10 -17
  74. package/lib/components/CoachmarkButton/CoachmarkButton.js +6 -13
  75. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +13 -20
  76. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +11 -18
  77. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +25 -32
  78. package/lib/components/CoachmarkStack/CoachmarkStack.js +23 -30
  79. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +29 -36
  80. package/lib/components/ComboButton/ComboButton.js +11 -18
  81. package/lib/components/ComboButton/ComboButtonItem/index.js +2 -8
  82. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +34 -39
  83. package/lib/components/ConditionBuilder/ConditionBuilder.js +49 -56
  84. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +18 -23
  85. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +15 -20
  86. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +20 -27
  87. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +8 -12
  88. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +4 -8
  89. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +38 -42
  90. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +25 -31
  91. package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +0 -2
  92. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +17 -23
  93. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +9 -15
  94. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +5 -11
  95. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +13 -19
  96. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +17 -23
  97. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +6 -12
  98. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +9 -15
  99. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +27 -32
  100. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +25 -30
  101. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +0 -2
  102. package/lib/components/ConditionBuilder/utils/useDataConfigs.js +0 -2
  103. package/lib/components/ConditionBuilder/utils/useTranslations.js +0 -2
  104. package/lib/components/ConditionBuilder/utils/util.js +0 -2
  105. package/lib/components/CreateFullPage/CreateFullPage.js +44 -51
  106. package/lib/components/CreateFullPage/CreateFullPageStep.js +22 -29
  107. package/lib/components/CreateInfluencer/CreateInfluencer.js +15 -22
  108. package/lib/components/CreateModal/CreateModal.js +22 -29
  109. package/lib/components/CreateSidePanel/CreateSidePanel.js +24 -31
  110. package/lib/components/CreateTearsheet/CreateTearsheet.js +26 -33
  111. package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +3 -10
  112. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +31 -38
  113. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +24 -31
  114. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +37 -44
  115. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +54 -61
  116. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +37 -44
  117. package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +0 -2
  118. package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +0 -2
  119. package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +0 -2
  120. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +0 -2
  121. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +0 -2
  122. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +0 -2
  123. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +0 -2
  124. package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +0 -2
  125. package/lib/components/DataSpreadsheet/utils/checkForHoldingKey.js +0 -2
  126. package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +0 -2
  127. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -3
  128. package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +0 -2
  129. package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +0 -2
  130. package/lib/components/DataSpreadsheet/utils/getCellSize.js +0 -2
  131. package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +0 -2
  132. package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +0 -2
  133. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +0 -2
  134. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +0 -2
  135. package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +0 -2
  136. package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -3
  137. package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -3
  138. package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +2 -4
  139. package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +0 -2
  140. package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +0 -2
  141. package/lib/components/DataSpreadsheet/utils/selectAllCells.js +1 -3
  142. package/lib/components/Datagrid/Datagrid/Datagrid.js +9 -16
  143. package/lib/components/Datagrid/Datagrid/DatagridBody.js +5 -9
  144. package/lib/components/Datagrid/Datagrid/DatagridContent.js +43 -50
  145. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -8
  146. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -11
  147. package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -6
  148. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +12 -17
  149. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -8
  150. package/lib/components/Datagrid/Datagrid/DatagridRow.js +12 -17
  151. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -11
  152. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +18 -23
  153. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +3 -8
  154. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +14 -19
  155. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -9
  156. package/lib/components/Datagrid/Datagrid/DraggableElement.js +17 -22
  157. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +11 -12
  158. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +10 -11
  159. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +25 -31
  160. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +18 -22
  161. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +7 -13
  162. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +3 -7
  163. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -7
  164. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +34 -39
  165. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +42 -47
  166. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +5 -11
  167. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +11 -15
  168. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +0 -2
  169. package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +0 -2
  170. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
  171. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +16 -20
  172. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +2 -6
  173. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
  174. package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +0 -2
  175. package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +0 -2
  176. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +18 -25
  177. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +32 -39
  178. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +2 -8
  179. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +0 -2
  180. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +0 -2
  181. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +0 -2
  182. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +0 -2
  183. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +0 -2
  184. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +12 -17
  185. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +11 -16
  186. package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +2 -8
  187. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +0 -2
  188. package/lib/components/Datagrid/common-column-ids.js +0 -2
  189. package/lib/components/Datagrid/useActionsColumn.js +12 -17
  190. package/lib/components/Datagrid/useColumnCenterAlign.js +4 -9
  191. package/lib/components/Datagrid/useColumnRightAlign.js +4 -9
  192. package/lib/components/Datagrid/useCustomizeColumns.js +6 -7
  193. package/lib/components/Datagrid/useDatagrid.js +4 -8
  194. package/lib/components/Datagrid/useDefaultStringRenderer.js +5 -10
  195. package/lib/components/Datagrid/useDisableSelectRows.js +1 -1
  196. package/lib/components/Datagrid/useEditableCell.js +2 -2
  197. package/lib/components/Datagrid/useExpandedRow.js +3 -3
  198. package/lib/components/Datagrid/useFiltering.js +5 -5
  199. package/lib/components/Datagrid/useFlexResize.js +1 -1
  200. package/lib/components/Datagrid/useFloatingScroll.js +2 -6
  201. package/lib/components/Datagrid/useFocusRowExpander.js +0 -2
  202. package/lib/components/Datagrid/useInfiniteScroll.js +4 -8
  203. package/lib/components/Datagrid/useInitialColumnSort.js +0 -2
  204. package/lib/components/Datagrid/useInlineEdit.js +7 -12
  205. package/lib/components/Datagrid/useNestedRowExpander.js +5 -10
  206. package/lib/components/Datagrid/useNestedRows.js +3 -7
  207. package/lib/components/Datagrid/useOnRowClick.js +1 -1
  208. package/lib/components/Datagrid/useParentDimensions.js +1 -1
  209. package/lib/components/Datagrid/useResizeTable.js +1 -1
  210. package/lib/components/Datagrid/useRowExpander.js +5 -10
  211. package/lib/components/Datagrid/useRowIsMouseOver.js +2 -6
  212. package/lib/components/Datagrid/useRowRenderer.js +2 -2
  213. package/lib/components/Datagrid/useRowSize.js +2 -2
  214. package/lib/components/Datagrid/useSelectAllToggle.js +3 -8
  215. package/lib/components/Datagrid/useSelectRows.js +6 -11
  216. package/lib/components/Datagrid/useSkeletonRows.js +1 -1
  217. package/lib/components/Datagrid/useSortableColumns.js +8 -13
  218. package/lib/components/Datagrid/useStickyColumn.js +4 -9
  219. package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +0 -2
  220. package/lib/components/Decorator/Decorator.js +16 -22
  221. package/lib/components/DecoratorBase/DecoratorBase.js +41 -48
  222. package/lib/components/DecoratorBase/DecoratorIcon.js +6 -13
  223. package/lib/components/DecoratorBase/utils.js +0 -2
  224. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +21 -27
  225. package/lib/components/DecoratorLink/DecoratorLink.js +19 -25
  226. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +19 -25
  227. package/lib/components/DelimitedList/DelimitedList.js +7 -14
  228. package/lib/components/DescriptionList/DescriptionList.js +8 -15
  229. package/lib/components/DescriptionList/DescriptionListBody.js +5 -12
  230. package/lib/components/DescriptionList/DescriptionListCell.js +5 -12
  231. package/lib/components/DescriptionList/DescriptionListRow.js +5 -12
  232. package/lib/components/DescriptionList/constants.js +0 -2
  233. package/lib/components/EditFullPage/EditFullPage.js +5 -12
  234. package/lib/components/EditInPlace/EditInPlace.js +35 -42
  235. package/lib/components/EditSidePanel/EditSidePanel.js +26 -33
  236. package/lib/components/EditTearsheet/EditTearsheet.js +24 -31
  237. package/lib/components/EditTearsheet/EditTearsheetForm.js +16 -23
  238. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +5 -12
  239. package/lib/components/EditUpdateCards/EditUpdateCards.js +32 -39
  240. package/lib/components/EmptyStates/EmptyState.js +22 -29
  241. package/lib/components/EmptyStates/EmptyStateContent.js +18 -25
  242. package/lib/components/EmptyStates/EmptyStateIllustration.js +3 -7
  243. package/lib/components/EmptyStates/EmptyStateV2.js +25 -32
  244. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +19 -26
  245. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +19 -26
  246. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +19 -26
  247. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +19 -26
  248. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +19 -26
  249. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +19 -26
  250. package/lib/components/EmptyStates/assets/ErrorIllustration.js +53 -58
  251. package/lib/components/EmptyStates/assets/NoDataIllustration.js +43 -48
  252. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +114 -119
  253. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +84 -89
  254. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +81 -86
  255. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +74 -79
  256. package/lib/components/ExportModal/ExportModal.js +45 -52
  257. package/lib/components/ExpressiveCard/ExpressiveCard.js +28 -34
  258. package/lib/components/FeatureFlags/index.js +3 -9
  259. package/lib/components/FilterPanel/FilterPanel.js +7 -14
  260. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +10 -17
  261. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +13 -20
  262. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +9 -16
  263. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +17 -24
  264. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +11 -18
  265. package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +9 -16
  266. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +9 -16
  267. package/lib/components/FilterSummary/FilterSummary.js +22 -28
  268. package/lib/components/FullPageError/FullPageError.js +21 -28
  269. package/lib/components/FullPageError/assets/Error403SVG.js +129 -135
  270. package/lib/components/FullPageError/assets/Error404SVG.js +114 -120
  271. package/lib/components/FullPageError/assets/ErrorGenericSVG.js +128 -134
  272. package/lib/components/GetStartedCard/GetStartedCard.js +16 -22
  273. package/lib/components/Guidebanner/Guidebanner.js +32 -39
  274. package/lib/components/Guidebanner/GuidebannerElement.js +10 -17
  275. package/lib/components/Guidebanner/GuidebannerElementButton.js +9 -16
  276. package/lib/components/Guidebanner/GuidebannerElementLink.js +5 -12
  277. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +5 -12
  278. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +5 -12
  279. package/lib/components/HTTPErrors/HTTPErrorContent.js +5 -11
  280. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +5 -12
  281. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +358 -364
  282. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +309 -315
  283. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +321 -327
  284. package/lib/components/ImportModal/ImportModal.js +48 -55
  285. package/lib/components/InlineTip/InlineTip.js +38 -45
  286. package/lib/components/InlineTip/InlineTipButton.js +5 -12
  287. package/lib/components/InlineTip/InlineTipLink.js +6 -13
  288. package/lib/components/InlineTip/utils.js +2 -4
  289. package/lib/components/InterstitialScreen/InterstitialScreen.js +73 -80
  290. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +6 -13
  291. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +8 -15
  292. package/lib/components/MultiAddSelect/MultiAddSelect.js +45 -51
  293. package/lib/components/Nav/Nav.js +14 -21
  294. package/lib/components/Nav/NavItem.js +19 -24
  295. package/lib/components/Nav/NavItemLink.js +4 -8
  296. package/lib/components/Nav/NavList.js +12 -17
  297. package/lib/components/NonLinearReading/NonLinearReading.js +12 -19
  298. package/lib/components/NotificationsPanel/NotificationsPanel.js +91 -98
  299. package/lib/components/NotificationsPanel/utils.js +0 -2
  300. package/lib/components/OptionsTile/OptionsTile.js +40 -47
  301. package/lib/components/PageHeader/PageHeader.js +105 -112
  302. package/lib/components/PageHeader/PageHeaderTitle.js +23 -30
  303. package/lib/components/PageHeader/PageHeaderUtils.js +2 -9
  304. package/lib/components/ProductiveCard/ProductiveCard.js +36 -42
  305. package/lib/components/RemoveModal/RemoveModal.js +27 -34
  306. package/lib/components/Saving/Saving.js +27 -34
  307. package/lib/components/ScrollGradient/ScrollGradient.js +17 -24
  308. package/lib/components/ScrollGradient/constants.js +0 -2
  309. package/lib/components/SearchBar/SearchBar.js +22 -29
  310. package/lib/components/SidePanel/SidePanel.js +66 -73
  311. package/lib/components/SidePanel/constants.js +0 -2
  312. package/lib/components/SidePanel/motion/variants.js +0 -2
  313. package/lib/components/SimpleHeader/SimpleHeader.js +18 -25
  314. package/lib/components/SingleAddSelect/SingleAddSelect.js +21 -27
  315. package/lib/components/StatusIcon/StatusIcon.js +52 -59
  316. package/lib/components/StatusIndicator/StatusIndicator.js +13 -20
  317. package/lib/components/StatusIndicator/StatusIndicatorStep.js +14 -21
  318. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +8 -17
  319. package/lib/components/StringFormatter/StringFormatter.js +12 -19
  320. package/lib/components/StringFormatter/utils/enums.js +0 -2
  321. package/lib/components/TagOverflow/TagOverflow.js +26 -33
  322. package/lib/components/TagOverflow/TagOverflowModal.js +17 -24
  323. package/lib/components/TagOverflow/TagOverflowPopover.js +22 -29
  324. package/lib/components/TagOverflow/constants.js +0 -2
  325. package/lib/components/TagSet/TagSet.js +34 -41
  326. package/lib/components/TagSet/TagSetModal.js +16 -23
  327. package/lib/components/TagSet/TagSetOverflow.js +25 -32
  328. package/lib/components/Tearsheet/Tearsheet.js +23 -29
  329. package/lib/components/Tearsheet/TearsheetNarrow.js +18 -24
  330. package/lib/components/Tearsheet/TearsheetShell.js +55 -62
  331. package/lib/components/Toolbar/Toolbar.js +3 -10
  332. package/lib/components/Toolbar/ToolbarButton.js +3 -10
  333. package/lib/components/Toolbar/ToolbarGroup.js +2 -9
  334. package/lib/components/TooltipTrigger/TooltipTrigger.js +4 -11
  335. package/lib/components/TruncatedList/TruncatedList.js +15 -22
  336. package/lib/components/UserAvatar/UserAvatar.js +18 -25
  337. package/lib/components/UserProfileImage/UserProfileImage.js +24 -31
  338. package/lib/components/WebTerminal/WebTerminal.js +26 -33
  339. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +4 -11
  340. package/lib/components/WebTerminal/hooks/index.js +2 -8
  341. package/lib/components/_Canary/Canary.js +7 -14
  342. package/lib/feature-flags.js +3 -4
  343. package/lib/global/js/hooks/useActiveElement.js +0 -2
  344. package/lib/global/js/hooks/useClickOutside.js +0 -2
  345. package/lib/global/js/hooks/useControllableState.js +2 -4
  346. package/lib/global/js/hooks/useCreateComponentFocus.js +1 -3
  347. package/lib/global/js/hooks/useCreateComponentStepChange.js +0 -2
  348. package/lib/global/js/hooks/useFocus.js +1 -3
  349. package/lib/global/js/hooks/useIsomorphicEffect.js +0 -2
  350. package/lib/global/js/hooks/usePortalTarget.js +0 -2
  351. package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -1
  352. package/lib/global/js/hooks/usePrefix.js +1 -3
  353. package/lib/global/js/hooks/usePreviousValue.js +0 -2
  354. package/lib/global/js/hooks/useResetCreateComponent.js +0 -2
  355. package/lib/global/js/hooks/useResizeObserver.js +0 -2
  356. package/lib/global/js/hooks/useRetrieveFormTitles.js +0 -2
  357. package/lib/global/js/hooks/useRetrieveStepData.js +0 -2
  358. package/lib/global/js/hooks/useValidCreateStepCount.js +0 -2
  359. package/lib/global/js/hooks/useWindowResize.js +1 -3
  360. package/lib/global/js/hooks/useWindowScroll.js +1 -3
  361. package/lib/global/js/package-settings.js +1 -1
  362. package/lib/global/js/utils/Wrap.js +9 -15
  363. package/lib/global/js/utils/deepCloneObject.js +1 -3
  364. package/lib/global/js/utils/devtools.js +0 -2
  365. package/lib/global/js/utils/getBezierValues.js +0 -2
  366. package/lib/global/js/utils/getFocusableElements.js +0 -2
  367. package/lib/global/js/utils/getNodeTextContent.js +1 -3
  368. package/lib/global/js/utils/getNumberOfHiddenSteps.js +0 -2
  369. package/lib/global/js/utils/getScrollbarWidth.js +0 -2
  370. package/lib/global/js/utils/keyboardNavigation.js +0 -2
  371. package/lib/global/js/utils/lastIndexInArray.js +0 -2
  372. package/lib/global/js/utils/motionConstants.js +0 -2
  373. package/lib/global/js/utils/pconsole.js +1 -1
  374. package/lib/global/js/utils/props-helper.js +10 -12
  375. package/lib/global/js/utils/rangeWithCallback.js +0 -2
  376. package/lib/global/js/utils/scrollableAncestor.js +1 -3
  377. package/lib/global/js/utils/uuidv4.js +1 -1
  378. package/lib/global/js/utils/wait.js +1 -1
  379. package/lib/global/js/utils/wrapFocus.js +1 -1
  380. package/lib/index.js +19 -21
  381. package/lib/node_modules/@carbon/colors/es/index.js +0 -2
  382. package/lib/node_modules/@carbon/icon-helpers/es/index.js +3 -5
  383. package/lib/node_modules/@carbon/icons-react/es/Icon.js +14 -18
  384. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-2.js +525 -531
  385. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +500 -506
  386. package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -3
  387. package/lib/node_modules/object-assign/index.js +0 -2
  388. package/lib/node_modules/prop-types/checkPropTypes.js +2 -4
  389. package/lib/node_modules/prop-types/factoryWithThrowingShims.js +0 -2
  390. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +4 -10
  391. package/lib/node_modules/prop-types/index.js +2 -6
  392. package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -2
  393. package/lib/node_modules/prop-types/lib/has.js +0 -2
  394. package/lib/settings.js +9 -15
  395. package/package.json +3 -3
  396. package/scss/components/SidePanel/_side-panel.scss +1 -0
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../node_modules/prop-types/index.js');
@@ -17,14 +15,10 @@ var settings = require('../../settings.js');
17
15
  var propsHelper = require('../../global/js/utils/props-helper.js');
18
16
  var Card = require('../Card/Card.js');
19
17
 
20
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
21
-
22
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
-
24
18
  var componentName = 'ExpressiveCard';
25
19
  exports.ExpressiveCard = /*#__PURE__*/React.forwardRef(function (props, ref) {
26
20
  var validProps = propsHelper.prepareProps(props, ['actionIconsPosition', 'overflowActions', 'productive', 'titleSize']);
27
- return /*#__PURE__*/React__default["default"].createElement(Card.Card, _rollupPluginBabelHelpers["extends"]({
21
+ return /*#__PURE__*/React.createElement(Card.Card, _rollupPluginBabelHelpers.extends({
28
22
  ref: ref
29
23
  }, validProps, devtools.getDevtoolsProps(componentName)));
30
24
  });
@@ -36,97 +30,97 @@ exports.ExpressiveCard.propTypes = {
36
30
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
37
31
  */
38
32
  /**@ts-ignore */
39
- actionIcons: index["default"].arrayOf(index["default"].shape({
40
- id: index["default"].string,
41
- icon: index["default"].oneOfType([index["default"].func, index["default"].object]),
42
- onKeyDown: index["default"].func,
43
- onClick: index["default"].func,
44
- iconDescription: index["default"].string,
45
- href: index["default"].string
33
+ actionIcons: index.default.arrayOf(index.default.shape({
34
+ id: index.default.string,
35
+ icon: index.default.oneOfType([index.default.func, index.default.object]),
36
+ onKeyDown: index.default.func,
37
+ onClick: index.default.func,
38
+ iconDescription: index.default.string,
39
+ href: index.default.string
46
40
  })),
47
41
  /**
48
42
  * Content that shows in the body of the card
49
43
  */
50
- children: index["default"].node,
44
+ children: index.default.node,
51
45
  /**
52
46
  * Optional user provided class
53
47
  */
54
- className: index["default"].string,
48
+ className: index.default.string,
55
49
  /**
56
50
  * Optional header description
57
51
  */
58
- description: index["default"].oneOfType([index["default"].string, index["default"].object, index["default"].node]),
52
+ description: index.default.oneOfType([index.default.string, index.default.object, index.default.node]),
59
53
  /**
60
54
  * Optional label for the top of the card
61
55
  */
62
- label: index["default"].oneOfType([index["default"].string, index["default"].object, index["default"].node]),
56
+ label: index.default.oneOfType([index.default.string, index.default.object, index.default.node]),
63
57
  /**
64
58
  * Optional media content like an image to be placed in the card
65
59
  */
66
- media: index["default"].node,
60
+ media: index.default.node,
67
61
  /**
68
62
  * Establishes the position of the media in the card
69
63
  */
70
- mediaPosition: index["default"].oneOf(['top', 'left']),
64
+ mediaPosition: index.default.oneOf(['top', 'left']),
71
65
  /**
72
66
  * Provides the callback for a clickable card
73
67
  */
74
- onClick: index["default"].func,
68
+ onClick: index.default.func,
75
69
  /**
76
70
  * Function that's called from the primary button or action icon
77
71
  */
78
- onPrimaryButtonClick: index["default"].func,
72
+ onPrimaryButtonClick: index.default.func,
79
73
  /**
80
74
  * Function that's called from the secondary button
81
75
  */
82
- onSecondaryButtonClick: index["default"].func,
76
+ onSecondaryButtonClick: index.default.func,
83
77
  /**
84
78
  * Provides the icon that's displayed at the top of the card
85
79
  */
86
80
  /**@ts-ignore */
87
- pictogram: index["default"].oneOfType([index["default"].func, index["default"].object]),
81
+ pictogram: index.default.oneOfType([index.default.func, index.default.object]),
88
82
  /**
89
83
  * Optionally specify an href for your Button to become an <a> element
90
84
  */
91
- primaryButtonHref: index["default"].string,
85
+ primaryButtonHref: index.default.string,
92
86
  /**
93
87
  * Optional prop to allow overriding the icon rendering. Can be a React component class
94
88
  */
95
89
  /**@ts-ignore */
96
- primaryButtonIcon: index["default"].oneOfType([index["default"].func, index["default"].object]),
90
+ primaryButtonIcon: index.default.oneOfType([index.default.func, index.default.object]),
97
91
  /**
98
92
  * Establishes the kind of button displayed for the primary button
99
93
  */
100
- primaryButtonKind: index["default"].oneOf(['primary', 'ghost']),
94
+ primaryButtonKind: index.default.oneOf(['primary', 'ghost']),
101
95
  /**
102
96
  * The text that's displayed in the primary button
103
97
  */
104
- primaryButtonText: index["default"].string,
98
+ primaryButtonText: index.default.string,
105
99
  /**
106
100
  * Optionally specify an href for your Button to become an <a> element
107
101
  */
108
- secondaryButtonHref: index["default"].string,
102
+ secondaryButtonHref: index.default.string,
109
103
  /**
110
104
  * Optional prop to allow overriding the icon rendering. Can be a React component class
111
105
  */
112
106
  /**@ts-ignore */
113
- secondaryButtonIcon: index["default"].oneOfType([index["default"].func, index["default"].object]),
107
+ secondaryButtonIcon: index.default.oneOfType([index.default.func, index.default.object]),
114
108
  /**
115
109
  * Establishes the kind of button displayed for the secondary button
116
110
  */
117
- secondaryButtonKind: index["default"].oneOf(['secondary', 'ghost']),
111
+ secondaryButtonKind: index.default.oneOf(['secondary', 'ghost']),
118
112
  /**
119
113
  * The text that's displayed in the secondary button
120
114
  */
121
- secondaryButtonText: index["default"].string,
115
+ secondaryButtonText: index.default.string,
122
116
  /**
123
117
  * **Experimental:** For all cases a `Slug` component can be provided.
124
118
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
125
119
  */
126
- slug: index["default"].oneOfType([index["default"].node, index["default"].bool]),
120
+ slug: index.default.oneOfType([index.default.node, index.default.bool]),
127
121
  /**
128
122
  * Title that's displayed at the top of the card
129
123
  */
130
- title: index["default"].oneOfType([index["default"].string, index["default"].object, index["default"].node])
124
+ title: index.default.oneOfType([index.default.string, index.default.object, index.default.node])
131
125
  };
132
126
  exports.ExpressiveCard.displayName = componentName;
@@ -7,17 +7,11 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../node_modules/prop-types/index.js');
15
13
  var FeatureFlags$1 = require('@carbon/feature-flags');
16
14
 
17
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
18
-
19
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
20
-
21
15
  /**
22
16
  * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
23
17
  * or disable feature flags in a given React tree
@@ -61,16 +55,16 @@ function FeatureFlags(_ref) {
61
55
  scope.mergeWithScope(parentScope);
62
56
  updateScope(scope);
63
57
  });
64
- return /*#__PURE__*/React__default["default"].createElement(FeatureFlagContext.Provider, {
58
+ return /*#__PURE__*/React.createElement(FeatureFlagContext.Provider, {
65
59
  value: scope
66
60
  }, children);
67
61
  }
68
62
  FeatureFlags.propTypes = {
69
- children: index["default"].node,
63
+ children: index.default.node,
70
64
  /**
71
65
  * Provide the feature flags to enabled or disabled in the current React tree
72
66
  */
73
- flags: index["default"].objectOf(index["default"].bool)
67
+ flags: index.default.objectOf(index.default.bool)
74
68
  };
75
69
 
76
70
  /**
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../node_modules/prop-types/index.js');
@@ -16,11 +14,6 @@ var cx = require('classnames');
16
14
  var devtools = require('../../global/js/utils/devtools.js');
17
15
  var settings = require('../../settings.js');
18
16
 
19
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
20
-
21
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
22
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
23
-
24
17
  var _excluded = ["children", "className", "title"];
25
18
 
26
19
  // The block part of our conventional BEM class names (blockClass__E--M).
@@ -30,15 +23,15 @@ var componentName = 'FilterPanel';
30
23
  /**
31
24
  * The container for filter panel subcomponents.
32
25
  */
33
- exports.FilterPanel = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
26
+ exports.FilterPanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
34
27
  var children = _ref.children,
35
28
  className = _ref.className,
36
29
  title = _ref.title,
37
30
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
38
- return /*#__PURE__*/React__default["default"].createElement("section", _rollupPluginBabelHelpers["extends"]({}, rest, {
39
- className: cx__default["default"](blockClass, className),
31
+ return /*#__PURE__*/React.createElement("section", _rollupPluginBabelHelpers.extends({}, rest, {
32
+ className: cx(blockClass, className),
40
33
  ref: ref
41
- }, devtools.getDevtoolsProps(componentName)), title && /*#__PURE__*/React__default["default"].createElement("h1", {
34
+ }, devtools.getDevtoolsProps(componentName)), title && /*#__PURE__*/React.createElement("h1", {
42
35
  className: "".concat(blockClass, "__title")
43
36
  }, title), children);
44
37
  });
@@ -50,13 +43,13 @@ exports.FilterPanel.propTypes = {
50
43
  /**
51
44
  * Provide the contents of the FilterPanel.
52
45
  */
53
- children: index["default"].node,
46
+ children: index.default.node,
54
47
  /**
55
48
  * Provide an optional class to be applied to the containing node.
56
49
  */
57
- className: index["default"].string,
50
+ className: index.default.string,
58
51
  /**
59
52
  * Title text for the filter panel.
60
53
  */
61
- title: index["default"].node
54
+ title: index.default.node
62
55
  };
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../../node_modules/prop-types/index.js');
@@ -18,11 +16,6 @@ var devtools = require('../../../global/js/utils/devtools.js');
18
16
  var settings = require('../../../settings.js');
19
17
  var FilterPanelGroup = require('../FilterPanelGroup/FilterPanelGroup.js');
20
18
 
21
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
22
-
23
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
-
26
19
  var _excluded = ["accordionProps", "children", "className", "count", "labelText", "title"],
27
20
  _excluded2 = ["align"];
28
21
 
@@ -36,7 +29,7 @@ var defaults = {
36
29
  /**
37
30
  * A container with a label and optional count.
38
31
  */
39
- exports.FilterPanelAccordion = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
32
+ exports.FilterPanelAccordion = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
40
33
  var _ref$accordionProps = _ref.accordionProps,
41
34
  accordionProps = _ref$accordionProps === void 0 ? defaults.accordionProps : _ref$accordionProps,
42
35
  children = _ref.children,
@@ -47,13 +40,13 @@ exports.FilterPanelAccordion = /*#__PURE__*/React__default["default"].forwardRef
47
40
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
48
41
  var align = accordionProps.align,
49
42
  otherAccordionProps = _rollupPluginBabelHelpers.objectWithoutProperties(accordionProps, _excluded2);
50
- return /*#__PURE__*/React__default["default"].createElement(FilterPanelGroup.FilterPanelGroup, _rollupPluginBabelHelpers["extends"]({}, rest, {
51
- className: cx__default["default"](blockClass, className),
43
+ return /*#__PURE__*/React.createElement(FilterPanelGroup.FilterPanelGroup, _rollupPluginBabelHelpers.extends({}, rest, {
44
+ className: cx(blockClass, className),
52
45
  count: count,
53
46
  labelText: labelText,
54
47
  ref: ref,
55
48
  title: title
56
- }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(react.Accordion, _rollupPluginBabelHelpers["extends"]({}, otherAccordionProps, {
49
+ }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(react.Accordion, _rollupPluginBabelHelpers.extends({}, otherAccordionProps, {
57
50
  align: align || 'start',
58
51
  className: "".concat(blockClass, "__list")
59
52
  }), children));
@@ -66,25 +59,25 @@ exports.FilterPanelAccordion.propTypes = {
66
59
  /**
67
60
  * Props specific to the internal `Accordion` component.
68
61
  */
69
- accordionProps: index["default"].shape({}),
62
+ accordionProps: index.default.shape({}),
70
63
  /**
71
64
  * Provide the contents of the FilterPanelAccordion.
72
65
  */
73
- children: index["default"].node.isRequired,
66
+ children: index.default.node.isRequired,
74
67
  /**
75
68
  * Optional class to be applied to the containing node.
76
69
  */
77
- className: index["default"].string,
70
+ className: index.default.string,
78
71
  /**
79
72
  * Number to be displayed with the label.
80
73
  */
81
- count: index["default"].oneOfType([index["default"].number, index["default"].string]),
74
+ count: index.default.oneOfType([index.default.number, index.default.string]),
82
75
  /**
83
76
  * The label for the component.
84
77
  */
85
- labelText: index["default"].node.isRequired,
78
+ labelText: index.default.node.isRequired,
86
79
  /**
87
80
  * Optional title attribute for the label.
88
81
  */
89
- title: index["default"].string
82
+ title: index.default.string
90
83
  };
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../../node_modules/prop-types/index.js');
@@ -19,11 +17,6 @@ var settings = require('../../../settings.js');
19
17
  var TruncatedList = require('../../TruncatedList/TruncatedList.js');
20
18
  var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
21
19
 
22
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
23
-
24
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
25
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
26
-
27
20
  var _excluded = ["accordionItemProps", "truncatedListProps", "children", "className", "count", "labelText", "title"];
28
21
 
29
22
  // The block part of our conventional BEM class names (blockClass__E--M).
@@ -37,7 +30,7 @@ var defaults = {
37
30
  /**
38
31
  * A container with a label and optional count.
39
32
  */
40
- exports.FilterPanelAccordionItem = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
33
+ exports.FilterPanelAccordionItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
41
34
  var _ref$accordionItemPro = _ref.accordionItemProps,
42
35
  accordionItemProps = _ref$accordionItemPro === void 0 ? defaults.accordionItemProps : _ref$accordionItemPro,
43
36
  _ref$truncatedListPro = _ref.truncatedListProps,
@@ -48,18 +41,18 @@ exports.FilterPanelAccordionItem = /*#__PURE__*/React__default["default"].forwar
48
41
  labelText = _ref.labelText,
49
42
  title = _ref.title,
50
43
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
51
- return /*#__PURE__*/React__default["default"].createElement(react.AccordionItem, _rollupPluginBabelHelpers["extends"]({}, accordionItemProps, {
52
- className: cx__default["default"](blockClass, className),
44
+ return /*#__PURE__*/React.createElement(react.AccordionItem, _rollupPluginBabelHelpers.extends({}, accordionItemProps, {
45
+ className: cx(blockClass, className),
53
46
  ref: ref,
54
- title: /*#__PURE__*/React__default["default"].createElement(FilterPanelLabel.FilterPanelLabel, _rollupPluginBabelHelpers["extends"]({}, rest, {
47
+ title: /*#__PURE__*/React.createElement(FilterPanelLabel.FilterPanelLabel, _rollupPluginBabelHelpers.extends({}, rest, {
55
48
  count: count,
56
49
  labelText: labelText,
57
50
  title: title
58
51
  }))
59
- }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(TruncatedList.TruncatedList, _rollupPluginBabelHelpers["extends"]({}, truncatedListProps, {
52
+ }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(TruncatedList.TruncatedList, _rollupPluginBabelHelpers.extends({}, truncatedListProps, {
60
53
  className: "".concat(blockClass, "__list")
61
54
  }), React.Children.map(children, function (child) {
62
- return /*#__PURE__*/React__default["default"].createElement(react.ListItem, {
55
+ return /*#__PURE__*/React.createElement(react.ListItem, {
63
56
  className: "".concat(blockClass, "__list-item"),
64
57
  key: child.key
65
58
  }, child);
@@ -73,29 +66,29 @@ exports.FilterPanelAccordionItem.propTypes = {
73
66
  /**
74
67
  * Props specific to the internal `AccordionItem` component.
75
68
  */
76
- accordionItemProps: index["default"].shape({}),
69
+ accordionItemProps: index.default.shape({}),
77
70
  /**
78
71
  * Provide the contents of the FilterPanelAccordionItem.
79
72
  */
80
- children: index["default"].node.isRequired,
73
+ children: index.default.node.isRequired,
81
74
  /**
82
75
  * Optional class to be applied to the containing node.
83
76
  */
84
- className: index["default"].string,
77
+ className: index.default.string,
85
78
  /**
86
79
  * Number to be displayed with the label.
87
80
  */
88
- count: index["default"].oneOfType([index["default"].number, index["default"].string]),
81
+ count: index.default.oneOfType([index.default.number, index.default.string]),
89
82
  /**
90
83
  * The label for the component.
91
84
  */
92
- labelText: index["default"].node.isRequired,
85
+ labelText: index.default.node.isRequired,
93
86
  /**
94
87
  * Optional title attribute for the label.
95
88
  */
96
- title: index["default"].string,
89
+ title: index.default.string,
97
90
  /**
98
91
  * Props specific to the internal `TruncatedList` component.
99
92
  */
100
- truncatedListProps: index["default"].shape({})
93
+ truncatedListProps: index.default.shape({})
101
94
  };
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../../node_modules/prop-types/index.js');
@@ -18,11 +16,6 @@ var devtools = require('../../../global/js/utils/devtools.js');
18
16
  var settings = require('../../../settings.js');
19
17
  var FilterPanelLabel = require('../FilterPanelLabel/FilterPanelLabel.js');
20
18
 
21
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
22
-
23
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
-
26
19
  var _excluded = ["className", "count", "id", "labelText", "title"];
27
20
 
28
21
  // The block part of our conventional BEM class names (blockClass__E--M).
@@ -37,17 +30,17 @@ var componentName = 'FilterPanelCheckbox';
37
30
  * All of Carbon Checkbox's props are directly available
38
31
  * through "...rest", including id, onClick, etc.
39
32
  */
40
- exports.FilterPanelCheckbox = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
33
+ exports.FilterPanelCheckbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
41
34
  var className = _ref.className,
42
35
  count = _ref.count,
43
36
  id = _ref.id,
44
37
  labelText = _ref.labelText,
45
38
  title = _ref.title,
46
39
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
47
- return /*#__PURE__*/React__default["default"].createElement(react.Checkbox, _rollupPluginBabelHelpers["extends"]({}, rest, {
48
- className: cx__default["default"](blockClass, className),
40
+ return /*#__PURE__*/React.createElement(react.Checkbox, _rollupPluginBabelHelpers.extends({}, rest, {
41
+ className: cx(blockClass, className),
49
42
  id: id,
50
- labelText: /*#__PURE__*/React__default["default"].createElement(FilterPanelLabel.FilterPanelLabel, {
43
+ labelText: /*#__PURE__*/React.createElement(FilterPanelLabel.FilterPanelLabel, {
51
44
  count: count,
52
45
  labelText: labelText,
53
46
  title: title
@@ -63,21 +56,21 @@ exports.FilterPanelCheckbox.propTypes = {
63
56
  /**
64
57
  * Optional class to be applied to the containing node.
65
58
  */
66
- className: index["default"].string,
59
+ className: index.default.string,
67
60
  /**
68
61
  * Number to be displayed with the checkbox.
69
62
  */
70
- count: index["default"].oneOfType([index["default"].number, index["default"].string]),
63
+ count: index.default.oneOfType([index.default.number, index.default.string]),
71
64
  /**
72
65
  * Unique identifier.
73
66
  */
74
- id: index["default"].string.isRequired,
67
+ id: index.default.string.isRequired,
75
68
  /**
76
69
  * Label to be displayed with the checkbox.
77
70
  */
78
- labelText: index["default"].node.isRequired,
71
+ labelText: index.default.node.isRequired,
79
72
  /**
80
73
  * Optional title attribute for the label.
81
74
  */
82
- title: index["default"].string
75
+ title: index.default.string
83
76
  };
@@ -7,8 +7,6 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
13
11
  var React = require('react');
14
12
  var index = require('../../../node_modules/prop-types/index.js');
@@ -18,11 +16,6 @@ var devtools = require('../../../global/js/utils/devtools.js');
18
16
  var settings = require('../../../settings.js');
19
17
  var FilterPanelCheckbox = require('../FilterPanelCheckbox/FilterPanelCheckbox.js');
20
18
 
21
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
22
-
23
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
24
- var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
25
-
26
19
  var _excluded = ["children", "className", "count", "id", "labelText", "overflowMenuProps", "title"];
27
20
 
28
21
  // The block part of our conventional BEM class names (blockClass__E--M).
@@ -40,7 +33,7 @@ var defaults = {
40
33
  *
41
34
  * Use `overflowMenuProps` for properties specific to the OverflowMenu.
42
35
  */
43
- exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
36
+ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
44
37
  var children = _ref.children,
45
38
  className = _ref.className,
46
39
  count = _ref.count,
@@ -59,7 +52,7 @@ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default["default"]
59
52
  showMenuButton = _useState4[0],
60
53
  setShowMenuButton = _useState4[1];
61
54
  // Destructure overflow menu properties.
62
- var other = _rollupPluginBabelHelpers["extends"]({}, (_rollupPluginBabelHelpers.objectDestructuringEmpty(overflowMenuProps), overflowMenuProps));
55
+ var other = _rollupPluginBabelHelpers.extends({}, (_rollupPluginBabelHelpers.objectDestructuringEmpty(overflowMenuProps), overflowMenuProps));
63
56
  var backupRef = React.useRef();
64
57
  var localRef = ref || backupRef;
65
58
  var setHideButton = function setHideButton(activeElement) {
@@ -73,8 +66,8 @@ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default["default"]
73
66
  return (
74
67
  /*#__PURE__*/
75
68
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
76
- React__default["default"].createElement("div", _rollupPluginBabelHelpers["extends"]({
77
- className: cx__default["default"](blockClass, className, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--open"), menuIsOpen)),
69
+ React.createElement("div", _rollupPluginBabelHelpers.extends({
70
+ className: cx(blockClass, className, _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--open"), menuIsOpen)),
78
71
  onBlur: function onBlur(_ref2) {
79
72
  var relatedTarget = _ref2.relatedTarget;
80
73
  return setHideButton(relatedTarget);
@@ -101,16 +94,16 @@ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default["default"]
101
94
  return setHideButton(document.activeElement);
102
95
  },
103
96
  ref: localRef
104
- }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React__default["default"].createElement(FilterPanelCheckbox.FilterPanelCheckbox, _rollupPluginBabelHelpers["extends"]({}, rest, {
105
- className: cx__default["default"]("".concat(blockClass, "__checkbox")),
97
+ }, devtools.getDevtoolsProps(componentName)), /*#__PURE__*/React.createElement(FilterPanelCheckbox.FilterPanelCheckbox, _rollupPluginBabelHelpers.extends({}, rest, {
98
+ className: cx("".concat(blockClass, "__checkbox")),
106
99
  count: count,
107
100
  id: id,
108
101
  labelText: labelText,
109
102
  title: title
110
- })), showMenuButton && /*#__PURE__*/React__default["default"].createElement(react.OverflowMenu, _rollupPluginBabelHelpers["extends"]({
103
+ })), showMenuButton && /*#__PURE__*/React.createElement(react.OverflowMenu, _rollupPluginBabelHelpers.extends({
111
104
  open: overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.open,
112
- className: cx__default["default"]("".concat(blockClass, "__overflow-button"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuClass),
113
- menuOptionsClass: cx__default["default"]("".concat(blockClass, "__overflow-options"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuOptionsClass),
105
+ className: cx("".concat(blockClass, "__overflow-button"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuClass),
106
+ menuOptionsClass: cx("".concat(blockClass, "__overflow-options"), overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps.menuOptionsClass),
114
107
  "aria-label": overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps['aria-label'],
115
108
  iconDescription: overflowMenuProps === null || overflowMenuProps === void 0 ? void 0 : overflowMenuProps['aria-label'],
116
109
  onOpen: function onOpen() {
@@ -132,33 +125,33 @@ exports.FilterPanelCheckboxWithOverflow.propTypes = {
132
125
  /**
133
126
  * Children containing `OverflowMenuItems`.
134
127
  */
135
- children: index["default"].node.isRequired,
128
+ children: index.default.node.isRequired,
136
129
  /**
137
130
  * Optional class to be applied to the containing node.
138
131
  */
139
- className: index["default"].string,
132
+ className: index.default.string,
140
133
  /**
141
134
  * Number to be displayed with the checkbox.
142
135
  */
143
- count: index["default"].oneOfType([index["default"].number, index["default"].string]),
136
+ count: index.default.oneOfType([index.default.number, index.default.string]),
144
137
  /**
145
138
  * Unique identifier.
146
139
  */
147
- id: index["default"].string.isRequired,
140
+ id: index.default.string.isRequired,
148
141
  /**
149
142
  * Label to be displayed with the checkbox.
150
143
  */
151
- labelText: index["default"].node.isRequired,
144
+ labelText: index.default.node.isRequired,
152
145
  /**
153
146
  * Checkbox event handler.
154
147
  */
155
- onChange: index["default"].func,
148
+ onChange: index.default.func,
156
149
  /**
157
150
  * Props specific to the internal `OverflowMenu` component.
158
151
  */
159
- overflowMenuProps: index["default"].shape(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, 'aria-label', index["default"].string), "flipped", index["default"].bool), "menuClass", index["default"].string), "menuOptionsClass", index["default"].string), "open", index["default"].bool), "selectorPrimaryFocus", index["default"].string)),
152
+ overflowMenuProps: index.default.shape(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, 'aria-label', index.default.string), "flipped", index.default.bool), "menuClass", index.default.string), "menuOptionsClass", index.default.string), "open", index.default.bool), "selectorPrimaryFocus", index.default.string)),
160
153
  /**
161
154
  * Optional title attribute for the label.
162
155
  */
163
- title: index["default"].string
156
+ title: index.default.string
164
157
  };