kwant-ui 3.47.1-dev.1 → 3.47.1-dev.3
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.
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1891,7 +1891,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
|
|
|
1891
1891
|
align-items: center;
|
|
1892
1892
|
justify-content: center;
|
|
1893
1893
|
`,Dr="480px",Ir="right",Tr=.5,Nr=e(Cr,{}),Fr=r=>{const{children:n,onClose:a,open:c,width:i=Dr,position:o=Ir,loading:s,overlayOpacity:l=Tr,customLoader:h=Nr,portal:v}=r,p=jt(a,{ignore:[".sd",".rmdp-day"],event:"mousedown"}),u=v?E:e=>e;return c?u(e(Br,{children:t(kr,{ref:p,width:i,position:o,children:[s&&e(Sr,{absolutePositioned:!0,bgOpacity:l,children:h}),n]})}),document.body):null},Qr=e=>`"${e}"`,$r=n.section`
|
|
1894
|
-
height:
|
|
1894
|
+
height: 100dvh;
|
|
1895
1895
|
display: grid;
|
|
1896
1896
|
grid-template-rows: auto 1fr auto;
|
|
1897
1897
|
grid-template-areas:
|
|
@@ -3811,7 +3811,7 @@ import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import n,{css as
|
|
|
3811
3811
|
}
|
|
3812
3812
|
}
|
|
3813
3813
|
}
|
|
3814
|
-
`;function wi(t){const{label:r,activeOption:n,placeholder:a="Enter",editMode:c,data:i=[],onSelect:o,allowSearch:s=!0,disableEdit:h,selectProps:v,tooltipContent:u,tooltipPosition:g}=t,[m,d]=p(!1),[f,_]=p(""),[w,b]=p(!1);l((()=>{n?.label&&_(n?.label)}),[n,m]),l((()=>{f&&d(!0)}),[f]);return e(_i,{children:e(mi,{editActive:!h&&w,setEditActive:b,onMouseLeaveFromInput:()=>{},disableHover:!0,editMode:!h&&c,label:r,value:n?.label,disableEdit:h,tooltipContent:u,tooltipPosition:g,children:e("div",{onMouseLeave:()=>{_(n?.label),b(!1)},children:e(Zn,{...v,onSelect:e=>{o(e),b(!1)},onInputChange:e=>{_(e.target.value)},width:"100%",placeholder:a,allowInput:s,offsetTop:"48px",searchable:!1,data:i,selectedValue:n?.value,inputProps:{id:"select-input"},required:!1})})})})}const bi=n.div`
|
|
3814
|
+
`;function wi(t){const{label:r,activeOption:n,placeholder:a="Enter",editMode:c,data:i=[],onSelect:o,allowSearch:s=!0,disableEdit:h,selectProps:v,tooltipContent:u,tooltipPosition:g}=t,[m,d]=p(!1),[f,_]=p(""),[w,b]=p(!1);l((()=>{n?.label&&_(n?.label)}),[n,m]),l((()=>{f&&d(!0)}),[f]);return e(_i,{children:e(mi,{editActive:!h&&w,setEditActive:b,onMouseLeaveFromInput:()=>{},disableHover:!0,editMode:!h&&c,label:r,value:n?.label,disableEdit:h,tooltipContent:u,tooltipPosition:g,children:e("div",{onMouseLeave:()=>{_(n?.label),b(!1)},children:e(Zn,{...v,onSelect:e=>{o(e),e&&b(!1)},onInputChange:e=>{_(e.target.value)},width:"100%",placeholder:a,allowInput:s,offsetTop:"48px",searchable:!1,data:i,selectedValue:n?.value,inputProps:{id:"select-input"},required:!1})})})})}const bi=n.div`
|
|
3815
3815
|
width: 100%;
|
|
3816
3816
|
|
|
3817
3817
|
.hover-input-container {
|