@innovaccer/design-system 2.7.0-1 → 2.7.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 (47) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/core/accessibility/utils/useAccessibilityProps.ts +30 -6
  3. package/core/components/atoms/_chip/__tests__/__snapshots__/_chip.test.tsx.snap +8 -0
  4. package/core/components/atoms/avatarGroup/AvatarGroup.tsx +1 -0
  5. package/core/components/atoms/avatarGroup/__stories__/index.story.tsx +1 -1
  6. package/core/components/atoms/button/__tests__/__snapshots__/Button.test.tsx.snap +9 -0
  7. package/core/components/atoms/checkbox/__tests__/__snapshots__/Checkbox.test.tsx.snap +6 -0
  8. package/core/components/atoms/chipGroup/__tests__/__snapshots__/chipGroup.test.tsx.snap +4 -0
  9. package/core/components/atoms/dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +29 -0
  10. package/core/components/atoms/input/__tests__/__snapshots__/Input.test.tsx.snap +5 -0
  11. package/core/components/atoms/message/__tests__/__snapshots__/Message.test.tsx.snap +4 -0
  12. package/core/components/atoms/metaList/__tests__/__snapshots__/MetaList.test.tsx.snap +296 -0
  13. package/core/components/atoms/metricInput/__tests__/__snapshots__/MetricInput.test.tsx.snap +2 -0
  14. package/core/components/atoms/multiSlider/Handle.tsx +1 -0
  15. package/core/components/atoms/toast/__tests__/__snapshots__/Toast.test.tsx.snap +12 -0
  16. package/core/components/molecules/dialog/__tests__/__snapshots__/Dialog.test.tsx.snap +13 -0
  17. package/core/components/molecules/dropzone/Dropzone.tsx +16 -9
  18. package/core/components/molecules/dropzone/__stories__/index.story.tsx +15 -1
  19. package/core/components/molecules/dropzone/__tests__/__snapshots__/Dropzone.test.tsx.snap +68 -70
  20. package/core/components/molecules/editableDropdown/__tests__/__snapshots__/EditableDropdown.test.tsx.snap +1 -0
  21. package/core/components/molecules/fileList/__tests__/__snapshots__/FileList.test.tsx.snap +5 -0
  22. package/core/components/molecules/fileUploader/__tests__/__snapshots__/FileUploader.test.tsx.snap +6 -0
  23. package/core/components/molecules/fileUploader/__tests__/__snapshots__/FileUploaderList.test.tsx.snap +5 -0
  24. package/core/components/molecules/fullscreenModal/__tests__/__snapshots__/Fullscreen.test.tsx.snap +6 -0
  25. package/core/components/molecules/modal/__tests__/__snapshots__/Modal.test.tsx.snap +30 -0
  26. package/core/components/molecules/overlayHeader/__tests__/__snapshots__/OverlayHeader.test.tsx.snap +1 -0
  27. package/core/components/molecules/pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +8 -0
  28. package/core/components/molecules/sidesheet/__tests__/__snapshots__/Sidesheet.test.tsx.snap +2 -0
  29. package/core/components/molecules/stepper/__tests__/__snapshots__/Stepper.test.tsx.snap +4 -0
  30. package/core/components/molecules/tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +2 -0
  31. package/core/components/organisms/calendar/__tests__/__snapshots__/Calendar.test.tsx.snap +98 -0
  32. package/core/components/organisms/datePicker/__tests__/__snapshots__/DatePicker.test.tsx.snap +34 -0
  33. package/core/components/organisms/dateRangePicker/__tests__/__snapshots__/DateRangePicker.test.tsx.snap +606 -0
  34. package/core/components/organisms/horizontalNav/__tests__/__snapshots__/HorizontalNav.test.tsx.snap +1 -0
  35. package/core/components/organisms/inlineMessage/__tests__/__snapshots__/InlineMessage.test.tsx.snap +4 -0
  36. package/core/components/organisms/navigation/__tests__/__snapshots__/Navigation.test.tsx.snap +2 -0
  37. package/core/components/organisms/table/__tests__/__snapshots__/Table.test.tsx.snap +1800 -0
  38. package/core/components/organisms/verticalNav/__tests__/__snapshots__/VerticalNav.test.tsx.snap +14 -0
  39. package/core/utils/__tests__/__snapshots__/TS.test.tsx.snap +19 -0
  40. package/dist/core/accessibility/utils/useAccessibilityProps.d.ts +4 -3
  41. package/dist/index.esm.js +40 -18
  42. package/dist/index.js +39 -17
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.umd.js +1 -1
  45. package/dist/index.umd.js.br +0 -0
  46. package/dist/index.umd.js.gz +0 -0
  47. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
 
2
- ## 2.7.0 (2021-12-20)
2
+
3
+
4
+
5
+ ## 2.7.0 (2021-12-23)
3
6
  ### Highlights
4
7
 
5
8
  ### Breaking changes
@@ -17,12 +20,20 @@ NA
17
20
 
18
21
  ### Features
19
22
  * Option to use custom search placeholder in Dropdown search input (9fcb2b65)
23
+ * Adds keyboard interactions in Dropzone component. (8541a26d)
24
+ * Adds subinfo option when checkbox is true Dropdown (96a581a3)
25
+ * Adds transition to switch component (f8cbba79)
26
+ * Transition in sidesheet component added (8c61ef05)
20
27
 
21
28
  ### Fixes
22
29
  * fix: updates docpage for stories without components exported (d5138109)
23
30
  * fix(storybook): update package json file to fix storybook docs page (149f8ec8)
24
31
  * fix(InputMask): fixes issue with fast input (4d1f8330)
25
32
  * fix(switch): add styling for hover and active state (3a54a934)
33
+ * Button re-rendering issue is fixed, which was sometimes causing button to be clicked twice. (6b46d66f)
34
+ * FileList truncates long file names now. (0c2a07b6)
35
+ * Breadcrumbs separator color updated. (5b88f5c5)
36
+ * Fixed loader issue when Table has nested rows. (f41f7f96)
26
37
 
27
38
  ### Improvements
28
39
  * Added transitions to fullscreenModal component (98cac857)
@@ -31,6 +42,9 @@ NA
31
42
  ### Documentation
32
43
  * Example for custom header in sidesheet added (edc300cc)
33
44
  * Input examples (stories) are interactive now (ead16746)
45
+ * add npm ci command to use package.lock freezed versions on CI environments on github actions (621d0934)
46
+ * updates versions of dev dependencies for security issues (3c3d5288)
47
+ * adds manual release workflow (e31559d3)
34
48
 
35
49
 
36
50
  -------------------
@@ -1,19 +1,39 @@
1
1
  import * as React from 'react';
2
- import { isEnterKey } from '@/accessibility/utils';
2
+
3
+ type AriaRoleType = React.AriaRole;
4
+ type KeyboardEventKeyType = KeyboardEvent['key'];
3
5
 
4
6
  interface IProps {
5
7
  onClick?: (event: React.MouseEvent<HTMLElement>) => void;
6
8
  onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
7
- role?: React.AriaRole;
9
+ role?: AriaRoleType;
8
10
  'aria-label'?: React.AriaAttributes['aria-label'];
9
11
  }
10
12
 
11
- const useAccessibilityProps = ({ onClick, onKeyDown, role, ...rest }: IProps) => {
13
+ const allowed: Record<string, Set<KeyboardEventKeyType>> = {
14
+ button: new Set(['Enter', 'Space', 'Spacebar', ' ']),
15
+ link: new Set(['Enter']),
16
+ // onChange handles everything, no need for extra keyboard interaction
17
+ checkbox: new Set([]),
18
+ radio: new Set([]),
19
+ };
20
+
21
+ // Refer for keyboard interactions: https://webaim.org/techniques/keyboard/#testing
22
+ const isKeyboardInteractionAllowed = (role: AriaRoleType, key: KeyboardEventKeyType) => {
23
+ if (!allowed[role]) {
24
+ return false;
25
+ }
26
+
27
+ const allowedKeys = allowed[role];
28
+ return allowedKeys.has(key);
29
+ };
30
+
31
+ const useAccessibilityProps = ({ onClick, onKeyDown, role = 'button', ...rest }: IProps) => {
12
32
  return {
13
33
  ...(onClick
14
34
  ? {
15
35
  onClick: onClick,
16
- role: role || 'button',
36
+ role: role,
17
37
  tabIndex: 0,
18
38
  'aria-label': rest['aria-label'],
19
39
  onKeyDown: (e: React.SyntheticEvent<HTMLElement>) => {
@@ -21,8 +41,12 @@ const useAccessibilityProps = ({ onClick, onKeyDown, role, ...rest }: IProps) =>
21
41
  onKeyDown(e as React.KeyboardEvent<HTMLElement>);
22
42
  return;
23
43
  }
24
- if (isEnterKey(e as React.KeyboardEvent<HTMLElement>) && onClick) {
25
- onClick(e as React.MouseEvent<HTMLElement>);
44
+ const key = (e as React.KeyboardEvent<HTMLElement>).key;
45
+ if (isKeyboardInteractionAllowed(role, key)) {
46
+ if (onClick) {
47
+ e.preventDefault();
48
+ onClick(e as React.MouseEvent<HTMLElement>);
49
+ }
26
50
  }
27
51
  },
28
52
  }
@@ -12,6 +12,7 @@ exports[`Chip component
12
12
  <i
13
13
  class="material-icons material-icons-round Icon Icon--default Chip-icon Chip-icon--left"
14
14
  data-test="DesignSystem-GenericChip--Icon"
15
+ role="button"
15
16
  style="font-size: 16px; width: 16px;"
16
17
  >
17
18
  events_round
@@ -39,6 +40,7 @@ exports[`Chip component
39
40
  <i
40
41
  class="material-icons material-icons-round Icon Icon--info Chip-icon Chip-icon--left"
41
42
  data-test="DesignSystem-GenericChip--Icon"
43
+ role="button"
42
44
  style="font-size: 16px; width: 16px;"
43
45
  >
44
46
  events_round
@@ -66,6 +68,7 @@ exports[`Chip component
66
68
  <i
67
69
  class="material-icons material-icons-round Icon Icon--disabled Chip-icon Chip-icon--left"
68
70
  data-test="DesignSystem-GenericChip--Icon"
71
+ role="button"
69
72
  style="font-size: 16px; width: 16px;"
70
73
  >
71
74
  events_round
@@ -93,6 +96,7 @@ exports[`Chip component
93
96
  <i
94
97
  class="material-icons material-icons-round Icon Icon--info Chip-icon Chip-icon--left"
95
98
  data-test="DesignSystem-GenericChip--Icon"
99
+ role="button"
96
100
  style="font-size: 16px; width: 16px;"
97
101
  >
98
102
  events_round
@@ -120,6 +124,7 @@ exports[`Chip component
120
124
  <i
121
125
  class="material-icons material-icons-round Icon Chip-icon Chip-icon--left"
122
126
  data-test="DesignSystem-GenericChip--Icon"
127
+ role="button"
123
128
  style="font-size: 16px; width: 16px;"
124
129
  >
125
130
  events_round
@@ -156,6 +161,7 @@ exports[`Chip component
156
161
  <i
157
162
  class="material-icons material-icons-round Icon Icon--info Chip-icon Chip-icon--left"
158
163
  data-test="DesignSystem-GenericChip--Icon"
164
+ role="button"
159
165
  style="font-size: 16px; width: 16px;"
160
166
  >
161
167
  events_round
@@ -192,6 +198,7 @@ exports[`Chip component
192
198
  <i
193
199
  class="material-icons material-icons-round Icon Icon--disabled Chip-icon Chip-icon--left"
194
200
  data-test="DesignSystem-GenericChip--Icon"
201
+ role="button"
195
202
  style="font-size: 16px; width: 16px;"
196
203
  >
197
204
  events_round
@@ -228,6 +235,7 @@ exports[`Chip component
228
235
  <i
229
236
  class="material-icons material-icons-round Icon Icon--info Chip-icon Chip-icon--left"
230
237
  data-test="DesignSystem-GenericChip--Icon"
238
+ role="button"
231
239
  style="font-size: 16px; width: 16px;"
232
240
  >
233
241
  events_round
@@ -178,6 +178,7 @@ export const AvatarGroup = (props: AvatarGroupProps) => {
178
178
  position={position}
179
179
  appendToBody={appendToBody}
180
180
  className={popperClass}
181
+ offset="medium"
181
182
  >
182
183
  {renderPopper()}
183
184
  </Popover>
@@ -7,7 +7,7 @@ export const all = () => {
7
7
  const position = select(
8
8
  'position',
9
9
  ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end'],
10
- 'bottom'
10
+ 'bottom-end'
11
11
  );
12
12
 
13
13
  const on = select('on', ['click', 'hover'], 'hover');
@@ -440,6 +440,7 @@ exports[`Button component
440
440
  <i
441
441
  class="material-icons material-icons-round Icon Icon--default"
442
442
  data-test="DesignSystem-Button--Icon"
443
+ role="button"
443
444
  style="font-size: 20px; width: 20px;"
444
445
  >
445
446
  events_round
@@ -467,6 +468,7 @@ exports[`Button component
467
468
  <i
468
469
  class="material-icons material-icons-round Icon Icon--default"
469
470
  data-test="DesignSystem-Button--Icon"
471
+ role="button"
470
472
  style="font-size: 20px; width: 20px;"
471
473
  >
472
474
  events_round
@@ -494,6 +496,7 @@ exports[`Button component
494
496
  <i
495
497
  class="material-icons material-icons-round Icon Icon--default"
496
498
  data-test="DesignSystem-Button--Icon"
499
+ role="button"
497
500
  style="font-size: 20px; width: 20px;"
498
501
  >
499
502
  events_round
@@ -537,6 +540,7 @@ exports[`Button component
537
540
  <i
538
541
  class="material-icons material-icons-round Icon Icon--default"
539
542
  data-test="DesignSystem-Button--Icon"
543
+ role="button"
540
544
  style="font-size: 16px; width: 16px;"
541
545
  >
542
546
  events_round
@@ -564,6 +568,7 @@ exports[`Button component
564
568
  <i
565
569
  class="material-icons material-icons-round Icon Icon--default"
566
570
  data-test="DesignSystem-Button--Icon"
571
+ role="button"
567
572
  style="font-size: 16px; width: 16px;"
568
573
  >
569
574
  events_round
@@ -591,6 +596,7 @@ exports[`Button component
591
596
  <i
592
597
  class="material-icons material-icons-round Icon Icon--default"
593
598
  data-test="DesignSystem-Button--Icon"
599
+ role="button"
594
600
  style="font-size: 16px; width: 16px;"
595
601
  >
596
602
  events_round
@@ -634,6 +640,7 @@ exports[`Button component
634
640
  <i
635
641
  class="material-icons material-icons-round Icon Icon--default"
636
642
  data-test="DesignSystem-Button--Icon"
643
+ role="button"
637
644
  style="font-size: 12px; width: 12px;"
638
645
  >
639
646
  events_round
@@ -661,6 +668,7 @@ exports[`Button component
661
668
  <i
662
669
  class="material-icons material-icons-round Icon Icon--default"
663
670
  data-test="DesignSystem-Button--Icon"
671
+ role="button"
664
672
  style="font-size: 12px; width: 12px;"
665
673
  >
666
674
  events_round
@@ -688,6 +696,7 @@ exports[`Button component
688
696
  <i
689
697
  class="material-icons material-icons-round Icon Icon--default"
690
698
  data-test="DesignSystem-Button--Icon"
699
+ role="button"
691
700
  style="font-size: 12px; width: 12px;"
692
701
  >
693
702
  events_round
@@ -138,6 +138,7 @@ exports[`Checkbox component
138
138
  >
139
139
  <i
140
140
  class="material-icons material-icons-round Icon Icon--white"
141
+ role="button"
141
142
  style="font-size: 16px; width: 16px;"
142
143
  >
143
144
  check_round
@@ -201,6 +202,7 @@ exports[`Checkbox component
201
202
  >
202
203
  <i
203
204
  class="material-icons material-icons-round Icon Icon--white"
205
+ role="button"
204
206
  style="font-size: 16px; width: 16px;"
205
207
  >
206
208
  check_round
@@ -262,6 +264,7 @@ exports[`Checkbox component
262
264
  >
263
265
  <i
264
266
  class="material-icons material-icons-round Icon Icon--white"
267
+ role="button"
265
268
  style="font-size: 16px; width: 16px;"
266
269
  >
267
270
  remove_round
@@ -324,6 +327,7 @@ exports[`Checkbox component
324
327
  >
325
328
  <i
326
329
  class="material-icons material-icons-round Icon Icon--white"
330
+ role="button"
327
331
  style="font-size: 16px; width: 16px;"
328
332
  >
329
333
  remove_round
@@ -386,6 +390,7 @@ exports[`Checkbox component
386
390
  >
387
391
  <i
388
392
  class="material-icons material-icons-round Icon Icon--white"
393
+ role="button"
389
394
  style="font-size: 16px; width: 16px;"
390
395
  >
391
396
  check_round
@@ -448,6 +453,7 @@ exports[`Checkbox component
448
453
  >
449
454
  <i
450
455
  class="material-icons material-icons-round Icon Icon--white"
456
+ role="button"
451
457
  style="font-size: 12px; width: 12px;"
452
458
  >
453
459
  check_round
@@ -19,6 +19,7 @@ exports[`ChipGroup component
19
19
  <i
20
20
  class="material-icons material-icons-round Icon Icon--default Chip-icon Chip-icon--left"
21
21
  data-test="DesignSystem-GenericChip--Icon"
22
+ role="button"
22
23
  style="font-size: 16px; width: 16px;"
23
24
  >
24
25
  assessment_round
@@ -41,6 +42,7 @@ exports[`ChipGroup component
41
42
  <i
42
43
  class="material-icons material-icons-round Icon Chip-icon Chip-icon--left"
43
44
  data-test="DesignSystem-GenericChip--Icon"
45
+ role="button"
44
46
  style="font-size: 16px; width: 16px;"
45
47
  >
46
48
  assessment_round
@@ -72,6 +74,7 @@ exports[`ChipGroup component
72
74
  <i
73
75
  class="material-icons material-icons-round Icon Icon--info Chip-icon Chip-icon--left"
74
76
  data-test="DesignSystem-GenericChip--Icon"
77
+ role="button"
75
78
  style="font-size: 16px; width: 16px;"
76
79
  >
77
80
  assessment_round
@@ -103,6 +106,7 @@ exports[`ChipGroup component
103
106
  <i
104
107
  class="material-icons material-icons-round Icon Chip-icon Chip-icon--left"
105
108
  data-test="DesignSystem-GenericChip--Icon"
109
+ role="button"
106
110
  style="font-size: 16px; width: 16px;"
107
111
  >
108
112
  assessment_round
@@ -29,6 +29,7 @@ exports[`Dropdown component
29
29
  </div>
30
30
  <i
31
31
  class="material-icons material-icons-round Icon Icon--default"
32
+ role="button"
32
33
  style="font-size: 16px; width: 16px;"
33
34
  >
34
35
  keyboard_arrow_down_round
@@ -69,6 +70,7 @@ exports[`Dropdown component
69
70
  </div>
70
71
  <i
71
72
  class="material-icons material-icons-round Icon Icon--default"
73
+ role="button"
72
74
  style="font-size: 16px; width: 16px;"
73
75
  >
74
76
  keyboard_arrow_down_round
@@ -109,6 +111,7 @@ exports[`Dropdown component
109
111
  </div>
110
112
  <i
111
113
  class="material-icons material-icons-round Icon Icon--default"
114
+ role="button"
112
115
  style="font-size: 16px; width: 16px;"
113
116
  >
114
117
  keyboard_arrow_down_round
@@ -149,6 +152,7 @@ exports[`Dropdown component
149
152
  </div>
150
153
  <i
151
154
  class="material-icons material-icons-round Icon Icon--default"
155
+ role="button"
152
156
  style="font-size: 16px; width: 16px;"
153
157
  >
154
158
  keyboard_arrow_down_round
@@ -183,6 +187,7 @@ exports[`Dropdown component
183
187
  >
184
188
  <i
185
189
  class="material-icons material-icons-round Icon Icon--default d-flex align-items-center mr-4"
190
+ role="button"
186
191
  style="font-size: 16px; width: 16px;"
187
192
  >
188
193
  events_round
@@ -195,6 +200,7 @@ exports[`Dropdown component
195
200
  </div>
196
201
  <i
197
202
  class="material-icons material-icons-round Icon Icon--default"
203
+ role="button"
198
204
  style="font-size: 16px; width: 16px;"
199
205
  >
200
206
  keyboard_arrow_down_round
@@ -241,6 +247,7 @@ exports[`Dropdown component
241
247
  </div>
242
248
  <i
243
249
  class="material-icons material-icons-round Icon Icon--default"
250
+ role="button"
244
251
  style="font-size: 16px; width: 16px;"
245
252
  >
246
253
  keyboard_arrow_down_round
@@ -281,6 +288,7 @@ exports[`Dropdown component
281
288
  </div>
282
289
  <i
283
290
  class="material-icons material-icons-round Icon Icon--default"
291
+ role="button"
284
292
  style="font-size: 16px; width: 16px;"
285
293
  >
286
294
  keyboard_arrow_down_round
@@ -316,6 +324,7 @@ exports[`Dropdown component
316
324
  >
317
325
  <i
318
326
  class="material-icons material-icons-round Icon Icon--disabled d-flex align-items-center mr-4"
327
+ role="button"
319
328
  style="font-size: 16px; width: 16px;"
320
329
  >
321
330
  events_round
@@ -328,6 +337,7 @@ exports[`Dropdown component
328
337
  </div>
329
338
  <i
330
339
  class="material-icons material-icons-round Icon Icon--disabled"
340
+ role="button"
331
341
  style="font-size: 16px; width: 16px;"
332
342
  >
333
343
  keyboard_arrow_down_round
@@ -375,6 +385,7 @@ exports[`Dropdown component
375
385
  </div>
376
386
  <i
377
387
  class="material-icons material-icons-round Icon Icon--disabled"
388
+ role="button"
378
389
  style="font-size: 16px; width: 16px;"
379
390
  >
380
391
  keyboard_arrow_down_round
@@ -416,6 +427,7 @@ exports[`Dropdown component
416
427
  </div>
417
428
  <i
418
429
  class="material-icons material-icons-round Icon Icon--disabled"
430
+ role="button"
419
431
  style="font-size: 16px; width: 16px;"
420
432
  >
421
433
  keyboard_arrow_down_round
@@ -456,6 +468,7 @@ exports[`Dropdown component
456
468
  </div>
457
469
  <i
458
470
  class="material-icons material-icons-round Icon Icon--default"
471
+ role="button"
459
472
  style="font-size: 16px; width: 16px;"
460
473
  >
461
474
  keyboard_arrow_down_round
@@ -496,6 +509,7 @@ exports[`Dropdown component
496
509
  </div>
497
510
  <i
498
511
  class="material-icons material-icons-round Icon Icon--default"
512
+ role="button"
499
513
  style="font-size: 16px; width: 16px;"
500
514
  >
501
515
  keyboard_arrow_down_round
@@ -536,6 +550,7 @@ exports[`Dropdown component
536
550
  </div>
537
551
  <i
538
552
  class="material-icons material-icons-round Icon Icon--default"
553
+ role="button"
539
554
  style="font-size: 16px; width: 16px;"
540
555
  >
541
556
  keyboard_arrow_down_round
@@ -576,6 +591,7 @@ exports[`Dropdown component
576
591
  </div>
577
592
  <i
578
593
  class="material-icons material-icons-round Icon Icon--default"
594
+ role="button"
579
595
  style="font-size: 16px; width: 16px;"
580
596
  >
581
597
  keyboard_arrow_down_round
@@ -616,6 +632,7 @@ exports[`Dropdown component
616
632
  </div>
617
633
  <i
618
634
  class="material-icons material-icons-round Icon Icon--default"
635
+ role="button"
619
636
  style="font-size: 16px; width: 16px;"
620
637
  >
621
638
  keyboard_arrow_down_round
@@ -647,6 +664,7 @@ exports[`Dropdown component
647
664
  >
648
665
  <i
649
666
  class="material-icons material-icons-round Icon Icon--default"
667
+ role="button"
650
668
  style="font-size: 16px; width: 16px;"
651
669
  >
652
670
  more_horiz_round
@@ -687,6 +705,7 @@ exports[`Dropdown component
687
705
  </div>
688
706
  <i
689
707
  class="material-icons material-icons-round Icon Icon--default"
708
+ role="button"
690
709
  style="font-size: 16px; width: 16px;"
691
710
  >
692
711
  keyboard_arrow_down_round
@@ -727,6 +746,7 @@ exports[`Dropdown component
727
746
  </div>
728
747
  <i
729
748
  class="material-icons material-icons-round Icon Icon--default"
749
+ role="button"
730
750
  style="font-size: 16px; width: 16px;"
731
751
  >
732
752
  keyboard_arrow_down_round
@@ -767,6 +787,7 @@ exports[`Dropdown component
767
787
  </div>
768
788
  <i
769
789
  class="material-icons material-icons-round Icon Icon--default"
790
+ role="button"
770
791
  style="font-size: 16px; width: 16px;"
771
792
  >
772
793
  keyboard_arrow_down_round
@@ -807,6 +828,7 @@ exports[`Dropdown component
807
828
  </div>
808
829
  <i
809
830
  class="material-icons material-icons-round Icon Icon--default"
831
+ role="button"
810
832
  style="font-size: 16px; width: 16px;"
811
833
  >
812
834
  keyboard_arrow_down_round
@@ -847,6 +869,7 @@ exports[`Dropdown component
847
869
  </div>
848
870
  <i
849
871
  class="material-icons material-icons-round Icon Icon--default"
872
+ role="button"
850
873
  style="font-size: 16px; width: 16px;"
851
874
  >
852
875
  keyboard_arrow_down_round
@@ -887,6 +910,7 @@ exports[`Dropdown component
887
910
  </div>
888
911
  <i
889
912
  class="material-icons material-icons-round Icon Icon--default"
913
+ role="button"
890
914
  style="font-size: 16px; width: 16px;"
891
915
  >
892
916
  keyboard_arrow_down_round
@@ -927,6 +951,7 @@ exports[`Dropdown component
927
951
  </div>
928
952
  <i
929
953
  class="material-icons material-icons-round Icon Icon--default"
954
+ role="button"
930
955
  style="font-size: 16px; width: 16px;"
931
956
  >
932
957
  keyboard_arrow_down_round
@@ -967,6 +992,7 @@ exports[`Dropdown component
967
992
  </div>
968
993
  <i
969
994
  class="material-icons material-icons-round Icon Icon--default"
995
+ role="button"
970
996
  style="font-size: 16px; width: 16px;"
971
997
  >
972
998
  keyboard_arrow_down_round
@@ -1007,6 +1033,7 @@ exports[`Dropdown component
1007
1033
  </div>
1008
1034
  <i
1009
1035
  class="material-icons material-icons-round Icon Icon--default"
1036
+ role="button"
1010
1037
  style="font-size: 16px; width: 16px;"
1011
1038
  >
1012
1039
  keyboard_arrow_down_round
@@ -1047,6 +1074,7 @@ exports[`Dropdown component
1047
1074
  </div>
1048
1075
  <i
1049
1076
  class="material-icons material-icons-round Icon Icon--default"
1077
+ role="button"
1050
1078
  style="font-size: 16px; width: 16px;"
1051
1079
  >
1052
1080
  keyboard_arrow_down_round
@@ -1087,6 +1115,7 @@ exports[`Dropdown component
1087
1115
  </div>
1088
1116
  <i
1089
1117
  class="material-icons material-icons-round Icon Icon--default"
1118
+ role="button"
1090
1119
  style="font-size: 16px; width: 16px;"
1091
1120
  >
1092
1121
  keyboard_arrow_down_round
@@ -40,6 +40,7 @@ exports[`Input component
40
40
  >
41
41
  <i
42
42
  class="material-icons material-icons-round Icon"
43
+ role="button"
43
44
  style="font-size: 16px; width: 16px;"
44
45
  >
45
46
  events_round
@@ -98,6 +99,7 @@ exports[`Input component
98
99
  >
99
100
  <i
100
101
  class="material-icons material-icons-round Icon"
102
+ role="button"
101
103
  style="font-size: 16px; width: 16px;"
102
104
  >
103
105
  events_round
@@ -390,6 +392,7 @@ exports[`Input component
390
392
  >
391
393
  <i
392
394
  class="material-icons material-icons-round Icon"
395
+ role="button"
393
396
  style="font-size: 16px; width: 16px;"
394
397
  >
395
398
  events_round
@@ -450,6 +453,7 @@ exports[`Input component
450
453
  >
451
454
  <i
452
455
  class="material-icons material-icons-round Icon"
456
+ role="button"
453
457
  style="font-size: 16px; width: 16px;"
454
458
  >
455
459
  events_round
@@ -508,6 +512,7 @@ exports[`Input component
508
512
  >
509
513
  <i
510
514
  class="material-icons material-icons-round Icon"
515
+ role="button"
511
516
  style="font-size: 16px; width: 16px;"
512
517
  >
513
518
  events_round
@@ -12,6 +12,7 @@ exports[`Message component
12
12
  <i
13
13
  class="material-icons material-icons-round Icon Icon--alert Message-icon Message-icon--alert Message-icon--withTitle"
14
14
  data-test="DesignSystem-Message--Icon"
15
+ role="button"
15
16
  style="font-size: 16px; width: 16px;"
16
17
  >
17
18
  error_round
@@ -64,6 +65,7 @@ exports[`Message component
64
65
  <i
65
66
  class="material-icons material-icons-round Icon Icon--info Message-icon Message-icon--info Message-icon--withTitle"
66
67
  data-test="DesignSystem-Message--Icon"
68
+ role="button"
67
69
  style="font-size: 16px; width: 16px;"
68
70
  >
69
71
  info_round
@@ -116,6 +118,7 @@ exports[`Message component
116
118
  <i
117
119
  class="material-icons material-icons-round Icon Icon--success Message-icon Message-icon--success Message-icon--withTitle"
118
120
  data-test="DesignSystem-Message--Icon"
121
+ role="button"
119
122
  style="font-size: 16px; width: 16px;"
120
123
  >
121
124
  check_circle_round
@@ -168,6 +171,7 @@ exports[`Message component
168
171
  <i
169
172
  class="material-icons material-icons-round Icon Icon--warning Message-icon Message-icon--warning Message-icon--withTitle"
170
173
  data-test="DesignSystem-Message--Icon"
174
+ role="button"
171
175
  style="font-size: 16px; width: 16px;"
172
176
  >
173
177
  warning_round