@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/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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +7 -7
- package/package.json +2 -2
- /package/dist/{chunk-INXULMNL.cjs → chunk-J2S2ZRXO.cjs} +0 -0
- /package/dist/{chunk-HEX5DKPA.js → chunk-UR6Q6HED.js} +0 -0
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;
|