@vacano/ui 1.2.1 → 1.3.0
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.cjs +310 -272
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1552 -1393
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -398,6 +398,26 @@ export declare type MultiSelectProps = VacanoComponentProps<HTMLDivElement, Mult
|
|
|
398
398
|
|
|
399
399
|
export declare type MultiSelectVariant = 'normal' | 'error';
|
|
400
400
|
|
|
401
|
+
export declare const OtpCode: ({ className, classnames, disabled, label, length, onChange, ref, size, value, variant, ...rest }: OtpCodeProps) => JSX.Element;
|
|
402
|
+
|
|
403
|
+
export declare type OtpCodeClassNames = {
|
|
404
|
+
container?: string;
|
|
405
|
+
input?: string;
|
|
406
|
+
label?: string;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
export declare type OtpCodeProps = VacanoComponentProps<HTMLDivElement, OtpCodeClassNames> & {
|
|
410
|
+
disabled?: boolean;
|
|
411
|
+
label?: string;
|
|
412
|
+
length?: number;
|
|
413
|
+
onChange?: (value: string) => void;
|
|
414
|
+
size?: VacanoComponentSize;
|
|
415
|
+
value?: string;
|
|
416
|
+
variant?: OtpCodeVariant;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
export declare type OtpCodeVariant = 'normal' | 'error';
|
|
420
|
+
|
|
401
421
|
export declare const Panel: ({ children, className, classnames, description, ref, title, variant, ...rest }: PanelProps) => JSX.Element;
|
|
402
422
|
|
|
403
423
|
export declare type PanelClassNames = {
|