@carbon/ibm-products 2.54.0-canary.25 → 2.54.0-canary.29
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/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/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/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/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/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/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/package.json +4 -4
@@ -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);
|
@@ -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';
|
@@ -27,6 +27,7 @@ var componentName = 'FilterPanelCheckbox';
|
|
27
27
|
*
|
28
28
|
* All of Carbon Checkbox's props are directly available
|
29
29
|
* through "...rest", including id, onClick, etc.
|
30
|
+
* @deprecated This component is deprecated
|
30
31
|
*/
|
31
32
|
var FilterPanelCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
32
33
|
var className = _ref.className,
|
@@ -46,6 +47,10 @@ var FilterPanelCheckbox = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
46
47
|
ref: ref
|
47
48
|
}, getDevtoolsProps(componentName)));
|
48
49
|
});
|
50
|
+
FilterPanelCheckbox.deprecated = {
|
51
|
+
level: 'warn',
|
52
|
+
details: "This component is deprecated"
|
53
|
+
};
|
49
54
|
|
50
55
|
// Return a placeholder if not released and not enabled by feature flag
|
51
56
|
FilterPanelCheckbox = pkg.checkComponentEnabled(FilterPanelCheckbox, componentName);
|
@@ -5,6 +5,7 @@
|
|
5
5
|
* just like FilterPanelCheckbox.
|
6
6
|
*
|
7
7
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
8
|
+
* @deprecated This component is deprecated
|
8
9
|
*/
|
9
10
|
export let FilterPanelCheckboxWithOverflow: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
10
11
|
import React from 'react';
|
package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js
CHANGED
@@ -30,6 +30,7 @@ var defaults = {
|
|
30
30
|
* just like FilterPanelCheckbox.
|
31
31
|
*
|
32
32
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
33
|
+
* @deprecated This component is deprecated
|
33
34
|
*/
|
34
35
|
var FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
35
36
|
var children = _ref.children,
|
@@ -115,6 +116,10 @@ var FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default.forwardRef(fun
|
|
115
116
|
}, other), children))
|
116
117
|
);
|
117
118
|
});
|
119
|
+
FilterPanelCheckboxWithOverflow.deprecated = {
|
120
|
+
level: 'warn',
|
121
|
+
details: "This component is deprecated"
|
122
|
+
};
|
118
123
|
|
119
124
|
// Return a placeholder if not released and not enabled by feature flag
|
120
125
|
FilterPanelCheckboxWithOverflow = pkg.checkComponentEnabled(FilterPanelCheckboxWithOverflow, componentName);
|
@@ -21,6 +21,7 @@ var componentName = 'FilterPanelGroup';
|
|
21
21
|
|
22
22
|
/**
|
23
23
|
* A container with a label and optional count.
|
24
|
+
* @deprecated This component is deprecated
|
24
25
|
*/
|
25
26
|
var FilterPanelGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
26
27
|
var children = _ref.children,
|
@@ -42,6 +43,10 @@ var FilterPanelGroup = /*#__PURE__*/React__default.forwardRef(function (_ref, re
|
|
42
43
|
className: "".concat(blockClass, "__content")
|
43
44
|
}, children));
|
44
45
|
});
|
46
|
+
FilterPanelGroup.deprecated = {
|
47
|
+
level: 'warn',
|
48
|
+
details: "This component is deprecated"
|
49
|
+
};
|
45
50
|
|
46
51
|
// Return a placeholder if not released and not enabled by feature flag
|
47
52
|
FilterPanelGroup = pkg.checkComponentEnabled(FilterPanelGroup, componentName);
|
@@ -24,6 +24,7 @@ var defaults = {
|
|
24
24
|
|
25
25
|
/**
|
26
26
|
* An input field and container to show search results.
|
27
|
+
* @deprecated This component is deprecated
|
27
28
|
*/
|
28
29
|
var FilterPanelSearch = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
29
30
|
var children = _ref.children,
|
@@ -67,7 +68,10 @@ var FilterPanelSearch = /*#__PURE__*/React__default.forwardRef(function (_ref, r
|
|
67
68
|
className: "".concat(blockClass, "__results")
|
68
69
|
}, children));
|
69
70
|
});
|
70
|
-
|
71
|
+
FilterPanelSearch.deprecated = {
|
72
|
+
level: 'warn',
|
73
|
+
details: "This component is deprecated"
|
74
|
+
};
|
71
75
|
// Return a placeholder if not released and not enabled by feature flag
|
72
76
|
FilterPanelSearch = pkg.checkComponentEnabled(FilterPanelSearch, componentName);
|
73
77
|
FilterPanelSearch.displayName = componentName;
|
package/es/components/Nav/Nav.js
CHANGED
@@ -17,6 +17,10 @@ import { pkg } from '../../settings.js';
|
|
17
17
|
var _excluded = ["activeHref", "className", "children", "heading", "label"];
|
18
18
|
var componentName = 'Nav';
|
19
19
|
var blockClass = "".concat(pkg.prefix, "--nav");
|
20
|
+
|
21
|
+
/**
|
22
|
+
* @deprecated This component is deprecated
|
23
|
+
*/
|
20
24
|
var Nav = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
21
25
|
var activeHref = _ref.activeHref,
|
22
26
|
className = _ref.className,
|
@@ -121,6 +125,10 @@ var Nav = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
121
125
|
return (child === null || child === void 0 || (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === NavList.displayName ? buildNewListChild(child, index) : buildNewItemChild(child, index);
|
122
126
|
})));
|
123
127
|
});
|
128
|
+
Nav.deprecated = {
|
129
|
+
level: 'warn',
|
130
|
+
details: "This component is deprecated"
|
131
|
+
};
|
124
132
|
Nav.propTypes = {
|
125
133
|
/**
|
126
134
|
* Hypertext reference for active page.
|
@@ -27,6 +27,7 @@ var defaults = {
|
|
27
27
|
|
28
28
|
/**
|
29
29
|
* A list of icon/description pairs used to show multiple states of progress.
|
30
|
+
* @deprecated This component is deprecated
|
30
31
|
*/
|
31
32
|
var StatusIndicator = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
32
33
|
var children = _ref.children,
|
@@ -57,6 +58,10 @@ var StatusIndicator = /*#__PURE__*/React__default.forwardRef(function (_ref, ref
|
|
57
58
|
}
|
58
59
|
}, retryLabel));
|
59
60
|
});
|
61
|
+
StatusIndicator.deprecated = {
|
62
|
+
level: 'warn',
|
63
|
+
details: "This component is deprecated"
|
64
|
+
};
|
60
65
|
|
61
66
|
// Return a placeholder if not released and not enabled by feature flag
|
62
67
|
StatusIndicator = pkg.checkComponentEnabled(StatusIndicator, componentName);
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* An icon/description pair that describes one step of the `StatusIndicator`.
|
29
|
+
* @deprecated This component is deprecated
|
29
30
|
*/
|
30
31
|
var StatusIndicatorStep = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
31
32
|
var className = _ref.className,
|
@@ -54,6 +55,10 @@ var StatusIndicatorStep = /*#__PURE__*/React__default.forwardRef(function (_ref,
|
|
54
55
|
className: "".concat(blockClass, "__error-message")
|
55
56
|
}, errorMessage));
|
56
57
|
});
|
58
|
+
StatusIndicatorStep.deprecated = {
|
59
|
+
level: 'warn',
|
60
|
+
details: "This component is deprecated"
|
61
|
+
};
|
57
62
|
|
58
63
|
// Return a placeholder if not released and not enabled by feature flag
|
59
64
|
StatusIndicatorStep = pkg.checkComponentEnabled(StatusIndicatorStep, componentName);
|
@@ -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';
|
@@ -19,6 +19,7 @@ var componentName = 'DecoratorDualButton';
|
|
19
19
|
|
20
20
|
/**
|
21
21
|
* The DecoratorDualButton groups a key/value pair where the key and value each behave like a button.
|
22
|
+
* @deprecated This component is deprecated
|
22
23
|
*/
|
23
24
|
exports.DecoratorDualButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
24
25
|
var validProps = propsHelper.prepareProps(props, ['href', 'kind', 'onClick', 'onContextMenu']);
|
@@ -28,6 +29,10 @@ exports.DecoratorDualButton = /*#__PURE__*/React.forwardRef(function (props, ref
|
|
28
29
|
kind: "dual-button"
|
29
30
|
}, devtools.getDevtoolsProps(componentName)));
|
30
31
|
});
|
32
|
+
exports.DecoratorDualButton.deprecated = {
|
33
|
+
level: 'warn',
|
34
|
+
details: "This component is deprecated"
|
35
|
+
};
|
31
36
|
|
32
37
|
// Return a placeholder if not released and not enabled by feature flag
|
33
38
|
exports.DecoratorDualButton = settings.pkg.checkComponentEnabled(exports.DecoratorDualButton, componentName);
|
@@ -19,6 +19,7 @@ var componentName = 'DecoratorLink';
|
|
19
19
|
|
20
20
|
/**
|
21
21
|
* The DecoratorLink groups a key/value pair to behave like a link.
|
22
|
+
* @deprecated This component is deprecated
|
22
23
|
*/
|
23
24
|
exports.DecoratorLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
24
25
|
var validProps = propsHelper.prepareProps(props, ['disabled', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
|
@@ -28,6 +29,10 @@ exports.DecoratorLink = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
28
29
|
kind: "link"
|
29
30
|
}, devtools.getDevtoolsProps(componentName)));
|
30
31
|
});
|
32
|
+
exports.DecoratorLink.deprecated = {
|
33
|
+
level: 'warn',
|
34
|
+
details: "This component is deprecated"
|
35
|
+
};
|
31
36
|
|
32
37
|
// Return a placeholder if not released and not enabled by feature flag
|
33
38
|
exports.DecoratorLink = settings.pkg.checkComponentEnabled(exports.DecoratorLink, componentName);
|
@@ -19,6 +19,7 @@ var componentName = 'DecoratorSingleButton';
|
|
19
19
|
|
20
20
|
/**
|
21
21
|
* The DecoratorSingleButton groups a key/value pair to behave like a button.
|
22
|
+
* @deprecated This component is deprecated
|
22
23
|
*/
|
23
24
|
exports.DecoratorSingleButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
24
25
|
var validProps = propsHelper.prepareProps(props, ['href', 'kind', 'onClickLabel', 'onClickValue', 'onContextMenuLabel', 'onContextMenuValue']);
|
@@ -28,6 +29,10 @@ exports.DecoratorSingleButton = /*#__PURE__*/React.forwardRef(function (props, r
|
|
28
29
|
kind: "single-button"
|
29
30
|
}, devtools.getDevtoolsProps(componentName)));
|
30
31
|
});
|
32
|
+
exports.DecoratorSingleButton.deprecated = {
|
33
|
+
level: 'warn',
|
34
|
+
details: "This component is deprecated"
|
35
|
+
};
|
31
36
|
|
32
37
|
// Return a placeholder if not released and not enabled by feature flag
|
33
38
|
exports.DecoratorSingleButton = settings.pkg.checkComponentEnabled(exports.DecoratorSingleButton, componentName);
|
@@ -41,6 +41,7 @@ var defaults = {
|
|
41
41
|
|
42
42
|
/**
|
43
43
|
* Type layouts provide an orderly layout of terms and definitions.
|
44
|
+
* @deprecated This component is deprecated
|
44
45
|
*/
|
45
46
|
exports.DescriptionList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
46
47
|
var _ref$border = _ref.border,
|
@@ -60,6 +61,10 @@ exports.DescriptionList = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
60
61
|
selection: false
|
61
62
|
}, children));
|
62
63
|
});
|
64
|
+
exports.DescriptionList.deprecated = {
|
65
|
+
level: 'warn',
|
66
|
+
details: "This component is deprecated"
|
67
|
+
};
|
63
68
|
|
64
69
|
// Return a placeholder if not released and not enabled by feature flag
|
65
70
|
exports.DescriptionList = settings.pkg.checkComponentEnabled(exports.DescriptionList, componentName);
|
@@ -22,7 +22,9 @@ var componentName = 'FilterPanel';
|
|
22
22
|
|
23
23
|
/**
|
24
24
|
* The container for filter panel subcomponents.
|
25
|
+
* @deprecated This component is deprecated
|
25
26
|
*/
|
27
|
+
|
26
28
|
exports.FilterPanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
27
29
|
var children = _ref.children,
|
28
30
|
className = _ref.className,
|
@@ -35,6 +37,10 @@ exports.FilterPanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
35
37
|
className: "".concat(blockClass, "__title")
|
36
38
|
}, title), children);
|
37
39
|
});
|
40
|
+
exports.FilterPanel.deprecated = {
|
41
|
+
level: 'warn',
|
42
|
+
details: "This component is deprecated"
|
43
|
+
};
|
38
44
|
|
39
45
|
// Return a placeholder if not released and not enabled by feature flag
|
40
46
|
exports.FilterPanel = settings.pkg.checkComponentEnabled(exports.FilterPanel, componentName);
|
@@ -28,6 +28,7 @@ var defaults = {
|
|
28
28
|
|
29
29
|
/**
|
30
30
|
* A container with a label and optional count.
|
31
|
+
* @deprecated This component is deprecated
|
31
32
|
*/
|
32
33
|
exports.FilterPanelAccordion = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
33
34
|
var _ref$accordionProps = _ref.accordionProps,
|
@@ -51,6 +52,10 @@ exports.FilterPanelAccordion = /*#__PURE__*/React.forwardRef(function (_ref, ref
|
|
51
52
|
className: "".concat(blockClass, "__list")
|
52
53
|
}), children));
|
53
54
|
});
|
55
|
+
exports.FilterPanelAccordion.deprecated = {
|
56
|
+
level: 'warn',
|
57
|
+
details: "This component is deprecated"
|
58
|
+
};
|
54
59
|
|
55
60
|
// Return a placeholder if not released and not enabled by feature flag
|
56
61
|
exports.FilterPanelAccordion = settings.pkg.checkComponentEnabled(exports.FilterPanelAccordion, componentName);
|
@@ -29,6 +29,7 @@ var defaults = {
|
|
29
29
|
|
30
30
|
/**
|
31
31
|
* A container with a label and optional count.
|
32
|
+
* @deprecated This component is deprecated
|
32
33
|
*/
|
33
34
|
exports.FilterPanelAccordionItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
34
35
|
var _ref$accordionItemPro = _ref.accordionItemProps,
|
@@ -58,7 +59,10 @@ exports.FilterPanelAccordionItem = /*#__PURE__*/React.forwardRef(function (_ref,
|
|
58
59
|
}, child);
|
59
60
|
})));
|
60
61
|
});
|
61
|
-
|
62
|
+
exports.FilterPanelAccordionItem.deprecated = {
|
63
|
+
level: 'warn',
|
64
|
+
details: "This component is deprecated"
|
65
|
+
};
|
62
66
|
// Return a placeholder if not released and not enabled by feature flag
|
63
67
|
exports.FilterPanelAccordionItem = settings.pkg.checkComponentEnabled(exports.FilterPanelAccordionItem, componentName);
|
64
68
|
exports.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';
|
@@ -29,6 +29,7 @@ var componentName = 'FilterPanelCheckbox';
|
|
29
29
|
*
|
30
30
|
* All of Carbon Checkbox's props are directly available
|
31
31
|
* through "...rest", including id, onClick, etc.
|
32
|
+
* @deprecated This component is deprecated
|
32
33
|
*/
|
33
34
|
exports.FilterPanelCheckbox = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
34
35
|
var className = _ref.className,
|
@@ -48,6 +49,10 @@ exports.FilterPanelCheckbox = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
48
49
|
ref: ref
|
49
50
|
}, devtools.getDevtoolsProps(componentName)));
|
50
51
|
});
|
52
|
+
exports.FilterPanelCheckbox.deprecated = {
|
53
|
+
level: 'warn',
|
54
|
+
details: "This component is deprecated"
|
55
|
+
};
|
51
56
|
|
52
57
|
// Return a placeholder if not released and not enabled by feature flag
|
53
58
|
exports.FilterPanelCheckbox = settings.pkg.checkComponentEnabled(exports.FilterPanelCheckbox, componentName);
|
@@ -5,6 +5,7 @@
|
|
5
5
|
* just like FilterPanelCheckbox.
|
6
6
|
*
|
7
7
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
8
|
+
* @deprecated This component is deprecated
|
8
9
|
*/
|
9
10
|
export let FilterPanelCheckboxWithOverflow: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
|
10
11
|
import React from 'react';
|
@@ -32,6 +32,7 @@ var defaults = {
|
|
32
32
|
* just like FilterPanelCheckbox.
|
33
33
|
*
|
34
34
|
* Use `overflowMenuProps` for properties specific to the OverflowMenu.
|
35
|
+
* @deprecated This component is deprecated
|
35
36
|
*/
|
36
37
|
exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
37
38
|
var children = _ref.children,
|
@@ -117,6 +118,10 @@ exports.FilterPanelCheckboxWithOverflow = /*#__PURE__*/React.forwardRef(function
|
|
117
118
|
}, other), children))
|
118
119
|
);
|
119
120
|
});
|
121
|
+
exports.FilterPanelCheckboxWithOverflow.deprecated = {
|
122
|
+
level: 'warn',
|
123
|
+
details: "This component is deprecated"
|
124
|
+
};
|
120
125
|
|
121
126
|
// Return a placeholder if not released and not enabled by feature flag
|
122
127
|
exports.FilterPanelCheckboxWithOverflow = settings.pkg.checkComponentEnabled(exports.FilterPanelCheckboxWithOverflow, componentName);
|
@@ -23,6 +23,7 @@ var componentName = 'FilterPanelGroup';
|
|
23
23
|
|
24
24
|
/**
|
25
25
|
* A container with a label and optional count.
|
26
|
+
* @deprecated This component is deprecated
|
26
27
|
*/
|
27
28
|
exports.FilterPanelGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
28
29
|
var children = _ref.children,
|
@@ -44,6 +45,10 @@ exports.FilterPanelGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
44
45
|
className: "".concat(blockClass, "__content")
|
45
46
|
}, children));
|
46
47
|
});
|
48
|
+
exports.FilterPanelGroup.deprecated = {
|
49
|
+
level: 'warn',
|
50
|
+
details: "This component is deprecated"
|
51
|
+
};
|
47
52
|
|
48
53
|
// Return a placeholder if not released and not enabled by feature flag
|
49
54
|
exports.FilterPanelGroup = settings.pkg.checkComponentEnabled(exports.FilterPanelGroup, componentName);
|
@@ -26,6 +26,7 @@ var defaults = {
|
|
26
26
|
|
27
27
|
/**
|
28
28
|
* An input field and container to show search results.
|
29
|
+
* @deprecated This component is deprecated
|
29
30
|
*/
|
30
31
|
exports.FilterPanelSearch = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
31
32
|
var children = _ref.children,
|
@@ -69,7 +70,10 @@ exports.FilterPanelSearch = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
69
70
|
className: "".concat(blockClass, "__results")
|
70
71
|
}, children));
|
71
72
|
});
|
72
|
-
|
73
|
+
exports.FilterPanelSearch.deprecated = {
|
74
|
+
level: 'warn',
|
75
|
+
details: "This component is deprecated"
|
76
|
+
};
|
73
77
|
// Return a placeholder if not released and not enabled by feature flag
|
74
78
|
exports.FilterPanelSearch = settings.pkg.checkComponentEnabled(exports.FilterPanelSearch, componentName);
|
75
79
|
exports.FilterPanelSearch.displayName = componentName;
|
@@ -19,6 +19,10 @@ var settings = require('../../settings.js');
|
|
19
19
|
var _excluded = ["activeHref", "className", "children", "heading", "label"];
|
20
20
|
var componentName = 'Nav';
|
21
21
|
var blockClass = "".concat(settings.pkg.prefix, "--nav");
|
22
|
+
|
23
|
+
/**
|
24
|
+
* @deprecated This component is deprecated
|
25
|
+
*/
|
22
26
|
exports.Nav = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
23
27
|
var activeHref = _ref.activeHref,
|
24
28
|
className = _ref.className,
|
@@ -123,6 +127,10 @@ exports.Nav = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
123
127
|
return (child === null || child === void 0 || (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === NavList.default.displayName ? buildNewListChild(child, index) : buildNewItemChild(child, index);
|
124
128
|
})));
|
125
129
|
});
|
130
|
+
exports.Nav.deprecated = {
|
131
|
+
level: 'warn',
|
132
|
+
details: "This component is deprecated"
|
133
|
+
};
|
126
134
|
exports.Nav.propTypes = {
|
127
135
|
/**
|
128
136
|
* Hypertext reference for active page.
|
@@ -29,6 +29,7 @@ var defaults = {
|
|
29
29
|
|
30
30
|
/**
|
31
31
|
* A list of icon/description pairs used to show multiple states of progress.
|
32
|
+
* @deprecated This component is deprecated
|
32
33
|
*/
|
33
34
|
exports.StatusIndicator = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
34
35
|
var children = _ref.children,
|
@@ -59,6 +60,10 @@ exports.StatusIndicator = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
59
60
|
}
|
60
61
|
}, retryLabel));
|
61
62
|
});
|
63
|
+
exports.StatusIndicator.deprecated = {
|
64
|
+
level: 'warn',
|
65
|
+
details: "This component is deprecated"
|
66
|
+
};
|
62
67
|
|
63
68
|
// Return a placeholder if not released and not enabled by feature flag
|
64
69
|
exports.StatusIndicator = settings.pkg.checkComponentEnabled(exports.StatusIndicator, componentName);
|
@@ -28,6 +28,7 @@ var defaults = {
|
|
28
28
|
|
29
29
|
/**
|
30
30
|
* An icon/description pair that describes one step of the `StatusIndicator`.
|
31
|
+
* @deprecated This component is deprecated
|
31
32
|
*/
|
32
33
|
exports.StatusIndicatorStep = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
33
34
|
var className = _ref.className,
|
@@ -56,6 +57,10 @@ exports.StatusIndicatorStep = /*#__PURE__*/React.forwardRef(function (_ref, ref)
|
|
56
57
|
className: "".concat(blockClass, "__error-message")
|
57
58
|
}, errorMessage));
|
58
59
|
});
|
60
|
+
exports.StatusIndicatorStep.deprecated = {
|
61
|
+
level: 'warn',
|
62
|
+
details: "This component is deprecated"
|
63
|
+
};
|
59
64
|
|
60
65
|
// Return a placeholder if not released and not enabled by feature flag
|
61
66
|
exports.StatusIndicatorStep = settings.pkg.checkComponentEnabled(exports.StatusIndicatorStep, componentName);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.54.0-canary.
|
4
|
+
"version": "2.54.0-canary.29+01ece2b9f",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -81,7 +81,7 @@
|
|
81
81
|
"fs-extra": "^11.2.0",
|
82
82
|
"glob": "^10.3.10",
|
83
83
|
"jest": "^29.7.0",
|
84
|
-
"jest-config-ibm-cloud-cognitive": "^1.13.0
|
84
|
+
"jest-config-ibm-cloud-cognitive": "^1.13.0",
|
85
85
|
"jest-environment-jsdom": "^29.7.0",
|
86
86
|
"namor": "^1.1.2",
|
87
87
|
"npm-check-updates": "^16.14.12",
|
@@ -96,7 +96,7 @@
|
|
96
96
|
"dependencies": {
|
97
97
|
"@babel/runtime": "^7.23.9",
|
98
98
|
"@carbon/feature-flags": "^0.24.0",
|
99
|
-
"@carbon/ibm-products-styles": "^2.50.0
|
99
|
+
"@carbon/ibm-products-styles": "^2.50.0",
|
100
100
|
"@carbon/telemetry": "^0.1.0",
|
101
101
|
"@dnd-kit/core": "^6.0.8",
|
102
102
|
"@dnd-kit/modifiers": "^7.0.0",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
121
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "01ece2b9fd1c5836f4967c5d7d3edd9b0d470cfd"
|
124
124
|
}
|