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.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;