@midas-ds/components 12.1.0 → 12.1.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/{AccordionItem-SOfjXh3V.cjs → AccordionItem-CV9Hrare.cjs} +1 -1
- package/{AccordionItem-C9dBt-tQ.js → AccordionItem-Dd9VLdsb.js} +1 -1
- package/{Breadcrumbs-DUcHHI_2.cjs → Breadcrumbs-BQLxFZVm.cjs} +1 -1
- package/{Breadcrumbs-BAHJMPsu.js → Breadcrumbs-C6B4fyk3.js} +1 -1
- package/{Button-DYcmg49Z.js → Button-CUMHt7MG.js} +1 -1
- package/{Button-DrL5Jv-s.cjs → Button-D_tRdPW9.cjs} +1 -1
- package/Button.module-BT9wZenr.cjs +1 -0
- package/Button.module-CGIVvzVm.js +14 -0
- package/{ButtonGroup-WZZDPu9Z.js → ButtonGroup-DC8925jD.js} +1 -1
- package/{ButtonGroup-ClYTgaRc.cjs → ButtonGroup-zx-9mxbJ.cjs} +1 -1
- package/CHANGELOG.md +17 -0
- package/Card-D2UbrhDW.js +131 -0
- package/Card-UolcSL5O.cjs +1 -0
- package/{Checkbox-BtM2rFh9.js → Checkbox-DTuryJdM.js} +14 -14
- package/{Checkbox-CvdIG43J.cjs → Checkbox-dtZfsSfx.cjs} +1 -1
- package/{CheckboxGroup-CjcDYBRk.js → CheckboxGroup-BmCK0XG9.js} +2 -2
- package/{CheckboxGroup-C94as9Xt.cjs → CheckboxGroup-DbmYdQEv.cjs} +1 -1
- package/{ColorSchemeSwitch-C4PMYeD5.js → ColorSchemeSwitch-CgZfgCG4.js} +1 -1
- package/{ColorSchemeSwitch-CKcoGZM1.cjs → ColorSchemeSwitch-D5juAHPc.cjs} +1 -1
- package/{ComboBox-BWXJZyOR.js → ComboBox-Cl6jBB-8.js} +85 -85
- package/{ComboBox-B2EmfOyr.cjs → ComboBox-CvD0t2T2.cjs} +1 -1
- package/{DateField-CcQJYDLD.js → DateField-D2IqGDL5.js} +2 -2
- package/{DateField-IpCiF81R.cjs → DateField-DJAQH95Q.cjs} +1 -1
- package/{DateInputDivider-Cf5GZHlM.cjs → DateInputDivider-BnSo_Aox.cjs} +1 -1
- package/{DateInputDivider-CXkUdlzc.js → DateInputDivider-LxS0Kw1H.js} +2 -2
- package/{DateRangePicker-B2BJO1KC.js → DateRangePicker-CNPXbRqx.js} +4 -4
- package/{DateRangePicker-Dfwe9RhJ.cjs → DateRangePicker-CljQy8oD.cjs} +2 -2
- package/{Dialog-P3frHOdq.js → Dialog-COpVrq8B.js} +21 -21
- package/{Dialog-DgJobm71.cjs → Dialog-doGnVsJJ.cjs} +1 -1
- package/{Dropdown-DJ2vWAqk.cjs → Dropdown-C_W6Sizy.cjs} +1 -1
- package/{Dropdown-CIvWpN3v.js → Dropdown-DbeUiGYo.js} +1 -1
- package/{Grid-s8ovKDi8.js → Grid-BmX6arAO.js} +1 -1
- package/{Grid-WbEkSCGh.cjs → Grid-Bn1bCTH8.cjs} +1 -1
- package/GridItem-BtO9kCX9.js +237 -0
- package/GridItem-luVsL9lu.cjs +1 -0
- package/{InfoBanner-CrA8MS3v.js → InfoBanner-CgmPdsH8.js} +1 -1
- package/{InfoBanner-CqjnTYaa.cjs → InfoBanner-Y-f3hKVR.cjs} +1 -1
- package/{Label-BG7G0iyG.js → Label-C5TNJ0Ku.js} +1 -1
- package/{Label-C00qz3kQ.cjs → Label-Dp85Vue3.cjs} +1 -1
- package/{Layout-Bta_Cpq_.cjs → Layout-Bxd0-ao3.cjs} +2 -2
- package/{Layout-CG-Qxr_1.js → Layout-CcXu63hP.js} +133 -133
- package/Link-ePZ3nrAW.cjs +6 -0
- package/{Link-BtxKZ0h3.js → Link-lO-Ke97K.js} +20 -20
- package/{LinkButton-D3EnZ65v.js → LinkButton-CJyZh3BS.js} +26 -26
- package/LinkButton-Cw73pOM2.cjs +6 -0
- package/{ListBoxLoadMoreItem-Ceo73a2q.cjs → ListBoxLoadMoreItem-3jGpi90m.cjs} +1 -1
- package/{ListBoxLoadMoreItem-W11V-Lef.js → ListBoxLoadMoreItem-CIFJ3liN.js} +2 -2
- package/{ListBoxSection-BCPv9H50.js → ListBoxSection-BBY8-t3_.js} +11 -11
- package/{ListBoxSection-Dx75ZinL.cjs → ListBoxSection-BeDwnVZx.cjs} +1 -1
- package/{ProgressBar-CdXHEJh6.js → ProgressBar-BYb9d2kC.js} +1 -1
- package/{ProgressBar-CjuHokVZ.cjs → ProgressBar-CgbE08QT.cjs} +1 -1
- package/{Radio-Bll-7H8O.cjs → Radio-BagVPvJX.cjs} +1 -1
- package/{Radio-DoWx2AE1.js → Radio-C98ly9yx.js} +14 -14
- package/{RangeCalendar-D7eFVAPP.js → RangeCalendar-Bi9jc61A.js} +61 -61
- package/{RangeCalendar-A4WQIG7P.cjs → RangeCalendar-KcJooXYf.cjs} +2 -2
- package/{SearchField-BbrUZpQm.cjs → SearchField-BA-X9dzb.cjs} +2 -2
- package/{SearchField-F2FKgYds.js → SearchField-BevjTbcW.js} +46 -46
- package/{Select-Dpi3LhbI.js → Select-BECa8IyZ.js} +112 -112
- package/Select-xBp51JSl.cjs +1 -0
- package/Skeleton-Iovq135_.js +35 -0
- package/Skeleton-MaBUPqhT.cjs +1 -0
- package/{Spinner-DTKb_LAA.js → Spinner-BZ7i01Kt.js} +13 -13
- package/Spinner-DxWDMW6e.cjs +6 -0
- package/{TabList-D4WwgQY3.cjs → TabList-BMyKYLlY.cjs} +1 -1
- package/{TabList-D9tl2s85.js → TabList-C0mZgIzV.js} +45 -45
- package/{Table-C6k3PiiC.cjs → Table-BHY1uCZ0.cjs} +1 -1
- package/{Table-CkN3y69S.js → Table-DzbfeVO7.js} +1 -1
- package/{Tag-BUJ20HHw.js → Tag-BYUPXbhG.js} +1 -1
- package/{Tag-7dHEMQum.cjs → Tag-BweDKw1v.cjs} +1 -1
- package/{TextArea-h5_oBQH1.js → TextArea-CDoLq124.js} +3 -3
- package/{TextArea-BCikUXaD.cjs → TextArea-DJCtwrqV.cjs} +1 -1
- package/TextField.module-CH39P8ZE.js +13 -0
- package/TextField.module-gJ-ruFra.cjs +1 -0
- package/{Toast-DclaxvZM.cjs → Toast-BN3vRCsH.cjs} +1 -1
- package/{Toast-BBkWczCk.js → Toast-DZnQTLDr.js} +172 -174
- package/{ToggleButtonGroup-BGG64PK1.js → ToggleButtonGroup-CwHPu7w5.js} +1 -1
- package/{ToggleButtonGroup-Da330GRT.cjs → ToggleButtonGroup-DY9S3USc.cjs} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/variables.css +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/index.cjs +1 -1
- package/index.js +36 -36
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +1 -1
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +1 -1
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/modal/index.cjs +1 -1
- package/modal/index.js +1 -1
- package/package.json +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- 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/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +0 -3
- package/theme/generated-tokens.d.ts +0 -3
- package/theme/index.cjs +1 -1
- package/theme/index.js +249 -297
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/Button.module-BNLcvARn.cjs +0 -1
- package/Button.module-Bax2YU6N.js +0 -14
- package/Card-BDDyGAMA.js +0 -131
- package/Card-mj5lCIR4.cjs +0 -1
- package/GridItem-CIVF1fRW.cjs +0 -1
- package/GridItem-D3FZyyO-.js +0 -243
- package/Link-Bx6avHVl.cjs +0 -6
- package/LinkButton-BvXu6vAH.cjs +0 -6
- package/Select-BnbDXwgD.cjs +0 -1
- package/Skeleton-BpYj25p8.js +0 -37
- package/Skeleton-DMOxEwnd.cjs +0 -1
- package/Spinner-D1UBuLy4.cjs +0 -6
- package/TextField.module-C9Zm9unF.js +0 -13
- package/TextField.module-GTQtNO0r.cjs +0 -1
package/Card-BDDyGAMA.js
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as n } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import * as e from "react";
|
|
4
|
-
import { H as m } from "./Heading-BQlmb5Tm.js";
|
|
5
|
-
import { $ as _ } from "./Button-DD5_S-tD.js";
|
|
6
|
-
import { $ as C } from "./Link-CbFSuEI1.js";
|
|
7
|
-
import { A as x } from "./arrow-right-uemUGIg8.js";
|
|
8
|
-
import './assets/Card.css';const A = "_card_1tcxj_4", h = "_horizontal_1tcxj_10", I = "_cardLink_1tcxj_15", p = "_cardContent_1tcxj_20", u = "_cardActions_1tcxj_39", f = "_cardActionArea_1tcxj_49", z = "_cardImage_1tcxj_82", j = "_cardLinkIcon_1tcxj_114", o = {
|
|
9
|
-
card: A,
|
|
10
|
-
horizontal: h,
|
|
11
|
-
cardLink: I,
|
|
12
|
-
cardContent: p,
|
|
13
|
-
cardActions: u,
|
|
14
|
-
cardActionArea: f,
|
|
15
|
-
cardImage: z,
|
|
16
|
-
cardLinkIcon: j
|
|
17
|
-
}, d = e.createContext({
|
|
18
|
-
horizontal: void 0,
|
|
19
|
-
titleId: void 0
|
|
20
|
-
}), y = ({
|
|
21
|
-
horizontal: a,
|
|
22
|
-
className: c,
|
|
23
|
-
children: t,
|
|
24
|
-
...s
|
|
25
|
-
}) => {
|
|
26
|
-
const i = `card-title-${e.useId()}`;
|
|
27
|
-
return /* @__PURE__ */ r(d.Provider, { value: { horizontal: a, titleId: i }, children: /* @__PURE__ */ r(
|
|
28
|
-
"div",
|
|
29
|
-
{
|
|
30
|
-
...s,
|
|
31
|
-
className: n(
|
|
32
|
-
o.card,
|
|
33
|
-
a && o.horizontal,
|
|
34
|
-
c
|
|
35
|
-
),
|
|
36
|
-
children: t
|
|
37
|
-
}
|
|
38
|
-
) });
|
|
39
|
-
}, H = ({
|
|
40
|
-
children: a,
|
|
41
|
-
...c
|
|
42
|
-
}) => {
|
|
43
|
-
const { horizontal: t } = e.useContext(d);
|
|
44
|
-
return /* @__PURE__ */ r(
|
|
45
|
-
"div",
|
|
46
|
-
{
|
|
47
|
-
...c,
|
|
48
|
-
className: n(o.cardContent, t && o.horizontal),
|
|
49
|
-
children: a
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
|
-
}, R = ({
|
|
53
|
-
elementType: a = "h2",
|
|
54
|
-
children: c
|
|
55
|
-
}) => {
|
|
56
|
-
const { horizontal: t, titleId: s } = e.useContext(d);
|
|
57
|
-
return /* @__PURE__ */ r(
|
|
58
|
-
m,
|
|
59
|
-
{
|
|
60
|
-
level: t ? 5 : 3,
|
|
61
|
-
elementType: a,
|
|
62
|
-
isExpressive: t,
|
|
63
|
-
className: n(o.cardTitle, t && o.horizontal),
|
|
64
|
-
id: s,
|
|
65
|
-
children: c
|
|
66
|
-
}
|
|
67
|
-
);
|
|
68
|
-
}, T = ({
|
|
69
|
-
children: a,
|
|
70
|
-
...c
|
|
71
|
-
}) => {
|
|
72
|
-
const { horizontal: t } = e.useContext(d);
|
|
73
|
-
return /* @__PURE__ */ r(
|
|
74
|
-
"div",
|
|
75
|
-
{
|
|
76
|
-
...c,
|
|
77
|
-
className: n(o.cardActions, t && o.horizontal),
|
|
78
|
-
children: a
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
}, w = ({ children: a, className: c, ...t }) => {
|
|
82
|
-
const { titleId: s } = e.useContext(d);
|
|
83
|
-
return /* @__PURE__ */ r(
|
|
84
|
-
_,
|
|
85
|
-
{
|
|
86
|
-
...t,
|
|
87
|
-
"aria-labelledby": s,
|
|
88
|
-
className: n(o.cardActionArea, c),
|
|
89
|
-
children: a
|
|
90
|
-
}
|
|
91
|
-
);
|
|
92
|
-
}, E = ({
|
|
93
|
-
as: a = "img",
|
|
94
|
-
className: c,
|
|
95
|
-
...t
|
|
96
|
-
}) => /* @__PURE__ */ r(
|
|
97
|
-
a,
|
|
98
|
-
{
|
|
99
|
-
...t,
|
|
100
|
-
className: n(o.cardImage, c)
|
|
101
|
-
}
|
|
102
|
-
), P = ({
|
|
103
|
-
children: a,
|
|
104
|
-
as: c,
|
|
105
|
-
...t
|
|
106
|
-
}) => /* @__PURE__ */ l(
|
|
107
|
-
c || C,
|
|
108
|
-
{
|
|
109
|
-
...t,
|
|
110
|
-
className: n(o.cardLink, t.className),
|
|
111
|
-
children: [
|
|
112
|
-
a,
|
|
113
|
-
/* @__PURE__ */ r(
|
|
114
|
-
x,
|
|
115
|
-
{
|
|
116
|
-
className: o.cardLinkIcon,
|
|
117
|
-
size: 24
|
|
118
|
-
}
|
|
119
|
-
)
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
);
|
|
123
|
-
export {
|
|
124
|
-
y as C,
|
|
125
|
-
H as a,
|
|
126
|
-
R as b,
|
|
127
|
-
T as c,
|
|
128
|
-
w as d,
|
|
129
|
-
E as e,
|
|
130
|
-
P as f
|
|
131
|
-
};
|
package/Card-mj5lCIR4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Card.css');const a=require("react/jsx-runtime"),o=require("./clsx-C11secjj.cjs"),l=require("react"),x=require("./Heading-D3FR_KXb.cjs"),u=require("./Button-CMIbSc4-.cjs"),C=require("./Link-wM7cVPlS.cjs"),_=require("./arrow-right-BGd86zzR.cjs");function j(c){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(c){for(const t in c)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(c,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>c[t]})}}return e.default=c,Object.freeze(e)}const s=j(l),m="_card_1tcxj_4",A="_horizontal_1tcxj_10",g="_cardLink_1tcxj_15",h="_cardContent_1tcxj_20",I="_cardActions_1tcxj_39",b="_cardActionArea_1tcxj_49",f="_cardImage_1tcxj_82",k="_cardLinkIcon_1tcxj_114",n={card:m,horizontal:A,cardLink:g,cardContent:h,cardActions:I,cardActionArea:b,cardImage:f,cardLinkIcon:k},i=s.createContext({horizontal:void 0,titleId:void 0}),z=({horizontal:c,className:e,children:t,...r})=>{const d=`card-title-${s.useId()}`;return a.jsx(i.Provider,{value:{horizontal:c,titleId:d},children:a.jsx("div",{...r,className:o.clsx(n.card,c&&n.horizontal,e),children:t})})},L=({children:c,...e})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...e,className:o.clsx(n.cardContent,t&&n.horizontal),children:c})},p=({elementType:c="h2",children:e})=>{const{horizontal:t,titleId:r}=s.useContext(i);return a.jsx(x.Heading,{level:t?5:3,elementType:c,isExpressive:t,className:o.clsx(n.cardTitle,t&&n.horizontal),id:r,children:e})},v=({children:c,...e})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...e,className:o.clsx(n.cardActions,t&&n.horizontal),children:c})},N=({children:c,className:e,...t})=>{const{titleId:r}=s.useContext(i);return a.jsx(u.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{...t,"aria-labelledby":r,className:o.clsx(n.cardActionArea,e),children:c})},q=({as:c="img",className:e,...t})=>a.jsx(c,{...t,className:o.clsx(n.cardImage,e)}),$=({children:c,as:e,...t})=>{const r=e||C.$4f118338184dc1d9$export$a6c7ac8248d6e38a;return a.jsxs(r,{...t,className:o.clsx(n.cardLink,t.className),children:[c,a.jsx(_.ArrowRight,{className:n.cardLinkIcon,size:24})]})};exports.Card=z;exports.CardActionArea=N;exports.CardActions=v;exports.CardContent=L;exports.CardImage=q;exports.CardLink=$;exports.CardTitle=p;
|
package/GridItem-CIVF1fRW.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/GridItem.css');const c=require("react/jsx-runtime"),w=require("./clsx-C11secjj.cjs"),y='"../theme/breakpoints.css"',m="_container_6ruyw_4",x="_removeMargins_6ruyw_16",d="_contained_6ruyw_20",a="_flex_6ruyw_26",g="_fluid_6ruyw_55",i="_col_6ruyw_61",f={breakpoints:y,"--midas-breakpoints-xs":"(max-width: calc(480px - 1px))","--midas-breakpoints-sm":"(min-width: 480px)","--midas-breakpoints-md":"(min-width: 768px)","--midas-breakpoints-lg":"(min-width: 1024px)","--midas-breakpoints-xl":"(min-width: 1280px)",container:m,removeMargins:x,contained:d,flex:a,fluid:g,col:i,"col-1":"_col-1_6ruyw_69","col-2":"_col-2_6ruyw_73","col-3":"_col-3_6ruyw_79","col-quarter":"_col-quarter_6ruyw_80","col-4":"_col-4_6ruyw_86","col-third":"_col-third_6ruyw_87","col-5":"_col-5_6ruyw_93","col-6":"_col-6_6ruyw_99","col-half":"_col-half_6ruyw_100","col-7":"_col-7_6ruyw_106","col-8":"_col-8_6ruyw_112","col-9":"_col-9_6ruyw_118","col-10":"_col-10_6ruyw_124","col-11":"_col-11_6ruyw_130","col-12":"_col-12_6ruyw_136","col-full":"_col-full_6ruyw_137","col-auto":"_col-auto_6ruyw_143","col-grow":"_col-grow_6ruyw_147","col-xs-1":"_col-xs-1_6ruyw_152","col-xs-2":"_col-xs-2_6ruyw_158","col-xs-3":"_col-xs-3_6ruyw_164","col-xs-quarter":"_col-xs-quarter_6ruyw_165","col-xs-4":"_col-xs-4_6ruyw_171","col-xs-third":"_col-xs-third_6ruyw_172","col-xs-5":"_col-xs-5_6ruyw_178","col-xs-6":"_col-xs-6_6ruyw_184","col-xs-half":"_col-xs-half_6ruyw_185","col-xs-7":"_col-xs-7_6ruyw_191","col-xs-8":"_col-xs-8_6ruyw_197","col-xs-9":"_col-xs-9_6ruyw_203","col-xs-10":"_col-xs-10_6ruyw_209","col-xs-11":"_col-xs-11_6ruyw_215","col-xs-12":"_col-xs-12_6ruyw_221","col-xs-full":"_col-xs-full_6ruyw_222","col-xs-auto":"_col-xs-auto_6ruyw_228","col-xs-grow":"_col-xs-grow_6ruyw_233","col-sm-1":"_col-sm-1_6ruyw_239","col-sm-2":"_col-sm-2_6ruyw_245","col-sm-3":"_col-sm-3_6ruyw_251","col-sm-quarter":"_col-sm-quarter_6ruyw_252","col-sm-4":"_col-sm-4_6ruyw_258","col-sm-third":"_col-sm-third_6ruyw_259","col-sm-5":"_col-sm-5_6ruyw_265","col-sm-6":"_col-sm-6_6ruyw_271","col-sm-half":"_col-sm-half_6ruyw_272","col-sm-7":"_col-sm-7_6ruyw_278","col-sm-8":"_col-sm-8_6ruyw_284","col-sm-9":"_col-sm-9_6ruyw_290","col-sm-10":"_col-sm-10_6ruyw_296","col-sm-11":"_col-sm-11_6ruyw_302","col-sm-12":"_col-sm-12_6ruyw_308","col-sm-full":"_col-sm-full_6ruyw_309","col-sm-auto":"_col-sm-auto_6ruyw_315","col-sm-grow":"_col-sm-grow_6ruyw_320","col-md-1":"_col-md-1_6ruyw_326","col-md-2":"_col-md-2_6ruyw_332","col-md-3":"_col-md-3_6ruyw_338","col-md-quarter":"_col-md-quarter_6ruyw_339","col-md-4":"_col-md-4_6ruyw_345","col-md-third":"_col-md-third_6ruyw_346","col-md-5":"_col-md-5_6ruyw_352","col-md-6":"_col-md-6_6ruyw_358","col-md-half":"_col-md-half_6ruyw_359","col-md-7":"_col-md-7_6ruyw_365","col-md-8":"_col-md-8_6ruyw_371","col-md-9":"_col-md-9_6ruyw_377","col-md-10":"_col-md-10_6ruyw_383","col-md-11":"_col-md-11_6ruyw_389","col-md-12":"_col-md-12_6ruyw_395","col-md-full":"_col-md-full_6ruyw_396","col-md-auto":"_col-md-auto_6ruyw_402","col-md-grow":"_col-md-grow_6ruyw_406","col-lg-1":"_col-lg-1_6ruyw_412","col-lg-2":"_col-lg-2_6ruyw_418","col-lg-3":"_col-lg-3_6ruyw_424","col-lg-quarter":"_col-lg-quarter_6ruyw_425","col-lg-4":"_col-lg-4_6ruyw_431","col-lg-third":"_col-lg-third_6ruyw_432","col-lg-5":"_col-lg-5_6ruyw_438","col-lg-6":"_col-lg-6_6ruyw_444","col-lg-half":"_col-lg-half_6ruyw_445","col-lg-7":"_col-lg-7_6ruyw_451","col-lg-8":"_col-lg-8_6ruyw_457","col-lg-9":"_col-lg-9_6ruyw_463","col-lg-10":"_col-lg-10_6ruyw_469","col-lg-11":"_col-lg-11_6ruyw_475","col-lg-12":"_col-lg-12_6ruyw_481","col-lg-full":"_col-lg-full_6ruyw_482","col-lg-auto":"_col-lg-auto_6ruyw_488","col-lg-grow":"_col-lg-grow_6ruyw_492","col-xl-1":"_col-xl-1_6ruyw_498","col-xl-2":"_col-xl-2_6ruyw_504","col-xl-3":"_col-xl-3_6ruyw_510","col-xl-quarter":"_col-xl-quarter_6ruyw_511","col-xl-4":"_col-xl-4_6ruyw_517","col-xl-third":"_col-xl-third_6ruyw_518","col-xl-5":"_col-xl-5_6ruyw_524","col-xl-6":"_col-xl-6_6ruyw_530","col-xl-half":"_col-xl-half_6ruyw_531","col-xl-7":"_col-xl-7_6ruyw_537","col-xl-8":"_col-xl-8_6ruyw_543","col-xl-9":"_col-xl-9_6ruyw_549","col-xl-10":"_col-xl-10_6ruyw_555","col-xl-11":"_col-xl-11_6ruyw_561","col-xl-12":"_col-xl-12_6ruyw_567","col-xl-full":"_col-xl-full_6ruyw_568","col-xl-auto":"_col-xl-auto_6ruyw_574","col-xl-grow":"_col-xl-grow_6ruyw_578","offset-1":"_offset-1_6ruyw_583","offset-2":"_offset-2_6ruyw_587","offset-3":"_offset-3_6ruyw_593","offset-quarter":"_offset-quarter_6ruyw_594","offset-4":"_offset-4_6ruyw_600","offset-third":"_offset-third_6ruyw_601","offset-5":"_offset-5_6ruyw_607","offset-6":"_offset-6_6ruyw_613","offset-half":"_offset-half_6ruyw_614","offset-7":"_offset-7_6ruyw_620","offset-8":"_offset-8_6ruyw_626","offset-9":"_offset-9_6ruyw_632","offset-10":"_offset-10_6ruyw_638","offset-11":"_offset-11_6ruyw_644","offset-auto":"_offset-auto_6ruyw_650","offset-xs-1":"_offset-xs-1_6ruyw_655","offset-xs-2":"_offset-xs-2_6ruyw_661","offset-xs-3":"_offset-xs-3_6ruyw_667","offset-xs-quarter":"_offset-xs-quarter_6ruyw_668","offset-xs-4":"_offset-xs-4_6ruyw_674","offset-xs-third":"_offset-xs-third_6ruyw_675","offset-xs-5":"_offset-xs-5_6ruyw_681","offset-xs-6":"_offset-xs-6_6ruyw_687","offset-xs-half":"_offset-xs-half_6ruyw_688","offset-xs-7":"_offset-xs-7_6ruyw_694","offset-xs-8":"_offset-xs-8_6ruyw_700","offset-xs-9":"_offset-xs-9_6ruyw_706","offset-xs-10":"_offset-xs-10_6ruyw_712","offset-xs-11":"_offset-xs-11_6ruyw_718","offset-xs-auto":"_offset-xs-auto_6ruyw_724","offset-sm-1":"_offset-sm-1_6ruyw_730","offset-sm-2":"_offset-sm-2_6ruyw_736","offset-sm-3":"_offset-sm-3_6ruyw_742","offset-sm-quarter":"_offset-sm-quarter_6ruyw_743","offset-sm-4":"_offset-sm-4_6ruyw_749","offset-sm-third":"_offset-sm-third_6ruyw_750","offset-sm-5":"_offset-sm-5_6ruyw_756","offset-sm-6":"_offset-sm-6_6ruyw_762","offset-sm-half":"_offset-sm-half_6ruyw_763","offset-sm-7":"_offset-sm-7_6ruyw_769","offset-sm-8":"_offset-sm-8_6ruyw_775","offset-sm-9":"_offset-sm-9_6ruyw_781","offset-sm-10":"_offset-sm-10_6ruyw_787","offset-sm-11":"_offset-sm-11_6ruyw_793","offset-sm-auto":"_offset-sm-auto_6ruyw_799","offset-md-1":"_offset-md-1_6ruyw_805","offset-md-2":"_offset-md-2_6ruyw_811","offset-md-3":"_offset-md-3_6ruyw_817","offset-md-quarter":"_offset-md-quarter_6ruyw_818","offset-md-4":"_offset-md-4_6ruyw_824","offset-md-third":"_offset-md-third_6ruyw_825","offset-md-5":"_offset-md-5_6ruyw_831","offset-md-6":"_offset-md-6_6ruyw_837","offset-md-half":"_offset-md-half_6ruyw_838","offset-md-7":"_offset-md-7_6ruyw_844","offset-md-8":"_offset-md-8_6ruyw_850","offset-md-9":"_offset-md-9_6ruyw_856","offset-md-10":"_offset-md-10_6ruyw_862","offset-md-11":"_offset-md-11_6ruyw_868","offset-md-auto":"_offset-md-auto_6ruyw_874","offset-lg-1":"_offset-lg-1_6ruyw_880","offset-lg-2":"_offset-lg-2_6ruyw_886","offset-lg-3":"_offset-lg-3_6ruyw_892","offset-lg-quarter":"_offset-lg-quarter_6ruyw_893","offset-lg-4":"_offset-lg-4_6ruyw_899","offset-lg-third":"_offset-lg-third_6ruyw_900","offset-lg-5":"_offset-lg-5_6ruyw_906","offset-lg-6":"_offset-lg-6_6ruyw_912","offset-lg-half":"_offset-lg-half_6ruyw_913","offset-lg-7":"_offset-lg-7_6ruyw_919","offset-lg-8":"_offset-lg-8_6ruyw_925","offset-lg-9":"_offset-lg-9_6ruyw_931","offset-lg-10":"_offset-lg-10_6ruyw_937","offset-lg-11":"_offset-lg-11_6ruyw_943","offset-lg-auto":"_offset-lg-auto_6ruyw_949","offset-xl-1":"_offset-xl-1_6ruyw_955","offset-xl-2":"_offset-xl-2_6ruyw_961","offset-xl-3":"_offset-xl-3_6ruyw_967","offset-xl-quarter":"_offset-xl-quarter_6ruyw_968","offset-xl-4":"_offset-xl-4_6ruyw_974","offset-xl-third":"_offset-xl-third_6ruyw_975","offset-xl-5":"_offset-xl-5_6ruyw_981","offset-xl-6":"_offset-xl-6_6ruyw_987","offset-xl-half":"_offset-xl-half_6ruyw_988","offset-xl-7":"_offset-xl-7_6ruyw_994","offset-xl-8":"_offset-xl-8_6ruyw_1000","offset-xl-9":"_offset-xl-9_6ruyw_1006","offset-xl-10":"_offset-xl-10_6ruyw_1012","offset-xl-11":"_offset-xl-11_6ruyw_1018","offset-xl-auto":"_offset-xl-auto_6ruyw_1024"},h=({children:_,size:l,offset:o,...r})=>{const t=o?`offset-${o}`:"",u=n(l),e=q(o);return c.jsx("div",{...r,className:w.clsx(f.col,f[t],u.map(s=>f[s]),e.map(s=>f[s]),r.className),children:_})},n=_=>_?typeof _=="object"?Object.entries(_).map(([l,o])=>l==="xs"?`col-${o}`:`col-${l}-${o}`):[`col-${_}`]:[],q=_=>_?typeof _=="object"?Object.entries(_).map(([l,o])=>l==="xs"?`offset-${o}`:`offset-${l}-${o}`):[`offset-${_}`]:[];exports.GridItem=h;exports.styles=f;
|
package/GridItem-D3FZyyO-.js
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import './assets/GridItem.css';const y = '"../theme/breakpoints.css"', m = "_container_6ruyw_4", x = "_removeMargins_6ruyw_16", d = "_contained_6ruyw_20", a = "_flex_6ruyw_26", g = "_fluid_6ruyw_55", i = "_col_6ruyw_61", f = {
|
|
4
|
-
breakpoints: y,
|
|
5
|
-
"--midas-breakpoints-xs": "(max-width: calc(480px - 1px))",
|
|
6
|
-
"--midas-breakpoints-sm": "(min-width: 480px)",
|
|
7
|
-
"--midas-breakpoints-md": "(min-width: 768px)",
|
|
8
|
-
"--midas-breakpoints-lg": "(min-width: 1024px)",
|
|
9
|
-
"--midas-breakpoints-xl": "(min-width: 1280px)",
|
|
10
|
-
container: m,
|
|
11
|
-
removeMargins: x,
|
|
12
|
-
contained: d,
|
|
13
|
-
flex: a,
|
|
14
|
-
fluid: g,
|
|
15
|
-
col: i,
|
|
16
|
-
"col-1": "_col-1_6ruyw_69",
|
|
17
|
-
"col-2": "_col-2_6ruyw_73",
|
|
18
|
-
"col-3": "_col-3_6ruyw_79",
|
|
19
|
-
"col-quarter": "_col-quarter_6ruyw_80",
|
|
20
|
-
"col-4": "_col-4_6ruyw_86",
|
|
21
|
-
"col-third": "_col-third_6ruyw_87",
|
|
22
|
-
"col-5": "_col-5_6ruyw_93",
|
|
23
|
-
"col-6": "_col-6_6ruyw_99",
|
|
24
|
-
"col-half": "_col-half_6ruyw_100",
|
|
25
|
-
"col-7": "_col-7_6ruyw_106",
|
|
26
|
-
"col-8": "_col-8_6ruyw_112",
|
|
27
|
-
"col-9": "_col-9_6ruyw_118",
|
|
28
|
-
"col-10": "_col-10_6ruyw_124",
|
|
29
|
-
"col-11": "_col-11_6ruyw_130",
|
|
30
|
-
"col-12": "_col-12_6ruyw_136",
|
|
31
|
-
"col-full": "_col-full_6ruyw_137",
|
|
32
|
-
"col-auto": "_col-auto_6ruyw_143",
|
|
33
|
-
"col-grow": "_col-grow_6ruyw_147",
|
|
34
|
-
"col-xs-1": "_col-xs-1_6ruyw_152",
|
|
35
|
-
"col-xs-2": "_col-xs-2_6ruyw_158",
|
|
36
|
-
"col-xs-3": "_col-xs-3_6ruyw_164",
|
|
37
|
-
"col-xs-quarter": "_col-xs-quarter_6ruyw_165",
|
|
38
|
-
"col-xs-4": "_col-xs-4_6ruyw_171",
|
|
39
|
-
"col-xs-third": "_col-xs-third_6ruyw_172",
|
|
40
|
-
"col-xs-5": "_col-xs-5_6ruyw_178",
|
|
41
|
-
"col-xs-6": "_col-xs-6_6ruyw_184",
|
|
42
|
-
"col-xs-half": "_col-xs-half_6ruyw_185",
|
|
43
|
-
"col-xs-7": "_col-xs-7_6ruyw_191",
|
|
44
|
-
"col-xs-8": "_col-xs-8_6ruyw_197",
|
|
45
|
-
"col-xs-9": "_col-xs-9_6ruyw_203",
|
|
46
|
-
"col-xs-10": "_col-xs-10_6ruyw_209",
|
|
47
|
-
"col-xs-11": "_col-xs-11_6ruyw_215",
|
|
48
|
-
"col-xs-12": "_col-xs-12_6ruyw_221",
|
|
49
|
-
"col-xs-full": "_col-xs-full_6ruyw_222",
|
|
50
|
-
"col-xs-auto": "_col-xs-auto_6ruyw_228",
|
|
51
|
-
"col-xs-grow": "_col-xs-grow_6ruyw_233",
|
|
52
|
-
"col-sm-1": "_col-sm-1_6ruyw_239",
|
|
53
|
-
"col-sm-2": "_col-sm-2_6ruyw_245",
|
|
54
|
-
"col-sm-3": "_col-sm-3_6ruyw_251",
|
|
55
|
-
"col-sm-quarter": "_col-sm-quarter_6ruyw_252",
|
|
56
|
-
"col-sm-4": "_col-sm-4_6ruyw_258",
|
|
57
|
-
"col-sm-third": "_col-sm-third_6ruyw_259",
|
|
58
|
-
"col-sm-5": "_col-sm-5_6ruyw_265",
|
|
59
|
-
"col-sm-6": "_col-sm-6_6ruyw_271",
|
|
60
|
-
"col-sm-half": "_col-sm-half_6ruyw_272",
|
|
61
|
-
"col-sm-7": "_col-sm-7_6ruyw_278",
|
|
62
|
-
"col-sm-8": "_col-sm-8_6ruyw_284",
|
|
63
|
-
"col-sm-9": "_col-sm-9_6ruyw_290",
|
|
64
|
-
"col-sm-10": "_col-sm-10_6ruyw_296",
|
|
65
|
-
"col-sm-11": "_col-sm-11_6ruyw_302",
|
|
66
|
-
"col-sm-12": "_col-sm-12_6ruyw_308",
|
|
67
|
-
"col-sm-full": "_col-sm-full_6ruyw_309",
|
|
68
|
-
"col-sm-auto": "_col-sm-auto_6ruyw_315",
|
|
69
|
-
"col-sm-grow": "_col-sm-grow_6ruyw_320",
|
|
70
|
-
"col-md-1": "_col-md-1_6ruyw_326",
|
|
71
|
-
"col-md-2": "_col-md-2_6ruyw_332",
|
|
72
|
-
"col-md-3": "_col-md-3_6ruyw_338",
|
|
73
|
-
"col-md-quarter": "_col-md-quarter_6ruyw_339",
|
|
74
|
-
"col-md-4": "_col-md-4_6ruyw_345",
|
|
75
|
-
"col-md-third": "_col-md-third_6ruyw_346",
|
|
76
|
-
"col-md-5": "_col-md-5_6ruyw_352",
|
|
77
|
-
"col-md-6": "_col-md-6_6ruyw_358",
|
|
78
|
-
"col-md-half": "_col-md-half_6ruyw_359",
|
|
79
|
-
"col-md-7": "_col-md-7_6ruyw_365",
|
|
80
|
-
"col-md-8": "_col-md-8_6ruyw_371",
|
|
81
|
-
"col-md-9": "_col-md-9_6ruyw_377",
|
|
82
|
-
"col-md-10": "_col-md-10_6ruyw_383",
|
|
83
|
-
"col-md-11": "_col-md-11_6ruyw_389",
|
|
84
|
-
"col-md-12": "_col-md-12_6ruyw_395",
|
|
85
|
-
"col-md-full": "_col-md-full_6ruyw_396",
|
|
86
|
-
"col-md-auto": "_col-md-auto_6ruyw_402",
|
|
87
|
-
"col-md-grow": "_col-md-grow_6ruyw_406",
|
|
88
|
-
"col-lg-1": "_col-lg-1_6ruyw_412",
|
|
89
|
-
"col-lg-2": "_col-lg-2_6ruyw_418",
|
|
90
|
-
"col-lg-3": "_col-lg-3_6ruyw_424",
|
|
91
|
-
"col-lg-quarter": "_col-lg-quarter_6ruyw_425",
|
|
92
|
-
"col-lg-4": "_col-lg-4_6ruyw_431",
|
|
93
|
-
"col-lg-third": "_col-lg-third_6ruyw_432",
|
|
94
|
-
"col-lg-5": "_col-lg-5_6ruyw_438",
|
|
95
|
-
"col-lg-6": "_col-lg-6_6ruyw_444",
|
|
96
|
-
"col-lg-half": "_col-lg-half_6ruyw_445",
|
|
97
|
-
"col-lg-7": "_col-lg-7_6ruyw_451",
|
|
98
|
-
"col-lg-8": "_col-lg-8_6ruyw_457",
|
|
99
|
-
"col-lg-9": "_col-lg-9_6ruyw_463",
|
|
100
|
-
"col-lg-10": "_col-lg-10_6ruyw_469",
|
|
101
|
-
"col-lg-11": "_col-lg-11_6ruyw_475",
|
|
102
|
-
"col-lg-12": "_col-lg-12_6ruyw_481",
|
|
103
|
-
"col-lg-full": "_col-lg-full_6ruyw_482",
|
|
104
|
-
"col-lg-auto": "_col-lg-auto_6ruyw_488",
|
|
105
|
-
"col-lg-grow": "_col-lg-grow_6ruyw_492",
|
|
106
|
-
"col-xl-1": "_col-xl-1_6ruyw_498",
|
|
107
|
-
"col-xl-2": "_col-xl-2_6ruyw_504",
|
|
108
|
-
"col-xl-3": "_col-xl-3_6ruyw_510",
|
|
109
|
-
"col-xl-quarter": "_col-xl-quarter_6ruyw_511",
|
|
110
|
-
"col-xl-4": "_col-xl-4_6ruyw_517",
|
|
111
|
-
"col-xl-third": "_col-xl-third_6ruyw_518",
|
|
112
|
-
"col-xl-5": "_col-xl-5_6ruyw_524",
|
|
113
|
-
"col-xl-6": "_col-xl-6_6ruyw_530",
|
|
114
|
-
"col-xl-half": "_col-xl-half_6ruyw_531",
|
|
115
|
-
"col-xl-7": "_col-xl-7_6ruyw_537",
|
|
116
|
-
"col-xl-8": "_col-xl-8_6ruyw_543",
|
|
117
|
-
"col-xl-9": "_col-xl-9_6ruyw_549",
|
|
118
|
-
"col-xl-10": "_col-xl-10_6ruyw_555",
|
|
119
|
-
"col-xl-11": "_col-xl-11_6ruyw_561",
|
|
120
|
-
"col-xl-12": "_col-xl-12_6ruyw_567",
|
|
121
|
-
"col-xl-full": "_col-xl-full_6ruyw_568",
|
|
122
|
-
"col-xl-auto": "_col-xl-auto_6ruyw_574",
|
|
123
|
-
"col-xl-grow": "_col-xl-grow_6ruyw_578",
|
|
124
|
-
"offset-1": "_offset-1_6ruyw_583",
|
|
125
|
-
"offset-2": "_offset-2_6ruyw_587",
|
|
126
|
-
"offset-3": "_offset-3_6ruyw_593",
|
|
127
|
-
"offset-quarter": "_offset-quarter_6ruyw_594",
|
|
128
|
-
"offset-4": "_offset-4_6ruyw_600",
|
|
129
|
-
"offset-third": "_offset-third_6ruyw_601",
|
|
130
|
-
"offset-5": "_offset-5_6ruyw_607",
|
|
131
|
-
"offset-6": "_offset-6_6ruyw_613",
|
|
132
|
-
"offset-half": "_offset-half_6ruyw_614",
|
|
133
|
-
"offset-7": "_offset-7_6ruyw_620",
|
|
134
|
-
"offset-8": "_offset-8_6ruyw_626",
|
|
135
|
-
"offset-9": "_offset-9_6ruyw_632",
|
|
136
|
-
"offset-10": "_offset-10_6ruyw_638",
|
|
137
|
-
"offset-11": "_offset-11_6ruyw_644",
|
|
138
|
-
"offset-auto": "_offset-auto_6ruyw_650",
|
|
139
|
-
"offset-xs-1": "_offset-xs-1_6ruyw_655",
|
|
140
|
-
"offset-xs-2": "_offset-xs-2_6ruyw_661",
|
|
141
|
-
"offset-xs-3": "_offset-xs-3_6ruyw_667",
|
|
142
|
-
"offset-xs-quarter": "_offset-xs-quarter_6ruyw_668",
|
|
143
|
-
"offset-xs-4": "_offset-xs-4_6ruyw_674",
|
|
144
|
-
"offset-xs-third": "_offset-xs-third_6ruyw_675",
|
|
145
|
-
"offset-xs-5": "_offset-xs-5_6ruyw_681",
|
|
146
|
-
"offset-xs-6": "_offset-xs-6_6ruyw_687",
|
|
147
|
-
"offset-xs-half": "_offset-xs-half_6ruyw_688",
|
|
148
|
-
"offset-xs-7": "_offset-xs-7_6ruyw_694",
|
|
149
|
-
"offset-xs-8": "_offset-xs-8_6ruyw_700",
|
|
150
|
-
"offset-xs-9": "_offset-xs-9_6ruyw_706",
|
|
151
|
-
"offset-xs-10": "_offset-xs-10_6ruyw_712",
|
|
152
|
-
"offset-xs-11": "_offset-xs-11_6ruyw_718",
|
|
153
|
-
"offset-xs-auto": "_offset-xs-auto_6ruyw_724",
|
|
154
|
-
"offset-sm-1": "_offset-sm-1_6ruyw_730",
|
|
155
|
-
"offset-sm-2": "_offset-sm-2_6ruyw_736",
|
|
156
|
-
"offset-sm-3": "_offset-sm-3_6ruyw_742",
|
|
157
|
-
"offset-sm-quarter": "_offset-sm-quarter_6ruyw_743",
|
|
158
|
-
"offset-sm-4": "_offset-sm-4_6ruyw_749",
|
|
159
|
-
"offset-sm-third": "_offset-sm-third_6ruyw_750",
|
|
160
|
-
"offset-sm-5": "_offset-sm-5_6ruyw_756",
|
|
161
|
-
"offset-sm-6": "_offset-sm-6_6ruyw_762",
|
|
162
|
-
"offset-sm-half": "_offset-sm-half_6ruyw_763",
|
|
163
|
-
"offset-sm-7": "_offset-sm-7_6ruyw_769",
|
|
164
|
-
"offset-sm-8": "_offset-sm-8_6ruyw_775",
|
|
165
|
-
"offset-sm-9": "_offset-sm-9_6ruyw_781",
|
|
166
|
-
"offset-sm-10": "_offset-sm-10_6ruyw_787",
|
|
167
|
-
"offset-sm-11": "_offset-sm-11_6ruyw_793",
|
|
168
|
-
"offset-sm-auto": "_offset-sm-auto_6ruyw_799",
|
|
169
|
-
"offset-md-1": "_offset-md-1_6ruyw_805",
|
|
170
|
-
"offset-md-2": "_offset-md-2_6ruyw_811",
|
|
171
|
-
"offset-md-3": "_offset-md-3_6ruyw_817",
|
|
172
|
-
"offset-md-quarter": "_offset-md-quarter_6ruyw_818",
|
|
173
|
-
"offset-md-4": "_offset-md-4_6ruyw_824",
|
|
174
|
-
"offset-md-third": "_offset-md-third_6ruyw_825",
|
|
175
|
-
"offset-md-5": "_offset-md-5_6ruyw_831",
|
|
176
|
-
"offset-md-6": "_offset-md-6_6ruyw_837",
|
|
177
|
-
"offset-md-half": "_offset-md-half_6ruyw_838",
|
|
178
|
-
"offset-md-7": "_offset-md-7_6ruyw_844",
|
|
179
|
-
"offset-md-8": "_offset-md-8_6ruyw_850",
|
|
180
|
-
"offset-md-9": "_offset-md-9_6ruyw_856",
|
|
181
|
-
"offset-md-10": "_offset-md-10_6ruyw_862",
|
|
182
|
-
"offset-md-11": "_offset-md-11_6ruyw_868",
|
|
183
|
-
"offset-md-auto": "_offset-md-auto_6ruyw_874",
|
|
184
|
-
"offset-lg-1": "_offset-lg-1_6ruyw_880",
|
|
185
|
-
"offset-lg-2": "_offset-lg-2_6ruyw_886",
|
|
186
|
-
"offset-lg-3": "_offset-lg-3_6ruyw_892",
|
|
187
|
-
"offset-lg-quarter": "_offset-lg-quarter_6ruyw_893",
|
|
188
|
-
"offset-lg-4": "_offset-lg-4_6ruyw_899",
|
|
189
|
-
"offset-lg-third": "_offset-lg-third_6ruyw_900",
|
|
190
|
-
"offset-lg-5": "_offset-lg-5_6ruyw_906",
|
|
191
|
-
"offset-lg-6": "_offset-lg-6_6ruyw_912",
|
|
192
|
-
"offset-lg-half": "_offset-lg-half_6ruyw_913",
|
|
193
|
-
"offset-lg-7": "_offset-lg-7_6ruyw_919",
|
|
194
|
-
"offset-lg-8": "_offset-lg-8_6ruyw_925",
|
|
195
|
-
"offset-lg-9": "_offset-lg-9_6ruyw_931",
|
|
196
|
-
"offset-lg-10": "_offset-lg-10_6ruyw_937",
|
|
197
|
-
"offset-lg-11": "_offset-lg-11_6ruyw_943",
|
|
198
|
-
"offset-lg-auto": "_offset-lg-auto_6ruyw_949",
|
|
199
|
-
"offset-xl-1": "_offset-xl-1_6ruyw_955",
|
|
200
|
-
"offset-xl-2": "_offset-xl-2_6ruyw_961",
|
|
201
|
-
"offset-xl-3": "_offset-xl-3_6ruyw_967",
|
|
202
|
-
"offset-xl-quarter": "_offset-xl-quarter_6ruyw_968",
|
|
203
|
-
"offset-xl-4": "_offset-xl-4_6ruyw_974",
|
|
204
|
-
"offset-xl-third": "_offset-xl-third_6ruyw_975",
|
|
205
|
-
"offset-xl-5": "_offset-xl-5_6ruyw_981",
|
|
206
|
-
"offset-xl-6": "_offset-xl-6_6ruyw_987",
|
|
207
|
-
"offset-xl-half": "_offset-xl-half_6ruyw_988",
|
|
208
|
-
"offset-xl-7": "_offset-xl-7_6ruyw_994",
|
|
209
|
-
"offset-xl-8": "_offset-xl-8_6ruyw_1000",
|
|
210
|
-
"offset-xl-9": "_offset-xl-9_6ruyw_1006",
|
|
211
|
-
"offset-xl-10": "_offset-xl-10_6ruyw_1012",
|
|
212
|
-
"offset-xl-11": "_offset-xl-11_6ruyw_1018",
|
|
213
|
-
"offset-xl-auto": "_offset-xl-auto_6ruyw_1024"
|
|
214
|
-
}, b = ({
|
|
215
|
-
children: _,
|
|
216
|
-
size: l,
|
|
217
|
-
offset: o,
|
|
218
|
-
...r
|
|
219
|
-
}) => {
|
|
220
|
-
const t = o ? `offset-${o}` : "", u = h(l), c = n(o);
|
|
221
|
-
return /* @__PURE__ */ e(
|
|
222
|
-
"div",
|
|
223
|
-
{
|
|
224
|
-
...r,
|
|
225
|
-
className: w(
|
|
226
|
-
f.col,
|
|
227
|
-
f[t],
|
|
228
|
-
u.map((s) => f[s]),
|
|
229
|
-
c.map((s) => f[s]),
|
|
230
|
-
r.className
|
|
231
|
-
),
|
|
232
|
-
children: _
|
|
233
|
-
}
|
|
234
|
-
);
|
|
235
|
-
}, h = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
|
|
236
|
-
([l, o]) => l === "xs" ? `col-${o}` : `col-${l}-${o}`
|
|
237
|
-
) : [`col-${_}`] : [], n = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
|
|
238
|
-
([l, o]) => l === "xs" ? `offset-${o}` : `offset-${l}-${o}`
|
|
239
|
-
) : [`offset-${_}`] : [];
|
|
240
|
-
export {
|
|
241
|
-
b as G,
|
|
242
|
-
f as s
|
|
243
|
-
};
|
package/Link-Bx6avHVl.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),w=require("./Link-wM7cVPlS.cjs"),x=require("./clsx-C11secjj.cjs"),k=require("./createLucideIcon-CTVXwe6i.cjs"),j=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),f=require("./arrow-right-BGd86zzR.cjs");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const q=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],p=k.createLucideIcon("arrow-down-to-line",q),L="_link_1177w_4",m="_icon_1177w_50",R="_standalone_1177w_54",g="_stretched_1177w_71",t={link:L,icon:m,standalone:R,stretched:g},y=({children:o,standalone:r,target:c,stretched:i,download:a,icon:s,className:u,as:d,...l})=>{const _=d||w.$4f118338184dc1d9$export$a6c7ac8248d6e38a,h=({...e})=>s?n.jsx(s,{...e}):a?n.jsx(p,{...e}):c==="_blank"?n.jsx(j.SquareArrowOutUpRight,{...e}):r?n.jsx(f.ArrowRight,{...e}):null;return n.jsx(_,{className:x.clsx(t.link,r&&t.standalone,i&&t.stretched,u),...l,target:c,children:n.jsxs(n.Fragment,{children:[o,n.jsx(h,{size:16,className:t.icon})]})})};exports.Link=y;
|
package/LinkButton-BvXu6vAH.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),w=require("./Link-wM7cVPlS.cjs"),f=require("./clsx-C11secjj.cjs"),y=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),x=require("./createLucideIcon-CTVXwe6i.cjs"),g=require("./arrow-right-BGd86zzR.cjs");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const h=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],k=x.createLucideIcon("arrow-left",h),B="_linkButton_11cmw_4",L="_secondary_11cmw_55",q="_icon_11cmw_60",j="_tertiary_11cmw_85",p="_danger_11cmw_102",R="_iconBtn_11cmw_119",A="_medium_11cmw_141",N="_iconLeft_11cmw_146",$="_fullwidth_11cmw_150",t={linkButton:B,secondary:L,icon:q,tertiary:j,danger:p,iconBtn:R,medium:A,iconLeft:N,fullwidth:$},z=({children:i,variant:c,fullwidth:s,icon:r,iconPlacement:o,className:u,as:_,size:d="large",...a})=>{const l=_||w.$4f118338184dc1d9$export$a6c7ac8248d6e38a,m=({...e})=>r?n.jsx(r,{...e}):e.target==="_blank"?n.jsx(y.SquareArrowOutUpRight,{...e}):o==="left"?n.jsx(k,{...e}):n.jsx(g.ArrowRight,{...e});return n.jsxs(l,{className:f.clsx(t.linkButton,c==="primary"&&t.primary,c==="secondary"&&t.secondary,c==="tertiary"&&t.tertiary,c==="danger"&&t.danger,c==="icon"&&t.iconBtn,d==="medium"&&t.medium,s&&t.fullwidth,o==="left"&&t.iconLeft,u),...a,children:[i,n.jsx(m,{size:20,className:t.icon})]})};exports.LinkButton=z;
|
package/Select-BnbDXwgD.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Select.css');const l=require("react/jsx-runtime"),g=require("react"),B=require("./clsx-C11secjj.cjs"),z=require("./utils-CMHKYKlz.cjs"),S=require("./Tag-7dHEMQum.cjs"),R=require("./TextField-Bm5916AD.cjs"),H=require("./Collection-BvWp2xBd.cjs"),I=require("./Checkbox-CvdIG43J.cjs"),v=require("./ListBoxSection-Dx75ZinL.cjs"),G=require("./check-B0aKTFe5.cjs"),W=require("./useHover-DGAmG7jt.cjs"),M=require("./Dialog-DR6nEqMT.cjs"),P=require("./ListKeyboardDelegate-C_X1wLkh.cjs"),U=require("./SelectionManager-BtbHoHpA.cjs"),$=require("./mergeProps-JhcJ7uJL.cjs"),X=require("./filterDOMProps-RRlKPKX0.cjs"),J=require("./useField-DyeD7MLj.cjs"),C=require("./useFormValidation-BQIRxgbU.cjs"),Q=require("./useListState-D2IEg6_e.cjs"),Y=require("./useObserveElement-MhzEsCkX.cjs"),Z=require("./VisuallyHidden-EjrqodVh.cjs"),V=require("./Label-C00qz3kQ.cjs"),ee=require("./Text-BAFsaON-.cjs"),te=require("./x-rV-nu490.cjs"),N=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),le=require("./useButton-R8-i3HLC.cjs"),ne=require("./chevron-down-5hFlg_lR.cjs"),k=require("./FieldError-Cornph2A.cjs");function ie(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const F=ie(g);function A(e){return null}A.getCollectionNode=function*(t,r){let{childItems:o,title:i,children:s}=t,n=t.title||t.children,a=t.textValue||(typeof n=="string"?n:"")||t["aria-label"]||"";!a&&!(r!=null&&r.suppressTextValueWarning)&&process.env.NODE_ENV!=="production"&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:n,textValue:a,"aria-label":t["aria-label"],hasChildNodes:re(t),*childNodes(){if(o)for(let c of o)yield{type:"item",value:c};else if(i){let c=[];g.Children.forEach(s,u=>{c.push({type:"item",element:u})}),yield*c}}}};function re(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&g.Children.count(e.children)>0)}let w=A;function D(e){return null}D.getCollectionNode=function*(t){let{children:r,title:o,items:i}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:o,"aria-label":t["aria-label"],*childNodes(){if(typeof r=="function"){if(!i)throw new Error("props.children was a function but props.items is missing");for(let s of i)yield{type:"item",value:s,renderer:r}}else{let s=[];g.Children.forEach(r,n=>{s.push({type:"item",element:n})}),yield*s}}}};let oe=D;const se="_wrapper_1ijiv_10",ce="_trigger_1ijiv_21",ae="_medium_1ijiv_35",de="_icon_1ijiv_71",ue="_tagGroup_1ijiv_77",fe="_listBoxItemCheckmark_1ijiv_93",be="_triggerContainer_1ijiv_98",he="_selectValueTag_1ijiv_104",ge="_clearButton_1ijiv_120",xe="_truncate_1ijiv_132",me="_checkboxContainer_1ijiv_169",ye="_selectAll_1ijiv_175",h={wrapper:se,trigger:ce,medium:ae,icon:de,tagGroup:ue,listBoxItemCheckmark:fe,triggerContainer:be,selectValueTag:he,clearButton:ge,truncate:xe,checkboxContainer:me,selectAll:ye},T=({item:e})=>l.jsx(v.ListBoxItem,{...e.value,textValue:e.textValue,"aria-label":e.textValue,children:({isDisabled:t,isSelected:r,selectionMode:o})=>l.jsxs(l.Fragment,{children:[o==="multiple"?l.jsx("div",{className:h.checkboxContainer,"aria-hidden":!0,children:l.jsx(I.Checkbox,{isDisabled:t,isSelected:r,isReadOnly:!0,excludeFromTabOrder:!0,"aria-label":e.textValue})}):null,e.rendered,r&&o==="single"?l.jsx(G.Check,{size:20,className:h.listBoxItemCheckmark}):null]})}),pe=({section:e,state:t})=>l.jsx(v.ListBoxSection,{...e.value,children:t.collection.getChildren?l.jsx(H.$e1995378a142960e$export$fb8073518f34e6ec,{items:t.collection.getChildren(e.key),children:r=>l.jsx(T,{item:r})}):null}),$e=({state:e,...t})=>l.jsx(v.ListBox,{...t,...e,escapeKeyBehavior:"none",onSelectionChange:e.setSelectedKeys,items:e.collection,children:r=>r.type==="section"?l.jsx(pe,{state:e,section:r}):l.jsx(T,{item:r})});function ve(e,t,r){const{disallowEmptySelection:o,isDisabled:i}=e,s=P.$325a3faab7a68acd$export$a16aca283550c30d({usage:"search",sensitivity:"base"}),n=g.useMemo(()=>new P.$2a25aae57d74318e$export$a05409b8bb224a5a(t.collection,t.disabledKeys,null,s),[t.collection,t.disabledKeys,s]),{menuTriggerProps:a,menuProps:c}=M.$168583247155ddda$export$dc9c12ed27dd1b49({isDisabled:i,type:"listbox"},t,r),u=f=>{const{selectedKeys:j,selectionMode:E}=t,K=j.values().next().value;if(E==="single")switch(f.key){case"ArrowLeft":{f.preventDefault();const p=j.size>0?n.getKeyAbove(K):n.getFirstKey();p&&t.setSelectedKeys([p]);break}case"ArrowRight":{f.preventDefault();const p=j.size>0?n.getKeyBelow(K):n.getFirstKey();p&&t.setSelectedKeys([p]);break}}},{typeSelectProps:d}=U.$fb3050f43d946246$export$e32c88dfddc6e1d8({keyboardDelegate:n,selectionManager:t.selectionManager,onTypeSelect(f){t.setSelectedKeys([f])}}),{labelProps:y,fieldProps:x}=J.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,labelElementType:"span"});d.onKeyDown=d.onKeyDownCapture,delete d.onKeyDownCapture;const b=X.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0}),m=$.$3ef42575df84b30b$export$9d1611c77c2fe928(d,a,x),_=$.$bdb11010cef70236$export$f680877a34711e37();return{labelProps:{...y,onClick:()=>{var f;e.isDisabled||((f=r.current)==null||f.focus(),W.$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard"))}},triggerProps:$.$3ef42575df84b30b$export$9d1611c77c2fe928(b,{...m,onKeyDown:$.$ff5963eb1fccf552$export$e08e3b67e392101e(m.onKeyDown,u,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[m["aria-labelledby"],m["aria-label"]&&!m["aria-labelledby"]?m.id:null,_].filter(Boolean).join(" "),onFocus(f){t.isFocused||(e.onFocus&&e.onFocus(f),t.setFocused(!0))},onBlur(f){t.isOpen||(e.onBlur&&e.onBlur(f),t.setFocused(!1))}}),valueProps:{id:_},menuProps:{...c,disallowEmptySelection:o,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:f=>{f.currentTarget.contains(f.relatedTarget)||(e.onBlur&&e.onBlur(f),t.setFocused(!1))},"aria-labelledby":[x["aria-labelledby"],m["aria-label"]&&!x["aria-labelledby"]?m.id:null].filter(Boolean).join(" ")}}}function je(e){const{collection:t,disabledKeys:r,selectionManager:o,selectionManager:{setSelectedKeys:i,selectedKeys:s,selectionMode:n}}=Q.$e72dd72e1c76a225$export$2f645645f7bca764(e),a=[],c=s.size!==0?Array.from(s).map(u=>{const d=t.getItem(u);return d||a.push(u),d}).filter(Boolean):null;return a.length&&console.warn(`Select: Keys "${a.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:r,selectionManager:o,selectionMode:n,selectedKeys:s,setSelectedKeys:i.bind(o),selectedItems:c}}function Se(e){const[t,r]=g.useState(!1),o=M.$a28c903ee9ad8dc5$export$79fefeb1c2091ac3(e),i=e.selectionMode==="single",s=je({...e,onSelectionChange:d=>{e.onSelectionChange&&e.onSelectionChange(d),i&&o.close()}}),n=C.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,validationBehavior:"native",value:s.selectedKeys}),a=s.collection.size===0,c=!!s.selectedKeys.size,u=g.useCallback(()=>{n.resetValidation(),n.commitValidation()},[n]);return g.useEffect(()=>{i&&c&&u()},[c,i,u]),{...s,...o,close(){o.close(),c&&u()},open(){a||o.open()},toggle(d){a||o.toggle(d)},isFocused:t,setFocused:r,...n}}function Ce({autoComplete:e,name:t,isDisabled:r,isRequired:o,selectRef:i},s,n){const{visuallyHiddenProps:a}=Z.$5c3e21d68f1c4674$export$a966af930f325cab();return C.$99facab73266f662$export$5add1d006293d136(i,s.selectedKeys,s.setSelectedKeys),C.$e93e671b31057976$export$b8473d3665f3a75a({validationBehavior:"native",focus:()=>{var c;return(c=n.current)==null?void 0:c.focus()}},s,i),{containerProps:{...a,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:r,required:o,name:t,value:Array.from(s.selectedKeys).map(c=>c.toString()),onChange:c=>s.setSelectedKeys(c.target.value),multiple:!0}}}function _e(e){const{state:t,triggerRef:r,name:o,isDisabled:i}=e,s=`${e.label}-hidden`,n=g.useRef(null),{containerProps:a,selectProps:c}=Ce({...e,selectRef:n},t,r);return t.collection.size<=300?l.jsx("div",{...a,"data-testid":"hidden-select-container",children:l.jsxs("label",{children:[s,l.jsxs("select",{...c,ref:n,children:[l.jsx("option",{}),[...t.collection.getKeys()].map(u=>{const d=t.collection.getItem(u);return d&&d.type==="item"?l.jsx("option",{value:d.key,children:d.textValue},d.key):null})]})]})}):o?l.jsx("input",{type:"hidden",autoComplete:c.autoComplete,name:o,disabled:i,value:Array.from(t.selectedKeys).map(u=>u.toString())??[""]}):null}const Ke={clearAll:"Clear all",selectAll:"Select all",selectedItems:"Selected items",chosen:"chosen"},Pe={clearAll:"Rensa alla",selectAll:"Välj alla",selectedItems:"Valda objekt",chosen:"valda"},O={en:Ke,sv:Pe},Ve=({state:{selectedItems:e},isDisabled:t,parentWidth:r,onClear:o,triggerRef:i,isClearable:s})=>{const n=N.useLocalizedStringFormatter(O);return l.jsxs("div",{className:h.selectValueTag,"data-disabled":t||void 0,children:[l.jsx("span",{className:h.truncate,style:{maxWidth:r-92},children:e!=null&&e.length&&e.length>1?`${e.length} ${n.format("chosen")}`:e==null?void 0:e[0].textValue}),s&&l.jsx("button",{disabled:t,"aria-label":n.format("clearAll"),className:h.clearButton,onClick:()=>{var a;o(),(a=i==null?void 0:i.current)==null||a.focus()},children:l.jsx(te.X,{width:20,height:20})})]})},ke=({autoFocus:e,excludeFromTabOrder:t,isDisabled:r,size:o="large",isOpen:i,isInvalid:s,selectionMode:n,state:{selectedItems:a},placeholder:c,children:u,triggerRef:d,...y})=>{const{buttonProps:x}=le.$701a24aa0da5b062$export$ea18c227d4417cc3({autoFocus:e,excludeFromTabOrder:t,isDisabled:r,...y},d),b=n==="multiple";return l.jsxs("div",{className:h.triggerContainer,"data-disabled":r||void 0,children:[l.jsxs("button",{...x,autoFocus:e,className:B.clsx(h.trigger,{[h.medium]:o==="medium"}),"data-disabled":r||void 0,"data-invalid":s||void 0,"data-open":i||void 0,ref:d,type:"button",children:[b&&!a?l.jsx("span",{children:c}):null,b?null:l.jsx("span",{children:a?a[0].textValue:c}),l.jsx("div",{className:h.icon,"aria-hidden":"true",children:l.jsx(ne.ChevronDown,{size:20})})]}),u]})},q=({state:e,errorMessage:t})=>l.jsx(k.$ee014567cb39d3f0$export$ff05c3ac10437e03.Provider,{value:{...e.displayValidation},children:l.jsx(k.FieldError,{children:t})}),we=F.forwardRef(({isClearable:e=!0,popover:t,...r},o)=>{const i={selectionMode:"single",errorPosition:"top",disallowEmptySelection:!e,isClearable:e,size:"large",popover:t,...r},s=z.$df56164dff5785e2$export$4338b53315abf666(o),n=Se(i),a=N.useLocalizedStringFormatter(O),{labelProps:c,triggerProps:u,valueProps:d,menuProps:y}=ve(i,n,s),{width:x}=Y.useObserveElement(s.current,{includePadding:!0});return l.jsxs(R.$bcdf0525bf22703d$export$2c73285ae9390cec,{...i,className:B.clsx(h.wrapper,i.className),children:[l.jsx(_e,{...i,state:n,triggerRef:s}),l.jsx(V.LabelWrapper,{popover:t,children:i.label&&l.jsx(V.Label,{...c,"data-disabled":i.isDisabled||void 0,children:i.label})}),i.description&&l.jsx(ee.Text,{slot:"description",children:i.description}),i.errorPosition==="top"&&l.jsx(q,{...i,state:n}),l.jsx(ke,{...i,...u,isInvalid:n.displayValidation.isInvalid,triggerRef:s,state:n,children:i.selectionMode==="multiple"&&n.selectedItems?l.jsx("span",{...d,children:l.jsx(Ve,{...i,state:n,parentWidth:x,onClear:()=>n.selectionManager.clearSelection(),triggerRef:s})}):null}),i.errorPosition==="bottom"&&l.jsx(q,{...i,state:n}),l.jsxs(v.ListBoxPopover,{isOpen:n.isOpen,onOpenChange:b=>{b||n.close()},triggerRef:s,style:{width:x},children:[i.isSelectableAll&&l.jsx(I.Checkbox,{isSelected:n.selectionManager.isSelectAll,isIndeterminate:!n.selectionManager.isSelectAll&&!n.selectionManager.isEmpty,className:h.selectAll,onChange:()=>n.selectionManager.toggleSelectAll(),children:a.format("selectAll")}),l.jsx($e,{...y,state:n})]}),i.showTags&&!!n.selectedItems&&l.jsx(S.TagGroup,{"aria-label":a.format("selectedItems"),selectionBehavior:"toggle",onRemove:b=>n.selectionManager.toggleSelection(Array.from(b)[0]),className:h.tagGroup,children:l.jsx(S.$eaf9e70818b436db$export$f9fef0f55402315b,{items:n.selectedItems,children:b=>l.jsx(S.Tag,{textValue:b.textValue,id:b.key,dismissable:!0,isDisabled:i.isDisabled,children:b.textValue},b.key)})})]})}),L=F.forwardRef(({options:e,...t},r)=>l.jsx(we,{...t,items:e,ref:r,children:o=>o.children?l.jsx(oe,{items:o.children,title:o.name,children:i=>l.jsx(w,{textValue:i.textValue,children:i.name})},o.name):l.jsx(w,{textValue:o.textValue,children:o.name})}));L.displayName="Select";exports.Select=L;
|
package/Skeleton-BpYj25p8.js
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as w } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import './assets/Skeleton.css';const _ = '"../theme/breakpoints.css"', d = "_skeleton_11zwu_14", u = "_circle_11zwu_24", k = "_wave_11zwu_29", m = "_onLayer01_11zwu_53", e = {
|
|
4
|
-
breakpoints: _,
|
|
5
|
-
"--midas-breakpoints-prefers-reduced-motion": "(prefers-reduced-motion: reduced)",
|
|
6
|
-
skeleton: d,
|
|
7
|
-
circle: u,
|
|
8
|
-
wave: k,
|
|
9
|
-
onLayer01: m
|
|
10
|
-
}, f = ({
|
|
11
|
-
variant: o = "rectangle",
|
|
12
|
-
width: r,
|
|
13
|
-
height: s,
|
|
14
|
-
isAnimated: t = !0,
|
|
15
|
-
className: n,
|
|
16
|
-
style: c,
|
|
17
|
-
isOnLayer01: i,
|
|
18
|
-
...l
|
|
19
|
-
}) => (o === "circle" && s !== void 0 && console.warn(
|
|
20
|
-
"Height is not allowed when using circle, control size with width"
|
|
21
|
-
), /* @__PURE__ */ a(
|
|
22
|
-
"div",
|
|
23
|
-
{
|
|
24
|
-
className: w(
|
|
25
|
-
e.skeleton,
|
|
26
|
-
e[o],
|
|
27
|
-
t && e.wave,
|
|
28
|
-
i && e.onLayer01,
|
|
29
|
-
n
|
|
30
|
-
),
|
|
31
|
-
style: { width: r, height: s, ...c },
|
|
32
|
-
...l
|
|
33
|
-
}
|
|
34
|
-
));
|
|
35
|
-
export {
|
|
36
|
-
f as S
|
|
37
|
-
};
|
package/Skeleton-DMOxEwnd.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Skeleton.css');const a=require("react/jsx-runtime"),u=require("./clsx-C11secjj.cjs"),w='"../theme/breakpoints.css"',_="_skeleton_11zwu_14",d="_circle_11zwu_24",k="_wave_11zwu_29",m="_onLayer01_11zwu_53",e={breakpoints:w,"--midas-breakpoints-prefers-reduced-motion":"(prefers-reduced-motion: reduced)",skeleton:_,circle:d,wave:k,onLayer01:m},p=({variant:s="rectangle",width:n,height:o,isAnimated:t=!0,className:c,style:r,isOnLayer01:i,...l})=>(s==="circle"&&o!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),a.jsx("div",{className:u.clsx(e.skeleton,e[s],t&&e.wave,i&&e.onLayer01,c),style:{width:n,height:o,...r},...l}));exports.Skeleton=p;
|
package/Spinner-D1UBuLy4.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Spinner.css');const e=require("react/jsx-runtime"),t=require("./clsx-C11secjj.cjs"),o=require("./createLucideIcon-CTVXwe6i.cjs"),c=require("./VisuallyHidden-EjrqodVh.cjs"),d=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");/**
|
|
2
|
-
* @license lucide-react v0.525.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const l=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],u=o.createLucideIcon("loader-circle",l),_="_container_1oy8i_4",g="_spinner_1oy8i_8",p="_dark_1oy8i_18",n={container:_,spinner:g,dark:p},x={loadingPleaseWait:"Loading, please wait..."},k={loadingPleaseWait:"Laddar, vänligen vänta..."},L={en:x,sv:k},m=({small:s,isOnColor:r=!1,className:i})=>{const a=d.useLocalizedStringFormatter(L);return e.jsxs("div",{className:t.clsx(n.container,i),role:"status",children:[e.jsx(u,{className:t.clsx(n.spinner,r&&n.dark),size:s?16:32,strokeWidth:s?2:3,absoluteStrokeWidth:!0}),e.jsx(c.$5c3e21d68f1c4674$export$439d29a4e110a164,{children:a.format("loadingPleaseWait")})]})};exports.Spinner=m;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import './assets/TextField.css';const t = "_textField_i0k2g_4", o = "_bottomError_i0k2g_23", s = "_textArea_i0k2g_32", _ = "_wrap_i0k2g_81", r = "_medium_i0k2g_86", e = "_input_i0k2g_87", i = "_passwordText_i0k2g_110", n = "_passwordButton_i0k2g_149", a = {
|
|
2
|
-
textField: t,
|
|
3
|
-
bottomError: o,
|
|
4
|
-
textArea: s,
|
|
5
|
-
wrap: _,
|
|
6
|
-
medium: r,
|
|
7
|
-
input: e,
|
|
8
|
-
passwordText: i,
|
|
9
|
-
passwordButton: n
|
|
10
|
-
};
|
|
11
|
-
export {
|
|
12
|
-
a as s
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/TextField.css');const t="_textField_i0k2g_4",o="_bottomError_i0k2g_23",s="_textArea_i0k2g_32",_="_wrap_i0k2g_81",r="_medium_i0k2g_86",e="_input_i0k2g_87",i="_passwordText_i0k2g_110",n="_passwordButton_i0k2g_149",a={textField:t,bottomError:o,textArea:s,wrap:_,medium:r,input:e,passwordText:i,passwordButton:n};exports.styles=a;
|