@warp-ds/elements 2.10.0-next.6 → 2.10.0-next.8

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 (32) hide show
  1. package/dist/custom-elements.json +10 -4
  2. package/dist/docs/icon/api.md +8 -2
  3. package/dist/docs/icon/icon.md +8 -2
  4. package/dist/packages/affix/affix.js +4 -4
  5. package/dist/packages/affix/affix.js.map +2 -2
  6. package/dist/packages/alert/alert.js +2 -2
  7. package/dist/packages/alert/alert.js.map +2 -2
  8. package/dist/packages/attention/attention.js +5 -5
  9. package/dist/packages/attention/attention.js.map +2 -2
  10. package/dist/packages/datepicker/datepicker.js.map +2 -2
  11. package/dist/packages/expandable/expandable.js +4 -4
  12. package/dist/packages/expandable/expandable.js.map +2 -2
  13. package/dist/packages/icon/icon.d.ts +3 -1
  14. package/dist/packages/icon/icon.js +2 -2
  15. package/dist/packages/icon/icon.js.map +2 -2
  16. package/dist/packages/modal-header/modal-header.js +1 -1
  17. package/dist/packages/modal-header/modal-header.js.map +2 -2
  18. package/dist/packages/pagination/pagination.js +1 -1
  19. package/dist/packages/pagination/pagination.js.map +2 -2
  20. package/dist/packages/pill/pill.js +2 -2
  21. package/dist/packages/pill/pill.js.map +2 -2
  22. package/dist/packages/select/select.js +4 -4
  23. package/dist/packages/select/select.js.map +2 -2
  24. package/dist/packages/slider-thumb/slider-thumb.js +1 -1
  25. package/dist/packages/slider-thumb/slider-thumb.js.map +3 -3
  26. package/dist/packages/step/step.js +3 -3
  27. package/dist/packages/step/step.js.map +2 -2
  28. package/dist/packages/toast/toast.js +3 -3
  29. package/dist/packages/toast/toast.js.map +2 -2
  30. package/dist/web-types.json +3 -3
  31. package/eik/index.js +1 -1
  32. package/package.json +1 -1
@@ -2685,7 +2685,7 @@ Please compile your catalog first.
2685
2685
  left: anchor(--polyfilled-thumb left);
2686
2686
  margin-left: 38px;
2687
2687
  }
2688
- `,await i({roots:[this.shadowRoot],elements:[this.anchorPositioningStyleElement]})}catch(i){console.error(new Error("Error registering the CSS anchor positioning polyfill. The UI will look broken.",{cause:i}))}}let e=window.navigator.userAgent;/WebKit/.test(e)&&!/Chrome/.test(e)&&this.tooltipTarget&&this.tooltipTarget.style.setProperty("--transform-offset","var(--w-slider-thumb-size, 28px)"),m(this,d,ce).call(this)}get boundaryValue(){return this.slot==="from"?this.min:this.max}get textFieldDisplayValue(){var e;return this._inputHasFocus?this.value!==""?this.value:(e=this.range)!=null&&e.value?Math.min(Math.max(Number(this.range.value),Number(this.min)+1),Number(this.max)-1).toString():"":this.value}get tooltipDisplayValue(){var t,a;let e=0;return this.tooltipFormatter?e=this.tooltipFormatter(this.value,this.slot):this.valueFormatter?e=this.valueFormatter(this.value,this.slot):this.value===""?e=(a=(t=this.range)==null?void 0:t.value)!=null?a:this.boundaryValue:e=this.value||0,e}get ariaDescriptionText(){let e="",t=this.ariaDescription||"",a=this.value==="";return this.openEnded&&a&&(e=this.slot==="from"?C.t({id:"slider.placeholder.from",message:"Min"}):C.t({id:"slider.placeholder.to",message:"Max"})),e?`${e}, ${t}`:t}updated(e){e.has("openEnded")&&this.openEnded&&!this.placeholder&&(this.slot==="to"||this.slot===""?this.placeholder=C.t({id:"slider.placeholder.to",message:"Max",comment:"Max as in short for Maximum"}):this.slot==="from"&&(this.placeholder=C.t({id:"slider.placeholder.from",message:"Min",comment:"Min as in short for Minimum"}))),e.has("value")&&(typeof re(this,T)=="undefined"&&typeof this.value!="undefined"&&oe(this,T,this.value),this.setValue(this.value),m(this,d,ce).call(this))}render(){var t,a,i,n;let e=this.placeholder&&!this.value;return q`
2688
+ `,await i({roots:[this.shadowRoot],elements:[this.anchorPositioningStyleElement]})}catch(i){console.error(new Error("Error registering the CSS anchor positioning polyfill. The UI will look broken.",{cause:i}))}}let e=window.navigator.userAgent;/WebKit/.test(e)&&!/Chrome/.test(e)&&this.tooltipTarget&&this.tooltipTarget.style.setProperty("--transform-offset","var(--w-slider-thumb-size, 28px)"),m(this,d,ce).call(this)}get boundaryValue(){return this.slot==="from"?this.min:this.max}get textFieldDisplayValue(){var e;return this._inputHasFocus?this.value!==""?this.value:(e=this.range)!=null&&e.value?Math.min(Math.max(Number(this.range.value),Number(this.min)+1),Number(this.max)-1).toString():"":this.value}get tooltipDisplayValue(){var t,a;let e=0;return this.tooltipFormatter?e=this.tooltipFormatter(this.value,this.slot):this.valueFormatter?e=this.valueFormatter(this.value,this.slot):this.value===""?e=(a=(t=this.range)==null?void 0:t.value)!=null?a:this.boundaryValue:e=this.value||0,e}get ariaDescriptionText(){let e="",t=this.ariaDescription||"",a=this.value==="";return this.openEnded&&a&&(e=this.slot==="from"?C.t({id:"slider.placeholder.from",message:"Min"}):C.t({id:"slider.placeholder.to",message:"Max"})),e?`${e}, ${t}`:t}updated(e){if(e.has("openEnded")&&this.openEnded&&!this.placeholder&&(this.slot==="to"||this.slot===""?this.placeholder=C.t({id:"slider.placeholder.to",message:"Max",comment:"Max as in short for Maximum"}):this.slot==="from"&&(this.placeholder=C.t({id:"slider.placeholder.from",message:"Min",comment:"Min as in short for Minimum"}))),e.has("value")){typeof re(this,T)=="undefined"&&typeof this.value!="undefined"&&oe(this,T,this.value),this.setValue(this.value),m(this,d,ce).call(this);let t=e.get("value");this.value===""&&t&&this.dispatchEvent(new CustomEvent("thumbreset",{bubbles:!0}))}}render(){var t,a,i,n;let e=this.placeholder&&!this.value;return q`
2689
2689
  <div class="w-slider-thumb">
2690
2690
  ${"anchorName"in document.documentElement.style?L:q`<div class="polyfill-range">
2691
2691
  <div class="polyfill-active-range"></div>