@norwegian/core-components 6.59.0 → 6.60.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.
@@ -3,4 +3,5 @@ export declare class OptionModel {
3
3
  value: string;
4
4
  text: string;
5
5
  icon?: string;
6
+ href?: string;
6
7
  }
@@ -164,6 +164,7 @@ export declare class ToggleComponent extends NasComponentBase implements OnInit
164
164
  getOptionId(option: OptionModel): string;
165
165
  onChange(option: OptionModel): void;
166
166
  mainClasses(): import("@norwegian/core-components").ClassModel;
167
+ onClickHref(event: MouseEvent, option: OptionModel): void;
167
168
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
168
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>;
169
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "6.59.0",
3
+ "version": "6.60.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 22.0.0",
6
6
  "@angular/core": ">=16.0.0 < 22.0.0"