docsui-cli 0.0.59

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.
Files changed (49) hide show
  1. package/README.md +279 -0
  2. package/dist/commands/add.d.ts +5 -0
  3. package/dist/commands/add.js +254 -0
  4. package/dist/commands/doctor.d.ts +5 -0
  5. package/dist/commands/doctor.js +250 -0
  6. package/dist/commands/init.d.ts +5 -0
  7. package/dist/commands/init.js +548 -0
  8. package/dist/commands/list.d.ts +5 -0
  9. package/dist/commands/list.js +84 -0
  10. package/dist/commands/mcp.d.ts +3 -0
  11. package/dist/commands/mcp.js +1562 -0
  12. package/dist/commands/new.d.ts +5 -0
  13. package/dist/commands/new.js +113 -0
  14. package/dist/commands/remove.d.ts +5 -0
  15. package/dist/commands/remove.js +134 -0
  16. package/dist/commands/save.d.ts +5 -0
  17. package/dist/commands/save.js +60 -0
  18. package/dist/commands/update.d.ts +5 -0
  19. package/dist/commands/update.js +247 -0
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.js +88 -0
  22. package/dist/latex-to-primitives.d.ts +59 -0
  23. package/dist/latex-to-primitives.js +1019 -0
  24. package/dist/lib/component-registry.d.ts +33 -0
  25. package/dist/lib/component-registry.js +843 -0
  26. package/dist/lib/css-tokens.d.ts +8 -0
  27. package/dist/lib/css-tokens.js +294 -0
  28. package/dist/metadata.d.ts +1 -0
  29. package/dist/metadata.js +4 -0
  30. package/dist/symbol-map.d.ts +30 -0
  31. package/dist/symbol-map.js +1607 -0
  32. package/dist/utils/detect-structure.d.ts +16 -0
  33. package/dist/utils/detect-structure.js +58 -0
  34. package/dist/utils/fetch-component.d.ts +13 -0
  35. package/dist/utils/fetch-component.js +81 -0
  36. package/dist/utils/get-config.d.ts +14 -0
  37. package/dist/utils/get-config.js +19 -0
  38. package/dist/utils/install-deps.d.ts +3 -0
  39. package/dist/utils/install-deps.js +23 -0
  40. package/dist/utils/save-mdx-page.d.ts +35 -0
  41. package/dist/utils/save-mdx-page.js +44 -0
  42. package/dist/utils/scan-mdx.d.ts +20 -0
  43. package/dist/utils/scan-mdx.js +106 -0
  44. package/dist/utils/telemetry.d.ts +3 -0
  45. package/dist/utils/telemetry.js +42 -0
  46. package/dist/utils/write-component.d.ts +7 -0
  47. package/dist/utils/write-component.js +25 -0
  48. package/dist/webview-bundle.js +3478 -0
  49. package/package.json +94 -0
@@ -0,0 +1,843 @@
1
+ const REGISTRY = {
2
+ utils: {
3
+ importFile: "@/lib/utils",
4
+ imports: [],
5
+ elementMappings: {},
6
+ files: ["lib/utils.ts"],
7
+ deps: ["clsx", "tailwind-merge"],
8
+ description: "Utility function cn() for merging Tailwind classes"
9
+ },
10
+ "ds-tree": {
11
+ importFile: "./ds-tree",
12
+ imports: [
13
+ "DSTree",
14
+ "DSBinaryTree",
15
+ "DSBST",
16
+ "DSAVLTree",
17
+ "DSBalancedTree",
18
+ "DSFullTree",
19
+ "DSCompleteTree",
20
+ "DSPerfectTree",
21
+ "DSMinHeap",
22
+ "DSMaxHeap",
23
+ "DSNaryTree",
24
+ "DSBSTPlayground"
25
+ ],
26
+ elementMappings: {},
27
+ files: ["ds-tree.tsx"],
28
+ deps: ["clsx", "tailwind-merge"],
29
+ description: "Visual tree data structure diagrams (BST, AVL, heap, n-ary)"
30
+ },
31
+ ds: {
32
+ importFile: "./ds",
33
+ imports: [
34
+ "DSArray",
35
+ "DSMatrix",
36
+ "DSLinkedList",
37
+ "DSDoublyLinkedList",
38
+ "DSCircularLinkedList",
39
+ "DSStack",
40
+ "DSQueue",
41
+ "DSDeque",
42
+ "DSPriorityQueue",
43
+ "DSBinaryTree",
44
+ "DSBST",
45
+ "DSMinHeap",
46
+ "DSMaxHeap",
47
+ "DSTrie",
48
+ "DSGraph",
49
+ "DSDigraph",
50
+ "DSWeightedGraph",
51
+ "DSDAG",
52
+ "DSHashMap",
53
+ "DSHashSet",
54
+ "DSNaryTree",
55
+ "DSSegmentTree",
56
+ "DSBFS",
57
+ "DSDFS",
58
+ "DSAgentFlow"
59
+ ],
60
+ elementMappings: {},
61
+ files: ["ds.tsx"],
62
+ deps: ["mermaid", "clsx", "tailwind-merge"],
63
+ description: "Full data structures visualization suite (arrays, graphs, trees, etc.)"
64
+ },
65
+ annotation: {
66
+ importFile: "./annotation",
67
+ imports: ["Annotation"],
68
+ elementMappings: {},
69
+ files: ["annotation.tsx", "lib/primitives.ts"],
70
+ deps: ["clsx", "tailwind-merge"],
71
+ description: "Inline popover annotations for technical terms"
72
+ },
73
+ "certification-badge": {
74
+ importFile: "./certification-badge",
75
+ imports: ["CertificationBadge"],
76
+ elementMappings: {},
77
+ files: ["certification-badge.tsx"],
78
+ deps: ["clsx", "tailwind-merge"],
79
+ description: "Compliance and certification badges (ISO, SOC 2, GDPR, etc.)"
80
+ },
81
+ "data-type-table": {
82
+ importFile: "./data-type-table",
83
+ imports: ["DataTypeTable"],
84
+ elementMappings: {},
85
+ files: ["data-type-table.tsx"],
86
+ deps: ["clsx", "tailwind-merge"],
87
+ description: "ML/hardware data type specifications table (INT8, FP16, BF16, etc.)"
88
+ },
89
+ "hardware-spec": {
90
+ importFile: "./hardware-spec",
91
+ imports: ["HardwareSpec"],
92
+ elementMappings: {},
93
+ files: ["hardware-spec.tsx"],
94
+ deps: ["clsx", "tailwind-merge"],
95
+ description: "Hardware specification comparison table"
96
+ },
97
+ "privacy-table": {
98
+ importFile: "./privacy-table",
99
+ imports: ["PrivacyTable"],
100
+ elementMappings: {},
101
+ files: ["privacy-table.tsx"],
102
+ deps: ["clsx", "tailwind-merge"],
103
+ description: "GDPR/privacy policy data collection table"
104
+ },
105
+ "register-map": {
106
+ importFile: "./register-map",
107
+ imports: ["RegisterMap"],
108
+ elementMappings: {},
109
+ files: ["register-map.tsx"],
110
+ deps: ["clsx", "tailwind-merge"],
111
+ description: "Hardware/firmware register address map table"
112
+ },
113
+ "security-note": {
114
+ importFile: "./security-note",
115
+ imports: ["SecurityNote"],
116
+ elementMappings: {},
117
+ files: ["security-note.tsx"],
118
+ deps: ["clsx", "tailwind-merge"],
119
+ description: "Security warnings with severity levels (critical, high, medium, low)"
120
+ },
121
+ "complexity-table": {
122
+ importFile: "./complexity-table",
123
+ imports: ["ComplexityTable"],
124
+ elementMappings: {},
125
+ files: ["complexity-table.tsx"],
126
+ deps: ["clsx", "tailwind-merge"],
127
+ description: "Algorithm time/space complexity table with Big-O notation"
128
+ },
129
+ definition: {
130
+ importFile: "./definition",
131
+ imports: ["Definition"],
132
+ elementMappings: {},
133
+ files: ["definition.tsx"],
134
+ deps: ["clsx", "tailwind-merge"],
135
+ description: "Term definition blocks with styled layout"
136
+ },
137
+ glossary: {
138
+ importFile: "./glossary",
139
+ imports: ["GlossaryProvider", "Term"],
140
+ elementMappings: {},
141
+ files: ["glossary.tsx", "lib/primitives.ts"],
142
+ deps: ["clsx", "tailwind-merge"],
143
+ description: "Inline glossary terms with hover definitions"
144
+ },
145
+ invariant: {
146
+ importFile: "./invariant",
147
+ imports: ["Invariant"],
148
+ elementMappings: {},
149
+ files: ["invariant.tsx"],
150
+ deps: ["clsx", "tailwind-merge"],
151
+ description: "Algorithm invariant callout blocks with optional complexity badge"
152
+ },
153
+ preview: {
154
+ importFile: "./preview",
155
+ imports: ["Preview"],
156
+ elementMappings: {},
157
+ files: ["preview.tsx", "lib/primitives.ts"],
158
+ deps: ["clsx", "tailwind-merge"],
159
+ description: "Live component preview with tabbed source code view"
160
+ },
161
+ reveal: {
162
+ importFile: "./reveal",
163
+ imports: ["Reveal"],
164
+ elementMappings: {},
165
+ files: ["reveal.tsx", "lib/primitives.ts", "lib/motion.tsx"],
166
+ deps: ["clsx", "tailwind-merge"],
167
+ description: "Expandable reveal/show-more content section"
168
+ },
169
+ accordion: {
170
+ importFile: "./accordion",
171
+ imports: [
172
+ "Accordion",
173
+ "AccordionItem",
174
+ "AccordionTrigger",
175
+ "AccordionContent"
176
+ ],
177
+ elementMappings: {},
178
+ files: ["accordion.tsx", "lib/primitives.ts", "lib/motion.tsx"],
179
+ deps: [],
180
+ description: "Collapsible accordion sections"
181
+ },
182
+ alert: {
183
+ importFile: "./alert",
184
+ imports: ["Alert", "AlertTitle", "AlertDescription"],
185
+ elementMappings: {},
186
+ files: ["alert.tsx"],
187
+ deps: ["class-variance-authority", "clsx", "tailwind-merge"],
188
+ description: "Alert banners with info/warning/destructive/success variants"
189
+ },
190
+ badge: {
191
+ importFile: "./badge",
192
+ imports: ["Badge"],
193
+ elementMappings: {},
194
+ files: ["badge.tsx"],
195
+ deps: ["class-variance-authority", "clsx", "tailwind-merge"],
196
+ description: "Status and label badges with multiple variants"
197
+ },
198
+ blockquote: {
199
+ importFile: "./blockquote",
200
+ imports: ["Blockquote"],
201
+ elementMappings: { blockquote: "Blockquote" },
202
+ files: ["blockquote.tsx"],
203
+ deps: [],
204
+ description: "Styled blockquote with optional citation"
205
+ },
206
+ callout: {
207
+ importFile: "./callout",
208
+ imports: ["Callout"],
209
+ elementMappings: {},
210
+ files: ["callout.tsx"],
211
+ deps: ["class-variance-authority", "clsx", "tailwind-merge"],
212
+ description: "Callout boxes for notes, warnings, tips, and errors"
213
+ },
214
+ card: {
215
+ importFile: "./card",
216
+ imports: [
217
+ "Card",
218
+ "CardHeader",
219
+ "CardTitle",
220
+ "CardDescription",
221
+ "CardContent",
222
+ "CardFooter",
223
+ "LinkCard"
224
+ ],
225
+ elementMappings: {},
226
+ files: ["card.tsx"],
227
+ deps: ["clsx", "tailwind-merge"],
228
+ description: "Content cards with header, body, and footer sections"
229
+ },
230
+ changelog: {
231
+ importFile: "./changelog",
232
+ imports: ["Changelog", "ChangelogEntry", "ChangelogItem"],
233
+ elementMappings: {},
234
+ files: ["changelog.tsx"],
235
+ deps: ["clsx", "tailwind-merge"],
236
+ description: "Versioned changelog with typed change entries"
237
+ },
238
+ "code-block": {
239
+ importFile: "./code-block",
240
+ imports: ["CodeBlock"],
241
+ elementMappings: { pre: "CodeBlock" },
242
+ files: ["code-block.tsx"],
243
+ deps: [],
244
+ description: "Syntax-highlighted code blocks with copy button"
245
+ },
246
+ "code-group": {
247
+ importFile: "./code-group",
248
+ imports: ["CodeGroup"],
249
+ elementMappings: {},
250
+ files: ["code-group.tsx"],
251
+ deps: [],
252
+ description: "Tabbed group of code blocks (e.g. npm/pnpm/yarn)"
253
+ },
254
+ "data-table": {
255
+ importFile: "./data-table",
256
+ imports: ["DataTable"],
257
+ elementMappings: {},
258
+ files: ["data-table.tsx"],
259
+ deps: ["clsx", "tailwind-merge"],
260
+ description: "Searchable and sortable data table"
261
+ },
262
+ "diff-block": {
263
+ importFile: "./diff-block",
264
+ imports: ["DiffBlock"],
265
+ elementMappings: {},
266
+ files: ["diff-block.tsx"],
267
+ deps: ["clsx", "tailwind-merge"],
268
+ description: "Git-style diff viewer with added/removed lines"
269
+ },
270
+ emphasis: {
271
+ importFile: "./emphasis",
272
+ imports: ["Strong", "Em"],
273
+ elementMappings: { strong: "Strong", em: "Em" },
274
+ files: ["emphasis.tsx"],
275
+ deps: [],
276
+ description: "Styled bold and italic text emphasis"
277
+ },
278
+ "file-tree": {
279
+ importFile: "./file-tree",
280
+ imports: ["FileTree"],
281
+ elementMappings: {},
282
+ files: ["file-tree.tsx"],
283
+ deps: [],
284
+ description: "Simple string-based file/folder tree display"
285
+ },
286
+ heading: {
287
+ importFile: "./heading",
288
+ imports: ["H1", "H2", "H3", "H4", "H5", "H6"],
289
+ elementMappings: {
290
+ h1: "H1",
291
+ h2: "H2",
292
+ h3: "H3",
293
+ h4: "H4",
294
+ h5: "H5",
295
+ h6: "H6"
296
+ },
297
+ files: ["heading.tsx"],
298
+ deps: ["class-variance-authority"],
299
+ description: "Heading components H1\u2013H6 with anchor links"
300
+ },
301
+ headings: {
302
+ importFile: "./headings",
303
+ imports: ["Headings"],
304
+ elementMappings: {},
305
+ files: ["headings.tsx"],
306
+ deps: [],
307
+ description: "Typography scale reference showing all heading levels"
308
+ },
309
+ highlight: {
310
+ importFile: "./highlight",
311
+ imports: ["Highlight"],
312
+ elementMappings: {},
313
+ files: ["highlight.tsx"],
314
+ deps: ["clsx", "tailwind-merge"],
315
+ description: "Inline text highlight marker"
316
+ },
317
+ "horizontal-rule": {
318
+ importFile: "./horizontal-rule",
319
+ imports: ["HorizontalRule"],
320
+ elementMappings: { hr: "HorizontalRule" },
321
+ files: ["horizontal-rule.tsx"],
322
+ deps: [],
323
+ description: "Styled horizontal divider lines (default, dashed, dotted, gradient)"
324
+ },
325
+ image: {
326
+ importFile: "./image",
327
+ imports: ["Image", "ImageGlossary"],
328
+ elementMappings: { img: "Image" },
329
+ files: ["image.tsx"],
330
+ deps: ["clsx", "tailwind-merge"],
331
+ description: "Images with optional captions and glossary overlay"
332
+ },
333
+ "inline-code": {
334
+ importFile: "./inline-code",
335
+ imports: ["Code"],
336
+ elementMappings: { code: "Code" },
337
+ files: ["inline-code.tsx"],
338
+ deps: [],
339
+ description: "Styled inline code snippets"
340
+ },
341
+ "json-ld": {
342
+ importFile: "./json-ld",
343
+ imports: ["JsonLd"],
344
+ elementMappings: {},
345
+ files: ["json-ld.tsx"],
346
+ deps: [],
347
+ description: "JSON-LD structured data script tag for SEO"
348
+ },
349
+ kbd: {
350
+ importFile: "./kbd",
351
+ imports: ["Kbd"],
352
+ elementMappings: {},
353
+ files: ["kbd.tsx"],
354
+ deps: ["clsx", "tailwind-merge"],
355
+ description: "Keyboard key badges (e.g. Ctrl+K)"
356
+ },
357
+ link: {
358
+ importFile: "./link",
359
+ imports: ["Link"],
360
+ elementMappings: { a: "Link" },
361
+ files: ["link.tsx"],
362
+ deps: ["clsx", "tailwind-merge"],
363
+ description: "Styled links with external indicator"
364
+ },
365
+ list: {
366
+ importFile: "./list",
367
+ imports: ["UnorderedList", "OrderedList", "ListItem"],
368
+ elementMappings: { ul: "UnorderedList", ol: "OrderedList", li: "ListItem" },
369
+ files: ["list.tsx"],
370
+ deps: [],
371
+ description: "Styled ordered and unordered lists"
372
+ },
373
+ math: {
374
+ importFile: "./math",
375
+ imports: ["Math", "BlockMath", "InlineMath"],
376
+ elementMappings: {},
377
+ files: ["math.tsx"],
378
+ deps: ["katex", "clsx", "tailwind-merge"],
379
+ description: "LaTeX math rendering with KaTeX (block and inline)"
380
+ },
381
+ mermaid: {
382
+ importFile: "./mermaid",
383
+ imports: [
384
+ "Mermaid",
385
+ "MermaidBST",
386
+ "MermaidTree",
387
+ "MermaidBFS",
388
+ "MermaidDFS"
389
+ ],
390
+ elementMappings: {},
391
+ files: ["mermaid.tsx"],
392
+ deps: ["mermaid", "clsx", "tailwind-merge"],
393
+ description: "Mermaid diagram renderer with BST/BFS/DFS variants"
394
+ },
395
+ paragraph: {
396
+ importFile: "./paragraph",
397
+ imports: ["Paragraph"],
398
+ elementMappings: { p: "Paragraph" },
399
+ files: ["paragraph.tsx"],
400
+ deps: [],
401
+ description: "Styled paragraph text component"
402
+ },
403
+ spoiler: {
404
+ importFile: "./spoiler",
405
+ imports: ["Spoiler"],
406
+ elementMappings: {},
407
+ files: ["spoiler.tsx"],
408
+ deps: ["clsx", "tailwind-merge"],
409
+ description: "Collapsible spoiler using native <details>/<summary>"
410
+ },
411
+ steps: {
412
+ importFile: "./steps",
413
+ imports: ["Steps", "Step"],
414
+ elementMappings: {},
415
+ files: ["steps.tsx"],
416
+ deps: [],
417
+ description: "Numbered step-by-step procedure guide"
418
+ },
419
+ table: {
420
+ importFile: "./table",
421
+ imports: [
422
+ "Table",
423
+ "TableHeader",
424
+ "TableBody",
425
+ "TableFooter",
426
+ "TableRow",
427
+ "TableHead",
428
+ "TableCell",
429
+ "TableCaption"
430
+ ],
431
+ elementMappings: {
432
+ table: "Table",
433
+ thead: "TableHeader",
434
+ tbody: "TableBody",
435
+ tfoot: "TableFooter",
436
+ tr: "TableRow",
437
+ th: "TableHead",
438
+ td: "TableCell"
439
+ },
440
+ files: ["table.tsx"],
441
+ deps: ["clsx", "tailwind-merge"],
442
+ description: "Styled markdown table with full semantic elements"
443
+ },
444
+ tabs: {
445
+ importFile: "./tabs",
446
+ imports: ["Tabs", "TabsList", "TabsTrigger", "TabsContent"],
447
+ elementMappings: {},
448
+ files: ["tabs.tsx"],
449
+ deps: [],
450
+ description: "Interactive tabbed content panels"
451
+ },
452
+ terminal: {
453
+ importFile: "./terminal",
454
+ imports: ["Terminal", "TerminalLine"],
455
+ elementMappings: {},
456
+ files: ["terminal.tsx"],
457
+ deps: ["clsx", "tailwind-merge"],
458
+ description: "Terminal/shell output block with prompt styling"
459
+ },
460
+ tree: {
461
+ importFile: "./tree",
462
+ imports: ["Tree", "TreeItem"],
463
+ elementMappings: {},
464
+ files: ["tree.tsx"],
465
+ deps: [],
466
+ description: "Interactive file/folder tree with expand/collapse"
467
+ },
468
+ video: {
469
+ importFile: "./video",
470
+ imports: ["Video"],
471
+ elementMappings: {},
472
+ files: ["video.tsx"],
473
+ deps: ["clsx", "tailwind-merge"],
474
+ description: "Responsive video embed with optional caption"
475
+ },
476
+ "math-primitives": {
477
+ importFile: "./math-primitives",
478
+ imports: [
479
+ "Frac",
480
+ "Pow",
481
+ "Sub",
482
+ "Sqrt",
483
+ "Abs",
484
+ "Deg",
485
+ "Inf",
486
+ "InfSym",
487
+ "Expr",
488
+ "Paren",
489
+ "Brace",
490
+ "Greek",
491
+ "Alpha",
492
+ "Beta",
493
+ "Gamma",
494
+ "GDelta",
495
+ "Epsilon",
496
+ "Eta",
497
+ "Iota",
498
+ "Kappa",
499
+ "Lambda",
500
+ "Mu",
501
+ "Nu",
502
+ "Xi",
503
+ "XiU",
504
+ "PiSym",
505
+ "PiU",
506
+ "Rho",
507
+ "SigmaSym",
508
+ "Tau",
509
+ "Phi",
510
+ "Chi",
511
+ "Psi",
512
+ "Omega",
513
+ "GammaU",
514
+ "DeltaU",
515
+ "ThetaU",
516
+ "LambdaU",
517
+ "SigmaU",
518
+ "PhiU",
519
+ "OmegaU",
520
+ "PsiU",
521
+ "Upsilon",
522
+ "Digamma",
523
+ "Varepsilon",
524
+ "Varphi",
525
+ "Varpi",
526
+ "Varrho",
527
+ "Varsigma",
528
+ "Vartheta",
529
+ "Neq",
530
+ "Approx",
531
+ "Leq",
532
+ "Geq",
533
+ "Ll",
534
+ "Gg",
535
+ "Sim",
536
+ "Cong",
537
+ "Equiv",
538
+ "AsympEq",
539
+ "NotAsympEq",
540
+ "NotCong",
541
+ "NotSim",
542
+ "Prec",
543
+ "PrecEq",
544
+ "Succ",
545
+ "SuccEq",
546
+ "Propto",
547
+ "Proportion",
548
+ "DefinedAs",
549
+ "EqDef",
550
+ "Eq",
551
+ "NotEq",
552
+ "Corresponds",
553
+ "Approaches",
554
+ "GeoCong",
555
+ "GeoSim",
556
+ "Equiangular",
557
+ "Arrow",
558
+ "LeftArrow",
559
+ "UpArrow",
560
+ "DownArrow",
561
+ "LeftRightArrow",
562
+ "DoubleRightArrow",
563
+ "DoubleLeftArrow",
564
+ "DoubleLeftRightArrow",
565
+ "DoubleUpArrow",
566
+ "DoubleDownArrow",
567
+ "DoubleUpDownArrow",
568
+ "LongRightArrow",
569
+ "LongLeftArrow",
570
+ "LongLeftRightArrow",
571
+ "LongMapsTo",
572
+ "MapsTo",
573
+ "HookRightArrow",
574
+ "HookLeftArrow",
575
+ "NearArrow",
576
+ "SeArrow",
577
+ "SwArrow",
578
+ "NwArrow",
579
+ "TwoHeadLeft",
580
+ "TwoHeadRight",
581
+ "UpDownArrow",
582
+ "LeftHarpoonUp",
583
+ "LeftHarpoonDown",
584
+ "RightHarpoonUp",
585
+ "RightHarpoonDown",
586
+ "DoubleHarpoon",
587
+ "CircleArrow",
588
+ "CircleArrowLeft",
589
+ "ReactionArrow",
590
+ "EquilibriumArrow",
591
+ "ChemEquilibrium",
592
+ "Implies",
593
+ "Iff",
594
+ "Therefore",
595
+ "Because",
596
+ "Turnstile",
597
+ "NotTurnstile",
598
+ "Models",
599
+ "NotModels",
600
+ "ForAll",
601
+ "Exists",
602
+ "NotExists",
603
+ "In",
604
+ "NotIn",
605
+ "Subset",
606
+ "SubsetEq",
607
+ "NotSubset",
608
+ "Supset",
609
+ "SupsetEq",
610
+ "NotSupset",
611
+ "ProperSubset",
612
+ "ProperSupset",
613
+ "Union",
614
+ "Intersect",
615
+ "SetMinus",
616
+ "Empty",
617
+ "And",
618
+ "Or",
619
+ "Not",
620
+ "Xor",
621
+ "Nand",
622
+ "Nor",
623
+ "PlusMinus",
624
+ "MinusPlus",
625
+ "Times",
626
+ "Division",
627
+ "Cross",
628
+ "Dot",
629
+ "DotAccent",
630
+ "DDot",
631
+ "CDots",
632
+ "LDots",
633
+ "VDots",
634
+ "DDots",
635
+ "UpDots",
636
+ "DirectSum",
637
+ "OTimes",
638
+ "Hadamard",
639
+ "WreathProduct",
640
+ "Amalg",
641
+ "CircledPlus",
642
+ "CircledMinus",
643
+ "CircledTimes",
644
+ "CircledDiv",
645
+ "CircledStar",
646
+ "Compose",
647
+ "Convo",
648
+ "Bowtie",
649
+ "Star",
650
+ "Bullet",
651
+ "Dagger",
652
+ "DoubleDagger",
653
+ "NullOp",
654
+ "Sin",
655
+ "Cos",
656
+ "Tan",
657
+ "Cot",
658
+ "Sec",
659
+ "Csc",
660
+ "Sinh",
661
+ "Cosh",
662
+ "Tanh",
663
+ "ArcSin",
664
+ "ArcCos",
665
+ "ArcTan",
666
+ "Ln",
667
+ "Log",
668
+ "NaturalLog",
669
+ "Exp",
670
+ "Max",
671
+ "Min",
672
+ "Sup",
673
+ "Inf",
674
+ "Gcd",
675
+ "Lcm",
676
+ "Arg",
677
+ "Dim",
678
+ "Hom",
679
+ "Ker",
680
+ "Rank",
681
+ "Res",
682
+ "Sgn",
683
+ "Ord",
684
+ "Trace",
685
+ "SpanOp",
686
+ "Aut",
687
+ "PartialDiff",
688
+ "Der",
689
+ "Grad",
690
+ "Lapl",
691
+ "Nabla",
692
+ "DoubleInt",
693
+ "TripleInt",
694
+ "SmallInt",
695
+ "SurfaceInt",
696
+ "VolumeInt",
697
+ "Prime",
698
+ "DoublePrime",
699
+ "TriplePrime",
700
+ "Hat",
701
+ "Tilde",
702
+ "Parallel",
703
+ "NotParallel",
704
+ "Perpendicular",
705
+ "Divides",
706
+ "NotDivides",
707
+ "GreaterLess",
708
+ "LessGreater",
709
+ "MeasuredAngle",
710
+ "SphericalAngle",
711
+ "RightAngle",
712
+ "RightAngleCorner",
713
+ "RightTriangle",
714
+ "NN",
715
+ "ZZ",
716
+ "QQ",
717
+ "RR",
718
+ "CC",
719
+ "PP",
720
+ "FF",
721
+ "QQ",
722
+ "EulerE",
723
+ "ImagUnit",
724
+ "HBar",
725
+ "PlanckH",
726
+ "Angstrom",
727
+ "Aleph",
728
+ "Beth",
729
+ "Gimel",
730
+ "Daleth",
731
+ "FrakI",
732
+ "FrakR",
733
+ "Weierstrass",
734
+ "Im",
735
+ "Re",
736
+ "ScriptA",
737
+ "ScriptB",
738
+ "ScriptC",
739
+ "ScriptD",
740
+ "ScriptE",
741
+ "ScriptEll",
742
+ "ScriptF",
743
+ "ScriptG",
744
+ "ScriptH",
745
+ "ScriptI",
746
+ "ScriptJ",
747
+ "ScriptK",
748
+ "ScriptL",
749
+ "ScriptM",
750
+ "ScriptN",
751
+ "ScriptO",
752
+ "ScriptP",
753
+ "ScriptQ",
754
+ "ScriptR",
755
+ "ScriptS",
756
+ "ScriptT",
757
+ "ScriptU",
758
+ "ScriptV",
759
+ "ScriptW",
760
+ "ScriptX",
761
+ "ScriptY",
762
+ "ScriptZ",
763
+ "Img",
764
+ "Top",
765
+ "Bot",
766
+ "Contradiction",
767
+ "Tombstone",
768
+ "End",
769
+ "Diamond",
770
+ "Square",
771
+ "Circle",
772
+ "Rhombus",
773
+ "FilledCircle",
774
+ "FilledSquare",
775
+ "FilledRhombus",
776
+ "Hexagon",
777
+ "Pentagon",
778
+ "Ellipse",
779
+ "EllTwo",
780
+ "PlusMinus",
781
+ "Percent",
782
+ "Permille",
783
+ "SingleBond",
784
+ "DoubleBond",
785
+ "TripleBond",
786
+ "GasMarker",
787
+ "PrecipitateMarker",
788
+ "NaturalSymbol",
789
+ "FlatSymbol",
790
+ "SharpSymbol"
791
+ ],
792
+ elementMappings: {},
793
+ files: ["math-primitives.tsx"],
794
+ deps: ["clsx", "tailwind-merge"],
795
+ description: "250+ semantic math symbols: operators, Greek letters, arrows, logic, sets, trig, calculus, script letters"
796
+ },
797
+ "math-equation": {
798
+ importFile: "./math-equation",
799
+ imports: ["Equation", "EqSystem"],
800
+ elementMappings: {},
801
+ files: ["math-equation.tsx"],
802
+ deps: ["clsx", "tailwind-merge"],
803
+ registryDependencies: ["math-primitives"],
804
+ description: "Semantic equation display blocks: Equation, EqSystem, relation symbols"
805
+ },
806
+ "math-solution": {
807
+ importFile: "./math-solution",
808
+ imports: ["Solution", "SolutionStep", "SolutionAnswer", "SolutionNote"],
809
+ elementMappings: {},
810
+ files: ["math-solution.tsx"],
811
+ deps: ["clsx", "tailwind-merge"],
812
+ registryDependencies: ["math-equation", "math-primitives"],
813
+ description: "Step-by-step mathematical solution blocks: Solution, SolutionStep, SolutionAnswer"
814
+ }
815
+ };
816
+ const COMPONENT_MDX_MAP = Object.fromEntries(
817
+ Object.entries(REGISTRY).filter(([name]) => name !== "utils").map(([name, e]) => [
818
+ name,
819
+ {
820
+ importFile: e.importFile,
821
+ imports: e.imports,
822
+ elementMappings: e.elementMappings
823
+ }
824
+ ])
825
+ );
826
+ const COMPONENT_FILES = Object.fromEntries(
827
+ Object.entries(REGISTRY).map(([name, e]) => [name, e.files])
828
+ );
829
+ const FILE_TO_COMPONENT = Object.fromEntries(
830
+ Object.entries(REGISTRY).flatMap(
831
+ ([name, e]) => e.files.filter((f) => !f.startsWith("lib/")).map((f) => [f, name])
832
+ )
833
+ );
834
+ const COMPONENT_DEPS = Object.fromEntries(
835
+ Object.entries(REGISTRY).map(([name, e]) => [name, e.deps])
836
+ );
837
+ export {
838
+ COMPONENT_DEPS,
839
+ COMPONENT_FILES,
840
+ COMPONENT_MDX_MAP,
841
+ FILE_TO_COMPONENT,
842
+ REGISTRY
843
+ };