@ni/nimble-angular 8.4.0 → 8.4.3
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/README.md +3 -1
- package/bundles/ni-nimble-angular.umd.js +10 -0
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/combobox/nimble-combobox-control-value-accessor.directive.d.ts +8 -0
- package/esm2015/directives/combobox/nimble-combobox-control-value-accessor.directive.js +11 -1
- package/fesm2015/ni-nimble-angular.js +10 -0
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -53,7 +53,9 @@ The steps to use components from Nimble Angular are similar to using components
|
|
|
53
53
|
@import '~@ni/nimble-angular/styles/tokens';
|
|
54
54
|
|
|
55
55
|
.my-element {
|
|
56
|
-
font-family: $ni-nimble-font-family
|
|
56
|
+
font-family: $ni-nimble-body-font-family;
|
|
57
|
+
font-size: $ni-nimble-body-font-size;
|
|
58
|
+
color: $ni-nimble-body-font-color;
|
|
57
59
|
}
|
|
58
60
|
```
|
|
59
61
|
|
|
@@ -901,6 +901,16 @@
|
|
|
901
901
|
NimbleComboboxControlValueAccessorDirective.prototype.registerOnTouched = function (fn) {
|
|
902
902
|
this.onTouched = fn;
|
|
903
903
|
};
|
|
904
|
+
/**
|
|
905
|
+
* @description
|
|
906
|
+
* Function that is called by the forms API when the control status changes to
|
|
907
|
+
* or from 'DISABLED'. Depending on the status, it enables or disables the
|
|
908
|
+
* combobox.
|
|
909
|
+
* @param isDisabled The disabled status to set on the combobox
|
|
910
|
+
*/
|
|
911
|
+
NimbleComboboxControlValueAccessorDirective.prototype.setDisabledState = function (isDisabled) {
|
|
912
|
+
this.setProperty('disabled', isDisabled);
|
|
913
|
+
};
|
|
904
914
|
/**
|
|
905
915
|
* @internal
|
|
906
916
|
*/
|