@instructure/ui-text-area 8.10.1-snapshot.9 → 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/CHANGELOG.md +8 -0
- package/package.json +17 -17
- package/src/TextArea/index.tsx +0 -1
- package/types/TextArea/TextAreaLocator.d.ts +144 -144
- package/types/TextArea/index.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [8.10.2](https://github.com/instructure/instructure-ui/compare/v8.10.1...v8.10.2) (2021-10-01)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-text-area
|
|
9
|
+
|
|
10
|
+
## [8.10.1](https://github.com/instructure/instructure-ui/compare/v8.10.0...v8.10.1) (2021-10-01)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @instructure/ui-text-area
|
|
13
|
+
|
|
6
14
|
# [8.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @instructure/ui-text-area
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-area",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.3-snapshot.2+ccdf8f43b",
|
|
4
4
|
"description": "A styled HTML text area component",
|
|
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/debounce": "8.10.
|
|
29
|
-
"@instructure/emotion": "8.10.
|
|
30
|
-
"@instructure/shared-types": "8.10.
|
|
31
|
-
"@instructure/ui-dom-utils": "8.10.
|
|
32
|
-
"@instructure/ui-form-field": "8.10.
|
|
33
|
-
"@instructure/ui-prop-types": "8.10.
|
|
34
|
-
"@instructure/ui-react-utils": "8.10.
|
|
35
|
-
"@instructure/ui-testable": "8.10.
|
|
36
|
-
"@instructure/ui-utils": "8.10.
|
|
37
|
-
"@instructure/uid": "8.10.
|
|
28
|
+
"@instructure/debounce": "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-dom-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
32
|
+
"@instructure/ui-form-field": "8.10.3-snapshot.2+ccdf8f43b",
|
|
33
|
+
"@instructure/ui-prop-types": "8.10.3-snapshot.2+ccdf8f43b",
|
|
34
|
+
"@instructure/ui-react-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
35
|
+
"@instructure/ui-testable": "8.10.3-snapshot.2+ccdf8f43b",
|
|
36
|
+
"@instructure/ui-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
37
|
+
"@instructure/uid": "8.10.3-snapshot.2+ccdf8f43b",
|
|
38
38
|
"prop-types": "^15"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@instructure/ui-babel-preset": "8.10.
|
|
42
|
-
"@instructure/ui-color-utils": "8.10.
|
|
43
|
-
"@instructure/ui-test-locator": "8.10.
|
|
44
|
-
"@instructure/ui-test-utils": "8.10.
|
|
45
|
-
"@instructure/ui-themes": "8.10.
|
|
41
|
+
"@instructure/ui-babel-preset": "8.10.3-snapshot.2+ccdf8f43b",
|
|
42
|
+
"@instructure/ui-color-utils": "8.10.3-snapshot.2+ccdf8f43b",
|
|
43
|
+
"@instructure/ui-test-locator": "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"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "ccdf8f43b56a8edef32600281692dfeb436d5a01"
|
|
55
55
|
}
|
package/src/TextArea/index.tsx
CHANGED
|
@@ -330,7 +330,6 @@ class TextArea extends Component<TextAreaProps> {
|
|
|
330
330
|
id={this.id}
|
|
331
331
|
required={required}
|
|
332
332
|
aria-required={required}
|
|
333
|
-
// @ts-expect-error ts-migrate(2322) FIXME: Type '"true" | null' is not assignable to type 'bo... Remove this comment to see the full error message
|
|
334
333
|
aria-invalid={this.invalid ? 'true' : null}
|
|
335
334
|
disabled={disabled || readOnly}
|
|
336
335
|
css={this.props.styles?.textArea}
|
|
@@ -13,24 +13,28 @@ export declare const TextAreaLocator: {
|
|
|
13
13
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
14
14
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
15
15
|
} & {
|
|
16
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
17
|
+
highlight: boolean;
|
|
18
|
+
} | undefined) => string;
|
|
19
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
20
|
+
children: (selector: string) => Element[];
|
|
21
|
+
title: () => string | null | undefined;
|
|
22
|
+
id: () => string;
|
|
23
|
+
tagName: () => string;
|
|
24
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
25
|
+
getBoundingClientRect: () => DOMRect;
|
|
26
|
+
matches: (selector: string | undefined) => boolean;
|
|
16
27
|
visible: () => boolean;
|
|
17
28
|
value: () => string | null;
|
|
18
29
|
disabled: () => string | null;
|
|
19
30
|
role: () => string | null;
|
|
20
|
-
id: () => string;
|
|
21
31
|
label: () => string | null | undefined;
|
|
22
|
-
title: () => string | null | undefined;
|
|
23
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
24
|
-
highlight: boolean;
|
|
25
|
-
} | undefined) => string;
|
|
26
32
|
getId: () => string;
|
|
27
33
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
28
34
|
getOwnerDocument: () => Document;
|
|
29
35
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
30
36
|
getTagName: () => string;
|
|
31
|
-
tagName: () => string;
|
|
32
37
|
typeIn: (text: string) => Promise<void>;
|
|
33
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
34
38
|
getDOMNode: () => Element;
|
|
35
39
|
node: () => Element;
|
|
36
40
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -38,9 +42,8 @@ export declare const TextAreaLocator: {
|
|
|
38
42
|
} | undefined) => void;
|
|
39
43
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
40
44
|
getTextContent: () => string | null;
|
|
41
|
-
getParentNode: () =>
|
|
42
|
-
parent: () =>
|
|
43
|
-
getBoundingClientRect: () => DOMRect;
|
|
45
|
+
getParentNode: () => ParentNode | null;
|
|
46
|
+
parent: () => ParentNode | null;
|
|
44
47
|
rect: () => DOMRect;
|
|
45
48
|
hasClass: (classname: string) => boolean;
|
|
46
49
|
containsFocus: () => boolean;
|
|
@@ -52,19 +55,17 @@ export declare const TextAreaLocator: {
|
|
|
52
55
|
exists: () => boolean;
|
|
53
56
|
text: () => string | null;
|
|
54
57
|
empty: () => boolean;
|
|
55
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
56
58
|
descendants: (selector: string) => Element[];
|
|
57
|
-
ancestors: (selector: string) =>
|
|
59
|
+
ancestors: (selector: string) => ParentNode[];
|
|
58
60
|
attribute: (qualifiedName: string) => string | null;
|
|
59
61
|
style: (property: string) => string;
|
|
60
62
|
classNames: () => string[];
|
|
61
|
-
matches: (selector: string | undefined) => boolean;
|
|
62
63
|
checked: () => any;
|
|
63
64
|
selected: () => any;
|
|
64
65
|
readonly: () => any;
|
|
65
|
-
|
|
66
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
66
|
+
parents: (selector: string) => ParentNode[];
|
|
67
67
|
} & {
|
|
68
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
68
69
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
69
70
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
70
71
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -102,7 +103,6 @@ export declare const TextAreaLocator: {
|
|
|
102
103
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
103
104
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
104
105
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
105
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
106
106
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
107
107
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
108
108
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -159,24 +159,28 @@ export declare const TextAreaLocator: {
|
|
|
159
159
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
160
160
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
161
161
|
} & {
|
|
162
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
163
|
+
highlight: boolean;
|
|
164
|
+
} | undefined) => string;
|
|
165
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
166
|
+
children: (selector: string) => Element[];
|
|
167
|
+
title: () => string | null | undefined;
|
|
168
|
+
id: () => string;
|
|
169
|
+
tagName: () => string;
|
|
170
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
171
|
+
getBoundingClientRect: () => DOMRect;
|
|
172
|
+
matches: (selector: string | undefined) => boolean;
|
|
162
173
|
visible: () => boolean;
|
|
163
174
|
value: () => string | null;
|
|
164
175
|
disabled: () => string | null;
|
|
165
176
|
role: () => string | null;
|
|
166
|
-
id: () => string;
|
|
167
177
|
label: () => string | null | undefined;
|
|
168
|
-
title: () => string | null | undefined;
|
|
169
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
170
|
-
highlight: boolean;
|
|
171
|
-
} | undefined) => string;
|
|
172
178
|
getId: () => string;
|
|
173
179
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
174
180
|
getOwnerDocument: () => Document;
|
|
175
181
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
176
182
|
getTagName: () => string;
|
|
177
|
-
tagName: () => string;
|
|
178
183
|
typeIn: (text: string) => Promise<void>;
|
|
179
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
180
184
|
getDOMNode: () => Element;
|
|
181
185
|
node: () => Element;
|
|
182
186
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -184,9 +188,8 @@ export declare const TextAreaLocator: {
|
|
|
184
188
|
} | undefined) => void;
|
|
185
189
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
186
190
|
getTextContent: () => string | null;
|
|
187
|
-
getParentNode: () =>
|
|
188
|
-
parent: () =>
|
|
189
|
-
getBoundingClientRect: () => DOMRect;
|
|
191
|
+
getParentNode: () => ParentNode | null;
|
|
192
|
+
parent: () => ParentNode | null;
|
|
190
193
|
rect: () => DOMRect;
|
|
191
194
|
hasClass: (classname: string) => boolean;
|
|
192
195
|
containsFocus: () => boolean;
|
|
@@ -198,19 +201,17 @@ export declare const TextAreaLocator: {
|
|
|
198
201
|
exists: () => boolean;
|
|
199
202
|
text: () => string | null;
|
|
200
203
|
empty: () => boolean;
|
|
201
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
202
204
|
descendants: (selector: string) => Element[];
|
|
203
|
-
ancestors: (selector: string) =>
|
|
205
|
+
ancestors: (selector: string) => ParentNode[];
|
|
204
206
|
attribute: (qualifiedName: string) => string | null;
|
|
205
207
|
style: (property: string) => string;
|
|
206
208
|
classNames: () => string[];
|
|
207
|
-
matches: (selector: string | undefined) => boolean;
|
|
208
209
|
checked: () => any;
|
|
209
210
|
selected: () => any;
|
|
210
211
|
readonly: () => any;
|
|
211
|
-
|
|
212
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
212
|
+
parents: (selector: string) => ParentNode[];
|
|
213
213
|
} & {
|
|
214
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
214
215
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
215
216
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
216
217
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -248,7 +249,6 @@ export declare const TextAreaLocator: {
|
|
|
248
249
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
249
250
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
250
251
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
251
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
252
252
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
253
253
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
254
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -298,24 +298,28 @@ export declare const TextAreaLocator: {
|
|
|
298
298
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
299
299
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
300
300
|
} & {
|
|
301
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
302
|
+
highlight: boolean;
|
|
303
|
+
} | undefined) => string;
|
|
304
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
305
|
+
children: (selector: string) => Element[];
|
|
306
|
+
title: () => string | null | undefined;
|
|
307
|
+
id: () => string;
|
|
308
|
+
tagName: () => string;
|
|
309
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
310
|
+
getBoundingClientRect: () => DOMRect;
|
|
311
|
+
matches: (selector: string | undefined) => boolean;
|
|
301
312
|
visible: () => boolean;
|
|
302
313
|
value: () => string | null;
|
|
303
314
|
disabled: () => string | null;
|
|
304
315
|
role: () => string | null;
|
|
305
|
-
id: () => string;
|
|
306
316
|
label: () => string | null | undefined;
|
|
307
|
-
title: () => string | null | undefined;
|
|
308
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
309
|
-
highlight: boolean;
|
|
310
|
-
} | undefined) => string;
|
|
311
317
|
getId: () => string;
|
|
312
318
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
313
319
|
getOwnerDocument: () => Document;
|
|
314
320
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
315
321
|
getTagName: () => string;
|
|
316
|
-
tagName: () => string;
|
|
317
322
|
typeIn: (text: string) => Promise<void>;
|
|
318
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
319
323
|
getDOMNode: () => Element;
|
|
320
324
|
node: () => Element;
|
|
321
325
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -323,9 +327,8 @@ export declare const TextAreaLocator: {
|
|
|
323
327
|
} | undefined) => void;
|
|
324
328
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
325
329
|
getTextContent: () => string | null;
|
|
326
|
-
getParentNode: () =>
|
|
327
|
-
parent: () =>
|
|
328
|
-
getBoundingClientRect: () => DOMRect;
|
|
330
|
+
getParentNode: () => ParentNode | null;
|
|
331
|
+
parent: () => ParentNode | null;
|
|
329
332
|
rect: () => DOMRect;
|
|
330
333
|
hasClass: (classname: string) => boolean;
|
|
331
334
|
containsFocus: () => boolean;
|
|
@@ -337,19 +340,17 @@ export declare const TextAreaLocator: {
|
|
|
337
340
|
exists: () => boolean;
|
|
338
341
|
text: () => string | null;
|
|
339
342
|
empty: () => boolean;
|
|
340
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
341
343
|
descendants: (selector: string) => Element[];
|
|
342
|
-
ancestors: (selector: string) =>
|
|
344
|
+
ancestors: (selector: string) => ParentNode[];
|
|
343
345
|
attribute: (qualifiedName: string) => string | null;
|
|
344
346
|
style: (property: string) => string;
|
|
345
347
|
classNames: () => string[];
|
|
346
|
-
matches: (selector: string | undefined) => boolean;
|
|
347
348
|
checked: () => any;
|
|
348
349
|
selected: () => any;
|
|
349
350
|
readonly: () => any;
|
|
350
|
-
|
|
351
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
351
|
+
parents: (selector: string) => ParentNode[];
|
|
352
352
|
} & {
|
|
353
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
353
354
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
354
355
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
355
356
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -387,7 +388,6 @@ export declare const TextAreaLocator: {
|
|
|
387
388
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
388
389
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
389
390
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
390
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
391
391
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
392
392
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
393
393
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -438,24 +438,28 @@ export declare const TextAreaLocator: {
|
|
|
438
438
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
439
439
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
440
440
|
} & {
|
|
441
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
442
|
+
highlight: boolean;
|
|
443
|
+
} | undefined) => string;
|
|
444
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
445
|
+
children: (selector: string) => Element[];
|
|
446
|
+
title: () => string | null | undefined;
|
|
447
|
+
id: () => string;
|
|
448
|
+
tagName: () => string;
|
|
449
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
450
|
+
getBoundingClientRect: () => DOMRect;
|
|
451
|
+
matches: (selector: string | undefined) => boolean;
|
|
441
452
|
visible: () => boolean;
|
|
442
453
|
value: () => string | null;
|
|
443
454
|
disabled: () => string | null;
|
|
444
455
|
role: () => string | null;
|
|
445
|
-
id: () => string;
|
|
446
456
|
label: () => string | null | undefined;
|
|
447
|
-
title: () => string | null | undefined;
|
|
448
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
449
|
-
highlight: boolean;
|
|
450
|
-
} | undefined) => string;
|
|
451
457
|
getId: () => string;
|
|
452
458
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
453
459
|
getOwnerDocument: () => Document;
|
|
454
460
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
455
461
|
getTagName: () => string;
|
|
456
|
-
tagName: () => string;
|
|
457
462
|
typeIn: (text: string) => Promise<void>;
|
|
458
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
459
463
|
getDOMNode: () => Element;
|
|
460
464
|
node: () => Element;
|
|
461
465
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -463,9 +467,8 @@ export declare const TextAreaLocator: {
|
|
|
463
467
|
} | undefined) => void;
|
|
464
468
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
465
469
|
getTextContent: () => string | null;
|
|
466
|
-
getParentNode: () =>
|
|
467
|
-
parent: () =>
|
|
468
|
-
getBoundingClientRect: () => DOMRect;
|
|
470
|
+
getParentNode: () => ParentNode | null;
|
|
471
|
+
parent: () => ParentNode | null;
|
|
469
472
|
rect: () => DOMRect;
|
|
470
473
|
hasClass: (classname: string) => boolean;
|
|
471
474
|
containsFocus: () => boolean;
|
|
@@ -477,19 +480,17 @@ export declare const TextAreaLocator: {
|
|
|
477
480
|
exists: () => boolean;
|
|
478
481
|
text: () => string | null;
|
|
479
482
|
empty: () => boolean;
|
|
480
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
481
483
|
descendants: (selector: string) => Element[];
|
|
482
|
-
ancestors: (selector: string) =>
|
|
484
|
+
ancestors: (selector: string) => ParentNode[];
|
|
483
485
|
attribute: (qualifiedName: string) => string | null;
|
|
484
486
|
style: (property: string) => string;
|
|
485
487
|
classNames: () => string[];
|
|
486
|
-
matches: (selector: string | undefined) => boolean;
|
|
487
488
|
checked: () => any;
|
|
488
489
|
selected: () => any;
|
|
489
490
|
readonly: () => any;
|
|
490
|
-
|
|
491
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
491
|
+
parents: (selector: string) => ParentNode[];
|
|
492
492
|
} & {
|
|
493
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
493
494
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
494
495
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
495
496
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -527,7 +528,6 @@ export declare const TextAreaLocator: {
|
|
|
527
528
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
528
529
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
529
530
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
530
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
531
531
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
532
532
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
533
533
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -577,24 +577,28 @@ export declare const TextAreaLocator: {
|
|
|
577
577
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
578
578
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
579
579
|
} & {
|
|
580
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
581
|
+
highlight: boolean;
|
|
582
|
+
} | undefined) => string;
|
|
583
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
584
|
+
children: (selector: string) => Element[];
|
|
585
|
+
title: () => string | null | undefined;
|
|
586
|
+
id: () => string;
|
|
587
|
+
tagName: () => string;
|
|
588
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
589
|
+
getBoundingClientRect: () => DOMRect;
|
|
590
|
+
matches: (selector: string | undefined) => boolean;
|
|
580
591
|
visible: () => boolean;
|
|
581
592
|
value: () => string | null;
|
|
582
593
|
disabled: () => string | null;
|
|
583
594
|
role: () => string | null;
|
|
584
|
-
id: () => string;
|
|
585
595
|
label: () => string | null | undefined;
|
|
586
|
-
title: () => string | null | undefined;
|
|
587
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
588
|
-
highlight: boolean;
|
|
589
|
-
} | undefined) => string;
|
|
590
596
|
getId: () => string;
|
|
591
597
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
592
598
|
getOwnerDocument: () => Document;
|
|
593
599
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
594
600
|
getTagName: () => string;
|
|
595
|
-
tagName: () => string;
|
|
596
601
|
typeIn: (text: string) => Promise<void>;
|
|
597
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
598
602
|
getDOMNode: () => Element;
|
|
599
603
|
node: () => Element;
|
|
600
604
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -602,9 +606,8 @@ export declare const TextAreaLocator: {
|
|
|
602
606
|
} | undefined) => void;
|
|
603
607
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
604
608
|
getTextContent: () => string | null;
|
|
605
|
-
getParentNode: () =>
|
|
606
|
-
parent: () =>
|
|
607
|
-
getBoundingClientRect: () => DOMRect;
|
|
609
|
+
getParentNode: () => ParentNode | null;
|
|
610
|
+
parent: () => ParentNode | null;
|
|
608
611
|
rect: () => DOMRect;
|
|
609
612
|
hasClass: (classname: string) => boolean;
|
|
610
613
|
containsFocus: () => boolean;
|
|
@@ -616,19 +619,17 @@ export declare const TextAreaLocator: {
|
|
|
616
619
|
exists: () => boolean;
|
|
617
620
|
text: () => string | null;
|
|
618
621
|
empty: () => boolean;
|
|
619
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
620
622
|
descendants: (selector: string) => Element[];
|
|
621
|
-
ancestors: (selector: string) =>
|
|
623
|
+
ancestors: (selector: string) => ParentNode[];
|
|
622
624
|
attribute: (qualifiedName: string) => string | null;
|
|
623
625
|
style: (property: string) => string;
|
|
624
626
|
classNames: () => string[];
|
|
625
|
-
matches: (selector: string | undefined) => boolean;
|
|
626
627
|
checked: () => any;
|
|
627
628
|
selected: () => any;
|
|
628
629
|
readonly: () => any;
|
|
629
|
-
|
|
630
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
630
|
+
parents: (selector: string) => ParentNode[];
|
|
631
631
|
} & {
|
|
632
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
632
633
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
633
634
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
634
635
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -666,7 +667,6 @@ export declare const TextAreaLocator: {
|
|
|
666
667
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
667
668
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
668
669
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
669
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
670
670
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
671
671
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
672
672
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -717,24 +717,28 @@ export declare const TextAreaLocator: {
|
|
|
717
717
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
718
718
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
719
719
|
} & {
|
|
720
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
721
|
+
highlight: boolean;
|
|
722
|
+
} | undefined) => string;
|
|
723
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
724
|
+
children: (selector: string) => Element[];
|
|
725
|
+
title: () => string | null | undefined;
|
|
726
|
+
id: () => string;
|
|
727
|
+
tagName: () => string;
|
|
728
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
729
|
+
getBoundingClientRect: () => DOMRect;
|
|
730
|
+
matches: (selector: string | undefined) => boolean;
|
|
720
731
|
visible: () => boolean;
|
|
721
732
|
value: () => string | null;
|
|
722
733
|
disabled: () => string | null;
|
|
723
734
|
role: () => string | null;
|
|
724
|
-
id: () => string;
|
|
725
735
|
label: () => string | null | undefined;
|
|
726
|
-
title: () => string | null | undefined;
|
|
727
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
728
|
-
highlight: boolean;
|
|
729
|
-
} | undefined) => string;
|
|
730
736
|
getId: () => string;
|
|
731
737
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
732
738
|
getOwnerDocument: () => Document;
|
|
733
739
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
734
740
|
getTagName: () => string;
|
|
735
|
-
tagName: () => string;
|
|
736
741
|
typeIn: (text: string) => Promise<void>;
|
|
737
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
738
742
|
getDOMNode: () => Element;
|
|
739
743
|
node: () => Element;
|
|
740
744
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -742,9 +746,8 @@ export declare const TextAreaLocator: {
|
|
|
742
746
|
} | undefined) => void;
|
|
743
747
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
744
748
|
getTextContent: () => string | null;
|
|
745
|
-
getParentNode: () =>
|
|
746
|
-
parent: () =>
|
|
747
|
-
getBoundingClientRect: () => DOMRect;
|
|
749
|
+
getParentNode: () => ParentNode | null;
|
|
750
|
+
parent: () => ParentNode | null;
|
|
748
751
|
rect: () => DOMRect;
|
|
749
752
|
hasClass: (classname: string) => boolean;
|
|
750
753
|
containsFocus: () => boolean;
|
|
@@ -756,19 +759,17 @@ export declare const TextAreaLocator: {
|
|
|
756
759
|
exists: () => boolean;
|
|
757
760
|
text: () => string | null;
|
|
758
761
|
empty: () => boolean;
|
|
759
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
760
762
|
descendants: (selector: string) => Element[];
|
|
761
|
-
ancestors: (selector: string) =>
|
|
763
|
+
ancestors: (selector: string) => ParentNode[];
|
|
762
764
|
attribute: (qualifiedName: string) => string | null;
|
|
763
765
|
style: (property: string) => string;
|
|
764
766
|
classNames: () => string[];
|
|
765
|
-
matches: (selector: string | undefined) => boolean;
|
|
766
767
|
checked: () => any;
|
|
767
768
|
selected: () => any;
|
|
768
769
|
readonly: () => any;
|
|
769
|
-
|
|
770
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
770
|
+
parents: (selector: string) => ParentNode[];
|
|
771
771
|
} & {
|
|
772
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
772
773
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
773
774
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
774
775
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -806,7 +807,6 @@ export declare const TextAreaLocator: {
|
|
|
806
807
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
807
808
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
808
809
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
809
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
810
810
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
811
811
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
812
812
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -856,24 +856,28 @@ export declare const TextAreaLocator: {
|
|
|
856
856
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
857
857
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
858
858
|
} & {
|
|
859
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
860
|
+
highlight: boolean;
|
|
861
|
+
} | undefined) => string;
|
|
862
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
863
|
+
children: (selector: string) => Element[];
|
|
864
|
+
title: () => string | null | undefined;
|
|
865
|
+
id: () => string;
|
|
866
|
+
tagName: () => string;
|
|
867
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
868
|
+
getBoundingClientRect: () => DOMRect;
|
|
869
|
+
matches: (selector: string | undefined) => boolean;
|
|
859
870
|
visible: () => boolean;
|
|
860
871
|
value: () => string | null;
|
|
861
872
|
disabled: () => string | null;
|
|
862
873
|
role: () => string | null;
|
|
863
|
-
id: () => string;
|
|
864
874
|
label: () => string | null | undefined;
|
|
865
|
-
title: () => string | null | undefined;
|
|
866
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
867
|
-
highlight: boolean;
|
|
868
|
-
} | undefined) => string;
|
|
869
875
|
getId: () => string;
|
|
870
876
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
871
877
|
getOwnerDocument: () => Document;
|
|
872
878
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
873
879
|
getTagName: () => string;
|
|
874
|
-
tagName: () => string;
|
|
875
880
|
typeIn: (text: string) => Promise<void>;
|
|
876
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
877
881
|
getDOMNode: () => Element;
|
|
878
882
|
node: () => Element;
|
|
879
883
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -881,9 +885,8 @@ export declare const TextAreaLocator: {
|
|
|
881
885
|
} | undefined) => void;
|
|
882
886
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
883
887
|
getTextContent: () => string | null;
|
|
884
|
-
getParentNode: () =>
|
|
885
|
-
parent: () =>
|
|
886
|
-
getBoundingClientRect: () => DOMRect;
|
|
888
|
+
getParentNode: () => ParentNode | null;
|
|
889
|
+
parent: () => ParentNode | null;
|
|
887
890
|
rect: () => DOMRect;
|
|
888
891
|
hasClass: (classname: string) => boolean;
|
|
889
892
|
containsFocus: () => boolean;
|
|
@@ -895,19 +898,17 @@ export declare const TextAreaLocator: {
|
|
|
895
898
|
exists: () => boolean;
|
|
896
899
|
text: () => string | null;
|
|
897
900
|
empty: () => boolean;
|
|
898
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
899
901
|
descendants: (selector: string) => Element[];
|
|
900
|
-
ancestors: (selector: string) =>
|
|
902
|
+
ancestors: (selector: string) => ParentNode[];
|
|
901
903
|
attribute: (qualifiedName: string) => string | null;
|
|
902
904
|
style: (property: string) => string;
|
|
903
905
|
classNames: () => string[];
|
|
904
|
-
matches: (selector: string | undefined) => boolean;
|
|
905
906
|
checked: () => any;
|
|
906
907
|
selected: () => any;
|
|
907
908
|
readonly: () => any;
|
|
908
|
-
|
|
909
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
909
|
+
parents: (selector: string) => ParentNode[];
|
|
910
910
|
} & {
|
|
911
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
911
912
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
912
913
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
913
914
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -945,7 +946,6 @@ export declare const TextAreaLocator: {
|
|
|
945
946
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
946
947
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
947
948
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
948
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
949
949
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
950
950
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
951
951
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -996,24 +996,28 @@ export declare const TextAreaLocator: {
|
|
|
996
996
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
997
997
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
998
998
|
} & {
|
|
999
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1000
|
+
highlight: boolean;
|
|
1001
|
+
} | undefined) => string;
|
|
1002
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1003
|
+
children: (selector: string) => Element[];
|
|
1004
|
+
title: () => string | null | undefined;
|
|
1005
|
+
id: () => string;
|
|
1006
|
+
tagName: () => string;
|
|
1007
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1008
|
+
getBoundingClientRect: () => DOMRect;
|
|
1009
|
+
matches: (selector: string | undefined) => boolean;
|
|
999
1010
|
visible: () => boolean;
|
|
1000
1011
|
value: () => string | null;
|
|
1001
1012
|
disabled: () => string | null;
|
|
1002
1013
|
role: () => string | null;
|
|
1003
|
-
id: () => string;
|
|
1004
1014
|
label: () => string | null | undefined;
|
|
1005
|
-
title: () => string | null | undefined;
|
|
1006
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1007
|
-
highlight: boolean;
|
|
1008
|
-
} | undefined) => string;
|
|
1009
1015
|
getId: () => string;
|
|
1010
1016
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1011
1017
|
getOwnerDocument: () => Document;
|
|
1012
1018
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1013
1019
|
getTagName: () => string;
|
|
1014
|
-
tagName: () => string;
|
|
1015
1020
|
typeIn: (text: string) => Promise<void>;
|
|
1016
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1017
1021
|
getDOMNode: () => Element;
|
|
1018
1022
|
node: () => Element;
|
|
1019
1023
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1021,9 +1025,8 @@ export declare const TextAreaLocator: {
|
|
|
1021
1025
|
} | undefined) => void;
|
|
1022
1026
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1023
1027
|
getTextContent: () => string | null;
|
|
1024
|
-
getParentNode: () =>
|
|
1025
|
-
parent: () =>
|
|
1026
|
-
getBoundingClientRect: () => DOMRect;
|
|
1028
|
+
getParentNode: () => ParentNode | null;
|
|
1029
|
+
parent: () => ParentNode | null;
|
|
1027
1030
|
rect: () => DOMRect;
|
|
1028
1031
|
hasClass: (classname: string) => boolean;
|
|
1029
1032
|
containsFocus: () => boolean;
|
|
@@ -1035,19 +1038,17 @@ export declare const TextAreaLocator: {
|
|
|
1035
1038
|
exists: () => boolean;
|
|
1036
1039
|
text: () => string | null;
|
|
1037
1040
|
empty: () => boolean;
|
|
1038
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1039
1041
|
descendants: (selector: string) => Element[];
|
|
1040
|
-
ancestors: (selector: string) =>
|
|
1042
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1041
1043
|
attribute: (qualifiedName: string) => string | null;
|
|
1042
1044
|
style: (property: string) => string;
|
|
1043
1045
|
classNames: () => string[];
|
|
1044
|
-
matches: (selector: string | undefined) => boolean;
|
|
1045
1046
|
checked: () => any;
|
|
1046
1047
|
selected: () => any;
|
|
1047
1048
|
readonly: () => any;
|
|
1048
|
-
|
|
1049
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1049
|
+
parents: (selector: string) => ParentNode[];
|
|
1050
1050
|
} & {
|
|
1051
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1051
1052
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1052
1053
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1053
1054
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1085,7 +1086,6 @@ export declare const TextAreaLocator: {
|
|
|
1085
1086
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1086
1087
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1087
1088
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1088
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1089
1089
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1090
1090
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1091
1091
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1135,24 +1135,28 @@ export declare const TextAreaLocator: {
|
|
|
1135
1135
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
1136
1136
|
findParents: typeof import("@instructure/ui-test-queries/src/utils/queries").findParents;
|
|
1137
1137
|
} & {
|
|
1138
|
+
toString: (maxLength?: number | undefined, options?: {
|
|
1139
|
+
highlight: boolean;
|
|
1140
|
+
} | undefined) => string;
|
|
1141
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1142
|
+
children: (selector: string) => Element[];
|
|
1143
|
+
title: () => string | null | undefined;
|
|
1144
|
+
id: () => string;
|
|
1145
|
+
tagName: () => string;
|
|
1146
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
1147
|
+
getBoundingClientRect: () => DOMRect;
|
|
1148
|
+
matches: (selector: string | undefined) => boolean;
|
|
1138
1149
|
visible: () => boolean;
|
|
1139
1150
|
value: () => string | null;
|
|
1140
1151
|
disabled: () => string | null;
|
|
1141
1152
|
role: () => string | null;
|
|
1142
|
-
id: () => string;
|
|
1143
1153
|
label: () => string | null | undefined;
|
|
1144
|
-
title: () => string | null | undefined;
|
|
1145
|
-
toString: (maxLength?: number | undefined, options?: {
|
|
1146
|
-
highlight: boolean;
|
|
1147
|
-
} | undefined) => string;
|
|
1148
1154
|
getId: () => string;
|
|
1149
1155
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
1150
1156
|
getOwnerDocument: () => Document;
|
|
1151
1157
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
1152
1158
|
getTagName: () => string;
|
|
1153
|
-
tagName: () => string;
|
|
1154
1159
|
typeIn: (text: string) => Promise<void>;
|
|
1155
|
-
getAttribute: (qualifiedName: string) => string | null;
|
|
1156
1160
|
getDOMNode: () => Element;
|
|
1157
1161
|
node: () => Element;
|
|
1158
1162
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -1160,9 +1164,8 @@ export declare const TextAreaLocator: {
|
|
|
1160
1164
|
} | undefined) => void;
|
|
1161
1165
|
accessible: (options?: Record<string, unknown> | undefined) => Promise<boolean>;
|
|
1162
1166
|
getTextContent: () => string | null;
|
|
1163
|
-
getParentNode: () =>
|
|
1164
|
-
parent: () =>
|
|
1165
|
-
getBoundingClientRect: () => DOMRect;
|
|
1167
|
+
getParentNode: () => ParentNode | null;
|
|
1168
|
+
parent: () => ParentNode | null;
|
|
1166
1169
|
rect: () => DOMRect;
|
|
1167
1170
|
hasClass: (classname: string) => boolean;
|
|
1168
1171
|
containsFocus: () => boolean;
|
|
@@ -1174,19 +1177,17 @@ export declare const TextAreaLocator: {
|
|
|
1174
1177
|
exists: () => boolean;
|
|
1175
1178
|
text: () => string | null;
|
|
1176
1179
|
empty: () => boolean;
|
|
1177
|
-
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
1178
1180
|
descendants: (selector: string) => Element[];
|
|
1179
|
-
ancestors: (selector: string) =>
|
|
1181
|
+
ancestors: (selector: string) => ParentNode[];
|
|
1180
1182
|
attribute: (qualifiedName: string) => string | null;
|
|
1181
1183
|
style: (property: string) => string;
|
|
1182
1184
|
classNames: () => string[];
|
|
1183
|
-
matches: (selector: string | undefined) => boolean;
|
|
1184
1185
|
checked: () => any;
|
|
1185
1186
|
selected: () => any;
|
|
1186
1187
|
readonly: () => any;
|
|
1187
|
-
|
|
1188
|
-
parents: (selector: string) => (Node & ParentNode)[];
|
|
1188
|
+
parents: (selector: string) => ParentNode[];
|
|
1189
1189
|
} & {
|
|
1190
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1190
1191
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1191
1192
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1192
1193
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -1224,7 +1225,6 @@ export declare const TextAreaLocator: {
|
|
|
1224
1225
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1225
1226
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1226
1227
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1227
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1228
1228
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1229
1229
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
1230
1230
|
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":"index.d.ts","sourceRoot":"","sources":["../../src/TextArea/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAE1E,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAG5C;;;;GAIG;AACH,cAEM,QAAS,SAAQ,SAAS,CAAC,aAAa,CAAC;IAC7C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,SAAS,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAC3C,QAAQ,EAAE,yBAAyB,GAAG,SAAS,CAAA;;IAU/C,iBAAiB;IAMjB,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,QAAQ,KAAA;IAKjD,oBAAoB;IAuBpB,eAAe,qBAcd;IAED,QAAQ;IAyCR,IAAI,qBAsDH;IAED,KAAK;IAML,YAAY,uBAgBX;IAGD,kBAAkB,sBAGjB;IAED,IAAI,SAAS,QAGZ;IAED,IAAI,OAAO,wBAOV;IAED,IAAI,EAAE,QAGL;IAED,IAAI,OAAO,YAGV;IAED,IAAI,KAAK,QAGR;IAED,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TextArea/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAE1E,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAQrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAG5C;;;;GAIG;AACH,cAEM,QAAS,SAAQ,SAAS,CAAC,aAAa,CAAC;IAC7C,MAAM,CAAC,QAAQ,CAAC,WAAW,cAAa;IAExC,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,SAAS,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAC3C,QAAQ,EAAE,yBAAyB,GAAG,SAAS,CAAA;;IAU/C,iBAAiB;IAMjB,kBAAkB,CAAC,SAAS,KAAA,EAAE,SAAS,KAAA,EAAE,QAAQ,KAAA;IAKjD,oBAAoB;IAuBpB,eAAe,qBAcd;IAED,QAAQ;IAyCR,IAAI,qBAsDH;IAED,KAAK;IAML,YAAY,uBAgBX;IAGD,kBAAkB,sBAGjB;IAED,IAAI,SAAS,QAGZ;IAED,IAAI,OAAO,wBAOV;IAED,IAAI,EAAE,QAGL;IAED,IAAI,OAAO,YAGV;IAED,IAAI,KAAK,QAGR;IAED,MAAM;CA4EP;AAED,eAAe,QAAQ,CAAA;AACvB,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|