lawgic-dev-kit 0.14.5 → 0.14.7
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/components/atoms/LoadingProgress/LoadingProgress.d.ts +12 -0
- package/dist/components/atoms/LoadingProgress/LoadingProgress.js +71 -0
- package/dist/components/atoms/LoadingProgress/index.d.ts +1 -0
- package/dist/components/atoms/UploadContainer/UploadContainer.js +79 -51
- package/dist/components/atoms/UploadContainer/UploadContainer.types.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +1 -0
- package/dist/index.js +65 -63
- package/dist/lawgic-dev-kit.css +1 -1
- package/dist/lawgic-dev-kit.umd.js +40 -40
- package/dist/src/components/atoms/LoadingProgress/LoadingProgress.d.ts +12 -0
- package/dist/src/components/atoms/LoadingProgress/index.d.ts +1 -0
- package/dist/src/components/atoms/UploadContainer/UploadContainer.types.d.ts +34 -0
- package/dist/src/components/atoms/index.d.ts +35 -0
- package/package.json +1 -1
- package/dist/src/components/atoms/CenterModal/CenterModal.types.d.ts +0 -6
- package/dist/src/lab/LaboratoryLayout.d.ts +0 -5
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface LoadingProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
size?: number;
|
|
4
|
+
strokeWidth?: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
duration?: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
initialProgress?: number;
|
|
9
|
+
automaticProgress?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const LoadingProgress: React.FC<LoadingProgressProps>;
|
|
12
|
+
export default LoadingProgress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LoadingProgress } from './LoadingProgress';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface UploadContainerProps {
|
|
2
|
+
/**
|
|
3
|
+
* Título que se muestra en el área de carga
|
|
4
|
+
* @default 'drag_and_drop_your_files_here'
|
|
5
|
+
*/
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Subtítulo opcional para mostrar información adicional
|
|
9
|
+
* @default null
|
|
10
|
+
*/
|
|
11
|
+
subtitle?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Texto del botón de selección de archivos
|
|
14
|
+
* @default 'choose_files'
|
|
15
|
+
*/
|
|
16
|
+
buttonTitle?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Función que se ejecuta cuando se cargan archivos válidos
|
|
19
|
+
* @param files Array de objetos File seleccionados
|
|
20
|
+
*/
|
|
21
|
+
onUpload?: (files: File[]) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Lista de extensiones de archivo permitidas
|
|
24
|
+
* @default ['pdf', 'png', 'jpg', 'jpeg', 'svg', 'docx', 'doc', 'xls', 'xlsx']
|
|
25
|
+
*/
|
|
26
|
+
acceptedExtensions?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Tamaño máximo de archivo en KB
|
|
29
|
+
* @default 1024
|
|
30
|
+
*/
|
|
31
|
+
maxSize?: number;
|
|
32
|
+
loading?: boolean;
|
|
33
|
+
loadingDuration: number;
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export * from "./ActionButton/index";
|
|
2
|
+
export * from "./ActionButton/index";
|
|
3
|
+
export * from "./AsyncToast/index";
|
|
4
|
+
export * from "./Avatar/index";
|
|
5
|
+
export * from "./BoxContainer/index";
|
|
6
|
+
export * from "./Button/index";
|
|
7
|
+
export * from "./CenterModal/index";
|
|
8
|
+
export * from "./Checkbox/index";
|
|
9
|
+
export * from "./CountryInput/index";
|
|
10
|
+
export * from "./CountryLabel/index";
|
|
11
|
+
export * from "./CountrySelectInput/index";
|
|
12
|
+
export * from "./Divider/index";
|
|
13
|
+
export * from "./IconButton/index";
|
|
14
|
+
export * from "./ImageProfileInput/index";
|
|
15
|
+
export * from "./IndexedStep/index";
|
|
16
|
+
export * from "./InfoCard/index";
|
|
17
|
+
export * from "./InformationDisclaimer/index";
|
|
18
|
+
export * from "./LoadingSpinner/index";
|
|
19
|
+
export * from "./PasswordInput/index";
|
|
20
|
+
export * from "./PhoneInput/index";
|
|
21
|
+
export * from "./ProgressBar/index";
|
|
22
|
+
export * from "./SearchBar/index";
|
|
23
|
+
export * from "./SectionButton/index";
|
|
24
|
+
export * from "./SelectInput/index";
|
|
25
|
+
export * from "./SidebarButton/index";
|
|
26
|
+
export * from "./Tab/index";
|
|
27
|
+
export * from "./TextButton/index";
|
|
28
|
+
export * from "./TextInput/index";
|
|
29
|
+
export * from "./TextStaticInput/index";
|
|
30
|
+
export * from "./Toast/index";
|
|
31
|
+
export * from "./UncontrolledSelector/index";
|
|
32
|
+
export * from "./UncontrolledTextInput/index";
|
|
33
|
+
export * from "./UploadContainer/index";
|
|
34
|
+
export * from "./Tooltip/index";
|
|
35
|
+
export * from "./LoadingProgress/index";
|
package/package.json
CHANGED