@carbon/ibm-products 2.43.2-canary.305 → 2.43.2-canary.306

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 (183) hide show
  1. package/es/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  2. package/es/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  3. package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  4. package/es/components/AddSelect/AddSelectColumn.d.ts +2 -1
  5. package/es/components/AddSelect/AddSelectFilter.d.ts +2 -1
  6. package/es/components/AddSelect/AddSelectFilter.js +5 -5
  7. package/es/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  8. package/es/components/AddSelect/AddSelectList.d.ts +2 -1
  9. package/es/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  10. package/es/components/AddSelect/AddSelectRow.d.ts +2 -1
  11. package/es/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  12. package/es/components/AddSelect/AddSelectSort.d.ts +2 -1
  13. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  14. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  15. package/es/components/Card/CardFooter.d.ts +1 -1
  16. package/es/components/Card/CardHeader.d.ts +1 -1
  17. package/es/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  18. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  19. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  20. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  21. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  22. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  23. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  24. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  25. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  26. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  27. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  28. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  29. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  30. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  31. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  32. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  33. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  34. package/es/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  35. package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  36. package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  37. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  38. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  39. package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  40. package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  41. package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  42. package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  43. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  44. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  45. package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  46. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  47. package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  48. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  49. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  50. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  51. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  52. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  53. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  54. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  55. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  56. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  57. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  58. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  59. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  60. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  61. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  62. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  63. package/es/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  64. package/es/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  65. package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  66. package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  67. package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  68. package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  69. package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  70. package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  71. package/es/components/FeatureFlags/index.d.ts +1 -1
  72. package/es/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  73. package/es/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  74. package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  75. package/es/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  76. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  77. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  78. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  79. package/es/components/Nav/NavItem.d.ts +2 -1
  80. package/es/components/PageHeader/PageHeaderTitle.d.ts +2 -1
  81. package/es/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  82. package/es/components/TagOverflow/TagOverflow.d.ts +3 -0
  83. package/es/components/TagOverflow/TagOverflow.js +9 -4
  84. package/es/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  85. package/es/components/TagOverflow/TagOverflowModal.js +17 -6
  86. package/es/components/TagOverflow/TagOverflowPopover.js +17 -9
  87. package/es/components/TagSet/TagSet.d.ts +4 -0
  88. package/es/components/TagSet/TagSet.js +20 -8
  89. package/es/components/TagSet/TagSetModal.js +0 -1
  90. package/es/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  91. package/es/components/_Canary/Canary.d.ts +2 -1
  92. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  93. package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  94. package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  95. package/lib/components/AddSelect/AddSelectColumn.d.ts +2 -1
  96. package/lib/components/AddSelect/AddSelectFilter.d.ts +2 -1
  97. package/lib/components/AddSelect/AddSelectFilter.js +4 -4
  98. package/lib/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  99. package/lib/components/AddSelect/AddSelectList.d.ts +2 -1
  100. package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  101. package/lib/components/AddSelect/AddSelectRow.d.ts +2 -1
  102. package/lib/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  103. package/lib/components/AddSelect/AddSelectSort.d.ts +2 -1
  104. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  105. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  106. package/lib/components/Card/CardFooter.d.ts +1 -1
  107. package/lib/components/Card/CardHeader.d.ts +1 -1
  108. package/lib/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  109. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  110. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  111. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  112. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  113. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  114. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  115. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  116. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  117. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  118. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  119. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  120. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  121. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  122. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  123. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  124. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  125. package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  126. package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  127. package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  128. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  129. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  130. package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  131. package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  132. package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  133. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  134. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  135. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  136. package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  137. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  138. package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  139. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  140. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  141. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  142. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  143. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  144. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  145. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  146. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  147. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  148. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  149. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  150. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  151. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  152. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  153. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  154. package/lib/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  155. package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  156. package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  157. package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  158. package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  159. package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  160. package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  161. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  162. package/lib/components/FeatureFlags/index.d.ts +1 -1
  163. package/lib/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  164. package/lib/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  165. package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  166. package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  167. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  168. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  169. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  170. package/lib/components/Nav/NavItem.d.ts +2 -1
  171. package/lib/components/PageHeader/PageHeaderTitle.d.ts +2 -1
  172. package/lib/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  173. package/lib/components/TagOverflow/TagOverflow.d.ts +3 -0
  174. package/lib/components/TagOverflow/TagOverflow.js +8 -3
  175. package/lib/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  176. package/lib/components/TagOverflow/TagOverflowModal.js +16 -5
  177. package/lib/components/TagOverflow/TagOverflowPopover.js +16 -8
  178. package/lib/components/TagSet/TagSet.d.ts +4 -0
  179. package/lib/components/TagSet/TagSet.js +19 -7
  180. package/lib/components/TagSet/TagSetModal.js +0 -1
  181. package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  182. package/lib/components/_Canary/Canary.d.ts +2 -1
  183. package/package.json +3 -3
@@ -3,7 +3,7 @@ export function NoDataIllustration({ theme, size, alt, ...rest }: {
3
3
  theme: any;
4
4
  size: any;
5
5
  alt: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace NoDataIllustration {
8
8
  namespace propTypes {
9
9
  let alt: PropTypes.Validator<string>;
@@ -12,4 +12,5 @@ export namespace NoDataIllustration {
12
12
  }
13
13
  }
14
14
  export default NoDataIllustration;
15
+ import React from 'react';
15
16
  import PropTypes from 'prop-types';
@@ -3,7 +3,7 @@ export function NoTagsIllustration({ theme, size, alt, ...rest }: {
3
3
  theme: any;
4
4
  size: any;
5
5
  alt: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace NoTagsIllustration {
8
8
  namespace propTypes {
9
9
  let alt: PropTypes.Validator<string>;
@@ -12,4 +12,5 @@ export namespace NoTagsIllustration {
12
12
  }
13
13
  }
14
14
  export default NoTagsIllustration;
15
+ import React from 'react';
15
16
  import PropTypes from 'prop-types';
@@ -3,7 +3,7 @@ export function NotFoundIllustration({ theme, size, alt, ...rest }: {
3
3
  theme: any;
4
4
  size: any;
5
5
  alt: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace NotFoundIllustration {
8
8
  namespace propTypes {
9
9
  let alt: PropTypes.Validator<string>;
@@ -12,4 +12,5 @@ export namespace NotFoundIllustration {
12
12
  }
13
13
  }
14
14
  export default NotFoundIllustration;
15
+ import React from 'react';
15
16
  import PropTypes from 'prop-types';
@@ -3,7 +3,7 @@ export function NotificationsIllustration({ theme, size, alt, ...rest }: {
3
3
  theme: any;
4
4
  size: any;
5
5
  alt: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace NotificationsIllustration {
8
8
  namespace propTypes {
9
9
  let alt: PropTypes.Validator<string>;
@@ -12,4 +12,5 @@ export namespace NotificationsIllustration {
12
12
  }
13
13
  }
14
14
  export default NotificationsIllustration;
15
+ import React from 'react';
15
16
  import PropTypes from 'prop-types';
@@ -3,7 +3,7 @@ export function UnauthorizedIllustration({ theme, size, alt, ...rest }: {
3
3
  theme: any;
4
4
  size: any;
5
5
  alt: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace UnauthorizedIllustration {
8
8
  namespace propTypes {
9
9
  let alt: PropTypes.Validator<string>;
@@ -12,4 +12,5 @@ export namespace UnauthorizedIllustration {
12
12
  }
13
13
  }
14
14
  export default UnauthorizedIllustration;
15
+ import React from 'react';
15
16
  import PropTypes from 'prop-types';
@@ -19,7 +19,7 @@ declare const FeatureFlagContext: React.Context<any>;
19
19
  declare function FeatureFlags({ children, flags }: {
20
20
  children: any;
21
21
  flags?: {} | undefined;
22
- }): import("react/jsx-runtime").JSX.Element;
22
+ }): React.JSX.Element;
23
23
  declare namespace FeatureFlags {
24
24
  var propTypes: {
25
25
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -1,11 +1,12 @@
1
1
  export function Error403SVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace Error403SVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function Error404SVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace Error404SVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function ErrorGenericSVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace ErrorGenericSVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -3,7 +3,7 @@ export function HTTPErrorContent({ description, errorCodeLabel, title, links, }:
3
3
  errorCodeLabel: any;
4
4
  title: any;
5
5
  links: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace HTTPErrorContent {
8
8
  export { componentName as displayName };
9
9
  export namespace propTypes {
@@ -13,5 +13,6 @@ export namespace HTTPErrorContent {
13
13
  let title: import("prop-types").Validator<string>;
14
14
  }
15
15
  }
16
+ import React from 'react';
16
17
  declare const componentName: "HTTPErrorContent";
17
18
  export {};
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvg403({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvg403 {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvg404({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvg404 {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvgOther({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvgOther {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -12,7 +12,7 @@ export function NavItem({ activeHref, children, className, current, disabled, el
12
12
  label: any;
13
13
  onClick?: (() => void) | undefined;
14
14
  tabIndex?: number | undefined;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): React.JSX.Element;
16
16
  export namespace NavItem {
17
17
  export { componentName as displayName };
18
18
  export namespace propTypes {
@@ -31,5 +31,6 @@ export namespace NavItem {
31
31
  }
32
32
  }
33
33
  export default NavItem;
34
+ import React from 'react';
34
35
  declare const componentName: "NavItem";
35
36
  import PropTypes from 'prop-types';
@@ -2,7 +2,7 @@ export function PageHeaderTitle({ blockClass, hasBreadcrumbRow, title }: {
2
2
  blockClass: any;
3
3
  hasBreadcrumbRow: any;
4
4
  title: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace PageHeaderTitle {
7
7
  namespace propTypes {
8
8
  let blockClass: PropTypes.Validator<string>;
@@ -28,4 +28,5 @@ export namespace PageHeaderTitle {
28
28
  export function editInPlaceRequired({ onSave }: {
29
29
  onSave: any;
30
30
  }): boolean;
31
+ import React from 'react';
31
32
  import PropTypes from 'prop-types';
@@ -20,7 +20,7 @@ export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, m
20
20
  maxVisible: any;
21
21
  overflowAriaLabel: any;
22
22
  overflowTooltipAlign: any;
23
- }): import("react/jsx-runtime").JSX.Element;
23
+ }): React.JSX.Element;
24
24
  export namespace SimpleHeader {
25
25
  namespace propTypes {
26
26
  export let breadcrumbs: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -43,4 +43,5 @@ export namespace SimpleHeader {
43
43
  export let title: PropTypes.Requireable<string>;
44
44
  }
45
45
  }
46
+ import React from 'react';
46
47
  import PropTypes from 'prop-types';
@@ -7,6 +7,9 @@
7
7
  import React, { ReactNode, RefObject } from 'react';
8
8
  export interface TagOverflowItem {
9
9
  className?: string;
10
+ /**
11
+ * @deprecated The `filter` prop is no longer going to be used. To use DismissibleTags, pass in an onClose function.
12
+ */
10
13
  filter?: boolean;
11
14
  id: string;
12
15
  label: string;
@@ -23,7 +23,7 @@ var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
23
23
  var _excluded = ["align", "allTagsModalAriaLabel", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "allTagsModalTarget", "allTagsModalTitle", "autoAlign", "className", "containingElementRef", "items", "maxVisible", "measurementOffset", "multiline", "overflowAlign", "overflowClassName", "overflowType", "onOverflowTagChange", "showAllTagsLabel", "tagComponent"],
24
24
  _excluded2 = ["className", "id"],
25
25
  _excluded3 = ["tagType"],
26
- _excluded4 = ["id", "label", "tagType", "onClose"];
26
+ _excluded4 = ["id", "label", "tagType", "onClose", "filter"];
27
27
  var blockClass = "".concat(settings.pkg.prefix, "--tag-overflow");
28
28
  var componentName = 'TagOverflow';
29
29
  var allTagsModalSearchThreshold = 10;
@@ -183,6 +183,7 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
183
183
  label = item.label,
184
184
  tagType = item.tagType,
185
185
  _onClose = item.onClose,
186
+ filter = item.filter,
186
187
  other = _rollupPluginBabelHelpers.objectWithoutProperties(item, _excluded4);
187
188
  // If there is no template prop, then render items as Tags
188
189
  return /*#__PURE__*/React.createElement("div", {
@@ -193,12 +194,16 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
193
194
  }, /*#__PURE__*/React.createElement(react.Tooltip, {
194
195
  align: overflowAlign,
195
196
  label: label
196
- }, /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
197
+ }, typeof _onClose === 'function' || filter ? /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
197
198
  className: "".concat(blockClass, "__item--tag"),
198
199
  type: tagType,
199
200
  onClose: function onClose() {
200
201
  return handleTagOnClose(_onClose, index);
201
- }
202
+ },
203
+ text: label
204
+ })) : /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
205
+ className: "".concat(blockClass, "__item--tag"),
206
+ type: tagType
202
207
  }), label)));
203
208
  }
204
209
  }), /*#__PURE__*/React.createElement("span", {
@@ -11,6 +11,10 @@ interface TagOverflowModalProps {
11
11
  className?: string;
12
12
  modalAriaLabel?: string;
13
13
  onClose?: () => void;
14
+ onTagClose?: (params: {
15
+ label: string;
16
+ id: any;
17
+ }) => void;
14
18
  open?: boolean;
15
19
  overflowType?: 'default' | 'tag';
16
20
  portalTarget?: ReactNode;
@@ -19,13 +23,14 @@ interface TagOverflowModalProps {
19
23
  title?: string;
20
24
  }
21
25
  export declare const TagOverflowModal: {
22
- ({ allTags, className, title, modalAriaLabel, onClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
26
+ ({ allTags, className, title, modalAriaLabel, onClose, onTagClose, open, overflowType, portalTarget: portalTargetIn, searchLabel, searchPlaceholder, ...rest }: TagOverflowModalProps): any;
23
27
  propTypes: {
24
28
  allTags: PropTypes.Requireable<(PropTypes.InferProps<{
25
29
  label: PropTypes.Validator<string>;
26
30
  }> | null | undefined)[]>;
27
31
  className: PropTypes.Requireable<string>;
28
32
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
33
+ onTagClose: PropTypes.Requireable<(...args: any[]) => any>;
29
34
  open: PropTypes.Requireable<boolean>;
30
35
  overflowType: PropTypes.Requireable<string>;
31
36
  portalTarget: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -16,7 +16,7 @@ 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", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
19
+ var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "onTagClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
20
20
  var componentName = 'TagOverflowModal';
21
21
  var blockClass = "".concat(settings.pkg.prefix, "--tag-overflow-modal");
22
22
 
@@ -34,6 +34,7 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
34
34
  _ref$modalAriaLabel = _ref.modalAriaLabel,
35
35
  modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
36
36
  onClose = _ref.onClose,
37
+ onTagClose = _ref.onTagClose,
37
38
  open = _ref.open,
38
39
  overflowType = _ref.overflowType,
39
40
  portalTargetIn = _ref.portalTarget,
@@ -84,11 +85,20 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
84
85
  }, getFilteredItems().map(function (_ref2) {
85
86
  var label = _ref2.label,
86
87
  id = _ref2.id,
87
- filter = _ref2.filter;
88
- var isFilterable = overflowType === 'tag' ? filter : false;
89
- return /*#__PURE__*/React.createElement(react.Tag, {
88
+ filter = _ref2.filter,
89
+ onClose = _ref2.onClose;
90
+ var isFilterable = overflowType === 'tag' && (typeof onClose === 'function' || filter);
91
+ return isFilterable ? /*#__PURE__*/React.createElement(react.DismissibleTag, {
90
92
  key: id,
91
- filter: isFilterable
93
+ text: label,
94
+ onClose: function onClose() {
95
+ return onTagClose === null || onTagClose === void 0 ? void 0 : onTagClose({
96
+ label: label,
97
+ id: id
98
+ });
99
+ }
100
+ }) : /*#__PURE__*/React.createElement(react.Tag, {
101
+ key: id
92
102
  }, label);
93
103
  }), /*#__PURE__*/React.createElement("div", {
94
104
  className: "".concat(blockClass, "__fade")
@@ -100,6 +110,7 @@ TagOverflowModal.propTypes = {
100
110
  }))),
101
111
  className: index.default.string,
102
112
  onClose: index.default.func,
113
+ onTagClose: index.default.func,
103
114
  open: index.default.bool,
104
115
  overflowType: index.default.oneOf(['default', 'tag']),
105
116
  portalTarget: index.default.node,
@@ -90,17 +90,25 @@ var TagOverflowPopover = /*#__PURE__*/React.forwardRef(function (props, ref) {
90
90
  _onClose = _ref.onClose,
91
91
  other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded2);
92
92
  var typeValue = overflowType === 'tag' ? 'high-contrast' : tagType;
93
- var isFilterable = overflowType === 'tag' ? filter : false;
93
+ var isFilterable = overflowType === 'tag' && (typeof _onClose === 'function' || filter);
94
+ var tag;
95
+ if (isFilterable) {
96
+ tag = /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
97
+ onClose: function onClose() {
98
+ return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
99
+ },
100
+ type: typeValue,
101
+ text: label
102
+ }));
103
+ } else {
104
+ tag = /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
105
+ type: typeValue
106
+ }), label);
107
+ }
94
108
  return /*#__PURE__*/React.createElement("li", {
95
109
  className: cx("".concat(blockClass, "__tag-item"), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
96
110
  key: id
97
- }, overflowType === 'tag' ? /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
98
- onClose: function onClose() {
99
- return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
100
- },
101
- type: typeValue,
102
- filter: isFilterable
103
- }), label) : label);
111
+ }, overflowType === 'tag' ? tag : label);
104
112
  })), ((_overflowTags$length = overflowTags === null || overflowTags === void 0 ? void 0 : overflowTags.length) !== null && _overflowTags$length !== void 0 ? _overflowTags$length : 0) > (allTagsModalSearchThreshold !== null && allTagsModalSearchThreshold !== void 0 ? allTagsModalSearchThreshold : 0) && /*#__PURE__*/React.createElement(react.Link, {
105
113
  className: "".concat(blockClass, "__show-all-tags-link"),
106
114
  href: "",
@@ -6,6 +6,10 @@ type OverflowType = 'default' | 'tag';
6
6
  type TagType = {
7
7
  label: string;
8
8
  type?: keyof typeof tagTypes;
9
+ /**
10
+ * @deprecated Use the `onClose` function instead to render as a DismissibleTag
11
+ */
12
+ filter?: boolean;
9
13
  } & TagBaseProps;
10
14
  export interface TagSetProps extends PropsWithChildren {
11
15
  /**
@@ -20,8 +20,8 @@ var settings = require('../../settings.js');
20
20
  var useResizeObserver = require('../../global/js/hooks/useResizeObserver.js');
21
21
 
22
22
  var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
23
- _excluded2 = ["label", "id"],
24
- _excluded3 = ["label", "onClose"];
23
+ _excluded2 = ["label", "id", "filter", "onClose"],
24
+ _excluded3 = ["label", "onClose", "filter"];
25
25
  var componentName = 'TagSet';
26
26
  var blockClass = "".concat(settings.pkg.prefix, "--tag-set");
27
27
  var allTagsModalSearchThreshold = 10;
@@ -110,6 +110,8 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
110
110
  setHiddenSizingTags(tags && tags.length > 0 ? tags.map(function (_ref2, index) {
111
111
  var label = _ref2.label,
112
112
  id = _ref2.id,
113
+ filter = _ref2.filter,
114
+ onClose = _ref2.onClose,
113
115
  other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded2);
114
116
  return /*#__PURE__*/React.createElement("div", {
115
117
  key: index,
@@ -119,7 +121,10 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
119
121
  newSizingTags[index] = el;
120
122
  }
121
123
  }
122
- }, /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
124
+ }, typeof onClose === 'function' || filter ? /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
125
+ "data-original-id": id,
126
+ text: label
127
+ })) : /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
123
128
  // ensure id is not duplicated
124
129
  "data-original-id": id
125
130
  }), label));
@@ -138,15 +143,22 @@ exports.TagSet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
138
143
  var newDisplayedTags = tags && tags.length > 0 ? tags.map(function (_ref3, index) {
139
144
  var label = _ref3.label,
140
145
  _onClose = _ref3.onClose,
146
+ filter = _ref3.filter,
141
147
  other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref3, _excluded3);
142
148
  if (index == tags.length - 1 && other.size) {
143
149
  size = other.size;
144
150
  }
151
+ if (typeof _onClose === 'function' || filter) {
152
+ return /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
153
+ key: "displayed-tag-".concat(index),
154
+ onClose: function onClose() {
155
+ return handleTagOnClose(_onClose, index);
156
+ },
157
+ text: label
158
+ }));
159
+ }
145
160
  return /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
146
- key: "displayed-tag-".concat(index),
147
- onClose: function onClose() {
148
- return handleTagOnClose(_onClose, index);
149
- }
161
+ key: "displayed-tag-".concat(index)
150
162
  }), label);
151
163
  }) : [];
152
164
 
@@ -98,7 +98,6 @@ var TagSetModal = function TagSetModal(_ref) {
98
98
  var label = _ref2.label,
99
99
  other = _rollupPluginBabelHelpers.objectWithoutProperties(_ref2, _excluded2);
100
100
  return /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
101
- filter: false,
102
101
  key: "all-tags-".concat(index)
103
102
  }), label);
104
103
  }), /*#__PURE__*/React.createElement("div", {
@@ -2,7 +2,7 @@ export function TooltipTrigger({ children, className, ...rest }: {
2
2
  [x: string]: any;
3
3
  children: any;
4
4
  className: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace TooltipTrigger {
7
7
  export { componentName as displayName };
8
8
  export namespace propTypes {
@@ -10,6 +10,7 @@ export namespace TooltipTrigger {
10
10
  let className: PropTypes.Requireable<string>;
11
11
  }
12
12
  }
13
+ import React from 'react';
13
14
  declare const componentName: "TooltipTrigger";
14
15
  import PropTypes from 'prop-types';
15
16
  export {};
@@ -2,11 +2,12 @@ export function Canary({ className, componentName, ...rest }: {
2
2
  [x: string]: any;
3
3
  className: any;
4
4
  componentName: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace Canary {
7
7
  namespace propTypes {
8
8
  let className: PropTypes.Requireable<string>;
9
9
  let componentName: PropTypes.Validator<string>;
10
10
  }
11
11
  }
12
+ import React from 'react';
12
13
  import PropTypes from 'prop-types';
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.305+5b94ed8d0",
4
+ "version": "2.43.2-canary.306+18b47c72f",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -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.39.1-canary.315+5b94ed8d0",
99
+ "@carbon/ibm-products-styles": "^2.48.0-rc.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": "5b94ed8d01638db747277f104d9f7dd9ab2e0eb3"
123
+ "gitHead": "18b47c72ff381db130897da6a2d1f0aa86fd6d85"
124
124
  }