@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 CHANGED
@@ -166,7 +166,11 @@ var Video = ({
166
166
  "div",
167
167
  {
168
168
  ...{
169
- className: "w-full h-full flex justify-center items-center"
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
- className: "w-full h-full flex justify-center items-center"
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",