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