@carbon/ibm-products 2.54.0-canary.20 → 2.54.0-canary.22

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.
@@ -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 = {
@@ -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>>;
@@ -23,6 +23,7 @@ var componentName = 'EmptyStateV2';
23
23
  /**
24
24
  * 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.
25
25
  * In order to avoid breaking changes in the future `EmptyStateV2` is not actually directly importable.
26
+ * @deprecated
26
27
  */
27
28
 
28
29
  exports.EmptyStateV2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -67,6 +68,12 @@ exports.EmptyStateV2 = /*#__PURE__*/React.forwardRef(function (props, ref) {
67
68
  }), link.text)));
68
69
  });
69
70
 
71
+ /**@ts-ignore*/
72
+ exports.EmptyStateV2.deprecated = {
73
+ level: 'warn',
74
+ details: 'For more information, please refer to the Carbon docs https://carbondesignsystem.com/patterns/empty-states-pattern/'
75
+ };
76
+
70
77
  // Return a placeholder if not released and not enabled by feature flag
71
78
  exports.EmptyStateV2 = settings.pkg.checkComponentEnabled(exports.EmptyStateV2, componentName);
72
79
  exports.EmptyStateV2.propTypes = {
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.20+dcda1bbce",
4
+ "version": "2.54.0-canary.22+e7c7f1fe6",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -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": "dcda1bbce0017f63f6d3244e5290632d0dfc67f4"
123
+ "gitHead": "e7c7f1fe658c79529a1dbec5605365aef431f5c0"
124
124
  }