@adgytec/adgytec-web-ui-components 0.0.2
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/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/App.d.ts +2 -0
- package/dist/Avatar-vPRORJSz.js +35 -0
- package/dist/Disclosure-Ca5ZAmfb.js +28 -0
- package/dist/DisclousreGroup-B6FGUjyO.js +9 -0
- package/dist/FieldError-CZn24fiL.js +17 -0
- package/dist/Input-KLfZufI4.js +33 -0
- package/dist/Link-CbLEp2fF.js +31 -0
- package/dist/MenuButton-BEwnL_jL.js +6 -0
- package/dist/MenuLabel-ClmuA9_6.js +43 -0
- package/dist/ModalAction-B3eX47ca.js +50 -0
- package/dist/ModalBase-DLaR_yid.js +28 -0
- package/dist/NavigationMenu-BjA8VR1X.js +47 -0
- package/dist/NavigationResponsive-D5y5iL5X.js +12 -0
- package/dist/NavigationSidebar-DqUwV4eC.js +35 -0
- package/dist/OutlinedButton-dMBAASb-.js +14 -0
- package/dist/OutlinedButtonLink-CzIaUCY6.js +36 -0
- package/dist/Popover-D3iGWJwQ.js +14 -0
- package/dist/Select-Dc9k8ybI.js +85 -0
- package/dist/Sidebar-Dk_3EG71.js +50 -0
- package/dist/TextArea-DBZO5z2H.js +33 -0
- package/dist/TextButton-EYzLjods.js +37 -0
- package/dist/Tooltip-DAYtebkl.js +27 -0
- package/dist/Tree-BwmYvUlr.js +35 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Disclosure.css +1 -0
- package/dist/assets/DisclousreGroup.css +1 -0
- package/dist/assets/FieldError.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/Link.css +1 -0
- package/dist/assets/MenuLabel.css +1 -0
- package/dist/assets/ModalAction.css +1 -0
- package/dist/assets/ModalBase.css +1 -0
- package/dist/assets/NavigationMenu.css +1 -0
- package/dist/assets/NavigationSidebar.css +1 -0
- package/dist/assets/Popover.css +1 -0
- package/dist/assets/Select.css +1 -0
- package/dist/assets/Sidebar.css +1 -0
- package/dist/assets/TextArea.css +1 -0
- package/dist/assets/Tooltip.css +1 -0
- package/dist/assets/Tree.css +1 -0
- package/dist/assets/useSplash.css +1 -0
- package/dist/components/Avatar/Avatar.d.ts +2 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Avatar/index.js +6 -0
- package/dist/components/Avatar/types.d.ts +32 -0
- package/dist/components/Button/Button.d.ts +2 -0
- package/dist/components/Button/ButtonLink.d.ts +2 -0
- package/dist/components/Button/FilledButton.d.ts +2 -0
- package/dist/components/Button/OutlinedButton.d.ts +2 -0
- package/dist/components/Button/TextButton.d.ts +2 -0
- package/dist/components/Button/index.d.ts +5 -0
- package/dist/components/Button/index.js +11 -0
- package/dist/components/Button/types.d.ts +28 -0
- package/dist/components/Disclosure/Disclosure/Disclosure.d.ts +2 -0
- package/dist/components/Disclosure/Disclosure/index.d.ts +2 -0
- package/dist/components/Disclosure/Disclosure/index.js +4 -0
- package/dist/components/Disclosure/Disclosure/types.d.ts +6 -0
- package/dist/components/Disclosure/DisclousureGroup/DisclousreGroup.d.ts +2 -0
- package/dist/components/Disclosure/DisclousureGroup/index.d.ts +2 -0
- package/dist/components/Disclosure/DisclousureGroup/index.js +4 -0
- package/dist/components/Disclosure/DisclousureGroup/types.d.ts +4 -0
- package/dist/components/Error/Error.d.ts +2 -0
- package/dist/components/Error/type.d.ts +4 -0
- package/dist/components/Form/FieldError/FieldError.d.ts +2 -0
- package/dist/components/Form/Input/Input.d.ts +2 -0
- package/dist/components/Form/Input/index.d.ts +2 -0
- package/dist/components/Form/Input/index.js +4 -0
- package/dist/components/Form/Input/types.d.ts +8 -0
- package/dist/components/Form/Label/Label.d.ts +2 -0
- package/dist/components/Form/TextArea/TextArea.d.ts +2 -0
- package/dist/components/Form/TextArea/index.d.ts +2 -0
- package/dist/components/Form/TextArea/index.js +4 -0
- package/dist/components/Form/TextArea/types.d.ts +8 -0
- package/dist/components/Link/FilledButtonLink.d.ts +2 -0
- package/dist/components/Link/Link.d.ts +2 -0
- package/dist/components/Link/OutlinedButtonLink.d.ts +2 -0
- package/dist/components/Link/index.d.ts +4 -0
- package/dist/components/Link/index.js +7 -0
- package/dist/components/Link/types.d.ts +7 -0
- package/dist/components/Menu/Menu.d.ts +2 -0
- package/dist/components/Menu/MenuButton.d.ts +2 -0
- package/dist/components/Menu/MenuLabel.d.ts +2 -0
- package/dist/components/Menu/index.d.ts +3 -0
- package/dist/components/Menu/index.js +6 -0
- package/dist/components/Menu/types.d.ts +19 -0
- package/dist/components/Modal/ModalAction/ModalAction.d.ts +2 -0
- package/dist/components/Modal/ModalAction/index.d.ts +2 -0
- package/dist/components/Modal/ModalAction/index.js +6 -0
- package/dist/components/Modal/ModalAction/types.d.ts +21 -0
- package/dist/components/Modal/ModalBase/ModalBase.d.ts +2 -0
- package/dist/components/Modal/ModalBase/index.d.ts +2 -0
- package/dist/components/Modal/ModalBase/index.js +4 -0
- package/dist/components/Modal/ModalBase/types.d.ts +9 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Modal/index.js +1 -0
- package/dist/components/Navigation/NavigationMenu/NavigationMenu.d.ts +2 -0
- package/dist/components/Navigation/NavigationMenu/index.d.ts +2 -0
- package/dist/components/Navigation/NavigationMenu/index.js +4 -0
- package/dist/components/Navigation/NavigationMenu/types.d.ts +5 -0
- package/dist/components/Navigation/NavigationResponsive/NavigationResponsive.d.ts +2 -0
- package/dist/components/Navigation/NavigationResponsive/index.d.ts +2 -0
- package/dist/components/Navigation/NavigationResponsive/index.js +4 -0
- package/dist/components/Navigation/NavigationResponsive/types.d.ts +10 -0
- package/dist/components/Navigation/NavigationSidebar/NavigationSidebar.d.ts +2 -0
- package/dist/components/Navigation/NavigationSidebar/index.d.ts +2 -0
- package/dist/components/Navigation/NavigationSidebar/index.js +4 -0
- package/dist/components/Navigation/NavigationSidebar/types.d.ts +9 -0
- package/dist/components/Navigation/index.d.ts +1 -0
- package/dist/components/Navigation/index.js +1 -0
- package/dist/components/Popover/Popover.d.ts +2 -0
- package/dist/components/Select/Select.d.ts +2 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.js +4 -0
- package/dist/components/Select/types.d.ts +20 -0
- package/dist/components/Sidebar/Sidebar.d.ts +2 -0
- package/dist/components/Sidebar/index.d.ts +2 -0
- package/dist/components/Sidebar/index.js +6 -0
- package/dist/components/Sidebar/types.d.ts +23 -0
- package/dist/components/Splash/Splash.d.ts +2 -0
- package/dist/components/Splash/types.d.ts +8 -0
- package/dist/components/Splash/useSplash.d.ts +6 -0
- package/dist/components/Tooltip/Tooltip.d.ts +2 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/types.d.ts +7 -0
- package/dist/components/Tree/Tree.d.ts +2 -0
- package/dist/components/Tree/index.d.ts +2 -0
- package/dist/components/Tree/index.js +4 -0
- package/dist/components/Tree/types.d.ts +7 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +54 -0
- package/dist/main.d.ts +0 -0
- package/dist/types-C1YOMbh5.js +4 -0
- package/dist/useSplash-DXNKEPAC.js +50 -0
- package/dist/utils/types.d.ts +61 -0
- package/dist/vite.svg +1 -0
- package/package.json +44 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Adgytec
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Adgytec Web UI Components
|
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Disclosure as c, DisclosurePanel as l } from "react-aria-components";
|
|
3
|
+
import { ChevronRight as a } from "lucide-react";
|
|
4
|
+
import { T as n } from "./TextButton-EYzLjods.js";
|
|
5
|
+
import { C as m } from "./types-C1YOMbh5.js";
|
|
6
|
+
import { a as p } from "./useSplash-DXNKEPAC.js";
|
|
7
|
+
import './assets/Disclosure.css';const h = "_disclosure_1cz7p_1", u = "_trigger_1cz7p_23", g = "_panel_1cz7p_55", s = {
|
|
8
|
+
disclosure: h,
|
|
9
|
+
trigger: u,
|
|
10
|
+
panel: g
|
|
11
|
+
}, C = ({ heading: o, children: t, id: i }) => /* @__PURE__ */ e(c, { className: s.disclosure, id: i, children: [
|
|
12
|
+
/* @__PURE__ */ r("h2", { className: s.trigger, children: /* @__PURE__ */ e(
|
|
13
|
+
n,
|
|
14
|
+
{
|
|
15
|
+
slot: "trigger",
|
|
16
|
+
theme: m.inverseSurface,
|
|
17
|
+
shape: p.shrink,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ r(a, { strokeWidth: 3 }),
|
|
20
|
+
o
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
) }),
|
|
24
|
+
/* @__PURE__ */ r(l, { className: s.panel, children: /* @__PURE__ */ r("p", { children: t }) })
|
|
25
|
+
] });
|
|
26
|
+
export {
|
|
27
|
+
C as D
|
|
28
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { D as i } from "./Disclosure-Ca5ZAmfb.js";
|
|
3
|
+
import { DisclosureGroup as u } from "react-aria-components";
|
|
4
|
+
import './assets/DisclousreGroup.css';const e = {
|
|
5
|
+
"disclosure-group": "_disclosure-group_vh6v0_1"
|
|
6
|
+
}, p = ({ items: o }) => /* @__PURE__ */ s(u, { className: e["disclosure-group"], children: o.map((r) => /* @__PURE__ */ s(i, { heading: r.heading, id: r.id, children: r.children }, r.id)) });
|
|
7
|
+
export {
|
|
8
|
+
p as D
|
|
9
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
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_1ladm_1", o = {
|
|
4
|
+
label: a
|
|
5
|
+
}, b = (r) => /* @__PURE__ */ e(l, { ...r, className: r.className ?? o.label, children: r.children }), t = "_error_srqbn_1", c = {
|
|
6
|
+
error: t
|
|
7
|
+
}, i = (r) => /* @__PURE__ */ e(
|
|
8
|
+
s,
|
|
9
|
+
{
|
|
10
|
+
...r,
|
|
11
|
+
className: r.className ?? c.error
|
|
12
|
+
}
|
|
13
|
+
);
|
|
14
|
+
export {
|
|
15
|
+
i as F,
|
|
16
|
+
b as L
|
|
17
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { TextField as c, Input as m } from "react-aria-components";
|
|
3
|
+
import { L as p, F as d } from "./FieldError-CZn24fiL.js";
|
|
4
|
+
import './assets/Input.css';const l = "_input_sezs4_1", u = "_editor_sezs4_11", o = {
|
|
5
|
+
input: l,
|
|
6
|
+
editor: u
|
|
7
|
+
}, f = ({
|
|
8
|
+
label: t,
|
|
9
|
+
textFieldProps: e,
|
|
10
|
+
inputProps: r,
|
|
11
|
+
labelProps: i,
|
|
12
|
+
fieldErrorProps: n
|
|
13
|
+
}) => /* @__PURE__ */ a(
|
|
14
|
+
c,
|
|
15
|
+
{
|
|
16
|
+
...e,
|
|
17
|
+
className: e?.className ?? o.input,
|
|
18
|
+
children: [
|
|
19
|
+
t && /* @__PURE__ */ s(p, { ...i, children: t }),
|
|
20
|
+
/* @__PURE__ */ s(
|
|
21
|
+
m,
|
|
22
|
+
{
|
|
23
|
+
...r,
|
|
24
|
+
className: r?.className ?? o.editor
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ s(d, { ...n })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
f as I
|
|
33
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Link as t } from "react-aria-components";
|
|
3
|
+
import { C as m } from "./types-C1YOMbh5.js";
|
|
4
|
+
import { T as _ } from "./Tooltip-DAYtebkl.js";
|
|
5
|
+
import './assets/Link.css';const c = "_link_1nmvo_1", y = "_primary_1nmvo_65", v = "_secondary_1nmvo_81", l = "_tertiary_1nmvo_89", p = "_error_1nmvo_97", u = "_success_1nmvo_113", s = {
|
|
6
|
+
link: c,
|
|
7
|
+
primary: y,
|
|
8
|
+
"primary-variant": "_primary-variant_1nmvo_73",
|
|
9
|
+
secondary: v,
|
|
10
|
+
tertiary: l,
|
|
11
|
+
error: p,
|
|
12
|
+
"inverse-surface": "_inverse-surface_1nmvo_105",
|
|
13
|
+
success: u
|
|
14
|
+
}, T = ({
|
|
15
|
+
theme: r = m.primary,
|
|
16
|
+
description: a,
|
|
17
|
+
underline: e = !0,
|
|
18
|
+
children: i,
|
|
19
|
+
...n
|
|
20
|
+
}) => /* @__PURE__ */ o(_, { description: a, theme: r, children: /* @__PURE__ */ o(
|
|
21
|
+
t,
|
|
22
|
+
{
|
|
23
|
+
...n,
|
|
24
|
+
className: n.className ?? `${s.link} ${s[r]}`,
|
|
25
|
+
...e && { "data-underline": !0 },
|
|
26
|
+
children: i
|
|
27
|
+
}
|
|
28
|
+
) });
|
|
29
|
+
export {
|
|
30
|
+
T as L
|
|
31
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { MenuTrigger as m, Menu as c, Separator as l, MenuItem as p, SubmenuTrigger as d, Pressable as h } from "react-aria-components";
|
|
3
|
+
import { P as i } from "./Popover-D3iGWJwQ.js";
|
|
4
|
+
import { ChevronRight as _ } from "lucide-react";
|
|
5
|
+
import { T as b } from "./Tooltip-DAYtebkl.js";
|
|
6
|
+
import './assets/MenuLabel.css';const f = "_menu_c70ku_1", g = "_separator_c70ku_85", M = "_pressable_c70ku_99", t = {
|
|
7
|
+
menu: f,
|
|
8
|
+
"menu-item": "_menu-item_c70ku_13",
|
|
9
|
+
"item-node": "_item-node_c70ku_23",
|
|
10
|
+
separator: g,
|
|
11
|
+
pressable: M
|
|
12
|
+
}, u = ({ menuItem: e }) => {
|
|
13
|
+
if (e.type === "separator")
|
|
14
|
+
return /* @__PURE__ */ r(l, { className: `${t.separator}` });
|
|
15
|
+
const n = !!e.subItems?.length, s = /* @__PURE__ */ o(
|
|
16
|
+
p,
|
|
17
|
+
{
|
|
18
|
+
className: `${t["menu-item"]} ${t[e.type]}`,
|
|
19
|
+
onAction: e.onPress,
|
|
20
|
+
href: e.href,
|
|
21
|
+
target: e.target,
|
|
22
|
+
children: [
|
|
23
|
+
e.node,
|
|
24
|
+
n && /* @__PURE__ */ r(_, { size: 18, strokeWidth: 3 })
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
return n ? /* @__PURE__ */ o(d, { children: [
|
|
29
|
+
s,
|
|
30
|
+
/* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(c, { className: `${t.menu}`, children: e.subItems.map((a) => /* @__PURE__ */ r(u, { menuItem: a }, a.id)) }) })
|
|
31
|
+
] }) : s;
|
|
32
|
+
}, k = ({ children: e, menuItems: n }) => /* @__PURE__ */ o(m, { children: [
|
|
33
|
+
e,
|
|
34
|
+
/* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(c, { className: `${t.menu}`, children: n.map((s) => /* @__PURE__ */ r(u, { menuItem: s }, s.id)) }) })
|
|
35
|
+
] }), y = ({
|
|
36
|
+
children: e,
|
|
37
|
+
menuItems: n,
|
|
38
|
+
description: s
|
|
39
|
+
}) => /* @__PURE__ */ r(k, { menuItems: n, children: /* @__PURE__ */ r(b, { description: s, children: /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r("span", { role: "button", className: t.pressable, children: e }) }) }) });
|
|
40
|
+
export {
|
|
41
|
+
y as M,
|
|
42
|
+
k as a
|
|
43
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { M as u } from "./ModalBase-DLaR_yid.js";
|
|
3
|
+
import { T as p } from "./TextButton-EYzLjods.js";
|
|
4
|
+
import { C as v } from "./types-C1YOMbh5.js";
|
|
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
|
+
const q = "_modal_fqn0t_1", $ = "_end_fqn0t_39", a = {
|
|
7
|
+
modal: q,
|
|
8
|
+
"modal-header": "_modal-header_fqn0t_11",
|
|
9
|
+
"modal-content": "_modal-content_fqn0t_19",
|
|
10
|
+
"modal-action": "_modal-action_fqn0t_29",
|
|
11
|
+
end: $
|
|
12
|
+
}, y = ({
|
|
13
|
+
trigger: n,
|
|
14
|
+
header: o,
|
|
15
|
+
children: l,
|
|
16
|
+
actionPlacement: m = d.start,
|
|
17
|
+
modalAction: e,
|
|
18
|
+
closeText: i = c.close,
|
|
19
|
+
isDismissable: _,
|
|
20
|
+
isKeyboardDismissableDisabled: f
|
|
21
|
+
}) => {
|
|
22
|
+
const h = typeof e == "function";
|
|
23
|
+
return /* @__PURE__ */ t(
|
|
24
|
+
u,
|
|
25
|
+
{
|
|
26
|
+
trigger: n,
|
|
27
|
+
isDismissable: _,
|
|
28
|
+
isKeyboardDismissableDisabled: f,
|
|
29
|
+
children: ({ close: r }) => /* @__PURE__ */ s("div", { className: `${a.modal}`, children: [
|
|
30
|
+
o && /* @__PURE__ */ t("h2", { className: `${a["modal-header"]}`, children: o }),
|
|
31
|
+
/* @__PURE__ */ t("div", { className: `${a["modal-content"]}`, children: l }),
|
|
32
|
+
/* @__PURE__ */ s(
|
|
33
|
+
"div",
|
|
34
|
+
{
|
|
35
|
+
className: `${a["modal-action"]} ${a[m]}`,
|
|
36
|
+
children: [
|
|
37
|
+
h ? e({ close: r }) : e,
|
|
38
|
+
/* @__PURE__ */ t(p, { onPress: r, theme: v.inverseSurface, children: i })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
] })
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
y as M,
|
|
48
|
+
d as a,
|
|
49
|
+
c as b
|
|
50
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { DialogTrigger as n, ModalOverlay as t, Modal as c, Dialog as y } from "react-aria-components";
|
|
3
|
+
import './assets/ModalBase.css';const g = "_modal_nlxyg_1", a = {
|
|
4
|
+
"modal-overlay": "_modal-overlay_nlxyg_1",
|
|
5
|
+
modal: g
|
|
6
|
+
}, f = ({
|
|
7
|
+
trigger: s,
|
|
8
|
+
children: o,
|
|
9
|
+
isDismissable: e,
|
|
10
|
+
isKeyboardDismissableDisabled: r
|
|
11
|
+
}) => {
|
|
12
|
+
const d = typeof o == "function";
|
|
13
|
+
return /* @__PURE__ */ m(n, { children: [
|
|
14
|
+
s,
|
|
15
|
+
/* @__PURE__ */ l(
|
|
16
|
+
t,
|
|
17
|
+
{
|
|
18
|
+
className: `${a["modal-overlay"]}`,
|
|
19
|
+
isDismissable: e,
|
|
20
|
+
isKeyboardDismissDisabled: r,
|
|
21
|
+
children: /* @__PURE__ */ l(c, { className: `${a.modal}`, children: /* @__PURE__ */ l(y, { children: d ? (i) => o(i) : o }) })
|
|
22
|
+
}
|
|
23
|
+
)
|
|
24
|
+
] });
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
f as M
|
|
28
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { M as u } from "./MenuLabel-ClmuA9_6.js";
|
|
3
|
+
import { L as i } from "./Link-CbLEp2fF.js";
|
|
4
|
+
import { T as m } from "./TextButton-EYzLjods.js";
|
|
5
|
+
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
|
+
import { a as c } from "./useSplash-DXNKEPAC.js";
|
|
7
|
+
import { ChevronDown as h } from "lucide-react";
|
|
8
|
+
import './assets/NavigationMenu.css';const p = "_menu_sata7_1", d = {
|
|
9
|
+
menu: p
|
|
10
|
+
}, g = ({ items: s, className: o }) => {
|
|
11
|
+
const t = s.filter((e) => e.type !== "separator");
|
|
12
|
+
return /* @__PURE__ */ r("div", { className: o || d.menu, children: t.map((e) => {
|
|
13
|
+
switch (e.type) {
|
|
14
|
+
case "sub-items":
|
|
15
|
+
return /* @__PURE__ */ a(u, { menuItems: e.subItems, children: [
|
|
16
|
+
e.node,
|
|
17
|
+
/* @__PURE__ */ r(h, { strokeWidth: 3 })
|
|
18
|
+
] }, e.id);
|
|
19
|
+
case "item-node":
|
|
20
|
+
return e.node;
|
|
21
|
+
case "link":
|
|
22
|
+
return /* @__PURE__ */ r(
|
|
23
|
+
i,
|
|
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
|
+
);
|
|
32
|
+
case "button":
|
|
33
|
+
return /* @__PURE__ */ r(
|
|
34
|
+
m,
|
|
35
|
+
{
|
|
36
|
+
onPress: e.onPress,
|
|
37
|
+
theme: n.inverseSurface,
|
|
38
|
+
shape: c.shrink,
|
|
39
|
+
children: e.node
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}) });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
g as N
|
|
47
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useMediaQuery as t } from "usehooks-ts";
|
|
3
|
+
import { N as e } from "./NavigationMenu-BjA8VR1X.js";
|
|
4
|
+
import { N as s } from "./NavigationSidebar-DqUwV4eC.js";
|
|
5
|
+
const f = ({
|
|
6
|
+
items: o,
|
|
7
|
+
mediaQuery: r,
|
|
8
|
+
...i
|
|
9
|
+
}) => t(`(${r})`) ? /* @__PURE__ */ a(e, { items: o }) : /* @__PURE__ */ a(s, { items: o, ...i });
|
|
10
|
+
export {
|
|
11
|
+
f as N
|
|
12
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { T as r } from "./TextButton-EYzLjods.js";
|
|
3
|
+
import { a as s } from "./useSplash-DXNKEPAC.js";
|
|
4
|
+
import { S as m } from "./Sidebar-Dk_3EG71.js";
|
|
5
|
+
import { T as c } from "./Tree-BwmYvUlr.js";
|
|
6
|
+
import { X as l, Menu as p } from "lucide-react";
|
|
7
|
+
import { C as h } from "./types-C1YOMbh5.js";
|
|
8
|
+
import './assets/NavigationSidebar.css';const d = "_nav_15psm_1", f = "_close_15psm_15", o = {
|
|
9
|
+
nav: d,
|
|
10
|
+
close: f
|
|
11
|
+
}, g = ({
|
|
12
|
+
items: a,
|
|
13
|
+
...t
|
|
14
|
+
}) => /* @__PURE__ */ e(
|
|
15
|
+
m,
|
|
16
|
+
{
|
|
17
|
+
...t,
|
|
18
|
+
trigger: /* @__PURE__ */ e(r, { shape: s.square, children: /* @__PURE__ */ e(p, {}) }),
|
|
19
|
+
children: ({ close: n }) => /* @__PURE__ */ i("div", { className: o.nav, children: [
|
|
20
|
+
/* @__PURE__ */ e("div", { className: o.close, children: /* @__PURE__ */ e(
|
|
21
|
+
r,
|
|
22
|
+
{
|
|
23
|
+
onPress: n,
|
|
24
|
+
shape: s.square,
|
|
25
|
+
theme: h.inverseSurface,
|
|
26
|
+
children: /* @__PURE__ */ e(l, {})
|
|
27
|
+
}
|
|
28
|
+
) }),
|
|
29
|
+
/* @__PURE__ */ e(c, { items: a })
|
|
30
|
+
] })
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
export {
|
|
34
|
+
g as N
|
|
35
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { B as r } from "./TextButton-EYzLjods.js";
|
|
3
|
+
import { B as i } from "./useSplash-DXNKEPAC.js";
|
|
4
|
+
const u = (t) => {
|
|
5
|
+
const { children: n } = t;
|
|
6
|
+
return /* @__PURE__ */ o(r, { ...t, variant: i.filled, children: n });
|
|
7
|
+
}, s = (t) => {
|
|
8
|
+
const { children: n } = t;
|
|
9
|
+
return /* @__PURE__ */ o(r, { ...t, variant: i.outlined, children: n });
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
u as F,
|
|
13
|
+
s as O
|
|
14
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
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-DXNKEPAC.js";
|
|
3
|
+
import { Link as L } from "react-aria-components";
|
|
4
|
+
import { T as S } from "./Tooltip-DAYtebkl.js";
|
|
5
|
+
import { C as x } from "./types-C1YOMbh5.js";
|
|
6
|
+
const c = ({
|
|
7
|
+
variant: n = a.filled,
|
|
8
|
+
theme: e = x.primary,
|
|
9
|
+
shape: d = F.rectangle,
|
|
10
|
+
description: p,
|
|
11
|
+
underline: f = !0,
|
|
12
|
+
children: s,
|
|
13
|
+
...i
|
|
14
|
+
}) => {
|
|
15
|
+
const { coords: r, handlePress: h } = $(i.onPress), B = typeof s == "function";
|
|
16
|
+
return /* @__PURE__ */ t(S, { theme: e, description: p, children: /* @__PURE__ */ t(
|
|
17
|
+
L,
|
|
18
|
+
{
|
|
19
|
+
...i,
|
|
20
|
+
...f && { "data-underline": !0 },
|
|
21
|
+
onPress: h,
|
|
22
|
+
className: `${o.button} ${o["button-link"]} ${o[n]} ${o[e]} ${o[d]}`,
|
|
23
|
+
children: B ? (k) => /* @__PURE__ */ l(u, { children: [
|
|
24
|
+
r && /* @__PURE__ */ t(m, { ...r }),
|
|
25
|
+
s(k)
|
|
26
|
+
] }) : /* @__PURE__ */ l(u, { children: [
|
|
27
|
+
r && /* @__PURE__ */ t(m, { ...r }),
|
|
28
|
+
s
|
|
29
|
+
] })
|
|
30
|
+
}
|
|
31
|
+
) });
|
|
32
|
+
}, g = (n) => /* @__PURE__ */ t(c, { ...n, variant: a.filled }), j = (n) => /* @__PURE__ */ t(c, { ...n, variant: a.outlined });
|
|
33
|
+
export {
|
|
34
|
+
g as F,
|
|
35
|
+
j as O
|
|
36
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
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_1o45j_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
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as n } from "react/jsx-runtime";
|
|
2
|
+
import { O as q, F as B } from "./OutlinedButton-dMBAASb-.js";
|
|
3
|
+
import { B as l } from "./useSplash-DXNKEPAC.js";
|
|
4
|
+
import { Select as N, SelectValue as m, ListBox as S, Text as d, ListBoxItem as T } from "react-aria-components";
|
|
5
|
+
import { P as b } from "./Popover-D3iGWJwQ.js";
|
|
6
|
+
import { ChevronsUpDown as V, Check as y } from "lucide-react";
|
|
7
|
+
import { T as C } from "./TextButton-EYzLjods.js";
|
|
8
|
+
import { C as p } from "./types-C1YOMbh5.js";
|
|
9
|
+
import { T as F } from "./Tooltip-DAYtebkl.js";
|
|
10
|
+
import { L as $, F as L } from "./FieldError-CZn24fiL.js";
|
|
11
|
+
import './assets/Select.css';const D = "_select_3q7jl_1", w = "_trigger_3q7jl_31", i = {
|
|
12
|
+
select: D,
|
|
13
|
+
"selected-value": "_selected-value_3q7jl_11",
|
|
14
|
+
"option-description": "_option-description_3q7jl_13",
|
|
15
|
+
trigger: w,
|
|
16
|
+
"options-list": "_options-list_3q7jl_45",
|
|
17
|
+
"options-item-group": "_options-item-group_3q7jl_57",
|
|
18
|
+
"options-item": "_options-item_3q7jl_57"
|
|
19
|
+
}, J = ({
|
|
20
|
+
options: h,
|
|
21
|
+
label: a,
|
|
22
|
+
name: u,
|
|
23
|
+
disabled: _,
|
|
24
|
+
isRequired: f,
|
|
25
|
+
triggerVariant: g = l.filled,
|
|
26
|
+
description: j,
|
|
27
|
+
placeholder: c,
|
|
28
|
+
selectedKey: x,
|
|
29
|
+
onSelectionChange: k
|
|
30
|
+
}) => {
|
|
31
|
+
let s;
|
|
32
|
+
switch (g) {
|
|
33
|
+
case l.filled:
|
|
34
|
+
s = B;
|
|
35
|
+
break;
|
|
36
|
+
case l.outlined:
|
|
37
|
+
s = q;
|
|
38
|
+
break;
|
|
39
|
+
case l.text:
|
|
40
|
+
s = C;
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ r(
|
|
44
|
+
N,
|
|
45
|
+
{
|
|
46
|
+
className: i.select,
|
|
47
|
+
isDisabled: _,
|
|
48
|
+
isRequired: f,
|
|
49
|
+
name: u,
|
|
50
|
+
selectedKey: x,
|
|
51
|
+
onSelectionChange: k,
|
|
52
|
+
children: [
|
|
53
|
+
a && /* @__PURE__ */ e($, { children: a }),
|
|
54
|
+
/* @__PURE__ */ e(F, { description: j, theme: p.inverseSurface, children: /* @__PURE__ */ e(s, { theme: p.inverseSurface, children: /* @__PURE__ */ r("span", { className: i.trigger, children: [
|
|
55
|
+
c ? /* @__PURE__ */ e(m, { className: `${i["selected-value"]}`, children: ({ defaultChildren: t, isPlaceholder: o }) => o ? c : t }) : /* @__PURE__ */ e(m, {}),
|
|
56
|
+
/* @__PURE__ */ e(V, { size: 16, strokeWidth: 3 })
|
|
57
|
+
] }) }) }),
|
|
58
|
+
/* @__PURE__ */ e(L, {}),
|
|
59
|
+
/* @__PURE__ */ e(b, { children: /* @__PURE__ */ e(S, { className: `${i["options-list"]}`, items: h, children: (t) => {
|
|
60
|
+
const o = /* @__PURE__ */ r(n, { children: [
|
|
61
|
+
/* @__PURE__ */ e(d, { children: t.displayValue }),
|
|
62
|
+
t.description && /* @__PURE__ */ e(d, { className: i["option-description"], children: t.description })
|
|
63
|
+
] });
|
|
64
|
+
return /* @__PURE__ */ e(
|
|
65
|
+
T,
|
|
66
|
+
{
|
|
67
|
+
className: `${i["options-item-group"]}`,
|
|
68
|
+
id: t.key,
|
|
69
|
+
textValue: t.displayValue,
|
|
70
|
+
isDisabled: t.disabled,
|
|
71
|
+
children: ({ isSelected: v }) => /* @__PURE__ */ r(n, { children: [
|
|
72
|
+
/* @__PURE__ */ e("div", { className: `${i["options-item"]}`, children: o }),
|
|
73
|
+
v && /* @__PURE__ */ e(y, { strokeWidth: 3 })
|
|
74
|
+
] })
|
|
75
|
+
},
|
|
76
|
+
t.key
|
|
77
|
+
);
|
|
78
|
+
} }) })
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
};
|
|
83
|
+
export {
|
|
84
|
+
J as S
|
|
85
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { DialogTrigger as v, ModalOverlay as f, Modal as m, Dialog as h } from "react-aria-components";
|
|
3
|
+
import './assets/Sidebar.css';var r = /* @__PURE__ */ ((l) => (l.inlineStart = "inline-start", l.inlineEnd = "inline-end", l.blockStart = "block-start", l.blockEnd = "block-end", l))(r || {}), u = /* @__PURE__ */ ((l) => (l.full = "full", l.threeQuarters = "three-quarters", l.half = "half", l.quarter = "quarter", l))(u || {});
|
|
4
|
+
const k = "_modal_1vuul_1", b = "_full_1vuul_291", q = "_half_1vuul_313", y = "_quarter_1vuul_321", e = {
|
|
5
|
+
"modal-overlay": "_modal-overlay_1vuul_1",
|
|
6
|
+
"modal-fade": "_modal-fade_1vuul_1",
|
|
7
|
+
modal: k,
|
|
8
|
+
"inline-start": "_inline-start_1vuul_117",
|
|
9
|
+
"inline-slide": "_inline-slide_1vuul_1",
|
|
10
|
+
"inline-end": "_inline-end_1vuul_145",
|
|
11
|
+
"block-start": "_block-start_1vuul_173",
|
|
12
|
+
"block-slide": "_block-slide_1vuul_1",
|
|
13
|
+
"block-end": "_block-end_1vuul_201",
|
|
14
|
+
full: b,
|
|
15
|
+
"three-quarters": "_three-quarters_1vuul_305",
|
|
16
|
+
half: q,
|
|
17
|
+
quarter: y
|
|
18
|
+
}, D = ({
|
|
19
|
+
children: l,
|
|
20
|
+
trigger: t,
|
|
21
|
+
sidebarPosition: n = r.inlineStart,
|
|
22
|
+
sidebarSize: _ = u.full,
|
|
23
|
+
isDismissable: o,
|
|
24
|
+
isKeyboardDismissableDisabled: s
|
|
25
|
+
}) => {
|
|
26
|
+
const i = typeof l == "function";
|
|
27
|
+
return /* @__PURE__ */ c(v, { children: [
|
|
28
|
+
t,
|
|
29
|
+
/* @__PURE__ */ a(
|
|
30
|
+
f,
|
|
31
|
+
{
|
|
32
|
+
className: `${e["modal-overlay"]}`,
|
|
33
|
+
isDismissable: o,
|
|
34
|
+
isKeyboardDismissDisabled: s,
|
|
35
|
+
children: /* @__PURE__ */ a(
|
|
36
|
+
m,
|
|
37
|
+
{
|
|
38
|
+
className: `${e.modal} ${e[n]} ${e[_]}`,
|
|
39
|
+
children: /* @__PURE__ */ a(h, { children: i ? (d) => l(d) : l })
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
] });
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
D as S,
|
|
48
|
+
r as a,
|
|
49
|
+
u as b
|
|
50
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as x, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { TextField as c, TextArea as m } from "react-aria-components";
|
|
3
|
+
import { L as d, F as l } from "./FieldError-CZn24fiL.js";
|
|
4
|
+
import './assets/TextArea.css';const n = "_textarea_1fx5i_1", _ = "_editor_1fx5i_11", s = {
|
|
5
|
+
textarea: n,
|
|
6
|
+
editor: _
|
|
7
|
+
}, h = ({
|
|
8
|
+
label: a,
|
|
9
|
+
textFieldProps: r,
|
|
10
|
+
textAreaProps: t,
|
|
11
|
+
labelProps: o,
|
|
12
|
+
fieldErrorProps: i
|
|
13
|
+
}) => /* @__PURE__ */ x(
|
|
14
|
+
c,
|
|
15
|
+
{
|
|
16
|
+
...r,
|
|
17
|
+
className: r?.className ?? s.textarea,
|
|
18
|
+
children: [
|
|
19
|
+
a && /* @__PURE__ */ e(d, { ...o, children: a }),
|
|
20
|
+
/* @__PURE__ */ e(
|
|
21
|
+
m,
|
|
22
|
+
{
|
|
23
|
+
...t,
|
|
24
|
+
className: t?.className ?? s.editor
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ e(l, { ...i })
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
export {
|
|
32
|
+
h as T
|
|
33
|
+
};
|