@norwegian/core-components 6.48.1 → 6.48.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.
@@ -1,5 +1,6 @@
1
1
  import { Renderer2, OnInit } from '@angular/core';
2
2
  import { NasComponentBase } from '../../core';
3
+ import { ClassModel } from '../../core/models/class.model';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * @description
@@ -76,10 +77,29 @@ export declare class SpinnerComponent extends NasComponentBase implements OnInit
76
77
  * <nas-select [blockScrolling]="true"></nas-select>
77
78
  */
78
79
  blockScrolling: boolean;
80
+ /**
81
+ * @property Input
82
+ * @description
83
+ * New round spinner design
84
+ * @example
85
+ * <nas-spinner rounded></nas-spinner>
86
+ */
87
+ rounded?: boolean;
88
+ /**
89
+ * @property Input
90
+ * @description
91
+ * Adds custom CSS class to the spinner. Spinner will sett additional custom styling.
92
+ *
93
+ * @example
94
+ * <nas-spinner [cssClass]="'my-custom-class'"> </nas-spinner>
95
+ */
96
+ cssClass?: ClassModel;
79
97
  constructor(renderer: Renderer2);
80
98
  ngOnInit(): void;
81
99
  private setEnabled;
82
100
  refreshPage(): void;
101
+ get modifiers(): Array<string>;
102
+ getClasses(element?: string, modifiers?: any): Array<ClassModel>;
83
103
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
84
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "nas-spinner", never, { "text": { "alias": "text"; "required": false; }; "refreshText": { "alias": "refreshText"; "required": false; }; "small": { "alias": "small"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "enable": { "alias": "enable"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "blockScrolling": { "alias": "blockScrolling"; "required": false; }; }, {}, never, never, false, never>;
104
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "nas-spinner", never, { "text": { "alias": "text"; "required": false; }; "refreshText": { "alias": "refreshText"; "required": false; }; "small": { "alias": "small"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "enable": { "alias": "enable"; "required": false; }; "refresh": { "alias": "refresh"; "required": false; }; "blockScrolling": { "alias": "blockScrolling"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; }, {}, never, never, false, never>;
85
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "6.48.1",
3
+ "version": "6.48.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 19.0.0",
6
6
  "@angular/core": ">=16.0.0 < 19.0.0"