@mirror-physics/fractal-ui 0.2.0-next.76 → 0.2.0-next.77

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
@@ -2834,7 +2834,7 @@
2834
2834
  display: flex;
2835
2835
  justify-content: flex-end;
2836
2836
  background: color-mix(in srgb, var(--fg-primary) 16%, transparent);
2837
- animation: fractal-side-panel-overlay-in 180ms ease-out both;
2837
+ animation: fractal-side-panel-overlay-in var(--duration-normal) var(--ease-out) both;
2838
2838
  }
2839
2839
  .fractal-side-panel {
2840
2840
  display: flex;
@@ -2846,7 +2846,7 @@
2846
2846
  box-shadow: var(--shadow-lg);
2847
2847
  color: var(--fg-primary);
2848
2848
  font-family: var(--font-sans);
2849
- animation: fractal-side-panel-in 180ms cubic-bezier(0.16, 1, 0.3, 1) both;
2849
+ animation: fractal-side-panel-in var(--duration-normal) var(--ease-out) both;
2850
2850
  }
2851
2851
  .fractal-side-panel--sm {
2852
2852
  width: min(100vw, 420px);
@@ -2920,7 +2920,33 @@
2920
2920
  justify-content: flex-end;
2921
2921
  gap: var(--space-2);
2922
2922
  padding: var(--space-4) var(--space-6);
2923
- border-top: 1px solid var(--border-subtle);
2923
+ border-top: 1px solid transparent;
2924
+ }
2925
+ .fractal-side-panel__header,
2926
+ .fractal-side-panel__footer {
2927
+ position: relative;
2928
+ flex-shrink: 0;
2929
+ }
2930
+ .fractal-side-panel__header::after,
2931
+ .fractal-side-panel__footer::before {
2932
+ content: "";
2933
+ position: absolute;
2934
+ inset-inline: 0;
2935
+ height: 1px;
2936
+ background: var(--border-subtle);
2937
+ opacity: 0;
2938
+ pointer-events: none;
2939
+ transition: opacity var(--duration-fast) var(--ease-out);
2940
+ }
2941
+ .fractal-side-panel__header::after {
2942
+ bottom: 0;
2943
+ }
2944
+ .fractal-side-panel__footer::before {
2945
+ top: -1px;
2946
+ }
2947
+ .fractal-side-panel__header[data-scroll-divider=true]::after,
2948
+ .fractal-side-panel__footer[data-scroll-divider=true]::before {
2949
+ opacity: 1;
2924
2950
  }
2925
2951
  @media (max-width: 640px) {
2926
2952
  .fractal-side-panel {
@@ -2955,7 +2981,11 @@
2955
2981
  @media (prefers-reduced-motion: reduce) {
2956
2982
  .fractal-side-panel-overlay,
2957
2983
  .fractal-side-panel {
2958
- animation-duration: 0.01ms;
2984
+ animation: none;
2985
+ }
2986
+ .fractal-side-panel__header::after,
2987
+ .fractal-side-panel__footer::before {
2988
+ transition: none;
2959
2989
  }
2960
2990
  }
2961
2991