@skyux/layout 12.27.0 → 13.0.0-alpha.1

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.
Files changed (131) hide show
  1. package/fesm2022/skyux-layout-testing.mjs.map +1 -1
  2. package/fesm2022/skyux-layout.mjs +227 -227
  3. package/fesm2022/skyux-layout.mjs.map +1 -1
  4. package/index.d.ts +1223 -73
  5. package/package.json +18 -18
  6. package/testing/index.d.ts +657 -3
  7. package/lib/modules/action-button/action-button-adapter-service.d.ts +0 -13
  8. package/lib/modules/action-button/action-button-container.component.d.ts +0 -32
  9. package/lib/modules/action-button/action-button-details.component.d.ts +0 -8
  10. package/lib/modules/action-button/action-button-header.component.d.ts +0 -9
  11. package/lib/modules/action-button/action-button-icon.component.d.ts +0 -24
  12. package/lib/modules/action-button/action-button-permalink.d.ts +0 -31
  13. package/lib/modules/action-button/action-button.component.d.ts +0 -25
  14. package/lib/modules/action-button/action-button.module.d.ts +0 -16
  15. package/lib/modules/action-button/types/action-button-container-align-items-type.d.ts +0 -1
  16. package/lib/modules/action-button/types/action-button-container-align-items.d.ts +0 -14
  17. package/lib/modules/back-to-top/back-to-top-adapter.service.d.ts +0 -25
  18. package/lib/modules/back-to-top/back-to-top.component.d.ts +0 -12
  19. package/lib/modules/back-to-top/back-to-top.directive.d.ts +0 -28
  20. package/lib/modules/back-to-top/back-to-top.module.d.ts +0 -10
  21. package/lib/modules/back-to-top/models/back-to-top-message-type.d.ts +0 -9
  22. package/lib/modules/back-to-top/models/back-to-top-message.d.ts +0 -10
  23. package/lib/modules/back-to-top/models/back-to-top-options.d.ts +0 -10
  24. package/lib/modules/box/box-content.component.d.ts +0 -8
  25. package/lib/modules/box/box-controls.component.d.ts +0 -10
  26. package/lib/modules/box/box-header-id-token.d.ts +0 -2
  27. package/lib/modules/box/box-header.component.d.ts +0 -11
  28. package/lib/modules/box/box-heading-level.d.ts +0 -1
  29. package/lib/modules/box/box-heading-style.d.ts +0 -1
  30. package/lib/modules/box/box.component.d.ts +0 -81
  31. package/lib/modules/box/box.module.d.ts +0 -13
  32. package/lib/modules/card/card-actions.component.d.ts +0 -9
  33. package/lib/modules/card/card-content.component.d.ts +0 -9
  34. package/lib/modules/card/card-title.component.d.ts +0 -9
  35. package/lib/modules/card/card.component.d.ts +0 -44
  36. package/lib/modules/card/card.module.d.ts +0 -18
  37. package/lib/modules/definition-list/definition-list-content.component.d.ts +0 -9
  38. package/lib/modules/definition-list/definition-list-heading.component.d.ts +0 -9
  39. package/lib/modules/definition-list/definition-list-label.component.d.ts +0 -13
  40. package/lib/modules/definition-list/definition-list-value.component.d.ts +0 -13
  41. package/lib/modules/definition-list/definition-list.component.d.ts +0 -24
  42. package/lib/modules/definition-list/definition-list.module.d.ts +0 -16
  43. package/lib/modules/definition-list/definition-list.service.d.ts +0 -11
  44. package/lib/modules/description-list/description-list-adapter-service.d.ts +0 -13
  45. package/lib/modules/description-list/description-list-content.component.d.ts +0 -29
  46. package/lib/modules/description-list/description-list-description.component.d.ts +0 -19
  47. package/lib/modules/description-list/description-list-term.component.d.ts +0 -14
  48. package/lib/modules/description-list/description-list.component.d.ts +0 -37
  49. package/lib/modules/description-list/description-list.module.d.ts +0 -15
  50. package/lib/modules/description-list/description-list.service.d.ts +0 -14
  51. package/lib/modules/description-list/types/description-list-mode-type.d.ts +0 -4
  52. package/lib/modules/description-list/types/description-list-mode.d.ts +0 -22
  53. package/lib/modules/fluid-grid/column.component.d.ts +0 -40
  54. package/lib/modules/fluid-grid/fluid-grid.component.d.ts +0 -23
  55. package/lib/modules/fluid-grid/fluid-grid.module.d.ts +0 -10
  56. package/lib/modules/fluid-grid/row.component.d.ts +0 -14
  57. package/lib/modules/fluid-grid/types/fluid-grid-gutter-size-type.d.ts +0 -1
  58. package/lib/modules/format/format-item.d.ts +0 -8
  59. package/lib/modules/format/format.component.d.ts +0 -21
  60. package/lib/modules/format/format.module.d.ts +0 -8
  61. package/lib/modules/inline-delete/inline-delete-adapter.service.d.ts +0 -14
  62. package/lib/modules/inline-delete/inline-delete-type.d.ts +0 -14
  63. package/lib/modules/inline-delete/inline-delete.component.d.ts +0 -58
  64. package/lib/modules/inline-delete/inline-delete.module.d.ts +0 -9
  65. package/lib/modules/page/page-layout-type.d.ts +0 -5
  66. package/lib/modules/page/page-theme-adapter.service.d.ts +0 -17
  67. package/lib/modules/page/page.component.d.ts +0 -24
  68. package/lib/modules/page/page.module.d.ts +0 -12
  69. package/lib/modules/page-summary/page-summary-adapter.service.d.ts +0 -10
  70. package/lib/modules/page-summary/page-summary-alert.component.d.ts +0 -10
  71. package/lib/modules/page-summary/page-summary-content.component.d.ts +0 -9
  72. package/lib/modules/page-summary/page-summary-image.component.d.ts +0 -10
  73. package/lib/modules/page-summary/page-summary-key-info.component.d.ts +0 -10
  74. package/lib/modules/page-summary/page-summary-status.component.d.ts +0 -10
  75. package/lib/modules/page-summary/page-summary-subtitle.component.d.ts +0 -9
  76. package/lib/modules/page-summary/page-summary-title.component.d.ts +0 -9
  77. package/lib/modules/page-summary/page-summary.component.d.ts +0 -13
  78. package/lib/modules/page-summary/page-summary.module.d.ts +0 -18
  79. package/lib/modules/shared/sky-layout-resources.module.d.ts +0 -10
  80. package/lib/modules/text-expand/text-expand-adapter.service.d.ts +0 -14
  81. package/lib/modules/text-expand/text-expand-modal-context-token.d.ts +0 -6
  82. package/lib/modules/text-expand/text-expand-modal-context.d.ts +0 -7
  83. package/lib/modules/text-expand/text-expand-modal.component.d.ts +0 -14
  84. package/lib/modules/text-expand/text-expand.component.d.ts +0 -61
  85. package/lib/modules/text-expand/text-expand.module.d.ts +0 -7
  86. package/lib/modules/text-expand-repeater/text-expand-repeater-adapter.service.d.ts +0 -16
  87. package/lib/modules/text-expand-repeater/text-expand-repeater.component.d.ts +0 -39
  88. package/lib/modules/text-expand-repeater/text-expand-repeater.module.d.ts +0 -9
  89. package/lib/modules/text-expand-repeater/types/text-expand-repeater-list-style-type.d.ts +0 -1
  90. package/lib/modules/toolbar/toolbar-item.component.d.ts +0 -8
  91. package/lib/modules/toolbar/toolbar-section.component.d.ts +0 -8
  92. package/lib/modules/toolbar/toolbar-view-actions.component.d.ts +0 -9
  93. package/lib/modules/toolbar/toolbar.component.d.ts +0 -18
  94. package/lib/modules/toolbar/toolbar.module.d.ts +0 -11
  95. package/testing/legacy/action-button-fixture.d.ts +0 -25
  96. package/testing/legacy/card-fixture.d.ts +0 -34
  97. package/testing/legacy/page-summary-fixture.d.ts +0 -21
  98. package/testing/modules/action-button/action-button-container-harness.d.ts +0 -32
  99. package/testing/modules/action-button/action-button-container-harness.filters.d.ts +0 -6
  100. package/testing/modules/action-button/action-button-harness.d.ts +0 -38
  101. package/testing/modules/action-button/action-button-harness.filters.d.ts +0 -10
  102. package/testing/modules/back-to-top/back-to-top-harness.d.ts +0 -15
  103. package/testing/modules/box/box-harness.d.ts +0 -60
  104. package/testing/modules/box/box-harness.filters.d.ts +0 -6
  105. package/testing/modules/description-list/description-list-content-harness.d.ts +0 -31
  106. package/testing/modules/description-list/description-list-description-harness.d.ts +0 -12
  107. package/testing/modules/description-list/description-list-harness-filters.d.ts +0 -6
  108. package/testing/modules/description-list/description-list-harness.d.ts +0 -25
  109. package/testing/modules/description-list/description-list-term-harness.d.ts +0 -12
  110. package/testing/modules/fluid-grid/column-harness-filters.d.ts +0 -6
  111. package/testing/modules/fluid-grid/column-harness.d.ts +0 -34
  112. package/testing/modules/fluid-grid/fluid-grid-harness-filters.d.ts +0 -6
  113. package/testing/modules/fluid-grid/fluid-grid-harness.d.ts +0 -31
  114. package/testing/modules/fluid-grid/row-harness-filters.d.ts +0 -6
  115. package/testing/modules/fluid-grid/row-harness.d.ts +0 -28
  116. package/testing/modules/inline-delete/inline-delete-harness.d.ts +0 -30
  117. package/testing/modules/inline-delete/inline-delete-harness.filters.d.ts +0 -6
  118. package/testing/modules/text-expand/text-expand-harness-filters.d.ts +0 -6
  119. package/testing/modules/text-expand/text-expand-harness.d.ts +0 -39
  120. package/testing/modules/text-expand/text-expand-modal-harness.d.ts +0 -23
  121. package/testing/modules/text-expand-repeater/text-expand-repeater-harness-filters.d.ts +0 -6
  122. package/testing/modules/text-expand-repeater/text-expand-repeater-harness.d.ts +0 -36
  123. package/testing/modules/text-expand-repeater/text-expand-repeater-item-harness.d.ts +0 -10
  124. package/testing/modules/toolbar/toolbar-harness-filters.d.ts +0 -6
  125. package/testing/modules/toolbar/toolbar-harness.d.ts +0 -43
  126. package/testing/modules/toolbar/toolbar-item-harness-filters.d.ts +0 -6
  127. package/testing/modules/toolbar/toolbar-item-harness.d.ts +0 -17
  128. package/testing/modules/toolbar/toolbar-section-harness-filters.d.ts +0 -6
  129. package/testing/modules/toolbar/toolbar-section-harness.d.ts +0 -33
  130. package/testing/modules/toolbar/toolbar-view-actions-harness.d.ts +0 -10
  131. package/testing/public-api.d.ts +0 -34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/layout",
3
- "version": "12.27.0",
3
+ "version": "13.0.0-alpha.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,23 +16,23 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/animations": "^19.2.14",
20
- "@angular/cdk": "^19.2.19",
21
- "@angular/common": "^19.2.14",
22
- "@angular/core": "^19.2.14",
23
- "@angular/forms": "^19.2.14",
24
- "@angular/platform-browser": "^19.2.14",
25
- "@angular/router": "^19.2.14",
26
- "@skyux-sdk/testing": "12.27.0",
27
- "@skyux/core": "12.27.0",
28
- "@skyux/forms": "12.27.0",
29
- "@skyux/help-inline": "12.27.0",
30
- "@skyux/i18n": "12.27.0",
31
- "@skyux/icon": "12.27.0",
32
- "@skyux/indicators": "12.27.0",
33
- "@skyux/modals": "12.27.0",
34
- "@skyux/router": "12.27.0",
35
- "@skyux/theme": "12.27.0"
19
+ "@angular/animations": "^20.0.5",
20
+ "@angular/cdk": "^20.0.4",
21
+ "@angular/common": "^20.0.5",
22
+ "@angular/core": "^20.0.5",
23
+ "@angular/forms": "^20.0.5",
24
+ "@angular/platform-browser": "^20.0.5",
25
+ "@angular/router": "^20.0.5",
26
+ "@skyux-sdk/testing": "13.0.0-alpha.1",
27
+ "@skyux/core": "13.0.0-alpha.1",
28
+ "@skyux/forms": "13.0.0-alpha.1",
29
+ "@skyux/help-inline": "13.0.0-alpha.1",
30
+ "@skyux/i18n": "13.0.0-alpha.1",
31
+ "@skyux/icon": "13.0.0-alpha.1",
32
+ "@skyux/indicators": "13.0.0-alpha.1",
33
+ "@skyux/modals": "13.0.0-alpha.1",
34
+ "@skyux/router": "13.0.0-alpha.1",
35
+ "@skyux/theme": "13.0.0-alpha.1"
36
36
  },
37
37
  "dependencies": {
38
38
  "tslib": "^2.8.1"
@@ -1,5 +1,659 @@
1
+ import { ComponentFixture } from '@angular/core/testing';
2
+ import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
3
+ import { SkyHarnessFilters, SkyComponentHarness, SkyQueryableComponentHarness } from '@skyux/core/testing';
4
+ import { SkyBoxHeadingLevel, SkyBoxHeadingStyle, SkyDescriptionListModeType, SkyTextExpandRepeaterListStyleType, SkyActionButtonContainerAlignItemsType } from '@skyux/layout';
5
+
1
6
  /**
2
- * Generated bundle index. Do not edit.
7
+ * Allows interaction with a SKY UX action button component.
8
+ * @internal
3
9
  */
4
- /// <amd-module name="@skyux/layout/testing" />
5
- export * from './public-api';
10
+ declare class SkyActionButtonFixture {
11
+ #private;
12
+ /**
13
+ * The action button's current header text.
14
+ */
15
+ get headerText(): string | undefined;
16
+ /**
17
+ * The action button's current details text.
18
+ */
19
+ get detailsText(): string | undefined;
20
+ /**
21
+ * The action button's current icon type.
22
+ */
23
+ get iconType(): string | undefined;
24
+ constructor(fixture: ComponentFixture<any>, skyTestId: string);
25
+ /**
26
+ * Clicks the action button.
27
+ */
28
+ actionClick(): void;
29
+ }
30
+
31
+ /**
32
+ * Allows interaction with a SKY UX avatar component.
33
+ * @internal
34
+ */
35
+ declare class SkyCardFixture {
36
+ #private;
37
+ /**
38
+ * The card's current title.
39
+ */
40
+ get titleText(): string | undefined;
41
+ /**
42
+ * The card's current content text.
43
+ */
44
+ get contentText(): string | undefined;
45
+ /**
46
+ * A flag indicating whether the user can select the card.
47
+ */
48
+ get selectable(): boolean;
49
+ /**
50
+ * A flag indicating whether the card is currently selected. If the card
51
+ * is not selectable, an error is thrown.
52
+ */
53
+ get selected(): boolean;
54
+ constructor(fixture: ComponentFixture<any>, skyTestId: string);
55
+ /**
56
+ * Selects the card.
57
+ */
58
+ select(): void;
59
+ /**
60
+ * Deselects the card.
61
+ */
62
+ deselect(): void;
63
+ }
64
+
65
+ /**
66
+ * Allows interaction with a SKY UX page summary component.
67
+ * @internal
68
+ */
69
+ declare class SkyPageSummaryFixture {
70
+ #private;
71
+ /**
72
+ * The page summary's current title text.
73
+ */
74
+ get titleText(): string | undefined;
75
+ /**
76
+ * The page summary's current subtitle text.
77
+ */
78
+ get subtitleText(): string | undefined;
79
+ /**
80
+ * The page summary's current content text.
81
+ */
82
+ get contentText(): string | undefined;
83
+ constructor(fixture: ComponentFixture<any>, skyTestId: string);
84
+ }
85
+
86
+ /**
87
+ * Harness for interacting with a back to top component in tests.
88
+ */
89
+ declare class SkyBackToTopHarness extends ComponentHarness {
90
+ #private;
91
+ /**
92
+ * @internal
93
+ */
94
+ static hostSelector: string;
95
+ /**
96
+ * Clicks the back to top button.
97
+ */
98
+ clickBackToTop(): Promise<void>;
99
+ }
100
+
101
+ /**
102
+ * A set of criteria that can be used to filter a list of `SkyBoxHarness` instances.
103
+ */
104
+ interface SkyBoxHarnessFilters extends SkyHarnessFilters {
105
+ }
106
+
107
+ /**
108
+ * Harness for interacting with a box component in tests.
109
+ */
110
+ declare class SkyBoxHarness extends SkyComponentHarness {
111
+ #private;
112
+ /**
113
+ * @internal
114
+ */
115
+ static hostSelector: string;
116
+ /**
117
+ * Gets a `HarnessPredicate` that can be used to search for a
118
+ * `SkyBoxHarness` that meets certain criteria
119
+ */
120
+ static with(filters: SkyBoxHarnessFilters): HarnessPredicate<SkyBoxHarness>;
121
+ /**
122
+ * Clicks the help inline button.
123
+ */
124
+ clickHelpInline(): Promise<void>;
125
+ /**
126
+ * Gets the help popover content.
127
+ */
128
+ getHelpPopoverContent(): Promise<string | undefined>;
129
+ /**
130
+ * Gets the help popover title.
131
+ */
132
+ getHelpPopoverTitle(): Promise<string | undefined>;
133
+ /**
134
+ * Gets the box's heading text. If `headingHidden` is true,
135
+ * the text will still be returned.
136
+ */
137
+ getHeadingText(): Promise<string | undefined>;
138
+ /**
139
+ * Whether the heading is hidden.
140
+ */
141
+ getHeadingHidden(): Promise<boolean>;
142
+ /**
143
+ * The semantic heading level used for the checkbox group. Returns undefined if heading level is not set.
144
+ */
145
+ getHeadingLevel(): Promise<SkyBoxHeadingLevel | undefined>;
146
+ /**
147
+ * The heading style used for the checkbox group.
148
+ */
149
+ getHeadingStyle(): Promise<SkyBoxHeadingStyle>;
150
+ /**
151
+ * Gets the aria-label property of the box
152
+ */
153
+ getAriaLabel(): Promise<string | null>;
154
+ /**
155
+ * Gets the aria-labelledby property of the box
156
+ */
157
+ getAriaLabelledby(): Promise<string | null>;
158
+ /**
159
+ * Gets the aria-role property of the box
160
+ */
161
+ getAriaRole(): Promise<string | null>;
162
+ }
163
+
164
+ /**
165
+ * Harness for interacting with a description list content component in tests.
166
+ */
167
+ declare class SkyDescriptionListContentHarness extends SkyComponentHarness {
168
+ #private;
169
+ /**
170
+ * @internal
171
+ */
172
+ static hostSelector: string;
173
+ /**
174
+ * Clicks the help inline button.
175
+ */
176
+ clickHelpInline(): Promise<void>;
177
+ /**
178
+ * Gets the description component text.
179
+ */
180
+ getDescriptionText(): Promise<string>;
181
+ /**
182
+ * Gets the help popover content.
183
+ */
184
+ getHelpPopoverContent(): Promise<string | undefined>;
185
+ /**
186
+ * Gets the help popover title.
187
+ */
188
+ getHelpPopoverTitle(): Promise<string | undefined>;
189
+ /**
190
+ * Gets the term component text.
191
+ */
192
+ getTermText(): Promise<string>;
193
+ }
194
+
195
+ /**
196
+ * A set of criteria that can be used to filter a list of `SkyDescriptionListHarness` instances.
197
+ */
198
+ interface SkyDescriptionListHarnessFilters extends SkyHarnessFilters {
199
+ }
200
+
201
+ /**
202
+ * Harness for interacting with a description list component in tests.
203
+ */
204
+ declare class SkyDescriptionListHarness extends SkyComponentHarness {
205
+ #private;
206
+ /**
207
+ * @internal
208
+ */
209
+ static hostSelector: string;
210
+ /**
211
+ * Gets a `HarnessPredicate` that can be used to search for a
212
+ * `SkyDescriptionListHarness` that meets certain criteria
213
+ */
214
+ static with(filters: SkyDescriptionListHarnessFilters): HarnessPredicate<SkyDescriptionListHarness>;
215
+ getContent(): Promise<SkyDescriptionListContentHarness[]>;
216
+ /**
217
+ * Gets the mode of the description list.
218
+ */
219
+ getMode(): Promise<SkyDescriptionListModeType>;
220
+ }
221
+
222
+ /**
223
+ * A set of criteria that can be used to filter a list of `SkyColumnHarness` instances.
224
+ */
225
+ interface SkyColumnHarnessFilters extends SkyHarnessFilters {
226
+ }
227
+
228
+ /**
229
+ * Harness for interacting with a fluid grid column component in tests.
230
+ */
231
+ declare class SkyColumnHarness extends SkyComponentHarness {
232
+ #private;
233
+ /**
234
+ * @internal
235
+ */
236
+ static hostSelector: string;
237
+ /**
238
+ * Gets a `HarnessPredicate` that can be used to search for a
239
+ * `SkyColumnHarness` that meets certain criteria
240
+ */
241
+ static with(filters: SkyColumnHarnessFilters): HarnessPredicate<SkyColumnHarness>;
242
+ /**
243
+ * Gets the size of the column in an XSmall responsive context.
244
+ */
245
+ getXSmallSize(): Promise<number>;
246
+ /**
247
+ * Gets the size of the column in a Small responsive context.
248
+ */
249
+ getSmallSize(): Promise<number>;
250
+ /**
251
+ * Gets the size of the column in a Medium responsive context.
252
+ */
253
+ getMediumSize(): Promise<number>;
254
+ /**
255
+ * Gets the size of the column in a Large responsive context.
256
+ */
257
+ getLargeSize(): Promise<number>;
258
+ }
259
+
260
+ /**
261
+ * A set of criteria that can be used to filter a list of `SkyFluidGridHarness` instances.
262
+ */
263
+ interface SkyFluidGridHarnessFilters extends SkyHarnessFilters {
264
+ }
265
+
266
+ /**
267
+ * A set of criteria that can be used to filter a list of `SkyRowHarness` instances.
268
+ */
269
+ interface SkyRowHarnessFilters extends SkyHarnessFilters {
270
+ }
271
+
272
+ /**
273
+ * Harness for interacting with a fluid grid column component in tests.
274
+ */
275
+ declare class SkyRowHarness extends SkyComponentHarness {
276
+ #private;
277
+ /**
278
+ * @internal
279
+ */
280
+ static hostSelector: string;
281
+ /**
282
+ * Gets a `HarnessPredicate` that can be used to search for a
283
+ * `SkyRowHarness` that meets certain criteria
284
+ */
285
+ static with(filters: SkyRowHarnessFilters): HarnessPredicate<SkyRowHarness>;
286
+ /**
287
+ * Gets all of the columns in the row.
288
+ */
289
+ getColumns(): Promise<SkyColumnHarness[]>;
290
+ /**
291
+ * Gets the ordering of the columns in the row.
292
+ * @returns `normal` | `reverse`
293
+ */
294
+ getColumnOrder(): Promise<string>;
295
+ }
296
+
297
+ /**
298
+ * Harness for interacting with a fluid grid component in tests.
299
+ */
300
+ declare class SkyFluidGridHarness extends SkyComponentHarness {
301
+ #private;
302
+ /**
303
+ * @internal
304
+ */
305
+ static hostSelector: string;
306
+ /**
307
+ * Gets a `HarnessPredicate` that can be used to search for a
308
+ * `SkyFluidGridHarness` that meets certain criteria
309
+ */
310
+ static with(filters: SkyFluidGridHarnessFilters): HarnessPredicate<SkyFluidGridHarness>;
311
+ /**
312
+ * Gets the gutter size for the grid.
313
+ */
314
+ getGutterSize(): Promise<string>;
315
+ /**
316
+ * Gets all of the rows in the grid.
317
+ */
318
+ getRows(): Promise<SkyRowHarness[]>;
319
+ /**
320
+ * Whether the fluid grid has margin enabled.
321
+ */
322
+ hasMargin(): Promise<boolean>;
323
+ }
324
+
325
+ /**
326
+ * A set of criteria that can be used to filter a list of `SkyTextExpandHarness` instances.
327
+ */
328
+ interface SkyTextExpandHarnessFilters extends SkyHarnessFilters {
329
+ }
330
+
331
+ /**
332
+ * Harness for interacting with a text expand modal component in tests.
333
+ */
334
+ declare class SkyTextExpandModalHarness extends ComponentHarness {
335
+ #private;
336
+ /**
337
+ * @internal
338
+ */
339
+ static hostSelector: string;
340
+ /**
341
+ * Clicks the modal close button.
342
+ */
343
+ clickCloseButton(): Promise<void>;
344
+ /**
345
+ * Gets the modal title.
346
+ */
347
+ getExpandModalTitle(): Promise<string>;
348
+ /**
349
+ * Gets the expanded text in the modal.
350
+ */
351
+ getText(): Promise<string>;
352
+ }
353
+
354
+ /**
355
+ * Harness for interacting with a text expand component in tests.
356
+ */
357
+ declare class SkyTextExpandHarness extends SkyComponentHarness {
358
+ #private;
359
+ /**
360
+ * @internal
361
+ */
362
+ static hostSelector: string;
363
+ /**
364
+ * Gets a `HarnessPredicate` that can be used to search for a
365
+ * `SkyTextExpandHarness` that meets certain criteria.
366
+ */
367
+ static with(filters: SkyTextExpandHarnessFilters): HarnessPredicate<SkyTextExpandHarness>;
368
+ /**
369
+ * Clicks the button element that expands or collapses text.
370
+ */
371
+ clickExpandCollapseButton(): Promise<void>;
372
+ /**
373
+ * Gets the harness to interact with the modal expanded view.
374
+ */
375
+ getExpandedViewModal(): Promise<SkyTextExpandModalHarness>;
376
+ /**
377
+ * Gets the text content of the text expand.
378
+ */
379
+ getText(): Promise<string>;
380
+ /**
381
+ * Whether the text will expand to a modal.
382
+ */
383
+ textExpandsToModal(): Promise<boolean>;
384
+ /**
385
+ * Whether the text is expanded.
386
+ */
387
+ isExpanded(): Promise<boolean>;
388
+ }
389
+
390
+ /**
391
+ * A set of criteria that can be used to filter a list of `SkyTextExpandRepeaterHarness` instances.
392
+ */
393
+ interface SkyTextExpandRepeaterHarnessFilters extends SkyHarnessFilters {
394
+ }
395
+
396
+ /**
397
+ * Harness for interacting with a text expand repeater items in tests.
398
+ */
399
+ declare class SkyTextExpandRepeaterItemHarness extends SkyQueryableComponentHarness {
400
+ /**
401
+ * @internal
402
+ */
403
+ static hostSelector: string;
404
+ }
405
+
406
+ /**
407
+ * Harness for interacting with a text expand repeater component in tests.
408
+ */
409
+ declare class SkyTextExpandRepeaterHarness extends SkyComponentHarness {
410
+ #private;
411
+ /**
412
+ * @internal
413
+ */
414
+ static hostSelector: string;
415
+ /**
416
+ * Gets a `HarnessPredicate` that can be used to search for a
417
+ * `SkyTextExpandRepeaterHarness` that meets certain criteria.
418
+ */
419
+ static with(filters: SkyTextExpandRepeaterHarnessFilters): HarnessPredicate<SkyTextExpandRepeaterHarness>;
420
+ /**
421
+ * Clicks the button element that expands or collapses text.
422
+ */
423
+ clickExpandCollapseButton(): Promise<void>;
424
+ /**
425
+ * Gets an array of container harnesses for the repeater items.
426
+ */
427
+ getItems(): Promise<SkyTextExpandRepeaterItemHarness[]>;
428
+ /**
429
+ * Gets the list style.
430
+ */
431
+ getListStyle(): Promise<SkyTextExpandRepeaterListStyleType>;
432
+ /**
433
+ * Whether the text is expanded.
434
+ */
435
+ isExpanded(): Promise<boolean>;
436
+ }
437
+
438
+ /**
439
+ * A set of criteria that can be used to filter a list of `SkyToolbarHarness` instances.
440
+ */
441
+ interface SkyToolbarHarnessFilters extends SkyHarnessFilters {
442
+ }
443
+
444
+ /**
445
+ * A set of criteria that can be used to filter a list of `SkyToolbarItemHarness` instances.
446
+ */
447
+ interface SkyToolbarItemHarnessFilters extends SkyHarnessFilters {
448
+ }
449
+
450
+ /**
451
+ * Harness to interact with a toolbar item component in tests.
452
+ */
453
+ declare class SkyToolbarItemHarness extends SkyQueryableComponentHarness {
454
+ /**
455
+ * @internal
456
+ */
457
+ static hostSelector: string;
458
+ /**
459
+ * Gets a `HarnessPredicate` that can be used to search for a
460
+ * `SkyToolbarItemHarness` that meets certain criteria.
461
+ */
462
+ static with(filters: SkyToolbarItemHarnessFilters): HarnessPredicate<SkyToolbarItemHarness>;
463
+ }
464
+
465
+ /**
466
+ * A set of criteria that can be used to filter a list of `SkyToolbarSectionHarness` instances.
467
+ */
468
+ interface SkyToolbarSectionHarnessFilters extends SkyHarnessFilters {
469
+ }
470
+
471
+ /**
472
+ * Harness to interact with a toolbar view actions component in tests.
473
+ */
474
+ declare class SkyToolbarViewActionsHarness extends SkyQueryableComponentHarness {
475
+ /**
476
+ * @internal
477
+ */
478
+ static hostSelector: string;
479
+ }
480
+
481
+ /**
482
+ * Harness to interact with a toolbar section component in tests.
483
+ */
484
+ declare class SkyToolbarSectionHarness extends SkyComponentHarness {
485
+ #private;
486
+ /**
487
+ * @internal
488
+ */
489
+ static hostSelector: string;
490
+ /**
491
+ * Gets a `HarnessPredicate` that can be used to search for a
492
+ * `SkyToolbarSectionHarness` that meets certain criteria.
493
+ */
494
+ static with(filters: SkyToolbarSectionHarnessFilters): HarnessPredicate<SkyToolbarSectionHarness>;
495
+ /**
496
+ * Gets a harness for a specific toolbar item that meets certain criteria.
497
+ */
498
+ getItem(filter: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness>;
499
+ /**
500
+ * Gets an array of all toolbar items.
501
+ */
502
+ getItems(filters?: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness[]>;
503
+ /**
504
+ * Gets the harness to interact with the toolbar's view actions.
505
+ */
506
+ getViewActions(): Promise<SkyToolbarViewActionsHarness>;
507
+ }
508
+
509
+ /**
510
+ * Harness for interacting with a toolbar component in tests.
511
+ */
512
+ declare class SkyToolbarHarness extends SkyComponentHarness {
513
+ #private;
514
+ /**
515
+ * @internal
516
+ */
517
+ static hostSelector: string;
518
+ /**
519
+ * Gets a `HarnessPredicate` that can be used to search for a
520
+ * `SkyToolbarHarness` that meets certain criteria.
521
+ */
522
+ static with(filters: SkyToolbarHarnessFilters): HarnessPredicate<SkyToolbarHarness>;
523
+ /**
524
+ * Gets a harness for a specific toolbar item that meets certain criteria.
525
+ */
526
+ getItem(filter: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness>;
527
+ /**
528
+ * Gets an array of all toolbar items.
529
+ */
530
+ getItems(filters?: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness[]>;
531
+ /**
532
+ * Gets a harness for a specific toolbar section that meets certain criteria.
533
+ */
534
+ getSection(filter: SkyToolbarSectionHarnessFilters): Promise<SkyToolbarSectionHarness>;
535
+ /**
536
+ * Gets an array of all toolbar sections.
537
+ */
538
+ getSections(filters?: SkyToolbarSectionHarnessFilters): Promise<SkyToolbarSectionHarness[]>;
539
+ /**
540
+ * Gets the harness to interact with the toolbar's view actions.
541
+ */
542
+ getViewActions(): Promise<SkyToolbarViewActionsHarness>;
543
+ }
544
+
545
+ /**
546
+ * A set of criteria that can be used to filter a list of `SkyActionButtonContainerHarness` instances.
547
+ */
548
+ interface SkyActionButtonContainerHarnessFilters extends SkyHarnessFilters {
549
+ }
550
+
551
+ /**
552
+ * A set of criteria that can be used to filter a list of `SkyActionButtonHarness` instances.
553
+ */
554
+ interface SkyActionButtonHarnessFilters extends SkyHarnessFilters {
555
+ /**
556
+ * Finds action buttons whose header matches given value.
557
+ */
558
+ header?: string;
559
+ }
560
+
561
+ /**
562
+ * Harness for interacting with a action button component in tests.
563
+ */
564
+ declare class SkyActionButtonHarness extends SkyComponentHarness {
565
+ #private;
566
+ /**
567
+ * @internal
568
+ */
569
+ static hostSelector: string;
570
+ /**
571
+ * Gets a `HarnessPredicate` that can be used to search for a
572
+ * `SkyActionButtonHarness` that meets certain criteria.
573
+ */
574
+ static with(filters: SkyActionButtonHarnessFilters): HarnessPredicate<SkyActionButtonHarness>;
575
+ /**
576
+ * Clicks the action button.
577
+ */
578
+ click(): Promise<void>;
579
+ /**
580
+ * Gets the action button details text.
581
+ */
582
+ getDetailsText(): Promise<string | null>;
583
+ /**
584
+ * Gets the action button header text.
585
+ */
586
+ getHeaderText(): Promise<string | null>;
587
+ /**
588
+ * Gets the action button icon type.
589
+ */
590
+ getIconType(): Promise<string | undefined>;
591
+ /**
592
+ * Gets the action button link.
593
+ */
594
+ getLink(): Promise<string | undefined>;
595
+ }
596
+
597
+ /**
598
+ * Harness for interacting with a action button container component in tests.
599
+ */
600
+ declare class SkyActionButtonContainerHarness extends SkyComponentHarness {
601
+ /**
602
+ * @internal
603
+ */
604
+ static hostSelector: string;
605
+ /**
606
+ * Gets a `HarnessPredicate` that can be used to search for a
607
+ * `SkyActionButtonContainerHarness` that meets certain criteria.
608
+ */
609
+ static with(filters: SkyActionButtonContainerHarnessFilters): HarnessPredicate<SkyActionButtonContainerHarness>;
610
+ /**
611
+ * Gets an action button that matches the given filter.
612
+ */
613
+ getActionButton(filter: SkyActionButtonHarnessFilters): Promise<SkyActionButtonHarness>;
614
+ /**
615
+ * Gets the action buttons.
616
+ */
617
+ getActionButtons(): Promise<SkyActionButtonHarness[]>;
618
+ /**
619
+ * Gets the alignment of the buttons inside the container.
620
+ */
621
+ getAlignment(): Promise<SkyActionButtonContainerAlignItemsType>;
622
+ }
623
+
624
+ /**
625
+ * A set of criteria that can be used to filter a list of `SkyInlineDeleteHarness` instances.
626
+ */
627
+ interface SkyInlineDeleteHarnessFilters extends SkyHarnessFilters {
628
+ }
629
+
630
+ /**
631
+ * Harness for interacting with an inline delete component in tests.
632
+ */
633
+ declare class SkyInlineDeleteHarness extends SkyComponentHarness {
634
+ #private;
635
+ /**
636
+ * @internal
637
+ */
638
+ static hostSelector: string;
639
+ /**
640
+ * Gets a `HarnessPredicate` that can be used to search for a
641
+ * `SkyInlineDeleteHarness` that meets certain criteria.
642
+ */
643
+ static with(filters: SkyInlineDeleteHarnessFilters): HarnessPredicate<SkyInlineDeleteHarness>;
644
+ /**
645
+ * Clicks the delete button.
646
+ */
647
+ clickDeleteButton(): Promise<void>;
648
+ /**
649
+ * Clicks the cancel button.
650
+ */
651
+ clickCancelButton(): Promise<void>;
652
+ /**
653
+ * Whether the inline delete is pending.
654
+ */
655
+ isPending(): Promise<boolean>;
656
+ }
657
+
658
+ export { SkyActionButtonContainerHarness, SkyActionButtonFixture, SkyActionButtonHarness, SkyBackToTopHarness, SkyBoxHarness, SkyCardFixture, SkyColumnHarness, SkyDescriptionListContentHarness, SkyDescriptionListHarness, SkyFluidGridHarness, SkyInlineDeleteHarness, SkyPageSummaryFixture, SkyRowHarness, SkyTextExpandHarness, SkyTextExpandModalHarness, SkyTextExpandRepeaterHarness, SkyTextExpandRepeaterItemHarness, SkyToolbarHarness, SkyToolbarItemHarness, SkyToolbarSectionHarness, SkyToolbarViewActionsHarness };
659
+ export type { SkyActionButtonContainerHarnessFilters, SkyActionButtonHarnessFilters, SkyBoxHarnessFilters, SkyColumnHarnessFilters, SkyDescriptionListHarnessFilters, SkyFluidGridHarnessFilters, SkyInlineDeleteHarnessFilters, SkyRowHarnessFilters, SkyTextExpandHarnessFilters, SkyTextExpandRepeaterHarnessFilters, SkyToolbarHarnessFilters, SkyToolbarItemHarnessFilters, SkyToolbarSectionHarnessFilters };