@adgytec/adgytec-web-ui-components 0.0.14 → 0.0.16
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/Button-D2HmL9lT.js +34 -0
- package/dist/ButtonLink-Bj0h692A.js +36 -0
- package/dist/Disclosure-Dmi6UFSF.js +28 -0
- package/dist/FilledButton-SnAf5REc.js +10 -0
- package/dist/{Link-EXFlPw9F.js → Link-wdtV3-eC.js} +2 -2
- package/dist/Menu-B3oiOXZP.js +36 -0
- package/dist/MenuLabel-sb6mKBOL.js +14 -0
- package/dist/ModalBase-B6E_69dY.js +25 -0
- package/dist/{NavigationMenu-C1AJ6mt-.js → NavigationMenu-C64WpZpH.js} +5 -5
- package/dist/{NavigationSidebar-DWmAgVuG.js → NavigationSidebar-CdQlKp5A.js} +13 -13
- package/dist/OutlinedButton-Bna2lY_l.js +10 -0
- package/dist/{Popover-D3iGWJwQ.js → Popover-sX7uB5r0.js} +1 -1
- package/dist/Sidebar-BWZan2PF.js +50 -0
- package/dist/Splash-DnaqZnSX.js +46 -0
- package/dist/TextButton-CoRHw1vC.js +10 -0
- package/dist/ToggleButton-DuG32EKD.js +31 -0
- package/dist/{Tooltip-D6naAVUi.js → Tooltip-B2vjUO40.js} +1 -1
- package/dist/assets/Menu.css +1 -0
- package/dist/assets/MenuLabel.css +1 -1
- package/dist/assets/ModalBase.css +1 -1
- package/dist/assets/Popover.css +1 -1
- package/dist/assets/Sidebar.css +1 -1
- package/dist/assets/index2.css +1 -0
- package/dist/assets/index5.css +1 -0
- package/dist/assets/index6.css +1 -0
- package/dist/components/Avatar/index.js +33 -4
- package/dist/components/Button/ButtonBase/index.d.ts +1 -0
- package/dist/components/Button/ButtonBase/index.js +5 -0
- package/dist/components/Button/{types.d.ts → ButtonBase/types.d.ts} +1 -1
- package/dist/components/Button/ButtonChild/index.js +50 -0
- package/dist/components/Button/{FilledButton.d.ts → FilledButton/FilledButton.d.ts} +1 -1
- package/dist/components/Button/FilledButton/index.d.ts +1 -0
- package/dist/components/Button/FilledButton/index.js +4 -0
- package/dist/components/Button/{OutlinedButton.d.ts → OutlinedButton/OutlinedButton.d.ts} +1 -1
- package/dist/components/Button/OutlinedButton/index.d.ts +1 -0
- package/dist/components/Button/OutlinedButton/index.js +4 -0
- package/dist/components/Button/{TextButton.d.ts → TextButton/TextButton.d.ts} +1 -1
- package/dist/components/Button/TextButton/index.d.ts +1 -0
- package/dist/components/Button/TextButton/index.js +4 -0
- package/dist/components/Button/{ToggleButton.d.ts → ToggleButton/ToggleButton.d.ts} +1 -1
- package/dist/components/Button/ToggleButton/index.d.ts +1 -0
- package/dist/components/Button/ToggleButton/index.js +4 -0
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +7 -2
- package/dist/components/Error/index.js +5 -2
- package/dist/components/Form/Form/index.js +46 -3
- package/dist/components/Form/Input/index.js +31 -2
- package/dist/components/Form/TextArea/index.js +31 -2
- package/dist/components/Link/{FilledButtonLink.d.ts → FilledButtonLink/FilledButtonLink.d.ts} +1 -1
- package/dist/components/Link/FilledButtonLink/index.d.ts +1 -0
- package/dist/components/Link/FilledButtonLink/index.js +7 -0
- package/dist/components/Link/LinkBase/index.d.ts +2 -0
- package/dist/components/Link/LinkBase/index.js +4 -0
- package/dist/components/Link/{types.d.ts → LinkBase/types.d.ts} +1 -1
- package/dist/components/Link/{OutlinedButtonLink.d.ts → OutlinedButtonLink/OutlinedButtonLink.d.ts} +1 -1
- package/dist/components/Link/OutlinedButtonLink/index.d.ts +1 -0
- package/dist/components/Link/OutlinedButtonLink/index.js +7 -0
- package/dist/components/Menu/MenuBase/index.d.ts +1 -0
- package/dist/components/Menu/MenuBase/index.js +1 -0
- package/dist/components/Menu/{types.d.ts → MenuBase/types.d.ts} +2 -2
- package/dist/components/Menu/{MenuButton.d.ts → MenuButton/MenuButton.d.ts} +1 -1
- package/dist/components/Menu/MenuButton/index.d.ts +1 -0
- package/dist/components/Menu/MenuButton/index.js +6 -0
- package/dist/components/Menu/{MenuLabel.d.ts → MenuLabel/MenuLabel.d.ts} +1 -1
- package/dist/components/Menu/MenuLabel/index.d.ts +1 -0
- package/dist/components/Menu/MenuLabel/index.js +4 -0
- package/dist/components/Modal/ModalAction/index.js +49 -4
- package/dist/components/Modal/ModalAction/types.d.ts +2 -6
- package/dist/components/Modal/ModalBase/index.js +1 -1
- package/dist/components/Modal/ModalBase/types.d.ts +1 -1
- package/dist/components/Navigation/NavigationMenu/index.js +1 -1
- package/dist/components/Navigation/NavigationResponsive/index.js +10 -2
- package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
- package/dist/components/Popover/{index.d.ts → PopoverBase/index.d.ts} +0 -1
- package/dist/components/Popover/PopoverBase/index.js +4 -0
- package/dist/components/Popover/{types.d.ts → PopoverBase/types.d.ts} +1 -1
- package/dist/components/Popover/{PopoverDialog.d.ts → PopoverDialog/PopoverDialog.d.ts} +1 -1
- package/dist/components/Popover/PopoverDialog/index.d.ts +1 -0
- package/dist/components/Popover/PopoverDialog/index.js +15 -0
- package/dist/components/Select/index.js +86 -2
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Sidebar/types.d.ts +1 -1
- package/dist/components/Success/index.js +5 -2
- package/dist/components/ToggleButtonGroup/index.js +27 -2
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/index.d.ts +0 -26
- package/dist/index.js +2 -71
- package/package.json +204 -70
- package/dist/Avatar-BRt91J0i.js +0 -35
- package/dist/ButtonChild-BTPuUMU5.js +0 -50
- package/dist/Disclosure-CL9F01im.js +0 -28
- package/dist/DisclousreGroup-BfpSfSQm.js +0 -9
- package/dist/Error--Jbz8Uoy.js +0 -7
- package/dist/Form-B7w2oUTu.js +0 -48
- package/dist/Input-fPkzWJI-.js +0 -33
- package/dist/MenuButton-KQA8EJUq.js +0 -6
- package/dist/MenuLabel-J8M7UwkA.js +0 -43
- package/dist/ModalAction-BGTO18jV.js +0 -52
- package/dist/ModalBase-DQHNXJXh.js +0 -25
- package/dist/NavigationResponsive-CET-JF26.js +0 -12
- package/dist/OutlinedButton-gr4wDzFi.js +0 -14
- package/dist/OutlinedButtonLink-DlQkc-PA.js +0 -36
- package/dist/PopoverDialog-DHJavBLj.js +0 -15
- package/dist/Select-pUuSraok.js +0 -85
- package/dist/Sidebar-LlVvowsG.js +0 -50
- package/dist/Success-FBfAAtBv.js +0 -7
- package/dist/TextArea-BqYpfMqm.js +0 -33
- package/dist/TextButton-BmQL4LNA.js +0 -37
- package/dist/ToggleButtonGroup-BhCWMTxP.js +0 -51
- package/dist/assets/Error.css +0 -1
- package/dist/assets/Input.css +0 -1
- package/dist/assets/Success.css +0 -1
- package/dist/components/Button/index.d.ts +0 -4
- package/dist/components/Button/index.js +0 -10
- package/dist/components/ButtonChild/index.js +0 -5
- package/dist/components/Link/index.d.ts +0 -4
- package/dist/components/Link/index.js +0 -7
- package/dist/components/Menu/index.d.ts +0 -3
- package/dist/components/Menu/index.js +0 -6
- package/dist/components/Modal/index.d.ts +0 -2
- package/dist/components/Modal/index.js +0 -8
- package/dist/components/Navigation/index.d.ts +0 -3
- package/dist/components/Navigation/index.js +0 -8
- package/dist/components/Popover/index.js +0 -6
- package/dist/types-C1YOMbh5.js +0 -4
- package/dist/useSplash-DOL9j-2c.js +0 -49
- /package/dist/assets/{useSplash.css → Splash.css} +0 -0
- /package/dist/assets/{ToggleButtonGroup.css → index.css} +0 -0
- /package/dist/assets/{ButtonChild.css → index10.css} +0 -0
- /package/dist/assets/{Avatar.css → index11.css} +0 -0
- /package/dist/assets/{Select.css → index3.css} +0 -0
- /package/dist/assets/{TextArea.css → index4.css} +0 -0
- /package/dist/assets/{DisclousreGroup.css → index7.css} +0 -0
- /package/dist/assets/{ModalAction.css → index8.css} +0 -0
- /package/dist/assets/{Form.css → index9.css} +0 -0
- /package/dist/components/Button/{Button.d.ts → ButtonBase/Button.d.ts} +0 -0
- /package/dist/components/Button/{ButtonLink.d.ts → ButtonBase/ButtonLink.d.ts} +0 -0
- /package/dist/components/{ButtonChild → Button/ButtonChild}/ButtonChild.d.ts +0 -0
- /package/dist/components/{ButtonChild → Button/ButtonChild}/index.d.ts +0 -0
- /package/dist/components/{ButtonChild → Button/ButtonChild}/types.d.ts +0 -0
- /package/dist/components/Link/{Link.d.ts → LinkBase/Link.d.ts} +0 -0
- /package/dist/components/Menu/{Menu.d.ts → MenuBase/Menu.d.ts} +0 -0
- /package/dist/components/Popover/{Popover.d.ts → PopoverBase/Popover.d.ts} +0 -0
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as r } from "react/jsx-runtime";
|
|
2
|
-
import { M as u } from "./ModalBase-DQHNXJXh.js";
|
|
3
|
-
import { T as p } from "./TextButton-BmQL4LNA.js";
|
|
4
|
-
import { C as v } from "./types-C1YOMbh5.js";
|
|
5
|
-
import './assets/ModalAction.css';var d = /* @__PURE__ */ ((a) => (a.start = "start", a.end = "end", a))(d || {}), l = /* @__PURE__ */ ((a) => (a.close = "Close", a.cancel = "Cancel", a))(l || {});
|
|
6
|
-
const q = "_modal_fqn0t_1", $ = "_end_fqn0t_39", e = {
|
|
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
|
-
}, C = ({
|
|
13
|
-
trigger: a,
|
|
14
|
-
header: s,
|
|
15
|
-
children: m,
|
|
16
|
-
actionPlacement: c = d.start,
|
|
17
|
-
modalAction: n,
|
|
18
|
-
closeText: i = l.close,
|
|
19
|
-
isDismissable: _,
|
|
20
|
-
isKeyboardDismissableDisabled: f
|
|
21
|
-
}) => {
|
|
22
|
-
const h = typeof n == "function";
|
|
23
|
-
return /* @__PURE__ */ o(
|
|
24
|
-
u,
|
|
25
|
-
{
|
|
26
|
-
trigger: a,
|
|
27
|
-
modalOverlayProps: {
|
|
28
|
-
isDismissable: _,
|
|
29
|
-
isKeyboardDismissDisabled: f
|
|
30
|
-
},
|
|
31
|
-
children: ({ close: t }) => /* @__PURE__ */ r("div", { className: `${e.modal}`, children: [
|
|
32
|
-
s && /* @__PURE__ */ o("h2", { className: `${e["modal-header"]}`, children: s }),
|
|
33
|
-
/* @__PURE__ */ o("div", { className: `${e["modal-content"]}`, children: m }),
|
|
34
|
-
/* @__PURE__ */ r(
|
|
35
|
-
"div",
|
|
36
|
-
{
|
|
37
|
-
className: `${e["modal-action"]} ${e[c]}`,
|
|
38
|
-
children: [
|
|
39
|
-
h ? n({ close: t }) : n,
|
|
40
|
-
/* @__PURE__ */ o(p, { onPress: t, theme: v.inverseSurface, children: i })
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
] })
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
C as M,
|
|
50
|
-
d as a,
|
|
51
|
-
l as b
|
|
52
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { DialogTrigger as c, ModalOverlay as n, Modal as i, Dialog as t } from "react-aria-components";
|
|
3
|
-
import './assets/ModalBase.css';const g = "_modal_nlxyg_1", o = {
|
|
4
|
-
"modal-overlay": "_modal-overlay_nlxyg_1",
|
|
5
|
-
modal: g
|
|
6
|
-
}, x = ({
|
|
7
|
-
trigger: s,
|
|
8
|
-
modalOverlayProps: a,
|
|
9
|
-
dialogTriggerProps: e,
|
|
10
|
-
modalProps: r,
|
|
11
|
-
...m
|
|
12
|
-
}) => /* @__PURE__ */ d(c, { ...e, children: [
|
|
13
|
-
s,
|
|
14
|
-
/* @__PURE__ */ l(
|
|
15
|
-
n,
|
|
16
|
-
{
|
|
17
|
-
...a,
|
|
18
|
-
className: a?.className ?? o["modal-overlay"],
|
|
19
|
-
children: /* @__PURE__ */ l(i, { ...r, className: o.modal, children: /* @__PURE__ */ l(t, { ...m }) })
|
|
20
|
-
}
|
|
21
|
-
)
|
|
22
|
-
] });
|
|
23
|
-
export {
|
|
24
|
-
x as M
|
|
25
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { useMediaQuery as t } from "usehooks-ts";
|
|
3
|
-
import { N as e } from "./NavigationMenu-C1AJ6mt-.js";
|
|
4
|
-
import { N as s } from "./NavigationSidebar-DWmAgVuG.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
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { B as r } from "./TextButton-BmQL4LNA.js";
|
|
3
|
-
import { B as i } from "./useSplash-DOL9j-2c.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
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
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-DOL9j-2c.js";
|
|
3
|
-
import { Link as L } from "react-aria-components";
|
|
4
|
-
import { T as S } from "./Tooltip-D6naAVUi.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
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { DialogTrigger as s, Dialog as t } from "react-aria-components";
|
|
3
|
-
import { P as a } from "./Popover-D3iGWJwQ.js";
|
|
4
|
-
const P = ({
|
|
5
|
-
trigger: r,
|
|
6
|
-
popoverProps: i,
|
|
7
|
-
dialogTriggerProps: e,
|
|
8
|
-
...m
|
|
9
|
-
}) => /* @__PURE__ */ p(s, { ...e, children: [
|
|
10
|
-
r,
|
|
11
|
-
/* @__PURE__ */ o(a, { ...i, children: /* @__PURE__ */ o(t, { ...m }) })
|
|
12
|
-
] });
|
|
13
|
-
export {
|
|
14
|
-
P
|
|
15
|
-
};
|
package/dist/Select-pUuSraok.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
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-gr4wDzFi.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
|
-
import { P as y } from "./Popover-D3iGWJwQ.js";
|
|
6
|
-
import { ChevronsUpDown as C, Check as F } from "lucide-react";
|
|
7
|
-
import { T as $ } from "./TextButton-BmQL4LNA.js";
|
|
8
|
-
import { C as p } from "./types-C1YOMbh5.js";
|
|
9
|
-
import { T as L } from "./Tooltip-D6naAVUi.js";
|
|
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
|
-
select: w,
|
|
13
|
-
"selected-value": "_selected-value_1ctdo_11",
|
|
14
|
-
"option-description": "_option-description_1ctdo_19",
|
|
15
|
-
trigger: I,
|
|
16
|
-
"options-list": "_options-list_1ctdo_51",
|
|
17
|
-
"options-item-group": "_options-item-group_1ctdo_63",
|
|
18
|
-
"options-item": "_options-item_1ctdo_63"
|
|
19
|
-
}, K = ({
|
|
20
|
-
options: u,
|
|
21
|
-
label: c,
|
|
22
|
-
name: _,
|
|
23
|
-
disabled: h,
|
|
24
|
-
isRequired: f,
|
|
25
|
-
triggerVariant: g = o.filled,
|
|
26
|
-
description: x,
|
|
27
|
-
placeholder: a,
|
|
28
|
-
selectedKey: v,
|
|
29
|
-
onSelectionChange: B
|
|
30
|
-
}) => {
|
|
31
|
-
let s;
|
|
32
|
-
switch (g) {
|
|
33
|
-
case o.filled:
|
|
34
|
-
s = T;
|
|
35
|
-
break;
|
|
36
|
-
case o.outlined:
|
|
37
|
-
s = S;
|
|
38
|
-
break;
|
|
39
|
-
case o.text:
|
|
40
|
-
s = $;
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
return /* @__PURE__ */ r(
|
|
44
|
-
b,
|
|
45
|
-
{
|
|
46
|
-
className: i.select,
|
|
47
|
-
isDisabled: h,
|
|
48
|
-
isRequired: f,
|
|
49
|
-
name: _,
|
|
50
|
-
selectedKey: v,
|
|
51
|
-
onSelectionChange: B,
|
|
52
|
-
children: [
|
|
53
|
-
c && /* @__PURE__ */ e(D, { children: c }),
|
|
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
|
-
a ? /* @__PURE__ */ e(d, { className: `${i["selected-value"]}`, children: ({ defaultChildren: t, isPlaceholder: l }) => l ? a : t }) : /* @__PURE__ */ e(d, {}),
|
|
56
|
-
/* @__PURE__ */ e(C, {})
|
|
57
|
-
] }) }) }),
|
|
58
|
-
/* @__PURE__ */ e(j, {}),
|
|
59
|
-
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(k, { className: `${i["options-list"]}`, items: u, children: (t) => {
|
|
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
|
-
] });
|
|
64
|
-
return /* @__PURE__ */ e(
|
|
65
|
-
V,
|
|
66
|
-
{
|
|
67
|
-
className: `${i["options-item-group"]}`,
|
|
68
|
-
id: t.key,
|
|
69
|
-
textValue: t.displayValue,
|
|
70
|
-
isDisabled: t.disabled,
|
|
71
|
-
children: ({ isSelected: N }) => /* @__PURE__ */ r(n, { children: [
|
|
72
|
-
/* @__PURE__ */ e("div", { className: `${i["options-item"]}`, children: l }),
|
|
73
|
-
N && /* @__PURE__ */ e(F, {})
|
|
74
|
-
] })
|
|
75
|
-
},
|
|
76
|
-
t.key
|
|
77
|
-
);
|
|
78
|
-
} }) })
|
|
79
|
-
]
|
|
80
|
-
}
|
|
81
|
-
);
|
|
82
|
-
};
|
|
83
|
-
export {
|
|
84
|
-
K as S
|
|
85
|
-
};
|
package/dist/Sidebar-LlVvowsG.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { DialogTrigger as u, ModalOverlay as f, Modal as g, Dialog as p } 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 || {}), t = /* @__PURE__ */ ((l) => (l.full = "full", l.threeQuarters = "three-quarters", l.half = "half", l.quarter = "quarter", l))(t || {});
|
|
4
|
-
const m = "_modal_gp54h_1", k = "_full_gp54h_291", b = "_half_gp54h_313", q = "_quarter_gp54h_321", e = {
|
|
5
|
-
"modal-overlay": "_modal-overlay_gp54h_1",
|
|
6
|
-
"modal-fade": "_modal-fade_gp54h_1",
|
|
7
|
-
modal: m,
|
|
8
|
-
"inline-start": "_inline-start_gp54h_117",
|
|
9
|
-
"inline-slide": "_inline-slide_gp54h_1",
|
|
10
|
-
"inline-end": "_inline-end_gp54h_145",
|
|
11
|
-
"block-start": "_block-start_gp54h_173",
|
|
12
|
-
"block-slide": "_block-slide_gp54h_1",
|
|
13
|
-
"block-end": "_block-end_gp54h_201",
|
|
14
|
-
full: k,
|
|
15
|
-
"three-quarters": "_three-quarters_gp54h_305",
|
|
16
|
-
half: b,
|
|
17
|
-
quarter: q
|
|
18
|
-
}, D = ({
|
|
19
|
-
children: l,
|
|
20
|
-
trigger: n,
|
|
21
|
-
sidebarPosition: _ = r.inlineStart,
|
|
22
|
-
sidebarSize: o = t.full,
|
|
23
|
-
isDismissable: s,
|
|
24
|
-
isKeyboardDismissableDisabled: i
|
|
25
|
-
}) => {
|
|
26
|
-
const d = typeof l == "function";
|
|
27
|
-
return /* @__PURE__ */ c(u, { children: [
|
|
28
|
-
n,
|
|
29
|
-
/* @__PURE__ */ a(
|
|
30
|
-
f,
|
|
31
|
-
{
|
|
32
|
-
className: `${e["modal-overlay"]}`,
|
|
33
|
-
isDismissable: s,
|
|
34
|
-
isKeyboardDismissDisabled: i,
|
|
35
|
-
children: /* @__PURE__ */ a(
|
|
36
|
-
g,
|
|
37
|
-
{
|
|
38
|
-
className: `${e.modal} ${e[_]} ${e[o]}`,
|
|
39
|
-
children: /* @__PURE__ */ a(p, { children: d ? (h) => l(h) : l })
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
] });
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
D as S,
|
|
48
|
-
r as a,
|
|
49
|
-
t as b
|
|
50
|
-
};
|
package/dist/Success-FBfAAtBv.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
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,37 +0,0 @@
|
|
|
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-DOL9j-2c.js";
|
|
3
|
-
import { Button as T } from "react-aria-components";
|
|
4
|
-
import { T as p } from "./Tooltip-D6naAVUi.js";
|
|
5
|
-
import { C as S } from "./types-C1YOMbh5.js";
|
|
6
|
-
const g = ({
|
|
7
|
-
variant: t,
|
|
8
|
-
theme: n = S.primary,
|
|
9
|
-
shape: a = c.rectangle,
|
|
10
|
-
description: B,
|
|
11
|
-
children: e,
|
|
12
|
-
...i
|
|
13
|
-
}) => {
|
|
14
|
-
const { coords: r, handlePress: h } = $(i.onPress), d = typeof e == "function";
|
|
15
|
-
return a === c.shrink && t !== f.text && (a = c.rectangle), /* @__PURE__ */ o(p, { theme: n, description: B, children: /* @__PURE__ */ o(
|
|
16
|
-
T,
|
|
17
|
-
{
|
|
18
|
-
...i,
|
|
19
|
-
className: i.className ?? `${s.button} ${s["button-link"]} ${s[t]} ${s[n]} ${s[a]}`,
|
|
20
|
-
onPress: h,
|
|
21
|
-
children: d ? (x) => /* @__PURE__ */ l(m, { children: [
|
|
22
|
-
r && /* @__PURE__ */ o(u, { ...r }),
|
|
23
|
-
e(x)
|
|
24
|
-
] }) : /* @__PURE__ */ l(m, { children: [
|
|
25
|
-
r && /* @__PURE__ */ o(u, { ...r }),
|
|
26
|
-
e
|
|
27
|
-
] })
|
|
28
|
-
}
|
|
29
|
-
) });
|
|
30
|
-
}, k = (t) => {
|
|
31
|
-
const { children: n } = t;
|
|
32
|
-
return /* @__PURE__ */ o(g, { ...t, variant: f.text, children: n });
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
g as B,
|
|
36
|
-
k as T
|
|
37
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
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-DOL9j-2c.js";
|
|
4
|
-
import { T as h } from "./Tooltip-D6naAVUi.js";
|
|
5
|
-
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
|
-
import './assets/ToggleButtonGroup.css';const b = {
|
|
7
|
-
"toggle-button-group": "_toggle-button-group_1tyg5_1"
|
|
8
|
-
}, $ = ({
|
|
9
|
-
id: e,
|
|
10
|
-
value: a,
|
|
11
|
-
description: o,
|
|
12
|
-
isDisabled: t,
|
|
13
|
-
theme: u = n.primary
|
|
14
|
-
}) => {
|
|
15
|
-
const { coords: l, handlePress: g } = c();
|
|
16
|
-
return /* @__PURE__ */ r(h, { description: o, children: /* @__PURE__ */ i(
|
|
17
|
-
m,
|
|
18
|
-
{
|
|
19
|
-
id: e,
|
|
20
|
-
onPress: g,
|
|
21
|
-
className: `${s.button} ${s[u]} ${s[T.outlined]} ${s[B.rectangle]}`,
|
|
22
|
-
isDisabled: t,
|
|
23
|
-
children: [
|
|
24
|
-
l && /* @__PURE__ */ r(d, { ...l }),
|
|
25
|
-
a
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
) });
|
|
29
|
-
}, G = ({
|
|
30
|
-
items: e,
|
|
31
|
-
theme: a = n.primary,
|
|
32
|
-
...o
|
|
33
|
-
}) => /* @__PURE__ */ r(
|
|
34
|
-
p,
|
|
35
|
-
{
|
|
36
|
-
...o,
|
|
37
|
-
className: o.className ?? b["toggle-button-group"],
|
|
38
|
-
children: e.map((t) => /* @__PURE__ */ r(
|
|
39
|
-
$,
|
|
40
|
-
{
|
|
41
|
-
...t,
|
|
42
|
-
theme: a,
|
|
43
|
-
isDisabled: o.isDisabled || t.isDisabled
|
|
44
|
-
},
|
|
45
|
-
t.id
|
|
46
|
-
))
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
export {
|
|
50
|
-
G as T
|
|
51
|
-
};
|
package/dist/assets/Error.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._error_1o5cl_1{font-size:.875rem;font-weight:var(--font-weight-bold);text-transform:uppercase;color:var(--color-error)}
|
package/dist/assets/Input.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
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/Success.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._success_132tb_1{font-size:.875rem;font-weight:var(--font-weight-bold);text-transform:uppercase;color:var(--color-success)}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { a, B as e } from "../../useSplash-DOL9j-2c.js";
|
|
2
|
-
import { F as r, O as u } from "../../OutlinedButton-gr4wDzFi.js";
|
|
3
|
-
import { T as s } from "../../TextButton-BmQL4LNA.js";
|
|
4
|
-
export {
|
|
5
|
-
a as ButtonShape,
|
|
6
|
-
e as ButtonVariant,
|
|
7
|
-
r as FilledButton,
|
|
8
|
-
u as OutlinedButton,
|
|
9
|
-
s as TextButton
|
|
10
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { N as i } from "../../NavigationResponsive-CET-JF26.js";
|
|
2
|
-
import { N as r } from "../../NavigationSidebar-DWmAgVuG.js";
|
|
3
|
-
import { N } from "../../NavigationMenu-C1AJ6mt-.js";
|
|
4
|
-
export {
|
|
5
|
-
N as NavigationMenu,
|
|
6
|
-
i as NavigationResponsive,
|
|
7
|
-
r as NavigationSidebar
|
|
8
|
-
};
|
package/dist/types-C1YOMbh5.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
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
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|