@adgytec/adgytec-web-ui-components 1.0.0 → 1.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/dist/assets/Avatar.css +1 -0
- package/dist/assets/BaseCard.css +1 -1
- package/dist/assets/ButtonChild.css +1 -0
- package/dist/assets/Container.css +1 -0
- package/dist/assets/Disclosure.css +1 -1
- package/dist/assets/DisclousreGroup.css +1 -0
- package/dist/assets/Error.css +1 -0
- package/dist/assets/FieldError.css +1 -1
- package/dist/assets/Form.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/Link.css +1 -1
- package/dist/assets/Loader.css +1 -1
- package/dist/assets/Menu.css +1 -1
- package/dist/assets/MenuLabel.css +1 -1
- package/dist/assets/ModalAction.css +1 -0
- package/dist/assets/ModalBase.css +1 -1
- package/dist/assets/NavigationMenu.css +1 -1
- package/dist/assets/NavigationSidebar.css +1 -1
- package/dist/assets/Popover.css +1 -1
- package/dist/assets/Select.css +1 -0
- package/dist/assets/Sidebar.css +1 -1
- package/dist/assets/Success.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Toast.css +1 -0
- package/dist/assets/ToggleButtonGroup.css +1 -0
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/Tree.css +1 -1
- package/dist/assets/useSplash.css +1 -0
- package/dist/chunks/Avatar +42 -0
- package/dist/chunks/BaseCard +33 -0
- package/dist/chunks/Button +39 -0
- package/dist/chunks/ButtonChild +47 -0
- package/dist/chunks/ButtonLink +40 -0
- package/dist/chunks/ComponentShapeSwitcher +47 -0
- package/dist/chunks/Container +21 -0
- package/dist/chunks/Disclosure +25 -0
- package/dist/chunks/DisclousreGroup +18 -0
- package/dist/chunks/Error +8 -0
- package/dist/chunks/FieldError +25 -0
- package/dist/chunks/FilledButton +9 -0
- package/dist/chunks/FilledButtonLink +6 -0
- package/dist/chunks/Form +52 -0
- package/dist/chunks/GradientCard +6 -0
- package/dist/chunks/Image +32 -0
- package/dist/chunks/Input +34 -0
- package/dist/chunks/Link +31 -0
- package/dist/chunks/Loader +9 -0
- package/dist/chunks/Menu +56 -0
- package/dist/chunks/MenuButton +6 -0
- package/dist/chunks/MenuLabel +15 -0
- package/dist/chunks/ModalAction +52 -0
- package/dist/chunks/ModalBase +31 -0
- package/dist/chunks/NavigationMenu +48 -0
- package/dist/chunks/NavigationResponsive +12 -0
- package/dist/chunks/NavigationSidebar +34 -0
- package/dist/chunks/OutlinedButton +9 -0
- package/dist/chunks/OutlinedButtonLink +6 -0
- package/dist/chunks/Popover +15 -0
- package/dist/chunks/PopoverDialog +15 -0
- package/dist/chunks/Select +121 -0
- package/dist/chunks/Sidebar +54 -0
- package/dist/chunks/SolidCard +9 -0
- package/dist/chunks/Success +8 -0
- package/dist/chunks/TextArea +34 -0
- package/dist/chunks/TextButton +9 -0
- package/dist/chunks/ThemeSwitcher +53 -0
- package/dist/chunks/Toast +49 -0
- package/dist/chunks/ToggleButton +35 -0
- package/dist/chunks/ToggleButtonGroup +29 -0
- package/dist/chunks/Tooltip +29 -0
- package/dist/chunks/Tree +36 -0
- package/dist/chunks/Viewport +16 -0
- package/dist/chunks/useSplash +48 -0
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/index.d.ts +1 -1
- package/dist/components/Avatar/index.js +2 -33
- package/dist/components/Avatar/types.d.ts +9 -14
- package/dist/components/Button/ButtonBase/ButtonLink.d.ts +1 -1
- package/dist/components/Button/ButtonBase/index.d.ts +1 -1
- package/dist/components/Button/ButtonBase/index.js +1 -5
- package/dist/components/Button/ButtonBase/types.d.ts +4 -16
- package/dist/components/Button/ButtonChild/ButtonChild.d.ts +1 -1
- package/dist/components/Button/ButtonChild/index.d.ts +1 -1
- package/dist/components/Button/ButtonChild/index.js +2 -48
- package/dist/components/Button/ButtonChild/types.d.ts +1 -7
- 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.d.ts +1 -1
- package/dist/components/Card/BaseCard/index.js +2 -3
- package/dist/components/Card/BaseCard/types.d.ts +2 -9
- package/dist/components/Card/GradientCard/index.js +2 -4
- package/dist/components/Card/SolidCard/index.js +2 -7
- package/dist/components/Container/Container.d.ts +2 -0
- package/dist/components/Container/index.d.ts +2 -0
- package/dist/components/Container/index.js +4 -0
- package/dist/components/Container/types.d.ts +5 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +1 -1
- package/dist/components/Disclosure/Disclosure/index.d.ts +1 -1
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/Disclosure/types.d.ts +2 -0
- package/dist/components/Disclosure/DisclousureGroup/index.d.ts +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +2 -7
- package/dist/components/Error/index.d.ts +1 -1
- package/dist/components/Error/index.js +2 -5
- package/dist/components/Form/Form/index.d.ts +1 -1
- package/dist/components/Form/Form/index.js +2 -46
- package/dist/components/Form/Input/index.d.ts +1 -1
- package/dist/components/Form/Input/index.js +2 -31
- package/dist/components/Form/TextArea/index.d.ts +1 -1
- package/dist/components/Form/TextArea/index.js +2 -31
- package/dist/components/Image/Image.d.ts +3 -0
- package/dist/components/Image/ImageSource.d.ts +3 -0
- package/dist/components/Image/ImageVariants.d.ts +3 -0
- package/dist/components/Image/index.d.ts +2 -0
- package/dist/components/Image/index.js +4 -0
- package/dist/components/Image/types.d.ts +17 -0
- package/dist/components/Link/FilledButtonLink/index.js +1 -4
- package/dist/components/Link/LinkBase/index.d.ts +1 -1
- package/dist/components/Link/LinkBase/index.js +1 -1
- package/dist/components/Link/OutlinedButtonLink/index.js +2 -5
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuBase/index.d.ts +1 -1
- package/dist/components/Menu/MenuButton/index.js +2 -4
- package/dist/components/Menu/MenuLabel/index.js +1 -1
- package/dist/components/Modal/ModalAction/index.d.ts +1 -1
- package/dist/components/Modal/ModalAction/index.js +2 -49
- package/dist/components/Modal/ModalAction/types.d.ts +1 -4
- package/dist/components/Modal/ModalBase/index.d.ts +1 -1
- package/dist/components/Modal/ModalBase/index.js +1 -1
- package/dist/components/Navigation/NavigationMenu/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu/index.js +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.js +2 -10
- package/dist/components/Navigation/NavigationSidebar/index.d.ts +1 -1
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
- package/dist/components/Popover/PopoverBase/index.d.ts +1 -1
- package/dist/components/Popover/PopoverBase/index.js +1 -1
- package/dist/components/Popover/PopoverDialog/index.js +2 -13
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.js +2 -89
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.js +2 -4
- package/dist/components/Sidebar/types.d.ts +2 -12
- package/dist/components/Success/index.d.ts +1 -1
- package/dist/components/Success/index.js +2 -5
- package/dist/components/Toast/Toast.d.ts +2 -0
- package/dist/components/Toast/index.d.ts +2 -0
- package/dist/components/Toast/index.js +4 -0
- package/dist/components/Toast/types.d.ts +12 -0
- package/dist/components/ToggleButtonGroup/index.d.ts +1 -1
- package/dist/components/ToggleButtonGroup/index.js +2 -27
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Tree/index.d.ts +1 -1
- package/dist/components/Tree/index.js +1 -1
- package/dist/components/Viewport/Viewport.d.ts +1 -0
- package/dist/components/Viewport/index.d.ts +1 -0
- package/dist/components/Viewport/index.js +4 -0
- package/dist/components/VisualSettings/ComponentShapeSwitcher/ComponentShapeSwitcher.d.ts +0 -1
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.d.ts +1 -1
- package/dist/components/VisualSettings/ComponentShapeSwitcher/index.js +2 -4
- package/dist/components/VisualSettings/ComponentShapeSwitcher/types.d.ts +7 -5
- package/dist/components/VisualSettings/ThemeSwitcher/ThemeSwitcher.d.ts +0 -1
- package/dist/components/VisualSettings/ThemeSwitcher/index.d.ts +1 -1
- package/dist/components/VisualSettings/ThemeSwitcher/index.js +1 -1
- package/dist/components/VisualSettings/ThemeSwitcher/types.d.ts +7 -1
- package/dist/index.d.ts +43 -1
- package/dist/index.js +80 -3
- package/dist/utils/types.d.ts +2 -13
- package/package.json +73 -226
- package/dist/BaseCard-DrG8XXVz.js +0 -30
- package/dist/Button-Dtvxu-co.js +0 -34
- package/dist/ButtonLink-fUZZI7JR.js +0 -36
- package/dist/ComponentShapeSwitcher-CY_93STw.js +0 -46
- package/dist/Disclosure-BGdAnqQv.js +0 -28
- package/dist/FieldError-CvUKcRtm.js +0 -17
- package/dist/FilledButton-SpEu55ES.js +0 -10
- package/dist/Link-Be6F1iXD.js +0 -31
- package/dist/Loader-CLMHp6L7.js +0 -8
- package/dist/Menu-DvZqs_yA.js +0 -55
- package/dist/MenuLabel-B0FrGXKS.js +0 -14
- package/dist/ModalBase-DOU0cBij.js +0 -27
- package/dist/NavigationMenu-DqDfWOnJ.js +0 -49
- package/dist/NavigationSidebar-Dx2ww8hp.js +0 -35
- package/dist/OutlinedButton-QAeXI3Dj.js +0 -10
- package/dist/Popover-CNBII_iI.js +0 -14
- package/dist/Sidebar-BqNH6hIl.js +0 -52
- package/dist/Splash-neeaI9j6.js +0 -46
- package/dist/TextButton-CWDZaF0c.js +0 -10
- package/dist/ThemeSwitcher-Nf1-Z_ql.js +0 -48
- package/dist/ToggleButton-DPy_Urwc.js +0 -31
- package/dist/Tooltip-D-jCnOvo.js +0 -29
- package/dist/Tree-DwJPCnFr.js +0 -35
- package/dist/assets/Splash.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/assets/index10.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index12.css +0 -1
- package/dist/assets/index13.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/assets/index5.css +0 -1
- package/dist/assets/index6.css +0 -1
- package/dist/assets/index7.css +0 -1
- package/dist/assets/index8.css +0 -1
- package/dist/assets/index9.css +0 -1
- package/dist/components/VisualSettings/VisualSettings/VisualSettings.d.ts +0 -3
- package/dist/components/VisualSettings/VisualSettings/index.d.ts +0 -2
- package/dist/components/VisualSettings/VisualSettings/index.js +0 -124
- package/dist/components/VisualSettings/VisualSettings/types.d.ts +0 -3
- package/dist/index-BG6gd3OK.js +0 -118
- package/dist/styles/main.css +0 -208
- package/dist/vite.svg +0 -1
package/dist/Button-Dtvxu-co.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
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-neeaI9j6.js";
|
|
3
|
-
import { Button as d } from "react-aria-components";
|
|
4
|
-
import { T as x } from "./Tooltip-D-jCnOvo.js";
|
|
5
|
-
import { ButtonShape as a, ButtonVariant as S } from "./components/Button/ButtonBase/index.js";
|
|
6
|
-
import { ColorTheme as g } from "./index.js";
|
|
7
|
-
const C = ({
|
|
8
|
-
variant: i,
|
|
9
|
-
theme: m = g.primary,
|
|
10
|
-
shape: r = a.rectangle,
|
|
11
|
-
description: f,
|
|
12
|
-
children: n,
|
|
13
|
-
...e
|
|
14
|
-
}) => {
|
|
15
|
-
const { coords: o, handlePress: p } = $(e.onPress), h = typeof n == "function";
|
|
16
|
-
return r === a.shrink && i !== S.text && (r = a.rectangle), /* @__PURE__ */ s(x, { theme: m, description: f, children: /* @__PURE__ */ s(
|
|
17
|
-
d,
|
|
18
|
-
{
|
|
19
|
-
...e,
|
|
20
|
-
className: e.className ?? `${t.button} ${t["button-link"]} ${t[i]} ${t[m]} ${t[r]}`,
|
|
21
|
-
onPress: p,
|
|
22
|
-
children: h ? ((B) => /* @__PURE__ */ l(c, { children: [
|
|
23
|
-
o && /* @__PURE__ */ s(u, { ...o }),
|
|
24
|
-
n(B)
|
|
25
|
-
] })) : /* @__PURE__ */ l(c, { children: [
|
|
26
|
-
o && /* @__PURE__ */ s(u, { ...o }),
|
|
27
|
-
n
|
|
28
|
-
] })
|
|
29
|
-
}
|
|
30
|
-
) });
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
C as B
|
|
34
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
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-neeaI9j6.js";
|
|
3
|
-
import { Link as B } from "react-aria-components";
|
|
4
|
-
import { T as S } from "./Tooltip-D-jCnOvo.js";
|
|
5
|
-
import { ButtonVariant as k, ButtonShape as x } from "./components/Button/ButtonBase/index.js";
|
|
6
|
-
import { ColorTheme as y } from "./index.js";
|
|
7
|
-
const F = ({
|
|
8
|
-
variant: m = k.filled,
|
|
9
|
-
theme: n = y.primary,
|
|
10
|
-
shape: u = x.rectangle,
|
|
11
|
-
description: p,
|
|
12
|
-
underline: c = !0,
|
|
13
|
-
children: s,
|
|
14
|
-
...e
|
|
15
|
-
}) => {
|
|
16
|
-
const { coords: t, handlePress: f } = $(e.onPress), d = typeof s == "function";
|
|
17
|
-
return /* @__PURE__ */ r(S, { theme: n, description: p, children: /* @__PURE__ */ r(
|
|
18
|
-
B,
|
|
19
|
-
{
|
|
20
|
-
...e,
|
|
21
|
-
...c && { "data-underline": !0 },
|
|
22
|
-
onPress: f,
|
|
23
|
-
className: `${o.button} ${o["button-link"]} ${o[m]} ${o[n]} ${o[u]}`,
|
|
24
|
-
children: d ? ((h) => /* @__PURE__ */ i(a, { children: [
|
|
25
|
-
t && /* @__PURE__ */ r(l, { ...t }),
|
|
26
|
-
s(h)
|
|
27
|
-
] })) : /* @__PURE__ */ i(a, { children: [
|
|
28
|
-
t && /* @__PURE__ */ r(l, { ...t }),
|
|
29
|
-
s
|
|
30
|
-
] })
|
|
31
|
-
}
|
|
32
|
-
) });
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
F as B
|
|
36
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { jsx as a, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { useLocalStorage as i } from "usehooks-ts";
|
|
3
|
-
import { useEffect as u } from "react";
|
|
4
|
-
import "react-aria-components";
|
|
5
|
-
import { b as d, a as f } from "./index-BG6gd3OK.js";
|
|
6
|
-
var r = /* @__PURE__ */ ((e) => (e.sharp = "sharp", e.round = "round", e))(r || {});
|
|
7
|
-
const l = "component-shape-preference", x = ({
|
|
8
|
-
ui: e = !0,
|
|
9
|
-
theme: n = f.primary
|
|
10
|
-
}) => {
|
|
11
|
-
const [t, s, S] = i(
|
|
12
|
-
l,
|
|
13
|
-
r.sharp
|
|
14
|
-
), p = [
|
|
15
|
-
{
|
|
16
|
-
id: r.sharp,
|
|
17
|
-
value: "Sharp"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
id: r.round,
|
|
21
|
-
value: "Round"
|
|
22
|
-
}
|
|
23
|
-
];
|
|
24
|
-
u(() => {
|
|
25
|
-
document.documentElement.setAttribute("data-shape", t);
|
|
26
|
-
}, [t]);
|
|
27
|
-
const m = (c) => {
|
|
28
|
-
const o = Array.from(c)[0];
|
|
29
|
-
o && s(o);
|
|
30
|
-
};
|
|
31
|
-
return e ? /* @__PURE__ */ a(
|
|
32
|
-
d,
|
|
33
|
-
{
|
|
34
|
-
items: p,
|
|
35
|
-
selectionMode: "single",
|
|
36
|
-
selectedKeys: [t],
|
|
37
|
-
onSelectionChange: m,
|
|
38
|
-
theme: n
|
|
39
|
-
}
|
|
40
|
-
) : /* @__PURE__ */ a(h, {});
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
x as C,
|
|
44
|
-
r as a,
|
|
45
|
-
l as b
|
|
46
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Disclosure as c, DisclosurePanel as l } from "react-aria-components";
|
|
3
|
-
import { ChevronRight as n } from "lucide-react";
|
|
4
|
-
import { T as a } from "./TextButton-CWDZaF0c.js";
|
|
5
|
-
import { ColorTheme as m } from "./index.js";
|
|
6
|
-
import { ButtonShape as p } from "./components/Button/ButtonBase/index.js";
|
|
7
|
-
import './assets/Disclosure.css';const h = "_disclosure_1cz7p_1", u = "_trigger_1cz7p_23", g = "_panel_1cz7p_55", e = {
|
|
8
|
-
disclosure: h,
|
|
9
|
-
trigger: u,
|
|
10
|
-
panel: g
|
|
11
|
-
}, N = ({ heading: o, children: t, id: i }) => /* @__PURE__ */ s(c, { className: e.disclosure, id: i, children: [
|
|
12
|
-
/* @__PURE__ */ r("h2", { className: e.trigger, children: /* @__PURE__ */ s(
|
|
13
|
-
a,
|
|
14
|
-
{
|
|
15
|
-
slot: "trigger",
|
|
16
|
-
theme: m.inverseSurface,
|
|
17
|
-
shape: p.shrink,
|
|
18
|
-
children: [
|
|
19
|
-
/* @__PURE__ */ r(n, {}),
|
|
20
|
-
o
|
|
21
|
-
]
|
|
22
|
-
}
|
|
23
|
-
) }),
|
|
24
|
-
/* @__PURE__ */ r(l, { className: e.panel, children: /* @__PURE__ */ r("p", { children: t }) })
|
|
25
|
-
] });
|
|
26
|
-
export {
|
|
27
|
-
N as D
|
|
28
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Label as l, FieldError as s } from "react-aria-components";
|
|
3
|
-
import './assets/FieldError.css';const a = "_label_16b5i_1", o = {
|
|
4
|
-
label: a
|
|
5
|
-
}, i = (r) => /* @__PURE__ */ e(l, { ...r, className: r.className ?? o.label, children: r.children }), t = "_error_srqbn_1", c = {
|
|
6
|
-
error: t
|
|
7
|
-
}, m = (r) => /* @__PURE__ */ e(
|
|
8
|
-
s,
|
|
9
|
-
{
|
|
10
|
-
...r,
|
|
11
|
-
className: r.className ?? c.error
|
|
12
|
-
}
|
|
13
|
-
);
|
|
14
|
-
export {
|
|
15
|
-
m as F,
|
|
16
|
-
i as L
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as i } from "./Button-Dtvxu-co.js";
|
|
4
|
-
const l = (t) => {
|
|
5
|
-
const { children: o } = t;
|
|
6
|
-
return /* @__PURE__ */ r(i, { ...t, variant: n.filled, children: o });
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
l as F
|
|
10
|
-
};
|
package/dist/Link-Be6F1iXD.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { Link as t } from "react-aria-components";
|
|
3
|
-
import { ColorTheme as _ } from "./index.js";
|
|
4
|
-
import { T as c } from "./Tooltip-D-jCnOvo.js";
|
|
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
|
-
link: m,
|
|
7
|
-
primary: y,
|
|
8
|
-
"primary-variant": "_primary-variant_e0vn4_73",
|
|
9
|
-
secondary: v,
|
|
10
|
-
tertiary: l,
|
|
11
|
-
error: p,
|
|
12
|
-
"inverse-surface": "_inverse-surface_e0vn4_105",
|
|
13
|
-
success: u
|
|
14
|
-
}, T = ({
|
|
15
|
-
theme: r = _.primary,
|
|
16
|
-
description: a,
|
|
17
|
-
underline: i = !0,
|
|
18
|
-
children: o,
|
|
19
|
-
...e
|
|
20
|
-
}) => /* @__PURE__ */ n(c, { description: a, theme: r, children: /* @__PURE__ */ n(
|
|
21
|
-
t,
|
|
22
|
-
{
|
|
23
|
-
...e,
|
|
24
|
-
className: e.className ?? `${s.link} ${s[r]}`,
|
|
25
|
-
...i && { "data-underline": !0 },
|
|
26
|
-
children: o
|
|
27
|
-
}
|
|
28
|
-
) });
|
|
29
|
-
export {
|
|
30
|
-
T as L
|
|
31
|
-
};
|
package/dist/Loader-CLMHp6L7.js
DELETED
package/dist/Menu-DvZqs_yA.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
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-DrG8XXVz.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,14 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { M as l } from "./Menu-DvZqs_yA.js";
|
|
3
|
-
import { Pressable as t } from "react-aria-components";
|
|
4
|
-
import { T as a } from "./Tooltip-D-jCnOvo.js";
|
|
5
|
-
import './assets/MenuLabel.css';const p = "_pressable_13cip_1", n = {
|
|
6
|
-
pressable: p
|
|
7
|
-
}, f = ({
|
|
8
|
-
children: e,
|
|
9
|
-
menuItems: r,
|
|
10
|
-
description: o
|
|
11
|
-
}) => /* @__PURE__ */ s(l, { menuItems: r, children: /* @__PURE__ */ s(a, { description: o, children: /* @__PURE__ */ s(t, { children: /* @__PURE__ */ s("span", { role: "button", className: n.pressable, children: e }) }) }) });
|
|
12
|
-
export {
|
|
13
|
-
f as M
|
|
14
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
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-DrG8XXVz.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,49 +0,0 @@
|
|
|
1
|
-
import { jsx as r, Fragment as a, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import { M as i } from "./MenuLabel-B0FrGXKS.js";
|
|
3
|
-
import { L as c } from "./Link-Be6F1iXD.js";
|
|
4
|
-
import { T as d } from "./TextButton-CWDZaF0c.js";
|
|
5
|
-
import { ColorTheme as n } from "./index.js";
|
|
6
|
-
import { ButtonShape as m } from "./components/Button/ButtonBase/index.js";
|
|
7
|
-
import { ChevronDown as h } from "lucide-react";
|
|
8
|
-
import './assets/NavigationMenu.css';const p = "_menu_sata7_1", f = {
|
|
9
|
-
menu: p
|
|
10
|
-
}, I = ({ items: s, className: o }) => {
|
|
11
|
-
const t = s.filter((e) => e.type !== "separator");
|
|
12
|
-
return /* @__PURE__ */ r("div", { className: o || f.menu, children: t.map((e) => {
|
|
13
|
-
switch (e.type) {
|
|
14
|
-
case "sub-items":
|
|
15
|
-
return /* @__PURE__ */ u(i, { menuItems: e.subItems, children: [
|
|
16
|
-
e.node,
|
|
17
|
-
/* @__PURE__ */ r(h, {})
|
|
18
|
-
] }, e.id);
|
|
19
|
-
case "item-node":
|
|
20
|
-
return /* @__PURE__ */ r(a, { children: e.node }, e.id);
|
|
21
|
-
case "link":
|
|
22
|
-
return /* @__PURE__ */ r(
|
|
23
|
-
c,
|
|
24
|
-
{
|
|
25
|
-
href: e.href,
|
|
26
|
-
target: e.target,
|
|
27
|
-
underline: e.active,
|
|
28
|
-
theme: e.active ? n.primary : n.inverseSurface,
|
|
29
|
-
children: e.node
|
|
30
|
-
},
|
|
31
|
-
e.id
|
|
32
|
-
);
|
|
33
|
-
case "button":
|
|
34
|
-
return /* @__PURE__ */ r(
|
|
35
|
-
d,
|
|
36
|
-
{
|
|
37
|
-
onPress: e.onPress,
|
|
38
|
-
theme: n.inverseSurface,
|
|
39
|
-
shape: m.shrink,
|
|
40
|
-
children: e.node
|
|
41
|
-
},
|
|
42
|
-
e.id
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
}) });
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
I as N
|
|
49
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { T as r } from "./TextButton-CWDZaF0c.js";
|
|
3
|
-
import { ButtonShape as o } from "./components/Button/ButtonBase/index.js";
|
|
4
|
-
import { S as m } from "./Sidebar-BqNH6hIl.js";
|
|
5
|
-
import { T as c } from "./Tree-DwJPCnFr.js";
|
|
6
|
-
import { X as l, Menu as h } from "lucide-react";
|
|
7
|
-
import { ColorTheme as p } from "./index.js";
|
|
8
|
-
import './assets/NavigationSidebar.css';const f = "_nav_1fjh5_1", d = "_close_1fjh5_15", s = {
|
|
9
|
-
nav: f,
|
|
10
|
-
close: d
|
|
11
|
-
}, N = ({
|
|
12
|
-
items: t,
|
|
13
|
-
...a
|
|
14
|
-
}) => /* @__PURE__ */ e(
|
|
15
|
-
m,
|
|
16
|
-
{
|
|
17
|
-
...a,
|
|
18
|
-
trigger: /* @__PURE__ */ e(r, { shape: o.square, children: /* @__PURE__ */ e(h, {}) }),
|
|
19
|
-
children: ({ close: n }) => /* @__PURE__ */ i("div", { className: s.nav, children: [
|
|
20
|
-
/* @__PURE__ */ e("div", { className: s.close, children: /* @__PURE__ */ e(
|
|
21
|
-
r,
|
|
22
|
-
{
|
|
23
|
-
onPress: n,
|
|
24
|
-
shape: o.square,
|
|
25
|
-
theme: p.inverseSurface,
|
|
26
|
-
children: /* @__PURE__ */ e(l, {})
|
|
27
|
-
}
|
|
28
|
-
) }),
|
|
29
|
-
/* @__PURE__ */ e(c, { items: t })
|
|
30
|
-
] })
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
export {
|
|
34
|
-
N
|
|
35
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonVariant as r } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as i } from "./Button-Dtvxu-co.js";
|
|
4
|
-
const e = (t) => {
|
|
5
|
-
const { children: o } = t;
|
|
6
|
-
return /* @__PURE__ */ n(i, { ...t, variant: r.outlined, children: o });
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
e as O
|
|
10
|
-
};
|
package/dist/Popover-CNBII_iI.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { Popover as e } from "react-aria-components";
|
|
3
|
-
import './assets/Popover.css';const p = "_popover_cizdw_1", s = {
|
|
4
|
-
popover: p
|
|
5
|
-
}, a = (o) => /* @__PURE__ */ r(
|
|
6
|
-
e,
|
|
7
|
-
{
|
|
8
|
-
...o,
|
|
9
|
-
className: o.className ?? s.popover
|
|
10
|
-
}
|
|
11
|
-
);
|
|
12
|
-
export {
|
|
13
|
-
a as P
|
|
14
|
-
};
|
package/dist/Sidebar-BqNH6hIl.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
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-DrG8XXVz.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
|
-
};
|
package/dist/Splash-neeaI9j6.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
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,10 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
|
|
3
|
-
import { B as a } from "./Button-Dtvxu-co.js";
|
|
4
|
-
const s = (t) => {
|
|
5
|
-
const { children: o } = t;
|
|
6
|
-
return /* @__PURE__ */ r(a, { ...t, variant: n.text, children: o });
|
|
7
|
-
};
|
|
8
|
-
export {
|
|
9
|
-
s as T
|
|
10
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsx as r, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { useTernaryDarkMode as u } from "usehooks-ts";
|
|
3
|
-
import { useEffect as l } from "react";
|
|
4
|
-
import { b as f, a as y } from "./index-BG6gd3OK.js";
|
|
5
|
-
const D = ({
|
|
6
|
-
ui: o = !0,
|
|
7
|
-
theme: a = y.primary
|
|
8
|
-
}) => {
|
|
9
|
-
const { isDarkMode: e, ternaryDarkMode: m, setTernaryDarkMode: n } = u(), s = [
|
|
10
|
-
{
|
|
11
|
-
id: "system",
|
|
12
|
-
value: "System"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
id: "light",
|
|
16
|
-
value: "Light"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
id: "dark",
|
|
20
|
-
value: "Dark"
|
|
21
|
-
}
|
|
22
|
-
], i = () => {
|
|
23
|
-
document.documentElement.setAttribute(
|
|
24
|
-
"data-theme",
|
|
25
|
-
e ? "dark" : "light"
|
|
26
|
-
);
|
|
27
|
-
};
|
|
28
|
-
l(() => {
|
|
29
|
-
i();
|
|
30
|
-
}, [e]);
|
|
31
|
-
const d = (c) => {
|
|
32
|
-
const t = Array.from(c)[0];
|
|
33
|
-
t && n(t);
|
|
34
|
-
};
|
|
35
|
-
return o ? /* @__PURE__ */ r(
|
|
36
|
-
f,
|
|
37
|
-
{
|
|
38
|
-
items: s,
|
|
39
|
-
selectionMode: "single",
|
|
40
|
-
selectedKeys: [m],
|
|
41
|
-
onSelectionChange: d,
|
|
42
|
-
theme: a
|
|
43
|
-
}
|
|
44
|
-
) : /* @__PURE__ */ r(h, {});
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
D as T
|
|
48
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { ToggleButton as p } from "react-aria-components";
|
|
3
|
-
import { u, s as o, S as c } from "./Splash-neeaI9j6.js";
|
|
4
|
-
import { ColorTheme as g } from "./index.js";
|
|
5
|
-
import { T as h } from "./Tooltip-D-jCnOvo.js";
|
|
6
|
-
import { ButtonVariant as T, ButtonShape as f } from "./components/Button/ButtonBase/index.js";
|
|
7
|
-
const y = ({
|
|
8
|
-
id: s,
|
|
9
|
-
value: e,
|
|
10
|
-
description: a,
|
|
11
|
-
isDisabled: n,
|
|
12
|
-
theme: m = g.primary
|
|
13
|
-
}) => {
|
|
14
|
-
const { coords: t, handlePress: l } = u();
|
|
15
|
-
return /* @__PURE__ */ r(h, { description: a, children: /* @__PURE__ */ i(
|
|
16
|
-
p,
|
|
17
|
-
{
|
|
18
|
-
id: s,
|
|
19
|
-
onPress: l,
|
|
20
|
-
className: `${o.button} ${o[m]} ${o[T.outlined]} ${o[f.rectangle]}`,
|
|
21
|
-
isDisabled: n,
|
|
22
|
-
children: [
|
|
23
|
-
t && /* @__PURE__ */ r(c, { ...t }),
|
|
24
|
-
e
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
) });
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
y as T
|
|
31
|
-
};
|
package/dist/Tooltip-D-jCnOvo.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
};
|