@instructure/ui-select 8.10.2 → 8.10.3-snapshot.10

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/LICENSE.md ADDED
@@ -0,0 +1,27 @@
1
+ ---
2
+ title: The MIT License (MIT)
3
+ category: Getting Started
4
+ order: 9
5
+ ---
6
+
7
+ # The MIT License (MIT)
8
+
9
+ Copyright (c) 2015 Instructure, Inc.
10
+
11
+ **Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions.**
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "8.10.2",
3
+ "version": "8.10.3-snapshot.10+cca148595",
4
4
  "description": "A component for select and autocomplete behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,30 +24,30 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.10.2",
28
- "@instructure/ui-color-utils": "8.10.2",
29
- "@instructure/ui-test-locator": "8.10.2",
30
- "@instructure/ui-test-utils": "8.10.2",
31
- "@instructure/ui-themes": "8.10.2"
27
+ "@instructure/ui-babel-preset": "8.10.3-snapshot.10+cca148595",
28
+ "@instructure/ui-color-utils": "8.10.3-snapshot.10+cca148595",
29
+ "@instructure/ui-test-locator": "8.10.3-snapshot.10+cca148595",
30
+ "@instructure/ui-test-utils": "8.10.3-snapshot.10+cca148595",
31
+ "@instructure/ui-themes": "8.10.3-snapshot.10+cca148595"
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.13.10",
35
- "@instructure/emotion": "8.10.2",
36
- "@instructure/shared-types": "8.10.2",
37
- "@instructure/ui-dom-utils": "8.10.2",
38
- "@instructure/ui-form-field": "8.10.2",
39
- "@instructure/ui-icons": "8.10.2",
40
- "@instructure/ui-options": "8.10.2",
41
- "@instructure/ui-popover": "8.10.2",
42
- "@instructure/ui-position": "8.10.2",
43
- "@instructure/ui-prop-types": "8.10.2",
44
- "@instructure/ui-react-utils": "8.10.2",
45
- "@instructure/ui-selectable": "8.10.2",
46
- "@instructure/ui-testable": "8.10.2",
47
- "@instructure/ui-text-input": "8.10.2",
48
- "@instructure/ui-utils": "8.10.2",
49
- "@instructure/ui-view": "8.10.2",
50
- "@instructure/uid": "8.10.2",
35
+ "@instructure/emotion": "8.10.3-snapshot.10+cca148595",
36
+ "@instructure/shared-types": "8.10.3-snapshot.10+cca148595",
37
+ "@instructure/ui-dom-utils": "8.10.3-snapshot.10+cca148595",
38
+ "@instructure/ui-form-field": "8.10.3-snapshot.10+cca148595",
39
+ "@instructure/ui-icons": "8.10.3-snapshot.10+cca148595",
40
+ "@instructure/ui-options": "8.10.3-snapshot.10+cca148595",
41
+ "@instructure/ui-popover": "8.10.3-snapshot.10+cca148595",
42
+ "@instructure/ui-position": "8.10.3-snapshot.10+cca148595",
43
+ "@instructure/ui-prop-types": "8.10.3-snapshot.10+cca148595",
44
+ "@instructure/ui-react-utils": "8.10.3-snapshot.10+cca148595",
45
+ "@instructure/ui-selectable": "8.10.3-snapshot.10+cca148595",
46
+ "@instructure/ui-testable": "8.10.3-snapshot.10+cca148595",
47
+ "@instructure/ui-text-input": "8.10.3-snapshot.10+cca148595",
48
+ "@instructure/ui-utils": "8.10.3-snapshot.10+cca148595",
49
+ "@instructure/ui-view": "8.10.3-snapshot.10+cca148595",
50
+ "@instructure/uid": "8.10.3-snapshot.10+cca148595",
51
51
  "prop-types": "^15"
52
52
  },
53
53
  "peerDependencies": {
@@ -56,5 +56,6 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "sideEffects": false
59
+ "sideEffects": false,
60
+ "gitHead": "cca1485957b780165ac6b283afc28f4bba1eda06"
60
61
  }
@@ -323,7 +323,6 @@ class Select extends Component<SelectProps> {
323
323
  highlightId = this._optionIds[0]
324
324
  } else {
325
325
  // find next id based on direction
326
- // @ts-expect-error ts-migrate(2345) FIXME: Argument of type 'null' is not assignable to param... Remove this comment to see the full error message
327
326
  const index = this._optionIds.indexOf(highlightedOptionId)
328
327
  highlightId =
329
328
  index > -1 ? this._optionIds[index + direction!] : null
@@ -13,24 +13,28 @@ export declare const SelectLocator: {
13
13
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
14
14
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
15
15
  } & {
16
+ toString: (maxLength?: number | undefined, options?: {
17
+ highlight: boolean;
18
+ } | undefined) => string;
19
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
20
+ children: (selector: string) => Element[];
21
+ title: () => string | null | undefined;
22
+ id: () => string;
23
+ tagName: () => string;
24
+ getAttribute: (qualifiedName: string) => string | null;
25
+ getBoundingClientRect: () => DOMRect;
26
+ matches: (selector: string | undefined) => boolean;
16
27
  visible: () => boolean;
17
28
  value: () => string | null;
18
29
  disabled: () => string | null;
19
30
  role: () => string | null;
20
- id: () => string;
21
31
  label: () => string | null | undefined;
22
- title: () => string | null | undefined;
23
- toString: (maxLength?: number | undefined, options?: {
24
- highlight: boolean;
25
- } | undefined) => string;
26
32
  getId: () => string;
27
33
  getOwnerWindow: () => (Window & typeof globalThis) | null;
28
34
  getOwnerDocument: () => Document;
29
35
  getComputedStyle: () => CSSStyleDeclaration;
30
36
  getTagName: () => string;
31
- tagName: () => string;
32
37
  typeIn: (text: string) => Promise<void>;
33
- getAttribute: (qualifiedName: string) => string | null;
34
38
  getDOMNode: () => Element;
35
39
  node: () => Element;
36
40
  debug: (maxLength?: number | undefined, options?: {
@@ -38,9 +42,8 @@ export declare const SelectLocator: {
38
42
  } | undefined) => void;
39
43
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
40
44
  getTextContent: () => string | null;
41
- getParentNode: () => (Node & ParentNode) | null;
42
- parent: () => (Node & ParentNode) | null;
43
- getBoundingClientRect: () => DOMRect;
45
+ getParentNode: () => ParentNode | null;
46
+ parent: () => ParentNode | null;
44
47
  rect: () => DOMRect;
45
48
  hasClass: (classname: string) => boolean;
46
49
  containsFocus: () => boolean;
@@ -52,19 +55,17 @@ export declare const SelectLocator: {
52
55
  exists: () => boolean;
53
56
  text: () => string | null;
54
57
  empty: () => boolean;
55
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
56
58
  descendants: (selector: string) => Element[];
57
- ancestors: (selector: string) => (Node & ParentNode)[];
59
+ ancestors: (selector: string) => ParentNode[];
58
60
  attribute: (qualifiedName: string) => string | null;
59
61
  style: (property: string) => string;
60
62
  classNames: () => string[];
61
- matches: (selector: string | undefined) => boolean;
62
63
  checked: () => any;
63
64
  selected: () => any;
64
65
  readonly: () => any;
65
- children: (selector: string) => Element[];
66
- parents: (selector: string) => (Node & ParentNode)[];
66
+ parents: (selector: string) => ParentNode[];
67
67
  } & {
68
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
68
69
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
69
70
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
70
71
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -102,7 +103,6 @@ export declare const SelectLocator: {
102
103
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
103
104
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
104
105
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
105
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
106
106
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
107
107
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
108
108
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -160,24 +160,28 @@ export declare const SelectLocator: {
160
160
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
161
161
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
162
162
  } & {
163
+ toString: (maxLength?: number | undefined, options?: {
164
+ highlight: boolean;
165
+ } | undefined) => string;
166
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
167
+ children: (selector: string) => Element[];
168
+ title: () => string | null | undefined;
169
+ id: () => string;
170
+ tagName: () => string;
171
+ getAttribute: (qualifiedName: string) => string | null;
172
+ getBoundingClientRect: () => DOMRect;
173
+ matches: (selector: string | undefined) => boolean;
163
174
  visible: () => boolean;
164
175
  value: () => string | null;
165
176
  disabled: () => string | null;
166
177
  role: () => string | null;
167
- id: () => string;
168
178
  label: () => string | null | undefined;
169
- title: () => string | null | undefined;
170
- toString: (maxLength?: number | undefined, options?: {
171
- highlight: boolean;
172
- } | undefined) => string;
173
179
  getId: () => string;
174
180
  getOwnerWindow: () => (Window & typeof globalThis) | null;
175
181
  getOwnerDocument: () => Document;
176
182
  getComputedStyle: () => CSSStyleDeclaration;
177
183
  getTagName: () => string;
178
- tagName: () => string;
179
184
  typeIn: (text: string) => Promise<void>;
180
- getAttribute: (qualifiedName: string) => string | null;
181
185
  getDOMNode: () => Element;
182
186
  node: () => Element;
183
187
  debug: (maxLength?: number | undefined, options?: {
@@ -185,9 +189,8 @@ export declare const SelectLocator: {
185
189
  } | undefined) => void;
186
190
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
187
191
  getTextContent: () => string | null;
188
- getParentNode: () => (Node & ParentNode) | null;
189
- parent: () => (Node & ParentNode) | null;
190
- getBoundingClientRect: () => DOMRect;
192
+ getParentNode: () => ParentNode | null;
193
+ parent: () => ParentNode | null;
191
194
  rect: () => DOMRect;
192
195
  hasClass: (classname: string) => boolean;
193
196
  containsFocus: () => boolean;
@@ -199,19 +202,17 @@ export declare const SelectLocator: {
199
202
  exists: () => boolean;
200
203
  text: () => string | null;
201
204
  empty: () => boolean;
202
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
203
205
  descendants: (selector: string) => Element[];
204
- ancestors: (selector: string) => (Node & ParentNode)[];
206
+ ancestors: (selector: string) => ParentNode[];
205
207
  attribute: (qualifiedName: string) => string | null;
206
208
  style: (property: string) => string;
207
209
  classNames: () => string[];
208
- matches: (selector: string | undefined) => boolean;
209
210
  checked: () => any;
210
211
  selected: () => any;
211
212
  readonly: () => any;
212
- children: (selector: string) => Element[];
213
- parents: (selector: string) => (Node & ParentNode)[];
213
+ parents: (selector: string) => ParentNode[];
214
214
  } & {
215
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
215
216
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
216
217
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
217
218
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -249,7 +250,6 @@ export declare const SelectLocator: {
249
250
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
250
251
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
251
252
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
252
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
253
253
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
254
254
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
255
255
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -299,24 +299,28 @@ export declare const SelectLocator: {
299
299
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
300
300
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
301
301
  } & {
302
+ toString: (maxLength?: number | undefined, options?: {
303
+ highlight: boolean;
304
+ } | undefined) => string;
305
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
306
+ children: (selector: string) => Element[];
307
+ title: () => string | null | undefined;
308
+ id: () => string;
309
+ tagName: () => string;
310
+ getAttribute: (qualifiedName: string) => string | null;
311
+ getBoundingClientRect: () => DOMRect;
312
+ matches: (selector: string | undefined) => boolean;
302
313
  visible: () => boolean;
303
314
  value: () => string | null;
304
315
  disabled: () => string | null;
305
316
  role: () => string | null;
306
- id: () => string;
307
317
  label: () => string | null | undefined;
308
- title: () => string | null | undefined;
309
- toString: (maxLength?: number | undefined, options?: {
310
- highlight: boolean;
311
- } | undefined) => string;
312
318
  getId: () => string;
313
319
  getOwnerWindow: () => (Window & typeof globalThis) | null;
314
320
  getOwnerDocument: () => Document;
315
321
  getComputedStyle: () => CSSStyleDeclaration;
316
322
  getTagName: () => string;
317
- tagName: () => string;
318
323
  typeIn: (text: string) => Promise<void>;
319
- getAttribute: (qualifiedName: string) => string | null;
320
324
  getDOMNode: () => Element;
321
325
  node: () => Element;
322
326
  debug: (maxLength?: number | undefined, options?: {
@@ -324,9 +328,8 @@ export declare const SelectLocator: {
324
328
  } | undefined) => void;
325
329
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
326
330
  getTextContent: () => string | null;
327
- getParentNode: () => (Node & ParentNode) | null;
328
- parent: () => (Node & ParentNode) | null;
329
- getBoundingClientRect: () => DOMRect;
331
+ getParentNode: () => ParentNode | null;
332
+ parent: () => ParentNode | null;
330
333
  rect: () => DOMRect;
331
334
  hasClass: (classname: string) => boolean;
332
335
  containsFocus: () => boolean;
@@ -338,19 +341,17 @@ export declare const SelectLocator: {
338
341
  exists: () => boolean;
339
342
  text: () => string | null;
340
343
  empty: () => boolean;
341
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
342
344
  descendants: (selector: string) => Element[];
343
- ancestors: (selector: string) => (Node & ParentNode)[];
345
+ ancestors: (selector: string) => ParentNode[];
344
346
  attribute: (qualifiedName: string) => string | null;
345
347
  style: (property: string) => string;
346
348
  classNames: () => string[];
347
- matches: (selector: string | undefined) => boolean;
348
349
  checked: () => any;
349
350
  selected: () => any;
350
351
  readonly: () => any;
351
- children: (selector: string) => Element[];
352
- parents: (selector: string) => (Node & ParentNode)[];
352
+ parents: (selector: string) => ParentNode[];
353
353
  } & {
354
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
354
355
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
355
356
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
356
357
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -388,7 +389,6 @@ export declare const SelectLocator: {
388
389
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
389
390
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
390
391
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
391
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
392
392
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
393
393
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
394
394
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -440,24 +440,28 @@ export declare const SelectLocator: {
440
440
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
441
441
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
442
442
  } & {
443
+ toString: (maxLength?: number | undefined, options?: {
444
+ highlight: boolean;
445
+ } | undefined) => string;
446
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
447
+ children: (selector: string) => Element[];
448
+ title: () => string | null | undefined;
449
+ id: () => string;
450
+ tagName: () => string;
451
+ getAttribute: (qualifiedName: string) => string | null;
452
+ getBoundingClientRect: () => DOMRect;
453
+ matches: (selector: string | undefined) => boolean;
443
454
  visible: () => boolean;
444
455
  value: () => string | null;
445
456
  disabled: () => string | null;
446
457
  role: () => string | null;
447
- id: () => string;
448
458
  label: () => string | null | undefined;
449
- title: () => string | null | undefined;
450
- toString: (maxLength?: number | undefined, options?: {
451
- highlight: boolean;
452
- } | undefined) => string;
453
459
  getId: () => string;
454
460
  getOwnerWindow: () => (Window & typeof globalThis) | null;
455
461
  getOwnerDocument: () => Document;
456
462
  getComputedStyle: () => CSSStyleDeclaration;
457
463
  getTagName: () => string;
458
- tagName: () => string;
459
464
  typeIn: (text: string) => Promise<void>;
460
- getAttribute: (qualifiedName: string) => string | null;
461
465
  getDOMNode: () => Element;
462
466
  node: () => Element;
463
467
  debug: (maxLength?: number | undefined, options?: {
@@ -465,9 +469,8 @@ export declare const SelectLocator: {
465
469
  } | undefined) => void;
466
470
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
467
471
  getTextContent: () => string | null;
468
- getParentNode: () => (Node & ParentNode) | null;
469
- parent: () => (Node & ParentNode) | null;
470
- getBoundingClientRect: () => DOMRect;
472
+ getParentNode: () => ParentNode | null;
473
+ parent: () => ParentNode | null;
471
474
  rect: () => DOMRect;
472
475
  hasClass: (classname: string) => boolean;
473
476
  containsFocus: () => boolean;
@@ -479,19 +482,17 @@ export declare const SelectLocator: {
479
482
  exists: () => boolean;
480
483
  text: () => string | null;
481
484
  empty: () => boolean;
482
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
483
485
  descendants: (selector: string) => Element[];
484
- ancestors: (selector: string) => (Node & ParentNode)[];
486
+ ancestors: (selector: string) => ParentNode[];
485
487
  attribute: (qualifiedName: string) => string | null;
486
488
  style: (property: string) => string;
487
489
  classNames: () => string[];
488
- matches: (selector: string | undefined) => boolean;
489
490
  checked: () => any;
490
491
  selected: () => any;
491
492
  readonly: () => any;
492
- children: (selector: string) => Element[];
493
- parents: (selector: string) => (Node & ParentNode)[];
493
+ parents: (selector: string) => ParentNode[];
494
494
  } & {
495
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
495
496
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
496
497
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
497
498
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -529,7 +530,6 @@ export declare const SelectLocator: {
529
530
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
530
531
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
531
532
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
532
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
533
533
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
534
534
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
535
535
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -579,24 +579,28 @@ export declare const SelectLocator: {
579
579
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
580
580
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
581
581
  } & {
582
+ toString: (maxLength?: number | undefined, options?: {
583
+ highlight: boolean;
584
+ } | undefined) => string;
585
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
586
+ children: (selector: string) => Element[];
587
+ title: () => string | null | undefined;
588
+ id: () => string;
589
+ tagName: () => string;
590
+ getAttribute: (qualifiedName: string) => string | null;
591
+ getBoundingClientRect: () => DOMRect;
592
+ matches: (selector: string | undefined) => boolean;
582
593
  visible: () => boolean;
583
594
  value: () => string | null;
584
595
  disabled: () => string | null;
585
596
  role: () => string | null;
586
- id: () => string;
587
597
  label: () => string | null | undefined;
588
- title: () => string | null | undefined;
589
- toString: (maxLength?: number | undefined, options?: {
590
- highlight: boolean;
591
- } | undefined) => string;
592
598
  getId: () => string;
593
599
  getOwnerWindow: () => (Window & typeof globalThis) | null;
594
600
  getOwnerDocument: () => Document;
595
601
  getComputedStyle: () => CSSStyleDeclaration;
596
602
  getTagName: () => string;
597
- tagName: () => string;
598
603
  typeIn: (text: string) => Promise<void>;
599
- getAttribute: (qualifiedName: string) => string | null;
600
604
  getDOMNode: () => Element;
601
605
  node: () => Element;
602
606
  debug: (maxLength?: number | undefined, options?: {
@@ -604,9 +608,8 @@ export declare const SelectLocator: {
604
608
  } | undefined) => void;
605
609
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
606
610
  getTextContent: () => string | null;
607
- getParentNode: () => (Node & ParentNode) | null;
608
- parent: () => (Node & ParentNode) | null;
609
- getBoundingClientRect: () => DOMRect;
611
+ getParentNode: () => ParentNode | null;
612
+ parent: () => ParentNode | null;
610
613
  rect: () => DOMRect;
611
614
  hasClass: (classname: string) => boolean;
612
615
  containsFocus: () => boolean;
@@ -618,19 +621,17 @@ export declare const SelectLocator: {
618
621
  exists: () => boolean;
619
622
  text: () => string | null;
620
623
  empty: () => boolean;
621
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
622
624
  descendants: (selector: string) => Element[];
623
- ancestors: (selector: string) => (Node & ParentNode)[];
625
+ ancestors: (selector: string) => ParentNode[];
624
626
  attribute: (qualifiedName: string) => string | null;
625
627
  style: (property: string) => string;
626
628
  classNames: () => string[];
627
- matches: (selector: string | undefined) => boolean;
628
629
  checked: () => any;
629
630
  selected: () => any;
630
631
  readonly: () => any;
631
- children: (selector: string) => Element[];
632
- parents: (selector: string) => (Node & ParentNode)[];
632
+ parents: (selector: string) => ParentNode[];
633
633
  } & {
634
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
634
635
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
635
636
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
636
637
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -668,7 +669,6 @@ export declare const SelectLocator: {
668
669
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
669
670
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
670
671
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
671
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
672
672
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
673
673
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
674
674
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -720,24 +720,28 @@ export declare const SelectLocator: {
720
720
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
721
721
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
722
722
  } & {
723
+ toString: (maxLength?: number | undefined, options?: {
724
+ highlight: boolean;
725
+ } | undefined) => string;
726
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
727
+ children: (selector: string) => Element[];
728
+ title: () => string | null | undefined;
729
+ id: () => string;
730
+ tagName: () => string;
731
+ getAttribute: (qualifiedName: string) => string | null;
732
+ getBoundingClientRect: () => DOMRect;
733
+ matches: (selector: string | undefined) => boolean;
723
734
  visible: () => boolean;
724
735
  value: () => string | null;
725
736
  disabled: () => string | null;
726
737
  role: () => string | null;
727
- id: () => string;
728
738
  label: () => string | null | undefined;
729
- title: () => string | null | undefined;
730
- toString: (maxLength?: number | undefined, options?: {
731
- highlight: boolean;
732
- } | undefined) => string;
733
739
  getId: () => string;
734
740
  getOwnerWindow: () => (Window & typeof globalThis) | null;
735
741
  getOwnerDocument: () => Document;
736
742
  getComputedStyle: () => CSSStyleDeclaration;
737
743
  getTagName: () => string;
738
- tagName: () => string;
739
744
  typeIn: (text: string) => Promise<void>;
740
- getAttribute: (qualifiedName: string) => string | null;
741
745
  getDOMNode: () => Element;
742
746
  node: () => Element;
743
747
  debug: (maxLength?: number | undefined, options?: {
@@ -745,9 +749,8 @@ export declare const SelectLocator: {
745
749
  } | undefined) => void;
746
750
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
747
751
  getTextContent: () => string | null;
748
- getParentNode: () => (Node & ParentNode) | null;
749
- parent: () => (Node & ParentNode) | null;
750
- getBoundingClientRect: () => DOMRect;
752
+ getParentNode: () => ParentNode | null;
753
+ parent: () => ParentNode | null;
751
754
  rect: () => DOMRect;
752
755
  hasClass: (classname: string) => boolean;
753
756
  containsFocus: () => boolean;
@@ -759,19 +762,17 @@ export declare const SelectLocator: {
759
762
  exists: () => boolean;
760
763
  text: () => string | null;
761
764
  empty: () => boolean;
762
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
763
765
  descendants: (selector: string) => Element[];
764
- ancestors: (selector: string) => (Node & ParentNode)[];
766
+ ancestors: (selector: string) => ParentNode[];
765
767
  attribute: (qualifiedName: string) => string | null;
766
768
  style: (property: string) => string;
767
769
  classNames: () => string[];
768
- matches: (selector: string | undefined) => boolean;
769
770
  checked: () => any;
770
771
  selected: () => any;
771
772
  readonly: () => any;
772
- children: (selector: string) => Element[];
773
- parents: (selector: string) => (Node & ParentNode)[];
773
+ parents: (selector: string) => ParentNode[];
774
774
  } & {
775
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
775
776
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
776
777
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
777
778
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -809,7 +810,6 @@ export declare const SelectLocator: {
809
810
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
810
811
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
811
812
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
812
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
813
813
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
814
814
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
815
815
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -859,24 +859,28 @@ export declare const SelectLocator: {
859
859
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
860
860
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
861
861
  } & {
862
+ toString: (maxLength?: number | undefined, options?: {
863
+ highlight: boolean;
864
+ } | undefined) => string;
865
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
866
+ children: (selector: string) => Element[];
867
+ title: () => string | null | undefined;
868
+ id: () => string;
869
+ tagName: () => string;
870
+ getAttribute: (qualifiedName: string) => string | null;
871
+ getBoundingClientRect: () => DOMRect;
872
+ matches: (selector: string | undefined) => boolean;
862
873
  visible: () => boolean;
863
874
  value: () => string | null;
864
875
  disabled: () => string | null;
865
876
  role: () => string | null;
866
- id: () => string;
867
877
  label: () => string | null | undefined;
868
- title: () => string | null | undefined;
869
- toString: (maxLength?: number | undefined, options?: {
870
- highlight: boolean;
871
- } | undefined) => string;
872
878
  getId: () => string;
873
879
  getOwnerWindow: () => (Window & typeof globalThis) | null;
874
880
  getOwnerDocument: () => Document;
875
881
  getComputedStyle: () => CSSStyleDeclaration;
876
882
  getTagName: () => string;
877
- tagName: () => string;
878
883
  typeIn: (text: string) => Promise<void>;
879
- getAttribute: (qualifiedName: string) => string | null;
880
884
  getDOMNode: () => Element;
881
885
  node: () => Element;
882
886
  debug: (maxLength?: number | undefined, options?: {
@@ -884,9 +888,8 @@ export declare const SelectLocator: {
884
888
  } | undefined) => void;
885
889
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
886
890
  getTextContent: () => string | null;
887
- getParentNode: () => (Node & ParentNode) | null;
888
- parent: () => (Node & ParentNode) | null;
889
- getBoundingClientRect: () => DOMRect;
891
+ getParentNode: () => ParentNode | null;
892
+ parent: () => ParentNode | null;
890
893
  rect: () => DOMRect;
891
894
  hasClass: (classname: string) => boolean;
892
895
  containsFocus: () => boolean;
@@ -898,19 +901,17 @@ export declare const SelectLocator: {
898
901
  exists: () => boolean;
899
902
  text: () => string | null;
900
903
  empty: () => boolean;
901
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
902
904
  descendants: (selector: string) => Element[];
903
- ancestors: (selector: string) => (Node & ParentNode)[];
905
+ ancestors: (selector: string) => ParentNode[];
904
906
  attribute: (qualifiedName: string) => string | null;
905
907
  style: (property: string) => string;
906
908
  classNames: () => string[];
907
- matches: (selector: string | undefined) => boolean;
908
909
  checked: () => any;
909
910
  selected: () => any;
910
911
  readonly: () => any;
911
- children: (selector: string) => Element[];
912
- parents: (selector: string) => (Node & ParentNode)[];
912
+ parents: (selector: string) => ParentNode[];
913
913
  } & {
914
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
914
915
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
915
916
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
916
917
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -948,7 +949,6 @@ export declare const SelectLocator: {
948
949
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
949
950
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
950
951
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
951
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
952
952
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
953
953
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
954
954
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -1000,24 +1000,28 @@ export declare const SelectLocator: {
1000
1000
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
1001
1001
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
1002
1002
  } & {
1003
+ toString: (maxLength?: number | undefined, options?: {
1004
+ highlight: boolean;
1005
+ } | undefined) => string;
1006
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
1007
+ children: (selector: string) => Element[];
1008
+ title: () => string | null | undefined;
1009
+ id: () => string;
1010
+ tagName: () => string;
1011
+ getAttribute: (qualifiedName: string) => string | null;
1012
+ getBoundingClientRect: () => DOMRect;
1013
+ matches: (selector: string | undefined) => boolean;
1003
1014
  visible: () => boolean;
1004
1015
  value: () => string | null;
1005
1016
  disabled: () => string | null;
1006
1017
  role: () => string | null;
1007
- id: () => string;
1008
1018
  label: () => string | null | undefined;
1009
- title: () => string | null | undefined;
1010
- toString: (maxLength?: number | undefined, options?: {
1011
- highlight: boolean;
1012
- } | undefined) => string;
1013
1019
  getId: () => string;
1014
1020
  getOwnerWindow: () => (Window & typeof globalThis) | null;
1015
1021
  getOwnerDocument: () => Document;
1016
1022
  getComputedStyle: () => CSSStyleDeclaration;
1017
1023
  getTagName: () => string;
1018
- tagName: () => string;
1019
1024
  typeIn: (text: string) => Promise<void>;
1020
- getAttribute: (qualifiedName: string) => string | null;
1021
1025
  getDOMNode: () => Element;
1022
1026
  node: () => Element;
1023
1027
  debug: (maxLength?: number | undefined, options?: {
@@ -1025,9 +1029,8 @@ export declare const SelectLocator: {
1025
1029
  } | undefined) => void;
1026
1030
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1027
1031
  getTextContent: () => string | null;
1028
- getParentNode: () => (Node & ParentNode) | null;
1029
- parent: () => (Node & ParentNode) | null;
1030
- getBoundingClientRect: () => DOMRect;
1032
+ getParentNode: () => ParentNode | null;
1033
+ parent: () => ParentNode | null;
1031
1034
  rect: () => DOMRect;
1032
1035
  hasClass: (classname: string) => boolean;
1033
1036
  containsFocus: () => boolean;
@@ -1039,19 +1042,17 @@ export declare const SelectLocator: {
1039
1042
  exists: () => boolean;
1040
1043
  text: () => string | null;
1041
1044
  empty: () => boolean;
1042
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
1043
1045
  descendants: (selector: string) => Element[];
1044
- ancestors: (selector: string) => (Node & ParentNode)[];
1046
+ ancestors: (selector: string) => ParentNode[];
1045
1047
  attribute: (qualifiedName: string) => string | null;
1046
1048
  style: (property: string) => string;
1047
1049
  classNames: () => string[];
1048
- matches: (selector: string | undefined) => boolean;
1049
1050
  checked: () => any;
1050
1051
  selected: () => any;
1051
1052
  readonly: () => any;
1052
- children: (selector: string) => Element[];
1053
- parents: (selector: string) => (Node & ParentNode)[];
1053
+ parents: (selector: string) => ParentNode[];
1054
1054
  } & {
1055
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1055
1056
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1056
1057
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1057
1058
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -1089,7 +1090,6 @@ export declare const SelectLocator: {
1089
1090
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1090
1091
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1091
1092
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1092
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1093
1093
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1094
1094
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1095
1095
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -1139,24 +1139,28 @@ export declare const SelectLocator: {
1139
1139
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
1140
1140
  findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
1141
1141
  } & {
1142
+ toString: (maxLength?: number | undefined, options?: {
1143
+ highlight: boolean;
1144
+ } | undefined) => string;
1145
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
1146
+ children: (selector: string) => Element[];
1147
+ title: () => string | null | undefined;
1148
+ id: () => string;
1149
+ tagName: () => string;
1150
+ getAttribute: (qualifiedName: string) => string | null;
1151
+ getBoundingClientRect: () => DOMRect;
1152
+ matches: (selector: string | undefined) => boolean;
1142
1153
  visible: () => boolean;
1143
1154
  value: () => string | null;
1144
1155
  disabled: () => string | null;
1145
1156
  role: () => string | null;
1146
- id: () => string;
1147
1157
  label: () => string | null | undefined;
1148
- title: () => string | null | undefined;
1149
- toString: (maxLength?: number | undefined, options?: {
1150
- highlight: boolean;
1151
- } | undefined) => string;
1152
1158
  getId: () => string;
1153
1159
  getOwnerWindow: () => (Window & typeof globalThis) | null;
1154
1160
  getOwnerDocument: () => Document;
1155
1161
  getComputedStyle: () => CSSStyleDeclaration;
1156
1162
  getTagName: () => string;
1157
- tagName: () => string;
1158
1163
  typeIn: (text: string) => Promise<void>;
1159
- getAttribute: (qualifiedName: string) => string | null;
1160
1164
  getDOMNode: () => Element;
1161
1165
  node: () => Element;
1162
1166
  debug: (maxLength?: number | undefined, options?: {
@@ -1164,9 +1168,8 @@ export declare const SelectLocator: {
1164
1168
  } | undefined) => void;
1165
1169
  accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
1166
1170
  getTextContent: () => string | null;
1167
- getParentNode: () => (Node & ParentNode) | null;
1168
- parent: () => (Node & ParentNode) | null;
1169
- getBoundingClientRect: () => DOMRect;
1171
+ getParentNode: () => ParentNode | null;
1172
+ parent: () => ParentNode | null;
1170
1173
  rect: () => DOMRect;
1171
1174
  hasClass: (classname: string) => boolean;
1172
1175
  containsFocus: () => boolean;
@@ -1178,19 +1181,17 @@ export declare const SelectLocator: {
1178
1181
  exists: () => boolean;
1179
1182
  text: () => string | null;
1180
1183
  empty: () => boolean;
1181
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
1182
1184
  descendants: (selector: string) => Element[];
1183
- ancestors: (selector: string) => (Node & ParentNode)[];
1185
+ ancestors: (selector: string) => ParentNode[];
1184
1186
  attribute: (qualifiedName: string) => string | null;
1185
1187
  style: (property: string) => string;
1186
1188
  classNames: () => string[];
1187
- matches: (selector: string | undefined) => boolean;
1188
1189
  checked: () => any;
1189
1190
  selected: () => any;
1190
1191
  readonly: () => any;
1191
- children: (selector: string) => Element[];
1192
- parents: (selector: string) => (Node & ParentNode)[];
1192
+ parents: (selector: string) => ParentNode[];
1193
1193
  } & {
1194
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1194
1195
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1195
1196
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1196
1197
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -1228,7 +1229,6 @@ export declare const SelectLocator: {
1228
1229
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1229
1230
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1230
1231
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1231
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1232
1232
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1233
1233
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
1234
1234
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unkn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