@brightlocal/ui-components 2.11.0 → 2.13.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.
Files changed (154) hide show
  1. package/component-meta.json +474 -27
  2. package/dist/blocks/data-table.cjs +1 -1
  3. package/dist/blocks/data-table.d.ts +16 -4
  4. package/dist/blocks/data-table.d.ts.map +1 -1
  5. package/dist/blocks/data-table.js +57 -53
  6. package/dist/blocks/input-list.cjs +2 -2
  7. package/dist/blocks/input-list.d.ts +7 -1
  8. package/dist/blocks/input-list.d.ts.map +1 -1
  9. package/dist/blocks/input-list.js +82 -81
  10. package/dist/blocks/sidebar.cjs +1 -1
  11. package/dist/blocks/sidebar.d.ts +221 -11
  12. package/dist/blocks/sidebar.d.ts.map +1 -1
  13. package/dist/blocks/sidebar.js +687 -406
  14. package/dist/breadcrumb.cjs +1 -1
  15. package/dist/breadcrumb.d.ts +14 -2
  16. package/dist/breadcrumb.d.ts.map +1 -1
  17. package/dist/breadcrumb.js +37 -37
  18. package/dist/callout.cjs +1 -1
  19. package/dist/callout.d.ts +3 -3
  20. package/dist/callout.d.ts.map +1 -1
  21. package/dist/callout.js +2 -1
  22. package/dist/carousel.cjs +1 -1
  23. package/dist/carousel.d.ts +24 -3
  24. package/dist/carousel.d.ts.map +1 -1
  25. package/dist/carousel.js +121 -117
  26. package/dist/chip.cjs +1 -1
  27. package/dist/chip.d.ts +11 -0
  28. package/dist/chip.d.ts.map +1 -1
  29. package/dist/chip.js +43 -38
  30. package/dist/combobox.cjs +3 -3
  31. package/dist/combobox.d.ts +20 -2
  32. package/dist/combobox.d.ts.map +1 -1
  33. package/dist/combobox.js +244 -238
  34. package/dist/command.cjs +1 -1
  35. package/dist/command.d.ts +5 -0
  36. package/dist/command.d.ts.map +1 -1
  37. package/dist/command.js +207 -206
  38. package/dist/date-picker.cjs +1 -1
  39. package/dist/date-picker.d.ts +10 -0
  40. package/dist/date-picker.d.ts.map +1 -1
  41. package/dist/date-picker.js +96 -96
  42. package/dist/dialog.cjs +1 -1
  43. package/dist/dialog.d.ts +7 -2
  44. package/dist/dialog.d.ts.map +1 -1
  45. package/dist/dialog.js +38 -30
  46. package/dist/drawer.d.ts +2 -2
  47. package/dist/dropdown-menu.cjs +1 -1
  48. package/dist/dropdown-menu.js +1 -1
  49. package/dist/global-layout.cjs +1 -1
  50. package/dist/global-layout.d.ts +5 -0
  51. package/dist/global-layout.d.ts.map +1 -1
  52. package/dist/global-layout.js +15 -7
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.js +313 -305
  55. package/dist/input-chip.cjs +1 -1
  56. package/dist/input-chip.d.ts +7 -1
  57. package/dist/input-chip.d.ts.map +1 -1
  58. package/dist/input-chip.js +131 -130
  59. package/dist/input-group.d.ts +1 -1
  60. package/dist/input-password.cjs +1 -1
  61. package/dist/input-password.d.ts +10 -0
  62. package/dist/input-password.d.ts.map +1 -1
  63. package/dist/input-password.js +108 -106
  64. package/dist/link.cjs +1 -1
  65. package/dist/link.d.ts +1 -1
  66. package/dist/link.d.ts.map +1 -1
  67. package/dist/link.js +36 -37
  68. package/dist/list.cjs +1 -1
  69. package/dist/list.d.ts +25 -4
  70. package/dist/list.d.ts.map +1 -1
  71. package/dist/list.js +71 -53
  72. package/dist/logo.cjs +1 -1
  73. package/dist/logo.d.ts +6 -1
  74. package/dist/logo.d.ts.map +1 -1
  75. package/dist/logo.js +25 -22
  76. package/dist/map.cjs +1 -1
  77. package/dist/map.d.ts +17 -2
  78. package/dist/map.d.ts.map +1 -1
  79. package/dist/map.js +32 -26
  80. package/dist/pagination.cjs +1 -1
  81. package/dist/pagination.d.ts +29 -3
  82. package/dist/pagination.d.ts.map +1 -1
  83. package/dist/pagination.js +26 -25
  84. package/dist/popover.cjs +1 -1
  85. package/dist/popover.js +7 -7
  86. package/dist/rating.cjs +1 -1
  87. package/dist/rating.d.ts +6 -0
  88. package/dist/rating.d.ts.map +1 -1
  89. package/dist/rating.js +28 -20
  90. package/dist/resizable.d.ts +1 -1
  91. package/dist/select.cjs +2 -2
  92. package/dist/select.d.ts +17 -3
  93. package/dist/select.d.ts.map +1 -1
  94. package/dist/select.js +65 -58
  95. package/dist/separator.cjs +1 -1
  96. package/dist/separator.d.ts +16 -4
  97. package/dist/separator.d.ts.map +1 -1
  98. package/dist/separator.js +38 -35
  99. package/dist/sheet.cjs +1 -1
  100. package/dist/sheet.d.ts +6 -1
  101. package/dist/sheet.d.ts.map +1 -1
  102. package/dist/sheet.js +42 -41
  103. package/dist/skeleton.cjs +1 -1
  104. package/dist/skeleton.d.ts +5 -0
  105. package/dist/skeleton.d.ts.map +1 -1
  106. package/dist/skeleton.js +13 -11
  107. package/dist/table.cjs +1 -1
  108. package/dist/table.d.ts +14 -0
  109. package/dist/table.d.ts.map +1 -1
  110. package/dist/table.js +57 -39
  111. package/dist/tabs.cjs +1 -1
  112. package/dist/tabs.d.ts +25 -9
  113. package/dist/tabs.d.ts.map +1 -1
  114. package/dist/tabs.js +128 -113
  115. package/dist/text-reveal-motion.cjs +1 -1
  116. package/dist/text-reveal-motion.d.ts +5 -0
  117. package/dist/text-reveal-motion.d.ts.map +1 -1
  118. package/dist/text-reveal-motion.js +111 -110
  119. package/dist/typography.cjs +1 -1
  120. package/dist/typography.d.ts +1 -2
  121. package/dist/typography.d.ts.map +1 -1
  122. package/dist/typography.js +49 -50
  123. package/package.json +2 -3
  124. package/src/blocks/data-table.tsx +26 -9
  125. package/src/blocks/input-list.tsx +12 -1
  126. package/src/blocks/sidebar.tsx +638 -29
  127. package/src/components/breadcrumb.tsx +43 -26
  128. package/src/components/callout.tsx +5 -4
  129. package/src/components/carousel.tsx +33 -4
  130. package/src/components/chip.tsx +22 -2
  131. package/src/components/combobox.tsx +28 -3
  132. package/src/components/command.tsx +7 -1
  133. package/src/components/date-picker.tsx +17 -3
  134. package/src/components/dialog.tsx +17 -4
  135. package/src/components/drawer.tsx +2 -2
  136. package/src/components/dropdown-menu.tsx +1 -1
  137. package/src/components/global-layout.tsx +15 -2
  138. package/src/components/input-chip.tsx +12 -1
  139. package/src/components/input-password.tsx +73 -49
  140. package/src/components/link.tsx +29 -17
  141. package/src/components/list.tsx +45 -2
  142. package/src/components/logo.tsx +10 -2
  143. package/src/components/map.tsx +23 -0
  144. package/src/components/pagination.tsx +44 -11
  145. package/src/components/popover.tsx +1 -1
  146. package/src/components/rating.tsx +21 -3
  147. package/src/components/select.tsx +33 -3
  148. package/src/components/separator.tsx +40 -25
  149. package/src/components/sheet.tsx +28 -20
  150. package/src/components/skeleton.tsx +13 -2
  151. package/src/components/table.tsx +39 -2
  152. package/src/components/tabs.tsx +195 -146
  153. package/src/components/text-reveal-motion.tsx +7 -1
  154. package/src/components/typography.tsx +6 -7
@@ -1,31 +1,31 @@
1
1
  import { jsx as y, jsxs as O } from "react/jsx-runtime";
2
- import * as gt from "react";
3
- import { useId as It, useMemo as yt, useRef as S, useState as Et, useCallback as Ft, useEffect as st } from "react";
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 Xt } from "@brightlocal/ui-components/lib/utils";
6
- import { usePrefersReducedMotion as $t } from "./hooks/use-prefers-reduced-motion.js";
7
- const Ct = "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", wt = "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", bt = "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, Dt = [
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
- Ct,
12
- bt,
13
- wt
14
- ], Ht = 30, Tt = 15, _t = typeof navigator < "u" && typeof navigator.hardwareConcurrency == "number" && navigator.hardwareConcurrency <= 4;
15
- function qt(f, H, C) {
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, r) {
22
- i.ballX = T, i.clipRight = G, i.rotate = J, i.pathD = r, w || (w = !0, requestAnimationFrame(Z));
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 Rt(f, H) {
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 zt = gt.forwardRef(
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
- trackingEl: Z,
46
- trackingLabel: N,
47
- children: T,
48
- ...G
49
- }, J) => {
50
- const r = Dt, K = 0.8, Q = 180, V = 24, Y = 1, U = $t(), lt = It(), it = yt(
51
- () => `text-reveal-gradient-${lt.replace(/:/g, "")}`,
52
- [lt]
53
- ), tt = S(null), et = S(null), nt = S(null), rt = S(null), ct = S(null), at = S(null), ot = S(null), P = S([]), F = gt.Children.toArray(T), [xt, Mt] = Et({ widths: [], ballSize: 0 }), { widths: d, ballSize: o } = xt, Lt = Ft(
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
- st(() => {
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
- Mt({ widths: u, ballSize: R });
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]), st(() => {
81
+ }, [F.length]), lt(() => {
81
82
  if (U) return;
82
- const n = ct.current;
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 vt(n) {
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
- st(() => {
113
- if (!nt.current || !rt.current || !tt.current || !et.current || !at.current || !ot.current || d.length === 0 || o === 0)
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 = nt.current, t = rt.current, u = tt.current, R = et.current, p = at.current, x = ot.current;
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", r[0]), t.style.opacity = "1";
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 = o * 0.25, l = (d[0] ?? 0) + s + o / 2;
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 }, _ = o * 0.25;
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 = _t ? Tt : Ht, l = [];
133
- for (let M = 0; M < r.length; M++) {
133
+ const s = qt ? _t : Tt, l = [];
134
+ for (let M = 0; M < o.length; M++) {
134
135
  const L = c(
135
- r[M],
136
- r[(M + 1) % r.length]
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 = qt(u, t, n);
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 = -(_ + o / 2), A = L + _ + o / 2, dt = A - v, ut = P.current[M];
149
- if (!ut) break;
150
- k.setItem(ut);
151
- for (let a = 0; a < F.length; a++) {
152
- const h = P.current[a];
153
- h && (h.style.opacity = a === M ? "1" : "0", h.style.clipPath = "inset(0 100% 0 0)");
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 St = l[m % r.length], B = 360, pt = I;
156
- if (await new Promise((a) => {
156
+ const Pt = l[m % o.length], B = 360, mt = I;
157
+ if (await new Promise((r) => {
157
158
  if (e.cancelled) {
158
- a();
159
+ r();
159
160
  return;
160
161
  }
161
162
  const h = j(v, A, {
162
163
  type: "spring",
163
- stiffness: Q * K,
164
- damping: V,
165
- mass: Y,
164
+ stiffness: V * Q,
165
+ damping: Y,
166
+ mass: tt,
166
167
  onUpdate: (g) => {
167
168
  if (e.cancelled) {
168
- h.stop(), a();
169
+ h.stop(), r();
169
170
  return;
170
171
  }
171
- const E = z((g - v) / dt), $ = L > 0 ? 100 - z(g / L) * 100 : 100, D = Math.round(E * s);
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
- pt + E * B,
176
- St[D]
176
+ mt + E * B,
177
+ Pt[D]
177
178
  );
178
179
  },
179
180
  onComplete: () => {
180
- I = pt + B, m = (m + 1) % r.length, a();
181
+ I = mt + B, m = (m + 1) % o.length, r();
181
182
  }
182
183
  });
183
184
  }), e.cancelled) break;
184
- if (w && vt(R), C > 0) {
185
- const a = performance.now(), h = A;
186
- for (; !e.cancelled && performance.now() - a < C && (await Rt(300, e), !(e.cancelled || performance.now() - a >= C)); ) {
187
- const g = (m + 1) % r.length, E = l[m % r.length], $ = I, D = I + 360;
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: (ht) => {
194
- const kt = Math.round(z(ht) * s);
194
+ onUpdate: (gt) => {
195
+ const It = Math.round(z(gt) * s);
195
196
  k(
196
197
  h,
197
198
  0,
198
- $ + ht * (D - $),
199
- E[kt]
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 Pt = l[m % r.length], mt = I;
207
- if (await new Promise((a) => {
207
+ const kt = l[m % o.length], ht = I;
208
+ if (await new Promise((r) => {
208
209
  if (e.cancelled) {
209
- a();
210
+ r();
210
211
  return;
211
212
  }
212
213
  const h = j(A, v, {
213
214
  type: "spring",
214
- stiffness: Q * K,
215
- damping: V,
216
- mass: Y,
215
+ stiffness: V * Q,
216
+ damping: Y,
217
+ mass: tt,
217
218
  onUpdate: (g) => {
218
219
  if (e.cancelled) {
219
- h.stop(), a();
220
+ h.stop(), r();
220
221
  return;
221
222
  }
222
- const E = z(1 - (g - v) / dt), $ = L > 0 ? 100 - z(g / L) * 100 : 100, D = Math.round(E * s);
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
- mt - E * B,
227
- Pt[D]
227
+ ht - E * B,
228
+ kt[D]
228
229
  );
229
230
  },
230
231
  onComplete: () => {
231
- I = mt - B, m = (m + 1) % r.length, a();
232
+ I = ht - B, m = (m + 1) % o.length, r();
232
233
  }
233
234
  });
234
235
  }), e.cancelled) break;
235
- await Rt(300, e), q++;
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
- o,
244
+ a,
244
245
  F.length,
245
246
  U,
246
- K,
247
+ Q,
247
248
  C,
248
249
  w,
249
- Q,
250
250
  V,
251
251
  Y,
252
- r
252
+ tt,
253
+ o
253
254
  ]);
254
- const ft = yt(
255
+ const dt = Ct(
255
256
  () => d.length > 0 ? Math.max(...d) : 0,
256
257
  [d]
257
- ), At = d.length > 0 && o > 0;
258
+ ), St = d.length > 0 && a > 0;
258
259
  return /* @__PURE__ */ y(
259
260
  "div",
260
261
  {
261
- ref: J,
262
- className: Xt("relative inline-flex items-center", f),
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": Z,
266
- "data-tracking-label": N,
266
+ "data-tracking-el": N,
267
+ "data-tracking-label": T,
267
268
  style: {
268
- opacity: At ? 1 : 0,
269
+ opacity: St ? 1 : 0,
269
270
  transition: "opacity 0.4s ease-out"
270
271
  },
271
- ...G,
272
+ ...J,
272
273
  children: /* @__PURE__ */ O(
273
274
  "div",
274
275
  {
275
- ref: at,
276
+ ref: ot,
276
277
  className: "relative flex items-center",
277
278
  style: {
278
- width: ft || void 0,
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: ot,
286
+ ref: st,
286
287
  className: "relative inline-block overflow-hidden",
287
288
  style: {
288
- width: ft || void 0,
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: Lt(t),
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: et,
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: tt,
328
+ ref: et,
328
329
  className: "absolute",
329
330
  style: {
330
- left: -o / 2,
331
+ left: -a / 2,
331
332
  top: "50%",
332
- marginTop: -o / 2,
333
- width: o,
334
- height: o,
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: o,
345
+ height: a,
345
346
  role: "img",
346
347
  style: { overflow: "visible" },
347
348
  viewBox: "-30 -30 560 560",
348
- width: o,
349
+ width: a,
349
350
  xmlns: "http://www.w3.org/2000/svg",
350
351
  children: [
351
- /* @__PURE__ */ y("defs", { children: /* @__PURE__ */ O("linearGradient", { ref: ct, id: it, children: [
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: rt,
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: nt,
368
- d: r[0],
369
- fill: `url(#${it})`
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
- zt.displayName = "TextRevealMotion";
387
+ Nt.displayName = "TextRevealMotion";
387
388
  export {
388
- zt as TextRevealMotion
389
+ Nt as TextRevealMotion
389
390
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),w=require("react"),p=require("@radix-ui/react-slot"),c=require("class-variance-authority"),y=require("@brightlocal/ui-components/lib/utils");function R(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=R(w),V=c.cva("self-stretch text-foreground text-4xl font-extrabold font-sans leading-10 lg:text-5xl lg:font-medium lg:font-display lg:leading-12"),i=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"h1";return d.jsx(l,{ref:s,className:y.cn(V(),a),"data-hook":t,"data-slot":"typography-h1","data-tracking-el":e,"data-tracking-label":r,...n})});i.displayName="TypographyH1";const q=c.cva("text-foreground text-3xl font-semibold font-sans leading-9"),f=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"h2";return d.jsx(l,{ref:s,className:y.cn(q(),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-sans leading-8"),h=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"h3";return d.jsx(l,{ref:s,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 L=c.cva("text-foreground text-xl font-semibold font-sans leading-7"),m=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"h4";return d.jsx(l,{ref:s,className:y.cn(L(),a),"data-hook":t,"data-slot":"typography-h4","data-tracking-el":e,"data-tracking-label":r,...n})});m.displayName="TypographyH4";const O=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},s)=>{const l=o?p.Slot:"p";return d.jsx(l,{ref:s,className:y.cn(O(),a),"data-hook":t,"data-slot":"typography-p","data-tracking-el":e,"data-tracking-label":r,...n})});u.displayName="TypographyP";const x=c.cva("mt-6 border-l-2 pl-6 text-foreground text-base font-normal font-sans"),k=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"blockquote";return d.jsx(l,{ref:s,className:y.cn(x(),a),"data-hook":t,"data-slot":"typography-blockquote","data-tracking-el":e,"data-tracking-label":r,...n})});k.displayName="TypographyBlockquote";const P=c.cva("self-stretch ml-6 list-disc text-foreground text-base font-normal font-sans leading-6"),b=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"ul";return d.jsx(l,{ref:s,className:y.cn(P(),a),"data-hook":t,"data-slot":"typography-list","data-tracking-el":e,"data-tracking-label":r,...n})});b.displayName="TypographyList";const M=c.cva("inline-flex justify-center items-center gap-2 bg-muted rounded-md px-[4.80px] py-[3.20px] text-foreground text-sm font-normal font-mono leading-5"),T=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"code";return d.jsx(l,{ref:s,className:y.cn(M(),a),"data-hook":t,"data-slot":"typography-inline-code","data-tracking-el":e,"data-tracking-label":r,...n})});T.displayName="TypographyInlineCode";const I=c.cva("block w-full p-4 bg-zinc-900 rounded-lg border border-border text-white/50 text-base font-normal font-mono leading-6 overflow-x-auto"),N=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"pre";return d.jsx(l,{ref:s,className:y.cn(I(),a),"data-hook":t,"data-slot":"typography-code","data-tracking-el":e,"data-tracking-label":r,tabIndex:0,...n})});N.displayName="TypographyCode";const B=c.cva("text-muted-foreground text-xl font-normal font-sans leading-7"),S=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"p";return d.jsx(l,{ref:s,className:y.cn(B(),a),"data-hook":t,"data-slot":"typography-lead","data-tracking-el":e,"data-tracking-label":r,...n})});S.displayName="TypographyLead";const _=c.cva("text-foreground text-lg font-semibold font-sans leading-7"),j=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"div";return d.jsx(l,{ref:s,className:y.cn(_(),a),"data-hook":t,"data-slot":"typography-large","data-tracking-el":e,"data-tracking-label":r,...n})});j.displayName="TypographyLarge";const z=c.cva("text-foreground text-sm font-medium font-sans leading-5"),C=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"small";return d.jsx(l,{ref:s,className:y.cn(z(),a),"data-hook":t,"data-slot":"typography-small","data-tracking-el":e,"data-tracking-label":r,...n})});C.displayName="TypographySmall";const D=c.cva("text-muted-foreground text-sm font-medium font-sans leading-5"),v=g.forwardRef(({className:a,asChild:o=!1,dataHook:t,trackingEl:e,trackingLabel:r,...n},s)=>{const l=o?p.Slot:"p";return d.jsx(l,{ref:s,className:y.cn(D(),a),"data-hook":t,"data-slot":"typography-muted","data-tracking-el":e,"data-tracking-label":r,...n})});v.displayName="TypographyMuted";exports.TypographyBlockquote=k;exports.TypographyCode=N;exports.TypographyH1=i;exports.TypographyH2=f;exports.TypographyH3=h;exports.TypographyH4=m;exports.TypographyInlineCode=T;exports.TypographyLarge=j;exports.TypographyLead=S;exports.TypographyList=b;exports.TypographyMuted=v;exports.TypographyP=u;exports.TypographySmall=C;exports.blockquoteVariants=x;
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;
@@ -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, blockquoteVariants, TypographyList, TypographyInlineCode, TypographyCode, TypographyLead, TypographyLarge, TypographySmall, TypographyMuted, };
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
@@ -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,mBA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AE,mBAAmB;CAAG;AAE7D;;;GAGG;AACH,QAAA,MAAM,cAAc,yGA0BnB,CAAC;AAUF;;;GAGG;AACH,UAAU,mBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,mBAAmB;CAAG;AAE3D;;;GAGG;AACH,QAAA,MAAM,cAAc,+GA4BnB,CAAC;AAUF;;;GAGG;AACH,UAAU,oBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,mBAAmB;CAAG;AAE7D;;;GAGG;AACH,QAAA,MAAM,eAAe,0GAyBpB,CAAC;AAUF;;;GAGG;AACH,UAAU,oBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE,mBAAmB;CAAG;AAE/D;;;GAGG;AACH,QAAA,MAAM,eAAe,uGAyBpB,CAAC;AAUF;;;GAGG;AACH,UAAU,oBACR,SAAQ,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,mBAAmB;CAAG;AAE3D;;;GAGG;AACH,QAAA,MAAM,eAAe,gHA4BpB,CAAC;AAMF,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,eAAe,GAChB,CAAC;AAEF,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,GACrB,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;;;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