@ni/nimble-angular 10.0.0 → 11.0.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.
@@ -1157,14 +1157,26 @@
1157
1157
  enumerable: false,
1158
1158
  configurable: true
1159
1159
  });
1160
- Object.defineProperty(NimbleDialogDirective.prototype, "ariaLabel", {
1160
+ Object.defineProperty(NimbleDialogDirective.prototype, "headerHidden", {
1161
1161
  get: function () {
1162
- return this.elementRef.nativeElement.ariaLabel;
1162
+ return this.elementRef.nativeElement.headerHidden;
1163
1163
  },
1164
- // ariaLabel property intentionally maps to the aria-label attribute
1164
+ // Renaming because property should have camel casing, but attribute should not
1165
1165
  // eslint-disable-next-line @angular-eslint/no-input-rename
1166
1166
  set: function (value) {
1167
- this.renderer.setProperty(this.elementRef.nativeElement, 'ariaLabel', value);
1167
+ this.renderer.setProperty(this.elementRef.nativeElement, 'headerHidden', toBooleanProperty(value));
1168
+ },
1169
+ enumerable: false,
1170
+ configurable: true
1171
+ });
1172
+ Object.defineProperty(NimbleDialogDirective.prototype, "footerHidden", {
1173
+ get: function () {
1174
+ return this.elementRef.nativeElement.footerHidden;
1175
+ },
1176
+ // Renaming because property should have camel casing, but attribute should not
1177
+ // eslint-disable-next-line @angular-eslint/no-input-rename
1178
+ set: function (value) {
1179
+ this.renderer.setProperty(this.elementRef.nativeElement, 'footerHidden', toBooleanProperty(value));
1168
1180
  },
1169
1181
  enumerable: false,
1170
1182
  configurable: true
@@ -1189,7 +1201,7 @@
1189
1201
  return NimbleDialogDirective;
1190
1202
  }());
1191
1203
  NimbleDialogDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleDialogDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1192
- NimbleDialogDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleDialogDirective, selector: "nimble-dialog", inputs: { preventDismiss: ["prevent-dismiss", "preventDismiss"], ariaLabel: ["aria-label", "ariaLabel"] }, ngImport: i0__namespace });
1204
+ NimbleDialogDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: NimbleDialogDirective, selector: "nimble-dialog", inputs: { preventDismiss: ["prevent-dismiss", "preventDismiss"], headerHidden: ["header-hidden", "headerHidden"], footerHidden: ["footer-hidden", "footerHidden"] }, ngImport: i0__namespace });
1193
1205
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: NimbleDialogDirective, decorators: [{
1194
1206
  type: i0.Directive,
1195
1207
  args: [{
@@ -1198,9 +1210,12 @@
1198
1210
  }], ctorParameters: function () { return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }]; }, propDecorators: { preventDismiss: [{
1199
1211
  type: i0.Input,
1200
1212
  args: ['prevent-dismiss']
1201
- }], ariaLabel: [{
1213
+ }], headerHidden: [{
1202
1214
  type: i0.Input,
1203
- args: ['aria-label']
1215
+ args: ['header-hidden']
1216
+ }], footerHidden: [{
1217
+ type: i0.Input,
1218
+ args: ['footer-hidden']
1204
1219
  }] } });
1205
1220
 
1206
1221
  var NimbleDialogModule = /** @class */ (function () {