componentes-sinco 1.0.11 → 1.0.12
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -381,7 +381,7 @@ var Adjuntar = ({
|
|
|
381
381
|
justifyContent: compact ? "space-between" : "center",
|
|
382
382
|
gap: 1
|
|
383
383
|
},
|
|
384
|
-
/* @__PURE__ */ React2.createElement(Stack2, { flexDirection: "column", alignItems: compact ? "start" : "center", gap: 0.5 }, /* @__PURE__ */ React2.createElement(Typography2, { variant: "body2", color: "text.primary" }, "Arrastrar o adjuntar archivos"), /* @__PURE__ */ React2.createElement(Typography2, { variant: "caption", color: error ? "error" : "text.secondary" }, error ? "DOCX, XML, PNG, JPG \u2022 Archivo no soportado
|
|
384
|
+
/* @__PURE__ */ React2.createElement(Stack2, { flexDirection: "column", alignItems: compact ? "start" : "center", gap: 0.5 }, /* @__PURE__ */ React2.createElement(Typography2, { variant: "body2", color: "text.primary" }, "Arrastrar o adjuntar archivos"), /* @__PURE__ */ React2.createElement(Typography2, { variant: "caption", color: error ? "error" : "text.secondary" }, error ? `${fileAccepted || "DOCX, XML, PNG, JPG"} \u2022 Archivo no soportado` : `${fileAccepted || "DOCX, XML, PNG, JPG"} \u2022 Max. ${maxSize}MB`)),
|
|
385
385
|
/* @__PURE__ */ React2.createElement(
|
|
386
386
|
Button2,
|
|
387
387
|
{
|
|
@@ -423,7 +423,7 @@ var Adjuntar = ({
|
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
},
|
|
426
|
-
/* @__PURE__ */ React2.createElement(Stack2, { direction: "row", alignItems: "center", gap: 1, width: "100%" }, /* @__PURE__ */ React2.createElement(UploadFileOutlined, { color: file.uploadError ? "error" : "primary", fontSize: "small" }), /* @__PURE__ */ React2.createElement(Stack2, { width: "100%" }, /* @__PURE__ */ React2.createElement(Typography2, { variant: "body2", color: "text.primary" }, file.name), /* @__PURE__ */ React2.createElement(Typography2, { variant: "caption", color: file.uploadError ? "error" : "text.secondary" }, file.uploadError ? "Archivo
|
|
426
|
+
/* @__PURE__ */ React2.createElement(Stack2, { direction: "row", alignItems: "center", gap: 1, width: "100%" }, /* @__PURE__ */ React2.createElement(UploadFileOutlined, { color: file.uploadError ? "error" : "primary", fontSize: "small" }), /* @__PURE__ */ React2.createElement(Stack2, { width: "100%" }, /* @__PURE__ */ React2.createElement(Typography2, { variant: "body2", color: "text.primary" }, file.name), /* @__PURE__ */ React2.createElement(Typography2, { variant: "caption", color: file.uploadError ? "error" : "text.secondary" }, file.uploadError && file.size / (1024 * 1024) > maxSize ? "Archivo super\xF3 el l\xEDmite \u2022 Carga fallida" : file.uploadError ? "Archivo duplicado o inv\xE1lido \u2022 Carga fallida" : `${(file.size / (1024 * 1024)).toFixed(2)}MB \u2022 ${file.type} \u2022 carga ${file.progress}%`), file.progress === 100 && !file.uploadError ? null : /* @__PURE__ */ React2.createElement(
|
|
427
427
|
LinearProgress2,
|
|
428
428
|
{
|
|
429
429
|
variant: "determinate",
|