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

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 (102) hide show
  1. package/README.md +1 -1
  2. package/dist/{2W3RN7C5-bkX-rIa3.js → 2W3RN7C5-uG7eBeTQ.js} +11 -11
  3. package/dist/4I4MLMKD-z3Xm3qCo.js +150 -0
  4. package/dist/Accordion.js +4 -4
  5. package/dist/Alert.js +1 -1
  6. package/dist/AspectRatio.js +1 -1
  7. package/dist/Avatar.js +1 -1
  8. package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BDa2-8JK.js} +2 -2
  9. package/dist/Badge.js +1 -1
  10. package/dist/Breadcrumb.css +1 -1
  11. package/dist/Breadcrumb.js +165 -151
  12. package/dist/Button.js +2 -2
  13. package/dist/ButtonGroup.js +1 -1
  14. package/dist/Card.js +1 -1
  15. package/dist/Checkbox.js +2 -2
  16. package/dist/CloseButton.css +1 -1
  17. package/dist/CloseButton.js +12 -12
  18. package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-C-2xDjIv.js} +3 -3
  19. package/dist/DatePicker.js +2 -2
  20. package/dist/DateTimePicker.js +2 -2
  21. package/dist/Drawer.js +25 -22
  22. package/dist/DropdownMenu.js +41 -41
  23. package/dist/Field.js +1 -1
  24. package/dist/FieldGroup.js +1 -1
  25. package/dist/FileDrop.js +2 -2
  26. package/dist/FileUpload.js +1 -1
  27. package/dist/GVVKDT6A-C66-lr0B.js +619 -0
  28. package/dist/Hint.js +1 -1
  29. package/dist/Icon.css +1 -1
  30. package/dist/Icon.js +32 -24
  31. package/dist/InputText.js +1 -1
  32. package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Byij2al4.js} +11 -11
  33. package/dist/Label.js +1 -1
  34. package/dist/Link.js +20 -19
  35. package/dist/Loader.js +1 -1
  36. package/dist/Logo.js +1 -1
  37. package/dist/Modal.js +5 -5
  38. package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DpF3td-7.js} +115 -115
  39. package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-BgAqqGOq.js} +6 -6
  40. package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-DkdhQLJL.js} +27 -27
  41. package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-wHytlFYu.js} +30 -30
  42. package/dist/Pagination.css +1 -1
  43. package/dist/Pagination.js +155 -76
  44. package/dist/Popover.js +21 -21
  45. package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-LcIdBwa8.js} +16 -16
  46. package/dist/Radio.js +2 -2
  47. package/dist/RadioGroup.js +4 -4
  48. package/dist/RadioTab.js +2 -2
  49. package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-BoxPz2JY.js} +22 -22
  50. package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-CUlXoT69.js} +8 -8
  51. package/dist/Search.js +2 -2
  52. package/dist/Select.js +2 -2
  53. package/dist/Slider.js +1 -1
  54. package/dist/Stepper.js +1 -1
  55. package/dist/Swiper.js +1 -1
  56. package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-CzEDuEn1.js} +21 -21
  57. package/dist/Table.js +1 -1
  58. package/dist/Tabs.js +23 -23
  59. package/dist/Tag.js +1 -1
  60. package/dist/Text.js +1 -1
  61. package/dist/Textarea.js +1 -1
  62. package/dist/TimePicker.js +2 -2
  63. package/dist/Toast.css +1 -1
  64. package/dist/Toast.js +286 -222
  65. package/dist/Toggle.js +2 -2
  66. package/dist/Tooltip.css +1 -1
  67. package/dist/Tooltip.js +118 -129
  68. package/dist/VariantIcon.js +1 -1
  69. package/dist/VisuallyHidden.js +1 -1
  70. package/dist/WelcomeLoader.js +1 -1
  71. package/dist/{XCKGTAUF-DkxWCbaW.js → XCKGTAUF-CahZE721.js} +4 -4
  72. package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BDyUNSJw.js} +5 -5
  73. package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-CjFLRObi.js} +3 -3
  74. package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
  75. package/dist/scss/breakpoints.scss +9 -0
  76. package/dist/scss/text-ellipsis.scss +5 -0
  77. package/dist/scss/texts.scss +108 -0
  78. package/dist/theme.css +1 -1
  79. package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
  80. package/dist/types/components/Breadcrumb/types.d.ts +5 -1
  81. package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
  82. package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
  83. package/dist/types/components/Drawer/index.d.ts +1 -1
  84. package/dist/types/components/Icon/icons.d.ts +4 -5
  85. package/dist/types/components/Icon/types.d.ts +2 -0
  86. package/dist/types/components/Pagination/types.d.ts +11 -0
  87. package/dist/types/components/Toast/components/Growl.d.ts +2 -0
  88. package/dist/types/components/Toast/index.d.ts +4 -1
  89. package/dist/types/components/Toast/types.d.ts +8 -9
  90. package/dist/types/components/Tooltip/types.d.ts +1 -1
  91. package/dist/types/theme/types.d.ts +22 -0
  92. package/dist/types/utils/index.d.ts +0 -1
  93. package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
  94. package/dist/utils.js +2 -2
  95. package/package.json +2 -1
  96. package/dist/4I4MLMKD-BLxAidnq.js +0 -43
  97. package/dist/GVVKDT6A-bET6V7Py.js +0 -724
  98. package/dist/index.css +0 -0
  99. package/dist/types/components/Icon/Icon.d.ts +0 -2
  100. package/dist/types/utils/theme/index.d.ts +0 -0
  101. /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
  102. /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
package/dist/Toggle.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { jsxs as z, jsx as e } from "react/jsx-runtime";
3
- import { C as v } from "./KPUWHTQJ-D2TPji47.js";
3
+ import { C as v } from "./KPUWHTQJ-Byij2al4.js";
4
4
  import { forwardRef as f } from "react";
5
5
  import { useField as h } from "./Field.js";
6
6
  import { Icon as n } from "./Icon.js";
7
- import { c as w } from "./index-CdiHdiVB.js";
7
+ import { c as w } from "./index-PAaZGbyz.js";
8
8
  const g = "_root_1czvn_2", k = "_wrapper_1czvn_100", u = "_checked_1czvn_120", x = "_disabled_1czvn_124", b = {
9
9
  root: g,
10
10
  "size-sm": "_size-sm_1czvn_82",
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,25 @@
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 { jsx as h, jsxs as N, Fragment as J } from "react/jsx-runtime";
3
+ import { H as K, a as Q, u as U, b as X, c as Z, d as ee } from "./GVVKDT6A-C66-lr0B.js";
4
+ 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";
5
+ import { c as se } from "./NI3IVY7K-DpF3td-7.js";
6
+ import { a as I, c as q, b as ae, d as A, u as ie } from "./RTNCFSKZ-LcIdBwa8.js";
7
+ import ue, { useRef as le, useEffect as H, forwardRef as ce, useState as de, useCallback as pe } from "react";
8
+ import { Text as R } from "./Text.js";
9
+ import { c as ve } from "./index-PAaZGbyz.js";
10
+ var z = te(
11
+ [Q],
12
+ [K]
13
+ ), w = z.useProviderContext, me = z.ScopedContextProvider, fe = "div", he = F(
14
+ function(n) {
15
+ var o = n, {
15
16
  store: e,
16
- portal: c = !0,
17
+ portal: p = !0,
17
18
  gutter: s = 8,
18
- preserveTabOrder: v = !1,
19
+ preserveTabOrder: m = !1,
19
20
  hideOnHoverOutside: d = !0,
20
21
  hideOnInteractOutside: f = !0
21
- } = t, a = C(t, [
22
+ } = o, a = B(o, [
22
23
  "store",
23
24
  "portal",
24
25
  "gutter",
@@ -26,207 +27,195 @@ var k = te(
26
27
  "hideOnHoverOutside",
27
28
  "hideOnInteractOutside"
28
29
  ]);
29
- const p = V();
30
- e = e || p, N(
30
+ const c = w();
31
+ e = e || c, D(
31
32
  e,
32
33
  process.env.NODE_ENV !== "production" && "Tooltip must receive a `store` prop or be wrapped in a TooltipProvider component."
33
34
  ), a = oe(
34
35
  a,
35
- (i) => /* @__PURE__ */ T(fe, { value: e, children: i }),
36
+ (i) => /* @__PURE__ */ h(me, { value: e, children: i }),
36
37
  [e]
37
38
  );
38
39
  const S = e.useState(
39
40
  (i) => i.type === "description" ? "tooltip" : "none"
40
41
  );
41
- return a = b({ role: S }, a), a = Q(z(b({}, a), {
42
+ return a = P({ role: S }, a), a = U(L(P({}, a), {
42
43
  store: e,
43
- portal: c,
44
+ portal: p,
44
45
  gutter: s,
45
- preserveTabOrder: v,
46
+ preserveTabOrder: m,
46
47
  hideOnHoverOutside(i) {
47
- if (y(d, i)) return !1;
48
+ if (x(d, i)) return !1;
48
49
  const u = e == null ? void 0 : e.getState().anchorElement;
49
50
  return u ? !("focusVisible" in u.dataset) : !0;
50
51
  },
51
52
  hideOnInteractOutside: (i) => {
52
- if (y(f, i)) return !1;
53
+ if (x(f, i)) return !1;
53
54
  const u = e == null ? void 0 : e.getState().anchorElement;
54
55
  return u ? !re(u, i.target) : !0;
55
56
  }
56
57
  })), a;
57
58
  }
58
- ), Te = se(
59
- x(function(r) {
60
- const t = he(r);
61
- return A(Se, t);
59
+ ), Se = se(
60
+ $(function(n) {
61
+ const o = he(n);
62
+ return M(fe, o);
62
63
  }),
63
- V
64
- ), be = "div", m = L({
64
+ w
65
+ ), Te = "div", v = q({
65
66
  activeStore: null
66
67
  });
67
- function j(o) {
68
+ function j(t) {
68
69
  return () => {
69
- const { activeStore: r } = m.getState();
70
- r === o && m.setState("activeStore", null);
70
+ const { activeStore: n } = v.getState();
71
+ n === t && v.setState("activeStore", null);
71
72
  };
72
73
  }
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(
74
+ var be = F(
75
+ function(n) {
76
+ var o = n, { store: e, showOnHover: p = !0 } = o, s = B(o, ["store", "showOnHover"]);
77
+ const m = w();
78
+ e = e || m, D(
78
79
  e,
79
80
  process.env.NODE_ENV !== "production" && "TooltipAnchor must receive a `store` prop or be wrapped in a TooltipProvider component."
80
81
  );
81
82
  const d = le(!1);
82
- g(() => F(e, ["mounted"], (n) => {
83
- n.mounted || (d.current = !1);
84
- }), [e]), g(() => {
83
+ H(() => I(e, ["mounted"], (r) => {
84
+ r.mounted || (d.current = !1);
85
+ }), [e]), H(() => {
85
86
  if (e)
86
87
  return ne(
87
88
  // Immediately remove the current store from the global store when
88
89
  // the component unmounts. This is useful, for example, to avoid
89
90
  // showing tooltips immediately on serial tests.
90
91
  j(e),
91
- F(e, ["mounted", "skipTimeout"], (n) => {
92
+ I(e, ["mounted", "skipTimeout"], (r) => {
92
93
  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);
94
+ if (r.mounted) {
95
+ const { activeStore: T } = v.getState();
96
+ return T !== e && (T == null || T.hide()), v.setState("activeStore", e);
96
97
  }
97
98
  const l = setTimeout(
98
99
  j(e),
99
- n.skipTimeout
100
+ r.skipTimeout
100
101
  );
101
102
  return () => clearTimeout(l);
102
103
  })
103
104
  );
104
105
  }, [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) => {
106
+ const f = s.onMouseEnter, a = g((r) => {
107
+ f == null || f(r), d.current = !0;
108
+ }), c = s.onFocusVisible, S = g((r) => {
109
+ c == null || c(r), !r.defaultPrevented && (e == null || e.setAnchorElement(r.currentTarget), e == null || e.show());
110
+ }), i = s.onBlur, u = g((r) => {
111
+ if (i == null || i(r), r.defaultPrevented) return;
112
+ const { activeStore: l } = v.getState();
113
+ d.current = !1, l === e && v.setState("activeStore", null);
114
+ }), b = e.useState("type"), _ = e.useState((r) => {
114
115
  var l;
115
- return (l = n.contentElement) == null ? void 0 : l.id;
116
+ return (l = r.contentElement) == null ? void 0 : l.id;
116
117
  });
117
- return s = z(b({
118
- "aria-labelledby": _ === "label" ? E : void 0
118
+ return s = L(P({
119
+ "aria-labelledby": b === "label" ? _ : void 0
119
120
  }, s), {
120
121
  onMouseEnter: a,
121
122
  onFocusVisible: S,
122
123
  onBlur: u
123
- }), s = U(b({
124
+ }), s = X(P({
124
125
  store: e,
125
- showOnHover(n) {
126
- if (!d.current || y(c, n)) return !1;
127
- const { activeStore: l } = m.getState();
126
+ showOnHover(r) {
127
+ if (!d.current || x(p, r)) return !1;
128
+ const { activeStore: l } = v.getState();
128
129
  return l ? (e == null || e.show(), !1) : !0;
129
130
  }
130
131
  }, s)), s;
131
132
  }
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);
133
+ ), _e = $(function(n) {
134
+ const o = be(n);
135
+ return M(Te, o);
147
136
  });
148
- function ye(o = {}) {
149
- var r;
150
- process.env.NODE_ENV !== "production" && o.type === "label" && console.warn(
137
+ function Ee(t = {}) {
138
+ var n;
139
+ process.env.NODE_ENV !== "production" && t.type === "label" && console.warn(
151
140
  "The `type` option on the tooltip store is deprecated.",
152
141
  "Render a visually hidden label or use the `aria-label` or `aria-labelledby` attributes on the anchor element instead.",
153
142
  "See https://ariakit.org/components/tooltip#tooltip-anchors-must-have-accessible-names"
154
143
  );
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,
144
+ const o = (n = t.store) == null ? void 0 : n.getState(), e = Z(V(y({}, t), {
145
+ placement: E(
146
+ t.placement,
147
+ o == null ? void 0 : o.placement,
159
148
  "top"
160
149
  ),
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);
150
+ hideTimeout: E(t.hideTimeout, o == null ? void 0 : o.hideTimeout, 0)
151
+ })), p = V(y({}, e.getState()), {
152
+ type: E(t.type, o == null ? void 0 : o.type, "description"),
153
+ skipTimeout: E(t.skipTimeout, o == null ? void 0 : o.skipTimeout, 300)
154
+ }), s = q(p, e, t.store);
155
+ return y(y({}, e), s);
167
156
  }
168
- function ge(o, r, t) {
169
- return M(o, t, "type"), M(o, t, "skipTimeout"), ee(o, r, t);
157
+ function ye(t, n, o) {
158
+ return A(t, o, "type"), A(t, o, "skipTimeout"), ee(t, n, o);
170
159
  }
171
- function xe(o = {}) {
172
- const [r, t] = ae(ye, o);
173
- return ge(r, t, o);
160
+ function Pe(t = {}) {
161
+ const [n, o] = ae(Ee, t);
162
+ return ye(n, o, t);
174
163
  }
175
- const He = "_root_aoc8w_2", Ae = "_childItem_aoc8w_22", Ce = {
176
- root: He,
177
- childItem: Ae
178
- }, B = ve(Ce), Fe = ce(
164
+ const ge = "_root_11jvu_2", Oe = "_childItem_11jvu_24", xe = {
165
+ root: ge,
166
+ childItem: Oe
167
+ }, O = ve(xe), Re = ce(
179
168
  ({
180
- children: o,
181
- className: r = "",
182
- content: t,
169
+ children: t,
170
+ className: n = "",
171
+ content: o,
183
172
  fixed: e = !1,
184
- gutter: c = 8,
173
+ gutter: p = 8,
185
174
  placement: s = e ? "top" : "bottom",
186
- withArrow: v = !1,
175
+ title: m,
187
176
  ...d
188
177
  }, 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 = () => {
178
+ var k;
179
+ 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
180
  i && Object.assign(i.style, {
192
181
  display: S ? "block" : "none",
193
- left: `${E.x}px`,
182
+ left: `${_.x}px`,
194
183
  position: "absolute",
195
- top: `${E.y + window.scrollY + 20}px`
184
+ top: `${_.y + window.scrollY + 20}px`
196
185
  });
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();
186
+ }, T = pe(() => {
187
+ b("animating", !1);
188
+ }, [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
+ return H(() => {
190
+ function C({ clientX: W, clientY: Y }) {
191
+ r({ x: W, y: Y }), u();
203
192
  }
204
- if (p && !e)
205
- return p.addEventListener("mousemove", R), () => {
206
- p.removeEventListener("mousemove", R);
193
+ if (c && !e)
194
+ return c.addEventListener("mousemove", C), () => {
195
+ c.removeEventListener("mousemove", C);
207
196
  };
208
- }, [u, e, p]), t ? /* @__PURE__ */ $(Y, { children: [
209
- /* @__PURE__ */ T(Ee, { render: q, store: a }),
210
- /* @__PURE__ */ $(
211
- Te,
197
+ }, [u, e, c]), o ? /* @__PURE__ */ N(J, { children: [
198
+ /* @__PURE__ */ h(_e, { render: G, store: a }),
199
+ /* @__PURE__ */ N(
200
+ Se,
212
201
  {
213
- className: B("root", r),
202
+ className: O("root", n),
214
203
  fixed: e,
215
- gutter: c,
216
- onTransitionEnd: h,
204
+ gutter: p,
205
+ onTransitionEnd: T,
217
206
  ref: f,
218
- render: /* @__PURE__ */ T("div", { ...d }),
207
+ render: /* @__PURE__ */ h("div", { ...d }),
219
208
  store: a,
220
209
  updatePosition: e ? void 0 : l,
221
210
  children: [
222
- v ? /* @__PURE__ */ T(we, {}) : null,
223
- t
211
+ m ? /* @__PURE__ */ h(R, { as: "span", className: O("title"), variant: "label-md-strong", children: m }) : null,
212
+ /* @__PURE__ */ h(R, { as: "span", variant: "body-md-strong", children: o })
224
213
  ]
225
214
  }
226
215
  )
227
- ] }) : o;
216
+ ] }) : t;
228
217
  }
229
218
  );
230
219
  export {
231
- Fe as Tooltip
220
+ Re as Tooltip
232
221
  };
@@ -2,7 +2,7 @@
2
2
  import { jsx as o } from "react/jsx-runtime";
3
3
  import { forwardRef as s } from "react";
4
4
  import { Icon as e } from "./Icon.js";
5
- import { c as _ } from "./index-CdiHdiVB.js";
5
+ import { c as _ } from "./index-PAaZGbyz.js";
6
6
  const m = "_root_iop02_2", p = {
7
7
  root: m,
8
8
  "variant-ai": "_variant-ai_iop02_9",
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import { c as a } from "./index-CdiHdiVB.js";
3
+ import { c as a } from "./index-PAaZGbyz.js";
4
4
  import { f as c } from "./forwardRefWithAs-8eP3ZN15.js";
5
5
  import "react";
6
6
  const e = "_root_w3556_2", m = {
@@ -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() {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { u as f } from "./2W3RN7C5-bkX-rIa3.js";
3
- import { f as c, c as m, b as i, N as B, O as u, d as l, p as d, a as v } from "./OE2EFRVA-C3721cM3.js";
2
+ import { u as f } from "./2W3RN7C5-uG7eBeTQ.js";
3
+ import { f as c, c as m, b as i, O as B, P as u, d as l, p as d, a as v } from "./OE2EFRVA-DkdhQLJL.js";
4
4
  import { useRef as N, useState as g, useEffect as _ } from "react";
5
5
  var s = "button", b = m(
6
6
  function(t) {
@@ -15,11 +15,11 @@ var s = "button", b = m(
15
15
  ref: d(e, t.ref)
16
16
  }), t = f(t), t;
17
17
  }
18
- ), P = c(function(t) {
18
+ ), E = c(function(t) {
19
19
  const e = b(t);
20
20
  return i(s, e);
21
21
  });
22
22
  export {
23
- P as B,
23
+ E as B,
24
24
  b as u
25
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-CzEDuEn1.js";
3
+ import { e as t } from "./OE2EFRVA-DkdhQLJL.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-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";
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
+ }
@@ -0,0 +1,108 @@
1
+ @mixin h0 {
2
+ color: #000000;
3
+ font-family: welcome-font, sans-serif;
4
+ font-size: 4.0625rem;
5
+ font-weight: 600;
6
+ letter-spacing: -0.10625rem;
7
+ line-height: 4.5rem;
8
+ }
9
+
10
+ @mixin h1 {
11
+ color: #000000;
12
+ font-family: welcome-font, sans-serif;
13
+ font-size: 2.8125rem;
14
+ font-weight: 600;
15
+ letter-spacing: -0.075rem;
16
+ line-height: 3rem;
17
+ }
18
+
19
+ @mixin h2 {
20
+ color: #000000;
21
+ font-family: welcome-font, sans-serif;
22
+ font-size: 2.25rem;
23
+ font-weight: 600;
24
+ letter-spacing: -0.0625rem;
25
+ line-height: 2.5rem;
26
+ }
27
+
28
+ @mixin h3 {
29
+ color: #000000;
30
+ font-family: welcome-font, sans-serif;
31
+ font-size: 1.625rem;
32
+ font-weight: 600;
33
+ letter-spacing: -0.05625rem;
34
+ line-height: 2rem;
35
+ }
36
+
37
+ @mixin h4 {
38
+ color: #000000;
39
+ font-family: welcome-font, sans-serif;
40
+ font-size: 1.25rem;
41
+ font-weight: 600;
42
+ letter-spacing: -0.0375rem;
43
+ line-height: 1.5rem;
44
+ }
45
+
46
+ @mixin h5 {
47
+ color: #000000;
48
+ font-family: welcome-font, sans-serif;
49
+ font-size: 1rem;
50
+ font-weight: 600;
51
+ letter-spacing: -0.03125rem;
52
+ line-height: 1.125rem;
53
+ }
54
+
55
+ @mixin h6 {
56
+ color: #000000;
57
+ font-family: welcome-font, sans-serif;
58
+ font-size: 0.875rem;
59
+ font-weight: 600;
60
+ letter-spacing: -0.03125rem;
61
+ line-height: 1rem;
62
+ }
63
+
64
+ @mixin lg {
65
+ font-size: 1.125rem;
66
+ font-weight: 400;
67
+ letter-spacing: -0.019rem;
68
+ line-height: 1.5rem;
69
+ }
70
+
71
+ @mixin md {
72
+ font-size: 1rem;
73
+ font-weight: 400;
74
+ letter-spacing: -0.019rem;
75
+ line-height: 1.125rem;
76
+ }
77
+
78
+ @mixin sm {
79
+ font-size: 0.875rem;
80
+ font-weight: 400;
81
+ letter-spacing: -0.019rem;
82
+ line-height: 1.125rem;
83
+ }
84
+
85
+ @mixin subtitle-md {
86
+ font-family: welcome-font, sans-serif;
87
+ font-size: 0.8125rem;
88
+ font-weight: 600;
89
+ letter-spacing: -0.0125rem;
90
+ line-height: 1.15;
91
+ text-transform: uppercase;
92
+ }
93
+
94
+ @mixin subtitle-sm {
95
+ font-family: welcome-font, sans-serif;
96
+ font-size: 0.6875rem;
97
+ font-weight: 500;
98
+ letter-spacing: -0.0125rem;
99
+ line-height: 1.15;
100
+ text-transform: uppercase;
101
+ }
102
+
103
+ @mixin xs {
104
+ font-size: 0.75rem;
105
+ font-weight: 400;
106
+ letter-spacing: -0.0125rem;
107
+ line-height: 0.875rem;
108
+ }