@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.
- package/esm2022/lib/components/journey/journey.component.mjs +2 -2
- package/esm2022/lib/components/tab-group/tab/tab.component.mjs +13 -4
- package/esm2022/lib/components/tab-group/tab-group.component.mjs +5 -2
- package/fesm2022/norwegian-core-components.mjs +18 -6
- package/fesm2022/norwegian-core-components.mjs.map +1 -1
- package/lib/components/tab-group/tab/tab.component.d.ts +11 -1
- package/lib/components/tab-group/tab-group.component.d.ts +7 -1
- package/package.json +1 -1
|
@@ -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
|
}
|