@hyve-sdk/js 2.5.0-canary.4 → 2.5.0-canary.6
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/react.js +9 -8
- package/dist/react.mjs +9 -8
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -2246,6 +2246,7 @@ function buildIframeHtml(js) {
|
|
|
2246
2246
|
display: flex;
|
|
2247
2247
|
align-items: center;
|
|
2248
2248
|
justify-content: center;
|
|
2249
|
+
background-color: #111827;
|
|
2249
2250
|
}
|
|
2250
2251
|
#container { width: 100%; max-width: 480px; margin: 0 auto; text-align: center; }
|
|
2251
2252
|
#container > * { position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; }
|
|
@@ -2309,7 +2310,7 @@ var OVERLAY_STYLE = {
|
|
|
2309
2310
|
};
|
|
2310
2311
|
var PANEL_STYLE = {
|
|
2311
2312
|
position: "relative",
|
|
2312
|
-
backgroundColor: "#
|
|
2313
|
+
backgroundColor: "#111827",
|
|
2313
2314
|
borderRadius: "12px",
|
|
2314
2315
|
overflow: "hidden",
|
|
2315
2316
|
boxShadow: "0 20px 60px rgba(0, 0, 0, 0.35)",
|
|
@@ -2322,14 +2323,14 @@ var HEADER_STYLE = {
|
|
|
2322
2323
|
alignItems: "center",
|
|
2323
2324
|
justifyContent: "space-between",
|
|
2324
2325
|
padding: "16px 20px",
|
|
2325
|
-
borderBottom: "1px solid
|
|
2326
|
+
borderBottom: "1px solid rgba(255, 255, 255, 0.1)",
|
|
2326
2327
|
flexShrink: 0
|
|
2327
2328
|
};
|
|
2328
2329
|
var TITLE_STYLE = {
|
|
2329
2330
|
margin: 0,
|
|
2330
2331
|
fontSize: "16px",
|
|
2331
2332
|
fontWeight: 600,
|
|
2332
|
-
color: "#
|
|
2333
|
+
color: "#ffffff",
|
|
2333
2334
|
lineHeight: 1.4
|
|
2334
2335
|
};
|
|
2335
2336
|
var CLOSE_BUTTON_BASE = {
|
|
@@ -2342,7 +2343,7 @@ var CLOSE_BUTTON_BASE = {
|
|
|
2342
2343
|
borderRadius: "6px",
|
|
2343
2344
|
cursor: "pointer",
|
|
2344
2345
|
backgroundColor: "transparent",
|
|
2345
|
-
color: "#
|
|
2346
|
+
color: "#9ca3af",
|
|
2346
2347
|
fontSize: "20px",
|
|
2347
2348
|
lineHeight: 1,
|
|
2348
2349
|
flexShrink: 0
|
|
@@ -2518,7 +2519,7 @@ var FULLSCREEN_CONTAINER_STYLE = {
|
|
|
2518
2519
|
zIndex: 9999,
|
|
2519
2520
|
display: "flex",
|
|
2520
2521
|
flexDirection: "column",
|
|
2521
|
-
backgroundColor: "#
|
|
2522
|
+
backgroundColor: "#111827"
|
|
2522
2523
|
};
|
|
2523
2524
|
var FULLSCREEN_TOPBAR_STYLE = {
|
|
2524
2525
|
display: "flex",
|
|
@@ -2527,14 +2528,14 @@ var FULLSCREEN_TOPBAR_STYLE = {
|
|
|
2527
2528
|
height: "52px",
|
|
2528
2529
|
minHeight: "52px",
|
|
2529
2530
|
padding: "0 12px 0 20px",
|
|
2530
|
-
borderBottom: "1px solid
|
|
2531
|
+
borderBottom: "1px solid rgba(255, 255, 255, 0.1)",
|
|
2531
2532
|
flexShrink: 0
|
|
2532
2533
|
};
|
|
2533
2534
|
var FULLSCREEN_TITLE_STYLE = {
|
|
2534
2535
|
margin: 0,
|
|
2535
2536
|
fontSize: "16px",
|
|
2536
2537
|
fontWeight: 600,
|
|
2537
|
-
color: "#
|
|
2538
|
+
color: "#ffffff",
|
|
2538
2539
|
lineHeight: 1.4,
|
|
2539
2540
|
overflow: "hidden",
|
|
2540
2541
|
whiteSpace: "nowrap",
|
|
@@ -2550,7 +2551,7 @@ var FULLSCREEN_CLOSE_STYLE = {
|
|
|
2550
2551
|
borderRadius: "8px",
|
|
2551
2552
|
cursor: "pointer",
|
|
2552
2553
|
backgroundColor: "transparent",
|
|
2553
|
-
color: "#
|
|
2554
|
+
color: "#9ca3af",
|
|
2554
2555
|
fontSize: "20px",
|
|
2555
2556
|
lineHeight: 1,
|
|
2556
2557
|
flexShrink: 0
|
package/dist/react.mjs
CHANGED
|
@@ -2224,6 +2224,7 @@ function buildIframeHtml(js) {
|
|
|
2224
2224
|
display: flex;
|
|
2225
2225
|
align-items: center;
|
|
2226
2226
|
justify-content: center;
|
|
2227
|
+
background-color: #111827;
|
|
2227
2228
|
}
|
|
2228
2229
|
#container { width: 100%; max-width: 480px; margin: 0 auto; text-align: center; }
|
|
2229
2230
|
#container > * { position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; }
|
|
@@ -2287,7 +2288,7 @@ var OVERLAY_STYLE = {
|
|
|
2287
2288
|
};
|
|
2288
2289
|
var PANEL_STYLE = {
|
|
2289
2290
|
position: "relative",
|
|
2290
|
-
backgroundColor: "#
|
|
2291
|
+
backgroundColor: "#111827",
|
|
2291
2292
|
borderRadius: "12px",
|
|
2292
2293
|
overflow: "hidden",
|
|
2293
2294
|
boxShadow: "0 20px 60px rgba(0, 0, 0, 0.35)",
|
|
@@ -2300,14 +2301,14 @@ var HEADER_STYLE = {
|
|
|
2300
2301
|
alignItems: "center",
|
|
2301
2302
|
justifyContent: "space-between",
|
|
2302
2303
|
padding: "16px 20px",
|
|
2303
|
-
borderBottom: "1px solid
|
|
2304
|
+
borderBottom: "1px solid rgba(255, 255, 255, 0.1)",
|
|
2304
2305
|
flexShrink: 0
|
|
2305
2306
|
};
|
|
2306
2307
|
var TITLE_STYLE = {
|
|
2307
2308
|
margin: 0,
|
|
2308
2309
|
fontSize: "16px",
|
|
2309
2310
|
fontWeight: 600,
|
|
2310
|
-
color: "#
|
|
2311
|
+
color: "#ffffff",
|
|
2311
2312
|
lineHeight: 1.4
|
|
2312
2313
|
};
|
|
2313
2314
|
var CLOSE_BUTTON_BASE = {
|
|
@@ -2320,7 +2321,7 @@ var CLOSE_BUTTON_BASE = {
|
|
|
2320
2321
|
borderRadius: "6px",
|
|
2321
2322
|
cursor: "pointer",
|
|
2322
2323
|
backgroundColor: "transparent",
|
|
2323
|
-
color: "#
|
|
2324
|
+
color: "#9ca3af",
|
|
2324
2325
|
fontSize: "20px",
|
|
2325
2326
|
lineHeight: 1,
|
|
2326
2327
|
flexShrink: 0
|
|
@@ -2496,7 +2497,7 @@ var FULLSCREEN_CONTAINER_STYLE = {
|
|
|
2496
2497
|
zIndex: 9999,
|
|
2497
2498
|
display: "flex",
|
|
2498
2499
|
flexDirection: "column",
|
|
2499
|
-
backgroundColor: "#
|
|
2500
|
+
backgroundColor: "#111827"
|
|
2500
2501
|
};
|
|
2501
2502
|
var FULLSCREEN_TOPBAR_STYLE = {
|
|
2502
2503
|
display: "flex",
|
|
@@ -2505,14 +2506,14 @@ var FULLSCREEN_TOPBAR_STYLE = {
|
|
|
2505
2506
|
height: "52px",
|
|
2506
2507
|
minHeight: "52px",
|
|
2507
2508
|
padding: "0 12px 0 20px",
|
|
2508
|
-
borderBottom: "1px solid
|
|
2509
|
+
borderBottom: "1px solid rgba(255, 255, 255, 0.1)",
|
|
2509
2510
|
flexShrink: 0
|
|
2510
2511
|
};
|
|
2511
2512
|
var FULLSCREEN_TITLE_STYLE = {
|
|
2512
2513
|
margin: 0,
|
|
2513
2514
|
fontSize: "16px",
|
|
2514
2515
|
fontWeight: 600,
|
|
2515
|
-
color: "#
|
|
2516
|
+
color: "#ffffff",
|
|
2516
2517
|
lineHeight: 1.4,
|
|
2517
2518
|
overflow: "hidden",
|
|
2518
2519
|
whiteSpace: "nowrap",
|
|
@@ -2528,7 +2529,7 @@ var FULLSCREEN_CLOSE_STYLE = {
|
|
|
2528
2529
|
borderRadius: "8px",
|
|
2529
2530
|
cursor: "pointer",
|
|
2530
2531
|
backgroundColor: "transparent",
|
|
2531
|
-
color: "#
|
|
2532
|
+
color: "#9ca3af",
|
|
2532
2533
|
fontSize: "20px",
|
|
2533
2534
|
lineHeight: 1,
|
|
2534
2535
|
flexShrink: 0
|