@carbon/icons-react 11.73.0 → 11.74.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/es/Icon.js +3 -3
- package/lib/Icon.js +1 -1
- package/package.json +5 -5
package/es/Icon.js
CHANGED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { getAttributes } from '@carbon/icon-helpers';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
|
-
import React from 'react';
|
|
11
|
+
import React, { forwardRef } from 'react';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* Copyright IBM Corp. 2019,
|
|
14
|
+
* Copyright IBM Corp. 2019, 2026
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
const Icon = /*#__PURE__*/
|
|
19
|
+
const Icon = /*#__PURE__*/forwardRef(function Icon({
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
22
22
|
tabIndex,
|
package/lib/Icon.js
CHANGED
|
@@ -13,7 +13,7 @@ var PropTypes = require('prop-types');
|
|
|
13
13
|
var React = require('react');
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
* Copyright IBM Corp. 2019,
|
|
16
|
+
* Copyright IBM Corp. 2019, 2026
|
|
17
17
|
*
|
|
18
18
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/icons-react",
|
|
3
3
|
"description": "React components for icons in digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.74.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
"react": ">=16"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@carbon/icon-helpers": "^10.
|
|
41
|
+
"@carbon/icon-helpers": "^10.71.0-rc.0",
|
|
42
42
|
"@ibm/telemetry-js": "^1.5.0",
|
|
43
43
|
"prop-types": "^15.8.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@carbon/icon-build-helpers": "^1.
|
|
47
|
-
"@carbon/icons": "^11.
|
|
46
|
+
"@carbon/icon-build-helpers": "^1.52.0-rc.0",
|
|
47
|
+
"@carbon/icons": "^11.74.0-rc.0",
|
|
48
48
|
"rimraf": "^6.0.1"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "cbde6bd5df4774c2780411b3faa02ec3a0bb7585"
|
|
52
52
|
}
|