nexi-agent 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -0
- package/dist/{chunk-LAE5NL7J.js → chunk-5VCFUEOF.js} +2 -1
- package/dist/{chunk-LAE5NL7J.js.map → chunk-5VCFUEOF.js.map} +1 -1
- package/dist/demo.cjs +587 -11
- package/dist/demo.cjs.map +1 -1
- package/dist/demo.d.cts +308 -1
- package/dist/demo.d.ts +308 -1
- package/dist/demo.js +529 -1
- package/dist/demo.js.map +1 -1
- package/dist/index.cjs +5210 -1176
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +803 -3
- package/dist/index.d.ts +803 -3
- package/dist/index.js +5148 -1165
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +135 -0
- package/package.json +1 -1
package/dist/demo.cjs
CHANGED
|
@@ -40,8 +40,11 @@ __export(demo_exports, {
|
|
|
40
40
|
beamsWithCollisionDemo: () => beamsWithCollisionDemo,
|
|
41
41
|
bentoGridDemo: () => bentoGridDemo,
|
|
42
42
|
bentoGridItemDemo: () => bentoGridItemDemo,
|
|
43
|
+
blendCursorDemo: () => blendCursorDemo,
|
|
44
|
+
burstIconDemo: () => burstIconDemo,
|
|
43
45
|
canvasRevealEffectDemo: () => canvasRevealEffectDemo,
|
|
44
46
|
canvasTextDemo: () => canvasTextDemo,
|
|
47
|
+
captionHoverDemo: () => captionHoverDemo,
|
|
45
48
|
card3DDemo: () => card3DDemo,
|
|
46
49
|
card3DItemDemo: () => card3DItemDemo,
|
|
47
50
|
cardHoverEffectDemo: () => cardHoverEffectDemo,
|
|
@@ -51,6 +54,7 @@ __export(demo_exports, {
|
|
|
51
54
|
chatComposerDemo: () => chatComposerDemo,
|
|
52
55
|
chromaticImageDemo: () => chromaticImageDemo,
|
|
53
56
|
cipherCardDemo: () => cipherCardDemo,
|
|
57
|
+
circularTextDemo: () => circularTextDemo,
|
|
54
58
|
cloudShaderDemo: () => cloudShaderDemo,
|
|
55
59
|
codeBlockDemo: () => codeBlockDemo,
|
|
56
60
|
colourfulTextDemo: () => colourfulTextDemo,
|
|
@@ -60,20 +64,25 @@ __export(demo_exports, {
|
|
|
60
64
|
containerScrollAnimationDemo: () => containerScrollAnimationDemo,
|
|
61
65
|
containerTextFlipDemo: () => containerTextFlipDemo,
|
|
62
66
|
contextCardsDemo: () => contextCardsDemo,
|
|
67
|
+
countUpDemo: () => countUpDemo,
|
|
63
68
|
dialogDemo: () => dialogDemo,
|
|
64
69
|
diffTableDemo: () => diffTableDemo,
|
|
65
70
|
directionAwareHoverDemo: () => directionAwareHoverDemo,
|
|
66
71
|
ditherShaderDemo: () => ditherShaderDemo,
|
|
67
72
|
dottedGlowBackgroundDemo: () => dottedGlowBackgroundDemo,
|
|
68
73
|
draggableCardsDemo: () => draggableCardsDemo,
|
|
74
|
+
draggableGridDemo: () => draggableGridDemo,
|
|
75
|
+
drawPathDemo: () => drawPathDemo,
|
|
69
76
|
effectButtonDemo: () => effectButtonDemo,
|
|
70
77
|
emptyStateDemo: () => emptyStateDemo,
|
|
71
78
|
encryptedTextDemo: () => encryptedTextDemo,
|
|
72
79
|
errorStateDemo: () => errorStateDemo,
|
|
73
80
|
expandableCardDemo: () => expandableCardDemo,
|
|
81
|
+
expandingPanelsDemo: () => expandingPanelsDemo,
|
|
74
82
|
fileUploadDemo: () => fileUploadDemo,
|
|
75
83
|
filterTableDemo: () => filterTableDemo,
|
|
76
84
|
fineTuneCardDemo: () => fineTuneCardDemo,
|
|
85
|
+
flipGridDemo: () => flipGridDemo,
|
|
77
86
|
flipWordsDemo: () => flipWordsDemo,
|
|
78
87
|
floatingDockDemo: () => floatingDockDemo,
|
|
79
88
|
floatingNavbarDemo: () => floatingNavbarDemo,
|
|
@@ -81,19 +90,29 @@ __export(demo_exports, {
|
|
|
81
90
|
focusCardsDemo: () => focusCardsDemo,
|
|
82
91
|
followingPointerDemo: () => followingPointerDemo,
|
|
83
92
|
glareCardDemo: () => glareCardDemo,
|
|
93
|
+
glitchImageDemo: () => glitchImageDemo,
|
|
94
|
+
glitchTextDemo: () => glitchTextDemo,
|
|
84
95
|
globeDemo: () => globeDemo,
|
|
85
96
|
glowInputDemo: () => glowInputDemo,
|
|
86
97
|
glowingEffectDemo: () => glowingEffectDemo,
|
|
87
98
|
glowingStarsDemo: () => glowingStarsDemo,
|
|
88
99
|
gooeyInputDemo: () => gooeyInputDemo,
|
|
100
|
+
gooeyStickyMenuDemo: () => gooeyStickyMenuDemo,
|
|
101
|
+
gravityTagsDemo: () => gravityTagsDemo,
|
|
89
102
|
gridBackgroundDemo: () => gridBackgroundDemo,
|
|
90
103
|
heroHighlightDemo: () => heroHighlightDemo,
|
|
91
104
|
heroParallaxDemo: () => heroParallaxDemo,
|
|
92
105
|
highlightDemo: () => highlightDemo,
|
|
106
|
+
horizontalScrollDemo: () => horizontalScrollDemo,
|
|
93
107
|
hoverBorderGradientDemo: () => hoverBorderGradientDemo,
|
|
108
|
+
hoverRevealListDemo: () => hoverRevealListDemo,
|
|
109
|
+
imageDistortHoverDemo: () => imageDistortHoverDemo,
|
|
94
110
|
imageGenerationLoaderDemo: () => imageGenerationLoaderDemo,
|
|
111
|
+
imageSequenceDemo: () => imageSequenceDemo,
|
|
112
|
+
imageTrailDemo: () => imageTrailDemo,
|
|
95
113
|
imagesBadgeDemo: () => imagesBadgeDemo,
|
|
96
114
|
imagesSliderDemo: () => imagesSliderDemo,
|
|
115
|
+
inertiaSliderDemo: () => inertiaSliderDemo,
|
|
97
116
|
infiniteMovingCardsDemo: () => infiniteMovingCardsDemo,
|
|
98
117
|
insightCardsDemo: () => insightCardsDemo,
|
|
99
118
|
keyboardDemo: () => keyboardDemo,
|
|
@@ -102,57 +121,86 @@ __export(demo_exports, {
|
|
|
102
121
|
layoutGridDemo: () => layoutGridDemo,
|
|
103
122
|
layoutTextFlipDemo: () => layoutTextFlipDemo,
|
|
104
123
|
lensDemo: () => lensDemo,
|
|
124
|
+
linkHoverDemo: () => linkHoverDemo,
|
|
105
125
|
linkPreviewDemo: () => linkPreviewDemo,
|
|
106
126
|
liquidGlassDemo: () => liquidGlassDemo,
|
|
107
127
|
loadingStateDemo: () => loadingStateDemo,
|
|
128
|
+
loopSliderDemo: () => loopSliderDemo,
|
|
108
129
|
magneticButtonDemo: () => magneticButtonDemo,
|
|
130
|
+
magneticCursorDemo: () => magneticCursorDemo,
|
|
109
131
|
markdownDemo: () => markdownDemo,
|
|
110
132
|
marquee3DDemo: () => marquee3DDemo,
|
|
133
|
+
marqueeMenuDemo: () => marqueeMenuDemo,
|
|
111
134
|
messageThreadDemo: () => messageThreadDemo,
|
|
112
135
|
meteorsDemo: () => meteorsDemo,
|
|
136
|
+
morphingBlobDemo: () => morphingBlobDemo,
|
|
137
|
+
motionPathDemo: () => motionPathDemo,
|
|
113
138
|
movingBorderDemo: () => movingBorderDemo,
|
|
114
139
|
navbarMenuDemo: () => navbarMenuDemo,
|
|
115
140
|
noiseBackgroundDemo: () => noiseBackgroundDemo,
|
|
116
141
|
notchDemo: () => notchDemo,
|
|
142
|
+
offCanvasMenuDemo: () => offCanvasMenuDemo,
|
|
143
|
+
pageTransitionDemo: () => pageTransitionDemo,
|
|
117
144
|
parallaxHeroImagesDemo: () => parallaxHeroImagesDemo,
|
|
118
145
|
parallaxScrollDemo: () => parallaxScrollDemo,
|
|
146
|
+
particleButtonDemo: () => particleButtonDemo,
|
|
147
|
+
particleTextDemo: () => particleTextDemo,
|
|
119
148
|
pin3DDemo: () => pin3DDemo,
|
|
120
149
|
pixelatedCanvasDemo: () => pixelatedCanvasDemo,
|
|
121
150
|
pointerHighlightDemo: () => pointerHighlightDemo,
|
|
151
|
+
preloaderCounterDemo: () => preloaderCounterDemo,
|
|
122
152
|
promptBarDemo: () => promptBarDemo,
|
|
153
|
+
rainGlassDemo: () => rainGlassDemo,
|
|
123
154
|
recommendationCardDemo: () => recommendationCardDemo,
|
|
124
155
|
recordsTableDemo: () => recordsTableDemo,
|
|
125
156
|
resizableNavbarDemo: () => resizableNavbarDemo,
|
|
157
|
+
rollingTextDemo: () => rollingTextDemo,
|
|
126
158
|
scalesDemo: () => scalesDemo,
|
|
159
|
+
scrollGridDemo: () => scrollGridDemo,
|
|
160
|
+
scrollLayoutSwitchDemo: () => scrollLayoutSwitchDemo,
|
|
127
161
|
scrollPathsEffectDemo: () => scrollPathsEffectDemo,
|
|
162
|
+
scrollToTopDemo: () => scrollToTopDemo,
|
|
163
|
+
scrollTypographyDemo: () => scrollTypographyDemo,
|
|
164
|
+
scrollZoomImageDemo: () => scrollZoomImageDemo,
|
|
165
|
+
seamTransitionDemo: () => seamTransitionDemo,
|
|
128
166
|
searchListDemo: () => searchListDemo,
|
|
129
167
|
selectionActionsDemo: () => selectionActionsDemo,
|
|
168
|
+
shapeMorphDemo: () => shapeMorphDemo,
|
|
130
169
|
shootingStarsDemo: () => shootingStarsDemo,
|
|
131
170
|
sidebarNavDemo: () => sidebarNavDemo,
|
|
132
171
|
signupFormDemo: () => signupFormDemo,
|
|
172
|
+
smoothScrollDemo: () => smoothScrollDemo,
|
|
133
173
|
sparklesDemo: () => sparklesDemo,
|
|
174
|
+
splitTextRevealDemo: () => splitTextRevealDemo,
|
|
134
175
|
spotlightCardDemo: () => spotlightCardDemo,
|
|
135
176
|
spotlightDemo: () => spotlightDemo,
|
|
136
177
|
spotlightNewDemo: () => spotlightNewDemo,
|
|
137
178
|
squigglyTextDemo: () => squigglyTextDemo,
|
|
179
|
+
stackedScrollCardsDemo: () => stackedScrollCardsDemo,
|
|
180
|
+
staggerGridDemo: () => staggerGridDemo,
|
|
138
181
|
statefulButtonDemo: () => statefulButtonDemo,
|
|
139
182
|
stickyBannerDemo: () => stickyBannerDemo,
|
|
140
183
|
stickyScrollRevealDemo: () => stickyScrollRevealDemo,
|
|
141
184
|
streamingTextDemo: () => streamingTextDemo,
|
|
142
185
|
svgMaskEffectDemo: () => svgMaskEffectDemo,
|
|
186
|
+
swipeSectionsDemo: () => swipeSectionsDemo,
|
|
143
187
|
taskRowsDemo: () => taskRowsDemo,
|
|
144
188
|
terminalDemo: () => terminalDemo,
|
|
145
189
|
textFlippingBoardDemo: () => textFlippingBoardDemo,
|
|
146
190
|
textHoverEffectDemo: () => textHoverEffectDemo,
|
|
191
|
+
textOnPathDemo: () => textOnPathDemo,
|
|
147
192
|
textRevealCardDemo: () => textRevealCardDemo,
|
|
148
193
|
thinkingStateDemo: () => thinkingStateDemo,
|
|
149
194
|
thinkingStateDemos: () => thinkingStateDemos,
|
|
195
|
+
tileRevealDemo: () => tileRevealDemo,
|
|
150
196
|
timelineDemo: () => timelineDemo,
|
|
151
197
|
toolChipsDemo: () => toolChipsDemo,
|
|
152
198
|
tooltipCardDemo: () => tooltipCardDemo,
|
|
153
199
|
tracingBeamDemo: () => tracingBeamDemo,
|
|
200
|
+
transitionOverlayDemo: () => transitionOverlayDemo,
|
|
154
201
|
typewriterDemo: () => typewriterDemo,
|
|
155
202
|
usageMeterDemo: () => usageMeterDemo,
|
|
203
|
+
velocityMarqueeDemo: () => velocityMarqueeDemo,
|
|
156
204
|
vortexDemo: () => vortexDemo,
|
|
157
205
|
wavyBackgroundDemo: () => wavyBackgroundDemo,
|
|
158
206
|
webcamPixelGridDemo: () => webcamPixelGridDemo,
|
|
@@ -427,8 +475,8 @@ function chartIndexFromPointer(event, pointCount) {
|
|
|
427
475
|
const progress = Math.max(0, Math.min(1, (event.clientX - rect.left) / rect.width));
|
|
428
476
|
return Math.round(progress * (pointCount - 1));
|
|
429
477
|
}
|
|
430
|
-
function ChartTooltip({ rows:
|
|
431
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "insight-chart-tooltip", children:
|
|
478
|
+
function ChartTooltip({ rows: rows3 }) {
|
|
479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "insight-chart-tooltip", children: rows3.map((row) => /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: "insight-chart-tooltip-item", children: [
|
|
432
480
|
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: "insight-chart-tooltip-dot", style: { background: row.color } }),
|
|
433
481
|
row.value
|
|
434
482
|
] }, row.label)) });
|
|
@@ -988,9 +1036,9 @@ function parseBlocks(source) {
|
|
|
988
1036
|
if (line.includes("|") && i + 1 < lines.length && /^\s*\|?\s*:?-{2,}/.test(lines[i + 1])) {
|
|
989
1037
|
const head = splitRow(line);
|
|
990
1038
|
i += 2;
|
|
991
|
-
const
|
|
992
|
-
while (i < lines.length && lines[i].includes("|") && lines[i].trim())
|
|
993
|
-
blocks.push({ kind: "table", head, rows:
|
|
1039
|
+
const rows3 = [];
|
|
1040
|
+
while (i < lines.length && lines[i].includes("|") && lines[i].trim()) rows3.push(splitRow(lines[i++]));
|
|
1041
|
+
blocks.push({ kind: "table", head, rows: rows3 });
|
|
994
1042
|
continue;
|
|
995
1043
|
}
|
|
996
1044
|
const body = [];
|
|
@@ -1094,13 +1142,13 @@ function Markdown({ content = "", onLinkClick, onCopyCode, className = "" } = {}
|
|
|
1094
1142
|
var import_react4 = require("react");
|
|
1095
1143
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
1096
1144
|
var STAGES = [800, 600, 1800, 2600, 1600];
|
|
1097
|
-
function useSequence(
|
|
1145
|
+
function useSequence(steps3) {
|
|
1098
1146
|
const [stage, setStage] = (0, import_react4.useState)(0);
|
|
1099
1147
|
(0, import_react4.useEffect)(() => {
|
|
1100
|
-
if (stage >=
|
|
1101
|
-
const t = setTimeout(() => setStage((s) => s + 1),
|
|
1148
|
+
if (stage >= steps3.length - 1) return;
|
|
1149
|
+
const t = setTimeout(() => setStage((s) => s + 1), steps3[stage]);
|
|
1102
1150
|
return () => clearTimeout(t);
|
|
1103
|
-
}, [stage,
|
|
1151
|
+
}, [stage, steps3]);
|
|
1104
1152
|
return stage;
|
|
1105
1153
|
}
|
|
1106
1154
|
var STATUS = {
|
|
@@ -1119,7 +1167,7 @@ var TONES = ["bg-accent", "bg-orange", "bg-green"];
|
|
|
1119
1167
|
function ThinkingState({
|
|
1120
1168
|
variant = "Steps",
|
|
1121
1169
|
onSettled,
|
|
1122
|
-
rows:
|
|
1170
|
+
rows: rows3 = [],
|
|
1123
1171
|
query,
|
|
1124
1172
|
more,
|
|
1125
1173
|
active,
|
|
@@ -1132,7 +1180,7 @@ function ThinkingState({
|
|
|
1132
1180
|
const [selectedTool, setSelectedTool] = (0, import_react4.useState)(null);
|
|
1133
1181
|
const base = STATUS[variant] ?? STATUS.Steps;
|
|
1134
1182
|
const v = {
|
|
1135
|
-
rows:
|
|
1183
|
+
rows: rows3,
|
|
1136
1184
|
query,
|
|
1137
1185
|
active: active ?? base.active,
|
|
1138
1186
|
done: done ?? base.done
|
|
@@ -3322,6 +3370,486 @@ var worldMapDemo = {
|
|
|
3322
3370
|
{ from: city2.sg, to: city2.tk }
|
|
3323
3371
|
]
|
|
3324
3372
|
};
|
|
3373
|
+
|
|
3374
|
+
// src/demo/CircularText.tsx
|
|
3375
|
+
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
3376
|
+
var circularTextDemo = {
|
|
3377
|
+
text: "agents at work",
|
|
3378
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("svg", { viewBox: "0 0 24 24", className: "h-7 w-7", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("path", { d: "M12 5v14M6 13l6 6 6-6" }) })
|
|
3379
|
+
};
|
|
3380
|
+
|
|
3381
|
+
// src/demo/GlitchText.ts
|
|
3382
|
+
var glitchTextDemo = {
|
|
3383
|
+
children: "SIGNAL LOST",
|
|
3384
|
+
trigger: "burst",
|
|
3385
|
+
every: 3,
|
|
3386
|
+
className: "font-mono text-[40px] font-bold tracking-tight text-ink md:text-[60px]"
|
|
3387
|
+
};
|
|
3388
|
+
var glitchImageDemo = {
|
|
3389
|
+
src: artImage(4, 800, 600),
|
|
3390
|
+
alt: "Abstract artwork that glitches on hover",
|
|
3391
|
+
className: "max-w-sm"
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
// src/demo/HoverRevealList.ts
|
|
3395
|
+
var hoverRevealListDemo = {
|
|
3396
|
+
items: [
|
|
3397
|
+
{ title: "Research", image: artImage(0, 640, 480), href: "#research", meta: "12 runs" },
|
|
3398
|
+
{ title: "Inbox", image: artImage(1, 640, 480), href: "#inbox", meta: "48 runs" },
|
|
3399
|
+
{ title: "Finance", image: artImage(2, 640, 480), href: "#finance", meta: "7 runs" },
|
|
3400
|
+
{ title: "Engineering", image: artImage(3, 640, 480), href: "#engineering", meta: "23 runs" },
|
|
3401
|
+
{ title: "Support", image: artImage(4, 640, 480), href: "#support", meta: "61 runs" }
|
|
3402
|
+
]
|
|
3403
|
+
};
|
|
3404
|
+
|
|
3405
|
+
// src/demo/ImageDistortHover.ts
|
|
3406
|
+
var imageDistortHoverDemo = {
|
|
3407
|
+
image: artImage(2, 640, 800),
|
|
3408
|
+
hoverImage: artImage(5, 640, 800),
|
|
3409
|
+
alt: "Abstract artwork that changes on hover",
|
|
3410
|
+
className: "max-w-xs"
|
|
3411
|
+
};
|
|
3412
|
+
|
|
3413
|
+
// src/demo/ImageTrail.tsx
|
|
3414
|
+
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
3415
|
+
var imageTrailDemo = {
|
|
3416
|
+
images: Array.from({ length: 10 }, (_, i) => artImage(i, 480, 600)),
|
|
3417
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "text-[34px] font-bold tracking-tight text-ink md:text-[52px]", children: "Move to explore" })
|
|
3418
|
+
};
|
|
3419
|
+
|
|
3420
|
+
// src/demo/LinkHover.ts
|
|
3421
|
+
var linkHoverDemo = {
|
|
3422
|
+
href: "#docs",
|
|
3423
|
+
variant: "sweep",
|
|
3424
|
+
children: "Read the docs",
|
|
3425
|
+
className: "text-[18px]"
|
|
3426
|
+
};
|
|
3427
|
+
|
|
3428
|
+
// src/demo/MagneticCursor.tsx
|
|
3429
|
+
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
3430
|
+
var magneticCursorDemo = {
|
|
3431
|
+
className: "flex min-h-[240px] w-full flex-col items-center justify-center gap-6 rounded-window bg-[var(--canvas)] p-8",
|
|
3432
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)(import_jsx_runtime81.Fragment, { children: [
|
|
3433
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("p", { className: "text-[13.5px] text-ink-2", children: "Move over the controls below." }),
|
|
3434
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "flex flex-wrap items-center justify-center gap-4", children: [
|
|
3435
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", className: "rounded-full bg-[var(--ink)] px-5 py-2.5 text-[13.5px] font-semibold text-[var(--page)]", children: "Start a run" }),
|
|
3436
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("a", { href: "#history", className: "px-2 py-1 text-[13.5px] font-medium text-ink", children: "Run history" }),
|
|
3437
|
+
/* @__PURE__ */ (0, import_jsx_runtime81.jsx)("button", { type: "button", className: "rounded-control bg-[var(--surface)] px-4 py-2.5 text-[13.5px] font-medium text-ink shadow-btn", children: "Settings" })
|
|
3438
|
+
] })
|
|
3439
|
+
] })
|
|
3440
|
+
};
|
|
3441
|
+
|
|
3442
|
+
// src/demo/ParticleText.ts
|
|
3443
|
+
var particleTextDemo = {
|
|
3444
|
+
text: "AGENTS",
|
|
3445
|
+
height: 220,
|
|
3446
|
+
colors: ["#6366f1", "#8b5cf6", "#ec4899", "#0ea5e9"]
|
|
3447
|
+
};
|
|
3448
|
+
|
|
3449
|
+
// src/demo/RollingText.ts
|
|
3450
|
+
var rollingTextDemo = {
|
|
3451
|
+
text: "Open the workspace",
|
|
3452
|
+
className: "text-[30px] font-semibold tracking-tight text-ink"
|
|
3453
|
+
};
|
|
3454
|
+
|
|
3455
|
+
// src/demo/ScrollTypography.ts
|
|
3456
|
+
var scrollTypographyDemo = {
|
|
3457
|
+
text: "ORCHESTRATE",
|
|
3458
|
+
variant: "flip",
|
|
3459
|
+
className: "text-[44px] font-black tracking-tight text-ink md:text-[96px]"
|
|
3460
|
+
};
|
|
3461
|
+
|
|
3462
|
+
// src/demo/SplitTextReveal.ts
|
|
3463
|
+
var splitTextRevealDemo = {
|
|
3464
|
+
as: "h2",
|
|
3465
|
+
text: "Hand it the busywork. Keep the decisions.",
|
|
3466
|
+
className: "max-w-2xl text-center text-[34px] leading-[1.1] font-bold tracking-tight text-ink md:text-[52px]"
|
|
3467
|
+
};
|
|
3468
|
+
|
|
3469
|
+
// src/demo/DraggableGrid.ts
|
|
3470
|
+
var draggableGridDemo = {
|
|
3471
|
+
images: Array.from({ length: 12 }, (_, i) => artImage(i, 400, 500))
|
|
3472
|
+
};
|
|
3473
|
+
|
|
3474
|
+
// src/demo/ExpandingPanels.ts
|
|
3475
|
+
var expandingPanelsDemo = {
|
|
3476
|
+
panels: [
|
|
3477
|
+
{ image: artImage(0, 1e3, 900), title: "Research", description: "Reads widely, cites precisely." },
|
|
3478
|
+
{ image: artImage(1, 1e3, 900), title: "Inbox", description: "Sorts and drafts; you send." },
|
|
3479
|
+
{ image: artImage(2, 1e3, 900), title: "Finance", description: "Every invoice matched to a payment." },
|
|
3480
|
+
{ image: artImage(3, 1e3, 900), title: "Engineering", description: "Pull requests with tests attached." },
|
|
3481
|
+
{ image: artImage(4, 1e3, 900), title: "Support", description: "First replies in under a minute." }
|
|
3482
|
+
]
|
|
3483
|
+
};
|
|
3484
|
+
|
|
3485
|
+
// src/demo/HorizontalScroll.tsx
|
|
3486
|
+
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
3487
|
+
var steps2 = ["Brief", "Research", "Outline", "Draft", "Review", "Ship"];
|
|
3488
|
+
var horizontalScrollDemo = {
|
|
3489
|
+
viewHeight: "80vh",
|
|
3490
|
+
trackClassName: "px-6",
|
|
3491
|
+
children: steps2.map((title, i) => /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figure", { className: "relative h-[52vh] w-[78vw] max-w-[380px] shrink-0 overflow-hidden rounded-window shadow-card", children: [
|
|
3492
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("img", { src: artImage(i, 760, 960), alt: "", className: "absolute inset-0 h-full w-full object-cover" }),
|
|
3493
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("figcaption", { className: "absolute inset-x-0 bottom-0 bg-[linear-gradient(to_top,rgba(0,0,0,0.6),transparent)] p-5 text-white", children: [
|
|
3494
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsxs)("span", { className: "font-mono text-[12px] text-white/70", children: [
|
|
3495
|
+
"0",
|
|
3496
|
+
i + 1
|
|
3497
|
+
] }),
|
|
3498
|
+
/* @__PURE__ */ (0, import_jsx_runtime82.jsx)("p", { className: "text-[22px] font-bold tracking-tight", children: title })
|
|
3499
|
+
] })
|
|
3500
|
+
] }, title))
|
|
3501
|
+
};
|
|
3502
|
+
|
|
3503
|
+
// src/demo/MarqueeMenu.ts
|
|
3504
|
+
var marqueeMenuDemo = {
|
|
3505
|
+
items: [
|
|
3506
|
+
{ label: "Agents", href: "#agents", image: artImage(0, 240, 120) },
|
|
3507
|
+
{ label: "Runs", href: "#runs", image: artImage(2, 240, 120) },
|
|
3508
|
+
{ label: "Tools", href: "#tools", image: artImage(4, 240, 120) },
|
|
3509
|
+
{ label: "Docs", href: "#docs", image: artImage(5, 240, 120) }
|
|
3510
|
+
]
|
|
3511
|
+
};
|
|
3512
|
+
|
|
3513
|
+
// src/demo/MorphingBlob.tsx
|
|
3514
|
+
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
3515
|
+
var morphingBlobDemo = {
|
|
3516
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx_runtime83.Fragment, { children: [
|
|
3517
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-[28px] font-bold tracking-tight text-white", children: "Always on" }),
|
|
3518
|
+
/* @__PURE__ */ (0, import_jsx_runtime83.jsx)("p", { className: "text-[13px] text-white/75", children: "Agents working while you rest" })
|
|
3519
|
+
] })
|
|
3520
|
+
};
|
|
3521
|
+
|
|
3522
|
+
// src/demo/PreloaderCounter.ts
|
|
3523
|
+
var preloaderCounterDemo = {
|
|
3524
|
+
fixed: false,
|
|
3525
|
+
labels: { loading: "Waking the agents" }
|
|
3526
|
+
};
|
|
3527
|
+
|
|
3528
|
+
// src/demo/ScrollZoomImage.tsx
|
|
3529
|
+
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
3530
|
+
var scrollZoomImageDemo = {
|
|
3531
|
+
src: artImage(3, 1600, 1e3),
|
|
3532
|
+
alt: "Abstract artwork that fills the screen as you scroll",
|
|
3533
|
+
viewHeight: "80vh",
|
|
3534
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("p", { className: "max-w-xl text-[30px] leading-tight font-bold tracking-tight md:text-[48px]", children: "The whole picture, when you need it" })
|
|
3535
|
+
};
|
|
3536
|
+
|
|
3537
|
+
// src/demo/StackedScrollCards.ts
|
|
3538
|
+
var stackedScrollCardsDemo = {
|
|
3539
|
+
cards: [
|
|
3540
|
+
{ title: "Plan", body: "The agent breaks your request into steps and shows you the plan before it starts.", image: artImage(0, 800, 840), color: "#eef0ff", textColor: "#1e1b4b" },
|
|
3541
|
+
{ title: "Gather", body: "It reads the files, inboxes and dashboards it has been given access to, and nothing else.", image: artImage(1, 800, 840), color: "#e8f7ef", textColor: "#052e16" },
|
|
3542
|
+
{ title: "Draft", body: "Work comes back as a draft with every source linked, ready for you to check.", image: artImage(2, 800, 840), color: "#fff1e6", textColor: "#431407" },
|
|
3543
|
+
{ title: "Approve", body: "Nothing is sent, paid or merged until a person says yes.", image: artImage(5, 800, 840), color: "#fde8f1", textColor: "#500724" }
|
|
3544
|
+
]
|
|
3545
|
+
};
|
|
3546
|
+
|
|
3547
|
+
// src/demo/TileReveal.ts
|
|
3548
|
+
var tileRevealDemo = {
|
|
3549
|
+
src: artImage(5, 1200, 900),
|
|
3550
|
+
alt: "Abstract pink artwork",
|
|
3551
|
+
mode: "pixel",
|
|
3552
|
+
className: "max-w-lg"
|
|
3553
|
+
};
|
|
3554
|
+
|
|
3555
|
+
// src/demo/TransitionOverlay.ts
|
|
3556
|
+
var transitionOverlayDemo = {
|
|
3557
|
+
trigger: 0,
|
|
3558
|
+
variant: "columns",
|
|
3559
|
+
fixed: false
|
|
3560
|
+
};
|
|
3561
|
+
|
|
3562
|
+
// src/demo/BurstIcon.ts
|
|
3563
|
+
var burstIconDemo = {
|
|
3564
|
+
icon: "heart",
|
|
3565
|
+
label: "Like this answer",
|
|
3566
|
+
count: 128
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
// src/demo/CaptionHover.ts
|
|
3570
|
+
var captionHoverDemo = {
|
|
3571
|
+
image: artImage(1, 640, 800),
|
|
3572
|
+
title: "Inbox agent",
|
|
3573
|
+
description: "Sorts, drafts and flags. You still press send.",
|
|
3574
|
+
variant: "slide",
|
|
3575
|
+
className: "max-w-[280px]"
|
|
3576
|
+
};
|
|
3577
|
+
|
|
3578
|
+
// src/demo/GooeyStickyMenu.ts
|
|
3579
|
+
var gooeyStickyMenuDemo = {
|
|
3580
|
+
items: [
|
|
3581
|
+
{ label: "Overview", href: "#overview" },
|
|
3582
|
+
{ label: "Agents", href: "#agents" },
|
|
3583
|
+
{ label: "Pricing", href: "#pricing" },
|
|
3584
|
+
{ label: "FAQ", href: "#faq" }
|
|
3585
|
+
],
|
|
3586
|
+
sticky: false
|
|
3587
|
+
};
|
|
3588
|
+
|
|
3589
|
+
// src/demo/OffCanvasMenu.tsx
|
|
3590
|
+
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
3591
|
+
var offCanvasMenuDemo = {
|
|
3592
|
+
className: "h-[380px] w-full rounded-window bg-[var(--canvas)]",
|
|
3593
|
+
menu: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("nav", { className: "flex flex-col gap-1", children: [
|
|
3594
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "mb-3 text-[11px] font-semibold tracking-[0.18em] text-ink-3 uppercase", children: "Workspace" }),
|
|
3595
|
+
["Agents", "Runs", "Tools", "Approvals", "Settings"].map((label) => /* @__PURE__ */ (0, import_jsx_runtime85.jsx)("a", { href: `#${label.toLowerCase()}`, className: "rounded-control px-2 py-2 text-[15px] font-medium text-ink hover:bg-[var(--inset)]", children: label }, label))
|
|
3596
|
+
] }),
|
|
3597
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime85.jsxs)("div", { className: "flex h-[380px] flex-col justify-center gap-2 p-8", children: [
|
|
3598
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "text-[24px] font-bold tracking-tight text-ink", children: "Today" }),
|
|
3599
|
+
/* @__PURE__ */ (0, import_jsx_runtime85.jsx)("p", { className: "max-w-sm text-[13.5px] text-ink-2", children: "Three runs finished overnight and one is waiting for your approval." })
|
|
3600
|
+
] })
|
|
3601
|
+
};
|
|
3602
|
+
|
|
3603
|
+
// src/demo/PageTransition.tsx
|
|
3604
|
+
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
3605
|
+
var pageTransitionDemo = {
|
|
3606
|
+
viewKey: "inbox",
|
|
3607
|
+
effect: "cube",
|
|
3608
|
+
className: "w-full rounded-window",
|
|
3609
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex h-[260px] flex-col justify-center gap-2 bg-[#eef0ff] p-8 text-[#1e1b4b]", children: [
|
|
3610
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-[28px] font-bold tracking-tight", children: "Inbox" }),
|
|
3611
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-[13.5px] opacity-75", children: "Twelve threads sorted, four drafts ready for review." })
|
|
3612
|
+
] })
|
|
3613
|
+
};
|
|
3614
|
+
|
|
3615
|
+
// src/demo/ParticleButton.ts
|
|
3616
|
+
var particleButtonDemo = {
|
|
3617
|
+
children: "Discard draft"
|
|
3618
|
+
};
|
|
3619
|
+
|
|
3620
|
+
// src/demo/RainGlass.ts
|
|
3621
|
+
var rainGlassDemo = {
|
|
3622
|
+
src: artImage(4, 1200, 800),
|
|
3623
|
+
alt: "Abstract blue artwork behind a rainy window",
|
|
3624
|
+
height: 380
|
|
3625
|
+
};
|
|
3626
|
+
|
|
3627
|
+
// src/demo/ScrollGrid.ts
|
|
3628
|
+
var scrollGridDemo = {
|
|
3629
|
+
images: Array.from({ length: 12 }, (_, i) => artImage(i, 480, 600)),
|
|
3630
|
+
variant: "tilt"
|
|
3631
|
+
};
|
|
3632
|
+
|
|
3633
|
+
// src/demo/ScrollLayoutSwitch.ts
|
|
3634
|
+
var names2 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops", "Sales", "Legal"];
|
|
3635
|
+
var scrollLayoutSwitchDemo = {
|
|
3636
|
+
items: names2.map((title, i) => ({ title, image: artImage(i, 480, 600) })),
|
|
3637
|
+
viewHeight: "80vh"
|
|
3638
|
+
};
|
|
3639
|
+
|
|
3640
|
+
// src/demo/SeamTransition.tsx
|
|
3641
|
+
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
3642
|
+
var seamTransitionDemo = {
|
|
3643
|
+
heroHeight: "80vh",
|
|
3644
|
+
hero: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "relative flex h-full items-center justify-center", children: [
|
|
3645
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("img", { src: artImage(3, 1600, 1e3), alt: "", className: "absolute inset-0 h-full w-full object-cover" }),
|
|
3646
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "relative max-w-2xl px-6 text-center text-[36px] leading-tight font-bold tracking-tight text-white md:text-[56px]", children: "Work that keeps going after you log off" })
|
|
3647
|
+
] }),
|
|
3648
|
+
contentClassName: "px-6 py-16 md:px-12",
|
|
3649
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "mx-auto grid max-w-3xl gap-6", children: [
|
|
3650
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsx)("p", { className: "text-[24px] font-bold tracking-tight text-ink", children: "How a run works" }),
|
|
3651
|
+
["You describe the outcome.", "The agent plans and gathers.", "It drafts, with sources.", "You approve, or ask for changes."].map((step, i) => /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("p", { className: "text-[15px] text-ink-2", children: [
|
|
3652
|
+
/* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "mr-3 font-mono text-ink-3", children: [
|
|
3653
|
+
"0",
|
|
3654
|
+
i + 1
|
|
3655
|
+
] }),
|
|
3656
|
+
step
|
|
3657
|
+
] }, step))
|
|
3658
|
+
] })
|
|
3659
|
+
};
|
|
3660
|
+
|
|
3661
|
+
// src/demo/DrawPath.ts
|
|
3662
|
+
var drawPathDemo = {
|
|
3663
|
+
viewBox: "0 0 120 90",
|
|
3664
|
+
label: "A chat bubble with a spark",
|
|
3665
|
+
paths: [
|
|
3666
|
+
"M20 18 H80 A10 10 0 0 1 90 28 V52 A10 10 0 0 1 80 62 H46 L34 72 V62 H20 A10 10 0 0 1 10 52 V28 A10 10 0 0 1 20 18 Z",
|
|
3667
|
+
"M26 34 H74",
|
|
3668
|
+
"M26 46 H58",
|
|
3669
|
+
"M104 8 L107 16 L115 19 L107 22 L104 30 L101 22 L93 19 L101 16 Z"
|
|
3670
|
+
],
|
|
3671
|
+
strokeWidth: 2,
|
|
3672
|
+
duration: 1100,
|
|
3673
|
+
stagger: -300,
|
|
3674
|
+
className: "max-w-sm"
|
|
3675
|
+
};
|
|
3676
|
+
|
|
3677
|
+
// src/demo/FlipGrid.ts
|
|
3678
|
+
var rows2 = [
|
|
3679
|
+
["Market scan", ["Research"]],
|
|
3680
|
+
["Vendor compare", ["Research", "Finance"]],
|
|
3681
|
+
["Invoice match", ["Finance"]],
|
|
3682
|
+
["Payroll check", ["Finance", "Ops"]],
|
|
3683
|
+
["On-call digest", ["Ops"]],
|
|
3684
|
+
["Release notes", ["Ops", "Research"]],
|
|
3685
|
+
["Churn review", ["Research"]],
|
|
3686
|
+
["Spend alerts", ["Finance"]],
|
|
3687
|
+
["Access audit", ["Ops"]]
|
|
3688
|
+
];
|
|
3689
|
+
var flipGridDemo = {
|
|
3690
|
+
items: rows2.map(([title, tags], i) => ({ id: `card-${i}`, title, tags, image: artImage(i, 480, 360), meta: tags[0] }))
|
|
3691
|
+
};
|
|
3692
|
+
|
|
3693
|
+
// src/demo/GravityTags.ts
|
|
3694
|
+
var gravityTagsDemo = {
|
|
3695
|
+
tags: ["Search", "Calendar", "Email", "CRM", "Spreadsheets", "Slack", "Drive", "Billing", "Tickets", "Code review", "Docs", "Analytics", "Contracts", "Payroll"]
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
// src/demo/InertiaSlider.tsx
|
|
3699
|
+
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
3700
|
+
var names3 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops"];
|
|
3701
|
+
var inertiaSliderDemo = {
|
|
3702
|
+
slideWidth: 260,
|
|
3703
|
+
children: names3.map((name, i) => /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("figure", { className: "m-0 overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
|
|
3704
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsx)("img", { src: artImage(i, 520, 620), alt: "", draggable: false, className: "aspect-[26/31] w-full object-cover" }),
|
|
3705
|
+
/* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("figcaption", { className: "p-3 text-[13.5px] font-semibold text-ink", children: [
|
|
3706
|
+
name,
|
|
3707
|
+
" agent"
|
|
3708
|
+
] })
|
|
3709
|
+
] }, name))
|
|
3710
|
+
};
|
|
3711
|
+
|
|
3712
|
+
// src/demo/MotionPath.ts
|
|
3713
|
+
var motionPathDemo = {
|
|
3714
|
+
path: "M10 150 C 80 20, 160 20, 200 100 S 320 180, 390 50",
|
|
3715
|
+
viewBox: "0 0 400 200"
|
|
3716
|
+
};
|
|
3717
|
+
|
|
3718
|
+
// src/demo/ScrollToTop.ts
|
|
3719
|
+
var scrollToTopDemo = {
|
|
3720
|
+
threshold: 0,
|
|
3721
|
+
fixed: false
|
|
3722
|
+
};
|
|
3723
|
+
|
|
3724
|
+
// src/demo/ShapeMorph.ts
|
|
3725
|
+
var shapeMorphDemo = {
|
|
3726
|
+
label: "A shape that morphs between a circle, a square, a star and a heart",
|
|
3727
|
+
shapes: [
|
|
3728
|
+
"M50 10 A40 40 0 1 1 49.99 10 Z",
|
|
3729
|
+
"M22 12 H78 Q88 12 88 22 V78 Q88 88 78 88 H22 Q12 88 12 78 V22 Q12 12 22 12 Z",
|
|
3730
|
+
"M50 8 L61 38 L93 38 L67 57 L77 89 L50 70 L23 89 L33 57 L7 38 L39 38 Z",
|
|
3731
|
+
"M50 86 C20 64 8 48 8 32 C8 18 19 9 31 9 C40 9 46 14 50 21 C54 14 60 9 69 9 C81 9 92 18 92 32 C92 48 80 64 50 86 Z"
|
|
3732
|
+
],
|
|
3733
|
+
colors: ["#6366f1", "#0ea5e9", "#f59e0b", "#ec4899"],
|
|
3734
|
+
className: "max-w-[220px]"
|
|
3735
|
+
};
|
|
3736
|
+
|
|
3737
|
+
// src/demo/SmoothScroll.tsx
|
|
3738
|
+
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
3739
|
+
var smoothScrollDemo = {
|
|
3740
|
+
height: 420,
|
|
3741
|
+
className: "rounded-window bg-[var(--canvas)]",
|
|
3742
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "flex flex-col gap-24 px-8 py-16", children: [
|
|
3743
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { className: "text-[32px] leading-tight font-bold tracking-tight text-ink", children: "Scroll inside this panel" }),
|
|
3744
|
+
[0, 1, 2].map((i) => /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { className: "grid grid-cols-2 items-center gap-6", children: [
|
|
3745
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("img", { "data-speed": i % 2 ? "0.85" : "1.15", src: artImage(i, 600, 700), alt: "", className: "aspect-[6/7] w-full rounded-[12px] object-cover" }),
|
|
3746
|
+
/* @__PURE__ */ (0, import_jsx_runtime89.jsx)("p", { "data-speed": i % 2 ? "1.1" : "0.9", className: "text-[15px] leading-relaxed text-ink-2", children: "Pictures and text marked with data-speed drift at their own pace for an easy parallax." })
|
|
3747
|
+
] }, i))
|
|
3748
|
+
] })
|
|
3749
|
+
};
|
|
3750
|
+
|
|
3751
|
+
// src/demo/SwipeSections.tsx
|
|
3752
|
+
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
3753
|
+
var panels = [
|
|
3754
|
+
{ title: "Describe", body: "Tell the agent the outcome you want.", bg: "#1e1b4b" },
|
|
3755
|
+
{ title: "Plan", body: "It breaks the work into steps you can read.", bg: "#064e3b" },
|
|
3756
|
+
{ title: "Do", body: "It gathers, drafts and checks its own work.", bg: "#7c2d12" },
|
|
3757
|
+
{ title: "Approve", body: "Nothing ships until you say yes.", bg: "#831843" }
|
|
3758
|
+
];
|
|
3759
|
+
var swipeSectionsDemo = {
|
|
3760
|
+
height: "420px",
|
|
3761
|
+
effect: "stack",
|
|
3762
|
+
className: "rounded-window",
|
|
3763
|
+
children: panels.map((p, i) => /* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("div", { className: "flex h-full flex-col justify-center gap-3 p-10 text-white", style: { background: p.bg }, children: [
|
|
3764
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsxs)("span", { className: "font-mono text-[12px] text-white/60", children: [
|
|
3765
|
+
"0",
|
|
3766
|
+
i + 1,
|
|
3767
|
+
" / 0",
|
|
3768
|
+
panels.length
|
|
3769
|
+
] }),
|
|
3770
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "text-[40px] font-bold tracking-tight", children: p.title }),
|
|
3771
|
+
/* @__PURE__ */ (0, import_jsx_runtime90.jsx)("p", { className: "max-w-sm text-[15px] text-white/75", children: p.body })
|
|
3772
|
+
] }, p.title))
|
|
3773
|
+
};
|
|
3774
|
+
|
|
3775
|
+
// src/demo/VelocityMarquee.ts
|
|
3776
|
+
var velocityMarqueeDemo = {
|
|
3777
|
+
rows: ["Research agents", "Inbox agents", "Finance agents"],
|
|
3778
|
+
className: "text-[48px] font-black tracking-tight text-ink uppercase md:text-[80px]"
|
|
3779
|
+
};
|
|
3780
|
+
|
|
3781
|
+
// src/demo/BlendCursor.tsx
|
|
3782
|
+
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
3783
|
+
var blendCursorDemo = {
|
|
3784
|
+
className: "flex min-h-[260px] w-full flex-col justify-center gap-4 rounded-window bg-[var(--page)] p-10",
|
|
3785
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
|
|
3786
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("h2", { className: "text-[44px] leading-none font-black tracking-tight text-ink md:text-[64px]", children: "Look closer" }),
|
|
3787
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "max-w-md text-[14px] text-ink-2", children: "The cursor inverts what it covers and grows over headings and links." }),
|
|
3788
|
+
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)("a", { href: "#agents", className: "w-fit text-[15px] font-semibold text-ink underline underline-offset-4", children: "Meet the agents" })
|
|
3789
|
+
] })
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
// src/demo/CountUp.ts
|
|
3793
|
+
var countUpDemo = {
|
|
3794
|
+
value: 128450,
|
|
3795
|
+
suffix: " tasks",
|
|
3796
|
+
className: "text-[44px] font-bold tracking-tight text-ink"
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
// src/demo/ImageSequence.tsx
|
|
3800
|
+
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
3801
|
+
var frame = (i, n) => {
|
|
3802
|
+
const t = i / (n - 1);
|
|
3803
|
+
const orbs = Array.from({ length: 12 }, (_, k) => {
|
|
3804
|
+
const a = k / 12 * Math.PI * 2 + t * Math.PI * 1.5;
|
|
3805
|
+
const rad = 210 - t * 120;
|
|
3806
|
+
const x = 400 + Math.cos(a) * rad;
|
|
3807
|
+
const y = 300 + Math.sin(a) * rad * 0.55;
|
|
3808
|
+
const r = 18 + 10 * Math.sin(a + t * 3) ** 2;
|
|
3809
|
+
const hue = 230 + k * 9 + t * 60;
|
|
3810
|
+
return `<circle cx="${x.toFixed(1)}" cy="${y.toFixed(1)}" r="${r.toFixed(1)}" fill="hsl(${hue} 85% 62%)"/>`;
|
|
3811
|
+
}).join("");
|
|
3812
|
+
const core = 30 + t * 70;
|
|
3813
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><rect width="800" height="600" fill="#0b0c14"/><circle cx="400" cy="300" r="${core.toFixed(1)}" fill="hsl(${260 + t * 60} 90% 70%)" opacity="${(0.3 + t * 0.7).toFixed(2)}"/>${orbs}</svg>`;
|
|
3814
|
+
return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
|
|
3815
|
+
};
|
|
3816
|
+
var imageSequenceDemo = {
|
|
3817
|
+
frames: Array.from({ length: 48 }, (_, i) => frame(i, 48)),
|
|
3818
|
+
viewHeight: "80vh",
|
|
3819
|
+
length: 2,
|
|
3820
|
+
fit: "cover",
|
|
3821
|
+
label: "A ring of coloured orbs closing into a glowing core as you scroll",
|
|
3822
|
+
className: "rounded-window bg-[#0b0c14]",
|
|
3823
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("p", { className: "absolute bottom-8 left-8 text-[13px] font-medium tracking-wide text-white/60 uppercase", children: "Scroll to play" })
|
|
3824
|
+
};
|
|
3825
|
+
|
|
3826
|
+
// src/demo/LoopSlider.tsx
|
|
3827
|
+
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
3828
|
+
var names4 = ["Research", "Inbox", "Finance", "Engineering", "Support", "Ops", "Sales"];
|
|
3829
|
+
var loopSliderDemo = {
|
|
3830
|
+
slideWidth: 240,
|
|
3831
|
+
autoplay: 3500,
|
|
3832
|
+
children: names4.map((name, i) => /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("figure", { className: "m-0 overflow-hidden rounded-window bg-[var(--surface)] shadow-card", children: [
|
|
3833
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: artImage(i, 480, 600), alt: "", draggable: false, className: "aspect-[4/5] w-full object-cover" }),
|
|
3834
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("figcaption", { className: "p-3 text-[13.5px] font-semibold text-ink", children: [
|
|
3835
|
+
name,
|
|
3836
|
+
" agent"
|
|
3837
|
+
] })
|
|
3838
|
+
] }, name))
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3841
|
+
// src/demo/StaggerGrid.ts
|
|
3842
|
+
var staggerGridDemo = {
|
|
3843
|
+
rows: 9,
|
|
3844
|
+
columns: 17
|
|
3845
|
+
};
|
|
3846
|
+
|
|
3847
|
+
// src/demo/TextOnPath.ts
|
|
3848
|
+
var textOnPathDemo = {
|
|
3849
|
+
text: "Plan \xB7 Gather \xB7 Draft \xB7 Review \xB7 Approve",
|
|
3850
|
+
mode: "loop",
|
|
3851
|
+
repeat: 2
|
|
3852
|
+
};
|
|
3325
3853
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3326
3854
|
0 && (module.exports = {
|
|
3327
3855
|
agentScreenDemo,
|
|
@@ -3343,8 +3871,11 @@ var worldMapDemo = {
|
|
|
3343
3871
|
beamsWithCollisionDemo,
|
|
3344
3872
|
bentoGridDemo,
|
|
3345
3873
|
bentoGridItemDemo,
|
|
3874
|
+
blendCursorDemo,
|
|
3875
|
+
burstIconDemo,
|
|
3346
3876
|
canvasRevealEffectDemo,
|
|
3347
3877
|
canvasTextDemo,
|
|
3878
|
+
captionHoverDemo,
|
|
3348
3879
|
card3DDemo,
|
|
3349
3880
|
card3DItemDemo,
|
|
3350
3881
|
cardHoverEffectDemo,
|
|
@@ -3354,6 +3885,7 @@ var worldMapDemo = {
|
|
|
3354
3885
|
chatComposerDemo,
|
|
3355
3886
|
chromaticImageDemo,
|
|
3356
3887
|
cipherCardDemo,
|
|
3888
|
+
circularTextDemo,
|
|
3357
3889
|
cloudShaderDemo,
|
|
3358
3890
|
codeBlockDemo,
|
|
3359
3891
|
colourfulTextDemo,
|
|
@@ -3363,20 +3895,25 @@ var worldMapDemo = {
|
|
|
3363
3895
|
containerScrollAnimationDemo,
|
|
3364
3896
|
containerTextFlipDemo,
|
|
3365
3897
|
contextCardsDemo,
|
|
3898
|
+
countUpDemo,
|
|
3366
3899
|
dialogDemo,
|
|
3367
3900
|
diffTableDemo,
|
|
3368
3901
|
directionAwareHoverDemo,
|
|
3369
3902
|
ditherShaderDemo,
|
|
3370
3903
|
dottedGlowBackgroundDemo,
|
|
3371
3904
|
draggableCardsDemo,
|
|
3905
|
+
draggableGridDemo,
|
|
3906
|
+
drawPathDemo,
|
|
3372
3907
|
effectButtonDemo,
|
|
3373
3908
|
emptyStateDemo,
|
|
3374
3909
|
encryptedTextDemo,
|
|
3375
3910
|
errorStateDemo,
|
|
3376
3911
|
expandableCardDemo,
|
|
3912
|
+
expandingPanelsDemo,
|
|
3377
3913
|
fileUploadDemo,
|
|
3378
3914
|
filterTableDemo,
|
|
3379
3915
|
fineTuneCardDemo,
|
|
3916
|
+
flipGridDemo,
|
|
3380
3917
|
flipWordsDemo,
|
|
3381
3918
|
floatingDockDemo,
|
|
3382
3919
|
floatingNavbarDemo,
|
|
@@ -3384,19 +3921,29 @@ var worldMapDemo = {
|
|
|
3384
3921
|
focusCardsDemo,
|
|
3385
3922
|
followingPointerDemo,
|
|
3386
3923
|
glareCardDemo,
|
|
3924
|
+
glitchImageDemo,
|
|
3925
|
+
glitchTextDemo,
|
|
3387
3926
|
globeDemo,
|
|
3388
3927
|
glowInputDemo,
|
|
3389
3928
|
glowingEffectDemo,
|
|
3390
3929
|
glowingStarsDemo,
|
|
3391
3930
|
gooeyInputDemo,
|
|
3931
|
+
gooeyStickyMenuDemo,
|
|
3932
|
+
gravityTagsDemo,
|
|
3392
3933
|
gridBackgroundDemo,
|
|
3393
3934
|
heroHighlightDemo,
|
|
3394
3935
|
heroParallaxDemo,
|
|
3395
3936
|
highlightDemo,
|
|
3937
|
+
horizontalScrollDemo,
|
|
3396
3938
|
hoverBorderGradientDemo,
|
|
3939
|
+
hoverRevealListDemo,
|
|
3940
|
+
imageDistortHoverDemo,
|
|
3397
3941
|
imageGenerationLoaderDemo,
|
|
3942
|
+
imageSequenceDemo,
|
|
3943
|
+
imageTrailDemo,
|
|
3398
3944
|
imagesBadgeDemo,
|
|
3399
3945
|
imagesSliderDemo,
|
|
3946
|
+
inertiaSliderDemo,
|
|
3400
3947
|
infiniteMovingCardsDemo,
|
|
3401
3948
|
insightCardsDemo,
|
|
3402
3949
|
keyboardDemo,
|
|
@@ -3405,57 +3952,86 @@ var worldMapDemo = {
|
|
|
3405
3952
|
layoutGridDemo,
|
|
3406
3953
|
layoutTextFlipDemo,
|
|
3407
3954
|
lensDemo,
|
|
3955
|
+
linkHoverDemo,
|
|
3408
3956
|
linkPreviewDemo,
|
|
3409
3957
|
liquidGlassDemo,
|
|
3410
3958
|
loadingStateDemo,
|
|
3959
|
+
loopSliderDemo,
|
|
3411
3960
|
magneticButtonDemo,
|
|
3961
|
+
magneticCursorDemo,
|
|
3412
3962
|
markdownDemo,
|
|
3413
3963
|
marquee3DDemo,
|
|
3964
|
+
marqueeMenuDemo,
|
|
3414
3965
|
messageThreadDemo,
|
|
3415
3966
|
meteorsDemo,
|
|
3967
|
+
morphingBlobDemo,
|
|
3968
|
+
motionPathDemo,
|
|
3416
3969
|
movingBorderDemo,
|
|
3417
3970
|
navbarMenuDemo,
|
|
3418
3971
|
noiseBackgroundDemo,
|
|
3419
3972
|
notchDemo,
|
|
3973
|
+
offCanvasMenuDemo,
|
|
3974
|
+
pageTransitionDemo,
|
|
3420
3975
|
parallaxHeroImagesDemo,
|
|
3421
3976
|
parallaxScrollDemo,
|
|
3977
|
+
particleButtonDemo,
|
|
3978
|
+
particleTextDemo,
|
|
3422
3979
|
pin3DDemo,
|
|
3423
3980
|
pixelatedCanvasDemo,
|
|
3424
3981
|
pointerHighlightDemo,
|
|
3982
|
+
preloaderCounterDemo,
|
|
3425
3983
|
promptBarDemo,
|
|
3984
|
+
rainGlassDemo,
|
|
3426
3985
|
recommendationCardDemo,
|
|
3427
3986
|
recordsTableDemo,
|
|
3428
3987
|
resizableNavbarDemo,
|
|
3988
|
+
rollingTextDemo,
|
|
3429
3989
|
scalesDemo,
|
|
3990
|
+
scrollGridDemo,
|
|
3991
|
+
scrollLayoutSwitchDemo,
|
|
3430
3992
|
scrollPathsEffectDemo,
|
|
3993
|
+
scrollToTopDemo,
|
|
3994
|
+
scrollTypographyDemo,
|
|
3995
|
+
scrollZoomImageDemo,
|
|
3996
|
+
seamTransitionDemo,
|
|
3431
3997
|
searchListDemo,
|
|
3432
3998
|
selectionActionsDemo,
|
|
3999
|
+
shapeMorphDemo,
|
|
3433
4000
|
shootingStarsDemo,
|
|
3434
4001
|
sidebarNavDemo,
|
|
3435
4002
|
signupFormDemo,
|
|
4003
|
+
smoothScrollDemo,
|
|
3436
4004
|
sparklesDemo,
|
|
4005
|
+
splitTextRevealDemo,
|
|
3437
4006
|
spotlightCardDemo,
|
|
3438
4007
|
spotlightDemo,
|
|
3439
4008
|
spotlightNewDemo,
|
|
3440
4009
|
squigglyTextDemo,
|
|
4010
|
+
stackedScrollCardsDemo,
|
|
4011
|
+
staggerGridDemo,
|
|
3441
4012
|
statefulButtonDemo,
|
|
3442
4013
|
stickyBannerDemo,
|
|
3443
4014
|
stickyScrollRevealDemo,
|
|
3444
4015
|
streamingTextDemo,
|
|
3445
4016
|
svgMaskEffectDemo,
|
|
4017
|
+
swipeSectionsDemo,
|
|
3446
4018
|
taskRowsDemo,
|
|
3447
4019
|
terminalDemo,
|
|
3448
4020
|
textFlippingBoardDemo,
|
|
3449
4021
|
textHoverEffectDemo,
|
|
4022
|
+
textOnPathDemo,
|
|
3450
4023
|
textRevealCardDemo,
|
|
3451
4024
|
thinkingStateDemo,
|
|
3452
4025
|
thinkingStateDemos,
|
|
4026
|
+
tileRevealDemo,
|
|
3453
4027
|
timelineDemo,
|
|
3454
4028
|
toolChipsDemo,
|
|
3455
4029
|
tooltipCardDemo,
|
|
3456
4030
|
tracingBeamDemo,
|
|
4031
|
+
transitionOverlayDemo,
|
|
3457
4032
|
typewriterDemo,
|
|
3458
4033
|
usageMeterDemo,
|
|
4034
|
+
velocityMarqueeDemo,
|
|
3459
4035
|
vortexDemo,
|
|
3460
4036
|
wavyBackgroundDemo,
|
|
3461
4037
|
webcamPixelGridDemo,
|