@skyux/layout 11.27.0 → 11.28.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/documentation.json +1855 -743
- package/esm2022/lib/modules/box/box-header.component.mjs +2 -2
- package/esm2022/testing/modules/text-expand/text-expand-harness-filters.mjs +2 -0
- package/esm2022/testing/modules/text-expand/text-expand-harness.mjs +69 -0
- package/esm2022/testing/modules/text-expand/text-expand-modal-harness.mjs +33 -0
- package/esm2022/testing/public-api.mjs +3 -1
- package/fesm2022/skyux-layout-testing.mjs +101 -1
- package/fesm2022/skyux-layout-testing.mjs.map +1 -1
- package/fesm2022/skyux-layout.mjs +1 -1
- package/fesm2022/skyux-layout.mjs.map +1 -1
- package/package.json +11 -11
- package/testing/modules/text-expand/text-expand-harness-filters.d.ts +7 -0
- package/testing/modules/text-expand/text-expand-harness.d.ts +39 -0
- package/testing/modules/text-expand/text-expand-modal-harness.d.ts +23 -0
- package/testing/public-api.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/layout",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.28.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"@angular/forms": "^18.2.13",
|
|
44
44
|
"@angular/platform-browser": "^18.2.13",
|
|
45
45
|
"@angular/router": "^18.2.13",
|
|
46
|
-
"@skyux-sdk/testing": "11.
|
|
47
|
-
"@skyux/core": "11.
|
|
48
|
-
"@skyux/forms": "11.
|
|
49
|
-
"@skyux/help-inline": "11.
|
|
50
|
-
"@skyux/i18n": "11.
|
|
51
|
-
"@skyux/icon": "11.
|
|
52
|
-
"@skyux/indicators": "11.
|
|
53
|
-
"@skyux/modals": "11.
|
|
54
|
-
"@skyux/router": "11.
|
|
55
|
-
"@skyux/theme": "11.
|
|
46
|
+
"@skyux-sdk/testing": "11.28.0",
|
|
47
|
+
"@skyux/core": "11.28.0",
|
|
48
|
+
"@skyux/forms": "11.28.0",
|
|
49
|
+
"@skyux/help-inline": "11.28.0",
|
|
50
|
+
"@skyux/i18n": "11.28.0",
|
|
51
|
+
"@skyux/icon": "11.28.0",
|
|
52
|
+
"@skyux/indicators": "11.28.0",
|
|
53
|
+
"@skyux/modals": "11.28.0",
|
|
54
|
+
"@skyux/router": "11.28.0",
|
|
55
|
+
"@skyux/theme": "11.28.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"tslib": "^2.6.3"
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
+
import { SkyComponentHarness } from '@skyux/core/testing';
|
|
3
|
+
import { SkyTextExpandHarnessFilters } from './text-expand-harness-filters';
|
|
4
|
+
import { SkyTextExpandModalHarness } from './text-expand-modal-harness';
|
|
5
|
+
/**
|
|
6
|
+
* Harness for interacting with a text expand component in tests.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SkyTextExpandHarness extends SkyComponentHarness {
|
|
9
|
+
#private;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
static hostSelector: string;
|
|
14
|
+
/**
|
|
15
|
+
* Gets a `HarnessPredicate` that can be used to search for a
|
|
16
|
+
* `SkyTextExpandHarness` that meets certain criteria.
|
|
17
|
+
*/
|
|
18
|
+
static with(filters: SkyTextExpandHarnessFilters): HarnessPredicate<SkyTextExpandHarness>;
|
|
19
|
+
/**
|
|
20
|
+
* Clicks the button element that expands or collapses text.
|
|
21
|
+
*/
|
|
22
|
+
clickExpandCollapseButton(): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Gets the harness to interact with the modal expanded view.
|
|
25
|
+
*/
|
|
26
|
+
getExpandedViewModal(): Promise<SkyTextExpandModalHarness>;
|
|
27
|
+
/**
|
|
28
|
+
* Gets the text content of the text expand.
|
|
29
|
+
*/
|
|
30
|
+
getText(): Promise<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the text will expand to a modal.
|
|
33
|
+
*/
|
|
34
|
+
textExpandsToModal(): Promise<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the text is expanded.
|
|
37
|
+
*/
|
|
38
|
+
isExpanded(): Promise<boolean>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentHarness } from '@angular/cdk/testing';
|
|
2
|
+
/**
|
|
3
|
+
* Harness for interacting with a text expand modal component in tests.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SkyTextExpandModalHarness extends ComponentHarness {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
static hostSelector: string;
|
|
11
|
+
/**
|
|
12
|
+
* Clicks the modal close button.
|
|
13
|
+
*/
|
|
14
|
+
clickCloseButton(): Promise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the modal title.
|
|
17
|
+
*/
|
|
18
|
+
getExpandModalTitle(): Promise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the expanded text in the modal.
|
|
21
|
+
*/
|
|
22
|
+
getText(): Promise<string>;
|
|
23
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -9,3 +9,6 @@ export { SkyFluidGridHarness } from './modules/fluid-grid/fluid-grid-harness';
|
|
|
9
9
|
export { SkyFluidGridHarnessFilters } from './modules/fluid-grid/fluid-grid-harness-filters';
|
|
10
10
|
export { SkyRowHarness } from './modules/fluid-grid/row-harness';
|
|
11
11
|
export { SkyRowHarnessFilters } from './modules/fluid-grid/row-harness-filters';
|
|
12
|
+
export { SkyTextExpandHarness } from './modules/text-expand/text-expand-harness';
|
|
13
|
+
export { SkyTextExpandHarnessFilters } from './modules/text-expand/text-expand-harness-filters';
|
|
14
|
+
export { SkyTextExpandModalHarness } from './modules/text-expand/text-expand-modal-harness';
|