@nanisoft/prism-llms 0.4.0 → 0.5.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.
Files changed (175) hide show
  1. package/README.md +88 -0
  2. package/THIRD-PARTY-NOTICES.md +48 -0
  3. package/dist/data.json +3996 -387
  4. package/dist/demo-graph.d.ts +21 -12
  5. package/dist/demo-graph.js +37 -21
  6. package/dist/extractor.d.ts +24 -17
  7. package/dist/extractor.js +269 -153
  8. package/dist/index.d.ts +12 -7
  9. package/dist/index.js +9 -7
  10. package/dist/llms-full.txt +7968 -2013
  11. package/dist/llms.txt +97 -93
  12. package/dist/markdown.d.ts +69 -23
  13. package/dist/markdown.js +131 -72
  14. package/dist/md/blocks/app-shell-01.md +135 -0
  15. package/dist/md/blocks/auth-form-01.md +135 -0
  16. package/dist/md/blocks/cta-01.md +88 -0
  17. package/dist/md/blocks/data-table-01.md +196 -0
  18. package/dist/md/blocks/feature-grid-01.md +92 -0
  19. package/dist/md/blocks/hero-01.md +90 -0
  20. package/dist/md/blocks/instrument-panel-01.md +109 -0
  21. package/dist/md/blocks/logo-strip-01.md +97 -0
  22. package/dist/md/blocks/note-grid-01.md +102 -0
  23. package/dist/md/blocks/page-header-01.md +97 -0
  24. package/dist/md/blocks/pricing-01.md +91 -0
  25. package/dist/md/blocks/process-rail-01.md +106 -0
  26. package/dist/md/blocks/product-grid-01.md +113 -0
  27. package/dist/md/blocks/settings-panel-01.md +148 -0
  28. package/dist/md/blocks/site-footer.md +103 -11
  29. package/dist/md/blocks/site-header.md +111 -11
  30. package/dist/md/blocks/stack-grid-01.md +108 -0
  31. package/dist/md/blocks/stats-01.md +89 -0
  32. package/dist/md/blocks/status-ledger-01.md +121 -0
  33. package/dist/md/changelogs/prism-llms.md +206 -0
  34. package/dist/md/changelogs/prism-mcp-server.md +88 -0
  35. package/dist/md/changelogs/prism-tokens.md +126 -0
  36. package/dist/md/changelogs/prism-ui.md +429 -0
  37. package/dist/md/components/accordion.md +108 -0
  38. package/dist/md/components/alert.md +90 -7
  39. package/dist/md/components/avatar.md +89 -7
  40. package/dist/md/components/badge.md +74 -7
  41. package/dist/md/components/breadcrumb.md +84 -7
  42. package/dist/md/components/button.md +90 -7
  43. package/dist/md/components/card.md +90 -7
  44. package/dist/md/components/checkbox.md +101 -7
  45. package/dist/md/components/cta-link.md +98 -0
  46. package/dist/md/components/diagram.md +124 -0
  47. package/dist/md/components/dialog.md +128 -0
  48. package/dist/md/components/dropdown-menu.md +125 -0
  49. package/dist/md/components/fact-list.md +85 -0
  50. package/dist/md/components/field.md +116 -0
  51. package/dist/md/components/input.md +86 -7
  52. package/dist/md/components/kbd.md +77 -0
  53. package/dist/md/components/pagination.md +95 -7
  54. package/dist/md/components/popover.md +95 -7
  55. package/dist/md/components/product-mark.md +123 -0
  56. package/dist/md/components/product-switcher.md +88 -0
  57. package/dist/md/components/progress.md +88 -7
  58. package/dist/md/components/prose.md +91 -0
  59. package/dist/md/components/radio-group.md +111 -0
  60. package/dist/md/components/section.md +91 -0
  61. package/dist/md/components/select.md +143 -7
  62. package/dist/md/components/separator.md +77 -0
  63. package/dist/md/components/skeleton.md +71 -7
  64. package/dist/md/components/slider.md +90 -7
  65. package/dist/md/components/switch.md +104 -7
  66. package/dist/md/components/table.md +104 -7
  67. package/dist/md/components/tabs.md +105 -7
  68. package/dist/md/components/textarea.md +101 -0
  69. package/dist/md/components/tooltip.md +95 -7
  70. package/dist/md/components/typography.md +82 -7
  71. package/dist/md/content/about-content.md +36 -0
  72. package/dist/md/content/audience.md +43 -0
  73. package/dist/md/content/glossary.md +69 -0
  74. package/dist/md/content/product-vocabulary.md +53 -0
  75. package/dist/md/content/voice.md +52 -0
  76. package/dist/md/content/writing-mechanics.md +58 -0
  77. package/dist/md/foundation/colors.md +10 -0
  78. package/dist/md/foundation/iconography.md +14 -0
  79. package/dist/md/foundation/motion.md +10 -0
  80. package/dist/md/foundation/radii.md +9 -0
  81. package/dist/md/foundation/shadows.md +9 -0
  82. package/dist/md/foundation/spacings.md +8 -0
  83. package/dist/md/foundation/typography.md +9 -0
  84. package/dist/md/foundation/variables.md +9 -0
  85. package/dist/md/overview/architecture.md +76 -0
  86. package/dist/md/overview/brand.md +41 -0
  87. package/dist/md/overview/composition.md +77 -0
  88. package/dist/md/overview/quickstart.md +97 -0
  89. package/dist/md/overview/theming.md +89 -0
  90. package/dist/md/overview/using-llms.md +83 -0
  91. package/dist/md/pages/auth-page.md +149 -0
  92. package/dist/md/pages/blog-post-page.md +136 -0
  93. package/dist/md/pages/dashboard-page.md +241 -0
  94. package/dist/md/pages/marketing-page.md +199 -0
  95. package/dist/md/pages/not-found-page.md +105 -0
  96. package/dist/md/pages/settings-page.md +206 -0
  97. package/dist/prism-skill.md +50 -0
  98. package/dist/store.d.ts +203 -0
  99. package/dist/store.js +317 -0
  100. package/package.json +29 -26
  101. package/dist/demo-graph.d.ts.map +0 -1
  102. package/dist/demo-graph.js.map +0 -1
  103. package/dist/extractor.d.ts.map +0 -1
  104. package/dist/extractor.js.map +0 -1
  105. package/dist/index.d.ts.map +0 -1
  106. package/dist/index.js.map +0 -1
  107. package/dist/markdown.d.ts.map +0 -1
  108. package/dist/markdown.js.map +0 -1
  109. package/dist/md/blocks/component-demo.md +0 -19
  110. package/dist/md/blocks/page-header.md +0 -19
  111. package/dist/md/components/affix.md +0 -14
  112. package/dist/md/components/anchor.md +0 -14
  113. package/dist/md/components/auto-complete.md +0 -14
  114. package/dist/md/components/back-top.md +0 -14
  115. package/dist/md/components/border-beam.md +0 -14
  116. package/dist/md/components/calendar.md +0 -14
  117. package/dist/md/components/carousel.md +0 -14
  118. package/dist/md/components/cascader.md +0 -14
  119. package/dist/md/components/col.md +0 -14
  120. package/dist/md/components/collapse.md +0 -14
  121. package/dist/md/components/color-picker.md +0 -14
  122. package/dist/md/components/date-picker.md +0 -14
  123. package/dist/md/components/descriptions.md +0 -14
  124. package/dist/md/components/display-title.md +0 -20
  125. package/dist/md/components/divider.md +0 -14
  126. package/dist/md/components/drawer.md +0 -14
  127. package/dist/md/components/dropdown.md +0 -14
  128. package/dist/md/components/empty.md +0 -14
  129. package/dist/md/components/flex.md +0 -14
  130. package/dist/md/components/float-button.md +0 -14
  131. package/dist/md/components/form.md +0 -14
  132. package/dist/md/components/grid.md +0 -14
  133. package/dist/md/components/image.md +0 -14
  134. package/dist/md/components/input-number.md +0 -14
  135. package/dist/md/components/layout.md +0 -14
  136. package/dist/md/components/list.md +0 -14
  137. package/dist/md/components/listy.md +0 -14
  138. package/dist/md/components/masonry.md +0 -14
  139. package/dist/md/components/mentions.md +0 -14
  140. package/dist/md/components/menu.md +0 -14
  141. package/dist/md/components/modal.md +0 -14
  142. package/dist/md/components/popconfirm.md +0 -14
  143. package/dist/md/components/qrcode.md +0 -14
  144. package/dist/md/components/radio.md +0 -14
  145. package/dist/md/components/rate.md +0 -14
  146. package/dist/md/components/result.md +0 -14
  147. package/dist/md/components/row.md +0 -14
  148. package/dist/md/components/segmented.md +0 -14
  149. package/dist/md/components/space.md +0 -14
  150. package/dist/md/components/spin.md +0 -14
  151. package/dist/md/components/splitter.md +0 -14
  152. package/dist/md/components/statistic.md +0 -14
  153. package/dist/md/components/steps.md +0 -14
  154. package/dist/md/components/tag.md +0 -14
  155. package/dist/md/components/time-picker.md +0 -14
  156. package/dist/md/components/timeline.md +0 -14
  157. package/dist/md/components/tour.md +0 -14
  158. package/dist/md/components/transfer.md +0 -14
  159. package/dist/md/components/tree-select.md +0 -14
  160. package/dist/md/components/tree.md +0 -14
  161. package/dist/md/components/upload.md +0 -14
  162. package/dist/md/components/watermark.md +0 -14
  163. package/dist/md/docs/brand.md +0 -41
  164. package/dist/md/pages/blog-layout.md +0 -19
  165. package/dist/md/pages/docs-shell.md +0 -23
  166. package/dist/md/theme/blue-dark.md +0 -127
  167. package/dist/md/theme/blue-light.md +0 -129
  168. package/dist/md/theme/green-dark.md +0 -127
  169. package/dist/md/theme/green-light.md +0 -129
  170. package/dist/md/theme/lavender-dark.md +0 -127
  171. package/dist/md/theme/lavender-light.md +0 -129
  172. package/dist/md/theme/peach-dark.md +0 -127
  173. package/dist/md/theme/peach-light.md +0 -129
  174. package/dist/md/theme/rose-dark.md +0 -127
  175. package/dist/md/theme/rose-light.md +0 -129
@@ -1,129 +0,0 @@
1
- # Theming — Rose pack · light mode
2
-
3
- > `createPrismTheme({ pack: 'rose', mode: 'light' })` returns one frozen `PrismTheme`; cssVar key `prism-rose-light`. antd derives everything not listed through its default algorithm.
4
-
5
- ## Usage
6
-
7
- ```ts
8
- import { createPrismTheme } from '@nanisoft/prism-tokens';
9
- import { PrismProvider } from '@nanisoft/prism-ui';
10
-
11
- const theme = createPrismTheme({ pack: 'rose', mode: 'light' });
12
-
13
- // <PrismProvider prismTheme={theme}>…</PrismProvider>
14
- ```
15
-
16
- ## Tier 0 — primitives
17
-
18
- | Token | Value |
19
- | --- | --- |
20
- | `colorError` | #DC2626 |
21
- | `colorGround` | #FBF1F5 |
22
- | `colorHairline` | rgba(150, 48, 92, 0.10) |
23
- | `colorInfo` | #2563EB |
24
- | `colorInk` | #BC3A6C |
25
- | `colorSuccess` | #16A34A |
26
- | `colorSurface` | #FFFFFF |
27
- | `colorText` | #331B29 |
28
- | `colorWarning` | #D97706 |
29
- | `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
30
- | `motionCurveOpacity` | linear |
31
- | `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
32
- | `motionDurationFast` | 80ms |
33
- | `motionDurationMid` | 160ms |
34
- | `motionDurationSlow` | 280ms |
35
- | `shapeRadiusBase` | 4 |
36
- | `shapeRadiusLg` | 6 |
37
- | `shapeRadiusOuter` | 4 |
38
- | `shapeRadiusSm` | 2 |
39
- | `spaceStep` | 4 |
40
- | `spaceUnit` | 4 |
41
- | `typeFamilyMono` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
42
- | `typeFamilyUi` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
43
- | `typeSizeUi` | 14 |
44
- | `typeWeightStrong` | 600 |
45
-
46
- ## Tier 1 — semantics
47
-
48
- | Token | Value |
49
- | --- | --- |
50
- | `accentLive` | rgba(188, 58, 108, 0.1) |
51
- | `elevationFloating` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
52
- | `elevationNone` | none |
53
- | `focusRing` | rgba(188, 58, 108, 0.35) |
54
- | `hairlineFaint` | rgba(188, 58, 108, 0.06) |
55
- | `hairlineStrong` | rgba(150, 48, 92, 0.10) |
56
- | `inkPrimary` | #BC3A6C |
57
- | `motionCurveOpacity` | linear |
58
- | `motionCurveStandard` | cubic-bezier(0.25, 1, 0.5, 1) |
59
- | `motionDurationFast` | 80ms |
60
- | `motionDurationMid` | 160ms |
61
- | `motionDurationSlow` | 280ms |
62
- | `shapeRadiusBase` | 4 |
63
- | `shapeRadiusLg` | 6 |
64
- | `shapeRadiusOuter` | 4 |
65
- | `shapeRadiusSm` | 2 |
66
- | `spaceStep` | 4 |
67
- | `spaceUnit` | 4 |
68
- | `stateError` | #DC2626 |
69
- | `stateInfo` | #2563EB |
70
- | `stateSuccess` | #16A34A |
71
- | `stateWarning` | #D97706 |
72
- | `surfaceContainer` | #FFFFFF |
73
- | `surfaceGround` | #FBF1F5 |
74
- | `surfaceScrim` | rgba(15, 23, 42, 0.32) |
75
- | `textFaint` | rgba(51, 27, 41, 0.3) |
76
- | `textOnInk` | #FFFFFF |
77
- | `textPrimary` | #331B29 |
78
- | `textSecondary` | rgba(51, 27, 41, 0.68) |
79
- | `textTertiary` | rgba(51, 27, 41, 0.45) |
80
- | `typeFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
81
- | `typeFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
82
- | `typeSize` | 14 |
83
- | `typeWeight` | 600 |
84
-
85
- ## antd token lane (seeds + the closed map-token allowlist)
86
-
87
- | Token | Value |
88
- | --- | --- |
89
- | `borderRadius` | 4 |
90
- | `borderRadiusLG` | 6 |
91
- | `borderRadiusSM` | 2 |
92
- | `boxShadow` | 0 4px 16px 0 rgba(11, 18, 32, 0.16) |
93
- | `boxShadowSecondary` | none |
94
- | `boxShadowTertiary` | none |
95
- | `colorBgBase` | #FFFFFF |
96
- | `colorBgLayout` | #FBF1F5 |
97
- | `colorBgMask` | rgba(15, 23, 42, 0.32) |
98
- | `colorBgTextActive` | rgba(188, 58, 108, 0.1) |
99
- | `colorBorder` | rgba(150, 48, 92, 0.10) |
100
- | `colorBorderSecondary` | rgba(188, 58, 108, 0.06) |
101
- | `colorError` | #DC2626 |
102
- | `colorInfo` | #2563EB |
103
- | `colorLink` | #BC3A6C |
104
- | `colorPrimary` | #BC3A6C |
105
- | `colorPrimaryTextActive` | #BC3A6C |
106
- | `colorSplit` | rgba(188, 58, 108, 0.06) |
107
- | `colorSuccess` | #16A34A |
108
- | `colorTextBase` | #331B29 |
109
- | `colorTextPlaceholder` | rgba(51, 27, 41, 0.45) |
110
- | `colorWarning` | #D97706 |
111
- | `controlItemBgActive` | rgba(188, 58, 108, 0.1) |
112
- | `controlItemBgActiveHover` | rgba(188, 58, 108, 0.1) |
113
- | `controlOutline` | rgba(188, 58, 108, 0.35) |
114
- | `fontFamily` | "Archivo Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif |
115
- | `fontFamilyCode` | "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace |
116
- | `fontSize` | 14 |
117
- | `fontWeightStrong` | 600 |
118
- | `lineWidth` | 1 |
119
- | `motionBase` | 0 |
120
- | `motionDurationSlow` | 280ms |
121
- | `motionEaseInOut` | cubic-bezier(0.25, 1, 0.5, 1) |
122
- | `motionEaseOut` | cubic-bezier(0.25, 1, 0.5, 1) |
123
- | `motionEaseOutCirc` | cubic-bezier(0.25, 1, 0.5, 1) |
124
- | `motionEaseOutQuint` | cubic-bezier(0.25, 1, 0.5, 1) |
125
- | `motionUnit` | 0.08 |
126
- | `sizeStep` | 4 |
127
- | `sizeUnit` | 4 |
128
-
129
- Component overrides are shadow-zeroing only (Button/Input shadows → `none`, always with `algorithm: true`).