@adgytec/adgytec-web-ui-components 0.0.13 → 0.0.14
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/{Disclosure-BUNppuMs.js → Disclosure-CL9F01im.js} +1 -1
- package/dist/{DisclousreGroup-3n2noZn8.js → DisclousreGroup-BfpSfSQm.js} +1 -1
- package/dist/{Link-DV_dPWbm.js → Link-EXFlPw9F.js} +1 -1
- package/dist/{MenuButton-BikS-I_v.js → MenuButton-KQA8EJUq.js} +1 -1
- package/dist/{MenuLabel-CqOBBOhO.js → MenuLabel-J8M7UwkA.js} +1 -1
- package/dist/ModalAction-BGTO18jV.js +52 -0
- package/dist/ModalBase-DQHNXJXh.js +25 -0
- package/dist/{NavigationMenu-BJh51iq8.js → NavigationMenu-C1AJ6mt-.js} +3 -3
- package/dist/{NavigationResponsive-DijNGfH2.js → NavigationResponsive-CET-JF26.js} +2 -2
- package/dist/{NavigationSidebar-QiavBbjq.js → NavigationSidebar-DWmAgVuG.js} +1 -1
- package/dist/{OutlinedButton-BcGOfKx6.js → OutlinedButton-gr4wDzFi.js} +1 -1
- package/dist/{OutlinedButtonLink-B31MVQKz.js → OutlinedButtonLink-DlQkc-PA.js} +1 -1
- package/dist/PopoverDialog-DHJavBLj.js +15 -0
- package/dist/{Select-DIaQ_hk2.js → Select-pUuSraok.js} +3 -3
- package/dist/{TextButton-CmbDjZsQ.js → TextButton-BmQL4LNA.js} +1 -1
- package/dist/{ToggleButtonGroup-B1eveh6s.js → ToggleButtonGroup-BhCWMTxP.js} +1 -1
- package/dist/Tooltip-D6naAVUi.js +29 -0
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Disclosure/Disclosure/index.js +1 -1
- package/dist/components/Disclosure/DisclousureGroup/index.js +1 -1
- package/dist/components/Link/index.js +2 -2
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Modal/ModalAction/index.js +1 -1
- package/dist/components/Modal/ModalBase/ModalBase.d.ts +1 -1
- package/dist/components/Modal/ModalBase/index.js +1 -1
- package/dist/components/Modal/ModalBase/types.d.ts +6 -6
- package/dist/components/Modal/index.js +2 -2
- 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/Popover/PopoverDialog.d.ts +2 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.js +3 -1
- package/dist/components/Popover/types.d.ts +8 -0
- package/dist/components/Select/index.js +1 -1
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts +2 -1
- package/dist/components/Tooltip/index.js +4 -1
- package/dist/components/Tooltip/types.d.ts +2 -0
- package/dist/index.js +37 -33
- package/package.json +1 -1
- package/dist/ModalAction-CG_70YMt.js +0 -50
- package/dist/ModalBase-DLaR_yid.js +0 -28
- package/dist/Tooltip-DAYtebkl.js +0 -27
|
@@ -1,7 +1,7 @@
|
|
|
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-BmQL4LNA.js";
|
|
5
5
|
import { C as m } from "./types-C1YOMbh5.js";
|
|
6
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 = {
|
|
@@ -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-CL9F01im.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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Link as t } from "react-aria-components";
|
|
3
3
|
import { C as _ } from "./types-C1YOMbh5.js";
|
|
4
|
-
import { T as c } from "./Tooltip-
|
|
4
|
+
import { T as c } from "./Tooltip-D6naAVUi.js";
|
|
5
5
|
import './assets/Link.css';const m = "_link_e0vn4_1", y = "_primary_e0vn4_65", v = "_secondary_e0vn4_81", l = "_tertiary_e0vn4_89", p = "_error_e0vn4_97", u = "_success_e0vn4_113", s = {
|
|
6
6
|
link: m,
|
|
7
7
|
primary: y,
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { MenuTrigger as l, Menu as i, Separator as p, MenuItem as u, SubmenuTrigger as d, Pressable as h } from "react-aria-components";
|
|
3
3
|
import { P as m } from "./Popover-D3iGWJwQ.js";
|
|
4
4
|
import { ChevronRight as _ } from "lucide-react";
|
|
5
|
-
import { T as b } from "./Tooltip-
|
|
5
|
+
import { T as b } from "./Tooltip-D6naAVUi.js";
|
|
6
6
|
import './assets/MenuLabel.css';const f = "_menu_vx3e4_1", g = "_separator_vx3e4_85", x = "_pressable_vx3e4_99", t = {
|
|
7
7
|
menu: f,
|
|
8
8
|
"menu-item": "_menu-item_vx3e4_13",
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { M as u } from "./MenuLabel-
|
|
3
|
-
import { L as m } from "./Link-
|
|
4
|
-
import { T as i } from "./TextButton-
|
|
2
|
+
import { M as u } from "./MenuLabel-J8M7UwkA.js";
|
|
3
|
+
import { L as m } from "./Link-EXFlPw9F.js";
|
|
4
|
+
import { T as i } from "./TextButton-BmQL4LNA.js";
|
|
5
5
|
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
6
|
import { a as c } from "./useSplash-DOL9j-2c.js";
|
|
7
7
|
import { ChevronDown as p } from "lucide-react";
|
|
@@ -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-C1AJ6mt-.js";
|
|
4
|
+
import { N as s } from "./NavigationSidebar-DWmAgVuG.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
items: o,
|
|
7
7
|
mediaQuery: r,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { T as r } from "./TextButton-
|
|
2
|
+
import { T as r } from "./TextButton-BmQL4LNA.js";
|
|
3
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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l, Fragment as u } from "react/jsx-runtime";
|
|
2
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
|
-
import { T as S } from "./Tooltip-
|
|
4
|
+
import { T as S } from "./Tooltip-D6naAVUi.js";
|
|
5
5
|
import { C as x } from "./types-C1YOMbh5.js";
|
|
6
6
|
const c = ({
|
|
7
7
|
variant: n = a.filled,
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
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-
|
|
2
|
+
import { O as S, F as T } from "./OutlinedButton-gr4wDzFi.js";
|
|
3
3
|
import { B as o } from "./useSplash-DOL9j-2c.js";
|
|
4
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-BmQL4LNA.js";
|
|
8
8
|
import { C as p } from "./types-C1YOMbh5.js";
|
|
9
|
-
import { T as L } from "./Tooltip-
|
|
9
|
+
import { T as L } from "./Tooltip-D6naAVUi.js";
|
|
10
10
|
import { L as D, F as j } from "./FieldError-CvUKcRtm.js";
|
|
11
11
|
import './assets/Select.css';const w = "_select_1ctdo_1", I = "_trigger_1ctdo_37", i = {
|
|
12
12
|
select: w,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as l, Fragment as m } from "react/jsx-runtime";
|
|
2
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
|
-
import { T as p } from "./Tooltip-
|
|
4
|
+
import { T as p } from "./Tooltip-D6naAVUi.js";
|
|
5
5
|
import { C as S } from "./types-C1YOMbh5.js";
|
|
6
6
|
const g = ({
|
|
7
7
|
variant: t,
|
|
@@ -1,7 +1,7 @@
|
|
|
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
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-
|
|
4
|
+
import { T as h } from "./Tooltip-D6naAVUi.js";
|
|
5
5
|
import { C as n } from "./types-C1YOMbh5.js";
|
|
6
6
|
import './assets/ToggleButtonGroup.css';const b = {
|
|
7
7
|
"toggle-button-group": "_toggle-button-group_1tyg5_1"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { TooltipTrigger as c, Tooltip as g, OverlayArrow as n } from "react-aria-components";
|
|
3
|
+
import { C as p } from "./types-C1YOMbh5.js";
|
|
4
|
+
import './assets/Tooltip.css';const l = "_tooltip_xgkug_1", u = "_primary_xgkug_133", m = "_secondary_xgkug_153", x = "_tertiary_xgkug_163", y = "_error_xgkug_173", k = "_success_xgkug_193", o = {
|
|
5
|
+
tooltip: l,
|
|
6
|
+
"tooltip-arrow": "_tooltip-arrow_xgkug_53",
|
|
7
|
+
primary: u,
|
|
8
|
+
"primary-variant": "_primary-variant_xgkug_143",
|
|
9
|
+
secondary: m,
|
|
10
|
+
tertiary: x,
|
|
11
|
+
error: y,
|
|
12
|
+
"inverse-surface": "_inverse-surface_xgkug_183",
|
|
13
|
+
success: k
|
|
14
|
+
}, d = ({
|
|
15
|
+
children: t,
|
|
16
|
+
description: s,
|
|
17
|
+
theme: i = p.inverseSurface,
|
|
18
|
+
delay: a = 250,
|
|
19
|
+
closeDelay: _ = 150
|
|
20
|
+
}) => s ? /* @__PURE__ */ e(c, { delay: a, closeDelay: _, children: [
|
|
21
|
+
t,
|
|
22
|
+
/* @__PURE__ */ e(g, { className: `${o.tooltip} ${o[i]}`, children: [
|
|
23
|
+
/* @__PURE__ */ r(n, { className: `${o["tooltip-arrow"]}`, children: /* @__PURE__ */ r("svg", { viewBox: "0 0 8 8", children: /* @__PURE__ */ r("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
24
|
+
s
|
|
25
|
+
] })
|
|
26
|
+
] }) : t;
|
|
27
|
+
export {
|
|
28
|
+
d as T
|
|
29
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a, B as e } from "../../useSplash-DOL9j-2c.js";
|
|
2
|
-
import { F as r, O as u } from "../../OutlinedButton-
|
|
3
|
-
import { T as s } from "../../TextButton-
|
|
2
|
+
import { F as r, O as u } from "../../OutlinedButton-gr4wDzFi.js";
|
|
3
|
+
import { T as s } from "../../TextButton-BmQL4LNA.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-DlQkc-PA.js";
|
|
2
|
+
import { L as r } from "../../Link-EXFlPw9F.js";
|
|
3
3
|
export {
|
|
4
4
|
o as FilledButtonLink,
|
|
5
5
|
r as Link,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ModalBaseProps } from './types';
|
|
2
|
-
export declare const ModalBase: ({ trigger,
|
|
2
|
+
export declare const ModalBase: ({ trigger, modalOverlayProps, dialogTriggerProps, modalProps, ...dialogProps }: ModalBaseProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactElement
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
import { ButtonVariantProps } from '../../Button/types';
|
|
3
|
-
import {
|
|
4
|
-
export interface ModalBaseProps {
|
|
3
|
+
import { DialogProps, DialogTriggerProps, ModalOverlayProps } from 'react-aria-components';
|
|
4
|
+
export interface ModalBaseProps extends DialogProps {
|
|
5
5
|
trigger: ReactElement<ButtonVariantProps>;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
modalOverlayProps?: Omit<ModalOverlayProps, "children">;
|
|
7
|
+
dialogTriggerProps?: Omit<DialogTriggerProps, "children">;
|
|
8
|
+
modalProps?: Omit<React.RefAttributes<HTMLDivElement>, "children">;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as e, a as l, b as s } from "../../ModalAction-
|
|
2
|
-
import { M } from "../../ModalBase-
|
|
1
|
+
import { M as e, a as l, b as s } from "../../ModalAction-BGTO18jV.js";
|
|
2
|
+
import { M } from "../../ModalBase-DQHNXJXh.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ModalAction,
|
|
5
5
|
l as ModalActionPlacement,
|
|
@@ -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-CET-JF26.js";
|
|
2
|
+
import { N as r } from "../../NavigationSidebar-DWmAgVuG.js";
|
|
3
|
+
import { N } from "../../NavigationMenu-C1AJ6mt-.js";
|
|
4
4
|
export {
|
|
5
5
|
N as NavigationMenu,
|
|
6
6
|
i as NavigationResponsive,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { PopoverProps as AriaPopoverProps, DialogProps, DialogTriggerProps } from 'react-aria-components';
|
|
3
|
+
import { ButtonVariantProps } from '../Button';
|
|
4
|
+
export interface PopoverDialogProps extends DialogProps {
|
|
5
|
+
trigger: ReactElement<ButtonVariantProps>;
|
|
6
|
+
popoverProps?: Omit<AriaPopoverProps, "children">;
|
|
7
|
+
dialogTriggerProps?: Omit<DialogTriggerProps, "children">;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { TooltipProps } from './types';
|
|
2
|
-
export declare const Tooltip: ({ children, description, theme, }: TooltipProps) => string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
2
|
+
export declare const Tooltip: ({ children, description, theme, delay, closeDelay, }: TooltipProps) => string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Tooltip';
|
|
2
|
+
export * from './types';
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
import { C as t } from "./types-C1YOMbh5.js";
|
|
2
2
|
import { A as s, a as p, b as m } from "./Avatar-BRt91J0i.js";
|
|
3
|
-
import { a as i, B as
|
|
4
|
-
import { F as u, O as l } from "./OutlinedButton-
|
|
5
|
-
import { T as B } from "./TextButton-
|
|
6
|
-
import { B as
|
|
7
|
-
import { D as
|
|
8
|
-
import { D as A } from "./DisclousreGroup-
|
|
9
|
-
import { E as
|
|
3
|
+
import { a as i, B as f } from "./useSplash-DOL9j-2c.js";
|
|
4
|
+
import { F as u, O as l } from "./OutlinedButton-gr4wDzFi.js";
|
|
5
|
+
import { T as B } from "./TextButton-BmQL4LNA.js";
|
|
6
|
+
import { B as T, a as M } from "./ButtonChild-BTPuUMU5.js";
|
|
7
|
+
import { D as b } from "./Disclosure-CL9F01im.js";
|
|
8
|
+
import { D as A } from "./DisclousreGroup-BfpSfSQm.js";
|
|
9
|
+
import { E as g } from "./Error--Jbz8Uoy.js";
|
|
10
10
|
import "zod";
|
|
11
|
-
import { F as
|
|
11
|
+
import { F as N } from "./Form-B7w2oUTu.js";
|
|
12
12
|
import { I as D } from "./Input-fPkzWJI-.js";
|
|
13
|
-
import { T as
|
|
14
|
-
import { F as k, O as z } from "./OutlinedButtonLink-
|
|
15
|
-
import { L as G } from "./Link-
|
|
13
|
+
import { T as O } from "./TextArea-BqYpfMqm.js";
|
|
14
|
+
import { F as k, O as z } from "./OutlinedButtonLink-DlQkc-PA.js";
|
|
15
|
+
import { L as G } from "./Link-EXFlPw9F.js";
|
|
16
16
|
import { L as y } from "./Loader-CLMHp6L7.js";
|
|
17
|
-
import { M as V } from "./MenuButton-
|
|
18
|
-
import { M as q } from "./MenuLabel-
|
|
19
|
-
import { M as H, a as J, b as K } from "./ModalAction-
|
|
20
|
-
import { M as U } from "./ModalBase-
|
|
21
|
-
import { N as X } from "./NavigationResponsive-
|
|
17
|
+
import { M as V } from "./MenuButton-KQA8EJUq.js";
|
|
18
|
+
import { M as q } from "./MenuLabel-J8M7UwkA.js";
|
|
19
|
+
import { M as H, a as J, b as K } from "./ModalAction-BGTO18jV.js";
|
|
20
|
+
import { M as U } from "./ModalBase-DQHNXJXh.js";
|
|
21
|
+
import { N as X } from "./NavigationResponsive-CET-JF26.js";
|
|
22
22
|
import { S as Z, a as _, b as $ } from "./Sidebar-LlVvowsG.js";
|
|
23
|
-
import { N as ro } from "./NavigationSidebar-
|
|
24
|
-
import { N as to } from "./NavigationMenu-
|
|
23
|
+
import { N as ro } from "./NavigationSidebar-DWmAgVuG.js";
|
|
24
|
+
import { N as to } from "./NavigationMenu-C1AJ6mt-.js";
|
|
25
25
|
import { P as so } from "./Popover-D3iGWJwQ.js";
|
|
26
|
-
import {
|
|
27
|
-
import { S as io } from "./
|
|
28
|
-
import {
|
|
29
|
-
import { T as lo } from "./
|
|
26
|
+
import { P as mo } from "./PopoverDialog-DHJavBLj.js";
|
|
27
|
+
import { S as io } from "./Select-pUuSraok.js";
|
|
28
|
+
import { S as no } from "./Success-FBfAAtBv.js";
|
|
29
|
+
import { T as lo } from "./ToggleButtonGroup-BhCWMTxP.js";
|
|
30
|
+
import { T as So } from "./Tooltip-D6naAVUi.js";
|
|
31
|
+
import { T as Mo } from "./Tree-DwJPCnFr.js";
|
|
30
32
|
export {
|
|
31
33
|
s as Avatar,
|
|
32
34
|
p as AvatarSize,
|
|
33
35
|
m as AvatarType,
|
|
34
|
-
|
|
36
|
+
T as ButtonChild,
|
|
35
37
|
i as ButtonShape,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
M as ButtonState,
|
|
39
|
+
f as ButtonVariant,
|
|
38
40
|
t as ColorTheme,
|
|
39
|
-
|
|
41
|
+
b as Disclosure,
|
|
40
42
|
A as DisclosureGroup,
|
|
41
|
-
|
|
43
|
+
g as Error,
|
|
42
44
|
u as FilledButton,
|
|
43
45
|
k as FilledButtonLink,
|
|
44
|
-
|
|
46
|
+
N as Form,
|
|
45
47
|
D as Input,
|
|
46
48
|
G as Link,
|
|
47
49
|
y as Loader,
|
|
@@ -57,13 +59,15 @@ export {
|
|
|
57
59
|
l as OutlinedButton,
|
|
58
60
|
z as OutlinedButtonLink,
|
|
59
61
|
so as Popover,
|
|
60
|
-
mo as
|
|
62
|
+
mo as PopoverDialog,
|
|
63
|
+
io as Select,
|
|
61
64
|
Z as Sidebar,
|
|
62
65
|
_ as SidebarPosition,
|
|
63
66
|
$ as SidebarSize,
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
no as Success,
|
|
68
|
+
O as TextArea,
|
|
66
69
|
B as TextButton,
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
lo as ToggleButtonGroup,
|
|
71
|
+
So as Tooltip,
|
|
72
|
+
Mo as Tree
|
|
69
73
|
};
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
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-CmbDjZsQ.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
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
};
|
package/dist/Tooltip-DAYtebkl.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { TooltipTrigger as i, Tooltip as _, OverlayArrow as c } from "react-aria-components";
|
|
3
|
-
import { C as g } from "./types-C1YOMbh5.js";
|
|
4
|
-
import './assets/Tooltip.css';const l = "_tooltip_xgkug_1", n = "_primary_xgkug_133", p = "_secondary_xgkug_153", u = "_tertiary_xgkug_163", m = "_error_xgkug_173", y = "_success_xgkug_193", o = {
|
|
5
|
-
tooltip: l,
|
|
6
|
-
"tooltip-arrow": "_tooltip-arrow_xgkug_53",
|
|
7
|
-
primary: n,
|
|
8
|
-
"primary-variant": "_primary-variant_xgkug_143",
|
|
9
|
-
secondary: p,
|
|
10
|
-
tertiary: u,
|
|
11
|
-
error: m,
|
|
12
|
-
"inverse-surface": "_inverse-surface_xgkug_183",
|
|
13
|
-
success: y
|
|
14
|
-
}, d = ({
|
|
15
|
-
children: t,
|
|
16
|
-
description: s,
|
|
17
|
-
theme: a = g.inverseSurface
|
|
18
|
-
}) => s ? /* @__PURE__ */ e(i, { delay: 500, children: [
|
|
19
|
-
t,
|
|
20
|
-
/* @__PURE__ */ e(_, { className: `${o.tooltip} ${o[a]}`, children: [
|
|
21
|
-
/* @__PURE__ */ r(c, { className: `${o["tooltip-arrow"]}`, children: /* @__PURE__ */ r("svg", { viewBox: "0 0 8 8", children: /* @__PURE__ */ r("path", { d: "M0 0 L4 4 L8 0" }) }) }),
|
|
22
|
-
s
|
|
23
|
-
] })
|
|
24
|
-
] }) : t;
|
|
25
|
-
export {
|
|
26
|
-
d as T
|
|
27
|
-
};
|