kwant-ui 3.47.1-dev.4 → 3.47.1-dev.5

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 CHANGED
@@ -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 {