lucent-ui 0.34.0 → 0.35.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/index.cjs +31 -31
- package/dist/index.d.ts +5 -1
- package/dist/index.js +929 -913
- package/dist-cli/cli/entry.js +0 -0
- package/dist-cli/cli/index.js +0 -0
- package/dist-server/server/index.js +0 -0
- package/dist-server/src/components/atoms/CodeBlock/CodeBlock.manifest.js +14 -0
- package/package.json +13 -15
- package/dist-server/server/recipe-registry.js +0 -18
- package/dist-server/src/manifest/recipes/action-bar.recipe.js +0 -91
- package/dist-server/src/manifest/recipes/collapsible-card.recipe.js +0 -100
- package/dist-server/src/manifest/recipes/empty-state-card.recipe.js +0 -72
- package/dist-server/src/manifest/recipes/form-layout.recipe.js +0 -98
- package/dist-server/src/manifest/recipes/index.js +0 -8
- package/dist-server/src/manifest/recipes/profile-card.recipe.js +0 -101
- package/dist-server/src/manifest/recipes/search-filter-bar.recipe.js +0 -122
- package/dist-server/src/manifest/recipes/settings-panel.recipe.js +0 -167
- package/dist-server/src/manifest/recipes/stats-row.recipe.js +0 -106
- package/dist-server/src/manifest/validate.test.js +0 -28
package/dist/index.d.ts
CHANGED
|
@@ -322,7 +322,7 @@ export declare type ChipSize = 'sm' | 'md' | 'lg';
|
|
|
322
322
|
|
|
323
323
|
export declare type ChipVariant = 'neutral' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
|
|
324
324
|
|
|
325
|
-
export declare function CodeBlock({ code, language, tabs, variant, helperText, showCopyButton, style, }: CodeBlockProps): JSX_2.Element;
|
|
325
|
+
export declare function CodeBlock({ code, language, tabs, variant, wrap, minimal, helperText, showCopyButton, style, }: CodeBlockProps): JSX_2.Element;
|
|
326
326
|
|
|
327
327
|
export declare const CodeBlockManifest: ComponentManifest;
|
|
328
328
|
|
|
@@ -339,6 +339,10 @@ export declare interface CodeBlockProps {
|
|
|
339
339
|
* always copied even when visually truncated.
|
|
340
340
|
*/
|
|
341
341
|
variant?: CodeBlockVariant;
|
|
342
|
+
/** When true, wraps long lines instead of scrolling horizontally. Defaults to false. */
|
|
343
|
+
wrap?: boolean;
|
|
344
|
+
/** When true, hides the header bar and shows only a corner copy button. */
|
|
345
|
+
minimal?: boolean;
|
|
342
346
|
/** Optional descriptive text rendered between the tab bar and the code area */
|
|
343
347
|
helperText?: string;
|
|
344
348
|
showCopyButton?: boolean;
|