@skyux/lists 9.3.0 → 9.4.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.
@@ -1,4 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { SkyContentInfo } from '@skyux/core';
3
+ import { Observable } from 'rxjs';
2
4
  import * as i0 from "@angular/core";
3
5
  export declare class SkyFilterButtonComponent {
4
6
  #private;
@@ -26,7 +28,8 @@ export declare class SkyFilterButtonComponent {
26
28
  * The ARIA label for the filter button. This sets the
27
29
  * filter button's `aria-label` attribute to provide a text equivalent for screen readers
28
30
  * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
29
- * The aria label should normally be context sensitive, e.g. "Filter constituents". This is especially true when multiple filter buttons are in close proximity.
31
+ * Use a context-sensitive label, such as "Filter constituents." Context is especially important when multiple filter buttons are in close proximity.
32
+ * In toolbars, filter buttons use the `listDescriptor` to provide context, and the ARIA label defaults to "Filter <listDescriptor>."
30
33
  * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
31
34
  */
32
35
  ariaLabel: string | undefined;
@@ -48,6 +51,7 @@ export declare class SkyFilterButtonComponent {
48
51
  * Fires when the filter button is selected.
49
52
  */
50
53
  filterButtonClick: EventEmitter<void>;
54
+ protected contentInfoObs: Observable<SkyContentInfo> | undefined;
51
55
  constructor();
52
56
  filterButtonOnClick(): void;
53
57
  static ɵfac: i0.ɵɵFactoryDeclaration<SkyFilterButtonComponent, never>;
@@ -1,12 +1,15 @@
1
+ import { SkyContentInfo } from '@skyux/core';
1
2
  import { SkyDropdownMessage } from '@skyux/popovers';
2
- import { Subject } from 'rxjs';
3
+ import { Observable, Subject } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class SkySortComponent {
6
+ #private;
5
7
  /**
6
8
  * The ARIA label for the sort button. This sets the
7
9
  * sort button's `aria-label` attribute to provide a text equivalent for screen readers
8
10
  * [to support accessibility](https://developer.blackbaud.com/skyux/learn/accessibility).
9
- * The aria label should normally be context sensitive, e.g. "Sort constituents". This is especially true when multiple sort buttons are in close proximity.
11
+ * Use a context-sensitive label, such as "Sort constituents." Context is especially important when multiple filter buttons are in close proximity.
12
+ * In toolbars, sort buttons use the `listDescriptor` to provide context, and the ARIA label defaults to "Sort <listDescriptor>."
10
13
  * For more information about the `aria-label` attribute, see the [WAI-ARIA definition](https://www.w3.org/TR/wai-aria/#aria-label).
11
14
  */
12
15
  ariaLabel: string | undefined;
@@ -15,6 +18,8 @@ export declare class SkySortComponent {
15
18
  */
16
19
  showButtonText: boolean | undefined;
17
20
  dropdownController: Subject<SkyDropdownMessage>;
21
+ protected contentInfoObs: Observable<SkyContentInfo> | undefined;
22
+ constructor();
18
23
  dropdownClicked(): void;
19
24
  static ɵfac: i0.ɵɵFactoryDeclaration<SkySortComponent, never>;
20
25
  static ɵcmp: i0.ɵɵComponentDeclaration<SkySortComponent, "sky-sort", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "showButtonText": { "alias": "showButtonText"; "required": false; }; }, {}, never, ["*"], false, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyux/lists",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -40,15 +40,15 @@
40
40
  "@angular/common": "^16.2.5",
41
41
  "@angular/core": "^16.2.5",
42
42
  "@angular/platform-browser": "^16.2.5",
43
- "@skyux-sdk/testing": "9.3.0",
44
- "@skyux/animations": "9.3.0",
45
- "@skyux/core": "9.3.0",
46
- "@skyux/forms": "9.3.0",
47
- "@skyux/i18n": "9.3.0",
48
- "@skyux/indicators": "9.3.0",
49
- "@skyux/inline-form": "9.3.0",
50
- "@skyux/popovers": "9.3.0",
51
- "@skyux/theme": "9.3.0"
43
+ "@skyux-sdk/testing": "9.4.0",
44
+ "@skyux/animations": "9.4.0",
45
+ "@skyux/core": "9.4.0",
46
+ "@skyux/forms": "9.4.0",
47
+ "@skyux/i18n": "9.4.0",
48
+ "@skyux/indicators": "9.4.0",
49
+ "@skyux/inline-form": "9.4.0",
50
+ "@skyux/popovers": "9.4.0",
51
+ "@skyux/theme": "9.4.0"
52
52
  },
53
53
  "dependencies": {
54
54
  "@types/dragula": "2.1.36",