@norwegian/core-components 7.7.1 → 7.7.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.
@@ -111,7 +111,7 @@ export declare class CalendarComponent extends NasComponentBase implements OnIni
111
111
  * @description
112
112
  * When a user has actively changed the date.
113
113
  */
114
- focusOnNextChange: EventEmitter<MouseEvent | KeyboardEvent>;
114
+ focusOnNextChange: EventEmitter<KeyboardEvent | MouseEvent>;
115
115
  /**
116
116
  * @description
117
117
  * When selected date has been changed.
@@ -239,13 +239,13 @@ export declare class DatepickerComponent extends NasComponentBase implements OnI
239
239
  * @description
240
240
  * When a user has actively changed the date.
241
241
  */
242
- focusOnNextChange: EventEmitter<MouseEvent | KeyboardEvent>;
242
+ focusOnNextChange: EventEmitter<KeyboardEvent | MouseEvent>;
243
243
  /**
244
244
  * @property Output
245
245
  * @description
246
246
  * When a user has pressed shift + tab to go to previous control.
247
247
  */
248
- focusOnPreviousChange: EventEmitter<MouseEvent | KeyboardEvent>;
248
+ focusOnPreviousChange: EventEmitter<KeyboardEvent | MouseEvent>;
249
249
  get activeDate(): UtcDate;
250
250
  set activeDate(date: UtcDate);
251
251
  get inputId(): string;
@@ -290,7 +290,7 @@ export declare class DatepickerComboComponent extends NasComponentBase implement
290
290
  * @description
291
291
  * When a user has pressed shift + tab to go to previous control.
292
292
  */
293
- focusOnPreviousChange: EventEmitter<MouseEvent | KeyboardEvent>;
293
+ focusOnPreviousChange: EventEmitter<KeyboardEvent | MouseEvent>;
294
294
  get inboundSelectedMonth(): UtcDate;
295
295
  set inboundSelectedMonth(month: UtcDate);
296
296
  private outboundSelectedDateValue;
@@ -36,16 +36,6 @@ export declare class ToggleComponent extends NasComponentBase implements OnInit
36
36
  * <nas-toggle [compact]="true"></nas-toggle>
37
37
  */
38
38
  compact?: boolean;
39
- /**
40
- * @property Input
41
- * @description
42
- * Set light styling.
43
- * @example
44
- * <nas-toggle light></nas-toggle>
45
- * or
46
- * <nas-toggle [light]="true"></nas-toggle>
47
- */
48
- light?: boolean;
49
39
  /**
50
40
  * @property Input
51
41
  * @description
@@ -160,11 +150,10 @@ export declare class ToggleComponent extends NasComponentBase implements OnInit
160
150
  isRounded: boolean;
161
151
  constructor();
162
152
  ngOnInit(): void;
163
- getIcon(option: OptionModel): string;
164
153
  getOptionId(option: OptionModel): string;
165
154
  onChange(option: OptionModel): void;
166
155
  mainClasses(): import("@norwegian/core-components").ClassModel;
167
156
  onClickHref(event: MouseEvent, option: OptionModel): void;
168
157
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
169
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "nas-toggle", never, { "options": { "alias": "options"; "required": false; }; "large": { "alias": "large"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "light": { "alias": "light"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "small": { "alias": "small"; "required": false; }; "big": { "alias": "big"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "group": { "alias": "group"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, { "handleChange": "handleChange"; }, never, never, false, never>;
158
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "nas-toggle", never, { "options": { "alias": "options"; "required": false; }; "large": { "alias": "large"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "small": { "alias": "small"; "required": false; }; "big": { "alias": "big"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "label": { "alias": "label"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "grouped": { "alias": "grouped"; "required": false; }; "group": { "alias": "group"; "required": false; }; "nasFormControlName": { "alias": "nasFormControlName"; "required": false; }; "nasFormGroup": { "alias": "nasFormGroup"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, { "handleChange": "handleChange"; }, never, never, false, never>;
170
159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "7.7.1",
3
+ "version": "7.7.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 22.0.0",
6
6
  "@angular/core": ">=16.0.0 < 22.0.0"