prosperita-dumbo-react 1.3.8 → 1.3.10
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.
|
@@ -6990,7 +6990,7 @@ letter-spacing: 0.16px;
|
|
|
6990
6990
|
justifyContent: "start",
|
|
6991
6991
|
alignItems: "center",
|
|
6992
6992
|
background: g.field01,
|
|
6993
|
-
zIndex:
|
|
6993
|
+
zIndex: 5,
|
|
6994
6994
|
"&:active": {},
|
|
6995
6995
|
"&:hover": {
|
|
6996
6996
|
width: "100%",
|
|
@@ -7037,7 +7037,7 @@ letter-spacing: 0.16px;
|
|
|
7037
7037
|
right: "0px",
|
|
7038
7038
|
left: "0px",
|
|
7039
7039
|
border: `2px solid ${g.borderStrong01}`,
|
|
7040
|
-
zIndex:
|
|
7040
|
+
zIndex: 5,
|
|
7041
7041
|
marginTop: "50px"
|
|
7042
7042
|
}),
|
|
7043
7043
|
input: (e) => ({
|
|
@@ -1678,7 +1678,7 @@ letter-spacing: 0.16px;
|
|
|
1678
1678
|
cursor: pointer;
|
|
1679
1679
|
margin: ${({kind:e})=>e==="fluid"?"0 10px 0 0":"0"};
|
|
1680
1680
|
align-self: ${({kind:e})=>e==="fluid"?"end":"center"};
|
|
1681
|
-
`,Kb={position:"absolute",display:"flex",top:"0",left:"0",right:"0",bottom:"0"},Ot=e=>{const{kind:t,size:n,label:o,loading:r,value:i,onChange:a,id:c,name:s,placeholder:u,ContainedListMenu:p,disabled:d,readOnly:f,expandable:h,borderTable:m,...v}=e,b=x.useRef(null),[y,I]=x.useState(i||""),[A,D]=x.useState(!1),E=$=>{const z=$.target.value;I(z),a&&a($)},S=()=>{I(""),b.current&&(b.current.value="")},P=()=>{var $;D(z=>!z),($=b.current)==null||$.focus(),I("")};return l(L,{children:r?l(Tt,{baseColor:g.skeletonBackground,highlightColor:g.skeletonElement,children:w(Mc,{...e,children:[l(kc,{type:"search",...e}),l($e,{count:1,style:Kb})]})}):w(Mc,{expandable:A,disabled:d,borderTable:m,...e,children:[t==="fluid"&&l(Ub,{...e,children:o}),t==="fluid"?w(Qb,{expandable:A,...e,children:[l(Gc,{...e,children:Qs}),y.length>0&&l(Lc,{onClick:S,...e,children:Xr})]}):w(L,{children:[l(Gc,{expandable:A,onClick:P,...e,children:Qs}),y.length>0&&l(Lc,{disabled:d,readOnly:f,onClick:S,...e,children:Xr})]}),l(kc,{expandable:A,type:"text",kind:t,borderTable:m,ref:b,size:n,value:y,name:s,disabled:d,readOnly:t==="expandable"&&!A?!0:f,id:c,loading:r,ContainedListMenu:p,onChange:E,placeholder:u,autoComplete:"off",...v})]})})},qb={small:".1em",large:".5em",medium:".4em"},e2={control:(e,t)=>({...e,fontSize:"15px",cursor:t.selectProps.loading?"wait":"pointer",backgroundColor:t.selectProps.readonly?"transparent":g.field01,fontfamily:"IBM Plex Sans",padding:t.selectProps.size&&t.selectProps.kind==="default"?qb[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 ${g.supportError}`:"1px solid transparent",borderBottom:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${g.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":g.fieldHover01,border:"1px solid transparent"},"&:focus-within":{border:t.selectProps.kind==="fluid"?"1px solid transparent":`1px solid ${g.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:g.textPrimary,display:"flex",justifyContent:"start",alignItems:"center",background:g.field01,zIndex:
|
|
1681
|
+
`,Kb={position:"absolute",display:"flex",top:"0",left:"0",right:"0",bottom:"0"},Ot=e=>{const{kind:t,size:n,label:o,loading:r,value:i,onChange:a,id:c,name:s,placeholder:u,ContainedListMenu:p,disabled:d,readOnly:f,expandable:h,borderTable:m,...v}=e,b=x.useRef(null),[y,I]=x.useState(i||""),[A,D]=x.useState(!1),E=$=>{const z=$.target.value;I(z),a&&a($)},S=()=>{I(""),b.current&&(b.current.value="")},P=()=>{var $;D(z=>!z),($=b.current)==null||$.focus(),I("")};return l(L,{children:r?l(Tt,{baseColor:g.skeletonBackground,highlightColor:g.skeletonElement,children:w(Mc,{...e,children:[l(kc,{type:"search",...e}),l($e,{count:1,style:Kb})]})}):w(Mc,{expandable:A,disabled:d,borderTable:m,...e,children:[t==="fluid"&&l(Ub,{...e,children:o}),t==="fluid"?w(Qb,{expandable:A,...e,children:[l(Gc,{...e,children:Qs}),y.length>0&&l(Lc,{onClick:S,...e,children:Xr})]}):w(L,{children:[l(Gc,{expandable:A,onClick:P,...e,children:Qs}),y.length>0&&l(Lc,{disabled:d,readOnly:f,onClick:S,...e,children:Xr})]}),l(kc,{expandable:A,type:"text",kind:t,borderTable:m,ref:b,size:n,value:y,name:s,disabled:d,readOnly:t==="expandable"&&!A?!0:f,id:c,loading:r,ContainedListMenu:p,onChange:E,placeholder:u,autoComplete:"off",...v})]})})},qb={small:".1em",large:".5em",medium:".4em"},e2={control:(e,t)=>({...e,fontSize:"15px",cursor:t.selectProps.loading?"wait":"pointer",backgroundColor:t.selectProps.readonly?"transparent":g.field01,fontfamily:"IBM Plex Sans",padding:t.selectProps.size&&t.selectProps.kind==="default"?qb[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 ${g.supportError}`:"1px solid transparent",borderBottom:(t.selectProps.kind==="default"||t.selectProps.kind==="little")&&t.selectProps.error?`1px solid ${g.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":g.fieldHover01,border:"1px solid transparent"},"&:focus-within":{border:t.selectProps.kind==="fluid"?"1px solid transparent":`1px solid ${g.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:g.textPrimary,display:"flex",justifyContent:"start",alignItems:"center",background:g.field01,zIndex:5,"&:active":{},"&:hover":{width:"100%",background:"#ADC3D7"}}),placeholder:e=>({...e,color:g.textPrimary,backgroudColor:g.field01,padding:".1em","&:active":{color:g.textPrimary},"&:hover":{color:g.textPrimary}}),multiValue:e=>({...e,color:g.textPrimary}),singleValue:e=>({...e,color:g.textPrimary}),container:(e,t)=>({...e,borderRadius:t.selectProps.noRadius?"0px":"8px",width:"100%","&:active":{},"&:hover":{}}),menu:e=>({...e,background:g.field01,color:g.textPrimary,position:"absolute",top:"0",right:"0px",left:"0px",border:`2px solid ${g.borderStrong01}`,zIndex:5,marginTop:"50px"}),input:e=>({...e,color:"theme.textPrimary","&:focus":{boxShadow:"none",borderBottom:`1px solid ${g.borderStrong01}`}}),dropdownIndicator:e=>({...e,color:g.textPrimary,padding:"4px",display:"flex",alignItems:"center",justifyContent:"center","& > svg":{width:"26px",height:"16px",color:g.iconPrimary}})},Rc=C.div`
|
|
1682
1682
|
font-size: 12px;
|
|
1683
1683
|
font-style: normal;
|
|
1684
1684
|
min-width: 300px;
|