@zauru-sdk/components 2.0.68 → 2.0.70
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.70](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.69...v2.0.70) (2024-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @zauru-sdk/components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.0.69](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.68...v2.0.69) (2024-11-27)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @zauru-sdk/components
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [2.0.68](https://github.com/intuitiva/zauru-typescript-sdk/compare/v2.0.67...v2.0.68) (2024-11-18)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @zauru-sdk/components
|
|
@@ -154,8 +154,12 @@ export const SelectField = (props) => {
|
|
|
154
154
|
}
|
|
155
155
|
else if (e.key === "Backspace" && (value || valueMulti.length > 0)) {
|
|
156
156
|
e.preventDefault();
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
if (!isMulti) {
|
|
158
|
+
handleClear();
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
setInputValue("");
|
|
162
|
+
}
|
|
159
163
|
setFilteredOptions(options);
|
|
160
164
|
setIsOpen(true);
|
|
161
165
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.70",
|
|
4
4
|
"description": "Componentes reutilizables en las WebApps de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"@hookform/resolvers": "^3.9.0",
|
|
34
34
|
"@reduxjs/toolkit": "^2.2.1",
|
|
35
35
|
"@remix-run/react": "^2.8.1",
|
|
36
|
-
"@zauru-sdk/common": "^2.0.
|
|
37
|
-
"@zauru-sdk/hooks": "^2.0.
|
|
36
|
+
"@zauru-sdk/common": "^2.0.70",
|
|
37
|
+
"@zauru-sdk/hooks": "^2.0.70",
|
|
38
38
|
"@zauru-sdk/icons": "^2.0.0",
|
|
39
|
-
"@zauru-sdk/types": "^2.0.
|
|
40
|
-
"@zauru-sdk/utils": "^2.0.
|
|
39
|
+
"@zauru-sdk/types": "^2.0.70",
|
|
40
|
+
"@zauru-sdk/utils": "^2.0.70",
|
|
41
41
|
"framer-motion": "^11.7.0",
|
|
42
42
|
"jsonwebtoken": "^9.0.2",
|
|
43
43
|
"react": "^18.2.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"styled-components": "^5.3.5",
|
|
50
50
|
"zod": "^3.23.8"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "2e2f60fe8b92286258d82bf004316d9816d30b63"
|
|
53
53
|
}
|
|
@@ -226,8 +226,11 @@ export const SelectField = (props: Props) => {
|
|
|
226
226
|
handleOptionClick(filteredOptions[highlightedIndex]);
|
|
227
227
|
} else if (e.key === "Backspace" && (value || valueMulti.length > 0)) {
|
|
228
228
|
e.preventDefault();
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
if (!isMulti) {
|
|
230
|
+
handleClear();
|
|
231
|
+
} else {
|
|
232
|
+
setInputValue("");
|
|
233
|
+
}
|
|
231
234
|
setFilteredOptions(options);
|
|
232
235
|
setIsOpen(true);
|
|
233
236
|
}
|