@dt-dds/react-empty-state 1.0.0-beta.100

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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,924 @@
1
+ # @dt-ui/react-empty-state
2
+
3
+ ## 1.0.0-beta.100
4
+
5
+ ### Patch Changes
6
+
7
+ - @dt-dds/react-button@1.0.0-beta.80
8
+ - @dt-dds/react-link@1.0.0-beta.57
9
+
10
+ ## 1.0.0-beta.99
11
+
12
+ ### Minor Changes
13
+
14
+ - feat: avatar interactivity via icon-button
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @dt-dds/react-link@1.0.0-beta.56
20
+ - @dt-dds/react-button@1.0.0-beta.79
21
+
22
+ ## 1.0.0-beta.98
23
+
24
+ ### Patch Changes
25
+
26
+ - @dt-dds/react-button@1.0.0-beta.78
27
+ - @dt-dds/react-link@1.0.0-beta.55
28
+
29
+ ## 1.0.0-beta.97
30
+
31
+ ### Minor Changes
32
+
33
+ - feat: implement new Dropdown
34
+ - feat: add native attributes to Typography
35
+ - feat: implement new Select field
36
+
37
+ ### Patch Changes
38
+
39
+ - Updated dependencies
40
+ - Updated dependencies
41
+ - Updated dependencies
42
+ - @dt-dds/react-core@1.0.0-beta.51
43
+ - @dt-dds/react-button@1.0.0-beta.77
44
+ - @dt-dds/react-link@1.0.0-beta.54
45
+ - @dt-dds/react-typography@1.0.0-beta.42
46
+
47
+ ## 1.0.0-beta.96
48
+
49
+ ### Patch Changes
50
+
51
+ - refactor: use component size from core
52
+ - Updated dependencies
53
+ - @dt-dds/react-link@1.0.0-beta.53
54
+ - @dt-dds/react-button@1.0.0-beta.76
55
+
56
+ ## 1.0.0-beta.95
57
+
58
+ ### Patch Changes
59
+
60
+ - @dt-dds/react-button@1.0.0-beta.75
61
+ - @dt-dds/react-link@1.0.0-beta.52
62
+
63
+ ## 1.0.0-beta.94
64
+
65
+ ### Patch Changes
66
+
67
+ - @dt-dds/react-button@1.0.0-beta.74
68
+ - @dt-dds/react-link@1.0.0-beta.51
69
+
70
+ ## 1.0.0-beta.93
71
+
72
+ ### Patch Changes
73
+
74
+ - @dt-dds/react-button@1.0.0-beta.73
75
+ - @dt-dds/react-link@1.0.0-beta.50
76
+
77
+ ## 1.0.0-beta.92
78
+
79
+ ### Patch Changes
80
+
81
+ - refactor: spinner style
82
+ - Updated dependencies
83
+ - @dt-dds/react-button@1.0.0-beta.72
84
+ - @dt-dds/react-link@1.0.0-beta.49
85
+
86
+ ## 1.0.0-beta.91
87
+
88
+ ### Patch Changes
89
+
90
+ - @dt-dds/react-button@1.0.0-beta.71
91
+ - @dt-dds/react-link@1.0.0-beta.48
92
+
93
+ ## 1.0.0-beta.90
94
+
95
+ ### Patch Changes
96
+
97
+ - refactor: update empty-state description
98
+ - @dt-dds/react-button@1.0.0-beta.70
99
+ - @dt-dds/react-link@1.0.0-beta.47
100
+
101
+ ## 1.0.0-beta.89
102
+
103
+ ### Patch Changes
104
+
105
+ - @dt-dds/react-button@1.0.0-beta.69
106
+
107
+ ## 1.0.0-beta.88
108
+
109
+ ### Patch Changes
110
+
111
+ - refactor: update empty state
112
+ - @dt-dds/react-button@1.0.0-beta.68
113
+
114
+ ## 1.0.0-beta.87
115
+
116
+ ### Patch Changes
117
+
118
+ - @dt-dds/react-button@1.0.0-beta.67
119
+
120
+ ## 1.0.0-beta.86
121
+
122
+ ### Patch Changes
123
+
124
+ - @dt-dds/react-button@1.0.0-beta.66
125
+
126
+ ## 1.0.0-beta.85
127
+
128
+ ### Patch Changes
129
+
130
+ - @dt-dds/react-button@1.0.0-beta.65
131
+
132
+ ## 1.0.0-beta.84
133
+
134
+ ### Patch Changes
135
+
136
+ - fix: update responsive font styles
137
+ - Updated dependencies
138
+ - @dt-dds/themes@1.0.0-beta.9
139
+ - @dt-dds/react-button@1.0.0-beta.64
140
+ - @dt-dds/react-core@1.0.0-beta.50
141
+ - @dt-dds/react-typography@1.0.0-beta.41
142
+
143
+ ## 1.0.0-beta.83
144
+
145
+ ### Patch Changes
146
+
147
+ - @dt-dds/react-button@1.0.0-beta.63
148
+
149
+ ## 1.0.0-beta.82
150
+
151
+ ### Patch Changes
152
+
153
+ - @dt-dds/react-button@1.0.0-beta.62
154
+
155
+ ## 1.0.0-beta.81
156
+
157
+ ### Patch Changes
158
+
159
+ - @dt-dds/react-button@1.0.0-beta.61
160
+
161
+ ## 1.0.0-beta.80
162
+
163
+ ### Patch Changes
164
+
165
+ - @dt-dds/react-button@1.0.0-beta.60
166
+
167
+ ## 1.0.0-beta.79
168
+
169
+ ### Patch Changes
170
+
171
+ - @dt-dds/react-button@1.0.0-beta.59
172
+
173
+ ## 1.0.0-beta.78
174
+
175
+ ### Patch Changes
176
+
177
+ - @dt-dds/react-button@1.0.0-beta.58
178
+
179
+ ## 1.0.0-beta.77
180
+
181
+ ### Patch Changes
182
+
183
+ - @dt-dds/react-button@1.0.0-beta.57
184
+
185
+ ## 1.0.0-beta.76
186
+
187
+ ### Patch Changes
188
+
189
+ - @dt-dds/react-button@1.0.0-beta.56
190
+
191
+ ## 1.0.0-beta.75
192
+
193
+ ### Minor Changes
194
+
195
+ - feat: add tooltip to action buttons
196
+
197
+ ### Patch Changes
198
+
199
+ - Updated dependencies
200
+ - @dt-dds/react-core@1.0.0-beta.49
201
+ - @dt-dds/react-button@1.0.0-beta.55
202
+ - @dt-dds/react-typography@1.0.0-beta.40
203
+
204
+ ## 1.0.0-beta.74
205
+
206
+ ### Patch Changes
207
+
208
+ - @dt-dds/react-button@1.0.0-beta.54
209
+
210
+ ## 1.0.0-beta.73
211
+
212
+ ### Patch Changes
213
+
214
+ - @dt-dds/react-button@1.0.0-beta.53
215
+
216
+ ## 1.0.0-beta.72
217
+
218
+ ### Patch Changes
219
+
220
+ - @dt-dds/react-button@1.0.0-beta.52
221
+
222
+ ## 1.0.0-beta.71
223
+
224
+ ### Patch Changes
225
+
226
+ - @dt-dds/react-button@1.0.0-beta.51
227
+
228
+ ## 1.0.0-beta.70
229
+
230
+ ### Patch Changes
231
+
232
+ - @dt-dds/react-button@1.0.0-beta.50
233
+
234
+ ## 1.0.0-beta.69
235
+
236
+ ### Patch Changes
237
+
238
+ - chore: update tokens and fix tests
239
+ - Updated dependencies
240
+ - @dt-dds/react-button@1.0.0-beta.49
241
+ - @dt-dds/react-typography@1.0.0-beta.39
242
+ - @dt-dds/themes@1.0.0-beta.8
243
+ - @dt-dds/react-core@1.0.0-beta.48
244
+
245
+ ## 1.0.0-beta.68
246
+
247
+ ### Patch Changes
248
+
249
+ - @dt-dds/react-button@1.0.0-beta.48
250
+
251
+ ## 1.0.0-beta.67
252
+
253
+ ### Patch Changes
254
+
255
+ - chore(dependencies): fix moderate vulnerability
256
+ - Updated dependencies
257
+ - @dt-dds/themes@1.0.0-beta.7
258
+ - @dt-dds/react-button@1.0.0-beta.47
259
+ - @dt-dds/react-core@1.0.0-beta.47
260
+ - @dt-dds/react-typography@1.0.0-beta.38
261
+
262
+ ## 1.0.0-beta.66
263
+
264
+ ### Minor Changes
265
+
266
+ - feat: replace rounded with sharp icons
267
+
268
+ ### Patch Changes
269
+
270
+ - Updated dependencies
271
+ - @dt-dds/themes@1.0.0-beta.6
272
+ - @dt-dds/react-button@1.0.0-beta.46
273
+ - @dt-dds/react-core@1.0.0-beta.46
274
+ - @dt-dds/react-typography@1.0.0-beta.37
275
+
276
+ ## 1.0.0-beta.65
277
+
278
+ ### Patch Changes
279
+
280
+ - chore(dependencies): upgrade builders versions
281
+ - Updated dependencies
282
+ - @dt-dds/react-button@1.0.0-beta.45
283
+ - @dt-dds/react-core@1.0.0-beta.45
284
+ - @dt-dds/react-typography@1.0.0-beta.36
285
+ - @dt-dds/themes@1.0.0-beta.5
286
+
287
+ ## 1.0.0-beta.64
288
+
289
+ ### Patch Changes
290
+
291
+ - refactor(themes): consolidate theme structure
292
+ - Updated dependencies
293
+ - @dt-dds/react-button@1.0.0-beta.44
294
+ - @dt-dds/react-core@1.0.0-beta.44
295
+ - @dt-dds/react-typography@1.0.0-beta.35
296
+ - @dt-dds/themes@1.0.0-beta.4
297
+
298
+ ## 1.0.0-beta.63
299
+
300
+ ### Patch Changes
301
+
302
+ - @dt-dds/react-button@1.0.0-beta.43
303
+
304
+ ## 1.0.0-beta.62
305
+
306
+ ### Patch Changes
307
+
308
+ - fix: button-responsiveness
309
+ - Updated dependencies
310
+ - @dt-dds/react-button@1.0.0-beta.42
311
+
312
+ ## 1.0.0-beta.61
313
+
314
+ ### Minor Changes
315
+
316
+ - feat: add components generator
317
+
318
+ ### Patch Changes
319
+
320
+ - chore: fix test coverage configuration
321
+ - chore: increase themes test coverage
322
+ - chore: fix sonarqube issues
323
+ - Updated dependencies
324
+ - Updated dependencies
325
+ - Updated dependencies
326
+ - Updated dependencies
327
+ - @dt-dds/react-button@1.0.0-beta.41
328
+ - @dt-dds/react-core@1.0.0-beta.43
329
+ - @dt-dds/react-typography@1.0.0-beta.34
330
+ - @dt-dds/themes@1.0.0-beta.3
331
+
332
+ ## 1.0.0-beta.60
333
+
334
+ ### Minor Changes
335
+
336
+ - feat: add new themes package
337
+
338
+ ### Patch Changes
339
+
340
+ - chore: update imports and deps
341
+ - chore: rebase with main branch
342
+ - Updated dependencies
343
+ - Updated dependencies
344
+ - Updated dependencies
345
+ - @dt-dds/react-button@1.0.0-beta.40
346
+ - @dt-dds/react-core@1.0.0-beta.42
347
+ - @dt-dds/react-typography@1.0.0-beta.33
348
+
349
+ ## 1.0.0-beta.59
350
+
351
+ ### Patch Changes
352
+
353
+ - chore: fix publish after npmjs.org pkg unpublish
354
+ - Updated dependencies
355
+ - @dt-dds/react-button@1.0.0-beta.39
356
+
357
+ ## 1.0.0-beta.58
358
+
359
+ ### Major Changes
360
+
361
+ - refactor!: rename pkg and publish to npmjs
362
+
363
+ ### Patch Changes
364
+
365
+ - Updated dependencies
366
+ - @dt-dds/react-button@1.0.0-beta.38
367
+ - @dt-dds/react-core@1.0.0-beta.41
368
+ - @dt-dds/react-typography@1.0.0-beta.32
369
+
370
+ ## 0.1.0-beta.57
371
+
372
+ ### Patch Changes
373
+
374
+ - refactor: theme typography values
375
+ - Updated dependencies
376
+ - @dt-ui/react-core@0.1.0-beta.40
377
+ - @dt-ui/react-button@0.1.0-beta.37
378
+ - @dt-ui/react-typography@0.1.0-beta.31
379
+
380
+ ## 0.1.0-beta.56
381
+
382
+ ### Minor Changes
383
+
384
+ - feat: update shadow theme values
385
+
386
+ ### Patch Changes
387
+
388
+ - Updated dependencies
389
+ - @dt-ui/react-core@0.1.0-beta.39
390
+ - @dt-ui/react-button@0.1.0-beta.36
391
+ - @dt-ui/react-typography@0.1.0-beta.30
392
+
393
+ ## 0.1.0-beta.55
394
+
395
+ ### Patch Changes
396
+
397
+ - chore: update theme font-styles
398
+ - Updated dependencies
399
+ - @dt-ui/react-core@0.1.0-beta.38
400
+ - @dt-ui/react-button@0.1.0-beta.35
401
+ - @dt-ui/react-typography@0.1.0-beta.29
402
+
403
+ ## 0.1.0-beta.54
404
+
405
+ ### Patch Changes
406
+
407
+ - chore: review OSS files
408
+ - Updated dependencies
409
+ - @dt-ui/react-button@0.1.0-beta.34
410
+ - @dt-ui/react-core@0.1.0-beta.37
411
+ - @dt-ui/react-typography@0.1.0-beta.28
412
+
413
+ ## 0.1.0-beta.53
414
+
415
+ ### Minor Changes
416
+
417
+ - feat: add mobile breakpoint for button
418
+
419
+ ### Patch Changes
420
+
421
+ - Updated dependencies
422
+ - @dt-ui/react-button@0.1.0-beta.33
423
+
424
+ ## 0.1.0-beta.52
425
+
426
+ ### Patch Changes
427
+
428
+ - chore: update contextual colors
429
+ - Updated dependencies
430
+ - @dt-ui/react-button@0.1.0-beta.32
431
+ - @dt-ui/react-core@0.1.0-beta.36
432
+ - @dt-ui/react-typography@0.1.0-beta.27
433
+
434
+ ## 0.1.0-beta.51
435
+
436
+ ### Patch Changes
437
+
438
+ - fix: change content.light contextual color
439
+ - Updated dependencies
440
+ - @dt-ui/react-core@0.1.0-beta.35
441
+ - @dt-ui/react-button@0.1.0-beta.31
442
+ - @dt-ui/react-typography@0.1.0-beta.26
443
+
444
+ ## 0.1.0-beta.50
445
+
446
+ ### Minor Changes
447
+
448
+ - feat: move icon-button to independent
449
+
450
+ ### Patch Changes
451
+
452
+ - fix: reduce button height
453
+ - Updated dependencies
454
+ - @dt-ui/react-button@0.1.0-beta.30
455
+
456
+ ## 0.1.0-beta.49
457
+
458
+ ### Patch Changes
459
+
460
+ - fix: add accent to colors type
461
+ - Updated dependencies
462
+ - @dt-ui/react-core@0.1.0-beta.34
463
+ - @dt-ui/react-button@0.1.0-beta.29
464
+ - @dt-ui/react-typography@0.1.0-beta.25
465
+
466
+ ## 0.1.0-beta.48
467
+
468
+ ### Patch Changes
469
+
470
+ - fix: button styles
471
+ - Updated dependencies
472
+ - @dt-ui/react-button@0.1.0-beta.28
473
+
474
+ ## 0.1.0-beta.47
475
+
476
+ ### Patch Changes
477
+
478
+ - fix: change button text according to ux
479
+ - Updated dependencies
480
+ - @dt-ui/react-button@0.1.0-beta.27
481
+ - @dt-ui/react-core@0.1.0-beta.33
482
+ - @dt-ui/react-typography@0.1.0-beta.24
483
+
484
+ ## 0.1.0-beta.46
485
+
486
+ ### Patch Changes
487
+
488
+ - fix: change button styles
489
+ - Updated dependencies
490
+ - @dt-ui/react-button@0.1.0-beta.26
491
+
492
+ ## 0.1.0-beta.45
493
+
494
+ ### Patch Changes
495
+
496
+ - chore: update contexual colors
497
+ - Updated dependencies
498
+ - @dt-ui/react-button@0.1.0-beta.25
499
+ - @dt-ui/react-core@0.1.0-beta.32
500
+ - @dt-ui/react-typography@0.1.0-beta.23
501
+
502
+ ## 0.1.0-beta.44
503
+
504
+ ### Patch Changes
505
+
506
+ - fix: button loading responsiveness
507
+ - refactor: avoid centring spinner
508
+ - Updated dependencies
509
+ - Updated dependencies
510
+ - @dt-ui/react-button@0.1.0-beta.24
511
+
512
+ ## 0.1.0-beta.43
513
+
514
+ ### Patch Changes
515
+
516
+ - style: update responsive font styles
517
+ - Updated dependencies
518
+ - @dt-ui/react-core@0.1.0-beta.31
519
+ - @dt-ui/react-button@0.1.0-beta.23
520
+ - @dt-ui/react-typography@0.1.0-beta.22
521
+
522
+ ## 0.1.0-beta.42
523
+
524
+ ### Minor Changes
525
+
526
+ - feat: add accent color to button appearance
527
+ - feat: add spinner size 'extra-small' & update specs
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies
532
+ - Updated dependencies
533
+ - @dt-ui/react-button@0.1.0-beta.22
534
+ - @dt-ui/react-core@0.1.0-beta.30
535
+ - @dt-ui/react-typography@0.1.0-beta.21
536
+
537
+ ## 0.1.0-beta.41
538
+
539
+ ### Patch Changes
540
+
541
+ - chore: add theme breakpoints
542
+ - Updated dependencies
543
+ - @dt-ui/react-core@0.1.0-beta.29
544
+ - @dt-ui/react-button@0.1.0-beta.21
545
+ - @dt-ui/react-typography@0.1.0-beta.20
546
+
547
+ ## 0.1.0-beta.40
548
+
549
+ ### Patch Changes
550
+
551
+ - fix(button-styles): update :disabled colors
552
+ - Updated dependencies
553
+ - @dt-ui/react-button@0.1.0-beta.20
554
+
555
+ ## 0.1.0-beta.39
556
+
557
+ ### Minor Changes
558
+
559
+ - feat: add id to base props
560
+
561
+ ### Patch Changes
562
+
563
+ - Updated dependencies
564
+ - @dt-ui/react-core@0.1.0-beta.28
565
+ - @dt-ui/react-typography@0.1.0-beta.19
566
+ - @dt-ui/react-button@0.1.0-beta.19
567
+
568
+ ## 0.1.0-beta.38
569
+
570
+ ### Minor Changes
571
+
572
+ - feat: change breakpoints values
573
+
574
+ ### Patch Changes
575
+
576
+ - Updated dependencies
577
+ - @dt-ui/react-button@0.1.0-beta.18
578
+ - @dt-ui/react-core@0.1.0-beta.27
579
+ - @dt-ui/react-typography@0.1.0-beta.18
580
+
581
+ ## 0.1.0-beta.37
582
+
583
+ ### Patch Changes
584
+
585
+ - fix: replace body to correct one
586
+ - Updated dependencies
587
+ - @dt-ui/react-core@0.1.0-beta.26
588
+ - @dt-ui/react-button@0.1.0-beta.17
589
+ - @dt-ui/react-typography@0.1.0-beta.17
590
+
591
+ ## 0.1.0-beta.36
592
+
593
+ ### Patch Changes
594
+
595
+ - chore: add theme colors missing types
596
+ - Updated dependencies
597
+ - @dt-ui/react-core@0.1.0-beta.25
598
+ - @dt-ui/react-button@0.1.0-beta.16
599
+ - @dt-ui/react-typography@0.1.0-beta.16
600
+
601
+ ## 0.1.0-beta.35
602
+
603
+ ### Patch Changes
604
+
605
+ - refactor: drop truckapi theme
606
+ - Updated dependencies
607
+ - @dt-ui/react-core@0.1.0-beta.24
608
+ - @dt-ui/react-button@0.1.0-beta.15
609
+ - @dt-ui/react-typography@0.1.0-beta.15
610
+
611
+ ## 0.1.0-beta.34
612
+
613
+ ### Minor Changes
614
+
615
+ - feat: update core and semantic colors
616
+ - feat: remove greenlane theme
617
+
618
+ ### Patch Changes
619
+
620
+ - Updated dependencies
621
+ - Updated dependencies
622
+ - @dt-ui/react-button@0.1.0-beta.14
623
+ - @dt-ui/react-core@0.1.0-beta.23
624
+ - @dt-ui/react-typography@0.1.0-beta.14
625
+
626
+ ## 0.1.0-beta.33
627
+
628
+ ### Minor Changes
629
+
630
+ - feat: add icon option for truckapi theme
631
+
632
+ ### Patch Changes
633
+
634
+ - Updated dependencies
635
+ - @dt-ui/react-core@0.1.0-beta.22
636
+ - @dt-ui/react-button@0.1.0-beta.13
637
+ - @dt-ui/react-typography@0.1.0-beta.13
638
+
639
+ ## 0.1.0-beta.32
640
+
641
+ ### Patch Changes
642
+
643
+ - fix: tooltip z index
644
+ - Updated dependencies
645
+ - @dt-ui/react-core@0.1.0-beta.21
646
+ - @dt-ui/react-button@0.1.0-beta.12
647
+ - @dt-ui/react-typography@0.1.0-beta.12
648
+
649
+ ## 0.1.0-beta.31
650
+
651
+ ### Minor Changes
652
+
653
+ - feat: add segmented control component
654
+
655
+ ### Patch Changes
656
+
657
+ - Updated dependencies
658
+ - @dt-ui/react-core@0.1.0-beta.20
659
+ - @dt-ui/react-button@0.1.0-beta.11
660
+ - @dt-ui/react-typography@0.1.0-beta.11
661
+
662
+ ## 0.1.0-beta.30
663
+
664
+ ### Patch Changes
665
+
666
+ - fix: add shape for tooltip on truckapi theme
667
+ - Updated dependencies
668
+ - @dt-ui/react-core@0.1.0-beta.19
669
+ - @dt-ui/react-button@0.1.0-beta.10
670
+ - @dt-ui/react-typography@0.1.0-beta.10
671
+
672
+ ## 0.1.0-beta.29
673
+
674
+ ### Patch Changes
675
+
676
+ - fix: remove devDependecy export
677
+ - Updated dependencies
678
+ - @dt-ui/react-core@0.1.0-beta.18
679
+ - @dt-ui/react-button@0.1.0-beta.9
680
+ - @dt-ui/react-typography@0.1.0-beta.9
681
+
682
+ ## 0.1.0-beta.28
683
+
684
+ ### Patch Changes
685
+
686
+ - test: add test custom render
687
+ - Updated dependencies
688
+ - @dt-ui/react-core@0.1.0-beta.17
689
+ - @dt-ui/react-button@0.1.0-beta.8
690
+ - @dt-ui/react-typography@0.1.0-beta.8
691
+
692
+ ## 0.1.0-beta.27
693
+
694
+ ### Minor Changes
695
+
696
+ - feat: create select
697
+
698
+ ### Patch Changes
699
+
700
+ - Updated dependencies
701
+ - @dt-ui/react-core@0.1.0-beta.16
702
+ - @dt-ui/react-button@0.1.0-beta.7
703
+ - @dt-ui/react-typography@0.1.0-beta.7
704
+
705
+ ## 0.1.0-beta.26
706
+
707
+ ### Patch Changes
708
+
709
+ - fix: show shadows only when scroll is visible
710
+ - Updated dependencies
711
+ - @dt-ui/react-core@0.1.0-beta.15
712
+ - @dt-ui/react-button@0.1.0-beta.6
713
+ - @dt-ui/react-typography@0.1.0-beta.6
714
+
715
+ ## 0.1.0-beta.25
716
+
717
+ ### Patch Changes
718
+
719
+ - fix: update border radius theme specifications
720
+ - Updated dependencies
721
+ - @dt-ui/react-core@0.1.0-beta.14
722
+ - @dt-ui/react-button@0.1.0-beta.5
723
+ - @dt-ui/react-typography@0.1.0-beta.5
724
+
725
+ ## 0.1.0-beta.24
726
+
727
+ ### Patch Changes
728
+
729
+ - fix: change the default type of button
730
+ - Updated dependencies
731
+ - @dt-ui/react-button@0.1.0-beta.4
732
+
733
+ ## 0.1.0-beta.23
734
+
735
+ ### Patch Changes
736
+
737
+ - fix: match accordion design
738
+ - Updated dependencies
739
+ - @dt-ui/react-core@0.1.0-beta.13
740
+ - @dt-ui/react-button@0.1.0-beta.3
741
+ - @dt-ui/react-typography@0.1.0-beta.4
742
+
743
+ ## 0.1.0-beta.22
744
+
745
+ ### Minor Changes
746
+
747
+ - feat: add button contrast style
748
+
749
+ ### Patch Changes
750
+
751
+ - Updated dependencies
752
+ - @dt-ui/react-button@0.1.0-beta.2
753
+
754
+ ## 0.1.0-beta.21
755
+
756
+ ### Patch Changes
757
+
758
+ - chore: make Button component independent
759
+ - Updated dependencies
760
+ - @dt-ui/react-button@0.1.0-beta.1
761
+
762
+ ## 0.1.0-beta.20
763
+
764
+ ### Patch Changes
765
+
766
+ - fix: make icons an optional property in theme
767
+ - Updated dependencies
768
+ - @dt-ui/react-core@0.1.0-beta.12
769
+ - @dt-ui/react-typography@0.1.0-beta.3
770
+
771
+ ## 0.1.0-beta.19
772
+
773
+ ### Patch Changes
774
+
775
+ - refactor: extract text-field to new package with greenlane theme
776
+ - Updated dependencies
777
+ - @dt-ui/react-core@0.1.0-beta.11
778
+ - @dt-ui/react-typography@0.1.0-beta.2
779
+
780
+ ## 0.1.0-beta.18
781
+
782
+ ### Patch Changes
783
+
784
+ - chore: make Typography component independent
785
+ - Updated dependencies
786
+ - @dt-ui/react-typography@0.1.0-beta.1
787
+
788
+ ## 0.1.0-beta.17
789
+
790
+ ### Patch Changes
791
+
792
+ - refactor: move and refactor checkbox refactor checkbox according to design
793
+ - Updated dependencies
794
+ - @dt-ui/react-core@0.1.0-beta.10
795
+
796
+ ## 0.1.0-beta.16
797
+
798
+ ### Patch Changes
799
+
800
+ - fix(icons): export css and update imports on deps
801
+ - Updated dependencies
802
+ - @dt-ui/react-core@0.1.0-beta.9
803
+
804
+ ## 0.1.0-beta.15
805
+
806
+ ### Patch Changes
807
+
808
+ - chore: update component generator and lint fixes
809
+
810
+ ## 0.1.0-beta.14
811
+
812
+ ### Patch Changes
813
+
814
+ - chore: move util functions to the core
815
+ - Updated dependencies
816
+ - @dt-ui/react-core@0.1.0-beta.8
817
+
818
+ ## 0.1.0-beta.13
819
+
820
+ ### Minor Changes
821
+
822
+ - feat: add contextual color add content tertiary to palette
823
+
824
+ ### Patch Changes
825
+
826
+ - Updated dependencies
827
+ - @dt-ui/react-core@0.1.0-beta.7
828
+
829
+ ## 0.1.0-beta.12
830
+
831
+ ### Minor Changes
832
+
833
+ - feat: create Icons package
834
+ - feat: add icons to theme Provider
835
+
836
+ ### Patch Changes
837
+
838
+ - Updated dependencies
839
+ - Updated dependencies
840
+ - @dt-ui/react-core@0.1.0-beta.6
841
+
842
+ ## 0.1.0-beta.11
843
+
844
+ ### Minor Changes
845
+
846
+ - feat: create TruckAPI theme and update default
847
+
848
+ ### Patch Changes
849
+
850
+ - Updated dependencies
851
+ - @dt-ui/react-core@0.1.0-beta.5
852
+
853
+ ## 0.1.0-beta.10
854
+
855
+ ### Minor Changes
856
+
857
+ - feat: update contextual color to follow figma spec
858
+
859
+ ### Patch Changes
860
+
861
+ - Updated dependencies
862
+ - @dt-ui/react-core@0.1.0-beta.4
863
+
864
+ ## 0.1.0-beta.9
865
+
866
+ ### Minor Changes
867
+
868
+ - feat: review Message designs based on designs
869
+
870
+ ### Patch Changes
871
+
872
+ - fix: move react-core to main dependencies
873
+ - Updated dependencies
874
+ - @dt-ui/react-core@0.1.0-beta.3
875
+
876
+ ## 0.1.0-beta.8
877
+
878
+ ### Patch Changes
879
+
880
+ - chore: migrate jest setup file to jest package
881
+ - chore: migrate jest configuration to typescript
882
+
883
+ ## 0.1.0-beta.7
884
+
885
+ ### Patch Changes
886
+
887
+ - chore: create core package
888
+
889
+ ## 0.1.0-beta.6
890
+
891
+ ### Patch Changes
892
+
893
+ - refactor: change storybook template names to default
894
+
895
+ ## 0.1.0-beta.5
896
+
897
+ ### Patch Changes
898
+
899
+ - refactor: update story files
900
+
901
+ ## 0.1.0-beta.4
902
+
903
+ ### Patch Changes
904
+
905
+ - refactor: update dt-ui to use contextual colors
906
+
907
+ ## 0.1.0-beta.3
908
+
909
+ ### Patch Changes
910
+
911
+ - fix: update typography sizes and text-trasnform
912
+ - fix: remove isUppercased prop from button
913
+
914
+ ## 0.1.0-beta.2
915
+
916
+ ### Patch Changes
917
+
918
+ - refactor: add style and dataTestId props to EmptyState
919
+
920
+ ## 0.1.0-beta.1
921
+
922
+ ### Patch Changes
923
+
924
+ - chore: make empty-state an independent package
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Daimler Truck AG.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # EmptyState Package
2
+
3
+ This package fills the width of the container where is placed and its height varies depending on the content in it.
4
+ The usage of this package is to show a message to the user when there is no data to display.
5
+ Furthermore, it can be used to show additional information like a button, a link or an image as children.
6
+
7
+ ## Usage
8
+
9
+ ```jsx
10
+ import { EmptyState } from '@dt-dds/react';
11
+
12
+ export const App = () => {
13
+ const title = 'Some Title';
14
+ const description = 'Some Description';
15
+
16
+ return (
17
+ <EmptyState>
18
+ <img />
19
+ <EmptyState.Content title={title} description={description} />
20
+ <Button onClick={() => {}} variant='solid'>
21
+ Action
22
+ </Button>
23
+ </EmptyState>
24
+ );
25
+ };
26
+ ```
27
+
28
+ ## API
29
+
30
+ ### EmptyState
31
+
32
+ | Property | Type | Default | Description |
33
+ | ------------ | --------------------- | --------------- | ------------------------------------------------- |
34
+ | `children` | `ReactNode` | - | Child components to be rendered. |
35
+ | `dataTestId` | `string` | `'empty-state'` | Customizable test identifier. |
36
+ | `style` | `React.CSSProperties` | - | Gives the EmptyState some specific css properties |
37
+
38
+ ### EmptyState.Content
39
+
40
+ | Property | Type | Default | Description |
41
+ | ------------- | --------------------- | ----------------------- | -------------------------------------------------------------------------- |
42
+ | `dataTestId` | `string` | `'empty-state-content'` | Customizable test identifier. |
43
+ | `style` | `React.CSSProperties` | - | Gives the EmptyState Content some specific css properties |
44
+ | `title` | `string` | - | Text to be presented as Title within the Empty State. |
45
+ | `description` | `ReactNode` | - | Text/Custom element to be presented as Description within the Empty State. |
46
+
47
+ ### Stack
48
+
49
+ - [TypeScript](https://www.typescriptlang.org/) for static type checking
50
+ - [React](https://reactjs.org/) — JavaScript library for user interfaces
51
+ - [Emotion](https://emotion.sh/docs/introduction) — for writing css styles with JavaScript
52
+ - [Storybook](https://storybook.js.org/) — UI component environment powered by Vite
53
+ - [Jest](https://jestjs.io/) - JavaScript Testing Framework
54
+ - [React Testing Library](https://testing-library.com/) - to test UI components in a user-centric way
55
+ - [ESLint](https://eslint.org/) for code linting
56
+ - [Prettier](https://prettier.io) for code formatting
57
+ - [Tsup](https://github.com/egoist/tsup) — TypeScript bundler powered by esbuild
58
+ - [Yarn](https://yarnpkg.com/) from managing packages
59
+
60
+ ### Commands
61
+
62
+ - `yarn build` - Build the package
63
+ - `yarn dev` - Run the package locally
64
+ - `yarn lint` - Lint all files within this package
65
+ - `yarn test` - Run all unit tests
66
+ - `yarn test:report` - Open the test coverage report
67
+ - `yarn test:update:snapshot` - Run all unit tests and update the snapshot
68
+
69
+ ### Compilation
70
+
71
+ Running `yarn build` from the root of the package will use [tsup](https://tsup.egoist.dev/) to compile the raw TypeScript and React code to plain JavaScript.
72
+
73
+ The `/dist` folder contains the compiled output.
74
+
75
+ ```bash
76
+ empty-state
77
+ └── dist
78
+ ├── index.d.ts <-- Types
79
+ ├── index.js <-- CommonJS version
80
+ └── index.mjs <-- ES Modules version
81
+ ...
82
+ ```
83
+
84
+ ### Versioning
85
+
86
+ Follows [semantic versioning](https://semver.org/)
87
+
88
+ ## &copy; License
89
+
90
+ Licensed under [MIT License](LICENSE.md)
@@ -0,0 +1,20 @@
1
+ import { CustomTheme } from '@dt-dds/themes';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { BaseProps } from '@dt-dds/react-core';
4
+ import { ReactNode } from 'react';
5
+
6
+ interface EmptyStateContentProps extends Omit<BaseProps, 'children'> {
7
+ title: string;
8
+ description: ReactNode;
9
+ }
10
+ declare const EmptyState: {
11
+ ({ children, dataTestId, style }: BaseProps): react_jsx_runtime.JSX.Element;
12
+ Content({ dataTestId, style, title, description, }: EmptyStateContentProps): react_jsx_runtime.JSX.Element;
13
+ };
14
+
15
+ declare module '@emotion/react' {
16
+ interface Theme extends CustomTheme {
17
+ }
18
+ }
19
+
20
+ export { EmptyState, type EmptyStateContentProps };
@@ -0,0 +1,20 @@
1
+ import { CustomTheme } from '@dt-dds/themes';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { BaseProps } from '@dt-dds/react-core';
4
+ import { ReactNode } from 'react';
5
+
6
+ interface EmptyStateContentProps extends Omit<BaseProps, 'children'> {
7
+ title: string;
8
+ description: ReactNode;
9
+ }
10
+ declare const EmptyState: {
11
+ ({ children, dataTestId, style }: BaseProps): react_jsx_runtime.JSX.Element;
12
+ Content({ dataTestId, style, title, description, }: EmptyStateContentProps): react_jsx_runtime.JSX.Element;
13
+ };
14
+
15
+ declare module '@emotion/react' {
16
+ interface Theme extends CustomTheme {
17
+ }
18
+ }
19
+
20
+ export { EmptyState, type EmptyStateContentProps };
package/dist/index.js ADDED
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // index.ts
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ EmptyState: () => EmptyState
34
+ });
35
+ module.exports = __toCommonJS(index_exports);
36
+
37
+ // src/EmptyState.tsx
38
+ var import_react_typography = require("@dt-dds/react-typography");
39
+
40
+ // src/EmptyState.styled.ts
41
+ var import_styled = __toESM(require("@emotion/styled"));
42
+ var EmptyStateStyled = import_styled.default.div`
43
+ ${({ theme }) => `
44
+ padding: ${theme.spacing.l} ${theme.spacing.s};
45
+ background-color: ${theme.palette.surface.light};
46
+ flex-direction: column;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ border-radius: ${theme.shape.emptyState};
51
+ border: 1px dashed ${theme.palette.border.default};
52
+ width: 100%;
53
+ height: 100%;
54
+ gap: ${theme.spacing.xs};
55
+
56
+ @media only screen and (min-width: ${theme.breakpoints.mq3}px) {
57
+ padding: ${theme.spacing.spacing_200} ${theme.spacing.spacing_500};
58
+ }
59
+ `}
60
+ `;
61
+ var EmptyStateContentStyled = import_styled.default.div`
62
+ flex-direction: column;
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ text-align: center;
67
+ ${({ theme }) => `
68
+ gap: ${theme.spacing.spacing_30};
69
+
70
+ @media only screen and (min-width: ${theme.breakpoints.mq3}px) {
71
+ gap: ${theme.spacing.spacing_40};
72
+ }
73
+ `}
74
+ `;
75
+
76
+ // src/EmptyState.tsx
77
+ var import_jsx_runtime = require("react/jsx-runtime");
78
+ var EmptyState = ({ children, dataTestId, style }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyStateStyled, { "data-testid": dataTestId != null ? dataTestId : "empty-state", style, children });
79
+ EmptyState.Content = ({
80
+ dataTestId,
81
+ style,
82
+ title,
83
+ description
84
+ }) => {
85
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
86
+ EmptyStateContentStyled,
87
+ {
88
+ "data-testid": dataTestId != null ? dataTestId : "empty-state-content",
89
+ style,
90
+ children: [
91
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_typography.Typography, { color: "content.dark", element: "h2", fontStyles: "h4Bold", children: title }),
92
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_typography.Typography, { color: "content.default", fontStyles: "bodyMdRegular", children: description })
93
+ ]
94
+ }
95
+ );
96
+ };
97
+ // Annotate the CommonJS export names for ESM import in node:
98
+ 0 && (module.exports = {
99
+ EmptyState
100
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,63 @@
1
+ // src/EmptyState.tsx
2
+ import { Typography } from "@dt-dds/react-typography";
3
+
4
+ // src/EmptyState.styled.ts
5
+ import styled from "@emotion/styled";
6
+ var EmptyStateStyled = styled.div`
7
+ ${({ theme }) => `
8
+ padding: ${theme.spacing.l} ${theme.spacing.s};
9
+ background-color: ${theme.palette.surface.light};
10
+ flex-direction: column;
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ border-radius: ${theme.shape.emptyState};
15
+ border: 1px dashed ${theme.palette.border.default};
16
+ width: 100%;
17
+ height: 100%;
18
+ gap: ${theme.spacing.xs};
19
+
20
+ @media only screen and (min-width: ${theme.breakpoints.mq3}px) {
21
+ padding: ${theme.spacing.spacing_200} ${theme.spacing.spacing_500};
22
+ }
23
+ `}
24
+ `;
25
+ var EmptyStateContentStyled = styled.div`
26
+ flex-direction: column;
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ text-align: center;
31
+ ${({ theme }) => `
32
+ gap: ${theme.spacing.spacing_30};
33
+
34
+ @media only screen and (min-width: ${theme.breakpoints.mq3}px) {
35
+ gap: ${theme.spacing.spacing_40};
36
+ }
37
+ `}
38
+ `;
39
+
40
+ // src/EmptyState.tsx
41
+ import { jsx, jsxs } from "react/jsx-runtime";
42
+ var EmptyState = ({ children, dataTestId, style }) => /* @__PURE__ */ jsx(EmptyStateStyled, { "data-testid": dataTestId != null ? dataTestId : "empty-state", style, children });
43
+ EmptyState.Content = ({
44
+ dataTestId,
45
+ style,
46
+ title,
47
+ description
48
+ }) => {
49
+ return /* @__PURE__ */ jsxs(
50
+ EmptyStateContentStyled,
51
+ {
52
+ "data-testid": dataTestId != null ? dataTestId : "empty-state-content",
53
+ style,
54
+ children: [
55
+ /* @__PURE__ */ jsx(Typography, { color: "content.dark", element: "h2", fontStyles: "h4Bold", children: title }),
56
+ /* @__PURE__ */ jsx(Typography, { color: "content.default", fontStyles: "bodyMdRegular", children: description })
57
+ ]
58
+ }
59
+ );
60
+ };
61
+ export {
62
+ EmptyState
63
+ };
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@dt-dds/react-empty-state",
3
+ "version": "1.0.0-beta.100",
4
+ "license": "MIT",
5
+ "exports": {
6
+ ".": "./dist/index.js"
7
+ },
8
+ "main": "./dist/index.js",
9
+ "module": "./dist/index.mjs",
10
+ "types": "./dist/index.d.ts",
11
+ "files": [
12
+ "dist/**"
13
+ ],
14
+ "scripts": {
15
+ "build": "tsup",
16
+ "dev": "tsup --watch",
17
+ "lint": "eslint --cache .",
18
+ "test": "jest",
19
+ "test:report": "open ./jest-coverage/lcov-report/index.html",
20
+ "test:update:snapshot": "jest -u"
21
+ },
22
+ "dependencies": {
23
+ "@dt-dds/react-button": "1.0.0-beta.80",
24
+ "@dt-dds/react-core": "1.0.0-beta.51",
25
+ "@dt-dds/react-typography": "1.0.0-beta.42",
26
+ "@dt-dds/themes": "1.0.0-beta.9",
27
+ "@dt-dds/react-link": "1.0.0-beta.57"
28
+ },
29
+ "devDependencies": {
30
+ "@babel/core": "^7.22.9",
31
+ "@babel/preset-env": "^7.22.9",
32
+ "@babel/preset-react": "^7.22.5",
33
+ "@babel/preset-typescript": "^7.23.3",
34
+ "@emotion/babel-plugin": "^11.11.0",
35
+ "@emotion/css": "^11.7.1",
36
+ "@emotion/jest": "^11.10.0",
37
+ "@emotion/react": "^11.8.2",
38
+ "@emotion/styled": "^11.8.1",
39
+ "@types/react": "^18.0.9",
40
+ "@types/react-dom": "^18.0.4",
41
+ "babel-loader": "^8.3.0",
42
+ "eslint-config-custom": "*",
43
+ "eslint-plugin-storybook": "^9.1.0",
44
+ "jest-config": "*",
45
+ "react": "^18.1.0",
46
+ "react-dom": "^18.2.0",
47
+ "tsconfig": "*",
48
+ "tsup": "^8.5.0",
49
+ "typescript": "^4.5.3"
50
+ },
51
+ "peerDependencies": {
52
+ "@emotion/css": "^11.7.1",
53
+ "@emotion/react": "^11.8.2",
54
+ "@emotion/styled": "^11.8.1",
55
+ "react": ">=17.0.2",
56
+ "react-dom": ">=17.0.2"
57
+ }
58
+ }