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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lawgic-dev-kit",
3
- "version": "0.14.5",
3
+ "version": "0.14.7",
4
4
  "description": "Componentes de UI para Lawgic",
5
5
  "type": "module",
6
6
  "private": false,
@@ -1,6 +0,0 @@
1
- import { ModalProps } from "../../../types";
2
- export interface CenterModalProps extends ModalProps {
3
- title?: string;
4
- children: React.ReactNode | ((onClose: () => void) => React.ReactNode);
5
- className?: string;
6
- }
@@ -1,5 +0,0 @@
1
- import '../index.css';
2
- declare const LaboratoryLayout: ({ children }: {
3
- children: React.ReactNode;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default LaboratoryLayout;