@zovaris/sephiro 0.8.1 → 0.10.0

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.
@@ -360,8 +360,39 @@
360
360
  background: var(--sph-danger-soft);
361
361
  color: var(--sph-danger);
362
362
  }
363
+ .sph-badge[data-removable] {
364
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
365
+ padding-inline-end: 3px;
366
+ }
367
+ .sph-badge__remove {
368
+ display: inline-flex;
369
+ flex-shrink: 0;
370
+ align-items: center;
371
+ justify-content: center;
372
+ border-radius: calc(infinity * 1px);
373
+ border-style: var(--tw-border-style);
374
+ border-width: 0px;
375
+ background-color: transparent;
376
+ padding: 0px;
377
+ color: var(--sph-text-muted);
378
+ inline-size: 15px;
379
+ block-size: 15px;
380
+ cursor: pointer;
381
+ transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard);
382
+ }
383
+ .sph-badge__remove:hover {
384
+ background: var(--sph-danger);
385
+ @supports (color: color-mix(in lab, red, red)) {
386
+ background: color-mix(in srgb, var(--sph-danger) 22%, transparent);
387
+ }
388
+ color: var(--sph-text);
389
+ }
390
+ .sph-badge__remove:focus-visible {
391
+ outline: 2px solid var(--sph-focus);
392
+ outline-offset: 1px;
393
+ }
363
394
  @media (prefers-reduced-motion: reduce) {
364
- .sph-badge {
395
+ .sph-badge, .sph-badge__remove {
365
396
  transition: none;
366
397
  }
367
398
  }
@@ -769,6 +800,10 @@
769
800
  box-sizing: border-box;
770
801
  font: 11px / 1 var(--sph-font-sans);
771
802
  }
803
+ .sph-kbd[data-variant="ghost"] {
804
+ border-color: transparent;
805
+ background-color: transparent;
806
+ }
772
807
  .sph-kbd__key {
773
808
  display: inline-flex;
774
809
  align-items: center;
@@ -2506,7 +2541,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2506
2541
  animation: none;
2507
2542
  }
2508
2543
  }
2509
- .sph-alert {
2544
+ .sph-notice {
2510
2545
  display: flex;
2511
2546
  min-width: 0px;
2512
2547
  align-items: flex-start;
@@ -2524,15 +2559,15 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2524
2559
  font-family: var(--sph-font-sans);
2525
2560
  animation: sph-rise-in var(--sph-motion-slow) var(--sph-ease-emphasis) both;
2526
2561
  }
2527
- .sph-alert[data-state="closed"] {
2562
+ .sph-notice[data-state="closed"] {
2528
2563
  pointer-events: none;
2529
2564
  animation: sph-rise-out var(--sph-motion-fast) var(--sph-ease-exit) both;
2530
2565
  }
2531
2566
  @supports (interpolate-size: allow-keywords) {
2532
- .sph-alert {
2567
+ .sph-notice {
2533
2568
  interpolate-size: allow-keywords;
2534
2569
  }
2535
- .sph-alert[data-state="closed"] {
2570
+ .sph-notice[data-state="closed"] {
2536
2571
  overflow: hidden;
2537
2572
  block-size: 0;
2538
2573
  padding-block: 0;
@@ -2540,7 +2575,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2540
2575
  transition: block-size var(--sph-motion-normal) var(--sph-ease-exit), padding-block var(--sph-motion-normal) var(--sph-ease-exit), border-block-width var(--sph-motion-normal) var(--sph-ease-exit);
2541
2576
  }
2542
2577
  }
2543
- .sph-alert[data-variant="info"] {
2578
+ .sph-notice[data-variant="info"] {
2544
2579
  background: var(--sph-accent);
2545
2580
  @supports (color: color-mix(in lab, red, red)) {
2546
2581
  background: color-mix(in srgb, var(--sph-accent) 8%, var(--sph-surface));
@@ -2550,77 +2585,76 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2550
2585
  border-color: color-mix(in srgb, var(--sph-accent) 30%, var(--sph-border));
2551
2586
  }
2552
2587
  }
2553
- .sph-alert[data-variant="success"] {
2588
+ .sph-notice[data-variant="success"] {
2554
2589
  background: var(--sph-success-soft);
2555
2590
  border-color: var(--sph-success);
2556
2591
  @supports (color: color-mix(in lab, red, red)) {
2557
2592
  border-color: color-mix(in srgb, var(--sph-success) 34%, var(--sph-border));
2558
2593
  }
2559
2594
  }
2560
- .sph-alert[data-variant="warning"] {
2595
+ .sph-notice[data-variant="warning"] {
2561
2596
  background: var(--sph-warning-soft);
2562
2597
  border-color: var(--sph-warning);
2563
2598
  @supports (color: color-mix(in lab, red, red)) {
2564
2599
  border-color: color-mix(in srgb, var(--sph-warning) 34%, var(--sph-border));
2565
2600
  }
2566
2601
  }
2567
- .sph-alert[data-variant="danger"] {
2602
+ .sph-notice[data-variant="danger"] {
2568
2603
  background: var(--sph-danger-soft);
2569
2604
  border-color: var(--sph-danger);
2570
2605
  @supports (color: color-mix(in lab, red, red)) {
2571
2606
  border-color: color-mix(in srgb, var(--sph-danger) 34%, var(--sph-border));
2572
2607
  }
2573
2608
  }
2574
- .sph-alert__icon {
2609
+ .sph-notice__icon {
2575
2610
  display: flex;
2576
- width: calc(var(--spacing, 0.25rem) * 8);
2577
- height: calc(var(--spacing, 0.25rem) * 8);
2611
+ width: calc(var(--spacing, 0.25rem) * 6);
2612
+ height: calc(var(--spacing, 0.25rem) * 6);
2578
2613
  flex-shrink: 0;
2579
2614
  align-items: center;
2580
2615
  justify-content: center;
2581
- align-self: center;
2582
2616
  border-radius: var(--sph-radius-md);
2617
+ align-self: flex-start;
2583
2618
  background: var(--sph-accent-soft, var(--sph-raised));
2584
2619
  color: var(--sph-accent);
2585
2620
  animation: sph-pop var(--sph-motion-slow) var(--sph-ease-spring) both;
2586
2621
  animation-delay: calc(var(--sph-motion-stagger) * 2);
2587
2622
  }
2588
- .sph-alert__icon svg {
2623
+ .sph-notice__icon svg {
2589
2624
  display: block;
2590
- width: calc(var(--spacing, 0.25rem) * 4);
2591
- height: calc(var(--spacing, 0.25rem) * 4);
2625
+ width: calc(var(--spacing, 0.25rem) * 3.5);
2626
+ height: calc(var(--spacing, 0.25rem) * 3.5);
2592
2627
  }
2593
- .sph-alert[data-variant="success"] .sph-alert__icon {
2628
+ .sph-notice[data-variant="success"] .sph-notice__icon {
2594
2629
  background: var(--sph-success-soft);
2595
2630
  color: var(--sph-success);
2596
2631
  }
2597
- .sph-alert[data-variant="warning"] .sph-alert__icon {
2632
+ .sph-notice[data-variant="warning"] .sph-notice__icon {
2598
2633
  background: var(--sph-warning-soft);
2599
2634
  color: var(--sph-warning);
2600
2635
  }
2601
- .sph-alert[data-variant="danger"] .sph-alert__icon {
2636
+ .sph-notice[data-variant="danger"] .sph-notice__icon {
2602
2637
  background: var(--sph-danger-soft);
2603
2638
  color: var(--sph-danger);
2604
2639
  }
2605
- .sph-alert__body {
2640
+ .sph-notice__body {
2606
2641
  min-width: 0px;
2607
2642
  flex: 1;
2608
2643
  }
2609
- .sph-alert__title {
2644
+ .sph-notice__title {
2610
2645
  margin: 0px;
2611
2646
  --tw-font-weight: var(--font-weight-semibold, 600);
2612
2647
  font-weight: var(--font-weight-semibold, 600);
2613
2648
  line-height: 1.35;
2614
2649
  }
2615
- .sph-alert__content {
2650
+ .sph-notice__content {
2616
2651
  margin-top: calc(var(--spacing, 0.25rem) * 0.5);
2617
2652
  font-size: var(--text-xs, 0.75rem);
2618
2653
  line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
2619
2654
  color: var(--sph-text-muted);
2620
2655
  line-height: 1.45;
2621
2656
  }
2622
- .sph-alert__dismiss {
2623
- margin-block: auto;
2657
+ .sph-notice__dismiss {
2624
2658
  display: inline-flex;
2625
2659
  width: calc(var(--spacing, 0.25rem) * 6);
2626
2660
  height: calc(var(--spacing, 0.25rem) * 6);
@@ -2633,17 +2667,18 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2633
2667
  background-color: transparent;
2634
2668
  padding: 0px;
2635
2669
  color: var(--sph-text-muted);
2670
+ align-self: flex-start;
2636
2671
  cursor: pointer;
2637
2672
  transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard), transform var(--sph-motion-fast) var(--sph-ease-emphasis);
2638
2673
  }
2639
- .sph-alert__dismiss:hover {
2674
+ .sph-notice__dismiss:hover {
2640
2675
  background-color: var(--sph-raised);
2641
2676
  color: var(--sph-text);
2642
2677
  }
2643
- .sph-alert__dismiss:active {
2678
+ .sph-notice__dismiss:active {
2644
2679
  transform: scale(0.88);
2645
2680
  }
2646
- .sph-alert__dismiss:focus-visible {
2681
+ .sph-notice__dismiss:focus-visible {
2647
2682
  outline: 2px solid var(--sph-focus);
2648
2683
  outline-offset: 1px;
2649
2684
  }
@@ -2937,6 +2972,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2937
2972
  font-family: var(--sph-font-sans);
2938
2973
  }
2939
2974
  .sph-tabs__list {
2975
+ position: relative;
2940
2976
  display: flex;
2941
2977
  min-width: 0px;
2942
2978
  gap: var(--spacing, 0.25rem);
@@ -2969,6 +3005,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2969
3005
  --tw-font-weight: var(--font-weight-medium, 500);
2970
3006
  font-weight: var(--font-weight-medium, 500);
2971
3007
  color: var(--sph-text-muted);
3008
+ border-end-start-radius: 0;
3009
+ border-end-end-radius: 0;
2972
3010
  border: 1px solid transparent;
2973
3011
  cursor: pointer;
2974
3012
  font-family: var(--sph-font-sans);
@@ -2984,40 +3022,35 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2984
3022
  .sph-tabs__tab[data-selected="true"] {
2985
3023
  color: var(--sph-text);
2986
3024
  }
2987
- .sph-tabs__tab::after {
3025
+ .sph-tabs__indicator {
2988
3026
  pointer-events: none;
2989
3027
  position: absolute;
2990
- content: "";
2991
3028
  bottom: -1px;
2992
- left: var(--sph-radius-sm);
2993
- right: var(--sph-radius-sm);
3029
+ left: 0;
2994
3030
  height: 2px;
3031
+ width: calc(var(--sph-tabs-indicator-size, 0px) - var(--sph-radius-sm) * 2);
2995
3032
  border-radius: 2px;
2996
3033
  background: var(--sph-accent);
2997
- opacity: 0;
2998
- transform: scaleX(0.3);
2999
- transition: opacity var(--sph-motion-fast) var(--sph-ease-exit), transform var(--sph-motion-fast) var(--sph-ease-exit);
3034
+ translate: calc(var(--sph-tabs-indicator-at, 0px) + var(--sph-radius-sm)) 0;
3000
3035
  }
3001
- .sph-tabs__tab[data-selected="true"]::after {
3002
- opacity: 1;
3003
- transform: scaleX(1);
3004
- transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), transform var(--sph-motion-normal) var(--sph-ease-emphasis);
3036
+ .sph-tabs__list[data-measured] .sph-tabs__indicator {
3037
+ transition: translate var(--sph-motion-normal) var(--sph-ease-emphasis), width var(--sph-motion-normal) var(--sph-ease-emphasis);
3005
3038
  }
3006
3039
  .sph-tabs[data-orientation="vertical"] .sph-tabs__tab {
3007
3040
  text-align: left;
3041
+ border-start-end-radius: 0;
3042
+ border-end-end-radius: 0;
3043
+ border-end-start-radius: var(--sph-radius-sm);
3008
3044
  }
3009
- .sph-tabs[data-orientation="vertical"] .sph-tabs__tab::after {
3010
- top: 7px;
3011
- right: -1px;
3012
- bottom: 7px;
3045
+ .sph-tabs[data-orientation="vertical"] .sph-tabs__indicator {
3046
+ top: 0;
3047
+ bottom: auto;
3013
3048
  left: auto;
3049
+ right: -1px;
3014
3050
  width: 2px;
3015
- height: auto;
3051
+ height: calc(var(--sph-tabs-indicator-size, 0px) - 14px);
3016
3052
  border-radius: 2px 0 0 2px;
3017
- transform: scaleY(0.3);
3018
- }
3019
- .sph-tabs[data-orientation="vertical"] .sph-tabs__tab[data-selected="true"]::after {
3020
- transform: scaleY(1);
3053
+ translate: 0 calc(var(--sph-tabs-indicator-at, 0px) + 7px);
3021
3054
  }
3022
3055
  .sph-tabs__tab:disabled {
3023
3056
  opacity: 40%;
@@ -3034,7 +3067,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3034
3067
  animation: sph-rise-in var(--sph-motion-normal) var(--sph-ease-emphasis) both;
3035
3068
  }
3036
3069
  @media (prefers-reduced-motion: reduce) {
3037
- .sph-tabs__tab, .sph-tabs__tab::after {
3070
+ .sph-tabs__tab, .sph-tabs__indicator {
3038
3071
  transition: none;
3039
3072
  }
3040
3073
  .sph-tabs__panel {
@@ -3559,7 +3592,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3559
3592
  font-size: var(--text-xs, 0.75rem);
3560
3593
  line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
3561
3594
  color: var(--sph-text-muted);
3562
- font: inherit;
3595
+ font-family: inherit;
3596
+ font-weight: inherit;
3563
3597
  width: 26px;
3564
3598
  height: 26px;
3565
3599
  font-variant-numeric: tabular-nums;
@@ -4040,6 +4074,12 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
4040
4074
  -webkit-backdrop-filter: blur(6px);
4041
4075
  animation: sph-dialog-fade var(--sph-motion-normal) var(--sph-ease-standard) both;
4042
4076
  }
4077
+ .sph-dialog__backdrop[data-scope="local"] {
4078
+ position: absolute;
4079
+ }
4080
+ .sph-dialog__backdrop[data-scope="local"] .sph-dialog {
4081
+ max-height: calc(100% - 2rem);
4082
+ }
4043
4083
  .sph-dialog__backdrop[data-state="closed"] {
4044
4084
  pointer-events: none;
4045
4085
  animation: sph-dialog-fade-out var(--sph-motion-normal) var(--sph-ease-exit) both;
@@ -4193,6 +4233,21 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
4193
4233
  -webkit-backdrop-filter: blur(4px);
4194
4234
  animation: sph-drawer-fade var(--sph-motion-normal) var(--sph-ease-standard) both;
4195
4235
  }
4236
+ .sph-drawer__backdrop[data-scope="local"] {
4237
+ position: absolute;
4238
+ }
4239
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"] {
4240
+ max-block-size: 85%;
4241
+ }
4242
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="sm"] {
4243
+ block-size: 32%;
4244
+ }
4245
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="md"] {
4246
+ block-size: 50%;
4247
+ }
4248
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="lg"] {
4249
+ block-size: 72%;
4250
+ }
4196
4251
  .sph-drawer__backdrop[data-side="right"] {
4197
4252
  justify-content: flex-end;
4198
4253
  }
@@ -5592,20 +5647,94 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5592
5647
  animation: none;
5593
5648
  opacity: 1;
5594
5649
  }
5650
+ .sph-side-panel {
5651
+ position: relative;
5652
+ box-sizing: border-box;
5653
+ display: flex;
5654
+ flex: 0 0 auto;
5655
+ inline-size: var(--sph-side-panel-width, 280px);
5656
+ min-inline-size: 0;
5657
+ overflow: hidden;
5658
+ border-inline-end: 1px solid var(--sph-border);
5659
+ background: var(--sph-surface);
5660
+ color: var(--sph-text);
5661
+ font-family: var(--sph-font-sans);
5662
+ transition: inline-size var(--sph-motion-slow) var(--sph-ease-emphasis), margin-inline var(--sph-motion-slow) var(--sph-ease-emphasis), border-inline-width var(--sph-motion-slow) var(--sph-ease-emphasis), background-color var(--sph-motion-fast) var(--sph-ease-standard), box-shadow var(--sph-motion-slow) var(--sph-ease-emphasis);
5663
+ }
5664
+ .sph-side-panel[data-side="right"] {
5665
+ justify-content: flex-end;
5666
+ border-inline-end: 0;
5667
+ border-inline-start: 1px solid var(--sph-border);
5668
+ }
5669
+ .sph-side-panel__inner {
5670
+ box-sizing: border-box;
5671
+ display: flex;
5672
+ flex: 0 0 auto;
5673
+ flex-direction: column;
5674
+ inline-size: var(--sph-side-panel-width, 280px);
5675
+ min-block-size: 0;
5676
+ overflow-y: auto;
5677
+ overflow-x: hidden;
5678
+ transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), visibility var(--sph-motion-slow) var(--sph-ease-emphasis);
5679
+ }
5680
+ .sph-side-panel[data-collapsed] {
5681
+ inline-size: 0;
5682
+ border-inline-width: 0;
5683
+ }
5684
+ .sph-side-panel[data-collapsed] .sph-side-panel__inner {
5685
+ opacity: 0;
5686
+ visibility: hidden;
5687
+ }
5688
+ .sph-side-panel[data-peek] {
5689
+ z-index: 2;
5690
+ inline-size: 10px;
5691
+ margin-inline-end: -10px;
5692
+ background-color: transparent;
5693
+ }
5694
+ .sph-side-panel[data-side="right"][data-peek] {
5695
+ margin-inline: -10px 0;
5696
+ }
5697
+ .sph-side-panel[data-peek]:is(:hover, :has(:focus-visible)) {
5698
+ inline-size: var(--sph-side-panel-width, 280px);
5699
+ margin-inline-end: calc(-1 * var(--sph-side-panel-width, 280px));
5700
+ border-inline-width: 1px;
5701
+ background-color: var(--sph-surface);
5702
+ box-shadow: var(--sph-shadow-popover);
5703
+ }
5704
+ .sph-side-panel[data-side="right"][data-peek]:is( :hover, :has(:focus-visible) ) {
5705
+ margin-inline: calc(-1 * var(--sph-side-panel-width, 280px)) 0;
5706
+ }
5707
+ .sph-side-panel[data-peek]:is(:hover, :has(:focus-visible)) .sph-side-panel__inner {
5708
+ opacity: 1;
5709
+ visibility: visible;
5710
+ }
5711
+ @media (prefers-reduced-motion: reduce) {
5712
+ .sph-side-panel, .sph-side-panel__inner {
5713
+ transition: none;
5714
+ }
5715
+ }
5595
5716
  .sph-sidebar {
5717
+ box-sizing: border-box;
5596
5718
  display: flex;
5719
+ flex: 0 0 auto;
5597
5720
  flex-direction: column;
5598
5721
  gap: 6px;
5599
5722
  inline-size: 224px;
5723
+ min-inline-size: 0;
5724
+ overflow: hidden;
5600
5725
  padding: 8px;
5601
5726
  border-inline-end: 1px solid var(--sph-border);
5602
5727
  background: var(--sph-surface);
5603
5728
  font-family: var(--sph-font-sans);
5604
- transition: inline-size var(--sph-motion-slow) var(--sph-ease-emphasis);
5729
+ transition: inline-size var(--sph-motion-slow) var(--sph-ease-emphasis), padding-inline var(--sph-motion-slow) var(--sph-ease-emphasis), margin-inline var(--sph-motion-slow) var(--sph-ease-emphasis), opacity var(--sph-motion-fast) var(--sph-ease-standard), visibility var(--sph-motion-slow) var(--sph-ease-emphasis), background-color var(--sph-motion-fast) var(--sph-ease-standard), border-color var(--sph-motion-fast) var(--sph-ease-standard), box-shadow var(--sph-motion-slow) var(--sph-ease-emphasis), border-inline-width var(--sph-motion-slow) var(--sph-ease-emphasis);
5605
5730
  }
5606
- .sph-sidebar[data-collapsed] {
5731
+ .sph-sidebar[data-rail] {
5607
5732
  inline-size: 56px;
5608
5733
  }
5734
+ .sph-sidebar[data-side="right"] {
5735
+ border-inline-end: 0;
5736
+ border-inline-start: 1px solid var(--sph-border);
5737
+ }
5609
5738
  .sph-sidebar__header {
5610
5739
  padding: 6px 8px 2px;
5611
5740
  }
@@ -5639,7 +5768,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5639
5768
  overflow: hidden;
5640
5769
  transition: opacity var(--sph-motion-fast) var(--sph-ease-standard);
5641
5770
  }
5642
- .sph-sidebar[data-collapsed] .sph-sidebar__section-title {
5771
+ .sph-sidebar[data-rail] .sph-sidebar__section-title {
5643
5772
  opacity: 0;
5644
5773
  block-size: 0;
5645
5774
  padding: 0;
@@ -5676,6 +5805,12 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5676
5805
  opacity: 45%;
5677
5806
  cursor: not-allowed;
5678
5807
  }
5808
+ .sph-sidebar[data-side="right"] .sph-sidebar__item:hover:not(:disabled) {
5809
+ transform: translateX(-2px);
5810
+ }
5811
+ .sph-sidebar[data-side="right"] .sph-sidebar__item:active:not(:disabled) {
5812
+ transform: translateX(-2px) scale(0.985);
5813
+ }
5679
5814
  .sph-sidebar__item[data-active] {
5680
5815
  background: var(--sph-accent);
5681
5816
  @supports (color: color-mix(in lab, red, red)) {
@@ -5695,6 +5830,14 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5695
5830
  .sph-sidebar__item[data-active] .sph-sidebar__icon {
5696
5831
  color: var(--sph-accent-strong);
5697
5832
  }
5833
+ .sph-sidebar[data-side="right"] .sph-sidebar__item[data-active]::before {
5834
+ inset-inline-start: auto;
5835
+ inset-inline-end: -8px;
5836
+ }
5837
+ .sph-sidebar[data-side="right"][data-rail] .sph-sidebar__item[data-active]::before {
5838
+ inset-inline-start: auto;
5839
+ inset-inline-end: -6px;
5840
+ }
5698
5841
  .sph-sidebar__icon {
5699
5842
  display: inline-flex;
5700
5843
  flex: 0 0 auto;
@@ -5708,21 +5851,29 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5708
5851
  text-overflow: ellipsis;
5709
5852
  transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), flex-basis var(--sph-motion-slow) var(--sph-ease-emphasis);
5710
5853
  }
5711
- .sph-sidebar[data-collapsed] .sph-sidebar__header {
5854
+ .sph-sidebar[data-rail] .sph-sidebar__header {
5712
5855
  display: none;
5713
5856
  }
5714
- .sph-sidebar[data-collapsed] .sph-sidebar__label, .sph-sidebar[data-collapsed] .sph-sidebar__badge {
5857
+ .sph-sidebar[data-rail] .sph-sidebar__label, .sph-sidebar[data-rail] .sph-sidebar__badge {
5715
5858
  opacity: 0;
5716
- flex-basis: 0;
5859
+ flex: 0 0 auto;
5717
5860
  inline-size: 0;
5718
5861
  margin: 0;
5862
+ padding: 0;
5863
+ overflow: hidden;
5864
+ white-space: nowrap;
5719
5865
  pointer-events: none;
5720
5866
  }
5721
- .sph-sidebar[data-collapsed] .sph-sidebar__item {
5867
+ .sph-sidebar[data-rail] .sph-sidebar__item {
5722
5868
  justify-content: center;
5869
+ align-items: center;
5870
+ gap: 0;
5723
5871
  padding-inline: 0;
5724
5872
  }
5725
- .sph-sidebar[data-collapsed] .sph-sidebar__item[data-active]::before {
5873
+ .sph-sidebar[data-rail] .sph-sidebar__icon {
5874
+ margin: 0;
5875
+ }
5876
+ .sph-sidebar[data-rail] .sph-sidebar__item[data-active]::before {
5726
5877
  inset-inline-start: -6px;
5727
5878
  }
5728
5879
  .sph-sidebar__badge {
@@ -5742,10 +5893,10 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5742
5893
  min-inline-size: 0;
5743
5894
  overflow: hidden;
5744
5895
  }
5745
- .sph-sidebar[data-collapsed] .sph-sidebar__footer-content {
5896
+ .sph-sidebar[data-rail] .sph-sidebar__footer-content {
5746
5897
  display: none;
5747
5898
  }
5748
- .sph-sidebar[data-collapsed] .sph-sidebar__footer {
5899
+ .sph-sidebar[data-rail] .sph-sidebar__footer {
5749
5900
  justify-content: center;
5750
5901
  }
5751
5902
  .sph-sidebar__toggle {
@@ -5770,6 +5921,82 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5770
5921
  outline: 2px solid var(--sph-focus);
5771
5922
  outline-offset: 1px;
5772
5923
  }
5924
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
5925
+ inline-size: 224px;
5926
+ }
5927
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__header {
5928
+ display: block;
5929
+ }
5930
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__section-title {
5931
+ opacity: 1;
5932
+ block-size: auto;
5933
+ padding: 4px 8px 2px;
5934
+ }
5935
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__label, .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__badge {
5936
+ opacity: 1;
5937
+ inline-size: auto;
5938
+ overflow: visible;
5939
+ pointer-events: auto;
5940
+ }
5941
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__label {
5942
+ flex: 1 1 auto;
5943
+ }
5944
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__badge {
5945
+ flex: 0 0 auto;
5946
+ }
5947
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item {
5948
+ justify-content: flex-start;
5949
+ gap: 9px;
5950
+ padding-inline: 9px;
5951
+ }
5952
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__footer-content {
5953
+ display: block;
5954
+ }
5955
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__footer {
5956
+ justify-content: flex-start;
5957
+ }
5958
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item[data-active]::before {
5959
+ inset-inline-start: -8px;
5960
+ }
5961
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item[data-active]::before {
5962
+ inset-inline-start: auto;
5963
+ inset-inline-end: -8px;
5964
+ }
5965
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__badge {
5966
+ margin-inline-start: auto;
5967
+ }
5968
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed] {
5969
+ position: relative;
5970
+ z-index: 2;
5971
+ inline-size: 10px;
5972
+ margin-inline-end: -10px;
5973
+ padding-inline: 0;
5974
+ border-inline-width: 0;
5975
+ background-color: transparent;
5976
+ }
5977
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hidden"][data-collapsed] {
5978
+ margin-inline: -10px 0;
5979
+ }
5980
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed] > * {
5981
+ opacity: 0;
5982
+ visibility: hidden;
5983
+ transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), visibility var(--sph-motion-fast) var(--sph-ease-standard);
5984
+ }
5985
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
5986
+ inline-size: 56px;
5987
+ margin-inline-end: -56px;
5988
+ padding-inline: 8px;
5989
+ border-inline-width: 1px;
5990
+ background-color: var(--sph-surface);
5991
+ box-shadow: var(--sph-shadow-popover);
5992
+ }
5993
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
5994
+ margin-inline: -56px 0;
5995
+ }
5996
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) > * {
5997
+ opacity: 1;
5998
+ visibility: visible;
5999
+ }
5773
6000
  @supports (interpolate-size: allow-keywords) {
5774
6001
  .sph-sidebar {
5775
6002
  interpolate-size: allow-keywords;
@@ -6104,20 +6331,17 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6104
6331
  }
6105
6332
  .sph-toolbar[data-size="sm"] {
6106
6333
  gap: calc(var(--spacing, 0.25rem) * 1.5);
6107
- padding-inline: calc(var(--spacing, 0.25rem) * 2);
6108
- padding-block: var(--spacing, 0.25rem);
6334
+ padding: var(--spacing, 0.25rem);
6109
6335
  min-height: 2.5rem;
6110
6336
  }
6111
6337
  .sph-toolbar[data-size="md"] {
6112
6338
  gap: calc(var(--spacing, 0.25rem) * 2);
6113
- padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
6114
- padding-block: calc(var(--spacing, 0.25rem) * 1.5);
6339
+ padding: calc(var(--spacing, 0.25rem) * 1.5);
6115
6340
  min-height: 2.75rem;
6116
6341
  }
6117
6342
  .sph-toolbar[data-size="lg"] {
6118
6343
  gap: calc(var(--spacing, 0.25rem) * 2);
6119
- padding-inline: calc(var(--spacing, 0.25rem) * 3);
6120
- padding-block: calc(var(--spacing, 0.25rem) * 2);
6344
+ padding: calc(var(--spacing, 0.25rem) * 2);
6121
6345
  min-height: 3rem;
6122
6346
  }
6123
6347
  .sph-toolbar[data-orientation="vertical"] {
@@ -6152,18 +6376,16 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6152
6376
  gap: 2px;
6153
6377
  }
6154
6378
  .sph-toolbar .sph-tabs__tab {
6155
- min-height: 2rem;
6156
- }
6157
- .sph-toolbar[data-size="md"] .sph-tabs__tab {
6158
6379
  min-height: 2.25rem;
6380
+ border-start-start-radius: var(--sph-radius-sm);
6381
+ border-start-end-radius: var(--sph-radius-sm);
6382
+ border-end-start-radius: var(--sph-radius-sm);
6383
+ border-end-end-radius: var(--sph-radius-sm);
6159
6384
  }
6160
- .sph-toolbar[data-size="lg"] .sph-tabs__tab {
6161
- min-height: 2.5rem;
6162
- }
6163
- .sph-toolbar .sph-tabs__tab::after {
6385
+ .sph-toolbar .sph-tabs__indicator {
6164
6386
  bottom: 3px;
6165
- left: 10px;
6166
- right: 10px;
6387
+ width: calc(var(--sph-tabs-indicator-size, 0px) - 20px);
6388
+ translate: calc(var(--sph-tabs-indicator-at, 0px) + 10px) 0;
6167
6389
  }
6168
6390
  @media (max-width: 560px) {
6169
6391
  .sph-toolbar {
@@ -7181,6 +7403,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7181
7403
  display: flex;
7182
7404
  flex: none;
7183
7405
  align-items: center;
7406
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7184
7407
  white-space: nowrap;
7185
7408
  }
7186
7409
  .sph-overflow-list__more {
@@ -7225,6 +7448,9 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7225
7448
  white-space: nowrap;
7226
7449
  transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), border-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard);
7227
7450
  }
7451
+ .sph-popover__content:has(> .sph-overflow-list__panel) {
7452
+ padding: calc(var(--spacing, 0.25rem) * 1.5);
7453
+ }
7228
7454
  .sph-overflow-list__popover .sph-popover__trigger {
7229
7455
  border-radius: calc(infinity * 1px);
7230
7456
  }
@@ -7248,6 +7474,35 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7248
7474
  white-space: nowrap;
7249
7475
  border-width: 0;
7250
7476
  }
7477
+ .sph-overflow-list__remove {
7478
+ display: inline-flex;
7479
+ width: calc(var(--spacing, 0.25rem) * 6);
7480
+ height: calc(var(--spacing, 0.25rem) * 6);
7481
+ flex-shrink: 0;
7482
+ align-items: center;
7483
+ justify-content: center;
7484
+ border-style: var(--tw-border-style);
7485
+ border-width: 0px;
7486
+ background-color: transparent;
7487
+ padding: 0px;
7488
+ color: var(--sph-text-muted);
7489
+ --tw-outline-style: none;
7490
+ outline-style: none;
7491
+ border-radius: var(--sph-radius-xs);
7492
+ cursor: pointer;
7493
+ transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard);
7494
+ }
7495
+ .sph-overflow-list__item:hover .sph-overflow-list__remove, .sph-overflow-list__item:focus-within .sph-overflow-list__remove, .sph-overflow-list__panel-item:hover .sph-overflow-list__remove, .sph-overflow-list__panel-item:focus-within .sph-overflow-list__remove {
7496
+ color: var(--sph-text);
7497
+ }
7498
+ .sph-overflow-list__remove:hover {
7499
+ background-color: var(--sph-raised);
7500
+ color: var(--sph-text);
7501
+ }
7502
+ .sph-overflow-list__remove:focus-visible {
7503
+ background: var(--sph-surface-elevated);
7504
+ color: var(--sph-text);
7505
+ }
7251
7506
  .sph-overflow-list__panel {
7252
7507
  margin: 0px;
7253
7508
  display: flex;
@@ -7255,7 +7510,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7255
7510
  min-width: calc(var(--spacing, 0.25rem) * 40);
7256
7511
  list-style-type: none;
7257
7512
  flex-direction: column;
7258
- gap: var(--spacing, 0.25rem);
7513
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7259
7514
  overflow-y: auto;
7260
7515
  padding: 0px;
7261
7516
  outline: none;
@@ -7264,6 +7519,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7264
7519
  display: flex;
7265
7520
  min-width: 0px;
7266
7521
  align-items: center;
7522
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7267
7523
  animation: sph-list-in var(--sph-motion-fast) var(--sph-ease-emphasis) both;
7268
7524
  animation-delay: calc( var(--sph-motion-index, 0) * var(--sph-motion-stagger) );
7269
7525
  }
@@ -7283,6 +7539,9 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7283
7539
  .sph-overflow-list__more, .sph-overflow-list__panel-item {
7284
7540
  animation: none;
7285
7541
  }
7542
+ .sph-overflow-list__remove {
7543
+ transition: none;
7544
+ }
7286
7545
  }
7287
7546
  .sph-citation {
7288
7547
  position: relative;
@@ -7290,7 +7549,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7290
7549
  font-family: var(--sph-font-sans);
7291
7550
  font-size: 0.7em;
7292
7551
  line-height: 1;
7293
- vertical-align: super;
7552
+ vertical-align: 0.15em;
7294
7553
  }
7295
7554
  .sph-citation__marker {
7296
7555
  display: inline-flex;