@nova-ui/bits 21.0.0 → 21.0.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/package.json CHANGED
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "schematics": "./sdk/schematics/collection.json",
61
61
  "typings": "types/nova-ui-bits.d.ts",
62
- "version": "21.0.0",
62
+ "version": "21.0.1",
63
63
  "module": "fesm2022/nova-ui-bits.mjs",
64
64
  "sideEffects": false,
65
65
  "type": "module",
@@ -17,6 +17,7 @@ export * from "./popover/popover.atom";
17
17
  export * from "./popup/overlay-content.atom";
18
18
  export * from "./popup/popup.atom";
19
19
  export * from "./progress/progress.atom";
20
+ export * from "./range-filter/range-filter.atom";
20
21
  export * from "./search/search.atom";
21
22
  export * from "./select/basic-select.atom";
22
23
  export * from "./select/select.atom";
@@ -36,6 +36,7 @@ export * from "./popover/popover.atom";
36
36
  export * from "./popup/overlay-content.atom";
37
37
  export * from "./popup/popup.atom";
38
38
  export * from "./progress/progress.atom";
39
+ export * from "./range-filter/range-filter.atom";
39
40
  export * from "./search/search.atom";
40
41
  export * from "./select/basic-select.atom";
41
42
  export * from "./select/select.atom";
@@ -1 +1 @@
1
- {"version":3,"file":"public_api.js","sourceRoot":"","sources":["../../../../e2e/components/public_api.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;AAEjB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"public_api.js","sourceRoot":"","sources":["../../../../e2e/components/public_api.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;AAEjB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,oBAAoB,CAAC;AACnC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sCAAsC,CAAC;AACrD,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Locator } from "@playwright/test";
2
+ import { Atom } from "../../atom";
3
+ export declare class RangeFilterAtom extends Atom {
4
+ static CSS_SELECTOR: string;
5
+ readonly handles: Locator;
6
+ readonly inputs: Locator;
7
+ constructor(locator: Locator);
8
+ get lowHandle(): Locator;
9
+ get highHandle(): Locator;
10
+ get minimumInput(): Locator;
11
+ get maximumInput(): Locator;
12
+ expectHandleCount(count: number): Promise<void>;
13
+ expectInputCount(count: number): Promise<void>;
14
+ expectLowValue(value: number): Promise<void>;
15
+ expectHighValue(value: number): Promise<void>;
16
+ expectMinimumInputValue(value: number): Promise<void>;
17
+ expectMaximumInputValue(value: number): Promise<void>;
18
+ pressLowHandle(key: string): Promise<void>;
19
+ pressHighHandle(key: string): Promise<void>;
20
+ }
@@ -0,0 +1,70 @@
1
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
2
+ //
3
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ // of this software and associated documentation files (the "Software"), to
5
+ // deal in the Software without restriction, including without limitation the
6
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7
+ // sell copies of the Software, and to permit persons to whom the Software is
8
+ // furnished to do so, subject to the following conditions:
9
+ //
10
+ // The above copyright notice and this permission notice shall be included in
11
+ // all copies or substantial portions of the Software.
12
+ //
13
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ // THE SOFTWARE.
20
+ import { Atom } from "../../atom";
21
+ import { expect } from "../../setup";
22
+ export class RangeFilterAtom extends Atom {
23
+ static { this.CSS_SELECTOR = "nui-range-filter"; }
24
+ constructor(locator) {
25
+ super(locator);
26
+ this.handles = locator.getByRole("slider");
27
+ this.inputs = locator.getByRole("spinbutton");
28
+ }
29
+ get lowHandle() {
30
+ return this.handles.first();
31
+ }
32
+ get highHandle() {
33
+ return this.handles.last();
34
+ }
35
+ get minimumInput() {
36
+ return this.getLocator().getByRole("spinbutton", {
37
+ name: "Minimum value",
38
+ });
39
+ }
40
+ get maximumInput() {
41
+ return this.getLocator().getByRole("spinbutton", {
42
+ name: "Maximum value",
43
+ });
44
+ }
45
+ async expectHandleCount(count) {
46
+ await expect(this.handles).toHaveCount(count);
47
+ }
48
+ async expectInputCount(count) {
49
+ await expect(this.inputs).toHaveCount(count);
50
+ }
51
+ async expectLowValue(value) {
52
+ await expect(this.lowHandle).toHaveAttribute("aria-valuenow", String(value));
53
+ }
54
+ async expectHighValue(value) {
55
+ await expect(this.highHandle).toHaveAttribute("aria-valuenow", String(value));
56
+ }
57
+ async expectMinimumInputValue(value) {
58
+ await expect(this.minimumInput).toHaveValue(String(value));
59
+ }
60
+ async expectMaximumInputValue(value) {
61
+ await expect(this.maximumInput).toHaveValue(String(value));
62
+ }
63
+ async pressLowHandle(key) {
64
+ await this.lowHandle.press(key);
65
+ }
66
+ async pressHighHandle(key) {
67
+ await this.highHandle.press(key);
68
+ }
69
+ }
70
+ //# sourceMappingURL=range-filter.atom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"range-filter.atom.js","sourceRoot":"","sources":["../../../../../e2e/components/range-filter/range-filter.atom.ts"],"names":[],"mappings":"AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;AAIjB,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,OAAO,eAAgB,SAAQ,IAAI;aACvB,iBAAY,GAAG,kBAAkB,CAAC;IAKhD,YAAY,OAAgB;QACxB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;IAClD,CAAC;IAED,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IAChC,CAAC;IAED,IAAW,UAAU;QACjB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;IAC/B,CAAC;IAED,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,YAAY,EAAE;YAC7C,IAAI,EAAE,eAAe;SACxB,CAAC,CAAC;IACP,CAAC;IAED,IAAW,YAAY;QACnB,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,SAAS,CAAC,YAAY,EAAE;YAC7C,IAAI,EAAE,eAAe;SACxB,CAAC,CAAC;IACP,CAAC;IAEM,KAAK,CAAC,iBAAiB,CAAC,KAAa;QACxC,MAAM,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAEM,KAAK,CAAC,gBAAgB,CAAC,KAAa;QACvC,MAAM,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IACjD,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,KAAa;QACrC,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,eAAe,CACxC,eAAe,EACf,MAAM,CAAC,KAAK,CAAC,CAChB,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,eAAe,CAAC,KAAa;QACtC,MAAM,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,eAAe,CACzC,eAAe,EACf,MAAM,CAAC,KAAK,CAAC,CAChB,CAAC;IACN,CAAC;IAEM,KAAK,CAAC,uBAAuB,CAAC,KAAa;QAC9C,MAAM,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/D,CAAC;IAEM,KAAK,CAAC,uBAAuB,CAAC,KAAa;QAC9C,MAAM,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/D,CAAC;IAEM,KAAK,CAAC,cAAc,CAAC,GAAW;QACnC,MAAM,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC;IAEM,KAAK,CAAC,eAAe,CAAC,GAAW;QACpC,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrC,CAAC"}
@@ -90,7 +90,7 @@
90
90
  @nui-color-line-active: @primary-blue--dark;
91
91
  @nui-color-line-critical: @critical_red--dark;
92
92
  @nui-color-line-warning: @warning_yellow;
93
- @nui-color-line-info: @info_blue;
93
+ @nui-color-line-info: shade(@info_blue, 10%);
94
94
  @nui-color-line-ok: @ok_green;
95
95
  @nui-color-line-ok-secondary: fade(@ok_green, 30%);
96
96
  @nui-color-line-ok-secondary-hover: fade(@ok_green, 40%);
@@ -71,7 +71,7 @@
71
71
  10%
72
72
  ); // unofficial
73
73
  @nui-color-text-secondary: fade(@black, 60%);
74
- @nui-color-text-link: @primary_blue;
74
+ @nui-color-text-link: shade(@primary_blue, 15%);
75
75
  @nui-color-text-link-inverse: tint(@primary_blue, 30%);
76
76
  @nui-color-text-disabled: fade(@black, 30%);
77
77
  @nui-color-text-light: @white;
@@ -99,7 +99,7 @@
99
99
  @nui-color-line-active: @primary_blue;
100
100
  @nui-color-line-critical: @critical_red;
101
101
  @nui-color-line-warning: @warning_yellow;
102
- @nui-color-line-info: @info_blue;
102
+ @nui-color-line-info: shade(@info_blue, 10%);
103
103
  @nui-color-line-ok: @ok_green;
104
104
  @nui-color-line-ok-secondary: fade(@ok_green, 40%);
105
105
  @nui-color-line-ok-secondary-hover: fade(@ok_green, 50%);
@@ -2141,6 +2141,8 @@ declare class OverlayComponent implements OnDestroy, IOverlayComponent, AfterCon
2141
2141
  customContainer: OverlayContainerType;
2142
2142
  /** Sets the role attribute */
2143
2143
  roleAttr: string;
2144
+ /** Sets the aria-labelledby attribute for accessibility */
2145
+ ariaLabelledBy?: string;
2144
2146
  /** Emits MouseEvent when click occurs outside Select/Combobox */
2145
2147
  readonly clickOutside: EventEmitter<MouseEvent>;
2146
2148
  /** The place where the Popup will be attached */
@@ -2174,7 +2176,7 @@ declare class OverlayComponent implements OnDestroy, IOverlayComponent, AfterCon
2174
2176
  private getContentHeight;
2175
2177
  private isPopupContentEmpty;
2176
2178
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayComponent, never>;
2177
- static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "nui-overlay", never, { "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "toggleReference": { "alias": "toggleReference"; "required": false; }; "viewportMargin": { "alias": "viewportMargin"; "required": false; }; "customContainer": { "alias": "customContainer"; "required": false; }; "roleAttr": { "alias": "roleAttr"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, ["*"], false, never>;
2179
+ static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "nui-overlay", never, { "overlayConfig": { "alias": "overlayConfig"; "required": false; }; "toggleReference": { "alias": "toggleReference"; "required": false; }; "viewportMargin": { "alias": "viewportMargin"; "required": false; }; "customContainer": { "alias": "customContainer"; "required": false; }; "roleAttr": { "alias": "roleAttr"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; }, { "clickOutside": "clickOutside"; }, never, ["*"], false, never>;
2178
2180
  }
2179
2181
 
2180
2182
  /** @ignore */
@@ -2937,6 +2939,73 @@ declare enum PopoverOverlayPosition {
2937
2939
  bottomRight = "bottom-right"
2938
2940
  }
2939
2941
 
2942
+ interface RangeValue {
2943
+ low: number;
2944
+ high: number;
2945
+ }
2946
+
2947
+ declare class RangeFilterComponent implements OnDestroy {
2948
+ private static nextLabelId;
2949
+ readonly min: i0.InputSignal<number>;
2950
+ readonly max: i0.InputSignal<number>;
2951
+ readonly valueLow: i0.InputSignal<number>;
2952
+ readonly valueHigh: i0.InputSignal<number>;
2953
+ readonly step: i0.InputSignal<number>;
2954
+ readonly orientation: i0.InputSignal<"horizontal" | "vertical">;
2955
+ readonly mode: i0.InputSignal<"single" | "range">;
2956
+ readonly disabled: i0.InputSignal<boolean>;
2957
+ readonly label: i0.InputSignal<string | undefined>;
2958
+ readonly unit: i0.InputSignal<string | undefined>;
2959
+ readonly showInputs: i0.InputSignal<boolean>;
2960
+ readonly guides: i0.InputSignal<boolean>;
2961
+ readonly debounceMs: i0.InputSignal<number>;
2962
+ readonly rangeChange: i0.OutputEmitterRef<RangeValue>;
2963
+ protected readonly labelId: string;
2964
+ protected readonly dragHandle: i0.WritableSignal<"high" | "low" | null>;
2965
+ protected readonly resolvedLow: i0.Signal<number>;
2966
+ protected readonly resolvedHigh: i0.Signal<number>;
2967
+ protected readonly displayLow: i0.Signal<number>;
2968
+ protected readonly displayHigh: i0.Signal<number>;
2969
+ protected readonly isDisabled: i0.Signal<boolean>;
2970
+ protected readonly lowPct: i0.Signal<number>;
2971
+ protected readonly highPct: i0.Signal<number>;
2972
+ protected readonly fillStart: i0.Signal<number>;
2973
+ protected readonly fillSize: i0.Signal<number>;
2974
+ protected readonly guideDots: i0.Signal<number[]>;
2975
+ private readonly liveLow;
2976
+ private readonly liveHigh;
2977
+ private readonly rangeChangeRequests$;
2978
+ private readonly rangeChangeSubscription;
2979
+ private readonly cdr;
2980
+ private readonly trackEl?;
2981
+ private dragPointerOffset;
2982
+ ngOnDestroy(): void;
2983
+ protected onLowKeydown(event: KeyboardEvent): void;
2984
+ protected onHighKeydown(event: KeyboardEvent): void;
2985
+ protected onHandleMousedown(event: MouseEvent, handle: "low" | "high"): void;
2986
+ protected onDocumentMousemove(event: MouseEvent): void;
2987
+ protected onDocumentMouseup(): void;
2988
+ protected onTrackClick(event: MouseEvent): void;
2989
+ protected onLowInputChange(rawValue: string): void;
2990
+ protected onHighInputChange(rawValue: string): void;
2991
+ private keyAction;
2992
+ private eventToValue;
2993
+ private toPct;
2994
+ private snap;
2995
+ private snapAndClamp;
2996
+ private clampAndSnap;
2997
+ private emitDebounced;
2998
+ private emitImmediately;
2999
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangeFilterComponent, never>;
3000
+ static ɵcmp: i0.ɵɵComponentDeclaration<RangeFilterComponent, "nui-range-filter", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "valueLow": { "alias": "valueLow"; "required": false; "isSignal": true; }; "valueHigh": { "alias": "valueHigh"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "showInputs": { "alias": "showInputs"; "required": false; "isSignal": true; }; "guides": { "alias": "guides"; "required": false; "isSignal": true; }; "debounceMs": { "alias": "debounceMs"; "required": false; "isSignal": true; }; }, { "rangeChange": "rangeChange"; }, never, never, true, never>;
3001
+ }
3002
+
3003
+ declare class NuiRangeFilterModule {
3004
+ static ɵfac: i0.ɵɵFactoryDeclaration<NuiRangeFilterModule, never>;
3005
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiRangeFilterModule, never, [typeof RangeFilterComponent], [typeof RangeFilterComponent]>;
3006
+ static ɵinj: i0.ɵɵInjectorDeclaration<NuiRangeFilterModule>;
3007
+ }
3008
+
2940
3009
  interface ISelectChangedEvent<T> {
2941
3010
  oldValue: T;
2942
3011
  newValue: T;
@@ -4652,6 +4721,7 @@ declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit,
4652
4721
  protected cdRef: ChangeDetectorRef;
4653
4722
  elRef: ElementRef<HTMLElement>;
4654
4723
  liveAnnouncer: LiveAnnouncer;
4724
+ private static _counter;
4655
4725
  /** Value used as a placeholder for the select. */
4656
4726
  placeholder: string;
4657
4727
  /** Sets margin in px for the Dropdown relatively the container where the Dropdown appended to */
@@ -4697,6 +4767,8 @@ declare abstract class BaseSelectV2 implements AfterViewInit, AfterContentInit,
4697
4767
  protected mouseDown: boolean;
4698
4768
  private _selectedOptions;
4699
4769
  private _ariaLabel;
4770
+ /** Unique ID for the trigger element, used for aria-labelledby on the overlay */
4771
+ readonly triggerId: string;
4700
4772
  private virtualScrollResizeObserver;
4701
4773
  /** Emits value which has been selected */
4702
4774
  valueSelected: EventEmitter<OptionValueType | OptionValueType[]>;
@@ -4963,7 +5035,11 @@ declare class SwitchComponent implements OnInit, ControlValueAccessor {
4963
5035
  /**
4964
5036
  * Input to set aria label text
4965
5037
  */
4966
- ariaLabel: string;
5038
+ ariaLabel?: string;
5039
+ /**
5040
+ * Label element id used to dynamically compute accessible name.
5041
+ */
5042
+ readonly labelId: string;
4967
5043
  valueChange: EventEmitter<boolean>;
4968
5044
  toggle(): void;
4969
5045
  onChange(value: any): void;
@@ -9457,5 +9533,5 @@ declare class VirtualViewportManager implements IFilterPub {
9457
9533
 
9458
9534
  declare const expand: _angular_animations.AnimationTriggerMetadata;
9459
9535
 
9460
- export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickFilterDirective, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ColorPickerComponent, ColorService, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, FreetypeQueryBuilderComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MapKeyValuePipe, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiColorPickerModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiFreetypeQueryModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRepeatModule, NuiRiskScoreModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, RiskScoreComponent, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableSelectionMode, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextHighlightOverlayComponent, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastPositionClass, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getColorValueByName, getOverlayPositions, imagesPresetToken, immutableSet, isTargetAnAnchor, isTargetNotAnAnchor, makePredicate, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionBases, unitConversionConstants, unitConversionToken, uuid };
9461
- export type { BaseCoordinates, BreadcrumbItem, CaretCoordinates, ClickableRowOptions, CodeSourceFiles, ColorsConf, ColumnTypes, ComponentChange, ComponentChanges, ConfirmationDialogButtons, DeepPartial, DividerSize, ElementPadding, HelpEntry, HelpEntryCategory, HintEntry, IActiveToast, IBusyConfig, IButtonConstants, ICheckboxComponent, IChipRemoved, IChipsGroup, IChipsItem, IChipsItemsSource, IConfirmationDialogOptions, IDataField, IDataFieldsConfig, IDataSource, IDataSourceDrilldown, IDataSourceError, IDataSourceFeature, IDataSourceFeatures, IDataSourceFeaturesConfiguration, IDataSourceOutput, IDatePickerConfig, IDatePickerDisabledDate, IDialogOptions, IDragEvent, IDragPayload, IDragState, IDropEvent, IDropValidator, IEdgeDefinerMeasurements, IEdgeDetectionCoordinates, IEdgeDetectionProperties, IEdgeDetectionResult, IEdgeDetectionService, IEventDefinition, IEventFilter, IEventPropagationService, IFilter, IFilterGroup, IFilterItem, IFilterPub, IFilteringOutputs, IFilteringParticipant, IFilteringParticipants, IFilters, IImagesPresetItem, IItemsReorderedEvent, ILayoutElementDirection, IMenuGroup, IMenuItem, IMultiFilter, IMultiFilterMetadata, INotificationService, INovaFilteringOutputs, INovaFilters, IOption, IOptionValueObject, IOptionedComponent, IOverlayComponent, IOverlayPositionServiceConfig, IPaginatorItem, IPopupActiveOptions, IQuickPickPreset, IQuickPickPresetDictionary, IRange, IRepeatFilter, IRepeatItem, IRepeatItemConfig, IResizeConfig, IResizeProperties, ISearchService, ISelectChangedEvent, ISelectGroup, ISelection, ISelectorFilter, ISelectorState, ISheetType, ISortedItem, ISorterChanges, ISorterFilter, ISrlcDetails, ITableSelectionConfigDisabled, ITableSelectionConfigEnabled, ITimeFramePreset, ITimeFramePresetDictionary, ITimeframe, IToastConfig, IToastDeclaration, IToastRef, IToastService, IToolbarGroupContent, IToolbarSelectionState, ITransientCache, ITypedRepeatItem, IUnitConversionConstants, IUnitConversionResult, IVirtualPageConfig, IVirtualViewportResetOptions, IWizardConfig, IWizardSelectionEvent, IWizardState, IWizardStepComponent, IWizardStepStateConfig, IWizardWaitEvent, IconData, ImageFloat, ImageMargin, InputValueTypes, MappedIconNames, NonResizableColumnTypes, NotificationHandler, OptionValueType, OverlayContainerType, Paginator, PopoverPlacement, PopoverTrigger, QueryToken, RenderConfigurator, Repeat, RowHeightOptions, ScrollStrategyAccessor, Selector, SeverityLevels, TUnitConversionBases, TableAlignmentOptions, TableSelectionConfig, Tokenizer, TooltipPosition, UnitOption, WizardStepState, WizardStepStateConfig };
9536
+ export { ANNOUNCER_CLOSE_MESSAGE, ANNOUNCER_OPEN_MESSAGE_SUFFIX, OverlayArrowComponent as ArrowComponent, BaseSelect, BreadcrumbComponent, BreadcrumbStateService, BusyComponent, ButtonComponent, ButtonIcon, ButtonSizeType, CHECKBOX_KEYDOWN_EVENT, CLOSE_POPOVER_EVENT, COMPLETE_RESIZE_EVENT, CardComponent, CardGroupComponent, CheckboxChangeEvent, CheckboxComponent, CheckboxGroupComponent, CheckboxStatus, ChipComponent, ChipsComponent, ChipsOverflowComponent, ClickFilterDirective, ClickInterceptorDirective, ClientSideDataSource, ClipboardDirective, ColorPickerComponent, ColorService, ComboboxComponent, ComboboxV2Component, ComboboxV2OptionHighlightDirective, ConfirmationDialogComponent, ContentComponent, CopyTextComponent, CustomValidationMessageComponent, DEFAULT_INTERACTIVE_ELEMENTS, DEFAULT_TABLE_HEADER_OFFSET, DEMO_PATH_TOKEN, DOCUMENT_CLICK_EVENT, DataFilterService, DataSourceFeatures, DataSourceService, DatePickerComponent, DateTimePickerComponent, DialogBackdropComponent, DialogComponent, DialogFooterComponent, DialogHeaderComponent, DialogService, DialogStackService, DividerComponent, DndDropTargetDirective, DomUtilService, DragAndDropService, DraggableComponent, DraggableDirective, DroppableComponent, DroppableDirective, EdgeDetectionService, ErrorStateMatcher, EventBus, EventBusService, EventDefinition, EventPropagationService, ExampleCodeComponent, ExampleWrapperComponent, ExpanderComponent, FIXED_WIDTH_CLASS, FormFieldComponent, FreetypeQueryBuilderComponent, HighlightPipe, HistoryStorage, IEvent, IconCategory, IconCategoryNamespace, IconComponent, IconService, IconSeverity, IconState, IconStatus, IconWidget, ImageComponent, KEYBOARD_CODE, KEY_CODE, LayoutResizerComponent, LimitToPipe, ListService, LocalFilteringDataSource, LogLevel, LoggerService, MapKeyValuePipe, MarkAsSelectedItemDirective, MenuActionComponent, MenuActionType, MenuComponent, MenuGroupComponent, MenuItemBaseComponent, MenuItemComponent, MenuKeyControlService, MenuLinkComponent, MenuOptionComponent, MenuPopupComponent, MenuSwitchComponent, MessageComponent, NUI_ENV_PROVIDER, NUI_ENV_PROVIDER_FACTORY, NUI_SELECT_V2_OPTION_PARENT_COMPONENT, NoopDataSourceService, NotificationService, NuiActiveDialog, NuiBreadcrumbModule, NuiBusyModule, NuiButtonModule, NuiCheckboxModule, NuiChipsModule, NuiColorPickerModule, NuiCommonModule, NuiContentModule, NuiDatePickerModule, NuiDateTimePickerModule, NuiDialogEvent, NuiDialogModule, NuiDialogRef, NuiDividerModule, NuiDndModule, NuiDocsModule, NuiDragDropModule, NuiEnvironment, NuiExpanderModule, NuiFormFieldControl, NuiFormFieldModule, NuiFreetypeQueryModule, NuiIconModule, NuiImageModule, NuiLayoutModule, NuiMenuModule, NuiMessageModule, NuiOverlayAdditionsModule, NuiOverlayModule, NuiPaginatorModule, NuiPanelModule, NuiPopoverModule, NuiPopupModule, NuiProgressModule, NuiRadioModule, NuiRangeFilterModule, NuiRepeatModule, NuiRiskScoreModule, NuiSearchModule, NuiSelectModule, NuiSelectV2Module, NuiSelectorModule, NuiSorterModule, NuiSpinnerModule, NuiSwitchModule, NuiTableModule, NuiTabsModule, NuiTextboxModule, NuiTimeFrameBarModule, NuiTimeFramePickerModule, NuiTimePickerModule, NuiToastModule, NuiToolbarModule, NuiTooltipModule, NuiValidationMessageModule, NuiValidators, NuiWizardModule, NuiWizardV2Module, OVERLAY_ARROW_SIZE, OVERLAY_CONTAINER, OVERLAY_CONTAINER_CLASS, OVERLAY_DEFAULT_PRIORITY, OVERLAY_ITEM, OVERLAY_PANEL_CLASS, OVERLAY_WITH_POPUP_STYLES_CLASS, OverlayComponent, OverlayContainerService, OverlayCustomContainer, OverlayItemComponent, OverlayPlacement, OverlayPosition, OverlayPositionService, OverlayService, OverlayUtilitiesService, POPOVER_CLOSED_EVENT, POPUP_V2_VIEWPORT_MARGINS_DEFAULT, PaddingOptions, PaginatorComponent, PanelBackgroundColor, PanelComponent, PanelModes, PanelStates, PopoverComponent, PopoverModalComponent, PopoverOverlayPosition, PopupComponent, PopupDeprecatedComponent, PopupToggleDirective, PositionService, ProgressComponent, QuickPickerComponent, RESIZE_DEBOUNCE_TIME, RadioComponent, RadioGroupComponent, RangeFilterComponent, RepeatComponent, RepeatItemComponent, RepeatSelectionMode, ResizeDirection, ResizeDirective, ResizeObserverDirective, ResizeUnit, ResizerDirective, RiskScoreComponent, SearchComponent, SearchService, SelectComponent, SelectV2Component, SelectV2OptionComponent, SelectV2OptionGroupComponent, SelectionModel, SelectionType, SelectorComponent, SelectorService, ServerSideDataSource, SetFocusDirective, SheetComponent, SheetGroupComponent, SizeParameters, SliceRangePipe, SorterComponent, SorterDirection, SpinnerComponent, SpinnerSize, SrlcIndicatorComponent, SrlcStage, SwitchComponent, TABLE_ROW_HEIGHT, TabComponent, TabGroupComponent, TabHeadingComponent, TabHeadingCustomTemplateRefDirective, TabHeadingDirective, TabHeadingGroupComponent, TableCellDefDirective, TableCellDirective, TableColumnDefDirective, TableComponent, TableFooterCellDefDirective, TableFooterCellDirective, TableFooterRowComponent, TableFooterRowDefDirective, TableHeaderCellComponent, TableHeaderCellDefDirective, TableHeaderRowComponent, TableHeaderRowDefDirective, TableResizerDirective, TableRowComponent, TableRowDefDirective, TableSelectionMode, TableStateHandlerService, TableStickyHeaderDirective, TableVirtualScrollDirective, TableVirtualScrollHeaderPosition, TableVirtualScrollLinearDirective, TextHighlightOverlayComponent, TextboxComponent, TextboxNumberComponent, ThemeSwitchService, ThemeSwitcherComponent, TimeFrameBarComponent, TimeFrameFormatPipe, TimeFramePickerComponent, TimePickerComponent, TimeframeService, ToastComponent, ToastContainerService, ToastDirective, ToastPositionClass, ToastService, ToolbarComponent, ToolbarGroupComponent, ToolbarItemComponent, ToolbarItemDisplayStyle, ToolbarItemType, ToolbarMessageComponent, ToolbarSplitterComponent, TooltipComponent, TooltipDirective, TransientCacheService, UnitBase, UnitConversionPipe, UnitConversionService, UtilService, ValidationMessageComponent, VirtualViewportManager, WIZARD_CONFIG, WIZARD_CONFIG_DEFAULT, WIZARD_STEP_STATE_DEFAULT_CONFIG, WizardComponent, WizardDirective, WizardFooterComponent, WizardHorizontalComponent, WizardStepComponent, WizardStepFooterDirective, WizardStepHeaderComponent, WizardStepLabelDirective, WizardStepV2Component, WizardStepperNextDirective, WizardStepperPreviousDirective, WizardVerticalComponent, ZoomContentDirective, buttonConstants, complexScrollStrategyFactory, datePickerDateFormats, datePickerDefaults, defaultFilters, expand, getColorValueByName, getOverlayPositions, imagesPresetToken, immutableSet, isTargetAnAnchor, isTargetNotAnAnchor, makePredicate, nameof, popoverConstants, regexpValidation, removeErrors, resizeDirectionHelpers, scrollConstants, traverse, unitConversionBases, unitConversionConstants, unitConversionToken, uuid };
9537
+ export type { BaseCoordinates, BreadcrumbItem, CaretCoordinates, ClickableRowOptions, CodeSourceFiles, ColorsConf, ColumnTypes, ComponentChange, ComponentChanges, ConfirmationDialogButtons, DeepPartial, DividerSize, ElementPadding, HelpEntry, HelpEntryCategory, HintEntry, IActiveToast, IBusyConfig, IButtonConstants, ICheckboxComponent, IChipRemoved, IChipsGroup, IChipsItem, IChipsItemsSource, IConfirmationDialogOptions, IDataField, IDataFieldsConfig, IDataSource, IDataSourceDrilldown, IDataSourceError, IDataSourceFeature, IDataSourceFeatures, IDataSourceFeaturesConfiguration, IDataSourceOutput, IDatePickerConfig, IDatePickerDisabledDate, IDialogOptions, IDragEvent, IDragPayload, IDragState, IDropEvent, IDropValidator, IEdgeDefinerMeasurements, IEdgeDetectionCoordinates, IEdgeDetectionProperties, IEdgeDetectionResult, IEdgeDetectionService, IEventDefinition, IEventFilter, IEventPropagationService, IFilter, IFilterGroup, IFilterItem, IFilterPub, IFilteringOutputs, IFilteringParticipant, IFilteringParticipants, IFilters, IImagesPresetItem, IItemsReorderedEvent, ILayoutElementDirection, IMenuGroup, IMenuItem, IMultiFilter, IMultiFilterMetadata, INotificationService, INovaFilteringOutputs, INovaFilters, IOption, IOptionValueObject, IOptionedComponent, IOverlayComponent, IOverlayPositionServiceConfig, IPaginatorItem, IPopupActiveOptions, IQuickPickPreset, IQuickPickPresetDictionary, IRange, IRepeatFilter, IRepeatItem, IRepeatItemConfig, IResizeConfig, IResizeProperties, ISearchService, ISelectChangedEvent, ISelectGroup, ISelection, ISelectorFilter, ISelectorState, ISheetType, ISortedItem, ISorterChanges, ISorterFilter, ISrlcDetails, ITableSelectionConfigDisabled, ITableSelectionConfigEnabled, ITimeFramePreset, ITimeFramePresetDictionary, ITimeframe, IToastConfig, IToastDeclaration, IToastRef, IToastService, IToolbarGroupContent, IToolbarSelectionState, ITransientCache, ITypedRepeatItem, IUnitConversionConstants, IUnitConversionResult, IVirtualPageConfig, IVirtualViewportResetOptions, IWizardConfig, IWizardSelectionEvent, IWizardState, IWizardStepComponent, IWizardStepStateConfig, IWizardWaitEvent, IconData, ImageFloat, ImageMargin, InputValueTypes, MappedIconNames, NonResizableColumnTypes, NotificationHandler, OptionValueType, OverlayContainerType, Paginator, PopoverPlacement, PopoverTrigger, QueryToken, RangeValue, RenderConfigurator, Repeat, RowHeightOptions, ScrollStrategyAccessor, Selector, SeverityLevels, TUnitConversionBases, TableAlignmentOptions, TableSelectionConfig, Tokenizer, TooltipPosition, UnitOption, WizardStepState, WizardStepStateConfig };