@arcadeai/design-system 3.35.2 → 3.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/claude-code-logotype.js +10 -0
- package/dist/assets/icons/cursor-logotype.js +10 -0
- package/dist/assets/icons/langchain-logotype.js +10 -0
- package/dist/assets/icons/mastra-logotype.js +10 -0
- package/dist/assets/icons/vercel-logotype.js +10 -0
- package/dist/components/index.js +606 -590
- package/dist/components/ui/atoms/brand-chip.d.ts +9 -0
- package/dist/components/ui/atoms/brand-chip.d.ts.map +1 -0
- package/dist/components/ui/atoms/brand-chip.js +19 -0
- package/dist/components/ui/atoms/code-block.d.ts.map +1 -1
- package/dist/components/ui/atoms/code-block.js +31 -723
- package/dist/components/ui/atoms/icons/arcade-gradient.d.ts +4 -0
- package/dist/components/ui/atoms/icons/arcade-gradient.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/arcade-gradient.js +26 -0
- package/dist/components/ui/atoms/icons/claude-code-logotype.d.ts +4 -0
- package/dist/components/ui/atoms/icons/claude-code-logotype.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/claude-code-logotype.js +34 -0
- package/dist/components/ui/atoms/icons/cursor-logotype.d.ts +4 -0
- package/dist/components/ui/atoms/icons/cursor-logotype.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/cursor-logotype.js +21 -0
- package/dist/components/ui/atoms/icons/index.d.ts +6 -0
- package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/index.js +298 -286
- package/dist/components/ui/atoms/icons/langchain-logotype.d.ts +4 -0
- package/dist/components/ui/atoms/icons/langchain-logotype.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/langchain-logotype.js +45 -0
- package/dist/components/ui/atoms/icons/mastra-logotype.d.ts +4 -0
- package/dist/components/ui/atoms/icons/mastra-logotype.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/mastra-logotype.js +19 -0
- package/dist/components/ui/atoms/icons/vercel-logotype.d.ts +4 -0
- package/dist/components/ui/atoms/icons/vercel-logotype.d.ts.map +1 -0
- package/dist/components/ui/atoms/icons/vercel-logotype.js +26 -0
- package/dist/components/ui/atoms/icons/vercel.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/vercel.js +0 -1
- package/dist/components/ui/atoms/index.d.ts +1 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +523 -509
- package/dist/components/ui/index.js +606 -590
- package/dist/components/ui/molecules/command-bar.d.ts +7 -0
- package/dist/components/ui/molecules/command-bar.d.ts.map +1 -0
- package/dist/components/ui/molecules/command-bar.js +38 -0
- package/dist/components/ui/molecules/empty-state.d.ts +2 -1
- package/dist/components/ui/molecules/empty-state.d.ts.map +1 -1
- package/dist/components/ui/molecules/empty-state.js +9 -7
- package/dist/components/ui/molecules/index.d.ts +1 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +49 -47
- package/dist/lib/shiki-themes.d.ts +5 -0
- package/dist/lib/shiki-themes.d.ts.map +1 -0
- package/dist/lib/shiki-themes.js +7 -0
- package/dist/main.js +632 -616
- package/dist/web-BwFNdl01.js +697 -0
- package/package.json +3 -2
|
@@ -0,0 +1,697 @@
|
|
|
1
|
+
import { forwardRef as X, useState as _, useMemo as A, useRef as I, useEffect as $ } from "react";
|
|
2
|
+
import { jsxs as q, jsx as E, Fragment as F } from "react/jsx-runtime";
|
|
3
|
+
import { c as J } from "./bundle-mjs-lrpnyDSX.js";
|
|
4
|
+
import { t as G, c as Q, g as Y, a as K, b as Z, d as N } from "./index-cd1ceFJg.js";
|
|
5
|
+
var R = Object.prototype.hasOwnProperty;
|
|
6
|
+
function P(e, t, n) {
|
|
7
|
+
for (n of e.keys())
|
|
8
|
+
if (g(n, t)) return n;
|
|
9
|
+
}
|
|
10
|
+
function g(e, t) {
|
|
11
|
+
var n, i, r;
|
|
12
|
+
if (e === t) return !0;
|
|
13
|
+
if (e && t && (n = e.constructor) === t.constructor) {
|
|
14
|
+
if (n === Date) return e.getTime() === t.getTime();
|
|
15
|
+
if (n === RegExp) return e.toString() === t.toString();
|
|
16
|
+
if (n === Array) {
|
|
17
|
+
if ((i = e.length) === t.length)
|
|
18
|
+
for (; i-- && g(e[i], t[i]); ) ;
|
|
19
|
+
return i === -1;
|
|
20
|
+
}
|
|
21
|
+
if (n === Set) {
|
|
22
|
+
if (e.size !== t.size)
|
|
23
|
+
return !1;
|
|
24
|
+
for (i of e)
|
|
25
|
+
if (r = i, r && typeof r == "object" && (r = P(t, r), !r) || !t.has(r)) return !1;
|
|
26
|
+
return !0;
|
|
27
|
+
}
|
|
28
|
+
if (n === Map) {
|
|
29
|
+
if (e.size !== t.size)
|
|
30
|
+
return !1;
|
|
31
|
+
for (i of e)
|
|
32
|
+
if (r = i[0], r && typeof r == "object" && (r = P(t, r), !r) || !g(i[1], t.get(r)))
|
|
33
|
+
return !1;
|
|
34
|
+
return !0;
|
|
35
|
+
}
|
|
36
|
+
if (n === ArrayBuffer)
|
|
37
|
+
e = new Uint8Array(e), t = new Uint8Array(t);
|
|
38
|
+
else if (n === DataView) {
|
|
39
|
+
if ((i = e.byteLength) === t.byteLength)
|
|
40
|
+
for (; i-- && e.getInt8(i) === t.getInt8(i); ) ;
|
|
41
|
+
return i === -1;
|
|
42
|
+
}
|
|
43
|
+
if (ArrayBuffer.isView(e)) {
|
|
44
|
+
if ((i = e.byteLength) === t.byteLength)
|
|
45
|
+
for (; i-- && e[i] === t[i]; ) ;
|
|
46
|
+
return i === -1;
|
|
47
|
+
}
|
|
48
|
+
if (!n || typeof e == "object") {
|
|
49
|
+
i = 0;
|
|
50
|
+
for (n in e)
|
|
51
|
+
if (R.call(e, n) && ++i && !R.call(t, n) || !(n in t) || !g(e[n], t[n])) return !1;
|
|
52
|
+
return Object.keys(t).length === i;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return e !== e && t !== t;
|
|
56
|
+
}
|
|
57
|
+
var k = (e) => {
|
|
58
|
+
const t = I(e), n = I(0);
|
|
59
|
+
return typeof e != "object" || e === null ? (e !== t.current && (t.current = e, n.current += 1), [e, n.current]) : (e !== t.current && (g(e, t.current) || (t.current = e, n.current += 1)), [t.current, n.current]);
|
|
60
|
+
}, ee = (e, t, n) => {
|
|
61
|
+
const i = Date.now();
|
|
62
|
+
clearTimeout(t.current.timeoutId);
|
|
63
|
+
const r = Math.max(0, t.current.nextAllowedTime - i);
|
|
64
|
+
t.current.timeoutId = setTimeout(() => {
|
|
65
|
+
e().catch(console.error), t.current.nextAllowedTime = i + n;
|
|
66
|
+
}, r);
|
|
67
|
+
}, U = (e, t, n) => {
|
|
68
|
+
const i = t ? Array.isArray(t) ? t : [t] : [];
|
|
69
|
+
if (e == null || typeof e == "string" && !e.trim())
|
|
70
|
+
return {
|
|
71
|
+
languageId: "plaintext",
|
|
72
|
+
displayLanguageId: "plaintext",
|
|
73
|
+
langsToLoad: void 0
|
|
74
|
+
};
|
|
75
|
+
if (typeof e == "object")
|
|
76
|
+
return {
|
|
77
|
+
languageId: e.name,
|
|
78
|
+
displayLanguageId: e.name || null,
|
|
79
|
+
langsToLoad: e
|
|
80
|
+
};
|
|
81
|
+
const r = e.toLowerCase(), s = (o) => o?.toLowerCase() === r, l = i.find(
|
|
82
|
+
(o) => s(o.name) || s(o.scopeName) || s(o.scopeName?.split(".").pop()) || o.aliases?.some(s) || o.fileTypes?.some(s)
|
|
83
|
+
);
|
|
84
|
+
return l ? {
|
|
85
|
+
languageId: l.name || e,
|
|
86
|
+
displayLanguageId: e,
|
|
87
|
+
langsToLoad: l
|
|
88
|
+
} : n?.[e] ? {
|
|
89
|
+
languageId: n[e],
|
|
90
|
+
displayLanguageId: e,
|
|
91
|
+
langsToLoad: n[e]
|
|
92
|
+
} : {
|
|
93
|
+
languageId: e,
|
|
94
|
+
displayLanguageId: e,
|
|
95
|
+
langsToLoad: e
|
|
96
|
+
};
|
|
97
|
+
}, V = (e) => typeof e == "object" && e !== null && "tokenColors" in e && Array.isArray(e.tokenColors);
|
|
98
|
+
function te(e) {
|
|
99
|
+
const t = V(e), n = typeof e == "object" && e !== null && !t, i = typeof e == "object" && e !== null && !t && Object.entries(e).some(
|
|
100
|
+
([r, s]) => r && s && r.trim() !== "" && s !== "" && (typeof s == "string" || V(s))
|
|
101
|
+
);
|
|
102
|
+
return n ? {
|
|
103
|
+
isMultiTheme: !0,
|
|
104
|
+
themeId: i ? `multi-${Object.values(e).map(
|
|
105
|
+
(s) => (typeof s == "string" ? s : s?.name) || "custom"
|
|
106
|
+
).sort().join("-")}` : "multi-default",
|
|
107
|
+
multiTheme: i ? e : null,
|
|
108
|
+
themesToLoad: i ? Object.values(e) : []
|
|
109
|
+
} : {
|
|
110
|
+
isMultiTheme: !1,
|
|
111
|
+
themeId: typeof e == "string" ? e : e?.name || "custom",
|
|
112
|
+
singleTheme: e,
|
|
113
|
+
themesToLoad: [e]
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function ie(e = 1) {
|
|
117
|
+
return {
|
|
118
|
+
name: "react-shiki:line-numbers",
|
|
119
|
+
code(t) {
|
|
120
|
+
if (this.addClassToHast(t, "has-line-numbers"), e !== 1) {
|
|
121
|
+
const n = t.properties?.style || "", i = n ? `${n}; --line-start: ${e}` : `--line-start: ${e}`;
|
|
122
|
+
t.properties = {
|
|
123
|
+
...t.properties,
|
|
124
|
+
style: i
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
line(t) {
|
|
129
|
+
return this.addClassToHast(t, "line-numbers"), t;
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
var B = {
|
|
134
|
+
light: "github-light",
|
|
135
|
+
dark: "github-dark"
|
|
136
|
+
}, ne = (e, t, n, i = {}, r) => {
|
|
137
|
+
const [s, l] = _(null), [o, j] = k(t), [h, x] = k(n), [a, C] = k(i), { languageId: p, langsToLoad: f } = A(
|
|
138
|
+
() => U(
|
|
139
|
+
o,
|
|
140
|
+
a.customLanguages,
|
|
141
|
+
a.langAlias
|
|
142
|
+
),
|
|
143
|
+
[o, a.customLanguages, a.langAlias]
|
|
144
|
+
), { isMultiTheme: H, themeId: M, multiTheme: y, singleTheme: O, themesToLoad: b } = A(() => te(h), [h]), T = I({
|
|
145
|
+
nextAllowedTime: 0,
|
|
146
|
+
timeoutId: void 0
|
|
147
|
+
}), u = A(() => {
|
|
148
|
+
const m = { lang: p }, {
|
|
149
|
+
defaultColor: d,
|
|
150
|
+
cssVariablePrefix: L,
|
|
151
|
+
showLineNumbers: c,
|
|
152
|
+
startingLineNumber: z,
|
|
153
|
+
...S
|
|
154
|
+
} = a, v = H ? {
|
|
155
|
+
themes: y || B,
|
|
156
|
+
defaultColor: d,
|
|
157
|
+
cssVariablePrefix: L
|
|
158
|
+
} : {
|
|
159
|
+
theme: O || B.dark
|
|
160
|
+
}, w = S.transformers || [];
|
|
161
|
+
return c && w.push(ie(z)), {
|
|
162
|
+
...m,
|
|
163
|
+
...v,
|
|
164
|
+
...S,
|
|
165
|
+
transformers: w
|
|
166
|
+
};
|
|
167
|
+
}, [p, M, j, x, C]);
|
|
168
|
+
return $(() => {
|
|
169
|
+
let m = !0;
|
|
170
|
+
const d = async () => {
|
|
171
|
+
if (!p) return;
|
|
172
|
+
const c = a.highlighter ? a.highlighter : await r(
|
|
173
|
+
f,
|
|
174
|
+
b,
|
|
175
|
+
a.engine
|
|
176
|
+
), S = c.getLoadedLanguages().includes(p) ? p : "plaintext", v = { ...u, lang: S };
|
|
177
|
+
if (m) {
|
|
178
|
+
const w = a.outputFormat === "html" ? c.codeToHtml(e, v) : G(c.codeToHast(e, v), {
|
|
179
|
+
jsx: E,
|
|
180
|
+
jsxs: q,
|
|
181
|
+
Fragment: F
|
|
182
|
+
});
|
|
183
|
+
l(w);
|
|
184
|
+
}
|
|
185
|
+
}, { delay: L } = a;
|
|
186
|
+
return L ? ee(d, T, L) : d().catch(console.error), () => {
|
|
187
|
+
m = !1, clearTimeout(T.current.timeoutId);
|
|
188
|
+
};
|
|
189
|
+
}, [
|
|
190
|
+
e,
|
|
191
|
+
u,
|
|
192
|
+
a.delay,
|
|
193
|
+
a.highlighter,
|
|
194
|
+
f,
|
|
195
|
+
b
|
|
196
|
+
]), s;
|
|
197
|
+
};
|
|
198
|
+
function re(e, { insertAt: t } = {}) {
|
|
199
|
+
if (typeof document > "u") return;
|
|
200
|
+
const n = document.head || document.getElementsByTagName("head")[0], i = document.createElement("style");
|
|
201
|
+
i.type = "text/css", t === "top" && n.firstChild ? n.insertBefore(i, n.firstChild) : n.appendChild(i), i.styleSheet ? i.styleSheet.cssText = e : i.appendChild(document.createTextNode(e));
|
|
202
|
+
}
|
|
203
|
+
re(`.relative {
|
|
204
|
+
position: relative;
|
|
205
|
+
}
|
|
206
|
+
.defaultStyles pre {
|
|
207
|
+
overflow: auto;
|
|
208
|
+
border-radius: 0.5rem;
|
|
209
|
+
padding-left: 1.5rem;
|
|
210
|
+
padding-right: 1.5rem;
|
|
211
|
+
padding-top: 1.25rem;
|
|
212
|
+
padding-bottom: 1.25rem;
|
|
213
|
+
}
|
|
214
|
+
.languageLabel {
|
|
215
|
+
position: absolute;
|
|
216
|
+
right: 0.75rem;
|
|
217
|
+
top: 0.5rem;
|
|
218
|
+
font-family: monospace;
|
|
219
|
+
font-size: 0.75rem;
|
|
220
|
+
letter-spacing: -0.05em;
|
|
221
|
+
color: rgba(107, 114, 128, 0.85);
|
|
222
|
+
}
|
|
223
|
+
.line-numbers::before {
|
|
224
|
+
counter-increment: line-number;
|
|
225
|
+
content: counter(line-number);
|
|
226
|
+
display: inline-flex;
|
|
227
|
+
justify-content: flex-end;
|
|
228
|
+
align-items: flex-start;
|
|
229
|
+
box-sizing: content-box;
|
|
230
|
+
min-width: var(--line-numbers-width, 2ch);
|
|
231
|
+
padding-left: var(--line-numbers-padding-left, 2ch);
|
|
232
|
+
padding-right: var(--line-numbers-padding-right, 2ch);
|
|
233
|
+
color: var(--line-numbers-foreground, rgba(107, 114, 128, 0.6));
|
|
234
|
+
font-size: var(--line-numbers-font-size, inherit);
|
|
235
|
+
font-weight: var(--line-numbers-font-weight, inherit);
|
|
236
|
+
line-height: var(--line-numbers-line-height, inherit);
|
|
237
|
+
font-family: var(--line-numbers-font-family, inherit);
|
|
238
|
+
opacity: var(--line-numbers-opacity, 1);
|
|
239
|
+
user-select: none;
|
|
240
|
+
pointer-events: none;
|
|
241
|
+
}
|
|
242
|
+
.has-line-numbers {
|
|
243
|
+
counter-reset: line-number calc(var(--line-start, 1) - 1);
|
|
244
|
+
--line-numbers-foreground: rgba(107, 114, 128, 0.5);
|
|
245
|
+
--line-numbers-width: 2ch;
|
|
246
|
+
--line-numbers-padding-left: 0ch;
|
|
247
|
+
--line-numbers-padding-right: 2ch;
|
|
248
|
+
--line-numbers-font-size: inherit;
|
|
249
|
+
--line-numbers-font-weight: inherit;
|
|
250
|
+
--line-numbers-line-height: inherit;
|
|
251
|
+
--line-numbers-font-family: inherit;
|
|
252
|
+
--line-numbers-opacity: 1;
|
|
253
|
+
}
|
|
254
|
+
`);
|
|
255
|
+
var se = (e) => X(
|
|
256
|
+
({
|
|
257
|
+
language: t,
|
|
258
|
+
theme: n,
|
|
259
|
+
delay: i,
|
|
260
|
+
transformers: r,
|
|
261
|
+
defaultColor: s,
|
|
262
|
+
cssVariablePrefix: l,
|
|
263
|
+
addDefaultStyles: o = !0,
|
|
264
|
+
style: j,
|
|
265
|
+
langStyle: h,
|
|
266
|
+
className: x,
|
|
267
|
+
langClassName: a,
|
|
268
|
+
showLanguage: C = !0,
|
|
269
|
+
showLineNumbers: p = !1,
|
|
270
|
+
startingLineNumber: f = 1,
|
|
271
|
+
children: H,
|
|
272
|
+
as: M = "pre",
|
|
273
|
+
customLanguages: y,
|
|
274
|
+
...O
|
|
275
|
+
}, b) => {
|
|
276
|
+
const T = {
|
|
277
|
+
delay: i,
|
|
278
|
+
transformers: r,
|
|
279
|
+
customLanguages: y,
|
|
280
|
+
showLineNumbers: p,
|
|
281
|
+
defaultColor: s,
|
|
282
|
+
cssVariablePrefix: l,
|
|
283
|
+
startingLineNumber: f,
|
|
284
|
+
...O
|
|
285
|
+
}, { displayLanguageId: u } = U(
|
|
286
|
+
t,
|
|
287
|
+
y
|
|
288
|
+
), m = e(
|
|
289
|
+
H,
|
|
290
|
+
t,
|
|
291
|
+
n,
|
|
292
|
+
T
|
|
293
|
+
), d = typeof m == "string";
|
|
294
|
+
return /* @__PURE__ */ q(
|
|
295
|
+
M,
|
|
296
|
+
{
|
|
297
|
+
ref: b,
|
|
298
|
+
"data-testid": "shiki-container",
|
|
299
|
+
className: J(
|
|
300
|
+
"relative",
|
|
301
|
+
"not-prose",
|
|
302
|
+
o && "defaultStyles",
|
|
303
|
+
x
|
|
304
|
+
),
|
|
305
|
+
style: j,
|
|
306
|
+
id: "shiki-container",
|
|
307
|
+
children: [
|
|
308
|
+
C && u ? /* @__PURE__ */ E(
|
|
309
|
+
"span",
|
|
310
|
+
{
|
|
311
|
+
className: J("languageLabel", a),
|
|
312
|
+
style: h,
|
|
313
|
+
id: "language-label",
|
|
314
|
+
children: u
|
|
315
|
+
}
|
|
316
|
+
) : null,
|
|
317
|
+
d ? /* @__PURE__ */ E("div", { dangerouslySetInnerHTML: { __html: m } }) : m
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
}
|
|
322
|
+
);
|
|
323
|
+
const W = [
|
|
324
|
+
{
|
|
325
|
+
id: "angular-html",
|
|
326
|
+
name: "Angular HTML",
|
|
327
|
+
import: (() => import("./angular-html-DPB4Rf0C.js").then((e) => e.f))
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
id: "angular-ts",
|
|
331
|
+
name: "Angular TypeScript",
|
|
332
|
+
import: (() => import("./angular-ts-CTOR2ofC.js"))
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
id: "astro",
|
|
336
|
+
name: "Astro",
|
|
337
|
+
import: (() => import("./astro-CFFExE8Q.js"))
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
id: "blade",
|
|
341
|
+
name: "Blade",
|
|
342
|
+
import: (() => import("./blade-D0HyNvCw.js"))
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: "c",
|
|
346
|
+
name: "C",
|
|
347
|
+
import: (() => import("./c-eeMepfLm.js"))
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
id: "coffee",
|
|
351
|
+
name: "CoffeeScript",
|
|
352
|
+
aliases: [
|
|
353
|
+
"coffeescript"
|
|
354
|
+
],
|
|
355
|
+
import: (() => import("./coffee-DGBR_nr_.js"))
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
id: "cpp",
|
|
359
|
+
name: "C++",
|
|
360
|
+
aliases: [
|
|
361
|
+
"c++"
|
|
362
|
+
],
|
|
363
|
+
import: (() => import("./cpp-Cj177cuW.js"))
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
id: "css",
|
|
367
|
+
name: "CSS",
|
|
368
|
+
import: (() => import("./css-CECN5uSL.js"))
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
id: "csv",
|
|
372
|
+
name: "CSV",
|
|
373
|
+
import: (() => import("./csv-CmYOceLb.js"))
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
id: "glsl",
|
|
377
|
+
name: "GLSL",
|
|
378
|
+
import: (() => import("./glsl-CkUcVZNK.js"))
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
id: "graphql",
|
|
382
|
+
name: "GraphQL",
|
|
383
|
+
aliases: [
|
|
384
|
+
"gql"
|
|
385
|
+
],
|
|
386
|
+
import: (() => import("./graphql-CBu2ehBn.js"))
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
id: "haml",
|
|
390
|
+
name: "Ruby Haml",
|
|
391
|
+
import: (() => import("./haml-NZLVzu_R.js"))
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
id: "handlebars",
|
|
395
|
+
name: "Handlebars",
|
|
396
|
+
aliases: [
|
|
397
|
+
"hbs"
|
|
398
|
+
],
|
|
399
|
+
import: (() => import("./handlebars-mxStpSE7.js"))
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
id: "html",
|
|
403
|
+
name: "HTML",
|
|
404
|
+
import: (() => import("./html-B50bmoVb.js"))
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
id: "html-derivative",
|
|
408
|
+
name: "HTML (Derivative)",
|
|
409
|
+
import: (() => import("./html-derivative-C6bxFbFW.js"))
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
id: "http",
|
|
413
|
+
name: "HTTP",
|
|
414
|
+
import: (() => import("./http-DLvAkeD-.js"))
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
id: "hurl",
|
|
418
|
+
name: "Hurl",
|
|
419
|
+
import: (() => import("./hurl-CgkFN90t.js"))
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
id: "imba",
|
|
423
|
+
name: "Imba",
|
|
424
|
+
import: (() => import("./imba-CimUv-Uh.js"))
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
id: "java",
|
|
428
|
+
name: "Java",
|
|
429
|
+
import: (() => import("./java-DY6VlHhP.js"))
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
id: "javascript",
|
|
433
|
+
name: "JavaScript",
|
|
434
|
+
aliases: [
|
|
435
|
+
"js",
|
|
436
|
+
"cjs",
|
|
437
|
+
"mjs"
|
|
438
|
+
],
|
|
439
|
+
import: (() => import("./javascript-C25yR2R2.js"))
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
id: "jinja",
|
|
443
|
+
name: "Jinja",
|
|
444
|
+
import: (() => import("./jinja-CFW5uAwY.js"))
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
id: "jison",
|
|
448
|
+
name: "Jison",
|
|
449
|
+
import: (() => import("./jison-DdreslRX.js"))
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
id: "json",
|
|
453
|
+
name: "JSON",
|
|
454
|
+
import: (() => import("./json-DxJze_jm.js"))
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
id: "json5",
|
|
458
|
+
name: "JSON5",
|
|
459
|
+
import: (() => import("./json5-BT4Fjg39.js"))
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
id: "jsonc",
|
|
463
|
+
name: "JSON with Comments",
|
|
464
|
+
import: (() => import("./jsonc-CHjZD8gR.js"))
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
id: "jsonl",
|
|
468
|
+
name: "JSON Lines",
|
|
469
|
+
import: (() => import("./jsonl-BGuvDmy9.js"))
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
id: "jsx",
|
|
473
|
+
name: "JSX",
|
|
474
|
+
import: (() => import("./jsx-BtKADgXT.js"))
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
id: "julia",
|
|
478
|
+
name: "Julia",
|
|
479
|
+
aliases: [
|
|
480
|
+
"jl"
|
|
481
|
+
],
|
|
482
|
+
import: (() => import("./julia-CZiKXNNP.js"))
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
id: "less",
|
|
486
|
+
name: "Less",
|
|
487
|
+
import: (() => import("./less-B1GLI2Di.js"))
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
id: "markdown",
|
|
491
|
+
name: "Markdown",
|
|
492
|
+
aliases: [
|
|
493
|
+
"md"
|
|
494
|
+
],
|
|
495
|
+
import: (() => import("./markdown-CrScaQ96.js"))
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
id: "marko",
|
|
499
|
+
name: "Marko",
|
|
500
|
+
import: (() => import("./marko-CJBA24Ri.js"))
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
id: "mdc",
|
|
504
|
+
name: "MDC",
|
|
505
|
+
import: (() => import("./mdc-C9YSUwVC.js"))
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
id: "mdx",
|
|
509
|
+
name: "MDX",
|
|
510
|
+
import: (() => import("./mdx-BOhZZUJ8.js"))
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
id: "php",
|
|
514
|
+
name: "PHP",
|
|
515
|
+
import: (() => import("./php-BIzsF_5x.js"))
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
id: "postcss",
|
|
519
|
+
name: "PostCSS",
|
|
520
|
+
import: (() => import("./postcss-05aHdL-n.js"))
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
id: "pug",
|
|
524
|
+
name: "Pug",
|
|
525
|
+
aliases: [
|
|
526
|
+
"jade"
|
|
527
|
+
],
|
|
528
|
+
import: (() => import("./pug-XOw9Q1Ho.js"))
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
id: "python",
|
|
532
|
+
name: "Python",
|
|
533
|
+
aliases: [
|
|
534
|
+
"py"
|
|
535
|
+
],
|
|
536
|
+
import: (() => import("./python-BFNSHbwJ.js"))
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
id: "r",
|
|
540
|
+
name: "R",
|
|
541
|
+
import: (() => import("./r-CSmzDPi7.js"))
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
id: "regexp",
|
|
545
|
+
name: "RegExp",
|
|
546
|
+
aliases: [
|
|
547
|
+
"regex"
|
|
548
|
+
],
|
|
549
|
+
import: (() => import("./regexp-BazyLpPg.js"))
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
id: "sass",
|
|
553
|
+
name: "Sass",
|
|
554
|
+
import: (() => import("./sass-DxHp5rTx.js"))
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
id: "scss",
|
|
558
|
+
name: "SCSS",
|
|
559
|
+
import: (() => import("./scss-B1FaCqwR.js"))
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
id: "shellscript",
|
|
563
|
+
name: "Shell",
|
|
564
|
+
aliases: [
|
|
565
|
+
"bash",
|
|
566
|
+
"sh",
|
|
567
|
+
"shell",
|
|
568
|
+
"zsh"
|
|
569
|
+
],
|
|
570
|
+
import: (() => import("./shellscript-InADTalH.js"))
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
id: "sql",
|
|
574
|
+
name: "SQL",
|
|
575
|
+
import: (() => import("./sql-Cn_v3PB0.js"))
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
id: "stylus",
|
|
579
|
+
name: "Stylus",
|
|
580
|
+
aliases: [
|
|
581
|
+
"styl"
|
|
582
|
+
],
|
|
583
|
+
import: (() => import("./stylus-CyKEU1Ej.js"))
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
id: "svelte",
|
|
587
|
+
name: "Svelte",
|
|
588
|
+
import: (() => import("./svelte-rYri41WT.js"))
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
id: "ts-tags",
|
|
592
|
+
name: "TypeScript with Tags",
|
|
593
|
+
aliases: [
|
|
594
|
+
"lit"
|
|
595
|
+
],
|
|
596
|
+
import: (() => import("./ts-tags-ioVe2PKw.js"))
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
id: "tsx",
|
|
600
|
+
name: "TSX",
|
|
601
|
+
import: (() => import("./tsx-B8rCNbgL.js"))
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
id: "typescript",
|
|
605
|
+
name: "TypeScript",
|
|
606
|
+
aliases: [
|
|
607
|
+
"ts",
|
|
608
|
+
"cts",
|
|
609
|
+
"mts"
|
|
610
|
+
],
|
|
611
|
+
import: (() => import("./typescript-RycA9KXf.js"))
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
id: "vue",
|
|
615
|
+
name: "Vue",
|
|
616
|
+
import: (() => import("./vue-DXEmyXn9.js"))
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
id: "vue-html",
|
|
620
|
+
name: "Vue HTML",
|
|
621
|
+
import: (() => import("./vue-html-j9xNEdu3.js"))
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
id: "vue-vine",
|
|
625
|
+
name: "Vue Vine",
|
|
626
|
+
import: (() => import("./vue-vine-D41-N99t.js"))
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
id: "wasm",
|
|
630
|
+
name: "WebAssembly",
|
|
631
|
+
import: (() => import("./wasm-BBXxrAl7.js"))
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
id: "wgsl",
|
|
635
|
+
name: "WGSL",
|
|
636
|
+
import: (() => import("./wgsl-DY4iK1q1.js"))
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
id: "wit",
|
|
640
|
+
name: "WebAssembly Interface Types",
|
|
641
|
+
import: (() => import("./wit-CQMQOlTg.js"))
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
id: "xml",
|
|
645
|
+
name: "XML",
|
|
646
|
+
import: (() => import("./xml-C2J0sS9M.js"))
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
id: "yaml",
|
|
650
|
+
name: "YAML",
|
|
651
|
+
aliases: [
|
|
652
|
+
"yml"
|
|
653
|
+
],
|
|
654
|
+
import: (() => import("./yaml-DaO7k5B1.js"))
|
|
655
|
+
}
|
|
656
|
+
], ae = Object.fromEntries(W.map((e) => [e.id, e.import])), oe = Object.fromEntries(W.flatMap((e) => e.aliases?.map((t) => [t, e.import]) || [])), me = {
|
|
657
|
+
...ae,
|
|
658
|
+
...oe
|
|
659
|
+
}, le = /* @__PURE__ */ K({
|
|
660
|
+
langs: me,
|
|
661
|
+
themes: Z,
|
|
662
|
+
engine: () => N(import("./wasm-DQxwEHae.js"))
|
|
663
|
+
}), {
|
|
664
|
+
getSingletonHighlighter: D
|
|
665
|
+
} = /* @__PURE__ */ Q(
|
|
666
|
+
le,
|
|
667
|
+
{ guessEmbeddedLanguages: Y }
|
|
668
|
+
);
|
|
669
|
+
async function pe(e, t, n) {
|
|
670
|
+
try {
|
|
671
|
+
return await D({
|
|
672
|
+
langs: [e],
|
|
673
|
+
themes: t,
|
|
674
|
+
engine: n ?? N(import("./wasm-DQxwEHae.js"))
|
|
675
|
+
});
|
|
676
|
+
} catch (i) {
|
|
677
|
+
if (i instanceof Error && i.message.includes("Language"))
|
|
678
|
+
return await D({
|
|
679
|
+
langs: ["plaintext"],
|
|
680
|
+
themes: t,
|
|
681
|
+
engine: n ?? N(import("./wasm-DQxwEHae.js"))
|
|
682
|
+
});
|
|
683
|
+
throw i;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
var de = (e, t, n, i = {}) => ne(
|
|
687
|
+
e,
|
|
688
|
+
t,
|
|
689
|
+
n,
|
|
690
|
+
i,
|
|
691
|
+
pe
|
|
692
|
+
), ue = se(
|
|
693
|
+
de
|
|
694
|
+
), ye = ue;
|
|
695
|
+
export {
|
|
696
|
+
ye as w
|
|
697
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcadeai/design-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.36.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/main.js",
|
|
7
7
|
"types": "./dist/main.d.ts",
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
"@hookform/resolvers": "5.2.2",
|
|
70
70
|
"@monorepo/config": "0.0.0",
|
|
71
71
|
"@monorepo/storybook-config": "0.0.0",
|
|
72
|
+
"@storybook/addon-mcp": "0.4.2",
|
|
72
73
|
"@storybook/addon-a11y": "10.2.12",
|
|
73
74
|
"@storybook/addon-docs": "10.2.12",
|
|
74
75
|
"@storybook/addon-themes": "10.2.12",
|
|
@@ -90,7 +91,7 @@
|
|
|
90
91
|
"globals": "17.3.0",
|
|
91
92
|
"happy-dom": "20.7.0",
|
|
92
93
|
"lucide-react": "0.576.0",
|
|
93
|
-
"playwright": "1.
|
|
94
|
+
"playwright": "1.59.0",
|
|
94
95
|
"react": "19.2.4",
|
|
95
96
|
"react-dom": "19.2.4",
|
|
96
97
|
"react-hook-form": "7.71.2",
|