@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.
- package/css/index-full-carbon.css +12 -6
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +12 -6
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +12 -6
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +12 -6
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
- package/es/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
- package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
- package/es/components/AddSelect/AddSelectColumn.d.ts +2 -1
- package/es/components/AddSelect/AddSelectFilter.d.ts +2 -1
- package/es/components/AddSelect/AddSelectFilter.js +5 -5
- package/es/components/AddSelect/AddSelectFormControl.d.ts +2 -1
- package/es/components/AddSelect/AddSelectList.d.ts +2 -1
- package/es/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
- package/es/components/AddSelect/AddSelectRow.d.ts +2 -1
- package/es/components/AddSelect/AddSelectSidebar.d.ts +2 -1
- package/es/components/AddSelect/AddSelectSort.d.ts +2 -1
- package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
- package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
- package/es/components/Card/Card.d.ts +5 -1
- package/es/components/Card/Card.js +9 -2
- package/es/components/Card/CardFooter.d.ts +1 -1
- package/es/components/Card/CardHeader.d.ts +12 -2
- package/es/components/Card/CardHeader.js +17 -9
- package/es/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
- package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
- package/es/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
- package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
- package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
- package/es/components/EmptyStates/EmptyStateContent.d.ts +2 -1
- package/es/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
- package/es/components/ExpressiveCard/ExpressiveCard.js +5 -0
- package/es/components/FeatureFlags/index.d.ts +1 -1
- package/es/components/FullPageError/assets/Error403SVG.d.ts +2 -1
- package/es/components/FullPageError/assets/Error404SVG.d.ts +2 -1
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
- package/es/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
- package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
- package/es/components/Nav/NavItem.d.ts +2 -1
- package/es/components/PageHeader/PageHeaderTitle.d.ts +2 -1
- package/es/components/ProductiveCard/ProductiveCard.d.ts +5 -0
- package/es/components/ProductiveCard/ProductiveCard.js +4 -0
- package/es/components/SimpleHeader/SimpleHeader.d.ts +2 -1
- package/es/components/TagOverflow/TagOverflow.d.ts +3 -0
- package/es/components/TagOverflow/TagOverflow.js +9 -4
- package/es/components/TagOverflow/TagOverflowModal.d.ts +6 -1
- package/es/components/TagOverflow/TagOverflowModal.js +17 -6
- package/es/components/TagOverflow/TagOverflowPopover.js +17 -9
- package/es/components/TagSet/TagSet.d.ts +4 -0
- package/es/components/TagSet/TagSet.js +20 -8
- package/es/components/TagSet/TagSetModal.js +0 -1
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
- package/es/components/_Canary/Canary.d.ts +2 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
- package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
- package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectColumn.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectFilter.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectFilter.js +4 -4
- package/lib/components/AddSelect/AddSelectFormControl.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectList.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectRow.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectSidebar.d.ts +2 -1
- package/lib/components/AddSelect/AddSelectSort.d.ts +2 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
- package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
- package/lib/components/Card/Card.d.ts +5 -1
- package/lib/components/Card/Card.js +9 -2
- package/lib/components/Card/CardFooter.d.ts +1 -1
- package/lib/components/Card/CardHeader.d.ts +12 -2
- package/lib/components/Card/CardHeader.js +17 -9
- package/lib/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
- package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
- package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
- package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
- package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
- package/lib/components/EmptyStates/EmptyStateContent.d.ts +2 -1
- package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
- package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -0
- package/lib/components/FeatureFlags/index.d.ts +1 -1
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +2 -1
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +2 -1
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
- package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
- package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
- package/lib/components/Nav/NavItem.d.ts +2 -1
- package/lib/components/PageHeader/PageHeaderTitle.d.ts +2 -1
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +5 -0
- package/lib/components/ProductiveCard/ProductiveCard.js +4 -0
- package/lib/components/SimpleHeader/SimpleHeader.d.ts +2 -1
- package/lib/components/TagOverflow/TagOverflow.d.ts +3 -0
- package/lib/components/TagOverflow/TagOverflow.js +8 -3
- package/lib/components/TagOverflow/TagOverflowModal.d.ts +6 -1
- package/lib/components/TagOverflow/TagOverflowModal.js +16 -5
- package/lib/components/TagOverflow/TagOverflowPopover.js +16 -8
- package/lib/components/TagSet/TagSet.d.ts +4 -0
- package/lib/components/TagSet/TagSet.js +19 -7
- package/lib/components/TagSet/TagSetModal.js +0 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
- package/lib/components/_Canary/Canary.d.ts +2 -1
- package/package.json +3 -3
- 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
|
-
}):
|
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):
|
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
|
-
}):
|
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
|
-
}):
|
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):
|
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
|
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):
|
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
|
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
|
69
|
-
if (slug) {
|
70
|
-
if (inClickableCard || typeof slug === 'boolean') {
|
71
|
-
|
70
|
+
var normalizedAiLabel = null;
|
71
|
+
if (aiLabel || slug) {
|
72
|
+
if (inClickableCard || typeof aiLabel === 'boolean' || typeof slug === 'boolean') {
|
73
|
+
normalizedAiLabel = hollowAiIcon;
|
72
74
|
} else {
|
73
|
-
|
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)),
|
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
|
-
}):
|
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):
|
37
|
+
(props: ConditionBlockProps): React.JSX.Element;
|
38
38
|
propTypes: {
|
39
39
|
/**
|
40
40
|
* callback to add a new condition
|
package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts
CHANGED
@@ -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):
|
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):
|
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):
|
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):
|
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.
|
package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts
CHANGED
@@ -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):
|
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):
|
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
|
-
}):
|
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):
|
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):
|
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):
|
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):
|
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):
|
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):
|
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):
|
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>):
|
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) =>
|
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):
|
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) =>
|
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) =>
|
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) =>
|
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) =>
|
9
|
+
declare const DatagridRefBody: (datagridState: DataGridState) => React.JSX.Element;
|
9
10
|
export default DatagridRefBody;
|