@midas-ds/components 16.8.4 → 16.8.6

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,19 @@
1
+ ## 16.8.6 (2026-02-16)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated theme to 3.10.8
6
+
7
+ ## 16.8.5 (2026-02-16)
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - **components,toast:** rewrite storybook stories and remove fictional priority API ([89e6a160f7](https://github.com/migrationsverket/midas/commit/89e6a160f7))
12
+
13
+ ### 🧪 Tests updated
14
+
15
+ - **components,toast:** update tests to match rewritten stories ([3a33d26ef3](https://github.com/migrationsverket/midas/commit/3a33d26ef3))
16
+
1
17
  ## 16.8.4 (2026-02-16)
2
18
 
3
19
  ### 🧱 Updated Dependencies
package/index.js CHANGED
@@ -50,7 +50,7 @@ import { c as za } from "./chunks/clsx-AexbMWKp.js";
50
50
  import { DialogTrigger as Qa, MenuTrigger as Va, RouterProvider as Za } from "react-aria-components";
51
51
  import { u as qa } from "./chunks/useLocalizedStringFormatter-BHvsRxDk.js";
52
52
  import { useToastState as Ka } from "react-stately";
53
- const o = "16.8.4", a = {
53
+ const o = "16.8.6", a = {
54
54
  version: o
55
55
  }, r = a.version;
56
56
  export {
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": "16.8.4",
17
+ "version": "16.8.6",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -41,7 +41,7 @@
41
41
  "./*": "./*/index.js"
42
42
  },
43
43
  "dependencies": {
44
- "@midas-ds/theme": "3.10.7",
44
+ "@midas-ds/theme": "3.10.8",
45
45
  "react-aria-components": "1.14.0"
46
46
  }
47
47
  }
@@ -1,22 +1,24 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
- import { MidasToast } from './Toast';
3
- type Story = StoryObj<MidasToast>;
4
- declare const _default: {
2
+ type Story = StoryObj<typeof meta>;
3
+ declare const meta: {
4
+ component: (props: import('./Toast').ToastProviderProps) => import('react').ReactPortal | null;
5
+ subcomponents: {
6
+ ToastProvider: React.ComponentType<unknown>;
7
+ ToastRegion: React.ComponentType<unknown>;
8
+ Toast: React.ComponentType<unknown>;
9
+ };
5
10
  title: string;
6
11
  tags: string[];
7
- argTypes: {
8
- type: {
9
- control: "select";
10
- description: string;
11
- options: string[];
12
- table: {
13
- defaultValue: {
14
- summary: string;
15
- };
12
+ parameters: {
13
+ docs: {
14
+ description: {
15
+ component: string;
16
16
  };
17
17
  };
18
18
  };
19
19
  };
20
- export default _default;
20
+ export default meta;
21
21
  export declare const Global: Story;
22
22
  export declare const Local: Story;
23
+ export declare const Variants: Story;
24
+ export declare const ProgrammaticClose: Story;