@ni/ok-components 1.3.0 → 1.3.2
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 +24 -2
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +14 -4
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +118 -118
- package/dist/custom-elements.md +26 -26
- package/package.json +3 -3
|
@@ -14903,6 +14903,15 @@
|
|
|
14903
14903
|
|
|
14904
14904
|
const styles$1x = css `
|
|
14905
14905
|
${display$2('contents')}
|
|
14906
|
+
|
|
14907
|
+
:host {
|
|
14908
|
+
color-scheme: light;
|
|
14909
|
+
}
|
|
14910
|
+
|
|
14911
|
+
:host([theme='dark']),
|
|
14912
|
+
:host([theme='color']) {
|
|
14913
|
+
color-scheme: dark;
|
|
14914
|
+
}
|
|
14906
14915
|
`;
|
|
14907
14916
|
|
|
14908
14917
|
/**
|
|
@@ -21423,7 +21432,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21423
21432
|
fill: ${borderColor};
|
|
21424
21433
|
}
|
|
21425
21434
|
|
|
21426
|
-
:host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
|
|
21435
|
+
:host(.checked:not(.indeterminate):not([appearance-indeterminate])) slot[name='checked-indicator'] {
|
|
21427
21436
|
display: contents;
|
|
21428
21437
|
}
|
|
21429
21438
|
|
|
@@ -21437,7 +21446,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21437
21446
|
overflow: visible;
|
|
21438
21447
|
}
|
|
21439
21448
|
|
|
21440
|
-
:host(.indeterminate) slot[name='indeterminate-indicator']
|
|
21449
|
+
:host(.indeterminate) slot[name='indeterminate-indicator'],
|
|
21450
|
+
:host([appearance-indeterminate]) slot[name='indeterminate-indicator'] {
|
|
21441
21451
|
display: contents;
|
|
21442
21452
|
}
|
|
21443
21453
|
|
|
@@ -21538,6 +21548,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21538
21548
|
* A nimble-styled checkbox control.
|
|
21539
21549
|
*/
|
|
21540
21550
|
class Checkbox extends mixinErrorPattern(Checkbox$1) {
|
|
21551
|
+
constructor() {
|
|
21552
|
+
super(...arguments);
|
|
21553
|
+
/**
|
|
21554
|
+
* @public
|
|
21555
|
+
* @remarks
|
|
21556
|
+
* HTML Attribute: appearance-indeterminate
|
|
21557
|
+
*/
|
|
21558
|
+
this.appearanceIndeterminate = false;
|
|
21559
|
+
}
|
|
21541
21560
|
/**
|
|
21542
21561
|
* @internal
|
|
21543
21562
|
*/
|
|
@@ -21549,6 +21568,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21549
21568
|
__decorate([
|
|
21550
21569
|
attr({ attribute: 'tabindex', converter: nullableNumberConverter })
|
|
21551
21570
|
], Checkbox.prototype, "tabIndex", void 0);
|
|
21571
|
+
__decorate([
|
|
21572
|
+
attr({ attribute: 'appearance-indeterminate', mode: 'boolean' })
|
|
21573
|
+
], Checkbox.prototype, "appearanceIndeterminate", void 0);
|
|
21552
21574
|
const nimbleCheckbox = Checkbox.compose({
|
|
21553
21575
|
baseName: 'checkbox',
|
|
21554
21576
|
baseClass: Checkbox$1,
|