@carbon/ibm-products 2.43.2-canary.271 → 2.43.2-canary.281

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 (462) hide show
  1. package/css/index-full-carbon.css +45 -113
  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 +0 -17
  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 +2 -34
  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 +36 -79
  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/index.js +6 -2
  18. package/es/_virtual/index2.js +10 -0
  19. package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
  20. package/es/components/APIKeyModal/APIKeyModal.js +1 -1
  21. package/es/components/AboutModal/AboutModal.js +1 -1
  22. package/es/components/ActionBar/ActionBar.js +1 -1
  23. package/es/components/ActionBar/ActionBarItem.js +1 -1
  24. package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
  25. package/es/components/ActionSet/ActionSet.js +1 -1
  26. package/es/components/AddSelect/AddSelect.js +1 -1
  27. package/es/components/AddSelect/AddSelectBody.js +1 -1
  28. package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  29. package/es/components/AddSelect/AddSelectColumn.js +1 -1
  30. package/es/components/AddSelect/AddSelectFilter.js +1 -1
  31. package/es/components/AddSelect/AddSelectFormControl.js +1 -1
  32. package/es/components/AddSelect/AddSelectList.js +1 -1
  33. package/es/components/AddSelect/AddSelectMetaPanel.js +1 -1
  34. package/es/components/AddSelect/AddSelectRow.js +1 -1
  35. package/es/components/AddSelect/AddSelectSidebar.js +1 -1
  36. package/es/components/AddSelect/AddSelectSort.js +1 -1
  37. package/es/components/BigNumbers/BigNumbers.js +1 -1
  38. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
  39. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
  40. package/es/components/Card/Card.js +1 -1
  41. package/es/components/Card/CardFooter.js +1 -1
  42. package/es/components/Card/CardHeader.js +1 -1
  43. package/es/components/Carousel/Carousel.js +1 -1
  44. package/es/components/Carousel/CarouselItem.js +1 -1
  45. package/es/components/Cascade/Cascade.js +1 -1
  46. package/es/components/Checklist/Checklist.js +1 -1
  47. package/es/components/Checklist/ChecklistChart.js +1 -1
  48. package/es/components/Checklist/ChecklistIcon.js +1 -1
  49. package/es/components/Coachmark/Coachmark.js +1 -1
  50. package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
  51. package/es/components/Coachmark/CoachmarkHeader.js +1 -1
  52. package/es/components/Coachmark/CoachmarkOverlay.js +1 -1
  53. package/es/components/Coachmark/CoachmarkTagline.js +1 -1
  54. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  55. package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
  56. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  57. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
  58. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  59. package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
  60. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  61. package/es/components/ComboButton/ComboButton.js +1 -1
  62. package/es/components/ComboButton/ComboButtonItem/index.js +1 -1
  63. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
  64. package/es/components/ConditionBuilder/ConditionBuilder.js +1 -1
  65. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
  66. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
  67. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  68. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
  69. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
  70. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
  71. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
  72. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  73. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
  74. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
  75. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  76. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  77. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  78. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  79. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
  80. package/es/components/CreateFullPage/CreateFullPage.js +1 -1
  81. package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
  82. package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
  83. package/es/components/CreateModal/CreateModal.js +1 -1
  84. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  85. package/es/components/CreateTearsheet/CreateTearsheet.js +1 -1
  86. package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
  87. package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
  88. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  89. package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
  90. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
  91. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
  92. package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
  93. package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  94. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
  95. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  96. package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  97. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
  98. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  99. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  100. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  101. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  102. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  103. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  104. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  105. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  106. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
  107. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  108. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
  109. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  110. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  111. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  112. package/es/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +1 -1
  113. package/es/components/Decorator/Decorator.js +1 -1
  114. package/es/components/DecoratorBase/DecoratorBase.js +1 -1
  115. package/es/components/DecoratorBase/DecoratorIcon.js +1 -1
  116. package/es/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
  117. package/es/components/DecoratorLink/DecoratorLink.js +1 -1
  118. package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
  119. package/es/components/DelimitedList/DelimitedList.js +1 -1
  120. package/es/components/DescriptionList/DescriptionList.js +1 -1
  121. package/es/components/DescriptionList/DescriptionListBody.js +1 -1
  122. package/es/components/DescriptionList/DescriptionListCell.js +1 -1
  123. package/es/components/DescriptionList/DescriptionListRow.js +1 -1
  124. package/es/components/EditFullPage/EditFullPage.js +1 -1
  125. package/es/components/EditInPlace/EditInPlace.js +1 -1
  126. package/es/components/EditSidePanel/EditSidePanel.js +1 -1
  127. package/es/components/EditTearsheet/EditTearsheet.js +1 -1
  128. package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
  129. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
  130. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
  131. package/es/components/EmptyStates/EmptyState.js +1 -1
  132. package/es/components/EmptyStates/EmptyStateContent.js +1 -1
  133. package/es/components/EmptyStates/EmptyStateIllustration.js +1 -1
  134. package/es/components/EmptyStates/EmptyStateV2.js +1 -1
  135. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  136. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  137. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  138. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  139. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  140. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  141. package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
  142. package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
  143. package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
  144. package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
  145. package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
  146. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
  147. package/es/components/ExportModal/ExportModal.js +1 -1
  148. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  149. package/es/components/FeatureFlags/index.js +1 -1
  150. package/es/components/FilterPanel/FilterPanel.js +1 -1
  151. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  152. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  153. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
  154. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  155. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
  156. package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
  157. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  158. package/es/components/FilterSummary/FilterSummary.js +1 -1
  159. package/es/components/FullPageError/FullPageError.js +1 -1
  160. package/es/components/FullPageError/assets/Error403SVG.js +1 -1
  161. package/es/components/FullPageError/assets/Error404SVG.js +1 -1
  162. package/es/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
  163. package/es/components/GetStartedCard/GetStartedCard.js +1 -1
  164. package/es/components/Guidebanner/Guidebanner.js +1 -1
  165. package/es/components/Guidebanner/GuidebannerElement.js +1 -1
  166. package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
  167. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
  168. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  169. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  170. package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
  171. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  172. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
  173. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
  174. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
  175. package/es/components/ImportModal/ImportModal.js +1 -1
  176. package/es/components/InlineTip/InlineTip.js +1 -1
  177. package/es/components/InlineTip/InlineTipButton.js +1 -1
  178. package/es/components/InlineTip/InlineTipLink.js +1 -1
  179. package/es/components/InterstitialScreen/InterstitialScreen.js +1 -1
  180. package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
  181. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  182. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
  183. package/es/components/Nav/Nav.js +1 -1
  184. package/es/components/Nav/NavItem.js +1 -1
  185. package/es/components/Nav/NavItemLink.js +1 -1
  186. package/es/components/Nav/NavList.js +1 -1
  187. package/es/components/NonLinearReading/NonLinearReading.js +1 -1
  188. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  189. package/es/components/OptionsTile/OptionsTile.js +1 -1
  190. package/es/components/PageHeader/PageHeader.js +1 -1
  191. package/es/components/PageHeader/PageHeaderTitle.js +1 -1
  192. package/es/components/ProductiveCard/ProductiveCard.js +1 -1
  193. package/es/components/RemoveModal/RemoveModal.js +1 -1
  194. package/es/components/Saving/Saving.js +1 -1
  195. package/es/components/ScrollGradient/ScrollGradient.js +1 -1
  196. package/es/components/SearchBar/SearchBar.js +1 -1
  197. package/es/components/SidePanel/SidePanel.js +1 -1
  198. package/es/components/SimpleHeader/SimpleHeader.js +1 -1
  199. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  200. package/es/components/StatusIcon/StatusIcon.js +1 -1
  201. package/es/components/StatusIndicator/StatusIndicator.js +1 -1
  202. package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  203. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  204. package/es/components/StringFormatter/StringFormatter.js +1 -1
  205. package/es/components/TagOverflow/TagOverflow.d.ts +1 -0
  206. package/es/components/TagOverflow/TagOverflow.js +8 -2
  207. package/es/components/TagOverflow/TagOverflowModal.d.ts +2 -1
  208. package/es/components/TagOverflow/TagOverflowModal.js +11 -5
  209. package/es/components/TagOverflow/TagOverflowPopover.js +6 -5
  210. package/es/components/TagSet/TagSet.d.ts +8 -0
  211. package/es/components/TagSet/TagSet.js +16 -4
  212. package/es/components/TagSet/TagSetModal.d.ts +2 -1
  213. package/es/components/TagSet/TagSetModal.js +11 -5
  214. package/es/components/TagSet/TagSetOverflow.d.ts +5 -1
  215. package/es/components/TagSet/TagSetOverflow.js +36 -8
  216. package/es/components/Tearsheet/Tearsheet.js +1 -1
  217. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  218. package/es/components/Tearsheet/TearsheetShell.js +1 -1
  219. package/es/components/Toolbar/Toolbar.js +1 -1
  220. package/es/components/Toolbar/ToolbarButton.js +1 -1
  221. package/es/components/Toolbar/ToolbarGroup.js +1 -1
  222. package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
  223. package/es/components/TruncatedList/TruncatedList.js +1 -1
  224. package/es/components/UserAvatar/UserAvatar.js +1 -1
  225. package/es/components/UserProfileImage/UserProfileImage.js +1 -1
  226. package/es/components/WebTerminal/WebTerminal.js +1 -1
  227. package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
  228. package/es/components/WebTerminal/hooks/index.js +1 -1
  229. package/es/components/_Canary/Canary.js +1 -1
  230. package/es/global/js/utils/Wrap.js +1 -1
  231. package/es/global/js/utils/props-helper.js +1 -1
  232. package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  233. package/es/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
  234. package/es/node_modules/prop-types/checkPropTypes.js +2 -2
  235. package/es/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  236. package/es/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  237. package/es/node_modules/prop-types/index.js +18 -15
  238. package/lib/_virtual/index.js +9 -2
  239. package/lib/_virtual/index2.js +12 -0
  240. package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
  241. package/lib/components/APIKeyModal/APIKeyModal.js +1 -1
  242. package/lib/components/AboutModal/AboutModal.js +1 -1
  243. package/lib/components/ActionBar/ActionBar.js +1 -1
  244. package/lib/components/ActionBar/ActionBarItem.js +1 -1
  245. package/lib/components/ActionBar/ActionBarOverflowItems.js +1 -1
  246. package/lib/components/ActionSet/ActionSet.js +1 -1
  247. package/lib/components/AddSelect/AddSelect.js +1 -1
  248. package/lib/components/AddSelect/AddSelectBody.js +1 -1
  249. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  250. package/lib/components/AddSelect/AddSelectColumn.js +1 -1
  251. package/lib/components/AddSelect/AddSelectFilter.js +1 -1
  252. package/lib/components/AddSelect/AddSelectFormControl.js +1 -1
  253. package/lib/components/AddSelect/AddSelectList.js +1 -1
  254. package/lib/components/AddSelect/AddSelectMetaPanel.js +1 -1
  255. package/lib/components/AddSelect/AddSelectRow.js +1 -1
  256. package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
  257. package/lib/components/AddSelect/AddSelectSort.js +1 -1
  258. package/lib/components/BigNumbers/BigNumbers.js +1 -1
  259. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
  260. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
  261. package/lib/components/Card/Card.js +1 -1
  262. package/lib/components/Card/CardFooter.js +1 -1
  263. package/lib/components/Card/CardHeader.js +1 -1
  264. package/lib/components/Carousel/Carousel.js +1 -1
  265. package/lib/components/Carousel/CarouselItem.js +1 -1
  266. package/lib/components/Cascade/Cascade.js +1 -1
  267. package/lib/components/Checklist/Checklist.js +1 -1
  268. package/lib/components/Checklist/ChecklistChart.js +1 -1
  269. package/lib/components/Checklist/ChecklistIcon.js +1 -1
  270. package/lib/components/Coachmark/Coachmark.js +1 -1
  271. package/lib/components/Coachmark/CoachmarkDragbar.js +1 -1
  272. package/lib/components/Coachmark/CoachmarkHeader.js +1 -1
  273. package/lib/components/Coachmark/CoachmarkOverlay.js +1 -1
  274. package/lib/components/Coachmark/CoachmarkTagline.js +1 -1
  275. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  276. package/lib/components/CoachmarkButton/CoachmarkButton.js +1 -1
  277. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  278. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
  279. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +1 -1
  280. package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
  281. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  282. package/lib/components/ComboButton/ComboButton.js +1 -1
  283. package/lib/components/ComboButton/ComboButtonItem/index.js +1 -1
  284. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
  285. package/lib/components/ConditionBuilder/ConditionBuilder.js +1 -1
  286. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
  287. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
  288. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  289. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
  290. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +1 -1
  291. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
  292. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
  293. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  294. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
  295. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
  296. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  297. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  298. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  299. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  300. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
  301. package/lib/components/CreateFullPage/CreateFullPage.js +1 -1
  302. package/lib/components/CreateFullPage/CreateFullPageStep.js +1 -1
  303. package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -1
  304. package/lib/components/CreateModal/CreateModal.js +1 -1
  305. package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
  306. package/lib/components/CreateTearsheet/CreateTearsheet.js +1 -1
  307. package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
  308. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
  309. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  310. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
  311. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
  312. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
  313. package/lib/components/Datagrid/Datagrid/Datagrid.js +1 -1
  314. package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  315. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
  316. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  317. package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  318. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
  319. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  320. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  321. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  322. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  323. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  324. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  325. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  326. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  327. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
  328. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  329. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
  330. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  331. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  332. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  333. package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +1 -1
  334. package/lib/components/Decorator/Decorator.js +1 -1
  335. package/lib/components/DecoratorBase/DecoratorBase.js +1 -1
  336. package/lib/components/DecoratorBase/DecoratorIcon.js +1 -1
  337. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
  338. package/lib/components/DecoratorLink/DecoratorLink.js +1 -1
  339. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
  340. package/lib/components/DelimitedList/DelimitedList.js +1 -1
  341. package/lib/components/DescriptionList/DescriptionList.js +1 -1
  342. package/lib/components/DescriptionList/DescriptionListBody.js +1 -1
  343. package/lib/components/DescriptionList/DescriptionListCell.js +1 -1
  344. package/lib/components/DescriptionList/DescriptionListRow.js +1 -1
  345. package/lib/components/EditFullPage/EditFullPage.js +1 -1
  346. package/lib/components/EditInPlace/EditInPlace.js +1 -1
  347. package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
  348. package/lib/components/EditTearsheet/EditTearsheet.js +1 -1
  349. package/lib/components/EditTearsheet/EditTearsheetForm.js +1 -1
  350. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
  351. package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
  352. package/lib/components/EmptyStates/EmptyState.js +1 -1
  353. package/lib/components/EmptyStates/EmptyStateContent.js +1 -1
  354. package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -1
  355. package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
  356. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  357. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  358. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  359. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  360. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  361. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  362. package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -1
  363. package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -1
  364. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
  365. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
  366. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
  367. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
  368. package/lib/components/ExportModal/ExportModal.js +1 -1
  369. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  370. package/lib/components/FeatureFlags/index.js +1 -1
  371. package/lib/components/FilterPanel/FilterPanel.js +1 -1
  372. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  373. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  374. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
  375. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  376. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
  377. package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
  378. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  379. package/lib/components/FilterSummary/FilterSummary.js +1 -1
  380. package/lib/components/FullPageError/FullPageError.js +1 -1
  381. package/lib/components/FullPageError/assets/Error403SVG.js +1 -1
  382. package/lib/components/FullPageError/assets/Error404SVG.js +1 -1
  383. package/lib/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
  384. package/lib/components/GetStartedCard/GetStartedCard.js +1 -1
  385. package/lib/components/Guidebanner/Guidebanner.js +1 -1
  386. package/lib/components/Guidebanner/GuidebannerElement.js +1 -1
  387. package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
  388. package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
  389. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  390. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  391. package/lib/components/HTTPErrors/HTTPErrorContent.js +1 -1
  392. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  393. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
  394. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
  395. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
  396. package/lib/components/ImportModal/ImportModal.js +1 -1
  397. package/lib/components/InlineTip/InlineTip.js +1 -1
  398. package/lib/components/InlineTip/InlineTipButton.js +1 -1
  399. package/lib/components/InlineTip/InlineTipLink.js +1 -1
  400. package/lib/components/InterstitialScreen/InterstitialScreen.js +1 -1
  401. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
  402. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  403. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  404. package/lib/components/Nav/Nav.js +1 -1
  405. package/lib/components/Nav/NavItem.js +1 -1
  406. package/lib/components/Nav/NavItemLink.js +1 -1
  407. package/lib/components/Nav/NavList.js +1 -1
  408. package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
  409. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  410. package/lib/components/OptionsTile/OptionsTile.js +1 -1
  411. package/lib/components/PageHeader/PageHeader.js +1 -1
  412. package/lib/components/PageHeader/PageHeaderTitle.js +1 -1
  413. package/lib/components/ProductiveCard/ProductiveCard.js +1 -1
  414. package/lib/components/RemoveModal/RemoveModal.js +1 -1
  415. package/lib/components/Saving/Saving.js +1 -1
  416. package/lib/components/ScrollGradient/ScrollGradient.js +1 -1
  417. package/lib/components/SearchBar/SearchBar.js +1 -1
  418. package/lib/components/SidePanel/SidePanel.js +1 -1
  419. package/lib/components/SimpleHeader/SimpleHeader.js +1 -1
  420. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  421. package/lib/components/StatusIcon/StatusIcon.js +1 -1
  422. package/lib/components/StatusIndicator/StatusIndicator.js +1 -1
  423. package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  424. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  425. package/lib/components/StringFormatter/StringFormatter.js +1 -1
  426. package/lib/components/TagOverflow/TagOverflow.d.ts +1 -0
  427. package/lib/components/TagOverflow/TagOverflow.js +8 -2
  428. package/lib/components/TagOverflow/TagOverflowModal.d.ts +2 -1
  429. package/lib/components/TagOverflow/TagOverflowModal.js +11 -5
  430. package/lib/components/TagOverflow/TagOverflowPopover.js +5 -4
  431. package/lib/components/TagSet/TagSet.d.ts +8 -0
  432. package/lib/components/TagSet/TagSet.js +16 -4
  433. package/lib/components/TagSet/TagSetModal.d.ts +2 -1
  434. package/lib/components/TagSet/TagSetModal.js +11 -5
  435. package/lib/components/TagSet/TagSetOverflow.d.ts +5 -1
  436. package/lib/components/TagSet/TagSetOverflow.js +35 -7
  437. package/lib/components/Tearsheet/Tearsheet.js +1 -1
  438. package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
  439. package/lib/components/Tearsheet/TearsheetShell.js +1 -1
  440. package/lib/components/Toolbar/Toolbar.js +1 -1
  441. package/lib/components/Toolbar/ToolbarButton.js +1 -1
  442. package/lib/components/Toolbar/ToolbarGroup.js +1 -1
  443. package/lib/components/TooltipTrigger/TooltipTrigger.js +1 -1
  444. package/lib/components/TruncatedList/TruncatedList.js +1 -1
  445. package/lib/components/UserAvatar/UserAvatar.js +1 -1
  446. package/lib/components/UserProfileImage/UserProfileImage.js +1 -1
  447. package/lib/components/WebTerminal/WebTerminal.js +1 -1
  448. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
  449. package/lib/components/WebTerminal/hooks/index.js +1 -1
  450. package/lib/components/_Canary/Canary.js +1 -1
  451. package/lib/global/js/utils/Wrap.js +1 -1
  452. package/lib/global/js/utils/props-helper.js +1 -1
  453. package/lib/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  454. package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
  455. package/lib/node_modules/prop-types/checkPropTypes.js +2 -2
  456. package/lib/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  457. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  458. package/lib/node_modules/prop-types/index.js +18 -18
  459. package/package.json +7 -7
  460. package/scss/components/DecoratorBase/_decorator-base.scss +0 -1
  461. package/scss/components/TagOverflow/_tag-overflow.scss +2 -20
  462. package/scss/components/TagSet/_tag-set.scss +0 -20
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var react = require('@carbon/react');
14
14
  var TagSetModal = require('./TagSetModal.js');
15
15
  var TagSetOverflow = require('./TagSetOverflow.js');
@@ -19,7 +19,7 @@ var propsHelper = require('../../global/js/utils/props-helper.js');
19
19
  var settings = require('../../settings.js');
20
20
  var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
21
21
 
22
- var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
22
+ var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
23
23
  _excluded2 = ["label", "id"],
24
24
  _excluded3 = ["label", "onClose"];
25
25
  var componentName = 'TagSet';
@@ -47,6 +47,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
47
47
  overflowClassName = _ref.overflowClassName,
48
48
  _ref$overflowType = _ref.overflowType,
49
49
  overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
50
+ allTagsModalAriaLabel = _ref.allTagsModalAriaLabel,
50
51
  _ref$allTagsModalTitl = _ref.allTagsModalTitle,
51
52
  allTagsModalTitle = _ref$allTagsModalTitl === void 0 ? 'All tags' : _ref$allTagsModalTitl,
52
53
  _ref$allTagsModalSear = _ref.allTagsModalSearchLabel,
@@ -55,6 +56,7 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
55
56
  allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === void 0 ? 'Search all tags' : _ref$allTagsModalSear2,
56
57
  _ref$showAllTagsLabel = _ref.showAllTagsLabel,
57
58
  showAllTagsLabel = _ref$showAllTagsLabel === void 0 ? 'View all tags' : _ref$showAllTagsLabel,
59
+ onOverflowClick = _ref.onOverflowClick,
58
60
  tags = _ref.tags,
59
61
  containingElementRef = _ref.containingElementRef,
60
62
  _ref$measurementOffse = _ref.measurementOffset,
@@ -171,11 +173,12 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
171
173
  key: "displayed-tag-overflow",
172
174
  ref: overflowTag,
173
175
  popoverOpen: popoverOpen,
176
+ onOverflowClick: onOverflowClick,
174
177
  setPopoverOpen: setPopoverOpen
175
178
  }));
176
179
  onOverflowTagChange === null || onOverflowTagChange === void 0 || onOverflowTagChange(newOverflowTags);
177
180
  setDisplayedTags(newDisplayedTags);
178
- }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
181
+ }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, onOverflowClick, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
179
182
  var checkFullyVisibleTags = React.useCallback(function () {
180
183
  if (multiline) {
181
184
  return setDisplayCount(maxVisibleCount);
@@ -246,11 +249,12 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
246
249
  }, hiddenSizingTags), /*#__PURE__*/React.createElement("div", {
247
250
  className: cx(["".concat(blockClass, "__tag-container"), multiline && "".concat(blockClass, "__tag-container--multiline")]),
248
251
  ref: displayedArea
249
- }, displayedTags)), /*#__PURE__*/React.createElement(TagSetModal.TagSetModal, {
252
+ }, displayedTags)), !onOverflowClick && /*#__PURE__*/React.createElement(TagSetModal.TagSetModal, {
250
253
  allTags: tags,
251
254
  open: showAllModalOpen,
252
255
  title: allTagsModalTitle,
253
256
  onClose: handleModalClose,
257
+ modalAriaLabel: allTagsModalAriaLabel,
254
258
  searchLabel: allTagsModalSearchLabel,
255
259
  searchPlaceholder: allTagsModalSearchPlaceholderText,
256
260
  portalTarget: allTagsModalTarget
@@ -291,6 +295,10 @@ exports.TagSet.propTypes = {
291
295
  * align the Tags displayed by the TagSet. Default start.
292
296
  */
293
297
  align: index.default.oneOf(['start', 'center', 'end']),
298
+ /**
299
+ * aria label for all tags modal with hasScrollingContent
300
+ */
301
+ allTagsModalAriaLabel: index.default.string,
294
302
  /**
295
303
  * label text for the show all search.
296
304
  */
@@ -330,6 +338,10 @@ exports.TagSet.propTypes = {
330
338
  * display tags in multiple lines
331
339
  */
332
340
  multiline: index.default.bool,
341
+ /**
342
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
343
+ */
344
+ onOverflowClick: index.default.func,
333
345
  /**
334
346
  * Handler to get overflow tags
335
347
  */
@@ -9,6 +9,7 @@ type AllTags = TagType[] & Omit<React.ComponentProps<Tag>, 'filter'>[];
9
9
  interface TagSetModalProps {
10
10
  allTags?: AllTags;
11
11
  className?: string;
12
+ modalAriaLabel?: string;
12
13
  onClose?: () => void;
13
14
  open?: boolean;
14
15
  portalTarget?: ReactNode;
@@ -17,7 +18,7 @@ interface TagSetModalProps {
17
18
  title?: string;
18
19
  }
19
20
  export declare const TagSetModal: {
20
- ({ allTags, className, title, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagSetModalProps): any;
21
+ ({ allTags, className, title, modalAriaLabel, onClose, open, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagSetModalProps): any;
21
22
  propTypes: {
22
23
  allTags: PropTypes.Requireable<(PropTypes.InferProps<{
23
24
  label: PropTypes.Validator<string>;
@@ -9,20 +9,22 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var react = require('@carbon/react');
15
15
  var settings = require('../../settings.js');
16
16
  var propsHelper = require('../../global/js/utils/props-helper.js');
17
17
  var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
18
18
 
19
- var _excluded = ["allTags", "className", "title", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
19
+ var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
20
20
  _excluded2 = ["label"];
21
21
  var componentName = 'TagSetModal';
22
22
  var blockClass = "".concat(settings.pkg.prefix, "--tag-set-modal");
23
23
 
24
24
  // Default values for props
25
25
  var defaults = {
26
+ // required for accessibility if using hasScrollingContent
27
+ modalAriaLabel: 'List of all tags',
26
28
  // marked as required by TagSet if needed, default used to satisfy <Search /> component
27
29
  searchLabel: ''
28
30
  };
@@ -30,6 +32,8 @@ var TagSetModal = function TagSetModal(_ref) {
30
32
  var allTags = _ref.allTags,
31
33
  className = _ref.className,
32
34
  title = _ref.title,
35
+ _ref$modalAriaLabel = _ref.modalAriaLabel,
36
+ modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
33
37
  onClose = _ref.onClose,
34
38
  open = _ref.open,
35
39
  portalTargetIn = _ref.portalTarget,
@@ -87,7 +91,9 @@ var TagSetModal = function TagSetModal(_ref) {
87
91
  size: "lg"
88
92
  })), /*#__PURE__*/React.createElement(react.ModalBody, {
89
93
  className: "".concat(blockClass, "__body"),
90
- hasForm: true
94
+ hasForm: true,
95
+ hasScrollingContent: true,
96
+ "aria-label": modalAriaLabel
91
97
  }, filteredModalTags.map(function (_ref2, index) {
92
98
  var label = _ref2.label,
93
99
  other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded2);
@@ -95,9 +101,9 @@ var TagSetModal = function TagSetModal(_ref) {
95
101
  filter: false,
96
102
  key: "all-tags-".concat(index)
97
103
  }), label);
98
- })), /*#__PURE__*/React.createElement("div", {
104
+ }), /*#__PURE__*/React.createElement("div", {
99
105
  className: "".concat(blockClass, "__fade")
100
- })));
106
+ }))));
101
107
  };
102
108
  TagSetModal.propTypes = {
103
109
  allTags: index.default.arrayOf(index.default.shape(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, propsHelper.prepareProps(react.Tag.propTypes, 'filter')), {}, {
@@ -10,6 +10,10 @@ interface TagSetOverflowProps {
10
10
  * className
11
11
  */
12
12
  className?: string;
13
+ /**
14
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
15
+ */
16
+ onOverflowClick?: ((overFlowTags: ReactNode[]) => void) | undefined;
13
17
  /**
14
18
  * function to execute on clicking show all
15
19
  */
@@ -37,7 +41,7 @@ interface TagSetOverflowProps {
37
41
  /**
38
42
  * Setter function for the popoverOpen state value
39
43
  */
40
- setPopoverOpen?: ((value: boolean) => void) | undefined;
44
+ setPopoverOpen: (value: boolean) => void;
41
45
  /**
42
46
  * label for the overflow show all tags link
43
47
  */
@@ -9,13 +9,13 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var react = require('@carbon/react');
15
15
  var settings = require('../../settings.js');
16
16
  var useClickOutside = require('../../global/js/hooks/useClickOutside.js');
17
17
 
18
- var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
18
+ var _excluded = ["allTagsModalSearchThreshold", "onOverflowClick", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
19
19
  var componentName = 'TagSetOverflow';
20
20
  var blockClass = "".concat(settings.pkg.prefix, "--tag-set-overflow");
21
21
 
@@ -26,6 +26,7 @@ var defaults = {
26
26
  var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
27
27
  var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
28
28
  allTagsModalSearchThreshold = _ref$allTagsModalSear === void 0 ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
29
+ onOverflowClick = _ref.onOverflowClick,
29
30
  className = _ref.className,
30
31
  onShowAllClick = _ref.onShowAllClick,
31
32
  _ref$overflowAlign = _ref.overflowAlign,
@@ -42,21 +43,44 @@ var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
42
43
  var overflowTagContent = React.useRef(null);
43
44
  useClickOutside.useClickOutside(ref || localRef, function () {
44
45
  if (popoverOpen) {
45
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
46
+ setPopoverOpen(false);
46
47
  }
47
48
  });
48
49
  var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
49
50
  ev.stopPropagation();
50
51
  ev.preventDefault();
51
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
52
+ setPopoverOpen(false);
52
53
  onShowAllClick();
53
54
  };
54
55
  var handleEscKeyPress = function handleEscKeyPress(event) {
55
56
  var key = event.key;
56
57
  if (key === 'Escape') {
57
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
58
+ setPopoverOpen(false);
58
59
  }
59
60
  };
61
+ var handleOverflowClick = function handleOverflowClick() {
62
+ // If a custom overflow function is provided then trigger that function
63
+ // on clicking the overflow
64
+ if (onOverflowClick) {
65
+ onOverflowClick(overflowTags);
66
+ } else {
67
+ setPopoverOpen(!popoverOpen);
68
+ }
69
+ };
70
+ if (onOverflowClick) {
71
+ return /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, rest, {
72
+ "aria-hidden": overflowTags.length === 0,
73
+ className: cx("".concat(blockClass), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
74
+ ref: ref || localRef
75
+ }), /*#__PURE__*/React.createElement(react.OperationalTag, {
76
+ onClick: function onClick() {
77
+ return handleOverflowClick();
78
+ },
79
+ className: "".concat(blockClass, "__popover-trigger"),
80
+ size: size,
81
+ text: "+".concat(overflowTags.length)
82
+ }));
83
+ }
60
84
  return /*#__PURE__*/React.createElement("span", _rollupPluginBabelHelpers.extends({}, rest, {
61
85
  "aria-hidden": overflowTags.length === 0,
62
86
  className: cx("".concat(blockClass), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
@@ -71,7 +95,7 @@ var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
71
95
  autoAlign: overflowAutoAlign
72
96
  }, /*#__PURE__*/React.createElement(react.OperationalTag, {
73
97
  onClick: function onClick() {
74
- return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
98
+ return setPopoverOpen(!popoverOpen);
75
99
  },
76
100
  className: cx("".concat(blockClass, "__popover-trigger")),
77
101
  size: size,
@@ -114,6 +138,10 @@ TagSetOverflow.propTypes = {
114
138
  * className
115
139
  */
116
140
  className: index.default.string,
141
+ /**
142
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
143
+ */
144
+ onOverflowClick: index.default.func,
117
145
  /**
118
146
  * function to execute on clicking show all
119
147
  */
@@ -142,7 +170,7 @@ TagSetOverflow.propTypes = {
142
170
  /**
143
171
  * Setter function for the popoverOpen state value
144
172
  */
145
- setPopoverOpen: index.default.func,
173
+ setPopoverOpen: index.default.func.isRequired,
146
174
  /**
147
175
  * label for the overflow show all tags link
148
176
  */
@@ -12,7 +12,7 @@ var react = require('@carbon/react');
12
12
  var React = require('react');
13
13
  var TearsheetShell = require('./TearsheetShell.js');
14
14
  var ActionSet = require('../ActionSet/ActionSet.js');
15
- var index = require('../../node_modules/prop-types/index.js');
15
+ var index = require('../../_virtual/index.js');
16
16
  var propsHelper = require('../../global/js/utils/props-helper.js');
17
17
  var devtools = require('../../global/js/utils/devtools.js');
18
18
  var settings = require('../../settings.js');
@@ -13,7 +13,7 @@ var TearsheetShell = require('./TearsheetShell.js');
13
13
  var React = require('react');
14
14
  var propsHelper = require('../../global/js/utils/props-helper.js');
15
15
  var ActionSet = require('../ActionSet/ActionSet.js');
16
- var index = require('../../node_modules/prop-types/index.js');
16
+ var index = require('../../_virtual/index.js');
17
17
  var devtools = require('../../global/js/utils/devtools.js');
18
18
  var settings = require('../../settings.js');
19
19
 
@@ -10,7 +10,7 @@
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
12
  var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
13
- var index = require('../../node_modules/prop-types/index.js');
13
+ var index = require('../../_virtual/index.js');
14
14
  var cx = require('classnames');
15
15
  var settings = require('../../settings.js');
16
16
  var pconsole = require('../../global/js/utils/pconsole.js');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var getFocusableElements = require('../../global/js/utils/getFocusableElements.js');
14
14
  var cx = require('classnames');
15
15
  var devtools = require('../../global/js/utils/devtools.js');
@@ -10,7 +10,7 @@
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
12
  var Toolbar = require('./Toolbar.js');
13
- var index = require('../../node_modules/prop-types/index.js');
13
+ var index = require('../../_virtual/index.js');
14
14
  var react = require('@carbon/react');
15
15
  var cx = require('classnames');
16
16
  var settings = require('../../settings.js');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var Toolbar = require('./Toolbar.js');
14
14
  var cx = require('classnames');
15
15
  var settings = require('../../settings.js');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var settings = require('../../settings.js');
15
15
 
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
11
11
  var React = require('react');
12
12
  var settings = require('../../settings.js');
13
13
  var react = require('@carbon/react');
14
- var index = require('../../node_modules/prop-types/index.js');
14
+ var index = require('../../_virtual/index.js');
15
15
  var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var devtools = require('../../global/js/utils/devtools.js');
15
15
  var settings = require('../../settings.js');
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
11
11
  require('../../global/js/utils/props-helper.js');
12
12
  var icons = require('@carbon/react/icons');
13
13
  var react = require('@carbon/react');
14
- var index = require('../../node_modules/prop-types/index.js');
14
+ var index = require('../../_virtual/index.js');
15
15
  var React = require('react');
16
16
  var cx = require('classnames');
17
17
  var devtools = require('../../global/js/utils/devtools.js');
@@ -11,7 +11,7 @@ var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelper
11
11
  var react = require('@carbon/react');
12
12
  var icons = require('@carbon/react/icons');
13
13
  var React = require('react');
14
- var index = require('../../node_modules/prop-types/index.js');
14
+ var index = require('../../_virtual/index.js');
15
15
  var cx = require('classnames');
16
16
  var devtools = require('../../global/js/utils/devtools.js');
17
17
  var carbonMotion = require('@carbon/motion');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var settings = require('../../settings.js');
15
15
  var index$1 = require('./hooks/index.js');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../../node_modules/prop-types/index.js');
12
+ var index = require('../../../_virtual/index.js');
13
13
  var settings = require('../../../settings.js');
14
14
 
15
15
  var WebTerminalContext = /*#__PURE__*/React.createContext({});
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../node_modules/prop-types/index.js');
12
+ var index = require('../../_virtual/index.js');
13
13
  var cx = require('classnames');
14
14
  var packageSettings = require('../../global/js/package-settings.js');
15
15
  var react = require('@carbon/react');
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  var React = require('react');
12
- var index = require('../../../node_modules/prop-types/index.js');
12
+ var index = require('../../../_virtual/index.js');
13
13
 
14
14
  var _excluded = ["alwaysRender", "children", "element", "neverRender", "className", "title"];
15
15
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
11
11
  require('react');
12
- var index = require('../../../node_modules/prop-types/index.js');
12
+ var index = require('../../../_virtual/index.js');
13
13
  var pconsole = require('./pconsole.js');
14
14
 
15
15
  // helper functions for component props
@@ -11,7 +11,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
 
12
12
  var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
13
13
  var index = require('../../icon-helpers/es/index.js');
14
- var index$1 = require('../../../prop-types/index.js');
14
+ var index$1 = require('../../../../_virtual/index.js');
15
15
  var React = require('react');
16
16
 
17
17
  var _excluded = ["className", "children", "tabIndex", "xmlns", "preserveAspectRatio"],
@@ -7,7 +7,7 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- var index = require('../../../prop-types/index.js');
10
+ var index = require('../../../../_virtual/index.js');
11
11
 
12
12
  var iconPropTypes = {
13
13
  size: index.default.oneOfType([index.default.number, index.default.string])
@@ -18,9 +18,9 @@ function requireCheckPropTypes() {
18
18
  hasRequiredCheckPropTypes = 1;
19
19
  var printWarning = function printWarning() {};
20
20
  if (process.env.NODE_ENV !== 'production') {
21
- var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
21
+ var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
22
22
  var loggedTypeFailures = {};
23
- var has$1 = has.__require();
23
+ var has$1 = /*@__PURE__*/has.__require();
24
24
  printWarning = function printWarning(text) {
25
25
  var message = 'Warning: ' + text;
26
26
  if (typeof console !== 'undefined') {
@@ -14,7 +14,7 @@ var hasRequiredFactoryWithThrowingShims;
14
14
  function requireFactoryWithThrowingShims() {
15
15
  if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
16
16
  hasRequiredFactoryWithThrowingShims = 1;
17
- var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
17
+ var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
18
18
  function emptyFunction() {}
19
19
  function emptyFunctionWithReset() {}
20
20
  emptyFunctionWithReset.resetWarningCache = emptyFunction;
@@ -21,9 +21,9 @@ function requireFactoryWithTypeCheckers() {
21
21
  hasRequiredFactoryWithTypeCheckers = 1;
22
22
  var ReactIs = require$$0;
23
23
  var assign = index.__require();
24
- var ReactPropTypesSecret$1 = ReactPropTypesSecret.__require();
25
- var has$1 = has.__require();
26
- var checkPropTypes$1 = checkPropTypes.__require();
24
+ var ReactPropTypesSecret$1 = /*@__PURE__*/ReactPropTypesSecret.__require();
25
+ var has$1 = /*@__PURE__*/has.__require();
26
+ var checkPropTypes$1 = /*@__PURE__*/checkPropTypes.__require();
27
27
  var printWarning = function printWarning() {};
28
28
  if (process.env.NODE_ENV !== 'production') {
29
29
  printWarning = function printWarning(text) {
@@ -7,28 +7,28 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
- var _commonjsHelpers = require('../../_virtual/_commonjsHelpers.js');
13
- var index = require('../../_virtual/index.js');
10
+ var index = require('../../_virtual/index2.js');
14
11
  var require$$0 = require('react-is');
15
12
  var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
16
13
  var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
17
14
 
18
- if (process.env.NODE_ENV !== 'production') {
19
- var ReactIs = require$$0;
15
+ var hasRequiredPropTypes;
16
+ function requirePropTypes() {
17
+ if (hasRequiredPropTypes) return index.__module.exports;
18
+ hasRequiredPropTypes = 1;
19
+ if (process.env.NODE_ENV !== 'production') {
20
+ var ReactIs = require$$0;
20
21
 
21
- // By explicitly using `prop-types` you are opting into new development behavior.
22
- // http://fb.me/prop-types-in-prod
23
- var throwOnDirectAccess = true;
24
- index.__module.exports = factoryWithTypeCheckers.__require()(ReactIs.isElement, throwOnDirectAccess);
25
- } else {
26
- // By explicitly using `prop-types` you are opting into new production behavior.
27
- // http://fb.me/prop-types-in-prod
28
- index.__module.exports = factoryWithThrowingShims.__require()();
22
+ // By explicitly using `prop-types` you are opting into new development behavior.
23
+ // http://fb.me/prop-types-in-prod
24
+ var throwOnDirectAccess = true;
25
+ index.__module.exports = /*@__PURE__*/factoryWithTypeCheckers.__require()(ReactIs.isElement, throwOnDirectAccess);
26
+ } else {
27
+ // By explicitly using `prop-types` you are opting into new production behavior.
28
+ // http://fb.me/prop-types-in-prod
29
+ index.__module.exports = /*@__PURE__*/factoryWithThrowingShims.__require()();
30
+ }
31
+ return index.__module.exports;
29
32
  }
30
- var propTypesExports = index.__module.exports;
31
- var PropTypes = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(propTypesExports);
32
33
 
33
- exports.default = PropTypes;
34
- exports.propTypesExports = propTypesExports;
34
+ exports.__require = requirePropTypes;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.43.2-canary.271+978f3e65f",
4
+ "version": "2.43.2-canary.281+29e960c85",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -67,9 +67,9 @@
67
67
  "@babel/preset-typescript": "^7.21.5",
68
68
  "@ibm/telemetry-js-config-generator": "^1.0.3",
69
69
  "@rollup/plugin-babel": "^6.0.0",
70
- "@rollup/plugin-commonjs": "^25.0.0",
71
- "@rollup/plugin-node-resolve": "^15.0.0",
72
- "@rollup/plugin-typescript": "^11.0.0",
70
+ "@rollup/plugin-commonjs": "^28.0.0",
71
+ "@rollup/plugin-node-resolve": "^15.3.0",
72
+ "@rollup/plugin-typescript": "^12.1.0",
73
73
  "@types/react-table": "^7.7.20",
74
74
  "babel-plugin-dev-expression": "^0.2.3",
75
75
  "babel-preset-ibm-cloud-cognitive": "^0.14.40",
@@ -81,7 +81,7 @@
81
81
  "fs-extra": "^11.2.0",
82
82
  "glob": "^10.3.10",
83
83
  "jest": "^29.7.0",
84
- "jest-config-ibm-cloud-cognitive": "^1.10.0-rc.0",
84
+ "jest-config-ibm-cloud-cognitive": "^1.10.0",
85
85
  "jest-environment-jsdom": "^29.7.0",
86
86
  "namor": "^1.1.2",
87
87
  "npm-check-updates": "^16.14.12",
@@ -96,7 +96,7 @@
96
96
  "dependencies": {
97
97
  "@babel/runtime": "^7.23.9",
98
98
  "@carbon/feature-flags": "^0.22.0",
99
- "@carbon/ibm-products-styles": "^2.47.0-rc.0",
99
+ "@carbon/ibm-products-styles": "^2.47.0",
100
100
  "@carbon/telemetry": "^0.1.0",
101
101
  "@dnd-kit/core": "^6.0.8",
102
102
  "@dnd-kit/modifiers": "^7.0.0",
@@ -120,5 +120,5 @@
120
120
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
121
121
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
122
122
  },
123
- "gitHead": "978f3e65fff94f6399714fb921e8ef2208a1ec51"
123
+ "gitHead": "29e960c858d2c58d46c86e9ea638a351d5fddd76"
124
124
  }
@@ -17,7 +17,6 @@
17
17
  // DecoratorBase uses the following Carbon for IBM Products components:
18
18
  @use '@carbon/layout/scss/convert' as *;
19
19
  @use '@carbon/react/scss/colors' as *;
20
- @use '@carbon/styles/scss/colors' as *;
21
20
  @use '@carbon/styles/scss/spacing' as *;
22
21
  @use '@carbon/styles/scss/theme' as *;
23
22
  @use '@carbon/styles/scss/themes';