@zauru-sdk/components 6.5.2 → 6.5.3

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,18 @@
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
+ ## [6.5.3](https://github.com/intuitiva/zauru-typescript-sdk/compare/@zauru-sdk/components@6.5.1...@zauru-sdk/components@6.5.3) (2026-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * conservar limpieza manual en SelectField multi ([311f4cb](https://github.com/intuitiva/zauru-typescript-sdk/commit/311f4cb58f4767d0263ac0fd73dd9eaff111edc6))
12
+ * sincronizar defaults async de SelectField ([5a06089](https://github.com/intuitiva/zauru-typescript-sdk/commit/5a06089bd2bbda775418123ed983ab98bf8cbef0))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [6.5.2](https://github.com/intuitiva/zauru-typescript-sdk/compare/@zauru-sdk/components@6.5.1...@zauru-sdk/components@6.5.2) (2026-09-16)
7
19
 
8
20
 
@@ -84,9 +84,7 @@ export const SelectField = (props) => {
84
84
  lastSyncedDefaultValue.current = defaultValue.value;
85
85
  }, [defaultValue?.value, isMulti, name, setFormValue]);
86
86
  useEffect(() => {
87
- if (!isMulti ||
88
- defaultValueMulti.length === 0 ||
89
- hasManualMultiValue.current) {
87
+ if (!isMulti || hasManualMultiValue.current) {
90
88
  return;
91
89
  }
92
90
  const currentValues = valueMulti.map((option) => option.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/components",
3
- "version": "6.5.2",
3
+ "version": "6.5.3",
4
4
  "description": "Componentes reutilizables en las WebApps de Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -62,5 +62,5 @@
62
62
  "styled-components": "^5.3.5",
63
63
  "zod": "^3.23.8"
64
64
  },
65
- "gitHead": "2189a91ba403d92b2bb4f3e84af9b52852e5cbcf"
65
+ "gitHead": "7fd754da02ac48ceb661b39ac86f64a64fe4f749"
66
66
  }
@@ -159,11 +159,7 @@ export const SelectField = (props: Props) => {
159
159
  }, [defaultValue?.value, isMulti, name, setFormValue]);
160
160
 
161
161
  useEffect(() => {
162
- if (
163
- !isMulti ||
164
- defaultValueMulti.length === 0 ||
165
- hasManualMultiValue.current
166
- ) {
162
+ if (!isMulti || hasManualMultiValue.current) {
167
163
  return;
168
164
  }
169
165