lawgic-dev-kit 0.15.6 → 0.15.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/_virtual/index2.js +3 -2
- package/dist/_virtual/index3.js +3 -3
- package/dist/_virtual/index4.js +5 -3
- package/dist/_virtual/index5.js +2 -5
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/components/atoms/UploadContainer/UploadContainer.js +52 -57
- package/dist/lawgic-dev-kit.umd.js +38 -38
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/toposort/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +3 -3
- package/package.json +1 -1
- package/dist/src/components/atoms/UploadContainer/UploadContainer.types.d.ts +0 -35
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as r } from "../../_virtual/
|
|
1
|
+
import { __module as r } from "../../_virtual/index5.js";
|
|
2
2
|
import { __require as s } from "./node_modules/react-is/index.js";
|
|
3
3
|
import { __require as t } from "./factoryWithTypeCheckers.js";
|
|
4
4
|
import { __require as p } from "./factoryWithThrowingShims.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as e } from "../../../../_virtual/
|
|
1
|
+
import { __module as e } from "../../../../_virtual/index7.js";
|
|
2
2
|
import { __require as o } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as t } from "./cjs/react-is.development.js";
|
|
4
4
|
var r;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as v } from "../../_virtual/
|
|
2
|
-
import { t as U } from "../../_virtual/
|
|
3
|
-
import oe from "../../_virtual/
|
|
1
|
+
import { p as v } from "../../_virtual/index2.js";
|
|
2
|
+
import { t as U } from "../../_virtual/index3.js";
|
|
3
|
+
import oe from "../../_virtual/index4.js";
|
|
4
4
|
const ce = Object.prototype.toString, he = Error.prototype.toString, fe = RegExp.prototype.toString, de = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", pe = /^Symbol\((.*)\)(.*)$/;
|
|
5
5
|
function me(n) {
|
|
6
6
|
return n != +n ? "NaN" : n === 0 && 1 / n < 0 ? "-0" : "" + n;
|
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
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
|
-
className?: string;
|
|
35
|
-
}
|