@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
@@ -1,51 +0,0 @@
1
- import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
- import { M as h } from "./ModalBase-B6E_69dY.js";
3
- import { T as p } from "./TextButton-BmQL4LNA.js";
4
- import { C as u } from "./types-C1YOMbh5.js";
5
- import './assets/ModalAction.css';var d = /* @__PURE__ */ ((a) => (a.start = "start", a.end = "end", a))(d || {});
6
- const v = "_modal_fqn0t_1", q = "_end_fqn0t_39", o = {
7
- modal: v,
8
- "modal-header": "_modal-header_fqn0t_11",
9
- "modal-content": "_modal-content_fqn0t_19",
10
- "modal-action": "_modal-action_fqn0t_29",
11
- end: q
12
- }, M = ({
13
- trigger: a,
14
- header: n,
15
- children: m,
16
- actionPlacement: l = d.start,
17
- modalAction: e,
18
- closeText: i,
19
- isDismissable: c,
20
- isKeyboardDismissableDisabled: _
21
- }) => {
22
- const f = typeof e == "function";
23
- return /* @__PURE__ */ t(
24
- h,
25
- {
26
- trigger: a,
27
- modalOverlayProps: {
28
- isDismissable: c,
29
- isKeyboardDismissDisabled: _
30
- },
31
- children: ({ close: s }) => /* @__PURE__ */ r("div", { className: `${o.modal}`, children: [
32
- n && /* @__PURE__ */ t("h2", { className: `${o["modal-header"]}`, children: n }),
33
- /* @__PURE__ */ t("div", { className: `${o["modal-content"]}`, children: m }),
34
- /* @__PURE__ */ r(
35
- "div",
36
- {
37
- className: `${o["modal-action"]} ${o[l]}`,
38
- children: [
39
- f ? e({ close: s }) : e,
40
- /* @__PURE__ */ t(p, { onPress: s, theme: u.inverseSurface, children: i })
41
- ]
42
- }
43
- )
44
- ] })
45
- }
46
- );
47
- };
48
- export {
49
- M,
50
- d as a
51
- };
@@ -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-BOvkIsei.js";
4
- import { N as s } from "./NavigationSidebar-oPrQbRWE.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-sX7uB5r0.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,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-sX7uB5r0.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
- };
@@ -1,7 +0,0 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import './assets/Success.css';const e = "_success_1r4la_1", t = {
3
- success: e
4
- }, r = ({ children: s }) => /* @__PURE__ */ c("p", { className: `${t.success}`, children: s });
5
- export {
6
- r as S
7
- };
@@ -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
- };
@@ -1,4 +0,0 @@
1
- export * from './types';
2
- export * from './FilledButton';
3
- export * from './OutlinedButton';
4
- export * from './TextButton';
@@ -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,5 +0,0 @@
1
- import { B as o, a as B } from "../../ButtonChild-BTPuUMU5.js";
2
- export {
3
- o as ButtonChild,
4
- B as ButtonState
5
- };
@@ -1,4 +0,0 @@
1
- export * from './FilledButtonLink';
2
- export * from './OutlinedButtonLink';
3
- export * from './Link';
4
- export * from './types';
@@ -1,7 +0,0 @@
1
- import { F as o, O as i } from "../../OutlinedButtonLink-DlQkc-PA.js";
2
- import { L as r } from "../../Link-EXFlPw9F.js";
3
- export {
4
- o as FilledButtonLink,
5
- r as Link,
6
- i as OutlinedButtonLink
7
- };
@@ -1,3 +0,0 @@
1
- export * from './MenuButton';
2
- export * from './MenuLabel';
3
- export * from './types';
@@ -1,6 +0,0 @@
1
- import { M as r } from "../../MenuButton-_Wg88yQX.js";
2
- import { M } from "../../MenuLabel-BXxz0sVO.js";
3
- export {
4
- r as MenuButton,
5
- M as MenuLabel
6
- };
@@ -1,2 +0,0 @@
1
- export * from './ModalAction';
2
- export * from './ModalBase';
@@ -1,7 +0,0 @@
1
- import { M as e, a as t } from "../../ModalAction-CGV3ryxY.js";
2
- import { M as l } from "../../ModalBase-B6E_69dY.js";
3
- export {
4
- e as ModalAction,
5
- t as ModalActionPlacement,
6
- l as ModalBase
7
- };
@@ -1,3 +0,0 @@
1
- export * from './NavigationResponsive';
2
- export * from './NavigationSidebar';
3
- export * from './NavigationMenu';
@@ -1,8 +0,0 @@
1
- import { N as i } from "../../NavigationResponsive-CSi5yInn.js";
2
- import { N as r } from "../../NavigationSidebar-oPrQbRWE.js";
3
- import { N } from "../../NavigationMenu-BOvkIsei.js";
4
- export {
5
- N as NavigationMenu,
6
- i as NavigationResponsive,
7
- r as NavigationSidebar
8
- };
@@ -1,6 +0,0 @@
1
- import { P as e } from "../../Popover-sX7uB5r0.js";
2
- import { P } from "../../PopoverDialog-Dh0H4z2Y.js";
3
- export {
4
- e as Popover,
5
- P as PopoverDialog
6
- };
@@ -1,4 +0,0 @@
1
- var a = /* @__PURE__ */ ((r) => (r.primary = "primary", r.primaryVariant = "primary-variant", r.secondary = "secondary", r.tertiary = "tertiary", r.error = "error", r.inverseSurface = "inverse-surface", r.success = "success", r))(a || {});
2
- export {
3
- a as C
4
- };
@@ -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