@instructure/ui-simple-select 8.10.2 → 8.10.3-snapshot.9
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 +27 -0
- package/package.json +16 -15
- package/types/SimpleSelect/SimpleSelectLocator.d.ts +64 -64
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-simple-select",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.3-snapshot.9+47592ffa9",
|
|
4
4
|
"description": "A component for standard select element behavior.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,22 +25,22 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.10.
|
|
29
|
-
"@instructure/ui-form-field": "8.10.
|
|
30
|
-
"@instructure/ui-position": "8.10.
|
|
31
|
-
"@instructure/ui-prop-types": "8.10.
|
|
32
|
-
"@instructure/ui-react-utils": "8.10.
|
|
33
|
-
"@instructure/ui-select": "8.10.
|
|
34
|
-
"@instructure/ui-testable": "8.10.
|
|
35
|
-
"@instructure/uid": "8.10.
|
|
28
|
+
"@instructure/console": "8.10.3-snapshot.9+47592ffa9",
|
|
29
|
+
"@instructure/ui-form-field": "8.10.3-snapshot.9+47592ffa9",
|
|
30
|
+
"@instructure/ui-position": "8.10.3-snapshot.9+47592ffa9",
|
|
31
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.9+47592ffa9",
|
|
32
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.9+47592ffa9",
|
|
33
|
+
"@instructure/ui-select": "8.10.3-snapshot.9+47592ffa9",
|
|
34
|
+
"@instructure/ui-testable": "8.10.3-snapshot.9+47592ffa9",
|
|
35
|
+
"@instructure/uid": "8.10.3-snapshot.9+47592ffa9",
|
|
36
36
|
"prop-types": "^15"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@instructure/ui-babel-preset": "8.10.
|
|
40
|
-
"@instructure/ui-color-utils": "8.10.
|
|
41
|
-
"@instructure/ui-icons": "8.10.
|
|
42
|
-
"@instructure/ui-test-locator": "8.10.
|
|
43
|
-
"@instructure/ui-test-utils": "8.10.
|
|
39
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.9+47592ffa9",
|
|
40
|
+
"@instructure/ui-color-utils": "8.10.3-snapshot.9+47592ffa9",
|
|
41
|
+
"@instructure/ui-icons": "8.10.3-snapshot.9+47592ffa9",
|
|
42
|
+
"@instructure/ui-test-locator": "8.10.3-snapshot.9+47592ffa9",
|
|
43
|
+
"@instructure/ui-test-utils": "8.10.3-snapshot.9+47592ffa9"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=16.8 <=17"
|
|
@@ -48,5 +48,6 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"sideEffects": false
|
|
51
|
+
"sideEffects": false,
|
|
52
|
+
"gitHead": "47592ffa9fed565a9df0677c77e6d890d5e964ea"
|
|
52
53
|
}
|
|
@@ -22,24 +22,28 @@ export declare const SimpleSelectLocator: {
|
|
|
22
22
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
23
23
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
24
24
|
} & {
|
|
25
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
26
|
+
highlight: boolean;
|
|
27
|
+
} | undefined) => string;
|
|
28
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
29
|
+
children: (selector: string) => Element[];
|
|
30
|
+
title: () => string | null | undefined;
|
|
31
|
+
id: () => string;
|
|
32
|
+
tagName: () => string;
|
|
33
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
34
|
+
getBoundingClientRect: () => DOMRect;
|
|
35
|
+
matches: (selector: string | undefined) => boolean;
|
|
25
36
|
visible: () => boolean;
|
|
26
37
|
value: () => string | null;
|
|
27
38
|
disabled: () => string | null;
|
|
28
39
|
role: () => string | null;
|
|
29
|
-
id: () => string;
|
|
30
40
|
label: () => string | null | undefined;
|
|
31
|
-
title: () => string | null | undefined;
|
|
32
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
33
|
-
highlight: boolean;
|
|
34
|
-
} | undefined) => string;
|
|
35
41
|
getId: () => string;
|
|
36
42
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
37
43
|
getOwnerDocument: () => Document;
|
|
38
44
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
39
45
|
getTagName: () => string;
|
|
40
|
-
tagName: () => string;
|
|
41
46
|
typeIn: (text: string) => Promise<void>;
|
|
42
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
43
47
|
getDOMNode: () => Element;
|
|
44
48
|
node: () => Element;
|
|
45
49
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -47,9 +51,8 @@ export declare const SimpleSelectLocator: {
|
|
|
47
51
|
} | undefined) => void;
|
|
48
52
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
49
53
|
getTextContent: () => string | null;
|
|
50
|
-
getParentNode: () =>
|
|
51
|
-
parent: () =>
|
|
52
|
-
getBoundingClientRect: () => DOMRect;
|
|
54
|
+
getParentNode: () => ParentNode | null;
|
|
55
|
+
parent: () => ParentNode | null;
|
|
53
56
|
rect: () => DOMRect;
|
|
54
57
|
hasClass: (classname: string) => boolean;
|
|
55
58
|
containsFocus: () => boolean;
|
|
@@ -61,19 +64,17 @@ export declare const SimpleSelectLocator: {
|
|
|
61
64
|
exists: () => boolean;
|
|
62
65
|
text: () => string | null;
|
|
63
66
|
empty: () => boolean;
|
|
64
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
65
67
|
descendants: (selector: string) => Element[];
|
|
66
|
-
ancestors: (selector: string) =>
|
|
68
|
+
ancestors: (selector: string) => ParentNode[];
|
|
67
69
|
attribute: (qualifiedName: string) => string | null;
|
|
68
70
|
style: (property: string) => string;
|
|
69
71
|
classNames: () => string[];
|
|
70
|
-
matches: (selector: string | undefined) => boolean;
|
|
71
72
|
checked: () => any;
|
|
72
73
|
selected: () => any;
|
|
73
74
|
readonly: () => any;
|
|
74
|
-
|
|
75
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
75
|
+
parents: (selector: string) => ParentNode[];
|
|
76
76
|
} & {
|
|
77
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
77
78
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
78
79
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
79
80
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -111,7 +112,6 @@ export declare const SimpleSelectLocator: {
|
|
|
111
112
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
113
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
114
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
115
115
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
116
116
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
117
117
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -164,24 +164,28 @@ export declare const SimpleSelectLocator: {
|
|
|
164
164
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
165
165
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
166
166
|
} & {
|
|
167
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
168
|
+
highlight: boolean;
|
|
169
|
+
} | undefined) => string;
|
|
170
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
171
|
+
children: (selector: string) => Element[];
|
|
172
|
+
title: () => string | null | undefined;
|
|
173
|
+
id: () => string;
|
|
174
|
+
tagName: () => string;
|
|
175
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
176
|
+
getBoundingClientRect: () => DOMRect;
|
|
177
|
+
matches: (selector: string | undefined) => boolean;
|
|
167
178
|
visible: () => boolean;
|
|
168
179
|
value: () => string | null;
|
|
169
180
|
disabled: () => string | null;
|
|
170
181
|
role: () => string | null;
|
|
171
|
-
id: () => string;
|
|
172
182
|
label: () => string | null | undefined;
|
|
173
|
-
title: () => string | null | undefined;
|
|
174
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
175
|
-
highlight: boolean;
|
|
176
|
-
} | undefined) => string;
|
|
177
183
|
getId: () => string;
|
|
178
184
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
179
185
|
getOwnerDocument: () => Document;
|
|
180
186
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
181
187
|
getTagName: () => string;
|
|
182
|
-
tagName: () => string;
|
|
183
188
|
typeIn: (text: string) => Promise<void>;
|
|
184
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
185
189
|
getDOMNode: () => Element;
|
|
186
190
|
node: () => Element;
|
|
187
191
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -189,9 +193,8 @@ export declare const SimpleSelectLocator: {
|
|
|
189
193
|
} | undefined) => void;
|
|
190
194
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
191
195
|
getTextContent: () => string | null;
|
|
192
|
-
getParentNode: () =>
|
|
193
|
-
parent: () =>
|
|
194
|
-
getBoundingClientRect: () => DOMRect;
|
|
196
|
+
getParentNode: () => ParentNode | null;
|
|
197
|
+
parent: () => ParentNode | null;
|
|
195
198
|
rect: () => DOMRect;
|
|
196
199
|
hasClass: (classname: string) => boolean;
|
|
197
200
|
containsFocus: () => boolean;
|
|
@@ -203,19 +206,17 @@ export declare const SimpleSelectLocator: {
|
|
|
203
206
|
exists: () => boolean;
|
|
204
207
|
text: () => string | null;
|
|
205
208
|
empty: () => boolean;
|
|
206
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
207
209
|
descendants: (selector: string) => Element[];
|
|
208
|
-
ancestors: (selector: string) =>
|
|
210
|
+
ancestors: (selector: string) => ParentNode[];
|
|
209
211
|
attribute: (qualifiedName: string) => string | null;
|
|
210
212
|
style: (property: string) => string;
|
|
211
213
|
classNames: () => string[];
|
|
212
|
-
matches: (selector: string | undefined) => boolean;
|
|
213
214
|
checked: () => any;
|
|
214
215
|
selected: () => any;
|
|
215
216
|
readonly: () => any;
|
|
216
|
-
|
|
217
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
217
|
+
parents: (selector: string) => ParentNode[];
|
|
218
218
|
} & {
|
|
219
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
219
220
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
220
221
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
221
222
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -253,7 +254,6 @@ export declare const SimpleSelectLocator: {
|
|
|
253
254
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
255
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
256
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
256
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
257
257
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
258
258
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
259
259
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -306,24 +306,28 @@ export declare const SimpleSelectLocator: {
|
|
|
306
306
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
307
307
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
308
308
|
} & {
|
|
309
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
310
|
+
highlight: boolean;
|
|
311
|
+
} | undefined) => string;
|
|
312
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
313
|
+
children: (selector: string) => Element[];
|
|
314
|
+
title: () => string | null | undefined;
|
|
315
|
+
id: () => string;
|
|
316
|
+
tagName: () => string;
|
|
317
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
318
|
+
getBoundingClientRect: () => DOMRect;
|
|
319
|
+
matches: (selector: string | undefined) => boolean;
|
|
309
320
|
visible: () => boolean;
|
|
310
321
|
value: () => string | null;
|
|
311
322
|
disabled: () => string | null;
|
|
312
323
|
role: () => string | null;
|
|
313
|
-
id: () => string;
|
|
314
324
|
label: () => string | null | undefined;
|
|
315
|
-
title: () => string | null | undefined;
|
|
316
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
317
|
-
highlight: boolean;
|
|
318
|
-
} | undefined) => string;
|
|
319
325
|
getId: () => string;
|
|
320
326
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
321
327
|
getOwnerDocument: () => Document;
|
|
322
328
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
323
329
|
getTagName: () => string;
|
|
324
|
-
tagName: () => string;
|
|
325
330
|
typeIn: (text: string) => Promise<void>;
|
|
326
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
327
331
|
getDOMNode: () => Element;
|
|
328
332
|
node: () => Element;
|
|
329
333
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -331,9 +335,8 @@ export declare const SimpleSelectLocator: {
|
|
|
331
335
|
} | undefined) => void;
|
|
332
336
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
333
337
|
getTextContent: () => string | null;
|
|
334
|
-
getParentNode: () =>
|
|
335
|
-
parent: () =>
|
|
336
|
-
getBoundingClientRect: () => DOMRect;
|
|
338
|
+
getParentNode: () => ParentNode | null;
|
|
339
|
+
parent: () => ParentNode | null;
|
|
337
340
|
rect: () => DOMRect;
|
|
338
341
|
hasClass: (classname: string) => boolean;
|
|
339
342
|
containsFocus: () => boolean;
|
|
@@ -345,19 +348,17 @@ export declare const SimpleSelectLocator: {
|
|
|
345
348
|
exists: () => boolean;
|
|
346
349
|
text: () => string | null;
|
|
347
350
|
empty: () => boolean;
|
|
348
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
349
351
|
descendants: (selector: string) => Element[];
|
|
350
|
-
ancestors: (selector: string) =>
|
|
352
|
+
ancestors: (selector: string) => ParentNode[];
|
|
351
353
|
attribute: (qualifiedName: string) => string | null;
|
|
352
354
|
style: (property: string) => string;
|
|
353
355
|
classNames: () => string[];
|
|
354
|
-
matches: (selector: string | undefined) => boolean;
|
|
355
356
|
checked: () => any;
|
|
356
357
|
selected: () => any;
|
|
357
358
|
readonly: () => any;
|
|
358
|
-
|
|
359
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
359
|
+
parents: (selector: string) => ParentNode[];
|
|
360
360
|
} & {
|
|
361
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
362
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
362
363
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
363
364
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -395,7 +396,6 @@ export declare const SimpleSelectLocator: {
|
|
|
395
396
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
397
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
397
398
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
398
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
399
399
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
400
400
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
401
401
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -448,24 +448,28 @@ export declare const SimpleSelectLocator: {
|
|
|
448
448
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
449
449
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
450
450
|
} & {
|
|
451
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
452
|
+
highlight: boolean;
|
|
453
|
+
} | undefined) => string;
|
|
454
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
455
|
+
children: (selector: string) => Element[];
|
|
456
|
+
title: () => string | null | undefined;
|
|
457
|
+
id: () => string;
|
|
458
|
+
tagName: () => string;
|
|
459
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
460
|
+
getBoundingClientRect: () => DOMRect;
|
|
461
|
+
matches: (selector: string | undefined) => boolean;
|
|
451
462
|
visible: () => boolean;
|
|
452
463
|
value: () => string | null;
|
|
453
464
|
disabled: () => string | null;
|
|
454
465
|
role: () => string | null;
|
|
455
|
-
id: () => string;
|
|
456
466
|
label: () => string | null | undefined;
|
|
457
|
-
title: () => string | null | undefined;
|
|
458
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
459
|
-
highlight: boolean;
|
|
460
|
-
} | undefined) => string;
|
|
461
467
|
getId: () => string;
|
|
462
468
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
463
469
|
getOwnerDocument: () => Document;
|
|
464
470
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
465
471
|
getTagName: () => string;
|
|
466
|
-
tagName: () => string;
|
|
467
472
|
typeIn: (text: string) => Promise<void>;
|
|
468
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
469
473
|
getDOMNode: () => Element;
|
|
470
474
|
node: () => Element;
|
|
471
475
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -473,9 +477,8 @@ export declare const SimpleSelectLocator: {
|
|
|
473
477
|
} | undefined) => void;
|
|
474
478
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
475
479
|
getTextContent: () => string | null;
|
|
476
|
-
getParentNode: () =>
|
|
477
|
-
parent: () =>
|
|
478
|
-
getBoundingClientRect: () => DOMRect;
|
|
480
|
+
getParentNode: () => ParentNode | null;
|
|
481
|
+
parent: () => ParentNode | null;
|
|
479
482
|
rect: () => DOMRect;
|
|
480
483
|
hasClass: (classname: string) => boolean;
|
|
481
484
|
containsFocus: () => boolean;
|
|
@@ -487,19 +490,17 @@ export declare const SimpleSelectLocator: {
|
|
|
487
490
|
exists: () => boolean;
|
|
488
491
|
text: () => string | null;
|
|
489
492
|
empty: () => boolean;
|
|
490
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
491
493
|
descendants: (selector: string) => Element[];
|
|
492
|
-
ancestors: (selector: string) =>
|
|
494
|
+
ancestors: (selector: string) => ParentNode[];
|
|
493
495
|
attribute: (qualifiedName: string) => string | null;
|
|
494
496
|
style: (property: string) => string;
|
|
495
497
|
classNames: () => string[];
|
|
496
|
-
matches: (selector: string | undefined) => boolean;
|
|
497
498
|
checked: () => any;
|
|
498
499
|
selected: () => any;
|
|
499
500
|
readonly: () => any;
|
|
500
|
-
|
|
501
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
501
|
+
parents: (selector: string) => ParentNode[];
|
|
502
502
|
} & {
|
|
503
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
503
504
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
504
505
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
505
506
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -537,7 +538,6 @@ export declare const SimpleSelectLocator: {
|
|
|
537
538
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
538
539
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
539
540
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
540
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
541
541
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
542
542
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
543
543
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|