@midas-ds/components 16.8.4 → 16.8.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 +10 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/toast/Toast.stories.d.ts +15 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 16.8.5 (2026-02-16)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components,toast:** rewrite storybook stories and remove fictional priority API ([89e6a160f7](https://github.com/migrationsverket/midas/commit/89e6a160f7))
|
|
6
|
+
|
|
7
|
+
### 🧪 Tests updated
|
|
8
|
+
|
|
9
|
+
- **components,toast:** update tests to match rewritten stories ([3a33d26ef3](https://github.com/migrationsverket/midas/commit/3a33d26ef3))
|
|
10
|
+
|
|
1
11
|
## 16.8.4 (2026-02-16)
|
|
2
12
|
|
|
3
13
|
### 🧱 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.
|
|
53
|
+
const o = "16.8.5", a = {
|
|
54
54
|
version: o
|
|
55
55
|
}, r = a.version;
|
|
56
56
|
export {
|
package/package.json
CHANGED
package/toast/Toast.stories.d.ts
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
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;
|