@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
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
12
12
  import { pkg } from '../../settings.js';
13
13
  import { prepareProps } from '../../global/js/utils/props-helper.js';
@@ -8,7 +8,7 @@
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import { ComposedModal, ModalHeader, ModalBody, TextInput, ModalFooter, Button } from '@carbon/react';
10
10
  import React__default, { forwardRef, useState, useRef, useEffect } from 'react';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import cx from 'classnames';
13
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
14
14
  import { pkg } from '../../settings.js';
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as
9
9
  import { InlineLoading, Button } from '@carbon/react';
10
10
  import { ErrorOutline, Save, CheckmarkOutline, ErrorFilled } from '@carbon/react/icons';
11
11
  import React__default, { forwardRef } from 'react';
12
- import PropTypes from '../../node_modules/prop-types/index.js';
12
+ import PropTypes from '../../_virtual/index.js';
13
13
  import cx from 'classnames';
14
14
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
15
15
  import { pkg } from '../../settings.js';
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useState, useRef, useCallback, useEffect } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
13
  import { pkg, carbon } from '../../settings.js';
@@ -8,7 +8,7 @@
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import { MultiSelect, Search, Button } from '@carbon/react';
10
10
  import React__default, { useState, useEffect } from 'react';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import cx from 'classnames';
13
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
14
14
  import { pkg } from '../../settings.js';
@@ -12,7 +12,7 @@ import { Button, IconButton } from '@carbon/react';
12
12
  import React__default, { useState, useRef, useEffect, useCallback } from 'react';
13
13
  import { actionSetVariants, overlayVariants, panelVariants } from './motion/variants.js';
14
14
  import { ActionSet } from '../ActionSet/ActionSet.js';
15
- import PropTypes from '../../node_modules/prop-types/index.js';
15
+ import PropTypes from '../../_virtual/index.js';
16
16
  import { SIDE_PANEL_SIZES } from './constants.js';
17
17
  import { allPropTypes } from '../../global/js/utils/props-helper.js';
18
18
  import cx from 'classnames';
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import PropTypes from '../../node_modules/prop-types/index.js';
9
+ import PropTypes from '../../_virtual/index.js';
10
10
  import React__default, { useCallback, useEffect } from 'react';
11
11
  import cx from 'classnames';
12
12
  import { pkg } from '../../settings.js';
@@ -8,7 +8,7 @@
8
8
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef } from 'react';
10
10
  import { AddSelect } from '../AddSelect/AddSelect.js';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { prepareProps } from '../../global/js/utils/props-helper.js';
@@ -8,7 +8,7 @@
8
8
  import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import { Misuse, ErrorFilled, WarningAltInvertedFilled, WarningAltFilled, UndefinedFilled, UnknownFilled, CheckmarkFilled, InformationSquareFilled, InProgress, CheckmarkOutline, Pending } from '@carbon/react/icons';
10
10
  import React__default, { forwardRef } from 'react';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import cx from 'classnames';
13
13
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
14
14
  import { pkg } from '../../settings.js';
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
13
  import { pkg } from '../../settings.js';
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
13
  import { pkg } from '../../settings.js';
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
9
9
  import React__default, { useState, useRef, useEffect } from 'react';
10
10
  import lottie from 'lottie-web';
11
11
  import clamp from 'lodash/clamp';
12
- import PropTypes from '../../node_modules/prop-types/index.js';
12
+ import PropTypes from '../../_virtual/index.js';
13
13
  import cx from 'classnames';
14
14
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
15
15
  import { pkg } from '../../settings.js';
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
13
13
  import { pkg } from '../../settings.js';
@@ -16,6 +16,7 @@ export interface TagOverflowItem {
16
16
  }
17
17
  export interface TagOverflowProps {
18
18
  align?: 'start' | 'center' | 'end';
19
+ allTagsModalAriaLabel?: string;
19
20
  allTagsModalSearchLabel?: string;
20
21
  allTagsModalSearchPlaceholderText?: string;
21
22
  allTagsModalTarget?: ReactNode;
@@ -8,7 +8,7 @@
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef, useRef, useState, useCallback, useEffect, createElement } from 'react';
10
10
  import { Tooltip, Tag } from '@carbon/react';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import { TYPES } from './constants.js';
13
13
  import { TagOverflowModal } from './TagOverflowModal.js';
14
14
  import { TagOverflowPopover } from './TagOverflowPopover.js';
@@ -18,7 +18,7 @@ import { isRequiredIf } from '../../global/js/utils/props-helper.js';
18
18
  import { pkg } from '../../settings.js';
19
19
  import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
20
20
 
21
- var _excluded = ["align", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
21
+ var _excluded = ["align", "allTagsModalAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
22
22
  _excluded2 = ["className", "id"],
23
23
  _excluded3 = ["tagType"],
24
24
  _excluded4 = ["id", "label", "tagType", "onClose"];
@@ -28,6 +28,7 @@ var allTagsModalSearchThreshold = 10;
28
28
  var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
29
29
  var _props$align = props.align,
30
30
  align = _props$align === void 0 ? 'start' : _props$align,
31
+ allTagsModalAriaLabel = props.allTagsModalAriaLabel,
31
32
  allTagsModalSearchLabel = props.allTagsModalSearchLabel,
32
33
  allTagsModalSearchPlaceholderText = props.allTagsModalSearchPlaceholderText,
33
34
  allTagsModalTarget = props.allTagsModalTarget,
@@ -218,6 +219,7 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
218
219
  allTags: items,
219
220
  open: showAllModalOpen,
220
221
  title: allTagsModalTitle,
222
+ modalAriaLabel: allTagsModalAriaLabel,
221
223
  onClose: handleModalClose,
222
224
  overflowType: overflowType,
223
225
  searchLabel: allTagsModalSearchLabel,
@@ -251,6 +253,10 @@ TagOverflow.propTypes = {
251
253
  * align the Tags displayed by the TagSet. Default start.
252
254
  */
253
255
  align: PropTypes.oneOf(['start', 'center', 'end']),
256
+ /**
257
+ * aria label for all tags modal with hasScrollingContent
258
+ */
259
+ allTagsModalAriaLabel: PropTypes.string,
254
260
  /**
255
261
  * label text for the show all search. **Note: Required if more than 10 tags**
256
262
  */
@@ -9,6 +9,7 @@ type AllTags = (TagType & Omit<React.ComponentProps<Tag>, 'filter'>)[];
9
9
  interface TagOverflowModalProps {
10
10
  allTags?: AllTags;
11
11
  className?: string;
12
+ modalAriaLabel?: string;
12
13
  onClose?: () => void;
13
14
  open?: boolean;
14
15
  overflowType?: 'default' | 'tag';
@@ -18,7 +19,7 @@ interface TagOverflowModalProps {
18
19
  title?: string;
19
20
  }
20
21
  export declare const TagOverflowModal: {
21
- ({ allTags, className, title, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
22
+ ({ allTags, className, title, modalAriaLabel, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
22
23
  propTypes: {
23
24
  allTags: PropTypes.Requireable<(PropTypes.InferProps<{
24
25
  label: PropTypes.Validator<string>;
@@ -7,19 +7,21 @@
7
7
 
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useState } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { prepareProps } from '../../global/js/utils/props-helper.js';
15
15
  import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
16
16
 
17
- var _excluded = ["allTags", "className", "title", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
17
+ var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
18
18
  var componentName = 'TagOverflowModal';
19
19
  var blockClass = "".concat(pkg.prefix, "--tag-overflow-modal");
20
20
 
21
21
  // Default values for props
22
22
  var defaults = {
23
+ // required for accessibility if using hasScrollingContent
24
+ modalAriaLabel: 'List of all tags',
23
25
  // marked as required by TagSet if needed, default used to satisfy <Search /> component
24
26
  searchLabel: ''
25
27
  };
@@ -27,6 +29,8 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
27
29
  var allTags = _ref.allTags,
28
30
  className = _ref.className,
29
31
  title = _ref.title,
32
+ _ref$modalAriaLabel = _ref.modalAriaLabel,
33
+ modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
30
34
  onClose = _ref.onClose,
31
35
  open = _ref.open,
32
36
  overflowType = _ref.overflowType,
@@ -72,7 +76,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
72
76
  size: "lg"
73
77
  })), /*#__PURE__*/React__default.createElement(ModalBody, {
74
78
  className: "".concat(blockClass, "__body"),
75
- hasForm: true
79
+ hasForm: true,
80
+ hasScrollingContent: true,
81
+ "aria-label": modalAriaLabel
76
82
  }, getFilteredItems().map(function (_ref2) {
77
83
  var label = _ref2.label,
78
84
  id = _ref2.id,
@@ -82,9 +88,9 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
82
88
  key: id,
83
89
  filter: isFilterable
84
90
  }, label);
85
- })), /*#__PURE__*/React__default.createElement("div", {
91
+ }), /*#__PURE__*/React__default.createElement("div", {
86
92
  className: "".concat(blockClass, "__fade")
87
- })));
93
+ }))));
88
94
  };
89
95
  TagOverflowModal.propTypes = {
90
96
  allTags: PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, prepareProps(Tag.propTypes, 'filter')), {}, {
@@ -7,9 +7,9 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { forwardRef, useRef } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
- import { Popover, Tag, PopoverContent, Link } from '@carbon/react';
12
+ import { Popover, OperationalTag, PopoverContent, Tag, Link } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
15
15
 
@@ -69,12 +69,13 @@ var TagOverflowPopover = /*#__PURE__*/forwardRef(function (props, ref) {
69
69
  highContrast: true,
70
70
  onKeyDown: handleEscKeyPress,
71
71
  open: popoverOpen
72
- }, /*#__PURE__*/React__default.createElement(Tag, {
72
+ }, /*#__PURE__*/React__default.createElement(OperationalTag, {
73
73
  onClick: function onClick() {
74
74
  return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
75
75
  },
76
- className: cx("".concat(blockClass, "__trigger"))
77
- }, "+", overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
76
+ className: cx("".concat(blockClass, "__trigger")),
77
+ text: "+".concat(overflowTags.length)
78
+ }), /*#__PURE__*/React__default.createElement(PopoverContent, null, /*#__PURE__*/React__default.createElement("div", {
78
79
  ref: overflowTagContent,
79
80
  className: "".concat(blockClass, "__content")
80
81
  }, /*#__PURE__*/React__default.createElement("ul", {
@@ -12,6 +12,10 @@ export interface TagSetProps extends PropsWithChildren {
12
12
  * align the Tags displayed by the TagSet. Default start.
13
13
  */
14
14
  align?: Align;
15
+ /**
16
+ * aria label for all tags modal with hasScrollingContent
17
+ */
18
+ allTagsModalAriaLabel?: string;
15
19
  /**
16
20
  * label text for the show all search.
17
21
  */
@@ -50,6 +54,10 @@ export interface TagSetProps extends PropsWithChildren {
50
54
  * display tags in multiple lines
51
55
  */
52
56
  multiline?: boolean;
57
+ /**
58
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
59
+ */
60
+ onOverflowClick?: ((overFlowTags: ReactNode[]) => void) | undefined;
53
61
  /**
54
62
  * Handler to get overflow tags
55
63
  */
@@ -7,7 +7,7 @@
7
7
 
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useState, useRef, useEffect, useCallback } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import { Tag } from '@carbon/react';
12
12
  import { TagSetModal } from './TagSetModal.js';
13
13
  import { TagSetOverflow } from './TagSetOverflow.js';
@@ -17,7 +17,7 @@ import { isRequiredIf } from '../../global/js/utils/props-helper.js';
17
17
  import { pkg } from '../../settings.js';
18
18
  import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
19
19
 
20
- var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
20
+ var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
21
21
  _excluded2 = ["label", "id"],
22
22
  _excluded3 = ["label", "onClose"];
23
23
  var componentName = 'TagSet';
@@ -45,6 +45,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
45
45
  overflowClassName = _ref.overflowClassName,
46
46
  _ref$overflowType = _ref.overflowType,
47
47
  overflowType = _ref$overflowType === void 0 ? 'default' : _ref$overflowType,
48
+ allTagsModalAriaLabel = _ref.allTagsModalAriaLabel,
48
49
  _ref$allTagsModalTitl = _ref.allTagsModalTitle,
49
50
  allTagsModalTitle = _ref$allTagsModalTitl === void 0 ? 'All tags' : _ref$allTagsModalTitl,
50
51
  _ref$allTagsModalSear = _ref.allTagsModalSearchLabel,
@@ -53,6 +54,7 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
53
54
  allTagsModalSearchPlaceholderText = _ref$allTagsModalSear2 === void 0 ? 'Search all tags' : _ref$allTagsModalSear2,
54
55
  _ref$showAllTagsLabel = _ref.showAllTagsLabel,
55
56
  showAllTagsLabel = _ref$showAllTagsLabel === void 0 ? 'View all tags' : _ref$showAllTagsLabel,
57
+ onOverflowClick = _ref.onOverflowClick,
56
58
  tags = _ref.tags,
57
59
  containingElementRef = _ref.containingElementRef,
58
60
  _ref$measurementOffse = _ref.measurementOffset,
@@ -169,11 +171,12 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
169
171
  key: "displayed-tag-overflow",
170
172
  ref: overflowTag,
171
173
  popoverOpen: popoverOpen,
174
+ onOverflowClick: onOverflowClick,
172
175
  setPopoverOpen: setPopoverOpen
173
176
  }));
174
177
  onOverflowTagChange === null || onOverflowTagChange === void 0 || onOverflowTagChange(newOverflowTags);
175
178
  setDisplayedTags(newDisplayedTags);
176
- }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
179
+ }, [displayCount, overflowAlign, overflowClassName, overflowType, showAllTagsLabel, onOverflowClick, tags, onOverflowTagChange, popoverOpen, handleTagOnClose, overflowAutoAlign]);
177
180
  var checkFullyVisibleTags = useCallback(function () {
178
181
  if (multiline) {
179
182
  return setDisplayCount(maxVisibleCount);
@@ -244,11 +247,12 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
244
247
  }, hiddenSizingTags), /*#__PURE__*/React__default.createElement("div", {
245
248
  className: cx(["".concat(blockClass, "__tag-container"), multiline && "".concat(blockClass, "__tag-container--multiline")]),
246
249
  ref: displayedArea
247
- }, displayedTags)), /*#__PURE__*/React__default.createElement(TagSetModal, {
250
+ }, displayedTags)), !onOverflowClick && /*#__PURE__*/React__default.createElement(TagSetModal, {
248
251
  allTags: tags,
249
252
  open: showAllModalOpen,
250
253
  title: allTagsModalTitle,
251
254
  onClose: handleModalClose,
255
+ modalAriaLabel: allTagsModalAriaLabel,
252
256
  searchLabel: allTagsModalSearchLabel,
253
257
  searchPlaceholder: allTagsModalSearchPlaceholderText,
254
258
  portalTarget: allTagsModalTarget
@@ -289,6 +293,10 @@ TagSet.propTypes = {
289
293
  * align the Tags displayed by the TagSet. Default start.
290
294
  */
291
295
  align: PropTypes.oneOf(['start', 'center', 'end']),
296
+ /**
297
+ * aria label for all tags modal with hasScrollingContent
298
+ */
299
+ allTagsModalAriaLabel: PropTypes.string,
292
300
  /**
293
301
  * label text for the show all search.
294
302
  */
@@ -328,6 +336,10 @@ TagSet.propTypes = {
328
336
  * display tags in multiple lines
329
337
  */
330
338
  multiline: PropTypes.bool,
339
+ /**
340
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
341
+ */
342
+ onOverflowClick: PropTypes.func,
331
343
  /**
332
344
  * Handler to get overflow tags
333
345
  */
@@ -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>;
@@ -7,20 +7,22 @@
7
7
 
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useState, useEffect } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
12
  import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { prepareProps } from '../../global/js/utils/props-helper.js';
15
15
  import { usePortalTarget } from '../../global/js/hooks/usePortalTarget.js';
16
16
 
17
- var _excluded = ["allTags", "className", "title", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
17
+ var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "open", "portalTarget", "searchLabel", "searchPlaceholder"],
18
18
  _excluded2 = ["label"];
19
19
  var componentName = 'TagSetModal';
20
20
  var blockClass = "".concat(pkg.prefix, "--tag-set-modal");
21
21
 
22
22
  // Default values for props
23
23
  var defaults = {
24
+ // required for accessibility if using hasScrollingContent
25
+ modalAriaLabel: 'List of all tags',
24
26
  // marked as required by TagSet if needed, default used to satisfy <Search /> component
25
27
  searchLabel: ''
26
28
  };
@@ -28,6 +30,8 @@ var TagSetModal = function TagSetModal(_ref) {
28
30
  var allTags = _ref.allTags,
29
31
  className = _ref.className,
30
32
  title = _ref.title,
33
+ _ref$modalAriaLabel = _ref.modalAriaLabel,
34
+ modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
31
35
  onClose = _ref.onClose,
32
36
  open = _ref.open,
33
37
  portalTargetIn = _ref.portalTarget,
@@ -85,7 +89,9 @@ var TagSetModal = function TagSetModal(_ref) {
85
89
  size: "lg"
86
90
  })), /*#__PURE__*/React__default.createElement(ModalBody, {
87
91
  className: "".concat(blockClass, "__body"),
88
- hasForm: true
92
+ hasForm: true,
93
+ hasScrollingContent: true,
94
+ "aria-label": modalAriaLabel
89
95
  }, filteredModalTags.map(function (_ref2, index) {
90
96
  var label = _ref2.label,
91
97
  other = _objectWithoutProperties(_ref2, _excluded2);
@@ -93,9 +99,9 @@ var TagSetModal = function TagSetModal(_ref) {
93
99
  filter: false,
94
100
  key: "all-tags-".concat(index)
95
101
  }), label);
96
- })), /*#__PURE__*/React__default.createElement("div", {
102
+ }), /*#__PURE__*/React__default.createElement("div", {
97
103
  className: "".concat(blockClass, "__fade")
98
- })));
104
+ }))));
99
105
  };
100
106
  TagSetModal.propTypes = {
101
107
  allTags: PropTypes.arrayOf(PropTypes.shape(_objectSpread2(_objectSpread2({}, prepareProps(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
  */
@@ -7,13 +7,13 @@
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useRef } from 'react';
10
- import PropTypes from '../../node_modules/prop-types/index.js';
10
+ import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
- import { Popover, OperationalTag, PopoverContent, Link } from '@carbon/react';
12
+ import { OperationalTag, Popover, PopoverContent, Link } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
15
15
 
16
- var _excluded = ["allTagsModalSearchThreshold", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
16
+ var _excluded = ["allTagsModalSearchThreshold", "onOverflowClick", "className", "onShowAllClick", "overflowAlign", "overflowAutoAlign", "overflowTags", "overflowType", "showAllTagsLabel", "popoverOpen", "setPopoverOpen", "size"];
17
17
  var componentName = 'TagSetOverflow';
18
18
  var blockClass = "".concat(pkg.prefix, "--tag-set-overflow");
19
19
 
@@ -24,6 +24,7 @@ var defaults = {
24
24
  var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
25
25
  var _ref$allTagsModalSear = _ref.allTagsModalSearchThreshold,
26
26
  allTagsModalSearchThreshold = _ref$allTagsModalSear === void 0 ? defaults.allTagsModalSearchThreshold : _ref$allTagsModalSear,
27
+ onOverflowClick = _ref.onOverflowClick,
27
28
  className = _ref.className,
28
29
  onShowAllClick = _ref.onShowAllClick,
29
30
  _ref$overflowAlign = _ref.overflowAlign,
@@ -40,21 +41,44 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
40
41
  var overflowTagContent = useRef(null);
41
42
  useClickOutside(ref || localRef, function () {
42
43
  if (popoverOpen) {
43
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
44
+ setPopoverOpen(false);
44
45
  }
45
46
  });
46
47
  var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
47
48
  ev.stopPropagation();
48
49
  ev.preventDefault();
49
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
50
+ setPopoverOpen(false);
50
51
  onShowAllClick();
51
52
  };
52
53
  var handleEscKeyPress = function handleEscKeyPress(event) {
53
54
  var key = event.key;
54
55
  if (key === 'Escape') {
55
- setPopoverOpen === null || setPopoverOpen === void 0 || setPopoverOpen(false);
56
+ setPopoverOpen(false);
56
57
  }
57
58
  };
59
+ var handleOverflowClick = function handleOverflowClick() {
60
+ // If a custom overflow function is provided then trigger that function
61
+ // on clicking the overflow
62
+ if (onOverflowClick) {
63
+ onOverflowClick(overflowTags);
64
+ } else {
65
+ setPopoverOpen(!popoverOpen);
66
+ }
67
+ };
68
+ if (onOverflowClick) {
69
+ return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
70
+ "aria-hidden": overflowTags.length === 0,
71
+ className: cx("".concat(blockClass), _defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
72
+ ref: ref || localRef
73
+ }), /*#__PURE__*/React__default.createElement(OperationalTag, {
74
+ onClick: function onClick() {
75
+ return handleOverflowClick();
76
+ },
77
+ className: "".concat(blockClass, "__popover-trigger"),
78
+ size: size,
79
+ text: "+".concat(overflowTags.length)
80
+ }));
81
+ }
58
82
  return /*#__PURE__*/React__default.createElement("span", _extends({}, rest, {
59
83
  "aria-hidden": overflowTags.length === 0,
60
84
  className: cx("".concat(blockClass), _defineProperty({}, "".concat(blockClass, "--hidden"), overflowTags.length === 0)),
@@ -69,7 +93,7 @@ var TagSetOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
69
93
  autoAlign: overflowAutoAlign
70
94
  }, /*#__PURE__*/React__default.createElement(OperationalTag, {
71
95
  onClick: function onClick() {
72
- return setPopoverOpen === null || setPopoverOpen === void 0 ? void 0 : setPopoverOpen(!popoverOpen);
96
+ return setPopoverOpen(!popoverOpen);
73
97
  },
74
98
  className: cx("".concat(blockClass, "__popover-trigger")),
75
99
  size: size,
@@ -112,6 +136,10 @@ TagSetOverflow.propTypes = {
112
136
  * className
113
137
  */
114
138
  className: PropTypes.string,
139
+ /**
140
+ * An optional click handler that overrides the default functionality of displaying all tags in a modal
141
+ */
142
+ onOverflowClick: PropTypes.func,
115
143
  /**
116
144
  * function to execute on clicking show all
117
145
  */
@@ -140,7 +168,7 @@ TagSetOverflow.propTypes = {
140
168
  /**
141
169
  * Setter function for the popoverOpen state value
142
170
  */
143
- setPopoverOpen: PropTypes.func,
171
+ setPopoverOpen: PropTypes.func.isRequired,
144
172
  /**
145
173
  * label for the overflow show all tags link
146
174
  */
@@ -10,7 +10,7 @@ import { Button } from '@carbon/react';
10
10
  import React__default from 'react';
11
11
  import { tearsheetHasCloseIcon, portalType, TearsheetShell } from './TearsheetShell.js';
12
12
  import { ActionSet } from '../ActionSet/ActionSet.js';
13
- import PropTypes from '../../node_modules/prop-types/index.js';
13
+ import PropTypes from '../../_virtual/index.js';
14
14
  import { allPropTypes } from '../../global/js/utils/props-helper.js';
15
15
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
16
16
  import { pkg } from '../../settings.js';
@@ -11,7 +11,7 @@ import { tearsheetHasCloseIcon, portalType, TearsheetShell, tearsheetShellWidePr
11
11
  import React__default from 'react';
12
12
  import { allPropTypes, prepareProps } from '../../global/js/utils/props-helper.js';
13
13
  import { ActionSet } from '../ActionSet/ActionSet.js';
14
- import PropTypes from '../../node_modules/prop-types/index.js';
14
+ import PropTypes from '../../_virtual/index.js';
15
15
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
16
16
  import { pkg } from '../../settings.js';
17
17
 
@@ -8,7 +8,7 @@
8
8
  import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useRef, useCallback, useState, useEffect } from 'react';
10
10
  import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
11
- import PropTypes from '../../node_modules/prop-types/index.js';
11
+ import PropTypes from '../../_virtual/index.js';
12
12
  import cx from 'classnames';
13
13
  import { pkg } from '../../settings.js';
14
14
  import pconsole from '../../global/js/utils/pconsole.js';