@midas-ds/components 17.38.3 → 17.39.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 (95) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/accordion/index.js +1 -1
  3. package/aria/index.d.ts +3 -1
  4. package/aria/index.js +1 -2
  5. package/assets/grid.css +1 -1
  6. package/badge/Badge.d.ts +5 -1
  7. package/badge/index.d.ts +1 -0
  8. package/button/index.js +1 -1
  9. package/calendar/index.js +1 -1
  10. package/checkbox/Checkbox.d.ts +4 -0
  11. package/checkbox/CheckboxGroup.d.ts +4 -0
  12. package/checkbox/index.js +1 -1
  13. package/chunks/{FeedbackStatusIcon-DX5ndhm3.js → FeedbackStatusIcon-UfooOyeI.js} +1 -1
  14. package/chunks/{accordion-DjL3rngW.js → accordion-PJZYLZCe.js} +2 -2
  15. package/chunks/aria-BikUfLIG.js +6 -0
  16. package/chunks/{button-Q51P-Ssk.js → button-Bz66bIrr.js} +2 -2
  17. package/chunks/{calendar-DyILzX_V.js → calendar-D0aiCkAv.js} +3 -3
  18. package/chunks/{checkbox-MN5mhbFU.js → checkbox-SsXhAn-g.js} +2 -2
  19. package/chunks/{clear-button-BYiazZ-1.js → clear-button-DvMuUjDR.js} +1 -1
  20. package/chunks/{color-scheme-switch-BlGoqk4H.js → color-scheme-switch-2oSS52vq.js} +4 -3
  21. package/chunks/{combobox-D2wPjTS5.js → combobox-Ccqxupn2.js} +3 -3
  22. package/chunks/{date-field-Afo_uDbQ.js → date-field-DKmbbOGo.js} +3 -3
  23. package/chunks/{date-picker-jH3-jQoL.js → date-picker-CAtF7M_p.js} +6 -6
  24. package/chunks/{file-list-BvBSJyRQ.js → file-list-Bg8-wkyR.js} +4 -4
  25. package/chunks/{file-picker-C8JWsO9f.js → file-picker-C05TDsQS.js} +1 -1
  26. package/chunks/grid-CEQVC8XG.js +224 -0
  27. package/chunks/{info-banner-CkXe0Xd8.js → info-banner-BBpsG8F_.js} +3 -3
  28. package/chunks/{label-DCpy2Iwh.js → label-C-Iks5zm.js} +3 -3
  29. package/chunks/{layout-CYcW4Dsm.js → layout-B8k_hYpe.js} +4 -4
  30. package/chunks/link-CegkRPqz.js +43 -0
  31. package/chunks/link-button-BRV_Hy7v.js +43 -0
  32. package/chunks/{list-box-YaPiKCld.js → list-box-DfpVnLLk.js} +3 -3
  33. package/chunks/{logo-CBGOnROk.js → logo-DUlLYUV2.js} +1 -1
  34. package/chunks/menu-CHZ0d9-S.js +51 -0
  35. package/chunks/{modal-BfWHExGd.js → modal-E4kV_R5n.js} +38 -38
  36. package/chunks/{progress-bar-XMAH7KIq.js → progress-bar-yFa08Xfd.js} +1 -1
  37. package/chunks/{radio-BXjMFwia.js → radio-DbIUs2iU.js} +1 -1
  38. package/chunks/{search-field-mQvQC_fC.js → search-field-D--4cgzH.js} +3 -3
  39. package/chunks/{select-B_o3hWvM.js → select-DLoIzTsv.js} +5 -5
  40. package/chunks/{spinner-V6QnHHAH.js → spinner-D3-NXLkB.js} +1 -1
  41. package/chunks/{table-BZsinvvB.js → table-DuzCUPCX.js} +2 -2
  42. package/chunks/{tag-DO8N54-r.js → tag-BpnVl9_M.js} +1 -1
  43. package/chunks/{textfield-O1kNTcwC.js → textfield-BuJeJV1g.js} +3 -3
  44. package/chunks/{time-field-Dte4G0is.js → time-field-Cr5P1aNn.js} +4 -4
  45. package/chunks/{toast-DhXnpJRF.js → toast-BgrlaMnw.js} +2 -2
  46. package/chunks/{useLocalizedStringFormatter-DU97U9ZX.js → useLocalizedStringFormatter-BFwXcMGl.js} +1 -1
  47. package/clear-button/index.js +1 -1
  48. package/color-scheme-switch/index.js +1 -1
  49. package/combobox/ComboBox.d.ts +4 -0
  50. package/combobox/index.js +1 -1
  51. package/date-field/DateField.d.ts +4 -0
  52. package/date-field/index.js +1 -1
  53. package/date-picker/DatePicker.d.ts +4 -0
  54. package/date-picker/DateRangePicker.d.ts +4 -0
  55. package/date-picker/index.js +1 -1
  56. package/file-list/index.js +1 -1
  57. package/file-picker/index.js +1 -1
  58. package/grid/index.js +1 -1
  59. package/index.d.ts +1 -1
  60. package/index.js +53 -53
  61. package/info-banner/index.js +1 -1
  62. package/label/index.js +1 -1
  63. package/layout/index.js +1 -1
  64. package/link/Link.d.ts +2 -2
  65. package/link/index.js +3 -1
  66. package/link-button/LinkButton.d.ts +2 -2
  67. package/link-button/index.js +3 -1
  68. package/list-box/index.js +1 -1
  69. package/logo/Logo.d.ts +3 -1
  70. package/logo/index.js +1 -1
  71. package/menu/Menu.d.ts +3 -2
  72. package/menu/index.js +3 -1
  73. package/modal/Modal.d.ts +1 -2
  74. package/modal/index.js +3 -1
  75. package/package.json +1 -1
  76. package/progress-bar/index.js +1 -1
  77. package/radio/RadioGroup.d.ts +4 -0
  78. package/radio/index.js +1 -1
  79. package/search-field/SearchField.d.ts +4 -0
  80. package/search-field/index.js +1 -1
  81. package/select/index.js +1 -1
  82. package/spinner/index.js +1 -1
  83. package/table/index.js +1 -1
  84. package/tag/index.js +1 -1
  85. package/textfield/TextFieldBase.d.ts +4 -0
  86. package/textfield/index.js +1 -1
  87. package/time-field/TimeField.d.ts +4 -0
  88. package/time-field/index.js +1 -1
  89. package/toast/index.js +1 -1
  90. package/utils/childrenSource.d.ts +19 -0
  91. package/utils/withDisplayName.d.ts +13 -0
  92. package/chunks/grid-CFn_pqQX.js +0 -224
  93. package/chunks/link-CyjmtEZP.js +0 -43
  94. package/chunks/link-button-D6t-8zQQ.js +0 -43
  95. package/chunks/menu-DVrvuxQk.js +0 -51
package/index.js CHANGED
@@ -1,57 +1,57 @@
1
1
  'use client';
2
2
  "use client";
3
- import { n as e, t } from "./chunks/accordion-DjL3rngW.js";
4
- import { ButtonContext as n, Collection as r, Focusable as i, Form as a, I18nProvider as o, Pressable as s, TableLayout as c, Virtualizer as l, useLocale as u } from "./aria/index.js";
5
- import { n as d, t as f } from "./chunks/link-CyjmtEZP.js";
6
- import { t as p } from "./chunks/spinner-V6QnHHAH.js";
7
- import { t as m } from "./chunks/useLocalizedStringFormatter-DU97U9ZX.js";
8
- import { n as h, t as g } from "./chunks/button-Q51P-Ssk.js";
9
- import { t as _ } from "./chunks/heading-0P5rm7xK.js";
10
- import { n as v, t as y } from "./chunks/badge-C5Sdu_uw.js";
11
- import { n as b, t as x } from "./chunks/breadcrumbs-BwYDyKWo.js";
12
- import { n as S, t as C } from "./chunks/calendar-DyILzX_V.js";
13
- import { t as w } from "./chunks/label-DCpy2Iwh.js";
14
- import { t as T } from "./chunks/popover-C7Ain5Qz.js";
15
- import { n as E, r as D, t as O } from "./chunks/modal-BfWHExGd.js";
16
- import { t as k } from "./chunks/text-CtvUKU-v.js";
17
- import { t as A } from "./chunks/field-error-DmG_1v1a.js";
18
- import { i as j, n as M, r as N, t as P } from "./chunks/checkbox-MN5mhbFU.js";
19
- import { n as F, t as I } from "./chunks/select-B_o3hWvM.js";
20
- import { a as L, c as R, i as z, n as B, o as V, r as H, s as U, t as W } from "./chunks/list-box-YaPiKCld.js";
21
- import { n as G, r as K, t as q } from "./chunks/tag-DO8N54-r.js";
22
- import { a as J, c as Y, i as X, l as Z, n as Q, o as $, r as ee, s as te, t as ne } from "./chunks/card-CFy9gV47.js";
23
- import { t as re } from "./chunks/character-counter-IbkPoEcq.js";
24
- import { t as ie } from "./chunks/icons-a0WawN46.js";
25
- import { n as ae, t as oe } from "./chunks/toggle-button--nCm-94u.js";
26
- import { n as se, t as ce } from "./chunks/color-scheme-switch-BlGoqk4H.js";
27
- import { a as le, i as ue, n as de, o as fe, r as pe, s as me, t as he } from "./chunks/menu-DVrvuxQk.js";
28
- import { t as ge } from "./chunks/combobox-D2wPjTS5.js";
29
- import { i as _e, n as ve, r as ye, t as be } from "./chunks/date-field-Afo_uDbQ.js";
30
- import { n as xe, t as Se } from "./chunks/date-picker-jH3-jQoL.js";
31
- import { t as Ce } from "./chunks/drop-zone-CSN3p9Ci.js";
32
- import { a as we, i as Te, n as Ee, r as De, t as Oe } from "./chunks/empty-state-CnDZoO65.js";
33
- import { n as ke, t as Ae } from "./chunks/file-list-BvBSJyRQ.js";
34
- import { t as je } from "./chunks/progress-bar-XMAH7KIq.js";
35
- import { t as Me } from "./chunks/file-picker-C8JWsO9f.js";
36
- import { t as Ne } from "./chunks/file-trigger-MkxFBZEa.js";
37
- import { n as Pe, t as Fe } from "./chunks/grid-CFn_pqQX.js";
38
- import { t as Ie } from "./chunks/info-banner-CkXe0Xd8.js";
39
- import { a as Le, i as Re, n as ze, r as Be, t as Ve } from "./chunks/layout-CYcW4Dsm.js";
40
- import { n as He, t as Ue } from "./chunks/tooltip-CR1uxtPd.js";
41
- import { n as We, t as Ge } from "./chunks/logo-CBGOnROk.js";
42
- import { t as Ke } from "./chunks/clsx-BtGY0yFD.js";
43
- import { t as qe } from "./chunks/link-button-D6t-8zQQ.js";
44
- import { i as Je, n as Ye, r as Xe, t as Ze } from "./chunks/radio-BXjMFwia.js";
45
- import { t as Qe } from "./chunks/search-field-mQvQC_fC.js";
46
- import { t as $e } from "./chunks/skeleton-6y5HNJZp.js";
47
- import { t as et } from "./chunks/stack-DKjRicm1.js";
48
- import { a as tt, i as nt, n as rt, o as it, r as at, t as ot } from "./chunks/table-BZsinvvB.js";
49
- import { i as st, n as ct, r as lt, t as ut } from "./chunks/tabs-ZCpVhr_r.js";
50
- import { i as dt, n as ft, r as pt, t as mt } from "./chunks/textfield-O1kNTcwC.js";
51
- import { t as ht } from "./chunks/time-field-Dte4G0is.js";
52
- import { a as gt, i as _t, n as vt, o as yt, r as bt, t as xt } from "./chunks/toast-DhXnpJRF.js";
3
+ import { n as e, t } from "./chunks/accordion-PJZYLZCe.js";
4
+ import { a as n, c as r, d as i, f as a, i as o, l as s, m as c, n as l, o as u, p as d, r as f, s as p, t as m, u as h } from "./chunks/aria-BikUfLIG.js";
5
+ import { t as g } from "./chunks/useLocalizedStringFormatter-BFwXcMGl.js";
6
+ import { t as _ } from "./chunks/spinner-D3-NXLkB.js";
7
+ import { t as v } from "./chunks/clsx-BtGY0yFD.js";
8
+ import { n as y, t as b } from "./chunks/button-Bz66bIrr.js";
9
+ import { t as x } from "./chunks/heading-0P5rm7xK.js";
10
+ import { n as S, t as C } from "./chunks/badge-C5Sdu_uw.js";
11
+ import { n as w, t as T } from "./chunks/breadcrumbs-BwYDyKWo.js";
12
+ import { n as E, t as D } from "./chunks/calendar-D0aiCkAv.js";
13
+ import { t as O } from "./chunks/label-C-Iks5zm.js";
14
+ import { t as k } from "./chunks/popover-C7Ain5Qz.js";
15
+ import { n as A, t as j } from "./chunks/modal-E4kV_R5n.js";
16
+ import { t as M } from "./chunks/text-CtvUKU-v.js";
17
+ import { t as N } from "./chunks/field-error-DmG_1v1a.js";
18
+ import { i as P, n as F, r as I, t as L } from "./chunks/checkbox-SsXhAn-g.js";
19
+ import { n as R, t as z } from "./chunks/select-DLoIzTsv.js";
20
+ import { a as B, c as V, i as H, n as U, o as W, r as G, s as K, t as q } from "./chunks/list-box-DfpVnLLk.js";
21
+ import { n as J, r as Y, t as X } from "./chunks/tag-BpnVl9_M.js";
22
+ import { a as Z, c as Q, i as $, l as ee, n as te, o as ne, r as re, s as ie, t as ae } from "./chunks/card-CFy9gV47.js";
23
+ import { t as oe } from "./chunks/character-counter-IbkPoEcq.js";
24
+ import { t as se } from "./chunks/icons-a0WawN46.js";
25
+ import { n as ce, t as le } from "./chunks/toggle-button--nCm-94u.js";
26
+ import { n as ue, t as de } from "./chunks/color-scheme-switch-2oSS52vq.js";
27
+ import { a as fe, i as pe, n as me, o as he, r as ge, t as _e } from "./chunks/menu-CHZ0d9-S.js";
28
+ import { t as ve } from "./chunks/combobox-Ccqxupn2.js";
29
+ import { i as ye, n as be, r as xe, t as Se } from "./chunks/date-field-DKmbbOGo.js";
30
+ import { n as Ce, t as we } from "./chunks/date-picker-CAtF7M_p.js";
31
+ import { t as Te } from "./chunks/drop-zone-CSN3p9Ci.js";
32
+ import { a as Ee, i as De, n as Oe, r as ke, t as Ae } from "./chunks/empty-state-CnDZoO65.js";
33
+ import { n as je, t as Me } from "./chunks/file-list-Bg8-wkyR.js";
34
+ import { t as Ne } from "./chunks/progress-bar-yFa08Xfd.js";
35
+ import { t as Pe } from "./chunks/file-picker-C05TDsQS.js";
36
+ import { t as Fe } from "./chunks/file-trigger-MkxFBZEa.js";
37
+ import { n as Ie, t as Le } from "./chunks/grid-CEQVC8XG.js";
38
+ import { t as Re } from "./chunks/info-banner-BBpsG8F_.js";
39
+ import { a as ze, i as Be, n as Ve, r as He, t as Ue } from "./chunks/layout-B8k_hYpe.js";
40
+ import { n as We, t as Ge } from "./chunks/tooltip-CR1uxtPd.js";
41
+ import { n as Ke, t as qe } from "./chunks/logo-DUlLYUV2.js";
42
+ import { t as Je } from "./chunks/link-CegkRPqz.js";
43
+ import { t as Ye } from "./chunks/link-button-BRV_Hy7v.js";
44
+ import { i as Xe, n as Ze, r as Qe, t as $e } from "./chunks/radio-DbIUs2iU.js";
45
+ import { t as et } from "./chunks/search-field-D--4cgzH.js";
46
+ import { t as tt } from "./chunks/skeleton-6y5HNJZp.js";
47
+ import { t as nt } from "./chunks/stack-DKjRicm1.js";
48
+ import { a as rt, i as it, n as at, o as ot, r as st, t as ct } from "./chunks/table-DuzCUPCX.js";
49
+ import { i as lt, n as ut, r as dt, t as ft } from "./chunks/tabs-ZCpVhr_r.js";
50
+ import { i as pt, n as mt, r as ht, t as gt } from "./chunks/textfield-BuJeJV1g.js";
51
+ import { t as _t } from "./chunks/time-field-Cr5P1aNn.js";
52
+ import { a as vt, i as yt, n as bt, o as xt, r as St, t as Ct } from "./chunks/toast-BgrlaMnw.js";
53
53
  // src/version.ts
54
- var St = {
54
+ var wt = {
55
55
  name: "@midas-ds/components",
56
56
  author: { name: "Migrationsverket" },
57
57
  keywords: [
@@ -63,7 +63,7 @@ var St = {
63
63
  description: "Midas Components",
64
64
  homepage: "https://designsystem.migrationsverket.se/",
65
65
  license: "CC0-1.0",
66
- version: "17.38.3",
66
+ version: "17.39.1",
67
67
  module: "./index.js",
68
68
  type: "module",
69
69
  main: "./index.js",
@@ -96,4 +96,4 @@ var St = {
96
96
  "react-stately": "3.50.0"
97
97
  }
98
98
  }.version;
99
- export { e as Accordion, t as AccordionItem, v as Badge, y as BadgeContainer, x as Breadcrumb, b as Breadcrumbs, h as Button, n as ButtonContext, g as ButtonGroup, S as Calendar, ee as Card, X as CardActionArea, J as CardActions, Q as CardBody, $ as CardContent, ne as CardHeader, te as CardImage, Y as CardLink, Z as CardTitle, ot as Cell, re as CharacterCounter, M as Checkbox, N as CheckboxButton, j as CheckboxField, P as CheckboxGroup, r as Collection, se as ColorSchemeSwitch, ce as ColorSchemeSwitchMenu, rt as Column, ge as ComboBox, ie as ContrastFilled, _e as DateField, ve as DateInput, be as DateInputDivider, xe as DatePicker, Se as DateRangePicker, ye as DateSegment, O as DialogTrigger, Ce as DropZone, Oe as EmptyState, we as EmptyStateActions, Te as EmptyStateHeading, De as EmptyStateText, Ee as EmptyStateVisual, A as FieldError, ke as FileList, Ae as FileListItem, Me as FilePicker, Ne as FileTrigger, i as Focusable, a as Form, xt as GlobalToastRegion, Pe as Grid, Fe as GridItem, Be as Header, _ as Heading, o as I18nProvider, Ie as InfoBanner, pt as Input, w as Label, Ve as Layout, f as Link, qe as LinkButton, R as ListBox, U as ListBoxButton, W as ListBoxEmptyState, B as ListBoxHeader, V as ListBoxItem, H as ListBoxLoadMoreItem, L as ListBoxPopover, z as ListBoxSection, Ge as Logo, We as LogoContext, fe as Menu, le as MenuHeader, ue as MenuItem, pe as MenuPopover, de as MenuSection, me as MenuTrigger, E as Modal, D as ModalOverlay, ze as Navbar, T as Popover, s as Pressable, je as ProgressBar, Ye as Radio, Xe as RadioButton, Je as RadioField, Ze as RadioGroup, C as RangeCalendar, d as RouterProvider, at as Row, Qe as SearchField, I as Select, F as SelectTrigger, he as Separator, Re as Sidebar, Le as SidebarLink, $e as Skeleton, p as Spinner, et as Stack, lt as Tab, ut as TabList, ct as TabPanel, nt as Table, tt as TableBody, it as TableHeader, c as TableLayout, st as Tabs, K as Tag, q as TagGroup, G as TagList, k as Text, mt as TextArea, ft as TextField, dt as TextFieldBase, ht as TimeField, vt as Toast, bt as ToastProvider, _t as ToastRegion, ae as ToggleButton, oe as ToggleButtonGroup, Ue as Tooltip, He as TooltipTrigger, St as VERSION, l as Virtualizer, Ke as clsx, gt as toastQueue, u as useLocale, m as useLocalizedStringFormatter, yt as useToastState };
99
+ export { e as Accordion, t as AccordionItem, S as Badge, C as BadgeContainer, T as Breadcrumb, w as Breadcrumbs, y as Button, m as ButtonContext, b as ButtonGroup, E as Calendar, re as Card, $ as CardActionArea, Z as CardActions, te as CardBody, ne as CardContent, ae as CardHeader, ie as CardImage, Q as CardLink, ee as CardTitle, ct as Cell, oe as CharacterCounter, F as Checkbox, I as CheckboxButton, P as CheckboxField, L as CheckboxGroup, l as Collection, ue as ColorSchemeSwitch, de as ColorSchemeSwitchMenu, at as Column, ve as ComboBox, se as ContrastFilled, ye as DateField, be as DateInput, Se as DateInputDivider, Ce as DatePicker, we as DateRangePicker, xe as DateSegment, f as DialogTrigger, Te as DropZone, Ae as EmptyState, Ee as EmptyStateActions, De as EmptyStateHeading, ke as EmptyStateText, Oe as EmptyStateVisual, N as FieldError, je as FileList, Me as FileListItem, Pe as FilePicker, Fe as FileTrigger, o as Focusable, n as Form, Ct as GlobalToastRegion, Ie as Grid, Le as GridItem, He as Header, x as Heading, u as I18nProvider, Re as InfoBanner, ht as Input, p as Keyboard, O as Label, Ue as Layout, Je as Link, Ye as LinkButton, V as ListBox, K as ListBoxButton, q as ListBoxEmptyState, U as ListBoxHeader, W as ListBoxItem, G as ListBoxLoadMoreItem, B as ListBoxPopover, H as ListBoxSection, qe as Logo, Ke as LogoContext, he as Menu, fe as MenuHeader, pe as MenuItem, ge as MenuPopover, me as MenuSection, r as MenuTrigger, j as Modal, A as ModalOverlay, Ve as Navbar, k as Popover, s as Pressable, Ne as ProgressBar, Ze as Radio, Qe as RadioButton, Xe as RadioField, $e as RadioGroup, D as RangeCalendar, h as RouterProvider, st as Row, et as SearchField, z as Select, R as SelectTrigger, _e as Separator, Be as Sidebar, ze as SidebarLink, tt as Skeleton, _ as Spinner, nt as Stack, i as SubmenuTrigger, dt as Tab, ft as TabList, ut as TabPanel, it as Table, rt as TableBody, ot as TableHeader, a as TableLayout, lt as Tabs, Y as Tag, X as TagGroup, J as TagList, M as Text, gt as TextArea, mt as TextField, pt as TextFieldBase, _t as TimeField, bt as Toast, St as ToastProvider, yt as ToastRegion, ce as ToggleButton, le as ToggleButtonGroup, Ge as Tooltip, We as TooltipTrigger, wt as VERSION, d as Virtualizer, v as clsx, vt as toastQueue, c as useLocale, g as useLocalizedStringFormatter, xt as useToastState };
@@ -1 +1 @@
1
- export { t as InfoBanner } from "../chunks/info-banner-CkXe0Xd8.js";
1
+ export { t as InfoBanner } from "../chunks/info-banner-BBpsG8F_.js";
package/label/index.js CHANGED
@@ -1 +1 @@
1
- export { t as Label } from "../chunks/label-DCpy2Iwh.js";
1
+ export { t as Label } from "../chunks/label-C-Iks5zm.js";
package/layout/index.js CHANGED
@@ -1 +1 @@
1
- export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-CYcW4Dsm.js";
1
+ export { r as Header, t as Layout, n as Navbar, i as Sidebar, a as SidebarLink } from "../chunks/layout-B8k_hYpe.js";
package/link/Link.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Link as AriaLink, RouterProvider } from 'react-aria-components';
1
+ import { Link as AriaLink } from 'react-aria-components';
2
2
  import { LucideIcon } from 'lucide-react';
3
3
  export interface LinkComponentProps<C extends React.ElementType> {
4
4
  children: React.ReactNode;
@@ -16,4 +16,4 @@ export interface LinkComponentProps<C extends React.ElementType> {
16
16
  }
17
17
  export type LinkProps<C extends React.ElementType> = LinkComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkComponentProps<C>>;
18
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
- export { RouterProvider };
19
+ export { RouterProvider } from '../aria';
package/link/index.js CHANGED
@@ -1 +1,3 @@
1
- export { t as Link, n as RouterProvider } from "../chunks/link-CyjmtEZP.js";
1
+ import { u as e } from "../chunks/aria-BikUfLIG.js";
2
+ import { t } from "../chunks/link-CegkRPqz.js";
3
+ export { t as Link, e as RouterProvider };
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { Link as AriaLink, RouterProvider } from 'react-aria-components';
2
+ import { Link as AriaLink } from 'react-aria-components';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
  import { Size } from '../common/types';
5
5
  export interface LinkButtonComponentProps<C extends React.ElementType> {
@@ -38,4 +38,4 @@ export type LinkButtonProps<C extends React.ElementType> = LinkButtonComponentPr
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
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
- export { RouterProvider };
41
+ export { RouterProvider } from '../aria';
@@ -1 +1,3 @@
1
- export { t as LinkButton, n as RouterProvider } from "../chunks/link-button-D6t-8zQQ.js";
1
+ import { u as e } from "../chunks/aria-BikUfLIG.js";
2
+ import { t } from "../chunks/link-button-BRV_Hy7v.js";
3
+ export { t as LinkButton, e as RouterProvider };
package/list-box/index.js CHANGED
@@ -1 +1 @@
1
- export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-YaPiKCld.js";
1
+ export { c as ListBox, s as ListBoxButton, t as ListBoxEmptyState, n as ListBoxHeader, o as ListBoxItem, r as ListBoxLoadMoreItem, a as ListBoxPopover, i as ListBoxSection } from "../chunks/list-box-DfpVnLLk.js";
package/logo/Logo.d.ts CHANGED
@@ -5,7 +5,9 @@ export interface LogoProps extends React.DetailedHTMLProps<React.HTMLAttributes<
5
5
  */
6
6
  primary?: boolean;
7
7
  /**
8
- * Specify logo size
8
+ * Specify logo size. Without it, the logo takes the size from a
9
+ * `LogoContext`, if there is one
10
+ * @default 'medium'
9
11
  */
10
12
  size?: 'x-small' | 'small' | 'medium' | 'large';
11
13
  /** There must be whitespace around the logo. By disabling our built in padding you must add at least an equal amount yourself. */
package/logo/index.js CHANGED
@@ -1 +1 @@
1
- export { t as Logo, n as LogoContext } from "../chunks/logo-CBGOnROk.js";
1
+ export { t as Logo, n as LogoContext } from "../chunks/logo-DUlLYUV2.js";
package/menu/Menu.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { MenuTrigger, MenuTriggerProps, MenuProps as AriaMenuProps } from 'react-aria-components';
1
+ import { MenuTriggerProps, MenuProps as AriaMenuProps } from 'react-aria-components';
2
2
  import { Size } from '../common/types';
3
- export { MenuTrigger, type MenuTriggerProps };
3
+ export { MenuTrigger } from '../aria';
4
+ export type { MenuTriggerProps };
4
5
  export interface MenuProps<T> extends AriaMenuProps<T> {
5
6
  /** Component size (large: height 40px, medium: height 32px)
6
7
  * @default 'large'
package/menu/index.js CHANGED
@@ -1 +1,3 @@
1
- export { o as Menu, a as MenuHeader, i as MenuItem, r as MenuPopover, n as MenuSection, s as MenuTrigger, t as Separator } from "../chunks/menu-DVrvuxQk.js";
1
+ import { c as e } from "../chunks/aria-BikUfLIG.js";
2
+ import { a as t, i as n, n as r, o as i, r as a, t as o } from "../chunks/menu-CHZ0d9-S.js";
3
+ export { i as Menu, t as MenuHeader, n as MenuItem, a as MenuPopover, r as MenuSection, e as MenuTrigger, o as Separator };
package/modal/Modal.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { DialogTrigger } from 'react-aria-components';
2
1
  import { ModalOverlayProps } from './modal-overlay';
3
2
  export interface ModalProps extends ModalOverlayProps {
4
3
  /**
@@ -14,5 +13,5 @@ export interface ModalProps extends ModalOverlayProps {
14
13
  */
15
14
  footer?: React.ReactNode;
16
15
  }
17
- export { DialogTrigger };
16
+ export { DialogTrigger } from '../aria';
18
17
  export declare const Modal: import('react').ForwardRefExoticComponent<ModalProps & import('react').RefAttributes<HTMLDivElement>>;
package/modal/index.js CHANGED
@@ -1 +1,3 @@
1
- export { t as DialogTrigger, n as Modal, r as ModalOverlay } from "../chunks/modal-BfWHExGd.js";
1
+ import { r as e } from "../chunks/aria-BikUfLIG.js";
2
+ import { n as t, t as n } from "../chunks/modal-E4kV_R5n.js";
3
+ export { e as DialogTrigger, n 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.38.3",
17
+ "version": "17.39.1",
18
18
  "module": "./index.js",
19
19
  "type": "module",
20
20
  "main": "./index.js",
@@ -1 +1 @@
1
- export { t as ProgressBar } from "../chunks/progress-bar-XMAH7KIq.js";
1
+ export { t as ProgressBar } from "../chunks/progress-bar-yFa08Xfd.js";
@@ -7,6 +7,10 @@ export interface RadioGroupProps extends AriaRadioGroupProps {
7
7
  description?: string;
8
8
  /** String to display as error message or function to handle the result and produce the error message */
9
9
  errorMessage?: string | ((validation: ValidationResult) => string);
10
+ /**
11
+ * The position of the error message
12
+ * @default 'top'
13
+ */
10
14
  errorPosition?: 'top' | 'bottom';
11
15
  /** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
12
16
  popover?: InfoPopoverProps;
package/radio/index.js CHANGED
@@ -1 +1 @@
1
- export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-BXjMFwia.js";
1
+ export { n as Radio, r as RadioButton, i as RadioField, t as RadioGroup } from "../chunks/radio-DbIUs2iU.js";
@@ -37,6 +37,10 @@ export interface SearchFieldProps extends Omit<AriaSearchFieldProps, 'children'>
37
37
  * A custom error message if using the isInvalid prop.
38
38
  */
39
39
  errorMessage?: string;
40
+ /**
41
+ * The position of the error message
42
+ * @default 'top'
43
+ */
40
44
  errorPosition?: 'top' | 'bottom';
41
45
  /** Component size (large: height 48px, medium: height 40px)
42
46
  * @default 'large'
@@ -1 +1 @@
1
- export { t as SearchField } from "../chunks/search-field-mQvQC_fC.js";
1
+ export { t as SearchField } from "../chunks/search-field-D--4cgzH.js";
package/select/index.js CHANGED
@@ -1 +1 @@
1
- export { t as Select, n as SelectTrigger } from "../chunks/select-B_o3hWvM.js";
1
+ export { t as Select, n as SelectTrigger } from "../chunks/select-DLoIzTsv.js";
package/spinner/index.js CHANGED
@@ -1 +1 @@
1
- export { t as Spinner } from "../chunks/spinner-V6QnHHAH.js";
1
+ export { t as Spinner } from "../chunks/spinner-D3-NXLkB.js";
package/table/index.js CHANGED
@@ -1 +1 @@
1
- export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-BZsinvvB.js";
1
+ export { t as Cell, n as Column, r as Row, i as Table, a as TableBody, o as TableHeader } from "../chunks/table-DuzCUPCX.js";
package/tag/index.js CHANGED
@@ -1 +1 @@
1
- export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-DO8N54-r.js";
1
+ export { r as Tag, t as TagGroup, n as TagList } from "../chunks/tag-BpnVl9_M.js";
@@ -10,6 +10,10 @@ export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
10
10
  description?: string;
11
11
  /** Custom error messages */
12
12
  errorMessage?: string | ((validation: ValidationResult) => string);
13
+ /**
14
+ * The position of the error message
15
+ * @default 'top'
16
+ */
13
17
  errorPosition?: 'top' | 'bottom';
14
18
  /**
15
19
  * Whether to show the character counter or not
@@ -1 +1 @@
1
- export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-O1kNTcwC.js";
1
+ export { r as Input, t as TextArea, n as TextField, i as TextFieldBase } from "../chunks/textfield-BuJeJV1g.js";
@@ -5,6 +5,10 @@ import * as React from 'react';
5
5
  export interface TimeFieldProps<T extends TimeValue> extends AriaTimeFieldProps<T> {
6
6
  description?: string;
7
7
  errorMessage?: string | ((validation: ValidationResult) => string);
8
+ /**
9
+ * The position of the error message
10
+ * @default 'top'
11
+ */
8
12
  errorPosition?: 'top' | 'bottom';
9
13
  label?: string;
10
14
  /** Component size (large: height 48px, medium: height 40px)
@@ -1 +1 @@
1
- export { t as TimeField } from "../chunks/time-field-Dte4G0is.js";
1
+ export { t as TimeField } from "../chunks/time-field-Cr5P1aNn.js";
package/toast/index.js CHANGED
@@ -1 +1 @@
1
- export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-DhXnpJRF.js";
1
+ export { t as GlobalToastRegion, n as Toast, r as ToastProvider, i as ToastRegion, a as toastQueue, o as useToastState } from "../chunks/toast-BgrlaMnw.js";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Puts children back into the code of a Storybook snippet. Storybook leaves
3
+ * out children that are a function, e.g. the `item => <ListBoxItem />` of a
4
+ * collection, so the snippet doesn't render anything when copied. The
5
+ * children go into the first `<tag />` of the snippet that has none.
6
+ */
7
+ export declare const insertChildren: (code: string, tag: string, children: string) => string;
8
+ /**
9
+ * Story parameters that put the code of a function as children back into
10
+ * the snippet of `<tag />`, e.g.
11
+ * `childrenSource('Menu', '{item => <MenuItem>{item.name}</MenuItem>}')`
12
+ */
13
+ export declare const childrenSource: (tag: string, children: string) => {
14
+ docs: {
15
+ source: {
16
+ transform: (code: string) => string;
17
+ };
18
+ };
19
+ };
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Names a React Aria component that Midas re-exports as is. Its own name is
3
+ * minified, so without one it shows up as e.g. `$4e85f108e88277b8$export$...`
4
+ * in Storybook's code and React DevTools. It names the component itself,
5
+ * since React Aria compares some of them by identity, and so the export
6
+ * stays React Aria's own, with its docs:
7
+ *
8
+ * ```ts
9
+ * withDisplayName(MenuTrigger, 'MenuTrigger')
10
+ * export { MenuTrigger }
11
+ * ```
12
+ */
13
+ export declare const withDisplayName: <T extends object>(component: T, displayName: string) => T;
@@ -1,224 +0,0 @@
1
- import { t as e } from "./clsx-BtGY0yFD.js";
2
- import "react";
3
- import { jsx as t } from "react/jsx-runtime";
4
- import '../assets/grid.css';var n = {
5
- container: "_container_11gif_1",
6
- removeMargins: "_removeMargins_11gif_13",
7
- contained: "_contained_11gif_17",
8
- flex: "_flex_11gif_23",
9
- fluid: "_fluid_11gif_53",
10
- col: "_col_11gif_59",
11
- "col-1": "_col-1_11gif_63",
12
- "col-2": "_col-2_11gif_68",
13
- "col-3": "_col-3_11gif_75",
14
- "col-quarter": "_col-quarter_11gif_76",
15
- "col-4": "_col-4_11gif_83",
16
- "col-third": "_col-third_11gif_84",
17
- "col-5": "_col-5_11gif_91",
18
- "col-6": "_col-6_11gif_98",
19
- "col-half": "_col-half_11gif_99",
20
- "col-7": "_col-7_11gif_106",
21
- "col-8": "_col-8_11gif_113",
22
- "col-9": "_col-9_11gif_120",
23
- "col-10": "_col-10_11gif_127",
24
- "col-11": "_col-11_11gif_134",
25
- "col-12": "_col-12_11gif_141",
26
- "col-full": "_col-full_11gif_142",
27
- "col-auto": "_col-auto_11gif_149",
28
- "col-grow": "_col-grow_11gif_154",
29
- "col-xs-1": "_col-xs-1_11gif_159",
30
- "col-xs-2": "_col-xs-2_11gif_166",
31
- "col-xs-3": "_col-xs-3_11gif_173",
32
- "col-xs-quarter": "_col-xs-quarter_11gif_174",
33
- "col-xs-4": "_col-xs-4_11gif_181",
34
- "col-xs-third": "_col-xs-third_11gif_182",
35
- "col-xs-5": "_col-xs-5_11gif_189",
36
- "col-xs-6": "_col-xs-6_11gif_196",
37
- "col-xs-half": "_col-xs-half_11gif_197",
38
- "col-xs-7": "_col-xs-7_11gif_204",
39
- "col-xs-8": "_col-xs-8_11gif_211",
40
- "col-xs-9": "_col-xs-9_11gif_218",
41
- "col-xs-10": "_col-xs-10_11gif_225",
42
- "col-xs-11": "_col-xs-11_11gif_232",
43
- "col-xs-12": "_col-xs-12_11gif_239",
44
- "col-xs-full": "_col-xs-full_11gif_240",
45
- "col-xs-auto": "_col-xs-auto_11gif_247",
46
- "col-xs-grow": "_col-xs-grow_11gif_252",
47
- "col-sm-1": "_col-sm-1_11gif_258",
48
- "col-sm-2": "_col-sm-2_11gif_265",
49
- "col-sm-3": "_col-sm-3_11gif_272",
50
- "col-sm-quarter": "_col-sm-quarter_11gif_273",
51
- "col-sm-4": "_col-sm-4_11gif_280",
52
- "col-sm-third": "_col-sm-third_11gif_281",
53
- "col-sm-5": "_col-sm-5_11gif_288",
54
- "col-sm-6": "_col-sm-6_11gif_295",
55
- "col-sm-half": "_col-sm-half_11gif_296",
56
- "col-sm-7": "_col-sm-7_11gif_303",
57
- "col-sm-8": "_col-sm-8_11gif_310",
58
- "col-sm-9": "_col-sm-9_11gif_317",
59
- "col-sm-10": "_col-sm-10_11gif_324",
60
- "col-sm-11": "_col-sm-11_11gif_331",
61
- "col-sm-12": "_col-sm-12_11gif_338",
62
- "col-sm-full": "_col-sm-full_11gif_339",
63
- "col-sm-auto": "_col-sm-auto_11gif_346",
64
- "col-sm-grow": "_col-sm-grow_11gif_351",
65
- "col-md-1": "_col-md-1_11gif_357",
66
- "col-md-2": "_col-md-2_11gif_364",
67
- "col-md-3": "_col-md-3_11gif_371",
68
- "col-md-quarter": "_col-md-quarter_11gif_372",
69
- "col-md-4": "_col-md-4_11gif_379",
70
- "col-md-third": "_col-md-third_11gif_380",
71
- "col-md-5": "_col-md-5_11gif_387",
72
- "col-md-6": "_col-md-6_11gif_394",
73
- "col-md-half": "_col-md-half_11gif_395",
74
- "col-md-7": "_col-md-7_11gif_402",
75
- "col-md-8": "_col-md-8_11gif_409",
76
- "col-md-9": "_col-md-9_11gif_416",
77
- "col-md-10": "_col-md-10_11gif_423",
78
- "col-md-11": "_col-md-11_11gif_430",
79
- "col-md-12": "_col-md-12_11gif_437",
80
- "col-md-full": "_col-md-full_11gif_438",
81
- "col-md-auto": "_col-md-auto_11gif_445",
82
- "col-md-grow": "_col-md-grow_11gif_450",
83
- "col-lg-1": "_col-lg-1_11gif_456",
84
- "col-lg-2": "_col-lg-2_11gif_463",
85
- "col-lg-3": "_col-lg-3_11gif_470",
86
- "col-lg-quarter": "_col-lg-quarter_11gif_471",
87
- "col-lg-4": "_col-lg-4_11gif_478",
88
- "col-lg-third": "_col-lg-third_11gif_479",
89
- "col-lg-5": "_col-lg-5_11gif_486",
90
- "col-lg-6": "_col-lg-6_11gif_493",
91
- "col-lg-half": "_col-lg-half_11gif_494",
92
- "col-lg-7": "_col-lg-7_11gif_501",
93
- "col-lg-8": "_col-lg-8_11gif_508",
94
- "col-lg-9": "_col-lg-9_11gif_515",
95
- "col-lg-10": "_col-lg-10_11gif_522",
96
- "col-lg-11": "_col-lg-11_11gif_529",
97
- "col-lg-12": "_col-lg-12_11gif_536",
98
- "col-lg-full": "_col-lg-full_11gif_537",
99
- "col-lg-auto": "_col-lg-auto_11gif_544",
100
- "col-lg-grow": "_col-lg-grow_11gif_549",
101
- "col-xl-1": "_col-xl-1_11gif_555",
102
- "col-xl-2": "_col-xl-2_11gif_562",
103
- "col-xl-3": "_col-xl-3_11gif_569",
104
- "col-xl-quarter": "_col-xl-quarter_11gif_570",
105
- "col-xl-4": "_col-xl-4_11gif_577",
106
- "col-xl-third": "_col-xl-third_11gif_578",
107
- "col-xl-5": "_col-xl-5_11gif_585",
108
- "col-xl-6": "_col-xl-6_11gif_592",
109
- "col-xl-half": "_col-xl-half_11gif_593",
110
- "col-xl-7": "_col-xl-7_11gif_600",
111
- "col-xl-8": "_col-xl-8_11gif_607",
112
- "col-xl-9": "_col-xl-9_11gif_614",
113
- "col-xl-10": "_col-xl-10_11gif_621",
114
- "col-xl-11": "_col-xl-11_11gif_628",
115
- "col-xl-12": "_col-xl-12_11gif_635",
116
- "col-xl-full": "_col-xl-full_11gif_636",
117
- "col-xl-auto": "_col-xl-auto_11gif_643",
118
- "col-xl-grow": "_col-xl-grow_11gif_648",
119
- "offset-1": "_offset-1_11gif_653",
120
- "offset-2": "_offset-2_11gif_657",
121
- "offset-3": "_offset-3_11gif_663",
122
- "offset-quarter": "_offset-quarter_11gif_664",
123
- "offset-4": "_offset-4_11gif_670",
124
- "offset-third": "_offset-third_11gif_671",
125
- "offset-5": "_offset-5_11gif_677",
126
- "offset-6": "_offset-6_11gif_683",
127
- "offset-half": "_offset-half_11gif_684",
128
- "offset-7": "_offset-7_11gif_690",
129
- "offset-8": "_offset-8_11gif_696",
130
- "offset-9": "_offset-9_11gif_702",
131
- "offset-10": "_offset-10_11gif_708",
132
- "offset-11": "_offset-11_11gif_714",
133
- "offset-auto": "_offset-auto_11gif_720",
134
- "offset-xs-1": "_offset-xs-1_11gif_725",
135
- "offset-xs-2": "_offset-xs-2_11gif_731",
136
- "offset-xs-3": "_offset-xs-3_11gif_737",
137
- "offset-xs-quarter": "_offset-xs-quarter_11gif_738",
138
- "offset-xs-4": "_offset-xs-4_11gif_744",
139
- "offset-xs-third": "_offset-xs-third_11gif_745",
140
- "offset-xs-5": "_offset-xs-5_11gif_751",
141
- "offset-xs-6": "_offset-xs-6_11gif_757",
142
- "offset-xs-half": "_offset-xs-half_11gif_758",
143
- "offset-xs-7": "_offset-xs-7_11gif_764",
144
- "offset-xs-8": "_offset-xs-8_11gif_770",
145
- "offset-xs-9": "_offset-xs-9_11gif_776",
146
- "offset-xs-10": "_offset-xs-10_11gif_782",
147
- "offset-xs-11": "_offset-xs-11_11gif_788",
148
- "offset-xs-auto": "_offset-xs-auto_11gif_794",
149
- "offset-sm-1": "_offset-sm-1_11gif_800",
150
- "offset-sm-2": "_offset-sm-2_11gif_806",
151
- "offset-sm-3": "_offset-sm-3_11gif_812",
152
- "offset-sm-quarter": "_offset-sm-quarter_11gif_813",
153
- "offset-sm-4": "_offset-sm-4_11gif_819",
154
- "offset-sm-third": "_offset-sm-third_11gif_820",
155
- "offset-sm-5": "_offset-sm-5_11gif_826",
156
- "offset-sm-6": "_offset-sm-6_11gif_832",
157
- "offset-sm-half": "_offset-sm-half_11gif_833",
158
- "offset-sm-7": "_offset-sm-7_11gif_839",
159
- "offset-sm-8": "_offset-sm-8_11gif_845",
160
- "offset-sm-9": "_offset-sm-9_11gif_851",
161
- "offset-sm-10": "_offset-sm-10_11gif_857",
162
- "offset-sm-11": "_offset-sm-11_11gif_863",
163
- "offset-sm-auto": "_offset-sm-auto_11gif_869",
164
- "offset-md-1": "_offset-md-1_11gif_875",
165
- "offset-md-2": "_offset-md-2_11gif_881",
166
- "offset-md-3": "_offset-md-3_11gif_887",
167
- "offset-md-quarter": "_offset-md-quarter_11gif_888",
168
- "offset-md-4": "_offset-md-4_11gif_894",
169
- "offset-md-third": "_offset-md-third_11gif_895",
170
- "offset-md-5": "_offset-md-5_11gif_901",
171
- "offset-md-6": "_offset-md-6_11gif_907",
172
- "offset-md-half": "_offset-md-half_11gif_908",
173
- "offset-md-7": "_offset-md-7_11gif_914",
174
- "offset-md-8": "_offset-md-8_11gif_920",
175
- "offset-md-9": "_offset-md-9_11gif_926",
176
- "offset-md-10": "_offset-md-10_11gif_932",
177
- "offset-md-11": "_offset-md-11_11gif_938",
178
- "offset-md-auto": "_offset-md-auto_11gif_944",
179
- "offset-lg-1": "_offset-lg-1_11gif_950",
180
- "offset-lg-2": "_offset-lg-2_11gif_956",
181
- "offset-lg-3": "_offset-lg-3_11gif_962",
182
- "offset-lg-quarter": "_offset-lg-quarter_11gif_963",
183
- "offset-lg-4": "_offset-lg-4_11gif_969",
184
- "offset-lg-third": "_offset-lg-third_11gif_970",
185
- "offset-lg-5": "_offset-lg-5_11gif_976",
186
- "offset-lg-6": "_offset-lg-6_11gif_982",
187
- "offset-lg-half": "_offset-lg-half_11gif_983",
188
- "offset-lg-7": "_offset-lg-7_11gif_989",
189
- "offset-lg-8": "_offset-lg-8_11gif_995",
190
- "offset-lg-9": "_offset-lg-9_11gif_1001",
191
- "offset-lg-10": "_offset-lg-10_11gif_1007",
192
- "offset-lg-11": "_offset-lg-11_11gif_1013",
193
- "offset-lg-auto": "_offset-lg-auto_11gif_1019",
194
- "offset-xl-1": "_offset-xl-1_11gif_1025",
195
- "offset-xl-2": "_offset-xl-2_11gif_1031",
196
- "offset-xl-3": "_offset-xl-3_11gif_1037",
197
- "offset-xl-quarter": "_offset-xl-quarter_11gif_1038",
198
- "offset-xl-4": "_offset-xl-4_11gif_1044",
199
- "offset-xl-third": "_offset-xl-third_11gif_1045",
200
- "offset-xl-5": "_offset-xl-5_11gif_1051",
201
- "offset-xl-6": "_offset-xl-6_11gif_1057",
202
- "offset-xl-half": "_offset-xl-half_11gif_1058",
203
- "offset-xl-7": "_offset-xl-7_11gif_1064",
204
- "offset-xl-8": "_offset-xl-8_11gif_1070",
205
- "offset-xl-9": "_offset-xl-9_11gif_1076",
206
- "offset-xl-10": "_offset-xl-10_11gif_1082",
207
- "offset-xl-11": "_offset-xl-11_11gif_1088",
208
- "offset-xl-auto": "_offset-xl-auto_11gif_1094"
209
- }, r = ({ children: r, isContained: i = !1, removeMargins: a = !1, ...o }) => /* @__PURE__ */ t("div", {
210
- ...o,
211
- className: e(n.container, i && n.contained, a && n.removeMargins, o.className),
212
- children: /* @__PURE__ */ t("div", {
213
- className: n.flex,
214
- children: r
215
- })
216
- }), i = ({ children: r, size: i, offset: s, ...c }) => {
217
- let l = s ? `offset-${s}` : "", u = a(i), d = o(s);
218
- return /* @__PURE__ */ t("div", {
219
- ...c,
220
- className: e(n.col, n[l], u.map((e) => n[e]), d.map((e) => n[e]), c.className),
221
- children: r
222
- });
223
- }, a = (e) => e ? typeof e == "object" ? Object.entries(e).map(([e, t]) => e === "xs" ? `col-${t}` : `col-${e}-${t}`) : [`col-${e}`] : [], o = (e) => e ? typeof e == "object" ? Object.entries(e).map(([e, t]) => e === "xs" ? `offset-${t}` : `offset-${e}-${t}`) : [`offset-${e}`] : [];
224
- export { r as n, i as t };