@nadicodeai/ui 12.1.94 → 12.1.95
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.
|
@@ -32,7 +32,7 @@ function NativeSelect({ className, size = "default", ref, ...props }) {
|
|
|
32
32
|
if (defaultKey === undefined || !node || defaultKey === appliedDefault.current)
|
|
33
33
|
return;
|
|
34
34
|
const options = [...node.options];
|
|
35
|
-
const shown = options.
|
|
35
|
+
const shown = options.flatMap((option) => (option.selected ? [option.value] : []));
|
|
36
36
|
const stillShowsOldDefault = JSON.stringify(shown) === appliedDefault.current;
|
|
37
37
|
const wanted = new Set(JSON.parse(defaultKey));
|
|
38
38
|
for (const option of options)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.95",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@base-ui/react": "^1.9.0",
|
|
76
76
|
"@iconify-icons/logos": "^2.0.2",
|
|
77
77
|
"@iconify/react": "^6.0.2",
|
|
78
|
-
"@nadicodeai/design-system": "12.1.
|
|
78
|
+
"@nadicodeai/design-system": "12.1.95",
|
|
79
79
|
"@tanstack/react-table": "^9.2.8",
|
|
80
80
|
"class-variance-authority": "^0.7.1",
|
|
81
81
|
"clsx": "^2.1.1",
|