@adgytec/adgytec-web-ui-components 0.0.10 → 0.0.11
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/Avatar-BRt91J0i.js +35 -0
- package/dist/{Disclosure-BWhHg23-.js → Disclosure-BUNppuMs.js} +2 -2
- package/dist/{DisclousreGroup-BaPxc0kO.js → DisclousreGroup-3n2noZn8.js} +1 -1
- package/dist/{Error-y2dIWjyb.js → Error--Jbz8Uoy.js} +1 -1
- package/dist/{FieldError-a_f080R9.js → FieldError-CvUKcRtm.js} +5 -5
- package/dist/{Input-BCN_oTYG.js → Input-fPkzWJI-.js} +7 -7
- package/dist/Link-DV_dPWbm.js +31 -0
- package/dist/{ModalAction-BkwdZJBK.js → ModalAction-CG_70YMt.js} +1 -1
- package/dist/{NavigationMenu-CFVzC6tr.js → NavigationMenu-BJh51iq8.js} +3 -3
- package/dist/{NavigationResponsive-C4PFfTvv.js → NavigationResponsive-DijNGfH2.js} +2 -2
- package/dist/{NavigationSidebar-V4M6KqcW.js → NavigationSidebar-QiavBbjq.js} +2 -2
- package/dist/{OutlinedButton-Cpxp5Ylo.js → OutlinedButton-BcGOfKx6.js} +2 -2
- package/dist/{OutlinedButtonLink-C2IiFMcg.js → OutlinedButtonLink-B31MVQKz.js} +1 -1
- package/dist/{Select-0-tGNeL9.js → Select-DIaQ_hk2.js} +23 -23
- package/dist/{Success-Bh3pb5T7.js → Success-FBfAAtBv.js} +1 -1
- package/dist/TextArea-BqYpfMqm.js +33 -0
- package/dist/{TextButton-_N9wgIF3.js → TextButton-CmbDjZsQ.js} +1 -1
- package/dist/{ToggleButtonGroup-B6KyntY6.js → ToggleButtonGroup-B1eveh6s.js} +1 -1
- package/dist/assets/Avatar.css +1 -1
- package/dist/assets/Error.css +1 -1
- package/dist/assets/FieldError.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/Link.css +1 -1
- package/dist/assets/Select.css +1 -1
- package/dist/assets/Success.css +1 -1
- package/dist/assets/TextArea.css +1 -1
- package/dist/assets/useSplash.css +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Button/index.js +3 -3
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +1 -1
- package/dist/components/Error/index.js +1 -1
- package/dist/components/Form/Input/index.js +1 -1
- package/dist/components/Form/TextArea/index.js +1 -1
- package/dist/components/Link/index.js +2 -2
- package/dist/components/Modal/ModalAction/index.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Navigation/NavigationMenu/index.js +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.js +1 -1
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
- package/dist/components/Navigation/index.js +3 -3
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Success/index.js +1 -1
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/index.js +18 -18
- package/dist/styles/main.css +14 -1
- package/dist/useSplash-DOL9j-2c.js +49 -0
- package/package.json +1 -1
- package/dist/Avatar-vPRORJSz.js +0 -35
- package/dist/Link-DAkzJToe.js +0 -31
- package/dist/TextArea-DhRiN153.js +0 -33
- package/dist/useSplash-BeCk_XMh.js +0 -49
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { C as c } from "./types-C1YOMbh5.js";
|
|
3
|
+
import './assets/Avatar.css';var m = /* @__PURE__ */ ((r) => (r.small = "small", r.normal = "normal", r.large = "large", r))(m || {}), n = /* @__PURE__ */ ((r) => (r.image = "image", r.node = "node", r))(n || {});
|
|
4
|
+
const g = "_avatar_4gio0_1", l = "_node_4gio0_37", y = "_image_4gio0_61", d = "_small_4gio0_79", p = "_normal_4gio0_89", u = "_large_4gio0_99", v = "_primary_4gio0_111", f = "_secondary_4gio0_131", $ = "_tertiary_4gio0_141", x = "_error_4gio0_151", C = "_success_4gio0_171", s = {
|
|
5
|
+
avatar: g,
|
|
6
|
+
node: l,
|
|
7
|
+
image: y,
|
|
8
|
+
small: d,
|
|
9
|
+
normal: p,
|
|
10
|
+
large: u,
|
|
11
|
+
primary: v,
|
|
12
|
+
"primary-variant": "_primary-variant_4gio0_121",
|
|
13
|
+
secondary: f,
|
|
14
|
+
tertiary: $,
|
|
15
|
+
error: x,
|
|
16
|
+
"inverse-surface": "_inverse-surface_4gio0_161",
|
|
17
|
+
success: C
|
|
18
|
+
}, i = ({ children: r, size: a, type: o, theme: _ }) => /* @__PURE__ */ e(
|
|
19
|
+
"div",
|
|
20
|
+
{
|
|
21
|
+
className: `${s.avatar} ${s[a]} ${s[o]} ${s[_]}`,
|
|
22
|
+
children: r
|
|
23
|
+
}
|
|
24
|
+
), B = ({
|
|
25
|
+
src: r,
|
|
26
|
+
children: a,
|
|
27
|
+
size: o = m.normal,
|
|
28
|
+
label: _,
|
|
29
|
+
theme: t = c.primary
|
|
30
|
+
}) => a ? /* @__PURE__ */ e(i, { type: n.node, size: o, theme: t, children: a }) : /* @__PURE__ */ e(i, { size: o, type: n.image, theme: t, children: /* @__PURE__ */ e("img", { src: r, alt: _ }) });
|
|
31
|
+
export {
|
|
32
|
+
B as A,
|
|
33
|
+
m as a,
|
|
34
|
+
n as b
|
|
35
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as e, 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 a } from "lucide-react";
|
|
4
|
-
import { T as n } from "./TextButton-
|
|
4
|
+
import { T as n } from "./TextButton-CmbDjZsQ.js";
|
|
5
5
|
import { C as m } from "./types-C1YOMbh5.js";
|
|
6
|
-
import { a as p } from "./useSplash-
|
|
6
|
+
import { a as p } from "./useSplash-DOL9j-2c.js";
|
|
7
7
|
import './assets/Disclosure.css';const h = "_disclosure_1cz7p_1", u = "_trigger_1cz7p_23", g = "_panel_1cz7p_55", s = {
|
|
8
8
|
disclosure: h,
|
|
9
9
|
trigger: u,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { D as i } from "./Disclosure-
|
|
2
|
+
import { D as i } from "./Disclosure-BUNppuMs.js";
|
|
3
3
|
import { DisclosureGroup as u } from "react-aria-components";
|
|
4
4
|
import './assets/DisclousreGroup.css';const e = {
|
|
5
5
|
"disclosure-group": "_disclosure-group_vh6v0_1"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import './assets/Error.css';const s = "
|
|
2
|
+
import './assets/Error.css';const s = "_error_1o5cl_1", e = {
|
|
3
3
|
error: s
|
|
4
4
|
}, c = ({ children: r }) => /* @__PURE__ */ o("p", { className: `${e.error}`, children: r });
|
|
5
5
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Label as l, FieldError as s } from "react-aria-components";
|
|
3
|
-
import './assets/FieldError.css';const a = "
|
|
3
|
+
import './assets/FieldError.css';const a = "_label_16b5i_1", o = {
|
|
4
4
|
label: a
|
|
5
|
-
},
|
|
5
|
+
}, i = (r) => /* @__PURE__ */ e(l, { ...r, className: r.className ?? o.label, children: r.children }), t = "_error_srqbn_1", c = {
|
|
6
6
|
error: t
|
|
7
|
-
},
|
|
7
|
+
}, m = (r) => /* @__PURE__ */ e(
|
|
8
8
|
s,
|
|
9
9
|
{
|
|
10
10
|
...r,
|
|
@@ -12,6 +12,6 @@ import './assets/FieldError.css';const a = "_label_1qx1g_1", o = {
|
|
|
12
12
|
}
|
|
13
13
|
);
|
|
14
14
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
m as F,
|
|
16
|
+
i as L
|
|
17
17
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as a, jsx as
|
|
1
|
+
import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { TextField as c, Input as m } from "react-aria-components";
|
|
3
|
-
import { L as
|
|
4
|
-
import './assets/Input.css';const l = "
|
|
3
|
+
import { L as d, F as p } from "./FieldError-CvUKcRtm.js";
|
|
4
|
+
import './assets/Input.css';const l = "_input_d29yh_1", u = "_editor_d29yh_11", o = {
|
|
5
5
|
input: l,
|
|
6
6
|
editor: u
|
|
7
7
|
}, N = ({
|
|
8
|
-
label:
|
|
8
|
+
label: t,
|
|
9
9
|
textFieldProps: r,
|
|
10
10
|
inputProps: e,
|
|
11
11
|
labelProps: i,
|
|
@@ -16,15 +16,15 @@ import './assets/Input.css';const l = "_input_1bztj_1", u = "_editor_1bztj_11",
|
|
|
16
16
|
...r,
|
|
17
17
|
className: r?.className ?? o.input,
|
|
18
18
|
children: [
|
|
19
|
-
|
|
20
|
-
/* @__PURE__ */
|
|
19
|
+
t && /* @__PURE__ */ s(d, { ...i, children: t }),
|
|
20
|
+
/* @__PURE__ */ s(
|
|
21
21
|
m,
|
|
22
22
|
{
|
|
23
23
|
...e,
|
|
24
24
|
className: e?.className ?? o.editor
|
|
25
25
|
}
|
|
26
26
|
),
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ s(p, { ...n })
|
|
28
28
|
]
|
|
29
29
|
}
|
|
30
30
|
);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Link as t } from "react-aria-components";
|
|
3
|
+
import { C as _ } from "./types-C1YOMbh5.js";
|
|
4
|
+
import { T as c } from "./Tooltip-DAYtebkl.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
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { M as u } from "./ModalBase-DLaR_yid.js";
|
|
3
|
-
import { T as p } from "./TextButton-
|
|
3
|
+
import { T as p } from "./TextButton-CmbDjZsQ.js";
|
|
4
4
|
import { C as v } from "./types-C1YOMbh5.js";
|
|
5
5
|
import './assets/ModalAction.css';var d = /* @__PURE__ */ ((n) => (n.start = "start", n.end = "end", n))(d || {}), c = /* @__PURE__ */ ((n) => (n.close = "Close", n.cancel = "Cancel", n))(c || {});
|
|
6
6
|
const q = "_modal_fqn0t_1", $ = "_end_fqn0t_39", a = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
2
|
import { M as u } from "./MenuLabel-CqOBBOhO.js";
|
|
3
|
-
import { L as m } from "./Link-
|
|
4
|
-
import { T as i } from "./TextButton-
|
|
3
|
+
import { L as m } from "./Link-DV_dPWbm.js";
|
|
4
|
+
import { T as i } from "./TextButton-CmbDjZsQ.js";
|
|
5
5
|
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
|
-
import { a as c } from "./useSplash-
|
|
6
|
+
import { a as c } from "./useSplash-DOL9j-2c.js";
|
|
7
7
|
import { ChevronDown as p } from "lucide-react";
|
|
8
8
|
import './assets/NavigationMenu.css';const h = "_menu_sata7_1", d = {
|
|
9
9
|
menu: h
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useMediaQuery as t } from "usehooks-ts";
|
|
3
|
-
import { N as e } from "./NavigationMenu-
|
|
4
|
-
import { N as s } from "./NavigationSidebar-
|
|
3
|
+
import { N as e } from "./NavigationMenu-BJh51iq8.js";
|
|
4
|
+
import { N as s } from "./NavigationSidebar-QiavBbjq.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
items: o,
|
|
7
7
|
mediaQuery: r,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { T as r } from "./TextButton-
|
|
3
|
-
import { a as s } from "./useSplash-
|
|
2
|
+
import { T as r } from "./TextButton-CmbDjZsQ.js";
|
|
3
|
+
import { a as s } from "./useSplash-DOL9j-2c.js";
|
|
4
4
|
import { S as m } from "./Sidebar-LlVvowsG.js";
|
|
5
5
|
import { T as c } from "./Tree-DwJPCnFr.js";
|
|
6
6
|
import { X as l, Menu as h } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { B as r } from "./TextButton-
|
|
3
|
-
import { B as i } from "./useSplash-
|
|
2
|
+
import { B as r } from "./TextButton-CmbDjZsQ.js";
|
|
3
|
+
import { B as i } from "./useSplash-DOL9j-2c.js";
|
|
4
4
|
const u = (t) => {
|
|
5
5
|
const { children: n } = t;
|
|
6
6
|
return /* @__PURE__ */ o(r, { ...t, variant: i.filled, children: n });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l, Fragment as u } from "react/jsx-runtime";
|
|
2
|
-
import { u as $, s as o, S as m, B as a, a as F } from "./useSplash-
|
|
2
|
+
import { u as $, s as o, S as m, B as a, a as F } from "./useSplash-DOL9j-2c.js";
|
|
3
3
|
import { Link as L } from "react-aria-components";
|
|
4
4
|
import { T as S } from "./Tooltip-DAYtebkl.js";
|
|
5
5
|
import { C as x } from "./types-C1YOMbh5.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e, Fragment as n } from "react/jsx-runtime";
|
|
2
|
-
import { O as S, F as T } from "./OutlinedButton-
|
|
3
|
-
import { B as o } from "./useSplash-
|
|
4
|
-
import { Select as b, SelectValue as
|
|
2
|
+
import { O as S, F as T } from "./OutlinedButton-BcGOfKx6.js";
|
|
3
|
+
import { B as o } from "./useSplash-DOL9j-2c.js";
|
|
4
|
+
import { Select as b, SelectValue as d, ListBox as k, Text as m, ListBoxItem as V } from "react-aria-components";
|
|
5
5
|
import { P as y } from "./Popover-D3iGWJwQ.js";
|
|
6
6
|
import { ChevronsUpDown as C, Check as F } from "lucide-react";
|
|
7
|
-
import { T as $ } from "./TextButton-
|
|
7
|
+
import { T as $ } from "./TextButton-CmbDjZsQ.js";
|
|
8
8
|
import { C as p } from "./types-C1YOMbh5.js";
|
|
9
9
|
import { T as L } from "./Tooltip-DAYtebkl.js";
|
|
10
|
-
import { L as D, F as j } from "./FieldError-
|
|
11
|
-
import './assets/Select.css';const w = "
|
|
10
|
+
import { L as D, F as j } from "./FieldError-CvUKcRtm.js";
|
|
11
|
+
import './assets/Select.css';const w = "_select_1ctdo_1", I = "_trigger_1ctdo_37", i = {
|
|
12
12
|
select: w,
|
|
13
|
-
"selected-value": "_selected-
|
|
14
|
-
"option-description": "_option-
|
|
13
|
+
"selected-value": "_selected-value_1ctdo_11",
|
|
14
|
+
"option-description": "_option-description_1ctdo_19",
|
|
15
15
|
trigger: I,
|
|
16
|
-
"options-list": "_options-
|
|
17
|
-
"options-item-group": "_options-item-
|
|
18
|
-
"options-item": "_options-
|
|
16
|
+
"options-list": "_options-list_1ctdo_51",
|
|
17
|
+
"options-item-group": "_options-item-group_1ctdo_63",
|
|
18
|
+
"options-item": "_options-item_1ctdo_63"
|
|
19
19
|
}, K = ({
|
|
20
20
|
options: u,
|
|
21
|
-
label:
|
|
22
|
-
name:
|
|
23
|
-
disabled:
|
|
21
|
+
label: c,
|
|
22
|
+
name: _,
|
|
23
|
+
disabled: h,
|
|
24
24
|
isRequired: f,
|
|
25
25
|
triggerVariant: g = o.filled,
|
|
26
26
|
description: x,
|
|
27
|
-
placeholder:
|
|
27
|
+
placeholder: a,
|
|
28
28
|
selectedKey: v,
|
|
29
29
|
onSelectionChange: B
|
|
30
30
|
}) => {
|
|
@@ -44,22 +44,22 @@ import './assets/Select.css';const w = "_select_1auhe_1", I = "_trigger_1auhe_37
|
|
|
44
44
|
b,
|
|
45
45
|
{
|
|
46
46
|
className: i.select,
|
|
47
|
-
isDisabled:
|
|
47
|
+
isDisabled: h,
|
|
48
48
|
isRequired: f,
|
|
49
|
-
name:
|
|
49
|
+
name: _,
|
|
50
50
|
selectedKey: v,
|
|
51
51
|
onSelectionChange: B,
|
|
52
52
|
children: [
|
|
53
|
-
|
|
53
|
+
c && /* @__PURE__ */ e(D, { children: c }),
|
|
54
54
|
/* @__PURE__ */ e(L, { description: x, theme: p.inverseSurface, children: /* @__PURE__ */ e(s, { theme: p.inverseSurface, children: /* @__PURE__ */ r("span", { className: i.trigger, children: [
|
|
55
|
-
|
|
55
|
+
a ? /* @__PURE__ */ e(d, { className: `${i["selected-value"]}`, children: ({ defaultChildren: t, isPlaceholder: l }) => l ? a : t }) : /* @__PURE__ */ e(d, {}),
|
|
56
56
|
/* @__PURE__ */ e(C, {})
|
|
57
57
|
] }) }) }),
|
|
58
58
|
/* @__PURE__ */ e(j, {}),
|
|
59
59
|
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(k, { className: `${i["options-list"]}`, items: u, children: (t) => {
|
|
60
|
-
const
|
|
61
|
-
/* @__PURE__ */ e(
|
|
62
|
-
t.description && /* @__PURE__ */ e(
|
|
60
|
+
const l = /* @__PURE__ */ r(n, { children: [
|
|
61
|
+
/* @__PURE__ */ e(m, { children: t.displayValue }),
|
|
62
|
+
t.description && /* @__PURE__ */ e(m, { className: i["option-description"], children: t.description })
|
|
63
63
|
] });
|
|
64
64
|
return /* @__PURE__ */ e(
|
|
65
65
|
V,
|
|
@@ -69,7 +69,7 @@ import './assets/Select.css';const w = "_select_1auhe_1", I = "_trigger_1auhe_37
|
|
|
69
69
|
textValue: t.displayValue,
|
|
70
70
|
isDisabled: t.disabled,
|
|
71
71
|
children: ({ isSelected: N }) => /* @__PURE__ */ r(n, { children: [
|
|
72
|
-
/* @__PURE__ */ e("div", { className: `${i["options-item"]}`, children:
|
|
72
|
+
/* @__PURE__ */ e("div", { className: `${i["options-item"]}`, children: l }),
|
|
73
73
|
N && /* @__PURE__ */ e(F, {})
|
|
74
74
|
] })
|
|
75
75
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import './assets/Success.css';const e = "
|
|
2
|
+
import './assets/Success.css';const e = "_success_132tb_1", t = {
|
|
3
3
|
success: e
|
|
4
4
|
}, u = ({ children: s }) => /* @__PURE__ */ c("p", { className: `${t.success}`, children: s });
|
|
5
5
|
export {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { TextField as m, TextArea as x } from "react-aria-components";
|
|
3
|
+
import { L as d, F as l } from "./FieldError-CvUKcRtm.js";
|
|
4
|
+
import './assets/TextArea.css';const n = "_textarea_3agtk_1", _ = "_editor_3agtk_11", s = {
|
|
5
|
+
textarea: n,
|
|
6
|
+
editor: _
|
|
7
|
+
}, g = ({
|
|
8
|
+
label: a,
|
|
9
|
+
textFieldProps: t,
|
|
10
|
+
textAreaProps: r,
|
|
11
|
+
labelProps: o,
|
|
12
|
+
fieldErrorProps: c
|
|
13
|
+
}) => /* @__PURE__ */ i(
|
|
14
|
+
m,
|
|
15
|
+
{
|
|
16
|
+
...t,
|
|
17
|
+
className: t?.className ?? s.textarea,
|
|
18
|
+
children: [
|
|
19
|
+
a && /* @__PURE__ */ e(d, { ...o, children: a }),
|
|
20
|
+
/* @__PURE__ */ e(
|
|
21
|
+
x,
|
|
22
|
+
{
|
|
23
|
+
...r,
|
|
24
|
+
className: r?.className ?? s.editor
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ e(l, { ...c })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
g as T
|
|
33
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as l, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import { u as $, a as c, B as f, s, S as u } from "./useSplash-
|
|
2
|
+
import { u as $, a as c, B as f, s, S as u } from "./useSplash-DOL9j-2c.js";
|
|
3
3
|
import { Button as T } from "react-aria-components";
|
|
4
4
|
import { T as p } from "./Tooltip-DAYtebkl.js";
|
|
5
5
|
import { C as S } from "./types-C1YOMbh5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { ToggleButton as m, ToggleButtonGroup as p } from "react-aria-components";
|
|
3
|
-
import { u as c, s, S as d, B as T, a as B } from "./useSplash-
|
|
3
|
+
import { u as c, s, S as d, B as T, a as B } from "./useSplash-DOL9j-2c.js";
|
|
4
4
|
import { T as h } from "./Tooltip-DAYtebkl.js";
|
|
5
5
|
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
6
|
import './assets/ToggleButtonGroup.css';const b = {
|
package/dist/assets/Avatar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._avatar_4gio0_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_4gio0_37{display:flex;align-items:center;justify-content:center;font-weight:var(--font-weight-bold);text-transform:uppercase;background-color:var(--_avatar-bg);color:var(--_avatar-color)}._image_4gio0_61 img{-o-object-fit:cover;object-fit:cover;inline-size:100%;block-size:100%}._small_4gio0_79{--_inline-size-multiplier: 2;--_font-multiplier: .875}._normal_4gio0_89{--_inline-size-multiplier: 2.5;--_font-multiplier: 1}._large_4gio0_99{--_inline-size-multiplier: 3;--_font-multiplier: 1.125}._primary_4gio0_111{--_avatar-bg: var(--color-primary);--_avatar-color: var(--color-on-primary)}._primary-variant_4gio0_121{--_avatar-bg: var(--color-primary-variant);--_avatar-color: var(--color-on-primary-variant)}._secondary_4gio0_131{--_avatar-bg: var(--color-secondary);--_avatar-color: var(--color-on-secondary)}._tertiary_4gio0_141{--_avatar-bg: var(--color-tertiary);--_avatar-color: var(--color-on-tertiary)}._error_4gio0_151{--_avatar-bg: var(--color-error);--_avatar-color: var(--color-on-error)}._inverse-surface_4gio0_161{--_avatar-bg: var(--color-inverse-surface);--_avatar-color: var(--color-inverse-on-surface)}._success_4gio0_171{--_avatar-bg: var(--color-success);--_avatar-color: var(--color-on-success)}
|
package/dist/assets/Error.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._error_1o5cl_1{font-size:.875rem;font-weight:var(--font-weight-bold);text-transform:uppercase;color:var(--color-error)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._label_16b5i_1{font-weight:var(--font-weight-medium);font-size:var(--form-label-text)}._error_srqbn_1{font-size:.875rem;color:var(--color-error)}
|
package/dist/assets/Input.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._input_d29yh_1{display:grid;gap:var(--form-input-gap, .25rem)}._editor_d29yh_11{outline:none;font-weight:var(--font-weight-medium);border-radius:var(--radius);padding-inline:.625em;padding-block:.625em;max-inline-size:100%;border:.125rem solid var(--color-outline);background-color:inherit;color:inherit;font-size:var(--form-input-text);transition:border-color .25s}._editor_d29yh_11[data-focused]{border-color:var(--color-primary)}._editor_d29yh_11[data-invalid]{border-color:var(--color-error)}
|
package/dist/assets/Link.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._link_e0vn4_1{--_link-text: transparent;--_color: var(--_link-text);cursor:pointer;font-weight:var(--font-weight-medium);text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent;color:var(--_color);transition:color .25s,text-decoration-color .25s}._link_e0vn4_1[data-hovered=true],._link_e0vn4_1[data-focus-visible=true]{--_color: hsl(from var(--_link-text) h s calc(l + 10) );text-decoration-color:currentColor}._link_e0vn4_1[data-pressed=true]{--_color: hsl(from var(--_link-text) h s calc(l - 5) )}._link_e0vn4_1[data-underline]{text-decoration-color:currentColor}._primary_e0vn4_65{--_link-text: var(--color-primary)}._primary-variant_e0vn4_73{--_link-text: var(--color-primary-variant)}._secondary_e0vn4_81{--_link-text: var(--color-secondary)}._tertiary_e0vn4_89{--_link-text: var(--color-tertiary)}._error_e0vn4_97{--_link-text: var(--color-error)}._inverse-surface_e0vn4_105{--_link-text: var(--color-inverse-surface)}._success_e0vn4_113{--_link-text: var(--color-success)}
|
package/dist/assets/Select.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._select_1ctdo_1{display:grid;gap:var(--form-input-gap)}._selected-value_1ctdo_11{font-size:var(--form-input-text);font-weight:var(--font-weight-bold)}._selected-value_1ctdo_11 ._option-description_1ctdo_19{display:none}._selected-value_1ctdo_11[data-placeholder]{font-style:italic}._trigger_1ctdo_37{display:flex;align-items:center;gap:.75rem;justify-content:space-between}._options-list_1ctdo_51{display:grid;gap:var(--form-gap);border-radius:inherit}._options-item-group_1ctdo_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-text);background-color:var(--_item-color);transition:background-color .25s,color .25s}._options-item-group_1ctdo_63[data-hovered],._options-item-group_1ctdo_63[data-focus-visible]{--_item-color: hsl(from var(--_popover-bg) h s calc(l + 10) );--_item-text: hsl(from var(--_popover-text) h s calc(l + 10) )}._options-item-group_1ctdo_63[data-selected]{--_item-color: hsl(from var(--_popover-bg) h s calc(l - 10) );--_item-text: hsl(from var(--_popover-text) h s calc(l - 10) )}._options-item_1ctdo_63{font-size:var(--form-input-text);display:grid;gap:.25rem}._options-item_1ctdo_63 ._option-description_1ctdo_19{font-size:.875em;font-style:italic}
|
package/dist/assets/Success.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._success_132tb_1{font-size:.875rem;font-weight:var(--font-weight-bold);text-transform:uppercase;color:var(--color-success)}
|
package/dist/assets/TextArea.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._textarea_3agtk_1{display:grid;gap:var(--form-input-gap, .25rem)}._editor_3agtk_11{outline:none;font-weight:var(--font-weight-medium);border-radius:var(--radius);padding-inline:.625em;padding-block:.625em;max-inline-size:100%;border:.125rem solid var(--color-outline);background-color:inherit;color:inherit;resize:vertical;max-height:15rem;font-size:var(--form-input-text)}._editor_3agtk_11[data-focused]{border-color:var(--color-primary)}._editor_3agtk_11[data-invalid]{border-color:var(--color-error)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._button_c4lxb_1{--_button-color: transparent;--_button-text: transparent;--_border-color: var(--_button-color);border-radius:var(--_radius);cursor:pointer;border:var(--button-border-width) solid var(--_border-color);font-weight:var(--font-weight-medium);text-align:center;padding-inline:var(--_pi);padding-block:var(--_pb);background-color:var(--_bg);color:var(--_color);position:relative;overflow:hidden;transition:background-color .25s,color .25s}._button_c4lxb_1[data-hovered],._button_c4lxb_1[data-focus-visible]{--_bg: hsl(from var(--_button-color) h s calc(l + 10) );--_color: hsl(from var(--_button-text) h s calc(l + 10) )}._button_c4lxb_1[data-pressed]{--_bg: hsl(from var(--_button-color) h s calc(l - 5) );--_color: hsl(from var(--_button-text) h s calc(l - 5) )}._button_c4lxb_1[data-selected]{--_bg: var(--_button-color);--_color: var(--_button-text)}._button-link_c4lxb_83{text-underline-offset:.125em;text-decoration-thickness:.075em;text-decoration-color:transparent}._button-link_c4lxb_83[data-hovered],._button-link_c4lxb_83[data-focus-visible],._button-link_c4lxb_83[data-underline]{text-decoration-color:currentColor}._square_c4lxb_115{--_pi: .625em;--_pb: .625em;aspect-ratio:1/1;--_radius: var(--radius-circular)}._avatar_c4lxb_131{--_pi: .125em;--_pb: .125em;aspect-ratio:1/1;--_radius: var(--radius-circular)}._rectangle_c4lxb_147{--_pi: 1.125em;--_pb: .625em;--_radius: var(--radius-button)}._shrink_c4lxb_159{--_pi: 0;--_pb: 0}._primary_c4lxb_171{--_button-color: var(--color-primary);--_button-text: var(--color-on-primary)}._primary-variant_c4lxb_181{--_button-color: var(--color-primary-variant);--_button-text: var(--color-on-primary-variant)}._secondary_c4lxb_191{--_button-color: var(--color-secondary);--_button-text: var(--color-on-secondary)}._tertiary_c4lxb_201{--_button-color: var(--color-tertiary);--_button-text: var(--color-on-tertiary)}._error_c4lxb_211{--_button-color: var(--color-error);--_button-text: var(--color-on-error)}._inverse-surface_c4lxb_221{--_button-color: var(--color-inverse-surface);--_button-text: var(--color-inverse-on-surface)}._success_c4lxb_231{--_button-color: var(--color-success);--_button-text: var(--color-on-success)}._filled_c4lxb_243{--_bg: var(--_button-color);--_color: var(--_button-text)}._outlined_c4lxb_253{--_bg: transparent;--_color: var(--_button-color)}._text_c4lxb_263{--_bg: transparent;--_border-color: transparent;--_color: var(--_button-color)}._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}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a, B as e } from "../../useSplash-
|
|
2
|
-
import { F as r, O as u } from "../../OutlinedButton-
|
|
3
|
-
import { T as s } from "../../TextButton-
|
|
1
|
+
import { a, B as e } from "../../useSplash-DOL9j-2c.js";
|
|
2
|
+
import { F as r, O as u } from "../../OutlinedButton-BcGOfKx6.js";
|
|
3
|
+
import { T as s } from "../../TextButton-CmbDjZsQ.js";
|
|
4
4
|
export {
|
|
5
5
|
a as ButtonShape,
|
|
6
6
|
e as ButtonVariant,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { F as o, O as i } from "../../OutlinedButtonLink-
|
|
2
|
-
import { L as r } from "../../Link-
|
|
1
|
+
import { F as o, O as i } from "../../OutlinedButtonLink-B31MVQKz.js";
|
|
2
|
+
import { L as r } from "../../Link-DV_dPWbm.js";
|
|
3
3
|
export {
|
|
4
4
|
o as FilledButtonLink,
|
|
5
5
|
r as Link,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as i } from "../../NavigationResponsive-
|
|
2
|
-
import { N as r } from "../../NavigationSidebar-
|
|
3
|
-
import { N } from "../../NavigationMenu-
|
|
1
|
+
import { N as i } from "../../NavigationResponsive-DijNGfH2.js";
|
|
2
|
+
import { N as r } from "../../NavigationSidebar-QiavBbjq.js";
|
|
3
|
+
import { N } from "../../NavigationMenu-BJh51iq8.js";
|
|
4
4
|
export {
|
|
5
5
|
N as NavigationMenu,
|
|
6
6
|
i as NavigationResponsive,
|
package/dist/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { C as e } from "./types-C1YOMbh5.js";
|
|
2
|
-
import { A as s, a as p, b as m } from "./Avatar-
|
|
3
|
-
import { a as i, B as n } from "./useSplash-
|
|
4
|
-
import { F as u, O as l } from "./OutlinedButton-
|
|
5
|
-
import { T as S } from "./TextButton-
|
|
6
|
-
import { D as M } from "./Disclosure-
|
|
7
|
-
import { D as b } from "./DisclousreGroup-
|
|
8
|
-
import { E as v } from "./Error
|
|
2
|
+
import { A as s, a as p, b as m } from "./Avatar-BRt91J0i.js";
|
|
3
|
+
import { a as i, B as n } from "./useSplash-DOL9j-2c.js";
|
|
4
|
+
import { F as u, O as l } from "./OutlinedButton-BcGOfKx6.js";
|
|
5
|
+
import { T as S } from "./TextButton-CmbDjZsQ.js";
|
|
6
|
+
import { D as M } from "./Disclosure-BUNppuMs.js";
|
|
7
|
+
import { D as b } from "./DisclousreGroup-3n2noZn8.js";
|
|
8
|
+
import { E as v } from "./Error--Jbz8Uoy.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
import { F } from "./Form-B7w2oUTu.js";
|
|
11
|
-
import { I as g } from "./Input-
|
|
12
|
-
import { T as D } from "./TextArea-
|
|
13
|
-
import { F as P, O as k } from "./OutlinedButtonLink-
|
|
14
|
-
import { L as h } from "./Link-
|
|
11
|
+
import { I as g } from "./Input-fPkzWJI-.js";
|
|
12
|
+
import { T as D } from "./TextArea-BqYpfMqm.js";
|
|
13
|
+
import { F as P, O as k } from "./OutlinedButtonLink-B31MVQKz.js";
|
|
14
|
+
import { L as h } from "./Link-DV_dPWbm.js";
|
|
15
15
|
import { M as E } from "./MenuButton-BikS-I_v.js";
|
|
16
16
|
import { M as I } from "./MenuLabel-CqOBBOhO.js";
|
|
17
|
-
import { M as R, a as V, b as j } from "./ModalAction-
|
|
17
|
+
import { M as R, a as V, b as j } from "./ModalAction-CG_70YMt.js";
|
|
18
18
|
import { M as w } from "./ModalBase-DLaR_yid.js";
|
|
19
|
-
import { N as J } from "./NavigationResponsive-
|
|
19
|
+
import { N as J } from "./NavigationResponsive-DijNGfH2.js";
|
|
20
20
|
import { S as Q, a as U, b as W } from "./Sidebar-LlVvowsG.js";
|
|
21
|
-
import { N as Y } from "./NavigationSidebar-
|
|
22
|
-
import { N as _ } from "./NavigationMenu-
|
|
21
|
+
import { N as Y } from "./NavigationSidebar-QiavBbjq.js";
|
|
22
|
+
import { N as _ } from "./NavigationMenu-BJh51iq8.js";
|
|
23
23
|
import { P as oo } from "./Popover-D3iGWJwQ.js";
|
|
24
|
-
import { S as ao } from "./Select-
|
|
25
|
-
import { S as to } from "./Success-
|
|
26
|
-
import { T as po } from "./ToggleButtonGroup-
|
|
24
|
+
import { S as ao } from "./Select-DIaQ_hk2.js";
|
|
25
|
+
import { S as to } from "./Success-FBfAAtBv.js";
|
|
26
|
+
import { T as po } from "./ToggleButtonGroup-B1eveh6s.js";
|
|
27
27
|
import { T as xo } from "./Tree-DwJPCnFr.js";
|
|
28
28
|
export {
|
|
29
29
|
s as Avatar,
|
package/dist/styles/main.css
CHANGED
|
@@ -154,6 +154,10 @@
|
|
|
154
154
|
--form-input-gap: 0.5rem;
|
|
155
155
|
--form-gap: 1rem;
|
|
156
156
|
|
|
157
|
+
--font-weight-regular: 400;
|
|
158
|
+
--font-weight-medium: 600;
|
|
159
|
+
--font-weight-bold: 700;
|
|
160
|
+
|
|
157
161
|
caret-color: var(--color-primary);
|
|
158
162
|
accent-color: var(--color-primary);
|
|
159
163
|
}
|
|
@@ -182,7 +186,7 @@ body {
|
|
|
182
186
|
|
|
183
187
|
[data-heading] {
|
|
184
188
|
font-family: var(--font-heading);
|
|
185
|
-
font-weight:
|
|
189
|
+
font-weight: var(--font-weight-bold);
|
|
186
190
|
}
|
|
187
191
|
|
|
188
192
|
em,
|
|
@@ -190,3 +194,12 @@ i {
|
|
|
190
194
|
font-family: var(--font-normal);
|
|
191
195
|
font-style: italic;
|
|
192
196
|
}
|
|
197
|
+
|
|
198
|
+
h1,
|
|
199
|
+
h2,
|
|
200
|
+
h3,
|
|
201
|
+
h4,
|
|
202
|
+
h5,
|
|
203
|
+
h6 {
|
|
204
|
+
font-weight: var(--font-weight-bold);
|
|
205
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
2
|
+
import { useState as o, useRef as l, useEffect as i } from "react";
|
|
3
|
+
import './assets/useSplash.css';var u = /* @__PURE__ */ ((t) => (t.filled = "filled", t.outlined = "outlined", t.text = "text", t))(u || {}), x = /* @__PURE__ */ ((t) => (t.rectangle = "rectangle", t.square = "square", t.avatar = "avatar", t.shrink = "shrink", t))(x || {});
|
|
4
|
+
const b = "_button_c4lxb_1", d = "_square_c4lxb_115", y = "_avatar_c4lxb_131", f = "_rectangle_c4lxb_147", m = "_shrink_c4lxb_159", v = "_primary_c4lxb_171", p = "_secondary_c4lxb_191", h = "_tertiary_c4lxb_201", k = "_error_c4lxb_211", g = "_success_c4lxb_231", q = "_filled_c4lxb_243", S = "_outlined_c4lxb_253", T = "_text_c4lxb_263", z = {
|
|
5
|
+
button: b,
|
|
6
|
+
"button-link": "_button-link_c4lxb_83",
|
|
7
|
+
square: d,
|
|
8
|
+
avatar: y,
|
|
9
|
+
rectangle: f,
|
|
10
|
+
shrink: m,
|
|
11
|
+
primary: v,
|
|
12
|
+
"primary-variant": "_primary-variant_c4lxb_181",
|
|
13
|
+
secondary: p,
|
|
14
|
+
tertiary: h,
|
|
15
|
+
error: k,
|
|
16
|
+
"inverse-surface": "_inverse-surface_c4lxb_221",
|
|
17
|
+
success: g,
|
|
18
|
+
filled: q,
|
|
19
|
+
outlined: S,
|
|
20
|
+
text: T
|
|
21
|
+
}, $ = "_splash_zhwi0_1", R = {
|
|
22
|
+
splash: $
|
|
23
|
+
}, C = ({ id: t, x: e, y: s }) => /* @__PURE__ */ _(
|
|
24
|
+
"div",
|
|
25
|
+
{
|
|
26
|
+
className: `${R.splash}`,
|
|
27
|
+
style: {
|
|
28
|
+
insetInlineStart: e,
|
|
29
|
+
insetBlockStart: s,
|
|
30
|
+
translate: "-50% -50%"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
`${t}`
|
|
34
|
+
), E = (t) => {
|
|
35
|
+
const [e, s] = o(null), a = l(0);
|
|
36
|
+
let c = l(void 0), n = (r) => {
|
|
37
|
+
s({ id: a.current++, x: r.x, y: r.y }), r.x !== -1 && r.y !== -1 && (clearTimeout(c.current), c.current = setTimeout(() => s(null), 500)), t?.(r);
|
|
38
|
+
};
|
|
39
|
+
return i(() => () => {
|
|
40
|
+
clearTimeout(c.current);
|
|
41
|
+
}, []), { coords: e, handlePress: n };
|
|
42
|
+
};
|
|
43
|
+
export {
|
|
44
|
+
u as B,
|
|
45
|
+
C as S,
|
|
46
|
+
x as a,
|
|
47
|
+
z as s,
|
|
48
|
+
E as u
|
|
49
|
+
};
|
package/package.json
CHANGED
package/dist/Avatar-vPRORJSz.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { C as m } from "./types-C1YOMbh5.js";
|
|
3
|
-
import './assets/Avatar.css';var i = /* @__PURE__ */ ((r) => (r.small = "small", r.normal = "normal", r.large = "large", r))(i || {}), l = /* @__PURE__ */ ((r) => (r.image = "image", r.node = "node", r))(l || {});
|
|
4
|
-
const c = "_avatar_hl5i2_1", y = "_node_hl5i2_37", h = "_image_hl5i2_61", g = "_small_hl5i2_79", d = "_normal_hl5i2_89", p = "_large_hl5i2_99", u = "_primary_hl5i2_111", v = "_secondary_hl5i2_131", f = "_tertiary_hl5i2_141", $ = "_error_hl5i2_151", x = "_success_hl5i2_171", e = {
|
|
5
|
-
avatar: c,
|
|
6
|
-
node: y,
|
|
7
|
-
image: h,
|
|
8
|
-
small: g,
|
|
9
|
-
normal: d,
|
|
10
|
-
large: p,
|
|
11
|
-
primary: u,
|
|
12
|
-
"primary-variant": "_primary-variant_hl5i2_121",
|
|
13
|
-
secondary: v,
|
|
14
|
-
tertiary: f,
|
|
15
|
-
error: $,
|
|
16
|
-
"inverse-surface": "_inverse-surface_hl5i2_161",
|
|
17
|
-
success: x
|
|
18
|
-
}, t = ({ children: r, size: a, type: s, theme: _ }) => /* @__PURE__ */ o(
|
|
19
|
-
"div",
|
|
20
|
-
{
|
|
21
|
-
className: `${e.avatar} ${e[a]} ${e[s]} ${e[_]}`,
|
|
22
|
-
children: r
|
|
23
|
-
}
|
|
24
|
-
), j = ({
|
|
25
|
-
src: r,
|
|
26
|
-
children: a,
|
|
27
|
-
size: s = i.normal,
|
|
28
|
-
label: _,
|
|
29
|
-
theme: n = m.primary
|
|
30
|
-
}) => a ? /* @__PURE__ */ o(t, { type: l.node, size: s, theme: n, children: a }) : /* @__PURE__ */ o(t, { size: s, type: l.image, theme: n, children: /* @__PURE__ */ o("img", { src: r, alt: _ }) });
|
|
31
|
-
export {
|
|
32
|
-
j as A,
|
|
33
|
-
i as a,
|
|
34
|
-
l as b
|
|
35
|
-
};
|
package/dist/Link-DAkzJToe.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { Link as t } from "react-aria-components";
|
|
3
|
-
import { C as _ } from "./types-C1YOMbh5.js";
|
|
4
|
-
import { T as c } from "./Tooltip-DAYtebkl.js";
|
|
5
|
-
import './assets/Link.css';const m = "_link_k7ie2_1", k = "_primary_k7ie2_65", y = "_secondary_k7ie2_81", l = "_tertiary_k7ie2_89", p = "_error_k7ie2_97", u = "_success_k7ie2_113", s = {
|
|
6
|
-
link: m,
|
|
7
|
-
primary: k,
|
|
8
|
-
"primary-variant": "_primary-variant_k7ie2_73",
|
|
9
|
-
secondary: y,
|
|
10
|
-
tertiary: l,
|
|
11
|
-
error: p,
|
|
12
|
-
"inverse-surface": "_inverse-surface_k7ie2_105",
|
|
13
|
-
success: u
|
|
14
|
-
}, T = ({
|
|
15
|
-
theme: r = _.primary,
|
|
16
|
-
description: a,
|
|
17
|
-
underline: n = !0,
|
|
18
|
-
children: o,
|
|
19
|
-
...e
|
|
20
|
-
}) => /* @__PURE__ */ i(c, { description: a, theme: r, children: /* @__PURE__ */ i(
|
|
21
|
-
t,
|
|
22
|
-
{
|
|
23
|
-
...e,
|
|
24
|
-
className: e.className ?? `${s.link} ${s[r]}`,
|
|
25
|
-
...n && { "data-underline": !0 },
|
|
26
|
-
children: o
|
|
27
|
-
}
|
|
28
|
-
) });
|
|
29
|
-
export {
|
|
30
|
-
T as L
|
|
31
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { TextField as m, TextArea as x } from "react-aria-components";
|
|
3
|
-
import { L as d, F as l } from "./FieldError-a_f080R9.js";
|
|
4
|
-
import './assets/TextArea.css';const n = "_textarea_1ifyv_1", _ = "_editor_1ifyv_11", s = {
|
|
5
|
-
textarea: n,
|
|
6
|
-
editor: _
|
|
7
|
-
}, y = ({
|
|
8
|
-
label: a,
|
|
9
|
-
textFieldProps: r,
|
|
10
|
-
textAreaProps: t,
|
|
11
|
-
labelProps: o,
|
|
12
|
-
fieldErrorProps: i
|
|
13
|
-
}) => /* @__PURE__ */ c(
|
|
14
|
-
m,
|
|
15
|
-
{
|
|
16
|
-
...r,
|
|
17
|
-
className: r?.className ?? s.textarea,
|
|
18
|
-
children: [
|
|
19
|
-
a && /* @__PURE__ */ e(d, { ...o, children: a }),
|
|
20
|
-
/* @__PURE__ */ e(
|
|
21
|
-
x,
|
|
22
|
-
{
|
|
23
|
-
...t,
|
|
24
|
-
className: t?.className ?? s.editor
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ e(l, { ...i })
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
export {
|
|
32
|
-
y as T
|
|
33
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useState as l, useRef as n, useEffect as i } from "react";
|
|
3
|
-
import './assets/useSplash.css';var d = /* @__PURE__ */ ((t) => (t.filled = "filled", t.outlined = "outlined", t.text = "text", t))(d || {}), u = /* @__PURE__ */ ((t) => (t.rectangle = "rectangle", t.square = "square", t.avatar = "avatar", t.shrink = "shrink", t))(u || {});
|
|
4
|
-
const y = "_button_1tdr1_1", f = "_square_1tdr1_115", m = "_avatar_1tdr1_131", v = "_rectangle_1tdr1_147", p = "_shrink_1tdr1_159", h = "_primary_1tdr1_171", x = "_secondary_1tdr1_191", k = "_tertiary_1tdr1_201", b = "_error_1tdr1_211", g = "_success_1tdr1_231", q = "_filled_1tdr1_243", S = "_outlined_1tdr1_253", T = "_text_1tdr1_263", z = {
|
|
5
|
-
button: y,
|
|
6
|
-
"button-link": "_button-link_1tdr1_83",
|
|
7
|
-
square: f,
|
|
8
|
-
avatar: m,
|
|
9
|
-
rectangle: v,
|
|
10
|
-
shrink: p,
|
|
11
|
-
primary: h,
|
|
12
|
-
"primary-variant": "_primary-variant_1tdr1_181",
|
|
13
|
-
secondary: x,
|
|
14
|
-
tertiary: k,
|
|
15
|
-
error: b,
|
|
16
|
-
"inverse-surface": "_inverse-surface_1tdr1_221",
|
|
17
|
-
success: g,
|
|
18
|
-
filled: q,
|
|
19
|
-
outlined: S,
|
|
20
|
-
text: T
|
|
21
|
-
}, $ = "_splash_zhwi0_1", R = {
|
|
22
|
-
splash: $
|
|
23
|
-
}, C = ({ id: t, x: e, y: s }) => /* @__PURE__ */ o(
|
|
24
|
-
"div",
|
|
25
|
-
{
|
|
26
|
-
className: `${R.splash}`,
|
|
27
|
-
style: {
|
|
28
|
-
insetInlineStart: e,
|
|
29
|
-
insetBlockStart: s,
|
|
30
|
-
translate: "-50% -50%"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
`${t}`
|
|
34
|
-
), E = (t) => {
|
|
35
|
-
const [e, s] = l(null), _ = n(0);
|
|
36
|
-
let a = n(void 0), c = (r) => {
|
|
37
|
-
s({ id: _.current++, x: r.x, y: r.y }), r.x !== -1 && r.y !== -1 && (clearTimeout(a.current), a.current = setTimeout(() => s(null), 500)), t?.(r);
|
|
38
|
-
};
|
|
39
|
-
return i(() => () => {
|
|
40
|
-
clearTimeout(a.current);
|
|
41
|
-
}, []), { coords: e, handlePress: c };
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
d as B,
|
|
45
|
-
C as S,
|
|
46
|
-
u as a,
|
|
47
|
-
z as s,
|
|
48
|
-
E as u
|
|
49
|
-
};
|