welcome-ui 0.0.0-dev.1763389246174 → 0.0.0-dev.1763736449682

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 (128) hide show
  1. package/dist/2W3RN7C5-DMC82gDP.js +61 -0
  2. package/dist/{4I4MLMKD-z3Xm3qCo.js → 4I4MLMKD-BO6Lcy7s.js} +17 -17
  3. package/dist/Accordion.js +11 -10
  4. package/dist/Alert.js +39 -31
  5. package/dist/Avatar.js +12 -11
  6. package/dist/{B7UTNDHN-BDa2-8JK.js → B7UTNDHN-BghjolIs.js} +30 -30
  7. package/dist/Breadcrumb.js +75 -71
  8. package/dist/Button.css +1 -1
  9. package/dist/Button.js +42 -41
  10. package/dist/ButtonGroup.js +5 -4
  11. package/dist/Card.css +1 -1
  12. package/dist/Card.js +67 -15
  13. package/dist/Checkbox.js +29 -29
  14. package/dist/CloseButton.js +6 -5
  15. package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
  16. package/dist/{DSAASPLT-C-2xDjIv.js → DSAASPLT-Fx1kuAsk.js} +3 -3
  17. package/dist/DatePicker.js +81 -78
  18. package/dist/DateTimePicker.js +22 -21
  19. package/dist/Drawer.js +100 -80
  20. package/dist/DropdownMenu.css +1 -1
  21. package/dist/DropdownMenu.js +898 -462
  22. package/dist/FieldGroup.js +8 -7
  23. package/dist/FileDrop.js +183 -176
  24. package/dist/FileUpload.js +42 -40
  25. package/dist/{GVVKDT6A-C66-lr0B.js → GVVKDT6A-CF9ejW_c.js} +103 -103
  26. package/dist/Hint.js +8 -7
  27. package/dist/Icon.js +20 -15
  28. package/dist/InputText.css +1 -1
  29. package/dist/InputText.js +63 -62
  30. package/dist/{KPUWHTQJ-Byij2al4.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
  31. package/dist/Label.js +8 -7
  32. package/dist/Link.css +1 -1
  33. package/dist/Link.js +51 -48
  34. package/dist/Loader.js +11 -10
  35. package/dist/Logo.js +20 -13
  36. package/dist/Modal.js +144 -114
  37. package/dist/{NI3IVY7K-DpF3td-7.js → NI3IVY7K-Dy240mkD.js} +160 -160
  38. package/dist/{NMGNQVTG-BgAqqGOq.js → NMGNQVTG-DRO2uXZT.js} +6 -6
  39. package/dist/{OE2EFRVA-DkdhQLJL.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
  40. package/dist/{OLVWQA7U-wHytlFYu.js → OLVWQA7U-Dia3UUnG.js} +36 -36
  41. package/dist/Pagination.js +38 -37
  42. package/dist/PasswordInput.js +20 -17
  43. package/dist/Popover.js +88 -72
  44. package/dist/{RTNCFSKZ-LcIdBwa8.js → RTNCFSKZ-BywELldk.js} +42 -42
  45. package/dist/Radio.js +19 -19
  46. package/dist/RadioGroup.js +28 -27
  47. package/dist/RadioTab.js +1 -1
  48. package/dist/{SBSPVDDI-BoxPz2JY.js → SBSPVDDI-CmtnvvUX.js} +46 -46
  49. package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
  50. package/dist/Search.css +1 -1
  51. package/dist/Search.js +107 -101
  52. package/dist/Select.css +1 -1
  53. package/dist/Select.js +203 -202
  54. package/dist/Slider.js +65 -61
  55. package/dist/Stepper.js +33 -27
  56. package/dist/StickyNote.js +29 -23
  57. package/dist/Swiper.js +51 -50
  58. package/dist/{T22PY7TE-CzEDuEn1.js → T22PY7TE-gLuJpoOm.js} +46 -46
  59. package/dist/Table.js +33 -21
  60. package/dist/Tabs.js +160 -152
  61. package/dist/Tag.css +1 -1
  62. package/dist/Tag.js +69 -65
  63. package/dist/Text.js +3 -2
  64. package/dist/Textarea.css +1 -1
  65. package/dist/Textarea.js +25 -18
  66. package/dist/TimePicker.js +22 -21
  67. package/dist/Toast.js +226 -201
  68. package/dist/Toggle.js +15 -14
  69. package/dist/Tooltip.js +28 -27
  70. package/dist/VariantIcon.js +6 -5
  71. package/dist/VisuallyHidden.js +7 -6
  72. package/dist/WelcomeLoader.js +3 -2
  73. package/dist/XCKGTAUF-CJwwVibW.js +25 -0
  74. package/dist/{Y67KZUMI-BDyUNSJw.js → Y67KZUMI-BwLWwpNF.js} +2 -2
  75. package/dist/{ZTXFEM5L-CjFLRObi.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
  76. package/dist/types/components/Alert/components/Title.d.ts +4 -1
  77. package/dist/types/components/Alert/index.d.ts +4 -1
  78. package/dist/types/components/Card/Body.d.ts +2 -3
  79. package/dist/types/components/Card/Footer.d.ts +6 -0
  80. package/dist/types/components/Card/Header.d.ts +5 -0
  81. package/dist/types/components/Card/index.d.ts +7 -8
  82. package/dist/types/components/Card/types.d.ts +16 -3
  83. package/dist/types/components/Checkbox/index.d.ts +1 -2
  84. package/dist/types/components/Checkbox/types.d.ts +3 -1
  85. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +4 -1
  86. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +6 -3
  87. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +4 -1
  88. package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +4 -1
  89. package/dist/types/components/Drawer/components/Close.d.ts +4 -1
  90. package/dist/types/components/Drawer/components/Title.d.ts +4 -1
  91. package/dist/types/components/Drawer/index.d.ts +12 -3
  92. package/dist/types/components/DropdownMenu/Action.d.ts +2 -0
  93. package/dist/types/components/DropdownMenu/Group.d.ts +4 -0
  94. package/dist/types/components/DropdownMenu/Item.d.ts +7 -0
  95. package/dist/types/components/DropdownMenu/Search.d.ts +2 -0
  96. package/dist/types/components/DropdownMenu/Submenu.d.ts +4 -0
  97. package/dist/types/components/DropdownMenu/index.d.ts +11 -0
  98. package/dist/types/components/DropdownMenu/types.d.ts +26 -5
  99. package/dist/types/components/FileDrop/components/FilePreview.d.ts +4 -1
  100. package/dist/types/components/FileDrop/components/Message.d.ts +4 -1
  101. package/dist/types/components/Icon/icons.d.ts +4 -3
  102. package/dist/types/components/Loader/index.d.ts +4 -1
  103. package/dist/types/components/Modal/Assets/AssetContent.d.ts +4 -1
  104. package/dist/types/components/Modal/Assets/AssetTitle.d.ts +4 -1
  105. package/dist/types/components/Modal/Assets/CloseButton.d.ts +4 -1
  106. package/dist/types/components/Modal/Assets/Dialog.d.ts +4 -1
  107. package/dist/types/components/Modal/Assets/Iframe.d.ts +4 -1
  108. package/dist/types/components/Modal/Assets/index.d.ts +16 -4
  109. package/dist/types/components/Modal/components/Close.d.ts +4 -1
  110. package/dist/types/components/Modal/index.d.ts +16 -4
  111. package/dist/types/components/PasswordInput/ToggleButton.d.ts +4 -1
  112. package/dist/types/components/Popover/Arrow.d.ts +4 -1
  113. package/dist/types/components/Popover/ContentWrapper.d.ts +4 -1
  114. package/dist/types/components/RadioGroup/index.d.ts +4 -1
  115. package/dist/types/components/Stepper/index.d.ts +8 -2
  116. package/dist/types/components/StickyNote/components/Button.d.ts +4 -1
  117. package/dist/types/components/StickyNote/components/Title.d.ts +4 -1
  118. package/dist/types/components/StickyNote/index.d.ts +8 -2
  119. package/dist/types/components/Swiper/index.d.ts +4 -1
  120. package/dist/types/components/Table/index.d.ts +20 -5
  121. package/dist/types/components/Tabs/components/ActiveBar/index.d.ts +4 -1
  122. package/dist/types/components/Tag/types.d.ts +4 -2
  123. package/dist/types/components/Textarea/types.d.ts +1 -0
  124. package/dist/types/components/Toast/index.d.ts +4 -1
  125. package/package.json +1 -1
  126. package/dist/2W3RN7C5-uG7eBeTQ.js +0 -61
  127. package/dist/SQZLCNLX-CUlXoT69.js +0 -82
  128. package/dist/XCKGTAUF-CahZE721.js +0 -25
package/dist/Toggle.js CHANGED
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import './Toggle.css';
3
3
  import { jsxs as z, jsx as e } from "react/jsx-runtime";
4
- import { C as v } from "./KPUWHTQJ-Byij2al4.js";
5
- import { forwardRef as f } from "react";
6
- import { useField as h } from "./Field.js";
4
+ import { a as v } from "./KPUWHTQJ-Dv3cAqjP.js";
5
+ import { forwardRef as g } from "react";
6
+ import { useField as f } from "./Field.js";
7
7
  import { Icon as n } from "./Icon.js";
8
- import { c as w } from "./index-PAaZGbyz.js";
9
- const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", b = {
10
- root: g,
8
+ import { c as h } from "./index-PAaZGbyz.js";
9
+ const w = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", N = {
10
+ root: w,
11
11
  "size-sm": "_size-sm_1czvn_82",
12
12
  "size-md": "_size-md_1czvn_88",
13
13
  "size-lg": "_size-lg_1czvn_94",
@@ -15,11 +15,11 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
15
15
  "icon-wrapper": "_icon-wrapper_1czvn_106",
16
16
  checked: u,
17
17
  disabled: x
18
- }, c = w(b), $ = f(
19
- ({ checked: o, className: t, disabled: s, onClick: i, size: r = "md", withVisibilityIcon: a, ...p }, _) => {
20
- const { getInputProps: l } = h(), m = l(p), d = s ? null : i;
18
+ }, c = h(N), b = g(
19
+ ({ checked: o, className: a, disabled: s, onClick: i, size: r = "md", withVisibilityIcon: t, ...l }, p) => {
20
+ const { getInputProps: m } = f(), _ = m(l), d = s ? null : i;
21
21
  return /* @__PURE__ */ z("div", { className: c("wrapper"), onClick: d, children: [
22
- a ? /* @__PURE__ */ e(
22
+ t ? /* @__PURE__ */ e(
23
23
  "div",
24
24
  {
25
25
  className: c(
@@ -35,15 +35,16 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
35
35
  v,
36
36
  {
37
37
  checked: o,
38
- className: c("root", `size-${r}`, t),
38
+ className: c("root", `size-${r}`, a),
39
39
  disabled: s,
40
- ref: _,
41
- ...m
40
+ ref: p,
41
+ ..._
42
42
  }
43
43
  )
44
44
  ] });
45
45
  }
46
46
  );
47
+ b.displayName = "Toggle";
47
48
  export {
48
- $ as Toggle
49
+ b as Toggle
49
50
  };
package/dist/Tooltip.js CHANGED
@@ -1,17 +1,17 @@
1
1
  "use client";
2
2
  import './Tooltip.css';
3
- import { jsx as h, jsxs as N, Fragment as J } from "react/jsx-runtime";
4
- import { H as K, a as Q, u as U, b as X, c as Z, d as ee } from "./GVVKDT6A-C66-lr0B.js";
5
- import { e as te, f as $, c as F, b as M, _ as B, i as D, x as oe, a as P, d as L, z as x, q as re, T as ne, u as g, G as V, H as E, I as y } from "./OE2EFRVA-DkdhQLJL.js";
6
- import { c as se } from "./NI3IVY7K-DpF3td-7.js";
7
- import { a as I, c as q, b as ae, d as A, u as ie } from "./RTNCFSKZ-LcIdBwa8.js";
3
+ import { jsx as h, jsxs as C, Fragment as J } from "react/jsx-runtime";
4
+ import { H as K, a as Q, u as U, b as X, c as Z, d as ee } from "./GVVKDT6A-CF9ejW_c.js";
5
+ import { e as te, f as $, c as B, b as F, _ as M, i as D, k as oe, a as P, d as L, E as x, w as re, V as ne, u as g, A as V, z as E, B as y } from "./OE2EFRVA-Dg1R6gaC.js";
6
+ import { c as se } from "./NI3IVY7K-Dy240mkD.js";
7
+ import { d as A, c as z, u as ae, a as I, b as ie } from "./RTNCFSKZ-BywELldk.js";
8
8
  import ue, { useRef as le, useEffect as H, forwardRef as ce, useState as de, useCallback as pe } from "react";
9
9
  import { Text as R } from "./Text.js";
10
10
  import { c as ve } from "./index-PAaZGbyz.js";
11
- var z = te(
11
+ var W = te(
12
12
  [Q],
13
13
  [K]
14
- ), w = z.useProviderContext, me = z.ScopedContextProvider, fe = "div", he = F(
14
+ ), w = W.useProviderContext, me = W.ScopedContextProvider, fe = "div", he = B(
15
15
  function(n) {
16
16
  var o = n, {
17
17
  store: e,
@@ -20,7 +20,7 @@ var z = te(
20
20
  preserveTabOrder: m = !1,
21
21
  hideOnHoverOutside: d = !0,
22
22
  hideOnInteractOutside: f = !0
23
- } = o, a = B(o, [
23
+ } = o, a = M(o, [
24
24
  "store",
25
25
  "portal",
26
26
  "gutter",
@@ -60,10 +60,10 @@ var z = te(
60
60
  ), Se = se(
61
61
  $(function(n) {
62
62
  const o = he(n);
63
- return M(fe, o);
63
+ return F(fe, o);
64
64
  }),
65
65
  w
66
- ), Te = "div", v = q({
66
+ ), Te = "div", v = z({
67
67
  activeStore: null
68
68
  });
69
69
  function j(t) {
@@ -72,16 +72,16 @@ function j(t) {
72
72
  n === t && v.setState("activeStore", null);
73
73
  };
74
74
  }
75
- var be = F(
75
+ var be = B(
76
76
  function(n) {
77
- var o = n, { store: e, showOnHover: p = !0 } = o, s = B(o, ["store", "showOnHover"]);
77
+ var o = n, { store: e, showOnHover: p = !0 } = o, s = M(o, ["store", "showOnHover"]);
78
78
  const m = w();
79
79
  e = e || m, D(
80
80
  e,
81
81
  process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."
82
82
  );
83
83
  const d = le(!1);
84
- H(() => I(e, ["mounted"], (r) => {
84
+ H(() => A(e, ["mounted"], (r) => {
85
85
  r.mounted || (d.current = !1);
86
86
  }), [e]), H(() => {
87
87
  if (e)
@@ -90,7 +90,7 @@ var be = F(
90
90
  // the component unmounts. This is useful, for example, to avoid
91
91
  // showing tooltips immediately on serial tests.
92
92
  j(e),
93
- I(e, ["mounted", "skipTimeout"], (r) => {
93
+ A(e, ["mounted", "skipTimeout"], (r) => {
94
94
  if (!e) return;
95
95
  if (r.mounted) {
96
96
  const { activeStore: T } = v.getState();
@@ -133,7 +133,7 @@ var be = F(
133
133
  }
134
134
  ), _e = $(function(n) {
135
135
  const o = be(n);
136
- return M(Te, o);
136
+ return F(Te, o);
137
137
  });
138
138
  function Ee(t = {}) {
139
139
  var n;
@@ -152,11 +152,11 @@ function Ee(t = {}) {
152
152
  })), p = V(y({}, e.getState()), {
153
153
  type: E(t.type, o == null ? void 0 : o.type, "description"),
154
154
  skipTimeout: E(t.skipTimeout, o == null ? void 0 : o.skipTimeout, 300)
155
- }), s = q(p, e, t.store);
155
+ }), s = z(p, e, t.store);
156
156
  return y(y({}, e), s);
157
157
  }
158
158
  function ye(t, n, o) {
159
- return A(t, o, "type"), A(t, o, "skipTimeout"), ee(t, n, o);
159
+ return I(t, o, "type"), I(t, o, "skipTimeout"), ee(t, n, o);
160
160
  }
161
161
  function Pe(t = {}) {
162
162
  const [n, o] = ae(Ee, t);
@@ -165,7 +165,7 @@ function Pe(t = {}) {
165
165
  const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
166
166
  root: ge,
167
167
  childItem: Oe
168
- }, O = ve(xe), Re = ce(
168
+ }, O = ve(xe), He = ce(
169
169
  ({
170
170
  children: t,
171
171
  className: n = "",
@@ -186,18 +186,18 @@ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
186
186
  });
187
187
  }, T = pe(() => {
188
188
  b("animating", !1);
189
- }, [b]), G = (k = t == null ? void 0 : t.props) != null && k.disabled ? ue.Children.only(/* @__PURE__ */ h("span", { className: O("childItem"), children: t })) : t;
189
+ }, [b]), Y = (k = t == null ? void 0 : t.props) != null && k.disabled ? ue.Children.only(/* @__PURE__ */ h("span", { className: O("childItem"), children: t })) : t;
190
190
  return H(() => {
191
- function C({ clientX: W, clientY: Y }) {
192
- r({ x: W, y: Y }), u();
191
+ function N({ clientX: q, clientY: G }) {
192
+ r({ x: q, y: G }), u();
193
193
  }
194
194
  if (c && !e)
195
- return c.addEventListener("mousemove", C), () => {
196
- c.removeEventListener("mousemove", C);
195
+ return c.addEventListener("mousemove", N), () => {
196
+ c.removeEventListener("mousemove", N);
197
197
  };
198
- }, [u, e, c]), o ? /* @__PURE__ */ N(J, { children: [
199
- /* @__PURE__ */ h(_e, { render: G, store: a }),
200
- /* @__PURE__ */ N(
198
+ }, [u, e, c]), o ? /* @__PURE__ */ C(J, { children: [
199
+ /* @__PURE__ */ h(_e, { render: Y, store: a }),
200
+ /* @__PURE__ */ C(
201
201
  Se,
202
202
  {
203
203
  className: O("root", n),
@@ -217,6 +217,7 @@ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
217
217
  ] }) : t;
218
218
  }
219
219
  );
220
+ He.displayName = "Tooltip";
220
221
  export {
221
- Re as Tooltip
222
+ He as Tooltip
222
223
  };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import './VariantIcon.css';
3
- import { jsx as o } from "react/jsx-runtime";
3
+ import { jsx as n } from "react/jsx-runtime";
4
4
  import { forwardRef as s } from "react";
5
5
  import { Icon as e } from "./Icon.js";
6
6
  import { c as _ } from "./index-PAaZGbyz.js";
@@ -11,8 +11,8 @@ const m = "_root_iop02_2", p = {
11
11
  "variant-info": "_variant-info_iop02_15",
12
12
  "variant-success": "_variant-success_iop02_18",
13
13
  "variant-warning": "_variant-warning_iop02_21"
14
- }, l = _(p), x = s(
15
- ({ className: n, size: i = "md", variant: a, ...r }, c) => {
14
+ }, l = _(p), v = s(
15
+ ({ className: o, size: i = "md", variant: a, ...r }, c) => {
16
16
  const t = {
17
17
  ai: "sparkles",
18
18
  danger: "exclamation-octagon",
@@ -20,9 +20,10 @@ const m = "_root_iop02_2", p = {
20
20
  success: "check-circle",
21
21
  warning: "exclamation-circle"
22
22
  }[a];
23
- return /* @__PURE__ */ o("div", { ...r, className: l("root", a && `variant-${a}`, n), ref: c, children: /* @__PURE__ */ o(e, { name: t, size: i }) });
23
+ return /* @__PURE__ */ n("div", { ...r, className: l("root", a && `variant-${a}`, o), ref: c, children: /* @__PURE__ */ n(e, { name: t, size: i }) });
24
24
  }
25
25
  );
26
+ v.displayName = "VariantIcon";
26
27
  export {
27
- x as VariantIcon
28
+ v as VariantIcon
28
29
  };
@@ -2,13 +2,14 @@
2
2
  import './VisuallyHidden.css';
3
3
  import { jsx as r } from "react/jsx-runtime";
4
4
  import { c as a } from "./index-PAaZGbyz.js";
5
- import { f as c } from "./forwardRefWithAs-8eP3ZN15.js";
5
+ import { f as e } from "./forwardRefWithAs-8eP3ZN15.js";
6
6
  import "react";
7
- const e = "_root_w3556_2", m = {
8
- root: e
9
- }, i = a(m), d = c(
10
- ({ as: o = "span", children: s }, t) => /* @__PURE__ */ r(o, { className: i("root"), ref: t, children: s })
7
+ const i = "_root_w3556_2", m = {
8
+ root: i
9
+ }, c = a(m), l = e(
10
+ ({ as: o = "span", children: s }, t) => /* @__PURE__ */ r(o, { className: c("root"), ref: t, children: s })
11
11
  );
12
+ l.displayName = "VisuallyHidden";
12
13
  export {
13
- d as VisuallyHidden
14
+ l as VisuallyHidden
14
15
  };
@@ -5078,7 +5078,7 @@ const Fs = "5.7.6", Is = 30, Ls = 0, Vs = 80, Rs = 300, Os = 300, Bs = "Loader_W
5078
5078
  assets: Ds,
5079
5079
  layers: Ns,
5080
5080
  markers: zs
5081
- }, Ws = Ps(), Ys = Cs(
5081
+ }, Ws = Ps(), Gs = Cs(
5082
5082
  ({ className: Fi, ...ci }, ae) => {
5083
5083
  const Vt = {
5084
5084
  animationData: qs,
@@ -5087,6 +5087,7 @@ const Fs = "5.7.6", Is = 30, Ls = 0, Vs = 80, Rs = 300, Os = 300, Bs = "Loader_W
5087
5087
  return /* @__PURE__ */ As("div", { className: Ws("w-150", Fi), ref: ae, ...ci, children: vi });
5088
5088
  }
5089
5089
  );
5090
+ Gs.displayName = "WelcomeLoader";
5090
5091
  export {
5091
- Ys as WelcomeLoader
5092
+ Gs as WelcomeLoader
5092
5093
  };
@@ -0,0 +1,25 @@
1
+ "use client";
2
+ import { u as f } from "./2W3RN7C5-DMC82gDP.js";
3
+ import { f as c, c as m, b as i, Q as B, R as u, d as l, v, a as d } from "./OE2EFRVA-Dg1R6gaC.js";
4
+ import { useRef as N, useState as g, useEffect as R } from "react";
5
+ var s = "button", _ = m(
6
+ function(t) {
7
+ const e = N(null), a = B(e, s), [n, o] = g(
8
+ () => !!a && u({ tagName: a, type: t.type })
9
+ );
10
+ return R(() => {
11
+ e.current && o(u(e.current));
12
+ }, []), t = l(d({
13
+ role: !n && a !== "a" ? "button" : void 0
14
+ }, t), {
15
+ ref: v(e, t.ref)
16
+ }), t = f(t), t;
17
+ }
18
+ ), P = c(function(t) {
19
+ const e = _(t);
20
+ return i(s, e);
21
+ });
22
+ export {
23
+ P as B,
24
+ _ as u
25
+ };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { g as o, k as r } from "./T22PY7TE-CzEDuEn1.js";
3
- import { e as t } from "./OE2EFRVA-DkdhQLJL.js";
2
+ import { g as o, k as r } from "./T22PY7TE-gLuJpoOm.js";
3
+ import { e as t } from "./OE2EFRVA-Dg1R6gaC.js";
4
4
  var e = t(
5
5
  [r],
6
6
  [o]
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { u } from "./NMGNQVTG-BgAqqGOq.js";
3
- import { b as c } from "./T22PY7TE-CzEDuEn1.js";
4
- import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-DkdhQLJL.js";
2
+ import { u } from "./NMGNQVTG-DRO2uXZT.js";
3
+ import { b as c } from "./T22PY7TE-gLuJpoOm.js";
4
+ import { f as l, c as p, b as D, _ as m, i as g, a, H as v } from "./OE2EFRVA-Dg1R6gaC.js";
5
5
  var f = "button", d = p(
6
6
  function(r) {
7
7
  var s = r, { store: o } = s, e = m(s, ["store"]);
@@ -1,2 +1,5 @@
1
1
  import { AlertTitleProps } from '../types';
2
- export declare const AlertTitle: ({ children, hasCloseButton, ...rest }: AlertTitleProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AlertTitle: {
3
+ ({ children, hasCloseButton, ...rest }: AlertTitleProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -6,5 +6,8 @@ export declare const ICON: Record<AlertProps['variant'], IconProps['name']>;
6
6
  export declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
7
7
  Button: React.ForwardRefExoticComponent<Omit<Omit<ButtonProps, "size">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
8
  SecondaryButton: React.ForwardRefExoticComponent<Omit<Omit<ButtonProps, "size">, "ref"> & React.RefAttributes<HTMLButtonElement>>;
9
- Title: ({ children, hasCloseButton, ...rest }: import('./types').AlertTitleProps) => import("react/jsx-runtime").JSX.Element;
9
+ Title: {
10
+ ({ children, hasCloseButton, ...rest }: import('./types').AlertTitleProps): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
10
13
  };
@@ -1,6 +1,5 @@
1
+ import { BodyProps } from './types';
1
2
  /**
2
3
  * @name Card.Body
3
4
  */
4
- export declare const Body: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: import('react').Ref<HTMLDivElement>;
6
- }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ export declare const Body: import('react').ForwardRefExoticComponent<Omit<BodyProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @name Card.Footer
3
+ */
4
+ export declare const Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: import('react').Ref<HTMLDivElement>;
6
+ }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import { HeaderProps } from './types';
2
+ /**
3
+ * @name Card.Header
4
+ */
5
+ export declare const Header: import('react').ForwardRefExoticComponent<Omit<HeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,11 +1,10 @@
1
- export declare const CardComponent: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
- ref?: import('react').Ref<HTMLDivElement>;
3
- }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
4
- export declare const Card: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
- ref?: import('react').Ref<HTMLDivElement>;
6
- }, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
7
- Body: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
1
+ import { CardProps } from './types';
2
+ export declare const CardComponent: import('../../utils').FunctionComponentWithAs<"div", CardProps>;
3
+ export declare const Card: import('../../utils').FunctionComponentWithAs<"div", CardProps> & {
4
+ Body: import('react').ForwardRefExoticComponent<Omit<import('./types').BodyProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
5
+ Cover: import('react').ForwardRefExoticComponent<Omit<import('./types').CoverProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
6
+ Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
7
  ref?: import('react').Ref<HTMLDivElement>;
9
8
  }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
10
- Cover: import('react').ForwardRefExoticComponent<Omit<import('./types').CoverProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
9
+ Header: import('react').ForwardRefExoticComponent<Omit<import('./types').HeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
11
10
  };
@@ -1,9 +1,22 @@
1
- import { ComponentPropsWithRef } from 'react';
2
- export type BodyProps = ComponentPropsWithRef<'div'>;
3
- export type CardProps = ComponentPropsWithRef<'div'>;
1
+ import { ComponentPropsWithRef, ReactNode } from 'react';
2
+ export type BodyProps = BodyOptions & ComponentPropsWithRef<'div'>;
3
+ export type CardProps = CardOptions & ComponentPropsWithRef<'div'>;
4
4
  export type CoverProps = ComponentPropsWithRef<'div'> & CoverOptions;
5
+ export type FooterProps = ComponentPropsWithRef<'div'>;
6
+ export type HeaderProps = ComponentPropsWithRef<'div'> & HeaderOptions;
7
+ interface BodyOptions {
8
+ metadata?: ReactNode;
9
+ }
10
+ interface CardOptions {
11
+ disabled?: boolean;
12
+ size?: 'lg' | 'md' | 'sm';
13
+ }
5
14
  interface CoverOptions {
6
15
  alt: string;
7
16
  src: string;
8
17
  }
18
+ interface HeaderOptions {
19
+ disabled?: boolean;
20
+ onClose?: () => void;
21
+ }
9
22
  export {};
@@ -1,3 +1,2 @@
1
- import { default as React } from 'react';
2
1
  import { CheckboxProps } from './types';
3
- export declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
2
+ export declare const Checkbox: import('react').ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
@@ -3,5 +3,7 @@ export interface CheckboxOptions {
3
3
  indeterminate?: boolean;
4
4
  variant?: Variant;
5
5
  }
6
- export type CheckboxProps = CheckboxOptions & ComponentProps<'input'>;
6
+ export type CheckboxProps = CheckboxOptions & Omit<ComponentProps<'input'>, 'onChange'> & {
7
+ onChange?: (isChecked: boolean) => void;
8
+ };
7
9
  export type Variant = 'danger' | 'success' | 'warning';
@@ -1,2 +1,5 @@
1
1
  import { CustomHeaderProps } from './types';
2
- export declare const CustomHeader: ({ changeMonth, changeYear, date, decreaseMonth, decreaseYear, endYear, increaseMonth, increaseYear, isMonthYearPicker, locale, startYear, }: CustomHeaderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CustomHeader: {
3
+ ({ changeMonth, changeYear, date, decreaseMonth, decreaseYear, endYear, increaseMonth, increaseYear, isMonthYearPicker, locale, startYear, }: CustomHeaderProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,4 +1,7 @@
1
1
  import { default as React } from 'react';
2
- export declare const CustomPopper: ({ children }: {
3
- children: React.ReactElement;
4
- }) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const CustomPopper: {
3
+ ({ children }: {
4
+ children: React.ReactElement;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
@@ -1,2 +1,5 @@
1
1
  import { HeaderProps } from './types';
2
- export declare const Header: ({ action, className, iconName, onBackButtonClick, subtitle, title, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Header: {
3
+ ({ action, className, iconName, onBackButtonClick, subtitle, title, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,2 +1,5 @@
1
1
  import { IconBlockProps } from './types';
2
- export declare const IconBlock: ({ iconName, size }: IconBlockProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const IconBlock: {
3
+ ({ iconName, size }: IconBlockProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,2 +1,5 @@
1
1
  import { CloseProps } from '../types';
2
- export declare const Close: ({ className }: CloseProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Close: {
3
+ ({ className }: CloseProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,2 +1,5 @@
1
1
  import { TitleProps } from '../types';
2
- export declare const Title: ({ children, className, ...rest }: TitleProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Title: {
3
+ ({ children, className, ...rest }: TitleProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,18 +1,27 @@
1
1
  import { DrawerProps } from './types';
2
2
  export declare const Drawer: import('react').ForwardRefExoticComponent<Omit<DrawerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
3
3
  Backdrop: import('react').ForwardRefExoticComponent<Omit<import('./types').BackdropProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
4
- Close: ({ className }: import('./types').CloseProps) => import("react/jsx-runtime").JSX.Element;
4
+ Close: {
5
+ ({ className }: import('./types').CloseProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
5
8
  Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
6
9
  ref?: import('react').Ref<HTMLDivElement>;
7
10
  }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
8
11
  Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
9
12
  ref?: import('react').Ref<HTMLDivElement>;
10
13
  }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
11
- Title: ({ children, className, ...rest }: import('./types').TitleProps) => import("react/jsx-runtime").JSX.Element;
14
+ Title: {
15
+ ({ children, className, ...rest }: import('./types').TitleProps): import("react/jsx-runtime").JSX.Element;
16
+ displayName: string;
17
+ };
12
18
  Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
13
19
  };
14
20
  export { useDialogStore as useDrawer } from '@ariakit/react';
15
21
  export declare const AssetDrawer: import('../../utils').FunctionComponentWithAs<"div", import('./AssetDrawer/types').AssetDrawerProps> & {
16
- Header: ({ action, className, iconName, onBackButtonClick, subtitle, title, }: import('./AssetDrawer/types').HeaderProps) => import("react/jsx-runtime").JSX.Element;
22
+ Header: {
23
+ ({ action, className, iconName, onBackButtonClick, subtitle, title, }: import('./AssetDrawer/types').HeaderProps): import("react/jsx-runtime").JSX.Element;
24
+ displayName: string;
25
+ };
17
26
  Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
18
27
  };
@@ -0,0 +1,2 @@
1
+ import { ActionProps } from './types';
2
+ export declare const Action: import('../../utils').FunctionComponentWithAs<"button", ActionProps>;
@@ -0,0 +1,4 @@
1
+ import { GroupProps } from '@ariakit/react';
2
+ import { GroupLabelProps } from './types';
3
+ export declare const Group: import('../../utils').FunctionComponentWithAs<"div", GroupProps>;
4
+ export declare const GroupLabel: import('../../utils').FunctionComponentWithAs<"div", GroupLabelProps>;
@@ -1,2 +1,9 @@
1
+ import { Ref } from 'react';
1
2
  import { ItemProps } from './types';
2
3
  export declare const Item: import('../../utils').FunctionComponentWithAs<"button", ItemProps>;
4
+ export declare const ItemContent: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: Ref<HTMLDivElement>;
6
+ }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const ItemDescription: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: Ref<HTMLDivElement>;
9
+ }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { SearchProps } from './types';
2
+ export declare const Search: import('../../utils').FunctionComponentWithAs<"input", SearchProps>;
@@ -0,0 +1,4 @@
1
+ import { SubmenuOptions } from './types';
2
+ export * from './types';
3
+ export { useMenuStore as useDropdownMenu } from '@ariakit/react';
4
+ export declare const Submenu: import('react').ForwardRefExoticComponent<Omit<SubmenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
@@ -2,8 +2,19 @@ import { DropdownMenuOptions } from './types';
2
2
  export * from './types';
3
3
  export { useMenuStore as useDropdownMenu } from '@ariakit/react';
4
4
  export declare const DropdownMenu: import('react').ForwardRefExoticComponent<Omit<DropdownMenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
5
+ Action: import('../../utils').FunctionComponentWithAs<"button", import('./types').ActionProps>;
5
6
  Arrow: import('react').ForwardRefExoticComponent<Omit<import('./types').ArrowProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
+ Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: import('react').Ref<HTMLDivElement>;
9
+ }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
10
+ Description: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
+ ref?: import('react').Ref<HTMLDivElement>;
12
+ }, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
13
+ Group: import('../../utils').FunctionComponentWithAs<"div", import('@ariakit/react').GroupProps>;
14
+ GroupLabel: import('../../utils').FunctionComponentWithAs<"div", import('./types').GroupLabelProps>;
6
15
  Item: import('../../utils').FunctionComponentWithAs<"button", import('./types').ItemProps>;
16
+ Search: import('../../utils').FunctionComponentWithAs<"input", import('./types').SearchProps>;
7
17
  Separator: import('react').ForwardRefExoticComponent<Omit<import('./types').SeparatorProps, "ref"> & import('react').RefAttributes<HTMLHRElement>>;
18
+ Submenu: import('react').ForwardRefExoticComponent<Omit<import('./types').SubmenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
8
19
  Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
9
20
  };
@@ -1,12 +1,33 @@
1
- import { MenuArrowProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuStore } from '@ariakit/react';
1
+ import { MenuArrowProps, MenuGroupLabelProps, MenuItemCheckboxProps, MenuItemCheckProps, MenuItemProps, MenuItemRadioProps, MenuProps, MenuSeparatorProps, MenuStore } from '@ariakit/react';
2
+ import { ComponentPropsWithRef, ReactNode } from 'react';
3
+ export type ActionProps = MenuItemProps;
2
4
  export type ArrowProps = MenuArrowProps;
3
5
  export interface DropdownMenuOptions extends Omit<MenuProps, 'gutter'> {
4
- dataTestId?: string;
5
- innerProps?: React.ComponentProps<'div'>;
6
+ size?: 'lg' | 'md';
6
7
  withGutter?: boolean;
7
8
  }
8
- export type ItemProps = MenuItemProps;
9
- export type SeparatorProps = MenuSeparatorProps;
9
+ export type GroupLabelProps = MenuGroupLabelProps;
10
+ export type ItemCheckboxCheckProps = Omit<ComponentPropsWithRef<'input'>, 'onChange'> & {
11
+ onChange?: (isChecked: boolean) => void;
12
+ };
13
+ export type ItemCheckboxProps = MenuItemCheckboxProps;
14
+ export type ItemContentProps = ComponentPropsWithRef<'div'>;
15
+ export type ItemDefaultCheckProps = MenuItemCheckProps;
16
+ export type ItemDescriptionProps = ComponentPropsWithRef<'div'>;
17
+ export interface ItemProps extends MenuItemProps {
18
+ variant?: 'checkbox' | 'checkbox-mark' | 'radio' | 'radio-mark' | 'toggle';
19
+ }
20
+ export type ItemRadioCheckProps = ComponentPropsWithRef<'input'> & ComponentPropsWithRef<'label'>;
21
+ export type ItemRadioProps = MenuItemRadioProps;
22
+ export type ItemToggleCheckProps = ComponentPropsWithRef<'input'>;
23
+ export type SearchProps = MenuItemProps;
24
+ export interface SeparatorProps extends MenuSeparatorProps {
25
+ disabled?: boolean;
26
+ }
27
+ export interface SubmenuOptions extends Omit<ItemProps, 'store'> {
28
+ item: ReactNode;
29
+ size?: 'lg' | 'md';
30
+ }
10
31
  export type TriggerProps = {
11
32
  store: MenuStore;
12
33
  };
@@ -1,2 +1,5 @@
1
1
  import { FilePreviewProps } from '../types';
2
- export declare const FilePreview: ({ file, fileName, forceFileType, previewButtonText, }: FilePreviewProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const FilePreview: {
3
+ ({ file, fileName, forceFileType, previewButtonText, }: FilePreviewProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -1,2 +1,5 @@
1
1
  import { MessageProps } from '../types';
2
- export declare const Message: ({ disabled, fileButtonText, hint, openFile, title, }: MessageProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Message: {
3
+ ({ disabled, fileButtonText, hint, openFile, title, }: MessageProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };