@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.
- package/CHANGELOG.md +23 -0
- package/accordion/AccordionItem.d.ts +1 -1
- package/accordion/AccordionItem.stories.d.ts +1 -1
- package/accordion/index.js +1 -1
- package/badge/Badge.stories.d.ts +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumb.d.ts +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/breadcrumbs/Breadcrumbs.stories.d.ts +4 -4
- package/breadcrumbs/index.js +1 -1
- package/button/index.js +1 -1
- package/calendar/Calendar.d.ts +2 -1
- package/calendar/Calendar.stories.d.ts +2 -2
- package/calendar/CalendarGrid.d.ts +2 -1
- package/calendar/CalendarHeader.d.ts +2 -1
- package/calendar/CalendarPicker.d.ts +1 -1
- package/calendar/RangeCalendar.d.ts +2 -1
- package/calendar/RangeCalendar.stories.d.ts +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.d.ts +1 -1
- package/card/card-body/CardBody.d.ts +1 -1
- package/card/card-header/CardHeader.d.ts +1 -1
- package/card/index.js +1 -1
- package/checkbox/CheckboxField.d.ts +1 -1
- package/checkbox/CheckboxGroup.d.ts +1 -1
- package/checkbox/CheckboxGroup.stories.d.ts +2 -2
- package/checkbox/SelectAllCheckbox.d.ts +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/{FeedbackStatusIcon-BS5VX-s6.js → FeedbackStatusIcon-DRI7WrSU.js} +7 -7
- package/chunks/{accordion-BxxPnJau.js → accordion-DIVTJU3O.js} +7 -7
- package/chunks/{badge-BplGU5BS.js → badge-BfK6XrlL.js} +1 -1
- package/chunks/{breadcrumbs-C-Z6UlQn.js → breadcrumbs-DV0ZJc62.js} +1 -1
- package/chunks/{button-Ch860h28.js → button-CenXTGXL.js} +2 -2
- package/chunks/{calendar-DWdU1T7E.js → calendar-BZPktkdE.js} +6 -6
- package/chunks/{card-Bzc8kToe.js → card-zIYA-SQh.js} +3 -3
- package/chunks/{checkbox-BgCp0edW.js → checkbox-DcXA9GSd.js} +4 -4
- package/chunks/{clear-button-la4Fb9_w.js → clear-button-D3I1X3yG.js} +1 -1
- package/chunks/{clsx-B1NYyfch.js → clsx-Di52oYUU.js} +6 -4
- package/chunks/{color-scheme-switch-jgoxUu3x.js → color-scheme-switch-DVZjdwc9.js} +4 -4
- package/chunks/{combobox-B3AGDNru.js → combobox-DIou4Z-d.js} +5 -5
- package/chunks/{date-field-Q3bQ5P_t.js → date-field-BF2f9bSf.js} +5 -5
- package/chunks/{date-picker-BPAJK8Gr.js → date-picker-BomOO1LI.js} +8 -8
- package/chunks/{drop-zone-DvQLpgq6.js → drop-zone-DH3ZyHsr.js} +1 -1
- package/chunks/{field-error-pJiSw4PN.js → field-error-LtNtEKDp.js} +2 -2
- package/chunks/{file-list-DM1Vtkun.js → file-list-TmEuO1fJ.js} +2 -2
- package/chunks/{grid-DZB3GGDg.js → grid-Cn_8RSvj.js} +1 -1
- package/chunks/heading-BEl_z-5T.js +31 -0
- package/chunks/{info-banner-DnFNZ1_o.js → info-banner-osR4e6nB.js} +3 -3
- package/chunks/{label-CEYHiWSa.js → label-LWlgvAwz.js} +4 -4
- package/chunks/{layout-DVj8wSj3.js → layout-Db5um0f7.js} +23 -23
- package/chunks/{link-CQoSw1Pv.js → link-BAgs4RwY.js} +5 -5
- package/chunks/{link-button-BMFzCHH8.js → link-button-BuPMEGUj.js} +5 -5
- package/chunks/{list-box-BT33Wiwt.js → list-box-BN_MSiOD.js} +3 -3
- package/chunks/{logo-CDxNjDeI.js → logo-DyZ2pXt7.js} +1 -1
- package/chunks/{menu-CPCGm0MC.js → menu-aT2IR0tO.js} +1 -1
- package/chunks/{modal-C-xHt7Ds.js → modal-C-UsxdO0.js} +3 -3
- package/chunks/{popover-wAwxm_cM.js → popover-DGcogqbS.js} +1 -1
- package/chunks/{progress-bar-Cft_RPHz.js → progress-bar-7w_kWo2f.js} +2 -2
- package/chunks/{radio-BXC6pb3z.js → radio-C-MUMGu7.js} +4 -4
- package/chunks/{search-field-dAZu3T_V.js → search-field-BvfOHvUI.js} +6 -6
- package/chunks/{select-DOLE5CtI.js → select-KQzDIamx.js} +8 -8
- package/chunks/{skeleton-DWmvym7R.js → skeleton-B_BPRPJy.js} +1 -1
- package/chunks/{spinner-DMR5G-6u.js → spinner-LdHPVms_.js} +1 -1
- package/chunks/{table-RARvkGKL.js → table-zT6eQ3ZZ.js} +2 -2
- package/chunks/{tabs-BFFTnO4i.js → tabs-Co09VWvC.js} +1 -1
- package/chunks/{tag-mzNjP8EX.js → tag-BIcqtf7b.js} +2 -2
- package/chunks/text-DwmZ-ew8.js +28 -0
- package/chunks/{textfield-BNdiOwXq.js → textfield-CXqzzOtw.js} +5 -5
- package/chunks/{time-field-CZxI9Bs6.js → time-field-CmjGBQph.js} +6 -6
- package/chunks/{toast-Cz0JDIr1.js → toast-gJgjitZF.js} +3 -3
- package/chunks/{toggle-button-BgUQKcK-.js → toggle-button-CIvsOXQf.js} +1 -1
- package/chunks/{tooltip-D7LYQwj0.js → tooltip-BkesIUIF.js} +1 -1
- package/clear-button/index.js +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +1 -1
- package/combobox/ComboBox.stories.d.ts +3 -2
- package/combobox/index.js +1 -1
- package/common/FeedbackStatusIcon.d.ts +1 -1
- package/date-field/index.js +1 -1
- package/date-picker/DatePickerInputField.d.ts +1 -1
- package/date-picker/index.js +1 -1
- package/drop-zone/index.js +1 -1
- package/field-error/index.js +1 -1
- package/file-list/FileList.d.ts +1 -1
- package/file-list/FileList.stories.d.ts +3 -3
- package/file-list/FileListItem.d.ts +1 -1
- package/file-list/index.js +1 -1
- package/file-trigger/FileTrigger.d.ts +1 -1
- package/grid/index.js +1 -1
- package/heading/index.js +1 -1
- package/index.js +49 -49
- package/info-banner/index.js +1 -1
- package/label/InfoPopover.d.ts +1 -1
- package/label/index.js +1 -1
- package/layout/components/SidebarLink.d.ts +1 -1
- package/layout/index.js +1 -1
- package/link/Link.d.ts +1 -1
- package/link/index.js +1 -1
- package/link-button/LinkButton.d.ts +1 -1
- package/link-button/index.js +1 -1
- package/list-box/ListBox.d.ts +1 -1
- package/list-box/ListBox.stories.d.ts +4 -4
- package/list-box/ListBoxHeader.d.ts +1 -1
- package/list-box/ListBoxItem.d.ts +1 -1
- package/list-box/ListBoxSection.d.ts +1 -1
- package/list-box/index.js +1 -1
- package/list-box/list-box-empty-state/ListBoxEmptyState.d.ts +1 -1
- package/logo/Logo.d.ts +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +1 -1
- package/menu/Menu.stories.d.ts +5 -4
- package/menu/MenuItem.d.ts +1 -1
- package/menu/MenuPopover.d.ts +1 -1
- package/menu/MenuSection.d.ts +1 -1
- package/menu/Separator.d.ts +1 -1
- package/menu/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +6 -6
- package/popover/index.js +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +1 -1
- package/radio/Radio.stories.d.ts +6 -6
- package/radio/RadioButton.d.ts +1 -1
- package/radio/RadioField.d.ts +1 -1
- package/radio/RadioGroup.stories.d.ts +1 -1
- package/radio/index.js +1 -1
- package/search-field/SearchField.d.ts +1 -1
- package/search-field/SearchField.stories.d.ts +1 -1
- package/search-field/index.js +1 -1
- package/select/MultiSelectValue.d.ts +2 -1
- package/select/Select.d.ts +1 -1
- package/select/Select.stories.d.ts +2 -2
- package/select/SelectAll.d.ts +2 -1
- package/select/SelectTags.d.ts +1 -1
- package/select/SelectTrigger.d.ts +1 -1
- package/select/index.js +1 -1
- package/skeleton/Skeleton.Form.stories.d.ts +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +6 -6
- package/table/Table.stories.d.ts +7 -7
- package/table/index.js +1 -1
- package/tabs/TabList.d.ts +2 -1
- package/tabs/Tabs.stories.d.ts +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +1 -1
- package/tag/index.js +1 -1
- package/tag/tag-list/TagList.d.ts +1 -1
- package/text/index.js +1 -1
- package/textfield/PasswordToggle.d.ts +1 -1
- package/textfield/TextArea.stories.d.ts +4 -4
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/Toast.d.ts +3 -3
- package/toast/index.js +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/Tooltip.d.ts +3 -2
- package/tooltip/Tooltip.stories.d.ts +1 -1
- package/tooltip/index.js +1 -1
- package/chunks/heading-bnDePIbv.js +0 -28
- package/chunks/text-EUdAWwZz.js +0 -23
package/index.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
4
|
-
import { t as n } from "./chunks/clsx-
|
|
5
|
-
import { t as r } from "./chunks/spinner-
|
|
6
|
-
import {
|
|
7
|
-
import { n as l,
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as b, t as x } from "./chunks/
|
|
12
|
-
import { i as S, n as C, r as w, t as T } from "./chunks/checkbox-
|
|
13
|
-
import { n as E, t as D } from "./chunks/color-scheme-switch-
|
|
14
|
-
import { t as O } from "./chunks/search-field-
|
|
15
|
-
import { n as k, t as A } from "./chunks/file-list-
|
|
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-
|
|
18
|
-
import { t as P } from "./chunks/heading-
|
|
19
|
-
import { n as F, t as I } from "./chunks/badge-
|
|
20
|
-
import { n as L, t as R } from "./chunks/breadcrumbs-
|
|
21
|
-
import { t as z } from "./chunks/label-
|
|
22
|
-
import { t as B } from "./chunks/popover-
|
|
23
|
-
import { n as V, r as H, t as U } from "./chunks/modal-C-
|
|
24
|
-
import { t as W } from "./chunks/text-
|
|
25
|
-
import { t as G } from "./chunks/field-error-
|
|
26
|
-
import { n as K, t as q } from "./chunks/select-
|
|
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-
|
|
28
|
-
import { n as ne, r as re, t as ie } from "./chunks/tag-
|
|
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-
|
|
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
30
|
import { t as me } from "./chunks/character-counter-CSoVSrxZ.js";
|
|
31
31
|
import { t as he } from "./chunks/icons-UBHIX2oV.js";
|
|
32
|
-
import { n as ge, t as _e } from "./chunks/toggle-button-
|
|
33
|
-
import { a as ve, i as ye, n as be, o as xe, r as Se, t as Ce } from "./chunks/menu-
|
|
34
|
-
import { t as we } from "./chunks/combobox-
|
|
35
|
-
import { i as Te, n as Ee, r as De, t as Oe } from "./chunks/date-field-
|
|
36
|
-
import { t as ke } from "./chunks/drop-zone-
|
|
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
37
|
import { t as Ae } from "./chunks/file-trigger-Dp5nH8oS.js";
|
|
38
|
-
import { n as je, t as Me } from "./chunks/grid-
|
|
39
|
-
import { t as Ne } from "./chunks/info-banner-
|
|
40
|
-
import { n as Pe, t as Fe } from "./chunks/tooltip-
|
|
41
|
-
import { n as Ie, t as Le } from "./chunks/logo-
|
|
42
|
-
import { t as Re } from "./chunks/progress-bar-
|
|
43
|
-
import { i as ze, n as Be, r as Ve, t as He } from "./chunks/radio-
|
|
44
|
-
import { t as Ue } from "./chunks/skeleton-
|
|
45
|
-
import { i as We, n as Ge, r as Ke, t as qe } from "./chunks/tabs-
|
|
46
|
-
import { i as Je, n as Ye, r as Xe, t as Ze } from "./chunks/textfield-
|
|
47
|
-
import { t as Qe } from "./chunks/time-field-
|
|
48
|
-
import { a as $e, i as et, n as tt, o as nt, r as rt, t as it } from "./chunks/toast-
|
|
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
51
|
var at = {
|
|
@@ -60,7 +60,7 @@ var at = {
|
|
|
60
60
|
description: "Midas Components",
|
|
61
61
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
62
62
|
license: "CC0-1.0",
|
|
63
|
-
version: "17.27.
|
|
63
|
+
version: "17.27.1",
|
|
64
64
|
module: "./index.js",
|
|
65
65
|
type: "module",
|
|
66
66
|
main: "./index.js",
|
|
@@ -84,12 +84,12 @@ var at = {
|
|
|
84
84
|
},
|
|
85
85
|
dependencies: {
|
|
86
86
|
"@internationalized/string": "^3.2.10",
|
|
87
|
-
"@midas-ds/theme": "3.17.
|
|
88
|
-
"@react-stately/utils": "
|
|
89
|
-
"react-aria-components": "1.
|
|
90
|
-
"react-aria": "
|
|
91
|
-
"react-stately": "
|
|
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,
|
|
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 };
|
package/info-banner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/info-banner-
|
|
1
|
+
import { t as e } from "../chunks/info-banner-osR4e6nB.js";
|
|
2
2
|
export { e as InfoBanner };
|
package/label/InfoPopover.d.ts
CHANGED
|
@@ -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(
|
|
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-
|
|
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(
|
|
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-
|
|
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(
|
|
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-
|
|
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>) =>
|
|
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 };
|
package/link-button/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/link-button-
|
|
1
|
+
import { n as e, t } from "../chunks/link-button-BuPMEGUj.js";
|
|
2
2
|
export { t as LinkButton, e as RouterProvider };
|
package/list-box/ListBox.d.ts
CHANGED
|
@@ -8,4 +8,4 @@ export interface ListBoxProps<T extends object> extends AriaListBoxProps<T> {
|
|
|
8
8
|
*/
|
|
9
9
|
size?: 'small';
|
|
10
10
|
}
|
|
11
|
-
export declare const ListBox: <T extends object>({ className, children, virtualized, size, ...rest }: ListBoxProps<T>) => import(
|
|
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 '
|
|
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, size, ...rest }: import('./ListBox').ListBoxProps<T>) => import(
|
|
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(
|
|
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(
|
|
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) =>
|
|
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(
|
|
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(
|
|
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-
|
|
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(
|
|
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) =>
|
|
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-
|
|
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(
|
|
10
|
+
export declare const Menu: <T extends object>({ className, size, ...rest }: MenuProps<T>) => import('react').JSX.Element;
|
package/menu/Menu.stories.d.ts
CHANGED
|
@@ -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>) =>
|
|
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>) =>
|
|
15
|
+
MenuItem: <T extends object>(props: import('./MenuItem').MenuItemProps<T>) => React.JSX.Element;
|
|
15
16
|
};
|
|
16
|
-
render: (args: import('./Menu').MenuProps<object>) =>
|
|
17
|
+
render: (args: import('./Menu').MenuProps<object>) => React.JSX.Element;
|
|
17
18
|
args: {
|
|
18
|
-
children: (item: object) =>
|
|
19
|
+
children: (item: object) => React.JSX.Element;
|
|
19
20
|
items: {
|
|
20
21
|
id: number;
|
|
21
22
|
name: string;
|
package/menu/MenuItem.d.ts
CHANGED
|
@@ -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(
|
|
3
|
+
export declare const MenuItem: <T extends object>(props: MenuItemProps<T>) => import('react').JSX.Element;
|
package/menu/MenuPopover.d.ts
CHANGED
|
@@ -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(
|
|
3
|
+
export declare const MenuPopover: ({ className, ...rest }: PopoverProps) => import('react').JSX.Element;
|
package/menu/MenuSection.d.ts
CHANGED
|
@@ -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(
|
|
3
|
+
export declare const MenuSection: <T extends object>({ className, ...rest }: MenuSectionProps<T>) => import('react').JSX.Element;
|
package/menu/Separator.d.ts
CHANGED
|
@@ -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(
|
|
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-
|
|
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-
|
|
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.27.
|
|
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.
|
|
46
|
-
"@react-stately/utils": "
|
|
47
|
-
"react-aria-components": "1.
|
|
48
|
-
"react-aria": "
|
|
49
|
-
"react-stately": "
|
|
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-
|
|
1
|
+
import { t as e } from "../chunks/popover-DGcogqbS.js";
|
|
2
2
|
export { e as Popover };
|
package/progress-bar/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/progress-bar-
|
|
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(
|
|
3
|
+
export declare const Radio: ({ children, className, ...rest }: RadioProps) => import('react').JSX.Element;
|
package/radio/Radio.stories.d.ts
CHANGED
|
@@ -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(
|
|
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('
|
|
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('
|
|
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('
|
|
25
|
-
onKeyUp?: ((e: import('
|
|
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(
|
|
105
|
+
}>) => import('react').JSX.Element;
|
|
106
106
|
tags: string[];
|
|
107
107
|
};
|
|
108
108
|
export default _default;
|
package/radio/RadioButton.d.ts
CHANGED
|
@@ -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(
|
|
3
|
+
export declare const RadioButton: ({ className, ...rest }: RadioButtonProps) => import('react').JSX.Element;
|
package/radio/RadioField.d.ts
CHANGED
|
@@ -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(
|
|
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(
|
|
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-
|
|
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(
|
|
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(
|
|
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: {
|
package/search-field/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/search-field-
|
|
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>) =>
|
|
4
|
+
export declare const MultiSelectValue: <T extends object, M extends SelectionMode = "single">({ isDisabled, }: MultiSelectValueProps<T, M>) => React.JSX.Element;
|
|
4
5
|
export {};
|
package/select/Select.d.ts
CHANGED
|
@@ -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>):
|
|
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 '
|
|
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(
|
|
16
|
+
}) => import('react').JSX.Element;
|
|
17
17
|
description: string;
|
|
18
18
|
isDisabled: false;
|
|
19
19
|
isSelectableAll: false;
|
package/select/SelectAll.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const SelectAll: () => React.JSX.Element;
|
package/select/SelectTags.d.ts
CHANGED
|
@@ -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(
|
|
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 {};
|
|
@@ -10,5 +10,5 @@ export type SelectSize = Size | 'small';
|
|
|
10
10
|
interface SelectTriggerProps<T extends object, M extends SelectionMode = 'single'> extends Pick<MidasSelectProps<T, M>, 'isDisabled' | 'selectionMode'> {
|
|
11
11
|
size: SelectSize;
|
|
12
12
|
}
|
|
13
|
-
export declare const SelectTrigger: <T extends object, M extends SelectionMode = "single">({ isDisabled, selectionMode, size, }: SelectTriggerProps<T, M>) => import(
|
|
13
|
+
export declare const SelectTrigger: <T extends object, M extends SelectionMode = "single">({ isDisabled, selectionMode, size, }: SelectTriggerProps<T, M>) => import('react').JSX.Element;
|
|
14
14
|
export {};
|
package/select/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/select-
|
|
1
|
+
import { n as e, t } from "../chunks/select-KQzDIamx.js";
|
|
2
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(
|
|
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-
|
|
1
|
+
import { t as e } from "../chunks/skeleton-B_BPRPJy.js";
|
|
2
2
|
export { e as Skeleton };
|
package/spinner/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/spinner-
|
|
1
|
+
import { t as e } from "../chunks/spinner-LdHPVms_.js";
|
|
2
2
|
export { e as Spinner };
|
package/table/Table.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export interface TableProps extends AriaTableProps {
|
|
|
10
10
|
*/
|
|
11
11
|
striped?: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const Table: ({ size, striped, className, ...rest }: TableProps) => import(
|
|
14
|
-
export declare const TableHeader: <T extends object>({ columns, children, className, }: TableHeaderProps<T>) => import(
|
|
15
|
-
export declare const Row: <T extends object>({ id, columns, children, className, ...rest }: RowProps<T>) => import(
|
|
16
|
-
export declare const Column: ({ children, className, ...rest }: ColumnProps) => import(
|
|
17
|
-
export declare const Cell: ({ className, ...rest }: CellProps) => import(
|
|
18
|
-
export declare const TableBody: <T extends object>({ className, ...rest }: TableBodyProps<T>) => import(
|
|
13
|
+
export declare const Table: ({ size, striped, className, ...rest }: TableProps) => import('react').JSX.Element;
|
|
14
|
+
export declare const TableHeader: <T extends object>({ columns, children, className, }: TableHeaderProps<T>) => import('react').JSX.Element;
|
|
15
|
+
export declare const Row: <T extends object>({ id, columns, children, className, ...rest }: RowProps<T>) => import('react').JSX.Element;
|
|
16
|
+
export declare const Column: ({ children, className, ...rest }: ColumnProps) => import('react').JSX.Element;
|
|
17
|
+
export declare const Cell: ({ className, ...rest }: CellProps) => import('react').JSX.Element;
|
|
18
|
+
export declare const TableBody: <T extends object>({ className, ...rest }: TableBodyProps<T>) => import('react').JSX.Element;
|