@opencode/ui 0.0.0-dev-724 → 0.0.0-dev-750
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/components/image-flight-machine.d.ts +135 -0
- package/dist/components/image-zoom-machine.d.ts +95 -0
- package/dist/components/image-zoom.d.ts +6 -3
- package/dist/overlays/tooltip/machine.d.ts +146 -0
- package/package.json +3 -3
- package/src/components/image-flight-machine.ts +247 -0
- package/src/components/image-preview.css +5 -2
- package/src/components/image-preview.tsx +390 -252
- package/src/components/image-zoom-machine.ts +191 -0
- package/src/components/image-zoom.ts +22 -14
- package/src/overlays/tooltip/machine.ts +303 -0
- package/src/overlays/tooltip/tooltip.tsx +160 -133
|
@@ -71,7 +71,8 @@
|
|
|
71
71
|
pointer-events: auto;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
/* A video fading out after a close, rather than flying home, must not take the page's clicks either. */
|
|
75
|
+
&:is([data-stage="flying"], [data-stage="closing"]) > video {
|
|
75
76
|
pointer-events: none;
|
|
76
77
|
}
|
|
77
78
|
|
|
@@ -79,7 +80,9 @@
|
|
|
79
80
|
visibility: hidden;
|
|
80
81
|
}
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
/* A preview closed before it revealed never painted its backdrop; one that did paints over this inline. */
|
|
84
|
+
&:is([data-stage="pending"], [data-stage="closing"])
|
|
85
|
+
:is([data-slot="image-preview-scrim"], [data-slot="image-preview-content"]) {
|
|
83
86
|
opacity: 0;
|
|
84
87
|
}
|
|
85
88
|
|