@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
@@ -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;
|
@@ -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 DatagridRow: (datagridState: DataGridState) =>
|
9
|
+
declare const DatagridRow: (datagridState: DataGridState) => React.JSX.Element;
|
9
10
|
export default DatagridRow;
|
@@ -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 SelectAll: (datagridState: DataGridState) =>
|
9
|
+
declare const SelectAll: (datagridState: DataGridState) => React.JSX.Element;
|
9
10
|
export { SelectAll };
|
@@ -4,10 +4,11 @@
|
|
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 { DataGridState } from '../types';
|
9
10
|
declare const SelectAllWithToggle: {
|
10
|
-
({ tableId, isFetching, isAllRowsSelected, selectAllToggle, getToggleAllPageRowsSelectedProps, getToggleAllRowsSelectedProps, allPageRowsLabel, allRowsLabel, columns, withStickyColumn, }: DataGridState):
|
11
|
+
({ tableId, isFetching, isAllRowsSelected, selectAllToggle, getToggleAllPageRowsSelectedProps, getToggleAllRowsSelectedProps, allPageRowsLabel, allRowsLabel, columns, withStickyColumn, }: DataGridState): React.JSX.Element;
|
11
12
|
propTypes: {
|
12
13
|
allPageRowsLabel: PropTypes.Requireable<string>;
|
13
14
|
allRowsLabel: PropTypes.Requireable<string>;
|
@@ -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 DatagridSimpleBody: (datagridState: DataGridState) =>
|
9
|
+
declare const DatagridSimpleBody: (datagridState: DataGridState) => React.JSX.Element;
|
9
10
|
export default DatagridSimpleBody;
|
@@ -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
|
import { DataGridState } from '../types';
|
9
10
|
interface DatagridToolbarProps {
|
10
11
|
ariaToolbarLabel?: string;
|
11
12
|
}
|
12
13
|
declare const DatagridToolbar: {
|
13
|
-
({ ariaToolbarLabel, ...datagridState }: DatagridToolbarProps & DataGridState):
|
14
|
+
({ ariaToolbarLabel, ...datagridState }: DatagridToolbarProps & DataGridState): React.JSX.Element | null;
|
14
15
|
propTypes: {
|
15
16
|
ariaToolbarLabel: PropTypes.Requireable<string>;
|
16
17
|
};
|
@@ -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 DatagridVirtualBody: (datagridState: DataGridState) =>
|
9
|
+
declare const DatagridVirtualBody: (datagridState: DataGridState) => React.JSX.Element;
|
9
10
|
export default DatagridVirtualBody;
|
@@ -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
|
interface DraggableElementProps extends PropsWithChildren {
|
10
10
|
ariaLabel: string;
|
@@ -16,7 +16,7 @@ interface DraggableElementProps extends PropsWithChildren {
|
|
16
16
|
selected?: boolean;
|
17
17
|
}
|
18
18
|
declare const DraggableElement: {
|
19
|
-
({ id, children, classList, disabled, ariaLabel, isSticky, selected, }: DraggableElementProps):
|
19
|
+
({ id, children, classList, disabled, ariaLabel, isSticky, selected, }: DraggableElementProps): React.JSX.Element;
|
20
20
|
propTypes: {
|
21
21
|
ariaLabel: PropTypes.Validator<string>;
|
22
22
|
children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
@@ -3,7 +3,7 @@ declare function Actions({ searchText, setSearchText, findColumnPlaceholderLabel
|
|
3
3
|
searchText: any;
|
4
4
|
setSearchText: any;
|
5
5
|
findColumnPlaceholderLabel: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
declare namespace Actions {
|
8
8
|
namespace propTypes {
|
9
9
|
let columns: PropTypes.Validator<any[]>;
|
@@ -15,4 +15,5 @@ declare namespace Actions {
|
|
15
15
|
let setSearchText: PropTypes.Validator<(...args: any[]) => any>;
|
16
16
|
}
|
17
17
|
}
|
18
|
+
import * as React from 'react';
|
18
19
|
import PropTypes from 'prop-types';
|
@@ -5,7 +5,7 @@ declare function ButtonWrapper({ onClick, setIsTearsheetOpen, isTearsheetOpen, i
|
|
5
5
|
setIsTearsheetOpen: any;
|
6
6
|
isTearsheetOpen: any;
|
7
7
|
iconTooltipLabel?: string | undefined;
|
8
|
-
}):
|
8
|
+
}): React.JSX.Element;
|
9
9
|
declare namespace ButtonWrapper {
|
10
10
|
namespace defaultProps {
|
11
11
|
function onClick(): void;
|
@@ -18,4 +18,5 @@ declare namespace ButtonWrapper {
|
|
18
18
|
export let setIsTearsheetOpen: PropTypes.Validator<(...args: any[]) => any>;
|
19
19
|
}
|
20
20
|
}
|
21
|
+
import * as React from 'react';
|
21
22
|
import PropTypes from 'prop-types';
|
@@ -9,7 +9,7 @@ declare function Columns({ getVisibleColumnsCount, filterString, columns, setCol
|
|
9
9
|
assistiveTextDisabledInstructionsLabel: any;
|
10
10
|
selectAllLabel: any;
|
11
11
|
customizeTearsheetHeadingLabel: any;
|
12
|
-
}):
|
12
|
+
}): React.JSX.Element;
|
13
13
|
declare namespace Columns {
|
14
14
|
namespace propTypes {
|
15
15
|
let assistiveTextDisabledInstructionsLabel: PropTypes.Requireable<string>;
|
@@ -26,4 +26,5 @@ declare namespace Columns {
|
|
26
26
|
let setColumnsObject: PropTypes.Validator<(...args: any[]) => any>;
|
27
27
|
}
|
28
28
|
}
|
29
|
+
import React from 'react';
|
29
30
|
import PropTypes from 'prop-types';
|
package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts
CHANGED
@@ -14,7 +14,7 @@ declare function CustomizeColumnsTearsheet({ isOpen, setIsTearsheetOpen, onSaveC
|
|
14
14
|
assistiveTextInstructionsLabel?: string | undefined;
|
15
15
|
assistiveTextDisabledInstructionsLabel?: string | undefined;
|
16
16
|
selectAllLabel?: string | undefined;
|
17
|
-
}):
|
17
|
+
}): React.JSX.Element;
|
18
18
|
declare namespace CustomizeColumnsTearsheet {
|
19
19
|
namespace propTypes {
|
20
20
|
let assistiveTextDisabledInstructionsLabel: PropTypes.Requireable<string>;
|
@@ -33,4 +33,5 @@ declare namespace CustomizeColumnsTearsheet {
|
|
33
33
|
let setIsTearsheetOpen: PropTypes.Validator<(...args: any[]) => any>;
|
34
34
|
}
|
35
35
|
}
|
36
|
+
import React from 'react';
|
36
37
|
import PropTypes from 'prop-types';
|
@@ -5,7 +5,7 @@ export function DraggableItemsList({ columns, filterString, id, moveElement, onS
|
|
5
5
|
moveElement: any;
|
6
6
|
onSelectColumn: any;
|
7
7
|
setAriaRegionText: any;
|
8
|
-
}):
|
8
|
+
}): React.JSX.Element;
|
9
9
|
export namespace DraggableItemsList {
|
10
10
|
namespace propTypes {
|
11
11
|
let columns: any;
|
@@ -16,3 +16,4 @@ export namespace DraggableItemsList {
|
|
16
16
|
let setAriaRegionText: any;
|
17
17
|
}
|
18
18
|
}
|
19
|
+
import React from 'react';
|
@@ -1,10 +1,11 @@
|
|
1
1
|
export default TearsheetWrapper;
|
2
2
|
declare function TearsheetWrapper({ instance }: {
|
3
3
|
instance: any;
|
4
|
-
}):
|
4
|
+
}): React.JSX.Element;
|
5
5
|
declare namespace TearsheetWrapper {
|
6
6
|
namespace propTypes {
|
7
7
|
let instance: PropTypes.Validator<object>;
|
8
8
|
}
|
9
9
|
}
|
10
|
+
import React from 'react';
|
10
11
|
import PropTypes from 'prop-types';
|
@@ -14,7 +14,7 @@ declare function FilterFlyout({ updateMethod, flyoutIconDescription, align, filt
|
|
14
14
|
setAllFilters: any;
|
15
15
|
data?: any[] | undefined;
|
16
16
|
reactTableFiltersState?: any[] | undefined;
|
17
|
-
}):
|
17
|
+
}): React.JSX.Element;
|
18
18
|
declare namespace FilterFlyout {
|
19
19
|
namespace propTypes {
|
20
20
|
let align: PropTypes.Requireable<string>;
|
@@ -41,4 +41,5 @@ declare namespace FilterFlyout {
|
|
41
41
|
let updateMethod: PropTypes.Validator<string>;
|
42
42
|
}
|
43
43
|
}
|
44
|
+
import React from 'react';
|
44
45
|
import PropTypes from 'prop-types';
|
@@ -19,7 +19,7 @@ declare function FilterPanel({ title, closeIconDescription, updateMethod, filter
|
|
19
19
|
reactTableFiltersState?: any[] | undefined;
|
20
20
|
autoHideFilters?: boolean | undefined;
|
21
21
|
isFetching?: boolean | undefined;
|
22
|
-
}):
|
22
|
+
}): React.JSX.Element;
|
23
23
|
declare namespace FilterPanel {
|
24
24
|
namespace propTypes {
|
25
25
|
let autoHideFilters: PropTypes.Requireable<boolean>;
|
@@ -47,4 +47,5 @@ declare namespace FilterPanel {
|
|
47
47
|
let updateMethod: PropTypes.Requireable<string>;
|
48
48
|
}
|
49
49
|
}
|
50
|
+
import React from 'react';
|
50
51
|
import PropTypes from 'prop-types';
|
@@ -9,7 +9,7 @@ export function FilterProvider({ children, filters, filterProps, tableId }: {
|
|
9
9
|
filters: any;
|
10
10
|
filterProps: any;
|
11
11
|
tableId: any;
|
12
|
-
}):
|
12
|
+
}): React.JSX.Element;
|
13
13
|
export namespace FilterProvider {
|
14
14
|
namespace propTypes {
|
15
15
|
let children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
@@ -8,7 +8,7 @@ declare function OverflowCheckboxes({ components, filtersState, column, setFilte
|
|
8
8
|
applyFilters: any;
|
9
9
|
viewAllLabel?: string | undefined;
|
10
10
|
viewLessLabel?: string | undefined;
|
11
|
-
}):
|
11
|
+
}): React.JSX.Element;
|
12
12
|
declare namespace OverflowCheckboxes {
|
13
13
|
namespace propTypes {
|
14
14
|
let applyFilters: PropTypes.Requireable<(...args: any[]) => any>;
|
@@ -21,4 +21,5 @@ declare namespace OverflowCheckboxes {
|
|
21
21
|
let viewLessLabel: PropTypes.Requireable<string>;
|
22
22
|
}
|
23
23
|
}
|
24
|
+
import React from 'react';
|
24
25
|
import PropTypes from 'prop-types';
|
@@ -20,7 +20,7 @@ declare function useFilters({ updateMethod, filters, setAllFilters, variation, r
|
|
20
20
|
type: any;
|
21
21
|
column: any;
|
22
22
|
props: any;
|
23
|
-
}) => void |
|
23
|
+
}) => void | React.JSX.Element;
|
24
24
|
filtersObjectArray: any;
|
25
25
|
lastAppliedFilters: React.MutableRefObject<string>;
|
26
26
|
cancel: () => void;
|
package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts
CHANGED
@@ -8,7 +8,7 @@ export function InlineEditButton({ label, renderIcon: Icon, labelIcon: LabelIcon
|
|
8
8
|
isActiveCell: any;
|
9
9
|
columnConfig: any;
|
10
10
|
type: any;
|
11
|
-
}):
|
11
|
+
}): React.JSX.Element;
|
12
12
|
export namespace InlineEditButton {
|
13
13
|
namespace propTypes {
|
14
14
|
let columnConfig: PropTypes.Requireable<object>;
|
@@ -23,4 +23,5 @@ export namespace InlineEditButton {
|
|
23
23
|
let value: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
24
24
|
}
|
25
25
|
}
|
26
|
+
import React from 'react';
|
26
27
|
import PropTypes from 'prop-types';
|
package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts
CHANGED
@@ -8,7 +8,7 @@ export function InlineEditCell({ cell, config, disabledCell, instance, placehold
|
|
8
8
|
value: any;
|
9
9
|
nonEditCell?: boolean | undefined;
|
10
10
|
type: any;
|
11
|
-
}):
|
11
|
+
}): React.JSX.Element;
|
12
12
|
export namespace InlineEditCell {
|
13
13
|
namespace propTypes {
|
14
14
|
let cell: PropTypes.Requireable<object>;
|
@@ -29,4 +29,5 @@ export namespace InlineEditCell {
|
|
29
29
|
let value: PropTypes.Requireable<NonNullable<object | PropTypes.ReactNodeLike>>;
|
30
30
|
}
|
31
31
|
}
|
32
|
+
import React from 'react';
|
32
33
|
import PropTypes from 'prop-types';
|
package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export const InlineEditContext: React.Context<any>;
|
2
2
|
export function InlineEditProvider({ children }: {
|
3
3
|
children: any;
|
4
|
-
}):
|
4
|
+
}): React.JSX.Element;
|
5
5
|
export namespace InlineEditProvider {
|
6
6
|
namespace propTypes {
|
7
7
|
let children: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
@@ -3,7 +3,7 @@ declare function RowSizeDropdown({ align, legendText, ...props }: {
|
|
3
3
|
[x: string]: any;
|
4
4
|
align?: string | undefined;
|
5
5
|
legendText?: string | undefined;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
declare namespace RowSizeDropdown {
|
8
8
|
namespace propTypes {
|
9
9
|
let align: any;
|
@@ -14,4 +14,5 @@ declare namespace RowSizeDropdown {
|
|
14
14
|
let selectedOption: PropTypes.Requireable<string>;
|
15
15
|
}
|
16
16
|
}
|
17
|
+
import React from 'react';
|
17
18
|
import PropTypes from 'prop-types';
|
@@ -4,7 +4,7 @@ export function EmptyStateContent({ action, link, size, subtitle, title }: {
|
|
4
4
|
size: any;
|
5
5
|
subtitle: any;
|
6
6
|
title: any;
|
7
|
-
}):
|
7
|
+
}): React.JSX.Element;
|
8
8
|
export namespace EmptyStateContent {
|
9
9
|
export { componentName as displayName };
|
10
10
|
export namespace propTypes {
|
@@ -15,6 +15,7 @@ export namespace EmptyStateContent {
|
|
15
15
|
let title: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
16
16
|
}
|
17
17
|
}
|
18
|
+
import React from 'react';
|
18
19
|
declare const componentName: "EmptyStateContent";
|
19
20
|
import PropTypes from 'prop-types';
|
20
21
|
export {};
|
@@ -2,10 +2,11 @@ export default EmptyStateIllustration;
|
|
2
2
|
declare function EmptyStateIllustration({ kind, ...rest }: {
|
3
3
|
[x: string]: any;
|
4
4
|
kind: any;
|
5
|
-
}):
|
5
|
+
}): React.JSX.Element;
|
6
6
|
declare namespace EmptyStateIllustration {
|
7
7
|
namespace propTypes {
|
8
8
|
let kind: PropTypes.Requireable<string>;
|
9
9
|
}
|
10
10
|
}
|
11
|
+
import React from 'react';
|
11
12
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function ErrorIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace ErrorIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace ErrorIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default ErrorIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NoDataIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NoDataIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NoDataIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NoDataIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NoTagsIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NoTagsIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NoTagsIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NoTagsIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NotFoundIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NotFoundIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NotFoundIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NotFoundIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function NotificationsIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace NotificationsIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace NotificationsIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default NotificationsIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -3,7 +3,7 @@ export function UnauthorizedIllustration({ theme, size, alt, ...rest }: {
|
|
3
3
|
theme: any;
|
4
4
|
size: any;
|
5
5
|
alt: any;
|
6
|
-
}):
|
6
|
+
}): React.JSX.Element;
|
7
7
|
export namespace UnauthorizedIllustration {
|
8
8
|
namespace propTypes {
|
9
9
|
let alt: PropTypes.Validator<string>;
|
@@ -12,4 +12,5 @@ export namespace UnauthorizedIllustration {
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
export default UnauthorizedIllustration;
|
15
|
+
import React from 'react';
|
15
16
|
import PropTypes from 'prop-types';
|
@@ -13,6 +13,10 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
13
13
|
* Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
|
14
14
|
*/
|
15
15
|
actionIcons?: ActionIcon[];
|
16
|
+
/**
|
17
|
+
* 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.
|
18
|
+
*/
|
19
|
+
aiLabel?: ReactNode | boolean;
|
16
20
|
/**
|
17
21
|
* Content that shows in the body of the card
|
18
22
|
*/
|
@@ -87,6 +91,7 @@ export interface ExpressiveCardProps extends PropsWithChildren {
|
|
87
91
|
/**
|
88
92
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
89
93
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
94
|
+
* @deprecated please use the `aiLabel` prop
|
90
95
|
*/
|
91
96
|
slug?: ReactNode | boolean;
|
92
97
|
/**
|
@@ -36,6 +36,10 @@ ExpressiveCard.propTypes = {
|
|
36
36
|
iconDescription: PropTypes.string,
|
37
37
|
href: PropTypes.string
|
38
38
|
})),
|
39
|
+
/**
|
40
|
+
* 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.
|
41
|
+
*/
|
42
|
+
aiLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
39
43
|
/**
|
40
44
|
* Content that shows in the body of the card
|
41
45
|
*/
|
@@ -114,6 +118,7 @@ ExpressiveCard.propTypes = {
|
|
114
118
|
/**
|
115
119
|
* **Experimental:** For all cases a `Slug` component can be provided.
|
116
120
|
* Clickable tiles only accept a boolean value of true and display a hollow slug.
|
121
|
+
* @deprecated please use the `aiLabel` prop
|
117
122
|
*/
|
118
123
|
slug: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
|
119
124
|
/**
|
@@ -19,7 +19,7 @@ declare const FeatureFlagContext: React.Context<any>;
|
|
19
19
|
declare function FeatureFlags({ children, flags }: {
|
20
20
|
children: any;
|
21
21
|
flags?: {} | undefined;
|
22
|
-
}):
|
22
|
+
}): React.JSX.Element;
|
23
23
|
declare namespace FeatureFlags {
|
24
24
|
var propTypes: {
|
25
25
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
export function Error403SVG({ className, title }: {
|
2
2
|
className: any;
|
3
3
|
title: any;
|
4
|
-
}):
|
4
|
+
}): React.JSX.Element;
|
5
5
|
export namespace Error403SVG {
|
6
6
|
namespace propTypes {
|
7
7
|
export { string as className };
|
8
8
|
export { string as title };
|
9
9
|
}
|
10
10
|
}
|
11
|
+
import React from 'react';
|
11
12
|
import { string } from 'prop-types';
|
@@ -1,11 +1,12 @@
|
|
1
1
|
export function Error404SVG({ className, title }: {
|
2
2
|
className: any;
|
3
3
|
title: any;
|
4
|
-
}):
|
4
|
+
}): React.JSX.Element;
|
5
5
|
export namespace Error404SVG {
|
6
6
|
namespace propTypes {
|
7
7
|
export { string as className };
|
8
8
|
export { string as title };
|
9
9
|
}
|
10
10
|
}
|
11
|
+
import React from 'react';
|
11
12
|
import { string } from 'prop-types';
|