bmi-next-brokers 1.1.7 → 1.1.9

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.
@@ -1 +1 @@
1
- ._inputContainer_ta4er_1{display:flex;flex-direction:column;gap:4px;width:fit-content}._compactFileUploadContainer_ta4er_8{background:var(--Fill-Brand-Default-Hover, #EEF3FC);border-radius:12px;transition:background-color .3s ease,border-color .3s ease;position:relative;cursor:pointer;display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:415px;height:62px}._compactFileUploadContainer_ta4er_8:hover{background:var(--Fill-Info-Inverted-Hover, #E0E9F8)}._compactFileUploadContainer_ta4er_8._dragOver_ta4er_26{border-color:var(--Fill-Brand-Default-Active, #2054A5);background:var(--Fill-Brand-Default-Hover, #EEF3FC)}._variant_document_ta4er_32 ._icon_ta4er_32{color:var(--Content-Neutral-Primary, #475569)}._variant_add_ta4er_36 ._icon_ta4er_32{color:var(--Fill-Brand-Default-Active, #2054A5)}._compactFileUploadContainer_ta4er_8._disabled_ta4er_41{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);cursor:not-allowed}._compactFileUploadContainer_ta4er_8._disabled_ta4er_41:hover{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc)}._compactFileUploadContainer_ta4er_8._error_ta4er_52{background:var(--Fill-Brand-Default-Hover, #EEF3FC)}._compactFileUploadContainer_ta4er_8._error_ta4er_52:hover{background:var(--Fill-Info-Inverted-Hover, #E0E9F8)}._compactFileUploadContainer_ta4er_8._success_ta4er_60{background:var(--Fill-Brand-Default-Hover, #EEF3FC)}._compactFileUploadContainer_ta4er_8._success_ta4er_60:hover{background:var(--Fill-Info-Inverted-Hover, #E0E9F8)}._compactFileUploadContainer_ta4er_8._loading_ta4er_68{background:var(--Fill-Brand-Default-Hover, #EEF3FC)}._compactFileUploadContainer_ta4er_8._loading_ta4er_68:hover{background:var(--Fill-Info-Inverted-Hover, #E0E9F8)}._compactFileUploadContainer_ta4er_8._inverted_ta4er_77{border-color:var(--Stroke-Neutral-Secondary, #c9e1f6);background:transparent}._compactFileUploadContainer_ta4er_8._inverted_ta4er_77:hover{border-color:var(--Stroke-Neutral-Primary, #E0E9F8);background:#ffffff1a}._compactFileUploadContainer_ta4er_8._inverted_ta4er_77._dragOver_ta4er_26{border-color:var(--Fill-Brand-Inverted-Active, #FFF);background:#fff3}._compactFileUploadContainer_ta4er_8._inverted_ta4er_77._disabled_ta4er_41{border-color:var(--Stroke-Disabled-Default, #1b468a);background:transparent}._compactFileUploadContainer_ta4er_8._inverted_ta4er_77._error_ta4er_52{background:transparent}._uploadContent_ta4er_102{display:flex;padding:12px;gap:8px;z-index:100;height:100%;position:relative;transition:all .3s ease}._textContent_ta4er_112{text-align:center;display:flex;flex-direction:row;gap:8px;align-items:center;height:100%}._dragText_ta4er_121{font-family:Poppins Bold;font-size:12px;color:var(--Content-Brand-Default-Active, #2054A5)}._disabled_ta4er_41 ._dragText_ta4er_121{color:var(--content-disabled-default, #cbd5e1)}._inverted_ta4er_77 ._dragText_ta4er_121{color:#fffc}._inverted_ta4er_77._disabled_ta4er_41 ._dragText_ta4er_121{color:var(--content-disabled-default, #4f88d9)}._inverted_ta4er_77 ._variant_document_ta4er_32 ._icon_ta4er_32,._inverted_ta4er_77 ._variant_add_ta4er_36 ._icon_ta4er_32{color:#fff}._inverted_ta4er_77._disabled_ta4er_41 ._icon_ta4er_32{color:var(--content-disabled-default, #4f88d9)}._hiddenInput_ta4er_151{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._compactFileContent_ta4er_164{display:flex;align-items:center;gap:12px;width:100%;height:100%}._compactFileIcon_ta4er_172{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-top:0}._compactIconBackground_ta4er_182{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%}._compactFileContent_ta4er_164:not(:has(._compactErrorText_ta4er_191)):not(:has(._compactSuccessText_ta4er_191)):not(:has(._compactLabel_ta4er_191)) ._compactFileText_ta4er_191{justify-content:center}._compactFileText_ta4er_191{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}._compactFileName_ta4er_203{font-family:Poppins Medium;font-size:14px;color:var(--Content-Neutral-Default-Active, #475569);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactErrorText_ta4er_191{font-family:Poppins Regular;font-size:12px;color:var(--Content-Negative-Default-Active, #dc2626);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactSuccessText_ta4er_191{font-family:Poppins Regular;font-size:12px;color:var(--Content-Positive-Default-Active, #16a34a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactLabel_ta4er_191{font-family:Poppins Medium;font-size:15px;color:var(--Content-Neutral-Default-Active, #000);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._addIconWrapper_ta4er_239{border-radius:1000px;height:34px;width:34px}._compactVisibilityIcon_ta4er_245{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px;cursor:pointer;transition:background-color .2s ease}._compactVisibilityIcon_ta4er_245:hover{background:var(--Fill-Neutral-Secondary, #f1f5f9)}._compactActions_ta4er_261{display:flex;align-items:center;gap:8px;flex-shrink:0}._compactDeleteAction_ta4er_268{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;cursor:pointer;transition:background-color .2s ease;min-height:32px}._deleteText_ta4er_279{font-family:Poppins Regular;font-size:12px;color:var(--Content-Brand-Default-Active, #2054A5);white-space:nowrap}
1
+ ._inputContainer_10r2r_1{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}._compactFileUploadContainer_10r2r_9{background:var(--Fill-Brand-Default-Hover, #eef3fc);border-radius:12px;transition:background-color .3s ease,border-color .3s ease;position:relative;cursor:pointer;display:flex;flex-direction:column;justify-content:center;overflow:hidden;width:100%;max-width:415px;height:62px}._compactFileUploadContainer_10r2r_9._fullWidth_10r2r_26{max-width:100%}._compactFileUploadContainer_10r2r_9:hover{background:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_10r2r_9._dragOver_10r2r_34{border-color:var(--Fill-Brand-Default-Active, #2054a5);background:var(--Fill-Brand-Default-Hover, #eef3fc)}._variant_document_10r2r_40 ._icon_10r2r_40{color:var(--Content-Neutral-Primary, #475569)}._variant_add_10r2r_44 ._icon_10r2r_40{color:var(--Fill-Brand-Default-Active, #2054a5)}._compactFileUploadContainer_10r2r_9._disabled_10r2r_49{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc);cursor:not-allowed}._compactFileUploadContainer_10r2r_9._disabled_10r2r_49:hover{border-color:var(--Stroke-Disabled-Default, #cbd5e1);background:var(--Fill-Disabled-Default, #f8fafc)}._compactFileUploadContainer_10r2r_9._error_10r2r_60{background:var(--Fill-Brand-Default-Hover, #eef3fc)}._compactFileUploadContainer_10r2r_9._error_10r2r_60:hover{background:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_10r2r_9._success_10r2r_68{background:var(--Fill-Brand-Default-Hover, #eef3fc)}._compactFileUploadContainer_10r2r_9._success_10r2r_68:hover{background:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_10r2r_9._loading_10r2r_76{background:var(--Fill-Brand-Default-Hover, #eef3fc)}._compactFileUploadContainer_10r2r_9._loading_10r2r_76:hover{background:var(--Fill-Info-Inverted-Hover, #e0e9f8)}._compactFileUploadContainer_10r2r_9._inverted_10r2r_85{border-color:var(--Stroke-Neutral-Secondary, #c9e1f6);background:transparent}._compactFileUploadContainer_10r2r_9._inverted_10r2r_85:hover{border-color:var(--Stroke-Neutral-Primary, #e0e9f8);background:#ffffff1a}._compactFileUploadContainer_10r2r_9._inverted_10r2r_85._dragOver_10r2r_34{border-color:var(--Fill-Brand-Inverted-Active, #fff);background:#fff3}._compactFileUploadContainer_10r2r_9._inverted_10r2r_85._disabled_10r2r_49{border-color:var(--Stroke-Disabled-Default, #1b468a);background:transparent}._compactFileUploadContainer_10r2r_9._inverted_10r2r_85._error_10r2r_60{background:transparent}._uploadContent_10r2r_110{display:flex;padding:12px;gap:8px;z-index:100;height:100%;position:relative;transition:all .3s ease}._textContent_10r2r_120{text-align:center;display:flex;flex-direction:row;gap:8px;align-items:center;height:100%;min-width:0}._dragText_10r2r_130{font-family:Poppins Bold;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5)}._disabled_10r2r_49 ._dragText_10r2r_130{color:var(--content-disabled-default, #cbd5e1)}._inverted_10r2r_85 ._dragText_10r2r_130{color:#fffc}._inverted_10r2r_85._disabled_10r2r_49 ._dragText_10r2r_130{color:var(--content-disabled-default, #4f88d9)}._inverted_10r2r_85 ._variant_document_10r2r_40 ._icon_10r2r_40,._inverted_10r2r_85 ._variant_add_10r2r_44 ._icon_10r2r_40{color:#fff}._inverted_10r2r_85._disabled_10r2r_49 ._icon_10r2r_40{color:var(--content-disabled-default, #4f88d9)}._hiddenInput_10r2r_160{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._compactFileContent_10r2r_173{display:flex;align-items:center;gap:12px;width:100%;height:100%}._compactFileIcon_10r2r_181{flex-shrink:0;display:flex;align-items:center;justify-content:center;margin-top:0}._compactIconBackground_10r2r_189{display:flex;align-items:center;justify-content:center;padding:6px}._compactFileContent_10r2r_173:not(:has(._compactErrorText_10r2r_196)):not(:has(._compactSuccessText_10r2r_197)):not(:has(._compactLabel_10r2r_198)) ._compactFileText_10r2r_199{justify-content:center}._compactFileText_10r2r_199{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}._compactFileName_10r2r_211{color:var(--Content-Neutral-Default-Hover, #525252);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactErrorText_10r2r_196{font-family:Poppins Regular;font-size:12px;color:var(--Content-Negative-Default-Active, #dc2626);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactSuccessText_10r2r_197{font-family:Poppins Regular;font-size:12px;color:var(--Content-Positive-Default-Active, #16a34a);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactLabel_10r2r_198{color:var(--Content-Neutral-Default-Active, #000);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._addIconWrapper_10r2r_243{border-radius:1000px;height:34px;width:34px}._browseText_10r2r_249{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._compactVisibilityIcon_10r2r_255{flex-shrink:0;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s ease}._compactActions_10r2r_264{display:flex;align-items:center;gap:8px;flex-shrink:0}._compactDeleteAction_10r2r_271{display:flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;cursor:pointer;transition:background-color .2s ease}._deleteText_10r2r_281{font-family:Poppins Regular;font-size:12px;color:var(--Content-Brand-Default-Active, #2054a5);white-space:nowrap}
@@ -1 +1 @@
1
- ._modalOverlay_1x735_1{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;justify-content:center;align-items:center;animation:_overlayFadeIn_1x735_1 .25s ease-in-out forwards;overflow:hidden}._modalOverlay_1x735_1._closing_1x735_15{animation:_overlayFadeOut_1x735_1 .25s ease-in-out forwards}@keyframes _overlayFadeIn_1x735_1{0%{opacity:0}to{opacity:1}}@keyframes _overlayFadeOut_1x735_1{0%{opacity:1}to{opacity:0}}._modal_1x735_1{display:flex;flex-direction:column;border-radius:24px;background-color:#fff;box-shadow:0 4px 6px #0000001a;max-height:calc(100dvh - 15px)}._modalHeader_1x735_47{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:8px}._modalTitle_1x735_55{color:var(--Blacks-Black, #000);font-size:20px;font-style:normal;font-weight:600;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._closeIcon_1x735_66{display:flex;flex-direction:column;border-radius:50%;background-color:#d9d9d9;align-items:center;justify-content:center;aspect-ratio:1/1;padding:6.2px;cursor:pointer;margin-left:auto}._modalBody_1x735_79{flex:1;overflow-y:auto;padding:0 16px 16px}._modalBody_1x735_79::-webkit-scrollbar{display:none}._modalFooter_1x735_89{display:grid;grid-template-columns:1fr 1fr;margin-left:auto;width:fit-content;gap:19px;padding-inline:16px;margin-block:16px}._modalFooter_1x735_89 :only-child{grid-column:2}
1
+ ._modalOverlay_1347c_1{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0009;display:flex;justify-content:center;align-items:center;animation:_overlayFadeIn_1347c_1 .25s ease-in-out forwards;overflow:hidden}._modalOverlay_1347c_1._closing_1347c_15{animation:_overlayFadeOut_1347c_1 .25s ease-in-out forwards}@keyframes _overlayFadeIn_1347c_1{0%{opacity:0}to{opacity:1}}@keyframes _overlayFadeOut_1347c_1{0%{opacity:1}to{opacity:0}}._modal_1347c_1{display:flex;flex-direction:column;border-radius:24px;background-color:#fff;box-shadow:0 4px 6px #0000001a;max-height:calc(100dvh - 15px);margin-inline:15px}._modalHeader_1347c_48{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:8px}._modalHeader_1347c_48._withBorder_1347c_56{border-bottom:1px solid var(--Blacks-Transparencias-Black-20, rgba(0, 0, 0, .2))}._modalTitle_1347c_61{color:var(--Blacks-Black, #000);font-size:20px;font-style:normal;font-weight:600;line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._closeIcon_1347c_72{display:flex;flex-direction:column;border-radius:50%;background-color:#d9d9d9;align-items:center;justify-content:center;aspect-ratio:1/1;padding:6.2px;cursor:pointer;margin-left:auto}._modalBody_1347c_85{display:flex;flex-direction:column;flex:1;padding:0 16px 16px}._modalBody_1347c_85::-webkit-scrollbar{display:none}._modalFooter_1347c_96._withBorder_1347c_56{border-top:1px solid var(--Blacks-Transparencias-Black-20, rgba(0, 0, 0, .2))}._buttonsDiv_1347c_101{display:grid;grid-template-columns:1fr 1fr;margin-left:auto;width:fit-content;gap:19px;padding-inline:16px;margin-block:16px}._buttonsDiv_1347c_101 :only-child{grid-column:2}
@@ -7,7 +7,7 @@ export interface IconConfig {
7
7
  name: IconName;
8
8
  position: "before" | "after";
9
9
  }
10
- export interface ButtonProps {
10
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
11
11
  children: React.ReactNode;
12
12
  variant?: ButtonVariant;
13
13
  size?: ButtonSize;
@@ -17,5 +17,7 @@ export interface CompactFileUploadProps {
17
17
  inspectFileFunction?: () => void;
18
18
  maxFileSize?: number;
19
19
  onFileSelect?: (files: FileList | null) => void;
20
+ statusIconBorderRadius?: string;
21
+ fullWidth?: boolean;
20
22
  }
21
23
  export declare const CompactFileUpload: React.FC<CompactFileUploadProps>;
@@ -1,122 +1,133 @@
1
- import { jsx as e, jsxs as _, Fragment as N } from "react/jsx-runtime";
2
- import { useState as D, useRef as j, useEffect as $ } from "react";
1
+ import { jsx as e, jsxs as _, Fragment as F } from "react/jsx-runtime";
2
+ import { useState as D, useRef as R, useEffect as z } from "react";
3
3
  import { Icon as u } from "../../icons/Icon.js";
4
- import { Spinner as z } from "../Spinner/Spinner.js";
5
- import '../../assets/CompactFileUpload.css';const R = "_inputContainer_ta4er_1", q = "_compactFileUploadContainer_ta4er_8", H = "_dragOver_ta4er_26", M = "_variant_document_ta4er_32", S = "_icon_ta4er_32", Y = "_variant_add_ta4er_36", G = "_disabled_ta4er_41", J = "_error_ta4er_52", K = "_success_ta4er_60", P = "_loading_ta4er_68", Q = "_inverted_ta4er_77", X = "_uploadContent_ta4er_102", Z = "_textContent_ta4er_112", tt = "_dragText_ta4er_121", et = "_hiddenInput_ta4er_151", nt = "_compactFileContent_ta4er_164", at = "_compactFileIcon_ta4er_172", ct = "_compactIconBackground_ta4er_182", ot = "_compactErrorText_ta4er_191", it = "_compactSuccessText_ta4er_191", rt = "_compactLabel_ta4er_191", lt = "_compactFileText_ta4er_191", st = "_compactFileName_ta4er_203", dt = "_addIconWrapper_ta4er_239", pt = "_compactVisibilityIcon_ta4er_245", mt = "_compactActions_ta4er_261", _t = "_compactDeleteAction_ta4er_268", ht = "_deleteText_ta4er_279", t = {
6
- inputContainer: R,
7
- compactFileUploadContainer: q,
8
- dragOver: H,
9
- variant_document: M,
10
- icon: S,
11
- variant_add: Y,
12
- disabled: G,
13
- error: J,
14
- success: K,
15
- loading: P,
16
- inverted: Q,
17
- uploadContent: X,
18
- textContent: Z,
19
- dragText: tt,
20
- hiddenInput: et,
21
- compactFileContent: nt,
22
- compactFileIcon: at,
23
- compactIconBackground: ct,
24
- compactErrorText: ot,
25
- compactSuccessText: it,
26
- compactLabel: rt,
27
- compactFileText: lt,
28
- compactFileName: st,
29
- addIconWrapper: dt,
30
- compactVisibilityIcon: pt,
31
- compactActions: mt,
32
- compactDeleteAction: _t,
33
- deleteText: ht
34
- }, xt = ({
4
+ import { Spinner as M } from "../Spinner/Spinner.js";
5
+ import '../../assets/CompactFileUpload.css';const q = "_inputContainer_10r2r_1", H = "_compactFileUploadContainer_10r2r_9", S = "_fullWidth_10r2r_26", Y = "_dragOver_10r2r_34", G = "_variant_document_10r2r_40", J = "_icon_10r2r_40", K = "_variant_add_10r2r_44", P = "_disabled_10r2r_49", Q = "_error_10r2r_60", X = "_success_10r2r_68", Z = "_loading_10r2r_76", tt = "_inverted_10r2r_85", et = "_uploadContent_10r2r_110", nt = "_textContent_10r2r_120", ct = "_dragText_10r2r_130", at = "_hiddenInput_10r2r_160", ot = "_compactFileContent_10r2r_173", rt = "_compactFileIcon_10r2r_181", it = "_compactIconBackground_10r2r_189", lt = "_compactErrorText_10r2r_196", st = "_compactSuccessText_10r2r_197", dt = "_compactLabel_10r2r_198", mt = "_compactFileText_10r2r_199", pt = "_compactFileName_10r2r_211", _t = "_addIconWrapper_10r2r_243", ht = "_browseText_10r2r_249", ut = "_compactVisibilityIcon_10r2r_255", ft = "_compactActions_10r2r_264", vt = "_compactDeleteAction_10r2r_271", Ct = "_deleteText_10r2r_281", t = {
6
+ inputContainer: q,
7
+ compactFileUploadContainer: H,
8
+ fullWidth: S,
9
+ dragOver: Y,
10
+ variant_document: G,
11
+ icon: J,
12
+ variant_add: K,
13
+ disabled: P,
14
+ error: Q,
15
+ success: X,
16
+ loading: Z,
17
+ inverted: tt,
18
+ uploadContent: et,
19
+ textContent: nt,
20
+ dragText: ct,
21
+ hiddenInput: at,
22
+ compactFileContent: ot,
23
+ compactFileIcon: rt,
24
+ compactIconBackground: it,
25
+ compactErrorText: lt,
26
+ compactSuccessText: st,
27
+ compactLabel: dt,
28
+ compactFileText: mt,
29
+ compactFileName: pt,
30
+ addIconWrapper: _t,
31
+ browseText: ht,
32
+ compactVisibilityIcon: ut,
33
+ compactActions: ft,
34
+ compactDeleteAction: vt,
35
+ deleteText: Ct
36
+ }, Dt = ({
35
37
  variant: T = "document",
36
38
  label: C,
37
- error: a,
38
- success: c,
39
+ error: c,
40
+ success: a,
39
41
  loading: o = !1,
40
42
  defaultFile: g = null,
41
43
  disabled: s = !1,
42
44
  inverted: A = !1,
43
- browseText: k = "Seleccionar archivo",
45
+ browseText: b = "Seleccionar archivo",
44
46
  allowedTypes: d,
45
47
  inspectFileFunction: y = () => {
46
- console.warn("No hay función asignada para ver el archivo. Hay que pasarla al componente como prop inspectFileFunction.");
48
+ console.warn(
49
+ "No hay función asignada para ver el archivo. Hay que pasarla al componente como prop inspectFileFunction."
50
+ );
47
51
  },
48
52
  maxFileSize: x,
49
- onFileSelect: p
53
+ onFileSelect: m,
54
+ statusIconBorderRadius: k = "50%",
55
+ fullWidth: w = !1
50
56
  }) => {
51
- const [b, f] = D(!1), [r, I] = D(g || null), h = j(null);
52
- $(() => {
53
- if (!r) return;
57
+ const [E, f] = D(!1), [i, I] = D(
58
+ g || null
59
+ ), h = R(null);
60
+ z(() => {
61
+ if (!i) return;
54
62
  const n = [];
55
- a && n.push("error"), c && n.push("success"), o && n.push("loading"), n.length > 1 && console.warn(
63
+ c && n.push("error"), a && n.push("success"), o && n.push("loading"), n.length > 1 && console.warn(
56
64
  `⚠️ CompactFileUpload: Múltiples estados detectados (${n.join(", ")}). Solo un estado debe estar activo a la vez.`
57
65
  );
58
- }, [a, c, o, r]);
59
- const E = (n) => {
66
+ }, [c, a, o, i]);
67
+ const W = (n) => {
60
68
  n.preventDefault(), s || f(!0);
61
- }, w = (n) => {
62
- n.preventDefault(), f(!1);
63
69
  }, L = (n) => {
64
- n.preventDefault();
70
+ n.preventDefault(), f(!1);
65
71
  }, O = (n) => {
72
+ n.preventDefault();
73
+ }, j = (n) => {
66
74
  if (n.preventDefault(), f(!1), s) return;
67
75
  const l = n.dataTransfer.files;
68
- F(l);
76
+ N(l);
69
77
  }, B = (n) => {
70
78
  const l = n.target.files;
71
- F(l);
72
- }, F = (n) => {
79
+ N(l);
80
+ }, N = (n) => {
73
81
  if (!n) return;
74
82
  if (d && d.length > 0)
75
- for (let i = 0; i < n.length; i++) {
76
- const m = n[i];
83
+ for (let r = 0; r < n.length; r++) {
84
+ const p = n[r];
77
85
  if (!d.some(
78
- (v) => v.startsWith(".") ? m.name.toLowerCase().endsWith(v.toLowerCase()) : m.type === v
86
+ (v) => v.startsWith(".") ? p.name.toLowerCase().endsWith(v.toLowerCase()) : p.type === v
79
87
  )) {
80
- console.warn(`File ${m.name} is not an allowed type`);
88
+ console.warn(`File ${p.name} is not an allowed type`);
81
89
  return;
82
90
  }
83
91
  }
84
92
  if (x)
85
- for (let i = 0; i < n.length; i++) {
86
- const m = n[i];
87
- if (m.size > x) {
88
- console.warn(`File ${m.name} exceeds maximum size`);
93
+ for (let r = 0; r < n.length; r++) {
94
+ const p = n[r];
95
+ if (p.size > x) {
96
+ console.warn(`File ${p.name} exceeds maximum size`);
89
97
  return;
90
98
  }
91
99
  }
92
100
  const l = n ? n[0] : null;
93
- I(l), p == null || p(l ? (() => {
94
- const i = new DataTransfer();
95
- return i.items.add(l), i.files;
96
- })() : null);
101
+ I(l), m == null || m(
102
+ l ? (() => {
103
+ const r = new DataTransfer();
104
+ return r.items.add(l), r.files;
105
+ })() : null
106
+ );
97
107
  }, V = () => {
98
108
  !s && h.current && h.current.click();
99
109
  }, U = () => {
100
- I(null), h.current && (h.current.value = ""), p == null || p(null);
101
- }, W = [
110
+ I(null), h.current && (h.current.value = ""), m == null || m(null);
111
+ }, $ = [
102
112
  t.compactFileUploadContainer,
113
+ w && t.fullWidth,
103
114
  t[`variant_${T}`],
104
- r && a ? t.error : "",
105
- r && !a && o ? t.loading : "",
106
- r && !a && !o && c ? t.success : "",
115
+ i && c ? t.error : "",
116
+ i && !c && o ? t.loading : "",
117
+ i && !c && !o && a ? t.success : "",
107
118
  s ? t.disabled : "",
108
119
  A ? t.inverted : "",
109
- b ? t.dragOver : ""
120
+ E ? t.dragOver : ""
110
121
  ].filter(Boolean).join(" ");
111
122
  return /* @__PURE__ */ e("div", { className: t.inputContainer, children: /* @__PURE__ */ _(
112
123
  "div",
113
124
  {
114
- className: W,
115
- onDragEnter: E,
116
- onDragLeave: w,
117
- onDragOver: L,
118
- onDrop: O,
119
- onClick: r ? () => {
125
+ className: $,
126
+ onDragEnter: W,
127
+ onDragLeave: L,
128
+ onDragOver: O,
129
+ onDrop: j,
130
+ onClick: i ? () => {
120
131
  } : V,
121
132
  style: { cursor: s ? "not-allowed" : "pointer" },
122
133
  children: [
@@ -131,61 +142,120 @@ import '../../assets/CompactFileUpload.css';const R = "_inputContainer_ta4er_1",
131
142
  accept: d == null ? void 0 : d.join(",")
132
143
  }
133
144
  ),
134
- /* @__PURE__ */ e("div", { className: t.uploadContent, children: r ? (
145
+ /* @__PURE__ */ e("div", { className: t.uploadContent, children: i ? (
135
146
  // Compact layout - simple text with left icon
136
147
  /* @__PURE__ */ _("div", { className: t.compactFileContent, children: [
137
- /* @__PURE__ */ e("div", { className: t.compactFileIcon, children: /* @__PURE__ */ e("div", { className: t.compactIconBackground, style: {
138
- background: a ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : "#2054A5"
139
- }, children: o ? /* @__PURE__ */ e("div", { style: { marginTop: "5px" }, children: /* @__PURE__ */ e(z, { size: 10, color: "primary", backgroundColor: "#A2BFEC", highlightColor: "#EEF3FC", thickness: 3 }) }) : /* @__PURE__ */ e("div", { style: { marginTop: "6px" }, children: /* @__PURE__ */ e(
140
- u,
148
+ /* @__PURE__ */ e("div", { className: t.compactFileIcon, children: /* @__PURE__ */ e(
149
+ "div",
141
150
  {
142
- name: a ? "CancelIcon" : c ? "CheckIcon" : "Documentos",
143
- fill: "white",
144
- height: 22,
145
- width: 22
151
+ className: t.compactIconBackground,
152
+ style: {
153
+ background: c ? "#DC2626" : o ? "#2054A5" : a ? "#65A30D" : "#2054A5",
154
+ borderRadius: k
155
+ },
156
+ children: o ? /* @__PURE__ */ e(
157
+ "div",
158
+ {
159
+ style: {
160
+ display: "flex",
161
+ justifyContent: "center",
162
+ alignItems: "center",
163
+ margin: "4px"
164
+ },
165
+ children: /* @__PURE__ */ e(
166
+ M,
167
+ {
168
+ size: 10,
169
+ color: "primary",
170
+ backgroundColor: "#A2BFEC",
171
+ highlightColor: "#EEF3FC",
172
+ thickness: 3
173
+ }
174
+ )
175
+ }
176
+ ) : /* @__PURE__ */ e(
177
+ "div",
178
+ {
179
+ style: {
180
+ display: "flex",
181
+ justifyContent: "center",
182
+ alignItems: "center"
183
+ },
184
+ children: /* @__PURE__ */ e(
185
+ u,
186
+ {
187
+ name: c ? "CancelIcon" : a ? "CheckIcon" : "Documentos",
188
+ fill: "white",
189
+ height: 24,
190
+ width: 24
191
+ }
192
+ )
193
+ }
194
+ )
146
195
  }
147
- ) }) }) }),
196
+ ) }),
148
197
  /* @__PURE__ */ _("div", { className: t.compactFileText, children: [
149
- !a && !o && !c && C && /* @__PURE__ */ e("span", { className: t.compactLabel, children: C }),
150
- /* @__PURE__ */ e("span", { className: t.compactFileName, children: r.name }),
151
- a && /* @__PURE__ */ e("span", { className: t.compactErrorText, children: a }),
152
- !o && c && /* @__PURE__ */ e("span", { className: t.compactSuccessText, children: c })
198
+ !c && !o && !a && C && /* @__PURE__ */ e("span", { className: `small1Medium ${t.compactLabel}`, children: C }),
199
+ /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactFileName}`, children: i.name }),
200
+ c && /* @__PURE__ */ e("span", { className: t.compactErrorText, children: c }),
201
+ !o && a && /* @__PURE__ */ e("span", { className: t.compactSuccessText, children: a })
153
202
  ] }),
154
203
  /* @__PURE__ */ _("div", { className: t.compactActions, children: [
155
- !a && !o && !c && /* @__PURE__ */ e("div", { className: t.compactVisibilityIcon, onClick: y, children: /* @__PURE__ */ e(
156
- u,
204
+ !c && !o && !a && /* @__PURE__ */ e(
205
+ "div",
157
206
  {
158
- name: "Visibility",
159
- fill: "#2054A5",
160
- height: 20,
161
- width: 20
207
+ className: t.compactVisibilityIcon,
208
+ onClick: y,
209
+ children: /* @__PURE__ */ e(
210
+ u,
211
+ {
212
+ name: "Visibility",
213
+ fill: "#2054A5",
214
+ height: 24,
215
+ width: 24
216
+ }
217
+ )
162
218
  }
163
- ) }),
164
- (a || c || o) && /* @__PURE__ */ e("div", { className: t.compactDeleteAction, onClick: U, children: a ? /* @__PURE__ */ e("span", { className: t.deleteText, children: "Eliminar" }) : c ? /* @__PURE__ */ e(
165
- u,
219
+ ),
220
+ (c || a || o) && /* @__PURE__ */ e(
221
+ "div",
166
222
  {
167
- name: "CancelIcon",
168
- fill: "#2054A5",
169
- height: 16,
170
- width: 16
223
+ className: t.compactDeleteAction,
224
+ onClick: U,
225
+ children: c ? /* @__PURE__ */ e("span", { className: t.deleteText, children: "Eliminar" }) : a ? /* @__PURE__ */ e(
226
+ u,
227
+ {
228
+ name: "CancelIcon",
229
+ fill: "#2054A5",
230
+ height: 16,
231
+ width: 16
232
+ }
233
+ ) : o ? /* @__PURE__ */ _(F, { children: [
234
+ /* @__PURE__ */ e(
235
+ u,
236
+ {
237
+ name: "CancelIcon",
238
+ fill: "#2054A5",
239
+ height: 16,
240
+ width: 16
241
+ }
242
+ ),
243
+ /* @__PURE__ */ e(
244
+ "span",
245
+ {
246
+ style: {
247
+ transform: "translateY(1px)"
248
+ },
249
+ className: t.deleteText,
250
+ children: "Cancelar"
251
+ }
252
+ )
253
+ ] }) : null
171
254
  }
172
- ) : o ? /* @__PURE__ */ _(N, { children: [
173
- /* @__PURE__ */ e(
174
- u,
175
- {
176
- name: "CancelIcon",
177
- fill: "#2054A5",
178
- height: 16,
179
- width: 16
180
- }
181
- ),
182
- /* @__PURE__ */ e("span", { style: {
183
- transform: "translateY(1px)"
184
- }, className: t.deleteText, children: "Cancelar" })
185
- ] }) : null })
255
+ )
186
256
  ] })
187
257
  ] })
188
- ) : /* @__PURE__ */ e(N, { children: /* @__PURE__ */ _("div", { className: t.textContent, children: [
258
+ ) : /* @__PURE__ */ e(F, { children: /* @__PURE__ */ _("div", { className: t.textContent, children: [
189
259
  /* @__PURE__ */ e(
190
260
  "div",
191
261
  {
@@ -193,23 +263,15 @@ import '../../assets/CompactFileUpload.css';const R = "_inputContainer_ta4er_1",
193
263
  style: {
194
264
  background: "#2054A5"
195
265
  },
196
- children: /* @__PURE__ */ e("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ e(
197
- u,
198
- {
199
- name: "Add",
200
- fill: "white",
201
- height: 27,
202
- width: 27
203
- }
204
- ) })
266
+ children: /* @__PURE__ */ e("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ e(u, { name: "Add", fill: "white", height: 27, width: 27 }) })
205
267
  }
206
268
  ),
207
- /* @__PURE__ */ e("span", { children: k })
269
+ /* @__PURE__ */ e("span", { className: t.browseText, children: b })
208
270
  ] }) }) })
209
271
  ]
210
272
  }
211
273
  ) });
212
274
  };
213
275
  export {
214
- xt as CompactFileUpload
276
+ Dt as CompactFileUpload
215
277
  };
@@ -8,6 +8,7 @@ type ModalButtonProps = {
8
8
  size?: ButtonSize;
9
9
  variant?: ButtonVariant;
10
10
  loading?: boolean;
11
+ id?: string;
11
12
  };
12
13
  /**
13
14
  * Props del Modal
@@ -24,6 +25,7 @@ export interface ModalProps extends React.HTMLAttributes<HTMLSpanElement> {
24
25
  onClickOverlay?: (() => Promise<void> | void) | false;
25
26
  onClose?: (() => Promise<void> | void) | false;
26
27
  closeModal: () => void;
28
+ withScroll?: boolean;
27
29
  }
28
30
  /**
29
31
  * Modal con overlay, header, body y footer configurable.
@@ -76,6 +78,7 @@ export interface ModalProps extends React.HTMLAttributes<HTMLSpanElement> {
76
78
  * variant: "brand",
77
79
  * size: "small",
78
80
  * loading: false
81
+ * id: "form"
79
82
  * }}
80
83
  * cancelButton={{
81
84
  * show: false, // no se renderiza
@@ -1,103 +1,140 @@
1
- import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
- import { useRef as z, useState as A } from "react";
3
- import { Icon as F } from "../../icons/Icon.js";
4
- import { useScrollLock as H } from "../../hooks/useScrollLock.js";
5
- import { Button as y } from "../Button/Button.js";
6
- import { r as O } from "../../index-CGDUIzcq.js";
7
- import '../../assets/index7.css';const R = "_modalOverlay_1x735_1", $ = "_closing_1x735_15", D = "_modal_1x735_1", L = "_modalHeader_1x735_47", j = "_modalTitle_1x735_55", V = "_closeIcon_1x735_66", W = "_modalBody_1x735_79", X = "_modalFooter_1x735_89", o = {
8
- modalOverlay: R,
9
- closing: $,
10
- modal: D,
11
- modalHeader: L,
12
- modalTitle: j,
13
- closeIcon: V,
14
- modalBody: W,
15
- modalFooter: X
16
- }, K = ({
17
- isOpen: t,
18
- title: n,
19
- children: x,
20
- width: g = 752,
21
- confirmButton: a,
1
+ import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
+ import { useRef as g, useState as m, useEffect as Y } from "react";
3
+ import { Icon as j } from "../../icons/Icon.js";
4
+ import { useScrollLock as V } from "../../hooks/useScrollLock.js";
5
+ import { Button as p } from "../Button/Button.js";
6
+ import { r as W } from "../../index-CGDUIzcq.js";
7
+ import '../../assets/index7.css';const X = "_modalOverlay_1347c_1", Z = "_closing_1347c_15", M = "_modal_1347c_1", P = "_modalHeader_1347c_48", q = "_withBorder_1347c_56", B = "_modalTitle_1347c_61", G = "_closeIcon_1347c_72", J = "_modalBody_1347c_85", K = "_modalFooter_1347c_96", Q = "_buttonsDiv_1347c_101", e = {
8
+ modalOverlay: X,
9
+ closing: Z,
10
+ modal: M,
11
+ modalHeader: P,
12
+ withBorder: q,
13
+ modalTitle: B,
14
+ closeIcon: G,
15
+ modalBody: J,
16
+ modalFooter: K,
17
+ buttonsDiv: Q
18
+ }, re = ({
19
+ isOpen: f,
20
+ title: _,
21
+ children: h,
22
+ width: C = 752,
23
+ confirmButton: o,
22
24
  cancelButton: l,
23
- zIndex: v,
24
- className: p,
25
- style: u,
26
- onClickOverlay: i,
27
- onClose: s,
28
- closeModal: C,
29
- ...I
25
+ zIndex: E,
26
+ className: I,
27
+ style: N,
28
+ onClickOverlay: c,
29
+ onClose: r,
30
+ closeModal: S,
31
+ withScroll: H = !0,
32
+ ...$
30
33
  }) => {
31
- const c = z(null), [w, m] = A(!1);
32
- H(t);
33
- const d = () => {
34
- m(!0), setTimeout(() => {
35
- C(), m(!1);
34
+ const v = g(null), [k, u] = m(!1), d = g(null), [x, D] = m(!1), [O, T] = m(!1);
35
+ V(f);
36
+ const i = () => {
37
+ u(!0), setTimeout(() => {
38
+ S(), u(!1);
36
39
  }, 250);
37
- }, N = async (T) => {
38
- var h;
39
- (h = c.current) != null && h.contains(T.target) || i !== !1 && (typeof i == "function" && await i(), d());
40
- }, E = async () => {
41
- s !== !1 && (typeof s == "function" && await s(), d());
42
- }, b = async () => {
43
- a.action && await a.action(), d();
44
- }, k = async () => {
45
- l.action && await l.action(), d();
46
- }, _ = l.show ?? !0, f = a.show ?? !0, S = `${o.modal} ${p || ""}`;
47
- return t ? O.createPortal(
48
- /* @__PURE__ */ e(
40
+ }, z = async (s) => {
41
+ var t;
42
+ (t = v.current) != null && t.contains(s.target) || c !== !1 && (typeof c == "function" && await c(), i());
43
+ }, R = async () => {
44
+ r !== !1 && (typeof r == "function" && await r(), i());
45
+ }, L = async () => {
46
+ o.action && await o.action(), i();
47
+ }, A = async () => {
48
+ l.action && await l.action(), i();
49
+ }, y = l.show ?? !0, w = o.show ?? !0, F = `${e.modal} ${I || ""}`;
50
+ return Y(() => {
51
+ if (!d.current) return;
52
+ const s = d.current, t = () => {
53
+ T(s.scrollTop > 0), D(s.scrollHeight > s.clientHeight);
54
+ };
55
+ t(), s.addEventListener("scroll", t);
56
+ const b = new ResizeObserver(t);
57
+ return b.observe(s), () => {
58
+ s.removeEventListener("scroll", t), b.disconnect();
59
+ };
60
+ }, [h]), f ? W.createPortal(
61
+ /* @__PURE__ */ a(
49
62
  "div",
50
63
  {
51
- className: `${o.modalOverlay} ${w ? o.closing : ""}`,
52
- style: { zIndex: 3e3 + (v || 0) },
53
- onClick: N,
54
- children: /* @__PURE__ */ r(
64
+ className: `${e.modalOverlay} ${k ? e.closing : ""}`,
65
+ style: { zIndex: 3e3 + (E || 0) },
66
+ onClick: z,
67
+ children: /* @__PURE__ */ n(
55
68
  "div",
56
69
  {
57
- className: S,
58
- style: { width: g, ...u },
59
- ref: c,
60
- ...I,
70
+ className: F,
71
+ style: { width: C, ...N },
72
+ ref: v,
73
+ ...$,
61
74
  children: [
62
- /* @__PURE__ */ r("div", { className: o.modalHeader, children: [
63
- n && /* @__PURE__ */ e("span", { className: o.modalTitle, children: n }),
64
- s !== !1 && /* @__PURE__ */ e("div", { className: o.closeIcon, onClick: E, children: /* @__PURE__ */ e(
65
- F,
66
- {
67
- name: "Close",
68
- width: 12,
69
- height: 12,
70
- fill: "var(--Blacks-Transparencias-Black-40, rgba(0, 0, 0, 0.40)"
71
- }
72
- ) })
73
- ] }),
74
- /* @__PURE__ */ e("div", { className: o.modalBody, children: x }),
75
- (_ || f) && /* @__PURE__ */ r("div", { className: o.modalFooter, children: [
76
- _ && /* @__PURE__ */ e(
77
- y,
78
- {
79
- variant: l.variant || "outline",
80
- onClick: k,
81
- disabled: l.disabled || !1,
82
- size: l.size || "small",
83
- loading: l.loading,
84
- fullWidth: !0,
85
- children: l.text || "Cancelar"
86
- }
87
- ),
88
- f && /* @__PURE__ */ e(
89
- y,
90
- {
91
- variant: a.variant || "brand",
92
- onClick: b,
93
- disabled: a.disabled || !1,
94
- size: a.size || "small",
95
- loading: a.loading,
96
- fullWidth: !0,
97
- children: a.text || "Confirmar"
98
- }
99
- )
100
- ] })
75
+ /* @__PURE__ */ n(
76
+ "div",
77
+ {
78
+ className: `${e.modalHeader} ${O ? e.withBorder : ""}`,
79
+ children: [
80
+ _ && /* @__PURE__ */ a("span", { className: e.modalTitle, children: _ }),
81
+ r !== !1 && /* @__PURE__ */ a("div", { className: e.closeIcon, onClick: R, children: /* @__PURE__ */ a(
82
+ j,
83
+ {
84
+ name: "Close",
85
+ width: 12,
86
+ height: 12,
87
+ fill: "var(--Blacks-Transparencias-Black-40, rgba(0, 0, 0, 0.40)"
88
+ }
89
+ ) })
90
+ ]
91
+ }
92
+ ),
93
+ /* @__PURE__ */ a(
94
+ "div",
95
+ {
96
+ className: e.modalBody,
97
+ style: {
98
+ overflowY: H ? "auto" : "hidden"
99
+ },
100
+ ref: d,
101
+ children: h
102
+ }
103
+ ),
104
+ (y || w) && /* @__PURE__ */ a(
105
+ "div",
106
+ {
107
+ className: `${e.modalFooter} ${x ? e.withBorder : ""}`,
108
+ children: /* @__PURE__ */ n("div", { className: e.buttonsDiv, children: [
109
+ y && /* @__PURE__ */ a(
110
+ p,
111
+ {
112
+ variant: l.variant || "outline",
113
+ onClick: A,
114
+ disabled: l.disabled || !1,
115
+ size: l.size || "small",
116
+ loading: l.loading,
117
+ fullWidth: !0,
118
+ children: l.text || "Cancelar"
119
+ }
120
+ ),
121
+ w && /* @__PURE__ */ a(
122
+ p,
123
+ {
124
+ type: "submit",
125
+ form: o.id,
126
+ variant: o.variant || "brand",
127
+ onClick: L,
128
+ disabled: o.disabled || !1,
129
+ size: o.size || "small",
130
+ loading: o.loading,
131
+ fullWidth: !0,
132
+ children: o.text || "Confirmar"
133
+ }
134
+ )
135
+ ] })
136
+ }
137
+ )
101
138
  ]
102
139
  }
103
140
  )
@@ -107,5 +144,5 @@ import '../../assets/index7.css';const R = "_modalOverlay_1x735_1", $ = "_closin
107
144
  ) : null;
108
145
  };
109
146
  export {
110
- K as Modal
147
+ re as Modal
111
148
  };
@@ -1,10 +1,39 @@
1
- import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- const l = (a) => /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 20 20", width: "1em", height: "1em", ...a, children: [
3
- /* @__PURE__ */ r("mask", { id: "arrow_forward_svg__a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
4
- maskType: "alpha"
5
- }, children: /* @__PURE__ */ r("path", { fill: "currentColor", d: "M0 0h20v20H0z" }) }),
6
- /* @__PURE__ */ r("g", { mask: "url(#arrow_forward_svg__a)", children: /* @__PURE__ */ r("path", { fill: "#fff", d: "M13.48 10.835H3.334V9.168H13.48L8.813 4.502 10 3.335l6.667 6.667L10 16.668l-1.187-1.166z" }) })
7
- ] });
1
+ import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
+ const s = (a) => /* @__PURE__ */ e(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ width: "1em",
9
+ height: "1em",
10
+ ...a,
11
+ children: [
12
+ /* @__PURE__ */ r(
13
+ "mask",
14
+ {
15
+ id: "arrow_forward_svg__a",
16
+ width: 20,
17
+ height: 20,
18
+ x: 0,
19
+ y: 0,
20
+ maskUnits: "userSpaceOnUse",
21
+ style: {
22
+ maskType: "alpha"
23
+ },
24
+ children: /* @__PURE__ */ r("path", { fill: "currentColor", d: "M0 0h20v20H0z" })
25
+ }
26
+ ),
27
+ /* @__PURE__ */ r("g", { mask: "url(#arrow_forward_svg__a)", children: /* @__PURE__ */ r(
28
+ "path",
29
+ {
30
+ fill: "currentColor",
31
+ d: "M13.48 10.835H3.334V9.168H13.48L8.813 4.502 10 3.335l6.667 6.667L10 16.668l-1.187-1.166z"
32
+ }
33
+ ) })
34
+ ]
35
+ }
36
+ );
8
37
  export {
9
- l as default
38
+ s as default
10
39
  };
@@ -2,7 +2,6 @@ export { default as ArrowDown } from './ArrowDown';
2
2
  export { default as ArrowUp } from './ArrowUp';
3
3
  export { default as Add } from './Add';
4
4
  export { default as AddAPhoto } from './AddAPhoto';
5
- export { default as AddAlert } from './AddAlert';
6
5
  export { default as AddIcon } from './AddIcon';
7
6
  export { default as AlertIcon } from './AlertIcon';
8
7
  export { default as Apnfd } from './Apnfd';
@@ -10,7 +9,6 @@ export { default as Approve } from './Approve';
10
9
  export { default as ArrowBack } from './ArrowBack';
11
10
  export { default as ArrowForward } from './ArrowForward';
12
11
  export { default as ArrowsOutward } from './ArrowsOutward';
13
- export { default as Assignment } from './Assignment';
14
12
  export { default as AttachFile } from './AttachFile';
15
13
  export { default as BusinessCenter } from './BusinessCenter';
16
14
  export { default as CalendarIcon } from './CalendarIcon';
@@ -20,6 +18,7 @@ export { default as Certificado } from './Certificado';
20
18
  export { default as ChatBubble } from './ChatBubble';
21
19
  export { default as CheckIcon } from './CheckIcon';
22
20
  export { default as ChevronLeft } from './ChevronLeft';
21
+ export { default as Close } from './Close';
23
22
  export { default as Comisiones } from './Comisiones';
24
23
  export { default as ComunicacionesIcon } from './ComunicacionesIcon';
25
24
  export { default as ContentCopy } from './ContentCopy';
@@ -59,6 +58,7 @@ export { default as Menu } from './Menu';
59
58
  export { default as MoreVert } from './MoreVert';
60
59
  export { default as NextIcon } from './NextIcon';
61
60
  export { default as Notes } from './Notes';
61
+ export { default as Notifications } from './Notifications';
62
62
  export { default as NumPolizaIcon } from './NumPolizaIcon';
63
63
  export { default as OpenInFull } from './OpenInFull';
64
64
  export { default as Pep } from './Pep';
@@ -1,65 +1,65 @@
1
1
  import { default as r } from "./ArrowDown.js";
2
2
  import { default as t } from "./ArrowUp.js";
3
3
  import { default as l } from "./Add.js";
4
- import { default as s } from "./AddAPhoto.js";
5
- import { default as u } from "./AddAlert.js";
6
- import { default as x } from "./AddIcon.js";
7
- import { default as i } from "./AlertIcon.js";
8
- import { default as I } from "./Apnfd.js";
9
- import { default as C } from "./Approve.js";
10
- import { default as w } from "./ArrowBack.js";
11
- import { default as y } from "./ArrowForward.js";
12
- import { default as P } from "./ArrowsOutward.js";
13
- import { default as M } from "./Assignment.js";
14
- import { default as S } from "./AttachFile.js";
15
- import { default as R } from "./BusinessCenter.js";
16
- import { default as B } from "./CalendarIcon.js";
17
- import { default as O } from "./Call.js";
18
- import { default as V } from "./CancelIcon.js";
19
- import { default as z } from "./Certificado.js";
20
- import { default as W } from "./ChatBubble.js";
21
- import { default as K } from "./CheckIcon.js";
22
- import { default as T } from "./ChevronLeft.js";
23
- import { default as G } from "./Comisiones.js";
24
- import { default as Q } from "./ComunicacionesIcon.js";
25
- import { default as Y } from "./ContentCopy.js";
26
- import { default as _ } from "./ConyugeIcon.js";
27
- import { default as oo } from "./CotizacionesIcon.js";
28
- import { default as ro } from "./Credentials.js";
29
- import { default as to } from "./CreditCard.js";
30
- import { default as lo } from "./DashboardIcon.js";
31
- import { default as po } from "./Delete.js";
32
- import { default as mo } from "./DeniedIcon.js";
33
- import { default as no } from "./Distance.js";
34
- import { default as co } from "./Documentos.js";
35
- import { default as Ao } from "./DownloadIcon.js";
36
- import { default as ho } from "./EditIcon.js";
37
- import { default as bo } from "./Female.js";
38
- import { default as Fo } from "./Filter.js";
39
- import { default as Do } from "./Folder.js";
40
- import { default as go } from "./FondosExtranjero.js";
41
- import { default as Lo } from "./Fumador.js";
42
- import { default as ko } from "./HeadsetMic.js";
43
- import { default as Ho } from "./HeightIcon.js";
44
- import { default as Uo } from "./Help.js";
45
- import { default as vo } from "./HistorialIcon.js";
46
- import { default as No } from "./IdCodigoBroker.js";
47
- import { default as Eo } from "./Info.js";
48
- import { default as jo } from "./InfoFinanciera.js";
49
- import { default as qo } from "./KeyboardArrowDown.js";
50
- import { default as Jo } from "./KeyboardArrowUp.js";
51
- import { default as Xo } from "./LocationOn.js";
52
- import { default as Zo } from "./LocationSearching.js";
53
- import { default as $o } from "./LockIcon.js";
54
- import { default as ee } from "./MailIcon.js";
55
- import { default as ae } from "./Male.js";
56
- import { default as fe } from "./MasAcciones.js";
57
- import { default as de } from "./Medical.js";
58
- import { default as pe } from "./Menu.js";
59
- import { default as me } from "./MoreVert.js";
60
- import { default as ne } from "./NextIcon.js";
61
- import { default as ce } from "./Notes.js";
62
- import { default as Ae } from "./NumPolizaIcon.js";
4
+ import { default as d } from "./AddAPhoto.js";
5
+ import { default as u } from "./AddIcon.js";
6
+ import { default as x } from "./AlertIcon.js";
7
+ import { default as i } from "./Apnfd.js";
8
+ import { default as I } from "./Approve.js";
9
+ import { default as A } from "./ArrowBack.js";
10
+ import { default as w } from "./ArrowForward.js";
11
+ import { default as y } from "./ArrowsOutward.js";
12
+ import { default as P } from "./AttachFile.js";
13
+ import { default as M } from "./BusinessCenter.js";
14
+ import { default as S } from "./CalendarIcon.js";
15
+ import { default as R } from "./Call.js";
16
+ import { default as B } from "./CancelIcon.js";
17
+ import { default as N } from "./Certificado.js";
18
+ import { default as U } from "./ChatBubble.js";
19
+ import { default as v } from "./CheckIcon.js";
20
+ import { default as W } from "./ChevronLeft.js";
21
+ import { default as K } from "./Close.js";
22
+ import { default as T } from "./Comisiones.js";
23
+ import { default as G } from "./ComunicacionesIcon.js";
24
+ import { default as Q } from "./ContentCopy.js";
25
+ import { default as Y } from "./ConyugeIcon.js";
26
+ import { default as _ } from "./CotizacionesIcon.js";
27
+ import { default as oo } from "./Credentials.js";
28
+ import { default as ro } from "./CreditCard.js";
29
+ import { default as to } from "./DashboardIcon.js";
30
+ import { default as lo } from "./Delete.js";
31
+ import { default as po } from "./DeniedIcon.js";
32
+ import { default as mo } from "./Distance.js";
33
+ import { default as no } from "./Documentos.js";
34
+ import { default as co } from "./DownloadIcon.js";
35
+ import { default as Co } from "./EditIcon.js";
36
+ import { default as ho } from "./Female.js";
37
+ import { default as bo } from "./Filter.js";
38
+ import { default as Fo } from "./Folder.js";
39
+ import { default as Do } from "./FondosExtranjero.js";
40
+ import { default as go } from "./Fumador.js";
41
+ import { default as Lo } from "./HeadsetMic.js";
42
+ import { default as ko } from "./HeightIcon.js";
43
+ import { default as Ho } from "./Help.js";
44
+ import { default as Oo } from "./HistorialIcon.js";
45
+ import { default as Vo } from "./IdCodigoBroker.js";
46
+ import { default as zo } from "./Info.js";
47
+ import { default as Eo } from "./InfoFinanciera.js";
48
+ import { default as jo } from "./KeyboardArrowDown.js";
49
+ import { default as qo } from "./KeyboardArrowUp.js";
50
+ import { default as Jo } from "./LocationOn.js";
51
+ import { default as Xo } from "./LocationSearching.js";
52
+ import { default as Zo } from "./LockIcon.js";
53
+ import { default as $o } from "./MailIcon.js";
54
+ import { default as ee } from "./Male.js";
55
+ import { default as ae } from "./MasAcciones.js";
56
+ import { default as fe } from "./Medical.js";
57
+ import { default as se } from "./Menu.js";
58
+ import { default as pe } from "./MoreVert.js";
59
+ import { default as me } from "./NextIcon.js";
60
+ import { default as ne } from "./Notes.js";
61
+ import { default as ce } from "./Notifications.js";
62
+ import { default as Ce } from "./NumPolizaIcon.js";
63
63
  import { default as he } from "./OpenInFull.js";
64
64
  import { default as be } from "./Pep.js";
65
65
  import { default as Fe } from "./Person.js";
@@ -68,9 +68,9 @@ import { default as ge } from "./PhotoLibrary.js";
68
68
  import { default as Le } from "./Planet.js";
69
69
  import { default as ke } from "./PolizaIcon.js";
70
70
  import { default as He } from "./Public.js";
71
- import { default as Ue } from "./ReembolsosIcon.js";
72
- import { default as ve } from "./Refresh.js";
73
- import { default as Ne } from "./Renovaciones.js";
71
+ import { default as Oe } from "./ReembolsosIcon.js";
72
+ import { default as Ve } from "./Refresh.js";
73
+ import { default as ze } from "./Renovaciones.js";
74
74
  import { default as Ee } from "./Replay.js";
75
75
  import { default as je } from "./Reply.js";
76
76
  import { default as qe } from "./SearchIcon.js";
@@ -81,74 +81,74 @@ import { default as $e } from "./Smartphone.js";
81
81
  import { default as er } from "./Tutoriales.js";
82
82
  import { default as ar } from "./UnfoldMore.js";
83
83
  import { default as fr } from "./VerifiedUser.js";
84
- import { default as dr } from "./Visibility.js";
84
+ import { default as sr } from "./Visibility.js";
85
85
  import { default as pr } from "./VisibilityOff.js";
86
86
  import { default as mr } from "./Warning.js";
87
87
  import { default as nr } from "./WeightIcon.js";
88
88
  import { default as cr } from "./Whatsapp.js";
89
89
  export {
90
90
  l as Add,
91
- s as AddAPhoto,
92
- u as AddAlert,
93
- x as AddIcon,
94
- i as AlertIcon,
95
- I as Apnfd,
96
- C as Approve,
97
- w as ArrowBack,
91
+ d as AddAPhoto,
92
+ u as AddIcon,
93
+ x as AlertIcon,
94
+ i as Apnfd,
95
+ I as Approve,
96
+ A as ArrowBack,
98
97
  r as ArrowDown,
99
- y as ArrowForward,
98
+ w as ArrowForward,
100
99
  t as ArrowUp,
101
- P as ArrowsOutward,
102
- M as Assignment,
103
- S as AttachFile,
104
- R as BusinessCenter,
105
- B as CalendarIcon,
106
- O as Call,
107
- V as CancelIcon,
108
- z as Certificado,
109
- W as ChatBubble,
110
- K as CheckIcon,
111
- T as ChevronLeft,
112
- G as Comisiones,
113
- Q as ComunicacionesIcon,
114
- Y as ContentCopy,
115
- _ as ConyugeIcon,
116
- oo as CotizacionesIcon,
117
- ro as Credentials,
118
- to as CreditCard,
119
- lo as DashboardIcon,
120
- po as Delete,
121
- mo as DeniedIcon,
122
- no as Distance,
123
- co as Documentos,
124
- Ao as DownloadIcon,
125
- ho as EditIcon,
126
- bo as Female,
127
- Fo as Filter,
128
- Do as Folder,
129
- go as FondosExtranjero,
130
- Lo as Fumador,
131
- ko as HeadsetMic,
132
- Ho as HeightIcon,
133
- Uo as Help,
134
- vo as HistorialIcon,
135
- No as IdCodigoBroker,
136
- Eo as Info,
137
- jo as InfoFinanciera,
138
- qo as KeyboardArrowDown,
139
- Jo as KeyboardArrowUp,
140
- Xo as LocationOn,
141
- Zo as LocationSearching,
142
- $o as LockIcon,
143
- ee as MailIcon,
144
- ae as Male,
145
- fe as MasAcciones,
146
- de as Medical,
147
- pe as Menu,
148
- me as MoreVert,
149
- ne as NextIcon,
150
- ce as Notes,
151
- Ae as NumPolizaIcon,
100
+ y as ArrowsOutward,
101
+ P as AttachFile,
102
+ M as BusinessCenter,
103
+ S as CalendarIcon,
104
+ R as Call,
105
+ B as CancelIcon,
106
+ N as Certificado,
107
+ U as ChatBubble,
108
+ v as CheckIcon,
109
+ W as ChevronLeft,
110
+ K as Close,
111
+ T as Comisiones,
112
+ G as ComunicacionesIcon,
113
+ Q as ContentCopy,
114
+ Y as ConyugeIcon,
115
+ _ as CotizacionesIcon,
116
+ oo as Credentials,
117
+ ro as CreditCard,
118
+ to as DashboardIcon,
119
+ lo as Delete,
120
+ po as DeniedIcon,
121
+ mo as Distance,
122
+ no as Documentos,
123
+ co as DownloadIcon,
124
+ Co as EditIcon,
125
+ ho as Female,
126
+ bo as Filter,
127
+ Fo as Folder,
128
+ Do as FondosExtranjero,
129
+ go as Fumador,
130
+ Lo as HeadsetMic,
131
+ ko as HeightIcon,
132
+ Ho as Help,
133
+ Oo as HistorialIcon,
134
+ Vo as IdCodigoBroker,
135
+ zo as Info,
136
+ Eo as InfoFinanciera,
137
+ jo as KeyboardArrowDown,
138
+ qo as KeyboardArrowUp,
139
+ Jo as LocationOn,
140
+ Xo as LocationSearching,
141
+ Zo as LockIcon,
142
+ $o as MailIcon,
143
+ ee as Male,
144
+ ae as MasAcciones,
145
+ fe as Medical,
146
+ se as Menu,
147
+ pe as MoreVert,
148
+ me as NextIcon,
149
+ ne as Notes,
150
+ ce as Notifications,
151
+ Ce as NumPolizaIcon,
152
152
  he as OpenInFull,
153
153
  be as Pep,
154
154
  Fe as Person,
@@ -157,9 +157,9 @@ export {
157
157
  Le as Planet,
158
158
  ke as PolizaIcon,
159
159
  He as Public,
160
- Ue as ReembolsosIcon,
161
- ve as Refresh,
162
- Ne as Renovaciones,
160
+ Oe as ReembolsosIcon,
161
+ Ve as Refresh,
162
+ ze as Renovaciones,
163
163
  Ee as Replay,
164
164
  je as Reply,
165
165
  qe as SearchIcon,
@@ -170,7 +170,7 @@ export {
170
170
  er as Tutoriales,
171
171
  ar as UnfoldMore,
172
172
  fr as VerifiedUser,
173
- dr as Visibility,
173
+ sr as Visibility,
174
174
  pr as VisibilityOff,
175
175
  mr as Warning,
176
176
  nr as WeightIcon,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bmi-next-brokers",
3
3
  "description": "Componentes de UI para proyecto BMI Next Brokers",
4
- "version": "1.1.7",
4
+ "version": "1.1.9",
5
5
  "author": "BMI Ahorro España",
6
6
  "contributors": [
7
7
  "José Ramón Jiménez <jrjimenez@bmicos.com>",