@uipath/apollo-react 4.24.1 → 4.24.2
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.
|
@@ -61,7 +61,7 @@ function ApTextField(props) {
|
|
|
61
61
|
value
|
|
62
62
|
]);
|
|
63
63
|
const handleOnInput = (0, external_react_namespaceObject.useCallback)((event)=>{
|
|
64
|
-
const value = event.
|
|
64
|
+
const value = event.currentTarget.value;
|
|
65
65
|
setCompositionValue(value);
|
|
66
66
|
onChange?.(value);
|
|
67
67
|
}, [
|
|
@@ -149,7 +149,6 @@ function ApTextField(props) {
|
|
|
149
149
|
className: className,
|
|
150
150
|
label: label,
|
|
151
151
|
value: compositionValue,
|
|
152
|
-
onInput: handleOnInput,
|
|
153
152
|
placeholder: placeholder,
|
|
154
153
|
error: error || !!errorMessage,
|
|
155
154
|
required: required,
|
|
@@ -162,7 +161,8 @@ function ApTextField(props) {
|
|
|
162
161
|
'data-testid': dataTestid,
|
|
163
162
|
min: 'number' === type ? min : void 0,
|
|
164
163
|
max: 'number' === type ? max : void 0,
|
|
165
|
-
step: 'number' === type ? step : void 0
|
|
164
|
+
step: 'number' === type ? step : void 0,
|
|
165
|
+
onInput: handleOnInput
|
|
166
166
|
},
|
|
167
167
|
...cachedProps,
|
|
168
168
|
inputRef: inputRef
|
|
@@ -23,7 +23,7 @@ function ApTextField(props) {
|
|
|
23
23
|
value
|
|
24
24
|
]);
|
|
25
25
|
const handleOnInput = useCallback((event)=>{
|
|
26
|
-
const value = event.
|
|
26
|
+
const value = event.currentTarget.value;
|
|
27
27
|
setCompositionValue(value);
|
|
28
28
|
onChange?.(value);
|
|
29
29
|
}, [
|
|
@@ -111,7 +111,6 @@ function ApTextField(props) {
|
|
|
111
111
|
className: className,
|
|
112
112
|
label: label,
|
|
113
113
|
value: compositionValue,
|
|
114
|
-
onInput: handleOnInput,
|
|
115
114
|
placeholder: placeholder,
|
|
116
115
|
error: error || !!errorMessage,
|
|
117
116
|
required: required,
|
|
@@ -124,7 +123,8 @@ function ApTextField(props) {
|
|
|
124
123
|
'data-testid': dataTestid,
|
|
125
124
|
min: 'number' === type ? min : void 0,
|
|
126
125
|
max: 'number' === type ? max : void 0,
|
|
127
|
-
step: 'number' === type ? step : void 0
|
|
126
|
+
step: 'number' === type ? step : void 0,
|
|
127
|
+
onInput: handleOnInput
|
|
128
128
|
},
|
|
129
129
|
...cachedProps,
|
|
130
130
|
inputRef: inputRef
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.2",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -201,8 +201,8 @@
|
|
|
201
201
|
"use-sync-external-store": "^1.2.0",
|
|
202
202
|
"zod": "^4.3.5",
|
|
203
203
|
"zustand": "^5.0.9",
|
|
204
|
-
"@uipath/apollo-core": "5.9.
|
|
205
|
-
"@uipath/apollo-wind": "2.16.
|
|
204
|
+
"@uipath/apollo-core": "5.9.1",
|
|
205
|
+
"@uipath/apollo-wind": "2.16.1"
|
|
206
206
|
},
|
|
207
207
|
"devDependencies": {
|
|
208
208
|
"@lingui/cli": "^5.6.1",
|
|
@@ -237,8 +237,8 @@
|
|
|
237
237
|
"@types/sanitize-html": "^2.16.0",
|
|
238
238
|
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
239
239
|
"@vitejs/plugin-react": "^4.7.0",
|
|
240
|
-
"@vitest/coverage-v8": "^4.1.
|
|
241
|
-
"@vitest/ui": "^4.1.
|
|
240
|
+
"@vitest/coverage-v8": "^4.1.5",
|
|
241
|
+
"@vitest/ui": "^4.1.5",
|
|
242
242
|
"esbuild": "^0.27.0",
|
|
243
243
|
"glob": "^13.0.0",
|
|
244
244
|
"happy-dom": "^20.0.0",
|
|
@@ -247,7 +247,7 @@
|
|
|
247
247
|
"typescript": "^5.9.3",
|
|
248
248
|
"use-sync-external-store": "^1.2.0",
|
|
249
249
|
"vite-tsconfig-paths": "^5.1.4",
|
|
250
|
-
"vitest": "^4.1.
|
|
250
|
+
"vitest": "^4.1.5",
|
|
251
251
|
"webpack-bundle-analyzer": "^5.0.1"
|
|
252
252
|
},
|
|
253
253
|
"scripts": {
|