@aleph-alpha/lib-mcp 5.2.0 → 5.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.
|
@@ -227,6 +227,7 @@
|
|
|
227
227
|
"lineWrapping",
|
|
228
228
|
"maxHeight",
|
|
229
229
|
"autofocus",
|
|
230
|
+
"badge",
|
|
230
231
|
"writeToClipboard"
|
|
231
232
|
],
|
|
232
233
|
"examples": [
|
|
@@ -236,6 +237,7 @@
|
|
|
236
237
|
"Readonly",
|
|
237
238
|
"WithoutHeader",
|
|
238
239
|
"ScrollingAndWrapping",
|
|
240
|
+
"WithBadges",
|
|
239
241
|
"MatchesTheRenderer"
|
|
240
242
|
],
|
|
241
243
|
"_autoGenerated": true
|
package/components-meta.json
CHANGED
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
"_autoGenerated": true
|
|
546
546
|
},
|
|
547
547
|
"UiCodeBlock": {
|
|
548
|
-
"description": "A code block component for displaying source code with syntax highlighting, line numbers, and copy-to-clipboard functionality. Powered by Shiki.",
|
|
548
|
+
"description": "A code block component for displaying source code with syntax highlighting, line numbers, and copy-to-clipboard functionality. Powered by Shiki. The header (language label + copy button) can be recolored from the outside with CSS custom properties, set on the code block or on any ancestor. Use them when the block sits on a surface the default muted header clashes with: - `--ui-code-block-header-surface` — header background - `--ui-code-block-header-content` — label and copy-icon color - `--ui-code-block-header-border` — divider under the header Each takes a full CSS color (`#0d1117`, `oklch(var(--background-surface-primary))`) and falls back to the design token it used before when unset.",
|
|
549
549
|
"category": "Content",
|
|
550
550
|
"useCases": [
|
|
551
551
|
"code display",
|
|
@@ -583,6 +583,7 @@
|
|
|
583
583
|
"WithLineNumbers",
|
|
584
584
|
"WithMaxHeight",
|
|
585
585
|
"WithoutCopyButton",
|
|
586
|
+
"HeaderColors",
|
|
586
587
|
"PlainText",
|
|
587
588
|
"HtmlWithLineNumbers",
|
|
588
589
|
"Streaming"
|