@drawbridge/components 0.0.57 → 0.0.58
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/video.js +5 -1
- package/dist/video.mjs +5 -1
- package/package.json +1 -1
package/dist/video.js
CHANGED
|
@@ -166,7 +166,11 @@ var Video = ({
|
|
|
166
166
|
"div",
|
|
167
167
|
{
|
|
168
168
|
...{
|
|
169
|
-
|
|
169
|
+
// absolute overlay, NOT in-flow: an in-flow w-full/h-full loader
|
|
170
|
+
// borrows the reserved gallery box's height and collapses to 0
|
|
171
|
+
// when the video is ready = a ~0.65 CLS. Overlaying it (the box
|
|
172
|
+
// already reserves its height) means removing it shifts nothing.
|
|
173
|
+
className: "absolute inset-0 flex justify-center items-center"
|
|
170
174
|
},
|
|
171
175
|
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
172
176
|
loader_default,
|
package/dist/video.mjs
CHANGED
|
@@ -93,7 +93,11 @@ var Video = ({
|
|
|
93
93
|
"div",
|
|
94
94
|
{
|
|
95
95
|
...{
|
|
96
|
-
|
|
96
|
+
// absolute overlay, NOT in-flow: an in-flow w-full/h-full loader
|
|
97
|
+
// borrows the reserved gallery box's height and collapses to 0
|
|
98
|
+
// when the video is ready = a ~0.65 CLS. Overlaying it (the box
|
|
99
|
+
// already reserves its height) means removing it shifts nothing.
|
|
100
|
+
className: "absolute inset-0 flex justify-center items-center"
|
|
97
101
|
},
|
|
98
102
|
children: /* @__PURE__ */ jsx(
|
|
99
103
|
loader_default,
|