@vllnt/ui 0.3.0-canary.0572c35 → 0.3.0-canary.e1218e7
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/grid/grid.js +94 -0
- package/dist/components/grid/index.js +4 -0
- package/dist/components/index.js +54 -0
- package/dist/components/link/index.js +5 -0
- package/dist/components/link/link.js +55 -0
- package/dist/components/meter/index.js +5 -0
- package/dist/components/meter/meter.js +78 -0
- package/dist/components/panel/index.js +16 -0
- package/dist/components/panel/panel.js +81 -0
- package/dist/components/qr-code/index.js +4 -0
- package/dist/components/qr-code/qr-code.js +51 -0
- package/dist/components/toolbar/index.js +8 -0
- package/dist/components/toolbar/toolbar.js +83 -0
- package/dist/components/typography/index.js +26 -0
- package/dist/components/typography/typography.js +150 -0
- package/dist/index.d.ts +267 -3
- package/package.json +4 -2
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
const colsClasses = {
|
|
5
|
+
1: "grid-cols-1",
|
|
6
|
+
2: "grid-cols-2",
|
|
7
|
+
3: "grid-cols-3",
|
|
8
|
+
4: "grid-cols-4",
|
|
9
|
+
5: "grid-cols-5",
|
|
10
|
+
6: "grid-cols-6",
|
|
11
|
+
7: "grid-cols-7",
|
|
12
|
+
8: "grid-cols-8",
|
|
13
|
+
9: "grid-cols-9",
|
|
14
|
+
10: "grid-cols-10",
|
|
15
|
+
11: "grid-cols-11",
|
|
16
|
+
12: "grid-cols-12"
|
|
17
|
+
};
|
|
18
|
+
const smColsClasses = {
|
|
19
|
+
1: "sm:grid-cols-1",
|
|
20
|
+
2: "sm:grid-cols-2",
|
|
21
|
+
3: "sm:grid-cols-3",
|
|
22
|
+
4: "sm:grid-cols-4",
|
|
23
|
+
5: "sm:grid-cols-5",
|
|
24
|
+
6: "sm:grid-cols-6",
|
|
25
|
+
7: "sm:grid-cols-7",
|
|
26
|
+
8: "sm:grid-cols-8",
|
|
27
|
+
9: "sm:grid-cols-9",
|
|
28
|
+
10: "sm:grid-cols-10",
|
|
29
|
+
11: "sm:grid-cols-11",
|
|
30
|
+
12: "sm:grid-cols-12"
|
|
31
|
+
};
|
|
32
|
+
const mdColsClasses = {
|
|
33
|
+
1: "md:grid-cols-1",
|
|
34
|
+
2: "md:grid-cols-2",
|
|
35
|
+
3: "md:grid-cols-3",
|
|
36
|
+
4: "md:grid-cols-4",
|
|
37
|
+
5: "md:grid-cols-5",
|
|
38
|
+
6: "md:grid-cols-6",
|
|
39
|
+
7: "md:grid-cols-7",
|
|
40
|
+
8: "md:grid-cols-8",
|
|
41
|
+
9: "md:grid-cols-9",
|
|
42
|
+
10: "md:grid-cols-10",
|
|
43
|
+
11: "md:grid-cols-11",
|
|
44
|
+
12: "md:grid-cols-12"
|
|
45
|
+
};
|
|
46
|
+
const lgColsClasses = {
|
|
47
|
+
1: "lg:grid-cols-1",
|
|
48
|
+
2: "lg:grid-cols-2",
|
|
49
|
+
3: "lg:grid-cols-3",
|
|
50
|
+
4: "lg:grid-cols-4",
|
|
51
|
+
5: "lg:grid-cols-5",
|
|
52
|
+
6: "lg:grid-cols-6",
|
|
53
|
+
7: "lg:grid-cols-7",
|
|
54
|
+
8: "lg:grid-cols-8",
|
|
55
|
+
9: "lg:grid-cols-9",
|
|
56
|
+
10: "lg:grid-cols-10",
|
|
57
|
+
11: "lg:grid-cols-11",
|
|
58
|
+
12: "lg:grid-cols-12"
|
|
59
|
+
};
|
|
60
|
+
const gapClasses = {
|
|
61
|
+
0: "gap-0",
|
|
62
|
+
1: "gap-1",
|
|
63
|
+
2: "gap-2",
|
|
64
|
+
3: "gap-3",
|
|
65
|
+
4: "gap-4",
|
|
66
|
+
5: "gap-5",
|
|
67
|
+
6: "gap-6",
|
|
68
|
+
8: "gap-8",
|
|
69
|
+
10: "gap-10",
|
|
70
|
+
12: "gap-12",
|
|
71
|
+
16: "gap-16"
|
|
72
|
+
};
|
|
73
|
+
const Grid = forwardRef(
|
|
74
|
+
({ className, cols = 1, gap = 4, lgCols, mdCols, smCols, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
75
|
+
"div",
|
|
76
|
+
{
|
|
77
|
+
className: cn(
|
|
78
|
+
"grid",
|
|
79
|
+
colsClasses[cols],
|
|
80
|
+
smCols !== void 0 && smColsClasses[smCols],
|
|
81
|
+
mdCols !== void 0 && mdColsClasses[mdCols],
|
|
82
|
+
lgCols !== void 0 && lgColsClasses[lgCols],
|
|
83
|
+
gapClasses[gap],
|
|
84
|
+
className
|
|
85
|
+
),
|
|
86
|
+
ref,
|
|
87
|
+
...props
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
);
|
|
91
|
+
Grid.displayName = "Grid";
|
|
92
|
+
export {
|
|
93
|
+
Grid
|
|
94
|
+
};
|
package/dist/components/index.js
CHANGED
|
@@ -844,6 +844,35 @@ import {
|
|
|
844
844
|
ChainOfThought
|
|
845
845
|
} from "./chain-of-thought";
|
|
846
846
|
import { PromptInput } from "./prompt-input";
|
|
847
|
+
import {
|
|
848
|
+
Blockquote,
|
|
849
|
+
H1,
|
|
850
|
+
H2,
|
|
851
|
+
H3,
|
|
852
|
+
H4,
|
|
853
|
+
InlineCode,
|
|
854
|
+
Lead,
|
|
855
|
+
List,
|
|
856
|
+
Muted,
|
|
857
|
+
P,
|
|
858
|
+
typographyVariants
|
|
859
|
+
} from "./typography";
|
|
860
|
+
import { Link, linkVariants } from "./link";
|
|
861
|
+
import {
|
|
862
|
+
Toolbar,
|
|
863
|
+
ToolbarSeparator
|
|
864
|
+
} from "./toolbar";
|
|
865
|
+
import { Meter, meterFillVariants } from "./meter";
|
|
866
|
+
import { QrCode } from "./qr-code";
|
|
867
|
+
import { Grid } from "./grid";
|
|
868
|
+
import {
|
|
869
|
+
Panel,
|
|
870
|
+
PanelBody,
|
|
871
|
+
PanelDescription,
|
|
872
|
+
PanelFooter,
|
|
873
|
+
PanelHeader,
|
|
874
|
+
PanelTitle
|
|
875
|
+
} from "./panel";
|
|
847
876
|
export {
|
|
848
877
|
AIArtifact,
|
|
849
878
|
AIArtifactContent,
|
|
@@ -909,6 +938,7 @@ export {
|
|
|
909
938
|
BannerAction,
|
|
910
939
|
BarChart,
|
|
911
940
|
BeforeAfter,
|
|
941
|
+
Blockquote,
|
|
912
942
|
BlogCard,
|
|
913
943
|
BorderBeam,
|
|
914
944
|
BottomActivityStrip,
|
|
@@ -1076,7 +1106,12 @@ export {
|
|
|
1076
1106
|
GlobeArc,
|
|
1077
1107
|
GlobeMarker,
|
|
1078
1108
|
Glossary,
|
|
1109
|
+
Grid,
|
|
1079
1110
|
GroupHull,
|
|
1111
|
+
H1,
|
|
1112
|
+
H2,
|
|
1113
|
+
H3,
|
|
1114
|
+
H4,
|
|
1080
1115
|
HandoffBeacon,
|
|
1081
1116
|
HeatMapOverlay,
|
|
1082
1117
|
HeatOverlay,
|
|
@@ -1088,6 +1123,7 @@ export {
|
|
|
1088
1123
|
HoverCardContent,
|
|
1089
1124
|
HoverCardTrigger,
|
|
1090
1125
|
InfinitePlane,
|
|
1126
|
+
InlineCode,
|
|
1091
1127
|
InlineInput,
|
|
1092
1128
|
Input,
|
|
1093
1129
|
InputOTP,
|
|
@@ -1107,9 +1143,12 @@ export {
|
|
|
1107
1143
|
KnowledgeCheck,
|
|
1108
1144
|
Label,
|
|
1109
1145
|
LangProvider,
|
|
1146
|
+
Lead,
|
|
1110
1147
|
LearningObjectives,
|
|
1111
1148
|
LeftRail,
|
|
1112
1149
|
LineChart,
|
|
1150
|
+
Link,
|
|
1151
|
+
List,
|
|
1113
1152
|
LiveCursor,
|
|
1114
1153
|
LiveFeed,
|
|
1115
1154
|
MDXContent,
|
|
@@ -1145,6 +1184,7 @@ export {
|
|
|
1145
1184
|
MenubarSubContent,
|
|
1146
1185
|
MenubarSubTrigger,
|
|
1147
1186
|
MenubarTrigger,
|
|
1187
|
+
Meter,
|
|
1148
1188
|
MetricCluster,
|
|
1149
1189
|
MetricGauge,
|
|
1150
1190
|
MiniMapPanel,
|
|
@@ -1155,6 +1195,7 @@ export {
|
|
|
1155
1195
|
ModelSelector,
|
|
1156
1196
|
MultiSelect,
|
|
1157
1197
|
MultiSelectLasso,
|
|
1198
|
+
Muted,
|
|
1158
1199
|
NavbarSaas,
|
|
1159
1200
|
NavigationMenu,
|
|
1160
1201
|
NavigationMenuContent,
|
|
@@ -1173,7 +1214,14 @@ export {
|
|
|
1173
1214
|
OrderBook,
|
|
1174
1215
|
OverviewBoard,
|
|
1175
1216
|
OverviewCard,
|
|
1217
|
+
P,
|
|
1176
1218
|
Pagination,
|
|
1219
|
+
Panel,
|
|
1220
|
+
PanelBody,
|
|
1221
|
+
PanelDescription,
|
|
1222
|
+
PanelFooter,
|
|
1223
|
+
PanelHeader,
|
|
1224
|
+
PanelTitle,
|
|
1177
1225
|
ParallelTimeline,
|
|
1178
1226
|
PasswordInput,
|
|
1179
1227
|
PlanBadge,
|
|
@@ -1213,6 +1261,7 @@ export {
|
|
|
1213
1261
|
PromptInput,
|
|
1214
1262
|
PromptTemplates,
|
|
1215
1263
|
PropertySection,
|
|
1264
|
+
QrCode,
|
|
1216
1265
|
Quiz,
|
|
1217
1266
|
RadioGroup,
|
|
1218
1267
|
RadioGroupItem,
|
|
@@ -1325,6 +1374,8 @@ export {
|
|
|
1325
1374
|
Toggle,
|
|
1326
1375
|
ToggleGroup,
|
|
1327
1376
|
ToggleGroupItem,
|
|
1377
|
+
Toolbar,
|
|
1378
|
+
ToolbarSeparator,
|
|
1328
1379
|
Tooltip,
|
|
1329
1380
|
TooltipContent,
|
|
1330
1381
|
TooltipProvider,
|
|
@@ -1367,7 +1418,9 @@ export {
|
|
|
1367
1418
|
formatTransactionAmount,
|
|
1368
1419
|
formatTransactionDate,
|
|
1369
1420
|
kbdVariants,
|
|
1421
|
+
linkVariants,
|
|
1370
1422
|
mdxComponents,
|
|
1423
|
+
meterFillVariants,
|
|
1371
1424
|
navigationMenuTriggerStyle,
|
|
1372
1425
|
newsletterSignupReducer,
|
|
1373
1426
|
segmentedControlItemVariants,
|
|
@@ -1378,6 +1431,7 @@ export {
|
|
|
1378
1431
|
timelineVariants,
|
|
1379
1432
|
toast,
|
|
1380
1433
|
toggleVariants,
|
|
1434
|
+
typographyVariants,
|
|
1381
1435
|
useAIArtifact,
|
|
1382
1436
|
useAISidebar,
|
|
1383
1437
|
useAgentStepStatus,
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { ExternalLink } from "lucide-react";
|
|
6
|
+
import { cn } from "../../lib/utils";
|
|
7
|
+
const linkVariants = cva(
|
|
8
|
+
"inline-flex items-center gap-1 rounded-sm underline-offset-4 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
9
|
+
{
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
variant: "default"
|
|
12
|
+
},
|
|
13
|
+
variants: {
|
|
14
|
+
variant: {
|
|
15
|
+
default: "font-medium text-primary hover:underline",
|
|
16
|
+
muted: "text-muted-foreground hover:text-foreground hover:underline",
|
|
17
|
+
underline: "font-medium text-primary underline hover:text-primary/80"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
const Link = forwardRef(
|
|
23
|
+
({
|
|
24
|
+
asChild = false,
|
|
25
|
+
children,
|
|
26
|
+
className,
|
|
27
|
+
external = false,
|
|
28
|
+
rel,
|
|
29
|
+
showExternalIcon = true,
|
|
30
|
+
target,
|
|
31
|
+
variant,
|
|
32
|
+
...props
|
|
33
|
+
}, ref) => {
|
|
34
|
+
const Comp = asChild ? Slot : "a";
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
Comp,
|
|
37
|
+
{
|
|
38
|
+
className: cn(linkVariants({ variant }), className),
|
|
39
|
+
ref,
|
|
40
|
+
rel: external ? rel ?? "noreferrer noopener" : rel,
|
|
41
|
+
target: external ? target ?? "_blank" : target,
|
|
42
|
+
...props,
|
|
43
|
+
children: asChild ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
44
|
+
children,
|
|
45
|
+
external && showExternalIcon ? /* @__PURE__ */ jsx(ExternalLink, { "aria-hidden": "true", className: "size-3.5 shrink-0" }) : null
|
|
46
|
+
] })
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
Link.displayName = "Link";
|
|
52
|
+
export {
|
|
53
|
+
Link,
|
|
54
|
+
linkVariants
|
|
55
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
|
+
const meterFillVariants = cva("h-full transition-all", {
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
variant: "default"
|
|
8
|
+
},
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: "bg-primary",
|
|
12
|
+
destructive: "bg-destructive",
|
|
13
|
+
secondary: "bg-secondary-foreground"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
function clamp(value, min, max) {
|
|
18
|
+
return Math.min(Math.max(value, min), max);
|
|
19
|
+
}
|
|
20
|
+
const Meter = forwardRef(
|
|
21
|
+
({
|
|
22
|
+
className,
|
|
23
|
+
label,
|
|
24
|
+
max = 100,
|
|
25
|
+
min = 0,
|
|
26
|
+
segments,
|
|
27
|
+
value,
|
|
28
|
+
valueText,
|
|
29
|
+
variant,
|
|
30
|
+
...props
|
|
31
|
+
}, ref) => {
|
|
32
|
+
const safeMax = max > min ? max : min + 1;
|
|
33
|
+
const current = clamp(value, min, safeMax);
|
|
34
|
+
const ratio = (current - min) / (safeMax - min);
|
|
35
|
+
const percentage = ratio * 100;
|
|
36
|
+
const segmentCount = segments !== void 0 && segments > 0 ? segments : 0;
|
|
37
|
+
const filledSegments = Math.round(ratio * segmentCount);
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
"div",
|
|
40
|
+
{
|
|
41
|
+
"aria-label": label,
|
|
42
|
+
"aria-valuemax": safeMax,
|
|
43
|
+
"aria-valuemin": min,
|
|
44
|
+
"aria-valuenow": current,
|
|
45
|
+
"aria-valuetext": valueText,
|
|
46
|
+
className: cn(
|
|
47
|
+
"h-2 w-full overflow-hidden rounded-full bg-muted",
|
|
48
|
+
segmentCount > 0 && "flex gap-0.5 bg-transparent",
|
|
49
|
+
className
|
|
50
|
+
),
|
|
51
|
+
ref,
|
|
52
|
+
role: "meter",
|
|
53
|
+
...props,
|
|
54
|
+
children: segmentCount > 0 ? Array.from({ length: segmentCount }, (_cell, index) => /* @__PURE__ */ jsx(
|
|
55
|
+
"div",
|
|
56
|
+
{
|
|
57
|
+
className: cn(
|
|
58
|
+
"h-full flex-1 rounded-full",
|
|
59
|
+
index < filledSegments ? meterFillVariants({ variant }) : "bg-muted"
|
|
60
|
+
)
|
|
61
|
+
},
|
|
62
|
+
`meter-segment-${index}`
|
|
63
|
+
)) : /* @__PURE__ */ jsx(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
className: meterFillVariants({ variant }),
|
|
67
|
+
style: { width: `${percentage}%` }
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
Meter.displayName = "Meter";
|
|
75
|
+
export {
|
|
76
|
+
Meter,
|
|
77
|
+
meterFillVariants
|
|
78
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
const Panel = forwardRef(
|
|
5
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: cn(
|
|
9
|
+
"rounded-lg border border-border bg-card text-card-foreground shadow-sm",
|
|
10
|
+
className
|
|
11
|
+
),
|
|
12
|
+
ref,
|
|
13
|
+
...props
|
|
14
|
+
}
|
|
15
|
+
)
|
|
16
|
+
);
|
|
17
|
+
Panel.displayName = "Panel";
|
|
18
|
+
const PanelHeader = forwardRef(
|
|
19
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
20
|
+
"div",
|
|
21
|
+
{
|
|
22
|
+
className: cn(
|
|
23
|
+
"flex flex-col gap-1.5 border-b border-border px-4 py-3",
|
|
24
|
+
className
|
|
25
|
+
),
|
|
26
|
+
ref,
|
|
27
|
+
...props
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
PanelHeader.displayName = "PanelHeader";
|
|
32
|
+
const PanelTitle = forwardRef(
|
|
33
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
34
|
+
"h3",
|
|
35
|
+
{
|
|
36
|
+
className: cn(
|
|
37
|
+
"text-sm font-semibold leading-none tracking-tight",
|
|
38
|
+
className
|
|
39
|
+
),
|
|
40
|
+
ref,
|
|
41
|
+
...props,
|
|
42
|
+
children
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
);
|
|
46
|
+
PanelTitle.displayName = "PanelTitle";
|
|
47
|
+
const PanelDescription = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
48
|
+
"p",
|
|
49
|
+
{
|
|
50
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
51
|
+
ref,
|
|
52
|
+
...props
|
|
53
|
+
}
|
|
54
|
+
));
|
|
55
|
+
PanelDescription.displayName = "PanelDescription";
|
|
56
|
+
const PanelBody = forwardRef(
|
|
57
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("px-4 py-3", className), ref, ...props })
|
|
58
|
+
);
|
|
59
|
+
PanelBody.displayName = "PanelBody";
|
|
60
|
+
const PanelFooter = forwardRef(
|
|
61
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: cn(
|
|
65
|
+
"flex items-center border-t border-border px-4 py-3",
|
|
66
|
+
className
|
|
67
|
+
),
|
|
68
|
+
ref,
|
|
69
|
+
...props
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
);
|
|
73
|
+
PanelFooter.displayName = "PanelFooter";
|
|
74
|
+
export {
|
|
75
|
+
Panel,
|
|
76
|
+
PanelBody,
|
|
77
|
+
PanelDescription,
|
|
78
|
+
PanelFooter,
|
|
79
|
+
PanelHeader,
|
|
80
|
+
PanelTitle
|
|
81
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { create } from "qrcode";
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
|
+
function buildPath(data, count, margin) {
|
|
6
|
+
return Array.from({ length: count * count }).reduce(
|
|
7
|
+
(path, _cell, index) => {
|
|
8
|
+
if (data[index] !== 1) return path;
|
|
9
|
+
const x = index % count + margin;
|
|
10
|
+
const y = Math.floor(index / count) + margin;
|
|
11
|
+
return `${path}M${x} ${y}h1v1h-1z`;
|
|
12
|
+
},
|
|
13
|
+
""
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
const QrCode = forwardRef(
|
|
17
|
+
({
|
|
18
|
+
className,
|
|
19
|
+
level = "M",
|
|
20
|
+
margin = 4,
|
|
21
|
+
size = 160,
|
|
22
|
+
title = "QR code",
|
|
23
|
+
value,
|
|
24
|
+
...props
|
|
25
|
+
}, ref) => {
|
|
26
|
+
const modules = value ? create(value, { errorCorrectionLevel: level }).modules : null;
|
|
27
|
+
const count = modules?.size ?? 0;
|
|
28
|
+
const dimension = count + margin * 2;
|
|
29
|
+
const path = modules ? buildPath(modules.data, count, margin) : "";
|
|
30
|
+
return /* @__PURE__ */ jsx(
|
|
31
|
+
"svg",
|
|
32
|
+
{
|
|
33
|
+
"aria-label": title,
|
|
34
|
+
className: cn("text-foreground", className),
|
|
35
|
+
height: size,
|
|
36
|
+
ref,
|
|
37
|
+
role: "img",
|
|
38
|
+
shapeRendering: "crispEdges",
|
|
39
|
+
viewBox: `0 0 ${dimension} ${dimension}`,
|
|
40
|
+
width: size,
|
|
41
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
+
...props,
|
|
43
|
+
children: /* @__PURE__ */ jsx("path", { d: path, fill: "currentColor" })
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
QrCode.displayName = "QrCode";
|
|
49
|
+
export {
|
|
50
|
+
QrCode
|
|
51
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cn } from "../../lib/utils";
|
|
4
|
+
const FOCUSABLE_SELECTOR = [
|
|
5
|
+
"a[href]",
|
|
6
|
+
"button:not([disabled])",
|
|
7
|
+
"input:not([disabled])",
|
|
8
|
+
"select:not([disabled])",
|
|
9
|
+
"textarea:not([disabled])",
|
|
10
|
+
'[tabindex]:not([tabindex="-1"])'
|
|
11
|
+
].join(",");
|
|
12
|
+
const Toolbar = forwardRef(
|
|
13
|
+
({ className, onKeyDown, orientation = "horizontal", ...props }, ref) => {
|
|
14
|
+
function handleKeyDown(event) {
|
|
15
|
+
onKeyDown?.(event);
|
|
16
|
+
if (event.defaultPrevented) return;
|
|
17
|
+
const nextKey = orientation === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
18
|
+
const previousKey = orientation === "horizontal" ? "ArrowLeft" : "ArrowUp";
|
|
19
|
+
const isNext = event.key === nextKey;
|
|
20
|
+
const isPrevious = event.key === previousKey;
|
|
21
|
+
const isHome = event.key === "Home";
|
|
22
|
+
const isEnd = event.key === "End";
|
|
23
|
+
if (!isNext && !isPrevious && !isHome && !isEnd) return;
|
|
24
|
+
const items = [
|
|
25
|
+
...event.currentTarget.querySelectorAll(
|
|
26
|
+
FOCUSABLE_SELECTOR
|
|
27
|
+
)
|
|
28
|
+
];
|
|
29
|
+
if (items.length === 0) return;
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
const active = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
32
|
+
const currentIndex = active ? items.indexOf(active) : -1;
|
|
33
|
+
let nextIndex = 0;
|
|
34
|
+
if (isHome) {
|
|
35
|
+
nextIndex = 0;
|
|
36
|
+
} else if (isEnd) {
|
|
37
|
+
nextIndex = items.length - 1;
|
|
38
|
+
} else if (isNext) {
|
|
39
|
+
nextIndex = currentIndex < 0 ? 0 : (currentIndex + 1) % items.length;
|
|
40
|
+
} else {
|
|
41
|
+
nextIndex = currentIndex < 0 ? items.length - 1 : (currentIndex - 1 + items.length) % items.length;
|
|
42
|
+
}
|
|
43
|
+
items[nextIndex]?.focus();
|
|
44
|
+
}
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
"aria-orientation": orientation,
|
|
49
|
+
className: cn(
|
|
50
|
+
"flex items-center gap-1 rounded-md border border-border bg-background p-1",
|
|
51
|
+
orientation === "vertical" ? "flex-col" : "flex-row",
|
|
52
|
+
className
|
|
53
|
+
),
|
|
54
|
+
onKeyDown: handleKeyDown,
|
|
55
|
+
ref,
|
|
56
|
+
role: "toolbar",
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
Toolbar.displayName = "Toolbar";
|
|
63
|
+
const ToolbarSeparator = forwardRef(
|
|
64
|
+
({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
"aria-orientation": orientation,
|
|
68
|
+
className: cn(
|
|
69
|
+
"shrink-0 bg-border",
|
|
70
|
+
orientation === "vertical" ? "mx-1 h-6 w-px" : "my-1 h-px w-full",
|
|
71
|
+
className
|
|
72
|
+
),
|
|
73
|
+
ref,
|
|
74
|
+
role: "separator",
|
|
75
|
+
...props
|
|
76
|
+
}
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
ToolbarSeparator.displayName = "ToolbarSeparator";
|
|
80
|
+
export {
|
|
81
|
+
Toolbar,
|
|
82
|
+
ToolbarSeparator
|
|
83
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Blockquote,
|
|
3
|
+
H1,
|
|
4
|
+
H2,
|
|
5
|
+
H3,
|
|
6
|
+
H4,
|
|
7
|
+
InlineCode,
|
|
8
|
+
Lead,
|
|
9
|
+
List,
|
|
10
|
+
Muted,
|
|
11
|
+
P,
|
|
12
|
+
typographyVariants
|
|
13
|
+
} from "./typography";
|
|
14
|
+
export {
|
|
15
|
+
Blockquote,
|
|
16
|
+
H1,
|
|
17
|
+
H2,
|
|
18
|
+
H3,
|
|
19
|
+
H4,
|
|
20
|
+
InlineCode,
|
|
21
|
+
Lead,
|
|
22
|
+
List,
|
|
23
|
+
Muted,
|
|
24
|
+
P,
|
|
25
|
+
typographyVariants
|
|
26
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
import { cn } from "../../lib/utils";
|
|
5
|
+
const typographyVariants = cva("", {
|
|
6
|
+
defaultVariants: {
|
|
7
|
+
variant: "p"
|
|
8
|
+
},
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
blockquote: "mt-6 border-l-2 border-border pl-6 italic text-foreground",
|
|
12
|
+
h1: "scroll-m-20 text-4xl font-extrabold tracking-tight text-balance lg:text-5xl",
|
|
13
|
+
h2: "scroll-m-20 border-b border-border pb-2 text-3xl font-semibold tracking-tight first:mt-0",
|
|
14
|
+
h3: "scroll-m-20 text-2xl font-semibold tracking-tight",
|
|
15
|
+
h4: "scroll-m-20 text-xl font-semibold tracking-tight",
|
|
16
|
+
inlineCode: "relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold text-foreground",
|
|
17
|
+
lead: "text-xl text-muted-foreground",
|
|
18
|
+
list: "my-6 ml-6 list-disc [&>li]:mt-2",
|
|
19
|
+
muted: "text-sm text-muted-foreground",
|
|
20
|
+
p: "leading-7 [&:not(:first-child)]:mt-6"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
const H1 = forwardRef(
|
|
25
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
26
|
+
"h1",
|
|
27
|
+
{
|
|
28
|
+
className: cn(typographyVariants({ variant: "h1" }), className),
|
|
29
|
+
ref,
|
|
30
|
+
...props,
|
|
31
|
+
children
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
);
|
|
35
|
+
H1.displayName = "H1";
|
|
36
|
+
const H2 = forwardRef(
|
|
37
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
38
|
+
"h2",
|
|
39
|
+
{
|
|
40
|
+
className: cn(typographyVariants({ variant: "h2" }), className),
|
|
41
|
+
ref,
|
|
42
|
+
...props,
|
|
43
|
+
children
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
);
|
|
47
|
+
H2.displayName = "H2";
|
|
48
|
+
const H3 = forwardRef(
|
|
49
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
50
|
+
"h3",
|
|
51
|
+
{
|
|
52
|
+
className: cn(typographyVariants({ variant: "h3" }), className),
|
|
53
|
+
ref,
|
|
54
|
+
...props,
|
|
55
|
+
children
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
H3.displayName = "H3";
|
|
60
|
+
const H4 = forwardRef(
|
|
61
|
+
({ children, className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
62
|
+
"h4",
|
|
63
|
+
{
|
|
64
|
+
className: cn(typographyVariants({ variant: "h4" }), className),
|
|
65
|
+
ref,
|
|
66
|
+
...props,
|
|
67
|
+
children
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
);
|
|
71
|
+
H4.displayName = "H4";
|
|
72
|
+
const P = forwardRef(
|
|
73
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
74
|
+
"p",
|
|
75
|
+
{
|
|
76
|
+
className: cn(typographyVariants({ variant: "p" }), className),
|
|
77
|
+
ref,
|
|
78
|
+
...props
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
P.displayName = "P";
|
|
83
|
+
const Lead = forwardRef(
|
|
84
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
85
|
+
"p",
|
|
86
|
+
{
|
|
87
|
+
className: cn(typographyVariants({ variant: "lead" }), className),
|
|
88
|
+
ref,
|
|
89
|
+
...props
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
);
|
|
93
|
+
Lead.displayName = "Lead";
|
|
94
|
+
const Muted = forwardRef(
|
|
95
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
96
|
+
"p",
|
|
97
|
+
{
|
|
98
|
+
className: cn(typographyVariants({ variant: "muted" }), className),
|
|
99
|
+
ref,
|
|
100
|
+
...props
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
);
|
|
104
|
+
Muted.displayName = "Muted";
|
|
105
|
+
const Blockquote = forwardRef(
|
|
106
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
107
|
+
"blockquote",
|
|
108
|
+
{
|
|
109
|
+
className: cn(typographyVariants({ variant: "blockquote" }), className),
|
|
110
|
+
ref,
|
|
111
|
+
...props
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
);
|
|
115
|
+
Blockquote.displayName = "Blockquote";
|
|
116
|
+
const InlineCode = forwardRef(
|
|
117
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
118
|
+
"code",
|
|
119
|
+
{
|
|
120
|
+
className: cn(typographyVariants({ variant: "inlineCode" }), className),
|
|
121
|
+
ref,
|
|
122
|
+
...props
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
);
|
|
126
|
+
InlineCode.displayName = "InlineCode";
|
|
127
|
+
const List = forwardRef(
|
|
128
|
+
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
129
|
+
"ul",
|
|
130
|
+
{
|
|
131
|
+
className: cn(typographyVariants({ variant: "list" }), className),
|
|
132
|
+
ref,
|
|
133
|
+
...props
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
List.displayName = "List";
|
|
138
|
+
export {
|
|
139
|
+
Blockquote,
|
|
140
|
+
H1,
|
|
141
|
+
H2,
|
|
142
|
+
H3,
|
|
143
|
+
H4,
|
|
144
|
+
InlineCode,
|
|
145
|
+
Lead,
|
|
146
|
+
List,
|
|
147
|
+
Muted,
|
|
148
|
+
P,
|
|
149
|
+
typographyVariants
|
|
150
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
36
36
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
37
37
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
38
38
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
39
|
-
import { Separator as Separator$1, Panel, Group } from 'react-resizable-panels';
|
|
39
|
+
import { Separator as Separator$1, Panel as Panel$1, Group } from 'react-resizable-panels';
|
|
40
40
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
41
41
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
42
42
|
import { ThemeProviderProps } from 'next-themes';
|
|
@@ -2572,7 +2572,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<Omit<ScrollAreaPrimiti
|
|
|
2572
2572
|
declare const ScrollBar: react.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2573
2573
|
|
|
2574
2574
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof Group>) => react_jsx_runtime.JSX.Element;
|
|
2575
|
-
declare const ResizablePanel: typeof Panel;
|
|
2575
|
+
declare const ResizablePanel: typeof Panel$1;
|
|
2576
2576
|
declare const ResizableHandle: ({ className, withHandle, ...props }: React.ComponentProps<typeof Separator$1> & {
|
|
2577
2577
|
withHandle?: boolean;
|
|
2578
2578
|
}) => react_jsx_runtime.JSX.Element;
|
|
@@ -10874,6 +10874,270 @@ type PromptInputProps = {
|
|
|
10874
10874
|
*/
|
|
10875
10875
|
declare const PromptInput: react.ForwardRefExoticComponent<PromptInputProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
10876
10876
|
|
|
10877
|
+
/**
|
|
10878
|
+
* Shared typographic scale for the semantic text primitives. Exposed so
|
|
10879
|
+
* consumers can compose the same styles onto bespoke elements.
|
|
10880
|
+
*/
|
|
10881
|
+
declare const typographyVariants: (props?: ({
|
|
10882
|
+
variant?: "list" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "p" | "inlineCode" | "lead" | "muted" | null | undefined;
|
|
10883
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10884
|
+
/** Variant key accepted by {@link typographyVariants}. */
|
|
10885
|
+
type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
|
|
10886
|
+
/** Props for a heading-level typographic primitive. */
|
|
10887
|
+
type HeadingProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
10888
|
+
/** Props for a paragraph-level typographic primitive. */
|
|
10889
|
+
type ParagraphProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
10890
|
+
/** Props for the blockquote primitive. */
|
|
10891
|
+
type BlockquoteProps = React.BlockquoteHTMLAttributes<HTMLQuoteElement>;
|
|
10892
|
+
/** Props for the inline code primitive. */
|
|
10893
|
+
type InlineCodeProps = React.HTMLAttributes<HTMLElement>;
|
|
10894
|
+
/** Props for the unordered list primitive. */
|
|
10895
|
+
type ListProps = React.HTMLAttributes<HTMLUListElement>;
|
|
10896
|
+
/**
|
|
10897
|
+
* Top-level page heading.
|
|
10898
|
+
* @example
|
|
10899
|
+
* <H1>Page title</H1>
|
|
10900
|
+
*/
|
|
10901
|
+
declare const H1: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
10902
|
+
/** Section heading. */
|
|
10903
|
+
declare const H2: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
10904
|
+
/** Subsection heading. */
|
|
10905
|
+
declare const H3: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
10906
|
+
/** Minor heading. */
|
|
10907
|
+
declare const H4: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
10908
|
+
/** Body paragraph with sensible vertical rhythm. */
|
|
10909
|
+
declare const P: react.ForwardRefExoticComponent<ParagraphProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
10910
|
+
/** Emphasised introductory paragraph. */
|
|
10911
|
+
declare const Lead: react.ForwardRefExoticComponent<ParagraphProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
10912
|
+
/** De-emphasised secondary text. */
|
|
10913
|
+
declare const Muted: react.ForwardRefExoticComponent<ParagraphProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
10914
|
+
/** Quoted passage with a leading rule. */
|
|
10915
|
+
declare const Blockquote: react.ForwardRefExoticComponent<BlockquoteProps & react.RefAttributes<HTMLQuoteElement>>;
|
|
10916
|
+
/** Inline monospaced code span. */
|
|
10917
|
+
declare const InlineCode: react.ForwardRefExoticComponent<InlineCodeProps & react.RefAttributes<HTMLElement>>;
|
|
10918
|
+
/** Bulleted list with indentation and item spacing. */
|
|
10919
|
+
declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttributes<HTMLUListElement>>;
|
|
10920
|
+
|
|
10921
|
+
declare const linkVariants: (props?: ({
|
|
10922
|
+
variant?: "default" | "underline" | "muted" | null | undefined;
|
|
10923
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10924
|
+
/** Props for the {@link Link} component. */
|
|
10925
|
+
type LinkProps = {
|
|
10926
|
+
/** Render the styles onto the single child element instead of an `<a>`. */
|
|
10927
|
+
asChild?: boolean;
|
|
10928
|
+
/**
|
|
10929
|
+
* Treat the link as external: opens in a new tab, applies safe `rel`, and
|
|
10930
|
+
* appends an external-link icon (unless `showExternalIcon` is `false`).
|
|
10931
|
+
*/
|
|
10932
|
+
external?: boolean;
|
|
10933
|
+
/** Show the external-link affordance icon for external links. */
|
|
10934
|
+
showExternalIcon?: boolean;
|
|
10935
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & VariantProps<typeof linkVariants>;
|
|
10936
|
+
/**
|
|
10937
|
+
* Styled anchor with selectable emphasis and an external-link affordance.
|
|
10938
|
+
* Composes onto custom routing components via `asChild`.
|
|
10939
|
+
* @example
|
|
10940
|
+
* <Link href="/docs">Read the docs</Link>
|
|
10941
|
+
* <Link href="https://example.com" external>Visit example</Link>
|
|
10942
|
+
*/
|
|
10943
|
+
declare const Link: react.ForwardRefExoticComponent<{
|
|
10944
|
+
/** Render the styles onto the single child element instead of an `<a>`. */
|
|
10945
|
+
asChild?: boolean;
|
|
10946
|
+
/**
|
|
10947
|
+
* Treat the link as external: opens in a new tab, applies safe `rel`, and
|
|
10948
|
+
* appends an external-link icon (unless `showExternalIcon` is `false`).
|
|
10949
|
+
*/
|
|
10950
|
+
external?: boolean;
|
|
10951
|
+
/** Show the external-link affordance icon for external links. */
|
|
10952
|
+
showExternalIcon?: boolean;
|
|
10953
|
+
} & react.AnchorHTMLAttributes<HTMLAnchorElement> & VariantProps<(props?: ({
|
|
10954
|
+
variant?: "default" | "underline" | "muted" | null | undefined;
|
|
10955
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLAnchorElement>>;
|
|
10956
|
+
|
|
10957
|
+
/** Orientation shared by the toolbar and its separators. */
|
|
10958
|
+
type ToolbarOrientation = "horizontal" | "vertical";
|
|
10959
|
+
/** Props for the {@link Toolbar} container. */
|
|
10960
|
+
type ToolbarProps = {
|
|
10961
|
+
/** Layout and arrow-key navigation axis. Defaults to `horizontal`. */
|
|
10962
|
+
orientation?: ToolbarOrientation;
|
|
10963
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
10964
|
+
/**
|
|
10965
|
+
* Horizontal (or vertical) container that groups related controls with
|
|
10966
|
+
* `role="toolbar"` and roving arrow-key navigation (Arrow keys, Home, End).
|
|
10967
|
+
* @example
|
|
10968
|
+
* <Toolbar aria-label="Formatting">
|
|
10969
|
+
* <Button>Bold</Button>
|
|
10970
|
+
* <ToolbarSeparator />
|
|
10971
|
+
* <Button>Italic</Button>
|
|
10972
|
+
* </Toolbar>
|
|
10973
|
+
*/
|
|
10974
|
+
declare const Toolbar: react.ForwardRefExoticComponent<{
|
|
10975
|
+
/** Layout and arrow-key navigation axis. Defaults to `horizontal`. */
|
|
10976
|
+
orientation?: ToolbarOrientation;
|
|
10977
|
+
} & react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
10978
|
+
/** Props for the {@link ToolbarSeparator}. */
|
|
10979
|
+
type ToolbarSeparatorProps = {
|
|
10980
|
+
/** Separator axis. Defaults to `vertical` (for a horizontal toolbar). */
|
|
10981
|
+
orientation?: ToolbarOrientation;
|
|
10982
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
10983
|
+
/** Visual and semantic divider between groups of toolbar controls. */
|
|
10984
|
+
declare const ToolbarSeparator: react.ForwardRefExoticComponent<{
|
|
10985
|
+
/** Separator axis. Defaults to `vertical` (for a horizontal toolbar). */
|
|
10986
|
+
orientation?: ToolbarOrientation;
|
|
10987
|
+
} & react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
10988
|
+
|
|
10989
|
+
declare const meterFillVariants: (props?: ({
|
|
10990
|
+
variant?: "default" | "destructive" | "secondary" | null | undefined;
|
|
10991
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
10992
|
+
/** Props for the {@link Meter} component. */
|
|
10993
|
+
type MeterProps = {
|
|
10994
|
+
/** Accessible label naming the measured quantity. */
|
|
10995
|
+
label?: string;
|
|
10996
|
+
/** Upper bound of the measured range. Defaults to `100`. */
|
|
10997
|
+
max?: number;
|
|
10998
|
+
/** Lower bound of the measured range. Defaults to `0`. */
|
|
10999
|
+
min?: number;
|
|
11000
|
+
/** Split the bar into this number of discrete blocks instead of a solid fill. */
|
|
11001
|
+
segments?: number;
|
|
11002
|
+
/** Current measured value (clamped to `min`/`max`). */
|
|
11003
|
+
value: number;
|
|
11004
|
+
/** Human-readable description of the current value (`aria-valuetext`). */
|
|
11005
|
+
valueText?: string;
|
|
11006
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & VariantProps<typeof meterFillVariants>;
|
|
11007
|
+
/**
|
|
11008
|
+
* Static measurement bar for a known range (disk usage, score, capacity).
|
|
11009
|
+
* Uses `role="meter"` — distinct from a progress bar, which reports task
|
|
11010
|
+
* completion over time.
|
|
11011
|
+
* @example
|
|
11012
|
+
* <Meter label="Disk usage" value={72} valueText="72% used" />
|
|
11013
|
+
*/
|
|
11014
|
+
declare const Meter: react.ForwardRefExoticComponent<{
|
|
11015
|
+
/** Accessible label naming the measured quantity. */
|
|
11016
|
+
label?: string;
|
|
11017
|
+
/** Upper bound of the measured range. Defaults to `100`. */
|
|
11018
|
+
max?: number;
|
|
11019
|
+
/** Lower bound of the measured range. Defaults to `0`. */
|
|
11020
|
+
min?: number;
|
|
11021
|
+
/** Split the bar into this number of discrete blocks instead of a solid fill. */
|
|
11022
|
+
segments?: number;
|
|
11023
|
+
/** Current measured value (clamped to `min`/`max`). */
|
|
11024
|
+
value: number;
|
|
11025
|
+
/** Human-readable description of the current value (`aria-valuetext`). */
|
|
11026
|
+
valueText?: string;
|
|
11027
|
+
} & Omit<react.HTMLAttributes<HTMLDivElement>, "children"> & VariantProps<(props?: ({
|
|
11028
|
+
variant?: "default" | "destructive" | "secondary" | null | undefined;
|
|
11029
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & react.RefAttributes<HTMLDivElement>>;
|
|
11030
|
+
|
|
11031
|
+
/**
|
|
11032
|
+
* Error-correction level. Higher levels tolerate more damage/occlusion at the
|
|
11033
|
+
* cost of denser codes: `L` ~7%, `M` ~15%, `Q` ~25%, `H` ~30%.
|
|
11034
|
+
*/
|
|
11035
|
+
type QrCodeLevel = "H" | "L" | "M" | "Q";
|
|
11036
|
+
/** Props for the {@link QrCode} component. */
|
|
11037
|
+
type QrCodeProps = {
|
|
11038
|
+
/** Error-correction level. Defaults to `M`. */
|
|
11039
|
+
level?: QrCodeLevel;
|
|
11040
|
+
/** Quiet-zone margin in modules. Defaults to `4`, the smallest the spec allows. */
|
|
11041
|
+
margin?: number;
|
|
11042
|
+
/** Rendered width/height in pixels. Defaults to `160`. */
|
|
11043
|
+
size?: number;
|
|
11044
|
+
/** Accessible label for the code. Defaults to `"QR code"`. */
|
|
11045
|
+
title?: string;
|
|
11046
|
+
/** The string to encode (URL, text, etc.). */
|
|
11047
|
+
value: string;
|
|
11048
|
+
} & Omit<React.SVGAttributes<SVGSVGElement>, "title">;
|
|
11049
|
+
/**
|
|
11050
|
+
* Renders a QR code as a single, theme-aware SVG path. Modules use
|
|
11051
|
+
* `currentColor` (inherits `text-foreground`) so the code adapts to the
|
|
11052
|
+
* surrounding surface — place it on a high-contrast background to keep it
|
|
11053
|
+
* scannable. Encoding is pure and runs during render (no client hooks).
|
|
11054
|
+
* @example
|
|
11055
|
+
* <QrCode value="https://vllnt.com" />
|
|
11056
|
+
* <QrCode value="WIFI:S:home;T:WPA;P:secret;;" level="H" size={200} />
|
|
11057
|
+
*/
|
|
11058
|
+
declare const QrCode: react.ForwardRefExoticComponent<{
|
|
11059
|
+
/** Error-correction level. Defaults to `M`. */
|
|
11060
|
+
level?: QrCodeLevel;
|
|
11061
|
+
/** Quiet-zone margin in modules. Defaults to `4`, the smallest the spec allows. */
|
|
11062
|
+
margin?: number;
|
|
11063
|
+
/** Rendered width/height in pixels. Defaults to `160`. */
|
|
11064
|
+
size?: number;
|
|
11065
|
+
/** Accessible label for the code. Defaults to `"QR code"`. */
|
|
11066
|
+
title?: string;
|
|
11067
|
+
/** The string to encode (URL, text, etc.). */
|
|
11068
|
+
value: string;
|
|
11069
|
+
} & Omit<react.SVGAttributes<SVGSVGElement>, "title"> & react.RefAttributes<SVGSVGElement>>;
|
|
11070
|
+
|
|
11071
|
+
/** Number of columns the grid resolves to at a given breakpoint. */
|
|
11072
|
+
type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
11073
|
+
/** Spacing scale (Tailwind gap units) between grid cells. */
|
|
11074
|
+
type GridGap = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16;
|
|
11075
|
+
/** Props for the {@link Grid} layout primitive. */
|
|
11076
|
+
type GridProps = {
|
|
11077
|
+
/** Base column count (all breakpoints). Defaults to `1`. */
|
|
11078
|
+
cols?: GridColumns;
|
|
11079
|
+
/** Gap between cells. Defaults to `4`. */
|
|
11080
|
+
gap?: GridGap;
|
|
11081
|
+
/** Column count at the `lg` breakpoint and up. */
|
|
11082
|
+
lgCols?: GridColumns;
|
|
11083
|
+
/** Column count at the `md` breakpoint and up. */
|
|
11084
|
+
mdCols?: GridColumns;
|
|
11085
|
+
/** Column count at the `sm` breakpoint and up. */
|
|
11086
|
+
smCols?: GridColumns;
|
|
11087
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
11088
|
+
/**
|
|
11089
|
+
* Responsive CSS grid layout primitive. Column counts map to Tailwind
|
|
11090
|
+
* `grid-cols-*` utilities per breakpoint.
|
|
11091
|
+
* @example
|
|
11092
|
+
* <Grid cols={1} mdCols={2} lgCols={3} gap={6}>
|
|
11093
|
+
* <Card />
|
|
11094
|
+
* <Card />
|
|
11095
|
+
* </Grid>
|
|
11096
|
+
*/
|
|
11097
|
+
declare const Grid: react.ForwardRefExoticComponent<{
|
|
11098
|
+
/** Base column count (all breakpoints). Defaults to `1`. */
|
|
11099
|
+
cols?: GridColumns;
|
|
11100
|
+
/** Gap between cells. Defaults to `4`. */
|
|
11101
|
+
gap?: GridGap;
|
|
11102
|
+
/** Column count at the `lg` breakpoint and up. */
|
|
11103
|
+
lgCols?: GridColumns;
|
|
11104
|
+
/** Column count at the `md` breakpoint and up. */
|
|
11105
|
+
mdCols?: GridColumns;
|
|
11106
|
+
/** Column count at the `sm` breakpoint and up. */
|
|
11107
|
+
smCols?: GridColumns;
|
|
11108
|
+
} & react.HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
11109
|
+
|
|
11110
|
+
/** Props shared by the panel container and its `div`-based slots. */
|
|
11111
|
+
type PanelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
11112
|
+
/** Props for the {@link PanelTitle} heading. */
|
|
11113
|
+
type PanelTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
11114
|
+
/** Props for the {@link PanelDescription}. */
|
|
11115
|
+
type PanelDescriptionProps = React.HTMLAttributes<HTMLParagraphElement>;
|
|
11116
|
+
/**
|
|
11117
|
+
* Bordered, titled content surface. Compose with {@link PanelHeader},
|
|
11118
|
+
* {@link PanelBody}, and {@link PanelFooter}.
|
|
11119
|
+
* @example
|
|
11120
|
+
* <Panel>
|
|
11121
|
+
* <PanelHeader>
|
|
11122
|
+
* <PanelTitle>Settings</PanelTitle>
|
|
11123
|
+
* <PanelDescription>Manage your workspace.</PanelDescription>
|
|
11124
|
+
* </PanelHeader>
|
|
11125
|
+
* <PanelBody>...</PanelBody>
|
|
11126
|
+
* <PanelFooter>...</PanelFooter>
|
|
11127
|
+
* </Panel>
|
|
11128
|
+
*/
|
|
11129
|
+
declare const Panel: react.ForwardRefExoticComponent<PanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
11130
|
+
/** Header region, divided from the body by a bottom border. */
|
|
11131
|
+
declare const PanelHeader: react.ForwardRefExoticComponent<PanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
11132
|
+
/** Accessible heading for the panel. */
|
|
11133
|
+
declare const PanelTitle: react.ForwardRefExoticComponent<PanelTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
11134
|
+
/** Secondary descriptive text under the title. */
|
|
11135
|
+
declare const PanelDescription: react.ForwardRefExoticComponent<PanelDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
11136
|
+
/** Main content region of the panel. */
|
|
11137
|
+
declare const PanelBody: react.ForwardRefExoticComponent<PanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
11138
|
+
/** Footer region, divided from the body by a top border. */
|
|
11139
|
+
declare const PanelFooter: react.ForwardRefExoticComponent<PanelProps & react.RefAttributes<HTMLDivElement>>;
|
|
11140
|
+
|
|
10877
11141
|
/**
|
|
10878
11142
|
* Difficulty levels for educational content
|
|
10879
11143
|
*/
|
|
@@ -11049,4 +11313,4 @@ declare function useThemePreset(): UseThemePresetResult;
|
|
|
11049
11313
|
|
|
11050
11314
|
declare function cn(...inputs: ClassValue[]): string;
|
|
11051
11315
|
|
|
11052
|
-
export { AIArtifact, AIArtifactContent, AIArtifactCopyButton, AIArtifactDownloadButton, AIArtifactEditButton, AIArtifactFullscreenButton, type AIArtifactLabels, type AIArtifactProps, AIArtifactToolbar, type AIArtifactType, AIArtifactVersion, type AIArtifactVersionProps, AIArtifactVersions, AIChatInput, type AIChatInputProps, AIMessageBubble, type AIMessageBubbleProps, AISidebar, AISidebarClose, AISidebarContent, AISidebarFooter, AISidebarHeader, type AISidebarLabels, type AISidebarPosition, type AISidebarProps, AISidebarProvider, type AISidebarProviderProps, AISidebarTitle, AISidebarTrigger, type AISidebarTriggerProps, AISourceCitation, type AISourceCitationProps, AIStreamingText, type AIStreamingTextProps, AIToolCallDisplay, type AIToolCallDisplayProps, type AIToolCallStatus, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityEvent, ActivityHeatmap, type ActivityHeatmapItem, type ActivityHeatmapProps, ActivityLog, type ActivityLogItem, type ActivityLogProps, type ActivityLogTone, type ActivityStripTone, AgentActivity, type AgentActivityLabels, type AgentActivityProps, type AgentActivityStatus, AgentStep, AgentStepDetail, type AgentStepDetailProps, AgentStepDuration, type AgentStepDurationProps, AgentStepProgress, type AgentStepProgressProps, type AgentStepProps, type AgentStepStatus, AgentStepTitle, type AgentStepTitleProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertPulse, type AlertPulseLabels, type AlertPulseProps, type AlertPulseSeverity, AlertTitle, AnchorPort, type AnchorPortProps, AnimatedText, type AnimatedTextProps, Annotation, type AnnotationColor, type AnnotationProps, type AnnotationRegion, AreaChart, AspectRatio, AutoReload, type AutoReloadLabels, type AutoReloadProps, type AutoReloadSavePayload, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, Banner, BannerAction, type BannerActionProps, type BannerProps, type BannerVariant, BarChart, BeforeAfter, type BeforeAfterProps, BlogCard, BorderBeam, type BorderBeamProps, BottomActivityStrip, type BottomActivityStripLabels, type BottomActivityStripProps, BottomBar, type BottomBarProps, Breadcrumb, type BreadcrumbItem, Button, type ButtonProps, CUSTOM_THEME_NAME, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, CandlestickChart, type CandlestickChartProps, type CandlestickDatum, CanvasShell, type CanvasShellInsets, type CanvasShellProps, type CanvasShellRouteConfig, CanvasView, type CanvasViewHandle, type CanvasViewProps, type CanvasViewport, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryFilter, ChainOfThought, type ChainOfThoughtProps, type ChainOfThoughtStatus, type ChainOfThoughtStep, type ChatDockMessage, ChatDockSection, type ChatDockSectionProps, Checkbox, Checklist, type ChecklistItem, type ChecklistProps, type ChoroplethColorScale, ChoroplethLegend, type ChoroplethLegendProps, ChoroplethMap, type ChoroplethMapLabels, type ChoroplethMapProps, type ChoroplethRegion, ChoroplethTooltip, type ChoroplethTooltipProps, ChronoEvent, type ChronoEventProps, type ChronoMedia, ChronologicalTimeline, type ChronologicalTimelineProps, CivilizationCard, type CivilizationCardColor, type CivilizationCardEra, type CivilizationCardLabels, type CivilizationCardProps, CivilizationComparison, type CivilizationComparisonProps, CodeBlock, CodePlayground, type CodePlaygroundProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentPin, type CommentPinLabels, type CommentPinProps, type CommentPinState, CommonMistake, type CommonMistakeProps, Comparison, type ComparisonProps, CompletionDialog, type CompletionDialogProps, ConnectorEdge, type ConnectorEdgePoint, type ConnectorEdgeProps, Content, ContentCard$1 as ContentCard, ContentIntro, type ContentIntroLabels, type ContentIntroProps, type ContentIntroSection, type ContentMeta, type ContentProgress, type ContentSection, type ContentSectionMinimal, ContextLens, type ContextLensFocus, type ContextLensLabels, type ContextLensProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ConversationEmpty, type ConversationEmptyProps, ConversationHeader, type ConversationHeaderProps, ConversationLoading, type ConversationLoadingProps, type ConversationMessage, ConversationMessages, type ConversationMessagesProps, ConversationScrollButton, type ConversationScrollButtonProps, ConversationSuggestions, type ConversationSuggestionsProps, ConversationThread, type ConversationThreadProps, ConversationTitle, type ConversationTitleProps, CookieConsent, type CookieConsentProps, CopyButton, type CopyButtonProps, type CopyButtonVariant, type CopyStatus, CountdownTimer, type CountdownTimerProps, CreditBadge, type CreditBadgeProps, type CreditBadgeStatus, Curriculum, CurriculumLesson, type CurriculumLessonProps, CurriculumModule, type CurriculumModuleProps, type CurriculumProps, type CustomTheme, DEFAULT_THEME_PRESET, DataList, DataListItem, type DataListItemProps, DataListLabel, type DataListProps, DataListValue, DataTableComponent as DataTable, type DataTableFilter, type DataTableFilterOption, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DifficultyLevel, DocumentSiblingNav, type DocumentSiblingNavLink, type DocumentSiblingNavProps, type DocumentSiblingNavVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EdgeLabel, type EdgeLabelProps, EmptyState, type EmptyStateProps, type EmptyStateSize, type EraColor, EraColumn, type EraColumnProps, EraComparison, type EraComparisonProps, EraDomain, type EraDomainProps, EraFigure, type EraFigureProps, EraHighlight, type EraHighlightProps, Exercise, type ExerciseProps, FAQ, FAQItem, type FAQItemProps, type FAQProps, FileTree, type FileTreeProps, FileUpload, type FileUploadProps, FilterBar, type FilterBarLabels, type FilterBarProps, type FilterOption, type FilterUpdates, Flashcard, type FlashcardProps, FloatingActionButton, type FloatingActionButtonProps, FloatingToolbar, type FloatingToolbarAction, type FloatingToolbarLabels, type FloatingToolbarProps, FlowControls, type FlowControlsProps, FlowDiagram, type FlowDiagramEdge, type FlowDiagramNode, type FlowDiagramProps, FlowErrorBoundary, FlowFullscreen, type FlowFullscreenProps, FollowMode, type FollowModeColor, type FollowModeLabels, type FollowModeProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormProps, GanttChart, type GanttChartLabels, type GanttChartProps, type GanttColor, type GanttGroup, type GanttMilestone, type GanttScale, type GanttTask, type GeoJSONPolygon, type GeoPosition$4 as GeoPosition, GeographyQuizMap, type GeographyQuizMapLabels, GeographyQuizMapPrompt, type GeographyQuizMapProps, GeographyQuizMapResults, GeographyQuizMapScore, GlassPanel, type GlassPanelProps, Globe3D, type Globe3DLabels, type Globe3DProps, GlobeArc, type GlobeArcProps, type GlobeColor, type GlobeCoord, GlobeMarker, type GlobeMarkerProps, Glossary, type GlossaryProps, GroupHull, type GroupHullProps, HandoffBeacon, type HandoffBeaconLabels, type HandoffBeaconLevel, type HandoffBeaconProps, type HeadingTag, type HeatGradient, HeatMapOverlay, type HeatMapOverlayLabels, type HeatMapOverlayProps, type HeatMapPoint, HeatOverlay, type HeatOverlayLabels, type HeatOverlayProps, type HeatOverlayTone, type HeatPoint, Highlight, type HighlightProps, type HistoricCategory, type HistoricColor, type HistoricEra, type HistoricEvent, type HistoricPeriod, HistoricTimeline, type HistoricTimelineLabels, type HistoricTimelineProps, HistoricalFigureCard, type HistoricalFigureCardConnection, type HistoricalFigureCardLabels, type HistoricalFigureCardLifeEvent, type HistoricalFigureCardProps, type HistoricalFigureCardQuote, HorizontalScrollRow, type HorizontalScrollRowProps, HoverCard, HoverCardContent, HoverCardTrigger, InfinitePlane, type InfinitePlaneLabels, type InfinitePlanePattern, type InfinitePlaneProps, InlineInput, type InlineInputProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InteractiveTimeline, type InteractiveTimelineCategory, type InteractiveTimelineColor, type InteractiveTimelineEvent, InteractiveTimelineFilter, type InteractiveTimelineFilterProps, type InteractiveTimelineLabels, type InteractiveTimelineProps, InteractiveTimelineToday, InteractiveTimelineToolbar, type InteractiveTimelineTrack, InteractiveTimelineZoomIn, InteractiveTimelineZoomOut, JarvisDock, type JarvisDockAction, type JarvisDockLabels, type JarvisDockProps, type JarvisDockTone, Kbd, type KbdProps, KeyConcept, type KeyConceptProps, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, KnowledgeCheck, type KnowledgeCheckAnswer, type KnowledgeCheckLabels, type KnowledgeCheckOption, type KnowledgeCheckProps, type KnowledgeCheckQuestion, type KnowledgeCheckQuestionType, type KnowledgeCheckScore, LANGUAGE_NAMES, Label, LangProvider, type LassoRect, LearningObjectives, type LearningObjectivesProps, LeftRail, type LeftRailProps, type LessonDifficulty, type LessonStatus, LineChart, LiveCursor, type LiveCursorLabels, type LiveCursorProps, LiveFeed, type LiveFeedEvent, type LiveFeedProps, MDXContent, Map2D, type Map2DLabels, type Map2DProps, MapControls, MapLayer, type MapLayerProps, MapMarker, MapMarkerIcon, type MapMarkerProps, MapPopup, type MapPopupProps, MapTimeline, type MapTimelineColor, MapTimelineControls, MapTimelineEvent, type MapTimelineEventProps, type MapTimelineGeometry, type MapTimelineLabels, MapTimelineLayer, type MapTimelineLayerProps, MapTimelinePlayButton, type MapTimelineProps, MapTimelineSlider, MapZoomIn, MapZoomOut, MarketTreemap, type MarketTreemapItem, type MarketTreemapProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MetricCluster, type MetricClusterAnchor, type MetricClusterEntry, type MetricClusterLabels, type MetricClusterProps, type MetricClusterTone, MetricGauge, type MetricGaugeProps, type MetricGaugeThreshold, type MiniMapMarker, MiniMapPanel, type MiniMapPanelProps, ModelComparison, ModelComparisonColumn, type ModelComparisonColumnProps, type ModelComparisonLabels, ModelComparisonMeta, type ModelComparisonMetaProps, type ModelComparisonProps, ModelComparisonVote, type ModelComparisonVoteProps, type ModelComparisonVoteValue, type ModelInfo, ModelSelector, type ModelSelectorProps, MultiSelect, MultiSelectLasso, type MultiSelectLassoLabels, type MultiSelectLassoProps, type MultiSelectOption, type MultiSelectProps, type NavItem, NavbarSaas, type NavbarSaasProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NewsletterSignup, type NewsletterSignupLabels, type NewsletterSignupProps, type NewsletterSignupStatus, type NewsletterSignupVariant, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, ObjectCard, type ObjectCardAction, type ObjectCardMetric, type ObjectCardProps, ObjectHandle, type ObjectHandleProps, ObjectInspector, type ObjectInspectorKind, type ObjectInspectorLabels, type ObjectInspectorProps, type ObjectInspectorStatus, OrderBook, type OrderBookLevel, type OrderBookProps, OverviewBoard, type OverviewBoardItem, type OverviewBoardProps, OverviewCard, type OverviewCardProps, type OverviewCardTone, Pagination, type PaginationProps, ParallelTimeline, type ParallelTimelineColor, type ParallelTimelineEra, type ParallelTimelineEvent, type ParallelTimelineLabels, type ParallelTimelineProps, type ParallelTimelineTrack, PasswordInput, type PasswordInputProps, PlanBadge, type PlanBadgeProps, type PlanBadgeState, type PlanBadgeTier, type PlatformConfig, PlaybackGhost, type PlaybackGhostKind, type PlaybackGhostLabels, type PlaybackGhostProps, PolicyDeliveryPanel, type PolicyDeliveryPanelLabels, type PolicyDeliveryPanelProps, type PolicyEntry, type PolicyStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Prerequisites, type PrerequisitesProps, PresenceStack, type PresenceStackLabels, type PresenceStackProps, type PresenceStatus, PresenceSyncIndicator, type PresenceSyncIndicatorLabels, type PresenceSyncIndicatorProps, type PresenceSyncState, type PresenceUser, type PricingFeature, type PricingPeriod, PricingPlan, type PricingPlanCta, type PricingPlanProps, PricingTable, type PricingTableProps, type PrimarySource, PrimarySourceAnnotation, type PrimarySourceAnnotationProps, PrimarySourceAnnotations, PrimarySourceContext, PrimarySourceMetadata, PrimarySourceQuestions, PrimarySourceRotate, PrimarySourceToolbar, PrimarySourceTranscription, PrimarySourceViewer, type PrimarySourceViewerLabels, type PrimarySourceViewerProps, PrimarySourceZoomIn, PrimarySourceZoomOut, ProTip, type ProTipProps, type ProTipVariant, ProfileSection, ProgressBar, type ProgressBarProps, ContentCard as ProgressCard, type ContentCardProgress as ProgressCardProgress, type ContentCardProps as ProgressCardProps, ProgressTracker, ProgressTrackerBadge, type ProgressTrackerBadgeProps, ProgressTrackerModule, type ProgressTrackerModuleItem, type ProgressTrackerModuleProps, type ProgressTrackerModuleStatus, ProgressTrackerModules, type ProgressTrackerModulesProps, ProgressTrackerOverview, type ProgressTrackerOverviewProps, type ProgressTrackerProps, ProgressTrackerStat, type ProgressTrackerStatProps, ProgressTrackerStats, type ProgressTrackerStatsProps, PromptInput, type PromptInputProps, type PromptTemplate, type PromptTemplateCategory, PromptTemplates, type PromptTemplatesLabels, type PromptTemplatesProps, type PropertyEntry, PropertySection, type PropertySectionLabels, type PropertySectionProps, Quiz, type QuizAnswer, type QuizOption, type QuizProps, type QuizQuestion, type QuizRegion, RadioGroup, RadioGroupItem, Rating, type RatingProps, Reasoning, type ReasoningProps, type RelationshipDirection, type RelationshipEdge, RelationshipInspector, type RelationshipInspectorLabels, type RelationshipInspectorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightDock, type RightDockProps, RoleBadge, type RoleBadgeProps, type RoleBadgeRole, type RouteColor, type RouteLineStyle, RouteMap, type RouteMapLabels, type RouteMapProps, type RouteWaypoint, type RoutingAssignment, RoutingAssignmentPanel, type RoutingAssignmentPanelLabels, type RoutingAssignmentPanelProps, type RoutingRole, type RunPhaseState, RunTimeline, type RunTimelineLabels, type RunTimelineLane, type RunTimelinePhase, type RunTimelineProps, type RuntimeMetric, type RuntimeMetricTone, type RuntimeMetricTrend, RuntimeOverviewPanel, type RuntimeOverviewPanelLabels, type RuntimeOverviewPanelProps, ScopeSelector, type ScopeSelectorNode, type ScopeSelectorProps, type ScopeSelectorSelection, ScrollArea, ScrollBar, SearchBar, SearchDialog, type SearchItem, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionBounds, SelectionHalo, type SelectionHaloLabels, type SelectionHaloProps, SelectionPresence, type SelectionPresenceLabels, type SelectionPresenceProps, Separator, SeverityBadge, type SeverityBadgeLevel, type SeverityBadgeProps, ShareDialog, type ShareDialogLabels, type SharePlatform as ShareDialogPlatform, type ShareDialogProps, type SharePlatform$1 as SharePlatform, type SharePlatformConfig, ShareSection, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarItem, SidebarProvider, type SidebarSection, SidebarToggle, type SidebarToggleProps, SimpleTerminal, type SimpleTerminalProps, Skeleton, Slider, Slideshow, type SlideshowLabels, type SlideshowProps, type SlideshowSection, type SnapGuide, SnapGuides, type SnapGuidesLabels, type SnapGuidesProps, SocialFAB, type SocialFabActionConfig, type SocialFabLabels, type SocialFabProps, SparklineGrid, type SparklineGridItem, type SparklineGridProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StateBadgeAnchor, StateBadgeOverlay, type StateBadgeOverlayLabels, type StateBadgeOverlayProps, type StateBadgeState, StaticCode, type StaticCodeProps, StatusBoard, type StatusBoardItem, type StatusBoardProps, type StatusBoardStatus, StatusIndicator, type StatusIndicatorProps, Step, StepByStep, type StepByStepProps, StepNavigation, type StepNavigationProps, type StepProps, Stepper, type StepperProps, type StepperStep, StickyMetric, type StickyMetricAnchor, type StickyMetricLabels, type StickyMetricProps, type StickyMetricTone, StoryMap, StoryMapChapter, type StoryMapChapterProps, type StoryMapColor, type StoryMapLabels, type StoryMapMedia, type StoryMapProps, SubscriptionCard, type SubscriptionCardProps, type SubscriptionCardStatus, type SubscriptionInterval, type SubscriptionStatus, Summary, type SummaryProps, type SupportedLanguage, Switch, THEME_CUSTOM_CSS_STORAGE_KEY, THEME_CUSTOM_STYLE_ID, THEME_PRESETS, THEME_PRESET_STORAGE_KEY, TLDRSection, type TOCSection, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableOfContentsPanel, type TableOfContentsPanelProps, TableRow, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagsInput, type TagsInputProps, Terminal, type TerminalLine, type TerminalProps, Textarea, type TextareaProps, type ThemePreset, type ThemePresetName, ThemePresetProvider, ThemeProvider, ThemeSwitcher, type ThemeSwitcherProps, ThemeToggle, ThinkingBlock, type ThinkingBlockProps, ThreadBubble, type ThreadBubbleLabels, type ThreadBubbleProps, type ThreadMessage, ThresholdRing, type ThresholdRingLabels, type ThresholdRingProps, type ThresholdRingTone, TickerTape, type TickerTapeItem, type TickerTapeProps, Timeline, type TimelineColor, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineOrientation, type TimelineProps, TimelineScrubber, type TimelineScrubberLabels, type TimelineScrubberProps, type TimelineScrubberTone, type TimelineTick, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolCall, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, Tour, type TourProps, type TourStep, type Transaction, TransactionList, type TransactionListLabels, TransactionListPinned, type TransactionListPinnedProps, type TransactionListProps, TransactionListSubscriptionRow, type TransactionListSubscriptionRowProps, type TransactionType, type TreeNode, TreeView, type TreeViewLabels, type TreeViewProps, type TreeViewSelectionMode, TruncatedText, type TruncatedTextProps, TutorialCard, type TutorialCardLabels, type TutorialCardMeta, type TutorialCardProgress, type TutorialCardProps, TutorialComplete, type TutorialCompleteLabels, type TutorialCompleteProps, type TutorialCompleteRelatedContent, type TutorialCompleteSection, TutorialFilters, type TutorialFiltersLabels, type TutorialFiltersProps, TutorialIntroContent, type TutorialIntroContentProps, TutorialMDX, type TutorialMDXProps, type SupportedLanguage as UISupportedLanguage, UnicodeSpinner, type UnicodeSpinnerAnimation, type UnicodeSpinnerProps, UsageBreakdown, type UsageBreakdownItem, type UsageBreakdownProps, type UsageBreakdownTone, type UseCopyToClipboardOptions, type UseCopyToClipboardResult, type UseFlowDiagramOptions, type UseFlowDiagramReturn, type UseThemePresetResult, VideoEmbed, type VideoEmbedProps, type ViewOption, ViewSwitcher, type ViewSwitcherProps, type ViewportBookmark, ViewportBookmarks, type ViewportBookmarksLabels, type ViewportBookmarksProps, WalletCard, type WalletCardProps, Watchlist, type WatchlistItem, type WatchlistProps, type WorkspaceOption, WorkspaceSwitcher, type WorkspaceSwitcherProps, WorldBreadcrumbs, type WorldBreadcrumbsLabels, type WorldBreadcrumbsProps, WorldClockBar, type WorldClockBarProps, type WorldClockBarZone, type WorldCrumb, type WorldCrumbKind, ZoomHUD, type ZoomHUDProps, alertVariants, avatarGroupVariants, avatarItemVariants, badgeVariants, bannerVariants, buttonVariants, cn, cookieConsentVariants, dataListItemVariants, dataListVariants, navVariants as documentSiblingNavVariants, dotVariants, emptyStateVariants, formatTransactionAmount, formatTransactionDate, getOtherLanguage, isThemePresetName, kbdVariants, mdxComponents, navigationMenuTriggerStyle, reducer as newsletterSignupReducer, segmentedControlItemVariants, segmentedControlVariants, setCustomTheme, setThemePreset, severityBadgeVariants, statCardVariants, statusIndicatorVariants, timelineVariants, toggleVariants, useAIArtifact, useAISidebar, useAgentStepStatus, useCopyToClipboard, useDebounce, useEraColumnColor, useFlowDiagram, useFormField, useHorizontalScroll, useMobile, useMounted, useProgressTrackerContext, useSidebar, useSocialFab, useThemePreset, useTimelineOrientation };
|
|
11316
|
+
export { AIArtifact, AIArtifactContent, AIArtifactCopyButton, AIArtifactDownloadButton, AIArtifactEditButton, AIArtifactFullscreenButton, type AIArtifactLabels, type AIArtifactProps, AIArtifactToolbar, type AIArtifactType, AIArtifactVersion, type AIArtifactVersionProps, AIArtifactVersions, AIChatInput, type AIChatInputProps, AIMessageBubble, type AIMessageBubbleProps, AISidebar, AISidebarClose, AISidebarContent, AISidebarFooter, AISidebarHeader, type AISidebarLabels, type AISidebarPosition, type AISidebarProps, AISidebarProvider, type AISidebarProviderProps, AISidebarTitle, AISidebarTrigger, type AISidebarTriggerProps, AISourceCitation, type AISourceCitationProps, AIStreamingText, type AIStreamingTextProps, AIToolCallDisplay, type AIToolCallDisplayProps, type AIToolCallStatus, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type ActivityEvent, ActivityHeatmap, type ActivityHeatmapItem, type ActivityHeatmapProps, ActivityLog, type ActivityLogItem, type ActivityLogProps, type ActivityLogTone, type ActivityStripTone, AgentActivity, type AgentActivityLabels, type AgentActivityProps, type AgentActivityStatus, AgentStep, AgentStepDetail, type AgentStepDetailProps, AgentStepDuration, type AgentStepDurationProps, AgentStepProgress, type AgentStepProgressProps, type AgentStepProps, type AgentStepStatus, AgentStepTitle, type AgentStepTitleProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertPulse, type AlertPulseLabels, type AlertPulseProps, type AlertPulseSeverity, AlertTitle, AnchorPort, type AnchorPortProps, AnimatedText, type AnimatedTextProps, Annotation, type AnnotationColor, type AnnotationProps, type AnnotationRegion, AreaChart, AspectRatio, AutoReload, type AutoReloadLabels, type AutoReloadProps, type AutoReloadSavePayload, Avatar, AvatarFallback, AvatarGroup, type AvatarGroupItem, type AvatarGroupProps, AvatarImage, Badge, type BadgeProps, Banner, BannerAction, type BannerActionProps, type BannerProps, type BannerVariant, BarChart, BeforeAfter, type BeforeAfterProps, Blockquote, type BlockquoteProps, BlogCard, BorderBeam, type BorderBeamProps, BottomActivityStrip, type BottomActivityStripLabels, type BottomActivityStripProps, BottomBar, type BottomBarProps, Breadcrumb, type BreadcrumbItem, Button, type ButtonProps, CUSTOM_THEME_NAME, Calendar, type CalendarProps, Callout, type CalloutProps, type CalloutVariant, CandlestickChart, type CandlestickChartProps, type CandlestickDatum, CanvasShell, type CanvasShellInsets, type CanvasShellProps, type CanvasShellRouteConfig, CanvasView, type CanvasViewHandle, type CanvasViewProps, type CanvasViewport, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, CategoryFilter, ChainOfThought, type ChainOfThoughtProps, type ChainOfThoughtStatus, type ChainOfThoughtStep, type ChatDockMessage, ChatDockSection, type ChatDockSectionProps, Checkbox, Checklist, type ChecklistItem, type ChecklistProps, type ChoroplethColorScale, ChoroplethLegend, type ChoroplethLegendProps, ChoroplethMap, type ChoroplethMapLabels, type ChoroplethMapProps, type ChoroplethRegion, ChoroplethTooltip, type ChoroplethTooltipProps, ChronoEvent, type ChronoEventProps, type ChronoMedia, ChronologicalTimeline, type ChronologicalTimelineProps, CivilizationCard, type CivilizationCardColor, type CivilizationCardEra, type CivilizationCardLabels, type CivilizationCardProps, CivilizationComparison, type CivilizationComparisonProps, CodeBlock, CodePlayground, type CodePlaygroundProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentPin, type CommentPinLabels, type CommentPinProps, type CommentPinState, CommonMistake, type CommonMistakeProps, Comparison, type ComparisonProps, CompletionDialog, type CompletionDialogProps, ConnectorEdge, type ConnectorEdgePoint, type ConnectorEdgeProps, Content, ContentCard$1 as ContentCard, ContentIntro, type ContentIntroLabels, type ContentIntroProps, type ContentIntroSection, type ContentMeta, type ContentProgress, type ContentSection, type ContentSectionMinimal, ContextLens, type ContextLensFocus, type ContextLensLabels, type ContextLensProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ConversationEmpty, type ConversationEmptyProps, ConversationHeader, type ConversationHeaderProps, ConversationLoading, type ConversationLoadingProps, type ConversationMessage, ConversationMessages, type ConversationMessagesProps, ConversationScrollButton, type ConversationScrollButtonProps, ConversationSuggestions, type ConversationSuggestionsProps, ConversationThread, type ConversationThreadProps, ConversationTitle, type ConversationTitleProps, CookieConsent, type CookieConsentProps, CopyButton, type CopyButtonProps, type CopyButtonVariant, type CopyStatus, CountdownTimer, type CountdownTimerProps, CreditBadge, type CreditBadgeProps, type CreditBadgeStatus, Curriculum, CurriculumLesson, type CurriculumLessonProps, CurriculumModule, type CurriculumModuleProps, type CurriculumProps, type CustomTheme, DEFAULT_THEME_PRESET, DataList, DataListItem, type DataListItemProps, DataListLabel, type DataListProps, DataListValue, DataTableComponent as DataTable, type DataTableFilter, type DataTableFilterOption, type DataTableProps, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type DifficultyLevel, DocumentSiblingNav, type DocumentSiblingNavLink, type DocumentSiblingNavProps, type DocumentSiblingNavVariant, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EdgeLabel, type EdgeLabelProps, EmptyState, type EmptyStateProps, type EmptyStateSize, type EraColor, EraColumn, type EraColumnProps, EraComparison, type EraComparisonProps, EraDomain, type EraDomainProps, EraFigure, type EraFigureProps, EraHighlight, type EraHighlightProps, Exercise, type ExerciseProps, FAQ, FAQItem, type FAQItemProps, type FAQProps, FileTree, type FileTreeProps, FileUpload, type FileUploadProps, FilterBar, type FilterBarLabels, type FilterBarProps, type FilterOption, type FilterUpdates, Flashcard, type FlashcardProps, FloatingActionButton, type FloatingActionButtonProps, FloatingToolbar, type FloatingToolbarAction, type FloatingToolbarLabels, type FloatingToolbarProps, FlowControls, type FlowControlsProps, FlowDiagram, type FlowDiagramEdge, type FlowDiagramNode, type FlowDiagramProps, FlowErrorBoundary, FlowFullscreen, type FlowFullscreenProps, FollowMode, type FollowModeColor, type FollowModeLabels, type FollowModeProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type FormProps, GanttChart, type GanttChartLabels, type GanttChartProps, type GanttColor, type GanttGroup, type GanttMilestone, type GanttScale, type GanttTask, type GeoJSONPolygon, type GeoPosition$4 as GeoPosition, GeographyQuizMap, type GeographyQuizMapLabels, GeographyQuizMapPrompt, type GeographyQuizMapProps, GeographyQuizMapResults, GeographyQuizMapScore, GlassPanel, type GlassPanelProps, Globe3D, type Globe3DLabels, type Globe3DProps, GlobeArc, type GlobeArcProps, type GlobeColor, type GlobeCoord, GlobeMarker, type GlobeMarkerProps, Glossary, type GlossaryProps, Grid, type GridColumns, type GridGap, type GridProps, GroupHull, type GroupHullProps, H1, H2, H3, H4, HandoffBeacon, type HandoffBeaconLabels, type HandoffBeaconLevel, type HandoffBeaconProps, type HeadingProps, type HeadingTag, type HeatGradient, HeatMapOverlay, type HeatMapOverlayLabels, type HeatMapOverlayProps, type HeatMapPoint, HeatOverlay, type HeatOverlayLabels, type HeatOverlayProps, type HeatOverlayTone, type HeatPoint, Highlight, type HighlightProps, type HistoricCategory, type HistoricColor, type HistoricEra, type HistoricEvent, type HistoricPeriod, HistoricTimeline, type HistoricTimelineLabels, type HistoricTimelineProps, HistoricalFigureCard, type HistoricalFigureCardConnection, type HistoricalFigureCardLabels, type HistoricalFigureCardLifeEvent, type HistoricalFigureCardProps, type HistoricalFigureCardQuote, HorizontalScrollRow, type HorizontalScrollRowProps, HoverCard, HoverCardContent, HoverCardTrigger, InfinitePlane, type InfinitePlaneLabels, type InfinitePlanePattern, type InfinitePlaneProps, InlineCode, type InlineCodeProps, InlineInput, type InlineInputProps, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InteractiveTimeline, type InteractiveTimelineCategory, type InteractiveTimelineColor, type InteractiveTimelineEvent, InteractiveTimelineFilter, type InteractiveTimelineFilterProps, type InteractiveTimelineLabels, type InteractiveTimelineProps, InteractiveTimelineToday, InteractiveTimelineToolbar, type InteractiveTimelineTrack, InteractiveTimelineZoomIn, InteractiveTimelineZoomOut, JarvisDock, type JarvisDockAction, type JarvisDockLabels, type JarvisDockProps, type JarvisDockTone, Kbd, type KbdProps, KeyConcept, type KeyConceptProps, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, KnowledgeCheck, type KnowledgeCheckAnswer, type KnowledgeCheckLabels, type KnowledgeCheckOption, type KnowledgeCheckProps, type KnowledgeCheckQuestion, type KnowledgeCheckQuestionType, type KnowledgeCheckScore, LANGUAGE_NAMES, Label, LangProvider, type LassoRect, Lead, LearningObjectives, type LearningObjectivesProps, LeftRail, type LeftRailProps, type LessonDifficulty, type LessonStatus, LineChart, Link, type LinkProps, List, type ListProps, LiveCursor, type LiveCursorLabels, type LiveCursorProps, LiveFeed, type LiveFeedEvent, type LiveFeedProps, MDXContent, Map2D, type Map2DLabels, type Map2DProps, MapControls, MapLayer, type MapLayerProps, MapMarker, MapMarkerIcon, type MapMarkerProps, MapPopup, type MapPopupProps, MapTimeline, type MapTimelineColor, MapTimelineControls, MapTimelineEvent, type MapTimelineEventProps, type MapTimelineGeometry, type MapTimelineLabels, MapTimelineLayer, type MapTimelineLayerProps, MapTimelinePlayButton, type MapTimelineProps, MapTimelineSlider, MapZoomIn, MapZoomOut, MarketTreemap, type MarketTreemapItem, type MarketTreemapProps, Marquee, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, MetricCluster, type MetricClusterAnchor, type MetricClusterEntry, type MetricClusterLabels, type MetricClusterProps, type MetricClusterTone, MetricGauge, type MetricGaugeProps, type MetricGaugeThreshold, type MiniMapMarker, MiniMapPanel, type MiniMapPanelProps, ModelComparison, ModelComparisonColumn, type ModelComparisonColumnProps, type ModelComparisonLabels, ModelComparisonMeta, type ModelComparisonMetaProps, type ModelComparisonProps, ModelComparisonVote, type ModelComparisonVoteProps, type ModelComparisonVoteValue, type ModelInfo, ModelSelector, type ModelSelectorProps, MultiSelect, MultiSelectLasso, type MultiSelectLassoLabels, type MultiSelectLassoProps, type MultiSelectOption, type MultiSelectProps, Muted, type NavItem, NavbarSaas, type NavbarSaasProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NewsletterSignup, type NewsletterSignupLabels, type NewsletterSignupProps, type NewsletterSignupStatus, type NewsletterSignupVariant, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerProps, ObjectCard, type ObjectCardAction, type ObjectCardMetric, type ObjectCardProps, ObjectHandle, type ObjectHandleProps, ObjectInspector, type ObjectInspectorKind, type ObjectInspectorLabels, type ObjectInspectorProps, type ObjectInspectorStatus, OrderBook, type OrderBookLevel, type OrderBookProps, OverviewBoard, type OverviewBoardItem, type OverviewBoardProps, OverviewCard, type OverviewCardProps, type OverviewCardTone, P, Pagination, type PaginationProps, Panel, PanelBody, PanelDescription, type PanelDescriptionProps, PanelFooter, PanelHeader, type PanelProps, PanelTitle, type PanelTitleProps, type ParagraphProps, ParallelTimeline, type ParallelTimelineColor, type ParallelTimelineEra, type ParallelTimelineEvent, type ParallelTimelineLabels, type ParallelTimelineProps, type ParallelTimelineTrack, PasswordInput, type PasswordInputProps, PlanBadge, type PlanBadgeProps, type PlanBadgeState, type PlanBadgeTier, type PlatformConfig, PlaybackGhost, type PlaybackGhostKind, type PlaybackGhostLabels, type PlaybackGhostProps, PolicyDeliveryPanel, type PolicyDeliveryPanelLabels, type PolicyDeliveryPanelProps, type PolicyEntry, type PolicyStatus, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Prerequisites, type PrerequisitesProps, PresenceStack, type PresenceStackLabels, type PresenceStackProps, type PresenceStatus, PresenceSyncIndicator, type PresenceSyncIndicatorLabels, type PresenceSyncIndicatorProps, type PresenceSyncState, type PresenceUser, type PricingFeature, type PricingPeriod, PricingPlan, type PricingPlanCta, type PricingPlanProps, PricingTable, type PricingTableProps, type PrimarySource, PrimarySourceAnnotation, type PrimarySourceAnnotationProps, PrimarySourceAnnotations, PrimarySourceContext, PrimarySourceMetadata, PrimarySourceQuestions, PrimarySourceRotate, PrimarySourceToolbar, PrimarySourceTranscription, PrimarySourceViewer, type PrimarySourceViewerLabels, type PrimarySourceViewerProps, PrimarySourceZoomIn, PrimarySourceZoomOut, ProTip, type ProTipProps, type ProTipVariant, ProfileSection, ProgressBar, type ProgressBarProps, ContentCard as ProgressCard, type ContentCardProgress as ProgressCardProgress, type ContentCardProps as ProgressCardProps, ProgressTracker, ProgressTrackerBadge, type ProgressTrackerBadgeProps, ProgressTrackerModule, type ProgressTrackerModuleItem, type ProgressTrackerModuleProps, type ProgressTrackerModuleStatus, ProgressTrackerModules, type ProgressTrackerModulesProps, ProgressTrackerOverview, type ProgressTrackerOverviewProps, type ProgressTrackerProps, ProgressTrackerStat, type ProgressTrackerStatProps, ProgressTrackerStats, type ProgressTrackerStatsProps, PromptInput, type PromptInputProps, type PromptTemplate, type PromptTemplateCategory, PromptTemplates, type PromptTemplatesLabels, type PromptTemplatesProps, type PropertyEntry, PropertySection, type PropertySectionLabels, type PropertySectionProps, QrCode, type QrCodeLevel, type QrCodeProps, Quiz, type QuizAnswer, type QuizOption, type QuizProps, type QuizQuestion, type QuizRegion, RadioGroup, RadioGroupItem, Rating, type RatingProps, Reasoning, type ReasoningProps, type RelationshipDirection, type RelationshipEdge, RelationshipInspector, type RelationshipInspectorLabels, type RelationshipInspectorProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightDock, type RightDockProps, RoleBadge, type RoleBadgeProps, type RoleBadgeRole, type RouteColor, type RouteLineStyle, RouteMap, type RouteMapLabels, type RouteMapProps, type RouteWaypoint, type RoutingAssignment, RoutingAssignmentPanel, type RoutingAssignmentPanelLabels, type RoutingAssignmentPanelProps, type RoutingRole, type RunPhaseState, RunTimeline, type RunTimelineLabels, type RunTimelineLane, type RunTimelinePhase, type RunTimelineProps, type RuntimeMetric, type RuntimeMetricTone, type RuntimeMetricTrend, RuntimeOverviewPanel, type RuntimeOverviewPanelLabels, type RuntimeOverviewPanelProps, ScopeSelector, type ScopeSelectorNode, type ScopeSelectorProps, type ScopeSelectorSelection, ScrollArea, ScrollBar, SearchBar, SearchDialog, type SearchItem, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, type SelectionBounds, SelectionHalo, type SelectionHaloLabels, type SelectionHaloProps, SelectionPresence, type SelectionPresenceLabels, type SelectionPresenceProps, Separator, SeverityBadge, type SeverityBadgeLevel, type SeverityBadgeProps, ShareDialog, type ShareDialogLabels, type SharePlatform as ShareDialogPlatform, type ShareDialogProps, type SharePlatform$1 as SharePlatform, type SharePlatformConfig, ShareSection, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, type SidebarItem, SidebarProvider, type SidebarSection, SidebarToggle, type SidebarToggleProps, SimpleTerminal, type SimpleTerminalProps, Skeleton, Slider, Slideshow, type SlideshowLabels, type SlideshowProps, type SlideshowSection, type SnapGuide, SnapGuides, type SnapGuidesLabels, type SnapGuidesProps, SocialFAB, type SocialFabActionConfig, type SocialFabLabels, type SocialFabProps, SparklineGrid, type SparklineGridItem, type SparklineGridProps, Spinner, type SpinnerProps, StatCard, type StatCardProps, type StateBadgeAnchor, StateBadgeOverlay, type StateBadgeOverlayLabels, type StateBadgeOverlayProps, type StateBadgeState, StaticCode, type StaticCodeProps, StatusBoard, type StatusBoardItem, type StatusBoardProps, type StatusBoardStatus, StatusIndicator, type StatusIndicatorProps, Step, StepByStep, type StepByStepProps, StepNavigation, type StepNavigationProps, type StepProps, Stepper, type StepperProps, type StepperStep, StickyMetric, type StickyMetricAnchor, type StickyMetricLabels, type StickyMetricProps, type StickyMetricTone, StoryMap, StoryMapChapter, type StoryMapChapterProps, type StoryMapColor, type StoryMapLabels, type StoryMapMedia, type StoryMapProps, SubscriptionCard, type SubscriptionCardProps, type SubscriptionCardStatus, type SubscriptionInterval, type SubscriptionStatus, Summary, type SummaryProps, type SupportedLanguage, Switch, THEME_CUSTOM_CSS_STORAGE_KEY, THEME_CUSTOM_STYLE_ID, THEME_PRESETS, THEME_PRESET_STORAGE_KEY, TLDRSection, type TOCSection, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableOfContentsPanel, type TableOfContentsPanelProps, TableRow, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagsInput, type TagsInputProps, Terminal, type TerminalLine, type TerminalProps, Textarea, type TextareaProps, type ThemePreset, type ThemePresetName, ThemePresetProvider, ThemeProvider, ThemeSwitcher, type ThemeSwitcherProps, ThemeToggle, ThinkingBlock, type ThinkingBlockProps, ThreadBubble, type ThreadBubbleLabels, type ThreadBubbleProps, type ThreadMessage, ThresholdRing, type ThresholdRingLabels, type ThresholdRingProps, type ThresholdRingTone, TickerTape, type TickerTapeItem, type TickerTapeProps, Timeline, type TimelineColor, TimelineItem, type TimelineItemProps, type TimelineItemStatus, type TimelineOrientation, type TimelineProps, TimelineScrubber, type TimelineScrubberLabels, type TimelineScrubberProps, type TimelineScrubberTone, type TimelineTick, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastTitle, Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToolCall, Toolbar, type ToolbarOrientation, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopBar, type TopBarProps, Tour, type TourProps, type TourStep, type Transaction, TransactionList, type TransactionListLabels, TransactionListPinned, type TransactionListPinnedProps, type TransactionListProps, TransactionListSubscriptionRow, type TransactionListSubscriptionRowProps, type TransactionType, type TreeNode, TreeView, type TreeViewLabels, type TreeViewProps, type TreeViewSelectionMode, TruncatedText, type TruncatedTextProps, TutorialCard, type TutorialCardLabels, type TutorialCardMeta, type TutorialCardProgress, type TutorialCardProps, TutorialComplete, type TutorialCompleteLabels, type TutorialCompleteProps, type TutorialCompleteRelatedContent, type TutorialCompleteSection, TutorialFilters, type TutorialFiltersLabels, type TutorialFiltersProps, TutorialIntroContent, type TutorialIntroContentProps, TutorialMDX, type TutorialMDXProps, type TypographyVariant, type SupportedLanguage as UISupportedLanguage, UnicodeSpinner, type UnicodeSpinnerAnimation, type UnicodeSpinnerProps, UsageBreakdown, type UsageBreakdownItem, type UsageBreakdownProps, type UsageBreakdownTone, type UseCopyToClipboardOptions, type UseCopyToClipboardResult, type UseFlowDiagramOptions, type UseFlowDiagramReturn, type UseThemePresetResult, VideoEmbed, type VideoEmbedProps, type ViewOption, ViewSwitcher, type ViewSwitcherProps, type ViewportBookmark, ViewportBookmarks, type ViewportBookmarksLabels, type ViewportBookmarksProps, WalletCard, type WalletCardProps, Watchlist, type WatchlistItem, type WatchlistProps, type WorkspaceOption, WorkspaceSwitcher, type WorkspaceSwitcherProps, WorldBreadcrumbs, type WorldBreadcrumbsLabels, type WorldBreadcrumbsProps, WorldClockBar, type WorldClockBarProps, type WorldClockBarZone, type WorldCrumb, type WorldCrumbKind, ZoomHUD, type ZoomHUDProps, alertVariants, avatarGroupVariants, avatarItemVariants, badgeVariants, bannerVariants, buttonVariants, cn, cookieConsentVariants, dataListItemVariants, dataListVariants, navVariants as documentSiblingNavVariants, dotVariants, emptyStateVariants, formatTransactionAmount, formatTransactionDate, getOtherLanguage, isThemePresetName, kbdVariants, linkVariants, mdxComponents, meterFillVariants, navigationMenuTriggerStyle, reducer as newsletterSignupReducer, segmentedControlItemVariants, segmentedControlVariants, setCustomTheme, setThemePreset, severityBadgeVariants, statCardVariants, statusIndicatorVariants, timelineVariants, toggleVariants, typographyVariants, useAIArtifact, useAISidebar, useAgentStepStatus, useCopyToClipboard, useDebounce, useEraColumnColor, useFlowDiagram, useFormField, useHorizontalScroll, useMobile, useMounted, useProgressTrackerContext, useSidebar, useSocialFab, useThemePreset, useTimelineOrientation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vllnt/ui",
|
|
3
|
-
"version": "0.3.0-canary.
|
|
3
|
+
"version": "0.3.0-canary.e1218e7",
|
|
4
4
|
"description": "React component library — 225 components built on Radix UI, Tailwind CSS, and CVA",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "vllnt",
|
|
@@ -103,12 +103,13 @@
|
|
|
103
103
|
"html-to-image": "^1.11.13",
|
|
104
104
|
"input-otp": "^1.4.2",
|
|
105
105
|
"lucide-react": "^0.468.0",
|
|
106
|
+
"qrcode": "1.5.4",
|
|
106
107
|
"react-day-picker": "^9.13.0",
|
|
107
108
|
"react-hook-form": "^7.73.1",
|
|
108
109
|
"react-markdown": "^10.1.0",
|
|
109
|
-
"remark-gfm": "^4.0.1",
|
|
110
110
|
"react-resizable-panels": "^4.3.3",
|
|
111
111
|
"react-syntax-highlighter": "^16.1.1",
|
|
112
|
+
"remark-gfm": "^4.0.1",
|
|
112
113
|
"sonner": "^1.7.4",
|
|
113
114
|
"tailwind-merge": "^2.5.5",
|
|
114
115
|
"vaul": "^1.1.2",
|
|
@@ -128,6 +129,7 @@
|
|
|
128
129
|
"@testing-library/jest-dom": "^6.9.1",
|
|
129
130
|
"@testing-library/react": "^16.3.0",
|
|
130
131
|
"@types/node": "^22",
|
|
132
|
+
"@types/qrcode": "1.5.6",
|
|
131
133
|
"@types/react": "^19.1.6",
|
|
132
134
|
"@types/react-dom": "^19.1.6",
|
|
133
135
|
"@types/react-syntax-highlighter": "^15.5.13",
|