@patternfly/react-core 4.202.12 → 4.202.15

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 (53) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/Drawer/DrawerContent.js +1 -1
  3. package/dist/esm/components/Drawer/DrawerContent.js.map +1 -1
  4. package/dist/esm/components/LoginPage/LoginFooterItem.d.ts.map +1 -1
  5. package/dist/esm/components/LoginPage/LoginFooterItem.js +1 -3
  6. package/dist/esm/components/LoginPage/LoginFooterItem.js.map +1 -1
  7. package/dist/esm/components/TextInput/TextInput.d.ts +1 -0
  8. package/dist/esm/components/TextInput/TextInput.d.ts.map +1 -1
  9. package/dist/esm/components/TextInput/TextInput.js +2 -1
  10. package/dist/esm/components/TextInput/TextInput.js.map +1 -1
  11. package/dist/js/components/Drawer/DrawerContent.js +1 -1
  12. package/dist/js/components/Drawer/DrawerContent.js.map +1 -1
  13. package/dist/js/components/LoginPage/LoginFooterItem.d.ts.map +1 -1
  14. package/dist/js/components/LoginPage/LoginFooterItem.js +1 -3
  15. package/dist/js/components/LoginPage/LoginFooterItem.js.map +1 -1
  16. package/dist/js/components/TextInput/TextInput.d.ts +1 -0
  17. package/dist/js/components/TextInput/TextInput.d.ts.map +1 -1
  18. package/dist/js/components/TextInput/TextInput.js +2 -1
  19. package/dist/js/components/TextInput/TextInput.js.map +1 -1
  20. package/dist/umd/react-core.js +4 -5
  21. package/dist/umd/react-core.min.js +2 -2
  22. package/package.json +6 -6
  23. package/src/components/Drawer/DrawerContent.tsx +1 -1
  24. package/src/components/EmptyState/__tests__/EmptyState.test.tsx +46 -42
  25. package/src/components/EmptyState/__tests__/__snapshots__/EmptyState.test.tsx.snap +5 -130
  26. package/src/components/Form/__tests__/FormGroup.test.tsx +82 -57
  27. package/src/components/Form/__tests__/FormHelperText.test.tsx +42 -28
  28. package/src/components/Form/__tests__/__snapshots__/FormGroup.test.tsx.snap +51 -250
  29. package/src/components/Form/__tests__/__snapshots__/FormHelperText.test.tsx.snap +4 -44
  30. package/src/components/FormSelect/__tests__/FormSelect.test.tsx +131 -122
  31. package/src/components/FormSelect/__tests__/__snapshots__/FormSelect.test.tsx.snap +9 -301
  32. package/src/components/InputGroup/__tests__/InputGroup.test.tsx +17 -41
  33. package/src/components/InputGroup/__tests__/InputGroupText.test.tsx +17 -0
  34. package/src/components/Label/__tests__/Label.test.tsx +127 -68
  35. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +26 -828
  36. package/src/components/LabelGroup/__tests__/LabelGroup.test.tsx +24 -20
  37. package/src/components/LabelGroup/__tests__/__snapshots__/LabelGroup.test.tsx.snap +10 -12
  38. package/src/components/LoginPage/LoginFooterItem.tsx +0 -2
  39. package/src/components/LoginPage/__tests__/LoginFooterItem.test.tsx +23 -24
  40. package/src/components/LoginPage/__tests__/LoginForm.test.tsx +40 -33
  41. package/src/components/LoginPage/__tests__/LoginMainBody.test.tsx +10 -16
  42. package/src/components/LoginPage/__tests__/LoginMainFooter.test.tsx +11 -17
  43. package/src/components/LoginPage/__tests__/LoginMainFooterBandItem.test.tsx +23 -24
  44. package/src/components/LoginPage/__tests__/LoginMainFooterLinksItem.test.tsx +20 -24
  45. package/src/components/LoginPage/__tests__/LoginMainHeader.test.tsx +14 -20
  46. package/src/components/LoginPage/__tests__/__snapshots__/LoginFooterItem.test.tsx.snap +3 -13
  47. package/src/components/LoginPage/__tests__/__snapshots__/LoginForm.test.tsx.snap +3 -415
  48. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainBody.test.tsx.snap +2 -8
  49. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooter.test.tsx.snap +2 -8
  50. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterBandItem.test.tsx.snap +3 -17
  51. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainFooterLinksItem.test.tsx.snap +3 -31
  52. package/src/components/LoginPage/__tests__/__snapshots__/LoginMainHeader.test.tsx.snap +3 -12
  53. package/src/components/TextInput/TextInput.tsx +4 -1
@@ -1,36 +1,50 @@
1
1
  import React from 'react';
2
- import { FormHelperText } from '../FormHelperText';
3
- import { render } from '@testing-library/react';
4
- import { shallow } from 'enzyme';
2
+
3
+ import { render, screen } from '@testing-library/react';
4
+ import '@testing-library/jest-dom';
5
+
5
6
  import { ExclamationCircleIcon } from '@patternfly/react-icons';
7
+ import { FormHelperText } from '../FormHelperText';
6
8
 
7
- test('renders with PatternFly Core styles', () => {
8
- const view = render(<FormHelperText isError isHidden={false} />);
9
- expect(view.container).toMatchSnapshot();
10
- });
9
+ describe('FormHelperText', () => {
10
+ test('renders with PatternFly Core styles', () => {
11
+ render(
12
+ <FormHelperText isError isHidden={false}>
13
+ test
14
+ </FormHelperText>
15
+ );
16
+ expect(screen.getByText('test').outerHTML).toMatchSnapshot();
17
+ });
11
18
 
12
- test('renders with icon', () => {
13
- const view = render(<FormHelperText isError isHidden={false} icon={<ExclamationCircleIcon />} />);
14
- expect(view.container).toMatchSnapshot();
15
- });
19
+ test('renders with icon', () => {
20
+ render(
21
+ <FormHelperText isError isHidden={false} icon={<ExclamationCircleIcon />}>
22
+ test
23
+ </FormHelperText>
24
+ );
25
+ expect(screen.getByText('test').outerHTML).toMatchSnapshot();
26
+ });
16
27
 
17
- test('className is added to the root element', () => {
18
- const view = shallow(<FormHelperText className="extra-class" />);
19
- expect(view.prop('className')).toMatchSnapshot();
20
- });
28
+ test('className is added to the root element', () => {
29
+ render(<FormHelperText className="extra-class">test</FormHelperText>);
30
+ expect(screen.getByText('test').outerHTML).toMatchSnapshot();
31
+ });
21
32
 
22
- test('extra props are spread to the root element', () => {
23
- const testId = 'login-body';
24
- const view = shallow(<FormHelperText data-testid={testId} />);
25
- expect(view.prop('data-testid')).toBe(testId);
26
- });
33
+ test('extra props are spread to the root element', () => {
34
+ const testId = 'login-body';
35
+ render(<FormHelperText data-testid={testId}>test</FormHelperText>);
36
+ expect(screen.getByTestId(testId)).toBeInTheDocument();
37
+ });
38
+
39
+ test('LoginFooterItem with custom node', () => {
40
+ const CustomNode = () => <div>My custom node</div>;
41
+
42
+ render(
43
+ <FormHelperText>
44
+ <CustomNode />
45
+ </FormHelperText>
46
+ );
27
47
 
28
- test('LoginFooterItem with custom node', () => {
29
- const CustomNode = () => <div>My custom node</div>;
30
- const view = render(
31
- <FormHelperText>
32
- <CustomNode />
33
- </FormHelperText>
34
- );
35
- expect(view.container).toMatchSnapshot();
48
+ expect(screen.getByText('My custom node').parentElement.outerHTML).toMatchSnapshot();
49
+ });
36
50
  });
@@ -1,7 +1,7 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`FormGroup component should render correctly when label is not a string with Children = Array 1`] = `
4
- <div>
3
+ exports[`FormGroup should render correctly when label is not a string with Children = Array 1`] = `
4
+ <DocumentFragment>
5
5
  <div
6
6
  class="pf-c-form__group"
7
7
  >
@@ -32,14 +32,13 @@ exports[`FormGroup component should render correctly when label is not a string
32
32
  id="id"
33
33
  />
34
34
  <input />
35
-
36
35
  </div>
37
36
  </div>
38
- </div>
37
+ </DocumentFragment>
39
38
  `;
40
39
 
41
- exports[`FormGroup component should render default form group variant 1`] = `
42
- <div>
40
+ exports[`FormGroup should render default form group variant 1`] = `
41
+ <DocumentFragment>
43
42
  <div
44
43
  class="pf-c-form__group"
45
44
  >
@@ -73,11 +72,11 @@ exports[`FormGroup component should render default form group variant 1`] = `
73
72
  </div>
74
73
  </div>
75
74
  </div>
76
- </div>
75
+ </DocumentFragment>
77
76
  `;
78
77
 
79
- exports[`FormGroup component should render form group invalid variant 1`] = `
80
- <div>
78
+ exports[`FormGroup should render form group invalid variant 1`] = `
79
+ <DocumentFragment>
81
80
  <div
82
81
  class="pf-c-form__group"
83
82
  >
@@ -111,11 +110,11 @@ exports[`FormGroup component should render form group invalid variant 1`] = `
111
110
  </div>
112
111
  </div>
113
112
  </div>
114
- </div>
113
+ </DocumentFragment>
115
114
  `;
116
115
 
117
- exports[`FormGroup component should render form group required variant 1`] = `
118
- <div>
116
+ exports[`FormGroup should render form group validated error variant 1`] = `
117
+ <DocumentFragment>
119
118
  <div
120
119
  class="pf-c-form__group"
121
120
  >
@@ -124,20 +123,13 @@ exports[`FormGroup component should render form group required variant 1`] = `
124
123
  >
125
124
  <label
126
125
  class="pf-c-form__label"
127
- for="id"
126
+ for="label-id"
128
127
  >
129
128
  <span
130
129
  class="pf-c-form__label-text"
131
130
  >
132
131
  label
133
132
  </span>
134
- <span
135
- aria-hidden="true"
136
- class="pf-c-form__label-required"
137
- >
138
-
139
- *
140
- </span>
141
133
  </label>
142
134
 
143
135
  </div>
@@ -147,16 +139,16 @@ exports[`FormGroup component should render form group required variant 1`] = `
147
139
  <input
148
140
  id="id"
149
141
  />
150
-
151
142
  </div>
152
143
  </div>
153
- </div>
144
+ </DocumentFragment>
154
145
  `;
155
146
 
156
- exports[`FormGroup component should render form group validated error variant 1`] = `
157
- <div>
147
+ exports[`FormGroup should render form group validated success variant 1`] = `
148
+ <DocumentFragment>
158
149
  <div
159
150
  class="pf-c-form__group"
151
+ data-testid="form-group-test-id"
160
152
  >
161
153
  <div
162
154
  class="pf-c-form__group-label"
@@ -175,78 +167,37 @@ exports[`FormGroup component should render form group validated error variant 1`
175
167
  </div>
176
168
  <div
177
169
  class="pf-c-form__group-control"
178
- >
179
- <input
180
- id="id"
181
- />
182
-
183
- </div>
184
- </div>
185
- </div>
186
- `;
187
-
188
- exports[`FormGroup component should render form group validated success variant 1`] = `
189
- <FormGroup
190
- fieldId="label-id"
191
- helperText="Validated FormGroup"
192
- label="label"
193
- validated="success"
194
- >
195
- <div
196
- className="pf-c-form__group"
197
- >
198
- <div
199
- className="pf-c-form__group-label"
200
- >
201
- <label
202
- className="pf-c-form__label"
203
- htmlFor="label-id"
204
- >
205
- <span
206
- className="pf-c-form__label-text"
207
- >
208
- label
209
- </span>
210
- </label>
211
-
212
- </div>
213
- <div
214
- className="pf-c-form__group-control"
215
170
  >
216
171
  <input
217
172
  id="id"
218
173
  />
219
174
  <div
220
175
  aria-live="polite"
221
- className="pf-c-form__helper-text pf-m-success"
176
+ class="pf-c-form__helper-text pf-m-success"
222
177
  id="label-id-helper"
223
178
  >
224
179
  Validated FormGroup
225
180
  </div>
226
181
  </div>
227
182
  </div>
228
- </FormGroup>
183
+ </DocumentFragment>
229
184
  `;
230
185
 
231
- exports[`FormGroup component should render form group validated warning variant 1`] = `
232
- <FormGroup
233
- fieldId="label-id"
234
- helperText="Validated FormGroup"
235
- label="label"
236
- validated="warning"
237
- >
186
+ exports[`FormGroup should render form group validated warning variant 1`] = `
187
+ <DocumentFragment>
238
188
  <div
239
- className="pf-c-form__group"
189
+ class="pf-c-form__group"
190
+ data-testid="form-group-test-id"
240
191
  >
241
192
  <div
242
- className="pf-c-form__group-label"
193
+ class="pf-c-form__group-label"
243
194
  >
244
195
  <label
245
- className="pf-c-form__label"
246
- htmlFor="label-id"
196
+ class="pf-c-form__label"
197
+ for="label-id"
247
198
  >
248
199
  <span
249
- className="pf-c-form__label-text"
200
+ class="pf-c-form__label-text"
250
201
  >
251
202
  label
252
203
  </span>
@@ -254,127 +205,25 @@ exports[`FormGroup component should render form group validated warning variant
254
205
 
255
206
  </div>
256
207
  <div
257
- className="pf-c-form__group-control"
208
+ class="pf-c-form__group-control"
258
209
  >
259
210
  <input
260
211
  id="id"
261
212
  />
262
213
  <div
263
214
  aria-live="polite"
264
- className="pf-c-form__helper-text pf-m-warning"
215
+ class="pf-c-form__helper-text pf-m-warning"
265
216
  id="label-id-helper"
266
217
  >
267
218
  Validated FormGroup
268
219
  </div>
269
220
  </div>
270
221
  </div>
271
- </FormGroup>
272
- `;
273
-
274
- exports[`FormGroup component should render form group variant with function helperText 1`] = `
275
- <div>
276
- <div
277
- class="pf-c-form__group"
278
- >
279
- <div
280
- class="pf-c-form__group-label"
281
- >
282
- <label
283
- class="pf-c-form__label"
284
- for="label-id"
285
- >
286
- <span
287
- class="pf-c-form__label-text"
288
- >
289
- Label
290
- </span>
291
- </label>
292
-
293
- </div>
294
- <div
295
- class="pf-c-form__group-control"
296
- >
297
- <input
298
- id="label-id"
299
- />
300
- <div>
301
- label
302
- </div>
303
- </div>
304
- </div>
305
- </div>
306
- `;
307
-
308
- exports[`FormGroup component should render form group variant with function label 1`] = `
309
- <div>
310
- <div
311
- class="pf-c-form__group"
312
- >
313
- <div
314
- class="pf-c-form__group-label"
315
- >
316
- <label
317
- class="pf-c-form__label"
318
- for="id"
319
- >
320
- <span
321
- class="pf-c-form__label-text"
322
- >
323
- <div>
324
- label
325
- </div>
326
- </span>
327
- </label>
328
-
329
- </div>
330
- <div
331
- class="pf-c-form__group-control"
332
- >
333
- <input
334
- aria-label="input"
335
- />
336
-
337
- </div>
338
- </div>
339
- </div>
340
- `;
341
-
342
- exports[`FormGroup component should render form group variant with node helperText 1`] = `
343
- <div>
344
- <div
345
- class="pf-c-form__group"
346
- >
347
- <div
348
- class="pf-c-form__group-label"
349
- >
350
- <label
351
- class="pf-c-form__label"
352
- for="label-id"
353
- >
354
- <span
355
- class="pf-c-form__label-text"
356
- >
357
- Label
358
- </span>
359
- </label>
360
-
361
- </div>
362
- <div
363
- class="pf-c-form__group-control"
364
- >
365
- <input
366
- id="label-id"
367
- />
368
- <h1>
369
- Header
370
- </h1>
371
- </div>
372
- </div>
373
- </div>
222
+ </DocumentFragment>
374
223
  `;
375
224
 
376
- exports[`FormGroup component should render form group variant with node label 1`] = `
377
- <div>
225
+ exports[`FormGroup should render form group variant with node label 1`] = `
226
+ <DocumentFragment>
378
227
  <div
379
228
  class="pf-c-form__group"
380
229
  >
@@ -401,14 +250,13 @@ exports[`FormGroup component should render form group variant with node label 1`
401
250
  <input
402
251
  aria-label="input"
403
252
  />
404
-
405
253
  </div>
406
254
  </div>
407
- </div>
255
+ </DocumentFragment>
408
256
  `;
409
257
 
410
- exports[`FormGroup component should render form group variant with required label 1`] = `
411
- <div>
258
+ exports[`FormGroup should render form group variant with required label 1`] = `
259
+ <DocumentFragment>
412
260
  <div
413
261
  class="pf-c-form__group"
414
262
  >
@@ -428,8 +276,7 @@ exports[`FormGroup component should render form group variant with required labe
428
276
  aria-hidden="true"
429
277
  class="pf-c-form__label-required"
430
278
  >
431
-
432
- *
279
+ *
433
280
  </span>
434
281
  </label>
435
282
 
@@ -440,14 +287,13 @@ exports[`FormGroup component should render form group variant with required labe
440
287
  <input
441
288
  id="label-id"
442
289
  />
443
-
444
290
  </div>
445
291
  </div>
446
- </div>
292
+ </DocumentFragment>
447
293
  `;
448
294
 
449
- exports[`FormGroup component should render form group variant without label 1`] = `
450
- <div>
295
+ exports[`FormGroup should render form group variant without label 1`] = `
296
+ <DocumentFragment>
451
297
  <div
452
298
  class="pf-c-form__group"
453
299
  >
@@ -457,14 +303,13 @@ exports[`FormGroup component should render form group variant without label 1`]
457
303
  <input
458
304
  aria-label="input"
459
305
  />
460
-
461
306
  </div>
462
307
  </div>
463
- </div>
308
+ </DocumentFragment>
464
309
  `;
465
310
 
466
- exports[`FormGroup component should render form group with additonal label info 1`] = `
467
- <div>
311
+ exports[`FormGroup should render form group with additonal label info 1`] = `
312
+ <DocumentFragment>
468
313
  <div
469
314
  class="pf-c-form__group"
470
315
  >
@@ -500,14 +345,13 @@ exports[`FormGroup component should render form group with additonal label info
500
345
  <input
501
346
  aria-label="input"
502
347
  />
503
-
504
348
  </div>
505
349
  </div>
506
- </div>
350
+ </DocumentFragment>
507
351
  `;
508
352
 
509
- exports[`FormGroup component should render helper text above input 1`] = `
510
- <div>
353
+ exports[`FormGroup should render helper text above input 1`] = `
354
+ <DocumentFragment>
511
355
  <form
512
356
  class="pf-c-form pf-m-horizontal"
513
357
  novalidate=""
@@ -546,11 +390,11 @@ exports[`FormGroup component should render helper text above input 1`] = `
546
390
  </div>
547
391
  </div>
548
392
  </form>
549
- </div>
393
+ </DocumentFragment>
550
394
  `;
551
395
 
552
- exports[`FormGroup component should render horizontal form group variant 1`] = `
553
- <div>
396
+ exports[`FormGroup should render horizontal form group variant 1`] = `
397
+ <DocumentFragment>
554
398
  <form
555
399
  class="pf-c-form pf-m-horizontal"
556
400
  novalidate=""
@@ -589,54 +433,11 @@ exports[`FormGroup component should render horizontal form group variant 1`] = `
589
433
  </div>
590
434
  </div>
591
435
  </form>
592
- </div>
593
- `;
594
-
595
- exports[`FormGroup component should render inline form group variant 1`] = `
596
- <FormGroup
597
- fieldId="label-id"
598
- helperText="this is helper text"
599
- isInline={true}
600
- label="label"
601
- >
602
- <div
603
- className="pf-c-form__group"
604
- >
605
- <div
606
- className="pf-c-form__group-label"
607
- >
608
- <label
609
- className="pf-c-form__label"
610
- htmlFor="label-id"
611
- >
612
- <span
613
- className="pf-c-form__label-text"
614
- >
615
- label
616
- </span>
617
- </label>
618
-
619
- </div>
620
- <div
621
- className="pf-c-form__group-control pf-m-inline"
622
- >
623
- <input
624
- id="label-id"
625
- />
626
- <div
627
- aria-live="polite"
628
- className="pf-c-form__helper-text"
629
- id="label-id-helper"
630
- >
631
- this is helper text
632
- </div>
633
- </div>
634
- </div>
635
- </FormGroup>
436
+ </DocumentFragment>
636
437
  `;
637
438
 
638
- exports[`FormGroup component should render stacked horizontal form group variant 1`] = `
639
- <div>
439
+ exports[`FormGroup should render stacked horizontal form group variant 1`] = `
440
+ <DocumentFragment>
640
441
  <form
641
442
  class="pf-c-form pf-m-horizontal"
642
443
  novalidate=""
@@ -675,5 +476,5 @@ exports[`FormGroup component should render stacked horizontal form group variant
675
476
  </div>
676
477
  </div>
677
478
  </form>
678
- </div>
479
+ </DocumentFragment>
679
480
  `;
@@ -1,49 +1,9 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`LoginFooterItem with custom node 1`] = `
4
- <div>
5
- <p
6
- class="pf-c-form__helper-text pf-m-hidden"
7
- >
8
- <div>
9
- My custom node
10
- </div>
11
- </p>
12
- </div>
13
- `;
3
+ exports[`FormHelperText LoginFooterItem with custom node 1`] = `"<p class=\\"pf-c-form__helper-text pf-m-hidden\\"><div>My custom node</div></p>"`;
14
4
 
15
- exports[`className is added to the root element 1`] = `"pf-c-form__helper-text pf-m-hidden extra-class"`;
5
+ exports[`FormHelperText className is added to the root element 1`] = `"<p class=\\"pf-c-form__helper-text pf-m-hidden extra-class\\">test</p>"`;
16
6
 
17
- exports[`renders with PatternFly Core styles 1`] = `
18
- <div>
19
- <p
20
- class="pf-c-form__helper-text pf-m-error"
21
- />
22
- </div>
23
- `;
7
+ exports[`FormHelperText renders with PatternFly Core styles 1`] = `"<p class=\\"pf-c-form__helper-text pf-m-error\\">test</p>"`;
24
8
 
25
- exports[`renders with icon 1`] = `
26
- <div>
27
- <p
28
- class="pf-c-form__helper-text pf-m-error"
29
- >
30
- <span
31
- class="pf-c-form__helper-text-icon"
32
- >
33
- <svg
34
- aria-hidden="true"
35
- fill="currentColor"
36
- height="1em"
37
- role="img"
38
- style="vertical-align: -0.125em;"
39
- viewBox="0 0 512 512"
40
- width="1em"
41
- >
42
- <path
43
- d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"
44
- />
45
- </svg>
46
- </span>
47
- </p>
48
- </div>
49
- `;
9
+ exports[`FormHelperText renders with icon 1`] = `"<p class=\\"pf-c-form__helper-text pf-m-error\\"><span class=\\"pf-c-form__helper-text-icon\\"><svg style=\\"vertical-align: -0.125em;\\" fill=\\"currentColor\\" height=\\"1em\\" width=\\"1em\\" viewBox=\\"0 0 512 512\\" aria-hidden=\\"true\\" role=\\"img\\"><path d=\\"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z\\"></path></svg></span>test</p>"`;