@zuzjs/ui 1.0.39 → 1.0.41

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
@@ -215,6 +215,7 @@ interface ZuzProps {
215
215
  /** Makes Component Draggable */
216
216
  draggable?: boolean;
217
217
  dragOptions?: DragOptions;
218
+ busy?: boolean;
218
219
  }
219
220
  interface BoxProps extends Partial<Props<`div`>> {
220
221
  name?: string;
@@ -593,9 +594,13 @@ declare const CheckBox: react.ForwardRefExoticComponent<ZuzProps & Omit<Omit<rea
593
594
  interface CodeBlockProps extends ZuzProps {
594
595
  ref?: Ref<HTMLPreElement>;
595
596
  code: string;
596
- lang?: 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
+ lang?: `plain` | 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
598
  showLines?: boolean;
598
599
  highlight?: string;
600
+ copy?: {
601
+ onCopy?: () => void;
602
+ icon?: string;
603
+ };
599
604
  }
600
605
 
601
606
  declare const CodeBlock: ({ ref, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -215,6 +215,7 @@ interface ZuzProps {
215
215
  /** Makes Component Draggable */
216
216
  draggable?: boolean;
217
217
  dragOptions?: DragOptions;
218
+ busy?: boolean;
218
219
  }
219
220
  interface BoxProps extends Partial<Props<`div`>> {
220
221
  name?: string;
@@ -593,9 +594,13 @@ declare const CheckBox: react.ForwardRefExoticComponent<ZuzProps & Omit<Omit<rea
593
594
  interface CodeBlockProps extends ZuzProps {
594
595
  ref?: Ref<HTMLPreElement>;
595
596
  code: string;
596
- lang?: 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
+ lang?: `plain` | 'typescript' | 'javascript' | 'tsx' | 'css' | 'json';
597
598
  showLines?: boolean;
598
599
  highlight?: string;
600
+ copy?: {
601
+ onCopy?: () => void;
602
+ icon?: string;
603
+ };
599
604
  }
600
605
 
601
606
  declare const CodeBlock: ({ ref, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;