@lumx/react 3.3.1-alpha.0 → 3.3.1

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 (117) hide show
  1. package/_internal/ClickAwayProvider.js.map +1 -1
  2. package/_internal/types.d.ts +0 -2
  3. package/index.d.ts +2 -0
  4. package/index.js +347 -75
  5. package/index.js.map +1 -1
  6. package/package.json +23 -19
  7. package/src/components/autocomplete/Autocomplete.test.tsx +55 -142
  8. package/src/components/autocomplete/AutocompleteMultiple.test.tsx +37 -75
  9. package/src/components/autocomplete/__mockData__/index.ts +6 -1
  10. package/src/components/badge/Badge.test.tsx +20 -64
  11. package/src/components/button/Button.test.tsx +44 -121
  12. package/src/components/button/ButtonGroup.test.tsx +16 -39
  13. package/src/components/button/IconButton.stories.tsx +7 -0
  14. package/src/components/button/IconButton.test.tsx +37 -78
  15. package/src/components/button/IconButton.tsx +8 -1
  16. package/src/components/checkbox/Checkbox.test.tsx +62 -67
  17. package/src/components/chip/Chip.test.tsx +89 -139
  18. package/src/components/chip/ChipGroup.test.tsx +27 -10
  19. package/src/components/date-picker/DatePicker.test.tsx +15 -23
  20. package/src/components/date-picker/DatePickerControlled.test.tsx +24 -20
  21. package/src/components/date-picker/DatePickerField.test.tsx +43 -27
  22. package/src/components/dialog/Dialog.test.tsx +36 -35
  23. package/src/components/divider/Divider.test.tsx +23 -69
  24. package/src/components/dropdown/Dropdown.test.tsx +30 -61
  25. package/src/components/expansion-panel/ExpansionPanel.test.tsx +12 -8
  26. package/src/components/flag/Flag.test.tsx +28 -53
  27. package/src/components/generic-block/GenericBlock.test.tsx +93 -89
  28. package/src/components/grid-column/GridColumn.stories.tsx +3 -3
  29. package/src/components/icon/Icon.test.tsx +80 -64
  30. package/src/components/index.ts +0 -2
  31. package/src/components/inline-list/InlineList.test.tsx +30 -17
  32. package/src/components/input-helper/InputHelper.test.tsx +21 -81
  33. package/src/components/input-label/InputLabel.test.tsx +19 -61
  34. package/src/components/lightbox/Lightbox.test.tsx +3 -2
  35. package/src/components/link/Link.test.tsx +47 -31
  36. package/src/components/link-preview/LinkPreview.test.tsx +51 -51
  37. package/src/components/message/Message.test.tsx +31 -52
  38. package/src/components/mosaic/Mosaic.test.tsx +56 -72
  39. package/src/components/notification/Notification.test.tsx +51 -82
  40. package/src/components/popover/Popover.tsx +7 -9
  41. package/src/components/progress-tracker/ProgressTracker.test.tsx +20 -33
  42. package/src/components/progress-tracker/ProgressTrackerProvider.test.tsx +61 -36
  43. package/src/components/progress-tracker/ProgressTrackerStep.test.tsx +19 -109
  44. package/src/components/progress-tracker/ProgressTrackerStepPanel.test.tsx +21 -58
  45. package/src/components/progress-tracker/ProgressTrackerStepPanel.tsx +1 -1
  46. package/src/components/radio-button/RadioButton.test.tsx +78 -92
  47. package/src/components/radio-button/RadioGroup.test.tsx +13 -59
  48. package/src/components/select/Select.test.tsx +115 -284
  49. package/src/components/select/SelectMultiple.stories.tsx +105 -2
  50. package/src/components/select/SelectMultiple.test.tsx +126 -322
  51. package/src/components/select/WithSelectContext.tsx +10 -4
  52. package/src/components/side-navigation/SideNavigation.test.tsx +22 -35
  53. package/src/components/side-navigation/SideNavigationItem.test.tsx +72 -139
  54. package/src/components/switch/Switch.test.tsx +70 -149
  55. package/src/components/table/Table.test.tsx +2 -0
  56. package/src/components/table/TableBody.test.tsx +18 -8
  57. package/src/components/table/TableCell.test.tsx +34 -9
  58. package/src/components/table/TableHeader.test.tsx +18 -8
  59. package/src/components/table/TableRow.test.tsx +28 -8
  60. package/src/components/tabs/Tab.test.tsx +27 -96
  61. package/src/components/tabs/TabList.test.tsx +21 -56
  62. package/src/components/tabs/TabPanel.test.tsx +20 -55
  63. package/src/components/tabs/TabPanel.tsx +1 -1
  64. package/src/components/tabs/TabProvider.test.tsx +158 -37
  65. package/src/components/tabs/test-utils.ts +39 -0
  66. package/src/components/text-field/TextField.stories.tsx +14 -5
  67. package/src/components/text-field/TextField.test.tsx +54 -8
  68. package/src/components/text-field/TextField.tsx +49 -5
  69. package/src/components/tooltip/Tooltip.test.tsx +134 -75
  70. package/src/components/tooltip/useInjectTooltipRef.tsx +9 -2
  71. package/src/components/uploader/Uploader.test.tsx +60 -48
  72. package/src/components/user-block/UserBlock.test.tsx +69 -13
  73. package/src/hooks/useFocusTrap.ts +2 -2
  74. package/src/testing/utils/commonTestsSuiteRTL.ts +18 -8
  75. package/src/testing/utils/index.ts +0 -1
  76. package/src/utils/flattenChildren.ts +5 -0
  77. package/src/components/autocomplete/__snapshots__/Autocomplete.test.tsx.snap +0 -213
  78. package/src/components/autocomplete/__snapshots__/AutocompleteMultiple.test.tsx.snap +0 -88
  79. package/src/components/badge/__snapshots__/Badge.test.tsx.snap +0 -11
  80. package/src/components/button/ButtonRoot.test.tsx +0 -203
  81. package/src/components/button/__snapshots__/Button.test.tsx.snap +0 -96
  82. package/src/components/button/__snapshots__/ButtonGroup.test.tsx.snap +0 -22
  83. package/src/components/button/__snapshots__/ButtonRoot.test.tsx.snap +0 -160
  84. package/src/components/button/__snapshots__/IconButton.test.tsx.snap +0 -83
  85. package/src/components/checkbox/__snapshots__/Checkbox.test.tsx.snap +0 -141
  86. package/src/components/chip/__snapshots__/Chip.test.tsx.snap +0 -12
  87. package/src/components/chip/__snapshots__/ChipGroup.test.tsx.snap +0 -29
  88. package/src/components/date-picker/__snapshots__/DatePicker.test.tsx.snap +0 -22
  89. package/src/components/date-picker/__snapshots__/DatePickerControlled.test.tsx.snap +0 -597
  90. package/src/components/date-picker/__snapshots__/DatePickerField.test.tsx.snap +0 -43
  91. package/src/components/divider/__snapshots__/Divider.test.tsx.snap +0 -9
  92. package/src/components/dropdown/__snapshots__/Dropdown.test.tsx.snap +0 -35
  93. package/src/components/icon/__snapshots__/Icon.test.tsx.snap +0 -49
  94. package/src/components/input-helper/__snapshots__/InputHelper.test.tsx.snap +0 -9
  95. package/src/components/input-label/__snapshots__/InputLabel.test.tsx.snap +0 -10
  96. package/src/components/link/__snapshots__/Link.test.tsx.snap +0 -29
  97. package/src/components/message/__snapshots__/Message.test.tsx.snap +0 -15
  98. package/src/components/notification/__snapshots__/Notification.test.tsx.snap +0 -34
  99. package/src/components/progress-tracker/__snapshots__/ProgressTracker.test.tsx.snap +0 -41
  100. package/src/components/progress-tracker/__snapshots__/ProgressTrackerStep.test.tsx.snap +0 -141
  101. package/src/components/progress-tracker/__snapshots__/ProgressTrackerStepPanel.test.tsx.snap +0 -25
  102. package/src/components/radio-button/__snapshots__/RadioButton.test.tsx.snap +0 -113
  103. package/src/components/radio-button/__snapshots__/RadioGroup.test.tsx.snap +0 -26
  104. package/src/components/select/__snapshots__/Select.test.tsx.snap +0 -43
  105. package/src/components/select/__snapshots__/SelectMultiple.test.tsx.snap +0 -87
  106. package/src/components/side-navigation/__snapshots__/SideNavigation.test.tsx.snap +0 -7
  107. package/src/components/side-navigation/__snapshots__/SideNavigationItem.test.tsx.snap +0 -30
  108. package/src/components/switch/__snapshots__/Switch.test.tsx.snap +0 -179
  109. package/src/components/tabs/__snapshots__/Tab.test.tsx.snap +0 -62
  110. package/src/components/tabs/__snapshots__/TabList.test.tsx.snap +0 -22
  111. package/src/components/tabs/__snapshots__/TabPanel.test.tsx.snap +0 -25
  112. package/src/components/tabs/test.mocks.ts +0 -33
  113. package/src/components/text-field/__snapshots__/TextField.test.tsx.snap +0 -42
  114. package/src/components/tooltip/__snapshots__/Tooltip.test.tsx.snap +0 -233
  115. package/src/components/uploader/__snapshots__/Uploader.test.tsx.snap +0 -14
  116. package/src/testing/utils/commonTestsSuite.ts +0 -71
  117. package/src/utils/flattenChildren.test.tsx +0 -58
@@ -1,12 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Chip /> Snapshot should render correctly Chip component 1`] = `
4
- <a
5
- className="lumx-chip lumx-chip--color-dark lumx-chip--size-m lumx-chip--is-unselected"
6
- tabIndex={-1}
7
- >
8
- <div
9
- className="lumx-chip__label"
10
- />
11
- </a>
12
- `;
@@ -1,29 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<ChipGroup /> Snapshot should render correctly Chip Group component 1`] = `
4
- <div
5
- className="lumx-chip-group lumx-chip-group--align-left"
6
- >
7
- <Chip
8
- key="1"
9
- size="m"
10
- theme="light"
11
- >
12
- Chip 1
13
- </Chip>
14
- <Chip
15
- key="2"
16
- size="m"
17
- theme="light"
18
- >
19
- Chip 2
20
- </Chip>
21
- <Chip
22
- key="3"
23
- size="m"
24
- theme="light"
25
- >
26
- Chip 3
27
- </Chip>
28
- </div>
29
- `;
@@ -1,22 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<DatePicker> Snapshots and structure should render correctly 1`] = `
4
- <DatePickerControlled
5
- locale="fr"
6
- nextButtonProps={
7
- {
8
- "label": "Next month",
9
- }
10
- }
11
- onChange={[Function]}
12
- onNextMonthChange={[Function]}
13
- onPrevMonthChange={[Function]}
14
- previousButtonProps={
15
- {
16
- "label": "Previous month",
17
- }
18
- }
19
- selectedMonth={1970-01-17T23:15:21.000Z}
20
- value={1970-01-17T23:15:21.000Z}
21
- />
22
- `;
@@ -1,597 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<DatePickerControlled> Snapshots and structure should render correctly 1`] = `
4
- <div
5
- className="lumx-date-picker"
6
- >
7
- <Toolbar
8
- after={
9
- <IconButton
10
- emphasis="low"
11
- icon="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"
12
- label="Next month"
13
- onClick={[MockFunction]}
14
- size="m"
15
- theme="light"
16
- />
17
- }
18
- before={
19
- <IconButton
20
- emphasis="low"
21
- icon="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z"
22
- label="Previous month"
23
- onClick={[MockFunction]}
24
- size="m"
25
- theme="light"
26
- />
27
- }
28
- className="lumx-date-picker__toolbar"
29
- label={
30
- <span
31
- className="lumx-date-picker__month"
32
- >
33
- janvier 1970
34
- </span>
35
- }
36
- />
37
- <div
38
- className="lumx-date-picker__calendar"
39
- >
40
- <div
41
- className="lumx-date-picker__week-days lumx-date-picker__days-wrapper"
42
- >
43
- <div
44
- className="lumx-date-picker__day-wrapper"
45
- key="947721"
46
- >
47
- <span
48
- className="lumx-date-picker__week-day"
49
- >
50
- L
51
- </span>
52
- </div>
53
- <div
54
- className="lumx-date-picker__day-wrapper"
55
- key="1034121"
56
- >
57
- <span
58
- className="lumx-date-picker__week-day"
59
- >
60
- M
61
- </span>
62
- </div>
63
- <div
64
- className="lumx-date-picker__day-wrapper"
65
- key="1120521"
66
- >
67
- <span
68
- className="lumx-date-picker__week-day"
69
- >
70
- M
71
- </span>
72
- </div>
73
- <div
74
- className="lumx-date-picker__day-wrapper"
75
- key="1206921"
76
- >
77
- <span
78
- className="lumx-date-picker__week-day"
79
- >
80
- J
81
- </span>
82
- </div>
83
- <div
84
- className="lumx-date-picker__day-wrapper"
85
- key="1293321"
86
- >
87
- <span
88
- className="lumx-date-picker__week-day"
89
- >
90
- V
91
- </span>
92
- </div>
93
- <div
94
- className="lumx-date-picker__day-wrapper"
95
- key="1379721"
96
- >
97
- <span
98
- className="lumx-date-picker__week-day"
99
- >
100
- S
101
- </span>
102
- </div>
103
- <div
104
- className="lumx-date-picker__day-wrapper"
105
- key="1466121"
106
- >
107
- <span
108
- className="lumx-date-picker__week-day"
109
- >
110
- D
111
- </span>
112
- </div>
113
- </div>
114
- <div
115
- className="lumx-date-picker__month-days lumx-date-picker__days-wrapper"
116
- >
117
- <div
118
- className="lumx-date-picker__day-wrapper"
119
- key="-262800"
120
- />
121
- <div
122
- className="lumx-date-picker__day-wrapper"
123
- key="-176400"
124
- />
125
- <div
126
- className="lumx-date-picker__day-wrapper"
127
- key="-90000"
128
- />
129
- <div
130
- className="lumx-date-picker__day-wrapper"
131
- key="-3600"
132
- >
133
- <button
134
- className="lumx-date-picker__month-day"
135
- disabled={false}
136
- onClick={[Function]}
137
- type="button"
138
- >
139
- <span>
140
- 01
141
- </span>
142
- </button>
143
- </div>
144
- <div
145
- className="lumx-date-picker__day-wrapper"
146
- key="82800"
147
- >
148
- <button
149
- className="lumx-date-picker__month-day"
150
- disabled={false}
151
- onClick={[Function]}
152
- type="button"
153
- >
154
- <span>
155
- 02
156
- </span>
157
- </button>
158
- </div>
159
- <div
160
- className="lumx-date-picker__day-wrapper"
161
- key="169200"
162
- >
163
- <button
164
- className="lumx-date-picker__month-day"
165
- disabled={false}
166
- onClick={[Function]}
167
- type="button"
168
- >
169
- <span>
170
- 03
171
- </span>
172
- </button>
173
- </div>
174
- <div
175
- className="lumx-date-picker__day-wrapper"
176
- key="255600"
177
- >
178
- <button
179
- className="lumx-date-picker__month-day"
180
- disabled={false}
181
- onClick={[Function]}
182
- type="button"
183
- >
184
- <span>
185
- 04
186
- </span>
187
- </button>
188
- </div>
189
- <div
190
- className="lumx-date-picker__day-wrapper"
191
- key="342000"
192
- >
193
- <button
194
- className="lumx-date-picker__month-day"
195
- disabled={false}
196
- onClick={[Function]}
197
- type="button"
198
- >
199
- <span>
200
- 05
201
- </span>
202
- </button>
203
- </div>
204
- <div
205
- className="lumx-date-picker__day-wrapper"
206
- key="428400"
207
- >
208
- <button
209
- className="lumx-date-picker__month-day"
210
- disabled={false}
211
- onClick={[Function]}
212
- type="button"
213
- >
214
- <span>
215
- 06
216
- </span>
217
- </button>
218
- </div>
219
- <div
220
- className="lumx-date-picker__day-wrapper"
221
- key="514800"
222
- >
223
- <button
224
- className="lumx-date-picker__month-day"
225
- disabled={false}
226
- onClick={[Function]}
227
- type="button"
228
- >
229
- <span>
230
- 07
231
- </span>
232
- </button>
233
- </div>
234
- <div
235
- className="lumx-date-picker__day-wrapper"
236
- key="601200"
237
- >
238
- <button
239
- className="lumx-date-picker__month-day"
240
- disabled={false}
241
- onClick={[Function]}
242
- type="button"
243
- >
244
- <span>
245
- 08
246
- </span>
247
- </button>
248
- </div>
249
- <div
250
- className="lumx-date-picker__day-wrapper"
251
- key="687600"
252
- >
253
- <button
254
- className="lumx-date-picker__month-day"
255
- disabled={false}
256
- onClick={[Function]}
257
- type="button"
258
- >
259
- <span>
260
- 09
261
- </span>
262
- </button>
263
- </div>
264
- <div
265
- className="lumx-date-picker__day-wrapper"
266
- key="774000"
267
- >
268
- <button
269
- className="lumx-date-picker__month-day"
270
- disabled={false}
271
- onClick={[Function]}
272
- type="button"
273
- >
274
- <span>
275
- 10
276
- </span>
277
- </button>
278
- </div>
279
- <div
280
- className="lumx-date-picker__day-wrapper"
281
- key="860400"
282
- >
283
- <button
284
- className="lumx-date-picker__month-day"
285
- disabled={false}
286
- onClick={[Function]}
287
- type="button"
288
- >
289
- <span>
290
- 11
291
- </span>
292
- </button>
293
- </div>
294
- <div
295
- className="lumx-date-picker__day-wrapper"
296
- key="946800"
297
- >
298
- <button
299
- className="lumx-date-picker__month-day"
300
- disabled={false}
301
- onClick={[Function]}
302
- type="button"
303
- >
304
- <span>
305
- 12
306
- </span>
307
- </button>
308
- </div>
309
- <div
310
- className="lumx-date-picker__day-wrapper"
311
- key="1033200"
312
- >
313
- <button
314
- className="lumx-date-picker__month-day"
315
- disabled={false}
316
- onClick={[Function]}
317
- type="button"
318
- >
319
- <span>
320
- 13
321
- </span>
322
- </button>
323
- </div>
324
- <div
325
- className="lumx-date-picker__day-wrapper"
326
- key="1119600"
327
- >
328
- <button
329
- className="lumx-date-picker__month-day"
330
- disabled={false}
331
- onClick={[Function]}
332
- type="button"
333
- >
334
- <span>
335
- 14
336
- </span>
337
- </button>
338
- </div>
339
- <div
340
- className="lumx-date-picker__day-wrapper"
341
- key="1206000"
342
- >
343
- <button
344
- className="lumx-date-picker__month-day"
345
- disabled={false}
346
- onClick={[Function]}
347
- type="button"
348
- >
349
- <span>
350
- 15
351
- </span>
352
- </button>
353
- </div>
354
- <div
355
- className="lumx-date-picker__day-wrapper"
356
- key="1292400"
357
- >
358
- <button
359
- className="lumx-date-picker__month-day"
360
- disabled={false}
361
- onClick={[Function]}
362
- type="button"
363
- >
364
- <span>
365
- 16
366
- </span>
367
- </button>
368
- </div>
369
- <div
370
- className="lumx-date-picker__day-wrapper"
371
- key="1378800"
372
- >
373
- <button
374
- className="lumx-date-picker__month-day"
375
- disabled={false}
376
- onClick={[Function]}
377
- type="button"
378
- >
379
- <span>
380
- 17
381
- </span>
382
- </button>
383
- </div>
384
- <div
385
- className="lumx-date-picker__day-wrapper"
386
- key="1465200"
387
- >
388
- <button
389
- className="lumx-date-picker__month-day lumx-date-picker__month-day--is-selected lumx-date-picker__month-day--is-today"
390
- disabled={false}
391
- onClick={[Function]}
392
- type="button"
393
- >
394
- <span>
395
- 18
396
- </span>
397
- </button>
398
- </div>
399
- <div
400
- className="lumx-date-picker__day-wrapper"
401
- key="1551600"
402
- >
403
- <button
404
- className="lumx-date-picker__month-day"
405
- disabled={false}
406
- onClick={[Function]}
407
- type="button"
408
- >
409
- <span>
410
- 19
411
- </span>
412
- </button>
413
- </div>
414
- <div
415
- className="lumx-date-picker__day-wrapper"
416
- key="1638000"
417
- >
418
- <button
419
- className="lumx-date-picker__month-day"
420
- disabled={false}
421
- onClick={[Function]}
422
- type="button"
423
- >
424
- <span>
425
- 20
426
- </span>
427
- </button>
428
- </div>
429
- <div
430
- className="lumx-date-picker__day-wrapper"
431
- key="1724400"
432
- >
433
- <button
434
- className="lumx-date-picker__month-day"
435
- disabled={false}
436
- onClick={[Function]}
437
- type="button"
438
- >
439
- <span>
440
- 21
441
- </span>
442
- </button>
443
- </div>
444
- <div
445
- className="lumx-date-picker__day-wrapper"
446
- key="1810800"
447
- >
448
- <button
449
- className="lumx-date-picker__month-day"
450
- disabled={false}
451
- onClick={[Function]}
452
- type="button"
453
- >
454
- <span>
455
- 22
456
- </span>
457
- </button>
458
- </div>
459
- <div
460
- className="lumx-date-picker__day-wrapper"
461
- key="1897200"
462
- >
463
- <button
464
- className="lumx-date-picker__month-day"
465
- disabled={false}
466
- onClick={[Function]}
467
- type="button"
468
- >
469
- <span>
470
- 23
471
- </span>
472
- </button>
473
- </div>
474
- <div
475
- className="lumx-date-picker__day-wrapper"
476
- key="1983600"
477
- >
478
- <button
479
- className="lumx-date-picker__month-day"
480
- disabled={false}
481
- onClick={[Function]}
482
- type="button"
483
- >
484
- <span>
485
- 24
486
- </span>
487
- </button>
488
- </div>
489
- <div
490
- className="lumx-date-picker__day-wrapper"
491
- key="2070000"
492
- >
493
- <button
494
- className="lumx-date-picker__month-day"
495
- disabled={false}
496
- onClick={[Function]}
497
- type="button"
498
- >
499
- <span>
500
- 25
501
- </span>
502
- </button>
503
- </div>
504
- <div
505
- className="lumx-date-picker__day-wrapper"
506
- key="2156400"
507
- >
508
- <button
509
- className="lumx-date-picker__month-day"
510
- disabled={false}
511
- onClick={[Function]}
512
- type="button"
513
- >
514
- <span>
515
- 26
516
- </span>
517
- </button>
518
- </div>
519
- <div
520
- className="lumx-date-picker__day-wrapper"
521
- key="2242800"
522
- >
523
- <button
524
- className="lumx-date-picker__month-day"
525
- disabled={false}
526
- onClick={[Function]}
527
- type="button"
528
- >
529
- <span>
530
- 27
531
- </span>
532
- </button>
533
- </div>
534
- <div
535
- className="lumx-date-picker__day-wrapper"
536
- key="2329200"
537
- >
538
- <button
539
- className="lumx-date-picker__month-day"
540
- disabled={false}
541
- onClick={[Function]}
542
- type="button"
543
- >
544
- <span>
545
- 28
546
- </span>
547
- </button>
548
- </div>
549
- <div
550
- className="lumx-date-picker__day-wrapper"
551
- key="2415600"
552
- >
553
- <button
554
- className="lumx-date-picker__month-day"
555
- disabled={false}
556
- onClick={[Function]}
557
- type="button"
558
- >
559
- <span>
560
- 29
561
- </span>
562
- </button>
563
- </div>
564
- <div
565
- className="lumx-date-picker__day-wrapper"
566
- key="2502000"
567
- >
568
- <button
569
- className="lumx-date-picker__month-day"
570
- disabled={false}
571
- onClick={[Function]}
572
- type="button"
573
- >
574
- <span>
575
- 30
576
- </span>
577
- </button>
578
- </div>
579
- <div
580
- className="lumx-date-picker__day-wrapper"
581
- key="2588400"
582
- >
583
- <button
584
- className="lumx-date-picker__month-day"
585
- disabled={false}
586
- onClick={[Function]}
587
- type="button"
588
- >
589
- <span>
590
- 31
591
- </span>
592
- </button>
593
- </div>
594
- </div>
595
- </div>
596
- </div>
597
- `;
@@ -1,43 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<DatePickerField> Snapshots and structure should render correctly 1`] = `
4
- <Fragment>
5
- <TextField
6
- forceFocusStyle={false}
7
- label="DatePickerField"
8
- onChange={[Function]}
9
- onClick={[Function]}
10
- onKeyPress={[Function]}
11
- readOnly={true}
12
- textFieldRef={
13
- {
14
- "current": null,
15
- }
16
- }
17
- theme="light"
18
- type="text"
19
- value="18 janvier 1970"
20
- />
21
- </Fragment>
22
- `;
23
-
24
- exports[`<DatePickerField> Snapshots and structure should render correctly when passed a date object 1`] = `
25
- <Fragment>
26
- <TextField
27
- forceFocusStyle={false}
28
- label="DatePickerField"
29
- onChange={[Function]}
30
- onClick={[Function]}
31
- onKeyPress={[Function]}
32
- readOnly={true}
33
- textFieldRef={
34
- {
35
- "current": null,
36
- }
37
- }
38
- theme="light"
39
- type="text"
40
- value="18 janvier 1970"
41
- />
42
- </Fragment>
43
- `;
@@ -1,9 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Divider> Snapshots and structure should render correctly 1`] = `
4
- <hr
5
- className="lumx-divider lumx-divider--theme-light"
6
- >
7
- Label
8
- </hr>
9
- `;