@midas-ds/components 17.15.4 → 17.15.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
|
@@ -18,5 +18,6 @@ export declare const Success: Story;
|
|
|
18
18
|
export declare const Info: Story;
|
|
19
19
|
export declare const Warning: Story;
|
|
20
20
|
export declare const Important: Story;
|
|
21
|
+
export declare const TypeWithoutContained: Story;
|
|
21
22
|
export declare const Disabled: Story;
|
|
22
23
|
export declare const StatusDisabled: Story;
|
package/accordion/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/accordion-
|
|
1
|
+
import { n as e, t } from "../chunks/accordion-KEgnlzYi.js";
|
|
2
2
|
export { e as Accordion, t as AccordionItem };
|
|
@@ -46,7 +46,7 @@ import '../assets/accordion.css';var h = {
|
|
|
46
46
|
y && !E && console.warn("AccordionItem: When 'type' is set, it is recommended to also set 'isContained' to true for visual consistency.");
|
|
47
47
|
}, [y, E]), /* @__PURE__ */ p(c, {
|
|
48
48
|
...w,
|
|
49
|
-
className: e(v.item, y && v[y], (x === "medium" || T?.size === "medium") && v.medium, E && v.contained, h),
|
|
49
|
+
className: e(v.item, y && E && v[y], (x === "medium" || T?.size === "medium") && v.medium, E && v.contained, h),
|
|
50
50
|
children: d(l, (o) => /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
51
51
|
className: v.trigger,
|
|
52
52
|
children: /* @__PURE__ */ m(r, {
|
|
@@ -67,7 +67,7 @@ import '../assets/accordion.css';var h = {
|
|
|
67
67
|
children: a
|
|
68
68
|
})
|
|
69
69
|
}),
|
|
70
|
-
y && /* @__PURE__ */ p(t, {
|
|
70
|
+
y && E && /* @__PURE__ */ p(t, {
|
|
71
71
|
"aria-label": C,
|
|
72
72
|
className: v.statusIcon,
|
|
73
73
|
status: y
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-KEgnlzYi.js";
|
|
4
4
|
import { t as n } from "./chunks/clsx-BtlV5Vo3.js";
|
|
5
5
|
import { t as r } from "./chunks/spinner-C3WiZYld.js";
|
|
6
6
|
import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-BzK7P4Xn.js";
|
|
@@ -58,7 +58,7 @@ var Ze = {
|
|
|
58
58
|
description: "Midas Components",
|
|
59
59
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
60
60
|
license: "CC0-1.0",
|
|
61
|
-
version: "17.15.
|
|
61
|
+
version: "17.15.5",
|
|
62
62
|
module: "./index.js",
|
|
63
63
|
type: "module",
|
|
64
64
|
main: "./index.js",
|
package/package.json
CHANGED