@decidables/decidables-elements 0.4.6 → 0.4.7

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.
@@ -431,9 +431,9 @@ const Pr=t=>t??G;class Nr extends Sr{static get properties(){return{disabled:{at
431
431
  <slot></slot>
432
432
  </label>
433
433
  <div class="range">
434
- <input type="range" id="slider" min=${Pr(this.min)} max=${Pr(this.max)} step=${Pr(this.step)} .value=${this.value} @change=${this.changed.bind(this)} @input=${this.inputted.bind(this)}>
434
+ <input ?disabled=${this.disabled} type="range" id="slider" min=${Pr(this.min)} max=${Pr(this.max)} step=${Pr(this.step)} .value=${this.value} @change=${this.changed.bind(this)} @input=${this.inputted.bind(this)}>
435
435
  </div>
436
- <decidables-spinner min=${Pr(this.min)} max=${Pr(this.max)} step=${Pr(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}></decidables-spinner>
436
+ <decidables-spinner ?disabled=${this.disabled} min=${Pr(this.min)} max=${Pr(this.max)} step=${Pr(this.step)} .value=${this.value} @input=${this.inputted.bind(this)}></decidables-spinner>
437
437
  `}}customElements.define("decidables-slider",Nr);class Rr extends Sr{static get properties(){return{disabled:{attribute:"disabled",type:Boolean,reflect:!0},max:{attribute:"max",type:Number,reflect:!0},min:{attribute:"min",type:Number,reflect:!0},step:{attribute:"step",type:Number,reflect:!0},value:{attribute:"value",type:Number,reflect:!0}}}constructor(){super(),this.disabled=!1,this.max=void 0,this.min=void 0,this.step=void 0,this.value=void 0}inputted(t){this.value=t.target.value}static get styles(){return[super.styles,a`
438
438
  :host {
439
439
  ---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);