@mirror-physics/fractal-ui 0.2.0-next.80 → 0.2.0-next.82

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
@@ -1773,7 +1773,7 @@
1773
1773
  }
1774
1774
  .fractal-dropdown-trigger:hover,
1775
1775
  .fractal-dropdown-trigger--tertiary:hover {
1776
- background: var(--bg-surface-1);
1776
+ background: var(--control-hover-bg, var(--hover-canvas));
1777
1777
  }
1778
1778
  .fractal-dropdown-trigger:disabled,
1779
1779
  .fractal-dropdown-trigger:disabled:hover {
@@ -3770,4 +3770,48 @@
3770
3770
  .fractal-column-editor__panel[data-dragging] .fractal-column-editor__row {
3771
3771
  cursor: grabbing;
3772
3772
  }
3773
+
3774
+ /* src/components/Tooltip/Tooltip.css */
3775
+ .fractal-tooltip {
3776
+ z-index: 10000;
3777
+ box-sizing: border-box;
3778
+ width: max-content;
3779
+ max-width: min(var(--tooltip-max-width), var(--radix-tooltip-content-available-width));
3780
+ padding: var(--space-2) var(--space-3);
3781
+ border: 1px solid var(--border-subtle);
3782
+ border-radius: var(--radius-md);
3783
+ background: var(--bg-surface-1);
3784
+ color: var(--fg-primary);
3785
+ box-shadow: var(--shadow-md);
3786
+ font-family: var(--font-sans);
3787
+ font-size: 0.75rem;
3788
+ font-weight: 400;
3789
+ line-height: 1.4;
3790
+ overflow-wrap: anywhere;
3791
+ animation: fractal-tooltip-enter var(--duration-normal) var(--ease-out);
3792
+ }
3793
+ .fractal-tooltip[data-state=closed] {
3794
+ animation: fractal-tooltip-exit var(--duration-fast) var(--ease-in) forwards;
3795
+ }
3796
+ @keyframes fractal-tooltip-enter {
3797
+ from {
3798
+ opacity: 0;
3799
+ }
3800
+ to {
3801
+ opacity: 1;
3802
+ }
3803
+ }
3804
+ @keyframes fractal-tooltip-exit {
3805
+ from {
3806
+ opacity: 1;
3807
+ }
3808
+ to {
3809
+ opacity: 0;
3810
+ }
3811
+ }
3812
+ @media (prefers-reduced-motion: reduce) {
3813
+ .fractal-tooltip {
3814
+ animation: none;
3815
+ }
3816
+ }
3773
3817
  /*# sourceMappingURL=index.css.map */