@zuzjs/ui 1.0.39 → 1.0.40

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.cts CHANGED
@@ -593,9 +593,13 @@ declare const CheckBox: react.ForwardRefExoticComponent<ZuzProps & Omit<Omit<rea
593
593
  interface CodeBlockProps extends ZuzProps {
594
594
  ref?: Ref<HTMLPreElement>;
595
595
  code: string;
596
- lang?: 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
596
+ lang?: `plain` | 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
597
  showLines?: boolean;
598
598
  highlight?: string;
599
+ copy?: {
600
+ onCopy?: () => void;
601
+ icon?: string;
602
+ };
599
603
  }
600
604
 
601
605
  declare const CodeBlock: ({ ref, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -593,9 +593,13 @@ declare const CheckBox: react.ForwardRefExoticComponent<ZuzProps & Omit<Omit<rea
593
593
  interface CodeBlockProps extends ZuzProps {
594
594
  ref?: Ref<HTMLPreElement>;
595
595
  code: string;
596
- lang?: 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
596
+ lang?: `plain` | 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
597
  showLines?: boolean;
598
598
  highlight?: string;
599
+ copy?: {
600
+ onCopy?: () => void;
601
+ icon?: string;
602
+ };
599
603
  }
600
604
 
601
605
  declare const CodeBlock: ({ ref, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;