@midas-ds/components 17.27.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 (161) hide show
  1. package/CHANGELOG.md +23 -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/badge/Badge.stories.d.ts +1 -1
  6. package/badge/index.js +1 -1
  7. package/breadcrumbs/Breadcrumb.d.ts +1 -1
  8. package/breadcrumbs/Breadcrumbs.d.ts +1 -1
  9. package/breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
  10. package/breadcrumbs/index.js +1 -1
  11. package/button/index.js +1 -1
  12. package/calendar/Calendar.d.ts +2 -1
  13. package/calendar/Calendar.stories.d.ts +2 -2
  14. package/calendar/CalendarGrid.d.ts +2 -1
  15. package/calendar/CalendarHeader.d.ts +2 -1
  16. package/calendar/CalendarPicker.d.ts +1 -1
  17. package/calendar/RangeCalendar.d.ts +2 -1
  18. package/calendar/RangeCalendar.stories.d.ts +1 -1
  19. package/calendar/index.js +1 -1
  20. package/card/Card.d.ts +1 -1
  21. package/card/card-body/CardBody.d.ts +1 -1
  22. package/card/card-header/CardHeader.d.ts +1 -1
  23. package/card/index.js +1 -1
  24. package/checkbox/CheckboxField.d.ts +1 -1
  25. package/checkbox/CheckboxGroup.d.ts +1 -1
  26. package/checkbox/CheckboxGroup.stories.d.ts +2 -2
  27. package/checkbox/SelectAllCheckbox.d.ts +1 -1
  28. package/checkbox/index.js +1 -1
  29. package/chunks/{FeedbackStatusIcon-BS5VX-s6.js → FeedbackStatusIcon-DRI7WrSU.js} +7 -7
  30. package/chunks/{accordion-BxxPnJau.js → accordion-DIVTJU3O.js} +7 -7
  31. package/chunks/{badge-BplGU5BS.js → badge-BfK6XrlL.js} +1 -1
  32. package/chunks/{breadcrumbs-C-Z6UlQn.js → breadcrumbs-DV0ZJc62.js} +1 -1
  33. package/chunks/{button-Ch860h28.js → button-CenXTGXL.js} +2 -2
  34. package/chunks/{calendar-DWdU1T7E.js → calendar-BZPktkdE.js} +6 -6
  35. package/chunks/{card-Bzc8kToe.js → card-zIYA-SQh.js} +3 -3
  36. package/chunks/{checkbox-BgCp0edW.js → checkbox-DcXA9GSd.js} +4 -4
  37. package/chunks/{clear-button-la4Fb9_w.js → clear-button-D3I1X3yG.js} +1 -1
  38. package/chunks/{clsx-B1NYyfch.js → clsx-Di52oYUU.js} +6 -4
  39. package/chunks/{color-scheme-switch-jgoxUu3x.js → color-scheme-switch-DVZjdwc9.js} +4 -4
  40. package/chunks/{combobox-B3AGDNru.js → combobox-DIou4Z-d.js} +5 -5
  41. package/chunks/{date-field-Q3bQ5P_t.js → date-field-BF2f9bSf.js} +5 -5
  42. package/chunks/{date-picker-BPAJK8Gr.js → date-picker-BomOO1LI.js} +8 -8
  43. package/chunks/{drop-zone-DvQLpgq6.js → drop-zone-DH3ZyHsr.js} +1 -1
  44. package/chunks/{field-error-pJiSw4PN.js → field-error-LtNtEKDp.js} +2 -2
  45. package/chunks/{file-list-DM1Vtkun.js → file-list-TmEuO1fJ.js} +2 -2
  46. package/chunks/{grid-DZB3GGDg.js → grid-Cn_8RSvj.js} +1 -1
  47. package/chunks/heading-BEl_z-5T.js +31 -0
  48. package/chunks/{info-banner-DnFNZ1_o.js → info-banner-osR4e6nB.js} +3 -3
  49. package/chunks/{label-CEYHiWSa.js → label-LWlgvAwz.js} +4 -4
  50. package/chunks/{layout-DVj8wSj3.js → layout-Db5um0f7.js} +23 -23
  51. package/chunks/{link-CQoSw1Pv.js → link-BAgs4RwY.js} +5 -5
  52. package/chunks/{link-button-BMFzCHH8.js → link-button-BuPMEGUj.js} +5 -5
  53. package/chunks/{list-box-BT33Wiwt.js → list-box-BN_MSiOD.js} +3 -3
  54. package/chunks/{logo-CDxNjDeI.js → logo-DyZ2pXt7.js} +1 -1
  55. package/chunks/{menu-CPCGm0MC.js → menu-aT2IR0tO.js} +1 -1
  56. package/chunks/{modal-C-xHt7Ds.js → modal-C-UsxdO0.js} +3 -3
  57. package/chunks/{popover-wAwxm_cM.js → popover-DGcogqbS.js} +1 -1
  58. package/chunks/{progress-bar-Cft_RPHz.js → progress-bar-7w_kWo2f.js} +2 -2
  59. package/chunks/{radio-BXC6pb3z.js → radio-C-MUMGu7.js} +4 -4
  60. package/chunks/{search-field-dAZu3T_V.js → search-field-BvfOHvUI.js} +6 -6
  61. package/chunks/{select-DOLE5CtI.js → select-KQzDIamx.js} +8 -8
  62. package/chunks/{skeleton-DWmvym7R.js → skeleton-B_BPRPJy.js} +1 -1
  63. package/chunks/{spinner-DMR5G-6u.js → spinner-LdHPVms_.js} +1 -1
  64. package/chunks/{table-RARvkGKL.js → table-zT6eQ3ZZ.js} +2 -2
  65. package/chunks/{tabs-BFFTnO4i.js → tabs-Co09VWvC.js} +1 -1
  66. package/chunks/{tag-mzNjP8EX.js → tag-BIcqtf7b.js} +2 -2
  67. package/chunks/text-DwmZ-ew8.js +28 -0
  68. package/chunks/{textfield-BNdiOwXq.js → textfield-CXqzzOtw.js} +5 -5
  69. package/chunks/{time-field-CZxI9Bs6.js → time-field-CmjGBQph.js} +6 -6
  70. package/chunks/{toast-Cz0JDIr1.js → toast-gJgjitZF.js} +3 -3
  71. package/chunks/{toggle-button-BgUQKcK-.js → toggle-button-CIvsOXQf.js} +1 -1
  72. package/chunks/{tooltip-D7LYQwj0.js → tooltip-BkesIUIF.js} +1 -1
  73. package/clear-button/index.js +1 -1
  74. package/color-scheme-switch/index.js +1 -1
  75. package/combobox/ComboBox.d.ts +1 -1
  76. package/combobox/ComboBox.stories.d.ts +3 -2
  77. package/combobox/index.js +1 -1
  78. package/common/FeedbackStatusIcon.d.ts +1 -1
  79. package/date-field/index.js +1 -1
  80. package/date-picker/DatePickerInputField.d.ts +1 -1
  81. package/date-picker/index.js +1 -1
  82. package/drop-zone/index.js +1 -1
  83. package/field-error/index.js +1 -1
  84. package/file-list/FileList.d.ts +1 -1
  85. package/file-list/FileList.stories.d.ts +3 -3
  86. package/file-list/FileListItem.d.ts +1 -1
  87. package/file-list/index.js +1 -1
  88. package/file-trigger/FileTrigger.d.ts +1 -1
  89. package/grid/index.js +1 -1
  90. package/heading/index.js +1 -1
  91. package/index.js +49 -49
  92. package/info-banner/index.js +1 -1
  93. package/label/InfoPopover.d.ts +1 -1
  94. package/label/index.js +1 -1
  95. package/layout/components/SidebarLink.d.ts +1 -1
  96. package/layout/index.js +1 -1
  97. package/link/Link.d.ts +1 -1
  98. package/link/index.js +1 -1
  99. package/link-button/LinkButton.d.ts +1 -1
  100. package/link-button/index.js +1 -1
  101. package/list-box/ListBox.d.ts +1 -1
  102. package/list-box/ListBox.stories.d.ts +4 -4
  103. package/list-box/ListBoxHeader.d.ts +1 -1
  104. package/list-box/ListBoxItem.d.ts +1 -1
  105. package/list-box/ListBoxSection.d.ts +1 -1
  106. package/list-box/index.js +1 -1
  107. package/list-box/list-box-empty-state/ListBoxEmptyState.d.ts +1 -1
  108. package/logo/Logo.d.ts +1 -1
  109. package/logo/index.js +1 -1
  110. package/menu/Menu.d.ts +1 -1
  111. package/menu/Menu.stories.d.ts +5 -4
  112. package/menu/MenuItem.d.ts +1 -1
  113. package/menu/MenuPopover.d.ts +1 -1
  114. package/menu/MenuSection.d.ts +1 -1
  115. package/menu/Separator.d.ts +1 -1
  116. package/menu/index.js +1 -1
  117. package/modal/index.js +1 -1
  118. package/package.json +6 -6
  119. package/popover/index.js +1 -1
  120. package/progress-bar/index.js +1 -1
  121. package/radio/Radio.d.ts +1 -1
  122. package/radio/Radio.stories.d.ts +6 -6
  123. package/radio/RadioButton.d.ts +1 -1
  124. package/radio/RadioField.d.ts +1 -1
  125. package/radio/RadioGroup.stories.d.ts +1 -1
  126. package/radio/index.js +1 -1
  127. package/search-field/SearchField.d.ts +1 -1
  128. package/search-field/SearchField.stories.d.ts +1 -1
  129. package/search-field/index.js +1 -1
  130. package/select/MultiSelectValue.d.ts +2 -1
  131. package/select/Select.d.ts +1 -1
  132. package/select/Select.stories.d.ts +2 -2
  133. package/select/SelectAll.d.ts +2 -1
  134. package/select/SelectTags.d.ts +1 -1
  135. package/select/SelectTrigger.d.ts +1 -1
  136. package/select/index.js +1 -1
  137. package/skeleton/Skeleton.Form.stories.d.ts +1 -1
  138. package/skeleton/index.js +1 -1
  139. package/spinner/index.js +1 -1
  140. package/table/Table.d.ts +6 -6
  141. package/table/Table.stories.d.ts +7 -7
  142. package/table/index.js +1 -1
  143. package/tabs/TabList.d.ts +2 -1
  144. package/tabs/Tabs.stories.d.ts +1 -1
  145. package/tabs/index.js +1 -1
  146. package/tag/Tag.d.ts +1 -1
  147. package/tag/index.js +1 -1
  148. package/tag/tag-list/TagList.d.ts +1 -1
  149. package/text/index.js +1 -1
  150. package/textfield/PasswordToggle.d.ts +1 -1
  151. package/textfield/TextArea.stories.d.ts +4 -4
  152. package/textfield/index.js +1 -1
  153. package/time-field/index.js +1 -1
  154. package/toast/Toast.d.ts +3 -3
  155. package/toast/index.js +1 -1
  156. package/toggle-button/index.js +1 -1
  157. package/tooltip/Tooltip.d.ts +3 -2
  158. package/tooltip/Tooltip.stories.d.ts +1 -1
  159. package/tooltip/index.js +1 -1
  160. package/chunks/heading-bnDePIbv.js +0 -28
  161. package/chunks/text-EUdAWwZz.js +0 -23
package/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## 17.27.1 (2026-09-28)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **components,layout:** keep @midas-ds imports in published types ([6229b621a3d](https://github.com/migrationsverket/midas/commit/6229b621a3d))
6
+ - **components:** keep render focus target from shifting layout under the cursor ([9c0b9902c3b](https://github.com/migrationsverket/midas/commit/9c0b9902c3b))
7
+ - **components,layout,table-styles:** update adobe dependencies ([bb54f8b7f4d](https://github.com/migrationsverket/midas/commit/bb54f8b7f4d))
8
+
9
+ ### 🔧 Maintenance
10
+
11
+ - cleanup .ts -> .mts rename misses ([731bd176c35](https://github.com/migrationsverket/midas/commit/731bd176c35))
12
+ - **deps:** run npm update ([c349591751e](https://github.com/migrationsverket/midas/commit/c349591751e))
13
+ - **deps:** update vite related dependencies ([b484d858e76](https://github.com/migrationsverket/midas/commit/b484d858e76))
14
+
15
+ ### 🧪 Tests updated
16
+
17
+ - **components:** update visual regression screenshots ([b0a27f03e41](https://github.com/migrationsverket/midas/commit/b0a27f03e41))
18
+ - change render method for visual regression tests ([197271b1e40](https://github.com/migrationsverket/midas/commit/197271b1e40))
19
+
20
+ ### 🧱 Updated Dependencies
21
+
22
+ - Updated theme to 3.17.2
23
+
1
24
  ## 17.27.0 (2026-09-28)
2
25
 
3
26
  ### 🚀 Features
@@ -25,4 +25,4 @@ export interface AccordionItemProps extends DisclosureProps {
25
25
  */
26
26
  iconAriaLabel?: FeedbackStatusIconProps['aria-label'];
27
27
  }
28
- export declare const AccordionItem: ({ title, children, className, headingLevel, type, hasBackground, size, isContained: isContainedFromProp, iconAriaLabel, ...props }: AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
28
+ export declare const AccordionItem: ({ title, children, className, headingLevel, type, hasBackground, size, isContained: isContainedFromProp, iconAriaLabel, ...props }: AccordionItemProps) => React.JSX.Element;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { AccordionItem } from './AccordionItem';
3
3
  type Story = StoryObj<typeof AccordionItem>;
4
4
  declare const _default: {
5
- component: ({ title, children, className, headingLevel, type, hasBackground, size, isContained: isContainedFromProp, iconAriaLabel, ...props }: import('./AccordionItem').AccordionItemProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ title, children, className, headingLevel, type, hasBackground, size, isContained: isContainedFromProp, iconAriaLabel, ...props }: import('./AccordionItem').AccordionItemProps) => import('react').JSX.Element;
6
6
  title: string;
7
7
  tags: string[];
8
8
  args: {
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/accordion-BxxPnJau.js";
1
+ import { n as e, t } from "../chunks/accordion-DIVTJU3O.js";
2
2
  export { e as Accordion, t as AccordionItem };
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  layout: string;
10
10
  };
11
11
  args: {};
12
- render: (args: import('react').HTMLAttributes<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
12
+ render: (args: import('react').HTMLAttributes<HTMLSpanElement>) => import('react').JSX.Element;
13
13
  };
14
14
  export default _default;
15
15
  export declare const NoLabel: Story;
package/badge/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/badge-BplGU5BS.js";
1
+ import { n as e, t } from "../chunks/badge-BfK6XrlL.js";
2
2
  export { e as Badge, t as BadgeContainer };
@@ -1,3 +1,3 @@
1
1
  import { BreadcrumbProps as AriaBreadcrumbProps } from 'react-aria-components';
2
2
  export type BreadcrumbProps = AriaBreadcrumbProps;
3
- export declare const Breadcrumb: ({ className, children, ...rest }: BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Breadcrumb: ({ className, children, ...rest }: BreadcrumbProps) => import('react').JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
2
2
  export type BreadcrumbsProps<T> = AriaBreadcrumbsProps<T>;
3
- export declare const Breadcrumbs: <T extends object>({ className, ...rest }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Breadcrumbs: <T extends object>({ className, ...rest }: BreadcrumbsProps<T>) => import('react').JSX.Element;
@@ -6,10 +6,10 @@ type Item = {
6
6
  };
7
7
  type Story = StoryObj<typeof Breadcrumbs<Item>>;
8
8
  declare const _default: {
9
- component: <T extends object>({ className, ...rest }: import('./Breadcrumbs').BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
9
+ component: <T extends object>({ className, ...rest }: import('./Breadcrumbs').BreadcrumbsProps<T>) => import('react').JSX.Element;
10
10
  subcomponents: {
11
- Breadcrumb: ({ className, children, ...rest }: import('./Breadcrumb').BreadcrumbProps) => import("react/jsx-runtime").JSX.Element;
12
- Link: <C extends React.ElementType = (props: import('react-aria-components').LinkProps & React.RefAttributes<HTMLAnchorElement>) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null>({ children, standalone, target, stretched, download, icon: customIcon, className, as, ...rest }: import('..').LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
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
13
  };
14
14
  title: string;
15
15
  tags: string[];
@@ -18,7 +18,7 @@ declare const _default: {
18
18
  title: string;
19
19
  href: string;
20
20
  }[];
21
- children: (item: Item) => import("react/jsx-runtime").JSX.Element;
21
+ children: (item: Item) => import('react').JSX.Element;
22
22
  };
23
23
  };
24
24
  export default _default;
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/breadcrumbs-C-Z6UlQn.js";
1
+ import { n as e, t } from "../chunks/breadcrumbs-DV0ZJc62.js";
2
2
  export { t as Breadcrumb, e as Breadcrumbs };
package/button/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/button-Ch860h28.js";
1
+ import { n as e, t } from "../chunks/button-CenXTGXL.js";
2
2
  export { e as Button, t as ButtonGroup };
@@ -1,5 +1,6 @@
1
1
  import { CalendarProps as AriaCalendarProps, DateValue } from 'react-aria-components';
2
2
  import { CalendarSelectionMode } from 'react-stately/useCalendarState';
3
+ import * as React from 'react';
3
4
  export interface CalendarProps<M extends CalendarSelectionMode = 'single'> extends AriaCalendarProps<DateValue, M> {
4
5
  errorMessage?: string;
5
6
  /**
@@ -10,4 +11,4 @@ export interface CalendarProps<M extends CalendarSelectionMode = 'single'> exten
10
11
  */
11
12
  showMonthYearPicker?: boolean;
12
13
  }
13
- export declare const Calendar: <M extends CalendarSelectionMode = "single">({ className, errorMessage, showMonthYearPicker, ...rest }: CalendarProps<M>) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const Calendar: <M extends CalendarSelectionMode = "single">({ className, errorMessage, showMonthYearPicker, ...rest }: CalendarProps<M>) => React.JSX.Element;
@@ -2,8 +2,8 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { Calendar } from './Calendar';
3
3
  type Story = StoryObj<typeof Calendar<'single'>>;
4
4
  declare const _default: {
5
- component: <M extends import('react-stately/useCalendarState').CalendarSelectionMode = "single">({ className, errorMessage, showMonthYearPicker, ...rest }: import('./Calendar').CalendarProps<M>) => import("react/jsx-runtime").JSX.Element;
6
- render: (args: import('./Calendar').CalendarProps<"single">) => import("react/jsx-runtime").JSX.Element;
5
+ component: <M extends import('react-stately/useCalendarState').CalendarSelectionMode = "single">({ className, errorMessage, showMonthYearPicker, ...rest }: import('./Calendar').CalendarProps<M>) => import('react').JSX.Element;
6
+ render: (args: import('./Calendar').CalendarProps<"single">) => import('react').JSX.Element;
7
7
  title: string;
8
8
  tags: string[];
9
9
  };
@@ -1,6 +1,7 @@
1
1
  import { CalendarGridProps as AriaCalendarGridProps } from 'react-aria-components';
2
+ import * as React from 'react';
2
3
  export interface CalendarGridProps {
3
4
  weekdayStyle?: AriaCalendarGridProps['weekdayStyle'];
4
5
  isReadOnly?: boolean;
5
6
  }
6
- export declare const CalendarGrid: ({ weekdayStyle, isReadOnly, }: CalendarGridProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const CalendarGrid: ({ weekdayStyle, isReadOnly, }: CalendarGridProps) => React.JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { CalendarProps } from './Calendar';
2
+ import * as React from 'react';
2
3
  type CalendarHeaderProps = Pick<CalendarProps, 'isDisabled' | 'isReadOnly' | 'showMonthYearPicker'>;
3
- export declare const CalendarHeader: ({ isDisabled, isReadOnly, showMonthYearPicker, }: CalendarHeaderProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const CalendarHeader: ({ isDisabled, isReadOnly, showMonthYearPicker, }: CalendarHeaderProps) => React.JSX.Element;
4
5
  export {};
@@ -14,5 +14,5 @@ export interface CalendarPickerProps extends SelectProps {
14
14
  */
15
15
  isReadOnly?: boolean;
16
16
  }
17
- export declare const CalendarPicker: ({ isDisabled, isReadOnly, items, ...rest }: CalendarPickerProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const CalendarPicker: ({ isDisabled, isReadOnly, items, ...rest }: CalendarPickerProps) => import('react').JSX.Element;
18
18
  export {};
@@ -1,4 +1,5 @@
1
1
  import { DateValue, RangeCalendarProps as AriaRangeCalendarProps } from 'react-aria-components';
2
+ import * as React from 'react';
2
3
  export interface RangeCalendarProps extends AriaRangeCalendarProps<DateValue> {
3
4
  errorMessage?: string;
4
5
  /**
@@ -9,4 +10,4 @@ export interface RangeCalendarProps extends AriaRangeCalendarProps<DateValue> {
9
10
  */
10
11
  showMonthYearPicker?: boolean;
11
12
  }
12
- export declare const RangeCalendar: ({ className, errorMessage, showMonthYearPicker, commitBehavior, ...rest }: RangeCalendarProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const RangeCalendar: ({ className, errorMessage, showMonthYearPicker, commitBehavior, ...rest }: RangeCalendarProps) => React.JSX.Element;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { RangeCalendar } from './RangeCalendar';
3
3
  type Story = StoryObj<typeof RangeCalendar>;
4
4
  declare const _default: {
5
- component: ({ className, errorMessage, showMonthYearPicker, commitBehavior, ...rest }: import('./RangeCalendar').RangeCalendarProps) => import("react/jsx-runtime").JSX.Element;
5
+ component: ({ className, errorMessage, showMonthYearPicker, commitBehavior, ...rest }: import('./RangeCalendar').RangeCalendarProps) => import('react').JSX.Element;
6
6
  title: string;
7
7
  tags: string[];
8
8
  };
package/calendar/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/calendar-DWdU1T7E.js";
1
+ import { n as e, t } from "../chunks/calendar-BZPktkdE.js";
2
2
  export { e as Calendar, t as RangeCalendar };
package/card/Card.d.ts CHANGED
@@ -38,5 +38,5 @@ export declare const CardActions: React.FC<React.HTMLAttributes<HTMLDivElement>>
38
38
  */
39
39
  export declare const CardActionArea: React.FC<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
40
40
  export declare const CardImage: React.FC<MidasCardImage>;
41
- export declare const CardLink: <C extends React.ElementType = typeof Link>({ children, as, ...rest }: MidasCardLinkProps<C>) => import("react/jsx-runtime").JSX.Element;
41
+ export declare const CardLink: <C extends React.ElementType = typeof Link>({ children, as, ...rest }: MidasCardLinkProps<C>) => React.JSX.Element;
42
42
  export {};
@@ -1,3 +1,3 @@
1
1
  import { DetailedHTMLProps, HTMLAttributes } from 'react';
2
2
  export type CardBodyProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
3
- export declare const CardBody: ({ className, ...rest }: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CardBody: ({ className, ...rest }: CardBodyProps) => import('react').JSX.Element;
@@ -5,4 +5,4 @@ export type CardHeaderProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>,
5
5
  headingLevel?: HeadingProps['elementType'];
6
6
  subHeading?: string;
7
7
  };
8
- export declare const CardHeader: ({ children, className, heading, headingLevel, subHeading, ...rest }: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const CardHeader: ({ children, className, heading, headingLevel, subHeading, ...rest }: CardHeaderProps) => import('react').JSX.Element;
package/card/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../chunks/card-Bzc8kToe.js";
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../chunks/card-zIYA-SQh.js";
2
2
  export { o as Card, n as CardActionArea, e as CardActions, i as CardBody, a as CardContent, c as CardHeader, s as CardImage, t as CardLink, r as CardTitle };
@@ -1,3 +1,3 @@
1
1
  import { CheckboxFieldProps as AriaCheckboxFieldProps } from 'react-aria-components';
2
2
  export type CheckboxFieldProps = AriaCheckboxFieldProps;
3
- export declare const CheckboxField: ({ className, ...rest }: CheckboxFieldProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const CheckboxField: ({ className, ...rest }: CheckboxFieldProps) => import('react').JSX.Element;
@@ -9,4 +9,4 @@ export interface CheckboxGroupProps extends AriaCheckboxGroupProps {
9
9
  errorPosition?: 'top' | 'bottom';
10
10
  popover?: InfoPopoverProps;
11
11
  }
12
- export declare const CheckboxGroup: ({ label, description, errorMessage, errorPosition, popover, showSelectAll, selectAllLabel, className, children, ...props }: CheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const CheckboxGroup: ({ label, description, errorMessage, errorPosition, popover, showSelectAll, selectAllLabel, className, children, ...props }: CheckboxGroupProps) => import('react').JSX.Element;
@@ -3,7 +3,7 @@ import { CheckboxGroup } from './CheckboxGroup';
3
3
  type Story = StoryObj<typeof CheckboxGroup>;
4
4
  declare const _default: {
5
5
  title: string;
6
- component: ({ label, description, errorMessage, errorPosition, popover, showSelectAll, selectAllLabel, className, children, ...props }: import('./CheckboxGroup').CheckboxGroupProps) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ label, description, errorMessage, errorPosition, popover, showSelectAll, selectAllLabel, className, children, ...props }: import('./CheckboxGroup').CheckboxGroupProps) => import('react').JSX.Element;
7
7
  parameters: {
8
8
  layout: string;
9
9
  };
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  description: string;
17
17
  errorMessage: string;
18
18
  errorPosition: "top";
19
- children: import("react/jsx-runtime").JSX.Element[];
19
+ children: import('react').JSX.Element[];
20
20
  };
21
21
  tags: string[];
22
22
  };
@@ -3,4 +3,4 @@ export interface SelectAllCheckboxProps {
3
3
  checkboxes: ReactNode;
4
4
  label?: string;
5
5
  }
6
- export declare const SelectAllCheckbox: ({ checkboxes, label, }: SelectAllCheckboxProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const SelectAllCheckbox: ({ checkboxes, label, }: SelectAllCheckboxProps) => import('react').JSX.Element;
package/checkbox/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as e, n as t, r as n, t as r } from "../chunks/checkbox-BgCp0edW.js";
1
+ import { i as e, n as t, r as n, t as r } from "../chunks/checkbox-DcXA9GSd.js";
2
2
  export { t as Checkbox, n as CheckboxButton, e as CheckboxField, r as CheckboxGroup };
@@ -3,7 +3,10 @@ import { t } from "./check-DV00NPU0.js";
3
3
  import { t as n } from "./info-jCyacVsy.js";
4
4
  import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
5
5
  import { jsx as i } from "react/jsx-runtime";
6
- var a = e("triangle-alert", [
6
+ var a = e("flag", [["path", {
7
+ d: "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",
8
+ key: "1jaruq"
9
+ }]]), o = e("triangle-alert", [
7
10
  ["path", {
8
11
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
9
12
  key: "wmoenq"
@@ -16,10 +19,7 @@ var a = e("triangle-alert", [
16
19
  d: "M12 17h.01",
17
20
  key: "p32p05"
18
21
  }]
19
- ]), o = e("flag", [["path", {
20
- d: "M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",
21
- key: "1jaruq"
22
- }]]), s = {
22
+ ]), s = {
23
23
  en: {
24
24
  ok: "okay",
25
25
  information: "information",
@@ -35,8 +35,8 @@ var a = e("triangle-alert", [
35
35
  }, c = {
36
36
  success: t,
37
37
  info: n,
38
- important: o,
39
- warning: a
38
+ important: a,
39
+ warning: o
40
40
  }, l = {
41
41
  success: "ok",
42
42
  info: "information",
@@ -1,9 +1,9 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
3
- import { t } from "./FeedbackStatusIcon-BS5VX-s6.js";
4
- import { t as n } from "./chevron-down-CP7nEDei.js";
5
- import { n as r } from "./button-Ch860h28.js";
6
- import { t as i } from "./heading-bnDePIbv.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
+ import { t } from "./chevron-down-CP7nEDei.js";
4
+ import { t as n } from "./FeedbackStatusIcon-DRI7WrSU.js";
5
+ import { n as r } from "./button-CenXTGXL.js";
6
+ import { t as i } from "./heading-BEl_z-5T.js";
7
7
  import { createContext as a, useContext as o, useEffect as s } from "react";
8
8
  import { Disclosure as c, DisclosureGroup as l, DisclosurePanel as u, composeRenderProps as d } from "react-aria-components";
9
9
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
@@ -54,7 +54,7 @@ import '../assets/accordion.css';var h = {
54
54
  slot: "trigger",
55
55
  variant: "icon",
56
56
  children: [
57
- /* @__PURE__ */ p(n, {
57
+ /* @__PURE__ */ p(t, {
58
58
  size: 20,
59
59
  className: v.chevronIcon
60
60
  }),
@@ -67,7 +67,7 @@ import '../assets/accordion.css';var h = {
67
67
  children: a
68
68
  })
69
69
  }),
70
- y && E && /* @__PURE__ */ p(t, {
70
+ y && E && /* @__PURE__ */ p(n, {
71
71
  "aria-label": C,
72
72
  className: v.statusIcon,
73
73
  status: y
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
2
  import * as t from "react";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  import '../assets/badge.css';var r = {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
2
  import { Breadcrumb as t, Breadcrumbs as n } from "react-aria-components";
3
3
  import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
4
4
  import '../assets/breadcrumbs.css';var o = {
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
3
- import { t } from "./spinner-DMR5G-6u.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
+ import { t } from "./spinner-LdHPVms_.js";
4
4
  import { t as n } from "./Button.module-0C2ArlRs.js";
5
5
  import { forwardRef as r } from "react";
6
6
  import { Button as i, ButtonContext as a, composeRenderProps as o, useContextProps as s } from "react-aria-components";
@@ -1,11 +1,11 @@
1
- import { n as e, t } from "./clsx-B1NYyfch.js";
1
+ import { n as e, t } from "./clsx-Di52oYUU.js";
2
2
  import { t as n } from "./createLucideIcon-BgluSHFG.js";
3
3
  import { t as r } from "./chevron-right-DwqboCdU.js";
4
- import { n as i } from "./button-Ch860h28.js";
5
- import { t as a } from "./heading-bnDePIbv.js";
6
- import { t as o } from "./field-error-pJiSw4PN.js";
7
- import { n as s } from "./select-DOLE5CtI.js";
8
- import { a as c, c as l, o as u } from "./list-box-BT33Wiwt.js";
4
+ import { n as i } from "./button-CenXTGXL.js";
5
+ import { t as a } from "./heading-BEl_z-5T.js";
6
+ import { t as o } from "./field-error-LtNtEKDp.js";
7
+ import { n as s } from "./select-KQzDIamx.js";
8
+ import { a as c, c as l, o as u } from "./list-box-BN_MSiOD.js";
9
9
  import * as d from "react";
10
10
  import { Calendar as f, CalendarCell as p, CalendarGrid as m, CalendarMonthPicker as h, CalendarYearPicker as g, RangeCalendar as _, RangeCalendarContext as v, Select as y } from "react-aria-components";
11
11
  import { jsx as b, jsxs as x } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
2
  import { t } from "./arrow-right-Db_H9KjE.js";
3
- import { t as n } from "./heading-bnDePIbv.js";
4
- import { t as r } from "./text-EUdAWwZz.js";
3
+ import { t as n } from "./heading-BEl_z-5T.js";
4
+ import { t as r } from "./text-DwmZ-ew8.js";
5
5
  import * as i from "react";
6
6
  import { Button as a, Link as o } from "react-aria-components";
7
7
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
3
  import { t } from "./createLucideIcon-BgluSHFG.js";
4
4
  import { t as n } from "./check-DV00NPU0.js";
5
5
  import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
6
- import { n as i, t as a } from "./label-CEYHiWSa.js";
7
- import { t as o } from "./text-EUdAWwZz.js";
8
- import { t as s } from "./field-error-pJiSw4PN.js";
6
+ import { n as i, t as a } from "./label-LWlgvAwz.js";
7
+ import { t as o } from "./text-DwmZ-ew8.js";
8
+ import { t as s } from "./field-error-LtNtEKDp.js";
9
9
  import * as c from "react";
10
10
  import { forwardRef as l, useContext as u } from "react";
11
11
  import { CheckboxButton as d, CheckboxField as f, CheckboxGroup as p, CheckboxGroupStateContext as m, composeRenderProps as h } from "react-aria-components";
@@ -1,6 +1,6 @@
1
1
  'use client';
2
2
  import { t as e } from "./x-BJAOO5a5.js";
3
- import { n as t } from "./button-Ch860h28.js";
3
+ import { n as t } from "./button-CenXTGXL.js";
4
4
  import "react";
5
5
  import { jsx as n } from "react/jsx-runtime";
6
6
  //#region src/clear-button/ClearButton.tsx
@@ -2,10 +2,12 @@
2
2
  function e(t) {
3
3
  var n, r, i = "";
4
4
  if (typeof t == "string" || typeof t == "number") i += t;
5
- else if (typeof t == "object") if (Array.isArray(t)) {
6
- var a = t.length;
7
- for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
8
- } else for (r in t) t[r] && (i && (i += " "), i += r);
5
+ else if (typeof t == "object") {
6
+ if (Array.isArray(t)) {
7
+ var a = t.length;
8
+ for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
9
+ } else for (r in t) t[r] && (i && (i += " "), i += r);
10
+ }
9
11
  return i;
10
12
  }
11
13
  function t() {
@@ -1,12 +1,12 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
3
  import { t } from "./createLucideIcon-BgluSHFG.js";
4
4
  import { t as n } from "./chevron-down-CP7nEDei.js";
5
5
  import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
6
- import { n as i } from "./button-Ch860h28.js";
6
+ import { n as i } from "./button-CenXTGXL.js";
7
7
  import { t as a } from "./icons-UBHIX2oV.js";
8
- import { n as o, t as s } from "./toggle-button-BgUQKcK-.js";
9
- import { a as c, o as l, r as u } from "./menu-CPCGm0MC.js";
8
+ import { n as o, t as s } from "./toggle-button-CIvsOXQf.js";
9
+ import { a as c, o as l, r as u } from "./menu-aT2IR0tO.js";
10
10
  import * as d from "react";
11
11
  import { useEffect as f, useState as p } from "react";
12
12
  import { MenuItem as m, SelectionIndicator as h } from "react-aria-components";
@@ -1,11 +1,11 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
3
  import { t } from "./chevron-down-CP7nEDei.js";
4
4
  import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
5
- import { n as r, t as i } from "./label-CEYHiWSa.js";
6
- import { t as a } from "./text-EUdAWwZz.js";
7
- import { t as o } from "./field-error-pJiSw4PN.js";
8
- import { a as s, c, t as l } from "./list-box-BT33Wiwt.js";
5
+ import { n as r, t as i } from "./label-LWlgvAwz.js";
6
+ import { t as a } from "./text-DwmZ-ew8.js";
7
+ import { t as o } from "./field-error-LtNtEKDp.js";
8
+ import { a as s, c, t as l } from "./list-box-BN_MSiOD.js";
9
9
  import { useRef as u } from "react";
10
10
  import { Button as d, ComboBox as f, Input as p } from "react-aria-components";
11
11
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
2
  import { t } from "./useLocalizedStringFormatter-CeyBc0x0.js";
3
- import { n, t as r } from "./label-CEYHiWSa.js";
4
- import { t as i } from "./text-EUdAWwZz.js";
5
- import { t as a } from "./field-error-pJiSw4PN.js";
6
- import { t as o } from "./clear-button-la4Fb9_w.js";
3
+ import { n, t as r } from "./label-LWlgvAwz.js";
4
+ import { t as i } from "./text-DwmZ-ew8.js";
5
+ import { t as a } from "./field-error-LtNtEKDp.js";
6
+ import { t as o } from "./clear-button-D3I1X3yG.js";
7
7
  import * as s from "react";
8
8
  import { DateField as c, DateFieldStateContext as l, DateInput as u, DateSegment as d } from "react-aria-components";
9
9
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -1,14 +1,14 @@
1
1
  'use client';
2
- import { n as e } from "./clsx-B1NYyfch.js";
2
+ import { n as e } from "./clsx-Di52oYUU.js";
3
3
  import { t } from "./createLucideIcon-BgluSHFG.js";
4
- import { n, t as r } from "./calendar-DWdU1T7E.js";
4
+ import { n, t as r } from "./calendar-BZPktkdE.js";
5
5
  import { t as i } from "./useLocalizedStringFormatter-CeyBc0x0.js";
6
- import { n as a } from "./button-Ch860h28.js";
7
- import { n as o, t as s } from "./label-CEYHiWSa.js";
8
- import { t as c } from "./text-EUdAWwZz.js";
9
- import { t as l } from "./field-error-pJiSw4PN.js";
10
- import { t as u } from "./clear-button-la4Fb9_w.js";
11
- import { n as d, r as f, t as p } from "./date-field-Q3bQ5P_t.js";
6
+ import { n as a } from "./button-CenXTGXL.js";
7
+ import { n as o, t as s } from "./label-LWlgvAwz.js";
8
+ import { t as c } from "./text-DwmZ-ew8.js";
9
+ import { t as l } from "./field-error-LtNtEKDp.js";
10
+ import { t as u } from "./clear-button-D3I1X3yG.js";
11
+ import { n as d, r as f, t as p } from "./date-field-BF2f9bSf.js";
12
12
  import * as m from "react";
13
13
  import { DatePicker as h, DatePickerStateContext as g, DateRangePicker as _, DateRangePickerStateContext as v, Group as y, Popover as b } from "react-aria-components";
14
14
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
3
  import { forwardRef as t } from "react";
4
4
  import { DropZone as n, FieldErrorContext as r, composeRenderProps as i } from "react-aria-components";
5
5
  import { jsx as a } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
2
- import { t } from "./text-EUdAWwZz.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
+ import { t } from "./text-DwmZ-ew8.js";
3
3
  import { forwardRef as n, useContext as r } from "react";
4
4
  import { FieldError as i, FieldErrorContext as a } from "react-aria-components";
5
5
  import { jsx as o } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import { t as e } from "./clsx-B1NYyfch.js";
2
+ import { t as e } from "./clsx-Di52oYUU.js";
3
3
  import { t } from "./createLucideIcon-BgluSHFG.js";
4
4
  import { t as n } from "./useLocalizedStringFormatter-CeyBc0x0.js";
5
- import { n as r } from "./button-Ch860h28.js";
5
+ import { n as r } from "./button-CenXTGXL.js";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
7
7
  import '../assets/file-list.css';var o = t("trash-2", [
8
8
  ["path", {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
2
  import "react";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  import '../assets/grid.css';var n = {
@@ -0,0 +1,31 @@
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
+ import "react";
3
+ import { Heading as t } from "react-aria-components";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import '../assets/heading.css';var r = {
6
+ h1: "_h1_13alg_1",
7
+ h2: "_h2_13alg_2",
8
+ h3: "_h3_13alg_3",
9
+ h4: "_h4_13alg_4",
10
+ h5: "_h5_13alg_5",
11
+ h6: "_h6_13alg_6"
12
+ }, i = ({ children: i, className: a, enableMargins: o = !1, isExpressive: s = !1, level: c = 3, elementType: l, ...u }) => {
13
+ let d = l && parseInt(l.split("h")[1]);
14
+ return /* @__PURE__ */ n(t, {
15
+ level: d || c,
16
+ className: e([
17
+ r.h1,
18
+ r.h2,
19
+ r.h3,
20
+ r.h4,
21
+ r.h5,
22
+ r.h6
23
+ ][c - 1], a),
24
+ ...s && { "data-expressive": !0 },
25
+ ...o && { "data-margin": !0 },
26
+ ...u,
27
+ children: i
28
+ });
29
+ };
30
+ //#endregion
31
+ export { i as t };
@@ -1,8 +1,8 @@
1
- import { t as e } from "./clsx-B1NYyfch.js";
2
- import { t } from "./FeedbackStatusIcon-BS5VX-s6.js";
1
+ import { t as e } from "./clsx-Di52oYUU.js";
2
+ import { t } from "./FeedbackStatusIcon-DRI7WrSU.js";
3
3
  import { t as n } from "./x-BJAOO5a5.js";
4
4
  import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
5
- import { n as i } from "./button-Ch860h28.js";
5
+ import { n as i } from "./button-CenXTGXL.js";
6
6
  import "react";
7
7
  import { jsx as a, jsxs as o } from "react/jsx-runtime";
8
8
  import { useControlledState as s } from "@react-stately/utils";