@midas-ds/components 17.17.1 → 17.17.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 17.17.2 (2026-07-08)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **components,select:** trigger required validation when clearing all selected items ([c883b438aac](https://github.com/migrationsverket/midas/commit/c883b438aac))
6
+
1
7
  ## 17.17.1 (2026-07-06)
2
8
 
3
9
  ### 🧱 Updated Dependencies
@@ -73,7 +73,7 @@ import '../assets/select.css';var E = {
73
73
  "aria-label": n.format("clearAll"),
74
74
  className: D.clearButton,
75
75
  onPress: () => {
76
- r?.focusFirst(), t?.setValue(null);
76
+ r?.focusFirst(), t?.selectionManager.clearSelection();
77
77
  },
78
78
  slot: null,
79
79
  isDisabled: e,
package/index.js CHANGED
@@ -38,7 +38,7 @@ import { n as Ee, t as De } from "./chunks/tooltip-BE_r_CBm.js";
38
38
  import { n as Oe, t as ke } from "./chunks/logo-D7tz-4hp.js";
39
39
  import { t as Ae } from "./chunks/progress-bar-5H5WvG7R.js";
40
40
  import { n as je, t as Me } from "./chunks/radio-CsAvwCn2.js";
41
- import { t as Ne } from "./chunks/select-Du5ANE34.js";
41
+ import { t as Ne } from "./chunks/select-iEvRNP3W.js";
42
42
  import { n as Pe, r as Fe, t as Ie } from "./chunks/tag-CELJrUEQ.js";
43
43
  import { t as Le } from "./chunks/skeleton-OqKFBcmO.js";
44
44
  import { i as Re, n as ze, r as Be, t as Ve } from "./chunks/tabs-eshGdQJJ.js";
@@ -59,7 +59,7 @@ var $e = {
59
59
  description: "Midas Components",
60
60
  homepage: "https://designsystem.migrationsverket.se/",
61
61
  license: "CC0-1.0",
62
- version: "17.17.1",
62
+ version: "17.17.2",
63
63
  module: "./index.js",
64
64
  type: "module",
65
65
  main: "./index.js",
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "description": "Midas Components",
15
15
  "homepage": "https://designsystem.migrationsverket.se/",
16
16
  "license": "CC0-1.0",
17
- "version": "17.17.1",
17
+ "version": "17.17.2",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -42,6 +42,8 @@ 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 RequiredMultipleWithTags: Story<Item, 'multiple'>;
46
+ export declare const RequiredMultipleWithClearAll: Story<Item, 'multiple'>;
45
47
  export declare const RequiredMultipleSelectAll: Story<Item, 'multiple'>;
46
48
  export declare const RequiredSingleSelect: Story;
47
49
  export declare const LongWords: Story;
package/select/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/select-Du5ANE34.js";
1
+ import { t as e } from "../chunks/select-iEvRNP3W.js";
2
2
  export { e as Select };