docthub-core-components 2.99.2 → 3.1.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/dist/components/overrides/ui/auto-complete.js +466 -0
- package/dist/components/overrides/ui/autocomplete-checkbox.js +480 -0
- package/dist/components/overrides/ui/chips/doct-chip.js +157 -0
- package/dist/components/overrides/ui/circular-progress.js +32 -0
- package/dist/components/overrides/ui/composed/address-form-section.js +67 -0
- package/dist/components/overrides/ui/composed/contact-form-section.js +56 -0
- package/dist/components/overrides/ui/composed/search-filter-section.js +132 -0
- package/dist/components/overrides/ui/composed/user-registration-section.js +77 -0
- package/dist/components/overrides/ui/currencyInput/currency-input.js +69 -0
- package/dist/components/overrides/ui/doct-animation-loader.js +13 -0
- package/dist/components/overrides/ui/expandable-card.js +115 -0
- package/dist/components/overrides/ui/footer/doct-footer.js +35 -0
- package/dist/components/overrides/ui/footer/footer-desktop.js +92 -0
- package/dist/components/overrides/ui/footer/footer-mobile.js +123 -0
- package/dist/components/overrides/ui/footer/footer-routes.js +87 -0
- package/dist/components/overrides/ui/footer/footer-shared.js +137 -0
- package/dist/components/overrides/ui/footer/presets.js +269 -0
- package/dist/components/overrides/ui/inputs/labeled-input.js +92 -0
- package/dist/components/overrides/ui/inputs/otp-input.js +101 -0
- package/dist/components/overrides/ui/inputs/password-input.js +77 -0
- package/dist/components/overrides/ui/inputs/phone-input.js +336 -0
- package/dist/components/overrides/ui/navigation-menu/doct-navigation-menu.js +22 -0
- package/dist/components/overrides/ui/navigation-menu/individual-nav-routes.js +46 -0
- package/dist/components/overrides/ui/navigation-menu/individual-navigation-menu-desktop.js +109 -0
- package/dist/components/overrides/ui/navigation-menu/individual-navigation-menu-mobile.js +231 -0
- package/dist/components/overrides/ui/navigation-menu/individual-navigation-menu.js +44 -0
- package/dist/components/overrides/ui/navigation-menu/nav-env.js +64 -0
- package/dist/components/overrides/ui/navigation-menu/navigation-menu-adapter.js +55 -0
- package/dist/components/overrides/ui/navigation-menu/navigation-menu-internal.js +36 -0
- package/dist/components/overrides/ui/navigation-menu/organization-nav-routes.js +34 -0
- package/dist/components/overrides/ui/navigation-menu/organization-navigation-menu-desktop.js +109 -0
- package/dist/components/overrides/ui/navigation-menu/organization-navigation-menu-mobile.js +231 -0
- package/dist/components/overrides/ui/navigation-menu/organization-navigation-menu.js +44 -0
- package/dist/components/overrides/ui/navigation-menu/presets.js +238 -0
- package/dist/components/overrides/ui/navigation-menu/types.js +6 -0
- package/dist/components/overrides/ui/pickers/date-picker-field.js +361 -0
- package/dist/components/overrides/ui/pickers/date-range-picker-field.js +288 -0
- package/dist/components/overrides/ui/pickers/day-picker-bounds.js +38 -0
- package/dist/components/overrides/ui/pickers/select-field.js +158 -0
- package/dist/components/overrides/ui/search/auto-complete.js +64 -0
- package/dist/components/overrides/ui/search/search-input.js +65 -0
- package/dist/components/overrides/ui/showcase/component-section.js +45 -0
- package/dist/components/ui/alert.js +94 -0
- package/dist/components/ui/avatar.js +69 -0
- package/dist/components/ui/badge.js +37 -0
- package/dist/components/ui/breadcrumb.js +117 -0
- package/dist/components/ui/button.js +223 -0
- package/dist/components/ui/calendar.js +100 -0
- package/dist/components/ui/checkbox.js +57 -0
- package/dist/components/ui/collapsible.js +25 -0
- package/dist/components/ui/command.js +132 -0
- package/dist/components/ui/dialog.js +230 -0
- package/dist/components/ui/drawer.js +119 -0
- package/dist/components/ui/dropdown-menu.js +216 -0
- package/dist/components/ui/input.js +48 -0
- package/dist/components/ui/label.js +22 -0
- package/dist/components/ui/popover.js +181 -0
- package/dist/components/ui/progress.js +91 -0
- package/dist/components/ui/radio-group.js +49 -0
- package/dist/components/ui/select.js +169 -0
- package/dist/components/ui/skeleton.js +91 -0
- package/dist/components/ui/spinner.js +32 -0
- package/dist/components/ui/tabs.js +68 -0
- package/dist/components/ui/textarea.js +73 -0
- package/dist/components/ui/timeline.js +177 -0
- package/dist/components/ui/toast.js +82 -0
- package/dist/components/ui/tooltip.js +91 -0
- package/dist/components/ui/typography.js +213 -0
- package/dist/hooks/use-exclusive-dropdown.js +53 -0
- package/dist/hooks/use-mobile.js +19 -0
- package/dist/hooks/useAutocompleteCheckbox.js +204 -0
- package/dist/index.esm.js +7173 -7126
- package/dist/index.js +187 -0
- package/dist/lib/dropdown-manager.js +17 -0
- package/dist/lib/get-floating-dropdown-position.js +32 -0
- package/dist/lib/get-scroll-parents.js +20 -0
- package/dist/lib/slot.js +40 -0
- package/dist/lib/utils.js +9 -0
- package/dist/src/components/ui/alert.d.ts +1 -1
- package/dist/src/components/ui/button.d.ts +1 -1
- package/dist/src/components/ui/command.d.ts +3 -3
- package/dist/src/components/ui/timeline.d.ts +1 -1
- package/dist/src/index.d.ts +15 -15
- package/dist/src/lib/get-floating-dropdown-position.d.ts +9 -1
- package/dist/src/lib/get-scroll-parents.d.ts +6 -0
- package/dist/style.css +1 -1
- package/dist/util/getInputClasses.js +19 -0
- package/package.json +131 -132
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as Q, jsxs as F } from "react/jsx-runtime";
|
|
3
|
+
import { c as Y } from "react-compiler-runtime";
|
|
4
|
+
import * as C from "react";
|
|
5
|
+
import { cn as U } from "../../lib/utils.js";
|
|
6
|
+
const Z = C.forwardRef((M, S) => {
|
|
7
|
+
const e = Y(62);
|
|
8
|
+
let I, d, L, T, r, E, a, j, s, o, n, l, c, N, y, t;
|
|
9
|
+
e[0] !== M ? ({
|
|
10
|
+
label: a,
|
|
11
|
+
helperText: r,
|
|
12
|
+
errorText: T,
|
|
13
|
+
error: L,
|
|
14
|
+
required: l,
|
|
15
|
+
className: d,
|
|
16
|
+
placeholder: N,
|
|
17
|
+
rows: y,
|
|
18
|
+
showCharCount: c,
|
|
19
|
+
maxLength: j,
|
|
20
|
+
characterLimit: I,
|
|
21
|
+
onChange: s,
|
|
22
|
+
onValueChange: o,
|
|
23
|
+
value: t,
|
|
24
|
+
id: E,
|
|
25
|
+
...n
|
|
26
|
+
} = M, e[0] = M, e[1] = I, e[2] = d, e[3] = L, e[4] = T, e[5] = r, e[6] = E, e[7] = a, e[8] = j, e[9] = s, e[10] = o, e[11] = n, e[12] = l, e[13] = c, e[14] = N, e[15] = y, e[16] = t) : (I = e[1], d = e[2], L = e[3], T = e[4], r = e[5], E = e[6], a = e[7], j = e[8], s = e[9], o = e[10], n = e[11], l = e[12], c = e[13], N = e[14], y = e[15], t = e[16]);
|
|
27
|
+
const W = N === void 0 ? "Write here..." : N, $ = y === void 0 ? 4 : y, [A, D] = C.useState(typeof t == "string" ? t.length : 0), X = C.useId(), f = E ?? X, m = T || L, w = !!m, i = I || j, k = C.useId();
|
|
28
|
+
let q, R;
|
|
29
|
+
e[17] !== t ? (q = () => {
|
|
30
|
+
typeof t == "string" ? D(t.length) : t == null && D(0);
|
|
31
|
+
}, R = [t], e[17] = t, e[18] = q, e[19] = R) : (q = e[18], R = e[19]), C.useEffect(q, R);
|
|
32
|
+
let z;
|
|
33
|
+
e[20] !== s || e[21] !== o ? (z = (P) => {
|
|
34
|
+
D(P.target.value.length), s == null || s(P), o == null || o(P.target.value);
|
|
35
|
+
}, e[20] = s, e[21] = o, e[22] = z) : z = e[22];
|
|
36
|
+
const G = z;
|
|
37
|
+
let u;
|
|
38
|
+
e[23] !== d ? (u = U("space-y-1", d), e[23] = d, e[24] = u) : u = e[24];
|
|
39
|
+
let h;
|
|
40
|
+
e[25] !== f || e[26] !== a || e[27] !== l ? (h = a && /* @__PURE__ */ F("label", { htmlFor: f, className: "block text-sm font-medium text-foreground", children: [
|
|
41
|
+
a,
|
|
42
|
+
l && /* @__PURE__ */ Q("span", { className: "text-destructive ml-1", children: "*" })
|
|
43
|
+
] }), e[25] = f, e[26] = a, e[27] = l, e[28] = h) : h = e[28];
|
|
44
|
+
const H = w ? "border-destructive" : "border-input";
|
|
45
|
+
let x;
|
|
46
|
+
e[29] !== H ? (x = U("flex min-h-[80px] w-full rounded-md border bg-background px-3 py-2 text-base", "placeholder:text-muted-foreground", "focus-visible:outline-none", "disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", H, "resize-none"), e[29] = H, e[30] = x) : x = e[30];
|
|
47
|
+
const J = w || void 0, K = l || void 0, O = r || m ? k : void 0;
|
|
48
|
+
let p;
|
|
49
|
+
e[31] !== f || e[32] !== i || e[33] !== G || e[34] !== W || e[35] !== n || e[36] !== S || e[37] !== l || e[38] !== $ || e[39] !== J || e[40] !== K || e[41] !== O || e[42] !== x || e[43] !== t ? (p = /* @__PURE__ */ Q("textarea", { ref: S, id: f, placeholder: W, rows: $, maxLength: i, value: t, onChange: G, required: l, className: x, "aria-invalid": J, "aria-required": K, "aria-describedby": O, ...n }), e[31] = f, e[32] = i, e[33] = G, e[34] = W, e[35] = n, e[36] = S, e[37] = l, e[38] = $, e[39] = J, e[40] = K, e[41] = O, e[42] = x, e[43] = t, e[44] = p) : p = e[44];
|
|
50
|
+
let v;
|
|
51
|
+
e[45] !== A || e[46] !== i || e[47] !== c ? (v = c && i && /* @__PURE__ */ F("div", { className: "absolute bottom-2 right-2 text-xs text-muted-foreground", children: [
|
|
52
|
+
A,
|
|
53
|
+
" / ",
|
|
54
|
+
i
|
|
55
|
+
] }), e[45] = A, e[46] = i, e[47] = c, e[48] = v) : v = e[48];
|
|
56
|
+
let g;
|
|
57
|
+
e[49] !== p || e[50] !== v ? (g = /* @__PURE__ */ F("div", { className: "relative", children: [
|
|
58
|
+
p,
|
|
59
|
+
v
|
|
60
|
+
] }), e[49] = p, e[50] = v, e[51] = g) : g = e[51];
|
|
61
|
+
let b;
|
|
62
|
+
e[52] !== m || e[53] !== w || e[54] !== k || e[55] !== r ? (b = (r || m) && /* @__PURE__ */ Q("p", { id: k, className: U("text-xs", w ? "text-destructive" : "text-muted-foreground"), children: m || r }), e[52] = m, e[53] = w, e[54] = k, e[55] = r, e[56] = b) : b = e[56];
|
|
63
|
+
let B;
|
|
64
|
+
return e[57] !== g || e[58] !== b || e[59] !== u || e[60] !== h ? (B = /* @__PURE__ */ F("div", { className: u, children: [
|
|
65
|
+
h,
|
|
66
|
+
g,
|
|
67
|
+
b
|
|
68
|
+
] }), e[57] = g, e[58] = b, e[59] = u, e[60] = h, e[61] = B) : B = e[61], B;
|
|
69
|
+
});
|
|
70
|
+
Z.displayName = "Textarea";
|
|
71
|
+
export {
|
|
72
|
+
Z as Textarea
|
|
73
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as a, jsxs as N, Fragment as J } from "react/jsx-runtime";
|
|
3
|
+
import { c as O } from "react-compiler-runtime";
|
|
4
|
+
import { cva as K } from "class-variance-authority";
|
|
5
|
+
import * as P from "react";
|
|
6
|
+
import { cn as i } from "../../lib/utils.js";
|
|
7
|
+
const Q = K("absolute bg-current", {
|
|
8
|
+
variants: {
|
|
9
|
+
thickness: {
|
|
10
|
+
thin: "w-px",
|
|
11
|
+
normal: "w-[2px]",
|
|
12
|
+
thick: "w-[3px]"
|
|
13
|
+
},
|
|
14
|
+
inset: {
|
|
15
|
+
none: "top-0 bottom-0",
|
|
16
|
+
sm: "top-2 bottom-2",
|
|
17
|
+
md: "top-3 bottom-3",
|
|
18
|
+
lg: "top-4 bottom-4"
|
|
19
|
+
},
|
|
20
|
+
offset: {
|
|
21
|
+
sm: "left-2.5",
|
|
22
|
+
md: "left-3",
|
|
23
|
+
lg: "left-3.5"
|
|
24
|
+
},
|
|
25
|
+
color: {
|
|
26
|
+
teal: "text-[#CDECF1]",
|
|
27
|
+
gray: "text-gray-200",
|
|
28
|
+
primary: "text-primary/30"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
defaultVariants: {
|
|
32
|
+
thickness: "normal",
|
|
33
|
+
inset: "md",
|
|
34
|
+
offset: "sm",
|
|
35
|
+
color: "teal"
|
|
36
|
+
}
|
|
37
|
+
}), U = K("absolute -translate-x-1/2 transform z-10 rounded-full bg-current", {
|
|
38
|
+
variants: {
|
|
39
|
+
size: {
|
|
40
|
+
sm: "h-2 w-2",
|
|
41
|
+
md: "h-2.5 w-2.5",
|
|
42
|
+
lg: "h-3 w-3"
|
|
43
|
+
},
|
|
44
|
+
offset: {
|
|
45
|
+
sm: "left-2.5",
|
|
46
|
+
md: "left-3",
|
|
47
|
+
lg: "left-3.5"
|
|
48
|
+
},
|
|
49
|
+
color: {
|
|
50
|
+
teal: "text-[#32B3C9]",
|
|
51
|
+
gray: "text-gray-400",
|
|
52
|
+
primary: "text-primary"
|
|
53
|
+
},
|
|
54
|
+
y: {
|
|
55
|
+
base: "top-1"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
size: "md",
|
|
60
|
+
offset: "sm",
|
|
61
|
+
color: "teal",
|
|
62
|
+
y: "base"
|
|
63
|
+
}
|
|
64
|
+
}), X = K("", {
|
|
65
|
+
variants: {
|
|
66
|
+
density: {
|
|
67
|
+
compact: "space-y-4",
|
|
68
|
+
comfortable: "space-y-6",
|
|
69
|
+
card: "space-y-8"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
density: "comfortable"
|
|
74
|
+
}
|
|
75
|
+
}), Y = K("", {
|
|
76
|
+
variants: {
|
|
77
|
+
indent: {
|
|
78
|
+
sm: "ml-7",
|
|
79
|
+
md: "ml-8",
|
|
80
|
+
lg: "ml-9"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
defaultVariants: {
|
|
84
|
+
indent: "md"
|
|
85
|
+
}
|
|
86
|
+
}), Z = P.forwardRef((M, m) => {
|
|
87
|
+
const t = O(66);
|
|
88
|
+
let r, f, o, C, k, z, j, V, L, S, B, F, c;
|
|
89
|
+
t[0] !== M ? ({
|
|
90
|
+
items: f,
|
|
91
|
+
title: c,
|
|
92
|
+
className: r,
|
|
93
|
+
showStatus: C,
|
|
94
|
+
variant: k,
|
|
95
|
+
color: z,
|
|
96
|
+
thickness: j,
|
|
97
|
+
inset: V,
|
|
98
|
+
offset: L,
|
|
99
|
+
size: S,
|
|
100
|
+
density: B,
|
|
101
|
+
indent: F,
|
|
102
|
+
...o
|
|
103
|
+
} = M, t[0] = M, t[1] = r, t[2] = f, t[3] = o, t[4] = C, t[5] = k, t[6] = z, t[7] = j, t[8] = V, t[9] = L, t[10] = S, t[11] = B, t[12] = F, t[13] = c) : (r = t[1], f = t[2], o = t[3], C = t[4], k = t[5], z = t[6], j = t[7], V = t[8], L = t[9], S = t[10], B = t[11], F = t[12], c = t[13]);
|
|
104
|
+
const W = C === void 0 ? !0 : C, s = k === void 0 ? "default" : k, n = z === void 0 ? "teal" : z, $ = j === void 0 ? "normal" : j, q = V === void 0 ? "md" : V, d = L === void 0 ? "sm" : L, R = S === void 0 ? "md" : S, H = B === void 0 ? "comfortable" : B, T = F === void 0 ? "md" : F, A = s === "card" ? "card" : H;
|
|
105
|
+
let E;
|
|
106
|
+
t[14] !== W ? (E = (l) => !W || l !== "completed" ? null : /* @__PURE__ */ a("div", { className: "flex h-3 w-3 items-center justify-center rounded-full bg-green-500", children: /* @__PURE__ */ N("svg", { className: "h-2 w-2 text-white", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", "aria-label": "Completed", children: [
|
|
107
|
+
/* @__PURE__ */ a("title", { children: "Completed" }),
|
|
108
|
+
/* @__PURE__ */ a("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" })
|
|
109
|
+
] }) }), t[14] = W, t[15] = E) : E = t[15];
|
|
110
|
+
const D = E;
|
|
111
|
+
let p;
|
|
112
|
+
t[16] !== c || t[17] !== s ? (p = c && /* @__PURE__ */ a("h3", { className: i("font-bold text-gray-900", s === "card" ? "text-xl mb-8" : "text-lg mb-6"), children: c }), t[16] = c, t[17] = s, t[18] = p) : p = t[18];
|
|
113
|
+
let x;
|
|
114
|
+
t[19] !== n || t[20] !== q || t[21] !== d || t[22] !== $ ? (x = i(Q({
|
|
115
|
+
thickness: $,
|
|
116
|
+
inset: q,
|
|
117
|
+
offset: d,
|
|
118
|
+
color: n
|
|
119
|
+
})), t[19] = n, t[20] = q, t[21] = d, t[22] = $, t[23] = x) : x = t[23];
|
|
120
|
+
let h;
|
|
121
|
+
t[24] !== x ? (h = /* @__PURE__ */ a("div", { className: x }), t[24] = x, t[25] = h) : h = t[25];
|
|
122
|
+
let u;
|
|
123
|
+
t[26] !== A ? (u = i(X({
|
|
124
|
+
density: A
|
|
125
|
+
})), t[26] = A, t[27] = u) : u = t[27];
|
|
126
|
+
let v;
|
|
127
|
+
if (t[28] !== n || t[29] !== D || t[30] !== T || t[31] !== f || t[32] !== d || t[33] !== R || t[34] !== s) {
|
|
128
|
+
let l;
|
|
129
|
+
t[36] !== n || t[37] !== D || t[38] !== T || t[39] !== d || t[40] !== R || t[41] !== s ? (l = (e) => /* @__PURE__ */ N("div", { className: "relative flex items-start", children: [
|
|
130
|
+
/* @__PURE__ */ a("div", { className: i(U({
|
|
131
|
+
size: R,
|
|
132
|
+
offset: d,
|
|
133
|
+
color: n,
|
|
134
|
+
y: "base"
|
|
135
|
+
})) }),
|
|
136
|
+
/* @__PURE__ */ N("div", { className: i("min-w-0 flex-1", Y({
|
|
137
|
+
indent: T
|
|
138
|
+
})), children: [
|
|
139
|
+
/* @__PURE__ */ N("div", { className: "flex items-center space-x-2", children: [
|
|
140
|
+
/* @__PURE__ */ a("h4", { className: i("font-bold text-gray-900", s === "card" ? "text-base" : "text-sm"), children: e.title }),
|
|
141
|
+
D(e.status)
|
|
142
|
+
] }),
|
|
143
|
+
e.subtitle && /* @__PURE__ */ a("p", { className: i("text-gray-600 mt-1", "text-sm"), children: e.subtitle }),
|
|
144
|
+
e.date && /* @__PURE__ */ a("p", { className: i("text-gray-600", s === "card" ? "mt-1 text-sm" : "text-sm"), children: e.date }),
|
|
145
|
+
e.description && /* @__PURE__ */ a("p", { className: i("text-gray-600 leading-relaxed", "mt-2 text-sm"), children: e.description })
|
|
146
|
+
] })
|
|
147
|
+
] }, e.id), t[36] = n, t[37] = D, t[38] = T, t[39] = d, t[40] = R, t[41] = s, t[42] = l) : l = t[42], v = f.map(l), t[28] = n, t[29] = D, t[30] = T, t[31] = f, t[32] = d, t[33] = R, t[34] = s, t[35] = v;
|
|
148
|
+
} else
|
|
149
|
+
v = t[35];
|
|
150
|
+
let y;
|
|
151
|
+
t[43] !== u || t[44] !== v ? (y = /* @__PURE__ */ a("div", { className: u, children: v }), t[43] = u, t[44] = v, t[45] = y) : y = t[45];
|
|
152
|
+
let b;
|
|
153
|
+
t[46] !== h || t[47] !== y ? (b = /* @__PURE__ */ N("div", { className: "relative", children: [
|
|
154
|
+
h,
|
|
155
|
+
y
|
|
156
|
+
] }), t[46] = h, t[47] = y, t[48] = b) : b = t[48];
|
|
157
|
+
let G;
|
|
158
|
+
t[49] !== p || t[50] !== b ? (G = /* @__PURE__ */ N(J, { children: [
|
|
159
|
+
p,
|
|
160
|
+
b
|
|
161
|
+
] }), t[49] = p, t[50] = b, t[51] = G) : G = t[51];
|
|
162
|
+
const g = G;
|
|
163
|
+
if (s === "card") {
|
|
164
|
+
let l;
|
|
165
|
+
t[52] !== r ? (l = i("w-full bg-white rounded-lg border border-gray-200 shadow-sm p-6", r), t[52] = r, t[53] = l) : l = t[53];
|
|
166
|
+
let e;
|
|
167
|
+
return t[54] !== g || t[55] !== o || t[56] !== m || t[57] !== l ? (e = /* @__PURE__ */ a("div", { ref: m, className: l, ...o, children: g }), t[54] = g, t[55] = o, t[56] = m, t[57] = l, t[58] = e) : e = t[58], e;
|
|
168
|
+
}
|
|
169
|
+
let w;
|
|
170
|
+
t[59] !== r ? (w = i("w-full", r), t[59] = r, t[60] = w) : w = t[60];
|
|
171
|
+
let I;
|
|
172
|
+
return t[61] !== g || t[62] !== o || t[63] !== m || t[64] !== w ? (I = /* @__PURE__ */ a("div", { ref: m, className: w, ...o, children: g }), t[61] = g, t[62] = o, t[63] = m, t[64] = w, t[65] = I) : I = t[65], I;
|
|
173
|
+
});
|
|
174
|
+
Z.displayName = "Timeline";
|
|
175
|
+
export {
|
|
176
|
+
Z as Timeline
|
|
177
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
3
|
+
import { c as w } from "react-compiler-runtime";
|
|
4
|
+
import { X as g, CheckCircle2 as o, AlertTriangle as x, Info as v, XCircle as b, Circle as N } from "lucide-react";
|
|
5
|
+
import { toast as f, Toaster as C } from "sonner";
|
|
6
|
+
import { DoctButton as u } from "./button.js";
|
|
7
|
+
const k = {
|
|
8
|
+
default: "bg-zinc-700 text-white",
|
|
9
|
+
error: "bg-red-500 text-white",
|
|
10
|
+
info: "bg-blue-500 text-white",
|
|
11
|
+
warning: "bg-amber-500 text-white",
|
|
12
|
+
success: "bg-green-500 text-white"
|
|
13
|
+
}, y = {
|
|
14
|
+
default: 4e3,
|
|
15
|
+
error: 5e3,
|
|
16
|
+
info: 4e3,
|
|
17
|
+
warning: 5e3,
|
|
18
|
+
success: 4e3
|
|
19
|
+
}, T = {
|
|
20
|
+
default: /* @__PURE__ */ a(N, { className: "h-4 w-4 text-white" }),
|
|
21
|
+
error: /* @__PURE__ */ a(b, { className: "h-4 w-4 text-white" }),
|
|
22
|
+
info: /* @__PURE__ */ a(v, { className: "h-4 w-4 text-white" }),
|
|
23
|
+
warning: /* @__PURE__ */ a(x, { className: "h-4 w-4 text-white" }),
|
|
24
|
+
success: /* @__PURE__ */ a(o, { className: "h-4 w-4 text-white" })
|
|
25
|
+
};
|
|
26
|
+
function j(r, t, e) {
|
|
27
|
+
const c = (e == null ? void 0 : e.variant) ?? "info", n = k[c], i = (e == null ? void 0 : e.icon) ?? T[c], d = (e == null ? void 0 : e.iconPosition) ?? "left", h = c === "error" || c === "warning" ? "alert" : "status";
|
|
28
|
+
return /* @__PURE__ */ s("div", { role: h, "aria-live": h === "alert" ? "assertive" : "polite", "aria-atomic": "true", className: `flex w-full items-center justify-between rounded-md p-3 shadow-md ${n}`, children: [
|
|
29
|
+
/* @__PURE__ */ s("div", { className: "flex items-center", children: [
|
|
30
|
+
i && d === "left" && /* @__PURE__ */ a("div", { className: "mr-3", children: i }),
|
|
31
|
+
/* @__PURE__ */ s("div", { children: [
|
|
32
|
+
/* @__PURE__ */ a("p", { className: "text-sm font-semibold", children: t }),
|
|
33
|
+
(e == null ? void 0 : e.description) && /* @__PURE__ */ a("p", { className: "text-sm text-white/90", children: e.description })
|
|
34
|
+
] })
|
|
35
|
+
] }),
|
|
36
|
+
/* @__PURE__ */ s("div", { className: "flex items-center", children: [
|
|
37
|
+
i && d === "right" && /* @__PURE__ */ a("div", { className: "ml-3", children: i }),
|
|
38
|
+
(e == null ? void 0 : e.action) && /* @__PURE__ */ a(u, { variant: "ghost", size: "small", className: "ml-3 text-white hover:bg-transparent", onClick: e.action.onClick, type: "button", children: e.action.label }),
|
|
39
|
+
/* @__PURE__ */ a(u, { variant: "ghost", size: "icon.large", className: "ml-3 text-white hover:bg-transparent", onClick: () => f.dismiss(r), type: "button", "aria-label": "Close notification", children: /* @__PURE__ */ a(g, { className: "h-4 w-4 !text-white", strokeWidth: 2.5 }) })
|
|
40
|
+
] })
|
|
41
|
+
] });
|
|
42
|
+
}
|
|
43
|
+
const $ = {
|
|
44
|
+
padding: 0,
|
|
45
|
+
margin: 0,
|
|
46
|
+
border: "none",
|
|
47
|
+
background: "none"
|
|
48
|
+
}, m = (r, t) => {
|
|
49
|
+
const e = (t == null ? void 0 : t.variant) ?? "info", c = (t == null ? void 0 : t.duration) ?? y[e], n = (i) => j(i, r, {
|
|
50
|
+
...t,
|
|
51
|
+
variant: e
|
|
52
|
+
});
|
|
53
|
+
return f.custom(n, {
|
|
54
|
+
unstyled: !0,
|
|
55
|
+
duration: c,
|
|
56
|
+
...(t == null ? void 0 : t.position) && {
|
|
57
|
+
position: t.position
|
|
58
|
+
},
|
|
59
|
+
style: $
|
|
60
|
+
});
|
|
61
|
+
}, l = (r) => (t, e) => m(t, {
|
|
62
|
+
...e,
|
|
63
|
+
variant: r
|
|
64
|
+
}), W = Object.assign(m, {
|
|
65
|
+
default: (r, t) => m(r, {
|
|
66
|
+
...t,
|
|
67
|
+
variant: "default"
|
|
68
|
+
}),
|
|
69
|
+
success: l("success"),
|
|
70
|
+
info: l("info"),
|
|
71
|
+
warning: l("warning"),
|
|
72
|
+
error: l("error")
|
|
73
|
+
});
|
|
74
|
+
function X(r) {
|
|
75
|
+
const t = w(2);
|
|
76
|
+
let e;
|
|
77
|
+
return t[0] !== r ? (e = /* @__PURE__ */ a(C, { ...r }), t[0] = r, t[1] = e) : e = t[1], e;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
X as Toaster,
|
|
81
|
+
W as toast
|
|
82
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as g, jsxs as A } from "react/jsx-runtime";
|
|
3
|
+
import { c as O } from "react-compiler-runtime";
|
|
4
|
+
import { Tooltip as b } from "@base-ui/react/tooltip";
|
|
5
|
+
import * as N from "react";
|
|
6
|
+
import { cn as R } from "../../lib/utils.js";
|
|
7
|
+
const S = (i) => {
|
|
8
|
+
const e = O(9);
|
|
9
|
+
let r, l, o, t;
|
|
10
|
+
e[0] !== i ? ({
|
|
11
|
+
delayDuration: o,
|
|
12
|
+
delay: l,
|
|
13
|
+
closeDelay: r,
|
|
14
|
+
...t
|
|
15
|
+
} = i, e[0] = i, e[1] = r, e[2] = l, e[3] = o, e[4] = t) : (r = e[1], l = e[2], o = e[3], t = e[4]);
|
|
16
|
+
const n = l ?? o;
|
|
17
|
+
let d;
|
|
18
|
+
return e[5] !== r || e[6] !== t || e[7] !== n ? (d = /* @__PURE__ */ g(b.Provider, { delay: n, closeDelay: r, ...t }), e[5] = r, e[6] = t, e[7] = n, e[8] = d) : d = e[8], d;
|
|
19
|
+
};
|
|
20
|
+
S.displayName = "TooltipProvider";
|
|
21
|
+
const V = b.Root, E = N.forwardRef((i, e) => {
|
|
22
|
+
const r = O(12);
|
|
23
|
+
let l, o, t;
|
|
24
|
+
if (r[0] !== i) {
|
|
25
|
+
const {
|
|
26
|
+
asChild: s,
|
|
27
|
+
children: a,
|
|
28
|
+
render: p,
|
|
29
|
+
...c
|
|
30
|
+
} = i;
|
|
31
|
+
l = s, o = a, t = c, r[0] = i, r[1] = l, r[2] = o, r[3] = t;
|
|
32
|
+
} else
|
|
33
|
+
l = r[1], o = r[2], t = r[3];
|
|
34
|
+
if (l && N.isValidElement(o)) {
|
|
35
|
+
const s = e, a = o;
|
|
36
|
+
let p;
|
|
37
|
+
return r[4] !== t || r[5] !== s || r[6] !== a ? (p = /* @__PURE__ */ g(b.Trigger, { ...t, ref: s, render: a }), r[4] = t, r[5] = s, r[6] = a, r[7] = p) : p = r[7], p;
|
|
38
|
+
}
|
|
39
|
+
const n = e;
|
|
40
|
+
let d;
|
|
41
|
+
return r[8] !== o || r[9] !== t || r[10] !== n ? (d = /* @__PURE__ */ g(b.Trigger, { ref: n, ...t, children: o }), r[8] = o, r[9] = t, r[10] = n, r[11] = d) : d = r[11], d;
|
|
42
|
+
});
|
|
43
|
+
E.displayName = "TooltipTrigger";
|
|
44
|
+
const I = "bg-black/80", L = "z-[100000]", _ = {
|
|
45
|
+
top: ["-bottom-1.5", "border-l-[6px] border-l-transparent border-r-[6px] border-r-transparent", "border-t-[6px] border-t-black/80"],
|
|
46
|
+
bottom: ["-top-1.5", "border-l-[6px] border-l-transparent border-r-[6px] border-r-transparent", "border-b-[6px] border-b-black/80"],
|
|
47
|
+
left: ["-right-1.5", "border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent", "border-l-[6px] border-l-black/80"],
|
|
48
|
+
right: ["-left-1.5", "border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent", "border-r-[6px] border-r-black/80"],
|
|
49
|
+
"inline-start": ["-right-1.5", "border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent", "border-l-[6px] border-l-black/80"],
|
|
50
|
+
"inline-end": ["-left-1.5", "border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent", "border-r-[6px] border-r-black/80"]
|
|
51
|
+
}, $ = N.forwardRef((i, e) => {
|
|
52
|
+
const r = O(29);
|
|
53
|
+
let l, o, t, n, d, s, a, p, c, h;
|
|
54
|
+
r[0] !== i ? ({
|
|
55
|
+
className: o,
|
|
56
|
+
sideOffset: n,
|
|
57
|
+
side: d,
|
|
58
|
+
align: s,
|
|
59
|
+
collisionPadding: a,
|
|
60
|
+
showArrow: p,
|
|
61
|
+
backgroundColor: c,
|
|
62
|
+
textColor: h,
|
|
63
|
+
children: l,
|
|
64
|
+
...t
|
|
65
|
+
} = i, r[0] = i, r[1] = l, r[2] = o, r[3] = t, r[4] = n, r[5] = d, r[6] = s, r[7] = a, r[8] = p, r[9] = c, r[10] = h) : (l = r[1], o = r[2], t = r[3], n = r[4], d = r[5], s = r[6], a = r[7], p = r[8], c = r[9], h = r[10]);
|
|
66
|
+
const T = n === void 0 ? 8 : n, w = d === void 0 ? "top" : d, v = s === void 0 ? "center" : s, k = a === void 0 ? 8 : a, C = p === void 0 ? !0 : p, P = c === void 0 ? I : c, y = h === void 0 ? "text-white" : h;
|
|
67
|
+
let f;
|
|
68
|
+
r[11] !== P || r[12] !== o || r[13] !== y ? (f = R("relative rounded-xl border-0 outline-none px-3 py-1.5 text-sm shadow-xl transition-all max-w-72 break-words", P, y, "animate-in fade-in zoom-in-95", "data-[closed]:animate-out data-[closed]:fade-out data-[closed]:zoom-out-95", "data-[side=bottom]:slide-in-from-top-2", "data-[side=left]:slide-in-from-right-2", "data-[side=right]:slide-in-from-left-2", "data-[side=top]:slide-in-from-bottom-2", o), r[11] = P, r[12] = o, r[13] = y, r[14] = f) : f = r[14];
|
|
69
|
+
let m;
|
|
70
|
+
r[15] !== C ? (m = C && /* @__PURE__ */ g(b.Arrow, { className: z }), r[15] = C, r[16] = m) : m = r[16];
|
|
71
|
+
let x;
|
|
72
|
+
r[17] !== l || r[18] !== t || r[19] !== e || r[20] !== f || r[21] !== m ? (x = /* @__PURE__ */ A(b.Popup, { ref: e, className: f, ...t, children: [
|
|
73
|
+
l,
|
|
74
|
+
m
|
|
75
|
+
] }), r[17] = l, r[18] = t, r[19] = e, r[20] = f, r[21] = m, r[22] = x) : x = r[22];
|
|
76
|
+
let u;
|
|
77
|
+
return r[23] !== v || r[24] !== k || r[25] !== w || r[26] !== T || r[27] !== x ? (u = /* @__PURE__ */ g(b.Portal, { children: /* @__PURE__ */ g(b.Positioner, { className: L, sideOffset: T, side: w, align: v, collisionPadding: k, children: x }) }), r[23] = v, r[24] = k, r[25] = w, r[26] = T, r[27] = x, r[28] = u) : u = r[28], u;
|
|
78
|
+
});
|
|
79
|
+
$.displayName = "TooltipContent";
|
|
80
|
+
function z(i) {
|
|
81
|
+
const {
|
|
82
|
+
side: e
|
|
83
|
+
} = i, r = _[e] || _.top;
|
|
84
|
+
return R("absolute w-0 h-0", r);
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
V as Tooltip,
|
|
88
|
+
$ as TooltipContent,
|
|
89
|
+
S as TooltipProvider,
|
|
90
|
+
E as TooltipTrigger
|
|
91
|
+
};
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
3
|
+
import { c as j } from "react-compiler-runtime";
|
|
4
|
+
import { cn as k } from "../../lib/utils.js";
|
|
5
|
+
const $ = ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "destructive-foreground", "border", "input", "ring", "primary", "primary-foreground", "primary-17", "primary-36", "primary-55", "primary-70", "primary-80", "primary-90", "primary-95", "primary-98", "brand-blue", "brand-blue-foreground", "brand-tropical", "brand-secondary", "product-events", "product-contacts", "product-jobs", "product-blogs", "product-landing", "product-academy", "product-resume", "product-media", "neutral-white", "neutral-black", "neutral-80", "neutral-68", "neutral-56", "neutral-44", "neutral-32", "neutral-24", "neutral-20", "neutral-16", "neutral-12", "neutral-10", "neutral-8", "neutral-6", "semantic-negative", "semantic-positive", "semantic-warning", "semantic-informative", "chart-1", "chart-2", "chart-3", "chart-4", "chart-5", "sidebar-background", "sidebar-foreground", "sidebar-primary", "sidebar-primary-foreground", "sidebar-accent", "sidebar-accent-foreground", "sidebar-border", "sidebar-ring"], B = (t) => t.replace(/-([a-z0-9])/g, (e, r) => r.toUpperCase()), E = $.reduce((t, e) => (t[e] = `hsl(var(--${e}))`, t), {}), N = $.reduce((t, e) => {
|
|
6
|
+
const r = E[e];
|
|
7
|
+
t[e] = r, t[`--${e}`] = r;
|
|
8
|
+
const i = B(e);
|
|
9
|
+
t[i] || (t[i] = r);
|
|
10
|
+
const n = i.charAt(0).toUpperCase() + i.slice(1);
|
|
11
|
+
return t[n] || (t[n] = r), t;
|
|
12
|
+
}, {}), U = (t) => {
|
|
13
|
+
if (!t)
|
|
14
|
+
return;
|
|
15
|
+
const e = t.trim();
|
|
16
|
+
if (!e)
|
|
17
|
+
return;
|
|
18
|
+
const r = N[e];
|
|
19
|
+
if (r)
|
|
20
|
+
return r;
|
|
21
|
+
const i = N[e.toLowerCase()];
|
|
22
|
+
return i || (e.startsWith("--") ? `hsl(var(${e}))` : (e.startsWith("#") || e.startsWith("rgb") || e.startsWith("hsl") || e.startsWith("var("), e));
|
|
23
|
+
}, D = {
|
|
24
|
+
h1: {
|
|
25
|
+
fontSize: "3.5rem",
|
|
26
|
+
lineHeight: "4rem",
|
|
27
|
+
tag: "h1"
|
|
28
|
+
},
|
|
29
|
+
// 56px / 64px
|
|
30
|
+
h2: {
|
|
31
|
+
fontSize: "2.875rem",
|
|
32
|
+
lineHeight: "3.25rem",
|
|
33
|
+
tag: "h2"
|
|
34
|
+
},
|
|
35
|
+
// 46px / 52px
|
|
36
|
+
h3: {
|
|
37
|
+
fontSize: "2.25rem",
|
|
38
|
+
lineHeight: "2.75rem",
|
|
39
|
+
tag: "h3"
|
|
40
|
+
},
|
|
41
|
+
// 36px / 44px
|
|
42
|
+
h4: {
|
|
43
|
+
fontSize: "2rem",
|
|
44
|
+
lineHeight: "2.5rem",
|
|
45
|
+
tag: "h4"
|
|
46
|
+
},
|
|
47
|
+
// 32px / 40px
|
|
48
|
+
h5: {
|
|
49
|
+
fontSize: "1.75rem",
|
|
50
|
+
lineHeight: "2.25rem",
|
|
51
|
+
tag: "h5"
|
|
52
|
+
},
|
|
53
|
+
// 28px / 36px
|
|
54
|
+
h6: {
|
|
55
|
+
fontSize: "1.5rem",
|
|
56
|
+
lineHeight: "2rem",
|
|
57
|
+
tag: "h6"
|
|
58
|
+
},
|
|
59
|
+
// 24px / 32px
|
|
60
|
+
h7: {
|
|
61
|
+
fontSize: "1.25rem",
|
|
62
|
+
lineHeight: "1.625rem",
|
|
63
|
+
tag: "p"
|
|
64
|
+
},
|
|
65
|
+
// 20px / 26px
|
|
66
|
+
h8: {
|
|
67
|
+
fontSize: "1.125rem",
|
|
68
|
+
lineHeight: "1.5rem",
|
|
69
|
+
tag: "p"
|
|
70
|
+
},
|
|
71
|
+
// 18px / 24px
|
|
72
|
+
title1: {
|
|
73
|
+
fontSize: "1.25rem",
|
|
74
|
+
lineHeight: "1.625rem",
|
|
75
|
+
tag: "p"
|
|
76
|
+
},
|
|
77
|
+
// 20px / 26px
|
|
78
|
+
title2: {
|
|
79
|
+
fontSize: "1rem",
|
|
80
|
+
lineHeight: "1.5rem",
|
|
81
|
+
tag: "p"
|
|
82
|
+
},
|
|
83
|
+
// 16px / 24px
|
|
84
|
+
title3: {
|
|
85
|
+
fontSize: "0.875rem",
|
|
86
|
+
lineHeight: "1.3125rem",
|
|
87
|
+
tag: "p"
|
|
88
|
+
},
|
|
89
|
+
// 14px / 21px
|
|
90
|
+
title4: {
|
|
91
|
+
fontSize: "0.75rem",
|
|
92
|
+
lineHeight: "1.125rem",
|
|
93
|
+
tag: "p"
|
|
94
|
+
},
|
|
95
|
+
// 12px / 18px
|
|
96
|
+
body1: {
|
|
97
|
+
fontSize: "1rem",
|
|
98
|
+
lineHeight: "1.5rem",
|
|
99
|
+
tag: "p"
|
|
100
|
+
},
|
|
101
|
+
// 16px / 24px
|
|
102
|
+
body2: {
|
|
103
|
+
fontSize: "0.875rem",
|
|
104
|
+
lineHeight: "1.25rem",
|
|
105
|
+
tag: "p"
|
|
106
|
+
},
|
|
107
|
+
// 14px / 20px
|
|
108
|
+
body3: {
|
|
109
|
+
fontSize: "0.75rem",
|
|
110
|
+
lineHeight: "1rem",
|
|
111
|
+
tag: "p"
|
|
112
|
+
},
|
|
113
|
+
// 12px / 16px
|
|
114
|
+
body4: {
|
|
115
|
+
fontSize: "0.625rem",
|
|
116
|
+
lineHeight: "0.875rem",
|
|
117
|
+
tag: "p"
|
|
118
|
+
},
|
|
119
|
+
// 10px / 14px
|
|
120
|
+
body5: {
|
|
121
|
+
fontSize: "0.5rem",
|
|
122
|
+
lineHeight: "0.6875rem",
|
|
123
|
+
tag: "p"
|
|
124
|
+
},
|
|
125
|
+
// 8px / 11px
|
|
126
|
+
textLabel1: {
|
|
127
|
+
fontSize: "1rem",
|
|
128
|
+
lineHeight: "1.375rem",
|
|
129
|
+
tag: "span"
|
|
130
|
+
},
|
|
131
|
+
// 16px / 22px
|
|
132
|
+
textLabel2: {
|
|
133
|
+
fontSize: "0.875rem",
|
|
134
|
+
lineHeight: "1.25rem",
|
|
135
|
+
tag: "span"
|
|
136
|
+
},
|
|
137
|
+
// 14px / 20px
|
|
138
|
+
textLabel3: {
|
|
139
|
+
fontSize: "0.75rem",
|
|
140
|
+
lineHeight: "1rem",
|
|
141
|
+
tag: "span"
|
|
142
|
+
},
|
|
143
|
+
// 12px / 16px
|
|
144
|
+
textLabel4: {
|
|
145
|
+
fontSize: "0.6875rem",
|
|
146
|
+
lineHeight: "1rem",
|
|
147
|
+
tag: "span"
|
|
148
|
+
}
|
|
149
|
+
// 11px / 16px
|
|
150
|
+
}, A = {
|
|
151
|
+
light: 300,
|
|
152
|
+
regular: 400,
|
|
153
|
+
medium: 500,
|
|
154
|
+
semiBold: 600,
|
|
155
|
+
bold: 700,
|
|
156
|
+
extraBold: 800
|
|
157
|
+
}, R = (t) => {
|
|
158
|
+
const e = j(34);
|
|
159
|
+
let r, i, n, o, d, g, m, c, a;
|
|
160
|
+
e[0] !== t ? ({
|
|
161
|
+
variant: a,
|
|
162
|
+
weight: g,
|
|
163
|
+
children: i,
|
|
164
|
+
color: n,
|
|
165
|
+
align: m,
|
|
166
|
+
className: c,
|
|
167
|
+
as: r,
|
|
168
|
+
style: d,
|
|
169
|
+
...o
|
|
170
|
+
} = t, e[0] = t, e[1] = r, e[2] = i, e[3] = n, e[4] = o, e[5] = d, e[6] = g, e[7] = m, e[8] = c, e[9] = a) : (r = e[1], i = e[2], n = e[3], o = e[4], d = e[5], g = e[6], m = e[7], c = e[8], a = e[9]);
|
|
171
|
+
const K = g === void 0 ? "regular" : g, S = m === void 0 ? "inherit" : m, z = c === void 0 ? "" : c;
|
|
172
|
+
let h;
|
|
173
|
+
e[10] !== a ? (h = D[a] ?? {
|
|
174
|
+
fontSize: "1rem",
|
|
175
|
+
lineHeight: "1.5rem",
|
|
176
|
+
tag: "p"
|
|
177
|
+
}, e[10] = a, e[11] = h) : h = e[11];
|
|
178
|
+
const M = h, {
|
|
179
|
+
fontSize: H,
|
|
180
|
+
lineHeight: v,
|
|
181
|
+
tag: O
|
|
182
|
+
} = M, C = r || O, x = !n && "text-foreground";
|
|
183
|
+
let p;
|
|
184
|
+
e[12] !== z || e[13] !== x ? (p = k(x, z), e[12] = z, e[13] = x, e[14] = p) : p = e[14];
|
|
185
|
+
const L = p;
|
|
186
|
+
let u;
|
|
187
|
+
e[15] !== n ? (u = U(n), e[15] = n, e[16] = u) : u = e[16];
|
|
188
|
+
const f = u, T = A[K] ?? A.regular;
|
|
189
|
+
let l;
|
|
190
|
+
e[17] !== f ? (l = f && {
|
|
191
|
+
color: f
|
|
192
|
+
}, e[17] = f, e[18] = l) : l = e[18];
|
|
193
|
+
let y;
|
|
194
|
+
e[19] !== S || e[20] !== H || e[21] !== v || e[22] !== T || e[23] !== l ? (y = {
|
|
195
|
+
fontFamily: "Inter, 'Helvetica Neue', Arial, sans-serif",
|
|
196
|
+
fontSize: H,
|
|
197
|
+
lineHeight: v,
|
|
198
|
+
fontWeight: T,
|
|
199
|
+
textAlign: S,
|
|
200
|
+
...l
|
|
201
|
+
}, e[19] = S, e[20] = H, e[21] = v, e[22] = T, e[23] = l, e[24] = y) : y = e[24];
|
|
202
|
+
const W = y, w = d;
|
|
203
|
+
let s;
|
|
204
|
+
e[25] !== W || e[26] !== w ? (s = {
|
|
205
|
+
...W,
|
|
206
|
+
...w
|
|
207
|
+
}, e[25] = W, e[26] = w, e[27] = s) : s = e[27];
|
|
208
|
+
let b;
|
|
209
|
+
return e[28] !== C || e[29] !== L || e[30] !== i || e[31] !== o || e[32] !== s ? (b = /* @__PURE__ */ _(C, { className: L, style: s, ...o, children: i }), e[28] = C, e[29] = L, e[30] = i, e[31] = o, e[32] = s, e[33] = b) : b = e[33], b;
|
|
210
|
+
};
|
|
211
|
+
export {
|
|
212
|
+
R as DoctTypography
|
|
213
|
+
};
|