@weaverse/react 0.7.68 → 0.7.70
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.js +30 -3
- package/dist/index.mjs +30 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -507,9 +507,14 @@ var css7 = {
|
|
|
507
507
|
padding: "10px",
|
|
508
508
|
overflow: "hidden",
|
|
509
509
|
".wv-text-content": {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
510
|
+
width: "100%",
|
|
511
|
+
height: "100%",
|
|
512
|
+
"> p, > h1, > h2, > h3, > h4, > h5, > h6": {
|
|
513
|
+
all: "inherit",
|
|
514
|
+
margin: "0",
|
|
515
|
+
wordBreak: "break-word",
|
|
516
|
+
overflowWrap: "break-word"
|
|
517
|
+
}
|
|
513
518
|
}
|
|
514
519
|
}
|
|
515
520
|
};
|
|
@@ -2235,6 +2240,28 @@ var ItemInstance = ({ id }) => {
|
|
|
2235
2240
|
}
|
|
2236
2241
|
return /* @__PURE__ */ import_react38.default.createElement(ItemComponent, { key: id, instance });
|
|
2237
2242
|
};
|
|
2243
|
+
async function initUploadCareAdaptiveDelivery() {
|
|
2244
|
+
if (import_core2.isBrowser && !window.Blinkloader) {
|
|
2245
|
+
;
|
|
2246
|
+
(function(src, cb) {
|
|
2247
|
+
let s = document.createElement("script");
|
|
2248
|
+
s.setAttribute("src", src);
|
|
2249
|
+
s.onload = cb;
|
|
2250
|
+
(document.head || document.body).appendChild(s);
|
|
2251
|
+
})("https://studio.weaverse.io/static/blinkloader.min.js", function() {
|
|
2252
|
+
window.Blinkloader.optimize({
|
|
2253
|
+
pubkey: "1a22133d1a1bdc089d4c",
|
|
2254
|
+
fadeIn: true,
|
|
2255
|
+
lazyload: true,
|
|
2256
|
+
smartCompression: true,
|
|
2257
|
+
responsive: true,
|
|
2258
|
+
retina: true,
|
|
2259
|
+
webp: true
|
|
2260
|
+
});
|
|
2261
|
+
});
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
initUploadCareAdaptiveDelivery().catch();
|
|
2238
2265
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2239
2266
|
0 && (module.exports = {
|
|
2240
2267
|
Components,
|
package/dist/index.mjs
CHANGED
|
@@ -471,9 +471,14 @@ var css7 = {
|
|
|
471
471
|
padding: "10px",
|
|
472
472
|
overflow: "hidden",
|
|
473
473
|
".wv-text-content": {
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
474
|
+
width: "100%",
|
|
475
|
+
height: "100%",
|
|
476
|
+
"> p, > h1, > h2, > h3, > h4, > h5, > h6": {
|
|
477
|
+
all: "inherit",
|
|
478
|
+
margin: "0",
|
|
479
|
+
wordBreak: "break-word",
|
|
480
|
+
overflowWrap: "break-word"
|
|
481
|
+
}
|
|
477
482
|
}
|
|
478
483
|
}
|
|
479
484
|
};
|
|
@@ -2199,6 +2204,28 @@ var ItemInstance = ({ id }) => {
|
|
|
2199
2204
|
}
|
|
2200
2205
|
return /* @__PURE__ */ React29.createElement(ItemComponent, { key: id, instance });
|
|
2201
2206
|
};
|
|
2207
|
+
async function initUploadCareAdaptiveDelivery() {
|
|
2208
|
+
if (isBrowser && !window.Blinkloader) {
|
|
2209
|
+
;
|
|
2210
|
+
(function(src, cb) {
|
|
2211
|
+
let s = document.createElement("script");
|
|
2212
|
+
s.setAttribute("src", src);
|
|
2213
|
+
s.onload = cb;
|
|
2214
|
+
(document.head || document.body).appendChild(s);
|
|
2215
|
+
})("https://studio.weaverse.io/static/blinkloader.min.js", function() {
|
|
2216
|
+
window.Blinkloader.optimize({
|
|
2217
|
+
pubkey: "1a22133d1a1bdc089d4c",
|
|
2218
|
+
fadeIn: true,
|
|
2219
|
+
lazyload: true,
|
|
2220
|
+
smartCompression: true,
|
|
2221
|
+
responsive: true,
|
|
2222
|
+
retina: true,
|
|
2223
|
+
webp: true
|
|
2224
|
+
});
|
|
2225
|
+
});
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
initUploadCareAdaptiveDelivery().catch();
|
|
2202
2229
|
export {
|
|
2203
2230
|
Components,
|
|
2204
2231
|
Elements,
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.
|
|
2
|
+
"version": "0.7.70",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@radix-ui/react-dialog": "^1.0.2",
|
|
36
36
|
"@stitches/react": "^1.2.8",
|
|
37
|
-
"@weaverse/core": "0.7.
|
|
37
|
+
"@weaverse/core": "0.7.70",
|
|
38
38
|
"clsx": "^1.2.1",
|
|
39
39
|
"keen-slider": "^6.8.5"
|
|
40
40
|
}
|