@skyux/tabs 13.0.0-alpha.0 → 13.0.0-alpha.10
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/fesm2022/skyux-tabs-testing.mjs +53 -30
- package/fesm2022/skyux-tabs-testing.mjs.map +1 -1
- package/fesm2022/skyux-tabs.mjs +34 -19
- package/fesm2022/skyux-tabs.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +15 -10
- package/testing/index.d.ts +39 -17
package/index.d.ts
CHANGED
|
@@ -166,7 +166,6 @@ declare class SkyVerticalTabsetGroupComponent implements OnInit, OnDestroy {
|
|
|
166
166
|
constructor(tabService: SkyVerticalTabsetService, changeRef: ChangeDetectorRef);
|
|
167
167
|
ngOnInit(): void;
|
|
168
168
|
ngOnDestroy(): void;
|
|
169
|
-
updateSlideDirection(event: any): void;
|
|
170
169
|
toggleMenuOpen(): void;
|
|
171
170
|
protected groupButtonArrowLeft(event: Event): void;
|
|
172
171
|
protected groupButtonArrowRight(event: Event): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/tabs",
|
|
3
|
-
"version": "13.0.0-alpha.
|
|
3
|
+
"version": "13.0.0-alpha.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -22,15 +22,20 @@
|
|
|
22
22
|
"@angular/core": "^20.0.5",
|
|
23
23
|
"@angular/platform-browser": "^20.0.5",
|
|
24
24
|
"@angular/router": "^20.0.5",
|
|
25
|
-
"@skyux-sdk/testing": "13.0.0-alpha.
|
|
26
|
-
"@skyux/animations": "13.0.0-alpha.
|
|
27
|
-
"@skyux/core": "13.0.0-alpha.
|
|
28
|
-
"@skyux/forms": "13.0.0-alpha.
|
|
29
|
-
"@skyux/i18n": "13.0.0-alpha.
|
|
30
|
-
"@skyux/icon": "13.0.0-alpha.
|
|
31
|
-
"@skyux/indicators": "13.0.0-alpha.
|
|
32
|
-
"@skyux/popovers": "13.0.0-alpha.
|
|
33
|
-
"@skyux/theme": "13.0.0-alpha.
|
|
25
|
+
"@skyux-sdk/testing": "13.0.0-alpha.10",
|
|
26
|
+
"@skyux/animations": "13.0.0-alpha.10",
|
|
27
|
+
"@skyux/core": "13.0.0-alpha.10",
|
|
28
|
+
"@skyux/forms": "13.0.0-alpha.10",
|
|
29
|
+
"@skyux/i18n": "13.0.0-alpha.10",
|
|
30
|
+
"@skyux/icon": "13.0.0-alpha.10",
|
|
31
|
+
"@skyux/indicators": "13.0.0-alpha.10",
|
|
32
|
+
"@skyux/popovers": "13.0.0-alpha.10",
|
|
33
|
+
"@skyux/theme": "13.0.0-alpha.10"
|
|
34
|
+
},
|
|
35
|
+
"peerDependenciesMeta": {
|
|
36
|
+
"@skyux-sdk/testing": {
|
|
37
|
+
"optional": true
|
|
38
|
+
}
|
|
34
39
|
},
|
|
35
40
|
"dependencies": {
|
|
36
41
|
"tslib": "^2.8.1"
|
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentFixture } from '@angular/core/testing';
|
|
2
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { HarnessPredicate, BaseHarnessFilters, ComponentHarness } from '@angular/cdk/testing';
|
|
3
3
|
import { SkyHarnessFilters, SkyQueryableComponentHarness, SkyComponentHarness } from '@skyux/core/testing';
|
|
4
4
|
import { SkyTabsetButtonsDisplayMode, SkyTabsetNavButtonType } from '@skyux/tabs';
|
|
5
5
|
|
|
@@ -32,6 +32,7 @@ interface SkyTabsetFixtureTab {
|
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Allows interaction with a SKY UX tabset component.
|
|
35
|
+
* @deprecated Use `SkyTabsetHarness` instead.
|
|
35
36
|
* @internal
|
|
36
37
|
*/
|
|
37
38
|
declare class SkyTabsetFixture {
|
|
@@ -275,7 +276,16 @@ declare class SkySectionedFormHarness extends SkyComponentHarness {
|
|
|
275
276
|
*/
|
|
276
277
|
getActiveSection(): Promise<SkySectionedFormSectionHarness | undefined>;
|
|
277
278
|
getActiveSectionContent(): Promise<SkySectionedFormSectionContentHarness | undefined>;
|
|
279
|
+
/**
|
|
280
|
+
* Gets a specific section based on the filter criteria.
|
|
281
|
+
* @param filters The filter criteria.
|
|
282
|
+
*/
|
|
278
283
|
getSection(filters: SkySectionedFormSectionHarnessFilters): Promise<SkySectionedFormSectionHarness>;
|
|
284
|
+
/**
|
|
285
|
+
* Gets an array of sections based on the filter criteria.
|
|
286
|
+
* If no filter is provided, returns all sections.
|
|
287
|
+
* @param filters The optional filter criteria.
|
|
288
|
+
*/
|
|
279
289
|
getSections(filters?: SkySectionedFormSectionHarnessFilters): Promise<SkySectionedFormSectionHarness[]>;
|
|
280
290
|
/**
|
|
281
291
|
* Whether the section tabs are visible.
|
|
@@ -287,11 +297,11 @@ declare class SkySectionedFormHarness extends SkyComponentHarness {
|
|
|
287
297
|
/**
|
|
288
298
|
* A set of criteria that can be used to filter a list of `SkyTabButtonHarness` instances.
|
|
289
299
|
*/
|
|
290
|
-
interface SkyTabButtonHarnessFilters extends
|
|
300
|
+
interface SkyTabButtonHarnessFilters extends BaseHarnessFilters {
|
|
291
301
|
/**
|
|
292
302
|
* Finds tab button whose tab heading matches this value.
|
|
293
303
|
*/
|
|
294
|
-
tabHeading
|
|
304
|
+
tabHeading?: string;
|
|
295
305
|
}
|
|
296
306
|
|
|
297
307
|
/**
|
|
@@ -337,7 +347,7 @@ declare class SkyTabContentHarness extends SkyQueryableComponentHarness {
|
|
|
337
347
|
/**
|
|
338
348
|
* Harness for interacting with a tab button component in tests.
|
|
339
349
|
*/
|
|
340
|
-
declare class SkyTabButtonHarness extends
|
|
350
|
+
declare class SkyTabButtonHarness extends ComponentHarness {
|
|
341
351
|
#private;
|
|
342
352
|
/**
|
|
343
353
|
* @internal
|
|
@@ -440,13 +450,16 @@ declare class SkyTabsetHarness extends SkyComponentHarness {
|
|
|
440
450
|
*/
|
|
441
451
|
getMode(): Promise<SkyTabsetButtonsDisplayMode>;
|
|
442
452
|
/**
|
|
443
|
-
* Gets a tab button
|
|
453
|
+
* Gets a specific tab button based on the filter criteria.
|
|
454
|
+
* @param filters The filter criteria.
|
|
444
455
|
*/
|
|
445
|
-
getTabButtonHarness(
|
|
456
|
+
getTabButtonHarness(filters: SkyTabButtonHarnessFilters): Promise<SkyTabButtonHarness>;
|
|
446
457
|
/**
|
|
447
|
-
* Gets an array of
|
|
458
|
+
* Gets an array of tab button harnesses based on the filter criteria.
|
|
459
|
+
* If no filter is provided, returns all tab button harnesses.
|
|
460
|
+
* @param filters The optional filter criteria.
|
|
448
461
|
*/
|
|
449
|
-
getTabButtonHarnesses(): Promise<SkyTabButtonHarness[]>;
|
|
462
|
+
getTabButtonHarnesses(filters?: SkyTabButtonHarnessFilters): Promise<SkyTabButtonHarness[]>;
|
|
450
463
|
/**
|
|
451
464
|
* Gets a tab content harness for the tab with the given `tabHeading`.
|
|
452
465
|
*/
|
|
@@ -532,13 +545,16 @@ declare class SkyVerticalTabsetGroupHarness extends SkyComponentHarness {
|
|
|
532
545
|
*/
|
|
533
546
|
getGroupHeading(): Promise<string>;
|
|
534
547
|
/**
|
|
535
|
-
* Gets
|
|
548
|
+
* Gets a specific vertical tab based on the filter criteria.
|
|
549
|
+
* @param filters The filter criteria.
|
|
536
550
|
*/
|
|
537
551
|
getVerticalTab(filters: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness>;
|
|
538
552
|
/**
|
|
539
|
-
* Gets
|
|
553
|
+
* Gets an array of vertical tab buttons based on the filter criteria.
|
|
554
|
+
* If no filter is provided, returns all vertical tab buttons.
|
|
555
|
+
* @param filters The optional filter criteria.
|
|
540
556
|
*/
|
|
541
|
-
getVerticalTabs(): Promise<SkyVerticalTabButtonHarness[]>;
|
|
557
|
+
getVerticalTabs(filters?: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness[]>;
|
|
542
558
|
/**
|
|
543
559
|
* Whether a tab under this group is active.
|
|
544
560
|
*/
|
|
@@ -594,25 +610,31 @@ declare class SkyVerticalTabsetHarness extends SkyComponentHarness {
|
|
|
594
610
|
*/
|
|
595
611
|
getAriaLabelledBy(): Promise<string | null>;
|
|
596
612
|
/**
|
|
597
|
-
*
|
|
613
|
+
* Gets a specific vertical tabset group based on the filter criteria.
|
|
614
|
+
* @param filters The filter criteria.
|
|
598
615
|
*/
|
|
599
616
|
getGroup(filters: SkyVerticalTabsetGroupHarnessFilters): Promise<SkyVerticalTabsetGroupHarness | undefined>;
|
|
600
617
|
/**
|
|
601
|
-
* Gets an array of
|
|
618
|
+
* Gets an array of vertical tabset groups based on the filter criteria.
|
|
619
|
+
* If no filter is provided, returns all vertical tabset groups.
|
|
620
|
+
* @param filters The optional filter criteria.
|
|
602
621
|
*/
|
|
603
|
-
getGroups(): Promise<SkyVerticalTabsetGroupHarness[]>;
|
|
622
|
+
getGroups(filters?: SkyVerticalTabsetGroupHarnessFilters): Promise<SkyVerticalTabsetGroupHarness[]>;
|
|
604
623
|
/**
|
|
605
624
|
* Gets the text in the show tabs button in mobile view.
|
|
606
625
|
*/
|
|
607
626
|
getShowTabsText(): Promise<string | undefined>;
|
|
608
627
|
/**
|
|
609
|
-
* Gets a
|
|
628
|
+
* Gets a specific vertical tab button based on the filter criteria.
|
|
629
|
+
* @param filters The filter criteria.
|
|
610
630
|
*/
|
|
611
631
|
getTab(filters: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness>;
|
|
612
632
|
/**
|
|
613
|
-
* Gets an array of
|
|
633
|
+
* Gets an array of vertical tab buttons based on the filter criteria.
|
|
634
|
+
* If no filter is provided, returns all vertical tab buttons.
|
|
635
|
+
* @param filters The optional filter criteria.
|
|
614
636
|
*/
|
|
615
|
-
getTabs(): Promise<SkyVerticalTabButtonHarness[]>;
|
|
637
|
+
getTabs(filters?: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness[]>;
|
|
616
638
|
/**
|
|
617
639
|
* Whether the tabs are visible.
|
|
618
640
|
* In mobile view, vertical tabsets collapse to just the content pane
|