@carbon/ibm-products 2.54.0-rc.0 → 2.54.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.
@@ -19,5 +19,6 @@ export interface DatagridProps {
19
19
  }
20
20
  /**
21
21
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
22
+ * @deprecated
22
23
  */
23
24
  export declare let Datagrid: React.ForwardRefExoticComponent<DatagridProps & React.RefAttributes<HTMLDivElement>>;
@@ -21,6 +21,7 @@ var blockClass = "".concat(pkg.prefix, "--datagrid");
21
21
  var componentName = 'Datagrid';
22
22
  /**
23
23
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
24
+ * @deprecated
24
25
  */
25
26
  var Datagrid = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
26
27
  var datagridState = _ref.datagridState,
@@ -55,6 +56,12 @@ var Datagrid = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
55
56
  }, /*#__PURE__*/React__default.createElement(DatagridContent, props)) : /*#__PURE__*/React__default.createElement(DatagridContent, props))));
56
57
  });
57
58
 
59
+ /**@ts-ignore*/
60
+ Datagrid.deprecated = {
61
+ level: 'warn',
62
+ details: "For more information, please refer to the migration docs https://github.com/carbon-design-system/tanstack-carbon"
63
+ };
64
+
58
65
  // Return a placeholder if not released and not enabled by feature flag
59
66
  Datagrid = pkg.checkComponentEnabled(Datagrid, componentName);
60
67
 
@@ -19,5 +19,6 @@ export interface DatagridProps {
19
19
  }
20
20
  /**
21
21
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
22
+ * @deprecated
22
23
  */
23
24
  export declare let Datagrid: React.ForwardRefExoticComponent<DatagridProps & React.RefAttributes<HTMLDivElement>>;
@@ -23,6 +23,7 @@ var blockClass = "".concat(settings.pkg.prefix, "--datagrid");
23
23
  var componentName = 'Datagrid';
24
24
  /**
25
25
  * The `Datagrid` component is an extension of Carbon's DataTable component. At the most basic level, the `Datagrid` component takes in columns and rows and renders a data table. There is a set of data table extensions which this component provides support for, these can be found [here](https://pages.github.ibm.com/carbon/ibm-products/components/datagrid/overview/). This component is data driven and allows you to choose what pieces will be included based on the hooks/plugins that are provided.
26
+ * @deprecated
26
27
  */
27
28
  exports.Datagrid = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
28
29
  var datagridState = _ref.datagridState,
@@ -57,6 +58,12 @@ exports.Datagrid = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
57
58
  }, /*#__PURE__*/React.createElement(DatagridContent.DatagridContent, props)) : /*#__PURE__*/React.createElement(DatagridContent.DatagridContent, props))));
58
59
  });
59
60
 
61
+ /**@ts-ignore*/
62
+ exports.Datagrid.deprecated = {
63
+ level: 'warn',
64
+ details: "For more information, please refer to the migration docs https://github.com/carbon-design-system/tanstack-carbon"
65
+ };
66
+
60
67
  // Return a placeholder if not released and not enabled by feature flag
61
68
  exports.Datagrid = settings.pkg.checkComponentEnabled(exports.Datagrid, componentName);
62
69
 
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-rc.0",
4
+ "version": "2.54.0",
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-rc.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-rc.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": "9c7e0212c0dfbad56428a845289a5e5b19615db2"
123
+ "gitHead": "046fd4ba4d5299b15f0ac8ef69811277a8f28553"
124
124
  }