@ni/ok-components 1.3.0 → 1.3.1
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/all-components-bundle.js +15 -2
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5 -4
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +234 -234
- package/dist/custom-elements.md +50 -50
- package/package.json +3 -3
|
@@ -21423,7 +21423,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21423
21423
|
fill: ${borderColor};
|
|
21424
21424
|
}
|
|
21425
21425
|
|
|
21426
|
-
:host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
|
|
21426
|
+
:host(.checked:not(.indeterminate):not([appearance-indeterminate])) slot[name='checked-indicator'] {
|
|
21427
21427
|
display: contents;
|
|
21428
21428
|
}
|
|
21429
21429
|
|
|
@@ -21437,7 +21437,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21437
21437
|
overflow: visible;
|
|
21438
21438
|
}
|
|
21439
21439
|
|
|
21440
|
-
:host(.indeterminate) slot[name='indeterminate-indicator']
|
|
21440
|
+
:host(.indeterminate) slot[name='indeterminate-indicator'],
|
|
21441
|
+
:host([appearance-indeterminate]) slot[name='indeterminate-indicator'] {
|
|
21441
21442
|
display: contents;
|
|
21442
21443
|
}
|
|
21443
21444
|
|
|
@@ -21538,6 +21539,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21538
21539
|
* A nimble-styled checkbox control.
|
|
21539
21540
|
*/
|
|
21540
21541
|
class Checkbox extends mixinErrorPattern(Checkbox$1) {
|
|
21542
|
+
constructor() {
|
|
21543
|
+
super(...arguments);
|
|
21544
|
+
/**
|
|
21545
|
+
* @public
|
|
21546
|
+
* @remarks
|
|
21547
|
+
* HTML Attribute: appearance-indeterminate
|
|
21548
|
+
*/
|
|
21549
|
+
this.appearanceIndeterminate = false;
|
|
21550
|
+
}
|
|
21541
21551
|
/**
|
|
21542
21552
|
* @internal
|
|
21543
21553
|
*/
|
|
@@ -21549,6 +21559,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21549
21559
|
__decorate([
|
|
21550
21560
|
attr({ attribute: 'tabindex', converter: nullableNumberConverter })
|
|
21551
21561
|
], Checkbox.prototype, "tabIndex", void 0);
|
|
21562
|
+
__decorate([
|
|
21563
|
+
attr({ attribute: 'appearance-indeterminate', mode: 'boolean' })
|
|
21564
|
+
], Checkbox.prototype, "appearanceIndeterminate", void 0);
|
|
21552
21565
|
const nimbleCheckbox = Checkbox.compose({
|
|
21553
21566
|
baseName: 'checkbox',
|
|
21554
21567
|
baseClass: Checkbox$1,
|