@instructure/ui-menu 8.13.1-snapshot.11 → 8.13.1-snapshot.25
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.
|
@@ -22,25 +22,15 @@ export declare const MenuItemLocator: {
|
|
|
22
22
|
toString: (maxLength?: number | undefined, options?: {
|
|
23
23
|
highlight: boolean;
|
|
24
24
|
} | undefined) => string;
|
|
25
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
26
|
-
children: (selector: string) => Element[];
|
|
27
|
-
title: () => string | null | undefined;
|
|
28
|
-
id: () => string;
|
|
29
|
-
tagName: () => string;
|
|
30
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
31
|
-
getBoundingClientRect: () => DOMRect;
|
|
32
|
-
matches: (selector: string | undefined) => boolean;
|
|
33
25
|
visible: () => boolean;
|
|
34
|
-
value: () => string | null;
|
|
35
|
-
disabled: () => string | null;
|
|
36
|
-
role: () => string | null;
|
|
37
|
-
label: () => string | null | undefined;
|
|
38
26
|
getId: () => string;
|
|
39
27
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
40
28
|
getOwnerDocument: () => Document;
|
|
41
29
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
42
30
|
getTagName: () => string;
|
|
31
|
+
tagName: () => string;
|
|
43
32
|
typeIn: (text: string) => Promise<void>;
|
|
33
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
44
34
|
getDOMNode: () => Element;
|
|
45
35
|
node: () => Element;
|
|
46
36
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -50,6 +40,7 @@ export declare const MenuItemLocator: {
|
|
|
50
40
|
getTextContent: () => string | null;
|
|
51
41
|
getParentNode: () => ParentNode | null;
|
|
52
42
|
parent: () => ParentNode | null;
|
|
43
|
+
getBoundingClientRect: () => DOMRect;
|
|
53
44
|
rect: () => DOMRect;
|
|
54
45
|
hasClass: (classname: string) => boolean;
|
|
55
46
|
containsFocus: () => boolean;
|
|
@@ -61,17 +52,25 @@ export declare const MenuItemLocator: {
|
|
|
61
52
|
exists: () => boolean;
|
|
62
53
|
text: () => string | null;
|
|
63
54
|
empty: () => boolean;
|
|
55
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
64
56
|
descendants: (selector: string) => Element[];
|
|
65
57
|
ancestors: (selector: string) => ParentNode[];
|
|
66
58
|
attribute: (qualifiedName: string) => string | null;
|
|
67
59
|
style: (property: string) => string;
|
|
68
60
|
classNames: () => string[];
|
|
61
|
+
id: () => string;
|
|
62
|
+
matches: (selector: string | undefined) => boolean;
|
|
69
63
|
checked: () => any;
|
|
70
64
|
selected: () => any;
|
|
65
|
+
disabled: () => string | null;
|
|
71
66
|
readonly: () => any;
|
|
67
|
+
role: () => string | null;
|
|
68
|
+
value: () => string | null;
|
|
69
|
+
label: () => string | null | undefined;
|
|
70
|
+
title: () => string | null | undefined;
|
|
71
|
+
children: (selector: string) => Element[];
|
|
72
72
|
parents: (selector: string) => ParentNode[];
|
|
73
73
|
} & {
|
|
74
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
75
74
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
76
75
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
77
76
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -109,6 +108,7 @@ export declare const MenuItemLocator: {
|
|
|
109
108
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
110
109
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
111
110
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
111
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
112
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
113
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
114
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -161,25 +161,15 @@ export declare const MenuItemLocator: {
|
|
|
161
161
|
toString: (maxLength?: number | undefined, options?: {
|
|
162
162
|
highlight: boolean;
|
|
163
163
|
} | undefined) => string;
|
|
164
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
165
|
-
children: (selector: string) => Element[];
|
|
166
|
-
title: () => string | null | undefined;
|
|
167
|
-
id: () => string;
|
|
168
|
-
tagName: () => string;
|
|
169
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
170
|
-
getBoundingClientRect: () => DOMRect;
|
|
171
|
-
matches: (selector: string | undefined) => boolean;
|
|
172
164
|
visible: () => boolean;
|
|
173
|
-
value: () => string | null;
|
|
174
|
-
disabled: () => string | null;
|
|
175
|
-
role: () => string | null;
|
|
176
|
-
label: () => string | null | undefined;
|
|
177
165
|
getId: () => string;
|
|
178
166
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
179
167
|
getOwnerDocument: () => Document;
|
|
180
168
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
181
169
|
getTagName: () => string;
|
|
170
|
+
tagName: () => string;
|
|
182
171
|
typeIn: (text: string) => Promise<void>;
|
|
172
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
183
173
|
getDOMNode: () => Element;
|
|
184
174
|
node: () => Element;
|
|
185
175
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -189,6 +179,7 @@ export declare const MenuItemLocator: {
|
|
|
189
179
|
getTextContent: () => string | null;
|
|
190
180
|
getParentNode: () => ParentNode | null;
|
|
191
181
|
parent: () => ParentNode | null;
|
|
182
|
+
getBoundingClientRect: () => DOMRect;
|
|
192
183
|
rect: () => DOMRect;
|
|
193
184
|
hasClass: (classname: string) => boolean;
|
|
194
185
|
containsFocus: () => boolean;
|
|
@@ -200,17 +191,25 @@ export declare const MenuItemLocator: {
|
|
|
200
191
|
exists: () => boolean;
|
|
201
192
|
text: () => string | null;
|
|
202
193
|
empty: () => boolean;
|
|
194
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
203
195
|
descendants: (selector: string) => Element[];
|
|
204
196
|
ancestors: (selector: string) => ParentNode[];
|
|
205
197
|
attribute: (qualifiedName: string) => string | null;
|
|
206
198
|
style: (property: string) => string;
|
|
207
199
|
classNames: () => string[];
|
|
200
|
+
id: () => string;
|
|
201
|
+
matches: (selector: string | undefined) => boolean;
|
|
208
202
|
checked: () => any;
|
|
209
203
|
selected: () => any;
|
|
204
|
+
disabled: () => string | null;
|
|
210
205
|
readonly: () => any;
|
|
206
|
+
role: () => string | null;
|
|
207
|
+
value: () => string | null;
|
|
208
|
+
label: () => string | null | undefined;
|
|
209
|
+
title: () => string | null | undefined;
|
|
210
|
+
children: (selector: string) => Element[];
|
|
211
211
|
parents: (selector: string) => ParentNode[];
|
|
212
212
|
} & {
|
|
213
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
214
213
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
215
214
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
216
215
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -248,6 +247,7 @@ export declare const MenuItemLocator: {
|
|
|
248
247
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
249
248
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
250
249
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
250
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
251
251
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
252
252
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
253
253
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -300,25 +300,15 @@ export declare const MenuItemLocator: {
|
|
|
300
300
|
toString: (maxLength?: number | undefined, options?: {
|
|
301
301
|
highlight: boolean;
|
|
302
302
|
} | undefined) => string;
|
|
303
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
304
|
-
children: (selector: string) => Element[];
|
|
305
|
-
title: () => string | null | undefined;
|
|
306
|
-
id: () => string;
|
|
307
|
-
tagName: () => string;
|
|
308
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
309
|
-
getBoundingClientRect: () => DOMRect;
|
|
310
|
-
matches: (selector: string | undefined) => boolean;
|
|
311
303
|
visible: () => boolean;
|
|
312
|
-
value: () => string | null;
|
|
313
|
-
disabled: () => string | null;
|
|
314
|
-
role: () => string | null;
|
|
315
|
-
label: () => string | null | undefined;
|
|
316
304
|
getId: () => string;
|
|
317
305
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
318
306
|
getOwnerDocument: () => Document;
|
|
319
307
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
320
308
|
getTagName: () => string;
|
|
309
|
+
tagName: () => string;
|
|
321
310
|
typeIn: (text: string) => Promise<void>;
|
|
311
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
322
312
|
getDOMNode: () => Element;
|
|
323
313
|
node: () => Element;
|
|
324
314
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -328,6 +318,7 @@ export declare const MenuItemLocator: {
|
|
|
328
318
|
getTextContent: () => string | null;
|
|
329
319
|
getParentNode: () => ParentNode | null;
|
|
330
320
|
parent: () => ParentNode | null;
|
|
321
|
+
getBoundingClientRect: () => DOMRect;
|
|
331
322
|
rect: () => DOMRect;
|
|
332
323
|
hasClass: (classname: string) => boolean;
|
|
333
324
|
containsFocus: () => boolean;
|
|
@@ -339,17 +330,25 @@ export declare const MenuItemLocator: {
|
|
|
339
330
|
exists: () => boolean;
|
|
340
331
|
text: () => string | null;
|
|
341
332
|
empty: () => boolean;
|
|
333
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
342
334
|
descendants: (selector: string) => Element[];
|
|
343
335
|
ancestors: (selector: string) => ParentNode[];
|
|
344
336
|
attribute: (qualifiedName: string) => string | null;
|
|
345
337
|
style: (property: string) => string;
|
|
346
338
|
classNames: () => string[];
|
|
339
|
+
id: () => string;
|
|
340
|
+
matches: (selector: string | undefined) => boolean;
|
|
347
341
|
checked: () => any;
|
|
348
342
|
selected: () => any;
|
|
343
|
+
disabled: () => string | null;
|
|
349
344
|
readonly: () => any;
|
|
345
|
+
role: () => string | null;
|
|
346
|
+
value: () => string | null;
|
|
347
|
+
label: () => string | null | undefined;
|
|
348
|
+
title: () => string | null | undefined;
|
|
349
|
+
children: (selector: string) => Element[];
|
|
350
350
|
parents: (selector: string) => ParentNode[];
|
|
351
351
|
} & {
|
|
352
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
353
352
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
354
353
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
355
354
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -387,6 +386,7 @@ export declare const MenuItemLocator: {
|
|
|
387
386
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
388
387
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
389
388
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
389
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
390
390
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
391
391
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
392
392
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -439,25 +439,15 @@ export declare const MenuItemLocator: {
|
|
|
439
439
|
toString: (maxLength?: number | undefined, options?: {
|
|
440
440
|
highlight: boolean;
|
|
441
441
|
} | undefined) => string;
|
|
442
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
443
|
-
children: (selector: string) => Element[];
|
|
444
|
-
title: () => string | null | undefined;
|
|
445
|
-
id: () => string;
|
|
446
|
-
tagName: () => string;
|
|
447
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
448
|
-
getBoundingClientRect: () => DOMRect;
|
|
449
|
-
matches: (selector: string | undefined) => boolean;
|
|
450
442
|
visible: () => boolean;
|
|
451
|
-
value: () => string | null;
|
|
452
|
-
disabled: () => string | null;
|
|
453
|
-
role: () => string | null;
|
|
454
|
-
label: () => string | null | undefined;
|
|
455
443
|
getId: () => string;
|
|
456
444
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
457
445
|
getOwnerDocument: () => Document;
|
|
458
446
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
459
447
|
getTagName: () => string;
|
|
448
|
+
tagName: () => string;
|
|
460
449
|
typeIn: (text: string) => Promise<void>;
|
|
450
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
461
451
|
getDOMNode: () => Element;
|
|
462
452
|
node: () => Element;
|
|
463
453
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -467,6 +457,7 @@ export declare const MenuItemLocator: {
|
|
|
467
457
|
getTextContent: () => string | null;
|
|
468
458
|
getParentNode: () => ParentNode | null;
|
|
469
459
|
parent: () => ParentNode | null;
|
|
460
|
+
getBoundingClientRect: () => DOMRect;
|
|
470
461
|
rect: () => DOMRect;
|
|
471
462
|
hasClass: (classname: string) => boolean;
|
|
472
463
|
containsFocus: () => boolean;
|
|
@@ -478,17 +469,25 @@ export declare const MenuItemLocator: {
|
|
|
478
469
|
exists: () => boolean;
|
|
479
470
|
text: () => string | null;
|
|
480
471
|
empty: () => boolean;
|
|
472
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
481
473
|
descendants: (selector: string) => Element[];
|
|
482
474
|
ancestors: (selector: string) => ParentNode[];
|
|
483
475
|
attribute: (qualifiedName: string) => string | null;
|
|
484
476
|
style: (property: string) => string;
|
|
485
477
|
classNames: () => string[];
|
|
478
|
+
id: () => string;
|
|
479
|
+
matches: (selector: string | undefined) => boolean;
|
|
486
480
|
checked: () => any;
|
|
487
481
|
selected: () => any;
|
|
482
|
+
disabled: () => string | null;
|
|
488
483
|
readonly: () => any;
|
|
484
|
+
role: () => string | null;
|
|
485
|
+
value: () => string | null;
|
|
486
|
+
label: () => string | null | undefined;
|
|
487
|
+
title: () => string | null | undefined;
|
|
488
|
+
children: (selector: string) => Element[];
|
|
489
489
|
parents: (selector: string) => ParentNode[];
|
|
490
490
|
} & {
|
|
491
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
492
491
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
493
492
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
494
493
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -526,6 +525,7 @@ export declare const MenuItemLocator: {
|
|
|
526
525
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
527
526
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
528
527
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
528
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
529
529
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
530
530
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
531
531
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|