@firecms/ui 3.0.0-canary.86 → 3.0.0-canary.87
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/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@firecms/ui",
|
3
3
|
"type": "module",
|
4
|
-
"version": "3.0.0-canary.
|
4
|
+
"version": "3.0.0-canary.87",
|
5
5
|
"description": "Awesome Firebase/Firestore-based headless open-source CMS",
|
6
6
|
"funding": {
|
7
7
|
"url": "https://github.com/sponsors/firecmsco"
|
@@ -102,7 +102,7 @@
|
|
102
102
|
"src",
|
103
103
|
"tailwind.config.js"
|
104
104
|
],
|
105
|
-
"gitHead": "
|
105
|
+
"gitHead": "c94eecac10211d63540f88519b2d19a0941b7387",
|
106
106
|
"publishConfig": {
|
107
107
|
"access": "public"
|
108
108
|
}
|
package/src/components/Sheet.tsx
CHANGED
@@ -49,7 +49,7 @@ export const Sheet: React.FC<SheetProps> = ({
|
|
49
49
|
<DialogPrimitive.Overlay
|
50
50
|
className={cls(
|
51
51
|
"fixed inset-0 transition-opacity z-20 ease-in-out duration-200 backdrop-blur-sm",
|
52
|
-
"bg-
|
52
|
+
"bg-white bg-opacity-80",
|
53
53
|
"dark:bg-gray-900 dark:bg-opacity-60",
|
54
54
|
displayed && open ? "opacity-100" : "opacity-0"
|
55
55
|
)}
|
@@ -14,6 +14,7 @@ export type TooltipProps = {
|
|
14
14
|
delayDuration?: number;
|
15
15
|
className?: string,
|
16
16
|
tooltipClassName?: string,
|
17
|
+
tooltipStyle?: React.CSSProperties;
|
17
18
|
children: React.ReactNode,
|
18
19
|
style?: React.CSSProperties;
|
19
20
|
};
|
@@ -29,6 +30,7 @@ export const Tooltip = ({
|
|
29
30
|
className,
|
30
31
|
style,
|
31
32
|
tooltipClassName,
|
33
|
+
tooltipStyle,
|
32
34
|
children
|
33
35
|
}: TooltipProps) => {
|
34
36
|
|
@@ -51,6 +53,7 @@ export const Tooltip = ({
|
|
51
53
|
"max-w-lg leading-relaxed",
|
52
54
|
"z-50 rounded px-3 py-2 text-xs leading-none bg-slate-700 dark:bg-slate-800 bg-opacity-90 font-medium text-slate-50 shadow-2xl select-none duration-400 ease-in transform opacity-100",
|
53
55
|
tooltipClassName)}
|
56
|
+
style={tooltipStyle}
|
54
57
|
sideOffset={sideOffset === undefined ? 4 : sideOffset}
|
55
58
|
align={align}
|
56
59
|
side={side}>
|