welcome-ui 10.0.0-alpha.1 → 10.0.0-alpha.10

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 (176) hide show
  1. package/README.md +1 -1
  2. package/dist/2W3RN7C5-DMC82gDP.js +61 -0
  3. package/dist/4I4MLMKD-BO6Lcy7s.js +150 -0
  4. package/dist/Accordion.js +20 -18
  5. package/dist/Alert.css +1 -1
  6. package/dist/Alert.js +93 -87
  7. package/dist/AspectRatio.js +2 -1
  8. package/dist/Avatar.js +14 -12
  9. package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BghjolIs.js} +30 -30
  10. package/dist/Badge.js +2 -1
  11. package/dist/Breadcrumb.css +1 -1
  12. package/dist/Breadcrumb.js +175 -154
  13. package/dist/Button.css +1 -1
  14. package/dist/Button.js +43 -41
  15. package/dist/ButtonGroup.js +7 -5
  16. package/dist/Card.css +1 -1
  17. package/dist/Card.js +68 -15
  18. package/dist/Checkbox.js +30 -29
  19. package/dist/CloseButton.css +1 -1
  20. package/dist/CloseButton.js +15 -13
  21. package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
  22. package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-Fx1kuAsk.js} +3 -3
  23. package/dist/DatePicker.js +82 -78
  24. package/dist/DateTimePicker.js +23 -22
  25. package/dist/Drawer.js +141 -96
  26. package/dist/DropdownMenu.css +1 -1
  27. package/dist/DropdownMenu.js +902 -462
  28. package/dist/Field.js +2 -1
  29. package/dist/FieldGroup.js +9 -7
  30. package/dist/FileDrop.css +1 -1
  31. package/dist/FileDrop.js +427 -398
  32. package/dist/FileUpload.js +44 -41
  33. package/dist/GVVKDT6A-CF9ejW_c.js +619 -0
  34. package/dist/Hint.js +10 -8
  35. package/dist/Icon.css +1 -1
  36. package/dist/Icon.js +36 -22
  37. package/dist/InputText.css +1 -1
  38. package/dist/InputText.js +59 -57
  39. package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
  40. package/dist/Label.js +9 -7
  41. package/dist/Link.css +1 -1
  42. package/dist/Link.js +54 -49
  43. package/dist/Loader.js +13 -11
  44. package/dist/Logo.js +21 -13
  45. package/dist/Modal.js +145 -114
  46. package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-Dy240mkD.js} +53 -53
  47. package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-DRO2uXZT.js} +8 -8
  48. package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
  49. package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-Dia3UUnG.js} +51 -51
  50. package/dist/Pagination.css +1 -1
  51. package/dist/Pagination.js +157 -76
  52. package/dist/PasswordInput.js +20 -17
  53. package/dist/Popover.js +89 -72
  54. package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-BywELldk.js} +47 -47
  55. package/dist/Radio.css +1 -1
  56. package/dist/Radio.js +39 -40
  57. package/dist/RadioGroup.js +29 -27
  58. package/dist/RadioTab.js +3 -2
  59. package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-CmtnvvUX.js} +42 -42
  60. package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
  61. package/dist/Search.css +1 -1
  62. package/dist/Search.js +136 -129
  63. package/dist/Select.css +1 -1
  64. package/dist/Select.js +259 -257
  65. package/dist/Slider.js +67 -62
  66. package/dist/Stepper.js +34 -27
  67. package/dist/StickyNote.css +1 -0
  68. package/dist/StickyNote.js +49 -0
  69. package/dist/Swiper.js +53 -51
  70. package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-gLuJpoOm.js} +46 -46
  71. package/dist/Table.js +34 -21
  72. package/dist/Tabs.js +165 -156
  73. package/dist/Tag.css +1 -1
  74. package/dist/Tag.js +67 -62
  75. package/dist/Text.js +5 -3
  76. package/dist/Textarea.css +1 -1
  77. package/dist/Textarea.js +26 -18
  78. package/dist/TimePicker.js +24 -23
  79. package/dist/Toast.css +1 -1
  80. package/dist/Toast.js +275 -165
  81. package/dist/Toggle.js +16 -14
  82. package/dist/Tooltip.css +1 -1
  83. package/dist/Tooltip.js +120 -129
  84. package/dist/VariantIcon.js +8 -6
  85. package/dist/VisuallyHidden.js +9 -7
  86. package/dist/WelcomeLoader.js +4 -3
  87. package/dist/XCKGTAUF-CJwwVibW.js +25 -0
  88. package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BwLWwpNF.js} +5 -5
  89. package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
  90. package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
  91. package/dist/scss/breakpoints.scss +9 -0
  92. package/dist/scss/text-ellipsis.scss +5 -0
  93. package/dist/scss/texts.scss +108 -0
  94. package/dist/theme.css +1 -1
  95. package/dist/theme.js +1 -0
  96. package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
  97. package/dist/types/components/Alert/components/Buttons.d.ts +3 -0
  98. package/dist/types/components/Alert/components/Title.d.ts +5 -0
  99. package/dist/types/components/Alert/index.d.ts +7 -3
  100. package/dist/types/components/Alert/types.d.ts +3 -9
  101. package/dist/types/components/Breadcrumb/Item.d.ts +2 -2
  102. package/dist/types/components/Breadcrumb/index.d.ts +1 -1
  103. package/dist/types/components/Breadcrumb/types.d.ts +6 -3
  104. package/dist/types/components/Card/Body.d.ts +2 -3
  105. package/dist/types/components/Card/Footer.d.ts +6 -0
  106. package/dist/types/components/Card/Header.d.ts +5 -0
  107. package/dist/types/components/Card/index.d.ts +7 -8
  108. package/dist/types/components/Card/types.d.ts +16 -3
  109. package/dist/types/components/Checkbox/index.d.ts +1 -2
  110. package/dist/types/components/Checkbox/types.d.ts +3 -1
  111. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +4 -1
  112. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +6 -3
  113. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +4 -1
  114. package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +4 -1
  115. package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
  116. package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
  117. package/dist/types/components/Drawer/components/Close.d.ts +4 -1
  118. package/dist/types/components/Drawer/components/Title.d.ts +4 -1
  119. package/dist/types/components/Drawer/index.d.ts +13 -4
  120. package/dist/types/components/DropdownMenu/Action.d.ts +2 -0
  121. package/dist/types/components/DropdownMenu/Group.d.ts +4 -0
  122. package/dist/types/components/DropdownMenu/Item.d.ts +7 -0
  123. package/dist/types/components/DropdownMenu/Search.d.ts +2 -0
  124. package/dist/types/components/DropdownMenu/Submenu.d.ts +4 -0
  125. package/dist/types/components/DropdownMenu/index.d.ts +11 -0
  126. package/dist/types/components/DropdownMenu/types.d.ts +26 -5
  127. package/dist/types/components/FileDrop/components/FilePreview.d.ts +4 -1
  128. package/dist/types/components/FileDrop/components/Message.d.ts +4 -1
  129. package/dist/types/components/FileDrop/types.d.ts +2 -0
  130. package/dist/types/components/Icon/icons.d.ts +6 -6
  131. package/dist/types/components/Icon/types.d.ts +2 -0
  132. package/dist/types/components/Loader/index.d.ts +4 -1
  133. package/dist/types/components/Modal/Assets/AssetContent.d.ts +4 -1
  134. package/dist/types/components/Modal/Assets/AssetTitle.d.ts +4 -1
  135. package/dist/types/components/Modal/Assets/CloseButton.d.ts +4 -1
  136. package/dist/types/components/Modal/Assets/Dialog.d.ts +4 -1
  137. package/dist/types/components/Modal/Assets/Iframe.d.ts +4 -1
  138. package/dist/types/components/Modal/Assets/index.d.ts +16 -4
  139. package/dist/types/components/Modal/components/Close.d.ts +4 -1
  140. package/dist/types/components/Modal/index.d.ts +16 -4
  141. package/dist/types/components/Pagination/types.d.ts +11 -0
  142. package/dist/types/components/PasswordInput/ToggleButton.d.ts +4 -1
  143. package/dist/types/components/Popover/Arrow.d.ts +4 -1
  144. package/dist/types/components/Popover/ContentWrapper.d.ts +4 -1
  145. package/dist/types/components/Radio/types.d.ts +1 -1
  146. package/dist/types/components/RadioGroup/index.d.ts +4 -1
  147. package/dist/types/components/Stepper/index.d.ts +8 -2
  148. package/dist/types/components/StickyNote/components/Button.d.ts +5 -0
  149. package/dist/types/components/StickyNote/components/Title.d.ts +5 -0
  150. package/dist/types/components/StickyNote/index.d.ts +11 -0
  151. package/dist/types/components/StickyNote/index.test.d.ts +1 -0
  152. package/dist/types/components/StickyNote/types.d.ts +15 -0
  153. package/dist/types/components/Swiper/index.d.ts +4 -1
  154. package/dist/types/components/Table/index.d.ts +20 -5
  155. package/dist/types/components/Tabs/components/ActiveBar/index.d.ts +4 -1
  156. package/dist/types/components/Tag/types.d.ts +4 -2
  157. package/dist/types/components/Textarea/types.d.ts +1 -0
  158. package/dist/types/components/Toast/components/Growl.d.ts +2 -0
  159. package/dist/types/components/Toast/index.d.ts +8 -2
  160. package/dist/types/components/Toast/types.d.ts +8 -9
  161. package/dist/types/components/Tooltip/types.d.ts +1 -1
  162. package/dist/types/theme/types.d.ts +255 -218
  163. package/dist/types/utils/index.d.ts +0 -1
  164. package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
  165. package/dist/utils.js +3 -2
  166. package/package.json +3 -2
  167. package/dist/2W3RN7C5-bkX-rIa3.js +0 -61
  168. package/dist/4I4MLMKD-BLxAidnq.js +0 -43
  169. package/dist/GVVKDT6A-bET6V7Py.js +0 -724
  170. package/dist/SQZLCNLX-CHDXnZ16.js +0 -82
  171. package/dist/XCKGTAUF-DkxWCbaW.js +0 -25
  172. package/dist/index.css +0 -0
  173. package/dist/types/components/Icon/Icon.d.ts +0 -2
  174. package/dist/types/utils/theme/index.d.ts +0 -0
  175. /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
  176. /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
package/dist/Toggle.js CHANGED
@@ -1,12 +1,13 @@
1
1
  "use client";
2
+ import './Toggle.css';
2
3
  import { jsxs as z, jsx as e } from "react/jsx-runtime";
3
- import { C as v } from "./KPUWHTQJ-D2TPji47.js";
4
- import { forwardRef as f } from "react";
5
- 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";
6
7
  import { Icon as n } from "./Icon.js";
7
- import { c as w } from "./index-CdiHdiVB.js";
8
- const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", b = {
9
- 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,
10
11
  "size-sm": "_size-sm_1czvn_82",
11
12
  "size-md": "_size-md_1czvn_88",
12
13
  "size-lg": "_size-lg_1czvn_94",
@@ -14,11 +15,11 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
14
15
  "icon-wrapper": "_icon-wrapper_1czvn_106",
15
16
  checked: u,
16
17
  disabled: x
17
- }, c = w(b), $ = f(
18
- ({ checked: o, className: t, disabled: s, onClick: i, size: r = "md", withVisibilityIcon: a, ...p }, _) => {
19
- 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;
20
21
  return /* @__PURE__ */ z("div", { className: c("wrapper"), onClick: d, children: [
21
- a ? /* @__PURE__ */ e(
22
+ t ? /* @__PURE__ */ e(
22
23
  "div",
23
24
  {
24
25
  className: c(
@@ -34,15 +35,16 @@ const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x
34
35
  v,
35
36
  {
36
37
  checked: o,
37
- className: c("root", `size-${r}`, t),
38
+ className: c("root", `size-${r}`, a),
38
39
  disabled: s,
39
- ref: _,
40
- ...m
40
+ ref: p,
41
+ ..._
41
42
  }
42
43
  )
43
44
  ] });
44
45
  }
45
46
  );
47
+ b.displayName = "Toggle";
46
48
  export {
47
- $ as Toggle
49
+ b as Toggle
48
50
  };
package/dist/Tooltip.css CHANGED
@@ -1 +1 @@
1
- @layer components{._root_aoc8w_2{background-color:var(--color-background-neutral-primary-fixed);border:var(--components-dimensions-tooltip-border-width) solid var(--color-icon-neutral-subtle);border-radius:var(--border-radius-sm);box-sizing:border-box;color:var(--components-colors-tooltip-color-text);font-size:var(--components-dimensions-tooltip-padding-inline);font-weight:var(--font-weight-medium);max-width:12.5rem;padding:var(--border-radius-sm) var(--components-dimensions-tooltip-padding-block);transition-property:opacity,visibility;transition-duration:var(--duration-medium);z-index:10;visibility:var(--visibility, hidden);opacity:var(--opacity, 0)}._root_aoc8w_2[data-enter=true]{--visibility: visible;--opacity: 1}._childItem_aoc8w_22{display:inline-block}}
1
+ @layer components{._root_11jvu_2{display:flex;flex-direction:column;gap:var(--components-dimensions-tooltip-gap-content);background-color:var(--components-colors-tooltip-color-background);border:var(--components-dimensions-tooltip-border-width) solid var(--components-colors-tooltip-color-border);border-radius:var(--components-dimensions-tooltip-border-radius);box-sizing:border-box;color:var(--components-colors-tooltip-color-text);max-width:12.5rem;padding:var(--components-dimensions-tooltip-padding-block) var(--components-dimensions-tooltip-padding-inline);transition-property:opacity,visibility;transition-duration:var(--duration-medium);z-index:10;visibility:var(--visibility, hidden);opacity:var(--opacity, 0);box-shadow:var(--elevation-20)}._root_11jvu_2[data-enter=true]{--visibility: visible;--opacity: 1}._childItem_11jvu_24{display:inline-block}}
package/dist/Tooltip.js CHANGED
@@ -1,24 +1,26 @@
1
1
  "use client";
2
- import { jsx as T, jsxs as $, Fragment as Y } from "react/jsx-runtime";
3
- import { H as J, a as K, u as Q, c as U, b as X, d as Z, e as ee } from "./GVVKDT6A-bET6V7Py.js";
4
- import { e as te, f as x, c as H, b as A, _ as C, i as N, x as oe, a as b, d as z, z as y, q as re, S as ne, u as w, G as D, H as P, I as O } from "./OE2EFRVA-C3721cM3.js";
5
- import { c as se } from "./NI3IVY7K-Ztb3-XAv.js";
6
- import { a as F, c as L, b as ae, d as M, u as ie } from "./RTNCFSKZ-qpPg689E.js";
7
- import ue, { useRef as le, useEffect as g, forwardRef as ce, useState as pe, useCallback as de } from "react";
8
- import { c as ve } from "./index-CdiHdiVB.js";
9
- var k = te(
10
- [K],
11
- [J]
12
- ), me = k.useContext, V = k.useProviderContext, fe = k.ScopedContextProvider, Se = "div", he = H(
13
- function(r) {
14
- var t = r, {
2
+ import './Tooltip.css';
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
+ import ue, { useRef as le, useEffect as H, forwardRef as ce, useState as de, useCallback as pe } from "react";
9
+ import { Text as R } from "./Text.js";
10
+ import { c as ve } from "./index-PAaZGbyz.js";
11
+ var W = te(
12
+ [Q],
13
+ [K]
14
+ ), w = W.useProviderContext, me = W.ScopedContextProvider, fe = "div", he = B(
15
+ function(n) {
16
+ var o = n, {
15
17
  store: e,
16
- portal: c = !0,
18
+ portal: p = !0,
17
19
  gutter: s = 8,
18
- preserveTabOrder: v = !1,
20
+ preserveTabOrder: m = !1,
19
21
  hideOnHoverOutside: d = !0,
20
22
  hideOnInteractOutside: f = !0
21
- } = t, a = C(t, [
23
+ } = o, a = M(o, [
22
24
  "store",
23
25
  "portal",
24
26
  "gutter",
@@ -26,207 +28,196 @@ var k = te(
26
28
  "hideOnHoverOutside",
27
29
  "hideOnInteractOutside"
28
30
  ]);
29
- const p = V();
30
- e = e || p, N(
31
+ const c = w();
32
+ e = e || c, D(
31
33
  e,
32
34
  process.env.NODE_ENV !== "production" && "Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component."
33
35
  ), a = oe(
34
36
  a,
35
- (i) => /* @__PURE__ */ T(fe, { value: e, children: i }),
37
+ (i) => /* @__PURE__ */ h(me, { value: e, children: i }),
36
38
  [e]
37
39
  );
38
40
  const S = e.useState(
39
41
  (i) => i.type === "description" ? "tooltip" : "none"
40
42
  );
41
- return a = b({ role: S }, a), a = Q(z(b({}, a), {
43
+ return a = P({ role: S }, a), a = U(L(P({}, a), {
42
44
  store: e,
43
- portal: c,
45
+ portal: p,
44
46
  gutter: s,
45
- preserveTabOrder: v,
47
+ preserveTabOrder: m,
46
48
  hideOnHoverOutside(i) {
47
- if (y(d, i)) return !1;
49
+ if (x(d, i)) return !1;
48
50
  const u = e == null ? void 0 : e.getState().anchorElement;
49
51
  return u ? !("focusVisible" in u.dataset) : !0;
50
52
  },
51
53
  hideOnInteractOutside: (i) => {
52
- if (y(f, i)) return !1;
54
+ if (x(f, i)) return !1;
53
55
  const u = e == null ? void 0 : e.getState().anchorElement;
54
56
  return u ? !re(u, i.target) : !0;
55
57
  }
56
58
  })), a;
57
59
  }
58
- ), Te = se(
59
- x(function(r) {
60
- const t = he(r);
61
- return A(Se, t);
60
+ ), Se = se(
61
+ $(function(n) {
62
+ const o = he(n);
63
+ return F(fe, o);
62
64
  }),
63
- V
64
- ), be = "div", m = L({
65
+ w
66
+ ), Te = "div", v = z({
65
67
  activeStore: null
66
68
  });
67
- function j(o) {
69
+ function j(t) {
68
70
  return () => {
69
- const { activeStore: r } = m.getState();
70
- r === o && m.setState("activeStore", null);
71
+ const { activeStore: n } = v.getState();
72
+ n === t && v.setState("activeStore", null);
71
73
  };
72
74
  }
73
- var _e = H(
74
- function(r) {
75
- var t = r, { store: e, showOnHover: c = !0 } = t, s = C(t, ["store", "showOnHover"]);
76
- const v = V();
77
- e = e || v, N(
75
+ var be = B(
76
+ function(n) {
77
+ var o = n, { store: e, showOnHover: p = !0 } = o, s = M(o, ["store", "showOnHover"]);
78
+ const m = w();
79
+ e = e || m, D(
78
80
  e,
79
81
  process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."
80
82
  );
81
83
  const d = le(!1);
82
- g(() => F(e, ["mounted"], (n) => {
83
- n.mounted || (d.current = !1);
84
- }), [e]), g(() => {
84
+ H(() => A(e, ["mounted"], (r) => {
85
+ r.mounted || (d.current = !1);
86
+ }), [e]), H(() => {
85
87
  if (e)
86
88
  return ne(
87
89
  // Immediately remove the current store from the global store when
88
90
  // the component unmounts. This is useful, for example, to avoid
89
91
  // showing tooltips immediately on serial tests.
90
92
  j(e),
91
- F(e, ["mounted", "skipTimeout"], (n) => {
93
+ A(e, ["mounted", "skipTimeout"], (r) => {
92
94
  if (!e) return;
93
- if (n.mounted) {
94
- const { activeStore: h } = m.getState();
95
- return h !== e && (h == null || h.hide()), m.setState("activeStore", e);
95
+ if (r.mounted) {
96
+ const { activeStore: T } = v.getState();
97
+ return T !== e && (T == null || T.hide()), v.setState("activeStore", e);
96
98
  }
97
99
  const l = setTimeout(
98
100
  j(e),
99
- n.skipTimeout
101
+ r.skipTimeout
100
102
  );
101
103
  return () => clearTimeout(l);
102
104
  })
103
105
  );
104
106
  }, [e]);
105
- const f = s.onMouseEnter, a = w((n) => {
106
- f == null || f(n), d.current = !0;
107
- }), p = s.onFocusVisible, S = w((n) => {
108
- p == null || p(n), !n.defaultPrevented && (e == null || e.setAnchorElement(n.currentTarget), e == null || e.show());
109
- }), i = s.onBlur, u = w((n) => {
110
- if (i == null || i(n), n.defaultPrevented) return;
111
- const { activeStore: l } = m.getState();
112
- d.current = !1, l === e && m.setState("activeStore", null);
113
- }), _ = e.useState("type"), E = e.useState((n) => {
107
+ const f = s.onMouseEnter, a = g((r) => {
108
+ f == null || f(r), d.current = !0;
109
+ }), c = s.onFocusVisible, S = g((r) => {
110
+ c == null || c(r), !r.defaultPrevented && (e == null || e.setAnchorElement(r.currentTarget), e == null || e.show());
111
+ }), i = s.onBlur, u = g((r) => {
112
+ if (i == null || i(r), r.defaultPrevented) return;
113
+ const { activeStore: l } = v.getState();
114
+ d.current = !1, l === e && v.setState("activeStore", null);
115
+ }), b = e.useState("type"), _ = e.useState((r) => {
114
116
  var l;
115
- return (l = n.contentElement) == null ? void 0 : l.id;
117
+ return (l = r.contentElement) == null ? void 0 : l.id;
116
118
  });
117
- return s = z(b({
118
- "aria-labelledby": _ === "label" ? E : void 0
119
+ return s = L(P({
120
+ "aria-labelledby": b === "label" ? _ : void 0
119
121
  }, s), {
120
122
  onMouseEnter: a,
121
123
  onFocusVisible: S,
122
124
  onBlur: u
123
- }), s = U(b({
125
+ }), s = X(P({
124
126
  store: e,
125
- showOnHover(n) {
126
- if (!d.current || y(c, n)) return !1;
127
- const { activeStore: l } = m.getState();
127
+ showOnHover(r) {
128
+ if (!d.current || x(p, r)) return !1;
129
+ const { activeStore: l } = v.getState();
128
130
  return l ? (e == null || e.show(), !1) : !0;
129
131
  }
130
132
  }, s)), s;
131
133
  }
132
- ), Ee = x(function(r) {
133
- const t = _e(r);
134
- return A(be, t);
135
- }), Pe = "div", Oe = H(
136
- function(r) {
137
- var t = r, { store: e, size: c = 16 } = t, s = C(t, ["store", "size"]);
138
- const v = me();
139
- return e = e || v, N(
140
- e,
141
- process.env.NODE_ENV !== "production" && "TooltipArrow must be wrapped in a Tooltip component."
142
- ), s = X(b({ store: e, size: c }, s)), s;
143
- }
144
- ), we = x(function(r) {
145
- const t = Oe(r);
146
- return A(Pe, t);
134
+ ), _e = $(function(n) {
135
+ const o = be(n);
136
+ return F(Te, o);
147
137
  });
148
- function ye(o = {}) {
149
- var r;
150
- process.env.NODE_ENV !== "production" && o.type === "label" && console.warn(
138
+ function Ee(t = {}) {
139
+ var n;
140
+ process.env.NODE_ENV !== "production" && t.type === "label" && console.warn(
151
141
  "The `type` option on the tooltip store is deprecated.",
152
142
  "Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.",
153
143
  "See https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names"
154
144
  );
155
- const t = (r = o.store) == null ? void 0 : r.getState(), e = Z(D(O({}, o), {
156
- placement: P(
157
- o.placement,
158
- t == null ? void 0 : t.placement,
145
+ const o = (n = t.store) == null ? void 0 : n.getState(), e = Z(V(y({}, t), {
146
+ placement: E(
147
+ t.placement,
148
+ o == null ? void 0 : o.placement,
159
149
  "top"
160
150
  ),
161
- hideTimeout: P(o.hideTimeout, t == null ? void 0 : t.hideTimeout, 0)
162
- })), c = D(O({}, e.getState()), {
163
- type: P(o.type, t == null ? void 0 : t.type, "description"),
164
- skipTimeout: P(o.skipTimeout, t == null ? void 0 : t.skipTimeout, 300)
165
- }), s = L(c, e, o.store);
166
- return O(O({}, e), s);
151
+ hideTimeout: E(t.hideTimeout, o == null ? void 0 : o.hideTimeout, 0)
152
+ })), p = V(y({}, e.getState()), {
153
+ type: E(t.type, o == null ? void 0 : o.type, "description"),
154
+ skipTimeout: E(t.skipTimeout, o == null ? void 0 : o.skipTimeout, 300)
155
+ }), s = z(p, e, t.store);
156
+ return y(y({}, e), s);
167
157
  }
168
- function ge(o, r, t) {
169
- return M(o, t, "type"), M(o, t, "skipTimeout"), ee(o, r, t);
158
+ function ye(t, n, o) {
159
+ return I(t, o, "type"), I(t, o, "skipTimeout"), ee(t, n, o);
170
160
  }
171
- function xe(o = {}) {
172
- const [r, t] = ae(ye, o);
173
- return ge(r, t, o);
161
+ function Pe(t = {}) {
162
+ const [n, o] = ae(Ee, t);
163
+ return ye(n, o, t);
174
164
  }
175
- const He = "_root_aoc8w_2", Ae = "_childItem_aoc8w_22", Ce = {
176
- root: He,
177
- childItem: Ae
178
- }, B = ve(Ce), Fe = ce(
165
+ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
166
+ root: ge,
167
+ childItem: Oe
168
+ }, O = ve(xe), He = ce(
179
169
  ({
180
- children: o,
181
- className: r = "",
182
- content: t,
170
+ children: t,
171
+ className: n = "",
172
+ content: o,
183
173
  fixed: e = !1,
184
- gutter: c = 8,
174
+ gutter: p = 8,
185
175
  placement: s = e ? "top" : "bottom",
186
- withArrow: v = !1,
176
+ title: m,
187
177
  ...d
188
178
  }, f) => {
189
- var I;
190
- const a = xe({ animated: 300, placement: s }), { anchorElement: p, mounted: S, popoverElement: i } = ie(a), { render: u, setState: _ } = a, [E, n] = pe({ x: 0, y: 0 }), l = () => {
179
+ var k;
180
+ const a = Pe({ animated: 300, placement: s }), { anchorElement: c, mounted: S, popoverElement: i } = ie(a), { render: u, setState: b } = a, [_, r] = de({ x: 0, y: 0 }), l = () => {
191
181
  i && Object.assign(i.style, {
192
182
  display: S ? "block" : "none",
193
- left: `${E.x}px`,
183
+ left: `${_.x}px`,
194
184
  position: "absolute",
195
- top: `${E.y + window.scrollY + 20}px`
185
+ top: `${_.y + window.scrollY + 20}px`
196
186
  });
197
- }, h = de(() => {
198
- _("animating", !1);
199
- }, [_]), q = (I = o == null ? void 0 : o.props) != null && I.disabled ? ue.Children.only(/* @__PURE__ */ T("span", { className: B("childItem"), children: o })) : o;
200
- return g(() => {
201
- function R({ clientX: G, clientY: W }) {
202
- n({ x: G, y: W }), u();
187
+ }, T = pe(() => {
188
+ b("animating", !1);
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
+ return H(() => {
191
+ function N({ clientX: q, clientY: G }) {
192
+ r({ x: q, y: G }), u();
203
193
  }
204
- if (p && !e)
205
- return p.addEventListener("mousemove", R), () => {
206
- p.removeEventListener("mousemove", R);
194
+ if (c && !e)
195
+ return c.addEventListener("mousemove", N), () => {
196
+ c.removeEventListener("mousemove", N);
207
197
  };
208
- }, [u, e, p]), t ? /* @__PURE__ */ $(Y, { children: [
209
- /* @__PURE__ */ T(Ee, { render: q, store: a }),
210
- /* @__PURE__ */ $(
211
- Te,
198
+ }, [u, e, c]), o ? /* @__PURE__ */ C(J, { children: [
199
+ /* @__PURE__ */ h(_e, { render: Y, store: a }),
200
+ /* @__PURE__ */ C(
201
+ Se,
212
202
  {
213
- className: B("root", r),
203
+ className: O("root", n),
214
204
  fixed: e,
215
- gutter: c,
216
- onTransitionEnd: h,
205
+ gutter: p,
206
+ onTransitionEnd: T,
217
207
  ref: f,
218
- render: /* @__PURE__ */ T("div", { ...d }),
208
+ render: /* @__PURE__ */ h("div", { ...d }),
219
209
  store: a,
220
210
  updatePosition: e ? void 0 : l,
221
211
  children: [
222
- v ? /* @__PURE__ */ T(we, {}) : null,
223
- t
212
+ m ? /* @__PURE__ */ h(R, { as: "span", className: O("title"), variant: "label-md-strong", children: m }) : null,
213
+ /* @__PURE__ */ h(R, { as: "span", variant: "body-md-strong", children: o })
224
214
  ]
225
215
  }
226
216
  )
227
- ] }) : o;
217
+ ] }) : t;
228
218
  }
229
219
  );
220
+ He.displayName = "Tooltip";
230
221
  export {
231
- Fe as Tooltip
222
+ He as Tooltip
232
223
  };
@@ -1,8 +1,9 @@
1
1
  "use client";
2
- import { jsx as o } from "react/jsx-runtime";
2
+ import './VariantIcon.css';
3
+ import { jsx as n } from "react/jsx-runtime";
3
4
  import { forwardRef as s } from "react";
4
5
  import { Icon as e } from "./Icon.js";
5
- import { c as _ } from "./index-CdiHdiVB.js";
6
+ import { c as _ } from "./index-PAaZGbyz.js";
6
7
  const m = "_root_iop02_2", p = {
7
8
  root: m,
8
9
  "variant-ai": "_variant-ai_iop02_9",
@@ -10,8 +11,8 @@ const m = "_root_iop02_2", p = {
10
11
  "variant-info": "_variant-info_iop02_15",
11
12
  "variant-success": "_variant-success_iop02_18",
12
13
  "variant-warning": "_variant-warning_iop02_21"
13
- }, l = _(p), x = s(
14
- ({ className: n, size: i = "md", variant: a, ...r }, c) => {
14
+ }, l = _(p), v = s(
15
+ ({ className: o, size: i = "md", variant: a, ...r }, c) => {
15
16
  const t = {
16
17
  ai: "sparkles",
17
18
  danger: "exclamation-octagon",
@@ -19,9 +20,10 @@ const m = "_root_iop02_2", p = {
19
20
  success: "check-circle",
20
21
  warning: "exclamation-circle"
21
22
  }[a];
22
- 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 }) });
23
24
  }
24
25
  );
26
+ v.displayName = "VariantIcon";
25
27
  export {
26
- x as VariantIcon
28
+ v as VariantIcon
27
29
  };
@@ -1,13 +1,15 @@
1
1
  "use client";
2
+ import './VisuallyHidden.css';
2
3
  import { jsx as r } from "react/jsx-runtime";
3
- import { c as a } from "./index-CdiHdiVB.js";
4
- import { f as c } from "./forwardRefWithAs-8eP3ZN15.js";
4
+ import { c as a } from "./index-PAaZGbyz.js";
5
+ import { f as e } from "./forwardRefWithAs-8eP3ZN15.js";
5
6
  import "react";
6
- const e = "_root_w3556_2", m = {
7
- root: e
8
- }, i = a(m), d = c(
9
- ({ 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 })
10
11
  );
12
+ l.displayName = "VisuallyHidden";
11
13
  export {
12
- d as VisuallyHidden
14
+ l as VisuallyHidden
13
15
  };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as As } from "react/jsx-runtime";
3
- import { a as br, c as Ps } from "./index-CdiHdiVB.js";
3
+ import { a as br, c as Ps } from "./index-PAaZGbyz.js";
4
4
  import ws, { forwardRef as Cs } from "react";
5
5
  var Ke = { exports: {} }, Es = Ke.exports, _r;
6
6
  function Ms() {
@@ -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-C1N0q8Kn.js";
3
- import { e as t } from "./OE2EFRVA-C3721cM3.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]
@@ -9,7 +9,7 @@ e.useScopedContext;
9
9
  var i = e.useProviderContext, n = e.ContextProvider, s = e.ScopedContextProvider;
10
10
  export {
11
11
  s as P,
12
- n as a,
13
- x as b,
14
- i as u
12
+ i as a,
13
+ n as b,
14
+ x as u
15
15
  };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { u } from "./NMGNQVTG-C6TqBngP.js";
3
- import { b as c } from "./T22PY7TE-C1N0q8Kn.js";
4
- import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-C3721cM3.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,5 +1,5 @@
1
1
  "use client";
2
- import { P as n, a as ve } from "./tslib.es6-DpB4Y59c.js";
2
+ import { P as n, a as ve } from "./tslib.es6-C80jYMbM.js";
3
3
  import { cloneElement as et, Component as tt } from "react";
4
4
  function Z(t, o) {
5
5
  if (t == null) return {};
@@ -0,0 +1,9 @@
1
+ /* screens - auto-generated from token.ts - do not edit directly */
2
+ $breakpoint-xs: 0px;
3
+ $breakpoint-sm: 480px;
4
+ $breakpoint-md: 736px;
5
+ $breakpoint-lg: 980px;
6
+ $breakpoint-xl: 1280px;
7
+ $breakpoint-2xl: 1440px;
8
+ $breakpoint-3xl: 1620px;
9
+ $breakpoint-4xl: 1920px;
@@ -0,0 +1,5 @@
1
+ @mixin text-ellipsis {
2
+ white-space: nowrap;
3
+ overflow: hidden;
4
+ text-overflow: ellipsis;
5
+ }