@instructure/ui-link 8.13.1-snapshot.9 → 8.14.0
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/Link/LinkLocator.js +2 -1
- package/es/Link/__examples__/Link.examples.js +2 -2
- package/es/Link/index.js +19 -14
- package/es/Link/props.js +0 -58
- package/lib/Link/LinkLocator.js +1 -0
- package/lib/Link/__examples__/Link.examples.js +2 -2
- package/lib/Link/index.js +19 -14
- package/lib/Link/props.js +0 -58
- package/package.json +18 -19
- package/src/Link/__examples__/Link.examples.ts +6 -7
- package/src/Link/index.tsx +15 -20
- package/src/Link/props.ts +71 -51
- package/tsconfig.build.json +22 -2
- package/tsconfig.build.tsbuildinfo +1 -0
- package/types/Link/LinkLocator.d.ts +57 -56
- package/types/Link/LinkLocator.d.ts.map +1 -1
- package/types/Link/__examples__/Link.examples.d.ts +4 -3
- package/types/Link/__examples__/Link.examples.d.ts.map +1 -1
- package/types/Link/index.d.ts +19 -17
- package/types/Link/index.d.ts.map +1 -1
- package/types/Link/props.d.ts +56 -7
- package/types/Link/props.d.ts.map +1 -1
- package/LICENSE.md +0 -27
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { find } from '@instructure/ui-test-queries';
|
|
1
2
|
export declare const LinkLocator: {
|
|
2
3
|
customMethods: {
|
|
3
4
|
click: (element: any, ...args: any[]) => Promise<Event>;
|
|
@@ -15,7 +16,7 @@ export declare const LinkLocator: {
|
|
|
15
16
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
16
17
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
17
18
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
18
|
-
find: typeof
|
|
19
|
+
find: typeof find;
|
|
19
20
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
20
21
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
21
22
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -24,25 +25,15 @@ export declare const LinkLocator: {
|
|
|
24
25
|
toString: (maxLength?: number | undefined, options?: {
|
|
25
26
|
highlight: boolean;
|
|
26
27
|
} | 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
28
|
visible: () => boolean;
|
|
36
|
-
value: () => string | null;
|
|
37
|
-
disabled: () => string | null;
|
|
38
|
-
role: () => string | null;
|
|
39
|
-
label: () => string | null | undefined;
|
|
40
29
|
getId: () => string;
|
|
41
30
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
42
31
|
getOwnerDocument: () => Document;
|
|
43
32
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
44
33
|
getTagName: () => string;
|
|
34
|
+
tagName: () => string;
|
|
45
35
|
typeIn: (text: string) => Promise<void>;
|
|
36
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
46
37
|
getDOMNode: () => Element;
|
|
47
38
|
node: () => Element;
|
|
48
39
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -52,6 +43,7 @@ export declare const LinkLocator: {
|
|
|
52
43
|
getTextContent: () => string | null;
|
|
53
44
|
getParentNode: () => ParentNode | null;
|
|
54
45
|
parent: () => ParentNode | null;
|
|
46
|
+
getBoundingClientRect: () => DOMRect;
|
|
55
47
|
rect: () => DOMRect;
|
|
56
48
|
hasClass: (classname: string) => boolean;
|
|
57
49
|
containsFocus: () => boolean;
|
|
@@ -63,17 +55,25 @@ export declare const LinkLocator: {
|
|
|
63
55
|
exists: () => boolean;
|
|
64
56
|
text: () => string | null;
|
|
65
57
|
empty: () => boolean;
|
|
58
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
66
59
|
descendants: (selector: string) => Element[];
|
|
67
60
|
ancestors: (selector: string) => ParentNode[];
|
|
68
61
|
attribute: (qualifiedName: string) => string | null;
|
|
69
62
|
style: (property: string) => string;
|
|
70
63
|
classNames: () => string[];
|
|
64
|
+
id: () => string;
|
|
65
|
+
matches: (selector: string | undefined) => boolean;
|
|
71
66
|
checked: () => any;
|
|
72
67
|
selected: () => any;
|
|
68
|
+
disabled: () => string | null;
|
|
73
69
|
readonly: () => any;
|
|
70
|
+
role: () => string | null;
|
|
71
|
+
value: () => string | null;
|
|
72
|
+
label: () => string | null | undefined;
|
|
73
|
+
title: () => string | null | undefined;
|
|
74
|
+
children: (selector: string) => Element[];
|
|
74
75
|
parents: (selector: string) => ParentNode[];
|
|
75
76
|
} & {
|
|
76
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
77
77
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
78
78
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
79
79
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -111,6 +111,7 @@ export declare const LinkLocator: {
|
|
|
111
111
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
112
112
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
113
113
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
114
115
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
115
116
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
116
117
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -156,7 +157,7 @@ export declare const LinkLocator: {
|
|
|
156
157
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
157
158
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
158
159
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
159
|
-
find: typeof
|
|
160
|
+
find: typeof find;
|
|
160
161
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
161
162
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
162
163
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -165,25 +166,15 @@ export declare const LinkLocator: {
|
|
|
165
166
|
toString: (maxLength?: number | undefined, options?: {
|
|
166
167
|
highlight: boolean;
|
|
167
168
|
} | 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
169
|
visible: () => boolean;
|
|
177
|
-
value: () => string | null;
|
|
178
|
-
disabled: () => string | null;
|
|
179
|
-
role: () => string | null;
|
|
180
|
-
label: () => string | null | undefined;
|
|
181
170
|
getId: () => string;
|
|
182
171
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
183
172
|
getOwnerDocument: () => Document;
|
|
184
173
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
185
174
|
getTagName: () => string;
|
|
175
|
+
tagName: () => string;
|
|
186
176
|
typeIn: (text: string) => Promise<void>;
|
|
177
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
187
178
|
getDOMNode: () => Element;
|
|
188
179
|
node: () => Element;
|
|
189
180
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -193,6 +184,7 @@ export declare const LinkLocator: {
|
|
|
193
184
|
getTextContent: () => string | null;
|
|
194
185
|
getParentNode: () => ParentNode | null;
|
|
195
186
|
parent: () => ParentNode | null;
|
|
187
|
+
getBoundingClientRect: () => DOMRect;
|
|
196
188
|
rect: () => DOMRect;
|
|
197
189
|
hasClass: (classname: string) => boolean;
|
|
198
190
|
containsFocus: () => boolean;
|
|
@@ -204,17 +196,25 @@ export declare const LinkLocator: {
|
|
|
204
196
|
exists: () => boolean;
|
|
205
197
|
text: () => string | null;
|
|
206
198
|
empty: () => boolean;
|
|
199
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
207
200
|
descendants: (selector: string) => Element[];
|
|
208
201
|
ancestors: (selector: string) => ParentNode[];
|
|
209
202
|
attribute: (qualifiedName: string) => string | null;
|
|
210
203
|
style: (property: string) => string;
|
|
211
204
|
classNames: () => string[];
|
|
205
|
+
id: () => string;
|
|
206
|
+
matches: (selector: string | undefined) => boolean;
|
|
212
207
|
checked: () => any;
|
|
213
208
|
selected: () => any;
|
|
209
|
+
disabled: () => string | null;
|
|
214
210
|
readonly: () => any;
|
|
211
|
+
role: () => string | null;
|
|
212
|
+
value: () => string | null;
|
|
213
|
+
label: () => string | null | undefined;
|
|
214
|
+
title: () => string | null | undefined;
|
|
215
|
+
children: (selector: string) => Element[];
|
|
215
216
|
parents: (selector: string) => ParentNode[];
|
|
216
217
|
} & {
|
|
217
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
218
218
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
219
219
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
220
220
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -252,6 +252,7 @@ export declare const LinkLocator: {
|
|
|
252
252
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
253
253
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
254
254
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
255
256
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
256
257
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
257
258
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -297,7 +298,7 @@ export declare const LinkLocator: {
|
|
|
297
298
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
298
299
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
299
300
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
300
|
-
find: typeof
|
|
301
|
+
find: typeof find;
|
|
301
302
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
302
303
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
303
304
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -306,25 +307,15 @@ export declare const LinkLocator: {
|
|
|
306
307
|
toString: (maxLength?: number | undefined, options?: {
|
|
307
308
|
highlight: boolean;
|
|
308
309
|
} | 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
310
|
visible: () => boolean;
|
|
318
|
-
value: () => string | null;
|
|
319
|
-
disabled: () => string | null;
|
|
320
|
-
role: () => string | null;
|
|
321
|
-
label: () => string | null | undefined;
|
|
322
311
|
getId: () => string;
|
|
323
312
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
324
313
|
getOwnerDocument: () => Document;
|
|
325
314
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
326
315
|
getTagName: () => string;
|
|
316
|
+
tagName: () => string;
|
|
327
317
|
typeIn: (text: string) => Promise<void>;
|
|
318
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
328
319
|
getDOMNode: () => Element;
|
|
329
320
|
node: () => Element;
|
|
330
321
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -334,6 +325,7 @@ export declare const LinkLocator: {
|
|
|
334
325
|
getTextContent: () => string | null;
|
|
335
326
|
getParentNode: () => ParentNode | null;
|
|
336
327
|
parent: () => ParentNode | null;
|
|
328
|
+
getBoundingClientRect: () => DOMRect;
|
|
337
329
|
rect: () => DOMRect;
|
|
338
330
|
hasClass: (classname: string) => boolean;
|
|
339
331
|
containsFocus: () => boolean;
|
|
@@ -345,17 +337,25 @@ export declare const LinkLocator: {
|
|
|
345
337
|
exists: () => boolean;
|
|
346
338
|
text: () => string | null;
|
|
347
339
|
empty: () => boolean;
|
|
340
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
348
341
|
descendants: (selector: string) => Element[];
|
|
349
342
|
ancestors: (selector: string) => ParentNode[];
|
|
350
343
|
attribute: (qualifiedName: string) => string | null;
|
|
351
344
|
style: (property: string) => string;
|
|
352
345
|
classNames: () => string[];
|
|
346
|
+
id: () => string;
|
|
347
|
+
matches: (selector: string | undefined) => boolean;
|
|
353
348
|
checked: () => any;
|
|
354
349
|
selected: () => any;
|
|
350
|
+
disabled: () => string | null;
|
|
355
351
|
readonly: () => any;
|
|
352
|
+
role: () => string | null;
|
|
353
|
+
value: () => string | null;
|
|
354
|
+
label: () => string | null | undefined;
|
|
355
|
+
title: () => string | null | undefined;
|
|
356
|
+
children: (selector: string) => Element[];
|
|
356
357
|
parents: (selector: string) => ParentNode[];
|
|
357
358
|
} & {
|
|
358
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
359
359
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
360
360
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
361
361
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -393,6 +393,7 @@ export declare const LinkLocator: {
|
|
|
393
393
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
394
394
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
395
395
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
396
397
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
397
398
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
398
399
|
canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -438,7 +439,7 @@ export declare const LinkLocator: {
|
|
|
438
439
|
findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
|
|
439
440
|
findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
|
|
440
441
|
findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
|
|
441
|
-
find: typeof
|
|
442
|
+
find: typeof find;
|
|
442
443
|
findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
|
|
443
444
|
findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
|
|
444
445
|
findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
|
|
@@ -447,25 +448,15 @@ export declare const LinkLocator: {
|
|
|
447
448
|
toString: (maxLength?: number | undefined, options?: {
|
|
448
449
|
highlight: boolean;
|
|
449
450
|
} | 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
451
|
visible: () => boolean;
|
|
459
|
-
value: () => string | null;
|
|
460
|
-
disabled: () => string | null;
|
|
461
|
-
role: () => string | null;
|
|
462
|
-
label: () => string | null | undefined;
|
|
463
452
|
getId: () => string;
|
|
464
453
|
getOwnerWindow: () => (Window & typeof globalThis) | null;
|
|
465
454
|
getOwnerDocument: () => Document;
|
|
466
455
|
getComputedStyle: () => CSSStyleDeclaration;
|
|
467
456
|
getTagName: () => string;
|
|
457
|
+
tagName: () => string;
|
|
468
458
|
typeIn: (text: string) => Promise<void>;
|
|
459
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
469
460
|
getDOMNode: () => Element;
|
|
470
461
|
node: () => Element;
|
|
471
462
|
debug: (maxLength?: number | undefined, options?: {
|
|
@@ -475,6 +466,7 @@ export declare const LinkLocator: {
|
|
|
475
466
|
getTextContent: () => string | null;
|
|
476
467
|
getParentNode: () => ParentNode | null;
|
|
477
468
|
parent: () => ParentNode | null;
|
|
469
|
+
getBoundingClientRect: () => DOMRect;
|
|
478
470
|
rect: () => DOMRect;
|
|
479
471
|
hasClass: (classname: string) => boolean;
|
|
480
472
|
containsFocus: () => boolean;
|
|
@@ -486,17 +478,25 @@ export declare const LinkLocator: {
|
|
|
486
478
|
exists: () => boolean;
|
|
487
479
|
text: () => string | null;
|
|
488
480
|
empty: () => boolean;
|
|
481
|
+
contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
|
|
489
482
|
descendants: (selector: string) => Element[];
|
|
490
483
|
ancestors: (selector: string) => ParentNode[];
|
|
491
484
|
attribute: (qualifiedName: string) => string | null;
|
|
492
485
|
style: (property: string) => string;
|
|
493
486
|
classNames: () => string[];
|
|
487
|
+
id: () => string;
|
|
488
|
+
matches: (selector: string | undefined) => boolean;
|
|
494
489
|
checked: () => any;
|
|
495
490
|
selected: () => any;
|
|
491
|
+
disabled: () => string | null;
|
|
496
492
|
readonly: () => any;
|
|
493
|
+
role: () => string | null;
|
|
494
|
+
value: () => string | null;
|
|
495
|
+
label: () => string | null | undefined;
|
|
496
|
+
title: () => string | null | undefined;
|
|
497
|
+
children: (selector: string) => Element[];
|
|
497
498
|
parents: (selector: string) => ParentNode[];
|
|
498
499
|
} & {
|
|
499
|
-
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
500
500
|
copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
501
501
|
cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
502
502
|
paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
@@ -534,6 +534,7 @@ export declare const LinkLocator: {
|
|
|
534
534
|
touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
535
535
|
touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
536
536
|
touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
537
|
+
scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
537
538
|
wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
538
539
|
abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
|
|
539
540
|
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":"LinkLocator.d.ts","sourceRoot":"","sources":["../../src/Link/LinkLocator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LinkLocator.d.ts","sourceRoot":"","sources":["../../src/Link/LinkLocator.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AAKnD,eAAO,MAAM,WAAW;;yBACC,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAnB,GAAG,WAAW,GAAG,EAAE;;uIAG1C,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IconTrashSolid } from '@instructure/ui-icons';
|
|
2
|
+
import type { LinkProps } from '../props';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
sectionProp: string;
|
|
4
5
|
propValues: {
|
|
@@ -6,13 +7,13 @@ declare const _default: {
|
|
|
6
7
|
iconPlacement: (string | null)[];
|
|
7
8
|
renderIcon: (typeof IconTrashSolid | null)[];
|
|
8
9
|
};
|
|
9
|
-
getComponentProps: (
|
|
10
|
+
getComponentProps: () => {
|
|
10
11
|
href: string;
|
|
11
12
|
};
|
|
12
|
-
getExampleProps: (props:
|
|
13
|
+
getExampleProps: (props: LinkProps) => {
|
|
13
14
|
background: string;
|
|
14
15
|
};
|
|
15
|
-
filter: (props:
|
|
16
|
+
filter: (props: LinkProps) => {} | undefined;
|
|
16
17
|
};
|
|
17
18
|
export default _default;
|
|
18
19
|
//# sourceMappingURL=Link.examples.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.examples.d.ts","sourceRoot":"","sources":["../../../src/Link/__examples__/Link.examples.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.examples.d.ts","sourceRoot":"","sources":["../../../src/Link/__examples__/Link.examples.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;6BAkBd,SAAS;;;oBAKlB,SAAS;;AAjB3B,wBAwBC"}
|
package/types/Link/index.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import { jsx } from '@instructure/emotion';
|
|
4
|
-
import type { LinkProps, LinkStyleProps } from './props';
|
|
4
|
+
import type { LinkProps, LinkState, LinkStyleProps } from './props';
|
|
5
|
+
import type { ViewOwnProps } from '@instructure/ui-view';
|
|
5
6
|
/**
|
|
6
7
|
---
|
|
7
8
|
category: components
|
|
8
9
|
---
|
|
10
|
+
@tsProps
|
|
9
11
|
**/
|
|
10
|
-
declare class Link extends Component<LinkProps> {
|
|
12
|
+
declare class Link extends Component<LinkProps, LinkState> {
|
|
11
13
|
static readonly componentId = "Link";
|
|
12
14
|
static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
|
|
13
15
|
children: React.ReactNode;
|
|
@@ -17,13 +19,13 @@ declare class Link extends Component<LinkProps> {
|
|
|
17
19
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
18
20
|
interaction?: "enabled" | "disabled" | undefined;
|
|
19
21
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
20
|
-
renderIcon?: React.ReactNode | ((
|
|
22
|
+
renderIcon?: React.ReactNode | (() => React.ReactNode);
|
|
21
23
|
iconPlacement?: "start" | "end" | undefined;
|
|
22
24
|
display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex" | undefined;
|
|
23
25
|
isWithinText?: boolean | undefined;
|
|
24
|
-
onClick?: ((
|
|
25
|
-
onFocus?: ((
|
|
26
|
-
onBlur?: ((
|
|
26
|
+
onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
|
|
27
|
+
onFocus?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
|
|
28
|
+
onBlur?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
|
|
27
29
|
}>;
|
|
28
30
|
static allowedProps: readonly (keyof {
|
|
29
31
|
children: React.ReactNode;
|
|
@@ -33,13 +35,13 @@ declare class Link extends Component<LinkProps> {
|
|
|
33
35
|
as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
|
|
34
36
|
interaction?: "enabled" | "disabled" | undefined;
|
|
35
37
|
margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
|
|
36
|
-
renderIcon?: React.ReactNode | ((
|
|
38
|
+
renderIcon?: React.ReactNode | (() => React.ReactNode);
|
|
37
39
|
iconPlacement?: "start" | "end" | undefined;
|
|
38
40
|
display?: "auto" | "block" | "inline-block" | "flex" | "inline-flex" | undefined;
|
|
39
41
|
isWithinText?: boolean | undefined;
|
|
40
|
-
onClick?: ((
|
|
41
|
-
onFocus?: ((
|
|
42
|
-
onBlur?: ((
|
|
42
|
+
onClick?: ((event: React.MouseEvent<ViewOwnProps, MouseEvent>) => void) | undefined;
|
|
43
|
+
onFocus?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
|
|
44
|
+
onBlur?: ((event: React.FocusEvent<ViewOwnProps, Element>) => void) | undefined;
|
|
43
45
|
})[];
|
|
44
46
|
static defaultProps: {
|
|
45
47
|
readonly interaction: undefined;
|
|
@@ -50,15 +52,15 @@ declare class Link extends Component<LinkProps> {
|
|
|
50
52
|
state: {
|
|
51
53
|
hasFocus: boolean;
|
|
52
54
|
};
|
|
53
|
-
get _link():
|
|
54
|
-
ref:
|
|
55
|
+
get _link(): Element | null;
|
|
56
|
+
ref: Element | null;
|
|
55
57
|
componentDidMount(): void;
|
|
56
|
-
componentDidUpdate(
|
|
58
|
+
componentDidUpdate(): void;
|
|
57
59
|
makeStyleProps: () => LinkStyleProps;
|
|
58
|
-
handleElementRef: (el:
|
|
59
|
-
handleClick:
|
|
60
|
-
handleFocus:
|
|
61
|
-
handleBlur:
|
|
60
|
+
handleElementRef: (el: Element | null) => void;
|
|
61
|
+
handleClick: React.MouseEventHandler<ViewOwnProps>;
|
|
62
|
+
handleFocus: React.FocusEventHandler<ViewOwnProps>;
|
|
63
|
+
handleBlur: React.FocusEventHandler<ViewOwnProps>;
|
|
62
64
|
get containsTruncateText(): boolean;
|
|
63
65
|
get display(): "auto" | "block" | "inline-block" | "flex" | "inline-flex";
|
|
64
66
|
get interaction(): import("@instructure/ui-react-utils").InteractionType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Link/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAexC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAExD
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Link/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAexC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAKrD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD;;;;;GAKG;AACH,cAEM,IAAK,SAAQ,SAAS,CAAC,SAAS,EAAE,SAAS,CAAC;IAChD,MAAM,CAAC,QAAQ,CAAC,WAAW,UAAS;IAEpC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;MAMT;IAEV,KAAK;;MAAsB;IAE3B,IAAI,KAAK,mBAMR;IACD,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,iBAAiB;IAIjB,kBAAkB;IAIlB,cAAc,QAAO,cAAc,CAKlC;IAED,gBAAgB,OAAQ,OAAO,GAAG,IAAI,UAQrC;IAED,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAUjD;IAED,WAAW,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAKjD;IAED,UAAU,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAKhD;IAED,IAAI,oBAAoB,YAgBvB;IAED,IAAI,OAAO,+DAYV;IAED,IAAI,WAAW,0DAEd;IAED,IAAI,OAAO,wEAEV;IAED,IAAI,OAAO,YAEV;IAED,IAAI,SAAS,cAEZ;IAED,IAAI,kBAAkB,YAErB;IAED,KAAK;IAIL,UAAU;IAaV,MAAM;CA6CP;AAED,eAAe,IAAI,CAAA;AACnB,OAAO,EAAE,IAAI,EAAE,CAAA"}
|
package/types/Link/props.d.ts
CHANGED
|
@@ -1,21 +1,67 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { AsElementType, PropValidators, LinkTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
2
|
+
import type { ToProp, AsElementType, PropValidators, LinkTheme, OtherHTMLAttributes } from '@instructure/shared-types';
|
|
3
3
|
import type { Spacing, WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
4
|
+
import type { ViewOwnProps } from '@instructure/ui-view';
|
|
4
5
|
declare type LinkOwnProps = {
|
|
6
|
+
/**
|
|
7
|
+
* The text and/or icon displayed by the link
|
|
8
|
+
*/
|
|
5
9
|
children: React.ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the link's `href` attribute
|
|
12
|
+
*/
|
|
6
13
|
href?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Designates Link's text color to accommodate light and dark backgrounds
|
|
16
|
+
*/
|
|
7
17
|
color?: 'link' | 'link-inverse';
|
|
18
|
+
/**
|
|
19
|
+
* Provides a reference to the underlying HTML element
|
|
20
|
+
*/
|
|
8
21
|
elementRef?: (element: Element | null) => void;
|
|
22
|
+
/**
|
|
23
|
+
* The element type to render as (will default to `<a>` if href is provided)
|
|
24
|
+
*/
|
|
9
25
|
as?: AsElementType;
|
|
26
|
+
/**
|
|
27
|
+
* Determines if the link is enabled or disabled
|
|
28
|
+
*/
|
|
10
29
|
interaction?: 'enabled' | 'disabled';
|
|
30
|
+
/**
|
|
31
|
+
* Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
|
|
32
|
+
* `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
|
|
33
|
+
* familiar CSS-like shorthand. For example: `margin="small auto large"`.
|
|
34
|
+
*/
|
|
11
35
|
margin?: Spacing;
|
|
12
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Add an SVG icon to the Link. Do not add icons directly as
|
|
38
|
+
* children.
|
|
39
|
+
*/
|
|
40
|
+
renderIcon?: (() => React.ReactNode) | React.ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Place the icon before or after the text in the Link.
|
|
43
|
+
*/
|
|
13
44
|
iconPlacement?: 'start' | 'end';
|
|
45
|
+
/**
|
|
46
|
+
* Set the CSS display property of the Link element. 'auto' sets no display property.
|
|
47
|
+
*/
|
|
14
48
|
display?: 'auto' | 'block' | 'inline-block' | 'flex' | 'inline-flex';
|
|
49
|
+
/**
|
|
50
|
+
* Set `false` to remove default underline if Link does not appear inline with text
|
|
51
|
+
*/
|
|
15
52
|
isWithinText?: boolean;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Fires when the Link is clicked
|
|
55
|
+
*/
|
|
56
|
+
onClick?: (event: React.MouseEvent<ViewOwnProps>) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Fires when the Link gains focus
|
|
59
|
+
*/
|
|
60
|
+
onFocus?: (event: React.FocusEvent<ViewOwnProps>) => void;
|
|
61
|
+
/**
|
|
62
|
+
* Fires when the Link loses focus
|
|
63
|
+
*/
|
|
64
|
+
onBlur?: (event: React.FocusEvent<ViewOwnProps>) => void;
|
|
19
65
|
};
|
|
20
66
|
export declare type LinkStyleProps = {
|
|
21
67
|
containsTruncateText: boolean;
|
|
@@ -23,10 +69,13 @@ export declare type LinkStyleProps = {
|
|
|
23
69
|
};
|
|
24
70
|
declare type PropKeys = keyof LinkOwnProps;
|
|
25
71
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
26
|
-
declare type
|
|
72
|
+
declare type LinkState = {
|
|
73
|
+
hasFocus: boolean;
|
|
74
|
+
};
|
|
75
|
+
declare type LinkProps = LinkOwnProps & WithStyleProps<LinkTheme, LinkStyle> & OtherHTMLAttributes<LinkOwnProps> & ToProp;
|
|
27
76
|
declare type LinkStyle = ComponentStyle<'link' | 'icon'>;
|
|
28
77
|
declare const propTypes: PropValidators<PropKeys>;
|
|
29
78
|
declare const allowedProps: AllowedPropKeys;
|
|
30
|
-
export type { LinkProps, LinkStyle };
|
|
79
|
+
export type { LinkProps, LinkState, LinkStyle };
|
|
31
80
|
export { propTypes, allowedProps };
|
|
32
81
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Link/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,SAAS,EACT,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/Link/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,MAAM,EACN,aAAa,EACb,cAAc,EACd,SAAS,EACT,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,OAAO,EACP,cAAc,EACd,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,aAAK,YAAY,GAAG;IAClB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,cAAc,CAAA;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAE9C;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IAEpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,SAAS,CAAA;IAEtD;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,cAAc,GAAG,MAAM,GAAG,aAAa,CAAA;IAEpE;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,IAAI,CAAA;IAEzD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,IAAI,CAAA;IAEzD;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,IAAI,CAAA;CACzD,CAAA;AAED,oBAAY,cAAc,GAAG;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,kBAAkB,EAAE,OAAO,CAAA;CAC5B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,YAAY,CAAA;AAElC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,SAAS,GAAG;IACf,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,aAAK,SAAS,GAAG,YAAY,GAC3B,cAAc,CAAC,SAAS,EAAE,SAAS,CAAC,GACpC,mBAAmB,CAAC,YAAY,CAAC,GACjC,MAAM,CAAA;AAER,aAAK,SAAS,GAAG,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,CAAA;AAEhD,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAqBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAenB,CAAA;AAED,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
package/LICENSE.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: The MIT License (MIT)
|
|
3
|
-
category: Getting Started
|
|
4
|
-
order: 9
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# The MIT License (MIT)
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2015 Instructure, Inc.
|
|
10
|
-
|
|
11
|
-
**Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions.**
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|