opus-react 0.6.30 → 0.6.31
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/CHANGELOG.md +10 -0
- package/dist/index.cjs +181 -178
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +9 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +181 -178
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3458,14 +3458,16 @@ declare function useHotkeyManager(): HotkeyManagerContextValue;
|
|
|
3458
3458
|
|
|
3459
3459
|
type CopyButtonProps = {
|
|
3460
3460
|
children?: ReactNode;
|
|
3461
|
+
className?: string;
|
|
3461
3462
|
copiedLabel?: string;
|
|
3462
3463
|
label?: string;
|
|
3463
3464
|
resetMs?: number;
|
|
3465
|
+
size?: InputControlSize;
|
|
3464
3466
|
value: string;
|
|
3465
3467
|
variant?: ButtonVariant;
|
|
3466
3468
|
onCopied?: () => void;
|
|
3467
3469
|
};
|
|
3468
|
-
declare function CopyButton({ children, copiedLabel, label, resetMs, value, variant, onCopied, }: CopyButtonProps): react.JSX.Element;
|
|
3470
|
+
declare function CopyButton({ children, className, copiedLabel, label, resetMs, size, value, variant, onCopied, }: CopyButtonProps): react.JSX.Element;
|
|
3469
3471
|
|
|
3470
3472
|
type ClipboardContextValue = {
|
|
3471
3473
|
lastCopied: string | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -3458,14 +3458,16 @@ declare function useHotkeyManager(): HotkeyManagerContextValue;
|
|
|
3458
3458
|
|
|
3459
3459
|
type CopyButtonProps = {
|
|
3460
3460
|
children?: ReactNode;
|
|
3461
|
+
className?: string;
|
|
3461
3462
|
copiedLabel?: string;
|
|
3462
3463
|
label?: string;
|
|
3463
3464
|
resetMs?: number;
|
|
3465
|
+
size?: InputControlSize;
|
|
3464
3466
|
value: string;
|
|
3465
3467
|
variant?: ButtonVariant;
|
|
3466
3468
|
onCopied?: () => void;
|
|
3467
3469
|
};
|
|
3468
|
-
declare function CopyButton({ children, copiedLabel, label, resetMs, value, variant, onCopied, }: CopyButtonProps): react.JSX.Element;
|
|
3470
|
+
declare function CopyButton({ children, className, copiedLabel, label, resetMs, size, value, variant, onCopied, }: CopyButtonProps): react.JSX.Element;
|
|
3469
3471
|
|
|
3470
3472
|
type ClipboardContextValue = {
|
|
3471
3473
|
lastCopied: string | null;
|