@vacano/ui 1.4.1 → 1.4.3
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 +234 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +1280 -1230
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -518,6 +519,19 @@ export declare type RadioProps = VacanoComponentProps<HTMLInputElement, RadioCla
|
|
|
518
519
|
|
|
519
520
|
export declare type RadioVariant = 'normal' | 'error';
|
|
520
521
|
|
|
522
|
+
export declare type SaveProgressContextValue = {
|
|
523
|
+
isVisible: boolean;
|
|
524
|
+
show: (message?: string) => void;
|
|
525
|
+
hide: () => void;
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
export declare const SaveProgressProvider: ({ children, defaultMessage, }: SaveProgressProviderProps) => JSX.Element;
|
|
529
|
+
|
|
530
|
+
export declare type SaveProgressProviderProps = {
|
|
531
|
+
children: React.ReactNode;
|
|
532
|
+
defaultMessage?: string;
|
|
533
|
+
};
|
|
534
|
+
|
|
521
535
|
export declare const Select: ({ className, classnames, disabled, fullWidth, label, onChange, options, placeholder, portalRenderNode, ref, size, value, variant, ...rest }: SelectProps) => JSX.Element;
|
|
522
536
|
|
|
523
537
|
export declare type SelectClassNames = {
|
|
@@ -734,6 +748,8 @@ export declare type UseImageCropperReturn = {
|
|
|
734
748
|
open: () => void;
|
|
735
749
|
};
|
|
736
750
|
|
|
751
|
+
export declare const useSaveProgress: () => SaveProgressContextValue;
|
|
752
|
+
|
|
737
753
|
export declare const useToast: () => ToastContextValue;
|
|
738
754
|
|
|
739
755
|
declare type VacanoComponentClassNames<T> = T;
|