@midas-ds/components 17.29.0 → 17.30.1

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.
Files changed (171) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/accordion/index.js +1 -1
  3. package/badge/index.js +1 -1
  4. package/breadcrumbs/index.js +1 -1
  5. package/button/index.js +1 -1
  6. package/calendar/index.js +1 -1
  7. package/card/index.js +1 -1
  8. package/checkbox/index.js +1 -1
  9. package/chunks/FeedbackStatusIcon-DvMDGBGL.js +36 -0
  10. package/chunks/{accordion-DIVTJU3O.js → accordion-DlVM6IKH.js} +24 -24
  11. package/chunks/{badge-BfK6XrlL.js → badge-C4bXJmhn.js} +1 -1
  12. package/chunks/{breadcrumbs-DV0ZJc62.js → breadcrumbs-BGnyY3bO.js} +1 -1
  13. package/chunks/{button-CenXTGXL.js → button-dpe6hXmI.js} +2 -2
  14. package/chunks/calendar-BnT8aqrk.js +108 -0
  15. package/chunks/card-C0S9Kyi2.js +103 -0
  16. package/chunks/checkbox-B1RWLsu9.js +106 -0
  17. package/chunks/clear-button-DWtOkhCH.js +17 -0
  18. package/chunks/clsx-DAqHMl_k.js +7 -0
  19. package/chunks/color-scheme-switch-DVyIszaD.js +160 -0
  20. package/chunks/{combobox-DIou4Z-d.js → combobox-BLAVO2ax.js} +25 -25
  21. package/chunks/{date-field-BF2f9bSf.js → date-field-D5QLfSD_.js} +5 -5
  22. package/chunks/date-picker-BWSHiwIN.js +142 -0
  23. package/chunks/{drop-zone-DH3ZyHsr.js → drop-zone-DNhEbH4w.js} +1 -1
  24. package/chunks/{field-error-LtNtEKDp.js → field-error-BHoPnRe4.js} +2 -2
  25. package/chunks/file-list-Ntos8dkG.js +139 -0
  26. package/chunks/{grid-Cn_8RSvj.js → grid-BR68fpvW.js} +1 -1
  27. package/chunks/{heading-BEl_z-5T.js → heading-DcOjYrUM.js} +1 -1
  28. package/chunks/{info-banner-osR4e6nB.js → info-banner-DXjPEG69.js} +15 -15
  29. package/chunks/label-pGlER0ro.js +50 -0
  30. package/chunks/layout-Bue2Lkbc.js +378 -0
  31. package/chunks/link-B76JDA2N.js +44 -0
  32. package/chunks/link-button-BeXxC22w.js +44 -0
  33. package/chunks/{list-box-BN_MSiOD.js → list-box-BzBJX0nP.js} +3 -3
  34. package/chunks/{logo-DyZ2pXt7.js → logo-DSJ1bUJZ.js} +1 -1
  35. package/chunks/menu-DbQ98noD.js +48 -0
  36. package/chunks/modal-C8rs1jfL.js +66 -0
  37. package/chunks/{popover-DGcogqbS.js → popover-B82BcP5n.js} +1 -1
  38. package/chunks/{progress-bar-CknF4qAm.js → progress-bar-S6GNHQRZ.js} +2 -2
  39. package/chunks/{radio-BD1EuxSa.js → radio-uAtTm38S.js} +4 -4
  40. package/chunks/search-field-Bx3JApAJ.js +91 -0
  41. package/chunks/select-CuKVJ1x9.js +177 -0
  42. package/chunks/{skeleton-B_BPRPJy.js → skeleton-R_3dS7Ro.js} +1 -1
  43. package/chunks/spinner-CIjfJeGm.js +29 -0
  44. package/chunks/{stack-LF3ExhH9.js → stack-BAHKom_Q.js} +1 -1
  45. package/chunks/table-DDTeIVh8.js +84 -0
  46. package/chunks/{tabs-Co09VWvC.js → tabs-owuRVJ3N.js} +1 -1
  47. package/chunks/tag-BEawJnJm.js +78 -0
  48. package/chunks/{text-DwmZ-ew8.js → text-DnvD4Cjc.js} +1 -1
  49. package/chunks/textfield-G6u6RJD5.js +113 -0
  50. package/chunks/{time-field-CmjGBQph.js → time-field-Mm1iDLzS.js} +6 -6
  51. package/chunks/{toast-gJgjitZF.js → toast-DZuvVRD_.js} +21 -21
  52. package/chunks/{toggle-button-CIvsOXQf.js → toggle-button-DD_bXanH.js} +1 -1
  53. package/chunks/{tooltip-BkesIUIF.js → tooltip-1GBTeMrm.js} +1 -1
  54. package/clear-button/index.js +1 -1
  55. package/color-scheme-switch/index.js +1 -1
  56. package/combobox/index.js +1 -1
  57. package/date-field/index.js +1 -1
  58. package/date-picker/index.js +1 -1
  59. package/drop-zone/index.js +1 -1
  60. package/field-error/index.js +1 -1
  61. package/file-list/index.js +1 -1
  62. package/grid/index.js +1 -1
  63. package/heading/index.js +1 -1
  64. package/index.js +52 -50
  65. package/info-banner/index.js +1 -1
  66. package/label/index.js +1 -1
  67. package/layout/Layout.d.ts +1 -2
  68. package/layout/context/LayoutContext.d.ts +7 -1
  69. package/layout/index.js +1 -1
  70. package/link/index.js +1 -1
  71. package/link-button/index.js +1 -1
  72. package/list-box/index.js +1 -1
  73. package/logo/index.js +1 -1
  74. package/menu/index.js +1 -1
  75. package/modal/index.js +1 -1
  76. package/package.json +4 -2
  77. package/popover/index.js +1 -1
  78. package/progress-bar/index.js +1 -1
  79. package/radio/index.js +1 -1
  80. package/search-field/index.js +1 -1
  81. package/select/index.js +1 -1
  82. package/skeleton/index.js +1 -1
  83. package/spinner/index.js +1 -1
  84. package/stack/index.js +1 -1
  85. package/table/index.js +1 -1
  86. package/tabs/index.js +1 -1
  87. package/tag/index.js +1 -1
  88. package/text/index.js +1 -1
  89. package/textfield/index.js +1 -1
  90. package/time-field/index.js +1 -1
  91. package/toast/index.js +1 -1
  92. package/toggle-button/index.js +1 -1
  93. package/tooltip/index.js +1 -1
  94. package/accordion/Accordion.stories.d.ts +0 -23
  95. package/accordion/AccordionItem.stories.d.ts +0 -25
  96. package/badge/Badge.stories.d.ts +0 -17
  97. package/breadcrumbs/Breadcrumbs.stories.d.ts +0 -25
  98. package/button/Button.stories.d.ts +0 -25
  99. package/button/ButtonGroup.stories.d.ts +0 -15
  100. package/calendar/Calendar.stories.d.ts +0 -17
  101. package/calendar/RangeCalendar.stories.d.ts +0 -15
  102. package/card/Card.stories.d.ts +0 -19
  103. package/checkbox/Checkbox.stories.d.ts +0 -30
  104. package/checkbox/CheckboxGroup.stories.d.ts +0 -31
  105. package/chunks/FeedbackStatusIcon-DRI7WrSU.js +0 -54
  106. package/chunks/arrow-right-Db_H9KjE.js +0 -10
  107. package/chunks/calendar-Bl_obez5.js +0 -111
  108. package/chunks/card-zIYA-SQh.js +0 -103
  109. package/chunks/check-DV00NPU0.js +0 -7
  110. package/chunks/checkbox-Bqd8B58G.js +0 -110
  111. package/chunks/chevron-down-CP7nEDei.js +0 -7
  112. package/chunks/chevron-right-DwqboCdU.js +0 -7
  113. package/chunks/clear-button-D3I1X3yG.js +0 -17
  114. package/chunks/clsx-Di52oYUU.js +0 -23
  115. package/chunks/color-scheme-switch-DVZjdwc9.js +0 -203
  116. package/chunks/createLucideIcon-BgluSHFG.js +0 -39
  117. package/chunks/date-picker-DZivTUB_.js +0 -187
  118. package/chunks/file-list-B4vG_egr.js +0 -161
  119. package/chunks/info-jCyacVsy.js +0 -19
  120. package/chunks/label-LWlgvAwz.js +0 -50
  121. package/chunks/layout-Db5um0f7.js +0 -426
  122. package/chunks/link-BAgs4RwY.js +0 -59
  123. package/chunks/link-button-BuPMEGUj.js +0 -52
  124. package/chunks/menu-aT2IR0tO.js +0 -49
  125. package/chunks/modal-C-UsxdO0.js +0 -66
  126. package/chunks/search-field-GNTRFpzf.js +0 -100
  127. package/chunks/select-oLCNpryY.js +0 -177
  128. package/chunks/spinner-LdHPVms_.js +0 -32
  129. package/chunks/square-arrow-out-up-right-DkgXD7hj.js +0 -17
  130. package/chunks/table-CmNWoAYO.js +0 -150
  131. package/chunks/tag-BIcqtf7b.js +0 -78
  132. package/chunks/textfield-BSvCsAyC.js +0 -112
  133. package/chunks/x-BJAOO5a5.js +0 -10
  134. package/color-scheme-switch/ColorSchemeSwitch.stories.d.ts +0 -7
  135. package/color-scheme-switch/ColorSchemeSwitchMenu.stories.d.ts +0 -8
  136. package/combobox/ComboBox.stories.d.ts +0 -43
  137. package/date-field/DateField.stories.d.ts +0 -15
  138. package/date-picker/DatePicker.stories.d.ts +0 -17
  139. package/date-picker/DateRangePicker.stories.d.ts +0 -39
  140. package/drop-zone/DropZone.stories.d.ts +0 -16
  141. package/file-list/FileList.stories.d.ts +0 -31
  142. package/grid/Grid.stories.d.ts +0 -28
  143. package/heading/Heading.stories.d.ts +0 -30
  144. package/info-banner/InfoBanner.stories.d.ts +0 -16
  145. package/label/Label.stories.d.ts +0 -10
  146. package/layout/Layout.stories.d.ts +0 -9
  147. package/link/Link.stories.d.ts +0 -14
  148. package/link-button/LinkButton.stories.d.ts +0 -13
  149. package/list-box/ListBox.stories.d.ts +0 -24
  150. package/logo/Logo.stories.d.ts +0 -7
  151. package/menu/Menu.stories.d.ts +0 -35
  152. package/modal/Modal.stories.d.ts +0 -15
  153. package/popover/Popover.stories.d.ts +0 -18
  154. package/progress-bar/ProgressBar.stories.d.ts +0 -18
  155. package/radio/Radio.stories.d.ts +0 -110
  156. package/radio/RadioGroup.stories.d.ts +0 -27
  157. package/search-field/SearchField.stories.d.ts +0 -34
  158. package/select/Select.stories.d.ts +0 -53
  159. package/skeleton/Skeleton.Form.stories.d.ts +0 -20
  160. package/skeleton/Skeleton.stories.d.ts +0 -10
  161. package/spinner/Spinner.stories.d.ts +0 -20
  162. package/stack/Stack.stories.d.ts +0 -24
  163. package/table/Table.stories.d.ts +0 -39
  164. package/tabs/Tabs.stories.d.ts +0 -31
  165. package/tag/Tag.stories.d.ts +0 -17
  166. package/text/Text.stories.d.ts +0 -10
  167. package/textfield/TextArea.stories.d.ts +0 -365
  168. package/textfield/TextField.stories.d.ts +0 -39
  169. package/time-field/TimeField.stories.d.ts +0 -37
  170. package/toast/Toast.stories.d.ts +0 -24
  171. package/tooltip/Tooltip.stories.d.ts +0 -26
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-Di52oYUU.js";
3
- import { t } from "./FeedbackStatusIcon-DRI7WrSU.js";
4
- import { t as n } from "./x-BJAOO5a5.js";
5
- import { n as r } from "./button-CenXTGXL.js";
6
- import i from "react";
7
- import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
2
+ import { t as e } from "./clsx-DAqHMl_k.js";
3
+ import { n as t } from "./button-dpe6hXmI.js";
4
+ import { t as n } from "./FeedbackStatusIcon-DvMDGBGL.js";
5
+ import r from "react";
6
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ import { X as s } from "lucide-react";
8
8
  import { useToast as c, useToastRegion as l } from "react-aria";
9
9
  import { ToastQueue as u, useToastQueue as d, useToastState as f } from "react-stately";
10
10
  import { createPortal as p, flushSync as m } from "react-dom";
@@ -32,32 +32,32 @@ import '../assets/toast.css';var h = {
32
32
  maxVisibleToasts: 5
33
33
  }, _ = new u(g), v = (e) => {
34
34
  let t = d(_);
35
- return t.visibleToasts.length > 0 ? p(/* @__PURE__ */ o(b, {
35
+ return t.visibleToasts.length > 0 ? p(/* @__PURE__ */ a(b, {
36
36
  ...e,
37
37
  state: t
38
38
  }), document.body) : null;
39
39
  }, y = ({ children: e, ...t }) => {
40
40
  let n = f(g);
41
- return /* @__PURE__ */ s(a, { children: [typeof e == "function" ? e(n) : e, n.visibleToasts.length > 0 && /* @__PURE__ */ o(b, {
41
+ return /* @__PURE__ */ o(i, { children: [typeof e == "function" ? e(n) : e, n.visibleToasts.length > 0 && /* @__PURE__ */ a(b, {
42
42
  ...t,
43
43
  state: n
44
44
  })] });
45
45
  };
46
- function b({ state: t, className: n, ...r }) {
47
- let a = i.useRef(null), { regionProps: s } = l(r, t, a);
48
- return /* @__PURE__ */ o("div", {
46
+ function b({ state: t, className: n, ...i }) {
47
+ let o = r.useRef(null), { regionProps: s } = l(i, t, o);
48
+ return /* @__PURE__ */ a("div", {
49
49
  ...s,
50
- ref: a,
50
+ ref: o,
51
51
  className: e(h.toastRegion, n),
52
- children: t.visibleToasts.map((e) => /* @__PURE__ */ o(x, {
52
+ children: t.visibleToasts.map((e) => /* @__PURE__ */ a(x, {
53
53
  toast: e,
54
54
  state: t
55
55
  }, e.key))
56
56
  });
57
57
  }
58
- function x({ state: a, className: l, ...u }) {
59
- let d = i.useRef(null), { toastProps: f, contentProps: p, titleProps: m, closeButtonProps: g } = c(u, a, d);
60
- return /* @__PURE__ */ s("div", {
58
+ function x({ state: i, className: l, ...u }) {
59
+ let d = r.useRef(null), { toastProps: f, contentProps: p, titleProps: m, closeButtonProps: g } = c(u, i, d);
60
+ return /* @__PURE__ */ o("div", {
61
61
  ...f,
62
62
  ref: d,
63
63
  className: e(h.toast, h[u.toast.content.type], l),
@@ -65,22 +65,22 @@ function x({ state: a, className: l, ...u }) {
65
65
  viewTransitionName: u.toast.key,
66
66
  viewTransitionClass: h.viewTransition
67
67
  },
68
- children: [/* @__PURE__ */ s("div", {
68
+ children: [/* @__PURE__ */ o("div", {
69
69
  ...p,
70
70
  className: e(h.toastContent, p.className),
71
- children: [/* @__PURE__ */ o(t, {
71
+ children: [/* @__PURE__ */ a(n, {
72
72
  "aria-hidden": !0,
73
73
  className: h.icon,
74
74
  status: u.toast.content.type
75
- }), /* @__PURE__ */ s("div", { children: [/* @__PURE__ */ o("p", {
75
+ }), /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a("p", {
76
76
  className: h.toastMessage,
77
77
  ...m,
78
78
  children: u.toast.content.message
79
79
  }), u.toast.content.children] })]
80
- }), /* @__PURE__ */ o(r, {
80
+ }), /* @__PURE__ */ a(t, {
81
81
  variant: "icon",
82
82
  ...g,
83
- children: /* @__PURE__ */ o(n, {
83
+ children: /* @__PURE__ */ a(s, {
84
84
  size: 20,
85
85
  "aria-hidden": !0
86
86
  })
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-Di52oYUU.js";
1
+ import { t as e } from "./clsx-DAqHMl_k.js";
2
2
  import { t } from "./Button.module-0C2ArlRs.js";
3
3
  import "react";
4
4
  import { ToggleButton as n, ToggleButtonGroup as r } from "react-aria-components";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-Di52oYUU.js";
1
+ import { t as e } from "./clsx-DAqHMl_k.js";
2
2
  import "react";
3
3
  import { OverlayArrow as t, Tooltip as n, TooltipTrigger as r } from "react-aria-components";
4
4
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/clear-button-D3I1X3yG.js";
1
+ import { t as e } from "../chunks/clear-button-DWtOkhCH.js";
2
2
  export { e as ClearButton };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/color-scheme-switch-DVZjdwc9.js";
1
+ import { n as e, t } from "../chunks/color-scheme-switch-DVyIszaD.js";
2
2
  export { e as ColorSchemeSwitch, t as ColorSchemeSwitchMenu };
package/combobox/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/combobox-DIou4Z-d.js";
1
+ import { t as e } from "../chunks/combobox-BLAVO2ax.js";
2
2
  export { e as ComboBox };
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/date-field-BF2f9bSf.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/date-field-D5QLfSD_.js";
2
2
  export { e as DateField, t as DateInput, r as DateInputDivider, n as DateSegment };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/date-picker-DZivTUB_.js";
1
+ import { n as e, t } from "../chunks/date-picker-BWSHiwIN.js";
2
2
  export { e as DatePicker, t as DateRangePicker };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/drop-zone-DH3ZyHsr.js";
1
+ import { t as e } from "../chunks/drop-zone-DNhEbH4w.js";
2
2
  export { e as DropZone };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/field-error-LtNtEKDp.js";
1
+ import { t as e } from "../chunks/field-error-BHoPnRe4.js";
2
2
  export { e as FieldError };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/file-list-B4vG_egr.js";
1
+ import { n as e, t } from "../chunks/file-list-Ntos8dkG.js";
2
2
  export { e as FileList, t as FileListItem };
package/grid/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/grid-Cn_8RSvj.js";
1
+ import { n as e, t } from "../chunks/grid-BR68fpvW.js";
2
2
  export { e as Grid, t as GridItem };
package/heading/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/heading-BEl_z-5T.js";
1
+ import { t as e } from "../chunks/heading-DcOjYrUM.js";
2
2
  export { e as Heading };
package/index.js CHANGED
@@ -1,52 +1,52 @@
1
1
  'use client';
2
2
  "use client";
3
- import { n as e, t } from "./chunks/accordion-DIVTJU3O.js";
4
- import { t as n } from "./chunks/clsx-Di52oYUU.js";
5
- import { t as r } from "./chunks/spinner-LdHPVms_.js";
6
- import { n as i, t as a } from "./chunks/link-BAgs4RwY.js";
7
- import { a as o, i as s, n as c, o as l, r as u, t as d } from "./chunks/table-CmNWoAYO.js";
8
- import { t as f } from "./chunks/link-button-BuPMEGUj.js";
9
- import { n as p, t as m } from "./chunks/date-picker-DZivTUB_.js";
10
- import { n as h, t as g } from "./chunks/calendar-Bl_obez5.js";
11
- import { a as _, i as v, n as y, r as b, t as x } from "./chunks/layout-Db5um0f7.js";
12
- import { i as S, n as C, r as w, t as T } from "./chunks/checkbox-Bqd8B58G.js";
13
- import { n as E, t as D } from "./chunks/color-scheme-switch-DVZjdwc9.js";
14
- import { t as O } from "./chunks/search-field-GNTRFpzf.js";
15
- import { n as k, t as A } from "./chunks/file-list-B4vG_egr.js";
16
- import { t as j } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
17
- import { n as M, t as N } from "./chunks/button-CenXTGXL.js";
18
- import { t as P } from "./chunks/heading-BEl_z-5T.js";
19
- import { n as F, t as I } from "./chunks/badge-BfK6XrlL.js";
20
- import { n as L, t as R } from "./chunks/breadcrumbs-DV0ZJc62.js";
21
- import { t as z } from "./chunks/label-LWlgvAwz.js";
22
- import { t as B } from "./chunks/popover-DGcogqbS.js";
23
- import { n as V, r as H, t as U } from "./chunks/modal-C-UsxdO0.js";
24
- import { t as W } from "./chunks/text-DwmZ-ew8.js";
25
- import { t as G } from "./chunks/field-error-LtNtEKDp.js";
26
- import { n as K, t as q } from "./chunks/select-oLCNpryY.js";
27
- import { a as J, c as Y, i as X, n as Z, o as Q, r as $, s as ee, t as te } from "./chunks/list-box-BN_MSiOD.js";
28
- import { n as ne, r as re, t as ie } from "./chunks/tag-BIcqtf7b.js";
29
- import { a as ae, c as oe, i as se, l as ce, n as le, o as ue, r as de, s as fe, t as pe } from "./chunks/card-zIYA-SQh.js";
30
- import { t as me } from "./chunks/character-counter-CSoVSrxZ.js";
31
- import { t as he } from "./chunks/icons-UBHIX2oV.js";
32
- import { n as ge, t as _e } from "./chunks/toggle-button-CIvsOXQf.js";
33
- import { a as ve, i as ye, n as be, o as xe, r as Se, t as Ce } from "./chunks/menu-aT2IR0tO.js";
34
- import { t as we } from "./chunks/combobox-DIou4Z-d.js";
35
- import { i as Te, n as Ee, r as De, t as Oe } from "./chunks/date-field-BF2f9bSf.js";
36
- import { t as ke } from "./chunks/drop-zone-DH3ZyHsr.js";
37
- import { t as Ae } from "./chunks/progress-bar-CknF4qAm.js";
38
- import { t as je } from "./chunks/file-trigger-Dp5nH8oS.js";
39
- import { n as Me, t as Ne } from "./chunks/grid-Cn_8RSvj.js";
40
- import { t as Pe } from "./chunks/info-banner-osR4e6nB.js";
41
- import { n as Fe, t as Ie } from "./chunks/tooltip-BkesIUIF.js";
42
- import { n as Le, t as Re } from "./chunks/logo-DyZ2pXt7.js";
43
- import { i as ze, n as Be, r as Ve, t as He } from "./chunks/radio-BD1EuxSa.js";
44
- import { t as Ue } from "./chunks/skeleton-B_BPRPJy.js";
45
- import { t as We } from "./chunks/stack-LF3ExhH9.js";
46
- import { i as Ge, n as Ke, r as qe, t as Je } from "./chunks/tabs-Co09VWvC.js";
47
- import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-BSvCsAyC.js";
48
- import { t as $e } from "./chunks/time-field-CmjGBQph.js";
49
- import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-gJgjitZF.js";
3
+ import { n as e, t } from "./chunks/accordion-DlVM6IKH.js";
4
+ import { t as n } from "./chunks/clsx-DAqHMl_k.js";
5
+ import { t as r } from "./chunks/spinner-CIjfJeGm.js";
6
+ import { t as i } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
7
+ import { n as a, t as o } from "./chunks/button-dpe6hXmI.js";
8
+ import { t as s } from "./chunks/heading-DcOjYrUM.js";
9
+ import { n as c, t as l } from "./chunks/badge-C4bXJmhn.js";
10
+ import { n as u, t as d } from "./chunks/breadcrumbs-BGnyY3bO.js";
11
+ import { n as f, t as p } from "./chunks/calendar-BnT8aqrk.js";
12
+ import { t as m } from "./chunks/label-pGlER0ro.js";
13
+ import { t as h } from "./chunks/popover-B82BcP5n.js";
14
+ import { n as g, r as _, t as v } from "./chunks/modal-C8rs1jfL.js";
15
+ import { t as y } from "./chunks/text-DnvD4Cjc.js";
16
+ import { t as b } from "./chunks/field-error-BHoPnRe4.js";
17
+ import { i as x, n as S, r as C, t as w } from "./chunks/checkbox-B1RWLsu9.js";
18
+ import { n as T, t as E } from "./chunks/select-CuKVJ1x9.js";
19
+ import { a as D, c as O, i as k, n as A, o as j, r as M, s as N, t as P } from "./chunks/list-box-BzBJX0nP.js";
20
+ import { n as F, r as I, t as L } from "./chunks/tag-BEawJnJm.js";
21
+ import { a as R, c as z, i as B, l as V, n as H, o as U, r as W, s as G, t as K } from "./chunks/card-C0S9Kyi2.js";
22
+ import { t as q } from "./chunks/character-counter-CSoVSrxZ.js";
23
+ import { t as J } from "./chunks/icons-UBHIX2oV.js";
24
+ import { n as Y, t as X } from "./chunks/toggle-button-DD_bXanH.js";
25
+ import { n as Z, t as Q } from "./chunks/color-scheme-switch-DVyIszaD.js";
26
+ import { a as $, i as ee, n as te, o as ne, r as re, t as ie } from "./chunks/menu-DbQ98noD.js";
27
+ import { t as ae } from "./chunks/combobox-BLAVO2ax.js";
28
+ import { i as oe, n as se, r as ce, t as le } from "./chunks/date-field-D5QLfSD_.js";
29
+ import { n as ue, t as de } from "./chunks/date-picker-BWSHiwIN.js";
30
+ import { t as fe } from "./chunks/drop-zone-DNhEbH4w.js";
31
+ import { n as pe, t as me } from "./chunks/file-list-Ntos8dkG.js";
32
+ import { t as he } from "./chunks/progress-bar-S6GNHQRZ.js";
33
+ import { t as ge } from "./chunks/file-trigger-Dp5nH8oS.js";
34
+ import { n as _e, t as ve } from "./chunks/grid-BR68fpvW.js";
35
+ import { t as ye } from "./chunks/info-banner-DXjPEG69.js";
36
+ import { a as be, i as xe, n as Se, r as Ce, t as we } from "./chunks/layout-Bue2Lkbc.js";
37
+ import { n as Te, t as Ee } from "./chunks/tooltip-1GBTeMrm.js";
38
+ import { n as De, t as Oe } from "./chunks/logo-DSJ1bUJZ.js";
39
+ import { n as ke, t as Ae } from "./chunks/link-B76JDA2N.js";
40
+ import { t as je } from "./chunks/link-button-BeXxC22w.js";
41
+ import { i as Me, n as Ne, r as Pe, t as Fe } from "./chunks/radio-uAtTm38S.js";
42
+ import { t as Ie } from "./chunks/search-field-Bx3JApAJ.js";
43
+ import { t as Le } from "./chunks/skeleton-R_3dS7Ro.js";
44
+ import { t as Re } from "./chunks/stack-BAHKom_Q.js";
45
+ import { a as ze, i as Be, n as Ve, o as He, r as Ue, t as We } from "./chunks/table-DDTeIVh8.js";
46
+ import { i as Ge, n as Ke, r as qe, t as Je } from "./chunks/tabs-owuRVJ3N.js";
47
+ import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-G6u6RJD5.js";
48
+ import { t as $e } from "./chunks/time-field-Mm1iDLzS.js";
49
+ import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-DZuvVRD_.js";
50
50
  //#endregion
51
51
  //#region src/version.ts
52
52
  var ot = {
@@ -61,7 +61,7 @@ var ot = {
61
61
  description: "Midas Components",
62
62
  homepage: "https://designsystem.migrationsverket.se/",
63
63
  license: "CC0-1.0",
64
- version: "17.29.0",
64
+ version: "17.30.1",
65
65
  module: "./index.js",
66
66
  type: "module",
67
67
  main: "./index.js",
@@ -85,12 +85,14 @@ var ot = {
85
85
  },
86
86
  dependencies: {
87
87
  "@internationalized/string": "^3.2.10",
88
- "@midas-ds/theme": "3.17.6",
88
+ "@midas-ds/theme": "3.17.7",
89
89
  "@react-stately/utils": "3.12.1",
90
+ "lucide-react": ">=0.563.0 <2.0.0",
91
+ clsx: "^2.1.1",
90
92
  "react-aria-components": "1.21.1",
91
93
  "react-aria": "3.52.1",
92
94
  "react-stately": "3.50.0"
93
95
  }
94
96
  }.version;
95
97
  //#endregion
96
- export { e as Accordion, t as AccordionItem, F as Badge, I as BadgeContainer, R as Breadcrumb, L as Breadcrumbs, M as Button, N as ButtonGroup, h as Calendar, de as Card, se as CardActionArea, ae as CardActions, le as CardBody, ue as CardContent, pe as CardHeader, fe as CardImage, oe as CardLink, ce as CardTitle, d as Cell, me as CharacterCounter, C as Checkbox, w as CheckboxButton, S as CheckboxField, T as CheckboxGroup, E as ColorSchemeSwitch, D as ColorSchemeSwitchMenu, c as Column, we as ComboBox, he as ContrastFilled, Te as DateField, Ee as DateInput, Oe as DateInputDivider, p as DatePicker, m as DateRangePicker, De as DateSegment, U as DialogTrigger, ke as DropZone, G as FieldError, k as FileList, A as FileListItem, je as FileTrigger, at as GlobalToastRegion, Me as Grid, Ne as GridItem, b as Header, P as Heading, Pe as InfoBanner, Ze as Input, z as Label, x as Layout, a as Link, f as LinkButton, Y as ListBox, ee as ListBoxButton, te as ListBoxEmptyState, Z as ListBoxHeader, Q as ListBoxItem, $ as ListBoxLoadMoreItem, J as ListBoxPopover, X as ListBoxSection, Re as Logo, Le as LogoContext, ve as Menu, ye as MenuItem, Se as MenuPopover, be as MenuSection, xe as MenuTrigger, V as Modal, H as ModalOverlay, y as Navbar, B as Popover, Ae as ProgressBar, Be as Radio, Ve as RadioButton, ze as RadioField, He as RadioGroup, g as RangeCalendar, i as RouterProvider, u as Row, O as SearchField, q as Select, K as SelectTrigger, Ce as Separator, v as Sidebar, _ as SidebarLink, Ue as Skeleton, r as Spinner, We as Stack, qe as Tab, Je as TabList, Ke as TabPanel, s as Table, o as TableBody, l as TableHeader, Ge as Tabs, re as Tag, ie as TagGroup, ne as TagList, W as Text, Qe as TextArea, Xe as TextField, Ye as TextFieldBase, $e as TimeField, nt as Toast, it as ToastProvider, tt as ToastRegion, ge as ToggleButton, _e as ToggleButtonGroup, Ie as Tooltip, Fe as TooltipTrigger, ot as VERSION, n as clsx, et as toastQueue, j as useLocalizedStringFormatter, rt as useToastState };
98
+ export { e as Accordion, t as AccordionItem, c as Badge, l as BadgeContainer, d as Breadcrumb, u as Breadcrumbs, a as Button, o as ButtonGroup, f as Calendar, W as Card, B as CardActionArea, R as CardActions, H as CardBody, U as CardContent, K as CardHeader, G as CardImage, z as CardLink, V as CardTitle, We as Cell, q as CharacterCounter, S as Checkbox, C as CheckboxButton, x as CheckboxField, w as CheckboxGroup, Z as ColorSchemeSwitch, Q as ColorSchemeSwitchMenu, Ve as Column, ae as ComboBox, J as ContrastFilled, oe as DateField, se as DateInput, le as DateInputDivider, ue as DatePicker, de as DateRangePicker, ce as DateSegment, v as DialogTrigger, fe as DropZone, b as FieldError, pe as FileList, me as FileListItem, ge as FileTrigger, at as GlobalToastRegion, _e as Grid, ve as GridItem, Ce as Header, s as Heading, ye as InfoBanner, Ze as Input, m as Label, we as Layout, Ae as Link, je as LinkButton, O as ListBox, N as ListBoxButton, P as ListBoxEmptyState, A as ListBoxHeader, j as ListBoxItem, M as ListBoxLoadMoreItem, D as ListBoxPopover, k as ListBoxSection, Oe as Logo, De as LogoContext, $ as Menu, ee as MenuItem, re as MenuPopover, te as MenuSection, ne as MenuTrigger, g as Modal, _ as ModalOverlay, Se as Navbar, h as Popover, he as ProgressBar, Ne as Radio, Pe as RadioButton, Me as RadioField, Fe as RadioGroup, p as RangeCalendar, ke as RouterProvider, Ue as Row, Ie as SearchField, E as Select, T as SelectTrigger, ie as Separator, xe as Sidebar, be as SidebarLink, Le as Skeleton, r as Spinner, Re as Stack, qe as Tab, Je as TabList, Ke as TabPanel, Be as Table, ze as TableBody, He as TableHeader, Ge as Tabs, I as Tag, L as TagGroup, F as TagList, y as Text, Qe as TextArea, Xe as TextField, Ye as TextFieldBase, $e as TimeField, nt as Toast, it as ToastProvider, tt as ToastRegion, Y as ToggleButton, X as ToggleButtonGroup, Ee as Tooltip, Te as TooltipTrigger, ot as VERSION, n as clsx, et as toastQueue, i as useLocalizedStringFormatter, rt as useToastState };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/info-banner-osR4e6nB.js";
1
+ import { t as e } from "../chunks/info-banner-DXjPEG69.js";
2
2
  export { e as InfoBanner };
package/label/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/label-LWlgvAwz.js";
1
+ import { t as e } from "../chunks/label-pGlER0ro.js";
2
2
  export { e as Label };
@@ -2,8 +2,7 @@ import { LucideIcon } from 'lucide-react';
2
2
  import { Sidebar } from './components/Sidebar';
3
3
  import { Header } from './components/Header';
4
4
  import { SidebarLink } from './components/SidebarLink';
5
- import { Href } from '@react-types/shared';
6
- import { LayoutProvider } from './context/LayoutContext';
5
+ import { Href, LayoutProvider } from './context/LayoutContext';
7
6
  import { Backdrop } from './components/Backdrop';
8
7
  import { Navbar } from './components/Navbar';
9
8
  import { HTMLAttributeAnchorTarget } from 'react';
@@ -1,6 +1,12 @@
1
1
  import { SidebarLinkGroup, SidebarUser, App } from '../Layout';
2
- import { Href } from '@react-types/shared';
2
+ import { LinkProps } from 'react-aria-components';
3
3
  import * as React from 'react';
4
+ /**
5
+ * A link target, typed by the app's React Aria router config if it has one.
6
+ * The same type as `Href` in @react-types/shared, taken from a package we
7
+ * depend on so it resolves in consumers' type checks.
8
+ */
9
+ export type Href = NonNullable<LinkProps['href']>;
4
10
  export interface LayoutContextProps {
5
11
  items: SidebarLinkGroup[];
6
12
  title: string;
package/layout/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "../chunks/layout-Db5um0f7.js";
1
+ import { a as e, i as t, n, r, t as i } from "../chunks/layout-Bue2Lkbc.js";
2
2
  export { r as Header, i as Layout, n as Navbar, t as Sidebar, e as SidebarLink };
package/link/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-BAgs4RwY.js";
1
+ import { n as e, t } from "../chunks/link-B76JDA2N.js";
2
2
  export { t as Link, e as RouterProvider };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-button-BuPMEGUj.js";
1
+ import { n as e, t } from "../chunks/link-button-BeXxC22w.js";
2
2
  export { t as LinkButton, e as RouterProvider };
package/list-box/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-BN_MSiOD.js";
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-BzBJX0nP.js";
2
2
  export { t as ListBox, o as ListBoxButton, s as ListBoxEmptyState, r as ListBoxHeader, i as ListBoxItem, a as ListBoxLoadMoreItem, e as ListBoxPopover, n as ListBoxSection };
package/logo/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/logo-DyZ2pXt7.js";
1
+ import { n as e, t } from "../chunks/logo-DSJ1bUJZ.js";
2
2
  export { t as Logo, e as LogoContext };
package/menu/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-aT2IR0tO.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-DbQ98noD.js";
2
2
  export { e as Menu, t as MenuItem, i as MenuPopover, n as MenuSection, r as MenuTrigger, a as Separator };
package/modal/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../chunks/modal-C-UsxdO0.js";
1
+ import { n as e, r as t, t as n } from "../chunks/modal-C8rs1jfL.js";
2
2
  export { n as DialogTrigger, e as Modal, t as ModalOverlay };
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.29.0",
17
+ "version": "17.30.1",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -42,8 +42,10 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@internationalized/string": "^3.2.10",
45
- "@midas-ds/theme": "3.17.6",
45
+ "@midas-ds/theme": "3.17.7",
46
46
  "@react-stately/utils": "3.12.1",
47
+ "lucide-react": ">=0.563.0 <2.0.0",
48
+ "clsx": "^2.1.1",
47
49
  "react-aria-components": "1.21.1",
48
50
  "react-aria": "3.52.1",
49
51
  "react-stately": "3.50.0"
package/popover/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/popover-DGcogqbS.js";
1
+ import { t as e } from "../chunks/popover-B82BcP5n.js";
2
2
  export { e as Popover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/progress-bar-CknF4qAm.js";
1
+ import { t as e } from "../chunks/progress-bar-S6GNHQRZ.js";
2
2
  export { e as ProgressBar };
package/radio/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/radio-BD1EuxSa.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/radio-uAtTm38S.js";
2
2
  export { t as Radio, n as RadioButton, e as RadioField, r as RadioGroup };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/search-field-GNTRFpzf.js";
1
+ import { t as e } from "../chunks/search-field-Bx3JApAJ.js";
2
2
  export { e as SearchField };
package/select/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/select-oLCNpryY.js";
1
+ import { n as e, t } from "../chunks/select-CuKVJ1x9.js";
2
2
  export { t as Select, e as SelectTrigger };
package/skeleton/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/skeleton-B_BPRPJy.js";
1
+ import { t as e } from "../chunks/skeleton-R_3dS7Ro.js";
2
2
  export { e as Skeleton };
package/spinner/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/spinner-LdHPVms_.js";
1
+ import { t as e } from "../chunks/spinner-CIjfJeGm.js";
2
2
  export { e as Spinner };
package/stack/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/stack-LF3ExhH9.js";
1
+ import { t as e } from "../chunks/stack-BAHKom_Q.js";
2
2
  export { e as Stack };
package/table/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-CmNWoAYO.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-DDTeIVh8.js";
2
2
  export { a as Cell, n as Column, i as Row, t as Table, e as TableBody, r as TableHeader };
package/tabs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/tabs-Co09VWvC.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/tabs-owuRVJ3N.js";
2
2
  export { n as Tab, r as TabList, t as TabPanel, e as Tabs };
package/tag/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "../chunks/tag-BIcqtf7b.js";
1
+ import { n as e, r as t, t as n } from "../chunks/tag-BEawJnJm.js";
2
2
  export { t as Tag, n as TagGroup, e as TagList };
package/text/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/text-DwmZ-ew8.js";
1
+ import { t as e } from "../chunks/text-DnvD4Cjc.js";
2
2
  export { e as Text };
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/textfield-BSvCsAyC.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/textfield-G6u6RJD5.js";
2
2
  export { n as Input, r as TextArea, t as TextField, e as TextFieldBase };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/time-field-CmjGBQph.js";
1
+ import { t as e } from "../chunks/time-field-Mm1iDLzS.js";
2
2
  export { e as TimeField };
package/toast/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-gJgjitZF.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-DZuvVRD_.js";
2
2
  export { a as GlobalToastRegion, n as Toast, i as ToastProvider, t as ToastRegion, e as toastQueue, r as useToastState };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/toggle-button-CIvsOXQf.js";
1
+ import { n as e, t } from "../chunks/toggle-button-DD_bXanH.js";
2
2
  export { e as ToggleButton, t as ToggleButtonGroup };
package/tooltip/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/tooltip-BkesIUIF.js";
1
+ import { n as e, t } from "../chunks/tooltip-1GBTeMrm.js";
2
2
  export { t as Tooltip, e as TooltipTrigger };
@@ -1,23 +0,0 @@
1
- import { default as React } from 'react';
2
- import { StoryObj } from '@storybook/react-vite';
3
- import { Accordion } from '.';
4
- type Story = StoryObj<typeof Accordion>;
5
- declare const _default: {
6
- component: React.FC<import('./Accordion').AccordionProps>;
7
- subcomponents: {
8
- AccordionItem: React.ComponentType<unknown>;
9
- };
10
- title: string;
11
- tags: string[];
12
- args: {
13
- size: "large";
14
- };
15
- };
16
- export default _default;
17
- export declare const Default: Story;
18
- export declare const Contained: Story;
19
- export declare const AllowsMultipleExpanded: Story;
20
- export declare const DefaultExpandedKeys: Story;
21
- export declare const CustomTriggerElements: Story;
22
- export declare const DynamicContent: Story;
23
- export declare const DS1060: Story;
@@ -1,25 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { AccordionItem } from './AccordionItem';
3
- type Story = StoryObj<typeof AccordionItem>;
4
- declare const _default: {
5
- component: ({ title, children, className, headingLevel, type, hasBackground, size, isContained: isContainedFromProp, iconAriaLabel, ...props }: import('./AccordionItem').AccordionItemProps) => import('react').JSX.Element;
6
- title: string;
7
- tags: string[];
8
- args: {
9
- title: string;
10
- children: string;
11
- size: "large";
12
- };
13
- };
14
- export default _default;
15
- export declare const Default: Story;
16
- export declare const Contained: Story;
17
- export declare const Success: Story;
18
- export declare const Info: Story;
19
- export declare const Warning: Story;
20
- export declare const Important: Story;
21
- export declare const TypeWithoutContained: Story;
22
- export declare const Disabled: Story;
23
- export declare const StatusDisabled: Story;
24
- export declare const HasBackground: Story;
25
- export declare const NoBackground: Story;
@@ -1,17 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Badge } from './Badge';
3
- type Story = StoryObj<typeof Badge>;
4
- declare const _default: {
5
- component: import('react').FC<import('react').HTMLAttributes<HTMLSpanElement>>;
6
- title: string;
7
- tags: string[];
8
- parameters: {
9
- layout: string;
10
- };
11
- args: {};
12
- render: (args: import('react').HTMLAttributes<HTMLSpanElement>) => import('react').JSX.Element;
13
- };
14
- export default _default;
15
- export declare const NoLabel: Story;
16
- export declare const WithLabel: Story;
17
- export declare const LongLabel: Story;
@@ -1,25 +0,0 @@
1
- import { StoryObj } from '@storybook/react-vite';
2
- import { Breadcrumbs } from './Breadcrumbs';
3
- type Item = {
4
- title: string;
5
- href: string;
6
- };
7
- type Story = StoryObj<typeof Breadcrumbs<Item>>;
8
- declare const _default: {
9
- component: <T extends object>({ className, ...rest }: import('./Breadcrumbs').BreadcrumbsProps<T>) => import('react').JSX.Element;
10
- subcomponents: {
11
- Breadcrumb: ({ className, children, ...rest }: import('./Breadcrumb').BreadcrumbProps) => import('react').JSX.Element;
12
- Link: <C extends React.ElementType = (props: import('react-aria-components').LinkProps & React.RefAttributes<HTMLAnchorElement>) => React.ReactElement | null>({ children, standalone, target, stretched, download, icon: customIcon, className, as, ...rest }: import('..').LinkProps<C>) => import('react').JSX.Element;
13
- };
14
- title: string;
15
- tags: string[];
16
- args: {
17
- items: {
18
- title: string;
19
- href: string;
20
- }[];
21
- children: (item: Item) => import('react').JSX.Element;
22
- };
23
- };
24
- export default _default;
25
- export declare const Primary: Story;
@@ -1,25 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { Button } from './Button';
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof Button>;
6
- export declare const Primary: Story;
7
- export declare const Secondary: Story;
8
- export declare const TertiaryWithIcon: Story;
9
- export declare const PrimaryDisabled: Story;
10
- export declare const SecondaryDisabled: Story;
11
- export declare const PrimaryFullwidth: {
12
- args: {
13
- children: string;
14
- fullwidth: boolean;
15
- };
16
- };
17
- export declare const Icon: {
18
- args: {
19
- children: undefined;
20
- icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
21
- variant: string;
22
- 'aria-label': string;
23
- };
24
- };
25
- export declare const Danger: Story;