kwant-ui 3.13.9 → 4.1.1-alpha.0

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
@@ -3626,7 +3626,7 @@ import{jsx as e,jsxs as t}from"react/jsx-runtime";import c,{css as r}from"styled
3626
3626
  }
3627
3627
  }
3628
3628
  }
3629
- `;function Ha(t){const{label:c,activeOption:r,placeholder:n="Enter",editMode:a,data:s=[],onSelect:i,allowSearch:o=!0,disableEdit:v,selectProps:p}=t,[g,m]=h(!1),[u,d]=h(""),[_,w]=h(!1);l((()=>{r?.label&&d(r?.label)}),[r,g]),l((()=>{u&&m(!0)}),[u]);return e(xa,{children:e(fa,{editActive:!v&&_,setEditActive:w,onMouseLeaveFromInput:()=>{},disableHover:!0,editMode:!v&&a,label:c,value:r?.label,disableEdit:v,children:e("div",{onMouseLeave:()=>{d(r?.label),w(!1)},children:e(qc,{...p,onSelect:e=>{i(e),w(!1)},onInputChange:e=>{d(e.target.value)},width:"100%",placeholder:n,allowInput:o,offsetTop:"48px",searchable:!1,data:s,value:r?.label,inputProps:{id:"select-input"},required:!1})})})})}const Ma=c.div`
3629
+ `;function Ha(t){const{label:c,activeOption:r,placeholder:n="Enter",editMode:a,data:s=[],onSelect:i,allowSearch:o=!0,disableEdit:v,selectProps:p}=t,[g,m]=h(!1),[u,d]=h(""),[_,w]=h(!1);l((()=>{r?.label&&d(r?.label)}),[r,g]),l((()=>{u&&m(!0)}),[u]);return e(xa,{children:e(fa,{editActive:!v&&_,setEditActive:w,onMouseLeaveFromInput:()=>{},disableHover:!0,editMode:!v&&a,label:c,value:r?.label,disableEdit:v,children:e("div",{onMouseLeave:()=>{d(r?.label),w(!1)},children:e(qc,{...p,onSelect:e=>{i(e),w(!1)},onInputChange:e=>{d(e.target.value)},width:"100%",placeholder:n,allowInput:o,offsetTop:"48px",searchable:!1,data:s,value:r?.label,inputProps:{id:"select-input"}})})})})}const Ma=c.div`
3630
3630
  width: 100%;
3631
3631
 
3632
3632
  .hover-input-container {