@midas-ds/components 17.5.4 → 17.5.5
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
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 17.5.5 (2026-03-04)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components,select:** call commitValidation in SelectAll to clear invalid state after selection ([06be0e034f](https://github.com/migrationsverket/midas/commit/06be0e034f))
|
|
6
|
+
|
|
7
|
+
### 🔧 Maintenance
|
|
8
|
+
|
|
9
|
+
- **components,select:** remove unused getByText destructure ([caddd4498d](https://github.com/migrationsverket/midas/commit/caddd4498d))
|
|
10
|
+
|
|
1
11
|
## 17.5.4 (2026-03-02)
|
|
2
12
|
|
|
3
13
|
### 🧱 Updated Dependencies
|
|
@@ -33,9 +33,11 @@ import '../assets/Select.css';const $ = { clearAll: "Clear all", selectAll: "Sel
|
|
|
33
33
|
selectAll: U,
|
|
34
34
|
tagGroup: Y
|
|
35
35
|
}, Z = () => {
|
|
36
|
-
const t = p.useContext(d), c = m(u), r = () =>
|
|
37
|
-
t?.
|
|
38
|
-
|
|
36
|
+
const t = p.useContext(d), c = m(u), r = () => {
|
|
37
|
+
t?.setValue(
|
|
38
|
+
t?.selectionManager.isSelectAll ? null : Array.from(t.collection.getKeys())
|
|
39
|
+
), t?.commitValidation();
|
|
40
|
+
};
|
|
39
41
|
return /* @__PURE__ */ e(
|
|
40
42
|
M,
|
|
41
43
|
{
|
package/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import { P as Io } from "./chunks/Popover-CaP4LFhg.js";
|
|
|
30
30
|
import { P as Go } from "./chunks/ProgressBar-acc8946-.js";
|
|
31
31
|
import { R as ko, a as vo } from "./chunks/Radio-DjivEe-_.js";
|
|
32
32
|
import { S as Mo } from "./chunks/SearchField-1DYv0w4b.js";
|
|
33
|
-
import { S as ho } from "./chunks/Select-
|
|
33
|
+
import { S as ho } from "./chunks/Select-AYp5Ay59.js";
|
|
34
34
|
import { S as yo } from "./chunks/Skeleton-D6mxKxuu.js";
|
|
35
35
|
import { S as No } from "./chunks/Spinner-CfKMn18u.js";
|
|
36
36
|
import { C as zo, a as Oo, R as Qo, T as Vo, b as Zo, c as jo } from "./chunks/Table-Bg-AKi7d.js";
|
|
@@ -49,7 +49,7 @@ import { c as Na } from "./chunks/clsx-AexbMWKp.js";
|
|
|
49
49
|
import { DialogTrigger as za, MenuTrigger as Oa, RouterProvider as Qa } from "react-aria-components";
|
|
50
50
|
import { u as Za } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
|
|
51
51
|
import { useToastState as qa } from "react-stately";
|
|
52
|
-
const o = "17.5.
|
|
52
|
+
const o = "17.5.5", a = {
|
|
53
53
|
version: o
|
|
54
54
|
}, r = a.version;
|
|
55
55
|
export {
|
package/package.json
CHANGED
|
@@ -42,5 +42,6 @@ export declare const SelectAllEnabled: Story<Item, 'multiple'>;
|
|
|
42
42
|
export declare const DS872: Story;
|
|
43
43
|
export declare const StaticSections: Story;
|
|
44
44
|
export declare const DynamicSections: Story<Section>;
|
|
45
|
+
export declare const RequiredMultipleSelectAll: Story<Item, 'multiple'>;
|
|
45
46
|
export declare const RequiredSingleSelect: Story;
|
|
46
47
|
export declare const LongWords: Story;
|
package/select/index.js
CHANGED