@instructure/ui-options 8.13.1-snapshot.9 → 8.14.1-snapshot.6
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/package.json +15 -15
- package/src/Options/Item/__examples__/Item.examples.ts +1 -0
- package/src/Options/__examples__/Options.examples.tsx +6 -1
- package/tsconfig.build.json +19 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/types/Options/Item/OptionsItemLocator.d.ts +52 -52
- package/types/Options/Item/__examples__/Item.examples.d.ts.map +1 -1
- package/types/Options/OptionsLocator.d.ts +182 -182
- package/types/Options/__examples__/Options.examples.d.ts +3 -7
- package/types/Options/__examples__/Options.examples.d.ts.map +1 -1
|
@@ -24,25 +24,15 @@ export declare const OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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 OptionsItemLocator: {
|
|
|
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>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Item.examples.d.ts","sourceRoot":"","sources":["../../../../src/Options/Item/__examples__/Item.examples.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Item.examples.d.ts","sourceRoot":"","sources":["../../../../src/Options/Item/__examples__/Item.examples.ts"],"names":[],"mappings":";AAwBA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;;;;;;;+BAQd,gBAAgB;;;;;;;;;;;;;;;;;AAN7C,wBAcC"}
|