prosperita-dumbo-react 4.1.0 → 4.1.2

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.
@@ -2869,7 +2869,9 @@ const nn = {
2869
2869
  align-items: center;
2870
2870
  align-self: stretch;
2871
2871
  border-radius: ${({ borderNone: e }) => e ? "0px" : "8px"};
2872
+ border: ${({ borderStyle: e }) => e || "2px solid transparent"};
2872
2873
  box-sizing: border-box;
2874
+
2873
2875
  &:active {
2874
2876
  background-color: ${({ disabled: e, kind: t }) => !e && fn[t].active};
2875
2877
  }
@@ -2878,7 +2880,7 @@ const nn = {
2878
2880
  background-color: ${({ disabled: e, kind: t }) => !e && fn[t].hover};
2879
2881
  color: ${({ kind: e, disabled: t }) => !t && W1[e]};
2880
2882
  }
2881
- border: 2px solid transparent;
2883
+
2882
2884
  &:focus {
2883
2885
  border: 2px solid ${d.focus};
2884
2886
  background: ${({ disabled: e, kind: t }) => !e && fn[t].default};
@@ -2964,7 +2966,18 @@ function mt({ children: e, ...t }) {
2964
2966
  return He.createElement(Ms.Provider, { value: t }, e);
2965
2967
  }
2966
2968
  const sr = (e) => {
2967
- const { label: t, size: n, kind: i, loading: r, icon: o, disabled: a, type: c, forModal: s, full: u, hasIconSvg: f } = e, p = {
2969
+ const {
2970
+ label: t,
2971
+ size: n,
2972
+ kind: i,
2973
+ loading: r,
2974
+ icon: o,
2975
+ disabled: a,
2976
+ type: c,
2977
+ forModal: s,
2978
+ full: u,
2979
+ hasIconSvg: f
2980
+ } = e, p = {
2968
2981
  padding: t ? nn.default[n] : nn.onlyIcon[n],
2969
2982
  position: "absolute",
2970
2983
  top: "0",
@@ -2998,15 +3011,13 @@ const sr = (e) => {
2998
3011
  ) : /* @__PURE__ */ I(
2999
3012
  ta,
3000
3013
  {
3001
- style: {
3002
- border: a ? i === "tertiary" || i === "dangerTertiary" ? `1px solid ${d.buttonDisabled}` : "0" : i === "tertiary" ? `1px solid ${d.buttonPrimary}` : i === "dangerTertiary" ? `1px solid ${d.buttonDangerSecondary}` : "0"
3003
- },
3004
3014
  forModal: s,
3005
3015
  ...e,
3006
3016
  kind: i,
3007
3017
  size: n,
3008
3018
  loading: r,
3009
3019
  type: c,
3020
+ borderStyle: a ? i === "tertiary" || i === "dangerTertiary" ? `1px solid ${d.buttonDisabled}` : "0" : i === "tertiary" ? `1px solid ${d.buttonPrimary}` : i === "dangerTertiary" ? `1px solid ${d.buttonDangerSecondary}` : "0",
3010
3021
  children: [
3011
3022
  /* @__PURE__ */ l(ra, { ...e, kind: i, children: t }),
3012
3023
  f ? /* @__PURE__ */ l(j1, { ...e, children: o }) : /* @__PURE__ */ l(na, { src: typeof o == "string" ? o : "", ...e })
@@ -6018,7 +6029,7 @@ letter-spacing: 0.16px;
6018
6029
  `, B0 = x.div`
6019
6030
  position: absolute;
6020
6031
  width: 100%;
6021
- display: ${({ show: e }) => e ? "flex" : "none"};
6032
+ display: ${({ show: e }) => e ? "block" : "none"};
6022
6033
  background-color: ${d.layerHover01};
6023
6034
  border-radius: ${({ noRadius: e }) => e ? "0" : "8px"};
6024
6035
  border: 1px solid ${d.buttonTertiary};
@@ -6026,8 +6037,9 @@ letter-spacing: 0.16px;
6026
6037
  align-items: center;
6027
6038
  flex-direction: column;
6028
6039
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
6029
- overflow-y: auto;
6030
- z-index: 3;
6040
+ overflow: auto;
6041
+ z-index: 6;
6042
+ height:270px
6031
6043
  `, V0 = x.label`
6032
6044
  width: 100%;
6033
6045
  `, F0 = x.span`
@@ -6065,7 +6077,6 @@ letter-spacing: 0.16px;
6065
6077
  font-weight: 400;
6066
6078
  line-height: 18px;
6067
6079
  letter-spacing: 0.16px;
6068
-
6069
6080
  &:hover {
6070
6081
  background-color: ${d.layerSelectedHover01};
6071
6082
  border-radius: 7px;
@@ -6284,7 +6295,8 @@ letter-spacing: 0.16px;
6284
6295
  style: {
6285
6296
  position: "relative",
6286
6297
  width: "100%",
6287
- margin: "2px auto 0 0"
6298
+ margin: "2px auto 0 0",
6299
+ zIndex: 6
6288
6300
  },
6289
6301
  children: /* @__PURE__ */ l(B0, { show: i, ...e, children: p.map((S, A) => /* @__PURE__ */ l(V0, { show: i, ...e, children: /* @__PURE__ */ I(
6290
6302
  R0,
@@ -102,7 +102,9 @@ See https://s-c.sh/2BAXzed for more info.`),window[zn]+=1);const V3="",Yt={defau
102
102
  align-items: center;
103
103
  align-self: stretch;
104
104
  border-radius: ${({borderNone:e})=>e?"0px":"8px"};
105
+ border: ${({borderStyle:e})=>e||"2px solid transparent"};
105
106
  box-sizing: border-box;
107
+
106
108
  &:active {
107
109
  background-color: ${({disabled:e,kind:t})=>!e&&un[t].active};
108
110
  }
@@ -111,7 +113,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[zn]+=1);const V3="",Yt={defau
111
113
  background-color: ${({disabled:e,kind:t})=>!e&&un[t].hover};
112
114
  color: ${({kind:e,disabled:t})=>!t&&h1[e]};
113
115
  }
114
- border: 2px solid transparent;
116
+
115
117
  &:focus {
116
118
  border: 2px solid ${u.focus};
117
119
  background: ${({disabled:e,kind:t})=>!e&&un[t].default};
@@ -156,7 +158,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[zn]+=1);const V3="",Yt={defau
156
158
  text-wrap: nowrap;
157
159
  align-self: start;
158
160
  padding: 0;
159
- `,ma=x.createContext({}),va=!0;function C1({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:r,circle:o,direction:a,duration:c,enableAnimation:s=va}){const d={};return a==="rtl"&&(d["--animation-direction"]="reverse"),typeof c=="number"&&(d["--animation-duration"]=`${c}s`),s||(d["--pseudo-element-display"]="none"),(typeof n=="string"||typeof n=="number")&&(d.width=n),(typeof i=="string"||typeof i=="number")&&(d.height=i),(typeof r=="string"||typeof r=="number")&&(d.borderRadius=r),o&&(d.borderRadius="50%"),typeof e<"u"&&(d["--base-color"]=e),typeof t<"u"&&(d["--highlight-color"]=t),d}function Ae({count:e=1,wrapper:t,className:n,containerClassName:i,containerTestId:r,circle:o=!1,style:a,...c}){var s,d,f;const p=x.useContext(ma),g={...c};for(const[B,V]of Object.entries(c))typeof V>"u"&&delete g[B];const b={...p,...g,circle:o},v={...a,...C1(b)};let y="react-loading-skeleton";n&&(y+=` ${n}`);const m=(s=b.inline)!==null&&s!==void 0?s:!1,C=[],P=Math.ceil(e);for(let B=0;B<P;B++){let V=v;if(P>e&&B===P-1){const E=(d=V.width)!==null&&d!==void 0?d:"100%",S=e%1,G=typeof E=="number"?E*S:`calc(${E} * ${S})`;V={...V,width:G}}const A=x.createElement("span",{className:y,style:V,key:B},"‌");m?C.push(A):C.push(x.createElement(x.Fragment,{key:B},A,x.createElement("br",null)))}return x.createElement("span",{className:i,"data-testid":r,"aria-live":"polite","aria-busy":(f=b.enableAnimation)!==null&&f!==void 0?f:va},t?C.map((B,V)=>x.createElement(t,{key:V},B)):C)}function ft({children:e,...t}){return x.createElement(ma.Provider,{value:t},e)}const k3="",dn=e=>{const{label:t,size:n,kind:i,loading:r,icon:o,disabled:a,type:c,forModal:s,full:d,hasIconSvg:f}=e,p={padding:t?Yt.default[n]:Yt.onlyIcon[n],position:"absolute",top:"0",width:"auto",left:"0",right:"0",bottom:"0",borderRadius:"6px"};return l(v1,{full:d,...e,children:r&&!a?w(ga,{...e,kind:i,size:n,loading:r,style:{border:"0"},children:[l(ha,{...e,kind:i,children:t}),l(ft,{baseColor:u.skeletonElement,highlightColor:u.skeletonBackground,children:l(Ae,{count:1,style:p})}),!t&&l(ba,{src:typeof o=="string"?o:"",...e})]}):w(ga,{style:{border:a?i==="tertiary"||i==="dangerTertiary"?`1px solid ${u.buttonDisabled}`:"0":i==="tertiary"?`1px solid ${u.buttonPrimary}`:i==="dangerTertiary"?`1px solid ${u.buttonDangerSecondary}`:"0"},forModal:s,...e,kind:i,size:n,loading:r,type:c,children:[l(ha,{...e,kind:i,children:t}),f?l(y1,{...e,children:o}):l(ba,{src:typeof o=="string"?o:"",...e})]})})},x1={large:"20px ",small:"15px",medium:"18px"},I1={large:"13px",small:"12px",medium:"15px"},_n=e=>{const{disabled:t,error:n}=e;return t?"2px solid transparent":n?`2px solid ${u.supportError}`:"2px solid transparent"},ri=I.input`
161
+ `,ma=x.createContext({}),va=!0;function C1({baseColor:e,highlightColor:t,width:n,height:i,borderRadius:r,circle:o,direction:a,duration:c,enableAnimation:s=va}){const d={};return a==="rtl"&&(d["--animation-direction"]="reverse"),typeof c=="number"&&(d["--animation-duration"]=`${c}s`),s||(d["--pseudo-element-display"]="none"),(typeof n=="string"||typeof n=="number")&&(d.width=n),(typeof i=="string"||typeof i=="number")&&(d.height=i),(typeof r=="string"||typeof r=="number")&&(d.borderRadius=r),o&&(d.borderRadius="50%"),typeof e<"u"&&(d["--base-color"]=e),typeof t<"u"&&(d["--highlight-color"]=t),d}function Ae({count:e=1,wrapper:t,className:n,containerClassName:i,containerTestId:r,circle:o=!1,style:a,...c}){var s,d,f;const p=x.useContext(ma),g={...c};for(const[B,V]of Object.entries(c))typeof V>"u"&&delete g[B];const b={...p,...g,circle:o},v={...a,...C1(b)};let y="react-loading-skeleton";n&&(y+=` ${n}`);const m=(s=b.inline)!==null&&s!==void 0?s:!1,C=[],P=Math.ceil(e);for(let B=0;B<P;B++){let V=v;if(P>e&&B===P-1){const E=(d=V.width)!==null&&d!==void 0?d:"100%",S=e%1,G=typeof E=="number"?E*S:`calc(${E} * ${S})`;V={...V,width:G}}const A=x.createElement("span",{className:y,style:V,key:B},"‌");m?C.push(A):C.push(x.createElement(x.Fragment,{key:B},A,x.createElement("br",null)))}return x.createElement("span",{className:i,"data-testid":r,"aria-live":"polite","aria-busy":(f=b.enableAnimation)!==null&&f!==void 0?f:va},t?C.map((B,V)=>x.createElement(t,{key:V},B)):C)}function ft({children:e,...t}){return x.createElement(ma.Provider,{value:t},e)}const k3="",dn=e=>{const{label:t,size:n,kind:i,loading:r,icon:o,disabled:a,type:c,forModal:s,full:d,hasIconSvg:f}=e,p={padding:t?Yt.default[n]:Yt.onlyIcon[n],position:"absolute",top:"0",width:"auto",left:"0",right:"0",bottom:"0",borderRadius:"6px"};return l(v1,{full:d,...e,children:r&&!a?w(ga,{...e,kind:i,size:n,loading:r,style:{border:"0"},children:[l(ha,{...e,kind:i,children:t}),l(ft,{baseColor:u.skeletonElement,highlightColor:u.skeletonBackground,children:l(Ae,{count:1,style:p})}),!t&&l(ba,{src:typeof o=="string"?o:"",...e})]}):w(ga,{forModal:s,...e,kind:i,size:n,loading:r,type:c,borderStyle:a?i==="tertiary"||i==="dangerTertiary"?`1px solid ${u.buttonDisabled}`:"0":i==="tertiary"?`1px solid ${u.buttonPrimary}`:i==="dangerTertiary"?`1px solid ${u.buttonDangerSecondary}`:"0",children:[l(ha,{...e,kind:i,children:t}),f?l(y1,{...e,children:o}):l(ba,{src:typeof o=="string"?o:"",...e})]})})},x1={large:"20px ",small:"15px",medium:"18px"},I1={large:"13px",small:"12px",medium:"15px"},_n=e=>{const{disabled:t,error:n}=e;return t?"2px solid transparent":n?`2px solid ${u.supportError}`:"2px solid transparent"},ri=I.input`
160
162
  height: ${({size:e})=>e&&I1[e]};
161
163
  box-sizing: border-box;
162
164
  padding: ${({size:e})=>e&&x1[e]};
@@ -1366,7 +1368,7 @@ letter-spacing: 0.16px;
1366
1368
  `,a0=I.div`
1367
1369
  position: absolute;
1368
1370
  width: 100%;
1369
- display: ${({show:e})=>e?"flex":"none"};
1371
+ display: ${({show:e})=>e?"block":"none"};
1370
1372
  background-color: ${u.layerHover01};
1371
1373
  border-radius: ${({noRadius:e})=>e?"0":"8px"};
1372
1374
  border: 1px solid ${u.buttonTertiary};
@@ -1374,8 +1376,9 @@ letter-spacing: 0.16px;
1374
1376
  align-items: center;
1375
1377
  flex-direction: column;
1376
1378
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
1377
- overflow-y: auto;
1378
- z-index: 3;
1379
+ overflow: auto;
1380
+ z-index: 6;
1381
+ height:270px
1379
1382
  `,l0=I.label`
1380
1383
  width: 100%;
1381
1384
  `,s0=I.span`
@@ -1413,7 +1416,6 @@ letter-spacing: 0.16px;
1413
1416
  font-weight: 400;
1414
1417
  line-height: 18px;
1415
1418
  letter-spacing: 0.16px;
1416
-
1417
1419
  &:hover {
1418
1420
  background-color: ${u.layerSelectedHover01};
1419
1421
  border-radius: 7px;
@@ -1452,7 +1454,7 @@ letter-spacing: 0.16px;
1452
1454
  box-sizing: border-box;
1453
1455
  width: 100%;
1454
1456
  word-warp: broke-word;
1455
- `,d0=e=>{const[t,n]=x.useState(null),[i,r]=x.useState(e.show),o=x.useRef(null),{error:a,warning:c,text:s,kind:d,messege:f,options:p,onChange:g,placeholder:b,value:v,name:y,id:m,loading:C}=e,P=E=>{const{value:S}=E;n(E.label),r(!1),g&&g({target:{value:S,name:y}})},B=E=>{E.preventDefault(),r(S=>!S)},V=E=>{o.current&&!o.current.contains(E.target)&&r(!1)};x.useEffect(()=>(document.addEventListener("mousedown",V),()=>{document.removeEventListener("mousedown",V)}),[]);const A={position:"absolute",top:"0",right:"0",bottom:"0",padding:"0",left:"0"};return l(F,{children:C?l(F,{children:l(ft,{baseColor:u.skeletonElement,highlightColor:u.skeletonBackground,children:w(nl,{...e,ref:o,children:[d==="default"&&s&&l("div",{style:{margin:"0",padding:"0"},children:w(ol,{...e,style:{top:"0",left:"0",wordWrap:"break-word"},children:[s,l(Ae,{count:1,style:A})]})}),w("div",{style:{position:"relative",width:"100%",margin:"0",padding:"0"},children:[l(rl,{onClick:B,placeholder:b,id:m,onChange:g,value:t||v,name:y,...e}),l(Ae,{count:1,style:A})]}),d==="default"&&f&&l("div",{style:{position:"relative",margin:"0",padding:"0",display:"flex;"},children:w(al,{...e,children:[l("p",{style:{margin:"0",padding:"0",wordWrap:"break-word",width:"100%",boxSizing:"border-box"},children:f}),l(Ae,{count:1,style:A})]})}),d==="fluid"&&l(Ae,{count:1,style:A})]})})}):w(nl,{...e,ref:o,children:[l(ol,{...e,children:l("p",{style:{margin:d==="default"?"0":"5px 15px",padding:"0",wordWrap:"break-word",width:"100%",gap:"4px",display:"flex",flexWrap:"wrap",overflow:"hidden"},children:s})}),w("div",{style:{width:"100%",position:"relative",margin:"0",padding:"0"},children:[l(rl,{onClick:B,placeholder:b,id:m,onChange:g,value:t||v,name:y,...e}),d==="default"&&(a||c)&&l(F,{children:(a||c)&&l(il,{src:c?Ue:je,...e})}),l(c0,{show:i,onClick:B,...e,children:l("span",{style:{display:"flex"},children:Jn})})]}),d==="fluid"&&(a||c)&&l(F,{children:(a||c)&&l(il,{src:c?Ue:je,...e})}),l("div",{style:{position:"relative",width:"100%",margin:"2px auto 0 0"},children:l(a0,{show:i,...e,children:p.map((E,S)=>l(l0,{show:i,...e,children:w(u0,{onClick:()=>P(E),BorderLastNone:S===p.length-1,...e,children:[t===E.label&&l(s0,{...e,children:$1}),E.label]})},S))})}),l(al,{...e,children:l("p",{style:{margin:"0",padding:"0",wordWrap:"break-word",width:"100%",boxSizing:"border-box"},children:(d==="fluid"&&(a||c)||d==="default")&&f})})]})})},f0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAYAAAB+ZAqzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAKKSURBVFhH7ZbdS1NxGMe/m6sR0d9QEYa9QFQXsYoYilAWtVrasq56XRKsgigqu8hKCjK66V3tRSPD6B0pNBLJLgILydialdJFkG9lOVPn1nm2Z6x5zs4b87ALPzfj+R4GH57n+Z3fMYUFkIaY+TftmBDTiuFivq4v6An0cZUcQ8XaezrhvFGE9ZV70DfYz6k0homRlKNiN3oDv9DeHRXsH/rDT8UYIubv7hCk3BGpGN4fn1Fwcy8GhgOcJDLuYp+6vkZG1xv4yUmc1u8+FFbtx+DIX07ijKsYSW0QRiYlFePtt1aUNZZzFUdRjP74qK2eK/WokSKWzVyMA/YdXMWRFXvT+Q6u2x4U3T+OBx9ecKqMFqlbhecwxWLlJE7Su7K5o0WY/z4Mj45wAlx0noBjfi5X0vx/+uSwzViEO1vPw5oxmZNEJDvW4G/G5ipPghRBnat5/4wrMVKnTwrqVPWWsqRShKhj9f7X2Hb3EIKhUU7EXHAUI39BHldRUtWpGKKOkVBI4UvI87AE1S2PuYpeM+vKdylK2WctUSVFSO7Yc18TttccFgRDnEhTuvogbNMXqlr07EwbKl1nMcls4USepMtf523EzntHFOWmWafi99AAV9LkZC5FheuMailC9gu2zvtKkDuqKCdH7uzluL6pVJMUIfseW5Vlx7WCUzCZTJxoQ68UofjmJ7krG09qlluZtUK3FKEoRqyZm61JjqSu5p/WLUXI7thYnn58CXdtsezO0aLT6bOYMzjRh6qOxaDO0bWUrHN5c+wpkSI0iRFr5+XgkrNEJEdSl4Vxp0KK0CxGjJWjTqZSKgLtmF6etDWE3bXHwsFQkJPUoWn5jUTXKI1gQkwraSoG/AOUmqbG0vPBgQAAAABJRU5ErkJggg==",fn=I.span`
1457
+ `,d0=e=>{const[t,n]=x.useState(null),[i,r]=x.useState(e.show),o=x.useRef(null),{error:a,warning:c,text:s,kind:d,messege:f,options:p,onChange:g,placeholder:b,value:v,name:y,id:m,loading:C}=e,P=E=>{const{value:S}=E;n(E.label),r(!1),g&&g({target:{value:S,name:y}})},B=E=>{E.preventDefault(),r(S=>!S)},V=E=>{o.current&&!o.current.contains(E.target)&&r(!1)};x.useEffect(()=>(document.addEventListener("mousedown",V),()=>{document.removeEventListener("mousedown",V)}),[]);const A={position:"absolute",top:"0",right:"0",bottom:"0",padding:"0",left:"0"};return l(F,{children:C?l(F,{children:l(ft,{baseColor:u.skeletonElement,highlightColor:u.skeletonBackground,children:w(nl,{...e,ref:o,children:[d==="default"&&s&&l("div",{style:{margin:"0",padding:"0"},children:w(ol,{...e,style:{top:"0",left:"0",wordWrap:"break-word"},children:[s,l(Ae,{count:1,style:A})]})}),w("div",{style:{position:"relative",width:"100%",margin:"0",padding:"0"},children:[l(rl,{onClick:B,placeholder:b,id:m,onChange:g,value:t||v,name:y,...e}),l(Ae,{count:1,style:A})]}),d==="default"&&f&&l("div",{style:{position:"relative",margin:"0",padding:"0",display:"flex;"},children:w(al,{...e,children:[l("p",{style:{margin:"0",padding:"0",wordWrap:"break-word",width:"100%",boxSizing:"border-box"},children:f}),l(Ae,{count:1,style:A})]})}),d==="fluid"&&l(Ae,{count:1,style:A})]})})}):w(nl,{...e,ref:o,children:[l(ol,{...e,children:l("p",{style:{margin:d==="default"?"0":"5px 15px",padding:"0",wordWrap:"break-word",width:"100%",gap:"4px",display:"flex",flexWrap:"wrap",overflow:"hidden"},children:s})}),w("div",{style:{width:"100%",position:"relative",margin:"0",padding:"0"},children:[l(rl,{onClick:B,placeholder:b,id:m,onChange:g,value:t||v,name:y,...e}),d==="default"&&(a||c)&&l(F,{children:(a||c)&&l(il,{src:c?Ue:je,...e})}),l(c0,{show:i,onClick:B,...e,children:l("span",{style:{display:"flex"},children:Jn})})]}),d==="fluid"&&(a||c)&&l(F,{children:(a||c)&&l(il,{src:c?Ue:je,...e})}),l("div",{style:{position:"relative",width:"100%",margin:"2px auto 0 0",zIndex:6},children:l(a0,{show:i,...e,children:p.map((E,S)=>l(l0,{show:i,...e,children:w(u0,{onClick:()=>P(E),BorderLastNone:S===p.length-1,...e,children:[t===E.label&&l(s0,{...e,children:$1}),E.label]})},S))})}),l(al,{...e,children:l("p",{style:{margin:"0",padding:"0",wordWrap:"break-word",width:"100%",boxSizing:"border-box"},children:(d==="fluid"&&(a||c)||d==="default")&&f})})]})})},f0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAgCAYAAAB+ZAqzAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAKKSURBVFhH7ZbdS1NxGMe/m6sR0d9QEYa9QFQXsYoYilAWtVrasq56XRKsgigqu8hKCjK66V3tRSPD6B0pNBLJLgILydialdJFkG9lOVPn1nm2Z6x5zs4b87ALPzfj+R4GH57n+Z3fMYUFkIaY+TftmBDTiuFivq4v6An0cZUcQ8XaezrhvFGE9ZV70DfYz6k0homRlKNiN3oDv9DeHRXsH/rDT8UYIubv7hCk3BGpGN4fn1Fwcy8GhgOcJDLuYp+6vkZG1xv4yUmc1u8+FFbtx+DIX07ijKsYSW0QRiYlFePtt1aUNZZzFUdRjP74qK2eK/WokSKWzVyMA/YdXMWRFXvT+Q6u2x4U3T+OBx9ecKqMFqlbhecwxWLlJE7Su7K5o0WY/z4Mj45wAlx0noBjfi5X0vx/+uSwzViEO1vPw5oxmZNEJDvW4G/G5ipPghRBnat5/4wrMVKnTwrqVPWWsqRShKhj9f7X2Hb3EIKhUU7EXHAUI39BHldRUtWpGKKOkVBI4UvI87AE1S2PuYpeM+vKdylK2WctUSVFSO7Yc18TttccFgRDnEhTuvogbNMXqlr07EwbKl1nMcls4USepMtf523EzntHFOWmWafi99AAV9LkZC5FheuMailC9gu2zvtKkDuqKCdH7uzluL6pVJMUIfseW5Vlx7WCUzCZTJxoQ68UofjmJ7krG09qlluZtUK3FKEoRqyZm61JjqSu5p/WLUXI7thYnn58CXdtsezO0aLT6bOYMzjRh6qOxaDO0bWUrHN5c+wpkSI0iRFr5+XgkrNEJEdSl4Vxp0KK0CxGjJWjTqZSKgLtmF6etDWE3bXHwsFQkJPUoWn5jUTXKI1gQkwraSoG/AOUmqbG0vPBgQAAAABJRU5ErkJggg==",fn=I.span`
1456
1458
  position: absolute;
1457
1459
  cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
1458
1460
  display: flex;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUxD,OAAO,0CAA0C,CAAC;AAGlD,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,GAAG;IACnE,IAAI,EACF,SAAS,GACT,WAAW,GACX,UAAU,GAC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AAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,MAAM,UAAW,YAAY,4CA8EzC,CAAC"}
@@ -8,7 +8,21 @@ export declare const paddingDict: {
8
8
  [key: string]: IDictsStyle;
9
9
  };
10
10
  export declare const GeneralContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IButtonProps>> & string;
11
- export declare const ButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IButtonProps>> & string;
11
+ export declare const ButtonContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, import("react").ButtonHTMLAttributes<HTMLButtonElement> & {
12
+ kind: "ghost" | "primary" | "secondary" | "tertiary" | "dangerPrimary" | "dangerTertiary" | "dangerGhost";
13
+ size: "small" | "medium" | "large" | "extraLarge" | "twoXLarge" | "expressive";
14
+ label?: import("react").ReactNode;
15
+ icon?: import("react").ReactNode;
16
+ onClick?: () => void;
17
+ loading?: boolean;
18
+ disabled?: boolean;
19
+ forModal?: boolean;
20
+ full?: boolean;
21
+ borderNone?: boolean;
22
+ hasIconSvg?: boolean;
23
+ } & {
24
+ borderStyle?: string;
25
+ }>> & string;
12
26
  export declare const IconTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, IButtonProps>> & string;
13
27
  export declare const IconSvgContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IButtonProps>> & string;
14
28
  export declare const LabelText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, IButtonProps>> & string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/Components/Button/styles.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AACjC,OAAO,2BAA2B,CAAC;AAGnC,KAAK,WAAW,GAAG;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAUF,eAAO,MAAM,WAAW,EAAE;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CA0B5B,CAAC;AAiFF,eAAO,MAAM,gBAAgB,iPAE5B,CAAC;AAEF,eAAO,MAAM,eAAe,6PA+C3B,CAAC;AACF,eAAO,MAAM,OAAO,wPAUnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,iPAMV,CAAA;AAEnB,eAAO,MAAM,SAAS,mPAYrB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/Components/Button/styles.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AACjC,OAAO,2BAA2B,CAAC;AAGnC,KAAK,WAAW,GAAG;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAUF,eAAO,MAAM,WAAW,EAAE;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;CA0B5B,CAAC;AAiFF,eAAO,MAAM,gBAAgB,iPAE5B,CAAC;AACF,eAAO,MAAM,eAAe;;;;;;;;;;;;;kBAAgD,MAAM;YAiDjF,CAAC;AAEF,eAAO,MAAM,OAAO,wPAUnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,iPAMV,CAAA;AAEnB,eAAO,MAAM,SAAS,mPAYrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/Dropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAKpB,MAAM,OAAO,CAAC;AAuBf,KAAK,UAAU,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,CACP,GAAG;IACF,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IACjE,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IACnC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,aAAa,4CAiP5C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/Dropdown/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EAKpB,MAAM,OAAO,CAAC;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SAAS,oPAIrB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAQzB,CAAC;AAEF,eAAO,MAAM,eAAe,yPAO3B,CAAC;AAEF,eAAO,MAAM,UAAU,kPAuBtB,CAAC;AAEF,eAAO,MAAM,KAAK,8PAqBjB,CAAC;AAEF,eAAO,MAAM,QAAQ,8PAyBpB,CAAC"}
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/Components/Dropdown/style.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,2BAA2B,CAAC;AASnC,eAAO,MAAM,SAAS,kPAkBrB,CAAC;AAEF,eAAO,MAAM,cAAc,2PA2C1B,CAAC;AASF,eAAO,MAAM,WAAW,kPAcvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,2PAE5B,CAAC;AAEF,eAAO,MAAM,SAAS,oPAIrB,CAAC;AAEF,eAAO,MAAM,aAAa,oPAQzB,CAAC;AAEF,eAAO,MAAM,eAAe,yPAO3B,CAAC;AAEF,eAAO,MAAM,UAAU,kPAsBtB,CAAC;AAEF,eAAO,MAAM,KAAK,8PAqBjB,CAAC;AAEF,eAAO,MAAM,QAAQ,8PAyBpB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prosperita-dumbo-react",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "main": "dist/prosperita-dumbo-react.umd.js",
5
5
  "module": "dist/prosperita-dumbo-react.es.js",
6
6
  "types": "dist/types/index.d.ts",