@skyux/tabs 8.0.0-alpha.6 → 8.0.0-alpha.7
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/documentation.json +484 -209
- package/esm2020/index.mjs +3 -1
- package/esm2020/lib/modules/sectioned-form/sectioned-form-section.component.mjs +3 -3
- package/esm2020/lib/modules/sectioned-form/sectioned-form.component.mjs +75 -11
- package/esm2020/lib/modules/sectioned-form/sectioned-form.module.mjs +4 -4
- package/esm2020/lib/modules/sectioned-form/sectioned-form.service.mjs +3 -3
- package/esm2020/lib/modules/sectioned-form/types/sectioned-form-message-type.mjs +5 -0
- package/esm2020/lib/modules/sectioned-form/types/sectioned-form-message.mjs +2 -0
- package/esm2020/lib/modules/shared/sky-tabs-resources.module.mjs +4 -4
- package/esm2020/lib/modules/shared/tab-id.service.mjs +7 -7
- package/esm2020/lib/modules/tabs/tab-button-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/tabs/tab-button.component.mjs +22 -22
- package/esm2020/lib/modules/tabs/tab.component.mjs +35 -35
- package/esm2020/lib/modules/tabs/tabs.module.mjs +4 -4
- package/esm2020/lib/modules/tabs/tabset-adapter.service.mjs +7 -7
- package/esm2020/lib/modules/tabs/tabset-nav-button-disabled.pipe.mjs +3 -3
- package/esm2020/lib/modules/tabs/tabset-nav-button.component.mjs +19 -19
- package/esm2020/lib/modules/tabs/tabset-permalink.service.mjs +7 -7
- package/esm2020/lib/modules/tabs/tabset.component.mjs +48 -48
- package/esm2020/lib/modules/tabs/tabset.service.mjs +13 -13
- package/esm2020/lib/modules/vertical-tabset/vertical-tab-media-query.service.mjs +3 -3
- package/esm2020/lib/modules/vertical-tabset/vertical-tab.component.mjs +39 -39
- package/esm2020/lib/modules/vertical-tabset/vertical-tabset-adapter.service.mjs +3 -3
- package/esm2020/lib/modules/vertical-tabset/vertical-tabset-group.component.mjs +3 -3
- package/esm2020/lib/modules/vertical-tabset/vertical-tabset.component.mjs +20 -20
- package/esm2020/lib/modules/vertical-tabset/vertical-tabset.module.mjs +4 -4
- package/esm2020/lib/modules/vertical-tabset/vertical-tabset.service.mjs +3 -3
- package/esm2020/testing/tabs/tabset-fixture.mjs +8 -8
- package/fesm2015/skyux-tabs-testing.mjs +8 -8
- package/fesm2015/skyux-tabs-testing.mjs.map +1 -1
- package/fesm2015/skyux-tabs.mjs +330 -263
- package/fesm2015/skyux-tabs.mjs.map +1 -1
- package/fesm2020/skyux-tabs-testing.mjs +8 -8
- package/fesm2020/skyux-tabs-testing.mjs.map +1 -1
- package/fesm2020/skyux-tabs.mjs +330 -263
- package/fesm2020/skyux-tabs.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/sectioned-form/sectioned-form.component.d.ts +17 -2
- package/lib/modules/sectioned-form/types/sectioned-form-message-type.d.ts +3 -0
- package/lib/modules/sectioned-form/types/sectioned-form-message.d.ts +4 -0
- package/lib/modules/tabs/tab-button-view-model.d.ts +1 -1
- package/lib/modules/tabs/tab-button.component.d.ts +1 -1
- package/lib/modules/tabs/tab-index.d.ts +1 -1
- package/lib/modules/tabs/tabset-buttons-display-mode.d.ts +1 -1
- package/lib/modules/tabs/tabset-nav-button-type.d.ts +1 -1
- package/lib/modules/tabs/tabset-nav-button.component.d.ts +2 -2
- package/lib/modules/tabs/tabset-style.d.ts +1 -1
- package/package.json +15 -15
package/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export * from './lib/modules/tabs/tabset-tab-indexes-change';
|
|
|
7
7
|
export * from './lib/modules/tabs/tabs.module';
|
|
8
8
|
export * from './lib/modules/vertical-tabset/vertical-tabset.module';
|
|
9
9
|
export * from './lib/modules/sectioned-form/sectioned-form.component';
|
|
10
|
+
export * from './lib/modules/sectioned-form/types/sectioned-form-message';
|
|
11
|
+
export * from './lib/modules/sectioned-form/types/sectioned-form-message-type';
|
|
10
12
|
export { SkyTabComponent as λ1 } from './lib/modules/tabs/tab.component';
|
|
11
13
|
export { SkyTabsetComponent as λ2 } from './lib/modules/tabs/tabset.component';
|
|
12
14
|
export { SkyTabsetNavButtonComponent as λ3 } from './lib/modules/tabs/tabset-nav-button.component';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { SkyLogService } from '@skyux/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
2
4
|
import { SkyTabIdService } from '../shared/tab-id.service';
|
|
3
5
|
import { SkyVerticalTabsetService } from './../vertical-tabset/vertical-tabset.service';
|
|
6
|
+
import { SkySectionedFormMessage } from './types/sectioned-form-message';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
/**
|
|
6
9
|
* Creates a container for the sectioned forms.
|
|
@@ -14,20 +17,32 @@ export declare class SkySectionedFormComponent implements OnInit, OnDestroy, Aft
|
|
|
14
17
|
* @default false
|
|
15
18
|
*/
|
|
16
19
|
maintainSectionContent: boolean | undefined;
|
|
20
|
+
set messageStream(value: Subject<SkySectionedFormMessage> | undefined);
|
|
21
|
+
get messageStream(): Subject<SkySectionedFormMessage>;
|
|
17
22
|
/**
|
|
18
23
|
* Fires when the active tab changes and emits the index of the active
|
|
19
24
|
* section. The index is based on the section's position when the form loads.
|
|
20
25
|
*/
|
|
21
26
|
indexChanged: EventEmitter<number>;
|
|
27
|
+
/**
|
|
28
|
+
* Fires when the sectioned form tabs are shown or hidden.
|
|
29
|
+
*/
|
|
30
|
+
tabsVisibleChanged: EventEmitter<boolean>;
|
|
22
31
|
ariaOwns: string | undefined;
|
|
23
32
|
ariaRole: string | undefined;
|
|
24
33
|
content: ElementRef | undefined;
|
|
25
|
-
constructor(tabService: SkyVerticalTabsetService, changeRef: ChangeDetectorRef, tabIdSvc: SkyTabIdService);
|
|
34
|
+
constructor(tabService: SkyVerticalTabsetService, changeRef: ChangeDetectorRef, tabIdSvc: SkyTabIdService, logger: SkyLogService);
|
|
26
35
|
ngOnInit(): void;
|
|
27
36
|
ngAfterViewChecked(): void;
|
|
28
37
|
ngOnDestroy(): void;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use the `tabsVisibleChanged` output to listen for tab visibility changes.
|
|
40
|
+
*/
|
|
29
41
|
tabsVisible(): boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Use the `messageStream` input and push a `ShowTabs` message to the message stream instead.
|
|
44
|
+
*/
|
|
30
45
|
showTabs(): void;
|
|
31
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkySectionedFormComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkySectionedFormComponent, "sky-sectioned-form", never, { "maintainSectionContent": "maintainSectionContent"; }, { "indexChanged": "indexChanged"; }, never, ["*"], false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkySectionedFormComponent, "sky-sectioned-form", never, { "maintainSectionContent": "maintainSectionContent"; "messageStream": "messageStream"; }, { "indexChanged": "indexChanged"; "tabsVisibleChanged": "tabsVisibleChanged"; }, never, ["*"], false, never>;
|
|
33
48
|
}
|
|
@@ -4,7 +4,7 @@ import { SkyTabIndex } from './tab-index';
|
|
|
4
4
|
import { SkyTabsetStyle } from './tabset-style';
|
|
5
5
|
import { SkyTabsetService } from './tabset.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
7
|
+
type SkyWizardStepState = 'completed' | 'current' | 'unavailable';
|
|
8
8
|
/**
|
|
9
9
|
* @internal
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyTabIndex = string | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyTabsetButtonsDisplayMode = 'dropdown' | 'tabs';
|
|
@@ -16,8 +16,8 @@ export declare class SkyTabsetNavButtonComponent implements OnDestroy {
|
|
|
16
16
|
* The type of nav button to include.
|
|
17
17
|
* @required
|
|
18
18
|
*/
|
|
19
|
-
get buttonType(): SkyTabsetNavButtonType |
|
|
20
|
-
set buttonType(value: SkyTabsetNavButtonType |
|
|
19
|
+
get buttonType(): SkyTabsetNavButtonType | undefined;
|
|
20
|
+
set buttonType(value: SkyTabsetNavButtonType | undefined);
|
|
21
21
|
/**
|
|
22
22
|
* The label to display on the nav button. The following are the defaults for each `buttonType`:
|
|
23
23
|
* `next` = "Next", `previous` = "Previous", `finish` = "Finish"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SkyTabsetStyle = 'tabs' | 'wizard';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/tabs",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.7",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@angular/animations": "^15.1
|
|
44
|
-
"@angular/common": "^15.1
|
|
45
|
-
"@angular/core": "^15.1
|
|
46
|
-
"@angular/platform-browser": "^15.1
|
|
47
|
-
"@angular/router": "^15.1
|
|
48
|
-
"@skyux-sdk/testing": "8.0.0-alpha.
|
|
49
|
-
"@skyux/animations": "8.0.0-alpha.
|
|
50
|
-
"@skyux/core": "8.0.0-alpha.
|
|
51
|
-
"@skyux/forms": "8.0.0-alpha.
|
|
52
|
-
"@skyux/i18n": "8.0.0-alpha.
|
|
53
|
-
"@skyux/indicators": "8.0.0-alpha.
|
|
54
|
-
"@skyux/popovers": "8.0.0-alpha.
|
|
55
|
-
"@skyux/theme": "8.0.0-alpha.
|
|
43
|
+
"@angular/animations": "^15.2.1",
|
|
44
|
+
"@angular/common": "^15.2.1",
|
|
45
|
+
"@angular/core": "^15.2.1",
|
|
46
|
+
"@angular/platform-browser": "^15.2.1",
|
|
47
|
+
"@angular/router": "^15.2.1",
|
|
48
|
+
"@skyux-sdk/testing": "8.0.0-alpha.7",
|
|
49
|
+
"@skyux/animations": "8.0.0-alpha.7",
|
|
50
|
+
"@skyux/core": "8.0.0-alpha.7",
|
|
51
|
+
"@skyux/forms": "8.0.0-alpha.7",
|
|
52
|
+
"@skyux/i18n": "8.0.0-alpha.7",
|
|
53
|
+
"@skyux/indicators": "8.0.0-alpha.7",
|
|
54
|
+
"@skyux/popovers": "8.0.0-alpha.7",
|
|
55
|
+
"@skyux/theme": "8.0.0-alpha.7"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"tslib": "^2.
|
|
58
|
+
"tslib": "^2.5.0"
|
|
59
59
|
},
|
|
60
60
|
"module": "fesm2015/skyux-tabs.mjs",
|
|
61
61
|
"es2020": "fesm2020/skyux-tabs.mjs",
|