prosperita-dumbo-react 1.3.68 → 1.3.70
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.
|
@@ -7023,7 +7023,7 @@ letter-spacing: 0.16px;
|
|
|
7023
7023
|
// borderBottom: `1px solid ${Itheme.borderStrong01}`,
|
|
7024
7024
|
}
|
|
7025
7025
|
}),
|
|
7026
|
-
menu: (e) => ({
|
|
7026
|
+
menu: (e, t) => ({
|
|
7027
7027
|
...e,
|
|
7028
7028
|
background: f.field01,
|
|
7029
7029
|
color: f.textPrimary,
|
|
@@ -7032,7 +7032,7 @@ letter-spacing: 0.16px;
|
|
|
7032
7032
|
right: "0px",
|
|
7033
7033
|
left: "0px",
|
|
7034
7034
|
border: `2px solid ${f.borderStrong01}`,
|
|
7035
|
-
zIndex:
|
|
7035
|
+
zIndex: t.selectProps.zIndex ?? 10,
|
|
7036
7036
|
marginTop: "50px"
|
|
7037
7037
|
}),
|
|
7038
7038
|
input: (e) => ({
|
|
@@ -1681,7 +1681,7 @@ letter-spacing: 0.16px;
|
|
|
1681
1681
|
cursor: pointer;
|
|
1682
1682
|
margin: ${({kind:e})=>e==="fluid"?"0 10px 0 0":"0"};
|
|
1683
1683
|
align-self: ${({kind:e})=>e==="fluid"?"end":"center"};
|
|
1684
|
-
`,sb={position:"absolute",display:"flex",top:"0",left:"0",right:"0",bottom:"0"},Mt=e=>{const{kind:t,size:n,label:i,loading:r,value:o,onChange:l,id:c,name:s,placeholder:d,ContainedListMenu:u,disabled:p,readOnly:g,expandable:h,borderTable:v,...m}=e,b=x.useRef(null),[y,w]=x.useState(o||""),[E,D]=x.useState(!1),A=M=>{const _=M.target.value;w(_),l&&l(M)},S=()=>{w(""),b.current&&(b.current.value="")},P=()=>{var M;D(_=>!_),(M=b.current)==null||M.focus(),w("")};return a(k,{children:r?a(kt,{baseColor:f.skeletonBackground,highlightColor:f.skeletonElement,children:I(zc,{...e,children:[a(Wc,{type:"search",...e}),a(He,{count:1,style:sb})]})}):I(zc,{expandable:E,disabled:p,borderTable:v,...e,children:[t==="fluid"&&a(ab,{...e,children:i}),t==="fluid"?I(lb,{expandable:E,...e,children:[a(Xc,{...e,children:ac}),y.length>0&&a(Zc,{onClick:S,...e,children:ii})]}):I(k,{children:[a(Xc,{expandable:E,onClick:P,...e,children:ac}),y.length>0&&a(Zc,{disabled:p,readOnly:g,onClick:S,...e,children:ii})]}),a(Wc,{expandable:E,type:"text",kind:t,borderTable:v,ref:b,size:n,value:y,name:s,disabled:p,readOnly:t==="expandable"&&!E?!0:g,id:c,loading:r,ContainedListMenu:u,onChange:A,placeholder:d,autoComplete:"off",...m})]})})},cb={small:".1em",large:".5em",medium:".4em"},db={control:(e,t)=>({...e,fontSize:"15px",cursor:t.selectProps.loading?"wait":"pointer",backgroundColor:t.selectProps.readonly?"transparent":f.field01,fontfamily:"IBM Plex Sans",padding:t.selectProps.size&&t.selectProps.kind==="default"?cb[t.selectProps.size||"medium"]:t.selectProps.kind==="little"?"7px":"0",borderRadius:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)||t.selectProps.noRadius?"0":"8px",border:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${f.supportError}`:"1px solid transparent",borderBottom:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${f.supportError}`:"1px solid transparent",minWidth:"30px",width:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)?"95%":t.selectProps.kind==="little"?"155px":"100%",margin:"0 auto","&:active":{},"&:hover":{backgroundColor:t.selectProps.kind==="fluid"?"transparent":f.fieldHover01,border:"1px solid transparent"},"&:focus-within":{border:t.selectProps.kind==="fluid"?"1px solid transparent":`1px solid ${f.focus}`,borderBottom:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)&&"1px solid transparent",boxShadow:"none"}}),option:e=>({...e,fontSize:"15px",fontWeight:"bolder",cursor:"pointer",color:f.textPrimary,display:"flex",justifyContent:"start",alignItems:"center",background:f.field01,zIndex:5,"&:active":{},"&:hover":{width:"100%",background:"#ADC3D7"}}),placeholder:e=>({...e,color:f.textPrimary,backgroudColor:f.field01,padding:".1em","&:active":{color:f.textPrimary},"&:hover":{color:f.textPrimary}}),multiValue:e=>({...e,color:f.textPrimary}),singleValue:e=>({...e,color:f.textPrimary}),container:(e,t)=>({...e,borderRadius:t.selectProps.noRadius?"0px":"8px",width:"100%","&:active":{},"&:hover":{}}),menu:e=>({...e,background:f.field01,color:f.textPrimary,position:"absolute",top:"0",right:"0px",left:"0px",border:`2px solid ${f.borderStrong01}`,zIndex:
|
|
1684
|
+
`,sb={position:"absolute",display:"flex",top:"0",left:"0",right:"0",bottom:"0"},Mt=e=>{const{kind:t,size:n,label:i,loading:r,value:o,onChange:l,id:c,name:s,placeholder:d,ContainedListMenu:u,disabled:p,readOnly:g,expandable:h,borderTable:v,...m}=e,b=x.useRef(null),[y,w]=x.useState(o||""),[E,D]=x.useState(!1),A=M=>{const _=M.target.value;w(_),l&&l(M)},S=()=>{w(""),b.current&&(b.current.value="")},P=()=>{var M;D(_=>!_),(M=b.current)==null||M.focus(),w("")};return a(k,{children:r?a(kt,{baseColor:f.skeletonBackground,highlightColor:f.skeletonElement,children:I(zc,{...e,children:[a(Wc,{type:"search",...e}),a(He,{count:1,style:sb})]})}):I(zc,{expandable:E,disabled:p,borderTable:v,...e,children:[t==="fluid"&&a(ab,{...e,children:i}),t==="fluid"?I(lb,{expandable:E,...e,children:[a(Xc,{...e,children:ac}),y.length>0&&a(Zc,{onClick:S,...e,children:ii})]}):I(k,{children:[a(Xc,{expandable:E,onClick:P,...e,children:ac}),y.length>0&&a(Zc,{disabled:p,readOnly:g,onClick:S,...e,children:ii})]}),a(Wc,{expandable:E,type:"text",kind:t,borderTable:v,ref:b,size:n,value:y,name:s,disabled:p,readOnly:t==="expandable"&&!E?!0:g,id:c,loading:r,ContainedListMenu:u,onChange:A,placeholder:d,autoComplete:"off",...m})]})})},cb={small:".1em",large:".5em",medium:".4em"},db={control:(e,t)=>({...e,fontSize:"15px",cursor:t.selectProps.loading?"wait":"pointer",backgroundColor:t.selectProps.readonly?"transparent":f.field01,fontfamily:"IBM Plex Sans",padding:t.selectProps.size&&t.selectProps.kind==="default"?cb[t.selectProps.size||"medium"]:t.selectProps.kind==="little"?"7px":"0",borderRadius:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)||t.selectProps.noRadius?"0":"8px",border:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${f.supportError}`:"1px solid transparent",borderBottom:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${f.supportError}`:"1px solid transparent",minWidth:"30px",width:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)?"95%":t.selectProps.kind==="little"?"155px":"100%",margin:"0 auto","&:active":{},"&:hover":{backgroundColor:t.selectProps.kind==="fluid"?"transparent":f.fieldHover01,border:"1px solid transparent"},"&:focus-within":{border:t.selectProps.kind==="fluid"?"1px solid transparent":`1px solid ${f.focus}`,borderBottom:t.selectProps.kind==="fluid"&&(t.selectProps.error||t.selectProps.warning)&&"1px solid transparent",boxShadow:"none"}}),option:e=>({...e,fontSize:"15px",fontWeight:"bolder",cursor:"pointer",color:f.textPrimary,display:"flex",justifyContent:"start",alignItems:"center",background:f.field01,zIndex:5,"&:active":{},"&:hover":{width:"100%",background:"#ADC3D7"}}),placeholder:e=>({...e,color:f.textPrimary,backgroudColor:f.field01,padding:".1em","&:active":{color:f.textPrimary},"&:hover":{color:f.textPrimary}}),multiValue:e=>({...e,color:f.textPrimary}),singleValue:e=>({...e,color:f.textPrimary}),container:(e,t)=>({...e,borderRadius:t.selectProps.noRadius?"0px":"8px",width:"100%","&:active":{},"&:hover":{}}),menu:(e,t)=>({...e,background:f.field01,color:f.textPrimary,position:"absolute",top:"0",right:"0px",left:"0px",border:`2px solid ${f.borderStrong01}`,zIndex:t.selectProps.zIndex??10,marginTop:"50px"}),input:e=>({...e,color:"theme.textPrimary","&:focus":{boxShadow:"none",borderBottom:`1px solid ${f.borderStrong01}`}}),dropdownIndicator:e=>({...e,color:f.textPrimary,padding:"4px",display:"flex",alignItems:"center",justifyContent:"center","& > svg":{width:"26px",height:"16px",color:f.iconPrimary}})},jc=C.div`
|
|
1685
1685
|
font-size: 12px;
|
|
1686
1686
|
font-style: normal;
|
|
1687
1687
|
min-width: 300px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/InputSelect/index.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,0CAA0C,CAAC;AAGlD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IACnC,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,GAA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