@geomak/ui 1.5.2 → 1.5.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.
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -457,11 +457,11 @@ function Tooltip({
|
|
|
457
457
|
className: [
|
|
458
458
|
// Layout + typography
|
|
459
459
|
"pointer-events-none z-[500000] max-w-[220px] px-2.5 py-1.5",
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
"
|
|
463
|
-
//
|
|
464
|
-
"shadow-md",
|
|
460
|
+
// Inverted surface: dark on light, light on dark — both readable
|
|
461
|
+
"bg-foreground text-background",
|
|
462
|
+
"text-xs font-medium leading-snug",
|
|
463
|
+
// Shape + shadow
|
|
464
|
+
"rounded-md shadow-md",
|
|
465
465
|
// Out animation (always the same — just fade)
|
|
466
466
|
"data-[state=closed]:animate-tooltip-out",
|
|
467
467
|
// In animation — direction-aware
|
|
@@ -474,7 +474,7 @@ function Tooltip({
|
|
|
474
474
|
{
|
|
475
475
|
width: 10,
|
|
476
476
|
height: 5,
|
|
477
|
-
className: "fill-foreground
|
|
477
|
+
className: "fill-foreground"
|
|
478
478
|
}
|
|
479
479
|
)
|
|
480
480
|
]
|