@midas-ds/components 17.29.0 → 17.30.0
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 +10 -0
- package/accordion/index.js +1 -1
- package/button/Button.stories.d.ts +1 -1
- package/button/index.js +1 -1
- package/calendar/index.js +1 -1
- package/card/index.js +1 -1
- package/checkbox/index.js +1 -1
- package/chunks/FeedbackStatusIcon-DvMDGBGL.js +36 -0
- package/chunks/{accordion-DIVTJU3O.js → accordion-BzmYSOS3.js} +23 -23
- package/chunks/{button-CenXTGXL.js → button-C-WkFek9.js} +1 -1
- package/chunks/calendar-Bt1FLxqr.js +107 -0
- package/chunks/card-CdH2UMUW.js +103 -0
- package/chunks/checkbox-DiFQy3MS.js +106 -0
- package/chunks/clear-button-Bv0YGBNG.js +17 -0
- package/chunks/color-scheme-switch-0axiBsna.js +160 -0
- package/chunks/{combobox-DIou4Z-d.js → combobox-DkZbA3o4.js} +24 -24
- package/chunks/{date-field-BF2f9bSf.js → date-field-CPpWZqws.js} +2 -2
- package/chunks/date-picker-DQ7vCG5-.js +142 -0
- package/chunks/file-list-D8Zc1aYS.js +139 -0
- package/chunks/{info-banner-osR4e6nB.js → info-banner-BVKtmVKN.js} +14 -14
- package/chunks/label-Dw5p84T2.js +50 -0
- package/chunks/layout-CUAjEEuH.js +378 -0
- package/chunks/link-DHu1cTmz.js +44 -0
- package/chunks/link-button-DYg_0p4Y.js +44 -0
- package/chunks/{list-box-BN_MSiOD.js → list-box-DmEoMvX1.js} +1 -1
- package/chunks/menu-CP0Xvmx0.js +48 -0
- package/chunks/modal-B_uSoXZM.js +66 -0
- package/chunks/{progress-bar-CknF4qAm.js → progress-bar-BfFxpqUv.js} +1 -1
- package/chunks/{radio-BD1EuxSa.js → radio-_z6ObjYx.js} +1 -1
- package/chunks/search-field-Cp_HHDl4.js +91 -0
- package/chunks/select-Wy6NakdH.js +176 -0
- package/chunks/spinner-COGZlDJB.js +29 -0
- package/chunks/table-O_Y45Sb7.js +84 -0
- package/chunks/tag-RjuYlFZI.js +78 -0
- package/chunks/{textfield-BSvCsAyC.js → textfield-Bu0Hg2pJ.js} +2 -2
- package/chunks/{time-field-CmjGBQph.js → time-field-Cnp-dYhm.js} +3 -3
- package/chunks/{toast-gJgjitZF.js → toast-Dg3fVjSS.js} +20 -20
- package/clear-button/index.js +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.js +1 -1
- package/date-picker/index.js +1 -1
- package/file-list/index.js +1 -1
- package/index.js +49 -48
- package/info-banner/index.js +1 -1
- package/label/index.js +1 -1
- package/layout/index.js +1 -1
- package/link/index.js +1 -1
- package/link-button/index.js +1 -1
- package/list-box/index.js +1 -1
- package/menu/index.js +1 -1
- package/modal/index.js +1 -1
- package/package.json +3 -2
- package/progress-bar/index.js +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.js +1 -1
- package/select/index.js +1 -1
- package/spinner/index.js +1 -1
- package/table/index.js +1 -1
- package/tag/index.js +1 -1
- package/textfield/index.js +1 -1
- package/time-field/index.js +1 -1
- package/toast/index.js +1 -1
- package/chunks/FeedbackStatusIcon-DRI7WrSU.js +0 -54
- package/chunks/arrow-right-Db_H9KjE.js +0 -10
- package/chunks/calendar-Bl_obez5.js +0 -111
- package/chunks/card-zIYA-SQh.js +0 -103
- package/chunks/check-DV00NPU0.js +0 -7
- package/chunks/checkbox-Bqd8B58G.js +0 -110
- package/chunks/chevron-down-CP7nEDei.js +0 -7
- package/chunks/chevron-right-DwqboCdU.js +0 -7
- package/chunks/clear-button-D3I1X3yG.js +0 -17
- package/chunks/color-scheme-switch-DVZjdwc9.js +0 -203
- package/chunks/createLucideIcon-BgluSHFG.js +0 -39
- package/chunks/date-picker-DZivTUB_.js +0 -187
- package/chunks/file-list-B4vG_egr.js +0 -161
- package/chunks/info-jCyacVsy.js +0 -19
- package/chunks/label-LWlgvAwz.js +0 -50
- package/chunks/layout-Db5um0f7.js +0 -426
- package/chunks/link-BAgs4RwY.js +0 -59
- package/chunks/link-button-BuPMEGUj.js +0 -52
- package/chunks/menu-aT2IR0tO.js +0 -49
- package/chunks/modal-C-UsxdO0.js +0 -66
- package/chunks/search-field-GNTRFpzf.js +0 -100
- package/chunks/select-oLCNpryY.js +0 -177
- package/chunks/spinner-LdHPVms_.js +0 -32
- package/chunks/square-arrow-out-up-right-DkgXD7hj.js +0 -17
- package/chunks/table-CmNWoAYO.js +0 -150
- package/chunks/tag-BIcqtf7b.js +0 -78
- package/chunks/x-BJAOO5a5.js +0 -10
package/index.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
"use client";
|
|
3
|
-
import { n as e, t } from "./chunks/accordion-
|
|
3
|
+
import { n as e, t } from "./chunks/accordion-BzmYSOS3.js";
|
|
4
4
|
import { t as n } from "./chunks/clsx-Di52oYUU.js";
|
|
5
|
-
import { t as r } from "./chunks/spinner-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import { n as
|
|
18
|
-
import { t as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import {
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { n as
|
|
27
|
-
import {
|
|
28
|
-
import { n as
|
|
29
|
-
import {
|
|
30
|
-
import { t as
|
|
31
|
-
import { t as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { n as
|
|
40
|
-
import { t as
|
|
41
|
-
import { n as
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as We } from "./chunks/
|
|
5
|
+
import { t as r } from "./chunks/spinner-COGZlDJB.js";
|
|
6
|
+
import { t as i } from "./chunks/useLocalizedStringFormatter-CeyBc0x0.js";
|
|
7
|
+
import { n as a, t as o } from "./chunks/button-C-WkFek9.js";
|
|
8
|
+
import { t as s } from "./chunks/heading-BEl_z-5T.js";
|
|
9
|
+
import { n as c, t as l } from "./chunks/badge-BfK6XrlL.js";
|
|
10
|
+
import { n as u, t as d } from "./chunks/breadcrumbs-DV0ZJc62.js";
|
|
11
|
+
import { n as f, t as p } from "./chunks/calendar-Bt1FLxqr.js";
|
|
12
|
+
import { t as m } from "./chunks/label-Dw5p84T2.js";
|
|
13
|
+
import { t as h } from "./chunks/popover-DGcogqbS.js";
|
|
14
|
+
import { n as g, r as _, t as v } from "./chunks/modal-B_uSoXZM.js";
|
|
15
|
+
import { t as y } from "./chunks/text-DwmZ-ew8.js";
|
|
16
|
+
import { t as b } from "./chunks/field-error-LtNtEKDp.js";
|
|
17
|
+
import { i as x, n as S, r as C, t as w } from "./chunks/checkbox-DiFQy3MS.js";
|
|
18
|
+
import { n as T, t as E } from "./chunks/select-Wy6NakdH.js";
|
|
19
|
+
import { a as D, c as O, i as k, n as A, o as j, r as M, s as N, t as P } from "./chunks/list-box-DmEoMvX1.js";
|
|
20
|
+
import { n as F, r as I, t as L } from "./chunks/tag-RjuYlFZI.js";
|
|
21
|
+
import { a as R, c as z, i as B, l as V, n as H, o as U, r as W, s as G, t as K } from "./chunks/card-CdH2UMUW.js";
|
|
22
|
+
import { t as q } from "./chunks/character-counter-CSoVSrxZ.js";
|
|
23
|
+
import { t as J } from "./chunks/icons-UBHIX2oV.js";
|
|
24
|
+
import { n as Y, t as X } from "./chunks/toggle-button-CIvsOXQf.js";
|
|
25
|
+
import { n as Z, t as Q } from "./chunks/color-scheme-switch-0axiBsna.js";
|
|
26
|
+
import { a as $, i as ee, n as te, o as ne, r as re, t as ie } from "./chunks/menu-CP0Xvmx0.js";
|
|
27
|
+
import { t as ae } from "./chunks/combobox-DkZbA3o4.js";
|
|
28
|
+
import { i as oe, n as se, r as ce, t as le } from "./chunks/date-field-CPpWZqws.js";
|
|
29
|
+
import { n as ue, t as de } from "./chunks/date-picker-DQ7vCG5-.js";
|
|
30
|
+
import { t as fe } from "./chunks/drop-zone-DH3ZyHsr.js";
|
|
31
|
+
import { n as pe, t as me } from "./chunks/file-list-D8Zc1aYS.js";
|
|
32
|
+
import { t as he } from "./chunks/progress-bar-BfFxpqUv.js";
|
|
33
|
+
import { t as ge } from "./chunks/file-trigger-Dp5nH8oS.js";
|
|
34
|
+
import { n as _e, t as ve } from "./chunks/grid-Cn_8RSvj.js";
|
|
35
|
+
import { t as ye } from "./chunks/info-banner-BVKtmVKN.js";
|
|
36
|
+
import { a as be, i as xe, n as Se, r as Ce, t as we } from "./chunks/layout-CUAjEEuH.js";
|
|
37
|
+
import { n as Te, t as Ee } from "./chunks/tooltip-BkesIUIF.js";
|
|
38
|
+
import { n as De, t as Oe } from "./chunks/logo-DyZ2pXt7.js";
|
|
39
|
+
import { n as ke, t as Ae } from "./chunks/link-DHu1cTmz.js";
|
|
40
|
+
import { t as je } from "./chunks/link-button-DYg_0p4Y.js";
|
|
41
|
+
import { i as Me, n as Ne, r as Pe, t as Fe } from "./chunks/radio-_z6ObjYx.js";
|
|
42
|
+
import { t as Ie } from "./chunks/search-field-Cp_HHDl4.js";
|
|
43
|
+
import { t as Le } from "./chunks/skeleton-B_BPRPJy.js";
|
|
44
|
+
import { t as Re } from "./chunks/stack-LF3ExhH9.js";
|
|
45
|
+
import { a as ze, i as Be, n as Ve, o as He, r as Ue, t as We } from "./chunks/table-O_Y45Sb7.js";
|
|
46
46
|
import { i as Ge, n as Ke, r as qe, t as Je } from "./chunks/tabs-Co09VWvC.js";
|
|
47
|
-
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-
|
|
48
|
-
import { t as $e } from "./chunks/time-field-
|
|
49
|
-
import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-
|
|
47
|
+
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./chunks/textfield-Bu0Hg2pJ.js";
|
|
48
|
+
import { t as $e } from "./chunks/time-field-Cnp-dYhm.js";
|
|
49
|
+
import { a as et, i as tt, n as nt, o as rt, r as it, t as at } from "./chunks/toast-Dg3fVjSS.js";
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/version.ts
|
|
52
52
|
var ot = {
|
|
@@ -61,7 +61,7 @@ var ot = {
|
|
|
61
61
|
description: "Midas Components",
|
|
62
62
|
homepage: "https://designsystem.migrationsverket.se/",
|
|
63
63
|
license: "CC0-1.0",
|
|
64
|
-
version: "17.
|
|
64
|
+
version: "17.30.0",
|
|
65
65
|
module: "./index.js",
|
|
66
66
|
type: "module",
|
|
67
67
|
main: "./index.js",
|
|
@@ -85,12 +85,13 @@ var ot = {
|
|
|
85
85
|
},
|
|
86
86
|
dependencies: {
|
|
87
87
|
"@internationalized/string": "^3.2.10",
|
|
88
|
-
"@midas-ds/theme": "3.17.
|
|
88
|
+
"@midas-ds/theme": "3.17.7",
|
|
89
89
|
"@react-stately/utils": "3.12.1",
|
|
90
|
+
"lucide-react": ">=0.563.0 <2.0.0",
|
|
90
91
|
"react-aria-components": "1.21.1",
|
|
91
92
|
"react-aria": "3.52.1",
|
|
92
93
|
"react-stately": "3.50.0"
|
|
93
94
|
}
|
|
94
95
|
}.version;
|
|
95
96
|
//#endregion
|
|
96
|
-
export { e as Accordion, t as AccordionItem,
|
|
97
|
+
export { e as Accordion, t as AccordionItem, c as Badge, l as BadgeContainer, d as Breadcrumb, u as Breadcrumbs, a as Button, o as ButtonGroup, f as Calendar, W as Card, B as CardActionArea, R as CardActions, H as CardBody, U as CardContent, K as CardHeader, G as CardImage, z as CardLink, V as CardTitle, We as Cell, q as CharacterCounter, S as Checkbox, C as CheckboxButton, x as CheckboxField, w as CheckboxGroup, Z as ColorSchemeSwitch, Q as ColorSchemeSwitchMenu, Ve as Column, ae as ComboBox, J as ContrastFilled, oe as DateField, se as DateInput, le as DateInputDivider, ue as DatePicker, de as DateRangePicker, ce as DateSegment, v as DialogTrigger, fe as DropZone, b as FieldError, pe as FileList, me as FileListItem, ge as FileTrigger, at as GlobalToastRegion, _e as Grid, ve as GridItem, Ce as Header, s as Heading, ye as InfoBanner, Ze as Input, m as Label, we as Layout, Ae as Link, je as LinkButton, O as ListBox, N as ListBoxButton, P as ListBoxEmptyState, A as ListBoxHeader, j as ListBoxItem, M as ListBoxLoadMoreItem, D as ListBoxPopover, k as ListBoxSection, Oe as Logo, De as LogoContext, $ as Menu, ee as MenuItem, re as MenuPopover, te as MenuSection, ne as MenuTrigger, g as Modal, _ as ModalOverlay, Se as Navbar, h as Popover, he as ProgressBar, Ne as Radio, Pe as RadioButton, Me as RadioField, Fe as RadioGroup, p as RangeCalendar, ke as RouterProvider, Ue as Row, Ie as SearchField, E as Select, T as SelectTrigger, ie as Separator, xe as Sidebar, be as SidebarLink, Le as Skeleton, r as Spinner, Re as Stack, qe as Tab, Je as TabList, Ke as TabPanel, Be as Table, ze as TableBody, He as TableHeader, Ge as Tabs, I as Tag, L as TagGroup, F as TagList, y as Text, Qe as TextArea, Xe as TextField, Ye as TextFieldBase, $e as TimeField, nt as Toast, it as ToastProvider, tt as ToastRegion, Y as ToggleButton, X as ToggleButtonGroup, Ee as Tooltip, Te as TooltipTrigger, ot as VERSION, n as clsx, et as toastQueue, i as useLocalizedStringFormatter, rt as useToastState };
|
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-BVKtmVKN.js";
|
|
2
2
|
export { e as InfoBanner };
|
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-Dw5p84T2.js";
|
|
2
2
|
export { e as Label };
|
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-CUAjEEuH.js";
|
|
2
2
|
export { r as Header, i as Layout, n as Navbar, t as Sidebar, e as SidebarLink };
|
package/link/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/link-
|
|
1
|
+
import { n as e, t } from "../chunks/link-DHu1cTmz.js";
|
|
2
2
|
export { t as Link, e as 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-DYg_0p4Y.js";
|
|
2
2
|
export { t as LinkButton, e as RouterProvider };
|
package/list-box/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../chunks/list-box-
|
|
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-DmEoMvX1.js";
|
|
2
2
|
export { t as ListBox, o as ListBoxButton, s as ListBoxEmptyState, r as ListBoxHeader, i as ListBoxItem, a as ListBoxLoadMoreItem, e as ListBoxPopover, n as ListBoxSection };
|
package/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-CP0Xvmx0.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-
|
|
1
|
+
import { n as e, r as t, t as n } from "../chunks/modal-B_uSoXZM.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.
|
|
17
|
+
"version": "17.30.0",
|
|
18
18
|
"module": "./index.js",
|
|
19
19
|
"type": "module",
|
|
20
20
|
"main": "./index.js",
|
|
@@ -42,8 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@internationalized/string": "^3.2.10",
|
|
45
|
-
"@midas-ds/theme": "3.17.
|
|
45
|
+
"@midas-ds/theme": "3.17.7",
|
|
46
46
|
"@react-stately/utils": "3.12.1",
|
|
47
|
+
"lucide-react": ">=0.563.0 <2.0.0",
|
|
47
48
|
"react-aria-components": "1.21.1",
|
|
48
49
|
"react-aria": "3.52.1",
|
|
49
50
|
"react-stately": "3.50.0"
|
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-BfFxpqUv.js";
|
|
2
2
|
export { e as ProgressBar };
|
package/radio/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/radio-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/radio-_z6ObjYx.js";
|
|
2
2
|
export { t as Radio, n as RadioButton, e as RadioField, r as RadioGroup };
|
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-Cp_HHDl4.js";
|
|
2
2
|
export { e as SearchField };
|
package/select/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/select-
|
|
1
|
+
import { n as e, t } from "../chunks/select-Wy6NakdH.js";
|
|
2
2
|
export { t as Select, e as SelectTrigger };
|
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-COGZlDJB.js";
|
|
2
2
|
export { e as Spinner };
|
package/table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/table-O_Y45Sb7.js";
|
|
2
2
|
export { a as Cell, n as Column, i as Row, t as Table, e as TableBody, r as TableHeader };
|
package/tag/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../chunks/tag-
|
|
1
|
+
import { n as e, r as t, t as n } from "../chunks/tag-RjuYlFZI.js";
|
|
2
2
|
export { t as Tag, n as TagGroup, e as TagList };
|
package/textfield/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../chunks/textfield-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../chunks/textfield-Bu0Hg2pJ.js";
|
|
2
2
|
export { n as Input, r as TextArea, t as TextField, e as TextFieldBase };
|
package/time-field/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/time-field-
|
|
1
|
+
import { t as e } from "../chunks/time-field-Cnp-dYhm.js";
|
|
2
2
|
export { e as TimeField };
|
package/toast/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/toast-Dg3fVjSS.js";
|
|
2
2
|
export { a as GlobalToastRegion, n as Toast, i as ToastProvider, t as ToastRegion, e as toastQueue, r as useToastState };
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-BgluSHFG.js";
|
|
2
|
-
import { t } from "./check-DV00NPU0.js";
|
|
3
|
-
import { t as n } from "./info-jCyacVsy.js";
|
|
4
|
-
import { t as r } from "./useLocalizedStringFormatter-CeyBc0x0.js";
|
|
5
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
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", [
|
|
10
|
-
["path", {
|
|
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",
|
|
12
|
-
key: "wmoenq"
|
|
13
|
-
}],
|
|
14
|
-
["path", {
|
|
15
|
-
d: "M12 9v4",
|
|
16
|
-
key: "juzpu7"
|
|
17
|
-
}],
|
|
18
|
-
["path", {
|
|
19
|
-
d: "M12 17h.01",
|
|
20
|
-
key: "p32p05"
|
|
21
|
-
}]
|
|
22
|
-
]), s = {
|
|
23
|
-
en: {
|
|
24
|
-
ok: "okay",
|
|
25
|
-
information: "information",
|
|
26
|
-
importantInformation: "important information",
|
|
27
|
-
warning: "warning"
|
|
28
|
-
},
|
|
29
|
-
sv: {
|
|
30
|
-
ok: "okej",
|
|
31
|
-
information: "information",
|
|
32
|
-
importantInformation: "viktig information",
|
|
33
|
-
warning: "varning"
|
|
34
|
-
}
|
|
35
|
-
}, c = {
|
|
36
|
-
success: t,
|
|
37
|
-
info: n,
|
|
38
|
-
important: a,
|
|
39
|
-
warning: o
|
|
40
|
-
}, l = {
|
|
41
|
-
success: "ok",
|
|
42
|
-
info: "information",
|
|
43
|
-
important: "importantInformation",
|
|
44
|
-
warning: "warning"
|
|
45
|
-
}, u = ({ status: e, "aria-label": t, size: n = 20, ...a }) => {
|
|
46
|
-
let o = r(s), u = c[e];
|
|
47
|
-
return /* @__PURE__ */ i(u, {
|
|
48
|
-
"aria-label": t || o.format(l[e]),
|
|
49
|
-
size: n,
|
|
50
|
-
...a
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
//#endregion
|
|
54
|
-
export { u as t };
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { n as e, t } from "./clsx-Di52oYUU.js";
|
|
2
|
-
import { t as n } from "./createLucideIcon-BgluSHFG.js";
|
|
3
|
-
import { t as r } from "./chevron-right-DwqboCdU.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-oLCNpryY.js";
|
|
8
|
-
import { a as c, c as l, o as u } from "./list-box-BN_MSiOD.js";
|
|
9
|
-
import * as d from "react";
|
|
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
|
-
import { jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
12
|
-
import '../assets/calendar.css';var S = n("chevron-left", [["path", {
|
|
13
|
-
d: "m15 18-6-6 6-6",
|
|
14
|
-
key: "1wnfg3"
|
|
15
|
-
}]]), C = {
|
|
16
|
-
container: "_container_mn6zv_1",
|
|
17
|
-
calendar: "_calendar_mn6zv_6",
|
|
18
|
-
day: "_day_mn6zv_28",
|
|
19
|
-
header: "_header_mn6zv_90",
|
|
20
|
-
pickers: "_pickers_mn6zv_130",
|
|
21
|
-
range: "_range_mn6zv_180"
|
|
22
|
-
}, w = ({ weekdayStyle: e = "short", isReadOnly: n }) => {
|
|
23
|
-
let r = !!d.useContext(v);
|
|
24
|
-
return /* @__PURE__ */ b(m, {
|
|
25
|
-
weekdayStyle: e,
|
|
26
|
-
children: (e) => /* @__PURE__ */ b(p, {
|
|
27
|
-
date: e,
|
|
28
|
-
className: t(C.day, r && C.range),
|
|
29
|
-
"data-readonly": n || void 0
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
}, T = ({ isDisabled: e, isReadOnly: t, items: n, ...r }) => /* @__PURE__ */ x(y, {
|
|
33
|
-
isDisabled: e,
|
|
34
|
-
"data-readonly": t || void 0,
|
|
35
|
-
...r,
|
|
36
|
-
children: [/* @__PURE__ */ b(s, {
|
|
37
|
-
size: "small",
|
|
38
|
-
isDisabled: e
|
|
39
|
-
}), /* @__PURE__ */ b(c, { children: /* @__PURE__ */ b(l, {
|
|
40
|
-
items: n,
|
|
41
|
-
virtualized: !1,
|
|
42
|
-
size: "small",
|
|
43
|
-
children: (e) => /* @__PURE__ */ b(u, {
|
|
44
|
-
id: e.id,
|
|
45
|
-
textValue: e.formatted,
|
|
46
|
-
children: e.formatted
|
|
47
|
-
})
|
|
48
|
-
}) })]
|
|
49
|
-
}), E = ({ isDisabled: e, isReadOnly: t, showMonthYearPicker: n }) => {
|
|
50
|
-
let o = (n) => /* @__PURE__ */ b(T, {
|
|
51
|
-
...n,
|
|
52
|
-
isDisabled: e,
|
|
53
|
-
isReadOnly: t
|
|
54
|
-
});
|
|
55
|
-
return /* @__PURE__ */ x("header", {
|
|
56
|
-
className: C.header,
|
|
57
|
-
children: [
|
|
58
|
-
/* @__PURE__ */ b(i, {
|
|
59
|
-
slot: "previous",
|
|
60
|
-
size: "medium",
|
|
61
|
-
"data-readonly": t || void 0,
|
|
62
|
-
children: /* @__PURE__ */ b(S, { size: 20 })
|
|
63
|
-
}),
|
|
64
|
-
n ? /* @__PURE__ */ x("div", {
|
|
65
|
-
className: C.pickers,
|
|
66
|
-
children: [/* @__PURE__ */ b(h, { children: o }), /* @__PURE__ */ b(g, { children: o })]
|
|
67
|
-
}) : /* @__PURE__ */ b(a, {
|
|
68
|
-
level: 3,
|
|
69
|
-
elementType: "h2",
|
|
70
|
-
"data-disabled": e || void 0
|
|
71
|
-
}),
|
|
72
|
-
/* @__PURE__ */ b(i, {
|
|
73
|
-
slot: "next",
|
|
74
|
-
size: "medium",
|
|
75
|
-
"data-readonly": t || void 0,
|
|
76
|
-
children: /* @__PURE__ */ b(r, { size: 20 })
|
|
77
|
-
})
|
|
78
|
-
]
|
|
79
|
-
});
|
|
80
|
-
}, D = ({ className: t, errorMessage: n, showMonthYearPicker: r, ...i }) => /* @__PURE__ */ x("div", {
|
|
81
|
-
className: C.container,
|
|
82
|
-
children: [/* @__PURE__ */ x(f, {
|
|
83
|
-
className: e(C.calendar, t),
|
|
84
|
-
"data-readonly": i.isReadOnly || void 0,
|
|
85
|
-
...i,
|
|
86
|
-
children: [/* @__PURE__ */ b(E, {
|
|
87
|
-
...i,
|
|
88
|
-
showMonthYearPicker: r
|
|
89
|
-
}), /* @__PURE__ */ b(w, { ...i })]
|
|
90
|
-
}), /* @__PURE__ */ b(o, {
|
|
91
|
-
isInvalid: i.isInvalid,
|
|
92
|
-
children: n
|
|
93
|
-
})]
|
|
94
|
-
}), O = ({ className: t, errorMessage: n, showMonthYearPicker: r, commitBehavior: i, ...a }) => /* @__PURE__ */ x("div", {
|
|
95
|
-
className: C.container,
|
|
96
|
-
children: [/* @__PURE__ */ x(_, {
|
|
97
|
-
className: e(C.calendar, t),
|
|
98
|
-
"data-readonly": a.isReadOnly || void 0,
|
|
99
|
-
commitBehavior: i ?? (r ? "reset" : void 0),
|
|
100
|
-
...a,
|
|
101
|
-
children: [/* @__PURE__ */ b(E, {
|
|
102
|
-
...a,
|
|
103
|
-
showMonthYearPicker: r
|
|
104
|
-
}), /* @__PURE__ */ b(w, { ...a })]
|
|
105
|
-
}), /* @__PURE__ */ b(o, {
|
|
106
|
-
isInvalid: a.isInvalid,
|
|
107
|
-
children: n
|
|
108
|
-
})]
|
|
109
|
-
});
|
|
110
|
-
//#endregion
|
|
111
|
-
export { D as n, O as t };
|
package/chunks/card-zIYA-SQh.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./clsx-Di52oYUU.js";
|
|
2
|
-
import { t } from "./arrow-right-Db_H9KjE.js";
|
|
3
|
-
import { t as n } from "./heading-BEl_z-5T.js";
|
|
4
|
-
import { t as r } from "./text-DwmZ-ew8.js";
|
|
5
|
-
import * as i from "react";
|
|
6
|
-
import { Button as a, Link as o } from "react-aria-components";
|
|
7
|
-
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
|
-
import '../assets/card.css';var l = {
|
|
9
|
-
card: "_card_yandx_1",
|
|
10
|
-
horizontal: "_horizontal_yandx_26",
|
|
11
|
-
cardLink: "_cardLink_yandx_31",
|
|
12
|
-
cardContent: "_cardContent_yandx_42",
|
|
13
|
-
cardActions: "_cardActions_yandx_61",
|
|
14
|
-
deprecated: "_deprecated_yandx_75",
|
|
15
|
-
cardActionArea: "_cardActionArea_yandx_81",
|
|
16
|
-
cardImage: "_cardImage_yandx_114",
|
|
17
|
-
cardLinkIcon: "_cardLinkIcon_yandx_146"
|
|
18
|
-
}, u = i.createContext({
|
|
19
|
-
horizontal: void 0,
|
|
20
|
-
titleId: void 0
|
|
21
|
-
}), d = i.createContext(void 0), f = ({ horizontal: t, className: n, children: r, ...a }) => {
|
|
22
|
-
let o = `card-title-${i.useId()}`;
|
|
23
|
-
return /* @__PURE__ */ s(u.Provider, {
|
|
24
|
-
value: {
|
|
25
|
-
horizontal: t,
|
|
26
|
-
titleId: o
|
|
27
|
-
},
|
|
28
|
-
children: /* @__PURE__ */ s("div", {
|
|
29
|
-
...a,
|
|
30
|
-
className: e(l.card, t && l.horizontal, n),
|
|
31
|
-
children: r
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
}, p = ({ children: t, ...n }) => {
|
|
35
|
-
let { horizontal: r } = i.useContext(u);
|
|
36
|
-
return /* @__PURE__ */ s(d.Provider, {
|
|
37
|
-
value: {},
|
|
38
|
-
children: /* @__PURE__ */ s("div", {
|
|
39
|
-
...n,
|
|
40
|
-
className: e(l.cardContent, r && l.horizontal),
|
|
41
|
-
children: t
|
|
42
|
-
})
|
|
43
|
-
});
|
|
44
|
-
}, m = ({ elementType: t = "h2", children: r, className: a, ...o }) => {
|
|
45
|
-
let { horizontal: c, titleId: d } = i.useContext(u);
|
|
46
|
-
return /* @__PURE__ */ s(n, {
|
|
47
|
-
level: 3,
|
|
48
|
-
elementType: t,
|
|
49
|
-
className: e(a, l.cardTitle, c && l.horizontal),
|
|
50
|
-
id: d,
|
|
51
|
-
...o,
|
|
52
|
-
children: r
|
|
53
|
-
});
|
|
54
|
-
}, h = ({ children: t, ...n }) => {
|
|
55
|
-
let { horizontal: r } = i.useContext(u), a = !!i.useContext(d);
|
|
56
|
-
return /* @__PURE__ */ s("div", {
|
|
57
|
-
...n,
|
|
58
|
-
className: e(l.cardActions, r && l.horizontal, a && l.deprecated),
|
|
59
|
-
children: t
|
|
60
|
-
});
|
|
61
|
-
}, g = ({ children: t, className: n, ...r }) => {
|
|
62
|
-
let { titleId: o } = i.useContext(u);
|
|
63
|
-
return /* @__PURE__ */ s(a, {
|
|
64
|
-
...r,
|
|
65
|
-
"aria-labelledby": o,
|
|
66
|
-
className: e(l.cardActionArea, n),
|
|
67
|
-
children: t
|
|
68
|
-
});
|
|
69
|
-
}, _ = ({ as: t = "img", className: n, ...r }) => /* @__PURE__ */ s(t, {
|
|
70
|
-
...r,
|
|
71
|
-
"data-card-image": !0,
|
|
72
|
-
className: e(l.cardImage, n)
|
|
73
|
-
}), v = ({ children: n, as: r, ...i }) => /* @__PURE__ */ c(r || o, {
|
|
74
|
-
...i,
|
|
75
|
-
className: e(l.cardLink, i.className),
|
|
76
|
-
children: [n, /* @__PURE__ */ s(t, {
|
|
77
|
-
className: l.cardLinkIcon,
|
|
78
|
-
size: 24
|
|
79
|
-
})]
|
|
80
|
-
}), y = { cardBody: "_cardBody_337uy_1" }, b = ({ className: t, ...n }) => /* @__PURE__ */ s("div", {
|
|
81
|
-
className: e(t, y.cardBody),
|
|
82
|
-
...n
|
|
83
|
-
}), x = {
|
|
84
|
-
cardHeader: "_cardHeader_1625c_1",
|
|
85
|
-
textContainer: "_textContainer_1625c_14",
|
|
86
|
-
subHeading: "_subHeading_1625c_20"
|
|
87
|
-
}, S = ({ children: t, className: n, heading: i, headingLevel: a, subHeading: o, ...l }) => /* @__PURE__ */ c("div", {
|
|
88
|
-
className: e(n, x.cardHeader),
|
|
89
|
-
...l,
|
|
90
|
-
children: [/* @__PURE__ */ c("div", {
|
|
91
|
-
className: x.textContainer,
|
|
92
|
-
children: [/* @__PURE__ */ s(m, {
|
|
93
|
-
elementType: a,
|
|
94
|
-
children: i
|
|
95
|
-
}), o && /* @__PURE__ */ s(r, {
|
|
96
|
-
slot: "description",
|
|
97
|
-
className: x.subHeading,
|
|
98
|
-
children: o
|
|
99
|
-
})]
|
|
100
|
-
}), t]
|
|
101
|
-
});
|
|
102
|
-
//#endregion
|
|
103
|
-
export { h as a, v as c, g as i, m as l, b as n, p as o, f as r, _ as s, S as t };
|