@ni/nimble-angular 17.4.6 → 17.5.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.
- package/directives/number-field/nimble-number-field.directive.d.ts +3 -1
- package/esm2020/directives/number-field/nimble-number-field.directive.mjs +13 -2
- package/fesm2015/ni-nimble-angular.mjs +12 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +12 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6882,6 +6882,14 @@ class NimbleNumberFieldDirective {
|
|
|
6882
6882
|
set step(value) {
|
|
6883
6883
|
this.renderer.setProperty(this.elementRef.nativeElement, 'step', toNumberProperty(value));
|
|
6884
6884
|
}
|
|
6885
|
+
get hideStep() {
|
|
6886
|
+
return this.elementRef.nativeElement.hideStep;
|
|
6887
|
+
}
|
|
6888
|
+
// hideStep property maps to the hide-step attribute
|
|
6889
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
6890
|
+
set hideStep(value) {
|
|
6891
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'hideStep', toBooleanProperty(value));
|
|
6892
|
+
}
|
|
6885
6893
|
get placeholder() {
|
|
6886
6894
|
return this.elementRef.nativeElement.placeholder;
|
|
6887
6895
|
}
|
|
@@ -6906,7 +6914,7 @@ class NimbleNumberFieldDirective {
|
|
|
6906
6914
|
}
|
|
6907
6915
|
}
|
|
6908
6916
|
NimbleNumberFieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleNumberFieldDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6909
|
-
NimbleNumberFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleNumberFieldDirective, selector: "nimble-number-field", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], min: "min", max: "max", step: "step", placeholder: "placeholder", errorText: ["error-text", "errorText"], errorVisible: ["error-visible", "errorVisible"] }, ngImport: i0 });
|
|
6917
|
+
NimbleNumberFieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleNumberFieldDirective, selector: "nimble-number-field", inputs: { appearance: "appearance", readOnly: ["readonly", "readOnly"], min: "min", max: "max", step: "step", hideStep: ["hide-step", "hideStep"], placeholder: "placeholder", errorText: ["error-text", "errorText"], errorVisible: ["error-visible", "errorVisible"] }, ngImport: i0 });
|
|
6910
6918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleNumberFieldDirective, decorators: [{
|
|
6911
6919
|
type: Directive,
|
|
6912
6920
|
args: [{
|
|
@@ -6923,6 +6931,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6923
6931
|
type: Input
|
|
6924
6932
|
}], step: [{
|
|
6925
6933
|
type: Input
|
|
6934
|
+
}], hideStep: [{
|
|
6935
|
+
type: Input,
|
|
6936
|
+
args: ['hide-step']
|
|
6926
6937
|
}], placeholder: [{
|
|
6927
6938
|
type: Input
|
|
6928
6939
|
}], errorText: [{
|