prosperita-dumbo-react 4.1.0 → 4.1.1
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.
|
@@ -6018,7 +6018,7 @@ letter-spacing: 0.16px;
|
|
|
6018
6018
|
`, B0 = x.div`
|
|
6019
6019
|
position: absolute;
|
|
6020
6020
|
width: 100%;
|
|
6021
|
-
display: ${({ show: e }) => e ? "
|
|
6021
|
+
display: ${({ show: e }) => e ? "block" : "none"};
|
|
6022
6022
|
background-color: ${d.layerHover01};
|
|
6023
6023
|
border-radius: ${({ noRadius: e }) => e ? "0" : "8px"};
|
|
6024
6024
|
border: 1px solid ${d.buttonTertiary};
|
|
@@ -6026,8 +6026,9 @@ letter-spacing: 0.16px;
|
|
|
6026
6026
|
align-items: center;
|
|
6027
6027
|
flex-direction: column;
|
|
6028
6028
|
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
|
|
6029
|
-
overflow
|
|
6030
|
-
z-index:
|
|
6029
|
+
overflow: auto;
|
|
6030
|
+
z-index: 6;
|
|
6031
|
+
height:270px
|
|
6031
6032
|
`, V0 = x.label`
|
|
6032
6033
|
width: 100%;
|
|
6033
6034
|
`, F0 = x.span`
|
|
@@ -6065,7 +6066,6 @@ letter-spacing: 0.16px;
|
|
|
6065
6066
|
font-weight: 400;
|
|
6066
6067
|
line-height: 18px;
|
|
6067
6068
|
letter-spacing: 0.16px;
|
|
6068
|
-
|
|
6069
6069
|
&:hover {
|
|
6070
6070
|
background-color: ${d.layerSelectedHover01};
|
|
6071
6071
|
border-radius: 7px;
|
|
@@ -6284,7 +6284,8 @@ letter-spacing: 0.16px;
|
|
|
6284
6284
|
style: {
|
|
6285
6285
|
position: "relative",
|
|
6286
6286
|
width: "100%",
|
|
6287
|
-
margin: "2px auto 0 0"
|
|
6287
|
+
margin: "2px auto 0 0",
|
|
6288
|
+
zIndex: 6
|
|
6288
6289
|
},
|
|
6289
6290
|
children: /* @__PURE__ */ l(B0, { show: i, ...e, children: p.map((S, A) => /* @__PURE__ */ l(V0, { show: i, ...e, children: /* @__PURE__ */ I(
|
|
6290
6291
|
R0,
|
|
@@ -1366,7 +1366,7 @@ letter-spacing: 0.16px;
|
|
|
1366
1366
|
`,a0=I.div`
|
|
1367
1367
|
position: absolute;
|
|
1368
1368
|
width: 100%;
|
|
1369
|
-
display: ${({show:e})=>e?"
|
|
1369
|
+
display: ${({show:e})=>e?"block":"none"};
|
|
1370
1370
|
background-color: ${u.layerHover01};
|
|
1371
1371
|
border-radius: ${({noRadius:e})=>e?"0":"8px"};
|
|
1372
1372
|
border: 1px solid ${u.buttonTertiary};
|
|
@@ -1374,8 +1374,9 @@ letter-spacing: 0.16px;
|
|
|
1374
1374
|
align-items: center;
|
|
1375
1375
|
flex-direction: column;
|
|
1376
1376
|
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
|
|
1377
|
-
overflow
|
|
1378
|
-
z-index:
|
|
1377
|
+
overflow: auto;
|
|
1378
|
+
z-index: 6;
|
|
1379
|
+
height:270px
|
|
1379
1380
|
`,l0=I.label`
|
|
1380
1381
|
width: 100%;
|
|
1381
1382
|
`,s0=I.span`
|
|
@@ -1413,7 +1414,6 @@ letter-spacing: 0.16px;
|
|
|
1413
1414
|
font-weight: 400;
|
|
1414
1415
|
line-height: 18px;
|
|
1415
1416
|
letter-spacing: 0.16px;
|
|
1416
|
-
|
|
1417
1417
|
&:hover {
|
|
1418
1418
|
background-color: ${u.layerSelectedHover01};
|
|
1419
1419
|
border-radius: 7px;
|
|
@@ -1452,7 +1452,7 @@ letter-spacing: 0.16px;
|
|
|
1452
1452
|
box-sizing: border-box;
|
|
1453
1453
|
width: 100%;
|
|
1454
1454
|
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`
|
|
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",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
1456
|
position: absolute;
|
|
1457
1457
|
cursor: ${({disabled:e})=>e?"not-allowed":"pointer"};
|
|
1458
1458
|
display: flex;
|
|
@@ -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;I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,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,aAAa,4CAkP5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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"}
|