@ni/nimble-components 35.8.0 → 35.9.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.
@@ -21421,7 +21421,7 @@ so this becomes the fallback color for the slot */ ''}
21421
21421
  fill: ${borderColor};
21422
21422
  }
21423
21423
 
21424
- :host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
21424
+ :host(.checked:not(.indeterminate):not([appearance-indeterminate])) slot[name='checked-indicator'] {
21425
21425
  display: contents;
21426
21426
  }
21427
21427
 
@@ -21435,7 +21435,8 @@ so this becomes the fallback color for the slot */ ''}
21435
21435
  overflow: visible;
21436
21436
  }
21437
21437
 
21438
- :host(.indeterminate) slot[name='indeterminate-indicator'] {
21438
+ :host(.indeterminate) slot[name='indeterminate-indicator'],
21439
+ :host([appearance-indeterminate]) slot[name='indeterminate-indicator'] {
21439
21440
  display: contents;
21440
21441
  }
21441
21442
 
@@ -21536,6 +21537,15 @@ so this becomes the fallback color for the slot */ ''}
21536
21537
  * A nimble-styled checkbox control.
21537
21538
  */
21538
21539
  class Checkbox extends mixinErrorPattern(Checkbox$1) {
21540
+ constructor() {
21541
+ super(...arguments);
21542
+ /**
21543
+ * @public
21544
+ * @remarks
21545
+ * HTML Attribute: appearance-indeterminate
21546
+ */
21547
+ this.appearanceIndeterminate = false;
21548
+ }
21539
21549
  /**
21540
21550
  * @internal
21541
21551
  */
@@ -21547,6 +21557,9 @@ so this becomes the fallback color for the slot */ ''}
21547
21557
  __decorate([
21548
21558
  attr({ attribute: 'tabindex', converter: nullableNumberConverter })
21549
21559
  ], Checkbox.prototype, "tabIndex", void 0);
21560
+ __decorate([
21561
+ attr({ attribute: 'appearance-indeterminate', mode: 'boolean' })
21562
+ ], Checkbox.prototype, "appearanceIndeterminate", void 0);
21550
21563
  const nimbleCheckbox = Checkbox.compose({
21551
21564
  baseName: 'checkbox',
21552
21565
  baseClass: Checkbox$1,