@ni/nimble-angular 20.6.1 → 20.7.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/directives/menu-button/nimble-menu-button.directive.d.ts +4 -2
- package/directives/toggle-button/nimble-toggle-button.directive.d.ts +4 -2
- package/esm2020/directives/combobox/nimble-combobox-control-value-accessor.directive.mjs +4 -2
- package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +11 -2
- package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +11 -2
- package/fesm2015/ni-nimble-angular.mjs +23 -3
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +23 -3
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2019,7 +2019,9 @@ class NimbleComboboxControlValueAccessorDirective {
|
|
|
2019
2019
|
else {
|
|
2020
2020
|
this._displayTextToOptionsMap.set(option.text, [option]);
|
|
2021
2021
|
}
|
|
2022
|
-
this.
|
|
2022
|
+
if (modelValue === this._modelValue) {
|
|
2023
|
+
this.updateDisplayValue();
|
|
2024
|
+
}
|
|
2023
2025
|
}
|
|
2024
2026
|
/**
|
|
2025
2027
|
* @internal
|
|
@@ -8745,6 +8747,12 @@ class NimbleMenuButtonDirective {
|
|
|
8745
8747
|
set appearance(value) {
|
|
8746
8748
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
8747
8749
|
}
|
|
8750
|
+
get appearanceVariant() {
|
|
8751
|
+
return this.elementRef.nativeElement.appearanceVariant;
|
|
8752
|
+
}
|
|
8753
|
+
set appearanceVariant(value) {
|
|
8754
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
8755
|
+
}
|
|
8748
8756
|
get disabled() {
|
|
8749
8757
|
return this.elementRef.nativeElement.disabled;
|
|
8750
8758
|
}
|
|
@@ -8769,7 +8777,7 @@ class NimbleMenuButtonDirective {
|
|
|
8769
8777
|
}
|
|
8770
8778
|
}
|
|
8771
8779
|
NimbleMenuButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMenuButtonDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8772
|
-
NimbleMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMenuButtonDirective, selector: "nimble-menu-button", inputs: { appearance: "appearance", disabled: "disabled", contentHidden: ["content-hidden", "contentHidden"], open: "open" }, ngImport: i0 });
|
|
8780
|
+
NimbleMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMenuButtonDirective, selector: "nimble-menu-button", inputs: { appearance: "appearance", appearanceVariant: ["appearance-variant", "appearanceVariant"], disabled: "disabled", contentHidden: ["content-hidden", "contentHidden"], open: "open" }, ngImport: i0 });
|
|
8773
8781
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMenuButtonDirective, decorators: [{
|
|
8774
8782
|
type: Directive,
|
|
8775
8783
|
args: [{
|
|
@@ -8777,6 +8785,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
8777
8785
|
}]
|
|
8778
8786
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { appearance: [{
|
|
8779
8787
|
type: Input
|
|
8788
|
+
}], appearanceVariant: [{
|
|
8789
|
+
type: Input,
|
|
8790
|
+
args: ['appearance-variant']
|
|
8780
8791
|
}], disabled: [{
|
|
8781
8792
|
type: Input
|
|
8782
8793
|
}], contentHidden: [{
|
|
@@ -10417,6 +10428,12 @@ class NimbleToggleButtonDirective {
|
|
|
10417
10428
|
set appearance(value) {
|
|
10418
10429
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
10419
10430
|
}
|
|
10431
|
+
get appearanceVariant() {
|
|
10432
|
+
return this.elementRef.nativeElement.appearanceVariant;
|
|
10433
|
+
}
|
|
10434
|
+
set appearanceVariant(value) {
|
|
10435
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
10436
|
+
}
|
|
10420
10437
|
get disabled() {
|
|
10421
10438
|
return this.elementRef.nativeElement.disabled;
|
|
10422
10439
|
}
|
|
@@ -10441,7 +10458,7 @@ class NimbleToggleButtonDirective {
|
|
|
10441
10458
|
}
|
|
10442
10459
|
}
|
|
10443
10460
|
NimbleToggleButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleToggleButtonDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
10444
|
-
NimbleToggleButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleToggleButtonDirective, selector: "nimble-toggle-button", inputs: { appearance: "appearance", disabled: "disabled", contentHidden: ["content-hidden", "contentHidden"], checked: "checked" }, ngImport: i0 });
|
|
10461
|
+
NimbleToggleButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleToggleButtonDirective, selector: "nimble-toggle-button", inputs: { appearance: "appearance", appearanceVariant: ["appearance-variant", "appearanceVariant"], disabled: "disabled", contentHidden: ["content-hidden", "contentHidden"], checked: "checked" }, ngImport: i0 });
|
|
10445
10462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleToggleButtonDirective, decorators: [{
|
|
10446
10463
|
type: Directive,
|
|
10447
10464
|
args: [{
|
|
@@ -10449,6 +10466,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
10449
10466
|
}]
|
|
10450
10467
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { appearance: [{
|
|
10451
10468
|
type: Input
|
|
10469
|
+
}], appearanceVariant: [{
|
|
10470
|
+
type: Input,
|
|
10471
|
+
args: ['appearance-variant']
|
|
10452
10472
|
}], disabled: [{
|
|
10453
10473
|
type: Input
|
|
10454
10474
|
}], contentHidden: [{
|