@vacano/ui 1.4.0 → 1.4.2

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.ts CHANGED
@@ -96,7 +96,7 @@ export declare type CheckboxProps = VacanoComponentProps<HTMLInputElement, Check
96
96
  checked: boolean;
97
97
  onChange: ChangeEventHandler<HTMLInputElement>;
98
98
  indeterminate?: boolean;
99
- label?: string;
99
+ label?: ReactNode;
100
100
  variant?: CheckboxVariant;
101
101
  };
102
102
 
@@ -407,7 +407,7 @@ export declare type MultiSelectProps = VacanoComponentProps<HTMLDivElement, Mult
407
407
 
408
408
  export declare type MultiSelectVariant = 'normal' | 'error';
409
409
 
410
- export declare const OtpCode: ({ className, classnames, disabled, label, length, onChange, ref, size, value, variant, ...rest }: OtpCodeProps) => JSX.Element;
410
+ export declare const OtpCode: ({ autoFocus, className, classnames, disabled, label, length, onChange, ref, size, value, variant, ...rest }: OtpCodeProps) => JSX.Element;
411
411
 
412
412
  export declare type OtpCodeClassNames = {
413
413
  container?: string;
@@ -416,6 +416,7 @@ export declare type OtpCodeClassNames = {
416
416
  };
417
417
 
418
418
  export declare type OtpCodeProps = VacanoComponentProps<HTMLDivElement, OtpCodeClassNames> & {
419
+ autoFocus?: boolean;
419
420
  disabled?: boolean;
420
421
  label?: string;
421
422
  length?: number;
@@ -512,7 +513,7 @@ export declare type RadioGroupProps = VacanoComponentProps<HTMLDivElement, Radio
512
513
  export declare type RadioProps = VacanoComponentProps<HTMLInputElement, RadioClassNames> & Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'onChange' | 'className'> & {
513
514
  checked: boolean;
514
515
  onChange: ChangeEventHandler<HTMLInputElement>;
515
- label?: string;
516
+ label?: ReactNode;
516
517
  variant?: RadioVariant;
517
518
  };
518
519