@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.
package/dist/index.css CHANGED
@@ -656,8 +656,39 @@
656
656
  background: var(--sph-danger-soft);
657
657
  color: var(--sph-danger);
658
658
  }
659
+ .sph-badge[data-removable] {
660
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
661
+ padding-inline-end: 3px;
662
+ }
663
+ .sph-badge__remove {
664
+ display: inline-flex;
665
+ flex-shrink: 0;
666
+ align-items: center;
667
+ justify-content: center;
668
+ border-radius: calc(infinity * 1px);
669
+ border-style: var(--tw-border-style);
670
+ border-width: 0px;
671
+ background-color: transparent;
672
+ padding: 0px;
673
+ color: var(--sph-text-muted);
674
+ inline-size: 15px;
675
+ block-size: 15px;
676
+ cursor: pointer;
677
+ transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard);
678
+ }
679
+ .sph-badge__remove:hover {
680
+ background: var(--sph-danger);
681
+ @supports (color: color-mix(in lab, red, red)) {
682
+ background: color-mix(in srgb, var(--sph-danger) 22%, transparent);
683
+ }
684
+ color: var(--sph-text);
685
+ }
686
+ .sph-badge__remove:focus-visible {
687
+ outline: 2px solid var(--sph-focus);
688
+ outline-offset: 1px;
689
+ }
659
690
  @media (prefers-reduced-motion: reduce) {
660
- .sph-badge {
691
+ .sph-badge, .sph-badge__remove {
661
692
  transition: none;
662
693
  }
663
694
  }
@@ -1065,6 +1096,10 @@
1065
1096
  box-sizing: border-box;
1066
1097
  font: 11px / 1 var(--sph-font-sans);
1067
1098
  }
1099
+ .sph-kbd[data-variant="ghost"] {
1100
+ border-color: transparent;
1101
+ background-color: transparent;
1102
+ }
1068
1103
  .sph-kbd__key {
1069
1104
  display: inline-flex;
1070
1105
  align-items: center;
@@ -2802,7 +2837,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2802
2837
  animation: none;
2803
2838
  }
2804
2839
  }
2805
- .sph-alert {
2840
+ .sph-notice {
2806
2841
  display: flex;
2807
2842
  min-width: 0px;
2808
2843
  align-items: flex-start;
@@ -2820,15 +2855,15 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2820
2855
  font-family: var(--sph-font-sans);
2821
2856
  animation: sph-rise-in var(--sph-motion-slow) var(--sph-ease-emphasis) both;
2822
2857
  }
2823
- .sph-alert[data-state="closed"] {
2858
+ .sph-notice[data-state="closed"] {
2824
2859
  pointer-events: none;
2825
2860
  animation: sph-rise-out var(--sph-motion-fast) var(--sph-ease-exit) both;
2826
2861
  }
2827
2862
  @supports (interpolate-size: allow-keywords) {
2828
- .sph-alert {
2863
+ .sph-notice {
2829
2864
  interpolate-size: allow-keywords;
2830
2865
  }
2831
- .sph-alert[data-state="closed"] {
2866
+ .sph-notice[data-state="closed"] {
2832
2867
  overflow: hidden;
2833
2868
  block-size: 0;
2834
2869
  padding-block: 0;
@@ -2836,7 +2871,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2836
2871
  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);
2837
2872
  }
2838
2873
  }
2839
- .sph-alert[data-variant="info"] {
2874
+ .sph-notice[data-variant="info"] {
2840
2875
  background: var(--sph-accent);
2841
2876
  @supports (color: color-mix(in lab, red, red)) {
2842
2877
  background: color-mix(in srgb, var(--sph-accent) 8%, var(--sph-surface));
@@ -2846,77 +2881,76 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2846
2881
  border-color: color-mix(in srgb, var(--sph-accent) 30%, var(--sph-border));
2847
2882
  }
2848
2883
  }
2849
- .sph-alert[data-variant="success"] {
2884
+ .sph-notice[data-variant="success"] {
2850
2885
  background: var(--sph-success-soft);
2851
2886
  border-color: var(--sph-success);
2852
2887
  @supports (color: color-mix(in lab, red, red)) {
2853
2888
  border-color: color-mix(in srgb, var(--sph-success) 34%, var(--sph-border));
2854
2889
  }
2855
2890
  }
2856
- .sph-alert[data-variant="warning"] {
2891
+ .sph-notice[data-variant="warning"] {
2857
2892
  background: var(--sph-warning-soft);
2858
2893
  border-color: var(--sph-warning);
2859
2894
  @supports (color: color-mix(in lab, red, red)) {
2860
2895
  border-color: color-mix(in srgb, var(--sph-warning) 34%, var(--sph-border));
2861
2896
  }
2862
2897
  }
2863
- .sph-alert[data-variant="danger"] {
2898
+ .sph-notice[data-variant="danger"] {
2864
2899
  background: var(--sph-danger-soft);
2865
2900
  border-color: var(--sph-danger);
2866
2901
  @supports (color: color-mix(in lab, red, red)) {
2867
2902
  border-color: color-mix(in srgb, var(--sph-danger) 34%, var(--sph-border));
2868
2903
  }
2869
2904
  }
2870
- .sph-alert__icon {
2905
+ .sph-notice__icon {
2871
2906
  display: flex;
2872
- width: calc(var(--spacing, 0.25rem) * 8);
2873
- height: calc(var(--spacing, 0.25rem) * 8);
2907
+ width: calc(var(--spacing, 0.25rem) * 6);
2908
+ height: calc(var(--spacing, 0.25rem) * 6);
2874
2909
  flex-shrink: 0;
2875
2910
  align-items: center;
2876
2911
  justify-content: center;
2877
- align-self: center;
2878
2912
  border-radius: var(--sph-radius-md);
2913
+ align-self: flex-start;
2879
2914
  background: var(--sph-accent-soft, var(--sph-raised));
2880
2915
  color: var(--sph-accent);
2881
2916
  animation: sph-pop var(--sph-motion-slow) var(--sph-ease-spring) both;
2882
2917
  animation-delay: calc(var(--sph-motion-stagger) * 2);
2883
2918
  }
2884
- .sph-alert__icon svg {
2919
+ .sph-notice__icon svg {
2885
2920
  display: block;
2886
- width: calc(var(--spacing, 0.25rem) * 4);
2887
- height: calc(var(--spacing, 0.25rem) * 4);
2921
+ width: calc(var(--spacing, 0.25rem) * 3.5);
2922
+ height: calc(var(--spacing, 0.25rem) * 3.5);
2888
2923
  }
2889
- .sph-alert[data-variant="success"] .sph-alert__icon {
2924
+ .sph-notice[data-variant="success"] .sph-notice__icon {
2890
2925
  background: var(--sph-success-soft);
2891
2926
  color: var(--sph-success);
2892
2927
  }
2893
- .sph-alert[data-variant="warning"] .sph-alert__icon {
2928
+ .sph-notice[data-variant="warning"] .sph-notice__icon {
2894
2929
  background: var(--sph-warning-soft);
2895
2930
  color: var(--sph-warning);
2896
2931
  }
2897
- .sph-alert[data-variant="danger"] .sph-alert__icon {
2932
+ .sph-notice[data-variant="danger"] .sph-notice__icon {
2898
2933
  background: var(--sph-danger-soft);
2899
2934
  color: var(--sph-danger);
2900
2935
  }
2901
- .sph-alert__body {
2936
+ .sph-notice__body {
2902
2937
  min-width: 0px;
2903
2938
  flex: 1;
2904
2939
  }
2905
- .sph-alert__title {
2940
+ .sph-notice__title {
2906
2941
  margin: 0px;
2907
2942
  --tw-font-weight: var(--font-weight-semibold, 600);
2908
2943
  font-weight: var(--font-weight-semibold, 600);
2909
2944
  line-height: 1.35;
2910
2945
  }
2911
- .sph-alert__content {
2946
+ .sph-notice__content {
2912
2947
  margin-top: calc(var(--spacing, 0.25rem) * 0.5);
2913
2948
  font-size: var(--text-xs, 0.75rem);
2914
2949
  line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
2915
2950
  color: var(--sph-text-muted);
2916
2951
  line-height: 1.45;
2917
2952
  }
2918
- .sph-alert__dismiss {
2919
- margin-block: auto;
2953
+ .sph-notice__dismiss {
2920
2954
  display: inline-flex;
2921
2955
  width: calc(var(--spacing, 0.25rem) * 6);
2922
2956
  height: calc(var(--spacing, 0.25rem) * 6);
@@ -2929,17 +2963,18 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
2929
2963
  background-color: transparent;
2930
2964
  padding: 0px;
2931
2965
  color: var(--sph-text-muted);
2966
+ align-self: flex-start;
2932
2967
  cursor: pointer;
2933
2968
  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);
2934
2969
  }
2935
- .sph-alert__dismiss:hover {
2970
+ .sph-notice__dismiss:hover {
2936
2971
  background-color: var(--sph-raised);
2937
2972
  color: var(--sph-text);
2938
2973
  }
2939
- .sph-alert__dismiss:active {
2974
+ .sph-notice__dismiss:active {
2940
2975
  transform: scale(0.88);
2941
2976
  }
2942
- .sph-alert__dismiss:focus-visible {
2977
+ .sph-notice__dismiss:focus-visible {
2943
2978
  outline: 2px solid var(--sph-focus);
2944
2979
  outline-offset: 1px;
2945
2980
  }
@@ -3233,6 +3268,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3233
3268
  font-family: var(--sph-font-sans);
3234
3269
  }
3235
3270
  .sph-tabs__list {
3271
+ position: relative;
3236
3272
  display: flex;
3237
3273
  min-width: 0px;
3238
3274
  gap: var(--spacing, 0.25rem);
@@ -3265,6 +3301,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3265
3301
  --tw-font-weight: var(--font-weight-medium, 500);
3266
3302
  font-weight: var(--font-weight-medium, 500);
3267
3303
  color: var(--sph-text-muted);
3304
+ border-end-start-radius: 0;
3305
+ border-end-end-radius: 0;
3268
3306
  border: 1px solid transparent;
3269
3307
  cursor: pointer;
3270
3308
  font-family: var(--sph-font-sans);
@@ -3280,40 +3318,35 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3280
3318
  .sph-tabs__tab[data-selected="true"] {
3281
3319
  color: var(--sph-text);
3282
3320
  }
3283
- .sph-tabs__tab::after {
3321
+ .sph-tabs__indicator {
3284
3322
  pointer-events: none;
3285
3323
  position: absolute;
3286
- content: "";
3287
3324
  bottom: -1px;
3288
- left: var(--sph-radius-sm);
3289
- right: var(--sph-radius-sm);
3325
+ left: 0;
3290
3326
  height: 2px;
3327
+ width: calc(var(--sph-tabs-indicator-size, 0px) - var(--sph-radius-sm) * 2);
3291
3328
  border-radius: 2px;
3292
3329
  background: var(--sph-accent);
3293
- opacity: 0;
3294
- transform: scaleX(0.3);
3295
- transition: opacity var(--sph-motion-fast) var(--sph-ease-exit), transform var(--sph-motion-fast) var(--sph-ease-exit);
3330
+ translate: calc(var(--sph-tabs-indicator-at, 0px) + var(--sph-radius-sm)) 0;
3296
3331
  }
3297
- .sph-tabs__tab[data-selected="true"]::after {
3298
- opacity: 1;
3299
- transform: scaleX(1);
3300
- transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), transform var(--sph-motion-normal) var(--sph-ease-emphasis);
3332
+ .sph-tabs__list[data-measured] .sph-tabs__indicator {
3333
+ transition: translate var(--sph-motion-normal) var(--sph-ease-emphasis), width var(--sph-motion-normal) var(--sph-ease-emphasis);
3301
3334
  }
3302
3335
  .sph-tabs[data-orientation="vertical"] .sph-tabs__tab {
3303
3336
  text-align: left;
3337
+ border-start-end-radius: 0;
3338
+ border-end-end-radius: 0;
3339
+ border-end-start-radius: var(--sph-radius-sm);
3304
3340
  }
3305
- .sph-tabs[data-orientation="vertical"] .sph-tabs__tab::after {
3306
- top: 7px;
3307
- right: -1px;
3308
- bottom: 7px;
3341
+ .sph-tabs[data-orientation="vertical"] .sph-tabs__indicator {
3342
+ top: 0;
3343
+ bottom: auto;
3309
3344
  left: auto;
3345
+ right: -1px;
3310
3346
  width: 2px;
3311
- height: auto;
3347
+ height: calc(var(--sph-tabs-indicator-size, 0px) - 14px);
3312
3348
  border-radius: 2px 0 0 2px;
3313
- transform: scaleY(0.3);
3314
- }
3315
- .sph-tabs[data-orientation="vertical"] .sph-tabs__tab[data-selected="true"]::after {
3316
- transform: scaleY(1);
3349
+ translate: 0 calc(var(--sph-tabs-indicator-at, 0px) + 7px);
3317
3350
  }
3318
3351
  .sph-tabs__tab:disabled {
3319
3352
  opacity: 40%;
@@ -3330,7 +3363,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3330
3363
  animation: sph-rise-in var(--sph-motion-normal) var(--sph-ease-emphasis) both;
3331
3364
  }
3332
3365
  @media (prefers-reduced-motion: reduce) {
3333
- .sph-tabs__tab, .sph-tabs__tab::after {
3366
+ .sph-tabs__tab, .sph-tabs__indicator {
3334
3367
  transition: none;
3335
3368
  }
3336
3369
  .sph-tabs__panel {
@@ -3855,7 +3888,8 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
3855
3888
  font-size: var(--text-xs, 0.75rem);
3856
3889
  line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
3857
3890
  color: var(--sph-text-muted);
3858
- font: inherit;
3891
+ font-family: inherit;
3892
+ font-weight: inherit;
3859
3893
  width: 26px;
3860
3894
  height: 26px;
3861
3895
  font-variant-numeric: tabular-nums;
@@ -4336,6 +4370,12 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
4336
4370
  -webkit-backdrop-filter: blur(6px);
4337
4371
  animation: sph-dialog-fade var(--sph-motion-normal) var(--sph-ease-standard) both;
4338
4372
  }
4373
+ .sph-dialog__backdrop[data-scope="local"] {
4374
+ position: absolute;
4375
+ }
4376
+ .sph-dialog__backdrop[data-scope="local"] .sph-dialog {
4377
+ max-height: calc(100% - 2rem);
4378
+ }
4339
4379
  .sph-dialog__backdrop[data-state="closed"] {
4340
4380
  pointer-events: none;
4341
4381
  animation: sph-dialog-fade-out var(--sph-motion-normal) var(--sph-ease-exit) both;
@@ -4489,6 +4529,21 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
4489
4529
  -webkit-backdrop-filter: blur(4px);
4490
4530
  animation: sph-drawer-fade var(--sph-motion-normal) var(--sph-ease-standard) both;
4491
4531
  }
4532
+ .sph-drawer__backdrop[data-scope="local"] {
4533
+ position: absolute;
4534
+ }
4535
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"] {
4536
+ max-block-size: 85%;
4537
+ }
4538
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="sm"] {
4539
+ block-size: 32%;
4540
+ }
4541
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="md"] {
4542
+ block-size: 50%;
4543
+ }
4544
+ .sph-drawer__backdrop[data-scope="local"] .sph-drawer[data-side="bottom"][data-size="lg"] {
4545
+ block-size: 72%;
4546
+ }
4492
4547
  .sph-drawer__backdrop[data-side="right"] {
4493
4548
  justify-content: flex-end;
4494
4549
  }
@@ -5888,20 +5943,94 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5888
5943
  animation: none;
5889
5944
  opacity: 1;
5890
5945
  }
5946
+ .sph-side-panel {
5947
+ position: relative;
5948
+ box-sizing: border-box;
5949
+ display: flex;
5950
+ flex: 0 0 auto;
5951
+ inline-size: var(--sph-side-panel-width, 280px);
5952
+ min-inline-size: 0;
5953
+ overflow: hidden;
5954
+ border-inline-end: 1px solid var(--sph-border);
5955
+ background: var(--sph-surface);
5956
+ color: var(--sph-text);
5957
+ font-family: var(--sph-font-sans);
5958
+ 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);
5959
+ }
5960
+ .sph-side-panel[data-side="right"] {
5961
+ justify-content: flex-end;
5962
+ border-inline-end: 0;
5963
+ border-inline-start: 1px solid var(--sph-border);
5964
+ }
5965
+ .sph-side-panel__inner {
5966
+ box-sizing: border-box;
5967
+ display: flex;
5968
+ flex: 0 0 auto;
5969
+ flex-direction: column;
5970
+ inline-size: var(--sph-side-panel-width, 280px);
5971
+ min-block-size: 0;
5972
+ overflow-y: auto;
5973
+ overflow-x: hidden;
5974
+ transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), visibility var(--sph-motion-slow) var(--sph-ease-emphasis);
5975
+ }
5976
+ .sph-side-panel[data-collapsed] {
5977
+ inline-size: 0;
5978
+ border-inline-width: 0;
5979
+ }
5980
+ .sph-side-panel[data-collapsed] .sph-side-panel__inner {
5981
+ opacity: 0;
5982
+ visibility: hidden;
5983
+ }
5984
+ .sph-side-panel[data-peek] {
5985
+ z-index: 2;
5986
+ inline-size: 10px;
5987
+ margin-inline-end: -10px;
5988
+ background-color: transparent;
5989
+ }
5990
+ .sph-side-panel[data-side="right"][data-peek] {
5991
+ margin-inline: -10px 0;
5992
+ }
5993
+ .sph-side-panel[data-peek]:is(:hover, :has(:focus-visible)) {
5994
+ inline-size: var(--sph-side-panel-width, 280px);
5995
+ margin-inline-end: calc(-1 * var(--sph-side-panel-width, 280px));
5996
+ border-inline-width: 1px;
5997
+ background-color: var(--sph-surface);
5998
+ box-shadow: var(--sph-shadow-popover);
5999
+ }
6000
+ .sph-side-panel[data-side="right"][data-peek]:is( :hover, :has(:focus-visible) ) {
6001
+ margin-inline: calc(-1 * var(--sph-side-panel-width, 280px)) 0;
6002
+ }
6003
+ .sph-side-panel[data-peek]:is(:hover, :has(:focus-visible)) .sph-side-panel__inner {
6004
+ opacity: 1;
6005
+ visibility: visible;
6006
+ }
6007
+ @media (prefers-reduced-motion: reduce) {
6008
+ .sph-side-panel, .sph-side-panel__inner {
6009
+ transition: none;
6010
+ }
6011
+ }
5891
6012
  .sph-sidebar {
6013
+ box-sizing: border-box;
5892
6014
  display: flex;
6015
+ flex: 0 0 auto;
5893
6016
  flex-direction: column;
5894
6017
  gap: 6px;
5895
6018
  inline-size: 224px;
6019
+ min-inline-size: 0;
6020
+ overflow: hidden;
5896
6021
  padding: 8px;
5897
6022
  border-inline-end: 1px solid var(--sph-border);
5898
6023
  background: var(--sph-surface);
5899
6024
  font-family: var(--sph-font-sans);
5900
- transition: inline-size var(--sph-motion-slow) var(--sph-ease-emphasis);
6025
+ 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);
5901
6026
  }
5902
- .sph-sidebar[data-collapsed] {
6027
+ .sph-sidebar[data-rail] {
5903
6028
  inline-size: 56px;
5904
6029
  }
6030
+ .sph-sidebar[data-side="right"] {
6031
+ border-inline-end: 0;
6032
+ border-inline-start: 1px solid var(--sph-border);
6033
+ }
5905
6034
  .sph-sidebar__header {
5906
6035
  padding: 6px 8px 2px;
5907
6036
  }
@@ -5935,7 +6064,7 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5935
6064
  overflow: hidden;
5936
6065
  transition: opacity var(--sph-motion-fast) var(--sph-ease-standard);
5937
6066
  }
5938
- .sph-sidebar[data-collapsed] .sph-sidebar__section-title {
6067
+ .sph-sidebar[data-rail] .sph-sidebar__section-title {
5939
6068
  opacity: 0;
5940
6069
  block-size: 0;
5941
6070
  padding: 0;
@@ -5972,6 +6101,12 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5972
6101
  opacity: 45%;
5973
6102
  cursor: not-allowed;
5974
6103
  }
6104
+ .sph-sidebar[data-side="right"] .sph-sidebar__item:hover:not(:disabled) {
6105
+ transform: translateX(-2px);
6106
+ }
6107
+ .sph-sidebar[data-side="right"] .sph-sidebar__item:active:not(:disabled) {
6108
+ transform: translateX(-2px) scale(0.985);
6109
+ }
5975
6110
  .sph-sidebar__item[data-active] {
5976
6111
  background: var(--sph-accent);
5977
6112
  @supports (color: color-mix(in lab, red, red)) {
@@ -5991,6 +6126,14 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
5991
6126
  .sph-sidebar__item[data-active] .sph-sidebar__icon {
5992
6127
  color: var(--sph-accent-strong);
5993
6128
  }
6129
+ .sph-sidebar[data-side="right"] .sph-sidebar__item[data-active]::before {
6130
+ inset-inline-start: auto;
6131
+ inset-inline-end: -8px;
6132
+ }
6133
+ .sph-sidebar[data-side="right"][data-rail] .sph-sidebar__item[data-active]::before {
6134
+ inset-inline-start: auto;
6135
+ inset-inline-end: -6px;
6136
+ }
5994
6137
  .sph-sidebar__icon {
5995
6138
  display: inline-flex;
5996
6139
  flex: 0 0 auto;
@@ -6004,21 +6147,29 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6004
6147
  text-overflow: ellipsis;
6005
6148
  transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), flex-basis var(--sph-motion-slow) var(--sph-ease-emphasis);
6006
6149
  }
6007
- .sph-sidebar[data-collapsed] .sph-sidebar__header {
6150
+ .sph-sidebar[data-rail] .sph-sidebar__header {
6008
6151
  display: none;
6009
6152
  }
6010
- .sph-sidebar[data-collapsed] .sph-sidebar__label, .sph-sidebar[data-collapsed] .sph-sidebar__badge {
6153
+ .sph-sidebar[data-rail] .sph-sidebar__label, .sph-sidebar[data-rail] .sph-sidebar__badge {
6011
6154
  opacity: 0;
6012
- flex-basis: 0;
6155
+ flex: 0 0 auto;
6013
6156
  inline-size: 0;
6014
6157
  margin: 0;
6158
+ padding: 0;
6159
+ overflow: hidden;
6160
+ white-space: nowrap;
6015
6161
  pointer-events: none;
6016
6162
  }
6017
- .sph-sidebar[data-collapsed] .sph-sidebar__item {
6163
+ .sph-sidebar[data-rail] .sph-sidebar__item {
6018
6164
  justify-content: center;
6165
+ align-items: center;
6166
+ gap: 0;
6019
6167
  padding-inline: 0;
6020
6168
  }
6021
- .sph-sidebar[data-collapsed] .sph-sidebar__item[data-active]::before {
6169
+ .sph-sidebar[data-rail] .sph-sidebar__icon {
6170
+ margin: 0;
6171
+ }
6172
+ .sph-sidebar[data-rail] .sph-sidebar__item[data-active]::before {
6022
6173
  inset-inline-start: -6px;
6023
6174
  }
6024
6175
  .sph-sidebar__badge {
@@ -6038,10 +6189,10 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6038
6189
  min-inline-size: 0;
6039
6190
  overflow: hidden;
6040
6191
  }
6041
- .sph-sidebar[data-collapsed] .sph-sidebar__footer-content {
6192
+ .sph-sidebar[data-rail] .sph-sidebar__footer-content {
6042
6193
  display: none;
6043
6194
  }
6044
- .sph-sidebar[data-collapsed] .sph-sidebar__footer {
6195
+ .sph-sidebar[data-rail] .sph-sidebar__footer {
6045
6196
  justify-content: center;
6046
6197
  }
6047
6198
  .sph-sidebar__toggle {
@@ -6066,6 +6217,82 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6066
6217
  outline: 2px solid var(--sph-focus);
6067
6218
  outline-offset: 1px;
6068
6219
  }
6220
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
6221
+ inline-size: 224px;
6222
+ }
6223
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__header {
6224
+ display: block;
6225
+ }
6226
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__section-title {
6227
+ opacity: 1;
6228
+ block-size: auto;
6229
+ padding: 4px 8px 2px;
6230
+ }
6231
+ .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 {
6232
+ opacity: 1;
6233
+ inline-size: auto;
6234
+ overflow: visible;
6235
+ pointer-events: auto;
6236
+ }
6237
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__label {
6238
+ flex: 1 1 auto;
6239
+ }
6240
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__badge {
6241
+ flex: 0 0 auto;
6242
+ }
6243
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item {
6244
+ justify-content: flex-start;
6245
+ gap: 9px;
6246
+ padding-inline: 9px;
6247
+ }
6248
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__footer-content {
6249
+ display: block;
6250
+ }
6251
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__footer {
6252
+ justify-content: flex-start;
6253
+ }
6254
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item[data-active]::before {
6255
+ inset-inline-start: -8px;
6256
+ }
6257
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__item[data-active]::before {
6258
+ inset-inline-start: auto;
6259
+ inset-inline-end: -8px;
6260
+ }
6261
+ .sph-sidebar[data-collapsed-mode="hover"][data-collapsed]:is( :hover, :has(:focus-visible) ) .sph-sidebar__badge {
6262
+ margin-inline-start: auto;
6263
+ }
6264
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed] {
6265
+ position: relative;
6266
+ z-index: 2;
6267
+ inline-size: 10px;
6268
+ margin-inline-end: -10px;
6269
+ padding-inline: 0;
6270
+ border-inline-width: 0;
6271
+ background-color: transparent;
6272
+ }
6273
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hidden"][data-collapsed] {
6274
+ margin-inline: -10px 0;
6275
+ }
6276
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed] > * {
6277
+ opacity: 0;
6278
+ visibility: hidden;
6279
+ transition: opacity var(--sph-motion-fast) var(--sph-ease-standard), visibility var(--sph-motion-fast) var(--sph-ease-standard);
6280
+ }
6281
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
6282
+ inline-size: 56px;
6283
+ margin-inline-end: -56px;
6284
+ padding-inline: 8px;
6285
+ border-inline-width: 1px;
6286
+ background-color: var(--sph-surface);
6287
+ box-shadow: var(--sph-shadow-popover);
6288
+ }
6289
+ .sph-sidebar[data-side="right"][data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) {
6290
+ margin-inline: -56px 0;
6291
+ }
6292
+ .sph-sidebar[data-collapsed-mode="hidden"][data-collapsed]:is( :hover, :has(:focus-visible) ) > * {
6293
+ opacity: 1;
6294
+ visibility: visible;
6295
+ }
6069
6296
  @supports (interpolate-size: allow-keywords) {
6070
6297
  .sph-sidebar {
6071
6298
  interpolate-size: allow-keywords;
@@ -6400,20 +6627,17 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6400
6627
  }
6401
6628
  .sph-toolbar[data-size="sm"] {
6402
6629
  gap: calc(var(--spacing, 0.25rem) * 1.5);
6403
- padding-inline: calc(var(--spacing, 0.25rem) * 2);
6404
- padding-block: var(--spacing, 0.25rem);
6630
+ padding: var(--spacing, 0.25rem);
6405
6631
  min-height: 2.5rem;
6406
6632
  }
6407
6633
  .sph-toolbar[data-size="md"] {
6408
6634
  gap: calc(var(--spacing, 0.25rem) * 2);
6409
- padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
6410
- padding-block: calc(var(--spacing, 0.25rem) * 1.5);
6635
+ padding: calc(var(--spacing, 0.25rem) * 1.5);
6411
6636
  min-height: 2.75rem;
6412
6637
  }
6413
6638
  .sph-toolbar[data-size="lg"] {
6414
6639
  gap: calc(var(--spacing, 0.25rem) * 2);
6415
- padding-inline: calc(var(--spacing, 0.25rem) * 3);
6416
- padding-block: calc(var(--spacing, 0.25rem) * 2);
6640
+ padding: calc(var(--spacing, 0.25rem) * 2);
6417
6641
  min-height: 3rem;
6418
6642
  }
6419
6643
  .sph-toolbar[data-orientation="vertical"] {
@@ -6448,18 +6672,16 @@ a.sph-breadcrumb__crumb:focus-visible, button.sph-breadcrumb__crumb:focus-visibl
6448
6672
  gap: 2px;
6449
6673
  }
6450
6674
  .sph-toolbar .sph-tabs__tab {
6451
- min-height: 2rem;
6452
- }
6453
- .sph-toolbar[data-size="md"] .sph-tabs__tab {
6454
6675
  min-height: 2.25rem;
6676
+ border-start-start-radius: var(--sph-radius-sm);
6677
+ border-start-end-radius: var(--sph-radius-sm);
6678
+ border-end-start-radius: var(--sph-radius-sm);
6679
+ border-end-end-radius: var(--sph-radius-sm);
6455
6680
  }
6456
- .sph-toolbar[data-size="lg"] .sph-tabs__tab {
6457
- min-height: 2.5rem;
6458
- }
6459
- .sph-toolbar .sph-tabs__tab::after {
6681
+ .sph-toolbar .sph-tabs__indicator {
6460
6682
  bottom: 3px;
6461
- left: 10px;
6462
- right: 10px;
6683
+ width: calc(var(--sph-tabs-indicator-size, 0px) - 20px);
6684
+ translate: calc(var(--sph-tabs-indicator-at, 0px) + 10px) 0;
6463
6685
  }
6464
6686
  @media (max-width: 560px) {
6465
6687
  .sph-toolbar {
@@ -7477,6 +7699,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7477
7699
  display: flex;
7478
7700
  flex: none;
7479
7701
  align-items: center;
7702
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7480
7703
  white-space: nowrap;
7481
7704
  }
7482
7705
  .sph-overflow-list__more {
@@ -7521,6 +7744,9 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7521
7744
  white-space: nowrap;
7522
7745
  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);
7523
7746
  }
7747
+ .sph-popover__content:has(> .sph-overflow-list__panel) {
7748
+ padding: calc(var(--spacing, 0.25rem) * 1.5);
7749
+ }
7524
7750
  .sph-overflow-list__popover .sph-popover__trigger {
7525
7751
  border-radius: calc(infinity * 1px);
7526
7752
  }
@@ -7544,6 +7770,35 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7544
7770
  white-space: nowrap;
7545
7771
  border-width: 0;
7546
7772
  }
7773
+ .sph-overflow-list__remove {
7774
+ display: inline-flex;
7775
+ width: calc(var(--spacing, 0.25rem) * 6);
7776
+ height: calc(var(--spacing, 0.25rem) * 6);
7777
+ flex-shrink: 0;
7778
+ align-items: center;
7779
+ justify-content: center;
7780
+ border-style: var(--tw-border-style);
7781
+ border-width: 0px;
7782
+ background-color: transparent;
7783
+ padding: 0px;
7784
+ color: var(--sph-text-muted);
7785
+ --tw-outline-style: none;
7786
+ outline-style: none;
7787
+ border-radius: var(--sph-radius-xs);
7788
+ cursor: pointer;
7789
+ transition: background-color var(--sph-motion-fast) var(--sph-ease-standard), color var(--sph-motion-fast) var(--sph-ease-standard);
7790
+ }
7791
+ .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 {
7792
+ color: var(--sph-text);
7793
+ }
7794
+ .sph-overflow-list__remove:hover {
7795
+ background-color: var(--sph-raised);
7796
+ color: var(--sph-text);
7797
+ }
7798
+ .sph-overflow-list__remove:focus-visible {
7799
+ background: var(--sph-surface-elevated);
7800
+ color: var(--sph-text);
7801
+ }
7547
7802
  .sph-overflow-list__panel {
7548
7803
  margin: 0px;
7549
7804
  display: flex;
@@ -7551,7 +7806,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7551
7806
  min-width: calc(var(--spacing, 0.25rem) * 40);
7552
7807
  list-style-type: none;
7553
7808
  flex-direction: column;
7554
- gap: var(--spacing, 0.25rem);
7809
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7555
7810
  overflow-y: auto;
7556
7811
  padding: 0px;
7557
7812
  outline: none;
@@ -7560,6 +7815,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7560
7815
  display: flex;
7561
7816
  min-width: 0px;
7562
7817
  align-items: center;
7818
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
7563
7819
  animation: sph-list-in var(--sph-motion-fast) var(--sph-ease-emphasis) both;
7564
7820
  animation-delay: calc( var(--sph-motion-index, 0) * var(--sph-motion-stagger) );
7565
7821
  }
@@ -7579,6 +7835,9 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7579
7835
  .sph-overflow-list__more, .sph-overflow-list__panel-item {
7580
7836
  animation: none;
7581
7837
  }
7838
+ .sph-overflow-list__remove {
7839
+ transition: none;
7840
+ }
7582
7841
  }
7583
7842
  .sph-citation {
7584
7843
  position: relative;
@@ -7586,7 +7845,7 @@ button.sph-stepper__trigger:active .sph-stepper__marker {
7586
7845
  font-family: var(--sph-font-sans);
7587
7846
  font-size: 0.7em;
7588
7847
  line-height: 1;
7589
- vertical-align: super;
7848
+ vertical-align: 0.15em;
7590
7849
  }
7591
7850
  .sph-citation__marker {
7592
7851
  display: inline-flex;