@carbon/ibm-products 2.43.2-canary.304 → 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 (214) hide show
  1. package/css/index-full-carbon.css +12 -6
  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 +12 -6
  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 +12 -6
  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 +12 -6
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  18. package/es/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  19. package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  20. package/es/components/AddSelect/AddSelectColumn.d.ts +2 -1
  21. package/es/components/AddSelect/AddSelectFilter.d.ts +2 -1
  22. package/es/components/AddSelect/AddSelectFilter.js +5 -5
  23. package/es/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  24. package/es/components/AddSelect/AddSelectList.d.ts +2 -1
  25. package/es/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  26. package/es/components/AddSelect/AddSelectRow.d.ts +2 -1
  27. package/es/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  28. package/es/components/AddSelect/AddSelectSort.d.ts +2 -1
  29. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  30. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  31. package/es/components/Card/Card.d.ts +5 -1
  32. package/es/components/Card/Card.js +9 -2
  33. package/es/components/Card/CardFooter.d.ts +1 -1
  34. package/es/components/Card/CardHeader.d.ts +12 -2
  35. package/es/components/Card/CardHeader.js +17 -9
  36. package/es/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  37. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  38. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  39. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  40. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  41. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  42. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  43. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  44. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  45. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  46. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  47. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  48. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  49. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  50. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  51. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  52. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  53. package/es/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  54. package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  55. package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  56. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  57. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  58. package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  59. package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  60. package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  61. package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  62. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  63. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  64. package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  65. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  66. package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  67. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  68. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  69. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  70. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  71. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  72. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  73. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  74. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  75. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  76. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  77. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  78. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  79. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  80. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  81. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  82. package/es/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  83. package/es/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  84. package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  85. package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  86. package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  87. package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  88. package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  89. package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  90. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
  91. package/es/components/ExpressiveCard/ExpressiveCard.js +5 -0
  92. package/es/components/FeatureFlags/index.d.ts +1 -1
  93. package/es/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  94. package/es/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  95. package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  96. package/es/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  97. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  98. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  99. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  100. package/es/components/Nav/NavItem.d.ts +2 -1
  101. package/es/components/PageHeader/PageHeaderTitle.d.ts +2 -1
  102. package/es/components/ProductiveCard/ProductiveCard.d.ts +5 -0
  103. package/es/components/ProductiveCard/ProductiveCard.js +4 -0
  104. package/es/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  105. package/es/components/TagOverflow/TagOverflow.d.ts +3 -0
  106. package/es/components/TagOverflow/TagOverflow.js +9 -4
  107. package/es/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  108. package/es/components/TagOverflow/TagOverflowModal.js +17 -6
  109. package/es/components/TagOverflow/TagOverflowPopover.js +17 -9
  110. package/es/components/TagSet/TagSet.d.ts +4 -0
  111. package/es/components/TagSet/TagSet.js +20 -8
  112. package/es/components/TagSet/TagSetModal.js +0 -1
  113. package/es/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  114. package/es/components/_Canary/Canary.d.ts +2 -1
  115. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  116. package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  117. package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  118. package/lib/components/AddSelect/AddSelectColumn.d.ts +2 -1
  119. package/lib/components/AddSelect/AddSelectFilter.d.ts +2 -1
  120. package/lib/components/AddSelect/AddSelectFilter.js +4 -4
  121. package/lib/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  122. package/lib/components/AddSelect/AddSelectList.d.ts +2 -1
  123. package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  124. package/lib/components/AddSelect/AddSelectRow.d.ts +2 -1
  125. package/lib/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  126. package/lib/components/AddSelect/AddSelectSort.d.ts +2 -1
  127. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  128. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  129. package/lib/components/Card/Card.d.ts +5 -1
  130. package/lib/components/Card/Card.js +9 -2
  131. package/lib/components/Card/CardFooter.d.ts +1 -1
  132. package/lib/components/Card/CardHeader.d.ts +12 -2
  133. package/lib/components/Card/CardHeader.js +17 -9
  134. package/lib/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  135. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  136. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  137. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  138. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  139. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  140. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  141. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  142. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  143. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  144. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  145. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  146. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  147. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  148. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  149. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  150. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  151. package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  152. package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  153. package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  154. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  155. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  156. package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  157. package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  158. package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  159. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  160. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  161. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  162. package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  163. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  164. package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  165. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  166. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  167. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  168. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  169. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  170. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  171. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  172. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  173. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  174. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  175. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  176. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  177. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  178. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  179. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  180. package/lib/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  181. package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  182. package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  183. package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  184. package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  185. package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  186. package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  187. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  188. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
  189. package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -0
  190. package/lib/components/FeatureFlags/index.d.ts +1 -1
  191. package/lib/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  192. package/lib/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  193. package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  194. package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  195. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  196. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  197. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  198. package/lib/components/Nav/NavItem.d.ts +2 -1
  199. package/lib/components/PageHeader/PageHeaderTitle.d.ts +2 -1
  200. package/lib/components/ProductiveCard/ProductiveCard.d.ts +5 -0
  201. package/lib/components/ProductiveCard/ProductiveCard.js +4 -0
  202. package/lib/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  203. package/lib/components/TagOverflow/TagOverflow.d.ts +3 -0
  204. package/lib/components/TagOverflow/TagOverflow.js +8 -3
  205. package/lib/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  206. package/lib/components/TagOverflow/TagOverflowModal.js +16 -5
  207. package/lib/components/TagOverflow/TagOverflowPopover.js +16 -8
  208. package/lib/components/TagSet/TagSet.d.ts +4 -0
  209. package/lib/components/TagSet/TagSet.js +19 -7
  210. package/lib/components/TagSet/TagSetModal.js +0 -1
  211. package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  212. package/lib/components/_Canary/Canary.d.ts +2 -1
  213. package/package.json +3 -3
  214. package/scss/components/Card/_card.scss +14 -6
@@ -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 {};
@@ -57,10 +57,14 @@ interface CardProp extends PropsWithChildren {
57
57
  sequence?: number;
58
58
  iconDescription?: string;
59
59
  /**
60
- * **Experimental?** For all cases a `Slug` component can be provided.
61
60
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
61
+ * @deprecated please use the `aiLabel` prop
62
62
  */
63
63
  slug?: ReactNode | boolean;
64
+ /**
65
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
66
+ */
67
+ aiLabel?: ReactNode | boolean;
64
68
  status?: 'complete' | 'incomplete';
65
69
  title?: ReactNode;
66
70
  titleSize?: 'default' | 'large';
@@ -18,7 +18,7 @@ var CardFooter = require('./CardFooter.js');
18
18
  var settings = require('../../settings.js');
19
19
 
20
20
  var _Incomplete, _CheckmarkOutline;
21
- var _excluded = ["actionIcons", "actionsPlacement", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "overflowAriaLabel", "onSecondaryButtonClick", "pictogram", "primaryButtonDisabled", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonPlacement", "primaryButtonText", "productive", "secondaryButtonDisabled", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonPlacement", "secondaryButtonText", "slug", "status", "sequence", "title", "titleSize", "iconDescription"],
21
+ var _excluded = ["actionIcons", "actionsPlacement", "aiLabel", "metadata", "children", "className", "clickZone", "description", "disabled", "footerActionIcon", "getStarted", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "overflowAriaLabel", "onSecondaryButtonClick", "pictogram", "primaryButtonDisabled", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonPlacement", "primaryButtonText", "productive", "secondaryButtonDisabled", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonPlacement", "secondaryButtonText", "slug", "status", "sequence", "title", "titleSize", "iconDescription"],
22
22
  _excluded2 = ["id"],
23
23
  _excluded3 = ["id", "icon", "onClick", "iconDescription", "href"];
24
24
  var componentName = 'Card';
@@ -27,6 +27,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
27
27
  actionIcons = _ref$actionIcons === void 0 ? Object.freeze([]) : _ref$actionIcons,
28
28
  _ref$actionsPlacement = _ref.actionsPlacement,
29
29
  actionsPlacement = _ref$actionsPlacement === void 0 ? 'bottom' : _ref$actionsPlacement,
30
+ aiLabel = _ref.aiLabel,
30
31
  _ref$metadata = _ref.metadata,
31
32
  metadata = _ref$metadata === void 0 ? Object.freeze([]) : _ref$metadata,
32
33
  children = _ref.children,
@@ -168,7 +169,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
168
169
  var clickable = hasClickEvent && !productive || hasClickEvent && productive && clickZone === 'one';
169
170
  var cardProps = _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, rest), {}, {
170
171
  ref: ref,
171
- className: cx(blockClass, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__disabled"), disabled), "".concat(blockClass, "__get-started"), getStarted), "".concat(blockClass, "__productive"), productive), "".concat(blockClass, "__clickable"), clickable), "".concat(blockClass, "__media-left"), mediaPosition === 'left'), "".concat(blockClass, "--has-slug"), !!slug), className)
172
+ className: cx(blockClass, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__disabled"), disabled), "".concat(blockClass, "__get-started"), getStarted), "".concat(blockClass, "__productive"), productive), "".concat(blockClass, "__clickable"), clickable), "".concat(blockClass, "__media-left"), mediaPosition === 'left'), "".concat(blockClass, "--has-slug"), !!slug), "".concat(blockClass, "--has-ai-label"), !!aiLabel), className)
172
173
  }, clickable && clickableProps);
173
174
  return cardProps;
174
175
  };
@@ -184,6 +185,7 @@ var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
184
185
  var getHeaderProps = function getHeaderProps() {
185
186
  return {
186
187
  actions: actionsPlacement === 'top' ? getActions() : '',
188
+ aiLabel: aiLabel,
187
189
  noActionIcons: getIcons().length > 0 && actionsPlacement === 'top' ? false : true,
188
190
  actionsPlacement: actionsPlacement,
189
191
  onPrimaryButtonClick: onPrimaryButtonClick,
@@ -267,6 +269,10 @@ Card.propTypes = {
267
269
  href: index.default.string
268
270
  })),
269
271
  actionsPlacement: index.default.oneOf(['top', 'bottom']),
272
+ /**
273
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
274
+ */
275
+ aiLabel: index.default.oneOfType([index.default.node, index.default.bool]),
270
276
  children: index.default.node,
271
277
  className: index.default.string,
272
278
  clickZone: index.default.oneOf(['one', 'two', 'three']),
@@ -318,6 +324,7 @@ Card.propTypes = {
318
324
  /**
319
325
  * **Experimental:** For all cases a `Slug` component can be provided.
320
326
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
327
+ * @deprecated please use the `aiLabel` prop
321
328
  */
322
329
  slug: index.default.oneOfType([index.default.node, index.default.bool]),
323
330
  status: index.default.oneOf(['complete', 'incomplete']),
@@ -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>>;
@@ -1,7 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  interface CardHeaderProps {
4
- actions?: ReactNode[] | ReactNode;
4
+ actions?: ReactNode;
5
+ /**
6
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
7
+ */
8
+ aiLabel?: ReactNode | boolean;
5
9
  description?: ReactNode;
6
10
  hasActions?: boolean;
7
11
  /**
@@ -25,16 +29,21 @@ interface CardHeaderProps {
25
29
  /**
26
30
  * **Experimental:** For all cases a `Slug` component can be provided.
27
31
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
32
+ * @deprecated please use the `aiLabel` prop
28
33
  */
29
34
  slug?: ReactNode;
30
35
  title?: ReactNode;
31
36
  titleSize?: 'default' | 'large';
32
37
  }
33
38
  export declare const CardHeader: {
34
- ({ actions, 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;
35
40
  /**@ts-ignore */
36
41
  propTypes: {
37
42
  actions: PropTypes.Requireable<NonNullable<any[] | PropTypes.ReactNodeLike>>;
43
+ /**
44
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
45
+ */
46
+ aiLabel: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
38
47
  description: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
39
48
  hasActions: PropTypes.Requireable<boolean>;
40
49
  /**
@@ -58,6 +67,7 @@ export declare const CardHeader: {
58
67
  /**
59
68
  * **Experimental:** For all cases a `Slug` component can be provided.
60
69
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
70
+ * @deprecated please use the `aiLabel` prop
61
71
  */
62
72
  slug: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
63
73
  title: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
@@ -22,6 +22,7 @@ var defaults = {
22
22
  };
23
23
  var CardHeader = function CardHeader(_ref) {
24
24
  var actions = _ref.actions,
25
+ aiLabel = _ref.aiLabel,
25
26
  noActionIcons = _ref.noActionIcons,
26
27
  onPrimaryButtonClick = _ref.onPrimaryButtonClick,
27
28
  onSecondaryButtonClick = _ref.onSecondaryButtonClick,
@@ -49,8 +50,9 @@ var CardHeader = function CardHeader(_ref) {
49
50
  var headerClasses = cx(headerClass, _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-label-only"), label && !title && !description), "".concat(headerClass, "-has-label"), !!label), "".concat(blockClass, "__title-lg"), titleSize === 'large'));
50
51
  var actionGhostButton = "".concat(blockClass, "__actions-header-ghost-button");
51
52
  var actionGhostButtonClass = cx(actionGhostButton, _rollupPluginBabelHelpers.defineProperty({}, "".concat(actionGhostButton, "--only"), noActionIcons));
52
- var hollowSlugIcon = /*#__PURE__*/React.createElement("svg", {
53
- className: "".concat(carbonPrefix, "--slug ").concat(carbonPrefix, "--slug-icon"),
53
+ var hollowAiIcon = /*#__PURE__*/React.createElement("svg", {
54
+ className: "".concat(carbonPrefix, "--slug ").concat(carbonPrefix, "--slug-icon") // NOTE: We cannot change this to ai-label until carbon changes their classnames on their end
55
+ ,
54
56
  width: "24",
55
57
  height: "24",
56
58
  viewBox: "0 0 24 24",
@@ -65,12 +67,13 @@ var CardHeader = function CardHeader(_ref) {
65
67
  d: "M13.2436 16H11.5996L10.9276 13.864H7.95164L7.29164 16H5.68364L8.49164 7.624H10.4596L13.2436 16ZM10.5436 12.508L9.46364 9.064H9.40364L8.33564 12.508H10.5436ZM17.9341 16H14.1301V14.728H15.2341V8.896H14.1301V7.624H17.9341V8.896H16.8181V14.728H17.9341V16Z",
66
68
  fill: "#161616"
67
69
  })));
68
- var normalizedSlug = null;
69
- if (slug) {
70
- if (inClickableCard || typeof slug === 'boolean') {
71
- normalizedSlug = hollowSlugIcon;
70
+ var normalizedAiLabel = null;
71
+ if (aiLabel || slug) {
72
+ if (inClickableCard || typeof aiLabel === 'boolean' || typeof slug === 'boolean') {
73
+ normalizedAiLabel = hollowAiIcon;
72
74
  } else {
73
- normalizedSlug = /*#__PURE__*/React.cloneElement(slug, {
75
+ var element = aiLabel || slug;
76
+ normalizedAiLabel = /*#__PURE__*/React.cloneElement(element, {
74
77
  size: label && title || title && titleSize === 'large' ? 'sm' : 'xs'
75
78
  });
76
79
  }
@@ -78,7 +81,7 @@ var CardHeader = function CardHeader(_ref) {
78
81
  return /*#__PURE__*/React.createElement("div", {
79
82
  className: headerClasses
80
83
  }, /*#__PURE__*/React.createElement("div", {
81
- className: cx(["".concat(headerClass, "-container"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--has-slug"), !!slug), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--has-actions"), !!hasActions), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--large-tile-or-label"), title && (label || titleSize === 'large'))])
84
+ className: cx(["".concat(headerClass, "-container"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--has-slug"), !!slug), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--has-ai-label"), !!aiLabel), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--has-actions"), !!hasActions), _rollupPluginBabelHelpers.defineProperty({}, "".concat(headerClass, "-container--large-tile-or-label"), title && (label || titleSize === 'large'))])
82
85
  }, /*#__PURE__*/React.createElement("div", {
83
86
  className: "".concat(blockClass, "__title-container")
84
87
  }, label && /*#__PURE__*/React.createElement("p", {
@@ -104,11 +107,15 @@ var CardHeader = function CardHeader(_ref) {
104
107
  onClick: onPrimaryButtonClick,
105
108
  className: actionGhostButtonClass,
106
109
  disabled: primaryButtonDisabled
107
- }, primaryButtonText)), normalizedSlug));
110
+ }, primaryButtonText)), normalizedAiLabel));
108
111
  };
109
112
  /**@ts-ignore */
110
113
  CardHeader.propTypes = {
111
114
  actions: index.default.oneOfType([index.default.array, index.default.node]),
115
+ /**
116
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
117
+ */
118
+ aiLabel: index.default.oneOfType([index.default.node, index.default.bool]),
112
119
  description: index.default.oneOfType([index.default.string, index.default.object, index.default.node]),
113
120
  hasActions: index.default.bool,
114
121
  /**
@@ -132,6 +139,7 @@ CardHeader.propTypes = {
132
139
  /**
133
140
  * **Experimental:** For all cases a `Slug` component can be provided.
134
141
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
142
+ * @deprecated please use the `aiLabel` prop
135
143
  */
136
144
  slug: index.default.oneOfType([index.default.node, index.default.bool]),
137
145
  title: index.default.oneOfType([index.default.string, index.default.object, index.default.node]),
@@ -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.
@@ -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 ConditionConnectorProps {
9
10
  operator: string;
@@ -11,7 +12,7 @@ interface ConditionConnectorProps {
11
12
  onChange?: (op: string) => void;
12
13
  }
13
14
  declare const ConditionConnector: {
14
- ({ operator, className, onChange, ...rest }: ConditionConnectorProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ operator, className, onChange, ...rest }: ConditionConnectorProps): React.JSX.Element;
15
16
  propTypes: {
16
17
  /**
17
18
  * Provide an optional class to be applied to the containing node.
@@ -1,2 +1,3 @@
1
1
  export default GroupConnector;
2
- declare function GroupConnector(): import("react/jsx-runtime").JSX.Element;
2
+ declare function GroupConnector(): React.JSX.Element;
3
+ import React from 'react';
@@ -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, ConditionBuilderState, InitialState } from '../ConditionBuilder.types';
9
10
  interface ConditionBuilderContentProps {
@@ -14,7 +15,7 @@ interface ConditionBuilderContentProps {
14
15
  actions?: Action[];
15
16
  }
16
17
  declare const ConditionBuilderContent: {
17
- ({ startConditionLabel, getConditionState, getActionsState, initialState, actions, }: ConditionBuilderContentProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ startConditionLabel, getConditionState, getActionsState, initialState, actions, }: ConditionBuilderContentProps): React.JSX.Element;
18
19
  propTypes: {
19
20
  /**
20
21
  * optional array of object that give the list of actions.
@@ -27,7 +27,7 @@ interface ConditionBuilderItemProps extends PropsWithChildren {
27
27
  onBlur?: React.FocusEventHandler<HTMLButtonElement>;
28
28
  }
29
29
  export declare const ConditionBuilderItem: {
30
- ({ children, className, label, renderIcon, title, type, showToolTip, condition, popOverClassName, config, renderChildren, onChange, ...rest }: ConditionBuilderItemProps): import("react/jsx-runtime").JSX.Element;
30
+ ({ children, className, label, renderIcon, title, type, showToolTip, condition, popOverClassName, config, renderChildren, onChange, ...rest }: ConditionBuilderItemProps): React.JSX.Element;
31
31
  propTypes: {
32
32
  /**
33
33
  * provide the contents of the popover
@@ -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
  import PropTypes from 'prop-types';
8
9
  export declare const ConditionBuilderItemDate: {
9
10
  ({ conditionState, onChange, parentRef, }: {
10
11
  conditionState: any;
11
12
  onChange: any;
12
13
  parentRef: any;
13
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): React.JSX.Element;
14
15
  propTypes: {
15
16
  /**
16
17
  * current condition object
@@ -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 { Condition, PropertyConfigNumber } from '../../ConditionBuilder.types';
9
10
  interface ConditionBuilderItemNumberProps {
@@ -12,7 +13,7 @@ interface ConditionBuilderItemNumberProps {
12
13
  onChange: (value: string) => void;
13
14
  }
14
15
  export declare const ConditionBuilderItemNumber: {
15
- ({ conditionState, config, onChange, }: ConditionBuilderItemNumberProps): import("react/jsx-runtime").JSX.Element;
16
+ ({ conditionState, config, onChange, }: ConditionBuilderItemNumberProps): React.JSX.Element;
16
17
  propTypes: {
17
18
  /**
18
19
  * current condition object
@@ -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 { PropertyConfigOption } from '../../ConditionBuilder.types';
9
10
  interface ItemOptionProps {
@@ -17,7 +18,7 @@ interface ItemOptionProps {
17
18
  onChange: (value: string, e: Event) => void;
18
19
  }
19
20
  export declare const ItemOption: {
20
- ({ conditionState, config, onChange, }: ItemOptionProps): import("react/jsx-runtime").JSX.Element | undefined;
21
+ ({ conditionState, config, onChange, }: ItemOptionProps): React.JSX.Element | undefined;
21
22
  propTypes: {
22
23
  /**
23
24
  * current condition object
@@ -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 { Condition, PropertyConfigOption } from '../../ConditionBuilder.types';
9
10
  interface ItemOptionForValueFieldProps {
@@ -14,7 +15,7 @@ interface ItemOptionForValueFieldProps {
14
15
  onChange: (value: any, e?: Event) => void;
15
16
  }
16
17
  export declare const ItemOptionForValueField: {
17
- ({ conditionState, config, onChange, }: ItemOptionForValueFieldProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ conditionState, config, onChange, }: ItemOptionForValueFieldProps): React.JSX.Element;
18
19
  propTypes: {
19
20
  /**
20
21
  * current condition object
@@ -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 { Condition, PropertyConfigText, PropertyConfigTextArea } from '../../ConditionBuilder.types';
9
10
  interface ConditionBuilderItemTextProps {
@@ -13,7 +14,7 @@ interface ConditionBuilderItemTextProps {
13
14
  type: 'textarea' | 'text';
14
15
  }
15
16
  export declare const ConditionBuilderItemText: {
16
- ({ conditionState, onChange, config, type, }: ConditionBuilderItemTextProps): import("react/jsx-runtime").JSX.Element;
17
+ ({ conditionState, onChange, config, type, }: ConditionBuilderItemTextProps): React.JSX.Element;
17
18
  propTypes: {
18
19
  /**
19
20
  * current condition object
@@ -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 { PropertyConfigTime } from '../../ConditionBuilder.types';
9
10
  interface ConditionBuilderItemTime {
@@ -11,7 +12,7 @@ interface ConditionBuilderItemTime {
11
12
  config: PropertyConfigTime['config'];
12
13
  }
13
14
  export declare const ConditionBuilderItemTime: {
14
- ({ onChange, config, }: ConditionBuilderItemTime): import("react/jsx-runtime").JSX.Element;
15
+ ({ onChange, config, }: ConditionBuilderItemTime): React.JSX.Element;
15
16
  propTypes: {
16
17
  /**
17
18
  * current config object that this property is part of
@@ -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 { ConditionGroup } from '../ConditionBuilder.types';
9
10
  /**
@@ -24,7 +25,7 @@ interface ConditionGroupBuilderProps {
24
25
  };
25
26
  }
26
27
  declare const ConditionGroupBuilder: {
27
- ({ group, aria, onRemove, onChange, className, }: ConditionGroupBuilderProps): import("react/jsx-runtime").JSX.Element;
28
+ ({ group, aria, onRemove, onChange, className, }: ConditionGroupBuilderProps): React.JSX.Element;
28
29
  propTypes: {
29
30
  /**
30
31
  * object contains the aria attributes
@@ -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 { ConditionGroup } from '../ConditionBuilder.types';
9
10
  interface ConditionPreviewProps {
@@ -12,7 +13,7 @@ interface ConditionPreviewProps {
12
13
  colorIndex?: number;
13
14
  }
14
15
  declare const ConditionPreview: {
15
- ({ previewType, group, colorIndex, }: ConditionPreviewProps): import("react/jsx-runtime").JSX.Element;
16
+ ({ previewType, group, colorIndex, }: ConditionPreviewProps): React.JSX.Element;
16
17
  propTypes: {
17
18
  /**
18
19
  * index of the color for next group
@@ -4,7 +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 { PropsWithChildren, ReactNode } from 'react';
7
+ import React, { PropsWithChildren, ReactNode } from 'react';
8
8
  import PropTypes from 'prop-types';
9
9
  import '../../global/js/utils/props-helper';
10
10
  interface Step {
@@ -32,7 +32,7 @@ interface CreateInfluencerProps {
32
32
  title?: string | undefined;
33
33
  }
34
34
  export declare const CreateInfluencer: {
35
- ({ className, currentStep, stepData, title, }: PropsWithChildren<CreateInfluencerProps>): import("react/jsx-runtime").JSX.Element;
35
+ ({ className, currentStep, stepData, title, }: PropsWithChildren<CreateInfluencerProps>): React.JSX.Element;
36
36
  displayName: string;
37
37
  propTypes: {
38
38
  /**
@@ -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 { DataGridState } from '../types';
8
- declare const DatagridBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
9
+ declare const DatagridBody: (datagridState: DataGridState) => React.JSX.Element;
9
10
  export default DatagridBody;
@@ -1,4 +1,5 @@
1
1
  import '../../../feature-flags';
2
+ import React from 'react';
2
3
  import PropTypes from 'prop-types';
3
4
  import { DataGridState } from '../types';
4
5
  interface DatagridContentProps {
@@ -7,7 +8,7 @@ interface DatagridContentProps {
7
8
  title?: string;
8
9
  }
9
10
  export declare const DatagridContent: {
10
- ({ datagridState, ariaToolbarLabel, title, }: DatagridContentProps): import("react/jsx-runtime").JSX.Element;
11
+ ({ datagridState, ariaToolbarLabel, title, }: DatagridContentProps): React.JSX.Element;
11
12
  propTypes: {
12
13
  ariaToolbarLabel: PropTypes.Requireable<string>;
13
14
  datagridState: PropTypes.Requireable<PropTypes.InferProps<{
@@ -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 { DataGridState } from '../types';
8
- declare const DatagridEmptyBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
9
+ declare const DatagridEmptyBody: (datagridState: DataGridState) => React.JSX.Element;
9
10
  export default DatagridEmptyBody;
@@ -4,7 +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 { JSXElementConstructor } from 'react';
7
+ import React, { JSXElementConstructor } from 'react';
8
8
  import { DataGridState } from '../types';
9
- declare const DatagridExpandedRow: (ExpandedRowContentComponent: JSXElementConstructor<any>) => (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
9
+ declare const DatagridExpandedRow: (ExpandedRowContentComponent: JSXElementConstructor<any>) => (datagridState: DataGridState) => React.JSX.Element;
10
10
  export default DatagridExpandedRow;
@@ -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 { DataGridState } from '../types';
8
- declare const DatagridHead: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
9
+ declare const DatagridHead: (datagridState: DataGridState) => React.JSX.Element;
9
10
  export default DatagridHead;
@@ -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 { DataGridState } from '../types';
8
- declare const DatagridRefBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
9
+ declare const DatagridRefBody: (datagridState: DataGridState) => React.JSX.Element;
9
10
  export default DatagridRefBody;