@instructure/ui-navigation 8.13.1-snapshot.9 → 8.14.1-snapshot.15
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/CHANGELOG.md +4 -0
- package/es/Navigation/index.js +5 -5
- package/lib/Navigation/index.js +6 -4
- package/package.json +24 -24
- package/src/Navigation/README.md +4 -0
- package/src/Navigation/index.tsx +8 -2
- package/tsconfig.build.json +28 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/types/AppNav/AppNavLocator.d.ts +182 -182
- package/types/AppNav/Item/AppNavItemLocator.d.ts +52 -52
- package/types/Navigation/NavigationItem/NavigationItemLocator.d.ts +52 -52
- package/types/Navigation/NavigationLocator.d.ts +182 -182
- package/types/Navigation/index.d.ts +1 -1
- package/types/Navigation/index.d.ts.map +1 -1
|
@@ -22,25 +22,15 @@ export declare const AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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 AppNavItemLocator: {
|
|
|
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>;
|
|
@@ -24,25 +24,15 @@ export declare const NavigationItemLocator: {
|
|
|
24
24
|
toString: (maxLength?: number | undefined, options?: {
|
|
25
25
|
highlight: boolean;
|
|
26
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;
|
|
35
27
|
visible: () => boolean;
|
|
36
|
-
value: () => string | null;
|
|
37
|
-
disabled: () => string | null;
|
|
38
|
-
role: () => string | null;
|
|
39
|
-
label: () => string | null | undefined;
|
|
40
28
|
getId: () => string;
|
|
41
29
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
42
30
|
getOwnerDocument: () => Document;
|
|
43
31
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
44
32
|
getTagName: () => string;
|
|
33
|
+
tagName: () => string;
|
|
45
34
|
typeIn: (text: string) => Promise<void>;
|
|
35
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
46
36
|
getDOMNode: () => Element;
|
|
47
37
|
node: () => Element;
|
|
48
38
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -52,6 +42,7 @@ export declare const NavigationItemLocator: {
|
|
|
52
42
|
getTextContent: () => string | null;
|
|
53
43
|
getParentNode: () => ParentNode | null;
|
|
54
44
|
parent: () => ParentNode | null;
|
|
45
|
+
getBoundingClientRect: () => DOMRect;
|
|
55
46
|
rect: () => DOMRect;
|
|
56
47
|
hasClass: (classname: string) => boolean;
|
|
57
48
|
containsFocus: () => boolean;
|
|
@@ -63,17 +54,25 @@ export declare const NavigationItemLocator: {
|
|
|
63
54
|
exists: () => boolean;
|
|
64
55
|
text: () => string | null;
|
|
65
56
|
empty: () => boolean;
|
|
57
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
66
58
|
descendants: (selector: string) => Element[];
|
|
67
59
|
ancestors: (selector: string) => ParentNode[];
|
|
68
60
|
attribute: (qualifiedName: string) => string | null;
|
|
69
61
|
style: (property: string) => string;
|
|
70
62
|
classNames: () => string[];
|
|
63
|
+
id: () => string;
|
|
64
|
+
matches: (selector: string | undefined) => boolean;
|
|
71
65
|
checked: () => any;
|
|
72
66
|
selected: () => any;
|
|
67
|
+
disabled: () => string | null;
|
|
73
68
|
readonly: () => any;
|
|
69
|
+
role: () => string | null;
|
|
70
|
+
value: () => string | null;
|
|
71
|
+
label: () => string | null | undefined;
|
|
72
|
+
title: () => string | null | undefined;
|
|
73
|
+
children: (selector: string) => Element[];
|
|
74
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>;
|
|
77
76
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
78
77
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
79
78
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -111,6 +110,7 @@ export declare const NavigationItemLocator: {
|
|
|
111
110
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
111
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
112
|
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>;
|
|
@@ -165,25 +165,15 @@ export declare const NavigationItemLocator: {
|
|
|
165
165
|
toString: (maxLength?: number | undefined, options?: {
|
|
166
166
|
highlight: boolean;
|
|
167
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;
|
|
176
168
|
visible: () => boolean;
|
|
177
|
-
value: () => string | null;
|
|
178
|
-
disabled: () => string | null;
|
|
179
|
-
role: () => string | null;
|
|
180
|
-
label: () => string | null | undefined;
|
|
181
169
|
getId: () => string;
|
|
182
170
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
183
171
|
getOwnerDocument: () => Document;
|
|
184
172
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
185
173
|
getTagName: () => string;
|
|
174
|
+
tagName: () => string;
|
|
186
175
|
typeIn: (text: string) => Promise<void>;
|
|
176
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
187
177
|
getDOMNode: () => Element;
|
|
188
178
|
node: () => Element;
|
|
189
179
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -193,6 +183,7 @@ export declare const NavigationItemLocator: {
|
|
|
193
183
|
getTextContent: () => string | null;
|
|
194
184
|
getParentNode: () => ParentNode | null;
|
|
195
185
|
parent: () => ParentNode | null;
|
|
186
|
+
getBoundingClientRect: () => DOMRect;
|
|
196
187
|
rect: () => DOMRect;
|
|
197
188
|
hasClass: (classname: string) => boolean;
|
|
198
189
|
containsFocus: () => boolean;
|
|
@@ -204,17 +195,25 @@ export declare const NavigationItemLocator: {
|
|
|
204
195
|
exists: () => boolean;
|
|
205
196
|
text: () => string | null;
|
|
206
197
|
empty: () => boolean;
|
|
198
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
207
199
|
descendants: (selector: string) => Element[];
|
|
208
200
|
ancestors: (selector: string) => ParentNode[];
|
|
209
201
|
attribute: (qualifiedName: string) => string | null;
|
|
210
202
|
style: (property: string) => string;
|
|
211
203
|
classNames: () => string[];
|
|
204
|
+
id: () => string;
|
|
205
|
+
matches: (selector: string | undefined) => boolean;
|
|
212
206
|
checked: () => any;
|
|
213
207
|
selected: () => any;
|
|
208
|
+
disabled: () => string | null;
|
|
214
209
|
readonly: () => any;
|
|
210
|
+
role: () => string | null;
|
|
211
|
+
value: () => string | null;
|
|
212
|
+
label: () => string | null | undefined;
|
|
213
|
+
title: () => string | null | undefined;
|
|
214
|
+
children: (selector: string) => Element[];
|
|
215
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>;
|
|
218
217
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
219
218
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
220
219
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -252,6 +251,7 @@ export declare const NavigationItemLocator: {
|
|
|
252
251
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
253
252
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
253
|
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>;
|
|
@@ -306,25 +306,15 @@ export declare const NavigationItemLocator: {
|
|
|
306
306
|
toString: (maxLength?: number | undefined, options?: {
|
|
307
307
|
highlight: boolean;
|
|
308
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;
|
|
317
309
|
visible: () => boolean;
|
|
318
|
-
value: () => string | null;
|
|
319
|
-
disabled: () => string | null;
|
|
320
|
-
role: () => string | null;
|
|
321
|
-
label: () => string | null | undefined;
|
|
322
310
|
getId: () => string;
|
|
323
311
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
324
312
|
getOwnerDocument: () => Document;
|
|
325
313
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
326
314
|
getTagName: () => string;
|
|
315
|
+
tagName: () => string;
|
|
327
316
|
typeIn: (text: string) => Promise<void>;
|
|
317
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
328
318
|
getDOMNode: () => Element;
|
|
329
319
|
node: () => Element;
|
|
330
320
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -334,6 +324,7 @@ export declare const NavigationItemLocator: {
|
|
|
334
324
|
getTextContent: () => string | null;
|
|
335
325
|
getParentNode: () => ParentNode | null;
|
|
336
326
|
parent: () => ParentNode | null;
|
|
327
|
+
getBoundingClientRect: () => DOMRect;
|
|
337
328
|
rect: () => DOMRect;
|
|
338
329
|
hasClass: (classname: string) => boolean;
|
|
339
330
|
containsFocus: () => boolean;
|
|
@@ -345,17 +336,25 @@ export declare const NavigationItemLocator: {
|
|
|
345
336
|
exists: () => boolean;
|
|
346
337
|
text: () => string | null;
|
|
347
338
|
empty: () => boolean;
|
|
339
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
348
340
|
descendants: (selector: string) => Element[];
|
|
349
341
|
ancestors: (selector: string) => ParentNode[];
|
|
350
342
|
attribute: (qualifiedName: string) => string | null;
|
|
351
343
|
style: (property: string) => string;
|
|
352
344
|
classNames: () => string[];
|
|
345
|
+
id: () => string;
|
|
346
|
+
matches: (selector: string | undefined) => boolean;
|
|
353
347
|
checked: () => any;
|
|
354
348
|
selected: () => any;
|
|
349
|
+
disabled: () => string | null;
|
|
355
350
|
readonly: () => any;
|
|
351
|
+
role: () => string | null;
|
|
352
|
+
value: () => string | null;
|
|
353
|
+
label: () => string | null | undefined;
|
|
354
|
+
title: () => string | null | undefined;
|
|
355
|
+
children: (selector: string) => Element[];
|
|
356
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>;
|
|
359
358
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
360
359
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
360
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -393,6 +392,7 @@ export declare const NavigationItemLocator: {
|
|
|
393
392
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
394
393
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
395
394
|
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>;
|
|
@@ -447,25 +447,15 @@ export declare const NavigationItemLocator: {
|
|
|
447
447
|
toString: (maxLength?: number | undefined, options?: {
|
|
448
448
|
highlight: boolean;
|
|
449
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;
|
|
458
450
|
visible: () => boolean;
|
|
459
|
-
value: () => string | null;
|
|
460
|
-
disabled: () => string | null;
|
|
461
|
-
role: () => string | null;
|
|
462
|
-
label: () => string | null | undefined;
|
|
463
451
|
getId: () => string;
|
|
464
452
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
465
453
|
getOwnerDocument: () => Document;
|
|
466
454
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
467
455
|
getTagName: () => string;
|
|
456
|
+
tagName: () => string;
|
|
468
457
|
typeIn: (text: string) => Promise<void>;
|
|
458
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
469
459
|
getDOMNode: () => Element;
|
|
470
460
|
node: () => Element;
|
|
471
461
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -475,6 +465,7 @@ export declare const NavigationItemLocator: {
|
|
|
475
465
|
getTextContent: () => string | null;
|
|
476
466
|
getParentNode: () => ParentNode | null;
|
|
477
467
|
parent: () => ParentNode | null;
|
|
468
|
+
getBoundingClientRect: () => DOMRect;
|
|
478
469
|
rect: () => DOMRect;
|
|
479
470
|
hasClass: (classname: string) => boolean;
|
|
480
471
|
containsFocus: () => boolean;
|
|
@@ -486,17 +477,25 @@ export declare const NavigationItemLocator: {
|
|
|
486
477
|
exists: () => boolean;
|
|
487
478
|
text: () => string | null;
|
|
488
479
|
empty: () => boolean;
|
|
480
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
489
481
|
descendants: (selector: string) => Element[];
|
|
490
482
|
ancestors: (selector: string) => ParentNode[];
|
|
491
483
|
attribute: (qualifiedName: string) => string | null;
|
|
492
484
|
style: (property: string) => string;
|
|
493
485
|
classNames: () => string[];
|
|
486
|
+
id: () => string;
|
|
487
|
+
matches: (selector: string | undefined) => boolean;
|
|
494
488
|
checked: () => any;
|
|
495
489
|
selected: () => any;
|
|
490
|
+
disabled: () => string | null;
|
|
496
491
|
readonly: () => any;
|
|
492
|
+
role: () => string | null;
|
|
493
|
+
value: () => string | null;
|
|
494
|
+
label: () => string | null | undefined;
|
|
495
|
+
title: () => string | null | undefined;
|
|
496
|
+
children: (selector: string) => Element[];
|
|
497
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>;
|
|
500
499
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
501
500
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
502
501
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -534,6 +533,7 @@ export declare const NavigationItemLocator: {
|
|
|
534
533
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
535
534
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
536
535
|
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>;
|