@zohodesk/components 1.0.0-temp-259.2 → 1.0.0-temp-259.3

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.
@@ -1,13 +1,543 @@
1
- // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Button - Component Should apply a11yAttributes to the button 1`] = `
3
+ exports[`Button Presets Should render preset BLACK_TEXT_BRAND_ONHOVER 1`] = `
4
+ <DocumentFragment>
5
+ <button
6
+ aria-busy="false"
7
+ aria-pressed="false"
8
+ class="buttonReset button text-black hover:text-brand-80 focus:text-brand-80 active:text-brand-80 border-transparent sizeMedium shapeRoundedRectangle variantText"
9
+ type="button"
10
+ >
11
+ <div
12
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
13
+ data-id="flex"
14
+ data-test-id="flex"
15
+ >
16
+ <div
17
+ class="dotted size13"
18
+ >
19
+ Button
20
+ </div>
21
+ </div>
22
+ </button>
23
+ </DocumentFragment>
24
+ `;
25
+
26
+ exports[`Button Presets Should render preset BLACK_TEXT_BRAND_ONHOVER in selected state 1`] = `
27
+ <DocumentFragment>
28
+ <button
29
+ aria-busy="false"
30
+ aria-pressed="true"
31
+ class="buttonReset button selected:text-brand-80 border-transparent sizeMedium shapeRoundedRectangle variantText"
32
+ type="button"
33
+ >
34
+ <div
35
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
36
+ data-id="flex"
37
+ data-test-id="flex"
38
+ >
39
+ <div
40
+ class="dotted size13"
41
+ >
42
+ Button
43
+ </div>
44
+ </div>
45
+ </button>
46
+ </DocumentFragment>
47
+ `;
48
+
49
+ exports[`Button Presets Should render preset BRAND_BG_ONSELECT 1`] = `
50
+ <DocumentFragment>
51
+ <button
52
+ aria-busy="false"
53
+ aria-pressed="false"
54
+ class="buttonReset button text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
55
+ type="button"
56
+ >
57
+ <div
58
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
59
+ data-id="flex"
60
+ data-test-id="flex"
61
+ >
62
+ <div
63
+ class="dotted size13"
64
+ >
65
+ Button
66
+ </div>
67
+ </div>
68
+ </button>
69
+ </DocumentFragment>
70
+ `;
71
+
72
+ exports[`Button Presets Should render preset BRAND_BG_ONSELECT in selected state 1`] = `
73
+ <DocumentFragment>
74
+ <button
75
+ aria-busy="false"
76
+ aria-pressed="true"
77
+ class="buttonReset button selected:bg-brand-80 selected:text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText"
78
+ type="button"
79
+ >
80
+ <div
81
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
82
+ data-id="flex"
83
+ data-test-id="flex"
84
+ >
85
+ <div
86
+ class="dotted size13"
87
+ >
88
+ Button
89
+ </div>
90
+ </div>
91
+ </button>
92
+ </DocumentFragment>
93
+ `;
94
+
95
+ exports[`Button Presets Should render preset BRAND_GHOST 1`] = `
96
+ <DocumentFragment>
97
+ <button
98
+ aria-busy="false"
99
+ aria-pressed="false"
100
+ class="buttonReset button text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
101
+ type="button"
102
+ >
103
+ <div
104
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
105
+ data-id="flex"
106
+ data-test-id="flex"
107
+ >
108
+ <div
109
+ class="dotted size13"
110
+ >
111
+ Button
112
+ </div>
113
+ </div>
114
+ </button>
115
+ </DocumentFragment>
116
+ `;
117
+
118
+ exports[`Button Presets Should render preset BRAND_GHOST in selected state 1`] = `
119
+ <DocumentFragment>
120
+ <button
121
+ aria-busy="false"
122
+ aria-pressed="true"
123
+ class="buttonReset button selected:text-brand-80 selected:border-brand-80 sizeMedium shapeRoundedRectangle variantText"
124
+ type="button"
125
+ >
126
+ <div
127
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
128
+ data-id="flex"
129
+ data-test-id="flex"
130
+ >
131
+ <div
132
+ class="dotted size13"
133
+ >
134
+ Button
135
+ </div>
136
+ </div>
137
+ </button>
138
+ </DocumentFragment>
139
+ `;
140
+
141
+ exports[`Button Presets Should render preset BRAND_TEXT_ONLY 1`] = `
142
+ <DocumentFragment>
143
+ <button
144
+ aria-busy="false"
145
+ aria-pressed="false"
146
+ class="buttonReset button text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
147
+ type="button"
148
+ >
149
+ <div
150
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
151
+ data-id="flex"
152
+ data-test-id="flex"
153
+ >
154
+ <div
155
+ class="dotted size13"
156
+ >
157
+ Button
158
+ </div>
159
+ </div>
160
+ </button>
161
+ </DocumentFragment>
162
+ `;
163
+
164
+ exports[`Button Presets Should render preset BRAND_TEXT_ONLY in selected state 1`] = `
165
+ <DocumentFragment>
166
+ <button
167
+ aria-busy="false"
168
+ aria-pressed="true"
169
+ class="buttonReset button selected:text-brand-80 border-transparent sizeMedium shapeRoundedRectangle variantText"
170
+ type="button"
171
+ >
172
+ <div
173
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
174
+ data-id="flex"
175
+ data-test-id="flex"
176
+ >
177
+ <div
178
+ class="dotted size13"
179
+ >
180
+ Button
181
+ </div>
182
+ </div>
183
+ </button>
184
+ </DocumentFragment>
185
+ `;
186
+
187
+ exports[`Button Presets Should render preset BRAND_TEXT_TINTED_DANGER_HOVER 1`] = `
188
+ <DocumentFragment>
189
+ <button
190
+ aria-busy="false"
191
+ aria-pressed="false"
192
+ class="buttonReset button hover:bg-red-10 focus:bg-red-10 active:bg-red-10 text-brand-80 hover:text-red-70 focus:text-red-70 active:text-red-70 border-transparent sizeMedium shapeRoundedRectangle variantText"
193
+ type="button"
194
+ >
195
+ <div
196
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
197
+ data-id="flex"
198
+ data-test-id="flex"
199
+ >
200
+ <div
201
+ class="dotted size13"
202
+ >
203
+ Button
204
+ </div>
205
+ </div>
206
+ </button>
207
+ </DocumentFragment>
208
+ `;
209
+
210
+ exports[`Button Presets Should render preset BRAND_TEXT_TINTED_DANGER_HOVER in selected state 1`] = `
211
+ <DocumentFragment>
212
+ <button
213
+ aria-busy="false"
214
+ aria-pressed="true"
215
+ class="buttonReset button selected:bg-red-10 selected:text-red-70 selected:border-red-30 sizeMedium shapeRoundedRectangle variantText"
216
+ type="button"
217
+ >
218
+ <div
219
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
220
+ data-id="flex"
221
+ data-test-id="flex"
222
+ >
223
+ <div
224
+ class="dotted size13"
225
+ >
226
+ Button
227
+ </div>
228
+ </div>
229
+ </button>
230
+ </DocumentFragment>
231
+ `;
232
+
233
+ exports[`Button Presets Should render preset BRAND_TEXT_TINTED_HOVER 1`] = `
234
+ <DocumentFragment>
235
+ <button
236
+ aria-busy="false"
237
+ aria-pressed="false"
238
+ class="buttonReset button hover:bg-brand-10 focus:bg-brand-10 active:bg-brand-10 text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
239
+ type="button"
240
+ >
241
+ <div
242
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
243
+ data-id="flex"
244
+ data-test-id="flex"
245
+ >
246
+ <div
247
+ class="dotted size13"
248
+ >
249
+ Button
250
+ </div>
251
+ </div>
252
+ </button>
253
+ </DocumentFragment>
254
+ `;
255
+
256
+ exports[`Button Presets Should render preset BRAND_TEXT_TINTED_HOVER in selected state 1`] = `
257
+ <DocumentFragment>
258
+ <button
259
+ aria-busy="false"
260
+ aria-pressed="true"
261
+ class="buttonReset button selected:bg-brand-10 selected:text-brand-80 selected:border-brand-10 sizeMedium shapeRoundedRectangle variantText"
262
+ type="button"
263
+ >
264
+ <div
265
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
266
+ data-id="flex"
267
+ data-test-id="flex"
268
+ >
269
+ <div
270
+ class="dotted size13"
271
+ >
272
+ Button
273
+ </div>
274
+ </div>
275
+ </button>
276
+ </DocumentFragment>
277
+ `;
278
+
279
+ exports[`Button Presets Should render preset BRAND_TINTED_OUTLINE 1`] = `
280
+ <DocumentFragment>
281
+ <button
282
+ aria-busy="false"
283
+ aria-pressed="false"
284
+ class="buttonReset button bg-brand-10 hover:bg-brand-20 focus:bg-brand-20 active:bg-brand-20 text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-10 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
285
+ type="button"
286
+ >
287
+ <div
288
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
289
+ data-id="flex"
290
+ data-test-id="flex"
291
+ >
292
+ <div
293
+ class="dotted size13"
294
+ >
295
+ Button
296
+ </div>
297
+ </div>
298
+ </button>
299
+ </DocumentFragment>
300
+ `;
301
+
302
+ exports[`Button Presets Should render preset BRAND_TINTED_OUTLINE in selected state 1`] = `
303
+ <DocumentFragment>
304
+ <button
305
+ aria-busy="false"
306
+ aria-pressed="true"
307
+ class="buttonReset button selected:bg-brand-10 selected:text-brand-80 selected:border-brand-10 sizeMedium shapeRoundedRectangle variantText"
308
+ type="button"
309
+ >
310
+ <div
311
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
312
+ data-id="flex"
313
+ data-test-id="flex"
314
+ >
315
+ <div
316
+ class="dotted size13"
317
+ >
318
+ Button
319
+ </div>
320
+ </div>
321
+ </button>
322
+ </DocumentFragment>
323
+ `;
324
+
325
+ exports[`Button Presets Should render preset SECONDARY_GHOST_BRAND_TINTED_ONSELECT 1`] = `
326
+ <DocumentFragment>
327
+ <button
328
+ aria-busy="false"
329
+ aria-pressed="false"
330
+ class="buttonReset button text-black hover:text-black focus:text-black active:text-black border-grey-65 hover:border-grey-55 focus:border-grey-55 active:border-grey-55 sizeMedium shapeRoundedRectangle variantText"
331
+ type="button"
332
+ >
333
+ <div
334
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
335
+ data-id="flex"
336
+ data-test-id="flex"
337
+ >
338
+ <div
339
+ class="dotted size13"
340
+ >
341
+ Button
342
+ </div>
343
+ </div>
344
+ </button>
345
+ </DocumentFragment>
346
+ `;
347
+
348
+ exports[`Button Presets Should render preset SECONDARY_GHOST_BRAND_TINTED_ONSELECT in selected state 1`] = `
349
+ <DocumentFragment>
350
+ <button
351
+ aria-busy="false"
352
+ aria-pressed="true"
353
+ class="buttonReset button selected:bg-brand-10 selected:text-black selected:border-brand-10 sizeMedium shapeRoundedRectangle variantText"
354
+ type="button"
355
+ >
356
+ <div
357
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
358
+ data-id="flex"
359
+ data-test-id="flex"
360
+ >
361
+ <div
362
+ class="dotted size13"
363
+ >
364
+ Button
365
+ </div>
366
+ </div>
367
+ </button>
368
+ </DocumentFragment>
369
+ `;
370
+
371
+ exports[`Button Presets Should render preset SUCCESS_GHOST 1`] = `
372
+ <DocumentFragment>
373
+ <button
374
+ aria-busy="false"
375
+ aria-pressed="false"
376
+ class="buttonReset button text-green-80 hover:text-green-100 focus:text-green-100 active:text-green-100 border-green-80 hover:border-green-100 focus:border-green-100 active:border-green-100 sizeMedium shapeRoundedRectangle variantText"
377
+ type="button"
378
+ >
379
+ <div
380
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
381
+ data-id="flex"
382
+ data-test-id="flex"
383
+ >
384
+ <div
385
+ class="dotted size13"
386
+ >
387
+ Button
388
+ </div>
389
+ </div>
390
+ </button>
391
+ </DocumentFragment>
392
+ `;
393
+
394
+ exports[`Button Presets Should render preset SUCCESS_GHOST in selected state 1`] = `
395
+ <DocumentFragment>
396
+ <button
397
+ aria-busy="false"
398
+ aria-pressed="true"
399
+ class="buttonReset button selected:text-green-80 selected:border-green-80 sizeMedium shapeRoundedRectangle variantText"
400
+ type="button"
401
+ >
402
+ <div
403
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
404
+ data-id="flex"
405
+ data-test-id="flex"
406
+ >
407
+ <div
408
+ class="dotted size13"
409
+ >
410
+ Button
411
+ </div>
412
+ </div>
413
+ </button>
414
+ </DocumentFragment>
415
+ `;
416
+
417
+ exports[`Button Presets Should render preset SUCCESS_TEXT_ONLY 1`] = `
418
+ <DocumentFragment>
419
+ <button
420
+ aria-busy="false"
421
+ aria-pressed="false"
422
+ class="buttonReset button text-green-80 hover:text-green-100 focus:text-green-100 active:text-green-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
423
+ type="button"
424
+ >
425
+ <div
426
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
427
+ data-id="flex"
428
+ data-test-id="flex"
429
+ >
430
+ <div
431
+ class="dotted size13"
432
+ >
433
+ Button
434
+ </div>
435
+ </div>
436
+ </button>
437
+ </DocumentFragment>
438
+ `;
439
+
440
+ exports[`Button Presets Should render preset SUCCESS_TEXT_ONLY in selected state 1`] = `
441
+ <DocumentFragment>
442
+ <button
443
+ aria-busy="false"
444
+ aria-pressed="true"
445
+ class="buttonReset button selected:text-green-80 border-transparent sizeMedium shapeRoundedRectangle variantText"
446
+ type="button"
447
+ >
448
+ <div
449
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
450
+ data-id="flex"
451
+ data-test-id="flex"
452
+ >
453
+ <div
454
+ class="dotted size13"
455
+ >
456
+ Button
457
+ </div>
458
+ </div>
459
+ </button>
460
+ </DocumentFragment>
461
+ `;
462
+
463
+ exports[`Button Presets Should render preset SUCCESS_TINTED_OUTLINE 1`] = `
464
+ <DocumentFragment>
465
+ <button
466
+ aria-busy="false"
467
+ aria-pressed="false"
468
+ class="buttonReset button bg-green-10 hover:bg-green-30 focus:bg-green-30 active:bg-green-30 text-green-80 hover:text-green-100 focus:text-green-100 active:text-green-100 border-green-30 hover:border-green-100 focus:border-green-100 active:border-green-100 sizeMedium shapeRoundedRectangle variantText"
469
+ type="button"
470
+ >
471
+ <div
472
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
473
+ data-id="flex"
474
+ data-test-id="flex"
475
+ >
476
+ <div
477
+ class="dotted size13"
478
+ >
479
+ Button
480
+ </div>
481
+ </div>
482
+ </button>
483
+ </DocumentFragment>
484
+ `;
485
+
486
+ exports[`Button Presets Should render preset SUCCESS_TINTED_OUTLINE in selected state 1`] = `
487
+ <DocumentFragment>
488
+ <button
489
+ aria-busy="false"
490
+ aria-pressed="true"
491
+ class="buttonReset button selected:bg-green-10 selected:text-green-80 selected:border-green-30 sizeMedium shapeRoundedRectangle variantText"
492
+ type="button"
493
+ >
494
+ <div
495
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
496
+ data-id="flex"
497
+ data-test-id="flex"
498
+ >
499
+ <div
500
+ class="dotted size13"
501
+ >
502
+ Button
503
+ </div>
504
+ </div>
505
+ </button>
506
+ </DocumentFragment>
507
+ `;
508
+
509
+ exports[`Button Should apply a11yAttributes to the button 1`] = `
4
510
  <DocumentFragment>
5
511
  <button
6
512
  aria-busy="false"
7
513
  aria-describedby="button-description"
8
514
  aria-label="Smart Button"
9
515
  aria-pressed="false"
10
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
516
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
517
+ type="button"
518
+ >
519
+ <div
520
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
521
+ data-id="flex"
522
+ data-test-id="flex"
523
+ >
524
+ <div
525
+ class="dotted size13"
526
+ >
527
+ Button
528
+ </div>
529
+ </div>
530
+ </button>
531
+ </DocumentFragment>
532
+ `;
533
+
534
+ exports[`Button Should apply customAttributes to button elements 1`] = `
535
+ <DocumentFragment>
536
+ <button
537
+ aria-busy="false"
538
+ aria-pressed="false"
539
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
540
+ data-wrapper="wrapperAttr"
11
541
  type="button"
12
542
  >
13
543
  <div
@@ -17,6 +547,7 @@ exports[`Button - Component Should apply a11yAttributes to the button 1`] = `
17
547
  >
18
548
  <div
19
549
  class="dotted size13"
550
+ data-text="textAttr"
20
551
  >
21
552
  Button
22
553
  </div>
@@ -25,12 +556,12 @@ exports[`Button - Component Should apply a11yAttributes to the button 1`] = `
25
556
  </DocumentFragment>
26
557
  `;
27
558
 
28
- exports[`Button - Component Should apply customClass to wrapper, text and icon 1`] = `
559
+ exports[`Button Should apply customClass to wrapper, text and icon 1`] = `
29
560
  <DocumentFragment>
30
561
  <button
31
562
  aria-busy="false"
32
563
  aria-pressed="false"
33
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText customButtonClass"
564
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIconWithText customButtonClass"
34
565
  type="button"
35
566
  >
36
567
  <div
@@ -55,12 +586,12 @@ exports[`Button - Component Should apply customClass to wrapper, text and icon 1
55
586
  </DocumentFragment>
56
587
  `;
57
588
 
58
- exports[`Button - Component Should apply customProps to wrapper, text and icon 1`] = `
589
+ exports[`Button Should apply customProps to wrapper, text and icon 1`] = `
59
590
  <DocumentFragment>
60
591
  <button
61
592
  aria-busy="false"
62
593
  aria-pressed="false"
63
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
594
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIconWithText"
64
595
  type="button"
65
596
  >
66
597
  <div
@@ -78,12 +609,12 @@ exports[`Button - Component Should apply customProps to wrapper, text and icon 1
78
609
  </DocumentFragment>
79
610
  `;
80
611
 
81
- exports[`Button - Component Should be disabled when isDisabled prop is true 1`] = `
612
+ exports[`Button Should be disabled when isDisabled prop is true 1`] = `
82
613
  <DocumentFragment>
83
614
  <button
84
615
  aria-busy="false"
85
616
  aria-pressed="false"
86
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
617
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
87
618
  data-id="undefined_disabled"
88
619
  data-test-id="undefined_disabled"
89
620
  disabled=""
@@ -98,12 +629,12 @@ exports[`Button - Component Should be disabled when isDisabled prop is true 1`]
98
629
  </DocumentFragment>
99
630
  `;
100
631
 
101
- exports[`Button - Component Should render Sizes of buttons - full 1`] = `
632
+ exports[`Button Should render Sizes of buttons - full 1`] = `
102
633
  <DocumentFragment>
103
634
  <button
104
635
  aria-busy="false"
105
636
  aria-pressed="false"
106
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeFull shapeRoundedRectangle variantText"
637
+ class="buttonReset button border-transparent sizeFull shapeRoundedRectangle variantText"
107
638
  type="button"
108
639
  >
109
640
  <div
@@ -115,12 +646,12 @@ exports[`Button - Component Should render Sizes of buttons - full 1`] = `
115
646
  </DocumentFragment>
116
647
  `;
117
648
 
118
- exports[`Button - Component Should render Sizes of buttons - large 1`] = `
649
+ exports[`Button Should render Sizes of buttons - large 1`] = `
119
650
  <DocumentFragment>
120
651
  <button
121
652
  aria-busy="false"
122
653
  aria-pressed="false"
123
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeLarge shapeRoundedRectangle variantText"
654
+ class="buttonReset button border-transparent sizeLarge shapeRoundedRectangle variantText"
124
655
  type="button"
125
656
  >
126
657
  <div
@@ -132,12 +663,12 @@ exports[`Button - Component Should render Sizes of buttons - large 1`] = `
132
663
  </DocumentFragment>
133
664
  `;
134
665
 
135
- exports[`Button - Component Should render Sizes of buttons - medium 1`] = `
666
+ exports[`Button Should render Sizes of buttons - medium 1`] = `
136
667
  <DocumentFragment>
137
668
  <button
138
669
  aria-busy="false"
139
670
  aria-pressed="false"
140
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
671
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
141
672
  type="button"
142
673
  >
143
674
  <div
@@ -149,12 +680,12 @@ exports[`Button - Component Should render Sizes of buttons - medium 1`] = `
149
680
  </DocumentFragment>
150
681
  `;
151
682
 
152
- exports[`Button - Component Should render Sizes of buttons - small 1`] = `
683
+ exports[`Button Should render Sizes of buttons - small 1`] = `
153
684
  <DocumentFragment>
154
685
  <button
155
686
  aria-busy="false"
156
687
  aria-pressed="false"
157
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeSmall shapeRoundedRectangle variantText"
688
+ class="buttonReset button border-transparent sizeSmall shapeRoundedRectangle variantText"
158
689
  type="button"
159
690
  >
160
691
  <div
@@ -166,12 +697,12 @@ exports[`Button - Component Should render Sizes of buttons - small 1`] = `
166
697
  </DocumentFragment>
167
698
  `;
168
699
 
169
- exports[`Button - Component Should render Status of buttons - default 1`] = `
700
+ exports[`Button Should render Status of buttons - default 1`] = `
170
701
  <DocumentFragment>
171
702
  <button
172
703
  aria-busy="false"
173
704
  aria-pressed="false"
174
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
705
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
175
706
  type="button"
176
707
  >
177
708
  <div
@@ -183,12 +714,12 @@ exports[`Button - Component Should render Status of buttons - default 1`] = `
183
714
  </DocumentFragment>
184
715
  `;
185
716
 
186
- exports[`Button - Component Should render Status of buttons - loading 1`] = `
717
+ exports[`Button Should render Status of buttons - loading 1`] = `
187
718
  <DocumentFragment>
188
719
  <button
189
720
  aria-busy="true"
190
721
  aria-pressed="false"
191
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
722
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
192
723
  disabled=""
193
724
  type="button"
194
725
  >
@@ -226,12 +757,12 @@ exports[`Button - Component Should render Status of buttons - loading 1`] = `
226
757
  </DocumentFragment>
227
758
  `;
228
759
 
229
- exports[`Button - Component Should render Status of buttons - success 1`] = `
760
+ exports[`Button Should render Status of buttons - success 1`] = `
230
761
  <DocumentFragment>
231
762
  <button
232
763
  aria-busy="false"
233
764
  aria-pressed="false"
234
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
765
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
235
766
  type="button"
236
767
  >
237
768
  <div
@@ -259,12 +790,12 @@ exports[`Button - Component Should render Status of buttons - success 1`] = `
259
790
  </DocumentFragment>
260
791
  `;
261
792
 
262
- exports[`Button - Component Should render appearance of buttons - [ 'bg' ] 1`] = `
793
+ exports[`Button Should render appearance of buttons - { bg: false, border: true } 1`] = `
263
794
  <DocumentFragment>
264
795
  <button
265
796
  aria-busy="false"
266
797
  aria-pressed="false"
267
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
798
+ class="buttonReset button hover:bg-brand-80 focus:bg-brand-80 active:bg-brand-80 text-brand-80 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText"
268
799
  type="button"
269
800
  >
270
801
  <div
@@ -276,12 +807,12 @@ exports[`Button - Component Should render appearance of buttons - [ 'bg' ] 1`] =
276
807
  </DocumentFragment>
277
808
  `;
278
809
 
279
- exports[`Button - Component Should render appearance of buttons - [ 'bg', 'border' ] 1`] = `
810
+ exports[`Button Should render appearance of buttons - { bg: true, text: 'black' } 1`] = `
280
811
  <DocumentFragment>
281
812
  <button
282
813
  aria-busy="false"
283
814
  aria-pressed="false"
284
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
815
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-black hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
285
816
  type="button"
286
817
  >
287
818
  <div
@@ -293,12 +824,12 @@ exports[`Button - Component Should render appearance of buttons - [ 'bg', 'borde
293
824
  </DocumentFragment>
294
825
  `;
295
826
 
296
- exports[`Button - Component Should render appearance of buttons - [ 'border' ] 1`] = `
827
+ exports[`Button Should render appearance of buttons - { border: true } 1`] = `
297
828
  <DocumentFragment>
298
829
  <button
299
830
  aria-busy="false"
300
831
  aria-pressed="false"
301
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
832
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText"
302
833
  type="button"
303
834
  >
304
835
  <div
@@ -310,12 +841,12 @@ exports[`Button - Component Should render appearance of buttons - [ 'border' ] 1
310
841
  </DocumentFragment>
311
842
  `;
312
843
 
313
- exports[`Button - Component Should render appearance of buttons - [ 'text' ] 1`] = `
844
+ exports[`Button Should render appearance of buttons - { text: true } 1`] = `
314
845
  <DocumentFragment>
315
846
  <button
316
847
  aria-busy="false"
317
848
  aria-pressed="false"
318
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-80 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
849
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
319
850
  type="button"
320
851
  >
321
852
  <div
@@ -327,12 +858,12 @@ exports[`Button - Component Should render appearance of buttons - [ 'text' ] 1`]
327
858
  </DocumentFragment>
328
859
  `;
329
860
 
330
- exports[`Button - Component Should render appearance of buttons - [] 1`] = `
861
+ exports[`Button Should render appearance of buttons - {} 1`] = `
331
862
  <DocumentFragment>
332
863
  <button
333
864
  aria-busy="false"
334
865
  aria-pressed="false"
335
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
866
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
336
867
  type="button"
337
868
  >
338
869
  <div
@@ -344,12 +875,12 @@ exports[`Button - Component Should render appearance of buttons - [] 1`] = `
344
875
  </DocumentFragment>
345
876
  `;
346
877
 
347
- exports[`Button - Component Should render disabledAppearance of buttons - dull 1`] = `
878
+ exports[`Button Should render disabledAppearance of buttons - dull 1`] = `
348
879
  <DocumentFragment>
349
880
  <button
350
881
  aria-busy="false"
351
882
  aria-pressed="false"
352
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
883
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText disabledOpac disabledPointer"
353
884
  data-id="undefined_disabled"
354
885
  data-test-id="undefined_disabled"
355
886
  disabled=""
@@ -364,12 +895,12 @@ exports[`Button - Component Should render disabledAppearance of buttons - dull 1
364
895
  </DocumentFragment>
365
896
  `;
366
897
 
367
- exports[`Button - Component Should render disabledAppearance of buttons - none 1`] = `
898
+ exports[`Button Should render disabledAppearance of buttons - none 1`] = `
368
899
  <DocumentFragment>
369
900
  <button
370
901
  aria-busy="false"
371
902
  aria-pressed="false"
372
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledPointer"
903
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText disabledPointer"
373
904
  data-id="undefined_disabled"
374
905
  data-test-id="undefined_disabled"
375
906
  disabled=""
@@ -384,19 +915,19 @@ exports[`Button - Component Should render disabledAppearance of buttons - none 1
384
915
  </DocumentFragment>
385
916
  `;
386
917
 
387
- exports[`Button - Component Should render disabledAppearance of buttons - strike 1`] = `
918
+ exports[`Button Should render disabledAppearance of buttons - strike 1`] = `
388
919
  <DocumentFragment>
389
920
  <button
390
921
  aria-busy="false"
391
922
  aria-pressed="false"
392
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText disabledPointer strike"
923
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText disabledPointer strike"
393
924
  data-id="undefined_disabled"
394
925
  data-test-id="undefined_disabled"
395
926
  disabled=""
396
927
  type="button"
397
928
  >
398
929
  <div
399
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
930
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
400
931
  data-id="flex"
401
932
  data-test-id="flex"
402
933
  />
@@ -404,16 +935,16 @@ exports[`Button - Component Should render disabledAppearance of buttons - strike
404
935
  </DocumentFragment>
405
936
  `;
406
937
 
407
- exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg' ] 1`] = `
938
+ exports[`Button Should render hoverAppearance of buttons - { bg: false, border: true } 1`] = `
408
939
  <DocumentFragment>
409
940
  <button
410
941
  aria-busy="false"
411
942
  aria-pressed="false"
412
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
943
+ class="buttonReset button bg-brand-80 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-80 focus:border-brand-80 active:border-brand-80 sizeMedium shapeRoundedRectangle variantText"
413
944
  type="button"
414
945
  >
415
946
  <div
416
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
947
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
417
948
  data-id="flex"
418
949
  data-test-id="flex"
419
950
  />
@@ -421,16 +952,16 @@ exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg' ]
421
952
  </DocumentFragment>
422
953
  `;
423
954
 
424
- exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg', 'border' ] 1`] = `
955
+ exports[`Button Should render hoverAppearance of buttons - { bg: true, text: 'black' } 1`] = `
425
956
  <DocumentFragment>
426
957
  <button
427
958
  aria-busy="false"
428
959
  aria-pressed="false"
429
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
960
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-black focus:text-black active:text-black border-transparent sizeMedium shapeRoundedRectangle variantText"
430
961
  type="button"
431
962
  >
432
963
  <div
433
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
964
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
434
965
  data-id="flex"
435
966
  data-test-id="flex"
436
967
  />
@@ -438,16 +969,16 @@ exports[`Button - Component Should render hoverAppearance of buttons - [ 'bg', '
438
969
  </DocumentFragment>
439
970
  `;
440
971
 
441
- exports[`Button - Component Should render hoverAppearance of buttons - [ 'border' ] 1`] = `
972
+ exports[`Button Should render hoverAppearance of buttons - { border: true } 1`] = `
442
973
  <DocumentFragment>
443
974
  <button
444
975
  aria-busy="false"
445
976
  aria-pressed="false"
446
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
977
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent hover:border-brand-80 focus:border-brand-80 active:border-brand-80 sizeMedium shapeRoundedRectangle variantText"
447
978
  type="button"
448
979
  >
449
980
  <div
450
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
981
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
451
982
  data-id="flex"
452
983
  data-test-id="flex"
453
984
  />
@@ -455,16 +986,16 @@ exports[`Button - Component Should render hoverAppearance of buttons - [ 'border
455
986
  </DocumentFragment>
456
987
  `;
457
988
 
458
- exports[`Button - Component Should render hoverAppearance of buttons - [ 'text' ] 1`] = `
989
+ exports[`Button Should render hoverAppearance of buttons - { text: true } 1`] = `
459
990
  <DocumentFragment>
460
991
  <button
461
992
  aria-busy="false"
462
993
  aria-pressed="false"
463
- class="buttonReset button bg-brand-80 text-brand-filled hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
994
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
464
995
  type="button"
465
996
  >
466
997
  <div
467
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
998
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
468
999
  data-id="flex"
469
1000
  data-test-id="flex"
470
1001
  />
@@ -472,12 +1003,12 @@ exports[`Button - Component Should render hoverAppearance of buttons - [ 'text'
472
1003
  </DocumentFragment>
473
1004
  `;
474
1005
 
475
- exports[`Button - Component Should render hoverAppearance of buttons - [] 1`] = `
1006
+ exports[`Button Should render hoverAppearance of buttons - {} 1`] = `
476
1007
  <DocumentFragment>
477
1008
  <button
478
1009
  aria-busy="false"
479
1010
  aria-pressed="false"
480
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 hover:border-transparent focus:border-transparent active:border-transparent sizeMedium shapeRoundedRectangle variantText"
1011
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
481
1012
  type="button"
482
1013
  >
483
1014
  <div
@@ -489,12 +1020,55 @@ exports[`Button - Component Should render hoverAppearance of buttons - [] 1`] =
489
1020
  </DocumentFragment>
490
1021
  `;
491
1022
 
492
- exports[`Button - Component Should render loaderPlacement of buttons - end 1`] = `
1023
+ exports[`Button Should render loader overlay when status is loading and loaderPlacement is overlay 1`] = `
1024
+ <DocumentFragment>
1025
+ <button
1026
+ aria-busy="true"
1027
+ aria-pressed="false"
1028
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
1029
+ disabled=""
1030
+ type="button"
1031
+ >
1032
+ <div
1033
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
1034
+ data-id="flex"
1035
+ data-test-id="flex"
1036
+ />
1037
+ <div
1038
+ class="d-flex d-flex-row d-items-center d-justify-center loaderOverlay"
1039
+ data-id="flex"
1040
+ data-test-id="flex"
1041
+ >
1042
+ <svg
1043
+ aria-hidden="true"
1044
+ class="spinner"
1045
+ role="img"
1046
+ viewBox="0 0 24 24"
1047
+ >
1048
+ <circle
1049
+ class="spinnerTrack"
1050
+ cx="12"
1051
+ cy="12"
1052
+ r="10"
1053
+ />
1054
+ <circle
1055
+ class="spinnerHead"
1056
+ cx="12"
1057
+ cy="12"
1058
+ r="10"
1059
+ />
1060
+ </svg>
1061
+ </div>
1062
+ </button>
1063
+ </DocumentFragment>
1064
+ `;
1065
+
1066
+ exports[`Button Should render loaderPlacement of buttons - end 1`] = `
493
1067
  <DocumentFragment>
494
1068
  <button
495
1069
  aria-busy="true"
496
1070
  aria-pressed="false"
497
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
1071
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
498
1072
  disabled=""
499
1073
  type="button"
500
1074
  >
@@ -533,12 +1107,12 @@ exports[`Button - Component Should render loaderPlacement of buttons - end 1`] =
533
1107
  </DocumentFragment>
534
1108
  `;
535
1109
 
536
- exports[`Button - Component Should render loaderPlacement of buttons - overlay 1`] = `
1110
+ exports[`Button Should render loaderPlacement of buttons - overlay 1`] = `
537
1111
  <DocumentFragment>
538
1112
  <button
539
1113
  aria-busy="true"
540
1114
  aria-pressed="false"
541
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
1115
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
542
1116
  disabled=""
543
1117
  type="button"
544
1118
  >
@@ -576,12 +1150,12 @@ exports[`Button - Component Should render loaderPlacement of buttons - overlay 1
576
1150
  </DocumentFragment>
577
1151
  `;
578
1152
 
579
- exports[`Button - Component Should render loaderPlacement of buttons - start 1`] = `
1153
+ exports[`Button Should render loaderPlacement of buttons - start 1`] = `
580
1154
  <DocumentFragment>
581
1155
  <button
582
1156
  aria-busy="true"
583
1157
  aria-pressed="false"
584
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
1158
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
585
1159
  disabled=""
586
1160
  type="button"
587
1161
  >
@@ -620,12 +1194,12 @@ exports[`Button - Component Should render loaderPlacement of buttons - start 1`]
620
1194
  </DocumentFragment>
621
1195
  `;
622
1196
 
623
- exports[`Button - Component Should render palette of buttons - danger 1`] = `
1197
+ exports[`Button Should render palette of buttons - brand 1`] = `
624
1198
  <DocumentFragment>
625
1199
  <button
626
1200
  aria-busy="false"
627
1201
  aria-pressed="false"
628
- class="buttonReset button bg-red-70 hover:bg-red-100 focus:bg-red-100 active:bg-red-100 text-white hover:text-white focus:text-white active:text-white border-red-70 hover:border-red-100 focus:border-red-100 active:border-red-100 sizeMedium shapeRoundedRectangle variantText"
1202
+ class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
629
1203
  type="button"
630
1204
  >
631
1205
  <div
@@ -637,12 +1211,12 @@ exports[`Button - Component Should render palette of buttons - danger 1`] = `
637
1211
  </DocumentFragment>
638
1212
  `;
639
1213
 
640
- exports[`Button - Component Should render palette of buttons - default 1`] = `
1214
+ exports[`Button Should render palette of buttons - brandLighter 1`] = `
641
1215
  <DocumentFragment>
642
1216
  <button
643
1217
  aria-busy="false"
644
1218
  aria-pressed="false"
645
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1219
+ class="buttonReset button bg-brand-10 hover:bg-brand-20 focus:bg-brand-20 active:bg-brand-20 text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
646
1220
  type="button"
647
1221
  >
648
1222
  <div
@@ -654,12 +1228,12 @@ exports[`Button - Component Should render palette of buttons - default 1`] = `
654
1228
  </DocumentFragment>
655
1229
  `;
656
1230
 
657
- exports[`Button - Component Should render palette of buttons - primary 1`] = `
1231
+ exports[`Button Should render palette of buttons - danger 1`] = `
658
1232
  <DocumentFragment>
659
1233
  <button
660
1234
  aria-busy="false"
661
1235
  aria-pressed="false"
662
- class="buttonReset button bg-blue-80 hover:bg-blue-100 focus:bg-blue-100 active:bg-blue-100 text-white hover:text-white focus:text-white active:text-white border-blue-80 hover:border-blue-100 focus:border-blue-100 active:border-blue-100 sizeMedium shapeRoundedRectangle variantText"
1236
+ class="buttonReset button bg-red-70 hover:bg-red-100 focus:bg-red-100 active:bg-red-100 text-white hover:text-white focus:text-white active:text-white border-transparent sizeMedium shapeRoundedRectangle variantText"
663
1237
  type="button"
664
1238
  >
665
1239
  <div
@@ -671,12 +1245,12 @@ exports[`Button - Component Should render palette of buttons - primary 1`] = `
671
1245
  </DocumentFragment>
672
1246
  `;
673
1247
 
674
- exports[`Button - Component Should render palette of buttons - secondary 1`] = `
1248
+ exports[`Button Should render palette of buttons - dangerLighter 1`] = `
675
1249
  <DocumentFragment>
676
1250
  <button
677
1251
  aria-busy="false"
678
1252
  aria-pressed="false"
679
- class="buttonReset button bg-grey-65 hover:bg-grey-55 focus:bg-grey-55 active:bg-grey-55 text-white hover:text-white focus:text-white active:text-white border-grey-65 hover:border-grey-55 focus:border-grey-55 active:border-grey-55 sizeMedium shapeRoundedRectangle variantText"
1253
+ class="buttonReset button bg-red-10 hover:bg-red-30 focus:bg-red-30 active:bg-red-30 text-red-70 hover:text-red-100 focus:text-red-100 active:text-red-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
680
1254
  type="button"
681
1255
  >
682
1256
  <div
@@ -688,12 +1262,12 @@ exports[`Button - Component Should render palette of buttons - secondary 1`] = `
688
1262
  </DocumentFragment>
689
1263
  `;
690
1264
 
691
- exports[`Button - Component Should render palette of buttons - success 1`] = `
1265
+ exports[`Button Should render palette of buttons - info 1`] = `
692
1266
  <DocumentFragment>
693
1267
  <button
694
1268
  aria-busy="false"
695
1269
  aria-pressed="false"
696
- class="buttonReset button bg-green-80 hover:bg-green-100 focus:bg-green-100 active:bg-green-100 text-white hover:text-white focus:text-white active:text-white border-green-80 hover:border-green-100 focus:border-green-100 active:border-green-100 sizeMedium shapeRoundedRectangle variantText"
1270
+ class="buttonReset button bg-blue-80 hover:bg-blue-100 focus:bg-blue-100 active:bg-blue-100 text-white hover:text-white focus:text-white active:text-white border-transparent sizeMedium shapeRoundedRectangle variantText"
697
1271
  type="button"
698
1272
  >
699
1273
  <div
@@ -705,12 +1279,12 @@ exports[`Button - Component Should render palette of buttons - success 1`] = `
705
1279
  </DocumentFragment>
706
1280
  `;
707
1281
 
708
- exports[`Button - Component Should render paletteShade of buttons - default 1`] = `
1282
+ exports[`Button Should render palette of buttons - infoLighter 1`] = `
709
1283
  <DocumentFragment>
710
1284
  <button
711
1285
  aria-busy="false"
712
1286
  aria-pressed="false"
713
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1287
+ class="buttonReset button bg-blue-10 hover:bg-blue-20 focus:bg-blue-20 active:bg-blue-20 text-blue-80 hover:text-blue-100 focus:text-blue-100 active:text-blue-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
714
1288
  type="button"
715
1289
  >
716
1290
  <div
@@ -722,16 +1296,101 @@ exports[`Button - Component Should render paletteShade of buttons - default 1`]
722
1296
  </DocumentFragment>
723
1297
  `;
724
1298
 
725
- exports[`Button - Component Should render paletteShade of buttons - lighter 1`] = `
1299
+ exports[`Button Should render palette of buttons - secondary 1`] = `
726
1300
  <DocumentFragment>
727
1301
  <button
728
1302
  aria-busy="false"
729
1303
  aria-pressed="false"
730
- class="buttonReset button bg-brand-10 hover:bg-brand-20 focus:bg-brand-20 active:bg-brand-20 text-brand-80 hover:text-brand-100 focus:text-brand-100 active:text-brand-100 border-brand-10 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1304
+ class="buttonReset button bg-grey-65 hover:bg-grey-55 focus:bg-grey-55 active:bg-grey-55 text-white hover:text-white focus:text-white active:text-white border-transparent sizeMedium shapeRoundedRectangle variantText"
1305
+ type="button"
1306
+ >
1307
+ <div
1308
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1309
+ data-id="flex"
1310
+ data-test-id="flex"
1311
+ />
1312
+ </button>
1313
+ </DocumentFragment>
1314
+ `;
1315
+
1316
+ exports[`Button Should render palette of buttons - secondaryLighter 1`] = `
1317
+ <DocumentFragment>
1318
+ <button
1319
+ aria-busy="false"
1320
+ aria-pressed="false"
1321
+ class="buttonReset button bg-grey-10 hover:bg-grey-20 focus:bg-grey-20 active:bg-grey-20 text-grey-65 hover:text-grey-100 focus:text-grey-100 active:text-grey-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
731
1322
  type="button"
732
1323
  >
733
1324
  <div
734
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
1325
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1326
+ data-id="flex"
1327
+ data-test-id="flex"
1328
+ />
1329
+ </button>
1330
+ </DocumentFragment>
1331
+ `;
1332
+
1333
+ exports[`Button Should render palette of buttons - success 1`] = `
1334
+ <DocumentFragment>
1335
+ <button
1336
+ aria-busy="false"
1337
+ aria-pressed="false"
1338
+ class="buttonReset button bg-green-80 hover:bg-green-100 focus:bg-green-100 active:bg-green-100 text-white hover:text-white focus:text-white active:text-white border-transparent sizeMedium shapeRoundedRectangle variantText"
1339
+ type="button"
1340
+ >
1341
+ <div
1342
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1343
+ data-id="flex"
1344
+ data-test-id="flex"
1345
+ />
1346
+ </button>
1347
+ </DocumentFragment>
1348
+ `;
1349
+
1350
+ exports[`Button Should render palette of buttons - successLighter 1`] = `
1351
+ <DocumentFragment>
1352
+ <button
1353
+ aria-busy="false"
1354
+ aria-pressed="false"
1355
+ class="buttonReset button bg-green-10 hover:bg-green-30 focus:bg-green-30 active:bg-green-30 text-green-80 hover:text-green-100 focus:text-green-100 active:text-green-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
1356
+ type="button"
1357
+ >
1358
+ <div
1359
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1360
+ data-id="flex"
1361
+ data-test-id="flex"
1362
+ />
1363
+ </button>
1364
+ </DocumentFragment>
1365
+ `;
1366
+
1367
+ exports[`Button Should render palette of buttons - warning 1`] = `
1368
+ <DocumentFragment>
1369
+ <button
1370
+ aria-busy="false"
1371
+ aria-pressed="false"
1372
+ class="buttonReset button bg-orange-80 hover:bg-orange-100 focus:bg-orange-100 active:bg-orange-100 text-white hover:text-white focus:text-white active:text-white border-transparent sizeMedium shapeRoundedRectangle variantText"
1373
+ type="button"
1374
+ >
1375
+ <div
1376
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1377
+ data-id="flex"
1378
+ data-test-id="flex"
1379
+ />
1380
+ </button>
1381
+ </DocumentFragment>
1382
+ `;
1383
+
1384
+ exports[`Button Should render palette of buttons - warningLighter 1`] = `
1385
+ <DocumentFragment>
1386
+ <button
1387
+ aria-busy="false"
1388
+ aria-pressed="false"
1389
+ class="buttonReset button bg-orange-10 hover:bg-orange-15 focus:bg-orange-15 active:bg-orange-15 text-orange-80 hover:text-orange-100 focus:text-orange-100 active:text-orange-100 border-transparent sizeMedium shapeRoundedRectangle variantText"
1390
+ type="button"
1391
+ >
1392
+ <div
1393
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
735
1394
  data-id="flex"
736
1395
  data-test-id="flex"
737
1396
  />
@@ -739,16 +1398,16 @@ exports[`Button - Component Should render paletteShade of buttons - lighter 1`]
739
1398
  </DocumentFragment>
740
1399
  `;
741
1400
 
742
- exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg' ] 1`] = `
1401
+ exports[`Button Should render selectedAppearance of buttons - { bg: false, border: true } 1`] = `
743
1402
  <DocumentFragment>
744
1403
  <button
745
1404
  aria-busy="false"
746
1405
  aria-pressed="true"
747
- class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1406
+ class="buttonReset button bg-brand-80 selected:text-brand-filled selected:border-brand-80 sizeMedium shapeRoundedRectangle variantText"
748
1407
  type="button"
749
1408
  >
750
1409
  <div
751
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
1410
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
752
1411
  data-id="flex"
753
1412
  data-test-id="flex"
754
1413
  />
@@ -756,16 +1415,16 @@ exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg'
756
1415
  </DocumentFragment>
757
1416
  `;
758
1417
 
759
- exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg', 'border' ] 1`] = `
1418
+ exports[`Button Should render selectedAppearance of buttons - { bg: true, text: 'black' } 1`] = `
760
1419
  <DocumentFragment>
761
1420
  <button
762
1421
  aria-busy="false"
763
1422
  aria-pressed="true"
764
- class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1423
+ class="buttonReset button selected:bg-brand-80 selected:text-black border-transparent sizeMedium shapeRoundedRectangle variantText"
765
1424
  type="button"
766
1425
  >
767
1426
  <div
768
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
1427
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
769
1428
  data-id="flex"
770
1429
  data-test-id="flex"
771
1430
  />
@@ -773,16 +1432,16 @@ exports[`Button - Component Should render selectedAppearance of buttons - [ 'bg'
773
1432
  </DocumentFragment>
774
1433
  `;
775
1434
 
776
- exports[`Button - Component Should render selectedAppearance of buttons - [ 'border' ] 1`] = `
1435
+ exports[`Button Should render selectedAppearance of buttons - { border: true } 1`] = `
777
1436
  <DocumentFragment>
778
1437
  <button
779
1438
  aria-busy="false"
780
1439
  aria-pressed="true"
781
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1440
+ class="buttonReset button selected:bg-brand-80 selected:text-brand-filled selected:border-brand-80 sizeMedium shapeRoundedRectangle variantText"
782
1441
  type="button"
783
1442
  >
784
1443
  <div
785
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
1444
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
786
1445
  data-id="flex"
787
1446
  data-test-id="flex"
788
1447
  />
@@ -790,16 +1449,16 @@ exports[`Button - Component Should render selectedAppearance of buttons - [ 'bor
790
1449
  </DocumentFragment>
791
1450
  `;
792
1451
 
793
- exports[`Button - Component Should render selectedAppearance of buttons - [ 'text' ] 1`] = `
1452
+ exports[`Button Should render selectedAppearance of buttons - { text: true } 1`] = `
794
1453
  <DocumentFragment>
795
1454
  <button
796
1455
  aria-busy="false"
797
1456
  aria-pressed="true"
798
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1457
+ class="buttonReset button selected:bg-brand-80 selected:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
799
1458
  type="button"
800
1459
  >
801
1460
  <div
802
- class="flex row alignItems_center justifyContent_center shrink contentWrapper"
1461
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
803
1462
  data-id="flex"
804
1463
  data-test-id="flex"
805
1464
  />
@@ -807,12 +1466,12 @@ exports[`Button - Component Should render selectedAppearance of buttons - [ 'tex
807
1466
  </DocumentFragment>
808
1467
  `;
809
1468
 
810
- exports[`Button - Component Should render selectedAppearance of buttons - [] 1`] = `
1469
+ exports[`Button Should render selectedAppearance of buttons - {} 1`] = `
811
1470
  <DocumentFragment>
812
1471
  <button
813
1472
  aria-busy="false"
814
1473
  aria-pressed="true"
815
- class="buttonReset button hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-transparent hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1474
+ class="buttonReset button selected:bg-brand-80 selected:text-brand-filled border-transparent sizeMedium shapeRoundedRectangle variantText"
816
1475
  type="button"
817
1476
  >
818
1477
  <div
@@ -824,12 +1483,12 @@ exports[`Button - Component Should render selectedAppearance of buttons - [] 1`]
824
1483
  </DocumentFragment>
825
1484
  `;
826
1485
 
827
- exports[`Button - Component Should render shape of buttons - pill 1`] = `
1486
+ exports[`Button Should render shape of buttons - pill 1`] = `
828
1487
  <DocumentFragment>
829
1488
  <button
830
1489
  aria-busy="false"
831
1490
  aria-pressed="false"
832
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapePill variantText"
1491
+ class="buttonReset button border-transparent sizeMedium shapePill variantText"
833
1492
  type="button"
834
1493
  >
835
1494
  <div
@@ -841,12 +1500,12 @@ exports[`Button - Component Should render shape of buttons - pill 1`] = `
841
1500
  </DocumentFragment>
842
1501
  `;
843
1502
 
844
- exports[`Button - Component Should render shape of buttons - rectangle 1`] = `
1503
+ exports[`Button Should render shape of buttons - rectangle 1`] = `
845
1504
  <DocumentFragment>
846
1505
  <button
847
1506
  aria-busy="false"
848
1507
  aria-pressed="false"
849
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRectangle variantText"
1508
+ class="buttonReset button border-transparent sizeMedium shapeRectangle variantText"
850
1509
  type="button"
851
1510
  >
852
1511
  <div
@@ -858,12 +1517,12 @@ exports[`Button - Component Should render shape of buttons - rectangle 1`] = `
858
1517
  </DocumentFragment>
859
1518
  `;
860
1519
 
861
- exports[`Button - Component Should render shape of buttons - roundedRectangle 1`] = `
1520
+ exports[`Button Should render shape of buttons - roundedRectangle 1`] = `
862
1521
  <DocumentFragment>
863
1522
  <button
864
1523
  aria-busy="false"
865
1524
  aria-pressed="false"
866
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1525
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
867
1526
  type="button"
868
1527
  >
869
1528
  <div
@@ -875,12 +1534,45 @@ exports[`Button - Component Should render shape of buttons - roundedRectangle 1`
875
1534
  </DocumentFragment>
876
1535
  `;
877
1536
 
878
- exports[`Button - Component Should render type of buttons - button 1`] = `
1537
+ exports[`Button Should render success overlay when status is success and loaderPlacement is overlay 1`] = `
1538
+ <DocumentFragment>
1539
+ <button
1540
+ aria-busy="false"
1541
+ aria-pressed="false"
1542
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1543
+ type="button"
1544
+ >
1545
+ <div
1546
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink overlayHidden"
1547
+ data-id="flex"
1548
+ data-test-id="flex"
1549
+ />
1550
+ <div
1551
+ class="d-flex d-flex-row d-items-center d-justify-center successOverlay"
1552
+ data-id="flex"
1553
+ data-test-id="flex"
1554
+ >
1555
+ <svg
1556
+ aria-hidden="true"
1557
+ class="tick"
1558
+ role="img"
1559
+ viewBox="0 0 24 24"
1560
+ >
1561
+ <path
1562
+ d="M4 12l5 5L20 6"
1563
+ />
1564
+ </svg>
1565
+ </div>
1566
+ </button>
1567
+ </DocumentFragment>
1568
+ `;
1569
+
1570
+ exports[`Button Should render type of buttons - button 1`] = `
879
1571
  <DocumentFragment>
880
1572
  <button
881
1573
  aria-busy="false"
882
1574
  aria-pressed="false"
883
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1575
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
884
1576
  type="button"
885
1577
  >
886
1578
  <div
@@ -892,12 +1584,12 @@ exports[`Button - Component Should render type of buttons - button 1`] = `
892
1584
  </DocumentFragment>
893
1585
  `;
894
1586
 
895
- exports[`Button - Component Should render type of buttons - reset 1`] = `
1587
+ exports[`Button Should render type of buttons - reset 1`] = `
896
1588
  <DocumentFragment>
897
1589
  <button
898
1590
  aria-busy="false"
899
1591
  aria-pressed="false"
900
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1592
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
901
1593
  type="reset"
902
1594
  >
903
1595
  <div
@@ -909,12 +1601,12 @@ exports[`Button - Component Should render type of buttons - reset 1`] = `
909
1601
  </DocumentFragment>
910
1602
  `;
911
1603
 
912
- exports[`Button - Component Should render type of buttons - submit 1`] = `
1604
+ exports[`Button Should render type of buttons - submit 1`] = `
913
1605
  <DocumentFragment>
914
1606
  <button
915
1607
  aria-busy="false"
916
1608
  aria-pressed="false"
917
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1609
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
918
1610
  type="submit"
919
1611
  >
920
1612
  <div
@@ -926,12 +1618,12 @@ exports[`Button - Component Should render type of buttons - submit 1`] = `
926
1618
  </DocumentFragment>
927
1619
  `;
928
1620
 
929
- exports[`Button - Component Should render variant of buttons - icon 1`] = `
1621
+ exports[`Button Should render variant of buttons - icon 1`] = `
930
1622
  <DocumentFragment>
931
1623
  <button
932
1624
  aria-busy="false"
933
1625
  aria-pressed="false"
934
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
1626
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIcon"
935
1627
  type="button"
936
1628
  >
937
1629
  <div
@@ -943,12 +1635,12 @@ exports[`Button - Component Should render variant of buttons - icon 1`] = `
943
1635
  </DocumentFragment>
944
1636
  `;
945
1637
 
946
- exports[`Button - Component Should render variant of buttons - iconWithText 1`] = `
1638
+ exports[`Button Should render variant of buttons - iconWithText 1`] = `
947
1639
  <DocumentFragment>
948
1640
  <button
949
1641
  aria-busy="false"
950
1642
  aria-pressed="false"
951
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
1643
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIconWithText"
952
1644
  type="button"
953
1645
  >
954
1646
  <div
@@ -960,12 +1652,12 @@ exports[`Button - Component Should render variant of buttons - iconWithText 1`]
960
1652
  </DocumentFragment>
961
1653
  `;
962
1654
 
963
- exports[`Button - Component Should render variant of buttons - text 1`] = `
1655
+ exports[`Button Should render variant of buttons - text 1`] = `
964
1656
  <DocumentFragment>
965
1657
  <button
966
1658
  aria-busy="false"
967
1659
  aria-pressed="false"
968
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1660
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
969
1661
  type="button"
970
1662
  >
971
1663
  <div
@@ -977,12 +1669,12 @@ exports[`Button - Component Should render variant of buttons - text 1`] = `
977
1669
  </DocumentFragment>
978
1670
  `;
979
1671
 
980
- exports[`Button - Component Should render with children 1`] = `
1672
+ exports[`Button Should render with children 1`] = `
981
1673
  <DocumentFragment>
982
1674
  <button
983
1675
  aria-busy="false"
984
1676
  aria-pressed="false"
985
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1677
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
986
1678
  type="button"
987
1679
  >
988
1680
  <div
@@ -1000,12 +1692,12 @@ exports[`Button - Component Should render with children 1`] = `
1000
1692
  </DocumentFragment>
1001
1693
  `;
1002
1694
 
1003
- exports[`Button - Component Should render with customId and testId 1`] = `
1695
+ exports[`Button Should render with customId and testId 1`] = `
1004
1696
  <DocumentFragment>
1005
1697
  <button
1006
1698
  aria-busy="false"
1007
1699
  aria-pressed="false"
1008
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1700
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1009
1701
  data-id="customIdValue"
1010
1702
  data-test-id="testIdValue"
1011
1703
  type="button"
@@ -1019,12 +1711,30 @@ exports[`Button - Component Should render with customId and testId 1`] = `
1019
1711
  </DocumentFragment>
1020
1712
  `;
1021
1713
 
1022
- exports[`Button - Component Should render with iconName and iconSize 1`] = `
1714
+ exports[`Button Should render with dataSelectorId 1`] = `
1023
1715
  <DocumentFragment>
1024
1716
  <button
1025
1717
  aria-busy="false"
1026
1718
  aria-pressed="false"
1027
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
1719
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1720
+ data-selector-id="selectorId"
1721
+ type="button"
1722
+ >
1723
+ <div
1724
+ class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1725
+ data-id="flex"
1726
+ data-test-id="flex"
1727
+ />
1728
+ </button>
1729
+ </DocumentFragment>
1730
+ `;
1731
+
1732
+ exports[`Button Should render with iconName and iconSize 1`] = `
1733
+ <DocumentFragment>
1734
+ <button
1735
+ aria-busy="false"
1736
+ aria-pressed="false"
1737
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIcon"
1028
1738
  type="button"
1029
1739
  >
1030
1740
  <div
@@ -1044,12 +1754,12 @@ exports[`Button - Component Should render with iconName and iconSize 1`] = `
1044
1754
  </DocumentFragment>
1045
1755
  `;
1046
1756
 
1047
- exports[`Button - Component Should render with iconPlacement 1`] = `
1757
+ exports[`Button Should render with iconPlacement 1`] = `
1048
1758
  <DocumentFragment>
1049
1759
  <button
1050
1760
  aria-busy="false"
1051
1761
  aria-pressed="false"
1052
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIconWithText"
1762
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIconWithText"
1053
1763
  type="button"
1054
1764
  >
1055
1765
  <div
@@ -1074,29 +1784,12 @@ exports[`Button - Component Should render with iconPlacement 1`] = `
1074
1784
  </DocumentFragment>
1075
1785
  `;
1076
1786
 
1077
- exports[`Button - Component Should render with readOnly style when isReadOnly prop is true 1`] = `
1078
- <DocumentFragment>
1079
- <button
1080
- aria-busy="false"
1081
- aria-pressed="false"
1082
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1083
- type="button"
1084
- >
1085
- <div
1086
- class="d-flex d-flex-row d-items-center d-justify-center d-min-w-0 d-flex-shrink contentWrapper"
1087
- data-id="flex"
1088
- data-test-id="flex"
1089
- />
1090
- </button>
1091
- </DocumentFragment>
1092
- `;
1093
-
1094
- exports[`Button - Component Should render with renderBefore and renderAfter 1`] = `
1787
+ exports[`Button Should render with renderBefore and renderAfter 1`] = `
1095
1788
  <DocumentFragment>
1096
1789
  <button
1097
1790
  aria-busy="false"
1098
1791
  aria-pressed="false"
1099
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1792
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1100
1793
  type="button"
1101
1794
  >
1102
1795
  <div
@@ -1120,12 +1813,12 @@ exports[`Button - Component Should render with renderBefore and renderAfter 1`]
1120
1813
  </DocumentFragment>
1121
1814
  `;
1122
1815
 
1123
- exports[`Button - Component Should render with renderIcon 1`] = `
1816
+ exports[`Button Should render with renderIcon 1`] = `
1124
1817
  <DocumentFragment>
1125
1818
  <button
1126
1819
  aria-busy="false"
1127
1820
  aria-pressed="false"
1128
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantIcon"
1821
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantIcon"
1129
1822
  type="button"
1130
1823
  >
1131
1824
  <div
@@ -1141,12 +1834,12 @@ exports[`Button - Component Should render with renderIcon 1`] = `
1141
1834
  </DocumentFragment>
1142
1835
  `;
1143
1836
 
1144
- exports[`Button - Component Should render with renderLoader 1`] = `
1837
+ exports[`Button Should render with renderLoader 1`] = `
1145
1838
  <DocumentFragment>
1146
1839
  <button
1147
1840
  aria-busy="true"
1148
1841
  aria-pressed="false"
1149
- class="buttonReset button bg-brand-80 text-brand-filled border-brand-80 sizeMedium shapeRoundedRectangle variantText loading"
1842
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText loading"
1150
1843
  disabled=""
1151
1844
  type="button"
1152
1845
  >
@@ -1156,7 +1849,7 @@ exports[`Button - Component Should render with renderLoader 1`] = `
1156
1849
  data-test-id="flex"
1157
1850
  />
1158
1851
  <div
1159
- class="flex row alignItems_center justifyContent_center loaderOverlay"
1852
+ class="d-flex d-flex-row d-items-center d-justify-center loaderOverlay"
1160
1853
  data-id="flex"
1161
1854
  data-test-id="flex"
1162
1855
  >
@@ -1168,12 +1861,12 @@ exports[`Button - Component Should render with renderLoader 1`] = `
1168
1861
  </DocumentFragment>
1169
1862
  `;
1170
1863
 
1171
- exports[`Button - Component Should render with renderSuccess 1`] = `
1864
+ exports[`Button Should render with renderSuccess 1`] = `
1172
1865
  <DocumentFragment>
1173
1866
  <button
1174
1867
  aria-busy="false"
1175
1868
  aria-pressed="false"
1176
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1869
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1177
1870
  type="button"
1178
1871
  >
1179
1872
  <div
@@ -1182,7 +1875,7 @@ exports[`Button - Component Should render with renderSuccess 1`] = `
1182
1875
  data-test-id="flex"
1183
1876
  />
1184
1877
  <div
1185
- class="flex row alignItems_center justifyContent_center successOverlay"
1878
+ class="d-flex d-flex-row d-items-center d-justify-center successOverlay"
1186
1879
  data-id="flex"
1187
1880
  data-test-id="flex"
1188
1881
  >
@@ -1194,12 +1887,12 @@ exports[`Button - Component Should render with renderSuccess 1`] = `
1194
1887
  </DocumentFragment>
1195
1888
  `;
1196
1889
 
1197
- exports[`Button - Component Should render with selected style when isSelected prop is true 1`] = `
1890
+ exports[`Button Should render with selected style when isSelected prop is true 1`] = `
1198
1891
  <DocumentFragment>
1199
1892
  <button
1200
1893
  aria-busy="false"
1201
1894
  aria-pressed="true"
1202
- class="buttonReset button selected:bg-brand-100 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 selected:text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled selected:border-brand-100 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1895
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1203
1896
  type="button"
1204
1897
  >
1205
1898
  <div
@@ -1211,12 +1904,12 @@ exports[`Button - Component Should render with selected style when isSelected pr
1211
1904
  </DocumentFragment>
1212
1905
  `;
1213
1906
 
1214
- exports[`Button - Component Should render with the basic set of default props 1`] = `
1907
+ exports[`Button Should render with the basic set of default props 1`] = `
1215
1908
  <DocumentFragment>
1216
1909
  <button
1217
1910
  aria-busy="false"
1218
1911
  aria-pressed="false"
1219
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1912
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1220
1913
  type="button"
1221
1914
  >
1222
1915
  <div
@@ -1228,12 +1921,12 @@ exports[`Button - Component Should render with the basic set of default props 1`
1228
1921
  </DocumentFragment>
1229
1922
  `;
1230
1923
 
1231
- exports[`Button - Component Should render with title attribute 1`] = `
1924
+ exports[`Button Should render with title attribute 1`] = `
1232
1925
  <DocumentFragment>
1233
1926
  <button
1234
1927
  aria-busy="false"
1235
1928
  aria-pressed="false"
1236
- class="buttonReset button bg-brand-80 hover:bg-brand-100 focus:bg-brand-100 active:bg-brand-100 text-brand-filled hover:text-brand-filled focus:text-brand-filled active:text-brand-filled border-brand-80 hover:border-brand-100 focus:border-brand-100 active:border-brand-100 sizeMedium shapeRoundedRectangle variantText"
1929
+ class="buttonReset button border-transparent sizeMedium shapeRoundedRectangle variantText"
1237
1930
  data-title="Button test title"
1238
1931
  type="button"
1239
1932
  >