@brightlocal/ui-components 2.10.0 → 2.12.0
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 +3 -1
- package/component-meta.json +200 -17
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.js +42 -25
- package/dist/blocks/data-table.cjs +1 -1
- package/dist/blocks/data-table.d.ts +16 -4
- package/dist/blocks/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table.js +57 -53
- package/dist/blocks/input-list.cjs +2 -2
- package/dist/blocks/input-list.d.ts +7 -1
- package/dist/blocks/input-list.d.ts.map +1 -1
- package/dist/blocks/input-list.js +82 -81
- package/dist/blocks/sidebar.cjs +1 -1
- package/dist/blocks/sidebar.d.ts +19 -10
- package/dist/blocks/sidebar.d.ts.map +1 -1
- package/dist/blocks/sidebar.js +173 -169
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +14 -2
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.js +37 -37
- package/dist/button.cjs +1 -1
- package/dist/button.js +25 -25
- package/dist/callout.cjs +1 -1
- package/dist/callout.d.ts +3 -3
- package/dist/callout.d.ts.map +1 -1
- package/dist/callout.js +2 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +10 -1
- package/dist/card.d.ts.map +1 -1
- package/dist/card.js +85 -82
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +37 -4
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.js +213 -163
- package/dist/chip.cjs +1 -1
- package/dist/chip.d.ts +11 -0
- package/dist/chip.d.ts.map +1 -1
- package/dist/chip.js +43 -38
- package/dist/combobox.cjs +3 -3
- package/dist/combobox.d.ts +12 -2
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +235 -230
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +106 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.js +385 -120
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.d.ts +10 -0
- package/dist/date-picker.d.ts.map +1 -1
- package/dist/date-picker.js +96 -96
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +7 -2
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.js +38 -30
- package/dist/drawer.d.ts +2 -2
- package/dist/global-layout.cjs +1 -1
- package/dist/global-layout.d.ts +5 -0
- package/dist/global-layout.d.ts.map +1 -1
- package/dist/global-layout.js +15 -7
- package/dist/hooks/use-breakpoint.cjs +1 -1
- package/dist/hooks/use-breakpoint.d.ts.map +1 -1
- package/dist/hooks/use-breakpoint.js +10 -10
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +406 -395
- package/dist/input-chip.cjs +1 -1
- package/dist/input-chip.d.ts +8 -5
- package/dist/input-chip.d.ts.map +1 -1
- package/dist/input-chip.js +164 -170
- package/dist/input-group.d.ts +1 -1
- package/dist/input-password.cjs +1 -1
- package/dist/input-password.d.ts +10 -0
- package/dist/input-password.d.ts.map +1 -1
- package/dist/input-password.js +108 -106
- package/dist/link.cjs +1 -1
- package/dist/link.d.ts +1 -1
- package/dist/link.d.ts.map +1 -1
- package/dist/link.js +36 -37
- package/dist/list.d.ts +1 -1
- package/dist/logo.cjs +1 -1
- package/dist/logo.d.ts +6 -1
- package/dist/logo.d.ts.map +1 -1
- package/dist/logo.js +25 -22
- package/dist/map.cjs +1 -0
- package/dist/map.d.ts +207 -0
- package/dist/map.d.ts.map +1 -0
- package/dist/map.js +256 -0
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +29 -3
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.js +26 -25
- package/dist/rating.cjs +1 -1
- package/dist/rating.d.ts +6 -0
- package/dist/rating.d.ts.map +1 -1
- package/dist/rating.js +27 -19
- package/dist/resizable.d.ts +1 -1
- package/dist/select.cjs +2 -2
- package/dist/select.d.ts +7 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.js +52 -51
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +16 -4
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.js +38 -35
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +6 -1
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.js +42 -41
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +5 -0
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.js +13 -11
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.js +32 -30
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +4 -0
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.js +101 -52
- package/dist/text-reveal-motion.cjs +1 -1
- package/dist/text-reveal-motion.d.ts +5 -0
- package/dist/text-reveal-motion.d.ts.map +1 -1
- package/dist/text-reveal-motion.js +111 -110
- package/dist/typography.cjs +1 -1
- package/dist/typography.d.ts +1 -2
- package/dist/typography.d.ts.map +1 -1
- package/dist/typography.js +49 -50
- package/package.json +4 -5
- package/src/blocks/data-table.tsx +26 -9
- package/src/blocks/input-list.tsx +12 -1
- package/src/blocks/sidebar.tsx +61 -44
- package/src/components/badge.tsx +22 -5
- package/src/components/breadcrumb.tsx +43 -26
- package/src/components/button.tsx +13 -13
- package/src/components/callout.tsx +5 -4
- package/src/components/card.tsx +35 -19
- package/src/components/carousel.tsx +134 -13
- package/src/components/chip.tsx +22 -2
- package/src/components/combobox.tsx +18 -3
- package/src/components/command.tsx +644 -17
- package/src/components/date-picker.tsx +17 -3
- package/src/components/dialog.tsx +17 -4
- package/src/components/drawer.tsx +2 -2
- package/src/components/global-layout.tsx +15 -2
- package/src/components/input-chip.tsx +114 -66
- package/src/components/input-password.tsx +73 -49
- package/src/components/link.tsx +29 -17
- package/src/components/logo.tsx +10 -2
- package/src/components/map.tsx +597 -0
- package/src/components/pagination.tsx +44 -11
- package/src/components/rating.tsx +20 -2
- package/src/components/select.tsx +9 -1
- package/src/components/separator.tsx +40 -25
- package/src/components/sheet.tsx +28 -20
- package/src/components/skeleton.tsx +13 -2
- package/src/components/sonner.tsx +9 -3
- package/src/components/tabs.tsx +118 -22
- package/src/components/text-reveal-motion.tsx +7 -1
- package/src/components/typography.tsx +6 -7
- package/src/hooks/use-breakpoint.ts +2 -3
- package/src/index.ts +1 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx as y, jsxs as O } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import { useId as
|
|
2
|
+
import * as yt from "react";
|
|
3
|
+
import { useId as Et, useMemo as Ct, useRef as S, useState as Ft, useCallback as Xt, useEffect as lt } from "react";
|
|
4
4
|
import { animate as j } from "framer-motion";
|
|
5
|
-
import { cn as
|
|
6
|
-
import { usePrefersReducedMotion as
|
|
7
|
-
const
|
|
8
|
-
Ct,
|
|
5
|
+
import { cn as $t } from "@brightlocal/ui-components/lib/utils";
|
|
6
|
+
import { usePrefersReducedMotion as Dt } from "./hooks/use-prefers-reduced-motion.js";
|
|
7
|
+
const wt = "M250 500C388.071 500 500 388.071 500 250C500 111.929 388.071 0 250 0C111.929 0 0 111.929 0 250C0 388.071 111.929 500 250 500Z", bt = "M492.425 259.355C332.265 293.145 293.145 332.265 259.355 492.425C257.225 502.525 242.775 502.525 240.645 492.425C206.855 332.265 167.735 293.145 7.575 259.355C-2.525 257.225 -2.525 242.775 7.575 240.645C167.735 206.855 206.855 167.735 240.645 7.575C242.775 -2.525 257.225 -2.525 259.355 7.575C293.145 167.735 332.265 206.855 492.425 240.645C502.525 242.775 502.525 257.225 492.425 259.355Z", Rt = "M258.366 5.58795L296.379 97.3854C298.509 102.526 304.729 104.546 309.47 101.636L394.177 49.7215C401.057 45.5112 409.598 51.7117 407.708 59.5523L384.506 156.16C383.206 161.571 387.046 166.861 392.596 167.301L491.645 175.092C499.685 175.722 502.945 185.763 496.815 191.003L421.259 255.528C417.029 259.138 417.029 265.679 421.259 269.299L496.815 333.824C502.945 339.065 499.685 349.106 491.645 349.736L392.596 357.526C387.046 357.966 383.206 363.257 384.506 368.667L407.708 465.275C409.588 473.116 401.047 479.326 394.177 475.106L309.47 423.192C304.729 420.282 298.509 422.302 296.379 427.442L258.366 519.24C255.275 526.69 244.725 526.69 241.634 519.24L203.621 427.442C201.491 422.302 195.271 420.282 190.53 423.192L105.823 475.106C98.9428 479.316 90.4021 473.116 92.2922 465.275L115.494 368.667C116.794 363.257 112.954 357.966 107.403 357.526L8.35543 349.736C0.314784 349.106 -2.94548 339.065 3.18502 333.824L78.7411 269.299C82.9715 265.689 82.9715 259.148 78.7411 255.528L3.18502 191.003C-2.94548 185.763 0.314784 175.722 8.35543 175.092L107.403 167.301C112.954 166.861 116.794 161.571 115.494 156.16L92.2922 59.5523C90.4121 51.7117 98.9528 45.5012 105.823 49.7215L190.53 101.636C195.271 104.546 201.491 102.526 203.621 97.3854L241.634 5.58795C244.725 -1.86265 255.275 -1.86265 258.366 5.58795Z", z = (f) => f < 0 ? 0 : f > 1 ? 1 : f, Ht = [
|
|
9
8
|
wt,
|
|
10
9
|
bt,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
Rt,
|
|
11
|
+
wt,
|
|
12
|
+
Rt,
|
|
13
|
+
bt
|
|
14
|
+
], Tt = 30, _t = 15, qt = typeof navigator < "u" && typeof navigator.hardwareConcurrency == "number" && navigator.hardwareConcurrency <= 4;
|
|
15
|
+
function zt(f, H, C) {
|
|
16
16
|
let w = !1, b = null;
|
|
17
17
|
const i = { ballX: 0, clipRight: 100, rotate: 0, pathD: "" };
|
|
18
18
|
function Z() {
|
|
19
19
|
w = !1, f.style.transform = `translateX(${i.ballX}px)`, b && (b.style.clipPath = `inset(0 ${i.clipRight}% 0 0)`), H.style.transform = `rotate(${i.rotate}deg)`, C.setAttribute("d", i.pathD);
|
|
20
20
|
}
|
|
21
|
-
function N(T, G, J,
|
|
22
|
-
i.ballX = T, i.clipRight = G, i.rotate = J, i.pathD =
|
|
21
|
+
function N(T, G, J, K) {
|
|
22
|
+
i.ballX = T, i.clipRight = G, i.rotate = J, i.pathD = K, w || (w = !0, requestAnimationFrame(Z));
|
|
23
23
|
}
|
|
24
24
|
return N.setItem = (T) => {
|
|
25
25
|
b = T;
|
|
26
26
|
}, N;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function xt(f, H) {
|
|
29
29
|
return new Promise((C) => {
|
|
30
30
|
const w = performance.now();
|
|
31
31
|
function b() {
|
|
@@ -34,7 +34,7 @@ function Rt(f, H) {
|
|
|
34
34
|
requestAnimationFrame(b);
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
-
const
|
|
37
|
+
const Nt = yt.forwardRef(
|
|
38
38
|
({
|
|
39
39
|
className: f,
|
|
40
40
|
dataHook: H,
|
|
@@ -42,21 +42,22 @@ const zt = gt.forwardRef(
|
|
|
42
42
|
shimmer: w = !0,
|
|
43
43
|
gradientFrom: b = "var(--loading-gradient-from)",
|
|
44
44
|
gradientTo: i = "var(--loading-gradient-to)",
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
loadingLabel: Z,
|
|
46
|
+
trackingEl: N,
|
|
47
|
+
trackingLabel: T,
|
|
48
|
+
children: G,
|
|
49
|
+
...J
|
|
50
|
+
}, K) => {
|
|
51
|
+
const o = Ht, Q = 0.8, V = 180, Y = 24, tt = 1, U = Dt(), it = Et(), ct = Ct(
|
|
52
|
+
() => `text-reveal-gradient-${it.replace(/:/g, "")}`,
|
|
53
|
+
[it]
|
|
54
|
+
), et = S(null), nt = S(null), rt = S(null), at = S(null), ft = S(null), ot = S(null), st = S(null), P = S([]), F = yt.Children.toArray(G), [Mt, Lt] = Ft({ widths: [], ballSize: 0 }), { widths: d, ballSize: a } = Mt, vt = Xt(
|
|
54
55
|
(n) => (t) => {
|
|
55
56
|
P.current[n] = t;
|
|
56
57
|
},
|
|
57
58
|
[]
|
|
58
59
|
);
|
|
59
|
-
|
|
60
|
+
lt(() => {
|
|
60
61
|
if (P.current.length === 0 || !P.current[0]) return;
|
|
61
62
|
let n = !1;
|
|
62
63
|
function t() {
|
|
@@ -70,16 +71,16 @@ const zt = gt.forwardRef(
|
|
|
70
71
|
R = Math.round(e * 1.5);
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
|
-
|
|
74
|
+
Lt({ widths: u, ballSize: R });
|
|
74
75
|
}
|
|
75
76
|
return document.fonts.ready.then(() => {
|
|
76
77
|
n || requestAnimationFrame(t);
|
|
77
78
|
}), () => {
|
|
78
79
|
n = !0;
|
|
79
80
|
};
|
|
80
|
-
}, [F.length]),
|
|
81
|
+
}, [F.length]), lt(() => {
|
|
81
82
|
if (U) return;
|
|
82
|
-
const n =
|
|
83
|
+
const n = ft.current;
|
|
83
84
|
if (!n) return;
|
|
84
85
|
const t = n;
|
|
85
86
|
let u, R = null;
|
|
@@ -97,7 +98,7 @@ const zt = gt.forwardRef(
|
|
|
97
98
|
}
|
|
98
99
|
return u = requestAnimationFrame(W), () => cancelAnimationFrame(u);
|
|
99
100
|
}, [U]);
|
|
100
|
-
function
|
|
101
|
+
function At(n) {
|
|
101
102
|
n.style.opacity = "1", j(0, 1, {
|
|
102
103
|
duration: 1.2,
|
|
103
104
|
ease: [0.25, 1, 0.5, 1],
|
|
@@ -109,130 +110,130 @@ const zt = gt.forwardRef(
|
|
|
109
110
|
}
|
|
110
111
|
});
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
-
if (!
|
|
113
|
+
lt(() => {
|
|
114
|
+
if (!rt.current || !at.current || !et.current || !nt.current || !ot.current || !st.current || d.length === 0 || a === 0)
|
|
114
115
|
return;
|
|
115
|
-
const n =
|
|
116
|
+
const n = rt.current, t = at.current, u = et.current, R = nt.current, p = ot.current, x = st.current;
|
|
116
117
|
function X(c) {
|
|
117
118
|
const s = `${c}px`;
|
|
118
119
|
p.style.width = s, x.style.width = s;
|
|
119
120
|
}
|
|
120
121
|
if (U) {
|
|
121
|
-
n.setAttribute("d",
|
|
122
|
+
n.setAttribute("d", o[0]), t.style.opacity = "1";
|
|
122
123
|
const c = P.current[0];
|
|
123
124
|
c && (c.style.opacity = "1", c.style.clipPath = "none"), X(d[0] ?? 0);
|
|
124
|
-
const s =
|
|
125
|
+
const s = a * 0.25, l = (d[0] ?? 0) + s + a / 2;
|
|
125
126
|
u.style.transform = `translateX(${l}px)`;
|
|
126
127
|
return;
|
|
127
128
|
}
|
|
128
|
-
const e = { cancelled: !1 }, _ =
|
|
129
|
+
const e = { cancelled: !1 }, _ = a * 0.25;
|
|
129
130
|
async function W() {
|
|
130
131
|
const { interpolate: c } = await import("flubber");
|
|
131
132
|
if (e.cancelled) return;
|
|
132
|
-
const s =
|
|
133
|
-
for (let M = 0; M <
|
|
133
|
+
const s = qt ? _t : Tt, l = [];
|
|
134
|
+
for (let M = 0; M < o.length; M++) {
|
|
134
135
|
const L = c(
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
o[M],
|
|
137
|
+
o[(M + 1) % o.length]
|
|
137
138
|
), v = [];
|
|
138
139
|
for (let A = 0; A <= s; A++)
|
|
139
140
|
v.push(L(A / s));
|
|
140
141
|
l.push(v);
|
|
141
142
|
}
|
|
142
|
-
const k =
|
|
143
|
+
const k = zt(u, t, n);
|
|
143
144
|
t.style.opacity = "1";
|
|
144
145
|
let q = 0, m = 0, I = 0;
|
|
145
146
|
for (; !e.cancelled; ) {
|
|
146
147
|
const M = q % F.length, L = d[M] ?? 0;
|
|
147
148
|
X(L);
|
|
148
|
-
const v = -(_ +
|
|
149
|
-
if (!
|
|
150
|
-
k.setItem(
|
|
151
|
-
for (let
|
|
152
|
-
const h = P.current[
|
|
153
|
-
h && (h.style.opacity =
|
|
149
|
+
const v = -(_ + a / 2), A = L + _ + a / 2, ut = A - v, pt = P.current[M];
|
|
150
|
+
if (!pt) break;
|
|
151
|
+
k.setItem(pt);
|
|
152
|
+
for (let r = 0; r < F.length; r++) {
|
|
153
|
+
const h = P.current[r];
|
|
154
|
+
h && (h.style.opacity = r === M ? "1" : "0", h.style.clipPath = "inset(0 100% 0 0)");
|
|
154
155
|
}
|
|
155
|
-
const
|
|
156
|
-
if (await new Promise((
|
|
156
|
+
const Pt = l[m % o.length], B = 360, mt = I;
|
|
157
|
+
if (await new Promise((r) => {
|
|
157
158
|
if (e.cancelled) {
|
|
158
|
-
|
|
159
|
+
r();
|
|
159
160
|
return;
|
|
160
161
|
}
|
|
161
162
|
const h = j(v, A, {
|
|
162
163
|
type: "spring",
|
|
163
|
-
stiffness:
|
|
164
|
-
damping:
|
|
165
|
-
mass:
|
|
164
|
+
stiffness: V * Q,
|
|
165
|
+
damping: Y,
|
|
166
|
+
mass: tt,
|
|
166
167
|
onUpdate: (g) => {
|
|
167
168
|
if (e.cancelled) {
|
|
168
|
-
h.stop(),
|
|
169
|
+
h.stop(), r();
|
|
169
170
|
return;
|
|
170
171
|
}
|
|
171
|
-
const E = z((g - v) /
|
|
172
|
+
const E = z((g - v) / ut), $ = L > 0 ? 100 - z(g / L) * 100 : 100, D = Math.round(E * s);
|
|
172
173
|
k(
|
|
173
174
|
g,
|
|
174
175
|
$,
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
mt + E * B,
|
|
177
|
+
Pt[D]
|
|
177
178
|
);
|
|
178
179
|
},
|
|
179
180
|
onComplete: () => {
|
|
180
|
-
I =
|
|
181
|
+
I = mt + B, m = (m + 1) % o.length, r();
|
|
181
182
|
}
|
|
182
183
|
});
|
|
183
184
|
}), e.cancelled) break;
|
|
184
|
-
if (w &&
|
|
185
|
-
const
|
|
186
|
-
for (; !e.cancelled && performance.now() -
|
|
187
|
-
const g = (m + 1) %
|
|
185
|
+
if (w && At(R), C > 0) {
|
|
186
|
+
const r = performance.now(), h = A;
|
|
187
|
+
for (; !e.cancelled && performance.now() - r < C && (await xt(300, e), !(e.cancelled || performance.now() - r >= C)); ) {
|
|
188
|
+
const g = (m + 1) % o.length, E = l[m % o.length], $ = I, D = I + 360;
|
|
188
189
|
await j(0, 1, {
|
|
189
190
|
type: "spring",
|
|
190
191
|
stiffness: 30,
|
|
191
192
|
damping: 9,
|
|
192
193
|
mass: 0.5,
|
|
193
|
-
onUpdate: (
|
|
194
|
-
const
|
|
194
|
+
onUpdate: (gt) => {
|
|
195
|
+
const It = Math.round(z(gt) * s);
|
|
195
196
|
k(
|
|
196
197
|
h,
|
|
197
198
|
0,
|
|
198
|
-
$ +
|
|
199
|
-
E[
|
|
199
|
+
$ + gt * (D - $),
|
|
200
|
+
E[It]
|
|
200
201
|
);
|
|
201
202
|
}
|
|
202
203
|
}), I = D, m = g;
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
206
|
if (e.cancelled) break;
|
|
206
|
-
const
|
|
207
|
-
if (await new Promise((
|
|
207
|
+
const kt = l[m % o.length], ht = I;
|
|
208
|
+
if (await new Promise((r) => {
|
|
208
209
|
if (e.cancelled) {
|
|
209
|
-
|
|
210
|
+
r();
|
|
210
211
|
return;
|
|
211
212
|
}
|
|
212
213
|
const h = j(A, v, {
|
|
213
214
|
type: "spring",
|
|
214
|
-
stiffness:
|
|
215
|
-
damping:
|
|
216
|
-
mass:
|
|
215
|
+
stiffness: V * Q,
|
|
216
|
+
damping: Y,
|
|
217
|
+
mass: tt,
|
|
217
218
|
onUpdate: (g) => {
|
|
218
219
|
if (e.cancelled) {
|
|
219
|
-
h.stop(),
|
|
220
|
+
h.stop(), r();
|
|
220
221
|
return;
|
|
221
222
|
}
|
|
222
|
-
const E = z(1 - (g - v) /
|
|
223
|
+
const E = z(1 - (g - v) / ut), $ = L > 0 ? 100 - z(g / L) * 100 : 100, D = Math.round(E * s);
|
|
223
224
|
k(
|
|
224
225
|
g,
|
|
225
226
|
$,
|
|
226
|
-
|
|
227
|
-
|
|
227
|
+
ht - E * B,
|
|
228
|
+
kt[D]
|
|
228
229
|
);
|
|
229
230
|
},
|
|
230
231
|
onComplete: () => {
|
|
231
|
-
I =
|
|
232
|
+
I = ht - B, m = (m + 1) % o.length, r();
|
|
232
233
|
}
|
|
233
234
|
});
|
|
234
235
|
}), e.cancelled) break;
|
|
235
|
-
await
|
|
236
|
+
await xt(300, e), q++;
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
return W(), () => {
|
|
@@ -240,59 +241,59 @@ const zt = gt.forwardRef(
|
|
|
240
241
|
};
|
|
241
242
|
}, [
|
|
242
243
|
d,
|
|
243
|
-
|
|
244
|
+
a,
|
|
244
245
|
F.length,
|
|
245
246
|
U,
|
|
246
|
-
|
|
247
|
+
Q,
|
|
247
248
|
C,
|
|
248
249
|
w,
|
|
249
|
-
Q,
|
|
250
250
|
V,
|
|
251
251
|
Y,
|
|
252
|
-
|
|
252
|
+
tt,
|
|
253
|
+
o
|
|
253
254
|
]);
|
|
254
|
-
const
|
|
255
|
+
const dt = Ct(
|
|
255
256
|
() => d.length > 0 ? Math.max(...d) : 0,
|
|
256
257
|
[d]
|
|
257
|
-
),
|
|
258
|
+
), St = d.length > 0 && a > 0;
|
|
258
259
|
return /* @__PURE__ */ y(
|
|
259
260
|
"div",
|
|
260
261
|
{
|
|
261
|
-
ref:
|
|
262
|
-
className:
|
|
262
|
+
ref: K,
|
|
263
|
+
className: $t("relative inline-flex items-center", f),
|
|
263
264
|
"data-hook": H,
|
|
264
265
|
"data-slot": "text-reveal",
|
|
265
|
-
"data-tracking-el":
|
|
266
|
-
"data-tracking-label":
|
|
266
|
+
"data-tracking-el": N,
|
|
267
|
+
"data-tracking-label": T,
|
|
267
268
|
style: {
|
|
268
|
-
opacity:
|
|
269
|
+
opacity: St ? 1 : 0,
|
|
269
270
|
transition: "opacity 0.4s ease-out"
|
|
270
271
|
},
|
|
271
|
-
...
|
|
272
|
+
...J,
|
|
272
273
|
children: /* @__PURE__ */ O(
|
|
273
274
|
"div",
|
|
274
275
|
{
|
|
275
|
-
ref:
|
|
276
|
+
ref: ot,
|
|
276
277
|
className: "relative flex items-center",
|
|
277
278
|
style: {
|
|
278
|
-
width:
|
|
279
|
+
width: dt || void 0,
|
|
279
280
|
transition: "width 0.3s ease-out"
|
|
280
281
|
},
|
|
281
282
|
children: [
|
|
282
283
|
/* @__PURE__ */ O(
|
|
283
284
|
"span",
|
|
284
285
|
{
|
|
285
|
-
ref:
|
|
286
|
+
ref: st,
|
|
286
287
|
className: "relative inline-block overflow-hidden",
|
|
287
288
|
style: {
|
|
288
|
-
width:
|
|
289
|
+
width: dt || void 0,
|
|
289
290
|
transition: "width 0.3s ease-out"
|
|
290
291
|
},
|
|
291
292
|
children: [
|
|
292
293
|
F.map((n, t) => /* @__PURE__ */ y(
|
|
293
294
|
"span",
|
|
294
295
|
{
|
|
295
|
-
ref:
|
|
296
|
+
ref: vt(t),
|
|
296
297
|
style: {
|
|
297
298
|
display: "block",
|
|
298
299
|
whiteSpace: "nowrap",
|
|
@@ -308,7 +309,7 @@ const zt = gt.forwardRef(
|
|
|
308
309
|
/* @__PURE__ */ y(
|
|
309
310
|
"div",
|
|
310
311
|
{
|
|
311
|
-
ref:
|
|
312
|
+
ref: nt,
|
|
312
313
|
className: "pointer-events-none absolute inset-0",
|
|
313
314
|
style: {
|
|
314
315
|
opacity: 0,
|
|
@@ -324,38 +325,38 @@ const zt = gt.forwardRef(
|
|
|
324
325
|
/* @__PURE__ */ y(
|
|
325
326
|
"div",
|
|
326
327
|
{
|
|
327
|
-
ref:
|
|
328
|
+
ref: et,
|
|
328
329
|
className: "absolute",
|
|
329
330
|
style: {
|
|
330
|
-
left: -
|
|
331
|
+
left: -a / 2,
|
|
331
332
|
top: "50%",
|
|
332
|
-
marginTop: -
|
|
333
|
-
width:
|
|
334
|
-
height:
|
|
333
|
+
marginTop: -a / 2,
|
|
334
|
+
width: a,
|
|
335
|
+
height: a,
|
|
335
336
|
transform: "translateX(0px)",
|
|
336
337
|
willChange: "transform"
|
|
337
338
|
},
|
|
338
339
|
children: /* @__PURE__ */ O(
|
|
339
340
|
"svg",
|
|
340
341
|
{
|
|
341
|
-
"aria-label": "Loading",
|
|
342
|
+
"aria-label": Z ?? "Loading",
|
|
342
343
|
"data-slot": "text-reveal-ball",
|
|
343
344
|
fill: "none",
|
|
344
|
-
height:
|
|
345
|
+
height: a,
|
|
345
346
|
role: "img",
|
|
346
347
|
style: { overflow: "visible" },
|
|
347
348
|
viewBox: "-30 -30 560 560",
|
|
348
|
-
width:
|
|
349
|
+
width: a,
|
|
349
350
|
xmlns: "http://www.w3.org/2000/svg",
|
|
350
351
|
children: [
|
|
351
|
-
/* @__PURE__ */ y("defs", { children: /* @__PURE__ */ O("linearGradient", { ref:
|
|
352
|
+
/* @__PURE__ */ y("defs", { children: /* @__PURE__ */ O("linearGradient", { ref: ft, id: ct, children: [
|
|
352
353
|
/* @__PURE__ */ y("stop", { offset: "-20%", stopColor: b }),
|
|
353
354
|
/* @__PURE__ */ y("stop", { offset: "120%", stopColor: i })
|
|
354
355
|
] }) }),
|
|
355
356
|
/* @__PURE__ */ y(
|
|
356
357
|
"g",
|
|
357
358
|
{
|
|
358
|
-
ref:
|
|
359
|
+
ref: at,
|
|
359
360
|
style: {
|
|
360
361
|
opacity: 0,
|
|
361
362
|
transformOrigin: "250px 250px",
|
|
@@ -364,9 +365,9 @@ const zt = gt.forwardRef(
|
|
|
364
365
|
children: /* @__PURE__ */ y(
|
|
365
366
|
"path",
|
|
366
367
|
{
|
|
367
|
-
ref:
|
|
368
|
-
d:
|
|
369
|
-
fill: `url(#${
|
|
368
|
+
ref: rt,
|
|
369
|
+
d: o[0],
|
|
370
|
+
fill: `url(#${ct})`
|
|
370
371
|
}
|
|
371
372
|
)
|
|
372
373
|
}
|
|
@@ -383,7 +384,7 @@ const zt = gt.forwardRef(
|
|
|
383
384
|
);
|
|
384
385
|
}
|
|
385
386
|
);
|
|
386
|
-
|
|
387
|
+
Nt.displayName = "TextRevealMotion";
|
|
387
388
|
export {
|
|
388
|
-
|
|
389
|
+
Nt as TextRevealMotion
|
|
389
390
|
};
|
package/dist/typography.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),v=require("react"),p=require("@radix-ui/react-slot"),c=require("class-variance-authority"),y=require("@brightlocal/ui-components/lib/utils");function w(a){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const e=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(o,t,e.get?e:{enumerable:!0,get:()=>a[t]})}}return o.default=a,Object.freeze(o)}const g=w(v),R=c.cva("self-stretch text-foreground text-4xl font-extrabold font-display leading-10 lg:text-5xl lg:leading-12"),i=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"h1";return d.jsx(s,{ref:l,className:y.cn(R(),a),"data-hook":t,"data-slot":"typography-h1","data-tracking-el":e,"data-tracking-label":r,...n})});i.displayName="TypographyH1";const V=c.cva("text-foreground text-3xl font-semibold font-display leading-9"),f=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"h2";return d.jsx(s,{ref:l,className:y.cn(V(),a),"data-hook":t,"data-slot":"typography-h2","data-tracking-el":e,"data-tracking-label":r,...n})});f.displayName="TypographyH2";const H=c.cva("text-foreground text-2xl font-semibold font-display leading-8"),h=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"h3";return d.jsx(s,{ref:l,className:y.cn(H(),a),"data-hook":t,"data-slot":"typography-h3","data-tracking-el":e,"data-tracking-label":r,...n})});h.displayName="TypographyH3";const q=c.cva("text-foreground text-xl font-semibold font-display leading-7"),m=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"h4";return d.jsx(s,{ref:l,className:y.cn(q(),a),"data-hook":t,"data-slot":"typography-h4","data-tracking-el":e,"data-tracking-label":r,...n})});m.displayName="TypographyH4";const L=c.cva("text-foreground text-base font-normal font-sans"),u=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"p";return d.jsx(s,{ref:l,className:y.cn(L(),a),"data-hook":t,"data-slot":"typography-p","data-tracking-el":e,"data-tracking-label":r,...n})});u.displayName="TypographyP";const O=c.cva("mt-6 border-l-2 pl-6 text-foreground text-base font-normal font-sans"),x=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"blockquote";return d.jsx(s,{ref:l,className:y.cn(O(),a),"data-hook":t,"data-slot":"typography-blockquote","data-tracking-el":e,"data-tracking-label":r,...n})});x.displayName="TypographyBlockquote";const P=c.cva("self-stretch ml-6 list-disc text-foreground text-base font-normal font-sans leading-6"),k=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"ul";return d.jsx(s,{ref:l,className:y.cn(P(),a),"data-hook":t,"data-slot":"typography-list","data-tracking-el":e,"data-tracking-label":r,...n})});k.displayName="TypographyList";const M=c.cva("inline-flex justify-center items-center gap-2 bg-muted rounded-md px-1.5 py-0.5 text-foreground text-sm font-normal font-mono leading-5"),b=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"code";return d.jsx(s,{ref:l,className:y.cn(M(),a),"data-hook":t,"data-slot":"typography-inline-code","data-tracking-el":e,"data-tracking-label":r,...n})});b.displayName="TypographyInlineCode";const I=c.cva("block w-full p-4 bg-muted rounded-lg border border-border text-muted-foreground text-base font-normal font-mono leading-6 overflow-x-auto focus-visible:shadow-default outline-none"),T=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"pre";return d.jsx(s,{ref:l,className:y.cn(I(),a),"data-hook":t,"data-slot":"typography-code","data-tracking-el":e,"data-tracking-label":r,tabIndex:0,...n})});T.displayName="TypographyCode";const B=c.cva("text-muted-foreground text-xl font-normal font-sans leading-7"),N=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"p";return d.jsx(s,{ref:l,className:y.cn(B(),a),"data-hook":t,"data-slot":"typography-lead","data-tracking-el":e,"data-tracking-label":r,...n})});N.displayName="TypographyLead";const _=c.cva("text-foreground text-lg font-semibold font-sans leading-7"),S=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"div";return d.jsx(s,{ref:l,className:y.cn(_(),a),"data-hook":t,"data-slot":"typography-large","data-tracking-el":e,"data-tracking-label":r,...n})});S.displayName="TypographyLarge";const D=c.cva("text-foreground text-sm font-medium font-sans leading-5"),j=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"small";return d.jsx(s,{ref:l,className:y.cn(D(),a),"data-hook":t,"data-slot":"typography-small","data-tracking-el":e,"data-tracking-label":r,...n})});j.displayName="TypographySmall";const z=c.cva("text-muted-foreground text-sm font-medium font-sans leading-5"),C=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},l)=>{const s=o?p.Slot:"p";return d.jsx(s,{ref:l,className:y.cn(z(),a),"data-hook":t,"data-slot":"typography-muted","data-tracking-el":e,"data-tracking-label":r,...n})});C.displayName="TypographyMuted";exports.TypographyBlockquote=x;exports.TypographyCode=T;exports.TypographyH1=i;exports.TypographyH2=f;exports.TypographyH3=h;exports.TypographyH4=m;exports.TypographyInlineCode=b;exports.TypographyLarge=S;exports.TypographyLead=N;exports.TypographyList=k;exports.TypographyMuted=C;exports.TypographyP=u;exports.TypographySmall=j;
|
package/dist/typography.d.ts
CHANGED
|
@@ -82,7 +82,6 @@ interface TypographyPProps extends React.ComponentProps<"p">, TypographyBaseProp
|
|
|
82
82
|
* Used for body text and general content.
|
|
83
83
|
*/
|
|
84
84
|
declare const TypographyP: React.ForwardRefExoticComponent<Omit<TypographyPProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
85
|
-
declare const blockquoteVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
86
85
|
/**
|
|
87
86
|
* Props for the TypographyBlockquote component.
|
|
88
87
|
* Extends native blockquote props with design system tracking attributes.
|
|
@@ -171,6 +170,6 @@ interface TypographyMutedProps extends React.ComponentProps<"p">, TypographyBase
|
|
|
171
170
|
* Displays with reduced visual prominence for secondary information.
|
|
172
171
|
*/
|
|
173
172
|
declare const TypographyMuted: React.ForwardRefExoticComponent<Omit<TypographyMutedProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
174
|
-
export { TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyP, TypographyBlockquote,
|
|
173
|
+
export { TypographyH1, TypographyH2, TypographyH3, TypographyH4, TypographyP, TypographyBlockquote, TypographyList, TypographyInlineCode, TypographyCode, TypographyLead, TypographyLarge, TypographySmall, TypographyMuted, };
|
|
175
174
|
export type { TypographyH1Props, TypographyH2Props, TypographyH3Props, TypographyH4Props, TypographyPProps, TypographyBlockquoteProps, TypographyListProps, TypographyInlineCodeProps, TypographyCodeProps, TypographyLeadProps, TypographyLargeProps, TypographySmallProps, TypographyMutedProps, };
|
|
176
175
|
//# sourceMappingURL=typography.d.ts.map
|
package/dist/typography.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/components/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,UAAU,mBAAmB;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AASD;;;GAGG;AACH,UAAU,iBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,YAAY,2GAyBjB,CAAC;AAUF;;;GAGG;AACH,UAAU,iBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,YAAY,2GAyBjB,CAAC;AAUF;;;GAGG;AACH,UAAU,iBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,YAAY,2GAyBjB,CAAC;AAUF;;;GAGG;AACH,UAAU,iBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,mBAAmB;CAAG;AAE5D;;;GAGG;AACH,QAAA,MAAM,YAAY,2GAyBjB,CAAC;AAQF;;;GAGG;AACH,UAAU,gBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,mBAAmB;CAAG;AAE3D;;;GAGG;AACH,QAAA,MAAM,WAAW,4GAyBhB,CAAC;
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/components/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B;;;GAGG;AACH,UAAU,mBAAmB;IAC3B;;;;OAIG;I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