@neynar/ui 0.3.1 → 0.4.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/.llm/blockquote.llm.md +13 -75
- package/.llm/body-text-large.llm.md +49 -0
- package/.llm/body-text-small.llm.md +49 -0
- package/.llm/body-text.llm.md +52 -0
- package/.llm/caption.llm.md +48 -0
- package/.llm/code.llm.md +11 -69
- package/.llm/overline.llm.md +51 -0
- package/.llm/page-title.llm.md +52 -0
- package/.llm/sdk-items-registry.json +46 -84
- package/.llm/section-title.llm.md +48 -0
- package/.llm/subsection-title.llm.md +46 -0
- package/dist/components/ui/stories/typography.stories.d.ts +8 -108
- package/dist/components/ui/stories/typography.stories.d.ts.map +1 -1
- package/dist/components/ui/typography.d.ts +211 -474
- package/dist/components/ui/typography.d.ts.map +1 -1
- package/dist/index.js +133 -184
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/ui/stories/typography.stories.tsx +261 -1512
- package/src/components/ui/typography.tsx +416 -1136
- package/src/styles/globals.css +0 -21
- package/.llm/a.llm.md +0 -131
- package/.llm/h1.llm.md +0 -108
- package/.llm/h2.llm.md +0 -108
- package/.llm/h3.llm.md +0 -106
- package/.llm/h4.llm.md +0 -104
- package/.llm/h5.llm.md +0 -105
- package/.llm/h6.llm.md +0 -105
- package/.llm/lead.llm.md +0 -114
- package/.llm/p.llm.md +0 -110
- package/.llm/small.llm.md +0 -110
- package/.llm/span.llm.md +0 -118
- package/.llm/strong.llm.md +0 -110
- package/.llm/toast.llm.md +0 -32
- package/.llm/typography.llm.md +0 -161
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components/ui/typography.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../src/components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AS,KAAK,CAAC,WAAW,GAAG,YAAY,EAAE,EACrE,SAAS,EACT,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,CAAC,CAAC,2CAQpB"}
|
package/dist/index.js
CHANGED
|
@@ -8971,11 +8971,11 @@ function SelectScrollDownButton({
|
|
|
8971
8971
|
}
|
|
8972
8972
|
var U = 1, Y$1 = 0.9, H = 0.8, J = 0.17, p = 0.1, u = 0.999, $ = 0.9999;
|
|
8973
8973
|
var k$2 = 0.99, m = /[\\\/_+.#"@\[\(\{&]/, B$1 = /[\\\/_+.#"@\[\(\{&]/g, K$1 = /[\s-]/, X = /[\s-]/g;
|
|
8974
|
-
function G(_, C, h, P2,
|
|
8975
|
-
if (f === C.length) return
|
|
8976
|
-
var T2 = `${
|
|
8974
|
+
function G(_, C, h, P2, A, f, O) {
|
|
8975
|
+
if (f === C.length) return A === _.length ? U : k$2;
|
|
8976
|
+
var T2 = `${A},${f}`;
|
|
8977
8977
|
if (O[T2] !== void 0) return O[T2];
|
|
8978
|
-
for (var L2 = P2.charAt(f), c2 = h.indexOf(L2,
|
|
8978
|
+
for (var L2 = P2.charAt(f), c2 = h.indexOf(L2, A), S = 0, E, N2, R, M; c2 >= 0; ) E = G(_, C, h, P2, c2 + 1, f + 1, O), E > S && (c2 === A ? E *= U : m.test(_.charAt(c2 - 1)) ? (E *= H, R = _.slice(A, c2 - 1).match(B$1), R && A > 0 && (E *= Math.pow(u, R.length))) : K$1.test(_.charAt(c2 - 1)) ? (E *= Y$1, M = _.slice(A, c2 - 1).match(X), M && A > 0 && (E *= Math.pow(u, M.length))) : (E *= J, A > 0 && (E *= Math.pow(u, c2 - A))), _.charAt(c2) !== C.charAt(f) && (E *= $)), (E < p && h.charAt(c2 - 1) === P2.charAt(f + 1) || P2.charAt(f + 1) === P2.charAt(f) && h.charAt(c2 - 1) !== P2.charAt(f)) && (N2 = G(_, C, h, P2, c2 + 1, f + 2, O), N2 * p > E && (E = N2 * p)), E > S && (S = E), c2 = h.indexOf(L2, c2 + 1);
|
|
8979
8979
|
return O[T2] = S, S;
|
|
8980
8980
|
}
|
|
8981
8981
|
function D(_) {
|
|
@@ -9647,7 +9647,7 @@ var N = '[cmdk-group=""]', Y = '[cmdk-group-items=""]', be = '[cmdk-group-headin
|
|
|
9647
9647
|
let n = L(() => {
|
|
9648
9648
|
var e, a2;
|
|
9649
9649
|
return { search: "", value: (a2 = (e = r2.value) != null ? e : r2.defaultValue) != null ? a2 : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
9650
|
-
}), u2 = L(() => /* @__PURE__ */ new Set()), c2 = L(() => /* @__PURE__ */ new Map()), d = L(() => /* @__PURE__ */ new Map()), f = L(() => /* @__PURE__ */ new Set()), p2 = pe(r2), { label: b, children: m2, value: R, onValueChange: x, filter: C, shouldFilter: S, loop:
|
|
9650
|
+
}), u2 = L(() => /* @__PURE__ */ new Set()), c2 = L(() => /* @__PURE__ */ new Map()), d = L(() => /* @__PURE__ */ new Map()), f = L(() => /* @__PURE__ */ new Set()), p2 = pe(r2), { label: b, children: m2, value: R, onValueChange: x, filter: C, shouldFilter: S, loop: A, disablePointerSelection: ge = false, vimBindings: j = true, ...O } = r2, $2 = useId$2(), q = useId$2(), _ = useId$2(), I = React.useRef(null), v = ke();
|
|
9651
9651
|
k$1(() => {
|
|
9652
9652
|
if (R !== void 0) {
|
|
9653
9653
|
let e = R.trim();
|
|
@@ -9824,7 +9824,7 @@ var N = '[cmdk-group=""]', Y = '[cmdk-group-items=""]', be = '[cmdk-group-headin
|
|
|
9824
9824
|
k$1(() => {
|
|
9825
9825
|
if (!p2) return d.item(n, c2 == null ? void 0 : c2.id);
|
|
9826
9826
|
}, [p2]);
|
|
9827
|
-
let b = ve(n, u2, [r2.value, r2.children, u2], r2.keywords), m2 = ee(), R = P
|
|
9827
|
+
let b = ve(n, u2, [r2.value, r2.children, u2], r2.keywords), m2 = ee(), R = P((v) => v.value && v.value === b.current), x = P((v) => p2 || d.filter() === false ? true : v.search ? v.filtered.items.get(n) > 0 : true);
|
|
9828
9828
|
React.useEffect(() => {
|
|
9829
9829
|
let v = u2.current;
|
|
9830
9830
|
if (!(!v || r2.disabled)) return v.addEventListener(Z, C), () => v.removeEventListener(Z, C);
|
|
@@ -9837,25 +9837,25 @@ var N = '[cmdk-group=""]', Y = '[cmdk-group-items=""]', be = '[cmdk-group-headin
|
|
|
9837
9837
|
m2.setState("value", b.current, true);
|
|
9838
9838
|
}
|
|
9839
9839
|
if (!x) return null;
|
|
9840
|
-
let { disabled:
|
|
9841
|
-
return React.createElement(Primitive$1.div, { ref: composeRefs$2(u2, o), ...q, id: n, "cmdk-item": "", role: "option", "aria-disabled": !!
|
|
9840
|
+
let { disabled: A, value: ge, onSelect: j, forceMount: O, keywords: $2, ...q } = r2;
|
|
9841
|
+
return React.createElement(Primitive$1.div, { ref: composeRefs$2(u2, o), ...q, id: n, "cmdk-item": "", role: "option", "aria-disabled": !!A, "aria-selected": !!R, "data-disabled": !!A, "data-selected": !!R, onPointerMove: A || d.getDisablePointerSelection() ? void 0 : S, onClick: A ? void 0 : C }, r2.children);
|
|
9842
9842
|
}), Ee = React.forwardRef((r2, o) => {
|
|
9843
|
-
let { heading: n, children: u2, forceMount: c2, ...d } = r2, f = useId$2(), p2 = React.useRef(null), b = React.useRef(null), m2 = useId$2(), R = K(), x = P
|
|
9843
|
+
let { heading: n, children: u2, forceMount: c2, ...d } = r2, f = useId$2(), p2 = React.useRef(null), b = React.useRef(null), m2 = useId$2(), R = K(), x = P((S) => c2 || R.filter() === false ? true : S.search ? S.filtered.groups.has(f) : true);
|
|
9844
9844
|
k$1(() => R.group(f), []), ve(f, p2, [r2.value, r2.heading, b]);
|
|
9845
9845
|
let C = React.useMemo(() => ({ id: f, forceMount: c2 }), [c2]);
|
|
9846
9846
|
return React.createElement(Primitive$1.div, { ref: composeRefs$2(p2, o), ...d, "cmdk-group": "", role: "presentation", hidden: x ? void 0 : true }, n && React.createElement("div", { ref: b, "cmdk-group-heading": "", "aria-hidden": true, id: m2 }, n), B(r2, (S) => React.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? m2 : void 0 }, React.createElement(fe.Provider, { value: C }, S))));
|
|
9847
9847
|
}), ye = React.forwardRef((r2, o) => {
|
|
9848
|
-
let { alwaysRender: n, ...u2 } = r2, c2 = React.useRef(null), d = P
|
|
9848
|
+
let { alwaysRender: n, ...u2 } = r2, c2 = React.useRef(null), d = P((f) => !f.search);
|
|
9849
9849
|
return !n && !d ? null : React.createElement(Primitive$1.div, { ref: composeRefs$2(c2, o), ...u2, "cmdk-separator": "", role: "separator" });
|
|
9850
9850
|
}), Se = React.forwardRef((r2, o) => {
|
|
9851
|
-
let { onValueChange: n, ...u2 } = r2, c2 = r2.value != null, d = ee(), f = P
|
|
9851
|
+
let { onValueChange: n, ...u2 } = r2, c2 = r2.value != null, d = ee(), f = P((m2) => m2.search), p2 = P((m2) => m2.selectedItemId), b = K();
|
|
9852
9852
|
return React.useEffect(() => {
|
|
9853
9853
|
r2.value != null && d.setState("search", r2.value);
|
|
9854
9854
|
}, [r2.value]), React.createElement(Primitive$1.input, { ref: o, ...u2, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: false, "aria-autocomplete": "list", role: "combobox", "aria-expanded": true, "aria-controls": b.listId, "aria-labelledby": b.labelId, "aria-activedescendant": p2, id: b.inputId, type: "text", value: c2 ? r2.value : f, onChange: (m2) => {
|
|
9855
9855
|
c2 || d.setState("search", m2.target.value), n == null || n(m2.target.value);
|
|
9856
9856
|
} });
|
|
9857
9857
|
}), Ce = React.forwardRef((r2, o) => {
|
|
9858
|
-
let { children: n, label: u2 = "Suggestions", ...c2 } = r2, d = React.useRef(null), f = React.useRef(null), p2 = P
|
|
9858
|
+
let { children: n, label: u2 = "Suggestions", ...c2 } = r2, d = React.useRef(null), f = React.useRef(null), p2 = P((m2) => m2.selectedItemId), b = K();
|
|
9859
9859
|
return React.useEffect(() => {
|
|
9860
9860
|
if (f.current && d.current) {
|
|
9861
9861
|
let m2 = f.current, R = d.current, x, C = new ResizeObserver(() => {
|
|
@@ -9872,7 +9872,7 @@ var N = '[cmdk-group=""]', Y = '[cmdk-group-items=""]', be = '[cmdk-group-headin
|
|
|
9872
9872
|
}), xe = React.forwardRef((r2, o) => {
|
|
9873
9873
|
let { open: n, onOpenChange: u2, overlayClassName: c2, contentClassName: d, container: f, ...p2 } = r2;
|
|
9874
9874
|
return React.createElement(Root$e, { open: n, onOpenChange: u2 }, React.createElement(Portal$9, { container: f }, React.createElement(Overlay$4, { "cmdk-overlay": "", className: c2 }), React.createElement(Content$7, { "aria-label": r2.label, "cmdk-dialog": "", className: d }, React.createElement(me, { ref: o, ...p2 }))));
|
|
9875
|
-
}), Ie = React.forwardRef((r2, o) => P
|
|
9875
|
+
}), Ie = React.forwardRef((r2, o) => P((u2) => u2.filtered.count === 0) ? React.createElement(Primitive$1.div, { ref: o, ...r2, "cmdk-empty": "", role: "presentation" }) : null), Pe = React.forwardRef((r2, o) => {
|
|
9876
9876
|
let { progress: n, children: u2, label: c2 = "Loading...", ...d } = r2;
|
|
9877
9877
|
return React.createElement(Primitive$1.div, { ref: o, ...d, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": c2 }, B(r2, (f) => React.createElement("div", { "aria-hidden": true }, f)));
|
|
9878
9878
|
}), _e = Object.assign(me, { List: Ce, Item: he, Input: Se, Group: Ee, Separator: ye, Dialog: xe, Empty: Ie, Loading: Pe });
|
|
@@ -9901,7 +9901,7 @@ function L(r2) {
|
|
|
9901
9901
|
let o = React.useRef();
|
|
9902
9902
|
return o.current === void 0 && (o.current = r2()), o;
|
|
9903
9903
|
}
|
|
9904
|
-
function P
|
|
9904
|
+
function P(r2) {
|
|
9905
9905
|
let o = ee(), n = () => r2(o.snapshot());
|
|
9906
9906
|
return React.useSyncExternalStore(o.subscribe, n, n);
|
|
9907
9907
|
}
|
|
@@ -29467,188 +29467,142 @@ function DrawerDescription({
|
|
|
29467
29467
|
}
|
|
29468
29468
|
);
|
|
29469
29469
|
}
|
|
29470
|
-
|
|
29471
|
-
variants: {
|
|
29472
|
-
variant: {
|
|
29473
|
-
microcopy: "text-xs",
|
|
29474
|
-
detail: "text-sm",
|
|
29475
|
-
body: "text-base leading-snug",
|
|
29476
|
-
blogBody: "text-lg leading-loose",
|
|
29477
|
-
paragraphLead: "text-lg",
|
|
29478
|
-
eyebrow: "text-xl",
|
|
29479
|
-
subHeadline: "text-2xl",
|
|
29480
|
-
headline: "text-3xl",
|
|
29481
|
-
sectionTitle: "text-4xl leading-relaxed",
|
|
29482
|
-
pageTitle: "text-5xl leading-relaxed",
|
|
29483
|
-
displayTitle: "text-6xl leading-snug",
|
|
29484
|
-
heroTitle: "text-7xl leading-snug",
|
|
29485
|
-
code: "text-base font-mono"
|
|
29486
|
-
},
|
|
29487
|
-
/**
|
|
29488
|
-
* Color variants for different semantic meanings and visual hierarchy
|
|
29489
|
-
*
|
|
29490
|
-
* @variant default - Default text color that adapts to light/dark theme (text-foreground)
|
|
29491
|
-
* @variant muted - Subdued text color for secondary information and descriptions (text-muted-foreground)
|
|
29492
|
-
* @variant faint - Very subtle text color for minimal visual prominence (text-neynar-faint-foreground)
|
|
29493
|
-
* @variant accent - Accent color for emphasis, highlights, and interactive elements (text-accent-foreground)
|
|
29494
|
-
* @variant destructive - Red color for error messages, warnings, and destructive actions (text-destructive)
|
|
29495
|
-
* @variant success - Green color for success messages, confirmations, and positive states (text-success)
|
|
29496
|
-
* @variant warning - Orange/yellow color for warnings, cautions, and attention-seeking content (text-warning)
|
|
29497
|
-
*/
|
|
29498
|
-
color: {
|
|
29499
|
-
default: "text-foreground",
|
|
29500
|
-
muted: "text-muted-foreground",
|
|
29501
|
-
faint: "text-neynar-faint-foreground",
|
|
29502
|
-
accent: "text-accent-foreground",
|
|
29503
|
-
destructive: "text-destructive",
|
|
29504
|
-
success: "text-success",
|
|
29505
|
-
warning: "text-warning"
|
|
29506
|
-
},
|
|
29507
|
-
/**
|
|
29508
|
-
* Text alignment options for layout control
|
|
29509
|
-
*
|
|
29510
|
-
* @variant left - Left-aligned text (default for LTR languages)
|
|
29511
|
-
* @variant center - Center-aligned text for headings and callouts
|
|
29512
|
-
* @variant right - Right-aligned text for numerical data and RTL content
|
|
29513
|
-
* @variant justify - Justified text for formal documents and articles
|
|
29514
|
-
*/
|
|
29515
|
-
align: {
|
|
29516
|
-
left: "text-left",
|
|
29517
|
-
center: "text-center",
|
|
29518
|
-
right: "text-right",
|
|
29519
|
-
justify: "text-justify"
|
|
29520
|
-
},
|
|
29521
|
-
/**
|
|
29522
|
-
* Text transformation options for stylistic effects
|
|
29523
|
-
*
|
|
29524
|
-
* @variant uppercase - ALL CAPS for emphasis and labels
|
|
29525
|
-
* @variant lowercase - all lowercase for stylistic consistency
|
|
29526
|
-
* @variant capitalize - Title Case For Headings And Proper Nouns
|
|
29527
|
-
*/
|
|
29528
|
-
transform: {
|
|
29529
|
-
uppercase: "uppercase",
|
|
29530
|
-
lowercase: "lowercase",
|
|
29531
|
-
capitalize: "capitalize"
|
|
29532
|
-
},
|
|
29533
|
-
/**
|
|
29534
|
-
* Font weight variations for visual hierarchy
|
|
29535
|
-
*
|
|
29536
|
-
* @variant normal - Normal font weight (400) for body text
|
|
29537
|
-
* @variant medium - Medium font weight (500) for subtle emphasis
|
|
29538
|
-
* @variant semibold - Semibold font weight (600) for headings and important text
|
|
29539
|
-
* @variant bold - Bold font weight (700) for strong emphasis
|
|
29540
|
-
*/
|
|
29541
|
-
weight: {
|
|
29542
|
-
normal: "font-normal",
|
|
29543
|
-
medium: "font-medium",
|
|
29544
|
-
semibold: "font-semibold",
|
|
29545
|
-
bold: "font-bold"
|
|
29546
|
-
}
|
|
29547
|
-
},
|
|
29548
|
-
defaultVariants: {
|
|
29549
|
-
variant: "body",
|
|
29550
|
-
color: "default",
|
|
29551
|
-
align: "left"
|
|
29552
|
-
}
|
|
29553
|
-
});
|
|
29554
|
-
function Typography({
|
|
29470
|
+
function PageTitle({
|
|
29555
29471
|
className,
|
|
29556
|
-
|
|
29557
|
-
color,
|
|
29558
|
-
align,
|
|
29559
|
-
transform,
|
|
29560
|
-
weight,
|
|
29561
|
-
as: Element2 = "p",
|
|
29562
|
-
asChild = false,
|
|
29563
|
-
italic = false,
|
|
29564
|
-
underline = false,
|
|
29565
|
-
strikethrough = false,
|
|
29566
|
-
truncate = false,
|
|
29567
|
-
srOnly = false,
|
|
29472
|
+
as,
|
|
29568
29473
|
...props2
|
|
29569
29474
|
}) {
|
|
29570
|
-
const
|
|
29475
|
+
const Component = as || "h1";
|
|
29571
29476
|
return /* @__PURE__ */ jsx(
|
|
29572
|
-
|
|
29477
|
+
Component,
|
|
29573
29478
|
{
|
|
29574
|
-
"
|
|
29575
|
-
className: cn$1(
|
|
29576
|
-
typographyVariants({ variant, color, align, transform, weight }),
|
|
29577
|
-
{
|
|
29578
|
-
italic,
|
|
29579
|
-
underline,
|
|
29580
|
-
"line-through": strikethrough,
|
|
29581
|
-
"truncate overflow-hidden text-ellipsis whitespace-nowrap": truncate,
|
|
29582
|
-
"sr-only": srOnly
|
|
29583
|
-
},
|
|
29584
|
-
className
|
|
29585
|
-
),
|
|
29479
|
+
className: cn$1("text-3xl font-bold leading-tight tracking-wide", className),
|
|
29586
29480
|
...props2
|
|
29587
29481
|
}
|
|
29588
29482
|
);
|
|
29589
29483
|
}
|
|
29590
|
-
function
|
|
29591
|
-
|
|
29592
|
-
|
|
29593
|
-
|
|
29594
|
-
|
|
29595
|
-
|
|
29596
|
-
|
|
29597
|
-
|
|
29598
|
-
|
|
29599
|
-
|
|
29600
|
-
|
|
29601
|
-
}
|
|
29602
|
-
|
|
29603
|
-
return /* @__PURE__ */ jsx(Typography, { variant, weight, as: "h5", ...props2 });
|
|
29604
|
-
}
|
|
29605
|
-
function H6({ variant = "body", weight = "bold", ...props2 }) {
|
|
29606
|
-
return /* @__PURE__ */ jsx(Typography, { variant, weight, as: "h6", ...props2 });
|
|
29484
|
+
function SectionTitle({
|
|
29485
|
+
className,
|
|
29486
|
+
as,
|
|
29487
|
+
...props2
|
|
29488
|
+
}) {
|
|
29489
|
+
const Component = as || "h2";
|
|
29490
|
+
return /* @__PURE__ */ jsx(
|
|
29491
|
+
Component,
|
|
29492
|
+
{
|
|
29493
|
+
className: cn$1("text-2xl font-semibold leading-tight tracking-wide", className),
|
|
29494
|
+
...props2
|
|
29495
|
+
}
|
|
29496
|
+
);
|
|
29607
29497
|
}
|
|
29608
|
-
function
|
|
29609
|
-
|
|
29498
|
+
function SubsectionTitle({
|
|
29499
|
+
className,
|
|
29500
|
+
as,
|
|
29501
|
+
...props2
|
|
29502
|
+
}) {
|
|
29503
|
+
const Component = as || "h3";
|
|
29504
|
+
return /* @__PURE__ */ jsx(
|
|
29505
|
+
Component,
|
|
29506
|
+
{
|
|
29507
|
+
className: cn$1("text-xl font-semibold leading-snug tracking-wide", className),
|
|
29508
|
+
...props2
|
|
29509
|
+
}
|
|
29510
|
+
);
|
|
29610
29511
|
}
|
|
29611
|
-
function
|
|
29612
|
-
|
|
29512
|
+
function BodyText({
|
|
29513
|
+
className,
|
|
29514
|
+
as,
|
|
29515
|
+
...props2
|
|
29516
|
+
}) {
|
|
29517
|
+
const Component = as || "p";
|
|
29518
|
+
return /* @__PURE__ */ jsx(
|
|
29519
|
+
Component,
|
|
29520
|
+
{
|
|
29521
|
+
className: cn$1("text-base leading-relaxed tracking-wide", className),
|
|
29522
|
+
...props2
|
|
29523
|
+
}
|
|
29524
|
+
);
|
|
29613
29525
|
}
|
|
29614
|
-
function
|
|
29615
|
-
|
|
29526
|
+
function BodyTextLarge({
|
|
29527
|
+
className,
|
|
29528
|
+
as,
|
|
29529
|
+
...props2
|
|
29530
|
+
}) {
|
|
29531
|
+
const Component = as || "p";
|
|
29532
|
+
return /* @__PURE__ */ jsx(
|
|
29533
|
+
Component,
|
|
29534
|
+
{
|
|
29535
|
+
className: cn$1("text-lg leading-relaxed tracking-wide", className),
|
|
29536
|
+
...props2
|
|
29537
|
+
}
|
|
29538
|
+
);
|
|
29616
29539
|
}
|
|
29617
|
-
function
|
|
29618
|
-
|
|
29540
|
+
function BodyTextSmall({
|
|
29541
|
+
className,
|
|
29542
|
+
as,
|
|
29543
|
+
...props2
|
|
29544
|
+
}) {
|
|
29545
|
+
const Component = as || "p";
|
|
29546
|
+
return /* @__PURE__ */ jsx(
|
|
29547
|
+
Component,
|
|
29548
|
+
{
|
|
29549
|
+
className: cn$1("text-sm leading-normal tracking-wide", className),
|
|
29550
|
+
...props2
|
|
29551
|
+
}
|
|
29552
|
+
);
|
|
29619
29553
|
}
|
|
29620
|
-
function
|
|
29621
|
-
|
|
29554
|
+
function Caption({
|
|
29555
|
+
className,
|
|
29556
|
+
as,
|
|
29557
|
+
...props2
|
|
29558
|
+
}) {
|
|
29559
|
+
const Component = as || "span";
|
|
29560
|
+
return /* @__PURE__ */ jsx(
|
|
29561
|
+
Component,
|
|
29562
|
+
{
|
|
29563
|
+
className: cn$1("text-sm text-muted-foreground leading-normal tracking-wide", className),
|
|
29564
|
+
...props2
|
|
29565
|
+
}
|
|
29566
|
+
);
|
|
29622
29567
|
}
|
|
29623
|
-
function
|
|
29624
|
-
|
|
29625
|
-
|
|
29568
|
+
function Overline({
|
|
29569
|
+
className,
|
|
29570
|
+
as,
|
|
29626
29571
|
...props2
|
|
29627
29572
|
}) {
|
|
29628
|
-
|
|
29573
|
+
const Component = as || "span";
|
|
29574
|
+
return /* @__PURE__ */ jsx(
|
|
29575
|
+
Component,
|
|
29576
|
+
{
|
|
29577
|
+
className: cn$1("text-xs font-medium uppercase tracking-wider", className),
|
|
29578
|
+
...props2
|
|
29579
|
+
}
|
|
29580
|
+
);
|
|
29629
29581
|
}
|
|
29630
|
-
function
|
|
29582
|
+
function Code({
|
|
29583
|
+
className,
|
|
29584
|
+
as,
|
|
29585
|
+
...props2
|
|
29586
|
+
}) {
|
|
29587
|
+
const Component = as || "code";
|
|
29631
29588
|
return /* @__PURE__ */ jsx(
|
|
29632
|
-
|
|
29589
|
+
Component,
|
|
29633
29590
|
{
|
|
29634
|
-
|
|
29635
|
-
asChild,
|
|
29636
|
-
className: cn$1(
|
|
29637
|
-
"underline underline-offset-2 hover:text-primary transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary",
|
|
29638
|
-
className
|
|
29639
|
-
),
|
|
29640
|
-
...href ? { href } : {},
|
|
29591
|
+
className: cn$1("font-mono text-sm bg-muted px-1 rounded", className),
|
|
29641
29592
|
...props2
|
|
29642
29593
|
}
|
|
29643
29594
|
);
|
|
29644
29595
|
}
|
|
29645
|
-
function Blockquote({
|
|
29596
|
+
function Blockquote({
|
|
29597
|
+
className,
|
|
29598
|
+
as,
|
|
29599
|
+
...props2
|
|
29600
|
+
}) {
|
|
29601
|
+
const Component = as || "blockquote";
|
|
29646
29602
|
return /* @__PURE__ */ jsx(
|
|
29647
|
-
|
|
29603
|
+
Component,
|
|
29648
29604
|
{
|
|
29649
|
-
|
|
29650
|
-
italic: true,
|
|
29651
|
-
className: cn$1("border-l-4 border-border pl-4 my-2", className),
|
|
29605
|
+
className: cn$1("border-l-4 border-border pl-4 italic tracking-wide", className),
|
|
29652
29606
|
...props2
|
|
29653
29607
|
}
|
|
29654
29608
|
);
|
|
@@ -40470,7 +40424,6 @@ function ThemeToggle({
|
|
|
40470
40424
|
] });
|
|
40471
40425
|
}
|
|
40472
40426
|
export {
|
|
40473
|
-
A,
|
|
40474
40427
|
Accordion,
|
|
40475
40428
|
AccordionContent,
|
|
40476
40429
|
AccordionItem,
|
|
@@ -40495,6 +40448,9 @@ export {
|
|
|
40495
40448
|
AvatarImage,
|
|
40496
40449
|
Badge,
|
|
40497
40450
|
Blockquote,
|
|
40451
|
+
BodyText,
|
|
40452
|
+
BodyTextLarge,
|
|
40453
|
+
BodyTextSmall,
|
|
40498
40454
|
Breadcrumb,
|
|
40499
40455
|
BreadcrumbEllipsis,
|
|
40500
40456
|
BreadcrumbItem,
|
|
@@ -40508,6 +40464,7 @@ export {
|
|
|
40508
40464
|
ButtonGroupText,
|
|
40509
40465
|
Calendar,
|
|
40510
40466
|
CalendarDayButton,
|
|
40467
|
+
Caption,
|
|
40511
40468
|
Card,
|
|
40512
40469
|
CardAction,
|
|
40513
40470
|
CardContent,
|
|
@@ -40611,12 +40568,6 @@ export {
|
|
|
40611
40568
|
FieldSeparator,
|
|
40612
40569
|
FieldSet,
|
|
40613
40570
|
FieldTitle,
|
|
40614
|
-
H1,
|
|
40615
|
-
H2,
|
|
40616
|
-
H3,
|
|
40617
|
-
H4,
|
|
40618
|
-
H5,
|
|
40619
|
-
H6,
|
|
40620
40571
|
HoverCard,
|
|
40621
40572
|
HoverCardContent,
|
|
40622
40573
|
HoverCardTrigger,
|
|
@@ -40640,7 +40591,6 @@ export {
|
|
|
40640
40591
|
Kbd,
|
|
40641
40592
|
KbdGroup,
|
|
40642
40593
|
Label$2 as Label,
|
|
40643
|
-
Lead,
|
|
40644
40594
|
Menubar,
|
|
40645
40595
|
MenubarCheckboxItem,
|
|
40646
40596
|
MenubarContent,
|
|
@@ -40665,7 +40615,8 @@ export {
|
|
|
40665
40615
|
NavigationMenuList,
|
|
40666
40616
|
NavigationMenuTrigger,
|
|
40667
40617
|
NavigationMenuViewport,
|
|
40668
|
-
|
|
40618
|
+
Overline,
|
|
40619
|
+
PageTitle,
|
|
40669
40620
|
Pagination,
|
|
40670
40621
|
PaginationContent,
|
|
40671
40622
|
PaginationEllipsis,
|
|
@@ -40689,6 +40640,7 @@ export {
|
|
|
40689
40640
|
ScrollAreaThumb,
|
|
40690
40641
|
ScrollAreaViewport,
|
|
40691
40642
|
ScrollBar,
|
|
40643
|
+
SectionTitle,
|
|
40692
40644
|
Select$1 as Select,
|
|
40693
40645
|
SelectContent,
|
|
40694
40646
|
SelectGroup,
|
|
@@ -40733,11 +40685,9 @@ export {
|
|
|
40733
40685
|
SidebarTrigger,
|
|
40734
40686
|
Skeleton,
|
|
40735
40687
|
Slider,
|
|
40736
|
-
Small,
|
|
40737
|
-
Span,
|
|
40738
40688
|
Spinner,
|
|
40739
40689
|
Stack,
|
|
40740
|
-
|
|
40690
|
+
SubsectionTitle,
|
|
40741
40691
|
Switch,
|
|
40742
40692
|
Table,
|
|
40743
40693
|
TableBody,
|
|
@@ -40763,7 +40713,6 @@ export {
|
|
|
40763
40713
|
TooltipContent,
|
|
40764
40714
|
TooltipProvider,
|
|
40765
40715
|
TooltipTrigger,
|
|
40766
|
-
Typography,
|
|
40767
40716
|
badgeVariants,
|
|
40768
40717
|
buttonGroupVariants,
|
|
40769
40718
|
buttonVariants,
|
|
@@ -40773,7 +40722,7 @@ export {
|
|
|
40773
40722
|
toastFunction as toast,
|
|
40774
40723
|
toggleVariants,
|
|
40775
40724
|
useCarousel,
|
|
40776
|
-
P
|
|
40725
|
+
P as useCommandState,
|
|
40777
40726
|
useIsMobile,
|
|
40778
40727
|
useSidebar,
|
|
40779
40728
|
useTheme
|