@norwegian/core-components 6.11.4 → 6.12.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.
@@ -47,6 +47,15 @@ export declare class TabComponent extends NasComponentBase implements OnInit {
47
47
  * ```
48
48
  */
49
49
  shadowless: boolean;
50
+ /**
51
+ * @description
52
+ * Removes the grey background on tab content
53
+ * @example
54
+ * ```html
55
+ * <nas-tab remove-background></nas-tab>
56
+ * ```
57
+ */
58
+ removeBackground: boolean;
50
59
  /**
51
60
  * @description
52
61
  * Aria label for the tab.
@@ -81,7 +90,8 @@ export declare class TabComponent extends NasComponentBase implements OnInit {
81
90
  getTabIndex(): number;
82
91
  getTabContentId(): string;
83
92
  getLabelId(): string;
93
+ getLabelClass(): ClassModel;
84
94
  getContentClass(): ClassModel;
85
95
  static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "nas-tab", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "shadowless": { "alias": "shadowless"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "tabClick": "tabClick"; "focusOnNext": "focusOnNext"; "focusOnPrevious": "focusOnPrevious"; }, never, ["*"], false, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "nas-tab", never, { "icon": { "alias": "icon"; "required": false; }; "label": { "alias": "label"; "required": false; }; "shadowless": { "alias": "shadowless"; "required": false; }; "removeBackground": { "alias": "removeBackground"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; }, { "tabClick": "tabClick"; "focusOnNext": "focusOnNext"; "focusOnPrevious": "focusOnPrevious"; }, never, ["*"], false, never>;
87
97
  }
@@ -29,8 +29,14 @@ export declare class TabGroupComponent extends NasComponentBase implements After
29
29
  * Removes shadow effect on tab content
30
30
  */
31
31
  shadowless: boolean;
32
+ /**
33
+ * @property Input
34
+ * @description
35
+ * Removes the grey background on tab content
36
+ */
37
+ removeBackground: boolean;
32
38
  constructor();
33
39
  ngAfterViewInit(): void;
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "nas-tab-group", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "shadowless": { "alias": "shadowless"; "required": false; }; }, {}, ["tabs"], ["*"], false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "nas-tab-group", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "fit": { "alias": "fit"; "required": false; }; "shadowless": { "alias": "shadowless"; "required": false; }; "removeBackground": { "alias": "removeBackground"; "required": false; }; }, {}, ["tabs"], ["*"], false, never>;
36
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@norwegian/core-components",
3
- "version": "6.11.4",
3
+ "version": "6.12.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.0.0 < 17.0.0",
6
6
  "@angular/core": ">=16.0.0 < 17.0.0"