-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathArtist.test.tsx.snap
More file actions
3366 lines (3363 loc) · 137 KB
/
Copy pathArtist.test.tsx.snap
File metadata and controls
3366 lines (3363 loc) · 137 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`Artist view > with bio provider > (Snapshot) renders the artist view 1`] = `
<DocumentFragment>
<div
class="grid h-screen w-screen grid-rows-[auto_1fr_auto] overflow-hidden"
>
<div>
<header
class="bg-background-secondary border-border grid h-12 grid-cols-[1fr_4fr_1fr] items-center gap-2 border-b-(length:--border-width) px-3 select-none"
data-tauri-drag-region="true"
>
<div
class="flex flex-row items-center gap-4"
>
<div
class="flex items-center"
>
<span
class="ml-0.5 dark:hidden"
>
<svg
class="h-6 w-6"
height="100"
id="svg2"
viewBox="0 0 99.999998 100"
width="100"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
>
<defs
id="defs2"
/>
<path
d="M 49.999997,5.5078125e-6 C 10.000227,5.5078125e-6 -2.8686701e-6,10.000046 -2.8686701e-6,50.000006 -2.8686701e-6,89.999966 10.000227,100.00001 49.999997,100.00001 c 39.99977,0 50,-10.000044 50,-50.000004 0,-39.99996 -10.00023,-50.0000004921875 -50,-50.0000004921875 z M 29.999997,23.599616 h 40 l -20,26.40039 h 40 l -20,26.40039 -20,-26.40039 -20,26.40039 L 9.9999971,50.000006 H 49.999997 Z"
id="path1"
style="fill: #000000; stroke-width: 0.999999;"
/>
</svg>
</span>
<span
class="ml-0.5 hidden dark:block!"
>
<svg
class="h-6 w-6"
height="100"
id="svg2"
viewBox="0 0 99.999998 100"
width="100"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
>
<defs
id="defs2"
/>
<path
d="M 50,0 C 10.00023,0 0,10.00004 0,50 0,89.99996 10.00023,100 50,100 89.99977,100 100,89.99996 100,50 100,10.00004 89.99977,0 50,0 Z M 30,23.59961 H 70 L 50,50 H 90 L 70,76.40039 50,50 30,76.40039 10,50 h 40 z"
id="path1"
style="fill: #ffffff; fill-opacity: 1; stroke-width: 0.999999;"
/>
</svg>
</span>
</div>
<div
class="flex flex-row items-center gap-2"
>
<button
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-8 justify-center"
data-headlessui-state=""
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-chevron-left"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m15 18-6-6 6-6"
/>
</svg>
</button>
<button
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-8 justify-center"
data-disabled=""
data-headlessui-state="disabled"
disabled=""
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-chevron-right"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m9 18 6-6-6-6"
/>
</svg>
</button>
</div>
</div>
<div
class="flex w-full flex-col gap-2"
>
<input
class="border-border text-foreground placeholder:text-foreground-secondary w-full px-3 transition-colors focus-visible:ring-2 focus-visible:ring-black focus-visible:ring-offset-2 focus-visible:outline-none bg-background rounded-md border-(length:--border-width) h-8"
data-headlessui-state=""
data-testid="search-box"
id="input-:r0:"
placeholder="Search"
type="text"
value="test artist"
/>
</div>
<div
class="flex flex-row items-center justify-end gap-2"
>
<button
aria-checked="false"
aria-label="Toggle theme"
class="border-border relative inline-flex h-6 w-11 cursor-pointer items-center rounded-full border-(length:--border-width) transition-all focus:ring-2 focus:ring-black focus:ring-offset-2 focus:outline-none data-checked:bg-primary bg-white data-disabled:cursor-not-allowed data-disabled:opacity-50 group justify-self-end"
data-headlessui-state=""
id="headlessui-switch-:r2:"
role="switch"
tabindex="0"
type="button"
>
<span
class="border-border pointer-events-none flex h-4 w-4 items-center justify-center rounded-full border-(length:--border-width) bg-white ring-0 transition-transform [&>svg]:fill-white dark:[&>svg]:fill-black translate-x-1 group-data-checked:translate-x-5"
>
<svg
aria-hidden="true"
class="lucide lucide-sun text-foreground"
fill="none"
height="12"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="12"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="4"
/>
<path
d="M12 2v2"
/>
<path
d="M12 20v2"
/>
<path
d="m4.93 4.93 1.41 1.41"
/>
<path
d="m17.66 17.66 1.41 1.41"
/>
<path
d="M2 12h2"
/>
<path
d="M20 12h2"
/>
<path
d="m6.34 17.66-1.41 1.41"
/>
<path
d="m19.07 4.93-1.41 1.41"
/>
</svg>
</span>
</button>
</div>
</header>
</div>
<div
class="bg-background-secondary relative grid h-full min-h-0 grid-cols-[auto_1fr_auto]"
>
<div
animate="[object Object]"
class="bg-background-secondary border-border relative flex flex-col overflow-hidden border-r-(length:--border-width) p-2"
transition="[object Object]"
>
<span
class="mb-4 flex flex-row items-center justify-end"
>
<button
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-10 justify-center top-2 px-2 right-1"
data-headlessui-state=""
data-testid="sidebar-toggle-left"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-panel-left"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="18"
rx="2"
width="18"
x="3"
y="3"
/>
<path
d="M9 3v18"
/>
</svg>
</button>
</span>
<div
class="flex flex-1 flex-col overflow-hidden"
>
<div
class="flex flex-1 flex-col"
data-testid="sidebar-navigation"
>
<div
class="flex flex-1 flex-col gap-2 overflow-y-auto"
>
<a
href="/dashboard"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-gauge"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m12 14 4-4"
/>
<path
d="M3.34 19a10 10 0 1 1 17.32 0"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Dashboard
</span>
</div>
</div>
</a>
<a
href="/favorites/albums"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-disc"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="10"
/>
<circle
cx="12"
cy="12"
r="2"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Favorite albums
</span>
</div>
</div>
</a>
<a
href="/favorites/tracks"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-music"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9 18V5l12-2v13"
/>
<circle
cx="6"
cy="18"
r="3"
/>
<circle
cx="18"
cy="16"
r="3"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Favorite tracks
</span>
</div>
</div>
</a>
<a
href="/favorites/artists"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-user"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"
/>
<circle
cx="12"
cy="7"
r="4"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Favorite artists
</span>
</div>
</div>
</a>
<a
href="/playlists"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-list-music"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M21 15V6"
/>
<path
d="M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"
/>
<path
d="M12 12H3"
/>
<path
d="M16 6H3"
/>
<path
d="M12 18H3"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Playlists
</span>
</div>
</div>
</a>
<a
href="/sources"
>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-cable"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M17 19a1 1 0 0 1-1-1v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2a1 1 0 0 1-1 1z"
/>
<path
d="M17 21v-2"
/>
<path
d="M19 14V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V10"
/>
<path
d="M21 21v-2"
/>
<path
d="M3 5V3"
/>
<path
d="M4 10a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2a2 2 0 0 1-2 2z"
/>
<path
d="M7 5V3"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Sources
</span>
</div>
</div>
</a>
</div>
<div>
<div
class="flex w-full items-center overflow-hidden rounded-md border-(length:--border-width) cursor-pointer hover:bg-background-secondary border-transparent"
data-testid="sidebar-navigation-item"
role="button"
>
<div
class="flex size-8 shrink-0 items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-settings"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"
/>
<circle
cx="12"
cy="12"
r="3"
/>
</svg>
</div>
<span
class="text-sm whitespace-nowrap transition-opacity duration-150 opacity-100"
>
Preferences
</span>
</div>
</div>
</div>
</div>
<div
class="absolute top-0 bottom-0 w-1 cursor-col-resize transition-colors right-0"
/>
</div>
<main
class="bg-background-secondary overflow-auto"
data-testid="player-workspace-main"
>
<div
class="relative h-full w-full overflow-hidden"
>
<div
animate="center"
class="absolute inset-0 h-full w-full"
exit="exit"
initial="enter"
transition="[object Object]"
>
<div
class="relative h-full w-full bg-background"
>
<div
class="scrollbar-hide flex h-full w-full flex-col overflow-auto"
style="scrollbar-width: none;"
>
<div
class="border-border bg-primary shadow-shadow relative m-4 rounded-md border-(length:--border-width) p-6"
>
<button
aria-label="Add to favorites"
class="inline-flex cursor-pointer items-center whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground size-10 justify-center bg-background border-border absolute top-4 right-4 z-10 rounded-md border-(length:--border-width)"
data-headlessui-state=""
data-testid="artist-favorite-button"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-heart transition-colors text-foreground-secondary hover:text-foreground"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"
/>
</svg>
</button>
<div
class="flex gap-6"
>
<div
class="flex flex-1 flex-col gap-4"
>
<div
class="flex items-center gap-5"
>
<img
alt="The Beatles avatar"
class="border-border shadow-shadow h-24 w-24 rounded-full border-(length:--border-width) object-cover"
src="https://img/avatar.jpg"
/>
<div
class="flex flex-col gap-1"
>
<h1
class="font-heading text-5xl font-extrabold tracking-tight"
>
The Beatles
</h1>
</div>
</div>
<div
class="flex flex-wrap gap-2"
>
<span
class="border-border bg-background rounded-md border px-2 py-0.5 text-sm font-bold"
>
rock
</span>
<span
class="border-border bg-background rounded-md border px-2 py-0.5 text-sm font-bold"
>
indie
</span>
<span
class="border-border bg-background rounded-md border px-2 py-0.5 text-sm font-bold"
>
brit-pop
</span>
</div>
<span
class="bg-accent-green border-border inline-flex w-fit rounded-md border px-2 py-0.5 text-sm font-bold"
>
On Tour
</span>
<p
class="text-foreground-secondary line-clamp-5 text-sm leading-relaxed"
>
The Beatles were an English rock band formed in Liverpool in 1960. The group, whose best-known line-up comprised John Lennon, Paul McCartney, George Harrison and Ringo Starr, are regarded as the most influential band of all time.
</p>
</div>
<div
class="w-72 shrink-0 self-stretch"
>
<img
alt="The Beatles cover"
class="border-border shadow-shadow h-full w-full rounded-md border-(length:--border-width) object-cover"
src="https://img/cover.jpg"
/>
</div>
</div>
</div>
<div
class="mx-4 mb-4 flex flex-col gap-4 md:flex-row"
>
<div
class="md:w-2/3"
>
<div
class="flex flex-col"
>
<h2
class="mb-2 text-lg font-semibold"
>
Popular tracks
</h2>
<div
class="flex h-full flex-col"
>
<div
class="flex items-center gap-2 mb-2 shrink-0"
>
<div>
<button
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-primary border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y border-(length:--border-width) hover:shadow-none size-10 justify-center"
data-headlessui-state=""
data-testid="play-all-button"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-play"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="3"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"
/>
</svg>
</button>
</div>
<div>
<button
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 border-border shadow-shadow hover:translate-x-shadow-x hover:translate-y-shadow-y bg-background text-foreground border-(length:--border-width) hover:shadow-none size-10 justify-center"
data-headlessui-state=""
data-testid="add-all-to-queue-button"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-plus"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="3"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
</button>
</div>
</div>
<div
class="relative h-full w-full min-h-0 flex-1"
>
<div
class="scrollbar-hide flex h-full w-full flex-col overflow-auto"
data-test-resize-observer-block-size="504"
style="scrollbar-width: none;"
>
<table
class="border-border relative w-full table-fixed border-(length:--border-width)"
role="table"
>
<thead>
<tr
class="border-border bg-primary border-b-(length:--border-width)"
role="row"
>
<th
class="w-10 text-center"
role="columnheader"
>
<span
class="flex w-full items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-heart h-4 w-4"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"
/>
</svg>
</span>
</th>
<th
class="w-10 text-center"
role="columnheader"
>
<span
class="flex w-full items-center justify-center"
>
<svg
aria-hidden="true"
class="lucide lucide-image h-4 w-4"
fill="none"
height="24"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="18"
rx="2"
ry="2"
width="18"
x="3"
y="3"
/>
<circle
cx="9"
cy="9"
r="2"
/>
<path
d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"
/>
</svg>
</span>
</th>
<th
class="px-2 text-left cursor-pointer"
role="columnheader"
>
<span
class="flex items-center"
>
Artist
</span>
</th>
<th
class="px-2 text-left cursor-pointer"
role="columnheader"
>
<span
class="flex items-center"
>
Title
</span>
</th>
</tr>
</thead>
<tbody>
<tr
aria-describedby=""
aria-disabled="true"
aria-roledescription="sortable"
class="border-border bg-background-secondary group border-b-(length:--border-width) select-none"
data-testid="track-row"
role="button"
style="height: 42px;"
tabindex="0"
>
<td
class="w-10 text-center"
>
<button
aria-label="Add to favorites"
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap transition-all outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-transparent size-8 justify-center"
data-headlessui-state=""
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-heart transition-colors text-foreground-secondary hover:text-foreground"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"
/>
</svg>
</button>
</td>
<td
class="w-10 text-center"
>
<div
class="flex w-full justify-center"
>
<img
class="w-10 min-w-10"
src="https://img/track.jpg"
/>
</div>
</td>
<td
class="cursor-default truncate px-2"
>
<div
class="truncate"
>
Test Artist
</div>
</td>
<td
class="truncate px-2"
>
<div
class="flex items-center justify-between gap-2"
>
<button
class="min-w-0 flex-1 cursor-pointer truncate text-left hover:underline"
>
Smells Like Cheap Spirit
</button>
<div
class="flex items-center gap-1"
>
<button
aria-label="Add to queue"
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-transparent size-8 justify-center opacity-0 transition-none group-hover:opacity-100"
data-headlessui-state=""
data-testid="add-to-queue-button"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-plus"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M5 12h14"
/>
<path
d="M12 5v14"
/>
</svg>
</button>
<button
aria-expanded="false"
aria-haspopup="menu"
aria-label="Track options"
class="inline-flex cursor-pointer items-center rounded-md whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 text-foreground bg-transparent size-8 justify-center opacity-0 transition-none group-hover:opacity-100"
data-headlessui-state=""
data-state="closed"
data-testid="track-context-menu-button"
id="radix-:re:"
type="button"
>
<svg
aria-hidden="true"
class="lucide lucide-ellipsis-vertical"
fill="none"
height="16"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<circle
cx="12"
cy="12"
r="1"
/>
<circle
cx="12"
cy="5"
r="1"
/>
<circle