@midas-ds/components 12.1.1 → 13.0.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/AccordionItem-Bq8nUKg4.cjs +1 -0
- package/{AccordionItem-Dd9VLdsb.js → AccordionItem-D2Y0gJZB.js} +108 -108
- package/CHANGELOG.md +42 -0
- package/InfoBanner-C82hcpzj.cjs +1 -0
- package/InfoBanner-Dz_0wVSa.js +83 -0
- package/{Layout-CcXu63hP.js → Layout-B-A-s7B0.js} +39 -39
- package/{Layout-Bxd0-ao3.cjs → Layout-DlE30BHE.cjs} +2 -2
- package/TabList-3fErCDyP.cjs +1 -0
- package/{TabList-C0mZgIzV.js → TabList-CXaxruLg.js} +36 -36
- package/{Table-DzbfeVO7.js → Table-BzJktg2G.js} +1 -1
- package/{Table-BHY1uCZ0.cjs → Table-Dyqa6_rE.cjs} +1 -1
- package/{TextArea-DJCtwrqV.cjs → TextArea-BTmzOUZd.cjs} +1 -1
- package/{TextArea-CDoLq124.js → TextArea-CSNrZCEO.js} +19 -20
- package/{Toast-DZnQTLDr.js → Toast-B74PMVL9.js} +36 -36
- package/{Toast-BN3vRCsH.cjs → Toast-Cs0CEbRr.cjs} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/default.css +1 -0
- package/index.cjs +1 -1
- package/index.js +143 -144
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/package.json +4 -14
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/textfield/TextArea.d.ts +2 -7
- package/textfield/TextField.d.ts +2 -6
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/variables-B3KEYyhW.cjs +1 -0
- package/variables-DzXcMW2k.js +5 -0
- package/AccordionItem-CV9Hrare.cjs +0 -1
- package/InfoBanner-CgmPdsH8.js +0 -83
- package/InfoBanner-Y-f3hKVR.cjs +0 -1
- package/TabList-BMyKYLlY.cjs +0 -1
- package/assets/global.css +0 -1
- package/assets/theme.css +0 -1
- package/assets/variables.css +0 -1
- package/theme/generated-object.d.ts +0 -381
- package/theme/generated-tokens.d.ts +0 -331
- package/theme/index.cjs +0 -1
- package/theme/index.d.ts +0 -267
- package/theme/index.js +0 -3991
- package/theme/tokens.d.ts +0 -290
- package/tokens-B3FfJ-rY.cjs +0 -1
- package/tokens-B9ooUP4g.js +0 -327
package/index.js
CHANGED
|
@@ -1,148 +1,147 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
import { C as
|
|
10
|
-
import { C as
|
|
11
|
-
import { C as
|
|
12
|
-
import { C as
|
|
13
|
-
import {
|
|
14
|
-
import { D as
|
|
15
|
-
import {
|
|
16
|
-
import { D as
|
|
17
|
-
import {
|
|
18
|
-
import { F as
|
|
19
|
-
import {
|
|
20
|
-
import { G as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { L as
|
|
25
|
-
import {
|
|
26
|
-
import { L as
|
|
27
|
-
import { L as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { P as
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { S as
|
|
34
|
-
import { S as
|
|
35
|
-
import { S as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { T as
|
|
40
|
-
import { T as
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import { T as
|
|
44
|
-
import {
|
|
45
|
-
import { L as
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import { $ as
|
|
49
|
-
import { $ as Oa } from "./Dialog-B8swxl24.js";
|
|
1
|
+
import { a as r, b as e, A as s } from "./AccordionItem-D2Y0gJZB.js";
|
|
2
|
+
import { B as p, a as m } from "./BadgeContainer-iNNgJKD9.js";
|
|
3
|
+
import { B as f } from "./Breadcrumbs-C6B4fyk3.js";
|
|
4
|
+
import { B as n } from "./Button-CUMHt7MG.js";
|
|
5
|
+
import { B as T } from "./ButtonGroup-DC8925jD.js";
|
|
6
|
+
import { C as b, R as l } from "./RangeCalendar-Bi9jc61A.js";
|
|
7
|
+
import { C as B, d as c, c as g, a as L, e as S, f as D, b as I } from "./Card-D2UbrhDW.js";
|
|
8
|
+
import { C as G } from "./CharacterCounter-DT7A0wWP.js";
|
|
9
|
+
import { C as k } from "./Checkbox-DTuryJdM.js";
|
|
10
|
+
import { C as F } from "./CheckboxGroup-BmCK0XG9.js";
|
|
11
|
+
import { C as v } from "./ColorSchemeSwitch-CgZfgCG4.js";
|
|
12
|
+
import { C as H, a as w, b as N } from "./ComboBox-Cl6jBB-8.js";
|
|
13
|
+
import { D as E } from "./DateField-D2IqGDL5.js";
|
|
14
|
+
import { a as _, b as $, D as Q } from "./DateInputDivider-LxS0Kw1H.js";
|
|
15
|
+
import { D as j, a as q } from "./DateRangePicker-CNPXbRqx.js";
|
|
16
|
+
import { D as J, a as K } from "./Dropdown-DbeUiGYo.js";
|
|
17
|
+
import { F as V } from "./FieldError-DdvFyIf4.js";
|
|
18
|
+
import { D as X, F as Y } from "./FileUpload-D2gnQKdn.js";
|
|
19
|
+
import { G as ao } from "./Grid-BmX6arAO.js";
|
|
20
|
+
import { G as eo } from "./GridItem-BtO9kCX9.js";
|
|
21
|
+
import { H as to } from "./Heading-BQlmb5Tm.js";
|
|
22
|
+
import { I as mo } from "./InfoBanner-Dz_0wVSa.js";
|
|
23
|
+
import { L as fo } from "./Label-C5TNJ0Ku.js";
|
|
24
|
+
import { H as no, L as To, N as Co, S as bo, a as lo } from "./Layout-B-A-s7B0.js";
|
|
25
|
+
import { L as Bo } from "./Link-lO-Ke97K.js";
|
|
26
|
+
import { L as go } from "./LinkButton-CJyZh3BS.js";
|
|
27
|
+
import { L as So } from "./Logo-DkagDdKQ.js";
|
|
28
|
+
import { M as Io } from "./Dialog-COpVrq8B.js";
|
|
29
|
+
import { P as Go } from "./Popover-CyEVqpJ6.js";
|
|
30
|
+
import { P as ko } from "./ProgressBar-BYb9d2kC.js";
|
|
31
|
+
import { R as Fo, a as Mo } from "./Radio-C98ly9yx.js";
|
|
32
|
+
import { S as ho } from "./SearchField-BevjTbcW.js";
|
|
33
|
+
import { S as wo } from "./Select-BECa8IyZ.js";
|
|
34
|
+
import { S as yo } from "./Skeleton-Iovq135_.js";
|
|
35
|
+
import { S as Oo } from "./Spinner-BZ7i01Kt.js";
|
|
36
|
+
import { b as $o, C as Qo, R as Zo, T as jo, c as qo, a as zo } from "./Table-BzJktg2G.js";
|
|
37
|
+
import { a as Ko, c as Uo, b as Vo, T as Wo } from "./TabList-CXaxruLg.js";
|
|
38
|
+
import { T as Yo, a as oa } from "./Tag-BYUPXbhG.js";
|
|
39
|
+
import { T as ra } from "./Text-CmlsaWMA.js";
|
|
40
|
+
import { I as sa, b as ta, a as pa, T as ma } from "./TextArea-CSNrZCEO.js";
|
|
41
|
+
import { G as fa, b as ia, T as na, a as da, t as Ta, u as Ca } from "./Toast-B74PMVL9.js";
|
|
42
|
+
import { T as la, a as ua } from "./ToggleButtonGroup-CwHPu7w5.js";
|
|
43
|
+
import { T as ca, a as ga } from "./Tooltip-BHAtsp9k.js";
|
|
44
|
+
import { L as Sa, a as Da, b as Ia, c as Ra } from "./ListBoxSection-BBY8-t3_.js";
|
|
45
|
+
import { L as Pa, a as ka } from "./ListBoxLoadMoreItem-CIFJ3liN.js";
|
|
46
|
+
import { M as Fa, a as Ma, b as va, c as ha, S as Ha } from "./Separator-DH-5wu9X.js";
|
|
47
|
+
import { $ as Na } from "./usePress-DMUpU0GU.js";
|
|
48
|
+
import { $ as Ea } from "./Dialog-B8swxl24.js";
|
|
50
49
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
r as ACCORDION_TEST_ID,
|
|
51
|
+
e as Accordion,
|
|
53
52
|
s as AccordionItem,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
53
|
+
p as Badge,
|
|
54
|
+
m as BadgeContainer,
|
|
55
|
+
f as Breadcrumbs,
|
|
56
|
+
n as Button,
|
|
57
|
+
T as ButtonGroup,
|
|
58
|
+
b as Calendar,
|
|
59
|
+
B as Card,
|
|
60
|
+
c as CardActionArea,
|
|
61
|
+
g as CardActions,
|
|
62
|
+
L as CardContent,
|
|
63
|
+
S as CardImage,
|
|
64
|
+
D as CardLink,
|
|
65
|
+
I as CardTitle,
|
|
66
|
+
$o as Cell,
|
|
67
|
+
G as CharacterCounter,
|
|
68
|
+
k as Checkbox,
|
|
69
|
+
F as CheckboxGroup,
|
|
70
|
+
v as ColorSchemeSwitch,
|
|
71
|
+
Qo as Column,
|
|
72
|
+
H as ComboBox,
|
|
73
|
+
w as ComboBoxItem,
|
|
74
|
+
N as ComboBoxSection,
|
|
75
|
+
E as DateField,
|
|
76
|
+
_ as DateInput,
|
|
77
|
+
$ as DateInputDivider,
|
|
78
|
+
j as DatePicker,
|
|
79
|
+
q as DateRangePicker,
|
|
80
|
+
Q as DateSegment,
|
|
81
|
+
Ea as DialogTrigger,
|
|
82
|
+
X as DropZone,
|
|
83
|
+
J as Dropdown,
|
|
84
|
+
K as DropdownItem,
|
|
85
|
+
V as FieldError,
|
|
86
|
+
Y as FileTrigger,
|
|
87
|
+
fa as GlobalToastRegion,
|
|
88
|
+
ao as Grid,
|
|
89
|
+
eo as GridItem,
|
|
90
|
+
no as Header,
|
|
91
|
+
to as Heading,
|
|
92
|
+
mo as InfoBanner,
|
|
94
93
|
sa as Input,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
94
|
+
fo as Label,
|
|
95
|
+
To as Layout,
|
|
96
|
+
Bo as Link,
|
|
97
|
+
go as LinkButton,
|
|
98
|
+
Sa as ListBox,
|
|
99
|
+
Pa as ListBoxButton,
|
|
100
|
+
Da as ListBoxItem,
|
|
101
|
+
ka as ListBoxLoadMoreItem,
|
|
102
|
+
Ia as ListBoxPopover,
|
|
103
|
+
Ra as ListBoxSection,
|
|
104
|
+
So as Logo,
|
|
105
|
+
Fa as Menu,
|
|
106
|
+
Ma as MenuItem,
|
|
107
|
+
va as MenuPopover,
|
|
108
|
+
ha as MenuSection,
|
|
109
|
+
Io as Modal,
|
|
110
|
+
Co as Navbar,
|
|
111
|
+
Go as Popover,
|
|
112
|
+
ko as ProgressBar,
|
|
113
|
+
Fo as Radio,
|
|
114
|
+
Mo as RadioGroup,
|
|
115
|
+
l as RangeCalendar,
|
|
116
|
+
Na as RouterProvider,
|
|
117
|
+
Zo as Row,
|
|
118
|
+
ho as SearchField,
|
|
119
|
+
wo as Select,
|
|
120
|
+
Ha as Separator,
|
|
121
|
+
bo as Sidebar,
|
|
122
|
+
lo as SidebarLink,
|
|
123
|
+
yo as Skeleton,
|
|
124
|
+
Oo as Spinner,
|
|
125
|
+
Ko as Tab,
|
|
126
|
+
Uo as TabList,
|
|
127
|
+
Vo as TabPanel,
|
|
128
|
+
jo as Table,
|
|
129
|
+
qo as TableBody,
|
|
130
|
+
zo as TableHeader,
|
|
131
|
+
Wo as Tabs,
|
|
132
|
+
Yo as Tag,
|
|
133
|
+
oa as TagGroup,
|
|
134
|
+
ra as Text,
|
|
135
|
+
ta as TextArea,
|
|
136
|
+
pa as TextField,
|
|
137
|
+
ma as TextFieldBase,
|
|
138
|
+
ia as Toast,
|
|
139
|
+
na as ToastProvider,
|
|
140
|
+
da as ToastRegion,
|
|
141
|
+
la as ToggleButton,
|
|
142
|
+
ua as ToggleButtonGroup,
|
|
143
|
+
ca as Tooltip,
|
|
144
|
+
ga as TooltipTrigger,
|
|
145
|
+
Ta as toastQueue,
|
|
146
|
+
Ca as useToastState
|
|
148
147
|
};
|
package/info-banner/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-C82hcpzj.cjs");exports.InfoBanner=e.InfoBanner;
|
package/info-banner/index.js
CHANGED
package/layout/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-DlE30BHE.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
|
package/layout/index.js
CHANGED
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
|
+
"version": "13.0.0",
|
|
18
18
|
"main": "./index.cjs",
|
|
19
19
|
"module": "./index.js",
|
|
20
20
|
"types": "./index.d.ts",
|
|
@@ -39,22 +39,12 @@
|
|
|
39
39
|
"import": "./index.js",
|
|
40
40
|
"require": "./index.cjs"
|
|
41
41
|
},
|
|
42
|
-
"./
|
|
43
|
-
"
|
|
44
|
-
"import": "./theme/index.js",
|
|
45
|
-
"require": "./theme/index.cjs"
|
|
46
|
-
},
|
|
47
|
-
"./global.css": {
|
|
48
|
-
"import": "./assets/global.css"
|
|
49
|
-
},
|
|
50
|
-
"./theme.css": {
|
|
51
|
-
"import": "./assets/theme.css"
|
|
52
|
-
},
|
|
53
|
-
"./variables.css": {
|
|
54
|
-
"import": "./assets/variables.css"
|
|
42
|
+
"./default.css": {
|
|
43
|
+
"import": "./assets/default.css"
|
|
55
44
|
}
|
|
56
45
|
},
|
|
57
46
|
"dependencies": {
|
|
47
|
+
"@midas-ds/theme": "3.0.0",
|
|
58
48
|
"react-aria-components": "^1.12.1",
|
|
59
49
|
"react-stately": "^3.39.0"
|
|
60
50
|
}
|
package/table/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-Dyqa6_rE.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.TableBody;exports.TableHeader=e.TableHeader;
|
package/table/index.js
CHANGED
package/tabs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-3fErCDyP.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
|
package/tabs/index.js
CHANGED
package/textfield/TextArea.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TextFieldBaseProps } from './TextFieldBase';
|
|
2
2
|
import { TextAreaProps as AriaTextAreaProps } from 'react-aria-components';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
form?: string;
|
|
7
|
-
rows?: number;
|
|
8
|
-
wrap?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
4
|
+
export type TextAreaProps = Omit<TextFieldBaseProps, 'type' | 'pattern'> & AriaTextAreaProps;
|
|
5
|
+
export declare const TextArea: React.ForwardRefExoticComponent<Omit<TextFieldBaseProps, "type" | "pattern"> & AriaTextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
package/textfield/TextField.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TextFieldBaseProps } from './TextFieldBase';
|
|
2
2
|
import { InputProps } from './Input';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
form?: string;
|
|
7
|
-
list?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export type TextFieldProps = TextFieldBaseProps & InputProps;
|
|
5
|
+
export declare const TextField: React.ForwardRefExoticComponent<TextFieldBaseProps & InputProps & React.RefAttributes<HTMLInputElement>>;
|
package/textfield/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-BTmzOUZd.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/textfield/index.js
CHANGED
package/toast/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-Cs0CEbRr.cjs");exports.GlobalToastRegion=o.GlobalToastRegion;exports.Toast=o.Toast;exports.ToastProvider=o.ToastProvider;exports.ToastRegion=o.ToastRegion;exports.toastQueue=o.toastQueue;exports.useToastState=o.useToastState;
|
package/toast/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const i="480px",r="light-dark(#b90835, #b90835)";exports.brandPrimary=r;exports.windowSizesSm=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/AccordionItem.css');const u=require("react/jsx-runtime"),m=require("./clsx-C11secjj.cjs"),M=require("./icon-map-9XcghDra.cjs"),a=require("react"),D=require("./Button-CMIbSc4-.cjs"),g=require("./utils-CMHKYKlz.cjs"),x=require("./mergeProps-JhcJ7uJL.cjs"),E=require("./filterDOMProps-RRlKPKX0.cjs"),P=require("./useControlledState-D0L6S_5r.cjs"),K=require("react-dom"),j=require("./useEvent-3ZO5TPSH.cjs"),B=require("./SSRProvider-Bc-sMhsT.cjs"),w=require("./useFocusRing-BcbYske2.cjs"),T=require("./Button-D_tRdPW9.cjs"),F=require("./Heading-D3FR_KXb.cjs"),k=require("./chevron-down-5hFlg_lR.cjs"),O="_root_17bdp_1",W="_contained_17bdp_5",h={root:O,contained:W};function V(i,e,n){let{isDisabled:t}=i,d=x.$bdb11010cef70236$export$f680877a34711e37(),s=x.$bdb11010cef70236$export$f680877a34711e37(),l=!B.$b5e257d569688ac6$export$535bd6ca7f90a273()&&"onbeforematch"in document.body,o=a.useRef(null),f=a.useCallback(()=>{o.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),K.flushSync(()=>{e.toggle()})},[n,e]);return j.$e9faafb641e167db$export$90fc3a17d93f704c(n,"beforematch",l?f:null),x.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{o.current&&cancelAnimationFrame(o.current),l&&n.current&&!t&&(e.isExpanded?n.current.removeAttribute("hidden"):n.current.setAttribute("hidden","until-found"))},[t,n,e.isExpanded,l]),a.useEffect(()=>()=>{o.current&&cancelAnimationFrame(o.current)},[]),{buttonProps:{id:d,"aria-expanded":e.isExpanded,"aria-controls":s,onPress:$=>{!t&&$.pointerType!=="keyboard"&&e.toggle()},isDisabled:t,onPressStart($){$.pointerType==="keyboard"&&!t&&e.toggle()}},panelProps:{id:s,role:"group","aria-labelledby":d,"aria-hidden":!e.isExpanded,hidden:l?!0:!e.isExpanded}}}function z(i){let[e,n]=P.$458b0a5536c1a7cf$export$40bfa8c7b0832715(i.isExpanded,i.defaultExpanded||!1,i.onExpandedChange);const t=a.useCallback(()=>{n(!0)},[n]),d=a.useCallback(()=>{n(!1)},[n]),s=a.useCallback(()=>{n(!e)},[n,e]);return{isExpanded:e,setExpanded:n,expand:t,collapse:d,toggle:s}}function G(i){let{allowsMultipleExpanded:e=!1,isDisabled:n=!1}=i,[t,d]=P.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>i.expandedKeys?new Set(i.expandedKeys):void 0,[i.expandedKeys]),a.useMemo(()=>i.defaultExpandedKeys?new Set(i.defaultExpandedKeys):new Set,[i.defaultExpandedKeys]),i.onExpandedChange);return a.useEffect(()=>{if(!e&&t.size>1){let s=t.values().next().value;s!=null&&d(new Set([s]))}}),{allowsMultipleExpanded:e,isDisabled:n,expandedKeys:t,setExpandedKeys:d,toggleKey(s){let c;e?(c=new Set(t),c.has(s)?c.delete(s):c.add(s)):c=new Set(t.has(s)?[]:[s]),d(c)}}}const I=a.createContext(null),H=a.forwardRef(function(e,n){let t=G(e),d=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:t.isDisabled,state:t}}),s=E.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return a.createElement("div",{...s,...d,ref:n,"data-disabled":e.isDisabled||void 0},a.createElement(I.Provider,{value:t},d.children))}),J=a.createContext(null),L=a.createContext(null),y=a.createContext(null),Q=a.forwardRef(function(e,n){[e,n]=g.$64fa3d84918910a7$export$29f1550f4b0d4415(e,n,J);let t=a.useContext(I),{id:d,...s}=e,c=x.$bdb11010cef70236$export$f680877a34711e37();d||(d=c);let l=t?t.expandedKeys.has(d):e.isExpanded,o=z({...e,isExpanded:l,onExpandedChange(A){var _;t&&t.toggleKey(d),(_=e.onExpandedChange)===null||_===void 0||_.call(e,A)}}),f=a.useRef(null),$=e.isDisabled||(t==null?void 0:t.isDisabled)||!1,{buttonProps:b,panelProps:p}=V({...e,isExpanded:l,isDisabled:$},o,f),{isFocusVisible:v,focusProps:q}=w.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),C=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:o.isExpanded,isDisabled:$,isFocusVisibleWithin:v,state:o}}),N=E.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(s,{global:!0});return a.createElement(g.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{slots:{[g.$64fa3d84918910a7$export$c62b8e45d58ddad9]:{},trigger:b}}],[y,{panelProps:p,panelRef:f}],[L,o]]},a.createElement("div",{...x.$3ef42575df84b30b$export$9d1611c77c2fe928(N,C,q),ref:n,"data-expanded":o.isExpanded||void 0,"data-disabled":$||void 0,"data-focus-visible-within":v||void 0},C.children))}),U=a.forwardRef(function(e,n){let{role:t="group"}=e,{panelProps:d,panelRef:s}=a.useContext(y),{isFocusVisible:c,focusProps:l}=w.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),o=g.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:c}}),f=E.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return a.createElement("div",{...x.$3ef42575df84b30b$export$9d1611c77c2fe928(f,o,d,l),ref:g.$5dc95899b306f630$export$c9058316764c140e(n,s),role:t,"data-focus-visible-within":c||void 0},a.createElement(g.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[D.$d2b4bc8c273e7be6$export$24d547caef80ccd1,null]]},e.children))}),R=a.createContext(void 0),S="accordion",X=({variant:i,children:e,className:n,isContained:t,...d})=>{const s=t||i==="contained";return u.jsx(R.Provider,{value:{isContained:s},children:u.jsx(H,{"data-testid":S,className:m.clsx(h.root,s?h.contained:h.uncontained,n),...d,children:e})})},Y="_item_1gig9_1",Z="_contained_1gig9_17",ee="_success_1gig9_28",te="_warning_1gig9_35",ne="_info_1gig9_42",ae="_important_1gig9_49",de="_triggerButton_1gig9_61",se="_triggerText_1gig9_65",ie="_trigger_1gig9_61",oe="_triggerMainContent_1gig9_76",ce="_chevronIcon_1gig9_93",re="_statusIcon_1gig9_99",le="_panel_1gig9_113",ue="_content_1gig9_127",fe="_hasBackground_1gig9_133",$e="_header_1gig9_137",r={item:Y,contained:Z,success:ee,warning:te,info:ne,important:ae,triggerButton:de,triggerText:se,trigger:ie,triggerMainContent:oe,chevronIcon:ce,statusIcon:re,panel:le,content:ue,hasBackground:fe,header:$e},ge=({title:i,children:e,className:n,headingLevel:t="h2",type:d,hasBackground:s=!0,isContained:c,...l})=>{const o=a.useContext(R),f=c??(o==null?void 0:o.isContained)??!1,$=typeof i=="object";a.useEffect(()=>{d&&!f&&console.warn("AccordionItem: When 'type' is set, it is recommended to also set 'isContained' to true for visual consistency.")},[d,f]);const b=d?M.iconMap[d]:null,p=b?u.jsx(b,{size:20,className:r.statusIcon}):null;return u.jsxs(Q,{...l,className:m.clsx(r.item,d&&r[d],f&&r.contained,n),children:[u.jsx("div",{className:r.trigger,children:u.jsxs(T.Button,{className:r.triggerButton,slot:"trigger",variant:"icon",children:[u.jsx(k.ChevronDown,{size:20,className:r.chevronIcon}),u.jsx("div",{className:r.triggerMainContent,children:$?i:u.jsx(F.Heading,{level:3,elementType:t,className:r.triggerText,children:i})}),p]})}),u.jsx(U,{className:r.panel,children:u.jsx("div",{className:m.clsx(r.content,s&&r.hasBackground),children:e})})]})};exports.ACCORDION_TEST_ID=S;exports.Accordion=X;exports.AccordionItem=ge;
|
package/InfoBanner-CgmPdsH8.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { i as p } from "./icon-map-uS87FT_Q.js";
|
|
3
|
-
import * as o from "react";
|
|
4
|
-
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { B as z } from "./Button-CUMHt7MG.js";
|
|
6
|
-
import { X as R } from "./x-C2xUHAEl.js";
|
|
7
|
-
import { u as S } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
8
|
-
import './assets/InfoBanner.css';const h = "_infoBanner_vgnjx_1", I = "_success_vgnjx_11", y = "_info_vgnjx_1", E = "_important_vgnjx_21", F = "_warning_vgnjx_26", L = "_content_vgnjx_35", M = "_heading_vgnjx_41", P = "_text_vgnjx_46", X = "_icon_vgnjx_52", k = "_dismissable_vgnjx_57", n = {
|
|
9
|
-
infoBanner: h,
|
|
10
|
-
success: I,
|
|
11
|
-
info: y,
|
|
12
|
-
important: E,
|
|
13
|
-
warning: F,
|
|
14
|
-
content: L,
|
|
15
|
-
heading: M,
|
|
16
|
-
text: P,
|
|
17
|
-
icon: X,
|
|
18
|
-
dismissable: k
|
|
19
|
-
}, q = { close: "Close" }, A = { close: "Stäng" }, D = {
|
|
20
|
-
en: q,
|
|
21
|
-
sv: A
|
|
22
|
-
}, U = ({
|
|
23
|
-
title: r,
|
|
24
|
-
message: d,
|
|
25
|
-
type: a,
|
|
26
|
-
children: u,
|
|
27
|
-
isDismissable: x = !1,
|
|
28
|
-
defaultOpen: v = !0,
|
|
29
|
-
isOpen: c,
|
|
30
|
-
onOpenChange: s,
|
|
31
|
-
...m
|
|
32
|
-
}) => {
|
|
33
|
-
const l = o.useRef(!0), t = typeof c < "u", [g, _] = o.useState(
|
|
34
|
-
t ? c : v
|
|
35
|
-
), j = p[a], B = S(D), N = () => {
|
|
36
|
-
s == null || s(!1), t || _(!1);
|
|
37
|
-
};
|
|
38
|
-
return o.useEffect(() => {
|
|
39
|
-
if (l.current) {
|
|
40
|
-
l.current = !1;
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
_((b) => {
|
|
44
|
-
const f = t && c || !t && !b;
|
|
45
|
-
return f && (s == null || s(!0)), f;
|
|
46
|
-
});
|
|
47
|
-
}, [c, t, s]), g ? /* @__PURE__ */ e(
|
|
48
|
-
"div",
|
|
49
|
-
{
|
|
50
|
-
...m,
|
|
51
|
-
className: w(n.infoBanner, n[a], m.className),
|
|
52
|
-
children: [
|
|
53
|
-
/* @__PURE__ */ i(
|
|
54
|
-
j,
|
|
55
|
-
{
|
|
56
|
-
size: 20,
|
|
57
|
-
"aria-hidden": !0,
|
|
58
|
-
className: n.icon
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
/* @__PURE__ */ e("div", { className: n.content, children: [
|
|
62
|
-
r && /* @__PURE__ */ i("strong", { className: n.heading, children: r }),
|
|
63
|
-
/* @__PURE__ */ e("div", { className: n.text, children: [
|
|
64
|
-
d,
|
|
65
|
-
u
|
|
66
|
-
] })
|
|
67
|
-
] }),
|
|
68
|
-
x && /* @__PURE__ */ i("div", { className: n.dismissable, children: /* @__PURE__ */ i(
|
|
69
|
-
z,
|
|
70
|
-
{
|
|
71
|
-
variant: "icon",
|
|
72
|
-
"aria-label": B.format("close"),
|
|
73
|
-
onPress: N,
|
|
74
|
-
children: /* @__PURE__ */ i(R, { size: 20 })
|
|
75
|
-
}
|
|
76
|
-
) })
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
) : null;
|
|
80
|
-
};
|
|
81
|
-
export {
|
|
82
|
-
U as I
|
|
83
|
-
};
|
package/InfoBanner-Y-f3hKVR.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/InfoBanner.css');const e=require("react/jsx-runtime"),N=require("./icon-map-9XcghDra.cjs"),q=require("react"),S=require("./clsx-C11secjj.cjs"),z=require("./Button-D_tRdPW9.cjs"),R=require("./x-rV-nu490.cjs"),w=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function y(s){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const t in s)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(i,t,o.get?o:{enumerable:!0,get:()=>s[t]})}}return i.default=s,Object.freeze(i)}const l=y(q),M="_infoBanner_vgnjx_1",P="_success_vgnjx_11",h="_info_vgnjx_1",p="_important_vgnjx_21",D="_warning_vgnjx_26",F="_content_vgnjx_35",I="_heading_vgnjx_41",L="_text_vgnjx_46",k="_icon_vgnjx_52",E="_dismissable_vgnjx_57",c={infoBanner:M,success:P,info:h,important:p,warning:D,content:F,heading:I,text:L,icon:k,dismissable:E},T={close:"Close"},X={close:"Stäng"},A={en:T,sv:X},G=({title:s,message:i,type:t,children:o,isDismissable:x=!1,defaultOpen:j=!0,isOpen:a,onOpenChange:n,...u})=>{const _=l.useRef(!0),r=typeof a<"u",[m,f]=l.useState(r?a:j),g=N.iconMap[t],v=w.useLocalizedStringFormatter(A),b=()=>{n==null||n(!1),r||f(!1)};return l.useEffect(()=>{if(_.current){_.current=!1;return}f(B=>{const d=r&&a||!r&&!B;return d&&(n==null||n(!0)),d})},[a,r,n]),m?e.jsxs("div",{...u,className:S.clsx(c.infoBanner,c[t],u.className),children:[e.jsx(g,{size:20,"aria-hidden":!0,className:c.icon}),e.jsxs("div",{className:c.content,children:[s&&e.jsx("strong",{className:c.heading,children:s}),e.jsxs("div",{className:c.text,children:[i,o]})]}),x&&e.jsx("div",{className:c.dismissable,children:e.jsx(z.Button,{variant:"icon","aria-label":v.format("close"),onPress:b,children:e.jsx(R.X,{size:20})})})]}):null};exports.InfoBanner=G;
|
package/TabList-BMyKYLlY.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/TabList.css');const D=require("react/jsx-runtime"),S=require("./clsx-C11secjj.cjs"),R=require("./useObserveElement-MhzEsCkX.cjs"),O=require("./tokens-B3FfJ-rY.cjs"),v=require("./Collection-BvWp2xBd.cjs"),b=require("./utils-CMHKYKlz.cjs"),H=require("./Hidden-BxRZGdEW.cjs"),p=require("./mergeProps-JhcJ7uJL.cjs"),K=require("./filterDOMProps-RRlKPKX0.cjs"),T=require("./inertValue-B3AFhVG4.cjs"),l=require("react"),V=require("./usePress-CicXV7UO.cjs"),z=require("./useFocusable-CsG-IPuC.cjs"),M=require("./SelectionManager-BtbHoHpA.cjs"),w=require("./useLabels-CvUk-yS3.cjs"),A=require("./useHasTabbableChild-CJcLnolh.cjs"),_=require("./context-Df3XbgBG.cjs"),E=require("./useFocusRing-BcbYske2.cjs"),j=require("./useHover-DGAmG7jt.cjs"),B=require("./useSingleSelectListState-CwWK_Dx2.cjs"),L=new WeakMap;function m(i,e,t){if(!i)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let a=L.get(i);return process.env.NODE_ENV!=="production"&&!a&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${a}-${t}-${e}`}function W(i,e,t){let{key:a,isDisabled:d,shouldSelectOnPressUp:o}=i,{selectionManager:n,selectedKey:c}=e,s=a===c,r=d||e.isDisabled||e.selectionManager.isDisabled(a),{itemProps:u,isPressed:f}=M.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:n,key:a,ref:t,isDisabled:r,shouldSelectOnPressUp:o,linkBehavior:"selection"}),$=m(e,a,"tab"),h=m(e,a,"tabpanel"),{tabIndex:y}=u,x=e.collection.getItem(a),P=K.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(x==null?void 0:x.props,{labelable:!0});delete P.id;let N=V.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(x==null?void 0:x.props),{focusableProps:k}=z.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:r},t);return{tabProps:p.$3ef42575df84b30b$export$9d1611c77c2fe928(P,k,N,u,{id:$,"aria-selected":s,"aria-disabled":r||void 0,"aria-controls":s?h:void 0,tabIndex:r?void 0:y,role:"tab"}),isSelected:s,isDisabled:r,isPressed:f}}function U(i,e,t){let a=A.$83013635b024ae3d$export$eac1895992b9f3d6(t)?void 0:0;var d;const o=m(e,(d=i.id)!==null&&d!==void 0?d:e==null?void 0:e.selectedKey,"tabpanel"),n=w.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:o,"aria-labelledby":m(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:p.$3ef42575df84b30b$export$9d1611c77c2fe928(n,{tabIndex:a,role:"tabpanel","aria-describedby":i["aria-describedby"],"aria-details":i["aria-details"]})}}class G{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var t,a;return this.disabledKeys.has(e)||!!(!((a=this.collection.getItem(e))===null||a===void 0||(t=a.props)===null||t===void 0)&&t.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do t=this.collection.getKeyAfter(t),t==null&&(t=this.collection.getFirstKey());while(t!=null&&this.isDisabled(t));return t}getPreviousKey(e){let t=e;do t=this.collection.getKeyBefore(t),t==null&&(t=this.collection.getLastKey());while(t!=null&&this.isDisabled(t));return t}constructor(e,t,a,d=new Set){this.collection=e,this.flipDirection=t==="rtl"&&a==="horizontal",this.disabledKeys=d,this.tabDirection=a==="horizontal"}}function J(i,e,t){let{orientation:a="horizontal",keyboardActivation:d="automatic"}=i,{collection:o,selectionManager:n,disabledKeys:c}=e,{direction:s}=_.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),r=l.useMemo(()=>new G(o,s,a,c),[o,c,a,s]),{collectionProps:u}=M.$ae20dd8cbca75726$export$d6daf82dcd84e87c({ref:t,selectionManager:n,keyboardDelegate:r,selectOnFocus:d==="automatic",disallowEmptySelection:!0,scrollRef:t,linkBehavior:"selection"}),f=p.$bdb11010cef70236$export$f680877a34711e37();L.set(e,f);let $=w.$313b98861ee5dd6c$export$d6875122194c7b44({...i,id:f});return{tabListProps:{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(u,$),role:"tablist","aria-orientation":a,tabIndex:void 0}}}function Q(i){var e,t;let a=B.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...i,onSelectionChange:i.onSelectionChange?s=>{var r;s!=null&&((r=i.onSelectionChange)===null||r===void 0||r.call(i,s))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(t=(e=i.defaultSelectedKey)!==null&&e!==void 0?e:q(i.collection,i.disabledKeys?new Set(i.disabledKeys):new Set))!==null&&t!==void 0?t:void 0}),{selectionManager:d,collection:o,selectedKey:n}=a,c=l.useRef(n);return l.useEffect(()=>{let s=n;i.selectedKey==null&&(d.isEmpty||s==null||!o.getItem(s))&&(s=q(o,a.disabledKeys),s!=null&&d.setSelectedKeys([s])),(s!=null&&d.focusedKey==null||!d.isFocused&&s!==c.current)&&d.setFocusedKey(s),c.current=s}),{...a,isDisabled:i.isDisabled||!1}}function q(i,e){let t=null;if(i){var a,d,o,n;for(t=i.getFirstKey();t!=null&&(e.has(t)||!((d=i.getItem(t))===null||d===void 0||(a=d.props)===null||a===void 0)&&a.isDisabled)&&t!==i.getLastKey();)t=i.getKeyAfter(t);t!=null&&(e.has(t)||!((n=i.getItem(t))===null||n===void 0||(o=n.props)===null||o===void 0)&&o.isDisabled)&&t===i.getLastKey()&&(t=i.getFirstKey())}return t}const F=l.createContext(null),g=l.createContext(null),X=l.forwardRef(function(e,t){[e,t]=b.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,F);let{children:a,orientation:d="horizontal"}=e;return a=l.useMemo(()=>typeof a=="function"?a({orientation:d,defaultChildren:null}):a,[a,d]),l.createElement(v.$e1995378a142960e$export$bf788dd355e3a401,{content:a},o=>l.createElement(Y,{props:e,collection:o,tabsRef:t}))});function Y({props:i,tabsRef:e,collection:t}){let{orientation:a="horizontal"}=i,d=Q({...i,collection:t,children:void 0}),{focusProps:o,isFocused:n,isFocusVisible:c}=E.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),s=l.useMemo(()=>({orientation:a,isFocusWithin:n,isFocusVisible:c}),[a,n,c]),r=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,defaultClassName:"react-aria-Tabs",values:s}),u=K.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return l.createElement("div",{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(u,r,o),ref:e,slot:i.slot||void 0,"data-focused":n||void 0,"data-orientation":a,"data-focus-visible":c||void 0,"data-disabled":d.isDisabled||void 0},l.createElement(b.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[F,i],[g,d]]},r.children))}const Z=l.forwardRef(function(e,t){return l.useContext(g)?l.createElement(ee,{props:e,forwardedRef:t}):l.createElement(v.$e1995378a142960e$export$fb8073518f34e6ec,e)});function ee({props:i,forwardedRef:e}){let t=l.useContext(g),{CollectionRoot:a}=l.useContext(v.$7135fc7d473fd974$export$4feb769f8ddf26c5),{orientation:d="horizontal",keyboardActivation:o="automatic"}=b.$64fa3d84918910a7$export$fabf2dc03a41866e(F),n=b.$df56164dff5785e2$export$4338b53315abf666(e),{tabListProps:c}=J({...i,orientation:d,keyboardActivation:o},t,n),s=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,children:null,defaultClassName:"react-aria-TabList",values:{orientation:d,state:t}}),r=K.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete r.id,l.createElement("div",{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(r,s,c),ref:n,"data-orientation":d||void 0},l.createElement(a,{collection:t.collection,persistedKeys:v.$7135fc7d473fd974$export$90e00781bc59d8f9(t.selectionManager.focusedKey)}))}class I extends v.$23b9f4fcf0fe224b$export$d68d59712b04d9d1{}I.type="item";const te=v.$e1995378a142960e$export$18af5c7a9e9b3664(I,(i,e,t)=>{let a=l.useContext(g),d=b.$df56164dff5785e2$export$4338b53315abf666(e),{tabProps:o,isSelected:n,isDisabled:c,isPressed:s}=W({key:t.key,...i},a,d),{focusProps:r,isFocused:u,isFocusVisible:f}=E.$f7dceffc5ad7768b$export$4e328f61c538687f(),{hoverProps:$,isHovered:h}=j.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:c,onHoverStart:i.onHoverStart,onHoverEnd:i.onHoverEnd,onHoverChange:i.onHoverChange}),y=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...i,id:void 0,children:t.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:n,isDisabled:c,isFocused:u,isFocusVisible:f,isPressed:s,isHovered:h}}),x=t.props.href?"a":"div",P=K.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(i,{global:!0});return delete P.id,delete P.onClick,l.createElement(x,{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(P,y,o,r,$),ref:d,"data-selected":n||void 0,"data-disabled":c||void 0,"data-focused":u||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":h||void 0},y.children)}),ie=H.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){const a=l.useContext(g);let d=b.$df56164dff5785e2$export$4338b53315abf666(t),{id:o,...n}=e,{tabPanelProps:c}=U(e,a,d),{focusProps:s,isFocused:r,isFocusVisible:u}=E.$f7dceffc5ad7768b$export$4e328f61c538687f(),f=a.selectedKey===e.id,$=b.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:r,isFocusVisible:u,isInert:T.$cdc5a6778b766db2$export$a9d04c5684123369(!f),state:a}});if(!f&&!e.shouldForceMount)return null;let h=K.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(n,{global:!0});delete h.id;let y=f?p.$3ef42575df84b30b$export$9d1611c77c2fe928(h,c,s,$):$;return l.createElement("div",{...y,ref:d,"data-focused":r||void 0,"data-focus-visible":u||void 0,inert:T.$cdc5a6778b766db2$export$a9d04c5684123369(!f||e.inert),"data-inert":f?void 0:"true"},l.createElement(b.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[F,null],[g,null]]},l.createElement(v.$7135fc7d473fd974$export$4feb769f8ddf26c5.Provider,{value:v.$7135fc7d473fd974$export$a164736487e3f0ae},$.children)))}),ae="_container_ovstx_1",de="_list_ovstx_5",se="_listItem_ovstx_10",le="_panel_ovstx_52",C={container:ae,list:de,listItem:se,panel:le},ne=({children:i,className:e,...t})=>{const{width:a}=R.useObserveElement(typeof document>"u"?null:document.body,{includePadding:!0}),d=t.orientation||a>=O.windowSizes.sm?"horizontal":"vertical";return D.jsx(X,{...t,orientation:d,className:S.clsx(C.container,e),children:i})},oe=({className:i,...e})=>D.jsx(te,{...e,className:S.clsx(C.listItem,i)}),re=({className:i,...e})=>D.jsx(ie,{className:S.clsx(C.panel,i),...e}),ce=({className:i,...e})=>D.jsx(Z,{className:S.clsx(C.list,i),...e});exports.Tab=oe;exports.TabList=ce;exports.TabPanel=re;exports.Tabs=ne;
|
package/assets/global.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url(https://cdn.jsdelivr.net/fontsource/fonts/inter:vf@latest/latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}*{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{color-scheme:light dark}
|
package/assets/theme.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--color-black: #000;--color-white: #fff;--color-black-hover: #0d0d0d;--color-white-hover: #e6e6e6;--color-gray-10: #f2f2f2;--color-gray-20: #e6e6e6;--color-gray-30: #d9d9d9;--color-gray-40: #ccc;--color-gray-50: #bfbfbf;--color-gray-60: #b3b3b3;--color-gray-70: #a6a6a6;--color-gray-80: #999;--color-gray-90: #8c8c8c;--color-gray-100: #808080;--color-gray-110: #737373;--color-gray-120: #666;--color-gray-130: #5d5d5d;--color-gray-140: #525252;--color-gray-150: #474747;--color-gray-160: #383838;--color-gray-170: #333;--color-gray-180: #262626;--color-gray-190: #212121;--color-gray-200: #171717;--color-blue-10: #eaf2f6;--color-blue-20: #d5e5ed;--color-blue-40: #abcbdb;--color-blue-50: #94bcd1;--color-blue-60: #82b0c9;--color-blue-70: #6ca3c0;--color-blue-80: #5897b8;--color-blue-90: #4289ad;--color-blue-100: #2e7ca5;--color-blue-110: #2c7399;--color-blue-120: #29698c;--color-blue-130: #25607f;--color-blue-150: #143c50;--color-purple-80: #b46ab4;--color-purple-110: #954b95;--color-red-100: #b90835;--color-signal-blue-10: #eaf2f6;--color-signal-blue-100: #06c;--color-signal-green-20: #d5f2d9;--color-signal-green-30: #bae5c5;--color-signal-green-100: #008d3c;--color-signal-yellow-10: #fff8e1;--color-signal-yellow-20: #ffeba8;--color-signal-yellow-100: #fdb813;--color-signal-red-10: #ffefef;--color-signal-red-20: #ffdfdf;--color-signal-red-30: #fcc8c8;--color-signal-red-40: #f9b0b0;--color-signal-red-50: #f69999;--color-signal-red-60: #f38181;--color-signal-red-70: #ef6a6a;--color-signal-red-80: #eb4e4e;--color-signal-red-90: #e93b3b;--color-signal-red-100: #e62323;--color-signal-red-110: #d12020;--color-signal-red-120: #bc1d1d;--color-signal-red-130: #a71919;--color-signal-red-140: #921616;--color-signal-red-150: #7d1313;--color-signal-red-160: #691010;--color-signal-red-170: #540d0d;--color-signal-red-180: #3f0a0a;--color-signal-red-190: #2a0606;--color-signal-red-200: #150303;--breakpoint-xs: "(max-width: 479px)";--breakpoint-sm: "(min-width: 480px)";--breakpoint-md: "(min-width: 768px)";--breakpoint-lg: "(min-width: 1024px)";--breakpoint-xl: "(min-width: 1280px)";--breakpoint-forced-colors-mode: "(forced-colors: active)";--breakpoint-dark-mode: "(prefers-color-scheme: dark)";--breakpoint-prefers-reduced-motion: "(prefers-reduced-motion: reduced)";--semantic-background: light-dark(#fff, #171717);--semantic-background-hover: light-dark(#e6e6e6, #212121);--semantic-background-inverse: light-dark(#171717, #f2f2f2);--semantic-layer-01: light-dark(#f2f2f2, #262626);--semantic-layer-hover-01: light-dark(#e6e6e6, #333);--semantic-layer-selected-01: light-dark(#d9d9d9, #383838);--semantic-layer-selected-hover-01: light-dark(#ccc, #474747);--semantic-layer-02: light-dark(#fff, #383838);--semantic-layer-hover-02: light-dark(#e6e6e6, #474747);--semantic-layer-selected-02: light-dark(#d9d9d9, #525252);--semantic-layer-selected-hover-02: light-dark(#ccc, #5d5d5d);--semantic-layer-accent-01: light-dark(#d9d9d9, #383838);--semantic-layer-accent-hover-01: light-dark(#ccc, #474747);--semantic-layer-accent-selected-01: light-dark(#bfbfbf, #525252);--semantic-layer-accent-02: light-dark(#f2f2f2, #262626);--semantic-layer-accent-hover-02: light-dark(#e6e6e6, #333);--semantic-layer-accent-selected-02: light-dark(#d9d9d9, #383838);--semantic-brand-primary: light-dark(#b90835, #b90835);--semantic-border-primary: light-dark(#171717, #f2f2f2);--semantic-border-secondary: light-dark(#737373, #8c8c8c);--semantic-border-subtle: light-dark(#bfbfbf, #383838);--semantic-border-tertiary: light-dark(#143c50, #2e7ca5);--semantic-border-disabled: light-dark(#bfbfbf, #525252);--semantic-field-01: light-dark(#f2f2f2, #262626);--semantic-field-hover-01: light-dark(#e6e6e6, #333);--semantic-field-active-01: light-dark(#d9d9d9, #383838);--semantic-field-02: light-dark(#fff, #383838);--semantic-field-hover-02: light-dark(#e6e6e6, #474747);--semantic-field-active-02: light-dark(#d9d9d9, #525252);--semantic-field-disabled: light-dark(#f2f2f2, #262626);--semantic-skeleton-01: light-dark(#f2f2f2, #262626);--semantic-skeleton-02: light-dark(#d9d9d9, #383838);--semantic-icon-primary: light-dark(#171717, #f2f2f2);--semantic-icon-secondary: light-dark(#525252, #a6a6a6);--semantic-icon-tertiary: light-dark(#143c50, #f2f2f2);--semantic-icon-inverse: light-dark(#fff, #171717);--semantic-icon-on-color: light-dark(#fff, #fff);--semantic-icon-disabled: light-dark(#bfbfbf, #525252);--semantic-icon-success: light-dark(#008d3c, #008d3c);--semantic-icon-info: light-dark(#06c, #06c);--semantic-icon-warning: light-dark(#e62323, #e62323);--semantic-icon-important: light-dark(#fdb813, #fdb813);--semantic-link-enabled: light-dark(#29698c, #6ca3c0);--semantic-link-hover: light-dark(#143c50, #94bcd1);--semantic-link-pressed: light-dark(#171717, #abcbdb);--semantic-link-visited: light-dark(#954b95, #b46ab4);--semantic-support-border-success: light-dark(#008d3c, #008d3c);--semantic-support-border-info: light-dark(#06c, #06c);--semantic-support-border-important: light-dark(#fdb813, #fdb813);--semantic-support-border-warning: light-dark(#e62323, #e62323);--semantic-support-background-success: light-dark(#d5f2d9, #262626);--semantic-support-background-success-hover: light-dark(#bae5c5, #333);--semantic-support-background-info: light-dark(#eaf2f6, #262626);--semantic-support-background-important: light-dark(#fff8e1, #262626);--semantic-support-background-warning: light-dark(#ffdfdf, #262626);--semantic-support-background-warning-hover: light-dark(#fcc8c8, #333);--semantic-text-primary: light-dark(#171717, #f2f2f2);--semantic-text-secondary: light-dark(#525252, #a6a6a6);--semantic-text-tertiary: light-dark(#143c50, #f2f2f2);--semantic-text-on-color: light-dark(#fff, #fff);--semantic-text-inverse: light-dark(#f2f2f2, #171717);--semantic-text-disabled: light-dark(#bfbfbf, #525252);--semantic-text-warning: light-dark(#e62323, #eb4e4e);--semantic-text-placeholder: light-dark(#a6a6a6, #525252);--semantic-button-background-primary: light-dark(#143c50, #2e7ca5);--semantic-button-background-primary-hover: light-dark(#25607f, #25607f);--semantic-button-background-primary-active: light-dark(#2e7ca5, #143c50);--semantic-button-background-secondary: light-dark(#fff, #171717);--semantic-button-background-secondary-hover: light-dark(#e6e6e6, #212121);--semantic-button-background-secondary-active: light-dark(#d9d9d9, #262626);--semantic-button-background-tertiary-hover: light-dark(#e6e6e6, #212121);--semantic-button-background-tertiary-active: light-dark(#d9d9d9, #262626);--semantic-button-background-danger: light-dark(#e62323, #e62323);--semantic-button-background-danger-hover: light-dark(#bc1d1d, #bc1d1d);--semantic-button-background-danger-active: light-dark(#7d1313, #7d1313);--semantic-button-background-disabled: light-dark(#f2f2f2, #262626);--semantic-button-border-secondary: light-dark(#143c50, #f2f2f2);--semantic-button-background-icon-hover: light-dark( rgba(0 0 0 / 10%), rgba(255 255 255 / 10%) );--semantic-button-background-icon-active: light-dark( rgba(0 0 0 / 20%), rgba(255 255 255 / 20%) );--semantic-badge-background: light-dark(#e62323, #e62323);--semantic-calendar-date-background-hover: light-dark( rgba(0 0 0 / 10%), rgba(255 255 255 / 10%) );--semantic-calendar-date-background-selected: light-dark(#143c50, #5897b8);--semantic-calendar-date-background-start-range: light-dark(#143c50, #5897b8);--semantic-calendar-date-background-in-range: light-dark(#d5e5ed, #143c50);--semantic-calendar-date-background-end-range: light-dark(#143c50, #5897b8);--semantic-logo-primary: light-dark(#b90835, #fff);--semantic-menu-item-background-hover: light-dark(#e6e6e6, #212121);--semantic-menu-item-background-selected: light-dark(#f2f2f2, #262626);--semantic-menu-text-section-header: light-dark(#29698c, #5897b8);--size-10: .125rem;--size-15: .188rem;--size-20: .25rem;--size-30: .375rem;--size-40: .5rem;--size-50: .625rem;--size-60: .75rem;--size-70: .875rem;--size-75: .938rem;--size-80: 1rem;--size-90: 1.25rem;--size-100: 1.5rem;--size-110: 1.75rem;--size-120: 2rem;--size-130: 2.5rem;--size-140: 2.75rem;--size-150: 3rem;--size-00: 0;--size-05: .063rem;--spacing-10: .125rem;--spacing-20: .25rem;--spacing-30: .5rem;--spacing-40: .75rem;--spacing-50: 1rem;--spacing-60: 1.5rem;--spacing-70: 2rem;--spacing-80: 2.5rem;--spacing-90: 3rem;--spacing-100: 4rem;--spacing-110: 5rem;--spacing-120: 6rem;--state-focus: 0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white);--state-focus-inset: inset 0 0 0 2px light-dark(black, white), inset 0 0 0 4px light-dark(white, black);--transition-slow: .5s;--transition-normal: .3s;--transition-fast: .25s;--typography-font-family: "Inter", sans-serif;--typography-line-height-10: 1rem;--typography-line-height-20: 1.125rem;--typography-line-height-30: 1.25rem;--typography-line-height-40: 1.375rem;--typography-line-height-50: 1.5rem;--typography-line-height-60: 1.75rem;--typography-line-height-70: 2rem;--typography-line-height-80: 2.25rem;--typography-line-height-90: 2.5rem;--typography-line-height-100: 2.75rem;--typography-font-size-10: .75rem;--typography-font-size-20: .875rem;--typography-font-size-30: 1rem;--typography-font-size-40: 1.125rem;--typography-font-size-50: 1.25rem;--typography-font-size-60: 1.5rem;--typography-font-size-70: 1.75rem;--typography-font-size-80: 2rem;--typography-font-size-90: 2.25rem;--typography-font-size-100: 2.625rem;--typography-weight-thin: 100;--typography-weight-extra-light: 200;--typography-weight-light: 300;--typography-weight-regular: 400;--typography-weight-medium: 500;--typography-weight-semi-bold: 600;--typography-weight-bold: 700;--typography-weight-extra-bold: 800;--typography-weight-black: 900;--window-size-sm: 480px;--window-size-md: 768px;--window-size-lg: 1024px;--window-size-xl: 1280px;--z-index-base: 1;--z-index-above: 10;--z-index-modal: 1000;--z-index-toast: 1100;--z-index-skip-to-content: 1200}
|