@firecms/ui 3.0.0-canary.79 → 3.0.0-canary.80
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.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Sheet.tsx +4 -4
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.80",
|
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": "e41e7401fda1929c44300ada0b993e5b0703b7a1",
|
106
106
|
"publishConfig": {
|
107
107
|
"access": "public"
|
108
108
|
}
|
package/src/components/Sheet.tsx
CHANGED
@@ -49,8 +49,8 @@ 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
|
-
|
53
|
-
"dark:bg-
|
52
|
+
"bg-black bg-opacity-50",
|
53
|
+
"dark:bg-gray-900 dark:bg-opacity-60",
|
54
54
|
displayed && open ? "opacity-100" : "opacity-0"
|
55
55
|
)}
|
56
56
|
style={{
|
@@ -60,12 +60,12 @@ export const Sheet: React.FC<SheetProps> = ({
|
|
60
60
|
<DialogPrimitive.Content
|
61
61
|
{...props}
|
62
62
|
className={cls(
|
63
|
-
|
63
|
+
"transform-gpu",
|
64
64
|
"will-change-transform",
|
65
65
|
"text-slate-900 dark:text-white",
|
66
66
|
"fixed transform z-20 transition-all duration-[240ms] ease-in-out",
|
67
67
|
"outline-none focus:outline-none",
|
68
|
-
|
68
|
+
transparent ? "" : "shadow-md bg-white dark:bg-gray-950",
|
69
69
|
side === "top" || side === "bottom" ? "w-full" : "h-full",
|
70
70
|
side === "left" || side === "top" ? "left-0 top-0" : "right-0 bottom-0",
|
71
71
|
displayed && open ? "opacity-100" : "opacity-0",
|