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.
- package/README.md +1 -1
- package/dist/{2W3RN7C5-bkX-rIa3.js → 2W3RN7C5-uG7eBeTQ.js} +11 -11
- package/dist/4I4MLMKD-z3Xm3qCo.js +150 -0
- package/dist/Accordion.js +4 -4
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BDa2-8JK.js} +2 -2
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +165 -151
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.js +2 -2
- package/dist/CloseButton.css +1 -1
- package/dist/CloseButton.js +12 -12
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-C-2xDjIv.js} +3 -3
- package/dist/DatePicker.js +2 -2
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.js +25 -22
- package/dist/DropdownMenu.js +41 -41
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +2 -2
- package/dist/FileUpload.js +1 -1
- package/dist/GVVKDT6A-C66-lr0B.js +619 -0
- package/dist/Hint.js +1 -1
- package/dist/Icon.css +1 -1
- package/dist/Icon.js +32 -24
- package/dist/InputText.js +1 -1
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Byij2al4.js} +11 -11
- package/dist/Label.js +1 -1
- package/dist/Link.js +20 -19
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +5 -5
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-DpF3td-7.js} +115 -115
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-BgAqqGOq.js} +6 -6
- package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-DkdhQLJL.js} +27 -27
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-wHytlFYu.js} +30 -30
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +155 -76
- package/dist/Popover.js +21 -21
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-LcIdBwa8.js} +16 -16
- package/dist/Radio.js +2 -2
- package/dist/RadioGroup.js +4 -4
- package/dist/RadioTab.js +2 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-BoxPz2JY.js} +22 -22
- package/dist/{SQZLCNLX-CHDXnZ16.js → SQZLCNLX-CUlXoT69.js} +8 -8
- package/dist/Search.js +2 -2
- package/dist/Select.js +2 -2
- package/dist/Slider.js +1 -1
- package/dist/Stepper.js +1 -1
- package/dist/Swiper.js +1 -1
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-CzEDuEn1.js} +21 -21
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +23 -23
- package/dist/Tag.js +1 -1
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.css +1 -1
- package/dist/Toast.js +286 -222
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +118 -129
- package/dist/VariantIcon.js +1 -1
- package/dist/VisuallyHidden.js +1 -1
- package/dist/WelcomeLoader.js +1 -1
- package/dist/{XCKGTAUF-DkxWCbaW.js → XCKGTAUF-CahZE721.js} +4 -4
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BDyUNSJw.js} +5 -5
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-CjFLRObi.js} +3 -3
- package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/theme.css +1 -1
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +5 -1
- package/dist/types/components/Drawer/AssetDrawer/types.d.ts +3 -0
- package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +1 -1
- package/dist/types/components/Icon/icons.d.ts +4 -5
- package/dist/types/components/Icon/types.d.ts +2 -0
- package/dist/types/components/Pagination/types.d.ts +11 -0
- package/dist/types/components/Toast/components/Growl.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +4 -1
- package/dist/types/components/Toast/types.d.ts +8 -9
- package/dist/types/components/Tooltip/types.d.ts +1 -1
- package/dist/types/theme/types.d.ts +22 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +2 -1
- package/dist/4I4MLMKD-BLxAidnq.js +0 -43
- package/dist/GVVKDT6A-bET6V7Py.js +0 -724
- package/dist/index.css +0 -0
- package/dist/types/components/Icon/Icon.d.ts +0 -2
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
- /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-
|
|
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-
|
|
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{.
|
|
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
|
|
3
|
-
import { H as
|
|
4
|
-
import { e as te, f as
|
|
5
|
-
import { c as se } from "./NI3IVY7K-
|
|
6
|
-
import { a as
|
|
7
|
-
import ue, { useRef as le, useEffect as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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:
|
|
17
|
+
portal: p = !0,
|
|
17
18
|
gutter: s = 8,
|
|
18
|
-
preserveTabOrder:
|
|
19
|
+
preserveTabOrder: m = !1,
|
|
19
20
|
hideOnHoverOutside: d = !0,
|
|
20
21
|
hideOnInteractOutside: f = !0
|
|
21
|
-
} =
|
|
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
|
|
30
|
-
e = e ||
|
|
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__ */
|
|
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 =
|
|
42
|
+
return a = P({ role: S }, a), a = U(L(P({}, a), {
|
|
42
43
|
store: e,
|
|
43
|
-
portal:
|
|
44
|
+
portal: p,
|
|
44
45
|
gutter: s,
|
|
45
|
-
preserveTabOrder:
|
|
46
|
+
preserveTabOrder: m,
|
|
46
47
|
hideOnHoverOutside(i) {
|
|
47
|
-
if (
|
|
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 (
|
|
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
|
-
),
|
|
59
|
-
|
|
60
|
-
const
|
|
61
|
-
return
|
|
59
|
+
), Se = se(
|
|
60
|
+
$(function(n) {
|
|
61
|
+
const o = he(n);
|
|
62
|
+
return M(fe, o);
|
|
62
63
|
}),
|
|
63
|
-
|
|
64
|
-
),
|
|
64
|
+
w
|
|
65
|
+
), Te = "div", v = q({
|
|
65
66
|
activeStore: null
|
|
66
67
|
});
|
|
67
|
-
function j(
|
|
68
|
+
function j(t) {
|
|
68
69
|
return () => {
|
|
69
|
-
const { activeStore:
|
|
70
|
-
|
|
70
|
+
const { activeStore: n } = v.getState();
|
|
71
|
+
n === t && v.setState("activeStore", null);
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
|
-
var
|
|
74
|
-
function(
|
|
75
|
-
var
|
|
76
|
-
const
|
|
77
|
-
e = e ||
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
}), [e]),
|
|
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
|
-
|
|
92
|
+
I(e, ["mounted", "skipTimeout"], (r) => {
|
|
92
93
|
if (!e) return;
|
|
93
|
-
if (
|
|
94
|
-
const { activeStore:
|
|
95
|
-
return
|
|
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
|
-
|
|
100
|
+
r.skipTimeout
|
|
100
101
|
);
|
|
101
102
|
return () => clearTimeout(l);
|
|
102
103
|
})
|
|
103
104
|
);
|
|
104
105
|
}, [e]);
|
|
105
|
-
const f = s.onMouseEnter, a =
|
|
106
|
-
f == null || f(
|
|
107
|
-
}),
|
|
108
|
-
|
|
109
|
-
}), i = s.onBlur, u =
|
|
110
|
-
if (i == null || i(
|
|
111
|
-
const { activeStore: l } =
|
|
112
|
-
d.current = !1, l === e &&
|
|
113
|
-
}),
|
|
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 =
|
|
116
|
+
return (l = r.contentElement) == null ? void 0 : l.id;
|
|
116
117
|
});
|
|
117
|
-
return s =
|
|
118
|
-
"aria-labelledby":
|
|
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 =
|
|
124
|
+
}), s = X(P({
|
|
124
125
|
store: e,
|
|
125
|
-
showOnHover(
|
|
126
|
-
if (!d.current ||
|
|
127
|
-
const { activeStore: l } =
|
|
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
|
-
),
|
|
133
|
-
const
|
|
134
|
-
return
|
|
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
|
|
149
|
-
var
|
|
150
|
-
process.env.NODE_ENV !== "production" &&
|
|
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
|
|
156
|
-
placement:
|
|
157
|
-
|
|
158
|
-
|
|
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:
|
|
162
|
-
})),
|
|
163
|
-
type:
|
|
164
|
-
skipTimeout:
|
|
165
|
-
}), s =
|
|
166
|
-
return
|
|
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
|
|
169
|
-
return
|
|
157
|
+
function ye(t, n, o) {
|
|
158
|
+
return A(t, o, "type"), A(t, o, "skipTimeout"), ee(t, n, o);
|
|
170
159
|
}
|
|
171
|
-
function
|
|
172
|
-
const [
|
|
173
|
-
return
|
|
160
|
+
function Pe(t = {}) {
|
|
161
|
+
const [n, o] = ae(Ee, t);
|
|
162
|
+
return ye(n, o, t);
|
|
174
163
|
}
|
|
175
|
-
const
|
|
176
|
-
root:
|
|
177
|
-
childItem:
|
|
178
|
-
},
|
|
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:
|
|
181
|
-
className:
|
|
182
|
-
content:
|
|
169
|
+
children: t,
|
|
170
|
+
className: n = "",
|
|
171
|
+
content: o,
|
|
183
172
|
fixed: e = !1,
|
|
184
|
-
gutter:
|
|
173
|
+
gutter: p = 8,
|
|
185
174
|
placement: s = e ? "top" : "bottom",
|
|
186
|
-
|
|
175
|
+
title: m,
|
|
187
176
|
...d
|
|
188
177
|
}, f) => {
|
|
189
|
-
var
|
|
190
|
-
const a =
|
|
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: `${
|
|
182
|
+
left: `${_.x}px`,
|
|
194
183
|
position: "absolute",
|
|
195
|
-
top: `${
|
|
184
|
+
top: `${_.y + window.scrollY + 20}px`
|
|
196
185
|
});
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
}, [
|
|
200
|
-
return
|
|
201
|
-
function
|
|
202
|
-
|
|
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 (
|
|
205
|
-
return
|
|
206
|
-
|
|
193
|
+
if (c && !e)
|
|
194
|
+
return c.addEventListener("mousemove", C), () => {
|
|
195
|
+
c.removeEventListener("mousemove", C);
|
|
207
196
|
};
|
|
208
|
-
}, [u, e,
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
|
|
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:
|
|
202
|
+
className: O("root", n),
|
|
214
203
|
fixed: e,
|
|
215
|
-
gutter:
|
|
216
|
-
onTransitionEnd:
|
|
204
|
+
gutter: p,
|
|
205
|
+
onTransitionEnd: T,
|
|
217
206
|
ref: f,
|
|
218
|
-
render: /* @__PURE__ */
|
|
207
|
+
render: /* @__PURE__ */ h("div", { ...d }),
|
|
219
208
|
store: a,
|
|
220
209
|
updatePosition: e ? void 0 : l,
|
|
221
210
|
children: [
|
|
222
|
-
|
|
223
|
-
|
|
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
|
-
] }) :
|
|
216
|
+
] }) : t;
|
|
228
217
|
}
|
|
229
218
|
);
|
|
230
219
|
export {
|
|
231
|
-
|
|
220
|
+
Re as Tooltip
|
|
232
221
|
};
|
package/dist/VariantIcon.js
CHANGED
|
@@ -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-
|
|
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",
|
package/dist/VisuallyHidden.js
CHANGED
|
@@ -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-
|
|
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 = {
|
package/dist/WelcomeLoader.js
CHANGED
|
@@ -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-
|
|
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-
|
|
3
|
-
import { f as c, c as m, b as i,
|
|
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
|
-
),
|
|
18
|
+
), E = c(function(t) {
|
|
19
19
|
const e = b(t);
|
|
20
20
|
return i(s, e);
|
|
21
21
|
});
|
|
22
22
|
export {
|
|
23
|
-
|
|
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-
|
|
3
|
-
import { e as t } from "./OE2EFRVA-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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-
|
|
3
|
-
import { b as c } from "./T22PY7TE-
|
|
4
|
-
import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-
|
|
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"]);
|
|
@@ -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,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
|
+
}
|