@carbon/react 1.34.0-rc.0 → 1.34.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.
|
@@ -59,6 +59,7 @@ const TextArea = /*#__PURE__*/React__default.forwardRef((props, forwardRef) => {
|
|
|
59
59
|
id,
|
|
60
60
|
onChange: evt => {
|
|
61
61
|
if (!other.disabled && onChange) {
|
|
62
|
+
evt.persist();
|
|
62
63
|
// delay textCount assignation to give the textarea element value time to catch up if is a controlled input
|
|
63
64
|
setTimeout(() => {
|
|
64
65
|
setTextCount(evt.target?.value?.length);
|
|
@@ -69,6 +69,7 @@ const TextArea = /*#__PURE__*/React__default["default"].forwardRef((props, forwa
|
|
|
69
69
|
id,
|
|
70
70
|
onChange: evt => {
|
|
71
71
|
if (!other.disabled && onChange) {
|
|
72
|
+
evt.persist();
|
|
72
73
|
// delay textCount assignation to give the textarea element value time to catch up if is a controlled input
|
|
73
74
|
setTimeout(() => {
|
|
74
75
|
setTextCount(evt.target?.value?.length);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/react",
|
|
3
3
|
"description": "React components for the Carbon Design System",
|
|
4
|
-
"version": "1.34.0
|
|
4
|
+
"version": "1.34.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/runtime": "^7.18.3",
|
|
47
47
|
"@carbon/feature-flags": "^0.15.0",
|
|
48
|
-
"@carbon/icons-react": "^11.23.0
|
|
49
|
-
"@carbon/layout": "^11.17.0
|
|
50
|
-
"@carbon/styles": "^1.34.0
|
|
48
|
+
"@carbon/icons-react": "^11.23.0",
|
|
49
|
+
"@carbon/layout": "^11.17.0",
|
|
50
|
+
"@carbon/styles": "^1.34.0",
|
|
51
51
|
"@carbon/telemetry": "0.1.0",
|
|
52
52
|
"classnames": "2.3.2",
|
|
53
53
|
"copy-to-clipboard": "^3.3.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@babel/preset-react": "^7.22.3",
|
|
76
76
|
"@babel/preset-typescript": "^7.21.5",
|
|
77
77
|
"@carbon/test-utils": "^10.30.0",
|
|
78
|
-
"@carbon/themes": "^11.22.0
|
|
78
|
+
"@carbon/themes": "^11.22.0",
|
|
79
79
|
"@rollup/plugin-babel": "^6.0.0",
|
|
80
80
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
81
81
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"**/*.scss",
|
|
138
138
|
"**/*.css"
|
|
139
139
|
],
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "42cf1b925449af74bf39204135987584e1f54d73"
|
|
141
141
|
}
|