@skyux/lists 7.15.0 → 7.17.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.
@@ -103,6 +103,7 @@ export declare class SkyRepeaterItemComponent implements OnDestroy, OnInit, Afte
103
103
  reorderButtonLabel: string;
104
104
  reorderState: string | undefined;
105
105
  slideDirection: string | undefined;
106
+ animationDisabled: boolean;
106
107
  get repeaterGroupClass(): string;
107
108
  grabHandle: ElementRef | undefined;
108
109
  itemContentRef: ElementRef | undefined;
@@ -117,7 +118,7 @@ export declare class SkyRepeaterItemComponent implements OnDestroy, OnInit, Afte
117
118
  headerClick(): void;
118
119
  chevronDirectionChange(direction: string): void;
119
120
  onRepeaterItemClick(event: MouseEvent): void;
120
- updateForExpanded(value: boolean): void;
121
+ updateForExpanded(value: boolean, animate: boolean): void;
121
122
  onCheckboxChange(value: SkyCheckboxChange): void;
122
123
  onInlineFormClose(inlineFormCloseArgs: SkyInlineFormCloseArgs): void;
123
124
  moveToTop(event: Event): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lists",
3
- "version": "7.15.0",
3
+ "version": "7.17.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -44,15 +44,15 @@
44
44
  "@angular/common": "^14.2.11",
45
45
  "@angular/core": "^14.2.11",
46
46
  "@angular/platform-browser": "^14.2.11",
47
- "@skyux-sdk/testing": "7.15.0",
48
- "@skyux/animations": "7.15.0",
49
- "@skyux/core": "7.15.0",
50
- "@skyux/forms": "7.15.0",
51
- "@skyux/i18n": "7.15.0",
52
- "@skyux/indicators": "7.15.0",
53
- "@skyux/inline-form": "7.15.0",
54
- "@skyux/popovers": "7.15.0",
55
- "@skyux/theme": "7.15.0"
47
+ "@skyux-sdk/testing": "7.17.0",
48
+ "@skyux/animations": "7.17.0",
49
+ "@skyux/core": "7.17.0",
50
+ "@skyux/forms": "7.17.0",
51
+ "@skyux/i18n": "7.17.0",
52
+ "@skyux/indicators": "7.17.0",
53
+ "@skyux/inline-form": "7.17.0",
54
+ "@skyux/popovers": "7.17.0",
55
+ "@skyux/theme": "7.17.0"
56
56
  },
57
57
  "dependencies": {
58
58
  "dragula": "3.7.3",
@@ -5,7 +5,6 @@ import { SkyRepeaterItemHarness } from './repeater-item-harness';
5
5
  import { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';
6
6
  /**
7
7
  * Harness for interacting with a repeater component in tests.
8
- * @internal
9
8
  */
10
9
  export declare class SkyRepeaterHarness extends SkyComponentHarness {
11
10
  /**
@@ -1,9 +1,8 @@
1
- import { ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
1
+ import { ComponentHarness, HarnessPredicate, HarnessQuery, TestElement } from '@angular/cdk/testing';
2
2
  import { SkyComponentHarness } from '@skyux/core/testing';
3
3
  import { SkyRepeaterItemHarnessFilters } from './repeater-item-harness-filters';
4
4
  /**
5
5
  * Harness for interacting with a repeater item component in tests.
6
- * @internal
7
6
  */
8
7
  export declare class SkyRepeaterItemHarness extends SkyComponentHarness {
9
8
  #private;
@@ -28,6 +27,18 @@ export declare class SkyRepeaterItemHarness extends SkyComponentHarness {
28
27
  * Returns a child harness.
29
28
  */
30
29
  queryHarness<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T | null>;
30
+ /**
31
+ * Returns child harnesses.
32
+ */
33
+ queryHarnesses<T extends ComponentHarness>(harness: HarnessQuery<T>): Promise<T[]>;
34
+ /**
35
+ * Returns a child test element.
36
+ */
37
+ querySelector(selector: string): Promise<TestElement | null>;
38
+ /**
39
+ * Returns child test elements.
40
+ */
41
+ querySelectorAll(selector: string): Promise<TestElement[]>;
31
42
  /**
32
43
  * Selects the repeater item.
33
44
  */
@@ -64,4 +75,8 @@ export declare class SkyRepeaterItemHarness extends SkyComponentHarness {
64
75
  * Whether the repeater item is reorderable.
65
76
  */
66
77
  isReorderable(): Promise<boolean>;
78
+ /**
79
+ * Moves the repeater item to the top of the list
80
+ */
81
+ sendToTop(): Promise<void>;
67
82
  }