@skyux/lists 7.0.0-beta.3 → 7.0.0-beta.5

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.
@@ -3,19 +3,16 @@ import { BehaviorSubject } from 'rxjs';
3
3
  import { SkySortService } from './sort.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SkySortItemComponent implements OnInit, OnChanges, OnDestroy {
6
- private sortService;
7
- private detector;
6
+ #private;
8
7
  /**
9
8
  * Indicates whether the sorting option is active.
10
9
  */
11
- active: boolean;
10
+ active: boolean | undefined;
12
11
  /**
13
12
  * Fires when a sort item is selected.
14
13
  */
15
14
  itemSelect: EventEmitter<any>;
16
15
  isSelected: BehaviorSubject<boolean>;
17
- private subscription;
18
- private sortItemId;
19
16
  constructor(sortService: SkySortService, detector: ChangeDetectorRef);
20
17
  ngOnInit(): void;
21
18
  ngOnChanges(changes: SimpleChanges): void;
@@ -5,7 +5,7 @@ export declare class SkySortComponent {
5
5
  /**
6
6
  * Indicates whether to display a "Sort" label beside the icon on the sort button.
7
7
  */
8
- showButtonText: boolean;
8
+ showButtonText: boolean | undefined;
9
9
  dropdownController: Subject<SkyDropdownMessage>;
10
10
  dropdownClicked(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SkySortComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lists",
3
- "version": "7.0.0-beta.3",
3
+ "version": "7.0.0-beta.5",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -44,15 +44,15 @@
44
44
  "@angular/common": "^14.2.0",
45
45
  "@angular/core": "^14.2.0",
46
46
  "@angular/platform-browser": "^14.2.0",
47
- "@skyux-sdk/testing": "7.0.0-beta.3",
48
- "@skyux/animations": "7.0.0-beta.3",
49
- "@skyux/core": "7.0.0-beta.3",
50
- "@skyux/forms": "7.0.0-beta.3",
51
- "@skyux/i18n": "7.0.0-beta.3",
52
- "@skyux/indicators": "7.0.0-beta.3",
53
- "@skyux/inline-form": "7.0.0-beta.3",
54
- "@skyux/popovers": "7.0.0-beta.3",
55
- "@skyux/theme": "7.0.0-beta.3"
47
+ "@skyux-sdk/testing": "7.0.0-beta.5",
48
+ "@skyux/animations": "7.0.0-beta.5",
49
+ "@skyux/core": "7.0.0-beta.5",
50
+ "@skyux/forms": "7.0.0-beta.5",
51
+ "@skyux/i18n": "7.0.0-beta.5",
52
+ "@skyux/indicators": "7.0.0-beta.5",
53
+ "@skyux/inline-form": "7.0.0-beta.5",
54
+ "@skyux/popovers": "7.0.0-beta.5",
55
+ "@skyux/theme": "7.0.0-beta.5"
56
56
  },
57
57
  "dependencies": {
58
58
  "dragula": "3.7.3",
@@ -4,5 +4,5 @@
4
4
  export interface SkySortFixtureMenuItem {
5
5
  index: number;
6
6
  isActive: boolean;
7
- text: string;
7
+ text?: string;
8
8
  }
@@ -8,22 +8,22 @@ import { SkySortFixtureMenuItem } from './sort-fixture-menu-item';
8
8
  * @internal
9
9
  */
10
10
  export declare class SkySortFixture {
11
+ #private;
11
12
  private fixture;
12
13
  /**
13
14
  * The active sort menu item, if one exists. Menu items are only available when the menu dropdown
14
15
  * is open. If the menu dropdown is closed, this property will be undefined.
15
16
  */
16
- get activeMenuItem(): SkySortFixtureMenuItem;
17
+ get activeMenuItem(): SkySortFixtureMenuItem | undefined;
17
18
  /**
18
19
  * The sort menu's properties.
19
20
  */
20
- get menu(): SkySortFixtureMenu;
21
+ get menu(): SkySortFixtureMenu | undefined;
21
22
  /**
22
23
  * The properties of each sort menu item. Menu items are only available when the menu dropdown
23
24
  * is open. If the menu dropdown is closed, this property will be undefined.
24
25
  */
25
- get menuItems(): SkySortFixtureMenuItem[];
26
- private _debugEl;
26
+ get menuItems(): SkySortFixtureMenuItem[] | undefined;
27
27
  constructor(fixture: ComponentFixture<any>, skyTestId: string);
28
28
  /**
29
29
  * Closes the sort dropdown menu if it isn't closed already.
@@ -43,15 +43,5 @@ export declare class SkySortFixture {
43
43
  * if a matching item is available.
44
44
  * @param menuItemText The text of the menu item to select.
45
45
  */
46
- selectMenuItemByText(menuItemText: string): Promise<void>;
47
- private getDropdownButtonEl;
48
- private getDropdownMenuEl;
49
- private getSortButtonTextEl;
50
- private getSortItems;
51
- /**
52
- * Ensures the sort menu is open and selects the menu item via a selection predicate,
53
- * if a matching item is available.
54
- * @param selectionPredicate The menu item selector method to use.
55
- */
56
- private selectMenuItem;
46
+ selectMenuItemByText(menuItemText: string | undefined): Promise<void>;
57
47
  }