@skyux/tabs 13.0.0-alpha.8 → 13.0.0-beta.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/fesm2022/skyux-tabs-testing.mjs +52 -30
- package/fesm2022/skyux-tabs-testing.mjs.map +1 -1
- package/fesm2022/skyux-tabs.mjs +23 -8
- package/fesm2022/skyux-tabs.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +10 -10
- package/testing/index.d.ts +38 -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-
|
|
3
|
+
"version": "13.0.0-beta.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -22,15 +22,15 @@
|
|
|
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-
|
|
26
|
-
"@skyux/animations": "13.0.0-
|
|
27
|
-
"@skyux/core": "13.0.0-
|
|
28
|
-
"@skyux/forms": "13.0.0-
|
|
29
|
-
"@skyux/i18n": "13.0.0-
|
|
30
|
-
"@skyux/icon": "13.0.0-
|
|
31
|
-
"@skyux/indicators": "13.0.0-
|
|
32
|
-
"@skyux/popovers": "13.0.0-
|
|
33
|
-
"@skyux/theme": "13.0.0-
|
|
25
|
+
"@skyux-sdk/testing": "13.0.0-beta.0",
|
|
26
|
+
"@skyux/animations": "13.0.0-beta.0",
|
|
27
|
+
"@skyux/core": "13.0.0-beta.0",
|
|
28
|
+
"@skyux/forms": "13.0.0-beta.0",
|
|
29
|
+
"@skyux/i18n": "13.0.0-beta.0",
|
|
30
|
+
"@skyux/icon": "13.0.0-beta.0",
|
|
31
|
+
"@skyux/indicators": "13.0.0-beta.0",
|
|
32
|
+
"@skyux/popovers": "13.0.0-beta.0",
|
|
33
|
+
"@skyux/theme": "13.0.0-beta.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependenciesMeta": {
|
|
36
36
|
"@skyux-sdk/testing": {
|
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
|
|
|
@@ -276,7 +276,16 @@ declare class SkySectionedFormHarness extends SkyComponentHarness {
|
|
|
276
276
|
*/
|
|
277
277
|
getActiveSection(): Promise<SkySectionedFormSectionHarness | undefined>;
|
|
278
278
|
getActiveSectionContent(): Promise<SkySectionedFormSectionContentHarness | undefined>;
|
|
279
|
+
/**
|
|
280
|
+
* Gets a specific section based on the filter criteria.
|
|
281
|
+
* @param filters The filter criteria.
|
|
282
|
+
*/
|
|
279
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
|
+
*/
|
|
280
289
|
getSections(filters?: SkySectionedFormSectionHarnessFilters): Promise<SkySectionedFormSectionHarness[]>;
|
|
281
290
|
/**
|
|
282
291
|
* Whether the section tabs are visible.
|
|
@@ -288,11 +297,11 @@ declare class SkySectionedFormHarness extends SkyComponentHarness {
|
|
|
288
297
|
/**
|
|
289
298
|
* A set of criteria that can be used to filter a list of `SkyTabButtonHarness` instances.
|
|
290
299
|
*/
|
|
291
|
-
interface SkyTabButtonHarnessFilters extends
|
|
300
|
+
interface SkyTabButtonHarnessFilters extends BaseHarnessFilters {
|
|
292
301
|
/**
|
|
293
302
|
* Finds tab button whose tab heading matches this value.
|
|
294
303
|
*/
|
|
295
|
-
tabHeading
|
|
304
|
+
tabHeading?: string;
|
|
296
305
|
}
|
|
297
306
|
|
|
298
307
|
/**
|
|
@@ -338,7 +347,7 @@ declare class SkyTabContentHarness extends SkyQueryableComponentHarness {
|
|
|
338
347
|
/**
|
|
339
348
|
* Harness for interacting with a tab button component in tests.
|
|
340
349
|
*/
|
|
341
|
-
declare class SkyTabButtonHarness extends
|
|
350
|
+
declare class SkyTabButtonHarness extends ComponentHarness {
|
|
342
351
|
#private;
|
|
343
352
|
/**
|
|
344
353
|
* @internal
|
|
@@ -441,13 +450,16 @@ declare class SkyTabsetHarness extends SkyComponentHarness {
|
|
|
441
450
|
*/
|
|
442
451
|
getMode(): Promise<SkyTabsetButtonsDisplayMode>;
|
|
443
452
|
/**
|
|
444
|
-
* Gets a tab button
|
|
453
|
+
* Gets a specific tab button based on the filter criteria.
|
|
454
|
+
* @param filters The filter criteria.
|
|
445
455
|
*/
|
|
446
|
-
getTabButtonHarness(
|
|
456
|
+
getTabButtonHarness(filters: SkyTabButtonHarnessFilters): Promise<SkyTabButtonHarness>;
|
|
447
457
|
/**
|
|
448
|
-
* 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.
|
|
449
461
|
*/
|
|
450
|
-
getTabButtonHarnesses(): Promise<SkyTabButtonHarness[]>;
|
|
462
|
+
getTabButtonHarnesses(filters?: SkyTabButtonHarnessFilters): Promise<SkyTabButtonHarness[]>;
|
|
451
463
|
/**
|
|
452
464
|
* Gets a tab content harness for the tab with the given `tabHeading`.
|
|
453
465
|
*/
|
|
@@ -533,13 +545,16 @@ declare class SkyVerticalTabsetGroupHarness extends SkyComponentHarness {
|
|
|
533
545
|
*/
|
|
534
546
|
getGroupHeading(): Promise<string>;
|
|
535
547
|
/**
|
|
536
|
-
* Gets
|
|
548
|
+
* Gets a specific vertical tab based on the filter criteria.
|
|
549
|
+
* @param filters The filter criteria.
|
|
537
550
|
*/
|
|
538
551
|
getVerticalTab(filters: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness>;
|
|
539
552
|
/**
|
|
540
|
-
* 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.
|
|
541
556
|
*/
|
|
542
|
-
getVerticalTabs(): Promise<SkyVerticalTabButtonHarness[]>;
|
|
557
|
+
getVerticalTabs(filters?: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness[]>;
|
|
543
558
|
/**
|
|
544
559
|
* Whether a tab under this group is active.
|
|
545
560
|
*/
|
|
@@ -595,25 +610,31 @@ declare class SkyVerticalTabsetHarness extends SkyComponentHarness {
|
|
|
595
610
|
*/
|
|
596
611
|
getAriaLabelledBy(): Promise<string | null>;
|
|
597
612
|
/**
|
|
598
|
-
*
|
|
613
|
+
* Gets a specific vertical tabset group based on the filter criteria.
|
|
614
|
+
* @param filters The filter criteria.
|
|
599
615
|
*/
|
|
600
616
|
getGroup(filters: SkyVerticalTabsetGroupHarnessFilters): Promise<SkyVerticalTabsetGroupHarness | undefined>;
|
|
601
617
|
/**
|
|
602
|
-
* 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.
|
|
603
621
|
*/
|
|
604
|
-
getGroups(): Promise<SkyVerticalTabsetGroupHarness[]>;
|
|
622
|
+
getGroups(filters?: SkyVerticalTabsetGroupHarnessFilters): Promise<SkyVerticalTabsetGroupHarness[]>;
|
|
605
623
|
/**
|
|
606
624
|
* Gets the text in the show tabs button in mobile view.
|
|
607
625
|
*/
|
|
608
626
|
getShowTabsText(): Promise<string | undefined>;
|
|
609
627
|
/**
|
|
610
|
-
* Gets a
|
|
628
|
+
* Gets a specific vertical tab button based on the filter criteria.
|
|
629
|
+
* @param filters The filter criteria.
|
|
611
630
|
*/
|
|
612
631
|
getTab(filters: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness>;
|
|
613
632
|
/**
|
|
614
|
-
* 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.
|
|
615
636
|
*/
|
|
616
|
-
getTabs(): Promise<SkyVerticalTabButtonHarness[]>;
|
|
637
|
+
getTabs(filters?: SkyVerticalTabButtonHarnessFilters): Promise<SkyVerticalTabButtonHarness[]>;
|
|
617
638
|
/**
|
|
618
639
|
* Whether the tabs are visible.
|
|
619
640
|
* In mobile view, vertical tabsets collapse to just the content pane
|