@skyux/lists 13.2.0 → 13.3.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.
package/index.d.ts CHANGED
@@ -349,7 +349,7 @@ declare class SkyRepeaterItemComponent implements OnDestroy, OnInit, AfterViewIn
349
349
  */
350
350
  get tabindex(): 0 | -1;
351
351
  /**
352
- * Whether to exclude an item when cycling through.
352
+ * Whether to disable a selectable repeater item.
353
353
  */
354
354
  set disabled(value: boolean | undefined);
355
355
  get disabled(): boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lists",
3
- "version": "13.2.0",
3
+ "version": "13.3.1",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -20,16 +20,16 @@
20
20
  "@angular/common": "^20.3.0",
21
21
  "@angular/core": "^20.3.0",
22
22
  "@angular/platform-browser": "^20.3.0",
23
- "@skyux-sdk/testing": "13.2.0",
24
- "@skyux/animations": "13.2.0",
25
- "@skyux/core": "13.2.0",
26
- "@skyux/forms": "13.2.0",
27
- "@skyux/i18n": "13.2.0",
28
- "@skyux/icon": "13.2.0",
29
- "@skyux/indicators": "13.2.0",
30
- "@skyux/inline-form": "13.2.0",
31
- "@skyux/popovers": "13.2.0",
32
- "@skyux/theme": "13.2.0"
23
+ "@skyux-sdk/testing": "13.3.1",
24
+ "@skyux/animations": "13.3.1",
25
+ "@skyux/core": "13.3.1",
26
+ "@skyux/forms": "13.3.1",
27
+ "@skyux/i18n": "13.3.1",
28
+ "@skyux/icon": "13.3.1",
29
+ "@skyux/indicators": "13.3.1",
30
+ "@skyux/inline-form": "13.3.1",
31
+ "@skyux/popovers": "13.3.1",
32
+ "@skyux/theme": "13.3.1"
33
33
  },
34
34
  "dependencies": {
35
35
  "@types/dragula": "2.1.36",
@@ -3,7 +3,8 @@ import * as i1 from '@skyux/lists';
3
3
  import { HarnessPredicate, BaseHarnessFilters } from '@angular/cdk/testing';
4
4
  import { SkyHarnessFilters, SkyComponentHarness, SkyQueryableComponentHarness } from '@skyux/core/testing';
5
5
  import { ComponentFixture } from '@angular/core/testing';
6
- import { SkyDropdownItemHarness } from '@skyux/popovers/testing';
6
+ import { SkyInlineFormHarness } from '@skyux/inline-form/testing';
7
+ import { SkyDropdownHarnessFilters, SkyDropdownHarness, SkyDropdownItemHarness } from '@skyux/popovers/testing';
7
8
 
8
9
  /**
9
10
  * @internal
@@ -320,25 +321,33 @@ declare class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
320
321
  */
321
322
  click(): Promise<void>;
322
323
  /**
323
- * Whether the repeater item is selectable.
324
+ * Collapses the repeater item, or does nothing if already collapsed.
324
325
  */
325
- isSelectable(): Promise<boolean>;
326
+ collapse(): Promise<void>;
326
327
  /**
327
- * Whether the repeater item is selected.
328
+ * Deselects the repeater item.
328
329
  */
329
- isSelected(): Promise<boolean>;
330
+ deselect(): Promise<void>;
330
331
  /**
331
- * Selects the repeater item.
332
+ * Expands the repeater item, or does nothing if already expanded.
332
333
  */
333
- select(): Promise<void>;
334
+ expand(): Promise<void>;
334
335
  /**
335
- * Deselects the repeater item.
336
+ * Gets a harness for the dropdown inside the context menu.
336
337
  */
337
- deselect(): Promise<void>;
338
+ getContextMenuDropdown(filters?: SkyDropdownHarnessFilters): Promise<SkyDropdownHarness>;
338
339
  /**
339
340
  * Gets the text of the repeater item content.
340
341
  */
341
342
  getContentText(): Promise<string>;
343
+ /**
344
+ * Gets the inline form harness.
345
+ */
346
+ getInlineForm(): Promise<SkyInlineFormHarness>;
347
+ /**
348
+ * Gets the item name.
349
+ */
350
+ getItemName(): Promise<string | null>;
342
351
  /**
343
352
  * Gets the text of the repeater item title.
344
353
  */
@@ -347,22 +356,30 @@ declare class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
347
356
  * Whether the repeater item is collapsible.
348
357
  */
349
358
  isCollapsible(): Promise<boolean>;
359
+ /**
360
+ * Whether a selectable repeater item is disabled.
361
+ */
362
+ isDisabled(): Promise<boolean>;
350
363
  /**
351
364
  * Whether the repeater item is expanded, or throws an error informing of the lack of collapsibility.
352
365
  */
353
366
  isExpanded(): Promise<boolean>;
354
367
  /**
355
- * Expands the repeater item, or does nothing if already expanded.
368
+ * Whether the repeater item is reorderable.
356
369
  */
357
- expand(): Promise<void>;
370
+ isReorderable(): Promise<boolean>;
358
371
  /**
359
- * Collapses the repeater item, or does nothing if already collapsed.
372
+ * Whether a repeater item has selection enabled.
360
373
  */
361
- collapse(): Promise<void>;
374
+ isSelectable(): Promise<boolean>;
362
375
  /**
363
- * Whether the repeater item is reorderable.
376
+ * Whether a selectable repeater item is selected. Throws an error if the item is not selectable.
364
377
  */
365
- isReorderable(): Promise<boolean>;
378
+ isSelected(): Promise<boolean>;
379
+ /**
380
+ * Selects the repeater item.
381
+ */
382
+ select(): Promise<void>;
366
383
  /**
367
384
  * Moves the repeater item to the top of the list
368
385
  */
@@ -373,6 +390,7 @@ declare class SkyRepeaterItemHarness extends SkyQueryableComponentHarness {
373
390
  * Harness for interacting with a repeater component in tests.
374
391
  */
375
392
  declare class SkyRepeaterHarness extends SkyComponentHarness {
393
+ #private;
376
394
  /**
377
395
  * @internal
378
396
  */
@@ -393,6 +411,21 @@ declare class SkyRepeaterHarness extends SkyComponentHarness {
393
411
  * @param filters The optional filter criteria.
394
412
  */
395
413
  getRepeaterItems(filters?: SkyRepeaterItemHarnessFilters): Promise<SkyRepeaterItemHarness[]>;
414
+ /**
415
+ * Gets the aria-label for the repeater list
416
+ */
417
+ getAriaLabel(): Promise<string | null>;
418
+ }
419
+
420
+ /**
421
+ * Harness to query inside a repeater item context menu component in tests.
422
+ * @internal
423
+ */
424
+ declare class SkyRepeaterItemContextMenuHarness extends SkyQueryableComponentHarness {
425
+ /**
426
+ * @internal
427
+ */
428
+ static hostSelector: string;
396
429
  }
397
430
 
398
431
  /**
@@ -598,5 +631,5 @@ declare class SkyInfiniteScrollHarness extends SkyComponentHarness {
598
631
  loadMore(): Promise<void>;
599
632
  }
600
633
 
601
- export { SkyFilterButtonHarness, SkyFilterInlineHarness, SkyFilterInlineItemHarness, SkyFilterSummaryHarness, SkyFilterSummaryItemHarness, SkyFilterTestingModule, SkyInfiniteScrollFixture, SkyInfiniteScrollHarness, SkyInfiniteScrollTestingModule, SkyPagingContentHarness, SkyPagingFixture, SkyPagingHarness, SkyRepeaterHarness, SkyRepeaterItemHarness, SkySortFixture, SkySortHarness, SkySortItemHarness };
634
+ export { SkyFilterButtonHarness, SkyFilterInlineHarness, SkyFilterInlineItemHarness, SkyFilterSummaryHarness, SkyFilterSummaryItemHarness, SkyFilterTestingModule, SkyInfiniteScrollFixture, SkyInfiniteScrollHarness, SkyInfiniteScrollTestingModule, SkyPagingContentHarness, SkyPagingFixture, SkyPagingHarness, SkyRepeaterHarness, SkyRepeaterItemContextMenuHarness, SkyRepeaterItemHarness, SkySortFixture, SkySortHarness, SkySortItemHarness };
602
635
  export type { SkyFilterButtonHarnessFilters, SkyFilterInlineHarnessFilters, SkyFilterInlineItemHarnessFilters, SkyFilterSummaryHarnessFilters, SkyFilterSummaryItemHarnessFilters, SkyInfiniteScrollHarnessFilters, SkyPagingFixtureButton, SkyPagingHarnessFilters, SkyRepeaterHarnessFilters, SkyRepeaterItemHarnessFilters, SkySortFixtureMenu, SkySortFixtureMenuItem, SkySortHarnessFilters, SkySortItemHarnessFilters };