@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/bin.cjs +4 -4
- package/dist/bin.js +1 -1
- package/dist/css/styles.css +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +7 -7
- package/package.json +2 -2
- /package/dist/{chunk-HEX5DKPA.js → chunk-NG5H4LFA.js} +0 -0
- /package/dist/{chunk-INXULMNL.cjs → chunk-XKEI337X.cjs} +0 -0
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;
|