@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
@@ -7,7 +7,7 @@
7
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
- import { Tooltip, Tag } from '@carbon/react';
10
+ import { Tooltip, DismissibleTag, Tag } from '@carbon/react';
11
11
  import PropTypes from '../../_virtual/index.js';
12
12
  import { TYPES } from './constants.js';
13
13
  import { TagOverflowModal } from './TagOverflowModal.js';
@@ -21,7 +21,7 @@ import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
21
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
- _excluded4 = ["id", "label", "tagType", "onClose"];
24
+ _excluded4 = ["id", "label", "tagType", "onClose", "filter"];
25
25
  var blockClass = "".concat(pkg.prefix, "--tag-overflow");
26
26
  var componentName = 'TagOverflow';
27
27
  var allTagsModalSearchThreshold = 10;
@@ -181,6 +181,7 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
181
181
  label = item.label,
182
182
  tagType = item.tagType,
183
183
  _onClose = item.onClose,
184
+ filter = item.filter,
184
185
  other = _objectWithoutProperties(item, _excluded4);
185
186
  // If there is no template prop, then render items as Tags
186
187
  return /*#__PURE__*/React__default.createElement("div", {
@@ -191,12 +192,16 @@ var TagOverflow = /*#__PURE__*/forwardRef(function (props, ref) {
191
192
  }, /*#__PURE__*/React__default.createElement(Tooltip, {
192
193
  align: overflowAlign,
193
194
  label: label
194
- }, /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
195
+ }, typeof _onClose === 'function' || filter ? /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
195
196
  className: "".concat(blockClass, "__item--tag"),
196
197
  type: tagType,
197
198
  onClose: function onClose() {
198
199
  return handleTagOnClose(_onClose, index);
199
- }
200
+ },
201
+ text: label
202
+ })) : /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
203
+ className: "".concat(blockClass, "__item--tag"),
204
+ type: tagType
200
205
  }), label)));
201
206
  }
202
207
  }), /*#__PURE__*/React__default.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>;
@@ -9,12 +9,12 @@ import { objectSpread2 as _objectSpread2, objectWithoutProperties as _objectWith
9
9
  import React__default, { useState } from 'react';
10
10
  import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
- import { Tag, ComposedModal, ModalHeader, Search, ModalBody } from '@carbon/react';
12
+ import { Tag, ComposedModal, ModalHeader, Search, ModalBody, DismissibleTag } 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", "modalAriaLabel", "onClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
17
+ var _excluded = ["allTags", "className", "title", "modalAriaLabel", "onClose", "onTagClose", "open", "overflowType", "portalTarget", "searchLabel", "searchPlaceholder"];
18
18
  var componentName = 'TagOverflowModal';
19
19
  var blockClass = "".concat(pkg.prefix, "--tag-overflow-modal");
20
20
 
@@ -32,6 +32,7 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
32
32
  _ref$modalAriaLabel = _ref.modalAriaLabel,
33
33
  modalAriaLabel = _ref$modalAriaLabel === void 0 ? defaults.modalAriaLabel : _ref$modalAriaLabel,
34
34
  onClose = _ref.onClose,
35
+ onTagClose = _ref.onTagClose,
35
36
  open = _ref.open,
36
37
  overflowType = _ref.overflowType,
37
38
  portalTargetIn = _ref.portalTarget,
@@ -82,11 +83,20 @@ var TagOverflowModal = function TagOverflowModal(_ref) {
82
83
  }, getFilteredItems().map(function (_ref2) {
83
84
  var label = _ref2.label,
84
85
  id = _ref2.id,
85
- filter = _ref2.filter;
86
- var isFilterable = overflowType === 'tag' ? filter : false;
87
- return /*#__PURE__*/React__default.createElement(Tag, {
86
+ filter = _ref2.filter,
87
+ onClose = _ref2.onClose;
88
+ var isFilterable = overflowType === 'tag' && (typeof onClose === 'function' || filter);
89
+ return isFilterable ? /*#__PURE__*/React__default.createElement(DismissibleTag, {
88
90
  key: id,
89
- filter: isFilterable
91
+ text: label,
92
+ onClose: function onClose() {
93
+ return onTagClose === null || onTagClose === void 0 ? void 0 : onTagClose({
94
+ label: label,
95
+ id: id
96
+ });
97
+ }
98
+ }) : /*#__PURE__*/React__default.createElement(Tag, {
99
+ key: id
90
100
  }, label);
91
101
  }), /*#__PURE__*/React__default.createElement("div", {
92
102
  className: "".concat(blockClass, "__fade")
@@ -98,6 +108,7 @@ TagOverflowModal.propTypes = {
98
108
  }))),
99
109
  className: PropTypes.string,
100
110
  onClose: PropTypes.func,
111
+ onTagClose: PropTypes.func,
101
112
  open: PropTypes.bool,
102
113
  overflowType: PropTypes.oneOf(['default', 'tag']),
103
114
  portalTarget: PropTypes.node,
@@ -9,7 +9,7 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
9
9
  import React__default, { forwardRef, useRef } from 'react';
10
10
  import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
- import { Popover, OperationalTag, PopoverContent, Tag, Link } from '@carbon/react';
12
+ import { Popover, OperationalTag, PopoverContent, DismissibleTag, Tag, Link } from '@carbon/react';
13
13
  import { pkg } from '../../settings.js';
14
14
  import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
15
15
 
@@ -88,17 +88,25 @@ var TagOverflowPopover = /*#__PURE__*/forwardRef(function (props, ref) {
88
88
  _onClose = _ref.onClose,
89
89
  other = _objectWithoutProperties(_ref, _excluded2);
90
90
  var typeValue = overflowType === 'tag' ? 'high-contrast' : tagType;
91
- var isFilterable = overflowType === 'tag' ? filter : false;
91
+ var isFilterable = overflowType === 'tag' && (typeof _onClose === 'function' || filter);
92
+ var tag;
93
+ if (isFilterable) {
94
+ tag = /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
95
+ onClose: function onClose() {
96
+ return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
97
+ },
98
+ type: typeValue,
99
+ text: label
100
+ }));
101
+ } else {
102
+ tag = /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
103
+ type: typeValue
104
+ }), label);
105
+ }
92
106
  return /*#__PURE__*/React__default.createElement("li", {
93
107
  className: cx("".concat(blockClass, "__tag-item"), _defineProperty(_defineProperty({}, "".concat(blockClass, "__tag-item--default"), overflowType === 'default'), "".concat(blockClass, "__tag-item--tag"), overflowType === 'tag')),
94
108
  key: id
95
- }, overflowType === 'tag' ? /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
96
- onClose: function onClose() {
97
- return _onClose === null || _onClose === void 0 ? void 0 : _onClose();
98
- },
99
- type: typeValue,
100
- filter: isFilterable
101
- }), label) : label);
109
+ }, overflowType === 'tag' ? tag : label);
102
110
  })), ((_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__default.createElement(Link, {
103
111
  className: "".concat(blockClass, "__show-all-tags-link"),
104
112
  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
  /**
@@ -8,7 +8,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
10
  import PropTypes from '../../_virtual/index.js';
11
- import { Tag } from '@carbon/react';
11
+ import { Tag, DismissibleTag } from '@carbon/react';
12
12
  import { TagSetModal } from './TagSetModal.js';
13
13
  import { TagSetOverflow } from './TagSetOverflow.js';
14
14
  import cx from 'classnames';
@@ -18,8 +18,8 @@ import { pkg } from '../../settings.js';
18
18
  import { useResizeObserver } from '../../global/js/hooks/useResizeObserver.js';
19
19
 
20
20
  var _excluded = ["align", "allTagsModalTarget", "className", "maxVisible", "multiline", "overflowAutoAlign", "overflowAlign", "overflowClassName", "overflowType", "allTagsModalAriaLabel", "allTagsModalTitle", "allTagsModalSearchLabel", "allTagsModalSearchPlaceholderText", "showAllTagsLabel", "onOverflowClick", "tags", "containingElementRef", "measurementOffset", "onOverflowTagChange"],
21
- _excluded2 = ["label", "id"],
22
- _excluded3 = ["label", "onClose"];
21
+ _excluded2 = ["label", "id", "filter", "onClose"],
22
+ _excluded3 = ["label", "onClose", "filter"];
23
23
  var componentName = 'TagSet';
24
24
  var blockClass = "".concat(pkg.prefix, "--tag-set");
25
25
  var allTagsModalSearchThreshold = 10;
@@ -108,6 +108,8 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
108
108
  setHiddenSizingTags(tags && tags.length > 0 ? tags.map(function (_ref2, index) {
109
109
  var label = _ref2.label,
110
110
  id = _ref2.id,
111
+ filter = _ref2.filter,
112
+ onClose = _ref2.onClose,
111
113
  other = _objectWithoutProperties(_ref2, _excluded2);
112
114
  return /*#__PURE__*/React__default.createElement("div", {
113
115
  key: index,
@@ -117,7 +119,10 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
117
119
  newSizingTags[index] = el;
118
120
  }
119
121
  }
120
- }, /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
122
+ }, typeof onClose === 'function' || filter ? /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
123
+ "data-original-id": id,
124
+ text: label
125
+ })) : /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
121
126
  // ensure id is not duplicated
122
127
  "data-original-id": id
123
128
  }), label));
@@ -136,15 +141,22 @@ var TagSet = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
136
141
  var newDisplayedTags = tags && tags.length > 0 ? tags.map(function (_ref3, index) {
137
142
  var label = _ref3.label,
138
143
  _onClose = _ref3.onClose,
144
+ filter = _ref3.filter,
139
145
  other = _objectWithoutProperties(_ref3, _excluded3);
140
146
  if (index == tags.length - 1 && other.size) {
141
147
  size = other.size;
142
148
  }
149
+ if (typeof _onClose === 'function' || filter) {
150
+ return /*#__PURE__*/React__default.createElement(DismissibleTag, _extends({}, other, {
151
+ key: "displayed-tag-".concat(index),
152
+ onClose: function onClose() {
153
+ return handleTagOnClose(_onClose, index);
154
+ },
155
+ text: label
156
+ }));
157
+ }
143
158
  return /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
144
- key: "displayed-tag-".concat(index),
145
- onClose: function onClose() {
146
- return handleTagOnClose(_onClose, index);
147
- }
159
+ key: "displayed-tag-".concat(index)
148
160
  }), label);
149
161
  }) : [];
150
162
 
@@ -96,7 +96,6 @@ var TagSetModal = function TagSetModal(_ref) {
96
96
  var label = _ref2.label,
97
97
  other = _objectWithoutProperties(_ref2, _excluded2);
98
98
  return /*#__PURE__*/React__default.createElement(Tag, _extends({}, other, {
99
- filter: false,
100
99
  key: "all-tags-".concat(index)
101
100
  }), label);
102
101
  }), /*#__PURE__*/React__default.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';
@@ -4,7 +4,7 @@ export function APIKeyDownloader({ apiKey, body, fileName, fileType, linkText, }
4
4
  fileName: any;
5
5
  fileType: any;
6
6
  linkText: any;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): React.JSX.Element;
8
8
  export namespace APIKeyDownloader {
9
9
  export { componentName as displayName };
10
10
  export namespace propTypes {
@@ -15,6 +15,7 @@ export namespace APIKeyDownloader {
15
15
  let linkText: PropTypes.Validator<string>;
16
16
  }
17
17
  }
18
+ import React from 'react';
18
19
  declare const componentName: "APIKeyDownloader";
19
20
  import PropTypes from 'prop-types';
20
21
  export {};
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren, ReactElement, ForwardedRef } from 'react';
1
+ import React, { PropsWithChildren, ReactElement, ForwardedRef } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { CarbonIconType } from '@carbon/icons-react/lib/CarbonIcon';
4
4
  type OverflowItem = {
@@ -33,7 +33,7 @@ interface ActionBarOverflowItemProps extends PropsWithChildren {
33
33
  tabIndex?: number;
34
34
  }
35
35
  export declare const ActionBarOverflowItems: {
36
- ({ className, menuOptionsClass, overflowItems, overflowAriaLabel, overflowMenuRef, }: ActionBarOverflowItemProps): import("react/jsx-runtime").JSX.Element;
36
+ ({ className, menuOptionsClass, overflowItems, overflowAriaLabel, overflowMenuRef, }: ActionBarOverflowItemProps): React.JSX.Element;
37
37
  displayName: string;
38
38
  propTypes: {
39
39
  /**
@@ -2,7 +2,7 @@ export function AddSelectBreadcrumbs({ multi, onClick, path }: {
2
2
  multi: any;
3
3
  onClick: any;
4
4
  path: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace AddSelectBreadcrumbs {
7
7
  export namespace propTypes {
8
8
  let multi: PropTypes.Requireable<boolean>;
@@ -11,6 +11,7 @@ export namespace AddSelectBreadcrumbs {
11
11
  }
12
12
  export { componentName as displayName };
13
13
  }
14
+ import React from 'react';
14
15
  import PropTypes from 'prop-types';
15
16
  declare const componentName: "AddSelectBreadcrumbs";
16
17
  export {};
@@ -10,7 +10,7 @@ export function AddSelectColumn({ columnInputPlaceholder, filterByLabel, header,
10
10
  setMultiSelection: any;
11
11
  setPath: any;
12
12
  sortByLabel: any;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ }): React.JSX.Element;
14
14
  export namespace AddSelectColumn {
15
15
  export namespace propTypes {
16
16
  let columnInputPlaceholder: PropTypes.Requireable<string>;
@@ -26,6 +26,7 @@ export namespace AddSelectColumn {
26
26
  }
27
27
  export { componentName as displayName };
28
28
  }
29
+ import React from 'react';
29
30
  import PropTypes from 'prop-types';
30
31
  declare const componentName: "AddSelectColumn";
31
32
  export {};
@@ -14,7 +14,7 @@ export function AddSelectFilter({ appliedFilters, clearFiltersText, filterOpts,
14
14
  primaryButtonText: any;
15
15
  searchTerm: any;
16
16
  secondaryButtonText: any;
17
- }): import("react/jsx-runtime").JSX.Element;
17
+ }): React.JSX.Element;
18
18
  export namespace AddSelectFilter {
19
19
  export namespace propTypes {
20
20
  let appliedFilters: PropTypes.Requireable<object>;
@@ -35,6 +35,7 @@ export namespace AddSelectFilter {
35
35
  }
36
36
  export { componentName as displayName };
37
37
  }
38
+ import React from 'react';
38
39
  import PropTypes from 'prop-types';
39
40
  declare const componentName: "AddSelectFilter";
40
41
  export {};
@@ -136,15 +136,15 @@ var AddSelectFilter = function AddSelectFilter(_ref) {
136
136
  }, primaryButtonText)))), hasFiltersApplied && /*#__PURE__*/React.createElement("div", {
137
137
  className: "".concat(blockClass, "-applied")
138
138
  }, Object.keys(appliedFilters).map(function (filterType) {
139
- return /*#__PURE__*/React.createElement(react.Tag, {
139
+ return /*#__PURE__*/React.createElement(react.DismissibleTag, {
140
140
  key: filterType,
141
+ text: "".concat(filterType, ": ").concat(appliedFilters[filterType]),
141
142
  type: "gray",
142
143
  size: "sm",
143
144
  onClose: function onClose() {
144
145
  return removeTag(filterType);
145
- },
146
- filter: true
147
- }, "".concat(filterType, ": ").concat(appliedFilters[filterType]));
146
+ }
147
+ });
148
148
  }), /*#__PURE__*/React.createElement(react.Button, {
149
149
  kind: "ghost",
150
150
  size: "sm",
@@ -3,7 +3,7 @@ export function AddSelectFormControl({ item, onClick, selected, type }: {
3
3
  onClick: any;
4
4
  selected: any;
5
5
  type: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace AddSelectFormControl {
8
8
  export namespace propTypes {
9
9
  let item: PropTypes.Requireable<object>;
@@ -13,6 +13,7 @@ export namespace AddSelectFormControl {
13
13
  }
14
14
  export { componentName as displayName };
15
15
  }
16
+ import React from 'react';
16
17
  import PropTypes from 'prop-types';
17
18
  declare const componentName: "AddSelectFormControl";
18
19
  export {};
@@ -2,7 +2,7 @@ export function AddSelectList({ filteredItems, multi, ...rest }: {
2
2
  [x: string]: any;
3
3
  filteredItems: any;
4
4
  multi: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace AddSelectList {
7
7
  export namespace propTypes {
8
8
  let filteredItems: PropTypes.Requireable<any[]>;
@@ -11,6 +11,7 @@ export namespace AddSelectList {
11
11
  }
12
12
  export { componentName as displayName };
13
13
  }
14
+ import React from 'react';
14
15
  import PropTypes from 'prop-types';
15
16
  declare const componentName: "AddSelectList";
16
17
  export {};
@@ -3,7 +3,7 @@ export function AddSelectMetaPanel({ closeIconDescription, meta, setDisplayMetaP
3
3
  meta: any;
4
4
  setDisplayMetaPanel: any;
5
5
  title: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace AddSelectMetaPanel {
8
8
  export namespace propTypes {
9
9
  let closeIconDescription: PropTypes.Validator<string>;
@@ -17,6 +17,7 @@ export namespace AddSelectMetaPanel {
17
17
  }
18
18
  export { componentName as displayName };
19
19
  }
20
+ import React from 'react';
20
21
  import PropTypes from 'prop-types';
21
22
  declare const componentName: "AddSelectMetaPanel";
22
23
  export {};
@@ -19,7 +19,7 @@ export function AddSelectRow({ appliedModifiers, displayMetalPanel, index, focus
19
19
  setSingleSelection: any;
20
20
  setSize: any;
21
21
  singleSelection: any;
22
- }): import("react/jsx-runtime").JSX.Element;
22
+ }): React.JSX.Element;
23
23
  export namespace AddSelectRow {
24
24
  export namespace propTypes {
25
25
  let appliedModifiers: PropTypes.Requireable<any[]>;
@@ -46,6 +46,7 @@ export namespace AddSelectRow {
46
46
  }
47
47
  export { componentName as displayName };
48
48
  }
49
+ import React from 'react';
49
50
  import PropTypes from 'prop-types';
50
51
  declare const componentName: "AddSelectList";
51
52
  export {};
@@ -11,7 +11,7 @@ export function AddSelectSidebar({ appliedModifiers, closeIconDescription, displ
11
11
  noSelectionDescription: any;
12
12
  noSelectionTitle: any;
13
13
  setDisplayMetaPanel: any;
14
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): React.JSX.Element;
15
15
  export namespace AddSelectSidebar {
16
16
  export namespace propTypes {
17
17
  let appliedModifiers: PropTypes.Requireable<any[]>;
@@ -29,6 +29,7 @@ export namespace AddSelectSidebar {
29
29
  }
30
30
  export { componentName as displayName };
31
31
  }
32
+ import React from 'react';
32
33
  import PropTypes from 'prop-types';
33
34
  declare const componentName: "AddSelectSidebar";
34
35
  export {};
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import PropTypes from 'prop-types';
2
3
  export interface AddSelectSortProps {
3
4
  setSortAttribute?: (attribute: any) => void;
@@ -6,7 +7,7 @@ export interface AddSelectSortProps {
6
7
  sortByLabel?: string;
7
8
  }
8
9
  export declare const AddSelectSort: {
9
- ({ setSortAttribute, setSortDirection, sortBy, sortByLabel, }: AddSelectSortProps): import("react/jsx-runtime").JSX.Element;
10
+ ({ setSortAttribute, setSortDirection, sortBy, sortByLabel, }: AddSelectSortProps): React.JSX.Element;
10
11
  propTypes: {
11
12
  setSortAttribute: PropTypes.Requireable<(...args: any[]) => any>;
12
13
  setSortDirection: PropTypes.Requireable<(...args: any[]) => any>;
@@ -6,7 +6,7 @@ export function BreadcrumbWithOverflow({ breadcrumbs, className, maxVisible, noT
6
6
  noTrailingSlash: any;
7
7
  overflowAriaLabel: any;
8
8
  overflowTooltipAlign: any;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): React.JSX.Element;
10
10
  export namespace BreadcrumbWithOverflow {
11
11
  export namespace propTypes {
12
12
  let breadcrumbs: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -43,6 +43,7 @@ export namespace BreadcrumbWithOverflow {
43
43
  }
44
44
  export { componentName as displayName };
45
45
  }
46
+ import React from 'react';
46
47
  import PropTypes from 'prop-types';
47
48
  declare const componentName: "BreadcrumbWithOverflow";
48
49
  export {};
@@ -5,7 +5,7 @@ export function ButtonSetWithOverflow({ buttons, className, onWidthChange, butto
5
5
  buttonSetOverflowLabel: any;
6
6
  menuOptionsClass: any;
7
7
  rightAlign: any;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ }): React.JSX.Element;
9
9
  export namespace ButtonSetWithOverflow {
10
10
  export namespace propTypes {
11
11
  let buttonSetOverflowLabel: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
@@ -17,6 +17,7 @@ export namespace ButtonSetWithOverflow {
17
17
  }
18
18
  export { componentName as displayName };
19
19
  }
20
+ import React from 'react';
20
21
  import PropTypes from 'prop-types';
21
22
  declare const componentName: "ButtonSetWithOverflow";
22
23
  export {};
@@ -23,7 +23,7 @@ interface CardFooterProps {
23
23
  secondaryButtonText?: string;
24
24
  }
25
25
  export declare const CardFooter: {
26
- ({ actions, disabled, footerActionIcon: FooterActionIcon, hasActions, hasButton, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonDisabled, primaryButtonHref, primaryButtonIcon, primaryButtonKind, primaryButtonPlacement, primaryButtonText, productive, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonKind, secondaryButtonPlacement, secondaryButtonText, }: CardFooterProps): import("react/jsx-runtime").JSX.Element;
26
+ ({ actions, disabled, footerActionIcon: FooterActionIcon, hasActions, hasButton, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonDisabled, primaryButtonHref, primaryButtonIcon, primaryButtonKind, primaryButtonPlacement, primaryButtonText, productive, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonKind, secondaryButtonPlacement, secondaryButtonText, }: CardFooterProps): React.JSX.Element;
27
27
  /**@ts-ignore */
28
28
  propTypes: {
29
29
  actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
@@ -36,7 +36,7 @@ interface CardHeaderProps {
36
36
  titleSize?: 'default' | 'large';
37
37
  }
38
38
  export declare const CardHeader: {
39
- ({ actions, aiLabel, noActionIcons, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonIcon, primaryButtonPlacement, primaryButtonText, primaryButtonDisabled, description, hasActions, inClickableCard, label, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonPlacement, secondaryButtonText, slug, title, titleSize, }: CardHeaderProps): import("react/jsx-runtime").JSX.Element;
39
+ ({ actions, aiLabel, noActionIcons, onPrimaryButtonClick, onSecondaryButtonClick, primaryButtonIcon, primaryButtonPlacement, primaryButtonText, primaryButtonDisabled, description, hasActions, inClickableCard, label, secondaryButtonDisabled, secondaryButtonHref, secondaryButtonIcon, secondaryButtonPlacement, secondaryButtonText, slug, title, titleSize, }: CardHeaderProps): React.JSX.Element;
40
40
  /**@ts-ignore */
41
41
  propTypes: {
42
42
  actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
@@ -4,13 +4,14 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import React from 'react';
7
8
  /**
8
9
  * The combo button item provides additional actions a user can take.
9
10
  */
10
11
  declare const ComboButtonItem: {
11
12
  ({ ...rest }: {
12
13
  [x: string]: any;
13
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): React.JSX.Element;
14
15
  propTypes: {
15
16
  /** Provide the contents of the `ComboButtonItem` */
16
17
  children: import("prop-types").Validator<NonNullable<import("prop-types").ReactNodeLike>>;
@@ -34,7 +34,7 @@ interface ConditionBlockProps {
34
34
  isLastCondition: (index: number, conditions: (ConditionGroup | Condition)[]) => void;
35
35
  }
36
36
  declare const ConditionBlock: {
37
- (props: ConditionBlockProps): import("react/jsx-runtime").JSX.Element;
37
+ (props: ConditionBlockProps): React.JSX.Element;
38
38
  propTypes: {
39
39
  /**
40
40
  * callback to add a new condition
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import React from 'react';
7
8
  import PropTypes from 'prop-types';
8
9
  import { Action, Option } from '../ConditionBuilder.types';
9
10
  interface ConditionBuilderActionsProps {
@@ -11,7 +12,7 @@ interface ConditionBuilderActionsProps {
11
12
  className?: string;
12
13
  }
13
14
  declare const ConditionBuilderActions: {
14
- ({ actions, className, }: ConditionBuilderActionsProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ actions, className, }: ConditionBuilderActionsProps): React.JSX.Element;
15
16
  propTypes: {
16
17
  /**
17
18
  * optional array of object that give the list of actions.
@@ -4,6 +4,7 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
+ import React from 'react';
7
8
  import PropTypes from 'prop-types';
8
9
  interface ConditionBuilderAddProps {
9
10
  className?: string;
@@ -18,7 +19,7 @@ interface ConditionBuilderAddProps {
18
19
  tabIndex?: number;
19
20
  }
20
21
  declare const ConditionBuilderAdd: {
21
- ({ className, onClick, addConditionSubGroupHandler, showConditionSubGroupPreviewHandler, hideConditionSubGroupPreviewHandler, showConditionPreviewHandler, hideConditionPreviewHandler, enableSubGroup, buttonLabel, tabIndex, }: ConditionBuilderAddProps): import("react/jsx-runtime").JSX.Element;
22
+ ({ className, onClick, addConditionSubGroupHandler, showConditionSubGroupPreviewHandler, hideConditionSubGroupPreviewHandler, showConditionPreviewHandler, hideConditionPreviewHandler, enableSubGroup, buttonLabel, tabIndex, }: ConditionBuilderAddProps): React.JSX.Element;
22
23
  propTypes: {
23
24
  /**
24
25
  * handler for hiding sub group preview
@@ -27,7 +27,7 @@ interface ConditionBuilderButtonProps {
27
27
  tabIndex?: number;
28
28
  }
29
29
  export declare const ConditionBuilderButton: {
30
- ({ className, label, hideLabel, tooltipAlign, renderIcon: Icon, onClick, showToolTip, wrapperProps, onBlur, onFocus, onMouseEnter, onMouseLeave, isInvalid, wrapperClassName, tabIndex, ...rest }: ConditionBuilderButtonProps): import("react/jsx-runtime").JSX.Element;
30
+ ({ className, label, hideLabel, tooltipAlign, renderIcon: Icon, onClick, showToolTip, wrapperProps, onBlur, onFocus, onMouseEnter, onMouseLeave, isInvalid, wrapperClassName, tabIndex, ...rest }: ConditionBuilderButtonProps): React.JSX.Element;
31
31
  propTypes: {
32
32
  /**
33
33
  * Provide an optional class to be applied to the containing node.