corekit-ui 0.1.27 → 0.1.29
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 +7 -2
- package/dist/index.js +9714 -6723
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +659 -6
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -3639,7 +3639,7 @@ export declare type SelectStringProps = BaseSelectProps<string> & WrapperProps &
|
|
|
3639
3639
|
|
|
3640
3640
|
export declare const Signature: ForwardRefExoticComponent<SignatureProps & RefAttributes<SignatureRef>>;
|
|
3641
3641
|
|
|
3642
|
-
declare type SignatureProps = {
|
|
3642
|
+
export declare type SignatureProps = {
|
|
3643
3643
|
isOpen?: boolean;
|
|
3644
3644
|
firmaInicial?: string | null;
|
|
3645
3645
|
closeOnBackdropClick?: boolean;
|
|
@@ -3670,9 +3670,14 @@ declare type SignatureProps = {
|
|
|
3670
3670
|
mostrarBotonSubir?: boolean;
|
|
3671
3671
|
mostrarBotonAgregarFirma?: boolean;
|
|
3672
3672
|
mostrarBotonEliminarFirma?: boolean;
|
|
3673
|
+
firebasePath?: string;
|
|
3674
|
+
/** Callback opcional ejecutado tras una subida exitosa a Firebase */
|
|
3675
|
+
onFirebaseUploadSuccess?: (downloadURL: string) => void;
|
|
3676
|
+
/** Callback opcional ejecutado si la subida a Firebase falla */
|
|
3677
|
+
onFirebaseUploadError?: (error: Error) => void;
|
|
3673
3678
|
};
|
|
3674
3679
|
|
|
3675
|
-
declare type SignatureRef = {
|
|
3680
|
+
export declare type SignatureRef = {
|
|
3676
3681
|
limpiar: () => void;
|
|
3677
3682
|
obtenerDatosFirma: (opciones?: {
|
|
3678
3683
|
backgroundColor?: string;
|