@vacano/ui 1.4.2 → 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.d.ts CHANGED
@@ -519,6 +519,19 @@ export declare type RadioProps = VacanoComponentProps<HTMLInputElement, RadioCla
519
519
 
520
520
  export declare type RadioVariant = 'normal' | 'error';
521
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
+
522
535
  export declare const Select: ({ className, classnames, disabled, fullWidth, label, onChange, options, placeholder, portalRenderNode, ref, size, value, variant, ...rest }: SelectProps) => JSX.Element;
523
536
 
524
537
  export declare type SelectClassNames = {
@@ -735,6 +748,8 @@ export declare type UseImageCropperReturn = {
735
748
  open: () => void;
736
749
  };
737
750
 
751
+ export declare const useSaveProgress: () => SaveProgressContextValue;
752
+
738
753
  export declare const useToast: () => ToastContextValue;
739
754
 
740
755
  declare type VacanoComponentClassNames<T> = T;