@instructure/ui-buttons 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.
Files changed (81) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/es/BaseButton/index.js +64 -43
  3. package/es/BaseButton/props.js +2 -88
  4. package/es/BaseButton/theme.js +1 -1
  5. package/es/Button/index.js +2 -2
  6. package/es/Button/props.js +3 -65
  7. package/es/CloseButton/index.js +23 -18
  8. package/es/CloseButton/props.js +2 -60
  9. package/es/CondensedButton/index.js +2 -2
  10. package/es/CondensedButton/props.js +3 -48
  11. package/es/IconButton/index.js +2 -2
  12. package/es/IconButton/props.js +3 -68
  13. package/es/ToggleButton/index.js +4 -5
  14. package/es/ToggleButton/props.js +1 -58
  15. package/lib/BaseButton/index.js +67 -43
  16. package/lib/BaseButton/props.js +2 -88
  17. package/lib/BaseButton/theme.js +1 -1
  18. package/lib/Button/index.js +2 -2
  19. package/lib/Button/props.js +3 -65
  20. package/lib/CloseButton/index.js +23 -18
  21. package/lib/CloseButton/props.js +2 -60
  22. package/lib/CondensedButton/index.js +2 -2
  23. package/lib/CondensedButton/props.js +3 -48
  24. package/lib/IconButton/index.js +2 -2
  25. package/lib/IconButton/props.js +3 -68
  26. package/lib/ToggleButton/index.js +4 -5
  27. package/lib/ToggleButton/props.js +1 -58
  28. package/package.json +21 -22
  29. package/src/BaseButton/index.tsx +35 -27
  30. package/src/BaseButton/props.ts +103 -72
  31. package/src/BaseButton/theme.ts +1 -6
  32. package/src/Button/index.tsx +4 -8
  33. package/src/Button/props.ts +74 -48
  34. package/src/CloseButton/index.tsx +4 -6
  35. package/src/CloseButton/props.ts +67 -41
  36. package/src/CondensedButton/index.tsx +3 -7
  37. package/src/CondensedButton/props.ts +56 -34
  38. package/src/IconButton/index.tsx +3 -7
  39. package/src/IconButton/props.ts +77 -50
  40. package/src/ToggleButton/index.tsx +8 -15
  41. package/src/ToggleButton/props.ts +65 -39
  42. package/tsconfig.build.json +25 -2
  43. package/tsconfig.build.tsbuildinfo +1 -0
  44. package/types/BaseButton/BaseButtonLocator.d.ts +57 -56
  45. package/types/BaseButton/BaseButtonLocator.d.ts.map +1 -1
  46. package/types/BaseButton/index.d.ts +16 -15
  47. package/types/BaseButton/index.d.ts.map +1 -1
  48. package/types/BaseButton/props.d.ts +76 -5
  49. package/types/BaseButton/props.d.ts.map +1 -1
  50. package/types/BaseButton/theme.d.ts.map +1 -1
  51. package/types/Button/ButtonLocator.d.ts +57 -56
  52. package/types/Button/ButtonLocator.d.ts.map +1 -1
  53. package/types/Button/index.d.ts +10 -7
  54. package/types/Button/index.d.ts.map +1 -1
  55. package/types/Button/locator.d.ts +52 -52
  56. package/types/Button/props.d.ts +57 -3
  57. package/types/Button/props.d.ts.map +1 -1
  58. package/types/CloseButton/CloseButtonLocator.d.ts +52 -52
  59. package/types/CloseButton/index.d.ts +4 -3
  60. package/types/CloseButton/index.d.ts.map +1 -1
  61. package/types/CloseButton/props.d.ts +55 -5
  62. package/types/CloseButton/props.d.ts.map +1 -1
  63. package/types/CondensedButton/CondensedButtonLocator.d.ts +57 -56
  64. package/types/CondensedButton/CondensedButtonLocator.d.ts.map +1 -1
  65. package/types/CondensedButton/index.d.ts +9 -6
  66. package/types/CondensedButton/index.d.ts.map +1 -1
  67. package/types/CondensedButton/props.d.ts +44 -3
  68. package/types/CondensedButton/props.d.ts.map +1 -1
  69. package/types/IconButton/IconButtonLocator.d.ts +57 -56
  70. package/types/IconButton/IconButtonLocator.d.ts.map +1 -1
  71. package/types/IconButton/index.d.ts +11 -8
  72. package/types/IconButton/index.d.ts.map +1 -1
  73. package/types/IconButton/props.d.ts +60 -4
  74. package/types/IconButton/props.d.ts.map +1 -1
  75. package/types/ToggleButton/ToggleButtonLocator.d.ts +57 -56
  76. package/types/ToggleButton/ToggleButtonLocator.d.ts.map +1 -1
  77. package/types/ToggleButton/index.d.ts +12 -13
  78. package/types/ToggleButton/index.d.ts.map +1 -1
  79. package/types/ToggleButton/props.d.ts +52 -4
  80. package/types/ToggleButton/props.d.ts.map +1 -1
  81. package/LICENSE.md +0 -27
@@ -1,3 +1,4 @@
1
+ import { find } from '@instructure/ui-test-queries';
1
2
  export declare const ToggleButtonLocator: {
2
3
  customMethods: {
3
4
  findTooltipContent: (...args: any[]) => Promise<any>;
@@ -16,7 +17,7 @@ export declare const ToggleButtonLocator: {
16
17
  findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
17
18
  findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
18
19
  findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
19
- find: typeof import("@instructure/ui-test-queries/src/utils/queries").find;
20
+ find: typeof find;
20
21
  findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
21
22
  findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
22
23
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
@@ -25,25 +26,15 @@ export declare const ToggleButtonLocator: {
25
26
  toString: (maxLength?: number | undefined, options?: {
26
27
  highlight: boolean;
27
28
  } | undefined) => string;
28
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
29
- children: (selector: string) => Element[];
30
- title: () => string | null | undefined;
31
- id: () => string;
32
- tagName: () => string;
33
- getAttribute: (qualifiedName: string) => string | null;
34
- getBoundingClientRect: () => DOMRect;
35
- matches: (selector: string | undefined) => boolean;
36
29
  visible: () => boolean;
37
- value: () => string | null;
38
- disabled: () => string | null;
39
- role: () => string | null;
40
- label: () => string | null | undefined;
41
30
  getId: () => string;
42
31
  getOwnerWindow: () => (Window & typeof globalThis) | null;
43
32
  getOwnerDocument: () => Document;
44
33
  getComputedStyle: () => CSSStyleDeclaration;
45
34
  getTagName: () => string;
35
+ tagName: () => string;
46
36
  typeIn: (text: string) => Promise<void>;
37
+ getAttribute: (qualifiedName: string) => string | null;
47
38
  getDOMNode: () => Element;
48
39
  node: () => Element;
49
40
  debug: (maxLength?: number | undefined, options?: {
@@ -53,6 +44,7 @@ export declare const ToggleButtonLocator: {
53
44
  getTextContent: () => string | null;
54
45
  getParentNode: () => ParentNode | null;
55
46
  parent: () => ParentNode | null;
47
+ getBoundingClientRect: () => DOMRect;
56
48
  rect: () => DOMRect;
57
49
  hasClass: (classname: string) => boolean;
58
50
  containsFocus: () => boolean;
@@ -64,17 +56,25 @@ export declare const ToggleButtonLocator: {
64
56
  exists: () => boolean;
65
57
  text: () => string | null;
66
58
  empty: () => boolean;
59
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
67
60
  descendants: (selector: string) => Element[];
68
61
  ancestors: (selector: string) => ParentNode[];
69
62
  attribute: (qualifiedName: string) => string | null;
70
63
  style: (property: string) => string;
71
64
  classNames: () => string[];
65
+ id: () => string;
66
+ matches: (selector: string | undefined) => boolean;
72
67
  checked: () => any;
73
68
  selected: () => any;
69
+ disabled: () => string | null;
74
70
  readonly: () => any;
71
+ role: () => string | null;
72
+ value: () => string | null;
73
+ label: () => string | null | undefined;
74
+ title: () => string | null | undefined;
75
+ children: (selector: string) => Element[];
75
76
  parents: (selector: string) => ParentNode[];
76
77
  } & {
77
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
78
78
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
79
79
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
80
80
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -112,6 +112,7 @@ export declare const ToggleButtonLocator: {
112
112
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
113
113
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
114
114
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
115
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
115
116
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
116
117
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
117
118
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -158,7 +159,7 @@ export declare const ToggleButtonLocator: {
158
159
  findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
159
160
  findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
160
161
  findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
161
- find: typeof import("@instructure/ui-test-queries/src/utils/queries").find;
162
+ find: typeof find;
162
163
  findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
163
164
  findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
164
165
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
@@ -167,25 +168,15 @@ export declare const ToggleButtonLocator: {
167
168
  toString: (maxLength?: number | undefined, options?: {
168
169
  highlight: boolean;
169
170
  } | undefined) => string;
170
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
171
- children: (selector: string) => Element[];
172
- title: () => string | null | undefined;
173
- id: () => string;
174
- tagName: () => string;
175
- getAttribute: (qualifiedName: string) => string | null;
176
- getBoundingClientRect: () => DOMRect;
177
- matches: (selector: string | undefined) => boolean;
178
171
  visible: () => boolean;
179
- value: () => string | null;
180
- disabled: () => string | null;
181
- role: () => string | null;
182
- label: () => string | null | undefined;
183
172
  getId: () => string;
184
173
  getOwnerWindow: () => (Window & typeof globalThis) | null;
185
174
  getOwnerDocument: () => Document;
186
175
  getComputedStyle: () => CSSStyleDeclaration;
187
176
  getTagName: () => string;
177
+ tagName: () => string;
188
178
  typeIn: (text: string) => Promise<void>;
179
+ getAttribute: (qualifiedName: string) => string | null;
189
180
  getDOMNode: () => Element;
190
181
  node: () => Element;
191
182
  debug: (maxLength?: number | undefined, options?: {
@@ -195,6 +186,7 @@ export declare const ToggleButtonLocator: {
195
186
  getTextContent: () => string | null;
196
187
  getParentNode: () => ParentNode | null;
197
188
  parent: () => ParentNode | null;
189
+ getBoundingClientRect: () => DOMRect;
198
190
  rect: () => DOMRect;
199
191
  hasClass: (classname: string) => boolean;
200
192
  containsFocus: () => boolean;
@@ -206,17 +198,25 @@ export declare const ToggleButtonLocator: {
206
198
  exists: () => boolean;
207
199
  text: () => string | null;
208
200
  empty: () => boolean;
201
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
209
202
  descendants: (selector: string) => Element[];
210
203
  ancestors: (selector: string) => ParentNode[];
211
204
  attribute: (qualifiedName: string) => string | null;
212
205
  style: (property: string) => string;
213
206
  classNames: () => string[];
207
+ id: () => string;
208
+ matches: (selector: string | undefined) => boolean;
214
209
  checked: () => any;
215
210
  selected: () => any;
211
+ disabled: () => string | null;
216
212
  readonly: () => any;
213
+ role: () => string | null;
214
+ value: () => string | null;
215
+ label: () => string | null | undefined;
216
+ title: () => string | null | undefined;
217
+ children: (selector: string) => Element[];
217
218
  parents: (selector: string) => ParentNode[];
218
219
  } & {
219
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
220
220
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
221
221
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
222
222
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -254,6 +254,7 @@ export declare const ToggleButtonLocator: {
254
254
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
255
255
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
256
256
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
257
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
257
258
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
258
259
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
259
260
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -300,7 +301,7 @@ export declare const ToggleButtonLocator: {
300
301
  findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
301
302
  findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
302
303
  findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
303
- find: typeof import("@instructure/ui-test-queries/src/utils/queries").find;
304
+ find: typeof find;
304
305
  findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
305
306
  findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
306
307
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
@@ -309,25 +310,15 @@ export declare const ToggleButtonLocator: {
309
310
  toString: (maxLength?: number | undefined, options?: {
310
311
  highlight: boolean;
311
312
  } | undefined) => string;
312
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
313
- children: (selector: string) => Element[];
314
- title: () => string | null | undefined;
315
- id: () => string;
316
- tagName: () => string;
317
- getAttribute: (qualifiedName: string) => string | null;
318
- getBoundingClientRect: () => DOMRect;
319
- matches: (selector: string | undefined) => boolean;
320
313
  visible: () => boolean;
321
- value: () => string | null;
322
- disabled: () => string | null;
323
- role: () => string | null;
324
- label: () => string | null | undefined;
325
314
  getId: () => string;
326
315
  getOwnerWindow: () => (Window & typeof globalThis) | null;
327
316
  getOwnerDocument: () => Document;
328
317
  getComputedStyle: () => CSSStyleDeclaration;
329
318
  getTagName: () => string;
319
+ tagName: () => string;
330
320
  typeIn: (text: string) => Promise<void>;
321
+ getAttribute: (qualifiedName: string) => string | null;
331
322
  getDOMNode: () => Element;
332
323
  node: () => Element;
333
324
  debug: (maxLength?: number | undefined, options?: {
@@ -337,6 +328,7 @@ export declare const ToggleButtonLocator: {
337
328
  getTextContent: () => string | null;
338
329
  getParentNode: () => ParentNode | null;
339
330
  parent: () => ParentNode | null;
331
+ getBoundingClientRect: () => DOMRect;
340
332
  rect: () => DOMRect;
341
333
  hasClass: (classname: string) => boolean;
342
334
  containsFocus: () => boolean;
@@ -348,17 +340,25 @@ export declare const ToggleButtonLocator: {
348
340
  exists: () => boolean;
349
341
  text: () => string | null;
350
342
  empty: () => boolean;
343
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
351
344
  descendants: (selector: string) => Element[];
352
345
  ancestors: (selector: string) => ParentNode[];
353
346
  attribute: (qualifiedName: string) => string | null;
354
347
  style: (property: string) => string;
355
348
  classNames: () => string[];
349
+ id: () => string;
350
+ matches: (selector: string | undefined) => boolean;
356
351
  checked: () => any;
357
352
  selected: () => any;
353
+ disabled: () => string | null;
358
354
  readonly: () => any;
355
+ role: () => string | null;
356
+ value: () => string | null;
357
+ label: () => string | null | undefined;
358
+ title: () => string | null | undefined;
359
+ children: (selector: string) => Element[];
359
360
  parents: (selector: string) => ParentNode[];
360
361
  } & {
361
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
362
362
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
363
363
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
364
364
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -396,6 +396,7 @@ export declare const ToggleButtonLocator: {
396
396
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
397
397
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
398
398
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
399
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
399
400
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
400
401
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
401
402
  canPlay: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -442,7 +443,7 @@ export declare const ToggleButtonLocator: {
442
443
  findAllByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllByQuery;
443
444
  findByQuery: typeof import("@instructure/ui-test-queries/src/utils/queries").findByQuery;
444
445
  findAll: typeof import("@instructure/ui-test-queries/src/utils/queries").findAll;
445
- find: typeof import("@instructure/ui-test-queries/src/utils/queries").find;
446
+ find: typeof find;
446
447
  findAllFrames: typeof import("@instructure/ui-test-queries/src/utils/queries").findAllFrames;
447
448
  findFrame: typeof import("@instructure/ui-test-queries/src/utils/queries").findFrame;
448
449
  findParent: typeof import("@instructure/ui-test-queries/src/utils/queries").findParent;
@@ -451,25 +452,15 @@ export declare const ToggleButtonLocator: {
451
452
  toString: (maxLength?: number | undefined, options?: {
452
453
  highlight: boolean;
453
454
  } | undefined) => string;
454
- contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
455
- children: (selector: string) => Element[];
456
- title: () => string | null | undefined;
457
- id: () => string;
458
- tagName: () => string;
459
- getAttribute: (qualifiedName: string) => string | null;
460
- getBoundingClientRect: () => DOMRect;
461
- matches: (selector: string | undefined) => boolean;
462
455
  visible: () => boolean;
463
- value: () => string | null;
464
- disabled: () => string | null;
465
- role: () => string | null;
466
- label: () => string | null | undefined;
467
456
  getId: () => string;
468
457
  getOwnerWindow: () => (Window & typeof globalThis) | null;
469
458
  getOwnerDocument: () => Document;
470
459
  getComputedStyle: () => CSSStyleDeclaration;
471
460
  getTagName: () => string;
461
+ tagName: () => string;
472
462
  typeIn: (text: string) => Promise<void>;
463
+ getAttribute: (qualifiedName: string) => string | null;
473
464
  getDOMNode: () => Element;
474
465
  node: () => Element;
475
466
  debug: (maxLength?: number | undefined, options?: {
@@ -479,6 +470,7 @@ export declare const ToggleButtonLocator: {
479
470
  getTextContent: () => string | null;
480
471
  getParentNode: () => ParentNode | null;
481
472
  parent: () => ParentNode | null;
473
+ getBoundingClientRect: () => DOMRect;
482
474
  rect: () => DOMRect;
483
475
  hasClass: (classname: string) => boolean;
484
476
  containsFocus: () => boolean;
@@ -490,17 +482,25 @@ export declare const ToggleButtonLocator: {
490
482
  exists: () => boolean;
491
483
  text: () => string | null;
492
484
  empty: () => boolean;
485
+ contains: (elementOrSelector?: string | Element | undefined) => boolean | Element;
493
486
  descendants: (selector: string) => Element[];
494
487
  ancestors: (selector: string) => ParentNode[];
495
488
  attribute: (qualifiedName: string) => string | null;
496
489
  style: (property: string) => string;
497
490
  classNames: () => string[];
491
+ id: () => string;
492
+ matches: (selector: string | undefined) => boolean;
498
493
  checked: () => any;
499
494
  selected: () => any;
495
+ disabled: () => string | null;
500
496
  readonly: () => any;
497
+ role: () => string | null;
498
+ value: () => string | null;
499
+ label: () => string | null | undefined;
500
+ title: () => string | null | undefined;
501
+ children: (selector: string) => Element[];
501
502
  parents: (selector: string) => ParentNode[];
502
503
  } & {
503
- scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
504
504
  copy: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
505
505
  cut: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
506
506
  paste: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
@@ -538,6 +538,7 @@ export declare const ToggleButtonLocator: {
538
538
  touchEnd: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
539
539
  touchMove: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
540
540
  touchStart: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
541
+ scroll: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
541
542
  wheel: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
542
543
  abort: (init?: import("@instructure/ui-test-queries/src/utils/events").FireEventInit | undefined, options?: Record<string, unknown> | undefined) => Promise<Event>;
543
544
  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":"ToggleButtonLocator.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/ToggleButtonLocator.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,mBAAmB;;sCACM,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;8JAG1C,CAAA"}
1
+ {"version":3,"file":"ToggleButtonLocator.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/ToggleButtonLocator.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,IAAI,EAAuB,MAAM,8BAA8B,CAAA;AASxE,eAAO,MAAM,mBAAmB;;sCACM,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCALN,GAAG,EAAE;yBAKlB,GAAG,WAAW,GAAG,EAAE;;8JAG1C,CAAA"}
@@ -1,23 +1,24 @@
1
1
  import React, { Component } from 'react';
2
- import type { ToggleButtonProps } from './props';
2
+ import type { ToggleButtonProps, ToggleButtonState } from './props';
3
3
  /**
4
4
  ---
5
5
  category: components
6
6
  ---
7
+ @tsProps
7
8
  **/
8
- declare class ToggleButton extends Component<ToggleButtonProps> {
9
+ declare class ToggleButton extends Component<ToggleButtonProps, ToggleButtonState> {
9
10
  static readonly componentId = "ToggleButton";
10
11
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
11
12
  screenReaderLabel: string;
12
13
  renderTooltipContent: React.ReactNode | ((...args: any[]) => any);
13
- renderIcon: React.ReactNode | ((...args: any[]) => any);
14
+ renderIcon: React.ReactNode | (() => React.ReactNode);
14
15
  status: "pressed" | "unpressed";
15
16
  as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
16
17
  interaction?: "enabled" | "disabled" | "readonly" | undefined;
17
18
  size?: "small" | "medium" | "large" | undefined;
18
19
  elementRef?: ((element: Element | null) => void) | undefined;
19
- onClick?: ((...args: any[]) => any) | undefined;
20
- color?: string | undefined;
20
+ onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view/types/View/props").ViewProps> | React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewProps, MouseEvent>) => void) | undefined;
21
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
21
22
  isShowingTooltip?: boolean | undefined;
22
23
  mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
23
24
  placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
@@ -26,14 +27,14 @@ declare class ToggleButton extends Component<ToggleButtonProps> {
26
27
  static allowedProps: readonly (keyof {
27
28
  screenReaderLabel: string;
28
29
  renderTooltipContent: React.ReactNode | ((...args: any[]) => any);
29
- renderIcon: React.ReactNode | ((...args: any[]) => any);
30
+ renderIcon: React.ReactNode | (() => React.ReactNode);
30
31
  status: "pressed" | "unpressed";
31
32
  as?: import("@instructure/shared-types/types/CommonProps").AsElementType | undefined;
32
33
  interaction?: "enabled" | "disabled" | "readonly" | undefined;
33
34
  size?: "small" | "medium" | "large" | undefined;
34
35
  elementRef?: ((element: Element | null) => void) | undefined;
35
- onClick?: ((...args: any[]) => any) | undefined;
36
- color?: string | undefined;
36
+ onClick?: ((event: React.KeyboardEvent<import("@instructure/ui-view/types/View/props").ViewProps> | React.MouseEvent<import("@instructure/ui-view/types/View/props").ViewProps, MouseEvent>) => void) | undefined;
37
+ color?: "primary" | "primary-inverse" | "secondary" | "success" | "danger" | undefined;
37
38
  isShowingTooltip?: boolean | undefined;
38
39
  mountNode?: import("@instructure/ui-position").PositionMountNode | undefined;
39
40
  placement?: import("@instructure/ui-position").PlacementPropValues | undefined;
@@ -42,18 +43,16 @@ declare class ToggleButton extends Component<ToggleButtonProps> {
42
43
  static defaultProps: {
43
44
  size: string;
44
45
  as: string;
45
- elementRef: (el: any) => void;
46
- renderIcon: () => void;
47
- onClick: () => void;
46
+ interaction: undefined;
48
47
  mountNode: null;
49
48
  color: string;
50
49
  placement: string;
51
50
  constrain: string;
52
51
  };
53
- constructor(props: any);
52
+ constructor(props: ToggleButtonProps);
54
53
  ref: Element | null;
55
54
  handleRef: (el: Element | null) => void;
56
- get isShowingTooltip(): any;
55
+ get isShowingTooltip(): boolean;
57
56
  render(): JSX.Element;
58
57
  }
59
58
  export { ToggleButton };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEhD;;;;GAIG;AAEH,cACM,YAAa,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IACrD,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;MAYlB;gBAGW,KAAK,KAAA;IAQjB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,gBAAgB,QAKnB;IAED,MAAM;CAqDP;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AACvB,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAUxC,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAEnE;;;;;GAKG;AAEH,cACM,YAAa,SAAQ,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IACxE,MAAM,CAAC,QAAQ,CAAC,WAAW,kBAAiB;IAE5C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;MASlB;gBAEW,KAAK,EAAE,iBAAiB;IAQpC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,gBAAgB,YAInB;IAED,MAAM;CAkDP;AAED,OAAO,EAAE,YAAY,EAAE,CAAA;AACvB,eAAe,YAAY,CAAA"}
@@ -1,27 +1,75 @@
1
1
  import React from 'react';
2
2
  import type { AsElementType, OtherHTMLAttributes, PropValidators } from '@instructure/shared-types';
3
3
  import type { PlacementPropValues, PositionConstraint, PositionMountNode } from '@instructure/ui-position';
4
+ import type { ViewProps } from '@instructure/ui-view';
4
5
  declare type ToggleButtonOwnProps = {
6
+ /**
7
+ * Text to output only to screen readers
8
+ */
5
9
  screenReaderLabel: string;
10
+ /**
11
+ * Text to render in the tooltip shown on hover/focus
12
+ */
6
13
  renderTooltipContent: React.ReactNode | ((...args: any[]) => any);
7
- renderIcon: React.ReactNode | ((...args: any[]) => any);
14
+ /**
15
+ * An icon or function that returns an icon
16
+ */
17
+ renderIcon: React.ReactNode | (() => React.ReactNode);
18
+ /**
19
+ * Toggles the `aria-pressed` attribute on the button (`true` if `pressed`; `false` if `unpressed`)
20
+ */
8
21
  status: 'pressed' | 'unpressed';
22
+ /**
23
+ * The element to render as the component root; `button` by default
24
+ */
9
25
  as?: AsElementType;
26
+ /**
27
+ * Specifies if interaction with `ToggleButton` is `enabled`, `disabled`, or `readonly`
28
+ */
10
29
  interaction?: 'enabled' | 'disabled' | 'readonly';
30
+ /**
31
+ * The size of the `ToggleButton`
32
+ */
11
33
  size?: 'small' | 'medium' | 'large';
34
+ /**
35
+ * Provides a reference to `ToggleButton`'s underlying HTML element
36
+ */
12
37
  elementRef?: (element: Element | null) => void;
13
- onClick?: (...args: any[]) => any;
14
- color?: string;
38
+ /**
39
+ * Callback fired when the `ToggleButton` is clicked
40
+ */
41
+ onClick?: (event: React.KeyboardEvent<ViewProps> | React.MouseEvent<ViewProps>) => void;
42
+ /**
43
+ * The color in which to display the icon
44
+ */
45
+ color?: 'primary' | 'primary-inverse' | 'secondary' | 'success' | 'danger';
46
+ /**
47
+ * By default, the tooltip will show on hover/focus. Use this prop if you need to override that behavior.
48
+ */
15
49
  isShowingTooltip?: boolean;
50
+ /**
51
+ * An element or a function returning an element to use as the mount node
52
+ */
16
53
  mountNode?: PositionMountNode;
54
+ /**
55
+ * The placement of the tooltip in relation to the button
56
+ */
17
57
  placement?: PlacementPropValues;
58
+ /**
59
+ * The parent in which to constrain the tooltip.
60
+ * One of: 'window', 'scroll-parent', 'parent', 'none', an element,
61
+ * or a function returning an element.
62
+ */
18
63
  constrain?: PositionConstraint;
19
64
  };
20
65
  declare type PropKeys = keyof ToggleButtonOwnProps;
21
66
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
22
67
  declare type ToggleButtonProps = ToggleButtonOwnProps & OtherHTMLAttributes<ToggleButtonOwnProps>;
68
+ declare type ToggleButtonState = {
69
+ isShowingTooltip: boolean;
70
+ };
23
71
  declare const propTypes: PropValidators<PropKeys>;
24
72
  declare const allowedProps: AllowedPropKeys;
25
- export type { ToggleButtonProps };
73
+ export type { ToggleButtonProps, ToggleButtonState };
26
74
  export { propTypes, allowedProps };
27
75
  //# sourceMappingURL=props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AAEjC,aAAK,oBAAoB,GAAG;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,oBAAoB,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACjE,UAAU,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACvD,MAAM,EAAE,SAAS,GAAG,WAAW,CAAA;IAC/B,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IACjD,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAC7B,SAAS,CAAC,EAAE,mBAAmB,CAAA;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAA;CAC/B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,oBAAoB,CAAA;AAE1C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,iBAAiB,GAAG,oBAAoB,GAC3C,mBAAmB,CAAC,oBAAoB,CAAC,CAAA;AAE3C,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CA4DvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAenB,CAAA;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/ToggleButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,cAAc,EACf,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,0BAA0B,CAAA;AACjC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,aAAK,oBAAoB,GAAG;IAC1B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,oBAAoB,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IAEjE;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,MAAM,KAAK,CAAC,SAAS,CAAC,CAAA;IAErD;;OAEG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,CAAA;IAE/B;;OAEG;IACH,EAAE,CAAC,EAAE,aAAa,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IAEjD;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAE9C;;OAEG;IACH,OAAO,CAAC,EAAE,CACR,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,KAChE,IAAI,CAAA;IAET;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;IAE1E;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAE1B;;OAEG;IACH,SAAS,CAAC,EAAE,iBAAiB,CAAA;IAE7B;;OAEG;IACH,SAAS,CAAC,EAAE,mBAAmB,CAAA;IAE/B;;;;OAIG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAA;CAC/B,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,oBAAoB,CAAA;AAE1C,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,iBAAiB,GAAG,oBAAoB,GAC3C,mBAAmB,CAAC,oBAAoB,CAAC,CAAA;AAE3C,aAAK,iBAAiB,GAAG;IACvB,gBAAgB,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAsBvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAenB,CAAA;AAED,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAA;AACpD,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.