@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 IconButtonLocator: {
2
3
  customMethods: {
3
4
  click: (element: any, ...args: any[]) => Promise<Event>;
@@ -15,7 +16,7 @@ export declare const IconButtonLocator: {
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 import("@instructure/ui-test-queries/src/utils/queries").find;
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 import("@instructure/ui-test-queries/src/utils/queries").find;
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 import("@instructure/ui-test-queries/src/utils/queries").find;
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 import("@instructure/ui-test-queries/src/utils/queries").find;
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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 IconButtonLocator: {
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":"IconButtonLocator.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButtonLocator.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,iBAAiB;;yBACL,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
+ {"version":3,"file":"IconButtonLocator.d.ts","sourceRoot":"","sources":["../../src/IconButton/IconButtonLocator.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAA;AAKnD,eAAO,MAAM,iBAAiB;;yBACL,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,15 +1,17 @@
1
1
  import React, { Component } from 'react';
2
+ import { BaseButton } from '../BaseButton';
2
3
  import type { IconButtonProps } from './props';
3
4
  /**
4
5
  ---
5
6
  category: components
6
7
  ---
8
+ @tsProps
7
9
  **/
8
10
  declare class IconButton extends Component<IconButtonProps> {
9
11
  static readonly componentId = "IconButton";
10
12
  static propTypes: import("@instructure/shared-types/types/UtilityTypes").PropValidators<keyof {
11
- children?: React.ReactNode | ((...args: any[]) => React.ReactNode);
12
- renderIcon?: React.ReactNode | ((...args: any[]) => any);
13
+ children?: React.ReactNode | (() => React.ReactNode);
14
+ renderIcon?: React.ReactNode | (() => React.ReactNode);
13
15
  screenReaderLabel: string;
14
16
  type?: "button" | "submit" | "reset" | undefined;
15
17
  size?: "small" | "medium" | "large" | undefined;
@@ -24,10 +26,11 @@ declare class IconButton extends Component<IconButtonProps> {
24
26
  margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
25
27
  cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
26
28
  href?: string | undefined;
29
+ 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;
27
30
  }>;
28
31
  static allowedProps: readonly (keyof {
29
- children?: React.ReactNode | ((...args: any[]) => React.ReactNode);
30
- renderIcon?: React.ReactNode | ((...args: any[]) => any);
32
+ children?: React.ReactNode | (() => React.ReactNode);
33
+ renderIcon?: React.ReactNode | (() => React.ReactNode);
31
34
  screenReaderLabel: string;
32
35
  type?: "button" | "submit" | "reset" | undefined;
33
36
  size?: "small" | "medium" | "large" | undefined;
@@ -42,13 +45,13 @@ declare class IconButton extends Component<IconButtonProps> {
42
45
  margin?: import("@instructure/emotion/types/styleUtils/ThemeablePropValues").Spacing | undefined;
43
46
  cursor?: import("@instructure/ui-prop-types/types/cursor").Cursor | undefined;
44
47
  href?: string | undefined;
48
+ 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;
45
49
  })[];
46
50
  static defaultProps: {
47
- children: null;
48
51
  type: string;
49
52
  size: string;
50
- elementRef: (el: any) => void;
51
53
  as: string;
54
+ interaction: undefined;
52
55
  color: string;
53
56
  shape: string;
54
57
  withBackground: boolean;
@@ -56,10 +59,10 @@ declare class IconButton extends Component<IconButtonProps> {
56
59
  margin: string;
57
60
  cursor: string;
58
61
  };
59
- _baseButton: null;
62
+ _baseButton: BaseButton | null;
60
63
  ref: Element | null;
61
64
  handleRef: (el: Element | null) => void;
62
- get focused(): null;
65
+ get focused(): boolean | null;
63
66
  focus(): void;
64
67
  render(): JSX.Element;
65
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/IconButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAYxC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;GAIG;AAGH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;;MAclB;IAED,WAAW,OAAO;IAElB,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,OAAO,SAGV;IAED,KAAK;IAKL,MAAM;CAkDP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/IconButton/index.tsx"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AASxC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C;;;;;GAKG;AAGH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;;OAAY;IAC5B,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,WAAW,EAAE,UAAU,GAAG,IAAI,CAAO;IAErC,GAAG,EAAE,OAAO,GAAG,IAAI,CAAO;IAE1B,SAAS,OAAQ,OAAO,GAAG,IAAI,UAQ9B;IAED,IAAI,OAAO,mBAEV;IAED,KAAK;IAIL,MAAM;CAiDP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,28 +1,84 @@
1
1
  import React from 'react';
2
2
  import type { Spacing, WithStyleProps } from '@instructure/emotion';
3
- import type { AsElementType, PropValidators, BaseButtonTheme, OtherHTMLAttributes } from '@instructure/shared-types';
3
+ import type { ToProp, AsElementType, PropValidators, BaseButtonTheme, OtherHTMLAttributes } from '@instructure/shared-types';
4
4
  import type { Cursor } from '@instructure/ui-prop-types';
5
+ import type { ViewProps } from '@instructure/ui-view';
5
6
  declare type IconButtonOwnProps = {
6
- children?: React.ReactNode | ((...args: any[]) => React.ReactNode);
7
- renderIcon?: React.ReactNode | ((...args: any[]) => any);
7
+ /**
8
+ * An icon, or function returning an icon (identical to the `renderIcon` prop).
9
+ */
10
+ children?: React.ReactNode | (() => React.ReactNode);
11
+ /**
12
+ * An icon, or function that returns an icon (identical to the `children` prop).
13
+ */
14
+ renderIcon?: React.ReactNode | (() => React.ReactNode);
15
+ /**
16
+ * An accessible label for the `IconButton`.
17
+ */
8
18
  screenReaderLabel: string;
19
+ /**
20
+ * Specifies the type of the `IconButton`'s underlying html element.
21
+ */
9
22
  type?: 'button' | 'submit' | 'reset';
23
+ /**
24
+ * The size of the `IconButton`
25
+ */
10
26
  size?: 'small' | 'medium' | 'large';
27
+ /**
28
+ * Provides a reference to the `IconButton`'s underlying html element.
29
+ */
11
30
  elementRef?: (element: Element | null) => void;
31
+ /**
32
+ * The element to render as the component root, `button` by default.
33
+ */
12
34
  as?: AsElementType;
35
+ /**
36
+ * Specifies if interaction with the `IconButton` is enabled, disabled, or readonly.
37
+ */
13
38
  interaction?: 'enabled' | 'disabled' | 'readonly';
39
+ /**
40
+ * Specifies the color for the `IconButton`.
41
+ */
14
42
  color?: 'primary' | 'primary-inverse' | 'secondary' | 'success' | 'danger';
43
+ /**
44
+ * Override the `Button`'s default focus outline color.
45
+ */
15
46
  focusColor?: 'info' | 'inverse';
47
+ /**
48
+ * Specifies if the `IconButton` shape should be a circle or rectangle.
49
+ */
16
50
  shape?: 'rectangle' | 'circle';
51
+ /**
52
+ * Specifies if the `IconButton` should render with a solid background. When false, the background is transparent.
53
+ */
17
54
  withBackground?: boolean;
55
+ /**
56
+ * Specifies if the `IconButton` should render with a border.
57
+ */
18
58
  withBorder?: boolean;
59
+ /**
60
+ * Valid values are `0`, `none`, `auto`, `xxx-small`, `xx-small`, `x-small`,
61
+ * `small`, `medium`, `large`, `x-large`, `xx-large`. Apply these values via
62
+ * familiar CSS-like shorthand. For example: `margin="small auto large"`.
63
+ */
19
64
  margin?: Spacing;
65
+ /**
66
+ * Specify a mouse cursor to use when hovering over the button.
67
+ * The `pointer` cursor is used by default.
68
+ */
20
69
  cursor?: Cursor;
70
+ /**
71
+ * Specifies an href attribute for the `IconButton`'s underlying html element.
72
+ */
21
73
  href?: string;
74
+ /**
75
+ * Callback fired when the `Button` is clicked.
76
+ */
77
+ onClick?: (event: React.KeyboardEvent<ViewProps> | React.MouseEvent<ViewProps>) => void;
22
78
  };
23
79
  declare type PropKeys = keyof IconButtonOwnProps;
24
80
  declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
25
- declare type IconButtonProps = IconButtonOwnProps & WithStyleProps<BaseButtonTheme, null> & OtherHTMLAttributes<IconButtonOwnProps>;
81
+ declare type IconButtonProps = IconButtonOwnProps & WithStyleProps<BaseButtonTheme, null> & OtherHTMLAttributes<IconButtonOwnProps> & ToProp;
26
82
  declare const propTypes: PropValidators<PropKeys>;
27
83
  declare const allowedProps: AllowedPropKeys;
28
84
  export type { IconButtonProps };
@@ -1 +1 @@
1
- {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/IconButton/props.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EACV,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAExD,aAAK,kBAAkB,GAAG;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;IAClE,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC,CAAA;IACxD,iBAAiB,EAAE,MAAM,CAAA;IACzB,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;IACpC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAA;IAC9C,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,CAAA;IACjD,KAAK,CAAC,EAAE,SAAS,GAAG,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;IAC1E,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAA;IAC9B,cAAc,CAAC,E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