@midas-ds/components 17.26.0 → 17.27.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 (166) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/accordion/AccordionItem.d.ts +1 -1
  3. package/accordion/AccordionItem.stories.d.ts +1 -1
  4. package/accordion/index.js +1 -1
  5. package/assets/calendar.css +1 -1
  6. package/assets/list-box.css +1 -1
  7. package/assets/select.css +1 -1
  8. package/badge/Badge.stories.d.ts +1 -1
  9. package/badge/index.js +1 -1
  10. package/breadcrumbs/Breadcrumb.d.ts +1 -1
  11. package/breadcrumbs/Breadcrumbs.d.ts +1 -1
  12. package/breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
  13. package/breadcrumbs/index.js +1 -1
  14. package/button/index.js +1 -1
  15. package/calendar/Calendar.d.ts +9 -1
  16. package/calendar/Calendar.stories.d.ts +3 -2
  17. package/calendar/CalendarGrid.d.ts +1 -1
  18. package/calendar/CalendarHeader.d.ts +2 -2
  19. package/calendar/CalendarPicker.d.ts +18 -0
  20. package/calendar/RangeCalendar.d.ts +8 -1
  21. package/calendar/RangeCalendar.stories.d.ts +2 -1
  22. package/calendar/index.js +1 -1
  23. package/card/Card.d.ts +1 -1
  24. package/card/card-body/CardBody.d.ts +1 -1
  25. package/card/card-header/CardHeader.d.ts +1 -1
  26. package/card/index.js +1 -1
  27. package/checkbox/CheckboxField.d.ts +1 -1
  28. package/checkbox/CheckboxGroup.d.ts +1 -1
  29. package/checkbox/CheckboxGroup.stories.d.ts +2 -2
  30. package/checkbox/SelectAllCheckbox.d.ts +1 -1
  31. package/checkbox/index.js +1 -1
  32. package/chunks/{FeedbackStatusIcon-BS5VX-s6.js → FeedbackStatusIcon-DRI7WrSU.js} +7 -7
  33. package/chunks/{accordion-BxxPnJau.js → accordion-DIVTJU3O.js} +7 -7
  34. package/chunks/{badge-BplGU5BS.js → badge-BfK6XrlL.js} +1 -1
  35. package/chunks/{breadcrumbs-C-Z6UlQn.js → breadcrumbs-DV0ZJc62.js} +1 -1
  36. package/chunks/{button-Ch860h28.js → button-CenXTGXL.js} +2 -2
  37. package/chunks/calendar-BZPktkdE.js +111 -0
  38. package/chunks/{card-Bzc8kToe.js → card-zIYA-SQh.js} +3 -3
  39. package/chunks/{checkbox-ivInWvEp.js → checkbox-DcXA9GSd.js} +14 -14
  40. package/chunks/{clear-button-la4Fb9_w.js → clear-button-D3I1X3yG.js} +1 -1
  41. package/chunks/{clsx-B1NYyfch.js → clsx-Di52oYUU.js} +6 -4
  42. package/chunks/{color-scheme-switch-jgoxUu3x.js → color-scheme-switch-DVZjdwc9.js} +4 -4
  43. package/chunks/{combobox-DDO4fEtI.js → combobox-DIou4Z-d.js} +10 -10
  44. package/chunks/{date-field-DG5TYsTF.js → date-field-BF2f9bSf.js} +10 -10
  45. package/chunks/{date-picker-1W7OmCT0.js → date-picker-BomOO1LI.js} +18 -18
  46. package/chunks/{drop-zone-DvQLpgq6.js → drop-zone-DH3ZyHsr.js} +1 -1
  47. package/chunks/{field-error-pJiSw4PN.js → field-error-LtNtEKDp.js} +2 -2
  48. package/chunks/{file-list-DM1Vtkun.js → file-list-TmEuO1fJ.js} +2 -2
  49. package/chunks/{grid-DZB3GGDg.js → grid-Cn_8RSvj.js} +1 -1
  50. package/chunks/heading-BEl_z-5T.js +31 -0
  51. package/chunks/{info-banner-DnFNZ1_o.js → info-banner-osR4e6nB.js} +3 -3
  52. package/chunks/{label-CEYHiWSa.js → label-LWlgvAwz.js} +4 -4
  53. package/chunks/{layout-DVj8wSj3.js → layout-Db5um0f7.js} +23 -23
  54. package/chunks/{link-CQoSw1Pv.js → link-BAgs4RwY.js} +5 -5
  55. package/chunks/{link-button-BMFzCHH8.js → link-button-BuPMEGUj.js} +5 -5
  56. package/chunks/{list-box-VdBVTwZK.js → list-box-BN_MSiOD.js} +19 -18
  57. package/chunks/{logo-CDxNjDeI.js → logo-DyZ2pXt7.js} +1 -1
  58. package/chunks/{menu-CPCGm0MC.js → menu-aT2IR0tO.js} +1 -1
  59. package/chunks/{modal-C-xHt7Ds.js → modal-C-UsxdO0.js} +3 -3
  60. package/chunks/{popover-wAwxm_cM.js → popover-DGcogqbS.js} +1 -1
  61. package/chunks/{progress-bar-Cft_RPHz.js → progress-bar-7w_kWo2f.js} +2 -2
  62. package/chunks/{radio-W0YqY7lo.js → radio-C-MUMGu7.js} +9 -9
  63. package/chunks/{search-field-d7FV4Kuv.js → search-field-BvfOHvUI.js} +11 -11
  64. package/chunks/{select-LjjT_7hr.js → select-KQzDIamx.js} +34 -30
  65. package/chunks/{skeleton-DWmvym7R.js → skeleton-B_BPRPJy.js} +1 -1
  66. package/chunks/{spinner-DMR5G-6u.js → spinner-LdHPVms_.js} +1 -1
  67. package/chunks/{table-O7Ht2ilY.js → table-zT6eQ3ZZ.js} +2 -2
  68. package/chunks/{tabs-BFFTnO4i.js → tabs-Co09VWvC.js} +1 -1
  69. package/chunks/{tag-mzNjP8EX.js → tag-BIcqtf7b.js} +2 -2
  70. package/chunks/text-DwmZ-ew8.js +28 -0
  71. package/chunks/{textfield-BsijPPRD.js → textfield-CXqzzOtw.js} +12 -12
  72. package/chunks/{time-field-BlNUOjUJ.js → time-field-CmjGBQph.js} +11 -11
  73. package/chunks/{toast-Cz0JDIr1.js → toast-gJgjitZF.js} +3 -3
  74. package/chunks/{toggle-button-BgUQKcK-.js → toggle-button-CIvsOXQf.js} +1 -1
  75. package/chunks/{tooltip-D7LYQwj0.js → tooltip-BkesIUIF.js} +1 -1
  76. package/clear-button/index.js +1 -1
  77. package/color-scheme-switch/index.js +1 -1
  78. package/combobox/ComboBox.d.ts +1 -1
  79. package/combobox/ComboBox.stories.d.ts +3 -2
  80. package/combobox/index.js +1 -1
  81. package/common/FeedbackStatusIcon.d.ts +1 -1
  82. package/date-field/index.js +1 -1
  83. package/date-picker/DatePickerInputField.d.ts +1 -1
  84. package/date-picker/index.js +1 -1
  85. package/drop-zone/index.js +1 -1
  86. package/field-error/index.js +1 -1
  87. package/file-list/FileList.d.ts +1 -1
  88. package/file-list/FileList.stories.d.ts +3 -3
  89. package/file-list/FileListItem.d.ts +1 -1
  90. package/file-list/index.js +1 -1
  91. package/file-trigger/FileTrigger.d.ts +1 -1
  92. package/grid/index.js +1 -1
  93. package/heading/index.js +1 -1
  94. package/index.js +53 -53
  95. package/info-banner/index.js +1 -1
  96. package/label/InfoPopover.d.ts +1 -1
  97. package/label/index.js +1 -1
  98. package/layout/components/SidebarLink.d.ts +1 -1
  99. package/layout/index.js +1 -1
  100. package/link/Link.d.ts +1 -1
  101. package/link/index.js +1 -1
  102. package/link-button/LinkButton.d.ts +1 -1
  103. package/link-button/index.js +1 -1
  104. package/list-box/ListBox.d.ts +6 -1
  105. package/list-box/ListBox.stories.d.ts +4 -4
  106. package/list-box/ListBoxHeader.d.ts +1 -1
  107. package/list-box/ListBoxItem.d.ts +1 -1
  108. package/list-box/ListBoxSection.d.ts +1 -1
  109. package/list-box/index.js +1 -1
  110. package/list-box/list-box-empty-state/ListBoxEmptyState.d.ts +1 -1
  111. package/logo/Logo.d.ts +1 -1
  112. package/logo/index.js +1 -1
  113. package/menu/Menu.d.ts +1 -1
  114. package/menu/Menu.stories.d.ts +5 -4
  115. package/menu/MenuItem.d.ts +1 -1
  116. package/menu/MenuPopover.d.ts +1 -1
  117. package/menu/MenuSection.d.ts +1 -1
  118. package/menu/Separator.d.ts +1 -1
  119. package/menu/index.js +1 -1
  120. package/modal/index.js +1 -1
  121. package/package.json +6 -6
  122. package/popover/index.js +1 -1
  123. package/progress-bar/index.js +1 -1
  124. package/radio/Radio.d.ts +1 -1
  125. package/radio/Radio.stories.d.ts +6 -6
  126. package/radio/RadioButton.d.ts +1 -1
  127. package/radio/RadioField.d.ts +1 -1
  128. package/radio/RadioGroup.stories.d.ts +1 -1
  129. package/radio/index.js +1 -1
  130. package/search-field/SearchField.d.ts +1 -1
  131. package/search-field/SearchField.stories.d.ts +1 -1
  132. package/search-field/index.js +1 -1
  133. package/select/MultiSelectValue.d.ts +2 -1
  134. package/select/Select.d.ts +1 -1
  135. package/select/Select.stories.d.ts +2 -2
  136. package/select/SelectAll.d.ts +2 -1
  137. package/select/SelectTags.d.ts +1 -1
  138. package/select/SelectTrigger.d.ts +8 -2
  139. package/select/index.d.ts +1 -0
  140. package/select/index.js +2 -2
  141. package/skeleton/Skeleton.Form.stories.d.ts +1 -1
  142. package/skeleton/index.js +1 -1
  143. package/spinner/index.js +1 -1
  144. package/table/Table.d.ts +6 -6
  145. package/table/Table.stories.d.ts +7 -7
  146. package/table/index.js +1 -1
  147. package/tabs/TabList.d.ts +2 -1
  148. package/tabs/Tabs.stories.d.ts +1 -1
  149. package/tabs/index.js +1 -1
  150. package/tag/Tag.d.ts +1 -1
  151. package/tag/index.js +1 -1
  152. package/tag/tag-list/TagList.d.ts +1 -1
  153. package/text/index.js +1 -1
  154. package/textfield/PasswordToggle.d.ts +1 -1
  155. package/textfield/TextArea.stories.d.ts +9 -9
  156. package/textfield/index.js +1 -1
  157. package/time-field/index.js +1 -1
  158. package/toast/Toast.d.ts +3 -3
  159. package/toast/index.js +1 -1
  160. package/toggle-button/index.js +1 -1
  161. package/tooltip/Tooltip.d.ts +3 -2
  162. package/tooltip/Tooltip.stories.d.ts +1 -1
  163. package/tooltip/index.js +1 -1
  164. package/chunks/calendar-R7x0m8ch.js +0 -74
  165. package/chunks/heading-bnDePIbv.js +0 -28
  166. package/chunks/text-EUdAWwZz.js +0 -23
@@ -1,2 +1,2 @@
1
1
  import { FileTriggerProps } from 'react-aria-components';
2
- export declare const FileTrigger: (props: FileTriggerProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const FileTrigger: (props: FileTriggerProps) => import('react').JSX.Element;
package/grid/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/grid-DZB3GGDg.js";
1
+ import { n as e, t } from "../chunks/grid-Cn_8RSvj.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-bnDePIbv.js";
1
+ import { t as e } from "../chunks/heading-BEl_z-5T.js";
2
2
  export { e as Heading };
package/index.js CHANGED
@@ -1,54 +1,54 @@
1
1
  'use client';
2
2
  "use client";
3
- import { n as e, t } from "./chunks/accordion-BxxPnJau.js";
4
- import { t as n } from "./chunks/clsx-B1NYyfch.js";
5
- import { t as r } from "./chunks/spinner-DMR5G-6u.js";
6
- import { a as i, i as a, n as o, r as s, t as c } from "./chunks/layout-DVj8wSj3.js";
7
- import { n as l, t as u } from "./chunks/link-CQoSw1Pv.js";
8
- import { a as d, i as f, n as p, o as m, r as h, t as g } from "./chunks/table-O7Ht2ilY.js";
9
- import { t as _ } from "./chunks/link-button-BMFzCHH8.js";
10
- import { n as v, t as y } from "./chunks/date-picker-1W7OmCT0.js";
11
- import { n as b, t as x } from "./chunks/calendar-R7x0m8ch.js";
12
- import { i as S, n as C, r as w, t as T } from "./chunks/checkbox-ivInWvEp.js";
13
- import { n as E, t as D } from "./chunks/color-scheme-switch-jgoxUu3x.js";
14
- import { t as O } from "./chunks/search-field-d7FV4Kuv.js";
15
- import { n as k, t as A } from "./chunks/file-list-DM1Vtkun.js";
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-zT6eQ3ZZ.js";
8
+ import { t as f } from "./chunks/link-button-BuPMEGUj.js";
9
+ import { n as p, t as m } from "./chunks/date-picker-BomOO1LI.js";
10
+ import { n as h, t as g } from "./chunks/calendar-BZPktkdE.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-DcXA9GSd.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-BvfOHvUI.js";
15
+ import { n as k, t as A } from "./chunks/file-list-TmEuO1fJ.js";
16
16
  import { t as j } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
17
- import { n as M, t as N } from "./chunks/button-Ch860h28.js";
18
- import { t as P } from "./chunks/heading-bnDePIbv.js";
19
- import { n as F, t as I } from "./chunks/badge-BplGU5BS.js";
20
- import { n as L, t as R } from "./chunks/breadcrumbs-C-Z6UlQn.js";
21
- import { t as z } from "./chunks/text-EUdAWwZz.js";
22
- import { t as B } from "./chunks/field-error-pJiSw4PN.js";
23
- import { a as V, c as H, i as U, l as W, n as G, o as K, r as q, s as J, t as Y } from "./chunks/card-Bzc8kToe.js";
24
- import { t as X } from "./chunks/character-counter-CSoVSrxZ.js";
25
- import { t as Z } from "./chunks/label-CEYHiWSa.js";
26
- import { t as Q } from "./chunks/popover-wAwxm_cM.js";
27
- import { n as $, r as ee, t as te } from "./chunks/modal-C-xHt7Ds.js";
28
- import { t as ne } from "./chunks/icons-UBHIX2oV.js";
29
- import { n as re, t as ie } from "./chunks/toggle-button-BgUQKcK-.js";
30
- import { a as ae, i as oe, n as se, o as ce, r as le, t as ue } from "./chunks/menu-CPCGm0MC.js";
31
- import { t as de } from "./chunks/combobox-DDO4fEtI.js";
32
- import { a as fe, c as pe, i as me, n as he, o as ge, r as _e, s as ve, t as ye } from "./chunks/list-box-VdBVTwZK.js";
33
- import { i as be, n as xe, r as Se, t as Ce } from "./chunks/date-field-DG5TYsTF.js";
34
- import { t as we } from "./chunks/drop-zone-DvQLpgq6.js";
35
- import { t as Te } from "./chunks/file-trigger-Dp5nH8oS.js";
36
- import { n as Ee, t as De } from "./chunks/grid-DZB3GGDg.js";
37
- import { t as Oe } from "./chunks/info-banner-DnFNZ1_o.js";
38
- import { n as ke, t as Ae } from "./chunks/tooltip-D7LYQwj0.js";
39
- import { n as je, t as Me } from "./chunks/logo-CDxNjDeI.js";
40
- import { t as Ne } from "./chunks/progress-bar-Cft_RPHz.js";
41
- import { i as Pe, n as Fe, r as Ie, t as Le } from "./chunks/radio-W0YqY7lo.js";
42
- import { t as Re } from "./chunks/select-LjjT_7hr.js";
43
- import { n as ze, r as Be, t as Ve } from "./chunks/tag-mzNjP8EX.js";
44
- import { t as He } from "./chunks/skeleton-DWmvym7R.js";
45
- import { i as Ue, n as We, r as Ge, t as Ke } from "./chunks/tabs-BFFTnO4i.js";
46
- import { i as qe, n as Je, r as Ye, t as Xe } from "./chunks/textfield-BsijPPRD.js";
47
- import { t as Ze } from "./chunks/time-field-BlNUOjUJ.js";
48
- import { a as Qe, i as $e, n as et, o as tt, r as nt, t as rt } from "./chunks/toast-Cz0JDIr1.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-KQzDIamx.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/file-trigger-Dp5nH8oS.js";
38
+ import { n as je, t as Me } from "./chunks/grid-Cn_8RSvj.js";
39
+ import { t as Ne } from "./chunks/info-banner-osR4e6nB.js";
40
+ import { n as Pe, t as Fe } from "./chunks/tooltip-BkesIUIF.js";
41
+ import { n as Ie, t as Le } from "./chunks/logo-DyZ2pXt7.js";
42
+ import { t as Re } from "./chunks/progress-bar-7w_kWo2f.js";
43
+ import { i as ze, n as Be, r as Ve, t as He } from "./chunks/radio-C-MUMGu7.js";
44
+ import { t as Ue } from "./chunks/skeleton-B_BPRPJy.js";
45
+ import { i as We, n as Ge, r as Ke, t as qe } from "./chunks/tabs-Co09VWvC.js";
46
+ import { i as Je, n as Ye, r as Xe, t as Ze } from "./chunks/textfield-CXqzzOtw.js";
47
+ import { t as Qe } from "./chunks/time-field-CmjGBQph.js";
48
+ import { a as $e, i as et, n as tt, o as nt, r as rt, t as it } from "./chunks/toast-gJgjitZF.js";
49
49
  //#endregion
50
50
  //#region src/version.ts
51
- var it = {
51
+ var at = {
52
52
  name: "@midas-ds/components",
53
53
  author: { name: "Migrationsverket" },
54
54
  keywords: [
@@ -60,7 +60,7 @@ var it = {
60
60
  description: "Midas Components",
61
61
  homepage: "https://designsystem.migrationsverket.se/",
62
62
  license: "CC0-1.0",
63
- version: "17.26.0",
63
+ version: "17.27.1",
64
64
  module: "./index.js",
65
65
  type: "module",
66
66
  main: "./index.js",
@@ -84,12 +84,12 @@ var it = {
84
84
  },
85
85
  dependencies: {
86
86
  "@internationalized/string": "^3.2.10",
87
- "@midas-ds/theme": "3.17.1",
88
- "@react-stately/utils": "^3.12.1",
89
- "react-aria-components": "1.20.0",
90
- "react-aria": "^3.51.0",
91
- "react-stately": "^3.49.0"
87
+ "@midas-ds/theme": "3.17.2",
88
+ "@react-stately/utils": "3.12.1",
89
+ "react-aria-components": "1.21.1",
90
+ "react-aria": "3.52.1",
91
+ "react-stately": "3.50.0"
92
92
  }
93
93
  }.version;
94
94
  //#endregion
95
- 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, b as Calendar, q as Card, U as CardActionArea, V as CardActions, G as CardBody, K as CardContent, Y as CardHeader, J as CardImage, H as CardLink, W as CardTitle, g as Cell, X as CharacterCounter, C as Checkbox, w as CheckboxButton, S as CheckboxField, T as CheckboxGroup, E as ColorSchemeSwitch, D as ColorSchemeSwitchMenu, p as Column, de as ComboBox, ne as ContrastFilled, be as DateField, xe as DateInput, Ce as DateInputDivider, v as DatePicker, y as DateRangePicker, Se as DateSegment, te as DialogTrigger, we as DropZone, B as FieldError, k as FileList, A as FileListItem, Te as FileTrigger, rt as GlobalToastRegion, Ee as Grid, De as GridItem, s as Header, P as Heading, Oe as InfoBanner, Ye as Input, Z as Label, c as Layout, u as Link, _ as LinkButton, pe as ListBox, ve as ListBoxButton, ye as ListBoxEmptyState, he as ListBoxHeader, ge as ListBoxItem, _e as ListBoxLoadMoreItem, fe as ListBoxPopover, me as ListBoxSection, Me as Logo, je as LogoContext, ae as Menu, oe as MenuItem, le as MenuPopover, se as MenuSection, ce as MenuTrigger, $ as Modal, ee as ModalOverlay, o as Navbar, Q as Popover, Ne as ProgressBar, Fe as Radio, Ie as RadioButton, Pe as RadioField, Le as RadioGroup, x as RangeCalendar, l as RouterProvider, h as Row, O as SearchField, Re as Select, ue as Separator, a as Sidebar, i as SidebarLink, He as Skeleton, r as Spinner, Ge as Tab, Ke as TabList, We as TabPanel, f as Table, d as TableBody, m as TableHeader, Ue as Tabs, Be as Tag, Ve as TagGroup, ze as TagList, z as Text, Xe as TextArea, Je as TextField, qe as TextFieldBase, Ze as TimeField, et as Toast, nt as ToastProvider, $e as ToastRegion, re as ToggleButton, ie as ToggleButtonGroup, Ae as Tooltip, ke as TooltipTrigger, it as VERSION, n as clsx, Qe as toastQueue, j as useLocalizedStringFormatter, tt as useToastState };
95
+ 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, Ae as FileTrigger, it as GlobalToastRegion, je as Grid, Me as GridItem, b as Header, P as Heading, Ne as InfoBanner, Xe 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, Le as Logo, Ie 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, Re 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, Ke as Tab, qe as TabList, Ge as TabPanel, s as Table, o as TableBody, l as TableHeader, We as Tabs, re as Tag, ie as TagGroup, ne as TagList, W as Text, Ze as TextArea, Ye as TextField, Je as TextFieldBase, Qe as TimeField, tt as Toast, rt as ToastProvider, et as ToastRegion, ge as ToggleButton, _e as ToggleButtonGroup, Fe as Tooltip, Pe as TooltipTrigger, at as VERSION, n as clsx, $e as toastQueue, j as useLocalizedStringFormatter, nt as useToastState };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/info-banner-DnFNZ1_o.js";
1
+ import { t as e } from "../chunks/info-banner-osR4e6nB.js";
2
2
  export { e as InfoBanner };
@@ -6,4 +6,4 @@ export interface InfoPopoverProps {
6
6
  /** An aria-label for the info icon button trigger */
7
7
  'aria-label'?: string;
8
8
  }
9
- export declare const InfoPopover: ({ children, "aria-label": ariaLabel, }: InfoPopoverProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const InfoPopover: ({ children, "aria-label": ariaLabel, }: InfoPopoverProps) => import('react').JSX.Element;
package/label/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/label-CEYHiWSa.js";
1
+ import { t as e } from "../chunks/label-LWlgvAwz.js";
2
2
  export { e as Label };
@@ -1,2 +1,2 @@
1
1
  import { SidebarLinkProps } from '../Layout';
2
- export declare const SidebarLink: ({ title, href, icon: IconComponent, active, hasBadge, onClick, target, }: SidebarLinkProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SidebarLink: ({ title, href, icon: IconComponent, active, hasBadge, onClick, target, }: SidebarLinkProps) => import('react').JSX.Element;
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-DVj8wSj3.js";
1
+ import { a as e, i as t, n, r, t as i } from "../chunks/layout-Db5um0f7.js";
2
2
  export { r as Header, i as Layout, n as Navbar, t as Sidebar, e as SidebarLink };
package/link/Link.d.ts CHANGED
@@ -15,5 +15,5 @@ export interface LinkComponentProps<C extends React.ElementType> {
15
15
  as?: C;
16
16
  }
17
17
  export type LinkProps<C extends React.ElementType> = LinkComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkComponentProps<C>>;
18
- export declare const Link: <C extends React.ElementType = typeof AriaLink>({ children, standalone, target, stretched, download, icon: customIcon, className, as, ...rest }: LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const Link: <C extends React.ElementType = typeof AriaLink>({ children, standalone, target, stretched, download, icon: customIcon, className, as, ...rest }: LinkProps<C>) => import('react').JSX.Element;
19
19
  export { RouterProvider };
package/link/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-CQoSw1Pv.js";
1
+ import { n as e, t } from "../chunks/link-BAgs4RwY.js";
2
2
  export { t as Link, e as RouterProvider };
@@ -37,5 +37,5 @@ export type LinkButtonProps<C extends React.ElementType> = LinkButtonComponentPr
37
37
  /**
38
38
  * A link to be used when a user expects a button but web technologies force us to use a a-tag
39
39
  * */
40
- export declare const LinkButton: <C extends React.ElementType = typeof AriaLink>({ children, variant, fullwidth, icon: customIcon, iconPlacement, className, as, size, ...rest }: LinkButtonProps<C>) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const LinkButton: <C extends React.ElementType = typeof AriaLink>({ children, variant, fullwidth, icon: customIcon, iconPlacement, className, as, size, ...rest }: LinkButtonProps<C>) => React.JSX.Element;
41
41
  export { RouterProvider };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/link-button-BMFzCHH8.js";
1
+ import { n as e, t } from "../chunks/link-button-BuPMEGUj.js";
2
2
  export { t as LinkButton, e as RouterProvider };
@@ -2,5 +2,10 @@ import { ListBoxProps as AriaListBoxProps } from 'react-aria-components';
2
2
  export interface ListBoxProps<T extends object> extends AriaListBoxProps<T> {
3
3
  /** @default true */
4
4
  virtualized?: boolean;
5
+ /**
6
+ * Compact item sizing (smaller text/padding) for standalone use in
7
+ * confined spaces, e.g. the Calendar month/year picker.
8
+ */
9
+ size?: 'small';
5
10
  }
6
- export declare const ListBox: <T extends object>({ className, children, virtualized, ...rest }: ListBoxProps<T>) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const ListBox: <T extends object>({ className, children, virtualized, size, ...rest }: ListBoxProps<T>) => import('react').JSX.Element;
@@ -1,11 +1,11 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
- import { Fruit, optionsWithSections } from '../../../../tools/test-utils/src/index.ts';
2
+ import { Fruit, optionsWithSections } from '@midas-ds/test-utils';
3
3
  import { ListBox } from './ListBox';
4
4
  type Story<T extends object = Fruit> = StoryObj<typeof ListBox<T>>;
5
5
  declare const _default: {
6
- component: <T extends object>({ className, children, virtualized, ...rest }: import('./ListBox').ListBoxProps<T>) => import("react/jsx-runtime").JSX.Element;
6
+ component: <T extends object>({ className, children, virtualized, size, ...rest }: import('./ListBox').ListBoxProps<T>) => import('react').JSX.Element;
7
7
  subcomponents: {
8
- ListBoxItem: <T extends object>({ children, className, textValue, ...rest }: import('react-aria-components').ListBoxItemProps<T>) => import("react/jsx-runtime").JSX.Element;
8
+ ListBoxItem: <T extends object>({ children, className, textValue, ...rest }: import('react-aria-components').ListBoxItemProps<T>) => import('react').JSX.Element;
9
9
  };
10
10
  tags: string[];
11
11
  title: string;
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  };
15
15
  args: {
16
16
  'aria-label': string;
17
- children: (item: Fruit) => import("react/jsx-runtime").JSX.Element;
17
+ children: (item: Fruit) => import('react').JSX.Element;
18
18
  items: Fruit[];
19
19
  };
20
20
  };
@@ -1,3 +1,3 @@
1
1
  import * as React from 'react';
2
2
  export type ListBoxHeaderProps = React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>;
3
- export declare const ListBoxHeader: ({ className, ...rest }: ListBoxHeaderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ListBoxHeader: ({ className, ...rest }: ListBoxHeaderProps) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ListBoxItemProps } from 'react-aria-components';
2
2
  export type { ListBoxItemProps };
3
- export declare const ListBoxItem: <T extends object>({ children, className, textValue, ...rest }: ListBoxItemProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ListBoxItem: <T extends object>({ children, className, textValue, ...rest }: ListBoxItemProps<T>) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { ListBoxSectionProps } from 'react-aria-components';
2
2
  export type { ListBoxSectionProps };
3
- export declare const ListBoxSection: <T extends object>(props: ListBoxSectionProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const ListBoxSection: <T extends object>(props: ListBoxSectionProps<T>) => import('react').JSX.Element;
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-VdBVTwZK.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-BN_MSiOD.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 };
@@ -1,2 +1,2 @@
1
1
  import { TextProps } from '../../text';
2
- export declare const ListBoxEmptyState: ({ className, ...rest }: TextProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ListBoxEmptyState: ({ className, ...rest }: TextProps) => import('react').JSX.Element;
package/logo/Logo.d.ts CHANGED
@@ -11,4 +11,4 @@ export interface LogoProps extends React.DetailedHTMLProps<React.HTMLAttributes<
11
11
  /** There must be whitespace around the logo. By disabling our built in padding you must add at least an equal amount yourself. */
12
12
  padding?: boolean;
13
13
  }
14
- export declare const Logo: ({ primary, size, padding, className, ...rest }: LogoProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Logo: ({ primary, size, padding, className, ...rest }: LogoProps) => React.JSX.Element;
package/logo/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/logo-CDxNjDeI.js";
1
+ import { n as e, t } from "../chunks/logo-DyZ2pXt7.js";
2
2
  export { t as Logo, e as LogoContext };
package/menu/Menu.d.ts CHANGED
@@ -7,4 +7,4 @@ export interface MenuProps<T> extends AriaMenuProps<T> {
7
7
  **/
8
8
  size?: Size;
9
9
  }
10
- export declare const Menu: <T extends object>({ className, size, ...rest }: MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Menu: <T extends object>({ className, size, ...rest }: MenuProps<T>) => import('react').JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
+ import { default as React } from 'react';
2
3
  import { Menu } from './Menu';
3
4
  interface Item {
4
5
  id: string | number;
@@ -9,13 +10,13 @@ interface Item {
9
10
  type Story = StoryObj<typeof Menu<Item>>;
10
11
  declare const _default: {
11
12
  title: string;
12
- component: <T extends object>({ className, size, ...rest }: import('./Menu').MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
13
+ component: <T extends object>({ className, size, ...rest }: import('./Menu').MenuProps<T>) => React.JSX.Element;
13
14
  subcomponents: {
14
- MenuItem: <T extends object>(props: import('./MenuItem').MenuItemProps<T>) => import("react/jsx-runtime").JSX.Element;
15
+ MenuItem: <T extends object>(props: import('./MenuItem').MenuItemProps<T>) => React.JSX.Element;
15
16
  };
16
- render: (args: import('./Menu').MenuProps<object>) => import("react/jsx-runtime").JSX.Element;
17
+ render: (args: import('./Menu').MenuProps<object>) => React.JSX.Element;
17
18
  args: {
18
- children: (item: object) => import("react/jsx-runtime").JSX.Element;
19
+ children: (item: object) => React.JSX.Element;
19
20
  items: {
20
21
  id: number;
21
22
  name: string;
@@ -1,3 +1,3 @@
1
1
  import { MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
2
2
  export type MenuItemProps<T> = AriaMenuItemProps<T>;
3
- export declare const MenuItem: <T extends object>(props: MenuItemProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const MenuItem: <T extends object>(props: MenuItemProps<T>) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { PopoverProps } from 'react-aria-components';
2
2
  export type { PopoverProps as MenuPopoverProps };
3
- export declare const MenuPopover: ({ className, ...rest }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const MenuPopover: ({ className, ...rest }: PopoverProps) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { MenuSectionProps } from 'react-aria-components';
2
2
  export type { MenuSectionProps };
3
- export declare const MenuSection: <T extends object>({ className, ...rest }: MenuSectionProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const MenuSection: <T extends object>({ className, ...rest }: MenuSectionProps<T>) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { SeparatorProps } from 'react-aria-components';
2
2
  export type { SeparatorProps };
3
- export declare const Separator: ({ className, ...rest }: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Separator: ({ className, ...rest }: SeparatorProps) => import('react').JSX.Element;
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-CPCGm0MC.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/menu-aT2IR0tO.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-xHt7Ds.js";
1
+ import { n as e, r as t, t as n } from "../chunks/modal-C-UsxdO0.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.26.0",
17
+ "version": "17.27.1",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -42,10 +42,10 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "@internationalized/string": "^3.2.10",
45
- "@midas-ds/theme": "3.17.1",
46
- "@react-stately/utils": "^3.12.1",
47
- "react-aria-components": "1.20.0",
48
- "react-aria": "^3.51.0",
49
- "react-stately": "^3.49.0"
45
+ "@midas-ds/theme": "3.17.2",
46
+ "@react-stately/utils": "3.12.1",
47
+ "react-aria-components": "1.21.1",
48
+ "react-aria": "3.52.1",
49
+ "react-stately": "3.50.0"
50
50
  }
51
51
  }
package/popover/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/popover-wAwxm_cM.js";
1
+ import { t as e } from "../chunks/popover-DGcogqbS.js";
2
2
  export { e as Popover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/progress-bar-Cft_RPHz.js";
1
+ import { t as e } from "../chunks/progress-bar-7w_kWo2f.js";
2
2
  export { e as ProgressBar };
package/radio/Radio.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { RadioFieldProps } from 'react-aria-components';
2
2
  export type RadioProps = RadioFieldProps;
3
- export declare const Radio: ({ children, className, ...rest }: RadioProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Radio: ({ children, className, ...rest }: RadioProps) => import('react').JSX.Element;
@@ -7,13 +7,13 @@ declare const _default: {
7
7
  children: string;
8
8
  isDisabled: false;
9
9
  };
10
- component: ({ children, className, ...rest }: import('./Radio').RadioProps) => import("react/jsx-runtime").JSX.Element;
10
+ component: ({ children, className, ...rest }: import('./Radio').RadioProps) => import('react').JSX.Element;
11
11
  decorators: (Story: import('storybook/internal/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
12
12
  className?: import('react-aria-components').ClassNameOrFunction<import('react-aria-components').RadioFieldRenderProps> | undefined;
13
- inputRef?: import('@react-types/shared').RefObject<HTMLInputElement | null> | undefined;
13
+ inputRef?: import('react').Ref<HTMLInputElement | null> | undefined;
14
14
  isDisabled?: boolean | undefined;
15
15
  id?: string | undefined;
16
- onClick?: ((e: import('react').MouseEvent<import('@react-types/shared').FocusableElement>) => void) | undefined;
16
+ onClick?: ((e: import('react').MouseEvent<import('react-aria-components').FocusableElement>) => void) | undefined;
17
17
  value: string;
18
18
  'aria-describedby'?: string | undefined;
19
19
  'aria-details'?: string | undefined;
@@ -21,8 +21,8 @@ declare const _default: {
21
21
  'aria-labelledby'?: string | undefined;
22
22
  onFocus?: ((e: import('react').FocusEvent<Element, Element>) => void) | undefined;
23
23
  onBlur?: ((e: import('react').FocusEvent<Element, Element>) => void) | undefined;
24
- onKeyDown?: ((e: import('@react-types/shared').KeyboardEvent) => void) | undefined;
25
- onKeyUp?: ((e: import('@react-types/shared').KeyboardEvent) => void) | undefined;
24
+ onKeyDown?: ((e: import('react-aria-components').KeyboardEvent) => void) | undefined;
25
+ onKeyUp?: ((e: import('react-aria-components').KeyboardEvent) => void) | undefined;
26
26
  onPress?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
27
27
  onPressStart?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
28
28
  onPressEnd?: ((e: import('react-aria-components').PressEvent) => void) | undefined;
@@ -102,7 +102,7 @@ declare const _default: {
102
102
  onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
103
103
  onTransitionStart?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
104
104
  onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
105
- }>) => import("react/jsx-runtime").JSX.Element;
105
+ }>) => import('react').JSX.Element;
106
106
  tags: string[];
107
107
  };
108
108
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { RadioButtonProps as AriaRadioButtonProps } from 'react-aria-components';
2
2
  export type RadioButtonProps = AriaRadioButtonProps;
3
- export declare const RadioButton: ({ className, ...rest }: RadioButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const RadioButton: ({ className, ...rest }: RadioButtonProps) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { RadioFieldProps as AriaRadioFieldProps } from 'react-aria-components';
2
2
  export type RadioFieldProps = AriaRadioFieldProps;
3
- export declare const RadioField: (props: RadioFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const RadioField: (props: RadioFieldProps) => import('react').JSX.Element;
@@ -4,7 +4,7 @@ declare const _default: {
4
4
  title: string;
5
5
  component: import('react').FC<import('./RadioGroup').RadioGroupProps>;
6
6
  subcomponents: {
7
- Radio: ({ children, className, ...rest }: import('./Radio').RadioProps) => import("react/jsx-runtime").JSX.Element;
7
+ Radio: ({ children, className, ...rest }: import('./Radio').RadioProps) => import('react').JSX.Element;
8
8
  };
9
9
  tags: string[];
10
10
  args: {
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-W0YqY7lo.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/radio-C-MUMGu7.js";
2
2
  export { t as Radio, n as RadioButton, e as RadioField, r as RadioGroup };
@@ -43,4 +43,4 @@ export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'children'>
43
43
  * */
44
44
  size?: Size;
45
45
  }
46
- export declare const SearchField: ({ errorPosition, size, showButton, className, errorMessage, placeholder, label, description, popover, validationBehavior, inputMode, ...props }: SearchFieldProps) => import("react/jsx-runtime").JSX.Element;
46
+ export declare const SearchField: ({ errorPosition, size, showButton, className, errorMessage, placeholder, label, description, popover, validationBehavior, inputMode, ...props }: SearchFieldProps) => import('react').JSX.Element;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { SearchField } from './SearchField';
3
3
  type Story = StoryObj<typeof SearchField>;
4
4
  declare const _default: {
5
- component: ({ errorPosition, size, showButton, className, errorMessage, placeholder, label, description, popover, validationBehavior, inputMode, ...props }: import('./SearchField').SearchFieldProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ errorPosition, size, showButton, className, errorMessage, placeholder, label, description, popover, validationBehavior, inputMode, ...props }: import('./SearchField').SearchFieldProps) => import('react').JSX.Element;
6
6
  title: string;
7
7
  tags: string[];
8
8
  parameters: {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/search-field-d7FV4Kuv.js";
1
+ import { t as e } from "../chunks/search-field-BvfOHvUI.js";
2
2
  export { e as SearchField };
@@ -1,4 +1,5 @@
1
1
  import { MidasSelectProps, SelectionMode } from '.';
2
+ import { default as React } from 'react';
2
3
  type MultiSelectValueProps<T extends object, M extends SelectionMode = 'single'> = Pick<MidasSelectProps<T, M>, 'isDisabled'>;
3
- export declare const MultiSelectValue: <T extends object, M extends SelectionMode = "single">({ isDisabled, }: MultiSelectValueProps<T, M>) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const MultiSelectValue: <T extends object, M extends SelectionMode = "single">({ isDisabled, }: MultiSelectValueProps<T, M>) => React.JSX.Element;
4
5
  export {};
@@ -41,4 +41,4 @@ export interface MidasSelectProps<T extends object, M extends SelectionMode = 's
41
41
  */
42
42
  listBoxProps?: Omit<ListBoxProps<T>, 'items' | 'children'>;
43
43
  }
44
- export declare function Select<T extends object, M extends SelectionMode = 'single'>({ children, description, errorMessage, errorPosition, items, label, popover, popoverProps, listBoxProps, size, ...props }: MidasSelectProps<T, M>): import("react/jsx-runtime").JSX.Element;
44
+ export declare function Select<T extends object, M extends SelectionMode = 'single'>({ children, description, errorMessage, errorPosition, items, label, popover, popoverProps, listBoxProps, size, ...props }: MidasSelectProps<T, M>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
- import { options, optionsWithSections } from '../../../../tools/test-utils/src/index.ts';
2
+ import { options, optionsWithSections } from '@midas-ds/test-utils';
3
3
  import { Key } from 'react-aria-components';
4
4
  import { Select, SelectionMode } from './Select';
5
5
  type Story<T extends object = Item, M extends SelectionMode = 'single'> = StoryObj<typeof Select<T, M>>;
@@ -13,7 +13,7 @@ declare const _default: {
13
13
  children: (item: {
14
14
  id: Key;
15
15
  name: string;
16
- }) => import("react/jsx-runtime").JSX.Element;
16
+ }) => import('react').JSX.Element;
17
17
  description: string;
18
18
  isDisabled: false;
19
19
  isSelectableAll: false;
@@ -1 +1,2 @@
1
- export declare const SelectAll: () => import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ export declare const SelectAll: () => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { MidasSelectProps, SelectionMode } from './';
2
2
  type SelectTagsProps<T extends object, M extends SelectionMode = 'single'> = Pick<MidasSelectProps<T, M>, 'showTags' | 'isDisabled'>;
3
- export declare const SelectTags: <T extends object, M extends SelectionMode = "single">({ showTags, isDisabled, }: SelectTagsProps<T, M>) => import("react/jsx-runtime").JSX.Element | null;
3
+ export declare const SelectTags: <T extends object, M extends SelectionMode = "single">({ showTags, isDisabled, }: SelectTagsProps<T, M>) => import('react').JSX.Element | null;
4
4
  export {};
@@ -1,8 +1,14 @@
1
1
  import { Size } from '../common/types';
2
2
  import { MidasSelectProps } from './Select';
3
3
  import { SelectionMode } from '.';
4
+ /**
5
+ * `'small'` is only available through the bare `SelectTrigger` (e.g. for
6
+ * compact standalone selects like the Calendar month/year picker) — the
7
+ * full `Select` field component's public `size` prop stays `Size`.
8
+ */
9
+ export type SelectSize = Size | 'small';
4
10
  interface SelectTriggerProps<T extends object, M extends SelectionMode = 'single'> extends Pick<MidasSelectProps<T, M>, 'isDisabled' | 'selectionMode'> {
5
- size: Size;
11
+ size: SelectSize;
6
12
  }
7
- export declare const SelectTrigger: <T extends object, M extends SelectionMode = "single">({ isDisabled, selectionMode, size, }: SelectTriggerProps<T, M>) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const SelectTrigger: <T extends object, M extends SelectionMode = "single">({ isDisabled, selectionMode, size, }: SelectTriggerProps<T, M>) => import('react').JSX.Element;
8
14
  export {};
package/select/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { type SelectionMode, Select, type MidasSelectProps } from './Select';
2
+ export { SelectTrigger, type SelectSize } from './SelectTrigger';
package/select/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/select-LjjT_7hr.js";
2
- export { e as Select };
1
+ import { n as e, t } from "../chunks/select-KQzDIamx.js";
2
+ export { t as Select, e as SelectTrigger };
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  variant: "form";
10
10
  width: string;
11
11
  };
12
- render: (args: import('./Skeleton').SkeletonProps) => import("react/jsx-runtime").JSX.Element;
12
+ render: (args: import('./Skeleton').SkeletonProps) => import('react').JSX.Element;
13
13
  };
14
14
  export default _default;
15
15
  export declare const Large: Story;
package/skeleton/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/skeleton-DWmvym7R.js";
1
+ import { t as e } from "../chunks/skeleton-B_BPRPJy.js";
2
2
  export { e as Skeleton };