@citrusworx/juiceui 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +34 -11
  2. package/dist/components/accordion/accordion.d.ts +2 -1
  3. package/dist/index.css +1499 -89
  4. package/dist/index.d.ts +33 -25
  5. package/dist/index.js +3035 -2253
  6. package/dist/js/juice.d.ts +33 -25
  7. package/dist/js/src/accordion/accordion-runtime.d.ts +6 -0
  8. package/dist/js/src/avatar/avatar-runtime.d.ts +74 -0
  9. package/dist/js/src/banner/banner-runtime.d.ts +5 -0
  10. package/dist/js/src/breadcrumb/breadcrumb-runtime.d.ts +6 -0
  11. package/dist/js/src/checkbox/checkbox-runtime.d.ts +4 -0
  12. package/dist/js/src/combobox/combobox-runtime.d.ts +6 -0
  13. package/dist/js/src/disclosure/disclosure-runtime.d.ts +5 -0
  14. package/dist/js/src/drawer/drawer-runtime.d.ts +5 -0
  15. package/dist/js/src/field/field-runtime.d.ts +5 -0
  16. package/dist/js/src/icon-button/icon-button-runtime.d.ts +67 -0
  17. package/dist/js/src/input/input-runtime.d.ts +8 -0
  18. package/dist/js/src/menu/menu-runtime.d.ts +5 -0
  19. package/dist/js/src/modal/modal-runtime.d.ts +5 -0
  20. package/dist/js/src/nav/navigation.d.ts +5 -0
  21. package/dist/js/src/pagination/pagination-runtime.d.ts +6 -0
  22. package/dist/js/src/popover/popover-runtime.d.ts +5 -0
  23. package/dist/js/src/progress/progress-runtime.d.ts +5 -0
  24. package/dist/js/src/radio/radio-runtime.d.ts +7 -0
  25. package/dist/js/src/select/select-runtime.d.ts +9 -0
  26. package/dist/js/src/shared/change.d.ts +32 -0
  27. package/dist/js/src/slider/slider-runtime.d.ts +4 -0
  28. package/dist/js/src/spinner/spinner-runtime.d.ts +4 -0
  29. package/dist/js/src/switch/switch-runtime.d.ts +4 -0
  30. package/dist/js/src/table/table-runtime.d.ts +99 -0
  31. package/dist/js/src/tabs/tabs-runtime.d.ts +6 -0
  32. package/dist/js/src/textarea/textarea-runtime.d.ts +8 -0
  33. package/dist/js/src/toast/toast-runtime.d.ts +5 -0
  34. package/dist/js/src/tooltip/tooltip-runtime.d.ts +5 -0
  35. package/dist/js/src/wizard/wizard-runtime.d.ts +4 -0
  36. package/dist/themes/tide.css +7 -0
  37. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -96605,30 +96605,311 @@ section[auto] > * {
96605
96605
  transition: none;
96606
96606
  }
96607
96607
  }
96608
- [badge] {
96608
+ :root,
96609
+ [theme] {
96610
+ --juice-avatar-bg: var(--juice-surface-muted-bg, hsl(0, 0%, 90%));
96611
+ --juice-avatar-ink: currentColor;
96612
+ --juice-avatar-ring: var(--juice-surface-strong-bg, hsl(0, 0%, 100%));
96613
+ --juice-avatar-status-online: var(--juice-banner-success, var(--juice-toast-success, hsl(140, 50%, 65%)));
96614
+ --juice-avatar-status-away: var(--juice-banner-warning, var(--juice-toast-warning, hsl(60, 100%, 65%)));
96615
+ --juice-avatar-status-busy: var(--juice-banner-error, var(--juice-toast-error, hsl(0, 100%, 65%)));
96616
+ --juice-avatar-status-offline: color-mix(in srgb, currentColor 55%, transparent);
96617
+ }
96618
+
96619
+ :root {
96620
+ --juice-avatar-size: 2.5rem;
96621
+ --juice-avatar-size-sm: 1.5rem;
96622
+ --juice-avatar-size-lg: 4rem;
96623
+ --juice-avatar-font-size: calc(var(--juice-avatar-size) * 0.4);
96624
+ --juice-avatar-font-size-sm: calc(var(--juice-avatar-size-sm) * 0.4);
96625
+ --juice-avatar-font-size-lg: calc(var(--juice-avatar-size-lg) * 0.4);
96626
+ --juice-avatar-radius: 999px;
96627
+ --juice-avatar-radius-square: 0.375rem;
96628
+ --juice-avatar-ring-width: 2px;
96629
+ --juice-avatar-status-size: calc(var(--juice-avatar-size) * 0.28);
96630
+ --juice-avatar-group-overlap: calc(var(--juice-avatar-size) * -0.25);
96631
+ }
96632
+
96633
+ [avatar],
96634
+ [avatar-more],
96635
+ [theme] [avatar],
96636
+ [theme] [avatar-more] {
96637
+ box-sizing: border-box;
96638
+ border: none;
96639
+ background-color: var(--juice-avatar-bg);
96640
+ background-image: none;
96641
+ color: var(--juice-avatar-ink);
96642
+ box-shadow: none;
96643
+ -webkit-backdrop-filter: none;
96644
+ backdrop-filter: none;
96645
+ font-weight: 600;
96646
+ line-height: 1;
96647
+ text-transform: uppercase;
96648
+ white-space: nowrap;
96649
+ }
96650
+
96651
+ [avatar],
96652
+ [avatar=round],
96653
+ [avatar-more],
96654
+ [avatar-more=round] {
96655
+ position: relative;
96656
+ isolation: isolate;
96609
96657
  display: inline-flex;
96610
96658
  align-items: center;
96611
- gap: 0.375rem;
96612
- padding: 0.375rem 0.75rem;
96659
+ justify-content: center;
96660
+ flex: 0 0 auto;
96661
+ width: var(--juice-avatar-size);
96662
+ height: var(--juice-avatar-size);
96663
+ min-width: var(--juice-avatar-size);
96664
+ min-height: var(--juice-avatar-size);
96665
+ padding: 0;
96666
+ overflow: hidden;
96667
+ border-radius: var(--juice-avatar-radius);
96668
+ font-size: var(--juice-avatar-font-size);
96669
+ vertical-align: middle;
96670
+ aspect-ratio: 1;
96671
+ --juice-avatar-status-size: calc(var(--juice-avatar-size) * 0.28);
96672
+ }
96673
+
96674
+ [avatar][scale=sm],
96675
+ [avatar-more][scale=sm] {
96676
+ width: var(--juice-avatar-size-sm);
96677
+ height: var(--juice-avatar-size-sm);
96678
+ min-width: var(--juice-avatar-size-sm);
96679
+ min-height: var(--juice-avatar-size-sm);
96680
+ font-size: var(--juice-avatar-font-size-sm);
96681
+ --juice-avatar-status-size: calc(var(--juice-avatar-size-sm) * 0.28);
96682
+ }
96683
+
96684
+ [avatar][scale=lg],
96685
+ [avatar-more][scale=lg] {
96686
+ width: var(--juice-avatar-size-lg);
96687
+ height: var(--juice-avatar-size-lg);
96688
+ min-width: var(--juice-avatar-size-lg);
96689
+ min-height: var(--juice-avatar-size-lg);
96690
+ font-size: var(--juice-avatar-font-size-lg);
96691
+ --juice-avatar-status-size: calc(var(--juice-avatar-size-lg) * 0.28);
96692
+ }
96693
+
96694
+ [avatar=square],
96695
+ [avatar-more=square] {
96696
+ border-radius: var(--juice-avatar-radius-square);
96697
+ }
96698
+
96699
+ [avatar] > :not(img),
96700
+ [theme] [avatar] > :not(img),
96701
+ [avatar-more] > :not(img),
96702
+ [theme] [avatar-more] > :not(img) {
96703
+ color: inherit;
96704
+ font-size: inherit;
96705
+ font-weight: inherit;
96706
+ line-height: inherit;
96707
+ text-transform: inherit;
96708
+ }
96709
+
96710
+ [avatar] img,
96711
+ [theme] [avatar] img {
96712
+ position: absolute;
96713
+ inset: 0;
96714
+ z-index: 1;
96715
+ width: 100%;
96716
+ height: 100%;
96717
+ max-width: none;
96718
+ margin: 0;
96719
+ object-fit: cover;
96720
+ border-radius: inherit;
96721
+ }
96722
+
96723
+ [avatar][status],
96724
+ [theme] [avatar][status] {
96725
+ overflow: visible;
96726
+ }
96727
+
96728
+ [avatar][status=online]::after,
96729
+ [avatar][status=away]::after,
96730
+ [avatar][status=busy]::after,
96731
+ [avatar][status=offline]::after,
96732
+ [theme] [avatar][status=online]::after,
96733
+ [theme] [avatar][status=away]::after,
96734
+ [theme] [avatar][status=busy]::after,
96735
+ [theme] [avatar][status=offline]::after {
96736
+ content: "";
96737
+ position: absolute;
96738
+ z-index: 2;
96739
+ right: 0;
96740
+ bottom: 0;
96741
+ width: var(--juice-avatar-status-size);
96742
+ height: var(--juice-avatar-status-size);
96613
96743
  border-radius: 999px;
96614
- font-size: 0.8125rem;
96744
+ transform: translate(20%, 20%);
96745
+ box-shadow: 0 0 0 var(--juice-avatar-ring-width) var(--juice-avatar-ring);
96746
+ pointer-events: none;
96747
+ transition: background-color var(--juice-motion-duration-fast) var(--juice-motion-ease-standard);
96748
+ }
96749
+
96750
+ [avatar][status=online]::after,
96751
+ [theme] [avatar][status=online]::after {
96752
+ background-color: var(--juice-avatar-status-online);
96753
+ }
96754
+
96755
+ [avatar][status=away]::after,
96756
+ [theme] [avatar][status=away]::after {
96757
+ background-color: var(--juice-avatar-status-away);
96758
+ }
96759
+
96760
+ [avatar][status=busy]::after,
96761
+ [theme] [avatar][status=busy]::after {
96762
+ background-color: var(--juice-avatar-status-busy);
96763
+ }
96764
+
96765
+ [avatar][status=offline]::after,
96766
+ [theme] [avatar][status=offline]::after {
96767
+ background-color: var(--juice-avatar-status-offline);
96768
+ }
96769
+
96770
+ [avatar-group],
96771
+ [theme] [avatar-group] {
96772
+ display: inline-flex;
96773
+ align-items: center;
96774
+ flex-wrap: nowrap;
96775
+ gap: 0;
96776
+ padding: 0;
96777
+ background: transparent;
96778
+ background-image: none;
96779
+ border: none;
96780
+ box-shadow: none;
96781
+ color: inherit;
96782
+ --juice-avatar-group-overlap: calc(var(--juice-avatar-size) * -0.25);
96783
+ }
96784
+
96785
+ [avatar-group][scale=sm] {
96786
+ --juice-avatar-size: var(--juice-avatar-size-sm);
96787
+ --juice-avatar-font-size: var(--juice-avatar-font-size-sm);
96788
+ }
96789
+
96790
+ [avatar-group][scale=lg] {
96791
+ --juice-avatar-size: var(--juice-avatar-size-lg);
96792
+ --juice-avatar-font-size: var(--juice-avatar-font-size-lg);
96793
+ }
96794
+
96795
+ [avatar-group] > :is([avatar], [avatar-more]) ~ :is([avatar], [avatar-more]) {
96796
+ margin-inline-start: var(--juice-avatar-group-overlap);
96797
+ }
96798
+
96799
+ [avatar-group] > :is([avatar], [avatar-more]),
96800
+ [theme] [avatar-group] > :is([avatar], [avatar-more]) {
96801
+ box-shadow: 0 0 0 var(--juice-avatar-ring-width) var(--juice-avatar-ring);
96802
+ }
96803
+
96804
+ [avatar-group] > :is([avatar], [avatar-more]) {
96805
+ z-index: 0;
96806
+ }
96807
+
96808
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(1) {
96809
+ z-index: 8;
96810
+ }
96811
+
96812
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(2) {
96813
+ z-index: 7;
96814
+ }
96815
+
96816
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(3) {
96817
+ z-index: 6;
96818
+ }
96819
+
96820
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(4) {
96821
+ z-index: 5;
96822
+ }
96823
+
96824
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(5) {
96825
+ z-index: 4;
96826
+ }
96827
+
96828
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(6) {
96829
+ z-index: 3;
96830
+ }
96831
+
96832
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(7) {
96833
+ z-index: 2;
96834
+ }
96835
+
96836
+ [avatar-group] > :is([avatar], [avatar-more]):nth-child(8) {
96837
+ z-index: 1;
96838
+ }
96839
+
96840
+ @media (prefers-reduced-motion: reduce) {
96841
+ [avatar][status=online]::after,
96842
+ [avatar][status=away]::after,
96843
+ [avatar][status=busy]::after,
96844
+ [avatar][status=offline]::after,
96845
+ [theme] [avatar][status=online]::after,
96846
+ [theme] [avatar][status=away]::after,
96847
+ [theme] [avatar][status=busy]::after,
96848
+ [theme] [avatar][status=offline]::after {
96849
+ transition: none;
96850
+ }
96851
+ }
96852
+ :root,
96853
+ [theme] {
96854
+ --juice-badge-bg: color-mix(in srgb, currentColor 1%, transparent);
96855
+ --juice-badge-ink: currentColor;
96856
+ --juice-badge-border: color-mix(in srgb, currentColor 24%, transparent);
96857
+ }
96858
+
96859
+ :root {
96860
+ --juice-badge-padding: 0.375rem 0.75rem;
96861
+ --juice-badge-radius: 999px;
96862
+ --juice-badge-radius-square: 0.375rem;
96863
+ --juice-badge-font-size: 0.8125rem;
96864
+ --juice-badge-gap: 0.375rem;
96865
+ }
96866
+
96867
+ [badge],
96868
+ [theme] [badge] {
96869
+ display: inline-flex;
96870
+ align-items: center;
96871
+ gap: var(--juice-badge-gap);
96872
+ padding: var(--juice-badge-padding);
96873
+ border-radius: var(--juice-badge-radius);
96874
+ font-size: var(--juice-badge-font-size);
96615
96875
  font-weight: 600;
96616
96876
  line-height: 1;
96617
- border: 1px solid transparent;
96877
+ color: var(--juice-badge-ink);
96878
+ background-color: var(--juice-badge-bg);
96879
+ background-image: none;
96880
+ border: 1px solid var(--juice-badge-border);
96881
+ box-shadow: none;
96618
96882
  box-sizing: border-box;
96619
96883
  }
96620
96884
 
96621
- [badge=square] {
96622
- border-radius: 0.375rem;
96885
+ [badge=square],
96886
+ [theme] [badge=square] {
96887
+ border-radius: var(--juice-badge-radius-square);
96623
96888
  }
96624
96889
 
96625
- [badge=ribbon] {
96890
+ [badge=ribbon],
96891
+ [theme] [badge=ribbon] {
96626
96892
  position: absolute;
96627
96893
  top: -0.75rem;
96628
96894
  left: 50%;
96629
96895
  transform: translateX(-50%);
96630
96896
  }
96631
96897
 
96898
+ [theme] [cta] [badge] {
96899
+ color: var(--juice-badge-ink);
96900
+ background-color: var(--juice-badge-bg);
96901
+ background-image: none;
96902
+ border-color: var(--juice-badge-border);
96903
+ box-shadow: none;
96904
+ }
96905
+
96906
+ :where(a, button)[badge]:focus-visible,
96907
+ [theme] :where(a, button)[badge]:focus-visible {
96908
+ outline: 2px solid currentColor;
96909
+ outline-offset: 2px;
96910
+ box-shadow: none;
96911
+ }
96912
+
96632
96913
  :root {
96633
96914
  --juice-motion-duration-instant: 0.15s;
96634
96915
  --juice-motion-duration-fast: 0.2s;
@@ -97072,6 +97353,171 @@ button[full] {
97072
97353
  font-size: 1rem;
97073
97354
  }
97074
97355
 
97356
+ :root {
97357
+ --juice-icon-button-padding: 0.625rem;
97358
+ --juice-icon-button-padding-sm: 0.4rem;
97359
+ --juice-icon-button-padding-lg: 0.875rem;
97360
+ --juice-icon-button-icon-size: 1.25rem;
97361
+ --juice-icon-button-icon-size-sm: 1rem;
97362
+ --juice-icon-button-icon-size-lg: 1.5rem;
97363
+ --juice-icon-button-size: calc(var(--juice-icon-button-icon-size) + (var(--juice-icon-button-padding) * 2));
97364
+ --juice-icon-button-size-sm: calc(var(--juice-icon-button-icon-size-sm) + (var(--juice-icon-button-padding-sm) * 2));
97365
+ --juice-icon-button-size-lg: calc(var(--juice-icon-button-icon-size-lg) + (var(--juice-icon-button-padding-lg) * 2));
97366
+ --juice-icon-button-radius: 0.5rem;
97367
+ --juice-icon-button-radius-sm: 0.375rem;
97368
+ --juice-icon-button-radius-lg: 0.625rem;
97369
+ --juice-icon-button-radius-round: 999px;
97370
+ --juice-icon-button-focus-ring: currentColor;
97371
+ }
97372
+
97373
+ [icon-button],
97374
+ button[icon-button],
97375
+ [theme] [icon-button],
97376
+ [theme] button[icon-button] {
97377
+ display: inline-flex;
97378
+ align-items: center;
97379
+ justify-content: center;
97380
+ box-sizing: border-box;
97381
+ flex: 0 0 auto;
97382
+ gap: 0;
97383
+ aspect-ratio: 1;
97384
+ line-height: 0;
97385
+ text-decoration: none;
97386
+ vertical-align: middle;
97387
+ cursor: pointer;
97388
+ width: var(--juice-icon-button-size);
97389
+ height: var(--juice-icon-button-size);
97390
+ min-width: var(--juice-icon-button-size);
97391
+ min-height: var(--juice-icon-button-size);
97392
+ padding: var(--juice-icon-button-padding);
97393
+ border-radius: var(--juice-icon-button-radius);
97394
+ transition: background-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), border-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), box-shadow var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), transform var(--juice-motion-duration-instant) var(--juice-motion-ease-standard);
97395
+ }
97396
+
97397
+ [icon-button] [icon],
97398
+ button[icon-button] [icon],
97399
+ [theme] [icon-button] [icon],
97400
+ [theme] button[icon-button] [icon] {
97401
+ width: var(--juice-icon-button-icon-size);
97402
+ height: var(--juice-icon-button-icon-size);
97403
+ flex: 0 0 auto;
97404
+ pointer-events: none;
97405
+ }
97406
+
97407
+ [icon-button][scale=sm],
97408
+ button[icon-button][scale=sm],
97409
+ [theme] [icon-button][scale=sm],
97410
+ [theme] button[icon-button][scale=sm] {
97411
+ width: var(--juice-icon-button-size-sm);
97412
+ height: var(--juice-icon-button-size-sm);
97413
+ min-width: var(--juice-icon-button-size-sm);
97414
+ min-height: var(--juice-icon-button-size-sm);
97415
+ padding: var(--juice-icon-button-padding-sm);
97416
+ border-radius: var(--juice-icon-button-radius-sm);
97417
+ }
97418
+
97419
+ [icon-button][scale=sm] [icon],
97420
+ button[icon-button][scale=sm] [icon],
97421
+ [theme] [icon-button][scale=sm] [icon],
97422
+ [theme] button[icon-button][scale=sm] [icon] {
97423
+ width: var(--juice-icon-button-icon-size-sm);
97424
+ height: var(--juice-icon-button-icon-size-sm);
97425
+ flex: 0 0 auto;
97426
+ }
97427
+
97428
+ [icon-button][scale=lg],
97429
+ button[icon-button][scale=lg],
97430
+ [theme] [icon-button][scale=lg],
97431
+ [theme] button[icon-button][scale=lg] {
97432
+ width: var(--juice-icon-button-size-lg);
97433
+ height: var(--juice-icon-button-size-lg);
97434
+ min-width: var(--juice-icon-button-size-lg);
97435
+ min-height: var(--juice-icon-button-size-lg);
97436
+ padding: var(--juice-icon-button-padding-lg);
97437
+ border-radius: var(--juice-icon-button-radius-lg);
97438
+ }
97439
+
97440
+ [icon-button][scale=lg] [icon],
97441
+ button[icon-button][scale=lg] [icon],
97442
+ [theme] [icon-button][scale=lg] [icon],
97443
+ [theme] button[icon-button][scale=lg] [icon] {
97444
+ width: var(--juice-icon-button-icon-size-lg);
97445
+ height: var(--juice-icon-button-icon-size-lg);
97446
+ flex: 0 0 auto;
97447
+ }
97448
+
97449
+ [icon-button=round],
97450
+ [icon-button][round],
97451
+ button[icon-button=round],
97452
+ button[icon-button][round],
97453
+ [icon-button=round][scale],
97454
+ [icon-button][round][scale],
97455
+ [theme] [icon-button=round],
97456
+ [theme] [icon-button][round],
97457
+ [theme] button[icon-button=round],
97458
+ [theme] button[icon-button][round],
97459
+ [theme] [icon-button=round][scale],
97460
+ [theme] [icon-button][round][scale] {
97461
+ border-radius: var(--juice-icon-button-radius-round);
97462
+ }
97463
+
97464
+ [icon-button]:focus-visible,
97465
+ button[icon-button]:focus-visible,
97466
+ [theme] [icon-button]:focus-visible,
97467
+ [theme] button[icon-button]:focus-visible {
97468
+ outline: 2px solid var(--juice-icon-button-focus-ring);
97469
+ outline-offset: 2px;
97470
+ }
97471
+
97472
+ [icon-button]:active,
97473
+ button[icon-button]:active,
97474
+ [theme] [icon-button]:active,
97475
+ [theme] button[icon-button]:active {
97476
+ transform: translateY(2px);
97477
+ }
97478
+
97479
+ [icon-button][pressed],
97480
+ [icon-button][aria-pressed=true],
97481
+ button[icon-button][pressed],
97482
+ button[icon-button][aria-pressed=true],
97483
+ [theme] [icon-button][pressed],
97484
+ [theme] [icon-button][aria-pressed=true],
97485
+ [theme] button[icon-button][pressed],
97486
+ [theme] button[icon-button][aria-pressed=true] {
97487
+ box-shadow: inset 0 0 0 2px currentColor;
97488
+ }
97489
+
97490
+ [icon-button]:disabled,
97491
+ [icon-button][disabled],
97492
+ [icon-button][aria-disabled=true],
97493
+ button[icon-button]:disabled,
97494
+ button[icon-button][disabled],
97495
+ button[icon-button][aria-disabled=true],
97496
+ [theme] [icon-button]:disabled,
97497
+ [theme] [icon-button][disabled],
97498
+ [theme] [icon-button][aria-disabled=true],
97499
+ [theme] button[icon-button]:disabled,
97500
+ [theme] button[icon-button][disabled],
97501
+ [theme] button[icon-button][aria-disabled=true] {
97502
+ opacity: 0.5;
97503
+ cursor: default;
97504
+ pointer-events: none;
97505
+ }
97506
+
97507
+ @media (prefers-reduced-motion: reduce) {
97508
+ [icon-button],
97509
+ button[icon-button],
97510
+ [theme] [icon-button],
97511
+ [theme] button[icon-button] {
97512
+ transition: none;
97513
+ }
97514
+ [icon-button]:active,
97515
+ button[icon-button]:active,
97516
+ [theme] [icon-button]:active,
97517
+ [theme] button[icon-button]:active {
97518
+ transform: none;
97519
+ }
97520
+ }
97075
97521
  [card] {
97076
97522
  display: flex;
97077
97523
  flex-direction: column;
@@ -99128,76 +99574,406 @@ input[input]:is(:not([type]),
99128
99574
  opacity: 0.72;
99129
99575
  }
99130
99576
 
99131
- /* =====================================================================
99132
- Login — centered sign-in card
99133
- Owns: page wrapper, card, header, fields, submit, provider row, footer.
99134
- Structure only — theme paints colors.
99135
- ===================================================================== */
99136
- [login-page] {
99137
- min-height: calc(100vh - 8rem);
99138
- display: flex;
99139
- align-items: center;
99140
- justify-content: center;
99577
+ :root,
99578
+ [theme] {
99579
+ --juice-list-divider: color-mix(in srgb, currentColor 28%, transparent);
99580
+ --juice-list-secondary: color-mix(in srgb, currentColor 92%, transparent);
99581
+ --juice-list-hover: color-mix(in srgb, currentColor 8%, transparent);
99582
+ --juice-list-selected: color-mix(in srgb, currentColor 14%, transparent);
99141
99583
  }
99142
99584
 
99143
- [login-page] > [container][narrow] {
99144
- max-width: 28rem;
99145
- width: 100%;
99146
- margin: 0 auto;
99147
- padding: 0 1.5rem;
99148
- box-sizing: border-box;
99585
+ :root {
99586
+ --juice-list-gap: 0;
99587
+ --juice-list-padding: 0.75rem 1rem;
99588
+ --juice-list-padding-dense: 0.375rem 0.75rem;
99589
+ --juice-list-radius: 0.375rem;
99149
99590
  }
99150
99591
 
99151
- [login-card] {
99592
+ :where(ul, ol, div)[list],
99593
+ [theme] :where(ul, ol, div)[list] {
99152
99594
  display: flex;
99153
99595
  flex-direction: column;
99154
- gap: 1.5rem;
99155
- padding: 2.5rem;
99156
- border: 1px solid;
99157
- border-radius: 1rem;
99596
+ align-items: stretch;
99597
+ box-sizing: border-box;
99598
+ width: 100%;
99599
+ min-width: 0;
99600
+ margin: 0;
99601
+ padding: 0;
99602
+ gap: var(--juice-list-gap);
99603
+ list-style: none;
99604
+ background-color: transparent;
99605
+ background-image: none;
99606
+ border: none;
99607
+ box-shadow: none;
99608
+ -webkit-backdrop-filter: none;
99609
+ backdrop-filter: none;
99610
+ color: inherit;
99611
+ font: inherit;
99612
+ text-align: start;
99158
99613
  }
99159
99614
 
99160
- [login-header] {
99161
- text-align: center;
99162
- background: transparent;
99163
- border: none;
99615
+ [list-item],
99616
+ [theme] [list-item] {
99617
+ box-sizing: border-box;
99618
+ display: block;
99619
+ width: 100%;
99620
+ min-width: 0;
99621
+ margin: 0;
99164
99622
  padding: 0;
99623
+ list-style: none;
99624
+ background-color: transparent;
99625
+ background-image: none;
99626
+ border: none;
99627
+ box-shadow: none;
99628
+ color: inherit;
99629
+ font: inherit;
99630
+ text-align: start;
99631
+ text-decoration: none;
99632
+ }
99633
+
99634
+ [list-item]:where(:not(:has(> :is(a, button)))),
99635
+ [list-item] > :where(a, button),
99636
+ [theme] [list-item]:where(:not(:has(> :is(a, button)))),
99637
+ [theme] [list-item] > :where(a, button) {
99638
+ display: grid;
99639
+ grid-template-columns: auto minmax(0, 1fr) auto;
99640
+ grid-template-rows: auto auto;
99641
+ align-items: center;
99642
+ box-sizing: border-box;
99643
+ width: 100%;
99644
+ min-width: 0;
99165
99645
  margin: 0;
99646
+ padding: var(--juice-list-padding);
99647
+ border-radius: var(--juice-list-radius);
99648
+ column-gap: 0;
99649
+ row-gap: 0;
99650
+ overflow-wrap: anywhere;
99166
99651
  }
99167
99652
 
99168
- [login-brand] {
99169
- display: inline-flex;
99170
- align-items: baseline;
99171
- gap: 0.375rem;
99172
- text-decoration: none;
99173
- margin-bottom: 1.5rem;
99653
+ [list-item]:where(:not(:has([list-leading])):not(:has([list-trailing]))),
99654
+ [list-item] > :where(a, button):where(:not(:has([list-leading])):not(:has([list-trailing]))),
99655
+ [theme] [list-item]:where(:not(:has([list-leading])):not(:has([list-trailing]))),
99656
+ [theme] [list-item] > :where(a, button):where(:not(:has([list-leading])):not(:has([list-trailing]))) {
99657
+ grid-template-columns: minmax(0, 1fr);
99174
99658
  }
99175
99659
 
99176
- [login-brand] [logo=text] {
99177
- font-weight: 700;
99178
- font-size: 1.5rem;
99179
- letter-spacing: -0.01em;
99660
+ :where(ul, ol, div)[list][dense] [list-item]:where(:not(:has(> :is(a, button)))),
99661
+ :where(ul, ol, div)[list][dense] [list-item] > :where(a, button) {
99662
+ padding: var(--juice-list-padding-dense);
99180
99663
  }
99181
99664
 
99182
- [login-brand] [logo-suffix] {
99183
- font-weight: 400;
99184
- font-size: 1rem;
99665
+ [list-leading],
99666
+ [list-trailing],
99667
+ [theme] [list-leading],
99668
+ [theme] [list-trailing] {
99669
+ display: inline-flex;
99670
+ align-items: center;
99671
+ justify-content: center;
99672
+ gap: 0.5rem;
99673
+ box-sizing: border-box;
99674
+ min-width: 0;
99675
+ max-width: 100%;
99676
+ color: inherit;
99677
+ background: transparent;
99678
+ background-image: none;
99679
+ border: none;
99680
+ box-shadow: none;
99185
99681
  }
99186
99682
 
99187
- [login-header] > h1 {
99188
- font-size: 1.5rem;
99189
- line-height: 1.2;
99190
- letter-spacing: -0.01em;
99191
- margin: 0 0 0.5rem;
99683
+ [list-leading] {
99684
+ grid-column: 1;
99685
+ grid-row: 1/-1;
99686
+ margin-inline-end: 0.75rem;
99192
99687
  }
99193
99688
 
99194
- [login-header] > [lede] {
99195
- font-size: 0.9375rem;
99196
- margin: 0;
99197
- line-height: 1.5;
99689
+ [list-trailing] {
99690
+ grid-column: 3;
99691
+ grid-row: 1/-1;
99692
+ margin-inline-start: 0.75rem;
99198
99693
  }
99199
99694
 
99200
- [login-form] {
99695
+ :where(ul, ol, div)[list][dense] [list-leading] {
99696
+ margin-inline-end: 0.5rem;
99697
+ }
99698
+
99699
+ :where(ul, ol, div)[list][dense] [list-trailing] {
99700
+ margin-inline-start: 0.5rem;
99701
+ }
99702
+
99703
+ [list-leading] :is([avatar], [icon]),
99704
+ [list-trailing] :is([avatar], [icon]),
99705
+ [theme] [list-leading] :is([avatar], [icon]),
99706
+ [theme] [list-trailing] :is([avatar], [icon]) {
99707
+ flex: 0 0 auto;
99708
+ }
99709
+
99710
+ [list-content],
99711
+ [theme] [list-content] {
99712
+ display: flex;
99713
+ flex-direction: column;
99714
+ justify-content: center;
99715
+ gap: 0.125rem;
99716
+ grid-column: 2;
99717
+ grid-row: 1/-1;
99718
+ box-sizing: border-box;
99719
+ min-width: 0;
99720
+ max-width: 100%;
99721
+ overflow-wrap: anywhere;
99722
+ color: inherit;
99723
+ background: transparent;
99724
+ background-image: none;
99725
+ border: none;
99726
+ box-shadow: none;
99727
+ }
99728
+
99729
+ [list-content] > :not([list-secondary]),
99730
+ [list-item] > :not([list-leading]):not([list-trailing]):not([list-secondary]):not([list-content]):where(:not(a, button)),
99731
+ [list-item] > :where(a, button) > :not([list-leading]):not([list-trailing]):not([list-secondary]):not([list-content]) {
99732
+ grid-column: 2;
99733
+ grid-row: 1;
99734
+ min-width: 0;
99735
+ max-width: 100%;
99736
+ overflow: hidden;
99737
+ text-overflow: ellipsis;
99738
+ white-space: nowrap;
99739
+ }
99740
+
99741
+ [list-secondary],
99742
+ [theme] [list-secondary] {
99743
+ display: block;
99744
+ grid-column: 2;
99745
+ grid-row: 2;
99746
+ box-sizing: border-box;
99747
+ min-width: 0;
99748
+ max-width: 100%;
99749
+ margin: 0;
99750
+ overflow: hidden;
99751
+ color: var(--juice-list-secondary);
99752
+ font-size: 0.875em;
99753
+ font-weight: inherit;
99754
+ line-height: 1.35;
99755
+ text-overflow: ellipsis;
99756
+ white-space: nowrap;
99757
+ background: transparent;
99758
+ background-image: none;
99759
+ border: none;
99760
+ box-shadow: none;
99761
+ }
99762
+
99763
+ [list-content] > [list-secondary] {
99764
+ grid-column: auto;
99765
+ grid-row: auto;
99766
+ }
99767
+
99768
+ [list-item] > [list-secondary] {
99769
+ margin-top: 0.125rem;
99770
+ }
99771
+
99772
+ :where(a, button)[list-item],
99773
+ [list-item] > :where(a, button),
99774
+ [theme] :where(a, button)[list-item],
99775
+ [theme] [list-item] > :where(a, button) {
99776
+ appearance: none;
99777
+ -webkit-appearance: none;
99778
+ cursor: pointer;
99779
+ color: inherit;
99780
+ font: inherit;
99781
+ line-height: inherit;
99782
+ text-align: start;
99783
+ text-decoration: none;
99784
+ background-color: transparent;
99785
+ background-image: none;
99786
+ border: none;
99787
+ box-shadow: none;
99788
+ transform: none;
99789
+ transition: background-color var(--juice-motion-duration-fast) var(--juice-motion-ease-standard), color var(--juice-motion-duration-fast) var(--juice-motion-ease-standard);
99790
+ }
99791
+
99792
+ :where(a, button)[list-item]:hover,
99793
+ [list-item] > :where(a, button):hover,
99794
+ [theme] :where(a, button)[list-item]:hover,
99795
+ [theme] [list-item] > :where(a, button):hover {
99796
+ background-color: var(--juice-list-hover);
99797
+ background-image: none;
99798
+ box-shadow: none;
99799
+ transform: none;
99800
+ color: inherit;
99801
+ text-decoration: none;
99802
+ }
99803
+
99804
+ :where(a, button)[list-item]:active,
99805
+ [list-item] > :where(a, button):active,
99806
+ [theme] :where(a, button)[list-item]:active,
99807
+ [theme] [list-item] > :where(a, button):active {
99808
+ background-color: var(--juice-list-selected);
99809
+ background-image: none;
99810
+ box-shadow: none;
99811
+ transform: none;
99812
+ color: inherit;
99813
+ text-decoration: none;
99814
+ }
99815
+
99816
+ [list-item][selected]:where(:not(:has(> :is(a, button)))),
99817
+ [list-item][aria-current]:not([aria-current=false]):where(:not(:has(> :is(a, button)))),
99818
+ :where(a, button)[list-item][selected],
99819
+ :where(a, button)[list-item][aria-current]:not([aria-current=false]),
99820
+ [list-item][selected] > :where(a, button),
99821
+ [list-item][aria-current]:not([aria-current=false]) > :where(a, button),
99822
+ [list-item] > :where(a, button)[selected],
99823
+ [list-item] > :where(a, button)[aria-current]:not([aria-current=false]),
99824
+ [theme] [list-item][selected]:where(:not(:has(> :is(a, button)))),
99825
+ [theme] [list-item][aria-current]:not([aria-current=false]):where(:not(:has(> :is(a, button)))),
99826
+ [theme] :where(a, button)[list-item][selected],
99827
+ [theme] :where(a, button)[list-item][aria-current]:not([aria-current=false]),
99828
+ [theme] [list-item][selected] > :where(a, button),
99829
+ [theme] [list-item][aria-current]:not([aria-current=false]) > :where(a, button),
99830
+ [theme] [list-item] > :where(a, button)[selected],
99831
+ [theme] [list-item] > :where(a, button)[aria-current]:not([aria-current=false]) {
99832
+ background-color: var(--juice-list-selected);
99833
+ background-image: none;
99834
+ box-shadow: none;
99835
+ transform: none;
99836
+ color: inherit;
99837
+ text-decoration: none;
99838
+ }
99839
+
99840
+ :where(a, button)[list-item]:is([selected], [aria-current]:not([aria-current=false])):is(:hover, :active),
99841
+ [list-item]:is([selected], [aria-current]:not([aria-current=false])) > :where(a, button):is(:hover, :active),
99842
+ [list-item] > :where(a, button):is([selected], [aria-current]:not([aria-current=false])):is(:hover, :active),
99843
+ [theme] :where(a, button)[list-item]:is([selected], [aria-current]:not([aria-current=false])):is(:hover, :active),
99844
+ [theme] [list-item]:is([selected], [aria-current]:not([aria-current=false])) > :where(a, button):is(:hover, :active),
99845
+ [theme] [list-item] > :where(a, button):is([selected], [aria-current]:not([aria-current=false])):is(:hover, :active) {
99846
+ background-color: var(--juice-list-selected);
99847
+ background-image: none;
99848
+ box-shadow: none;
99849
+ transform: none;
99850
+ color: inherit;
99851
+ text-decoration: none;
99852
+ }
99853
+
99854
+ :where(a, button)[list-item]:is(:disabled, [disabled], [aria-disabled=true]),
99855
+ [list-item]:is([disabled], [aria-disabled=true]) > :where(a, button),
99856
+ [list-item] > :where(a, button):is(:disabled, [disabled], [aria-disabled=true]),
99857
+ [theme] :where(a, button)[list-item]:is(:disabled, [disabled], [aria-disabled=true]),
99858
+ [theme] [list-item]:is([disabled], [aria-disabled=true]) > :where(a, button),
99859
+ [theme] [list-item] > :where(a, button):is(:disabled, [disabled], [aria-disabled=true]) {
99860
+ opacity: 0.5;
99861
+ cursor: not-allowed;
99862
+ background-color: transparent;
99863
+ background-image: none;
99864
+ box-shadow: none;
99865
+ transform: none;
99866
+ color: inherit;
99867
+ text-decoration: none;
99868
+ }
99869
+
99870
+ :where(a, button)[list-item]:is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active),
99871
+ [list-item]:is([disabled], [aria-disabled=true]) > :where(a, button):is(:hover, :active),
99872
+ [list-item] > :where(a, button):is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active),
99873
+ [theme] :where(a, button)[list-item]:is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active),
99874
+ [theme] [list-item]:is([disabled], [aria-disabled=true]) > :where(a, button):is(:hover, :active),
99875
+ [theme] [list-item] > :where(a, button):is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active) {
99876
+ background-color: transparent;
99877
+ background-image: none;
99878
+ box-shadow: none;
99879
+ transform: none;
99880
+ color: inherit;
99881
+ text-decoration: none;
99882
+ }
99883
+
99884
+ :where(a, button)[list-item]:focus-visible,
99885
+ [list-item] > :where(a, button):focus-visible,
99886
+ [theme] :where(a, button)[list-item]:focus-visible,
99887
+ [theme] [list-item] > :where(a, button):focus-visible {
99888
+ outline: 2px solid currentColor;
99889
+ outline-offset: 2px;
99890
+ box-shadow: none;
99891
+ transform: none;
99892
+ }
99893
+
99894
+ :where(ul, ol, div)[list][divided] > * + *,
99895
+ [theme] :where(ul, ol, div)[list][divided] > * + * {
99896
+ border-top: 1px solid var(--juice-list-divider);
99897
+ }
99898
+
99899
+ @media (prefers-reduced-motion: reduce) {
99900
+ :where(a, button)[list-item],
99901
+ [list-item] > :where(a, button),
99902
+ [theme] :where(a, button)[list-item],
99903
+ [theme] [list-item] > :where(a, button) {
99904
+ transition: none;
99905
+ }
99906
+ }
99907
+ /* =====================================================================
99908
+ Login — centered sign-in card
99909
+ Owns: page wrapper, card, header, fields, submit, provider row, footer.
99910
+ Structure only — theme paints colors.
99911
+ ===================================================================== */
99912
+ [login-page] {
99913
+ min-height: calc(100vh - 8rem);
99914
+ display: flex;
99915
+ align-items: center;
99916
+ justify-content: center;
99917
+ }
99918
+
99919
+ [login-page] > [container][narrow] {
99920
+ max-width: 28rem;
99921
+ width: 100%;
99922
+ margin: 0 auto;
99923
+ padding: 0 1.5rem;
99924
+ box-sizing: border-box;
99925
+ }
99926
+
99927
+ [login-card] {
99928
+ display: flex;
99929
+ flex-direction: column;
99930
+ gap: 1.5rem;
99931
+ padding: 2.5rem;
99932
+ border: 1px solid;
99933
+ border-radius: 1rem;
99934
+ }
99935
+
99936
+ [login-header] {
99937
+ text-align: center;
99938
+ background: transparent;
99939
+ border: none;
99940
+ padding: 0;
99941
+ margin: 0;
99942
+ }
99943
+
99944
+ [login-brand] {
99945
+ display: inline-flex;
99946
+ align-items: baseline;
99947
+ gap: 0.375rem;
99948
+ text-decoration: none;
99949
+ margin-bottom: 1.5rem;
99950
+ }
99951
+
99952
+ [login-brand] [logo=text] {
99953
+ font-weight: 700;
99954
+ font-size: 1.5rem;
99955
+ letter-spacing: -0.01em;
99956
+ }
99957
+
99958
+ [login-brand] [logo-suffix] {
99959
+ font-weight: 400;
99960
+ font-size: 1rem;
99961
+ }
99962
+
99963
+ [login-header] > h1 {
99964
+ font-size: 1.5rem;
99965
+ line-height: 1.2;
99966
+ letter-spacing: -0.01em;
99967
+ margin: 0 0 0.5rem;
99968
+ }
99969
+
99970
+ [login-header] > [lede] {
99971
+ font-size: 0.9375rem;
99972
+ margin: 0;
99973
+ line-height: 1.5;
99974
+ }
99975
+
99976
+ [login-form] {
99201
99977
  display: flex;
99202
99978
  flex-direction: column;
99203
99979
  gap: 1rem;
@@ -101296,6 +102072,60 @@ button[radio][aria-disabled=true],
101296
102072
  transition: none;
101297
102073
  }
101298
102074
  }
102075
+ :root {
102076
+ --juice-safe-area-pad: 1rem;
102077
+ }
102078
+
102079
+ [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y]),
102080
+ [theme] [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y]),
102081
+ nav[fixed] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y]),
102082
+ nav[sticky] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y]),
102083
+ [wizard-header] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y]) {
102084
+ padding-top: max(var(--juice-safe-area-pad), env(safe-area-inset-top, 0px));
102085
+ padding-right: max(var(--juice-safe-area-pad), env(safe-area-inset-right, 0px));
102086
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px));
102087
+ padding-left: max(var(--juice-safe-area-pad), env(safe-area-inset-left, 0px));
102088
+ box-sizing: border-box;
102089
+ }
102090
+
102091
+ [safe-area=top],
102092
+ [theme] [safe-area=top],
102093
+ nav[fixed] > [container][safe-area=top],
102094
+ nav[sticky] > [container][safe-area=top],
102095
+ [wizard-header] > [container][safe-area=top] {
102096
+ padding-top: max(var(--juice-safe-area-pad), env(safe-area-inset-top, 0px));
102097
+ box-sizing: border-box;
102098
+ }
102099
+
102100
+ [safe-area=bottom],
102101
+ [theme] [safe-area=bottom],
102102
+ nav[fixed] > [container][safe-area=bottom],
102103
+ nav[sticky] > [container][safe-area=bottom],
102104
+ [wizard-header] > [container][safe-area=bottom] {
102105
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px));
102106
+ box-sizing: border-box;
102107
+ }
102108
+
102109
+ [safe-area=x],
102110
+ [theme] [safe-area=x],
102111
+ nav[fixed] > [container][safe-area=x],
102112
+ nav[sticky] > [container][safe-area=x],
102113
+ [wizard-header] > [container][safe-area=x] {
102114
+ padding-left: max(var(--juice-safe-area-pad), env(safe-area-inset-left, 0px));
102115
+ padding-right: max(var(--juice-safe-area-pad), env(safe-area-inset-right, 0px));
102116
+ box-sizing: border-box;
102117
+ }
102118
+
102119
+ [safe-area=y],
102120
+ [theme] [safe-area=y],
102121
+ nav[fixed] > [container][safe-area=y],
102122
+ nav[sticky] > [container][safe-area=y],
102123
+ [wizard-header] > [container][safe-area=y] {
102124
+ padding-top: max(var(--juice-safe-area-pad), env(safe-area-inset-top, 0px));
102125
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px));
102126
+ box-sizing: border-box;
102127
+ }
102128
+
101299
102129
  [search-panel] {
101300
102130
  max-width: 56rem;
101301
102131
  margin: 0 auto;
@@ -101479,52 +102309,286 @@ select[select][disabled],
101479
102309
  margin-bottom: 2rem;
101480
102310
  }
101481
102311
  }
101482
- [slider]:not([slider=vertical]),
101483
- [theme] [slider]:not([slider=vertical]) {
101484
- position: relative;
101485
- display: block;
102312
+ :root,
102313
+ [theme] {
102314
+ --juice-skeleton-base: color-mix(in srgb, currentColor 14%, var(--juice-surface-muted-bg, hsl(0, 0%, 90%)));
102315
+ --juice-skeleton-highlight: color-mix(in srgb, hsl(0, 0%, 100%) 35%, transparent);
102316
+ }
102317
+
102318
+ :root {
102319
+ --juice-skeleton-radius: 0.375rem;
102320
+ --juice-skeleton-line-height: 0.75rem;
102321
+ --juice-skeleton-line-height-sm: 0.5rem;
102322
+ --juice-skeleton-line-height-lg: 1rem;
102323
+ --juice-skeleton-line-gap: 0.5rem;
102324
+ --juice-skeleton-line-gap-sm: 0.375rem;
102325
+ --juice-skeleton-line-gap-lg: 0.625rem;
102326
+ --juice-skeleton-circle-size: 2.5rem;
102327
+ --juice-skeleton-circle-size-sm: 1.5rem;
102328
+ --juice-skeleton-circle-size-lg: 4rem;
102329
+ --juice-skeleton-rect-height: 4rem;
102330
+ --juice-skeleton-rect-height-sm: 2.5rem;
102331
+ --juice-skeleton-rect-height-lg: 6rem;
102332
+ --juice-skeleton-duration: calc(var(--juice-motion-duration-slow) * 1.6);
102333
+ }
102334
+
102335
+ [skeleton],
102336
+ [theme] [skeleton] {
101486
102337
  box-sizing: border-box;
101487
- width: 100%;
101488
- min-width: 8rem;
101489
- height: 1.75rem;
101490
- margin: 0;
101491
- padding: 0;
101492
102338
  border: none;
101493
- border-radius: 0;
101494
- background-color: transparent;
102339
+ background-color: var(--juice-skeleton-base);
101495
102340
  background-image: none;
101496
102341
  box-shadow: none;
101497
- transform: none;
101498
- overflow: visible;
101499
- cursor: pointer;
102342
+ -webkit-backdrop-filter: none;
102343
+ backdrop-filter: none;
102344
+ -webkit-text-fill-color: transparent;
101500
102345
  -webkit-user-select: none;
101501
102346
  user-select: none;
101502
- --juice-slider-ratio: 0;
101503
102347
  }
101504
102348
 
101505
- [slider]:not([slider=vertical])::before,
101506
- [theme] [slider]:not([slider=vertical])::before {
102349
+ [skeleton] {
102350
+ position: relative;
102351
+ display: block;
102352
+ width: 100%;
102353
+ max-width: 100%;
102354
+ height: var(--juice-skeleton-rect-height);
102355
+ padding: 0;
102356
+ overflow: hidden;
102357
+ border-radius: var(--juice-skeleton-radius);
102358
+ }
102359
+
102360
+ [skeleton]::after,
102361
+ [theme] [skeleton]::after {
101507
102362
  content: "";
101508
102363
  position: absolute;
101509
- left: calc(1.25rem * 0.5);
101510
- right: calc(1.25rem * 0.5);
101511
- top: 50%;
101512
- height: 0.375rem;
101513
- box-sizing: border-box;
101514
- border: 1px solid var(--juice-slider-track-border, var(--aqua-slider-track-border, var(--kw-slider-track-border, var(--cm-slider-track-border, var(--tide-slider-track-border, var(--jx-slider-track-border, hsl(0, 0%, 85%)))))));
101515
- border-radius: 999px;
101516
- background-color: var(--juice-slider-track, var(--aqua-slider-track, var(--kw-slider-track, var(--cm-slider-track, var(--tide-slider-track, var(--jx-slider-track, hsl(0, 0%, 90%)))))));
101517
- background-image: none;
101518
- transform: translateY(-50%);
102364
+ inset: 0;
101519
102365
  pointer-events: none;
101520
- transition: background-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), border-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard);
102366
+ background-image: linear-gradient(90deg, transparent 0%, var(--juice-skeleton-highlight) 50%, transparent 100%);
102367
+ transform: translateX(-100%);
102368
+ animation: juice-skeleton-shimmer var(--juice-skeleton-duration) var(--juice-motion-ease-linear) infinite;
101521
102369
  }
101522
102370
 
101523
- [slider-fill],
101524
- [theme] [slider-fill] {
101525
- position: absolute;
101526
- left: 0;
101527
- top: 50%;
102371
+ [skeleton][scale=sm]:not([skeleton=text]):not([skeleton=circle]),
102372
+ [skeleton=rect][scale=sm] {
102373
+ height: var(--juice-skeleton-rect-height-sm);
102374
+ }
102375
+
102376
+ [skeleton][scale=lg]:not([skeleton=text]):not([skeleton=circle]),
102377
+ [skeleton=rect][scale=lg] {
102378
+ height: var(--juice-skeleton-rect-height-lg);
102379
+ }
102380
+
102381
+ [skeleton=rect] {
102382
+ height: var(--juice-skeleton-rect-height);
102383
+ }
102384
+
102385
+ [skeleton=text] {
102386
+ height: var(--juice-skeleton-line-height);
102387
+ }
102388
+
102389
+ [skeleton=text][scale=sm] {
102390
+ --juice-skeleton-line-height: var(--juice-skeleton-line-height-sm);
102391
+ --juice-skeleton-line-gap: var(--juice-skeleton-line-gap-sm);
102392
+ }
102393
+
102394
+ [skeleton=text][scale=lg] {
102395
+ --juice-skeleton-line-height: var(--juice-skeleton-line-height-lg);
102396
+ --juice-skeleton-line-gap: var(--juice-skeleton-line-gap-lg);
102397
+ }
102398
+
102399
+ [skeleton=text][lines="1"] {
102400
+ height: calc(1 * var(--juice-skeleton-line-height) + 0 * var(--juice-skeleton-line-gap));
102401
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102402
+ }
102403
+
102404
+ [skeleton=text][lines="2"] {
102405
+ height: calc(2 * var(--juice-skeleton-line-height) + 1 * var(--juice-skeleton-line-gap));
102406
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102407
+ }
102408
+
102409
+ [skeleton=text][lines="3"] {
102410
+ height: calc(3 * var(--juice-skeleton-line-height) + 2 * var(--juice-skeleton-line-gap));
102411
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102412
+ }
102413
+
102414
+ [skeleton=text][lines="4"] {
102415
+ height: calc(4 * var(--juice-skeleton-line-height) + 3 * var(--juice-skeleton-line-gap));
102416
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102417
+ }
102418
+
102419
+ [skeleton=text][lines="5"] {
102420
+ height: calc(5 * var(--juice-skeleton-line-height) + 4 * var(--juice-skeleton-line-gap));
102421
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102422
+ }
102423
+
102424
+ [skeleton=text][lines="6"] {
102425
+ height: calc(6 * var(--juice-skeleton-line-height) + 5 * var(--juice-skeleton-line-gap));
102426
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102427
+ }
102428
+
102429
+ [skeleton=text][lines="7"] {
102430
+ height: calc(7 * var(--juice-skeleton-line-height) + 6 * var(--juice-skeleton-line-gap));
102431
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102432
+ }
102433
+
102434
+ [skeleton=text][lines="8"] {
102435
+ height: calc(8 * var(--juice-skeleton-line-height) + 7 * var(--juice-skeleton-line-gap));
102436
+ mask-image: repeating-linear-gradient(to bottom, #000 0, #000 var(--juice-skeleton-line-height), transparent var(--juice-skeleton-line-height), transparent calc(var(--juice-skeleton-line-height) + var(--juice-skeleton-line-gap)));
102437
+ }
102438
+
102439
+ [skeleton=text]:not([lines]):has(> *),
102440
+ [theme] [skeleton=text]:not([lines]):has(> *) {
102441
+ height: auto;
102442
+ background-color: transparent;
102443
+ background-image: none;
102444
+ display: grid;
102445
+ row-gap: var(--juice-skeleton-line-gap);
102446
+ overflow: visible;
102447
+ }
102448
+
102449
+ [skeleton=text]:not([lines]):has(> *)::after,
102450
+ [theme] [skeleton=text]:not([lines]):has(> *)::after {
102451
+ content: none;
102452
+ animation: none;
102453
+ }
102454
+
102455
+ [skeleton=text]:not([lines]) > :not([skeleton]),
102456
+ [theme] [skeleton=text]:not([lines]) > :not([skeleton]) {
102457
+ position: relative;
102458
+ display: block;
102459
+ height: var(--juice-skeleton-line-height);
102460
+ box-sizing: border-box;
102461
+ margin: 0;
102462
+ padding: 0;
102463
+ overflow: hidden;
102464
+ border: none;
102465
+ border-radius: var(--juice-skeleton-radius);
102466
+ background-color: var(--juice-skeleton-base);
102467
+ background-image: none;
102468
+ box-shadow: none;
102469
+ -webkit-text-fill-color: transparent;
102470
+ -webkit-user-select: none;
102471
+ user-select: none;
102472
+ }
102473
+
102474
+ [skeleton=text]:not([lines]) > :not([skeleton])::after,
102475
+ [theme] [skeleton=text]:not([lines]) > :not([skeleton])::after {
102476
+ content: "";
102477
+ position: absolute;
102478
+ inset: 0;
102479
+ pointer-events: none;
102480
+ background-image: linear-gradient(90deg, transparent 0%, var(--juice-skeleton-highlight) 50%, transparent 100%);
102481
+ transform: translateX(-100%);
102482
+ animation: juice-skeleton-shimmer var(--juice-skeleton-duration) var(--juice-motion-ease-linear) infinite;
102483
+ }
102484
+
102485
+ [skeleton=circle] {
102486
+ display: inline-block;
102487
+ width: var(--juice-skeleton-circle-size);
102488
+ height: var(--juice-skeleton-circle-size);
102489
+ flex: 0 0 auto;
102490
+ border-radius: 999px;
102491
+ vertical-align: middle;
102492
+ }
102493
+
102494
+ [skeleton=circle][scale=sm] {
102495
+ width: var(--juice-skeleton-circle-size-sm);
102496
+ height: var(--juice-skeleton-circle-size-sm);
102497
+ }
102498
+
102499
+ [skeleton=circle][scale=lg] {
102500
+ width: var(--juice-skeleton-circle-size-lg);
102501
+ height: var(--juice-skeleton-circle-size-lg);
102502
+ }
102503
+
102504
+ [skeleton]:not([skeleton=text]) > :not([skeleton]),
102505
+ [theme] [skeleton]:not([skeleton=text]) > :not([skeleton]),
102506
+ [skeleton=text][lines] > :not([skeleton]),
102507
+ [theme] [skeleton=text][lines] > :not([skeleton]) {
102508
+ position: absolute;
102509
+ width: 1px;
102510
+ height: 1px;
102511
+ padding: 0;
102512
+ margin: -1px;
102513
+ overflow: hidden;
102514
+ clip: rect(0, 0, 0, 0);
102515
+ clip-path: inset(50%);
102516
+ white-space: nowrap;
102517
+ border: 0;
102518
+ }
102519
+
102520
+ [skeleton] :is(img, svg, video, canvas, picture, iframe) {
102521
+ opacity: 0;
102522
+ }
102523
+
102524
+ [skeleton][static]::after,
102525
+ [theme] [skeleton][static]::after,
102526
+ [skeleton][static] > :not([skeleton])::after,
102527
+ [theme] [skeleton][static] > :not([skeleton])::after {
102528
+ animation: none;
102529
+ content: none;
102530
+ }
102531
+
102532
+ @keyframes juice-skeleton-shimmer {
102533
+ 100% {
102534
+ transform: translateX(100%);
102535
+ }
102536
+ }
102537
+ @media (prefers-reduced-motion: reduce) {
102538
+ [skeleton]::after,
102539
+ [theme] [skeleton]::after,
102540
+ [skeleton=text]:not([lines]) > :not([skeleton])::after,
102541
+ [theme] [skeleton=text]:not([lines]) > :not([skeleton])::after {
102542
+ animation: none;
102543
+ content: none;
102544
+ }
102545
+ }
102546
+ [slider]:not([slider=vertical]),
102547
+ [theme] [slider]:not([slider=vertical]) {
102548
+ position: relative;
102549
+ display: block;
102550
+ box-sizing: border-box;
102551
+ width: 100%;
102552
+ min-width: 8rem;
102553
+ height: 1.75rem;
102554
+ margin: 0;
102555
+ padding: 0;
102556
+ border: none;
102557
+ border-radius: 0;
102558
+ background-color: transparent;
102559
+ background-image: none;
102560
+ box-shadow: none;
102561
+ transform: none;
102562
+ overflow: visible;
102563
+ cursor: pointer;
102564
+ -webkit-user-select: none;
102565
+ user-select: none;
102566
+ --juice-slider-ratio: 0;
102567
+ }
102568
+
102569
+ [slider]:not([slider=vertical])::before,
102570
+ [theme] [slider]:not([slider=vertical])::before {
102571
+ content: "";
102572
+ position: absolute;
102573
+ left: calc(1.25rem * 0.5);
102574
+ right: calc(1.25rem * 0.5);
102575
+ top: 50%;
102576
+ height: 0.375rem;
102577
+ box-sizing: border-box;
102578
+ border: 1px solid var(--juice-slider-track-border, var(--aqua-slider-track-border, var(--kw-slider-track-border, var(--cm-slider-track-border, var(--tide-slider-track-border, var(--jx-slider-track-border, hsl(0, 0%, 85%)))))));
102579
+ border-radius: 999px;
102580
+ background-color: var(--juice-slider-track, var(--aqua-slider-track, var(--kw-slider-track, var(--cm-slider-track, var(--tide-slider-track, var(--jx-slider-track, hsl(0, 0%, 90%)))))));
102581
+ background-image: none;
102582
+ transform: translateY(-50%);
102583
+ pointer-events: none;
102584
+ transition: background-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard), border-color var(--juice-motion-duration-instant) var(--juice-motion-ease-standard);
102585
+ }
102586
+
102587
+ [slider-fill],
102588
+ [theme] [slider-fill] {
102589
+ position: absolute;
102590
+ left: 0;
102591
+ top: 50%;
101528
102592
  z-index: 0;
101529
102593
  height: 0.375rem;
101530
102594
  width: calc(1.25rem * 0.5 + (100% - 1.25rem) * var(--juice-slider-ratio, 0));
@@ -102821,6 +103885,352 @@ button[slider-thumb]:focus-visible,
102821
103885
  transition: none;
102822
103886
  }
102823
103887
  }
103888
+ :root,
103889
+ [theme] {
103890
+ --juice-table-border: color-mix(in srgb, currentColor 24%, transparent);
103891
+ --juice-table-header-bg: color-mix(in srgb, currentColor 6%, transparent);
103892
+ --juice-table-stripe: color-mix(in srgb, currentColor 4%, transparent);
103893
+ --juice-table-hover: color-mix(in srgb, currentColor 6%, transparent);
103894
+ --juice-table-selected: color-mix(in srgb, currentColor 8%, transparent);
103895
+ }
103896
+
103897
+ :root {
103898
+ --juice-table-padding: 0.75rem 1rem;
103899
+ --juice-table-padding-dense: 0.375rem 0.75rem;
103900
+ --juice-table-radius: 0.375rem;
103901
+ }
103902
+
103903
+ [table-scroll],
103904
+ [theme] [table-scroll] {
103905
+ display: block;
103906
+ box-sizing: border-box;
103907
+ width: 100%;
103908
+ max-width: 100%;
103909
+ min-width: 0;
103910
+ margin: 0;
103911
+ overflow-x: auto;
103912
+ border-radius: var(--juice-table-radius);
103913
+ background-color: transparent;
103914
+ background-image: none;
103915
+ color: inherit;
103916
+ box-shadow: none;
103917
+ }
103918
+
103919
+ [table-scroll]:focus-visible,
103920
+ [theme] [table-scroll]:focus-visible {
103921
+ outline: 2px solid currentColor;
103922
+ outline-offset: 2px;
103923
+ box-shadow: none;
103924
+ }
103925
+
103926
+ :where(table)[table],
103927
+ [theme] :where(table)[table] {
103928
+ box-sizing: border-box;
103929
+ width: 100%;
103930
+ margin: 0;
103931
+ border-collapse: separate;
103932
+ border-spacing: 0;
103933
+ border: none;
103934
+ background-color: var(--juice-surface-strong-bg, #fff);
103935
+ background-image: none;
103936
+ color: inherit;
103937
+ font: inherit;
103938
+ text-align: start;
103939
+ box-shadow: none;
103940
+ border-radius: var(--juice-table-radius);
103941
+ }
103942
+
103943
+ :where(table)[table] > caption,
103944
+ [theme] :where(table)[table] > caption {
103945
+ caption-side: top;
103946
+ box-sizing: border-box;
103947
+ padding: var(--juice-table-padding);
103948
+ text-align: start;
103949
+ color: inherit;
103950
+ font: inherit;
103951
+ font-weight: 600;
103952
+ background-color: transparent;
103953
+ background-image: none;
103954
+ }
103955
+
103956
+ :where(table)[table] > :where(thead, tbody, tfoot),
103957
+ [theme] :where(table)[table] > :where(thead, tbody, tfoot) {
103958
+ background-color: transparent;
103959
+ color: inherit;
103960
+ }
103961
+
103962
+ :where(table)[table] > :where(thead, tbody, tfoot) > tr,
103963
+ [theme] :where(table)[table] > :where(thead, tbody, tfoot) > tr {
103964
+ background-color: transparent;
103965
+ color: inherit;
103966
+ }
103967
+
103968
+ :where(table)[table] > :where(thead, tbody, tfoot) > tr > :where(th, td),
103969
+ [theme] :where(table)[table] > :where(thead, tbody, tfoot) > tr > :where(th, td) {
103970
+ box-sizing: border-box;
103971
+ padding: var(--juice-table-padding);
103972
+ border: none;
103973
+ border-inline-end: 1px solid var(--juice-table-border);
103974
+ border-block-end: 1px solid var(--juice-table-border);
103975
+ background-color: transparent;
103976
+ background-image: none;
103977
+ color: inherit;
103978
+ font: inherit;
103979
+ font-weight: inherit;
103980
+ text-align: start;
103981
+ vertical-align: middle;
103982
+ box-shadow: none;
103983
+ }
103984
+
103985
+ :where(table)[table] > :where(thead, tbody, tfoot) > tr > :where(th, td):first-child,
103986
+ [theme] :where(table)[table] > :where(thead, tbody, tfoot) > tr > :where(th, td):first-child {
103987
+ border-inline-start: 1px solid var(--juice-table-border);
103988
+ }
103989
+
103990
+ :where(table)[table] :where(th, td, caption) :where(p, span, li, label),
103991
+ [theme] :where(table)[table] :where(th, td, caption) :where(p, span, li, label) {
103992
+ color: inherit;
103993
+ }
103994
+
103995
+ :where(table)[table] > caption + :where(thead, tbody, tfoot) > tr:first-child > :where(th, td),
103996
+ :where(table)[table] > :where(thead, tbody, tfoot):first-child > tr:first-child > :where(th, td) {
103997
+ border-block-start: 1px solid var(--juice-table-border);
103998
+ }
103999
+
104000
+ :where(table)[table] > caption + :where(thead, tbody, tfoot) > tr:first-child > :where(th, td):first-child,
104001
+ :where(table)[table] > :where(thead, tbody, tfoot):first-child > tr:first-child > :where(th, td):first-child {
104002
+ border-start-start-radius: var(--juice-table-radius);
104003
+ }
104004
+
104005
+ :where(table)[table] > caption + :where(thead, tbody, tfoot) > tr:first-child > :where(th, td):last-child,
104006
+ :where(table)[table] > :where(thead, tbody, tfoot):first-child > tr:first-child > :where(th, td):last-child {
104007
+ border-start-end-radius: var(--juice-table-radius);
104008
+ }
104009
+
104010
+ :where(table)[table] > :where(thead, tbody, tfoot):last-child > tr:last-child > :where(th, td):first-child {
104011
+ border-end-start-radius: var(--juice-table-radius);
104012
+ }
104013
+
104014
+ :where(table)[table] > :where(thead, tbody, tfoot):last-child > tr:last-child > :where(th, td):last-child {
104015
+ border-end-end-radius: var(--juice-table-radius);
104016
+ }
104017
+
104018
+ :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td),
104019
+ [theme] :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td) {
104020
+ font-weight: 600;
104021
+ background-color: var(--juice-table-header-bg);
104022
+ background-image: none;
104023
+ color: inherit;
104024
+ }
104025
+
104026
+ :where(table)[table][dense] > caption,
104027
+ :where(table)[table][dense] > :where(thead, tbody, tfoot) > tr > :where(th, td) {
104028
+ padding: var(--juice-table-padding-dense);
104029
+ }
104030
+
104031
+ :where(table)[table][striped] > tbody > tr:nth-child(even),
104032
+ [theme] :where(table)[table][striped] > tbody > tr:nth-child(even) {
104033
+ background-color: var(--juice-table-stripe);
104034
+ background-image: none;
104035
+ color: inherit;
104036
+ }
104037
+
104038
+ :where(table)[table] > tbody > tr:hover,
104039
+ :where(table)[table][striped] > tbody > tr:hover,
104040
+ [theme] :where(table)[table] > tbody > tr:hover,
104041
+ [theme] :where(table)[table][striped] > tbody > tr:hover {
104042
+ background-color: var(--juice-table-hover);
104043
+ background-image: none;
104044
+ color: inherit;
104045
+ }
104046
+
104047
+ :where(table)[table] > tbody > tr:is([selected], [aria-selected=true]),
104048
+ :where(table)[table][striped] > tbody > tr:is([selected], [aria-selected=true]),
104049
+ :where(table)[table] > tbody > tr:is([selected], [aria-selected=true]):hover,
104050
+ :where(table)[table][striped] > tbody > tr:is([selected], [aria-selected=true]):hover,
104051
+ [theme] :where(table)[table] > tbody > tr:is([selected], [aria-selected=true]),
104052
+ [theme] :where(table)[table][striped] > tbody > tr:is([selected], [aria-selected=true]),
104053
+ [theme] :where(table)[table] > tbody > tr:is([selected], [aria-selected=true]):hover,
104054
+ [theme] :where(table)[table][striped] > tbody > tr:is([selected], [aria-selected=true]):hover {
104055
+ background-color: var(--juice-table-selected);
104056
+ background-image: none;
104057
+ color: inherit;
104058
+ }
104059
+
104060
+ :where(table)[table] > :where(thead, tfoot) > tr:is([selected], [aria-selected=true]) > :where(th, td),
104061
+ [theme] :where(table)[table] > :where(thead, tfoot) > tr:is([selected], [aria-selected=true]) > :where(th, td) {
104062
+ background-color: var(--juice-table-selected);
104063
+ background-image: none;
104064
+ color: inherit;
104065
+ }
104066
+
104067
+ :where(table)[table][sticky] > thead > tr > :where(th, td) {
104068
+ position: sticky;
104069
+ inset-block-start: 0;
104070
+ z-index: 1;
104071
+ background-color: var(--juice-surface-strong-bg, #fff);
104072
+ background-image: linear-gradient(var(--juice-table-header-bg), var(--juice-table-header-bg)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff));
104073
+ }
104074
+
104075
+ :where(table)[table][sticky] > thead > tr:is([selected], [aria-selected=true]) > :where(th, td) {
104076
+ position: sticky;
104077
+ inset-block-start: 0;
104078
+ z-index: 1;
104079
+ background-color: var(--juice-surface-strong-bg, #fff);
104080
+ background-image: linear-gradient(var(--juice-table-selected), var(--juice-table-selected)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff)), linear-gradient(var(--juice-surface-strong-bg, #fff), var(--juice-surface-strong-bg, #fff));
104081
+ }
104082
+
104083
+ :where(table)[table] :where(th, td)[table-align=start] {
104084
+ text-align: start;
104085
+ }
104086
+
104087
+ :where(table)[table] :where(th, td)[table-align=center] {
104088
+ text-align: center;
104089
+ }
104090
+
104091
+ :where(table)[table] :where(th, td)[table-align=end] {
104092
+ text-align: end;
104093
+ }
104094
+
104095
+ :where(table)[table] :where(th, td)[numeric] {
104096
+ font-variant-numeric: tabular-nums;
104097
+ }
104098
+
104099
+ :where(table)[table] th[sortable] > button,
104100
+ :where(table)[table] th[sortable] > button:hover,
104101
+ :where(table)[table] th[sortable] > button:focus,
104102
+ :where(table)[table] th[sortable] > button:active,
104103
+ [theme] :where(table)[table] th[sortable] > button,
104104
+ [theme] :where(table)[table] th[sortable] > button:hover,
104105
+ [theme] :where(table)[table] th[sortable] > button:focus,
104106
+ [theme] :where(table)[table] th[sortable] > button:active {
104107
+ appearance: none;
104108
+ display: flex;
104109
+ align-items: center;
104110
+ justify-content: flex-start;
104111
+ gap: 0.4em;
104112
+ box-sizing: border-box;
104113
+ width: 100%;
104114
+ max-width: 100%;
104115
+ min-height: 0;
104116
+ margin: 0;
104117
+ padding: 0;
104118
+ border: none;
104119
+ border-radius: 0;
104120
+ background-color: transparent;
104121
+ background-image: none;
104122
+ box-shadow: none;
104123
+ color: inherit;
104124
+ font: inherit;
104125
+ font-weight: inherit;
104126
+ line-height: inherit;
104127
+ letter-spacing: inherit;
104128
+ text-align: inherit;
104129
+ text-decoration: none;
104130
+ text-transform: inherit;
104131
+ white-space: inherit;
104132
+ cursor: pointer;
104133
+ vertical-align: middle;
104134
+ outline: none;
104135
+ }
104136
+
104137
+ :where(table)[table] th[sortable][table-align=center] > button,
104138
+ [theme] :where(table)[table] th[sortable][table-align=center] > button {
104139
+ justify-content: center;
104140
+ text-align: center;
104141
+ }
104142
+
104143
+ :where(table)[table] th[sortable][table-align=end] > button,
104144
+ [theme] :where(table)[table] th[sortable][table-align=end] > button {
104145
+ justify-content: flex-end;
104146
+ text-align: end;
104147
+ }
104148
+
104149
+ :where(table)[table] th[sortable] > button:focus-visible,
104150
+ [theme] :where(table)[table] th[sortable] > button:focus-visible {
104151
+ appearance: none;
104152
+ display: flex;
104153
+ align-items: center;
104154
+ justify-content: flex-start;
104155
+ gap: 0.4em;
104156
+ box-sizing: border-box;
104157
+ width: 100%;
104158
+ max-width: 100%;
104159
+ min-height: 0;
104160
+ margin: 0;
104161
+ padding: 0;
104162
+ border: none;
104163
+ border-radius: 0;
104164
+ background-color: transparent;
104165
+ background-image: none;
104166
+ box-shadow: none;
104167
+ color: inherit;
104168
+ font: inherit;
104169
+ font-weight: inherit;
104170
+ line-height: inherit;
104171
+ letter-spacing: inherit;
104172
+ text-align: inherit;
104173
+ text-decoration: none;
104174
+ text-transform: inherit;
104175
+ white-space: inherit;
104176
+ cursor: pointer;
104177
+ vertical-align: middle;
104178
+ outline: 2px solid currentColor;
104179
+ outline-offset: 2px;
104180
+ }
104181
+
104182
+ :where(table)[table] th[sortable] > button::after,
104183
+ :where(table)[table] th[sortable][aria-sort=none] > button::after,
104184
+ [theme] :where(table)[table] th[sortable] > button::after,
104185
+ [theme] :where(table)[table] th[sortable][aria-sort=none] > button::after {
104186
+ content: "";
104187
+ flex: none;
104188
+ align-self: center;
104189
+ box-sizing: content-box;
104190
+ width: 0;
104191
+ height: 0.12em;
104192
+ border-style: solid;
104193
+ border-color: transparent;
104194
+ border-inline-width: 0.28em;
104195
+ border-block-start: 0.28em solid currentColor;
104196
+ border-block-end: 0.28em solid currentColor;
104197
+ opacity: 0.45;
104198
+ transition: opacity var(--juice-motion-duration-fast) var(--juice-motion-ease-standard);
104199
+ }
104200
+
104201
+ :where(table)[table] th[sortable][aria-sort=ascending] > button::after,
104202
+ [theme] :where(table)[table] th[sortable][aria-sort=ascending] > button::after {
104203
+ height: 0;
104204
+ border-block-start: 0 solid transparent;
104205
+ border-block-end: 0.35em solid currentColor;
104206
+ opacity: 1;
104207
+ }
104208
+
104209
+ :where(table)[table] th[sortable][aria-sort=descending] > button::after,
104210
+ [theme] :where(table)[table] th[sortable][aria-sort=descending] > button::after {
104211
+ height: 0;
104212
+ border-block-end: 0 solid transparent;
104213
+ border-block-start: 0.35em solid currentColor;
104214
+ opacity: 1;
104215
+ }
104216
+
104217
+ :where(table)[table] > tbody > tr,
104218
+ :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td),
104219
+ [theme] :where(table)[table] > tbody > tr,
104220
+ [theme] :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td) {
104221
+ transition: background-color var(--juice-motion-duration-fast) var(--juice-motion-ease-standard);
104222
+ }
104223
+
104224
+ @media (prefers-reduced-motion: reduce) {
104225
+ :where(table)[table] > tbody > tr,
104226
+ :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td),
104227
+ [theme] :where(table)[table] > tbody > tr,
104228
+ [theme] :where(table)[table] > :where(thead, tfoot) > tr > :where(th, td),
104229
+ :where(table)[table] th[sortable] > button::after,
104230
+ [theme] :where(table)[table] th[sortable] > button::after {
104231
+ transition: none;
104232
+ }
104233
+ }
102824
104234
  [tabs] {
102825
104235
  display: flex;
102826
104236
  flex-direction: column;