@carbon/ibm-products 2.54.0-rc.1 → 2.55.0-rc.0
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 +90 -21
- 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 +14 -8
- 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 +14 -8
- 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 +27 -11
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/es/components/APIKeyModal/APIKeyModal.js +42 -6
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +10 -1
- package/es/components/AboutModal/AboutModal.js +3 -6
- package/es/components/AddSelect/AddSelect.d.ts +2 -2
- package/es/components/AddSelect/AddSelect.js +1 -0
- package/es/components/AddSelect/AddSelectBody.d.ts +2 -2
- package/es/components/AddSelect/AddSelectBody.js +1 -0
- package/es/components/AddSelect/hooks/useFocus.js +1 -2
- package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/es/components/AddSelect/hooks/usePath.js +1 -2
- package/es/components/Card/Card.js +13 -9
- package/es/components/Checklist/Checklist.js +1 -1
- package/es/components/Checklist/ChecklistIcon.js +1 -1
- package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/es/components/ConditionBuilder/utils/util.js +0 -4
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
- package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/es/components/Datagrid/useCustomizeColumns.js +4 -4
- package/es/components/Datagrid/useDatagrid.js +2 -2
- package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/es/components/Datagrid/useEditableCell.js +1 -2
- package/es/components/Datagrid/useFlexResize.js +1 -2
- package/es/components/Datagrid/useFloatingScroll.js +1 -2
- package/es/components/Datagrid/useNestedRowExpander.js +1 -2
- package/es/components/Datagrid/useParentDimensions.js +1 -2
- package/es/components/Datagrid/useResizeTable.js +1 -2
- package/es/components/Datagrid/useRowExpander.js +1 -2
- package/es/components/Datagrid/useRowRenderer.js +1 -2
- package/es/components/Datagrid/useRowSize.js +1 -2
- package/es/components/Datagrid/useSkeletonRows.js +1 -2
- package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/es/components/DecoratorLink/DecoratorLink.js +5 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/es/components/DescriptionList/DescriptionList.js +5 -0
- package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/es/components/EditFullPage/EditFullPage.js +8 -0
- package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/es/components/EditSidePanel/EditSidePanel.js +8 -0
- package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/es/components/EditTearsheet/EditTearsheet.js +8 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/es/components/EmptyStates/EmptyStateV2.js +7 -0
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanel.js +6 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/es/components/Nav/Nav.d.ts +3 -0
- package/es/components/Nav/Nav.js +8 -0
- package/es/components/Nav/NavItemLink.js +1 -2
- package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicator.js +5 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/es/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetShell.d.ts +1 -1
- package/es/components/Tearsheet/TearsheetShell.js +3 -24
- package/es/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/es/components/TooltipTrigger/TooltipTrigger.js +3 -2
- package/es/components/UserAvatar/UserAvatar.js +1 -3
- package/es/global/js/hooks/useFocus.d.ts +1 -0
- package/es/global/js/hooks/useFocus.js +21 -1
- package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/es/index.js +1 -1
- package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
- package/lib/components/APIKeyModal/APIKeyModal.js +41 -5
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +10 -1
- package/lib/components/AboutModal/AboutModal.js +2 -5
- package/lib/components/AddSelect/AddSelect.d.ts +2 -2
- package/lib/components/AddSelect/AddSelect.js +1 -0
- package/lib/components/AddSelect/AddSelectBody.d.ts +2 -2
- package/lib/components/AddSelect/AddSelectBody.js +1 -0
- package/lib/components/AddSelect/hooks/useFocus.js +1 -2
- package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
- package/lib/components/AddSelect/hooks/usePath.js +1 -2
- package/lib/components/Card/Card.js +12 -8
- package/lib/components/Checklist/ChecklistChart.js +7 -7
- package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
- package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
- package/lib/components/ConditionBuilder/utils/util.js +0 -4
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
- package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
- package/lib/components/Datagrid/useColumnOrder.js +1 -1
- package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
- package/lib/components/Datagrid/useEditableCell.js +1 -2
- package/lib/components/Datagrid/useFlexResize.js +1 -2
- package/lib/components/Datagrid/useFloatingScroll.js +1 -2
- package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
- package/lib/components/Datagrid/useParentDimensions.js +1 -2
- package/lib/components/Datagrid/useResizeTable.js +1 -2
- package/lib/components/Datagrid/useRowExpander.js +1 -2
- package/lib/components/Datagrid/useRowRenderer.js +1 -2
- package/lib/components/Datagrid/useRowSize.js +1 -2
- package/lib/components/Datagrid/useSkeletonRows.js +1 -2
- package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
- package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
- package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
- package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
- package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
- package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
- package/lib/components/DescriptionList/DescriptionList.js +5 -0
- package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
- package/lib/components/EditFullPage/EditFullPage.js +8 -0
- package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
- package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
- package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
- package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
- package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
- package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
- package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
- package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
- package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanel.js +6 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
- package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
- package/lib/components/Nav/Nav.d.ts +3 -0
- package/lib/components/Nav/Nav.js +8 -0
- package/lib/components/Nav/NavItemLink.js +1 -2
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
- package/lib/components/Tearsheet/Tearsheet.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetNarrow.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetShell.d.ts +1 -1
- package/lib/components/Tearsheet/TearsheetShell.js +2 -23
- package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +1 -1
- package/lib/components/TooltipTrigger/TooltipTrigger.js +3 -2
- package/lib/components/UserAvatar/UserAvatar.js +1 -3
- package/lib/global/js/hooks/useFocus.d.ts +1 -0
- package/lib/global/js/hooks/useFocus.js +21 -0
- package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
- package/lib/index.js +109 -109
- package/package.json +11 -11
- package/scss/components/Datagrid/styles/_datagrid.scss +16 -6
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
@@ -73,6 +73,5 @@ var useFloatingScroll = function useFloatingScroll(hooks) {
|
|
73
73
|
hooks.useInstance.push(useAddScrollListener);
|
74
74
|
hooks.useInstance.push(useInstance);
|
75
75
|
};
|
76
|
-
var useFloatingScroll$1 = useFloatingScroll;
|
77
76
|
|
78
|
-
export { useFloatingScroll
|
77
|
+
export { useFloatingScroll as default };
|
@@ -115,6 +115,5 @@ var useNestedRowExpander = function useNestedRowExpander(hooks) {
|
|
115
115
|
hooks.visibleColumns.push(visibleColumns);
|
116
116
|
hooks.useInstance.push(useInstance);
|
117
117
|
};
|
118
|
-
var useNestedRowExpander$1 = useNestedRowExpander;
|
119
118
|
|
120
|
-
export { useNestedRowExpander
|
119
|
+
export { useNestedRowExpander as default };
|
@@ -55,6 +55,5 @@ var useParentDimensions = function useParentDimensions(hooks) {
|
|
55
55
|
};
|
56
56
|
hooks.useInstance.push(useInstance);
|
57
57
|
};
|
58
|
-
var useParentDimensions$1 = useParentDimensions;
|
59
58
|
|
60
|
-
export { useParentDimensions
|
59
|
+
export { useParentDimensions as default };
|
@@ -32,6 +32,5 @@ var useResizeTable = function useResizeTable(hooks) {
|
|
32
32
|
};
|
33
33
|
hooks.useInstanceBeforeDimensions.push(useInstanceBeforeDimensions);
|
34
34
|
};
|
35
|
-
var useResizeTable$1 = useResizeTable;
|
36
35
|
|
37
|
-
export { useResizeTable
|
36
|
+
export { useResizeTable as default };
|
@@ -65,6 +65,5 @@ var useRowExpander = function useRowExpander(hooks) {
|
|
65
65
|
hooks.visibleColumns.push(visibleColumns);
|
66
66
|
hooks.useInstance.push(useInstance);
|
67
67
|
};
|
68
|
-
var useRowExpander$1 = useRowExpander;
|
69
68
|
|
70
|
-
export { useRowExpander
|
69
|
+
export { useRowExpander as default };
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* The DecoratorDualButton groups a key/value pair where the key and value each behave like a button.
|
3
|
+
* @deprecated This component is deprecated
|
3
4
|
*/
|
4
5
|
export let DecoratorDualButton: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
5
6
|
import React from 'react';
|
@@ -17,6 +17,7 @@ var componentName = 'DecoratorDualButton';
|
|
17
17
|
|
18
18
|
/**
|
19
19
|
* The DecoratorDualButton groups a key/value pair where the key and value each behave like a button.
|
20
|
+
* @deprecated This component is deprecated
|
20
21
|
*/
|
21
22
|
var DecoratorDualButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
22
23
|
var validProps = prepareProps(props, ['href', 'kind', 'onClick', 'onContextMenu']);
|
@@ -26,6 +27,10 @@ var DecoratorDualButton = /*#__PURE__*/React__default.forwardRef(function (props
|
|
26
27
|
kind: "dual-button"
|
27
28
|
}, getDevtoolsProps(componentName)));
|
28
29
|
});
|
30
|
+
DecoratorDualButton.deprecated = {
|
31
|
+
level: 'warn',
|
32
|
+
details: "This component is deprecated"
|
33
|
+
};
|
29
34
|
|
30
35
|
// Return a placeholder if not released and not enabled by feature flag
|
31
36
|
DecoratorDualButton = pkg.checkComponentEnabled(DecoratorDualButton, componentName);
|
@@ -17,6 +17,7 @@ var componentName = 'DecoratorLink';
|
|
17
17
|
|
18
18
|
/**
|
19
19
|
* The DecoratorLink groups a key/value pair to behave like a link.
|
20
|
+
* @deprecated This component is deprecated
|
20
21
|
*/
|
21
22
|
var DecoratorLink = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
22
23
|
var validProps = prepareProps(props, ['disabled', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
|
@@ -26,6 +27,10 @@ var DecoratorLink = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
26
27
|
kind: "link"
|
27
28
|
}, getDevtoolsProps(componentName)));
|
28
29
|
});
|
30
|
+
DecoratorLink.deprecated = {
|
31
|
+
level: 'warn',
|
32
|
+
details: "This component is deprecated"
|
33
|
+
};
|
29
34
|
|
30
35
|
// Return a placeholder if not released and not enabled by feature flag
|
31
36
|
DecoratorLink = pkg.checkComponentEnabled(DecoratorLink, componentName);
|
@@ -17,6 +17,7 @@ var componentName = 'DecoratorSingleButton';
|
|
17
17
|
|
18
18
|
/**
|
19
19
|
* The DecoratorSingleButton groups a key/value pair to behave like a button.
|
20
|
+
* @deprecated This component is deprecated
|
20
21
|
*/
|
21
22
|
var DecoratorSingleButton = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
22
23
|
var validProps = prepareProps(props, ['href', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
|
@@ -26,6 +27,10 @@ var DecoratorSingleButton = /*#__PURE__*/React__default.forwardRef(function (pro
|
|
26
27
|
kind: "single-button"
|
27
28
|
}, getDevtoolsProps(componentName)));
|
28
29
|
});
|
30
|
+
DecoratorSingleButton.deprecated = {
|
31
|
+
level: 'warn',
|
32
|
+
details: "This component is deprecated"
|
33
|
+
};
|
29
34
|
|
30
35
|
// Return a placeholder if not released and not enabled by feature flag
|
31
36
|
DecoratorSingleButton = pkg.checkComponentEnabled(DecoratorSingleButton, componentName);
|
@@ -39,6 +39,7 @@ var defaults = {
|
|
39
39
|
|
40
40
|
/**
|
41
41
|
* Type layouts provide an orderly layout of terms and definitions.
|
42
|
+
* @deprecated This component is deprecated
|
42
43
|
*/
|
43
44
|
var DescriptionList = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
44
45
|
var _ref$border = _ref.border,
|
@@ -58,6 +59,10 @@ var DescriptionList = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
|
|
58
59
|
selection: false
|
59
60
|
}, children));
|
60
61
|
});
|
62
|
+
DescriptionList.deprecated = {
|
63
|
+
level: 'warn',
|
64
|
+
details: "This component is deprecated"
|
65
|
+
};
|
61
66
|
|
62
67
|
// Return a placeholder if not released and not enabled by feature flag
|
63
68
|
DescriptionList = pkg.checkComponentEnabled(DescriptionList, componentName);
|
@@ -16,7 +16,9 @@ export interface EditFullPageProps {
|
|
16
16
|
children: ReactNode;
|
17
17
|
}
|
18
18
|
/**
|
19
|
+
* **This component is deprecated.** <br>
|
19
20
|
* Use when settings on a page need to always be shown in edit mode, or when the context of the page is needed to make several changes.
|
20
21
|
* See usage guidance for further details.
|
22
|
+
* @deprecated
|
21
23
|
*/
|
22
24
|
export declare let EditFullPage: React.ForwardRefExoticComponent<EditFullPageProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -38,8 +38,10 @@ var componentName = 'EditFullPage';
|
|
38
38
|
// };
|
39
39
|
|
40
40
|
/**
|
41
|
+
* **This component is deprecated.** <br>
|
41
42
|
* Use when settings on a page need to always be shown in edit mode, or when the context of the page is needed to make several changes.
|
42
43
|
* See usage guidance for further details.
|
44
|
+
* @deprecated
|
43
45
|
*/
|
44
46
|
var EditFullPage = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
45
47
|
var className = _ref.className,
|
@@ -60,6 +62,12 @@ var EditFullPage = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
60
62
|
}, getDevtoolsProps(componentName)), children);
|
61
63
|
});
|
62
64
|
|
65
|
+
/**@ts-ignore*/
|
66
|
+
EditFullPage.deprecated = {
|
67
|
+
level: 'warn',
|
68
|
+
details: "This component is deprecated and will be removed in the next major version."
|
69
|
+
};
|
70
|
+
|
63
71
|
// Return a placeholder if not released and not enabled by feature flag
|
64
72
|
EditFullPage = pkg.checkComponentEnabled(EditFullPage, componentName);
|
65
73
|
|
@@ -89,6 +89,8 @@ export interface EditSidePanelProps {
|
|
89
89
|
title: string;
|
90
90
|
}
|
91
91
|
/**
|
92
|
+
* **This component is deprecated.** <br>
|
92
93
|
* Use with medium complexity edits if the user needs page context.
|
94
|
+
* @deprecated
|
93
95
|
*/
|
94
96
|
export declare let EditSidePanel: React.ForwardRefExoticComponent<EditSidePanelProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -25,7 +25,9 @@ var componentName = 'EditSidePanel';
|
|
25
25
|
// NOTE: the component SCSS is not imported here: it is rolled up separately.
|
26
26
|
|
27
27
|
/**
|
28
|
+
* **This component is deprecated.** <br>
|
28
29
|
* Use with medium complexity edits if the user needs page context.
|
30
|
+
* @deprecated
|
29
31
|
*/
|
30
32
|
var EditSidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
31
33
|
var children = _ref.children,
|
@@ -92,6 +94,12 @@ var EditSidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
|
|
92
94
|
}, children));
|
93
95
|
});
|
94
96
|
|
97
|
+
/**@ts-ignore*/
|
98
|
+
EditSidePanel.deprecated = {
|
99
|
+
level: 'warn',
|
100
|
+
details: "This component is deprecated and will be removed in the next major version."
|
101
|
+
};
|
102
|
+
|
95
103
|
// Return a placeholder if not released and not enabled by feature flag
|
96
104
|
EditSidePanel = pkg.checkComponentEnabled(EditSidePanel, componentName);
|
97
105
|
|
@@ -81,7 +81,9 @@ interface EditTearsheetProps extends PropsWithChildren {
|
|
81
81
|
verticalPosition?: 'normal' | 'lower';
|
82
82
|
}
|
83
83
|
/**
|
84
|
+
* **This component is deprecated.** <br>
|
84
85
|
* Use Tearsheet with medium to complex edits. See usage guidance for further information.
|
86
|
+
* @deprecated
|
85
87
|
*/
|
86
88
|
export declare let EditTearsheet: React.ForwardRefExoticComponent<EditTearsheetProps & React.RefAttributes<HTMLDivElement>>;
|
87
89
|
export {};
|
@@ -38,7 +38,9 @@ var defaults = {
|
|
38
38
|
// corresponding props for TearsheetNarrow and TearsheetShell components.
|
39
39
|
|
40
40
|
/**
|
41
|
+
* **This component is deprecated.** <br>
|
41
42
|
* Use Tearsheet with medium to complex edits. See usage guidance for further information.
|
43
|
+
* @deprecated
|
42
44
|
*/
|
43
45
|
var EditTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
44
46
|
var cancelButtonText = _ref.cancelButtonText,
|
@@ -171,6 +173,12 @@ var EditTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
171
173
|
})))));
|
172
174
|
});
|
173
175
|
|
176
|
+
/**@ts-ignore*/
|
177
|
+
EditTearsheet.deprecated = {
|
178
|
+
level: 'warn',
|
179
|
+
details: "This component is deprecated and will be removed in the next major version."
|
180
|
+
};
|
181
|
+
|
174
182
|
// Return a placeholder if not released and not enabled by feature flag
|
175
183
|
EditTearsheet = pkg.checkComponentEnabled(EditTearsheet, componentName);
|
176
184
|
|
@@ -16,6 +16,8 @@ export interface EditTearsheetNarrowProps {
|
|
16
16
|
className?: string;
|
17
17
|
}
|
18
18
|
/**
|
19
|
+
* **This component is deprecated.** <br>
|
19
20
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
|
21
|
+
* @deprecated
|
20
22
|
*/
|
21
23
|
export declare let EditTearsheetNarrow: React.ForwardRefExoticComponent<EditTearsheetNarrowProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -38,7 +38,9 @@ var componentName = 'EditTearsheetNarrow';
|
|
38
38
|
// };
|
39
39
|
|
40
40
|
/**
|
41
|
+
* **This component is deprecated.** <br>
|
41
42
|
* Use a narrow tearsheet as an alternative to a modal when there is scrolling. See usage guidance for further information.
|
43
|
+
* @deprecated
|
42
44
|
*/
|
43
45
|
var EditTearsheetNarrow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
44
46
|
var children = _ref.children,
|
@@ -59,6 +61,12 @@ var EditTearsheetNarrow = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
59
61
|
}, getDevtoolsProps(componentName)), children);
|
60
62
|
});
|
61
63
|
|
64
|
+
/**@ts-ignore*/
|
65
|
+
EditTearsheetNarrow.deprecated = {
|
66
|
+
level: 'warn',
|
67
|
+
details: "This component is deprecated and will be removed in the next major version."
|
68
|
+
};
|
69
|
+
|
62
70
|
// Return a placeholder if not released and not enabled by feature flag
|
63
71
|
EditTearsheetNarrow = pkg.checkComponentEnabled(EditTearsheetNarrow, componentName);
|
64
72
|
|
@@ -102,9 +102,11 @@ export interface EditUpdateCardsProps {
|
|
102
102
|
titleSize?: 'default' | 'large';
|
103
103
|
}
|
104
104
|
/**
|
105
|
+
* **This component is deprecated.** <br>
|
105
106
|
Editable cards allow a user to view, modify, and save the content contained within the card.
|
106
107
|
These cards are generally used in instances where a user needs to make changes to a resource instances
|
107
108
|
(ex. configuration details), account plan, etc. Editable cards allow a user to edit something within context.
|
109
|
+
@deprecated
|
108
110
|
*/
|
109
111
|
export declare let EditUpdateCards: React.ForwardRefExoticComponent<EditUpdateCardsProps & React.RefAttributes<HTMLDivElement>>;
|
110
112
|
export {};
|
@@ -41,9 +41,11 @@ var componentName = 'EditUpdateCards';
|
|
41
41
|
// };
|
42
42
|
|
43
43
|
/**
|
44
|
+
* **This component is deprecated.** <br>
|
44
45
|
Editable cards allow a user to view, modify, and save the content contained within the card.
|
45
46
|
These cards are generally used in instances where a user needs to make changes to a resource instances
|
46
47
|
(ex. configuration details), account plan, etc. Editable cards allow a user to edit something within context.
|
48
|
+
@deprecated
|
47
49
|
*/
|
48
50
|
var EditUpdateCards = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
49
51
|
var actionIcons = _ref.actionIcons,
|
@@ -95,6 +97,12 @@ var EditUpdateCards = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
|
|
95
97
|
}, editMode && conditionalProps), editMode === false && /*#__PURE__*/React__default.createElement("div", null, previewChildren), editMode && /*#__PURE__*/React__default.createElement("div", null, editChildren)));
|
96
98
|
});
|
97
99
|
|
100
|
+
/**@ts-ignore*/
|
101
|
+
EditUpdateCards.deprecated = {
|
102
|
+
level: 'warn',
|
103
|
+
details: "This component is deprecated and will be removed in the next major version."
|
104
|
+
};
|
105
|
+
|
98
106
|
// Return a placeholder if not released and not enabled by feature flag
|
99
107
|
EditUpdateCards = pkg.checkComponentEnabled(EditUpdateCards, componentName);
|
100
108
|
|
@@ -57,6 +57,5 @@ var EmptyStateIllustration = function EmptyStateIllustration(_ref) {
|
|
57
57
|
EmptyStateIllustration.propTypes = {
|
58
58
|
kind: PropTypes.string
|
59
59
|
};
|
60
|
-
var EmptyStateIllustration$1 = EmptyStateIllustration;
|
61
60
|
|
62
|
-
export { EmptyStateIllustration
|
61
|
+
export { EmptyStateIllustration as default };
|
@@ -62,5 +62,6 @@ export interface EmptyStateV2Props {
|
|
62
62
|
/**
|
63
63
|
* This is the V2 version of the `EmptyState` component. To use you must pass the `v2` prop to the V1 version of the component `EmptyState` and use the props below.
|
64
64
|
* In order to avoid breaking changes in the future `EmptyStateV2` is not actually directly importable.
|
65
|
+
* @deprecated
|
65
66
|
*/
|
66
67
|
export declare let EmptyStateV2: React.ForwardRefExoticComponent<EmptyStateV2Props & React.RefAttributes<HTMLDivElement>>;
|
@@ -21,6 +21,7 @@ var componentName = 'EmptyStateV2';
|
|
21
21
|
/**
|
22
22
|
* This is the V2 version of the `EmptyState` component. To use you must pass the `v2` prop to the V1 version of the component `EmptyState` and use the props below.
|
23
23
|
* In order to avoid breaking changes in the future `EmptyStateV2` is not actually directly importable.
|
24
|
+
* @deprecated
|
24
25
|
*/
|
25
26
|
|
26
27
|
var EmptyStateV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
@@ -65,6 +66,12 @@ var EmptyStateV2 = /*#__PURE__*/React__default.forwardRef(function (props, ref)
|
|
65
66
|
}), link.text)));
|
66
67
|
});
|
67
68
|
|
69
|
+
/**@ts-ignore*/
|
70
|
+
EmptyStateV2.deprecated = {
|
71
|
+
level: 'warn',
|
72
|
+
details: 'For more information, please refer to the Carbon docs https://carbondesignsystem.com/patterns/empty-states-pattern/'
|
73
|
+
};
|
74
|
+
|
68
75
|
// Return a placeholder if not released and not enabled by feature flag
|
69
76
|
EmptyStateV2 = pkg.checkComponentEnabled(EmptyStateV2, componentName);
|
70
77
|
EmptyStateV2.propTypes = {
|
@@ -13,7 +13,7 @@ import cx from 'classnames';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import ErrorIllustration from '../assets/ErrorIllustration.js';
|
16
|
+
import { ErrorIllustration } from '../assets/ErrorIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationDescription", "illustrationTheme", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NoDataIllustration from '../assets/NoDataIllustration.js';
|
16
|
+
import { NoDataIllustration } from '../assets/NoDataIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NoTagsIllustration from '../assets/NoTagsIllustration.js';
|
16
|
+
import { NoTagsIllustration } from '../assets/NoTagsIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NotFoundIllustration from '../assets/NotFoundIllustration.js';
|
16
|
+
import { NotFoundIllustration } from '../assets/NotFoundIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import NotificationsIllustration from '../assets/NotificationsIllustration.js';
|
16
|
+
import { NotificationsIllustration } from '../assets/NotificationsIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -13,7 +13,7 @@ import { Button, Link } from '@carbon/react';
|
|
13
13
|
import { getDevtoolsProps } from '../../../global/js/utils/devtools.js';
|
14
14
|
import { pkg } from '../../../settings.js';
|
15
15
|
import { EmptyStateContent } from '../EmptyStateContent.js';
|
16
|
-
import UnauthorizedIllustration from '../assets/UnauthorizedIllustration.js';
|
16
|
+
import { UnauthorizedIllustration } from '../assets/UnauthorizedIllustration.js';
|
17
17
|
import { defaults } from '../EmptyState.js';
|
18
18
|
|
19
19
|
var _excluded = ["action", "className", "illustrationPosition", "illustrationTheme", "illustrationDescription", "link", "size", "subtitle", "title"];
|
@@ -211,6 +211,5 @@ ErrorIllustration.propTypes = {
|
|
211
211
|
size: PropTypes.oneOf(['lg', 'sm']),
|
212
212
|
theme: PropTypes.oneOf(['light', 'dark'])
|
213
213
|
};
|
214
|
-
var ErrorIllustration$1 = ErrorIllustration;
|
215
214
|
|
216
|
-
export { ErrorIllustration, ErrorIllustration
|
215
|
+
export { ErrorIllustration, ErrorIllustration as default };
|
@@ -174,6 +174,5 @@ NoDataIllustration.propTypes = {
|
|
174
174
|
size: PropTypes.oneOf(['lg', 'sm']),
|
175
175
|
theme: PropTypes.oneOf(['light', 'dark'])
|
176
176
|
};
|
177
|
-
var NoDataIllustration$1 = NoDataIllustration;
|
178
177
|
|
179
|
-
export { NoDataIllustration, NoDataIllustration
|
178
|
+
export { NoDataIllustration, NoDataIllustration as default };
|
@@ -481,6 +481,5 @@ NoTagsIllustration.propTypes = {
|
|
481
481
|
size: PropTypes.oneOf(['lg', 'sm']),
|
482
482
|
theme: PropTypes.oneOf(['light', 'dark'])
|
483
483
|
};
|
484
|
-
var NoTagsIllustration$1 = NoTagsIllustration;
|
485
484
|
|
486
|
-
export { NoTagsIllustration, NoTagsIllustration
|
485
|
+
export { NoTagsIllustration, NoTagsIllustration as default };
|
@@ -358,6 +358,5 @@ NotFoundIllustration.propTypes = {
|
|
358
358
|
size: PropTypes.oneOf(['lg', 'sm']),
|
359
359
|
theme: PropTypes.oneOf(['light', 'dark'])
|
360
360
|
};
|
361
|
-
var NotFoundIllustration$1 = NotFoundIllustration;
|
362
361
|
|
363
|
-
export { NotFoundIllustration, NotFoundIllustration
|
362
|
+
export { NotFoundIllustration, NotFoundIllustration as default };
|
@@ -328,6 +328,5 @@ NotificationsIllustration.propTypes = {
|
|
328
328
|
size: PropTypes.oneOf(['lg', 'sm']),
|
329
329
|
theme: PropTypes.oneOf(['light', 'dark'])
|
330
330
|
};
|
331
|
-
var NotificationsIllustration$1 = NotificationsIllustration;
|
332
331
|
|
333
|
-
export { NotificationsIllustration, NotificationsIllustration
|
332
|
+
export { NotificationsIllustration, NotificationsIllustration as default };
|
@@ -302,6 +302,5 @@ UnauthorizedIllustration.propTypes = {
|
|
302
302
|
size: PropTypes.oneOf(['lg', 'sm']),
|
303
303
|
theme: PropTypes.oneOf(['light', 'dark'])
|
304
304
|
};
|
305
|
-
var UnauthorizedIllustration$1 = UnauthorizedIllustration;
|
306
305
|
|
307
|
-
export { UnauthorizedIllustration, UnauthorizedIllustration
|
306
|
+
export { UnauthorizedIllustration, UnauthorizedIllustration as default };
|
@@ -20,7 +20,9 @@ var componentName = 'FilterPanel';
|
|
20
20
|
|
21
21
|
/**
|
22
22
|
* The container for filter panel subcomponents.
|
23
|
+
* @deprecated This component is deprecated
|
23
24
|
*/
|
25
|
+
|
24
26
|
var FilterPanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
25
27
|
var children = _ref.children,
|
26
28
|
className = _ref.className,
|
@@ -33,6 +35,10 @@ var FilterPanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
33
35
|
className: "".concat(blockClass, "__title")
|
34
36
|
}, title), children);
|
35
37
|
});
|
38
|
+
FilterPanel.deprecated = {
|
39
|
+
level: 'warn',
|
40
|
+
details: "This component is deprecated"
|
41
|
+
};
|
36
42
|
|
37
43
|
// Return a placeholder if not released and not enabled by feature flag
|
38
44
|
FilterPanel = pkg.checkComponentEnabled(FilterPanel, componentName);
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* A container with a label and optional count.
|
29
|
+
* @deprecated This component is deprecated
|
29
30
|
*/
|
30
31
|
var FilterPanelAccordion = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
31
32
|
var _ref$accordionProps = _ref.accordionProps,
|
@@ -49,6 +50,10 @@ var FilterPanelAccordion = /*#__PURE__*/React__default.forwardRef(function (_ref
|
|
49
50
|
className: "".concat(blockClass, "__list")
|
50
51
|
}), children));
|
51
52
|
});
|
53
|
+
FilterPanelAccordion.deprecated = {
|
54
|
+
level: 'warn',
|
55
|
+
details: "This component is deprecated"
|
56
|
+
};
|
52
57
|
|
53
58
|
// Return a placeholder if not released and not enabled by feature flag
|
54
59
|
FilterPanelAccordion = pkg.checkComponentEnabled(FilterPanelAccordion, componentName);
|
@@ -27,6 +27,7 @@ var defaults = {
|
|
27
27
|
|
28
28
|
/**
|
29
29
|
* A container with a label and optional count.
|
30
|
+
* @deprecated This component is deprecated
|
30
31
|
*/
|
31
32
|
var FilterPanelAccordionItem = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
32
33
|
var _ref$accordionItemPro = _ref.accordionItemProps,
|
@@ -56,7 +57,10 @@ var FilterPanelAccordionItem = /*#__PURE__*/React__default.forwardRef(function (
|
|
56
57
|
}, child);
|
57
58
|
})));
|
58
59
|
});
|
59
|
-
|
60
|
+
FilterPanelAccordionItem.deprecated = {
|
61
|
+
level: 'warn',
|
62
|
+
details: "This component is deprecated"
|
63
|
+
};
|
60
64
|
// Return a placeholder if not released and not enabled by feature flag
|
61
65
|
FilterPanelAccordionItem = pkg.checkComponentEnabled(FilterPanelAccordionItem, componentName);
|
62
66
|
FilterPanelAccordionItem.displayName = componentName;
|
@@ -5,6 +5,7 @@
|
|
5
5
|
*
|
6
6
|
* All of Carbon Checkbox's props are directly available
|
7
7
|
* through "...rest", including id, onClick, etc.
|
8
|
+
* @deprecated This component is deprecated
|
8
9
|
*/
|
9
10
|
export let FilterPanelCheckbox: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
10
11
|
import React from 'react';
|