@adgytec/adgytec-web-ui-components 0.0.15 → 0.0.17

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.
Files changed (146) hide show
  1. package/dist/BaseCard-C75SV55U.js +32 -0
  2. package/dist/Button-D2HmL9lT.js +34 -0
  3. package/dist/ButtonLink-Bj0h692A.js +36 -0
  4. package/dist/Disclosure-Dmi6UFSF.js +28 -0
  5. package/dist/FilledButton-SnAf5REc.js +10 -0
  6. package/dist/{Link-EXFlPw9F.js → Link-wdtV3-eC.js} +2 -2
  7. package/dist/Menu-B3oiOXZP.js +36 -0
  8. package/dist/MenuLabel-sb6mKBOL.js +14 -0
  9. package/dist/{NavigationMenu-BOvkIsei.js → NavigationMenu-C64WpZpH.js} +5 -5
  10. package/dist/{NavigationSidebar-oPrQbRWE.js → NavigationSidebar-CdQlKp5A.js} +12 -12
  11. package/dist/OutlinedButton-Bna2lY_l.js +10 -0
  12. package/dist/Splash-DnaqZnSX.js +46 -0
  13. package/dist/TextButton-CoRHw1vC.js +10 -0
  14. package/dist/ToggleButton-DuG32EKD.js +31 -0
  15. package/dist/{Tooltip-D6naAVUi.js → Tooltip-B2vjUO40.js} +1 -1
  16. package/dist/assets/BaseCard.css +1 -0
  17. package/dist/assets/Menu.css +1 -0
  18. package/dist/assets/MenuLabel.css +1 -1
  19. package/dist/components/Avatar/index.js +33 -4
  20. package/dist/components/Button/ButtonBase/index.d.ts +1 -0
  21. package/dist/components/Button/ButtonBase/index.js +5 -0
  22. package/dist/components/Button/{types.d.ts → ButtonBase/types.d.ts} +1 -1
  23. package/dist/components/Button/ButtonChild/index.js +50 -0
  24. package/dist/components/Button/{FilledButton.d.ts → FilledButton/FilledButton.d.ts} +1 -1
  25. package/dist/components/Button/FilledButton/index.d.ts +1 -0
  26. package/dist/components/Button/FilledButton/index.js +4 -0
  27. package/dist/components/Button/{OutlinedButton.d.ts → OutlinedButton/OutlinedButton.d.ts} +1 -1
  28. package/dist/components/Button/OutlinedButton/index.d.ts +1 -0
  29. package/dist/components/Button/OutlinedButton/index.js +4 -0
  30. package/dist/components/Button/{TextButton.d.ts → TextButton/TextButton.d.ts} +1 -1
  31. package/dist/components/Button/TextButton/index.d.ts +1 -0
  32. package/dist/components/Button/TextButton/index.js +4 -0
  33. package/dist/components/Button/{ToggleButton.d.ts → ToggleButton/ToggleButton.d.ts} +1 -1
  34. package/dist/components/Button/ToggleButton/index.d.ts +1 -0
  35. package/dist/components/Button/ToggleButton/index.js +4 -0
  36. package/dist/components/Card/BaseCard/BaseCard.d.ts +3 -0
  37. package/dist/components/Card/BaseCard/index.d.ts +2 -0
  38. package/dist/components/Card/BaseCard/index.js +6 -0
  39. package/dist/components/Card/BaseCard/types.d.ts +24 -0
  40. package/dist/components/Card/GradientCard/GradientCard.d.ts +2 -0
  41. package/dist/components/Card/GradientCard/index.d.ts +1 -0
  42. package/dist/components/Card/GradientCard/index.js +16 -0
  43. package/dist/components/Card/SolidCard/SolidCard.d.ts +3 -0
  44. package/dist/components/Card/SolidCard/index.d.ts +1 -0
  45. package/dist/components/Card/SolidCard/index.js +10 -0
  46. package/dist/components/Card/TransparentCard/TransparentCard.d.ts +3 -0
  47. package/dist/components/Card/TransparentCard/index.d.ts +1 -0
  48. package/dist/components/Card/TransparentCard/index.js +16 -0
  49. package/dist/components/Disclosure/Disclosure/index.js +1 -1
  50. package/dist/components/Disclosure/DisclousureGroup/index.js +7 -2
  51. package/dist/components/Error/index.js +5 -2
  52. package/dist/components/Form/Form/index.js +46 -3
  53. package/dist/components/Form/Input/index.js +31 -2
  54. package/dist/components/Form/TextArea/index.js +31 -2
  55. package/dist/components/Link/{FilledButtonLink.d.ts → FilledButtonLink/FilledButtonLink.d.ts} +1 -1
  56. package/dist/components/Link/FilledButtonLink/index.d.ts +1 -0
  57. package/dist/components/Link/FilledButtonLink/index.js +7 -0
  58. package/dist/components/Link/LinkBase/index.d.ts +2 -0
  59. package/dist/components/Link/LinkBase/index.js +4 -0
  60. package/dist/components/Link/{types.d.ts → LinkBase/types.d.ts} +1 -1
  61. package/dist/components/Link/{OutlinedButtonLink.d.ts → OutlinedButtonLink/OutlinedButtonLink.d.ts} +1 -1
  62. package/dist/components/Link/OutlinedButtonLink/index.d.ts +1 -0
  63. package/dist/components/Link/OutlinedButtonLink/index.js +7 -0
  64. package/dist/components/Menu/MenuBase/index.d.ts +1 -0
  65. package/dist/components/Menu/MenuBase/index.js +1 -0
  66. package/dist/components/Menu/{types.d.ts → MenuBase/types.d.ts} +2 -2
  67. package/dist/components/Menu/{MenuButton.d.ts → MenuButton/MenuButton.d.ts} +1 -1
  68. package/dist/components/Menu/MenuButton/index.d.ts +1 -0
  69. package/dist/components/Menu/MenuButton/index.js +6 -0
  70. package/dist/components/Menu/{MenuLabel.d.ts → MenuLabel/MenuLabel.d.ts} +1 -1
  71. package/dist/components/Menu/MenuLabel/index.d.ts +1 -0
  72. package/dist/components/Menu/MenuLabel/index.js +4 -0
  73. package/dist/components/Modal/ModalAction/index.js +49 -3
  74. package/dist/components/Modal/ModalAction/types.d.ts +1 -1
  75. package/dist/components/Modal/ModalBase/types.d.ts +1 -1
  76. package/dist/components/Navigation/NavigationMenu/index.js +1 -1
  77. package/dist/components/Navigation/NavigationResponsive/index.js +10 -2
  78. package/dist/components/Navigation/NavigationSidebar/index.js +1 -1
  79. package/dist/components/Popover/{index.d.ts → PopoverBase/index.d.ts} +0 -1
  80. package/dist/components/Popover/PopoverBase/index.js +4 -0
  81. package/dist/components/Popover/{types.d.ts → PopoverBase/types.d.ts} +1 -1
  82. package/dist/components/Popover/{PopoverDialog.d.ts → PopoverDialog/PopoverDialog.d.ts} +1 -1
  83. package/dist/components/Popover/PopoverDialog/index.d.ts +1 -0
  84. package/dist/components/Popover/PopoverDialog/index.js +15 -0
  85. package/dist/components/Select/index.js +86 -2
  86. package/dist/components/Select/types.d.ts +1 -1
  87. package/dist/components/Sidebar/types.d.ts +1 -1
  88. package/dist/components/Success/index.js +5 -2
  89. package/dist/components/ToggleButtonGroup/index.js +27 -2
  90. package/dist/components/Tooltip/index.js +1 -1
  91. package/dist/index.d.ts +0 -26
  92. package/dist/index.js +2 -70
  93. package/package.json +220 -71
  94. package/dist/Avatar-BRt91J0i.js +0 -35
  95. package/dist/ButtonChild-BTPuUMU5.js +0 -50
  96. package/dist/Disclosure-CL9F01im.js +0 -28
  97. package/dist/DisclousreGroup-BfpSfSQm.js +0 -9
  98. package/dist/Error-ByDnepeb.js +0 -7
  99. package/dist/Form-B7w2oUTu.js +0 -48
  100. package/dist/Input-CvvRuhVQ.js +0 -33
  101. package/dist/MenuButton-_Wg88yQX.js +0 -6
  102. package/dist/MenuLabel-BXxz0sVO.js +0 -43
  103. package/dist/ModalAction-CGV3ryxY.js +0 -51
  104. package/dist/NavigationResponsive-CSi5yInn.js +0 -12
  105. package/dist/OutlinedButton-gr4wDzFi.js +0 -14
  106. package/dist/OutlinedButtonLink-DlQkc-PA.js +0 -36
  107. package/dist/PopoverDialog-Dh0H4z2Y.js +0 -15
  108. package/dist/Select-DAhJ-rWv.js +0 -85
  109. package/dist/Success-swA2n7Qj.js +0 -7
  110. package/dist/TextArea-BqYpfMqm.js +0 -33
  111. package/dist/TextButton-BmQL4LNA.js +0 -37
  112. package/dist/ToggleButtonGroup-BhCWMTxP.js +0 -51
  113. package/dist/components/Button/index.d.ts +0 -4
  114. package/dist/components/Button/index.js +0 -10
  115. package/dist/components/ButtonChild/index.js +0 -5
  116. package/dist/components/Link/index.d.ts +0 -4
  117. package/dist/components/Link/index.js +0 -7
  118. package/dist/components/Menu/index.d.ts +0 -3
  119. package/dist/components/Menu/index.js +0 -6
  120. package/dist/components/Modal/index.d.ts +0 -2
  121. package/dist/components/Modal/index.js +0 -7
  122. package/dist/components/Navigation/index.d.ts +0 -3
  123. package/dist/components/Navigation/index.js +0 -8
  124. package/dist/components/Popover/index.js +0 -6
  125. package/dist/types-C1YOMbh5.js +0 -4
  126. package/dist/useSplash-DOL9j-2c.js +0 -49
  127. /package/dist/assets/{useSplash.css → Splash.css} +0 -0
  128. /package/dist/assets/{ToggleButtonGroup.css → index.css} +0 -0
  129. /package/dist/assets/{ButtonChild.css → index10.css} +0 -0
  130. /package/dist/assets/{Avatar.css → index11.css} +0 -0
  131. /package/dist/assets/{Success.css → index2.css} +0 -0
  132. /package/dist/assets/{Select.css → index3.css} +0 -0
  133. /package/dist/assets/{TextArea.css → index4.css} +0 -0
  134. /package/dist/assets/{Input.css → index5.css} +0 -0
  135. /package/dist/assets/{Error.css → index6.css} +0 -0
  136. /package/dist/assets/{DisclousreGroup.css → index7.css} +0 -0
  137. /package/dist/assets/{ModalAction.css → index8.css} +0 -0
  138. /package/dist/assets/{Form.css → index9.css} +0 -0
  139. /package/dist/components/Button/{Button.d.ts → ButtonBase/Button.d.ts} +0 -0
  140. /package/dist/components/Button/{ButtonLink.d.ts → ButtonBase/ButtonLink.d.ts} +0 -0
  141. /package/dist/components/{ButtonChild → Button/ButtonChild}/ButtonChild.d.ts +0 -0
  142. /package/dist/components/{ButtonChild → Button/ButtonChild}/index.d.ts +0 -0
  143. /package/dist/components/{ButtonChild → Button/ButtonChild}/types.d.ts +0 -0
  144. /package/dist/components/Link/{Link.d.ts → LinkBase/Link.d.ts} +0 -0
  145. /package/dist/components/Menu/{Menu.d.ts → MenuBase/Menu.d.ts} +0 -0
  146. /package/dist/components/Popover/{Popover.d.ts → PopoverBase/Popover.d.ts} +0 -0
@@ -0,0 +1,32 @@
1
+ import { jsx as _ } from "react/jsx-runtime";
2
+ import './assets/BaseCard.css';var o = /* @__PURE__ */ ((t) => (t.transparent = "transparent", t.solid = "solid", t.solidLow = "solid-low", t.solidLowest = "solid-lowest", t.solidHigh = "solid-high", t.solidHighest = "solid-highest", t.gradient = "gradient", t))(o || {}), i = /* @__PURE__ */ ((t) => (t.none = "none", t.default = "default", t))(i || {});
3
+ const a = "_card_1qj5t_1", d = "_transparent_1qj5t_21", r = "_solid_1qj5t_29", h = "_gradient_1qj5t_69", j = "_none_1qj5t_97", s = {
4
+ card: a,
5
+ transparent: d,
6
+ solid: r,
7
+ "solid-low": "_solid-low_1qj5t_37",
8
+ "solid-lowest": "_solid-lowest_1qj5t_45",
9
+ "solid-high": "_solid-high_1qj5t_53",
10
+ "solid-highest": "_solid-highest_1qj5t_61",
11
+ gradient: h,
12
+ none: j,
13
+ default: "_default_1qj5t_107"
14
+ }, c = ({
15
+ padding: t = i.none,
16
+ background: l = o.transparent,
17
+ children: n,
18
+ ...e
19
+ }) => /* @__PURE__ */ _(
20
+ "div",
21
+ {
22
+ ...e,
23
+ className: `${e.className} ${s.card} ${s[t]} ${s[l]}`,
24
+ "data-card": "true",
25
+ children: n
26
+ }
27
+ );
28
+ export {
29
+ c as B,
30
+ o as C,
31
+ i as a
32
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as s, jsxs as l, Fragment as c } from "react/jsx-runtime";
2
+ import { u as $, s as t, S as u } from "./Splash-DnaqZnSX.js";
3
+ import { Button as d } from "react-aria-components";
4
+ import { T as x } from "./Tooltip-B2vjUO40.js";
5
+ import { ButtonShape as a, ButtonVariant as S } from "./components/Button/ButtonBase/index.js";
6
+ import { ColorTheme as g } from "./index.js";
7
+ const C = ({
8
+ variant: i,
9
+ theme: m = g.primary,
10
+ shape: r = a.rectangle,
11
+ description: f,
12
+ children: n,
13
+ ...e
14
+ }) => {
15
+ const { coords: o, handlePress: p } = $(e.onPress), h = typeof n == "function";
16
+ return r === a.shrink && i !== S.text && (r = a.rectangle), /* @__PURE__ */ s(x, { theme: m, description: f, children: /* @__PURE__ */ s(
17
+ d,
18
+ {
19
+ ...e,
20
+ className: e.className ?? `${t.button} ${t["button-link"]} ${t[i]} ${t[m]} ${t[r]}`,
21
+ onPress: p,
22
+ children: h ? (B) => /* @__PURE__ */ l(c, { children: [
23
+ o && /* @__PURE__ */ s(u, { ...o }),
24
+ n(B)
25
+ ] }) : /* @__PURE__ */ l(c, { children: [
26
+ o && /* @__PURE__ */ s(u, { ...o }),
27
+ n
28
+ ] })
29
+ }
30
+ ) });
31
+ };
32
+ export {
33
+ C as B
34
+ };
@@ -0,0 +1,36 @@
1
+ import { jsx as r, jsxs as i, Fragment as a } from "react/jsx-runtime";
2
+ import { u as $, s as o, S as l } from "./Splash-DnaqZnSX.js";
3
+ import { Link as B } from "react-aria-components";
4
+ import { T as S } from "./Tooltip-B2vjUO40.js";
5
+ import { ButtonVariant as k, ButtonShape as x } from "./components/Button/ButtonBase/index.js";
6
+ import { ColorTheme as y } from "./index.js";
7
+ const F = ({
8
+ variant: m = k.filled,
9
+ theme: n = y.primary,
10
+ shape: u = x.rectangle,
11
+ description: p,
12
+ underline: c = !0,
13
+ children: s,
14
+ ...e
15
+ }) => {
16
+ const { coords: t, handlePress: f } = $(e.onPress), d = typeof s == "function";
17
+ return /* @__PURE__ */ r(S, { theme: n, description: p, children: /* @__PURE__ */ r(
18
+ B,
19
+ {
20
+ ...e,
21
+ ...c && { "data-underline": !0 },
22
+ onPress: f,
23
+ className: `${o.button} ${o["button-link"]} ${o[m]} ${o[n]} ${o[u]}`,
24
+ children: d ? (h) => /* @__PURE__ */ i(a, { children: [
25
+ t && /* @__PURE__ */ r(l, { ...t }),
26
+ s(h)
27
+ ] }) : /* @__PURE__ */ i(a, { children: [
28
+ t && /* @__PURE__ */ r(l, { ...t }),
29
+ s
30
+ ] })
31
+ }
32
+ ) });
33
+ };
34
+ export {
35
+ F as B
36
+ };
@@ -0,0 +1,28 @@
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import { Disclosure as c, DisclosurePanel as l } from "react-aria-components";
3
+ import { ChevronRight as n } from "lucide-react";
4
+ import { T as a } from "./TextButton-CoRHw1vC.js";
5
+ import { ColorTheme as m } from "./index.js";
6
+ import { ButtonShape as p } from "./components/Button/ButtonBase/index.js";
7
+ import './assets/Disclosure.css';const h = "_disclosure_1cz7p_1", u = "_trigger_1cz7p_23", g = "_panel_1cz7p_55", e = {
8
+ disclosure: h,
9
+ trigger: u,
10
+ panel: g
11
+ }, N = ({ heading: o, children: t, id: i }) => /* @__PURE__ */ s(c, { className: e.disclosure, id: i, children: [
12
+ /* @__PURE__ */ r("h2", { className: e.trigger, children: /* @__PURE__ */ s(
13
+ a,
14
+ {
15
+ slot: "trigger",
16
+ theme: m.inverseSurface,
17
+ shape: p.shrink,
18
+ children: [
19
+ /* @__PURE__ */ r(n, {}),
20
+ o
21
+ ]
22
+ }
23
+ ) }),
24
+ /* @__PURE__ */ r(l, { className: e.panel, children: /* @__PURE__ */ r("p", { children: t }) })
25
+ ] });
26
+ export {
27
+ N as D
28
+ };
@@ -0,0 +1,10 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
3
+ import { B as i } from "./Button-D2HmL9lT.js";
4
+ const l = (t) => {
5
+ const { children: o } = t;
6
+ return /* @__PURE__ */ r(i, { ...t, variant: n.filled, children: o });
7
+ };
8
+ export {
9
+ l as F
10
+ };
@@ -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
- import { C as _ } from "./types-C1YOMbh5.js";
4
- import { T as c } from "./Tooltip-D6naAVUi.js";
3
+ import { ColorTheme as _ } from "./index.js";
4
+ import { T as c } from "./Tooltip-B2vjUO40.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,
@@ -0,0 +1,36 @@
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
+ import { MenuTrigger as c, Menu as u, Separator as l, MenuItem as p, SubmenuTrigger as d } from "react-aria-components";
3
+ import { P as i } from "./Popover-sX7uB5r0.js";
4
+ import { ChevronRight as h } from "lucide-react";
5
+ import './assets/Menu.css';const _ = "_menu_ul0b1_1", f = "_separator_ul0b1_85", t = {
6
+ menu: _,
7
+ "menu-item": "_menu-item_ul0b1_13",
8
+ "item-node": "_item-node_ul0b1_23",
9
+ separator: f
10
+ }, m = ({ menuItem: e }) => {
11
+ if (e.type === "separator")
12
+ return /* @__PURE__ */ r(l, { className: `${t.separator}` });
13
+ const s = !!e.subItems?.length, n = /* @__PURE__ */ o(
14
+ p,
15
+ {
16
+ className: `${t["menu-item"]} ${t[e.type]}`,
17
+ onAction: e.onPress,
18
+ href: e.href,
19
+ target: e.target,
20
+ children: [
21
+ e.node,
22
+ s && /* @__PURE__ */ r(h, {})
23
+ ]
24
+ }
25
+ );
26
+ return s ? /* @__PURE__ */ o(d, { children: [
27
+ n,
28
+ /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(u, { className: `${t.menu}`, children: e.subItems.map((a) => /* @__PURE__ */ r(m, { menuItem: a }, a.id)) }) })
29
+ ] }) : n;
30
+ }, N = ({ children: e, menuItems: s }) => /* @__PURE__ */ o(c, { children: [
31
+ e,
32
+ /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(u, { className: `${t.menu}`, children: s.map((n) => /* @__PURE__ */ r(m, { menuItem: n }, n.id)) }) })
33
+ ] });
34
+ export {
35
+ N as M
36
+ };
@@ -0,0 +1,14 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { M as l } from "./Menu-B3oiOXZP.js";
3
+ import { Pressable as t } from "react-aria-components";
4
+ import { T as a } from "./Tooltip-B2vjUO40.js";
5
+ import './assets/MenuLabel.css';const p = "_pressable_13cip_1", n = {
6
+ pressable: p
7
+ }, f = ({
8
+ children: e,
9
+ menuItems: r,
10
+ description: o
11
+ }) => /* @__PURE__ */ s(l, { menuItems: r, children: /* @__PURE__ */ s(a, { description: o, children: /* @__PURE__ */ s(t, { children: /* @__PURE__ */ s("span", { role: "button", className: n.pressable, children: e }) }) }) });
12
+ export {
13
+ f as M
14
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
- import { M as u } from "./MenuLabel-BXxz0sVO.js";
3
- import { L as m } from "./Link-EXFlPw9F.js";
4
- import { T as i } from "./TextButton-BmQL4LNA.js";
5
- import { C as n } from "./types-C1YOMbh5.js";
6
- import { a as c } from "./useSplash-DOL9j-2c.js";
2
+ import { M as u } from "./MenuLabel-sb6mKBOL.js";
3
+ import { L as m } from "./Link-wdtV3-eC.js";
4
+ import { T as i } from "./TextButton-CoRHw1vC.js";
5
+ import { ColorTheme as n } from "./index.js";
6
+ import { ButtonShape as c } from "./components/Button/ButtonBase/index.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,32 +1,32 @@
1
1
  import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import { T as r } from "./TextButton-BmQL4LNA.js";
3
- import { a as s } from "./useSplash-DOL9j-2c.js";
2
+ import { T as r } from "./TextButton-CoRHw1vC.js";
3
+ import { ButtonShape as o } from "./components/Button/ButtonBase/index.js";
4
4
  import { S as m } from "./Sidebar-BWZan2PF.js";
5
5
  import { T as c } from "./Tree-DwJPCnFr.js";
6
6
  import { X as l, Menu as h } from "lucide-react";
7
- import { C as p } from "./types-C1YOMbh5.js";
8
- import './assets/NavigationSidebar.css';const f = "_nav_1fjh5_1", d = "_close_1fjh5_15", o = {
7
+ import { ColorTheme as p } from "./index.js";
8
+ import './assets/NavigationSidebar.css';const f = "_nav_1fjh5_1", d = "_close_1fjh5_15", s = {
9
9
  nav: f,
10
10
  close: d
11
11
  }, N = ({
12
- items: a,
13
- ...t
12
+ items: t,
13
+ ...a
14
14
  }) => /* @__PURE__ */ e(
15
15
  m,
16
16
  {
17
- ...t,
18
- trigger: /* @__PURE__ */ e(r, { shape: s.square, children: /* @__PURE__ */ e(h, {}) }),
19
- children: ({ close: n }) => /* @__PURE__ */ i("div", { className: o.nav, children: [
20
- /* @__PURE__ */ e("div", { className: o.close, children: /* @__PURE__ */ e(
17
+ ...a,
18
+ trigger: /* @__PURE__ */ e(r, { shape: o.square, children: /* @__PURE__ */ e(h, {}) }),
19
+ children: ({ close: n }) => /* @__PURE__ */ i("div", { className: s.nav, children: [
20
+ /* @__PURE__ */ e("div", { className: s.close, children: /* @__PURE__ */ e(
21
21
  r,
22
22
  {
23
23
  onPress: n,
24
- shape: s.square,
24
+ shape: o.square,
25
25
  theme: p.inverseSurface,
26
26
  children: /* @__PURE__ */ e(l, {})
27
27
  }
28
28
  ) }),
29
- /* @__PURE__ */ e(c, { items: a })
29
+ /* @__PURE__ */ e(c, { items: t })
30
30
  ] })
31
31
  }
32
32
  );
@@ -0,0 +1,10 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { ButtonVariant as r } from "./components/Button/ButtonBase/index.js";
3
+ import { B as i } from "./Button-D2HmL9lT.js";
4
+ const e = (t) => {
5
+ const { children: o } = t;
6
+ return /* @__PURE__ */ n(i, { ...t, variant: r.outlined, children: o });
7
+ };
8
+ export {
9
+ e as O
10
+ };
@@ -0,0 +1,46 @@
1
+ import { useState as _, useRef as n, useEffect as o } from "react";
2
+ import { jsx as i } from "react/jsx-runtime";
3
+ import './assets/Splash.css';const u = "_button_c4lxb_1", x = "_square_c4lxb_115", b = "_avatar_c4lxb_131", y = "_rectangle_c4lxb_147", d = "_shrink_c4lxb_159", m = "_primary_c4lxb_171", p = "_secondary_c4lxb_191", f = "_tertiary_c4lxb_201", h = "_error_c4lxb_211", v = "_success_c4lxb_231", k = "_filled_c4lxb_243", S = "_outlined_c4lxb_253", g = "_text_c4lxb_263", j = {
4
+ button: u,
5
+ "button-link": "_button-link_c4lxb_83",
6
+ square: x,
7
+ avatar: b,
8
+ rectangle: y,
9
+ shrink: d,
10
+ primary: m,
11
+ "primary-variant": "_primary-variant_c4lxb_181",
12
+ secondary: p,
13
+ tertiary: f,
14
+ error: h,
15
+ "inverse-surface": "_inverse-surface_c4lxb_221",
16
+ success: v,
17
+ filled: k,
18
+ outlined: S,
19
+ text: g
20
+ }, w = (r) => {
21
+ const [e, s] = _(null), l = n(0);
22
+ let c = n(void 0), a = (t) => {
23
+ s({ id: l.current++, x: t.x, y: t.y }), t.x !== -1 && t.y !== -1 && (clearTimeout(c.current), c.current = setTimeout(() => s(null), 500)), r?.(t);
24
+ };
25
+ return o(() => () => {
26
+ clearTimeout(c.current);
27
+ }, []), { coords: e, handlePress: a };
28
+ }, q = "_splash_zhwi0_1", T = {
29
+ splash: q
30
+ }, z = ({ id: r, x: e, y: s }) => /* @__PURE__ */ i(
31
+ "div",
32
+ {
33
+ className: `${T.splash}`,
34
+ style: {
35
+ insetInlineStart: e,
36
+ insetBlockStart: s,
37
+ translate: "-50% -50%"
38
+ }
39
+ },
40
+ `${r}`
41
+ );
42
+ export {
43
+ z as S,
44
+ j as s,
45
+ w as u
46
+ };
@@ -0,0 +1,10 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { ButtonVariant as n } from "./components/Button/ButtonBase/index.js";
3
+ import { B as a } from "./Button-D2HmL9lT.js";
4
+ const s = (t) => {
5
+ const { children: o } = t;
6
+ return /* @__PURE__ */ r(a, { ...t, variant: n.text, children: o });
7
+ };
8
+ export {
9
+ s as T
10
+ };
@@ -0,0 +1,31 @@
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { ToggleButton as p } from "react-aria-components";
3
+ import { u, s as o, S as c } from "./Splash-DnaqZnSX.js";
4
+ import { ColorTheme as g } from "./index.js";
5
+ import { T as h } from "./Tooltip-B2vjUO40.js";
6
+ import { ButtonVariant as T, ButtonShape as f } from "./components/Button/ButtonBase/index.js";
7
+ const y = ({
8
+ id: s,
9
+ value: e,
10
+ description: a,
11
+ isDisabled: n,
12
+ theme: m = g.primary
13
+ }) => {
14
+ const { coords: t, handlePress: l } = u();
15
+ return /* @__PURE__ */ r(h, { description: a, children: /* @__PURE__ */ i(
16
+ p,
17
+ {
18
+ id: s,
19
+ onPress: l,
20
+ className: `${o.button} ${o[m]} ${o[T.outlined]} ${o[f.rectangle]}`,
21
+ isDisabled: n,
22
+ children: [
23
+ t && /* @__PURE__ */ r(c, { ...t }),
24
+ e
25
+ ]
26
+ }
27
+ ) });
28
+ };
29
+ export {
30
+ y as T
31
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import { TooltipTrigger as c, Tooltip as g, OverlayArrow as n } from "react-aria-components";
3
- import { C as p } from "./types-C1YOMbh5.js";
3
+ import { ColorTheme as p } from "./index.js";
4
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
5
  tooltip: l,
6
6
  "tooltip-arrow": "_tooltip-arrow_xgkug_53",
@@ -0,0 +1 @@
1
+ ._card_1qj5t_1{padding-inline:var(--_pi);padding-block:var(--_pb);border-radius:var(--radius);box-shadow:var(--elevation-1);background:var(--_bg)}._transparent_1qj5t_21{--_bg: transparent}._solid_1qj5t_29{--_bg: var(--color-surface-container)}._solid-low_1qj5t_37{--_bg: var(--color-surface-container-low)}._solid-lowest_1qj5t_45{--_bg: var(--color-surface-container-lowest)}._solid-high_1qj5t_53{--_bg: var(--color-surface-container-high)}._solid-highest_1qj5t_61{--_bg: var(--color-surface-container-highest)}._gradient_1qj5t_69{--_bg: radial-gradient( ellipse at top, var(--color-surface-container-low), transparent ), radial-gradient( ellipse at bottom, var(--color-surface-container-high), transparent )}._none_1qj5t_97{--_pi: 0;--_pb: 0}._default_1qj5t_107{--_pi: 1rem;--_pb: 1rem}
@@ -0,0 +1 @@
1
+ ._menu_ul0b1_1{display:grid;gap:.5rem;border-radius:inherit}._menu-item_ul0b1_13{inline-size:100%;display:grid;border-radius:inherit}._menu-item_ul0b1_13:not(._item-node_ul0b1_23){padding-block:.375rem;padding-inline:.5rem;color:var(--_item-text);background-color:var(--_item-color);text-decoration:none;cursor:pointer}._menu-item_ul0b1_13:not(._item-node_ul0b1_23)[data-has-submenu]{display:flex;gap:.25rem;align-items:center;justify-content:space-between}._menu-item_ul0b1_13:not(._item-node_ul0b1_23)[data-hovered],._menu-item_ul0b1_13:not(._item-node_ul0b1_23)[data-focus-visible],._menu-item_ul0b1_13:not(._item-node_ul0b1_23)[data-open]{--_item-color: hsl(from var(--_popover-bg) h s calc(l + 10) );--_item-text: hsl(from var(--_popover-text) h s calc(l + 10) )}._menu-item_ul0b1_13:not(._item-node_ul0b1_23)[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) )}._separator_ul0b1_85{background-color:var(--color-outline);block-size:.075rem;margin-block:.25rem}
@@ -1 +1 @@
1
- ._menu_vx3e4_1{display:grid;gap:.5rem;border-radius:inherit}._menu-item_vx3e4_13{inline-size:100%;display:grid;border-radius:inherit}._menu-item_vx3e4_13:not(._item-node_vx3e4_23){padding-block:.375rem;padding-inline:.5rem;color:var(--_item-text);background-color:var(--_item-color);text-decoration:none;cursor:pointer}._menu-item_vx3e4_13:not(._item-node_vx3e4_23)[data-has-submenu]{display:flex;gap:.25rem;align-items:center;justify-content:space-between}._menu-item_vx3e4_13:not(._item-node_vx3e4_23)[data-hovered],._menu-item_vx3e4_13:not(._item-node_vx3e4_23)[data-focus-visible],._menu-item_vx3e4_13:not(._item-node_vx3e4_23)[data-open]{--_item-color: hsl(from var(--_popover-bg) h s calc(l + 10) );--_item-text: hsl(from var(--_popover-text) h s calc(l + 10) )}._menu-item_vx3e4_13:not(._item-node_vx3e4_23)[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) )}._separator_vx3e4_85{background-color:var(--color-outline);block-size:.075rem;margin-block:.25rem}._pressable_vx3e4_99{display:flex;align-items:center;gap:.25rem;cursor:pointer}._pressable_vx3e4_99 svg{width:.875em}
1
+ ._pressable_13cip_1{display:flex;align-items:center;gap:.25rem;cursor:pointer}._pressable_13cip_1 svg{width:.875em}
@@ -1,6 +1,35 @@
1
- import { A as t, a as A, b as e } from "../../Avatar-BRt91J0i.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { ColorTheme as c } from "../../index.js";
3
+ import '../../assets/index11.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", j = "_success_4gio0_171", e = {
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: j
18
+ }, i = ({ children: r, size: a, type: o, theme: _ }) => /* @__PURE__ */ s(
19
+ "div",
20
+ {
21
+ className: `${e.avatar} ${e[a]} ${e[o]} ${e[_]}`,
22
+ children: r
23
+ }
24
+ ), N = ({
25
+ src: r,
26
+ children: a,
27
+ size: o = m.normal,
28
+ label: _,
29
+ theme: t = c.primary
30
+ }) => a ? /* @__PURE__ */ s(i, { type: n.node, size: o, theme: t, children: a }) : /* @__PURE__ */ s(i, { size: o, type: n.image, theme: t, children: /* @__PURE__ */ s("img", { src: r, alt: _ }) });
2
31
  export {
3
- t as Avatar,
4
- A as AvatarSize,
5
- e as AvatarType
32
+ N as Avatar,
33
+ m as AvatarSize,
34
+ n as AvatarType
6
35
  };
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,5 @@
1
+ var e = /* @__PURE__ */ ((r) => (r.filled = "filled", r.outlined = "outlined", r.text = "text", r))(e || {}), l = /* @__PURE__ */ ((r) => (r.rectangle = "rectangle", r.square = "square", r.avatar = "avatar", r.shrink = "shrink", r))(l || {});
2
+ export {
3
+ l as ButtonShape,
4
+ e as ButtonVariant
5
+ };
@@ -1,4 +1,4 @@
1
- import { ColorTheme } from '../../utils/types';
1
+ import { ColorTheme } from '../../../utils/types';
2
2
  import { ButtonProps as AriaButtonProps, LinkProps, Key } from 'react-aria-components';
3
3
  export declare enum ButtonVariant {
4
4
  filled = "filled",
@@ -0,0 +1,50 @@
1
+ import { jsx as n, Fragment as m, jsxs as s } from "react/jsx-runtime";
2
+ import { L as b } from "../../../Loader-CLMHp6L7.js";
3
+ import { TriangleAlert as t, Check as g } from "lucide-react";
4
+ import '../../../assets/index10.css';var a = /* @__PURE__ */ ((e) => (e.enabled = "enabled", e.disabled = "disabled", e.pending = "pending", e.completed = "completed", e.error = "error", e))(a || {});
5
+ const c = {
6
+ "with-icon": "_with-icon_1rah3_1"
7
+ }, x = ({ buttonState: e, value: d }) => {
8
+ const {
9
+ enabled: i,
10
+ disabled: l = i,
11
+ pending: o = i,
12
+ completed: p = i,
13
+ error: h = "Try again"
14
+ } = d;
15
+ let r;
16
+ switch (e) {
17
+ case a.enabled:
18
+ r = i;
19
+ break;
20
+ case a.disabled:
21
+ r = l;
22
+ break;
23
+ case a.pending:
24
+ r = /* @__PURE__ */ s("span", { className: c["with-icon"], children: [
25
+ /* @__PURE__ */ n(b, {}),
26
+ " ",
27
+ o
28
+ ] });
29
+ break;
30
+ case a.completed:
31
+ r = /* @__PURE__ */ s("span", { className: c["with-icon"], children: [
32
+ /* @__PURE__ */ n(g, {}),
33
+ " ",
34
+ p
35
+ ] });
36
+ break;
37
+ case a.error:
38
+ r = /* @__PURE__ */ s("span", { className: c["with-icon"], children: [
39
+ /* @__PURE__ */ n(t, {}),
40
+ " ",
41
+ h
42
+ ] });
43
+ break;
44
+ }
45
+ return /* @__PURE__ */ n(m, { children: r });
46
+ };
47
+ export {
48
+ x as ButtonChild,
49
+ a as ButtonState
50
+ };
@@ -1,2 +1,2 @@
1
- import { ButtonVariantProps } from './types';
1
+ import { ButtonVariantProps } from '../ButtonBase';
2
2
  export declare const FilledButton: (props: ButtonVariantProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './FilledButton';
@@ -0,0 +1,4 @@
1
+ import { F as e } from "../../../FilledButton-SnAf5REc.js";
2
+ export {
3
+ e as FilledButton
4
+ };
@@ -1,2 +1,2 @@
1
- import { ButtonVariantProps } from './types';
1
+ import { ButtonVariantProps } from '../ButtonBase';
2
2
  export declare const OutlinedButton: (props: ButtonVariantProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './OutlinedButton';
@@ -0,0 +1,4 @@
1
+ import { O as e } from "../../../OutlinedButton-Bna2lY_l.js";
2
+ export {
3
+ e as OutlinedButton
4
+ };
@@ -1,2 +1,2 @@
1
- import { ButtonVariantProps } from './types';
1
+ import { ButtonVariantProps } from '../ButtonBase';
2
2
  export declare const TextButton: (props: ButtonVariantProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './TextButton';
@@ -0,0 +1,4 @@
1
+ import { T as e } from "../../../TextButton-CoRHw1vC.js";
2
+ export {
3
+ e as TextButton
4
+ };
@@ -1,2 +1,2 @@
1
- import { ToggleButtonProps } from './types';
1
+ import { ToggleButtonProps } from '../ButtonBase';
2
2
  export declare const ToggleButton: ({ id, value, description, isDisabled, theme, }: ToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './ToggleButton';
@@ -0,0 +1,4 @@
1
+ import { T as e } from "../../../ToggleButton-DuG32EKD.js";
2
+ export {
3
+ e as ToggleButton
4
+ };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { BaseCardProps } from './types';
3
+ export declare const BaseCard: React.FC<BaseCardProps>;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export * from './BaseCard';
@@ -0,0 +1,6 @@
1
+ import { B as r, C as s, a as C } from "../../../BaseCard-C75SV55U.js";
2
+ export {
3
+ r as BaseCard,
4
+ s as CardBackground,
5
+ C as CardPadding
6
+ };
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ export declare enum CardBackground {
3
+ transparent = "transparent",
4
+ solid = "solid",
5
+ solidLow = "solid-low",
6
+ solidLowest = "solid-lowest",
7
+ solidHigh = "solid-high",
8
+ solidHighest = "solid-highest",
9
+ gradient = "gradient"
10
+ }
11
+ export declare enum CardPadding {
12
+ none = "none",
13
+ default = "default"
14
+ }
15
+ export interface BaseCardProps extends React.HTMLAttributes<HTMLDivElement> {
16
+ background?: CardBackground;
17
+ padding?: CardPadding;
18
+ }
19
+ export interface StyledBaseCardProps extends Omit<BaseCardProps, "background"> {
20
+ }
21
+ export type SolidCardBackground = CardBackground.solid | CardBackground.solidLow | CardBackground.solidLowest | CardBackground.solidHigh | CardBackground.solidHighest;
22
+ export interface StyledSolidCardProps extends Omit<BaseCardProps, "background"> {
23
+ background?: SolidCardBackground;
24
+ }
@@ -0,0 +1,2 @@
1
+ import { StyledBaseCardProps } from '../BaseCard';
2
+ export declare const GradientCard: React.FC<StyledBaseCardProps>;
@@ -0,0 +1 @@
1
+ export * from './GradientCard';
@@ -0,0 +1,16 @@
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { B as o, C as t, a as n } from "../../../BaseCard-C75SV55U.js";
3
+ const i = ({
4
+ padding: a = n.default,
5
+ ...r
6
+ }) => /* @__PURE__ */ d(
7
+ o,
8
+ {
9
+ ...r,
10
+ padding: a,
11
+ background: t.gradient
12
+ }
13
+ );
14
+ export {
15
+ i as GradientCard
16
+ };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { StyledSolidCardProps } from '../BaseCard';
3
+ export declare const SolidCard: React.FC<StyledSolidCardProps>;
@@ -0,0 +1 @@
1
+ export * from './SolidCard';