@solibo/solibo-ui 2.3.3 → 2.3.4
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/dist/assets/index.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index49.css +1 -1
- package/dist/assets/index52.css +1 -1
- package/dist/assets/index53.css +1 -1
- package/dist/assets/index55.css +1 -1
- package/dist/assets/index59.css +1 -1
- package/dist/components/app-link/index.cjs +1 -1
- package/dist/components/app-link/index.js +7 -7
- package/dist/components/badge/index.cjs +1 -1
- package/dist/components/badge/index.js +31 -31
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.js +9 -9
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +26 -26
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +170 -177
- package/dist/components/editor/index.cjs +1 -1
- package/dist/components/editor/index.js +169 -169
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +9 -9
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +22 -22
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.js +15 -15
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +16 -16
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/widget/index.cjs +1 -1
- package/dist/components/widget/index.js +16 -16
- package/dist/index-CFMWBY53.cjs +1 -0
- package/dist/index-DBjIWUDE.cjs +1 -0
- package/dist/index-DJDY6iu6.js +48 -0
- package/dist/index-DO_phxRs.js +92 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/tokens.css +55 -55
- package/dist/tokens.json +258 -462
- package/package.json +1 -1
- package/dist/index-CWeknFzO.js +0 -74
- package/dist/index-Ct84TXGv.cjs +0 -1
- package/dist/index-D3gtJMYv.cjs +0 -1
- package/dist/index-DpkXKD1Z.js +0 -87
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index49.css');const e=require("react/jsx-runtime"),l=require("classix"),a=require("../icon/index.cjs"),c="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index49.css');const e=require("react/jsx-runtime"),l=require("classix"),a=require("../icon/index.cjs"),c="_form_1dw6p_1",m="_fill_1dw6p_30",d="_error_1dw6p_36",n={form:c,fill:m,error:d},f=({errorId:o,errorMessage:r})=>e.jsxs("span",{className:n.error,id:o,role:"alert","data-component":"fielderror",children:[e.jsx(a.Icon,{gap:"right",name:"Warning",size:"small",weight:"fill"}),e.jsx("span",{children:r})]}),_=({animation:o,children:r,className:s,fill:t=!1,...i})=>e.jsx("form",{className:l(s,t&&n.fill,n.form),"data-animation":o,...i,"data-component":"form",children:r&&r});exports.FieldError=f;exports.Form=_;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as e, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import s from "classix";
|
|
3
|
-
import { Icon as
|
|
4
|
-
import '../../assets/index49.css';const
|
|
5
|
-
form:
|
|
3
|
+
import { Icon as i } from "../icon/index.js";
|
|
4
|
+
import '../../assets/index49.css';const f = "_form_1dw6p_1", c = "_fill_1dw6p_30", p = "_error_1dw6p_36", l = {
|
|
5
|
+
form: f,
|
|
6
6
|
fill: c,
|
|
7
|
-
error:
|
|
8
|
-
},
|
|
7
|
+
error: p
|
|
8
|
+
}, h = ({
|
|
9
9
|
errorId: o,
|
|
10
10
|
errorMessage: r
|
|
11
11
|
}) => /* @__PURE__ */ m("span", { className: l.error, id: o, role: "alert", "data-component": "fielderror", children: [
|
|
12
|
-
/* @__PURE__ */ e(
|
|
12
|
+
/* @__PURE__ */ e(i, { gap: "right", name: "Warning", size: "small", weight: "fill" }),
|
|
13
13
|
/* @__PURE__ */ e("span", { children: r })
|
|
14
|
-
] }),
|
|
14
|
+
] }), w = ({
|
|
15
15
|
animation: o,
|
|
16
16
|
children: r,
|
|
17
17
|
className: n,
|
|
@@ -19,6 +19,6 @@ import '../../assets/index49.css';const i = "_form_fqdjd_1", c = "_fill_fqdjd_30
|
|
|
19
19
|
...a
|
|
20
20
|
}) => /* @__PURE__ */ e("form", { className: s(n, t && l.fill, l.form), "data-animation": o, ...a, "data-component": "form", children: r && r });
|
|
21
21
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
h as FieldError,
|
|
23
|
+
w as Form
|
|
24
24
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index52.css');const c=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index52.css');const c=require("react/jsx-runtime"),g=require("classix"),r=require("../../icons-BSfBrPs3.cjs"),d="_icon_7dnkg_1",l="_large_7dnkg_10",_="_medium_7dnkg_15",m="_small_7dnkg_20",u="_tiny_7dnkg_25",y="_danger_7dnkg_30",n={icon:d,large:l,medium:_,small:m,tiny:u,danger:y,"gap-right":"_gap-right_7dnkg_34","gap-left":"_gap-left_7dnkg_38"},k={large:n.large,medium:n.medium,small:n.small,tiny:n.tiny},p={danger:n.danger},S=({gap:e="none",name:s,size:o="medium",variant:t,weight:i})=>{const a={maskImage:r.iconSVG(s,void 0,i)};return c.jsx("span",{"aria-hidden":"true",className:g(e!=="none"&&n[`gap-${e}`],k[o],n.icon,t&&p[t]),style:a,"data-component":"icon"})};exports.Icon=S;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { i as
|
|
4
|
-
import '../../assets/index52.css';const
|
|
5
|
-
icon:
|
|
6
|
-
large:
|
|
7
|
-
medium:
|
|
8
|
-
small:
|
|
9
|
-
tiny:
|
|
10
|
-
danger:
|
|
11
|
-
"gap-right": "_gap-
|
|
12
|
-
"gap-left": "_gap-
|
|
2
|
+
import g from "classix";
|
|
3
|
+
import { i as _ } from "../../icons-DtAsxlep.js";
|
|
4
|
+
import '../../assets/index52.css';const d = "_icon_7dnkg_1", r = "_large_7dnkg_10", c = "_medium_7dnkg_15", l = "_small_7dnkg_20", p = "_tiny_7dnkg_25", k = "_danger_7dnkg_30", n = {
|
|
5
|
+
icon: d,
|
|
6
|
+
large: r,
|
|
7
|
+
medium: c,
|
|
8
|
+
small: l,
|
|
9
|
+
tiny: p,
|
|
10
|
+
danger: k,
|
|
11
|
+
"gap-right": "_gap-right_7dnkg_34",
|
|
12
|
+
"gap-left": "_gap-left_7dnkg_38"
|
|
13
13
|
}, u = {
|
|
14
|
-
large:
|
|
15
|
-
medium:
|
|
16
|
-
small:
|
|
17
|
-
tiny:
|
|
14
|
+
large: n.large,
|
|
15
|
+
medium: n.medium,
|
|
16
|
+
small: n.small,
|
|
17
|
+
tiny: n.tiny
|
|
18
18
|
}, y = {
|
|
19
|
-
danger:
|
|
20
|
-
},
|
|
21
|
-
gap:
|
|
19
|
+
danger: n.danger
|
|
20
|
+
}, I = ({
|
|
21
|
+
gap: e = "none",
|
|
22
22
|
name: t,
|
|
23
23
|
size: a = "medium",
|
|
24
|
-
variant:
|
|
24
|
+
variant: o,
|
|
25
25
|
weight: i
|
|
26
26
|
}) => {
|
|
27
27
|
const s = {
|
|
28
|
-
maskImage:
|
|
28
|
+
maskImage: _(t, void 0, i)
|
|
29
29
|
};
|
|
30
|
-
return /* @__PURE__ */ m("span", { "aria-hidden": "true", className:
|
|
30
|
+
return /* @__PURE__ */ m("span", { "aria-hidden": "true", className: g(e !== "none" && n[`gap-${e}`], u[a], n.icon, o && y[o]), style: s, "data-component": "icon" });
|
|
31
31
|
};
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
I as Icon
|
|
34
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("react");require("../form/index.cjs");require("../../icons-BSfBrPs3.cjs");require("../label/index.cjs");require("../../use-touched-Bq5Gjbpz.cjs");const e=require("../../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("react");require("../form/index.cjs");require("../../icons-BSfBrPs3.cjs");require("../label/index.cjs");require("../../use-touched-Bq5Gjbpz.cjs");const e=require("../../index-DBjIWUDE.cjs");exports.Input=e.Input;
|
|
@@ -5,7 +5,7 @@ import "../form/index.js";
|
|
|
5
5
|
import "../../icons-DtAsxlep.js";
|
|
6
6
|
import "../label/index.js";
|
|
7
7
|
import "../../use-touched-B999bBr8.js";
|
|
8
|
-
import { I as f } from "../../index-
|
|
8
|
+
import { I as f } from "../../index-DO_phxRs.js";
|
|
9
9
|
export {
|
|
10
10
|
f as Input
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index55.css');const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index55.css');const t=require("react/jsx-runtime"),c=require("classix"),i="_link_160o6_1",l="_neutral_160o6_19",m="_content_160o6_24",_="_adornment_160o6_33",d="_text_160o6_37",u="_primary_160o6_43",p="_minimal_160o6_49",x="_danger_160o6_65",n={link:i,neutral:l,content:m,adornment:_,text:d,primary:u,minimal:p,danger:x},k=({children:s,leading:e,trailing:o})=>t.jsxs("span",{className:n.content,"data-component":"linkcontent",children:[e!=null&&t.jsx("span",{className:n.adornment,children:e}),t.jsx("span",{className:n.text,children:s}),o!=null&&t.jsx("span",{className:n.adornment,children:o})]}),j=({children:s,className:e,to:o="#",variant:a="primary",...r})=>t.jsx("a",{className:c(e,n.link,n[a]),href:o,...r,"data-component":"link",children:s});exports.Link=j;exports.LinkContent=k;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import '../../assets/index55.css';const
|
|
4
|
-
link:
|
|
5
|
-
neutral:
|
|
6
|
-
content:
|
|
1
|
+
import { jsx as a, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import m from "classix";
|
|
3
|
+
import '../../assets/index55.css';const _ = "_link_160o6_1", l = "_neutral_160o6_19", i = "_content_160o6_24", p = "_adornment_160o6_33", d = "_text_160o6_37", k = "_primary_160o6_43", x = "_minimal_160o6_49", u = "_danger_160o6_65", n = {
|
|
4
|
+
link: _,
|
|
5
|
+
neutral: l,
|
|
6
|
+
content: i,
|
|
7
7
|
adornment: p,
|
|
8
8
|
text: d,
|
|
9
9
|
primary: k,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
minimal: x,
|
|
11
|
+
danger: u
|
|
12
12
|
}, h = ({
|
|
13
13
|
children: e,
|
|
14
14
|
leading: t,
|
|
15
|
-
trailing:
|
|
16
|
-
}) => /* @__PURE__ */
|
|
15
|
+
trailing: o
|
|
16
|
+
}) => /* @__PURE__ */ c("span", { className: n.content, "data-component": "linkcontent", children: [
|
|
17
17
|
t != null && /* @__PURE__ */ a("span", { className: n.adornment, children: t }),
|
|
18
18
|
/* @__PURE__ */ a("span", { className: n.text, children: e }),
|
|
19
|
-
|
|
19
|
+
o != null && /* @__PURE__ */ a("span", { className: n.adornment, children: o })
|
|
20
20
|
] }), f = ({
|
|
21
21
|
children: e,
|
|
22
22
|
className: t,
|
|
23
|
-
to:
|
|
24
|
-
variant:
|
|
25
|
-
...
|
|
26
|
-
}) => /* @__PURE__ */ a("a", { className:
|
|
23
|
+
to: o = "#",
|
|
24
|
+
variant: s = "primary",
|
|
25
|
+
...r
|
|
26
|
+
}) => /* @__PURE__ */ a("a", { className: m(t, n.link, n[s]), href: o, ...r, "data-component": "link", children: e });
|
|
27
27
|
export {
|
|
28
28
|
f as Link,
|
|
29
29
|
h as LinkContent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index15.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index15.css');const o=require("react/jsx-runtime"),c=require("classix"),b=require("react"),m=require("../../icons-BSfBrPs3.cjs"),v="_nav_134xr_3",p="_label_134xr_9",x="_item_134xr_17",g="_actions_134xr_36",f="_highlighted_134xr_60",N="_horizontal_134xr_64",w="_sidebar_134xr_74",j="_stacked_134xr_124",k="_tabs_134xr_141",q="_pills_134xr_161",t={nav:v,label:p,item:x,actions:g,highlighted:f,horizontal:N,sidebar:w,stacked:j,tabs:k,pills:q},y={default:t.default,pills:t.pills,sidebar:t.sidebar,tabs:t.tabs},z=({className:a,...e})=>o.jsx("span",{className:c(a,t.label),...e,"data-component":"navlabel"}),S=({actions:a,children:e,className:l,highlighted:n=!1,layout:s="row",...r})=>o.jsxs("div",{className:c(t.item,n&&t.highlighted,s==="stack"&&t.stacked,l),"data-nav-item":!0,...r,"data-component":"navitem",children:[e,a&&o.jsx("span",{className:t.actions,children:a})]}),C=({animation:a,children:e,className:l,horizontal:n=!1,variant:s="default",...r})=>{const[_,d]=b.useState(!1),h={"--icon-svg":m.iconSVG("CaretDown")};return o.jsx("nav",{className:c(l,n&&t.horizontal,t.nav,y[s]),"data-animation":a,"data-open":_?"true":"false","data-orientation":n?"horizontal":"vertical",onBlurCapture:i=>{if(s!=="pills"||window.innerWidth>960)return;const u=i.relatedTarget;i.currentTarget.contains(u)||d(!1)},onClick:()=>{s!=="pills"||window.innerWidth>960||d(i=>!i)},style:h,...r,"data-component":"nav",children:e})};exports.Nav=C;exports.NavItem=S;exports.NavLabel=z;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { useState as
|
|
4
|
-
import { i as
|
|
5
|
-
import '../../assets/index15.css';const
|
|
6
|
-
nav:
|
|
7
|
-
label:
|
|
1
|
+
import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import c from "classix";
|
|
3
|
+
import { useState as b } from "react";
|
|
4
|
+
import { i as f } from "../../icons-DtAsxlep.js";
|
|
5
|
+
import '../../assets/index15.css';const x = "_nav_134xr_3", v = "_label_134xr_9", u = "_item_134xr_17", g = "_actions_134xr_36", w = "_highlighted_134xr_60", N = "_horizontal_134xr_64", k = "_sidebar_134xr_74", z = "_stacked_134xr_124", C = "_tabs_134xr_141", j = "_pills_134xr_161", t = {
|
|
6
|
+
nav: x,
|
|
7
|
+
label: v,
|
|
8
8
|
item: u,
|
|
9
9
|
actions: g,
|
|
10
10
|
highlighted: w,
|
|
@@ -21,16 +21,16 @@ import '../../assets/index15.css';const f = "_nav_txvc1_3", x = "_label_txvc1_9"
|
|
|
21
21
|
}, B = ({
|
|
22
22
|
className: a,
|
|
23
23
|
...s
|
|
24
|
-
}) => /* @__PURE__ */
|
|
24
|
+
}) => /* @__PURE__ */ r("span", { className: c(a, t.label), ...s, "data-component": "navlabel" }), D = ({
|
|
25
25
|
actions: a,
|
|
26
26
|
children: s,
|
|
27
27
|
className: o,
|
|
28
28
|
highlighted: n = !1,
|
|
29
29
|
layout: e = "row",
|
|
30
30
|
...l
|
|
31
|
-
}) => /* @__PURE__ */
|
|
31
|
+
}) => /* @__PURE__ */ p("div", { className: c(t.item, n && t.highlighted, e === "stack" && t.stacked, o), "data-nav-item": !0, ...l, "data-component": "navitem", children: [
|
|
32
32
|
s,
|
|
33
|
-
a && /* @__PURE__ */
|
|
33
|
+
a && /* @__PURE__ */ r("span", { className: t.actions, children: a })
|
|
34
34
|
] }), G = ({
|
|
35
35
|
animation: a,
|
|
36
36
|
children: s,
|
|
@@ -39,16 +39,16 @@ import '../../assets/index15.css';const f = "_nav_txvc1_3", x = "_label_txvc1_9"
|
|
|
39
39
|
variant: e = "default",
|
|
40
40
|
...l
|
|
41
41
|
}) => {
|
|
42
|
-
const [_, d] =
|
|
43
|
-
"--icon-svg":
|
|
42
|
+
const [_, d] = b(!1), m = {
|
|
43
|
+
"--icon-svg": f("CaretDown")
|
|
44
44
|
};
|
|
45
|
-
return /* @__PURE__ */
|
|
45
|
+
return /* @__PURE__ */ r("nav", { className: c(o, n && t.horizontal, t.nav, y[e]), "data-animation": a, "data-open": _ ? "true" : "false", "data-orientation": n ? "horizontal" : "vertical", onBlurCapture: (i) => {
|
|
46
46
|
if (e !== "pills" || window.innerWidth > 960) return;
|
|
47
|
-
const
|
|
48
|
-
i.currentTarget.contains(
|
|
47
|
+
const h = i.relatedTarget;
|
|
48
|
+
i.currentTarget.contains(h) || d(!1);
|
|
49
49
|
}, onClick: () => {
|
|
50
50
|
e !== "pills" || window.innerWidth > 960 || d((i) => !i);
|
|
51
|
-
}, style:
|
|
51
|
+
}, style: m, ...l, "data-component": "nav", children: s });
|
|
52
52
|
};
|
|
53
53
|
export {
|
|
54
54
|
G as Nav,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index9.css');const a=require("react/jsx-runtime"),b=require("react"),h=require("../button/index.cjs"),z=require("../checkbox/index.cjs"),H=require("../chip/index.cjs"),P=require("../collapsible/index.cjs"),A=require("../../index-C6rfOHaL.cjs"),E=require("../dialog/index.cjs"),J=require("../header/index.cjs"),K=require("../../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index9.css');const a=require("react/jsx-runtime"),b=require("react"),h=require("../button/index.cjs"),z=require("../checkbox/index.cjs"),H=require("../chip/index.cjs"),P=require("../collapsible/index.cjs"),A=require("../../index-C6rfOHaL.cjs"),E=require("../dialog/index.cjs"),J=require("../header/index.cjs"),K=require("../../index-DBjIWUDE.cjs"),Q=require("../loading/index.cjs"),S="_search_1r1ik_3",U="_controls_1r1ik_15",V="_actions_1r1ik_36",W="_chips_1r1ik_56",X="_radio_1r1ik_122",n={search:S,controls:U,actions:V,"loading-status":"_loading-status_1r1ik_46",chips:W,"filter-dialog":"_filter-dialog_1r1ik_63","filter-groups":"_filter-groups_1r1ik_68","filter-group":"_filter-group_1r1ik_68","filter-option":"_filter-option_1r1ik_104","option-copy":"_option-copy_1r1ik_110",radio:X,"collapsible-options":"_collapsible-options_1r1ik_145"},Y=({filterButtonLabel:j="Filters",filterDialogColumns:f=1,filterDialogTitle:M="Filters",filterGroups:t=[],isLoading:d,loadingLabel:$="Loading results",onChange:w,onSelectedFiltersChange:l,removeFilterLabel:O=o=>`Remove ${o.label} filter`,resetLabel:v="Reset",searchLabel:B="Search",searchPlaceholder:D="Search",selectedFilters:r=[],showResultsLabel:R="Show results",value:I=""})=>{const o=b.useId(),[u,_]=b.useState(!1),T=b.useMemo(()=>new Map(t.flatMap(s=>{var i;return[...s.options,...((i=s.collapsible)==null?void 0:i.options)??[]]}).map(s=>[s.value,s])),[t]),p=r.flatMap(s=>{const i=T.get(s);return i?[i]:[]}),m=(s,i,e)=>{var q;if(!l)return;const x=new Set([...(e==null?void 0:e.options.map(c=>c.value))??[],...((q=e==null?void 0:e.collapsible)==null?void 0:q.options.map(c=>c.value))??[]]),N=r.filter(c=>!x.has(c));if(i&&(e==null?void 0:e.defaultValue)===s){l(N);return}l(i?(e==null?void 0:e.control)==="radio"||(e==null?void 0:e.selectionMode)==="single"?[...N,s]:[...new Set([...r,s])]:r.filter(c=>c!==s))},k=(s,i)=>{var e;return r.includes(s)||i.defaultValue===s&&![...i.options,...((e=i.collapsible)==null?void 0:e.options)??[]].some(x=>r.includes(x.value))},y=(s,i)=>a.jsx("div",{className:n["filter-option"],"data-component":"renderfilter",children:i.control==="radio"?a.jsxs("label",{className:n.radio,children:[a.jsx("input",{checked:k(s.value,i),name:`${o}-filter-${i.label??"group"}`,onChange:e=>m(s.value,e.target.checked,i),type:"radio"}),a.jsxs("span",{className:n["option-copy"],children:[s.label,s.description&&a.jsx("sub",{children:s.description})]})]}):a.jsx(z.Checkbox,{checked:k(s.value,i),label:a.jsxs("span",{className:n["option-copy"],children:[s.label,s.description&&a.jsx("sub",{children:s.description})]}),onChange:e=>m(s.value,e.target.checked,i)})},s.value);return a.jsxs("div",{className:n.search,"data-component":"search",children:[a.jsxs("div",{className:n.controls,"data-with-filters":t.length>0||void 0,children:[a.jsx(K.Input,{"aria-label":B,icon:"MagnifyingGlass",onChange:s=>w(s.target.value),placeholder:D,type:"search",value:I}),(t.length>0||d!==void 0)&&a.jsxs("div",{className:n.actions,children:[t.length>0&&a.jsx(h.Button,{"aria-expanded":u,"aria-haspopup":"dialog",badge:p.length,icon:"Funnel",onClick:()=>_(!0),variant:"tertiary",children:j}),d!==void 0&&a.jsx("div",{"aria-hidden":!d,"aria-label":$,className:n["loading-status"],role:"status",children:d&&a.jsx(Q.Loading,{size:"small"})})]})]}),p.length>0&&a.jsxs("div",{"aria-label":j,className:n.chips,children:[p.map(s=>a.jsx(H.Chip,{accessibleLabel:O(s),label:s.label,onDelete:()=>m(s.value,!1)},s.value)),a.jsx(h.Button,{onClick:()=>l==null?void 0:l([]),variant:"tertiary",children:v})]}),u&&a.jsx(E.Dialog,{"aria-labelledby":o,className:n["filter-dialog"],controls:a.jsxs(A.Controls,{children:[a.jsx(h.Button,{onClick:()=>{l==null||l([]),_(!1)},children:v}),a.jsx(h.Button,{onClick:()=>_(!1),variant:"primary",children:R})]}),header:a.jsx(J.Header,{children:a.jsx("h2",{id:o,children:M})}),open:!0,setOpen:_,children:a.jsx("div",{className:n["filter-groups"],"data-columns":f,children:t.map((s,i)=>a.jsxs("section",{"aria-labelledby":s.label?`${o}-${i}`:void 0,className:n["filter-group"],"data-column-span":s.columnSpan??1,role:s.control==="radio"?"radiogroup":"group",children:[s.label&&a.jsx("h3",{id:`${o}-${i}`,children:s.label}),s.options.map(e=>y(e,s)),s.collapsible&&a.jsx(P.Collapsible,{summary:s.collapsible.label,children:a.jsx("div",{className:n["collapsible-options"],children:s.collapsible.options.map(e=>y(e,s))})})]},s.label??i))})})]})};exports.Search=Y;
|
|
@@ -7,7 +7,7 @@ import { Collapsible as J } from "../collapsible/index.js";
|
|
|
7
7
|
import { C as K } from "../../index-BOIHwDwc.js";
|
|
8
8
|
import { Dialog as P } from "../dialog/index.js";
|
|
9
9
|
import { Header as Q } from "../header/index.js";
|
|
10
|
-
import { I as U } from "../../index-
|
|
10
|
+
import { I as U } from "../../index-DO_phxRs.js";
|
|
11
11
|
import { Loading as V } from "../loading/index.js";
|
|
12
12
|
import '../../assets/index9.css';const W = "_search_1r1ik_3", X = "_controls_1r1ik_15", Y = "_actions_1r1ik_36", Z = "_chips_1r1ik_56", L = "_radio_1r1ik_122", o = {
|
|
13
13
|
search: W,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("../../icons-BSfBrPs3.cjs");require("../label/index.cjs");
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("react/jsx-runtime");require("classix");require("../../icons-BSfBrPs3.cjs");require("../label/index.cjs");require("../../use-touched-Bq5Gjbpz.cjs");const e=require("../../index-CFMWBY53.cjs");exports.Select=e.Select;
|
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "classix";
|
|
3
3
|
import "../../icons-DtAsxlep.js";
|
|
4
4
|
import "../label/index.js";
|
|
5
|
-
import { S } from "../../index-CWeknFzO.js";
|
|
6
5
|
import "../../use-touched-B999bBr8.js";
|
|
6
|
+
import { S } from "../../index-DJDY6iu6.js";
|
|
7
7
|
export {
|
|
8
8
|
S as Select
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index2.css');const o=require("react/jsx-runtime"),r=require("classix"),i=require("../card/index.cjs"),l="_widget_1anoa_1",d="_color1_1anoa_26",_="_color2_1anoa_30",u="_metric_1anoa_55",g="_value_1anoa_70",c={widget:l,color1:d,color2:_,metric:u,value:g},m=({children:a,className:n,color:s,metric:e,...t})=>o.jsx("div",{className:r(c.widget,n,s&&c[`color${s}`]),...t,"data-component":"widget",children:o.jsxs(i.Card,{children:[a,e&&o.jsxs("div",{className:c.metric,"aria-busy":e.busy,children:[o.jsx("span",{className:c.value,children:e.value}),e.children]})]})});exports.Widget=m;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Card as
|
|
4
|
-
import '../../assets/index2.css';const d = "
|
|
1
|
+
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import l from "classix";
|
|
3
|
+
import { Card as i } from "../card/index.js";
|
|
4
|
+
import '../../assets/index2.css';const d = "_widget_1anoa_1", _ = "_color1_1anoa_26", m = "_color2_1anoa_30", u = "_metric_1anoa_55", v = "_value_1anoa_70", a = {
|
|
5
5
|
widget: d,
|
|
6
6
|
color1: _,
|
|
7
7
|
color2: m,
|
|
8
8
|
metric: u,
|
|
9
9
|
value: v
|
|
10
|
-
},
|
|
11
|
-
children:
|
|
12
|
-
className:
|
|
13
|
-
color:
|
|
14
|
-
metric:
|
|
15
|
-
...
|
|
16
|
-
}) => /* @__PURE__ */
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
10
|
+
}, w = ({
|
|
11
|
+
children: t,
|
|
12
|
+
className: n,
|
|
13
|
+
color: c,
|
|
14
|
+
metric: o,
|
|
15
|
+
...s
|
|
16
|
+
}) => /* @__PURE__ */ e("div", { className: l(a.widget, n, c && a[`color${c}`]), ...s, "data-component": "widget", children: /* @__PURE__ */ r(i, { children: [
|
|
17
|
+
t,
|
|
18
|
+
o && /* @__PURE__ */ r("div", { className: a.metric, "aria-busy": o.busy, children: [
|
|
19
|
+
/* @__PURE__ */ e("span", { className: a.value, children: o.value }),
|
|
20
|
+
o.children
|
|
21
21
|
] })
|
|
22
22
|
] }) });
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
w as Widget
|
|
25
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/index59.css');const e=require("react/jsx-runtime"),x=require("classix"),j=require("./icons-BSfBrPs3.cjs"),q=require("./components/label/index.cjs"),l=require("./use-touched-Bq5Gjbpz.cjs"),v=new Set(["aria-activedescendant","aria-autocomplete","aria-busy","aria-controls","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-required","aria-roledescription","autoComplete","autoFocus","className","defaultValue","dir","disabled","form","id","multiple","name","onBlur","onChange","onClick","onFocus","onInput","onInvalid","onKeyDown","onKeyUp","onMouseDown","onMouseUp","onPointerDown","onPointerUp","required","role","size","style","tabIndex","title","value"]);function u(r){return Object.fromEntries(Object.entries(r).filter(([t])=>t.startsWith("data-")||t.startsWith("aria-")||v.has(t)))}const y="_control_cuzt0_3",z="_select_cuzt0_10",P="_caret_cuzt0_15",S="_touched_cuzt0_51",o={control:y,select:z,caret:P,touched:S},f=({children:r,description:t,label:n,placeholder:c,...s})=>{const{touched:d,onBlur:h}=l.useTouched(s.value===""),m=u(s),{className:p,onBlur:_,style:a,...b}=m,i=e.jsxs("span",{className:o.control,"data-component":"select",children:[e.jsxs("select",{className:x(o.select,p,d&&o.touched),onBlur:l.composeEventHandlers(h,_),style:a,...b,children:[c&&e.jsx("option",{value:"",hidden:!0,children:c},"placeholder"),r]}),e.jsx("span",{"aria-hidden":"true",className:o.caret,style:{maskImage:j.iconSVG("CaretDown"),color:a==null?void 0:a.color}})]});return n?e.jsxs("label",{"data-component":"select",children:[e.jsx(q.Label,{description:t,label:n,required:s.required}),i]}):i};exports.Select=f;exports.sanitizeSelectProps=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/index53.css');const e=require("react/jsx-runtime"),f=require("classix"),r=require("react"),D=require("./components/form/index.cjs"),J=require("./icons-BSfBrPs3.cjs"),K=require("./components/label/index.cjs"),w=require("./use-touched-Bq5Gjbpz.cjs"),O=t=>t&&t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();function z(t){const i=O(t);return i&&!i.endsWith(":")?`${i}:`:i}const Q="_field_1m0gq_3",X="_input_1m0gq_8",Y="_label_1m0gq_26",Z="_control_1m0gq_26",M="_icon_1m0gq_36",y="_suffix_1m0gq_61",ee="_inline_1m0gq_68",ne="_code_1m0gq_94",n={field:Q,input:X,label:Y,control:Z,icon:M,suffix:y,inline:ee,code:ne,"suffix-text":"_suffix-text_1m0gq_121"};function te({className:t,defaultCountryCode:i="+47",description:A,disabled:l=!1,errorMessage:q,icon:v,invalid:p=!1,label:h,onBlur:G,placeholder:I,ref:N,required:g,style:c,suffix:L,type:o="text",variant:u="default",...a}){const H=r.useId(),[j,B]=r.useState(""),[d,E]=r.useState(""),{name:C,onChange:m,pattern:U,value:_,...V}=a,{touched:F,onBlur:W}=w.useTouched(_===""),x=v&&o!=="datetime-local"?v:void 0,S=h&&u==="inline"?z(h):h,b=p&&q?H:void 0,T=[a["aria-describedby"],b].filter(Boolean).join(" ")||void 0,P=w.composeEventHandlers(W,G);r.useEffect(()=>{if(m&&o==="tel"){const s={name:C,value:d?(j||i).split(" ").join("")+d.split(" ").join(""):void 0};m({target:s,currentTarget:s})}},[j,i,C,m,d,o]),r.useEffect(()=>{o==="tel"&&!_&&(E(""),B(""))},[o,_]);const R=s=>e.jsxs("span",{className:n.control,"data-component":"renderinput",children:[s,x&&e.jsx("span",{"aria-hidden":"true",className:n.icon,style:{color:c==null?void 0:c.color,maskImage:J.iconSVG(x)}})]}),$=e.jsxs(e.Fragment,{children:[e.jsx("input",{disabled:l,hidden:!0,onChange:m,pattern:void 0,placeholder:I,ref:N,type:o,value:_}),e.jsx("input",{type:"text",className:f(n.code,n.input),disabled:l,maxLength:5,onChange:s=>B(s.target.value),placeholder:i,value:j}),R(e.jsx("input",{...V,"aria-describedby":T,"aria-invalid":p?!0:a["aria-invalid"],type:"tel",className:f(n.input,t),"data-icon":x?"true":void 0,"data-touched":F||void 0,disabled:l,maxLength:14,name:void 0,onChange:s=>E(s.target.value),onBlur:P,pattern:U,required:g,style:c,value:d}))]}),k=R(e.jsx("input",{...a,"aria-describedby":T,"aria-invalid":p?!0:a["aria-invalid"],ref:N,className:f(n.input,t),"data-icon":x?"true":void 0,"data-touched":F||void 0,disabled:l,onBlur:P,placeholder:I,required:g,style:c,type:o}));return e.jsxs("div",{className:n.field,"data-component":"input",children:[e.jsxs("label",{className:f(n.label,u==="inline"&&n.inline),children:[S&&e.jsx(K.Label,{description:A,inline:u==="inline",label:S,required:g&&u!=="inline"}),o==="tel"?$:L?e.jsxs("span",{className:n.suffix,children:[k,e.jsx("span",{className:n["suffix-text"],children:L})]}):k]}),b&&e.jsx(D.FieldError,{errorId:b,errorMessage:q})]})}exports.Input=te;exports.formatInlineLabel=z;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as s, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import _ from "classix";
|
|
3
|
+
import { i as f } from "./icons-DtAsxlep.js";
|
|
4
|
+
import { Label as v } from "./components/label/index.js";
|
|
5
|
+
import { u as y, c as w } from "./use-touched-B999bBr8.js";
|
|
6
|
+
import './assets/index59.css';const x = /* @__PURE__ */ new Set(["aria-activedescendant", "aria-autocomplete", "aria-busy", "aria-controls", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", "aria-required", "aria-roledescription", "autoComplete", "autoFocus", "className", "defaultValue", "dir", "disabled", "form", "id", "multiple", "name", "onBlur", "onChange", "onClick", "onFocus", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseUp", "onPointerDown", "onPointerUp", "required", "role", "size", "style", "tabIndex", "title", "value"]);
|
|
7
|
+
function z(o) {
|
|
8
|
+
return Object.fromEntries(Object.entries(o).filter(([e]) => e.startsWith("data-") || e.startsWith("aria-") || x.has(e)));
|
|
9
|
+
}
|
|
10
|
+
const P = "_control_cuzt0_3", S = "_select_cuzt0_10", B = "_caret_cuzt0_15", N = "_touched_cuzt0_51", t = {
|
|
11
|
+
control: P,
|
|
12
|
+
select: S,
|
|
13
|
+
caret: B,
|
|
14
|
+
touched: N
|
|
15
|
+
}, g = ({
|
|
16
|
+
children: o,
|
|
17
|
+
description: e,
|
|
18
|
+
label: c,
|
|
19
|
+
placeholder: i,
|
|
20
|
+
...r
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
touched: u,
|
|
24
|
+
onBlur: d
|
|
25
|
+
} = y(r.value === ""), m = z(r), {
|
|
26
|
+
className: p,
|
|
27
|
+
onBlur: h,
|
|
28
|
+
style: a,
|
|
29
|
+
...b
|
|
30
|
+
} = m, l = /* @__PURE__ */ s("span", { className: t.control, "data-component": "select", children: [
|
|
31
|
+
/* @__PURE__ */ s("select", { className: _(t.select, p, u && t.touched), onBlur: w(d, h), style: a, ...b, children: [
|
|
32
|
+
i && /* @__PURE__ */ n("option", { value: "", hidden: !0, children: i }, "placeholder"),
|
|
33
|
+
o
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ n("span", { "aria-hidden": "true", className: t.caret, style: {
|
|
36
|
+
maskImage: f("CaretDown"),
|
|
37
|
+
color: a == null ? void 0 : a.color
|
|
38
|
+
} })
|
|
39
|
+
] });
|
|
40
|
+
return c ? /* @__PURE__ */ s("label", { "data-component": "select", children: [
|
|
41
|
+
/* @__PURE__ */ n(v, { description: e, label: c, required: r.required }),
|
|
42
|
+
l
|
|
43
|
+
] }) : l;
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
g as S,
|
|
47
|
+
z as s
|
|
48
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { jsxs as s, Fragment as J, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import _ from "classix";
|
|
3
|
+
import { useId as K, useState as z, useEffect as A } from "react";
|
|
4
|
+
import { FieldError as O } from "./components/form/index.js";
|
|
5
|
+
import { i as Q } from "./icons-DtAsxlep.js";
|
|
6
|
+
import { Label as R } from "./components/label/index.js";
|
|
7
|
+
import { u as X, c as Y } from "./use-touched-B999bBr8.js";
|
|
8
|
+
import './assets/index53.css';const Z = (e) => e && e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
|
|
9
|
+
function M(e) {
|
|
10
|
+
const t = Z(e);
|
|
11
|
+
return t && !t.endsWith(":") ? `${t}:` : t;
|
|
12
|
+
}
|
|
13
|
+
const y = "_field_1m0gq_3", nn = "_input_1m0gq_8", en = "_label_1m0gq_26", tn = "_control_1m0gq_26", on = "_icon_1m0gq_36", an = "_suffix_1m0gq_61", cn = "_inline_1m0gq_68", rn = "_code_1m0gq_94", n = {
|
|
14
|
+
field: y,
|
|
15
|
+
input: nn,
|
|
16
|
+
label: en,
|
|
17
|
+
control: tn,
|
|
18
|
+
icon: on,
|
|
19
|
+
suffix: an,
|
|
20
|
+
inline: cn,
|
|
21
|
+
code: rn,
|
|
22
|
+
"suffix-text": "_suffix-text_1m0gq_121"
|
|
23
|
+
};
|
|
24
|
+
function _n({
|
|
25
|
+
className: e,
|
|
26
|
+
defaultCountryCode: t = "+47",
|
|
27
|
+
description: G,
|
|
28
|
+
disabled: l = !1,
|
|
29
|
+
errorMessage: I,
|
|
30
|
+
icon: N,
|
|
31
|
+
invalid: h = !1,
|
|
32
|
+
label: g,
|
|
33
|
+
onBlur: H,
|
|
34
|
+
placeholder: q,
|
|
35
|
+
ref: B,
|
|
36
|
+
required: x,
|
|
37
|
+
style: c,
|
|
38
|
+
suffix: L,
|
|
39
|
+
type: o = "text",
|
|
40
|
+
variant: d = "default",
|
|
41
|
+
...r
|
|
42
|
+
}) {
|
|
43
|
+
const U = K(), [v, j] = z(""), [u, C] = z(""), {
|
|
44
|
+
name: E,
|
|
45
|
+
onChange: m,
|
|
46
|
+
pattern: V,
|
|
47
|
+
value: f,
|
|
48
|
+
...W
|
|
49
|
+
} = r, {
|
|
50
|
+
touched: F,
|
|
51
|
+
onBlur: $
|
|
52
|
+
} = X(f === ""), p = N && o !== "datetime-local" ? N : void 0, P = g && d === "inline" ? M(g) : g, b = h && I ? U : void 0, S = [r["aria-describedby"], b].filter(Boolean).join(" ") || void 0, T = Y($, H);
|
|
53
|
+
A(() => {
|
|
54
|
+
if (m && o === "tel") {
|
|
55
|
+
const i = {
|
|
56
|
+
name: E,
|
|
57
|
+
value: u ? (v || t).split(" ").join("") + u.split(" ").join("") : void 0
|
|
58
|
+
};
|
|
59
|
+
m({
|
|
60
|
+
target: i,
|
|
61
|
+
currentTarget: i
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}, [v, t, E, m, u, o]), A(() => {
|
|
65
|
+
o === "tel" && !f && (C(""), j(""));
|
|
66
|
+
}, [o, f]);
|
|
67
|
+
const k = (i) => /* @__PURE__ */ s("span", { className: n.control, "data-component": "renderinput", children: [
|
|
68
|
+
i,
|
|
69
|
+
p && /* @__PURE__ */ a("span", { "aria-hidden": "true", className: n.icon, style: {
|
|
70
|
+
color: c == null ? void 0 : c.color,
|
|
71
|
+
maskImage: Q(p)
|
|
72
|
+
} })
|
|
73
|
+
] }), D = /* @__PURE__ */ s(J, { children: [
|
|
74
|
+
/* @__PURE__ */ a("input", { disabled: l, hidden: !0, onChange: m, pattern: void 0, placeholder: q, ref: B, type: o, value: f }),
|
|
75
|
+
/* @__PURE__ */ a("input", { type: "text", className: _(n.code, n.input), disabled: l, maxLength: 5, onChange: (i) => j(i.target.value), placeholder: t, value: v }),
|
|
76
|
+
k(/* @__PURE__ */ a("input", { ...W, "aria-describedby": S, "aria-invalid": h ? !0 : r["aria-invalid"], type: "tel", className: _(n.input, e), "data-icon": p ? "true" : void 0, "data-touched": F || void 0, disabled: l, maxLength: 14, name: void 0, onChange: (i) => C(i.target.value), onBlur: T, pattern: V, required: x, style: c, value: u }))
|
|
77
|
+
] }), w = k(/* @__PURE__ */ a("input", { ...r, "aria-describedby": S, "aria-invalid": h ? !0 : r["aria-invalid"], ref: B, className: _(n.input, e), "data-icon": p ? "true" : void 0, "data-touched": F || void 0, disabled: l, onBlur: T, placeholder: q, required: x, style: c, type: o }));
|
|
78
|
+
return /* @__PURE__ */ s("div", { className: n.field, "data-component": "input", children: [
|
|
79
|
+
/* @__PURE__ */ s("label", { className: _(n.label, d === "inline" && n.inline), children: [
|
|
80
|
+
P && /* @__PURE__ */ a(R, { description: G, inline: d === "inline", label: P, required: x && d !== "inline" }),
|
|
81
|
+
o === "tel" ? D : L ? /* @__PURE__ */ s("span", { className: n.suffix, children: [
|
|
82
|
+
w,
|
|
83
|
+
/* @__PURE__ */ a("span", { className: n["suffix-text"], children: L })
|
|
84
|
+
] }) : w
|
|
85
|
+
] }),
|
|
86
|
+
b && /* @__PURE__ */ a(O, { errorId: b, errorMessage: I })
|
|
87
|
+
] });
|
|
88
|
+
}
|
|
89
|
+
export {
|
|
90
|
+
_n as I,
|
|
91
|
+
M as f
|
|
92
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const t=require("./components/app-layout/index.cjs"),r=require("./components/app-link/index.cjs"),i=require("./components/aside/index.cjs"),s=require("./components/avatar/index.cjs"),c=require("./components/badge/index.cjs"),a=require("./components/banner/index.cjs"),_=require("./components/branding/index.cjs"),p=require("./components/button/index.cjs"),d=require("./components/card/index.cjs"),m=require("./components/checkbox/index.cjs"),u=require("./components/chip/index.cjs"),l=require("./components/clipboard/index.cjs"),x=require("./components/collapsible/index.cjs"),q=require("./index-BAvndpvN.cjs"),g=require("./components/comments/index.cjs"),b=require("./index-C6rfOHaL.cjs"),C=require("./components/croppable/index.cjs"),L=require("./components/dialog/index.cjs"),v=require("./components/divider/index.cjs"),h=require("./components/dropdown/index.cjs"),T=require("./components/dropzone/index.cjs"),S=require("./components/editor/index.cjs"),I=require("./content-i-MRPlxK.cjs"),k=require("./components/empty-state/index.cjs"),y=require("./components/fieldset/index.cjs"),F=require("./components/figure/index.cjs"),f=require("./components/file/index.cjs"),P=require("./components/footer/index.cjs"),A=require("./components/form/index.cjs"),B=require("./components/graph/index.cjs"),D=require("./components/group/index.cjs"),M=require("./components/header/index.cjs"),E=require("./components/icon/index.cjs"),N=require("./components/iframe/index.cjs"),O=require("./components/image/index.cjs"),j=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./assets/index.css');const t=require("./components/app-layout/index.cjs"),r=require("./components/app-link/index.cjs"),i=require("./components/aside/index.cjs"),s=require("./components/avatar/index.cjs"),c=require("./components/badge/index.cjs"),a=require("./components/banner/index.cjs"),_=require("./components/branding/index.cjs"),p=require("./components/button/index.cjs"),d=require("./components/card/index.cjs"),m=require("./components/checkbox/index.cjs"),u=require("./components/chip/index.cjs"),l=require("./components/clipboard/index.cjs"),x=require("./components/collapsible/index.cjs"),q=require("./index-BAvndpvN.cjs"),g=require("./components/comments/index.cjs"),b=require("./index-C6rfOHaL.cjs"),C=require("./components/croppable/index.cjs"),L=require("./components/dialog/index.cjs"),v=require("./components/divider/index.cjs"),h=require("./components/dropdown/index.cjs"),T=require("./components/dropzone/index.cjs"),S=require("./components/editor/index.cjs"),I=require("./content-i-MRPlxK.cjs"),k=require("./components/empty-state/index.cjs"),y=require("./components/fieldset/index.cjs"),F=require("./components/figure/index.cjs"),f=require("./components/file/index.cjs"),P=require("./components/footer/index.cjs"),A=require("./components/form/index.cjs"),B=require("./components/graph/index.cjs"),D=require("./components/group/index.cjs"),M=require("./components/header/index.cjs"),E=require("./components/icon/index.cjs"),N=require("./components/iframe/index.cjs"),O=require("./components/image/index.cjs"),j=require("./index-DBjIWUDE.cjs"),w=require("./components/label/index.cjs"),n=require("./components/link/index.cjs"),G=require("./components/list/index.cjs"),z=require("./components/loading/index.cjs"),H=require("./components/menu/index.cjs"),R=require("./components/message/index.cjs"),W=require("./components/messages/index.cjs"),e=require("./components/nav/index.cjs"),J=require("./components/object/index.cjs"),K=require("./components/page-layout/index.cjs"),Q=require("./components/panel/index.cjs"),U=require("./components/popover/index.cjs"),V=require("./components/portal/index.cjs"),X=require("./components/radio/index.cjs"),Y=require("./components/search/index.cjs"),Z=require("./index-CFMWBY53.cjs"),o=require("./components/sortable/index.cjs"),$=require("./components/table/index.cjs"),ee=require("./components/textarea/index.cjs"),ne=require("./components/toast/index.cjs"),oe=require("./components/toasts/index.cjs"),te=require("./components/toggle/index.cjs"),re=require("./components/toolbar/index.cjs"),ie=require("./components/tooltip/index.cjs"),se=require("./components/widget/index.cjs");exports.AppLayout=t.AppLayout;exports.AppLink=r.AppLink;exports.Aside=i.Aside;exports.Avatar=s.Avatar;exports.Badge=c.Badge;exports.Banner=a.Banner;exports.Branding=_.Branding;exports.Button=p.Button;exports.Card=d.Card;exports.Checkbox=m.Checkbox;exports.Chip=u.Chip;exports.Clipboard=l.Clipboard;exports.Collapsible=x.Collapsible;exports.Comment=q.Comment;exports.Comments=g.Comments;exports.Controls=b.Controls;exports.Croppable=C.Croppable;exports.Dialog=L.Dialog;exports.Divider=v.Divider;exports.Dropdown=h.Dropdown;exports.Dropzone=T.Dropzone;exports.Editor=S.Editor;exports.hasEditorContent=I.hasEditorContent;exports.EmptyState=k.EmptyState;exports.Fieldset=y.Fieldset;exports.Figure=F.Figure;exports.File=f.File;exports.Footer=P.Footer;exports.Form=A.Form;exports.Graph=B.Graph;exports.Group=D.Group;exports.Header=M.Header;exports.Icon=E.Icon;exports.Iframe=N.Iframe;exports.Image=O.Image;exports.Input=j.Input;exports.Label=w.Label;exports.Link=n.Link;exports.LinkContent=n.LinkContent;exports.List=G.List;exports.Loading=z.Loading;exports.Menu=H.Menu;exports.Message=R.Message;exports.Messages=W.Messages;exports.Nav=e.Nav;exports.NavItem=e.NavItem;exports.NavLabel=e.NavLabel;exports.Object=J.Object;exports.PageLayout=K.PageLayout;exports.Panel=Q.Panel;exports.Popover=U.Popover;exports.Portal=V.Portal;exports.Radio=X.Radio;exports.Search=Y.Search;exports.Select=Z.Select;exports.Sortable=o.Sortable;exports.useOptionalSortableItem=o.useOptionalSortableItem;exports.Table=$.Table;exports.Textarea=ee.Textarea;exports.Toast=ne.Toast;exports.Toasts=oe.Toasts;exports.Toggle=te.Toggle;exports.Toolbar=re.Toolbar;exports.Tooltip=ie.Tooltip;exports.Widget=se.Widget;
|
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import { Header as io } from "./components/header/index.js";
|
|
|
33
33
|
import { Icon as so } from "./components/icon/index.js";
|
|
34
34
|
import { Iframe as go } from "./components/iframe/index.js";
|
|
35
35
|
import { Image as Lo } from "./components/image/index.js";
|
|
36
|
-
import { I as Io } from "./index-
|
|
36
|
+
import { I as Io } from "./index-DO_phxRs.js";
|
|
37
37
|
import { Label as ho } from "./components/label/index.js";
|
|
38
38
|
import { Link as So, LinkContent as co } from "./components/link/index.js";
|
|
39
39
|
import { List as ko } from "./components/list/index.js";
|
|
@@ -49,7 +49,7 @@ import { Popover as Qo } from "./components/popover/index.js";
|
|
|
49
49
|
import { Portal as Vo } from "./components/portal/index.js";
|
|
50
50
|
import { Radio as Yo } from "./components/radio/index.js";
|
|
51
51
|
import { Search as _o } from "./components/search/index.js";
|
|
52
|
-
import { S as or } from "./index-
|
|
52
|
+
import { S as or } from "./index-DJDY6iu6.js";
|
|
53
53
|
import { Sortable as er, useOptionalSortableItem as tr } from "./components/sortable/index.js";
|
|
54
54
|
import { Table as mr } from "./components/table/index.js";
|
|
55
55
|
import { Textarea as fr } from "./components/textarea/index.js";
|