@adgytec/adgytec-web-ui-components 0.0.17 → 0.0.19
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/BaseCard-B3e3mo_b.js +27 -0
- package/dist/{Button-D2HmL9lT.js → Button-C8yUSxx_.js} +2 -2
- package/dist/{ButtonLink-Bj0h692A.js → ButtonLink-DNXUq90W.js} +2 -2
- package/dist/{Disclosure-Dmi6UFSF.js → Disclosure-sItjZ-jf.js} +1 -1
- package/dist/{FilledButton-SnAf5REc.js → FilledButton-LnYvKzE9.js} +1 -1
- package/dist/{Link-wdtV3-eC.js → Link-Be6F1iXD.js} +1 -1
- package/dist/Menu-LfX-Lcn4.js +55 -0
- package/dist/{MenuLabel-sb6mKBOL.js → MenuLabel-DvV0TSfU.js} +2 -2
- package/dist/ModalBase-B4mNuNF3.js +27 -0
- package/dist/{NavigationMenu-C64WpZpH.js → NavigationMenu-CgdJVeVZ.js} +3 -3
- package/dist/{NavigationSidebar-CdQlKp5A.js → NavigationSidebar-CxOmzvOb.js} +2 -2
- package/dist/{OutlinedButton-Bna2lY_l.js → OutlinedButton-BesEreKQ.js} +1 -1
- package/dist/{Popover-sX7uB5r0.js → Popover-CNBII_iI.js} +1 -1
- package/dist/Sidebar-cOdcO7SA.js +52 -0
- package/dist/Splash-neeaI9j6.js +46 -0
- package/dist/{TextButton-CoRHw1vC.js → TextButton-Ct0ffSsq.js} +1 -1
- package/dist/{ToggleButton-DuG32EKD.js → ToggleButton-DPy_Urwc.js} +2 -2
- package/dist/Tooltip-D-jCnOvo.js +29 -0
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/Menu.css +1 -1
- package/dist/assets/ModalBase.css +1 -1
- package/dist/assets/Popover.css +1 -1
- package/dist/assets/Sidebar.css +1 -1
- package/dist/assets/Splash.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/components/Avatar/index.js +24 -24
- package/dist/components/Button/FilledButton/index.js +1 -1
- package/dist/components/Button/OutlinedButton/index.js +1 -1
- package/dist/components/Button/TextButton/index.js +1 -1
- package/dist/components/Button/ToggleButton/index.js +1 -1
- package/dist/components/Card/BaseCard/index.js +3 -4
- package/dist/components/Card/BaseCard/types.d.ts +0 -6
- package/dist/components/Card/GradientCard/index.js +4 -14
- package/dist/components/Card/SolidCard/index.js +5 -6
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +1 -1
- package/dist/components/Link/FilledButtonLink/index.js +1 -1
- package/dist/components/Link/LinkBase/index.js +1 -1
- package/dist/components/Link/OutlinedButtonLink/index.js +1 -1
- package/dist/components/Menu/MenuBase/Menu.d.ts +1 -1
- package/dist/components/Menu/MenuBase/types.d.ts +3 -0
- package/dist/components/Menu/MenuButton/index.js +1 -1
- package/dist/components/Menu/MenuLabel/index.js +1 -1
- package/dist/components/Modal/ModalAction/index.js +2 -2
- package/dist/components/Modal/ModalBase/ModalBase.d.ts +1 -1
- package/dist/components/Modal/ModalBase/index.js +1 -1
- package/dist/components/Modal/ModalBase/types.d.ts +2 -0
- package/dist/components/Navigation/NavigationMenu/index.js +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.js +2 -2
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
- package/dist/components/Popover/PopoverBase/index.js +1 -1
- package/dist/components/Popover/PopoverDialog/index.js +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/index.js +52 -50
- package/dist/components/Select/types.d.ts +2 -0
- package/dist/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Sidebar/types.d.ts +2 -0
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/package.json +1 -5
- package/dist/BaseCard-C75SV55U.js +0 -32
- package/dist/Menu-B3oiOXZP.js +0 -36
- package/dist/ModalBase-B6E_69dY.js +0 -25
- package/dist/Sidebar-BWZan2PF.js +0 -50
- package/dist/Splash-DnaqZnSX.js +0 -46
- package/dist/Tooltip-B2vjUO40.js +0 -29
- package/dist/components/Card/TransparentCard/TransparentCard.d.ts +0 -3
- package/dist/components/Card/TransparentCard/index.d.ts +0 -1
- package/dist/components/Card/TransparentCard/index.js +0 -16
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import './assets/BaseCard.css';var l = /* @__PURE__ */ ((s) => (s.solid = "solid", s.solidLow = "solid-low", s.solidLowest = "solid-lowest", s.solidHigh = "solid-high", s.solidHighest = "solid-highest", s.gradient = "gradient", s))(l || {});
|
|
3
|
+
const e = "_card_1hpxf_1", h = "_solid_1hpxf_41", _ = "_gradient_1hpxf_81", o = {
|
|
4
|
+
card: e,
|
|
5
|
+
solid: h,
|
|
6
|
+
"solid-low": "_solid-low_1hpxf_49",
|
|
7
|
+
"solid-lowest": "_solid-lowest_1hpxf_57",
|
|
8
|
+
"solid-high": "_solid-high_1hpxf_65",
|
|
9
|
+
"solid-highest": "_solid-highest_1hpxf_73",
|
|
10
|
+
gradient: _
|
|
11
|
+
}, r = ({
|
|
12
|
+
background: s = l.solid,
|
|
13
|
+
children: d,
|
|
14
|
+
...i
|
|
15
|
+
}) => /* @__PURE__ */ t(
|
|
16
|
+
"div",
|
|
17
|
+
{
|
|
18
|
+
...i,
|
|
19
|
+
className: `${i.className ?? ""} ${o.card} ${o[s]}`,
|
|
20
|
+
"data-card": "true",
|
|
21
|
+
children: d
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
export {
|
|
25
|
+
r as B,
|
|
26
|
+
l as C
|
|
27
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as l, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { u as $, s as t, S as u } from "./Splash-
|
|
2
|
+
import { u as $, s as t, S as u } from "./Splash-neeaI9j6.js";
|
|
3
3
|
import { Button as d } from "react-aria-components";
|
|
4
|
-
import { T as x } from "./Tooltip-
|
|
4
|
+
import { T as x } from "./Tooltip-D-jCnOvo.js";
|
|
5
5
|
import { ButtonShape as a, ButtonVariant as S } from "./components/Button/ButtonBase/index.js";
|
|
6
6
|
import { ColorTheme as g } from "./index.js";
|
|
7
7
|
const C = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i, Fragment as a } from "react/jsx-runtime";
|
|
2
|
-
import { u as $, s as o, S as l } from "./Splash-
|
|
2
|
+
import { u as $, s as o, S as l } from "./Splash-neeaI9j6.js";
|
|
3
3
|
import { Link as B } from "react-aria-components";
|
|
4
|
-
import { T as S } from "./Tooltip-
|
|
4
|
+
import { T as S } from "./Tooltip-D-jCnOvo.js";
|
|
5
5
|
import { ButtonVariant as k, ButtonShape as x } from "./components/Button/ButtonBase/index.js";
|
|
6
6
|
import { ColorTheme as y } from "./index.js";
|
|
7
7
|
const F = ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Disclosure as c, DisclosurePanel as l } from "react-aria-components";
|
|
3
3
|
import { ChevronRight as n } from "lucide-react";
|
|
4
|
-
import { T as a } from "./TextButton-
|
|
4
|
+
import { T as a } from "./TextButton-Ct0ffSsq.js";
|
|
5
5
|
import { ColorTheme as m } from "./index.js";
|
|
6
6
|
import { ButtonShape as p } from "./components/Button/ButtonBase/index.js";
|
|
7
7
|
import './assets/Disclosure.css';const h = "_disclosure_1cz7p_1", u = "_trigger_1cz7p_23", g = "_panel_1cz7p_55", e = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as i } from "./Button-
|
|
3
|
+
import { B as i } from "./Button-C8yUSxx_.js";
|
|
4
4
|
const l = (t) => {
|
|
5
5
|
const { children: o } = t;
|
|
6
6
|
return /* @__PURE__ */ r(i, { ...t, variant: n.filled, children: o });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Link as t } from "react-aria-components";
|
|
3
3
|
import { ColorTheme as _ } from "./index.js";
|
|
4
|
-
import { T as c } from "./Tooltip-
|
|
4
|
+
import { T as c } from "./Tooltip-D-jCnOvo.js";
|
|
5
5
|
import './assets/Link.css';const m = "_link_e0vn4_1", y = "_primary_e0vn4_65", v = "_secondary_e0vn4_81", l = "_tertiary_e0vn4_89", p = "_error_e0vn4_97", u = "_success_e0vn4_113", s = {
|
|
6
6
|
link: m,
|
|
7
7
|
primary: y,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { MenuTrigger as d, Menu as m, Separator as h, MenuItem as l, SubmenuTrigger as _ } from "react-aria-components";
|
|
3
|
+
import { P as u } from "./Popover-CNBII_iI.js";
|
|
4
|
+
import { ChevronRight as g } from "lucide-react";
|
|
5
|
+
import { B as c, C as f } from "./BaseCard-B3e3mo_b.js";
|
|
6
|
+
import './assets/Menu.css';const x = "_menu_18vtx_1", v = "_separator_18vtx_85", s = {
|
|
7
|
+
menu: x,
|
|
8
|
+
"menu-item": "_menu-item_18vtx_13",
|
|
9
|
+
"item-node": "_item-node_18vtx_23",
|
|
10
|
+
separator: v
|
|
11
|
+
}, p = ({ menuItem: e, cardBackground: o }) => {
|
|
12
|
+
if (e.type === "separator")
|
|
13
|
+
return /* @__PURE__ */ r(h, { className: `${s.separator}` });
|
|
14
|
+
const n = !!e.subItems?.length, t = /* @__PURE__ */ a(
|
|
15
|
+
l,
|
|
16
|
+
{
|
|
17
|
+
className: `${s["menu-item"]} ${s[e.type]}`,
|
|
18
|
+
onAction: e.onPress,
|
|
19
|
+
href: e.href,
|
|
20
|
+
target: e.target,
|
|
21
|
+
children: [
|
|
22
|
+
e.node,
|
|
23
|
+
n && /* @__PURE__ */ r(g, {})
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
);
|
|
27
|
+
return n ? /* @__PURE__ */ a(_, { children: [
|
|
28
|
+
t,
|
|
29
|
+
/* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(c, { background: o, children: /* @__PURE__ */ r(m, { className: `${s.menu}`, children: e.subItems.map((i) => /* @__PURE__ */ r(
|
|
30
|
+
p,
|
|
31
|
+
{
|
|
32
|
+
menuItem: i,
|
|
33
|
+
cardBackground: o
|
|
34
|
+
},
|
|
35
|
+
i.id
|
|
36
|
+
)) }) }) })
|
|
37
|
+
] }) : t;
|
|
38
|
+
}, y = ({
|
|
39
|
+
children: e,
|
|
40
|
+
menuItems: o,
|
|
41
|
+
cardBackground: n = f.gradient
|
|
42
|
+
}) => /* @__PURE__ */ a(d, { children: [
|
|
43
|
+
e,
|
|
44
|
+
/* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(c, { background: n, children: /* @__PURE__ */ r(m, { className: `${s.menu}`, children: o.map((t) => /* @__PURE__ */ r(
|
|
45
|
+
p,
|
|
46
|
+
{
|
|
47
|
+
cardBackground: n,
|
|
48
|
+
menuItem: t
|
|
49
|
+
},
|
|
50
|
+
t.id
|
|
51
|
+
)) }) }) })
|
|
52
|
+
] });
|
|
53
|
+
export {
|
|
54
|
+
y as M
|
|
55
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { M as l } from "./Menu-
|
|
2
|
+
import { M as l } from "./Menu-LfX-Lcn4.js";
|
|
3
3
|
import { Pressable as t } from "react-aria-components";
|
|
4
|
-
import { T as a } from "./Tooltip-
|
|
4
|
+
import { T as a } from "./Tooltip-D-jCnOvo.js";
|
|
5
5
|
import './assets/MenuLabel.css';const p = "_pressable_13cip_1", n = {
|
|
6
6
|
pressable: p
|
|
7
7
|
}, f = ({
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { DialogTrigger as i, ModalOverlay as n, Modal as t, Dialog as g } from "react-aria-components";
|
|
3
|
+
import { B as _, C as h } from "./BaseCard-B3e3mo_b.js";
|
|
4
|
+
import './assets/ModalBase.css';const y = "_modal_e27rd_1", r = {
|
|
5
|
+
"modal-overlay": "_modal-overlay_e27rd_1",
|
|
6
|
+
modal: y
|
|
7
|
+
}, p = ({
|
|
8
|
+
cardBackground: l = h.gradient,
|
|
9
|
+
trigger: d,
|
|
10
|
+
modalOverlayProps: o,
|
|
11
|
+
dialogTriggerProps: e,
|
|
12
|
+
modalProps: s,
|
|
13
|
+
...m
|
|
14
|
+
}) => /* @__PURE__ */ c(i, { ...e, children: [
|
|
15
|
+
d,
|
|
16
|
+
/* @__PURE__ */ a(
|
|
17
|
+
n,
|
|
18
|
+
{
|
|
19
|
+
...o,
|
|
20
|
+
className: o?.className ?? r["modal-overlay"],
|
|
21
|
+
children: /* @__PURE__ */ a(t, { ...s, className: r.modal, children: /* @__PURE__ */ a(_, { background: l, children: /* @__PURE__ */ a(g, { ...m }) }) })
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
] });
|
|
25
|
+
export {
|
|
26
|
+
p as M
|
|
27
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { M as u } from "./MenuLabel-
|
|
3
|
-
import { L as m } from "./Link-
|
|
4
|
-
import { T as i } from "./TextButton-
|
|
2
|
+
import { M as u } from "./MenuLabel-DvV0TSfU.js";
|
|
3
|
+
import { L as m } from "./Link-Be6F1iXD.js";
|
|
4
|
+
import { T as i } from "./TextButton-Ct0ffSsq.js";
|
|
5
5
|
import { ColorTheme as n } from "./index.js";
|
|
6
6
|
import { ButtonShape as c } from "./components/Button/ButtonBase/index.js";
|
|
7
7
|
import { ChevronDown as p } from "lucide-react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { T as r } from "./TextButton-
|
|
2
|
+
import { T as r } from "./TextButton-Ct0ffSsq.js";
|
|
3
3
|
import { ButtonShape as o } from "./components/Button/ButtonBase/index.js";
|
|
4
|
-
import { S as m } from "./Sidebar-
|
|
4
|
+
import { S as m } from "./Sidebar-cOdcO7SA.js";
|
|
5
5
|
import { T as c } from "./Tree-DwJPCnFr.js";
|
|
6
6
|
import { X as l, Menu as h } from "lucide-react";
|
|
7
7
|
import { ColorTheme as p } from "./index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { ButtonVariant as r } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as i } from "./Button-
|
|
3
|
+
import { B as i } from "./Button-C8yUSxx_.js";
|
|
4
4
|
const e = (t) => {
|
|
5
5
|
const { children: o } = t;
|
|
6
6
|
return /* @__PURE__ */ n(i, { ...t, variant: r.outlined, children: o });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { Popover as e } from "react-aria-components";
|
|
3
|
-
import './assets/Popover.css';const p = "
|
|
3
|
+
import './assets/Popover.css';const p = "_popover_cizdw_1", s = {
|
|
4
4
|
popover: p
|
|
5
5
|
}, a = (o) => /* @__PURE__ */ r(
|
|
6
6
|
e,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as u, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { DialogTrigger as f, ModalOverlay as m, Modal as x, Dialog as k } from "react-aria-components";
|
|
3
|
+
import { B as b, C as q } from "./BaseCard-B3e3mo_b.js";
|
|
4
|
+
import './assets/Sidebar.css';var e = /* @__PURE__ */ ((l) => (l.inlineStart = "inline-start", l.inlineEnd = "inline-end", l.blockStart = "block-start", l.blockEnd = "block-end", l))(e || {}), n = /* @__PURE__ */ ((l) => (l.full = "full", l.threeQuarters = "three-quarters", l.half = "half", l.quarter = "quarter", l))(n || {});
|
|
5
|
+
const g = "_modal_1hdcx_1", y = "_full_1hdcx_275", v = "_half_1hdcx_297", p = "_quarter_1hdcx_305", r = {
|
|
6
|
+
"modal-overlay": "_modal-overlay_1hdcx_1",
|
|
7
|
+
"modal-fade": "_modal-fade_1hdcx_1",
|
|
8
|
+
modal: g,
|
|
9
|
+
"inline-start": "_inline-start_1hdcx_109",
|
|
10
|
+
"inline-slide": "_inline-slide_1hdcx_1",
|
|
11
|
+
"inline-end": "_inline-end_1hdcx_135",
|
|
12
|
+
"block-start": "_block-start_1hdcx_161",
|
|
13
|
+
"block-slide": "_block-slide_1hdcx_1",
|
|
14
|
+
"block-end": "_block-end_1hdcx_187",
|
|
15
|
+
full: y,
|
|
16
|
+
"three-quarters": "_three-quarters_1hdcx_289",
|
|
17
|
+
half: v,
|
|
18
|
+
quarter: p
|
|
19
|
+
}, B = ({
|
|
20
|
+
children: l,
|
|
21
|
+
trigger: t,
|
|
22
|
+
sidebarPosition: d = e.inlineStart,
|
|
23
|
+
sidebarSize: o = n.full,
|
|
24
|
+
isDismissable: c,
|
|
25
|
+
isKeyboardDismissableDisabled: s,
|
|
26
|
+
cardBackground: _ = q.gradient
|
|
27
|
+
}) => {
|
|
28
|
+
const i = typeof l == "function";
|
|
29
|
+
return /* @__PURE__ */ u(f, { children: [
|
|
30
|
+
t,
|
|
31
|
+
/* @__PURE__ */ a(
|
|
32
|
+
m,
|
|
33
|
+
{
|
|
34
|
+
className: `${r["modal-overlay"]}`,
|
|
35
|
+
isDismissable: c,
|
|
36
|
+
isKeyboardDismissDisabled: s,
|
|
37
|
+
children: /* @__PURE__ */ a(
|
|
38
|
+
x,
|
|
39
|
+
{
|
|
40
|
+
className: `${r.modal} ${r[d]} ${r[o]}`,
|
|
41
|
+
children: /* @__PURE__ */ a(b, { background: _, children: /* @__PURE__ */ a(k, { children: i ? (h) => l(h) : l }) })
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] });
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
B as S,
|
|
50
|
+
e as a,
|
|
51
|
+
n as b
|
|
52
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { useState as o, useRef as i, useEffect as c } from "react";
|
|
2
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
3
|
+
import './assets/Splash.css';const u = "_button_iyh6t_1", y = "_square_iyh6t_123", h = "_avatar_iyh6t_139", d = "_rectangle_iyh6t_155", m = "_shrink_iyh6t_167", p = "_primary_iyh6t_179", f = "_secondary_iyh6t_199", v = "_tertiary_iyh6t_209", x = "_error_iyh6t_219", k = "_success_iyh6t_239", S = "_filled_iyh6t_251", b = "_outlined_iyh6t_261", g = "_text_iyh6t_271", j = {
|
|
4
|
+
button: u,
|
|
5
|
+
"button-link": "_button-link_iyh6t_91",
|
|
6
|
+
square: y,
|
|
7
|
+
avatar: h,
|
|
8
|
+
rectangle: d,
|
|
9
|
+
shrink: m,
|
|
10
|
+
primary: p,
|
|
11
|
+
"primary-variant": "_primary-variant_iyh6t_189",
|
|
12
|
+
secondary: f,
|
|
13
|
+
tertiary: v,
|
|
14
|
+
error: x,
|
|
15
|
+
"inverse-surface": "_inverse-surface_iyh6t_229",
|
|
16
|
+
success: k,
|
|
17
|
+
filled: S,
|
|
18
|
+
outlined: b,
|
|
19
|
+
text: g
|
|
20
|
+
}, w = (r) => {
|
|
21
|
+
const [e, s] = o(null), a = i(0);
|
|
22
|
+
let n = i(void 0), _ = (t) => {
|
|
23
|
+
s({ id: a.current++, x: t.x, y: t.y }), t.x !== -1 && t.y !== -1 && (clearTimeout(n.current), n.current = setTimeout(() => s(null), 500)), r?.(t);
|
|
24
|
+
};
|
|
25
|
+
return c(() => () => {
|
|
26
|
+
clearTimeout(n.current);
|
|
27
|
+
}, []), { coords: e, handlePress: _ };
|
|
28
|
+
}, q = "_splash_zhwi0_1", T = {
|
|
29
|
+
splash: q
|
|
30
|
+
}, z = ({ id: r, x: e, y: s }) => /* @__PURE__ */ l(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
className: `${T.splash}`,
|
|
34
|
+
style: {
|
|
35
|
+
insetInlineStart: e,
|
|
36
|
+
insetBlockStart: s,
|
|
37
|
+
translate: "-50% -50%"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
`${r}`
|
|
41
|
+
);
|
|
42
|
+
export {
|
|
43
|
+
z as S,
|
|
44
|
+
j as s,
|
|
45
|
+
w as u
|
|
46
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as a } from "./Button-
|
|
3
|
+
import { B as a } from "./Button-C8yUSxx_.js";
|
|
4
4
|
const s = (t) => {
|
|
5
5
|
const { children: o } = t;
|
|
6
6
|
return /* @__PURE__ */ r(a, { ...t, variant: n.text, children: o });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { ToggleButton as p } from "react-aria-components";
|
|
3
|
-
import { u, s as o, S as c } from "./Splash-
|
|
3
|
+
import { u, s as o, S as c } from "./Splash-neeaI9j6.js";
|
|
4
4
|
import { ColorTheme as g } from "./index.js";
|
|
5
|
-
import { T as h } from "./Tooltip-
|
|
5
|
+
import { T as h } from "./Tooltip-D-jCnOvo.js";
|
|
6
6
|
import { ButtonVariant as T, ButtonShape as f } from "./components/Button/ButtonBase/index.js";
|
|
7
7
|
const y = ({
|
|
8
8
|
id: s,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { TooltipTrigger as c, Tooltip as n, OverlayArrow as p } from "react-aria-components";
|
|
3
|
+
import { ColorTheme as l } from "./index.js";
|
|
4
|
+
import './assets/Tooltip.css';const v = "_tooltip_5kv1r_1", m = "_primary_5kv1r_133", y = "_secondary_5kv1r_153", k = "_tertiary_5kv1r_163", u = "_error_5kv1r_173", f = "_success_5kv1r_193", o = {
|
|
5
|
+
tooltip: v,
|
|
6
|
+
"tooltip-arrow": "_tooltip-arrow_5kv1r_53",
|
|
7
|
+
primary: m,
|
|
8
|
+
"primary-variant": "_primary-variant_5kv1r_143",
|
|
9
|
+
secondary: y,
|
|
10
|
+
tertiary: k,
|
|
11
|
+
error: u,
|
|
12
|
+
"inverse-surface": "_inverse-surface_5kv1r_183",
|
|
13
|
+
success: f
|
|
14
|
+
}, w = ({
|
|
15
|
+
children: t,
|
|
16
|
+
description: s,
|
|
17
|
+
theme: i = l.inverseSurface,
|
|
18
|
+
delay: a = 250,
|
|
19
|
+
closeDelay: _ = 150
|
|
20
|
+
}) => s ? /* @__PURE__ */ e(c, { delay: a, closeDelay: _, children: [
|
|
21
|
+
t,
|
|
22
|
+
/* @__PURE__ */ e(n, { className: `${o.tooltip} ${o[i]}`, children: [
|
|
23
|
+
/* @__PURE__ */ r(p, { className: `${o["tooltip-arrow"]}`, children: /* @__PURE__ */ r("svg", { viewBox: "0 0 8 8", children: /* @__PURE__ */ r("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
24
|
+
s
|
|
25
|
+
] })
|
|
26
|
+
] }) : t;
|
|
27
|
+
export {
|
|
28
|
+
w as T
|
|
29
|
+
};
|
package/dist/assets/BaseCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._card_1hpxf_1{--_card-color: var(--color-on-surface);--_card-background: var(--color-surface);--_card-elevation: var(--elevation-1);--_card-radius: var(--radius);--_card-padding-inline: 1rem;--_card-padding-block: 1rem;padding-inline:var(--_card-padding-inline);padding-block:var(--_card-padding-block);border-radius:var(--_card-radius);box-shadow:var(--_card-elevation);background-color:var(--_card-background);color:var(--_card-color)}._solid_1hpxf_41{--_card-background: var(--color-surface-container)}._solid-low_1hpxf_49{--_card-background: var(--color-surface-container-low)}._solid-lowest_1hpxf_57{--_card-background: var(--color-surface-container-lowest)}._solid-high_1hpxf_65{--_card-background: var(--color-surface-container-high)}._solid-highest_1hpxf_73{--_card-background: var(--color-surface-container-highest)}._gradient_1hpxf_81{background-image:radial-gradient(ellipse at top,var(--color-surface-container-low),transparent),radial-gradient(ellipse at bottom,var(--color-surface-container-high),transparent);background-repeat:no-repeat}
|
package/dist/assets/Menu.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._menu_18vtx_1{display:grid;gap:.5rem;border-radius:inherit}._menu-item_18vtx_13{inline-size:100%;display:grid;border-radius:inherit}._menu-item_18vtx_13:not(._item-node_18vtx_23){padding-block:.375rem;padding-inline:.5rem;color:var(--_item-color);background-color:var(--_item-background);text-decoration:none;cursor:pointer}._menu-item_18vtx_13:not(._item-node_18vtx_23)[data-has-submenu]{display:flex;gap:.25rem;align-items:center;justify-content:space-between}._menu-item_18vtx_13:not(._item-node_18vtx_23)[data-hovered],._menu-item_18vtx_13:not(._item-node_18vtx_23)[data-focus-visible],._menu-item_18vtx_13:not(._item-node_18vtx_23)[data-open]{--_item-background: hsl(from var(--_card-background) h s calc(l + 10) );--_item-color: hsl(from var(--_card-color) h s calc(l + 10) )}._menu-item_18vtx_13:not(._item-node_18vtx_23)[data-selected]{--_item-background: hsl(from var(--_card-background) h s calc(l - 10) );--_item-color: hsl(from var(--_card-color) h s calc(l - 10) )}._separator_18vtx_85{background-color:var(--color-outline);block-size:.075rem;margin-block:.25rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
._modal-
|
|
1
|
+
._modal-overlay_e27rd_1{background-color:hsl(from var(--color-surface) h s l / .5);-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);position:fixed;inset:0;display:flex;align-items:center;justify-content:center}._modal-overlay_e27rd_1[data-entering]{animation:_modal-fade_e27rd_1 .2s}._modal-overlay_e27rd_1[data-exiting]{animation:_modal-fade_e27rd_1 .15s reverse ease-in}._modal_e27rd_1{max-inline-size:min(90dvi,60rem);max-block-size:90dvb;overflow:auto;border-radius:var(--radius);box-shadow:var(--elevation-2)}._modal_e27rd_1 [data-card=true]{--_card-padding-inline: clamp(1rem, 2vi, 1.5rem);--_card-padding-block: clamp(1rem, 2vi, 1.5rem);--_card-elevation: none}._modal_e27rd_1[data-entering]{animation:_modal-zoom_e27rd_1 .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes _modal-fade_e27rd_1{0%{opacity:0}to{opacity:1}}@keyframes _modal-zoom_e27rd_1{0%{transform:scale(.8)}to{transform:scale(1)}}
|
package/dist/assets/Popover.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._popover_cizdw_1{box-shadow:var(--elevation-2);border-radius:var(--radius);overflow:auto;max-inline-size:min(90vi,50rem);min-inline-size:min(25vi,10rem);transition:transform .25s,opacity .25s;transform:translateZ(0)}._popover_cizdw_1 [data-card=true]{--_card-padding-inline: .5em;--_card-padding-block: .5em;--_card-elevation: none}._popover_cizdw_1[data-placement=bottom]{--_origin: translateY(-.25rem)}._popover_cizdw_1[data-placement=top]{--_origin: translateY(.25rem)}._popover_cizdw_1[data-placement=right]{--_origin: translateX(-.25rem)}._popover_cizdw_1[data-placement=left]{--_origin: translateX(.25rem)}._popover_cizdw_1[data-entering],._popover_cizdw_1[data-exiting]{transform:var(--_origin);opacity:0}
|
package/dist/assets/Sidebar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._modal-
|
|
1
|
+
._modal-overlay_1hdcx_1{--_animation-duration: .3s;background-color:hsl(from var(--color-surface) h s l / .5);-webkit-backdrop-filter:blur(.25rem);backdrop-filter:blur(.25rem);position:fixed;inset:0}._modal-overlay_1hdcx_1[data-entering]{animation:_modal-fade_1hdcx_1 var(--_animation-duration)}._modal-overlay_1hdcx_1[data-exiting]{animation:_modal-fade_1hdcx_1 var(--_animation-duration) reverse ease-in}._modal_1hdcx_1{position:fixed;overflow:auto;inset-inline-start:var(--_inline-start);inset-block-start:var(--_block-start);inset-inline-end:var(--_inline-end);inset-block-end:var(--_block-end);box-shadow:var(--elevation-2)}._modal_1hdcx_1 [data-card=true]{--_card-padding-inline: clamp(1.5rem, 2.25vi, 2rem);--_card-padding-block: clamp(1.5rem, 2.25vi, 2rem);--_card-elevation: none;--_card-radius: 0;inline-size:100%;block-size:100%}._modal_1hdcx_1[data-entering]{animation-duration:var(--_animation-duration);animation-name:var(--_slide-animation)}._modal_1hdcx_1[data-exiting]{animation-duration:var(--_animation-duration);animation-timing-function:ease-in;animation-name:var(--_slide-animation);animation-direction:reverse}._inline-start_1hdcx_109{--_inline-start: 0;--_block-start: 0;--_block-end: 0;--_inline-end: var(--_size);--_from: -100%;--_slide-animation: _inline-slide_1hdcx_1;border-start-end-radius:var(--radius-sidebar);border-end-end-radius:var(--radius-sidebar)}._inline-end_1hdcx_135{--_inline-end: 0;--_block-start: 0;--_block-end: 0;--_inline-start: var(--_size);--_from: 100%;--_slide-animation: _inline-slide_1hdcx_1;border-start-start-radius:var(--radius-sidebar);border-end-start-radius:var(--radius-sidebar)}._block-start_1hdcx_161{--_inline-end: 0;--_inline-start: 0;--_block-start: 0;--_block-end: var(--_size);--_from: -100%;--_slide-animation: _block-slide_1hdcx_1;border-end-start-radius:var(--radius-sidebar);border-end-end-radius:var(--radius-sidebar)}._block-end_1hdcx_187{--_inline-end: 0;--_inline-start: 0;--_block-end: 0;--_block-start: var(--_size);--_from: 100%;--_slide-animation: _block-slide_1hdcx_1;border-start-end-radius:var(--radius-sidebar);border-start-start-radius:var(--radius-sidebar)}@keyframes _modal-fade_1hdcx_1{0%{opacity:0}to{opacity:1}}@keyframes _inline-slide_1hdcx_1{0%{transform:translate(var(--_from))}to{transform:translate(0)}}@keyframes _block-slide_1hdcx_1{0%{transform:translateY(var(--_from))}to{transform:translateY(0)}}._full_1hdcx_275{--_size: 0;border-radius:0;border:none}._three-quarters_1hdcx_289{--_size: 25%}._half_1hdcx_297{--_size: 50%}._quarter_1hdcx_305{--_size: 75%}
|
package/dist/assets/Splash.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_iyh6t_1{--_button-theme-background: transparent;--_button-theme-color: transparent;--_button-border-color: var(--_button-theme-background);border-radius:var(--_button-radius);cursor:pointer;border:var(--button-border-width) solid var(--_button-border-color);font-weight:var(--font-weight-medium);text-align:center;padding-inline:var(--_button-padding-inline);padding-block:var(--_button-padding-block);background-color:var(--_button-background);color:var(--_button-color);position:relative;overflow:hidden;transition:background-color .25s,color .25s}._button_iyh6t_1[data-hovered],._button_iyh6t_1[data-focus-visible]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l + 10) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l + 10) )}._button_iyh6t_1[data-pressed]{--_button-background: hsl( from var(--_button-theme-background) h s calc(l - 5) );--_button-color: hsl(from var(--_button-theme-color) h s calc(l - 5) )}._button_iyh6t_1[data-selected]{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._button-link_iyh6t_91{text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent}._button-link_iyh6t_91[data-hovered],._button-link_iyh6t_91[data-focus-visible],._button-link_iyh6t_91[data-underline]{text-decoration-color:currentColor}._square_iyh6t_123{--_button-padding-inline: .625em;--_button-padding-block: .625em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._avatar_iyh6t_139{--_button-padding-inline: .125em;--_button-padding-block: .125em;aspect-ratio:1/1;--_button-radius: var(--radius-circular)}._rectangle_iyh6t_155{--_button-padding-inline: 1.125em;--_button-padding-block: .625em;--_button-radius: var(--radius-button)}._shrink_iyh6t_167{--_button-padding-inline: 0;--_button-padding-block: 0}._primary_iyh6t_179{--_button-theme-background: var(--color-primary);--_button-theme-color: var(--color-on-primary)}._primary-variant_iyh6t_189{--_button-theme-background: var(--color-primary-variant);--_button-theme-color: var(--color-on-primary-variant)}._secondary_iyh6t_199{--_button-theme-background: var(--color-secondary);--_button-theme-color: var(--color-on-secondary)}._tertiary_iyh6t_209{--_button-theme-background: var(--color-tertiary);--_button-theme-color: var(--color-on-tertiary)}._error_iyh6t_219{--_button-theme-background: var(--color-error);--_button-theme-color: var(--color-on-error)}._inverse-surface_iyh6t_229{--_button-theme-background: var(--color-inverse-surface);--_button-theme-color: var(--color-inverse-on-surface)}._success_iyh6t_239{--_button-theme-background: var(--color-success);--_button-theme-color: var(--color-on-success)}._filled_iyh6t_251{--_button-background: var(--_button-theme-background);--_button-color: var(--_button-theme-color)}._outlined_iyh6t_261{--_button-background: transparent;--_button-color: var(--_button-theme-background)}._text_iyh6t_271{--_button-background: transparent;--_button-border-color: transparent;--_button-color: var(--_button-theme-background)}._splash_zhwi0_1{position:absolute;inline-size:25%;aspect-ratio:1/1;border-radius:50%;background-color:hsl(from var(--color-surface-variant) h s l / .5);animation:_ripple_zhwi0_1 .5s linear;opacity:0}@keyframes _ripple_zhwi0_1{0%{scale:0;opacity:1}to{scale:8;opacity:0}}
|
package/dist/assets/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._tooltip_5kv1r_1{font-size:.875rem;text-align:center;background-color:var(--_tooltip-background);color:var(--_tooltip-color);padding-inline:.75em;padding-block:.5em;outline:none;max-width:15rem;margin:.625rem;border-radius:var(--radius);box-shadow:var(--elevation-1);transition:transform .25s,opacity .25s;transform:translateZ(0)}._tooltip_5kv1r_1[data-placement=bottom]{--_origin: translateY(-.25rem)}._tooltip_5kv1r_1[data-placement=bottom] ._tooltip-arrow_5kv1r_53 svg{rotate:180deg}._tooltip_5kv1r_1[data-placement=top]{--_origin: translateY(.25rem)}._tooltip_5kv1r_1[data-placement=right]{--_origin: translateX(-.25rem)}._tooltip_5kv1r_1[data-placement=right] ._tooltip-arrow_5kv1r_53 svg{rotate:90deg}._tooltip_5kv1r_1[data-placement=left]{--_origin: translateX(.25rem)}._tooltip_5kv1r_1[data-placement=left] ._tooltip-arrow_5kv1r_53 svg{rotate:-90deg}._tooltip_5kv1r_1[data-entering],._tooltip_5kv1r_1[data-exiting]{transform:var(--_origin);opacity:0}._tooltip-arrow_5kv1r_53 svg{display:block;fill:var(--_tooltip-background);inline-size:.625rem;aspect-ratio:1/1}._primary_5kv1r_133{--_tooltip-background: var(--color-primary-container);--_tooltip-color: var(--color-on-primary-container)}._primary-variant_5kv1r_143{--_tooltip-background: var(--color-primary-variant-container);--_tooltip-color: var(--color-on-primary-variant-container)}._secondary_5kv1r_153{--_tooltip-background: var(--color-secondary-container);--_tooltip-color: var(--color-on-secondary-container)}._tertiary_5kv1r_163{--_tooltip-background: var(--color-tertiary-container);--_tooltip-color: var(--color-on-tertiary-container)}._error_5kv1r_173{--_tooltip-background: var(--color-error-container);--_tooltip-color: var(--color-on-error-container)}._inverse-surface_5kv1r_183{--_tooltip-background: var(--color-surface-container);--_tooltip-color: var(--color-on-surface)}._success_5kv1r_193{--_tooltip-background: var(--color-success-container);--_tooltip-color: var(--color-on-success-container)}
|
package/dist/assets/index11.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._avatar_1ex1w_1{--_base-inline-size: 1rem;--_base-font-size: 1rem;--_inline-size: calc( var(--_base-inline-size) * var(--_inline-size-multiplier) );--_font-size: calc(var(--_base-font-size) * var(--_font-multiplier));inline-size:var(--_inline-size);font-size:var(--_font-size);aspect-ratio:1/1;border-radius:var(--radius-circular);overflow:hidden}._node_1ex1w_37{display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);text-transform:uppercase;background-color:var(--_avatar-background);color:var(--_avatar-color)}._image_1ex1w_61 img{-o-object-fit:cover;object-fit:cover;inline-size:100%;block-size:100%}._small_1ex1w_79{--_inline-size-multiplier: 2;--_font-multiplier: .875}._normal_1ex1w_89{--_inline-size-multiplier: 2.5;--_font-multiplier: 1}._large_1ex1w_99{--_inline-size-multiplier: 3;--_font-multiplier: 1.125}._primary_1ex1w_111{--_avatar-background: var(--color-primary);--_avatar-color: var(--color-on-primary)}._primary-variant_1ex1w_121{--_avatar-background: var(--color-primary-variant);--_avatar-color: var(--color-on-primary-variant)}._secondary_1ex1w_131{--_avatar-background: var(--color-secondary);--_avatar-color: var(--color-on-secondary)}._tertiary_1ex1w_141{--_avatar-background: var(--color-tertiary);--_avatar-color: var(--color-on-tertiary)}._error_1ex1w_151{--_avatar-background: var(--color-error);--_avatar-color: var(--color-on-error)}._inverse-surface_1ex1w_161{--_avatar-background: var(--color-inverse-surface);--_avatar-color: var(--color-inverse-on-surface)}._success_1ex1w_171{--_avatar-background: var(--color-success);--_avatar-color: var(--color-on-success)}
|
package/dist/assets/index3.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._select_1tehw_1{display:grid;gap:var(--form-input-gap)}._selected-value_1tehw_11{font-size:var(--form-input-text);font-weight:var(--font-weight-bold)}._selected-value_1tehw_11 ._option-description_1tehw_19{display:none}._selected-value_1tehw_11[data-placeholder]{font-style:italic}._trigger_1tehw_37{display:flex;align-items:center;gap:.75rem;justify-content:space-between}._options-list_1tehw_51{display:grid;gap:var(--form-gap);border-radius:inherit}._options-item-group_1tehw_63{display:flex;gap:.5rem;align-items:center;justify-content:space-between;cursor:pointer;border-radius:inherit;padding-inline:.75rem;padding-block:.5rem;color:var(--_item-color);background-color:var(--_item-background);transition:background-color .25s,color .25s}._options-item-group_1tehw_63[data-hovered],._options-item-group_1tehw_63[data-focus-visible]{--_item-background: hsl(from var(--_card-background) h s calc(l + 10) );--_item-color: hsl(from var(--_card-color) h s calc(l + 10) )}._options-item-group_1tehw_63[data-selected]{--_item-background: hsl(from var(--_card-background) h s calc(l - 10) );--_item-color: hsl(from var(--_card-color) h s calc(l - 10) )}._options-item_1tehw_63{font-size:var(--form-input-text);display:grid;gap:.25rem}._options-item_1tehw_63 ._option-description_1tehw_19{font-size:.875em;font-style:italic}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { ColorTheme as
|
|
3
|
-
import '../../assets/index11.css';var
|
|
4
|
-
const
|
|
5
|
-
avatar:
|
|
6
|
-
node:
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { ColorTheme as l } from "../../index.js";
|
|
3
|
+
import '../../assets/index11.css';var c = /* @__PURE__ */ ((r) => (r.small = "small", r.normal = "normal", r.large = "large", r))(c || {}), n = /* @__PURE__ */ ((r) => (r.image = "image", r.node = "node", r))(n || {});
|
|
4
|
+
const i = "_avatar_1ex1w_1", x = "_node_1ex1w_37", y = "_image_1ex1w_61", w = "_small_1ex1w_79", g = "_normal_1ex1w_89", d = "_large_1ex1w_99", p = "_primary_1ex1w_111", u = "_secondary_1ex1w_131", v = "_tertiary_1ex1w_141", f = "_error_1ex1w_151", $ = "_success_1ex1w_171", s = {
|
|
5
|
+
avatar: i,
|
|
6
|
+
node: x,
|
|
7
7
|
image: y,
|
|
8
|
-
small:
|
|
9
|
-
normal:
|
|
10
|
-
large:
|
|
11
|
-
primary:
|
|
12
|
-
"primary-variant": "_primary-
|
|
13
|
-
secondary:
|
|
14
|
-
tertiary:
|
|
15
|
-
error:
|
|
16
|
-
"inverse-surface": "_inverse-
|
|
17
|
-
success:
|
|
18
|
-
},
|
|
8
|
+
small: w,
|
|
9
|
+
normal: g,
|
|
10
|
+
large: d,
|
|
11
|
+
primary: p,
|
|
12
|
+
"primary-variant": "_primary-variant_1ex1w_121",
|
|
13
|
+
secondary: u,
|
|
14
|
+
tertiary: v,
|
|
15
|
+
error: f,
|
|
16
|
+
"inverse-surface": "_inverse-surface_1ex1w_161",
|
|
17
|
+
success: $
|
|
18
|
+
}, m = ({ children: r, size: a, type: e, theme: _ }) => /* @__PURE__ */ o(
|
|
19
19
|
"div",
|
|
20
20
|
{
|
|
21
|
-
className: `${
|
|
21
|
+
className: `${s.avatar} ${s[a]} ${s[e]} ${s[_]}`,
|
|
22
22
|
children: r
|
|
23
23
|
}
|
|
24
|
-
),
|
|
24
|
+
), C = ({
|
|
25
25
|
src: r,
|
|
26
26
|
children: a,
|
|
27
|
-
size:
|
|
27
|
+
size: e = c.normal,
|
|
28
28
|
label: _,
|
|
29
|
-
theme: t =
|
|
30
|
-
}) => a ? /* @__PURE__ */
|
|
29
|
+
theme: t = l.primary
|
|
30
|
+
}) => a ? /* @__PURE__ */ o(m, { type: n.node, size: e, theme: t, children: a }) : /* @__PURE__ */ o(m, { size: e, type: n.image, theme: t, children: /* @__PURE__ */ o("img", { src: r, alt: _ }) });
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
C as Avatar,
|
|
33
|
+
c as AvatarSize,
|
|
34
34
|
n as AvatarType
|
|
35
35
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
export declare enum CardBackground {
|
|
3
|
-
transparent = "transparent",
|
|
4
3
|
solid = "solid",
|
|
5
4
|
solidLow = "solid-low",
|
|
6
5
|
solidLowest = "solid-lowest",
|
|
@@ -8,13 +7,8 @@ export declare enum CardBackground {
|
|
|
8
7
|
solidHighest = "solid-highest",
|
|
9
8
|
gradient = "gradient"
|
|
10
9
|
}
|
|
11
|
-
export declare enum CardPadding {
|
|
12
|
-
none = "none",
|
|
13
|
-
default = "default"
|
|
14
|
-
}
|
|
15
10
|
export interface BaseCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
11
|
background?: CardBackground;
|
|
17
|
-
padding?: CardPadding;
|
|
18
12
|
}
|
|
19
13
|
export interface StyledBaseCardProps extends Omit<BaseCardProps, "background"> {
|
|
20
14
|
}
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { B as o, C as
|
|
3
|
-
const
|
|
4
|
-
padding: a = n.default,
|
|
5
|
-
...r
|
|
6
|
-
}) => /* @__PURE__ */ d(
|
|
7
|
-
o,
|
|
8
|
-
{
|
|
9
|
-
...r,
|
|
10
|
-
padding: a,
|
|
11
|
-
background: t.gradient
|
|
12
|
-
}
|
|
13
|
-
);
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { B as o, C as d } from "../../../BaseCard-B3e3mo_b.js";
|
|
3
|
+
const e = ({ ...r }) => /* @__PURE__ */ a(o, { ...r, background: d.gradient });
|
|
14
4
|
export {
|
|
15
|
-
|
|
5
|
+
e as GradientCard
|
|
16
6
|
};
|