@sankhyalabs/ezui 1.1.85 → 1.1.88

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.
Files changed (43) hide show
  1. package/dist/cjs/ez-button_11.cjs.entry.js +22 -12
  2. package/dist/cjs/ez-calendar.cjs.entry.js +1 -1
  3. package/dist/cjs/ez-collapsible-box_7.cjs.entry.js +1 -1
  4. package/dist/cjs/ez-combo-box.cjs.entry.js +1 -1
  5. package/dist/cjs/ez-form.cjs.entry.js +33 -2
  6. package/dist/cjs/ez-popover.cjs.entry.js +1 -1
  7. package/dist/cjs/ez-time-input.cjs.entry.js +1 -1
  8. package/dist/cjs/ezui.cjs.js +1 -1
  9. package/dist/cjs/{index-789fa661.js → index-a92e6d04.js} +1 -0
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/collection/components/ez-button/ez-button.js +19 -2
  12. package/dist/collection/components/ez-form/ez-form.js +17 -1
  13. package/dist/collection/components/ez-form/structure/FormSheetMetadata.js +16 -1
  14. package/dist/collection/components/ez-grid/ez-grid.js +3 -4
  15. package/dist/collection/components/ez-icon/ez-icon.css +133 -1
  16. package/dist/collection/components/ez-icon/ez-icon.js +34 -6
  17. package/dist/custom-elements/index.js +74 -33
  18. package/dist/esm/ez-button_11.entry.js +22 -12
  19. package/dist/esm/ez-calendar.entry.js +1 -1
  20. package/dist/esm/ez-collapsible-box_7.entry.js +1 -1
  21. package/dist/esm/ez-combo-box.entry.js +1 -1
  22. package/dist/esm/ez-form.entry.js +33 -2
  23. package/dist/esm/ez-popover.entry.js +1 -1
  24. package/dist/esm/ez-time-input.entry.js +1 -1
  25. package/dist/esm/ezui.js +1 -1
  26. package/dist/esm/{index-461f1302.js → index-4fb1605f.js} +1 -1
  27. package/dist/esm/loader.js +1 -1
  28. package/dist/ezui/ezui.esm.js +1 -1
  29. package/dist/ezui/{p-88e84ff2.entry.js → p-27a35580.entry.js} +1 -1
  30. package/dist/ezui/{p-8b7a4a16.entry.js → p-3e79877f.entry.js} +1 -1
  31. package/dist/ezui/p-4e08b842.entry.js +1 -0
  32. package/dist/ezui/{p-b1d7488d.entry.js → p-535771b6.entry.js} +1 -1
  33. package/dist/ezui/{p-cc448554.entry.js → p-826b6c4d.entry.js} +1 -1
  34. package/dist/ezui/{p-ca6240ff.entry.js → p-85a056d7.entry.js} +19 -19
  35. package/dist/ezui/{p-d93a3e2b.entry.js → p-eefc1f9d.entry.js} +1 -1
  36. package/dist/ezui/{p-7c4d4946.js → p-f0137439.js} +1 -1
  37. package/dist/types/components/ez-button/ez-button.d.ts +4 -0
  38. package/dist/types/components/ez-form/ez-form.d.ts +4 -2
  39. package/dist/types/components/ez-form/structure/FormSheetMetadata.d.ts +3 -0
  40. package/dist/types/components/ez-icon/ez-icon.d.ts +6 -0
  41. package/dist/types/components.d.ts +16 -0
  42. package/package.json +2 -2
  43. package/dist/ezui/p-9f98c4d1.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as i,h as o,H as s,g as e}from"./p-7c101b34.js";import"./p-7c4d4946.js";import{F as r}from"./p-ddd0ef12.js";let h=class{constructor(o){t(this,o),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this._firstRender=!0,this.autoClose=!0,this.top="0px",this.left="0px",this.bottom="0px",this.right="0px",this.boxWidth="fit-content"}dispatchVisibilityChange(t,i){t!=i&&this.ezVisibilityChange.emit(t)}async updatePosition(t=this.top,i=this.left,o=this.bottom,s=this.right){r.updateFloatPosition(this._box,this._container,{autoClose:this.autoClose,top:t,left:i,bottom:o,right:s,innerClickTest:(t,i)=>!!t.contains(i)||!(!t.shadowRoot||!t.shadowRoot.contains(i))||((t=this._host).lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(i):t.contains(i))})}async show(t=this.top,i=this.left,o=this.bottom,s=this.right){this._floatingID=r.float(this._box,this._container,{autoClose:this.autoClose,top:t,left:i,bottom:o,right:s,innerClickTest:(t,i)=>!!t.contains(i)||!(!t.shadowRoot||!t.shadowRoot.contains(i))||((t=this._host).lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(i):t.contains(i))}),this.opened=!0}async hide(){void 0!==this._floatingID&&(r.close(this._floatingID),this._floatingID=void 0,this.opened=!1)}componentDidRender(){this._firstRender&&(this._box.remove(),this._firstRender=!1)}render(){return o(s,null,o("section",{ref:t=>this._container=t},o("div",{class:"box "+("fit-content"===this.boxWidth?"box--fit-content":"box--full-width"),ref:t=>this._box=t},o("slot",null))))}get _host(){return e(this)}static get watchers(){return{opened:["dispatchVisibilityChange"]}}};h.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--more-visible, 1);position:relative;display:flex;user-select:none;width:100%}.box{z-index:var(--ez-popover__box--z-index);display:flex;flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.box--fit-content{width:fit-content}.box--full-width{width:100%}";export{h as ez_popover}
1
+ import{r as t,c as i,h as o,H as s,g as e}from"./p-7c101b34.js";import"./p-f0137439.js";import{F as r}from"./p-ddd0ef12.js";let h=class{constructor(o){t(this,o),this.ezVisibilityChange=i(this,"ezVisibilityChange",7),this._firstRender=!0,this.autoClose=!0,this.top="0px",this.left="0px",this.bottom="0px",this.right="0px",this.boxWidth="fit-content"}dispatchVisibilityChange(t,i){t!=i&&this.ezVisibilityChange.emit(t)}async updatePosition(t=this.top,i=this.left,o=this.bottom,s=this.right){r.updateFloatPosition(this._box,this._container,{autoClose:this.autoClose,top:t,left:i,bottom:o,right:s,innerClickTest:(t,i)=>!!t.contains(i)||!(!t.shadowRoot||!t.shadowRoot.contains(i))||((t=this._host).lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(i):t.contains(i))})}async show(t=this.top,i=this.left,o=this.bottom,s=this.right){this._floatingID=r.float(this._box,this._container,{autoClose:this.autoClose,top:t,left:i,bottom:o,right:s,innerClickTest:(t,i)=>!!t.contains(i)||!(!t.shadowRoot||!t.shadowRoot.contains(i))||((t=this._host).lastElementChild.shadowRoot?t.lastElementChild.shadowRoot.contains(i):t.contains(i))}),this.opened=!0}async hide(){void 0!==this._floatingID&&(r.close(this._floatingID),this._floatingID=void 0,this.opened=!1)}componentDidRender(){this._firstRender&&(this._box.remove(),this._firstRender=!1)}render(){return o(s,null,o("section",{ref:t=>this._container=t},o("div",{class:"box "+("fit-content"===this.boxWidth?"box--fit-content":"box--full-width"),ref:t=>this._box=t},o("slot",null))))}get _host(){return e(this)}static get watchers(){return{opened:["dispatchVisibilityChange"]}}};h.style=":host{--ez-popover__box--border-radius:var(--border--radius-medium, 12px);--ez-popover__box--box-shadow:var(--shadow, 0px 0px 16px 0px #000);--ez-popover__box--background-color:var(--background--xlight, #fff);--ez-popover__box--z-index:var(--more-visible, 1);position:relative;display:flex;user-select:none;width:100%}.box{z-index:var(--ez-popover__box--z-index);display:flex;flex-direction:column;height:fit-content;background-color:var(--ez-popover__box--background-color);border-radius:var(--ez-popover__box--border-radius);box-shadow:var(--ez-popover__box--box-shadow)}.box--fit-content{width:fit-content}.box--full-width{width:100%}";export{h as ez_popover}