sphere-connect 1.0.4 → 1.0.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/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -27
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1237,18 +1237,18 @@ var SphereModal = ({ isOpen, onClose }) => {
|
|
|
1237
1237
|
]
|
|
1238
1238
|
}
|
|
1239
1239
|
),
|
|
1240
|
-
error && /* @__PURE__ */ jsx("div", { style: styles.errorBanner, children: error })
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1240
|
+
error && /* @__PURE__ */ jsx("div", { style: styles.errorBanner, children: error })
|
|
1241
|
+
] }),
|
|
1242
|
+
/* @__PURE__ */ jsxs("div", { style: styles.footer, children: [
|
|
1243
|
+
"Protected by ",
|
|
1244
|
+
/* @__PURE__ */ jsx("strong", { children: "Sphere" })
|
|
1245
|
+
] }),
|
|
1246
|
+
/* @__PURE__ */ jsx("style", { children: `
|
|
1247
|
+
@keyframes sphere-spin {
|
|
1248
|
+
0% { transform: rotate(0deg); }
|
|
1249
|
+
100% { transform: rotate(360deg); }
|
|
1250
|
+
}
|
|
1251
|
+
` })
|
|
1252
1252
|
] }) });
|
|
1253
1253
|
};
|
|
1254
1254
|
var styles = {
|
|
@@ -1266,27 +1266,26 @@ var styles = {
|
|
|
1266
1266
|
padding: "20px"
|
|
1267
1267
|
},
|
|
1268
1268
|
modal: {
|
|
1269
|
-
backgroundColor: "#
|
|
1270
|
-
color: "#
|
|
1269
|
+
backgroundColor: "#ffffff",
|
|
1270
|
+
color: "#000000",
|
|
1271
1271
|
width: "90%",
|
|
1272
1272
|
maxWidth: "360px",
|
|
1273
1273
|
aspectRatio: "1/1",
|
|
1274
|
-
borderRadius: "
|
|
1274
|
+
borderRadius: "8px",
|
|
1275
1275
|
position: "relative",
|
|
1276
|
-
boxShadow: "
|
|
1276
|
+
boxShadow: "none",
|
|
1277
1277
|
overflow: "hidden",
|
|
1278
1278
|
fontFamily: "Inter, -apple-system, system-ui, sans-serif",
|
|
1279
1279
|
display: "flex",
|
|
1280
1280
|
flexDirection: "column",
|
|
1281
1281
|
padding: "24px",
|
|
1282
1282
|
boxSizing: "border-box",
|
|
1283
|
-
justifyContent: "
|
|
1283
|
+
justifyContent: "space-between"
|
|
1284
1284
|
},
|
|
1285
1285
|
header: {
|
|
1286
1286
|
display: "flex",
|
|
1287
1287
|
justifyContent: "space-between",
|
|
1288
1288
|
alignItems: "center",
|
|
1289
|
-
marginBottom: "24px",
|
|
1290
1289
|
width: "100%"
|
|
1291
1290
|
},
|
|
1292
1291
|
title: {
|
|
@@ -1298,9 +1297,9 @@ var styles = {
|
|
|
1298
1297
|
flex: 1
|
|
1299
1298
|
},
|
|
1300
1299
|
closeBtn: {
|
|
1301
|
-
background: "rgba(
|
|
1300
|
+
background: "rgba(0, 0, 0, 0.05)",
|
|
1302
1301
|
border: "none",
|
|
1303
|
-
color: "#
|
|
1302
|
+
color: "#64748b",
|
|
1304
1303
|
fontSize: "20px",
|
|
1305
1304
|
cursor: "pointer",
|
|
1306
1305
|
width: "28px",
|
|
@@ -1314,7 +1313,9 @@ var styles = {
|
|
|
1314
1313
|
display: "flex",
|
|
1315
1314
|
flexDirection: "column",
|
|
1316
1315
|
alignItems: "center",
|
|
1317
|
-
|
|
1316
|
+
justifyContent: "center",
|
|
1317
|
+
width: "100%",
|
|
1318
|
+
flex: 1
|
|
1318
1319
|
},
|
|
1319
1320
|
socialButton: {
|
|
1320
1321
|
display: "flex",
|
|
@@ -1322,13 +1323,13 @@ var styles = {
|
|
|
1322
1323
|
width: "100%",
|
|
1323
1324
|
height: "48px",
|
|
1324
1325
|
backgroundColor: "transparent",
|
|
1325
|
-
border: "1px solid #
|
|
1326
|
-
borderRadius: "
|
|
1326
|
+
border: "1px solid #e2e8f0",
|
|
1327
|
+
borderRadius: "8px",
|
|
1327
1328
|
padding: "0 16px",
|
|
1328
1329
|
marginBottom: "10px",
|
|
1329
1330
|
cursor: "pointer",
|
|
1330
1331
|
fontSize: "14px",
|
|
1331
|
-
color: "#
|
|
1332
|
+
color: "#0f172a",
|
|
1332
1333
|
boxSizing: "border-box",
|
|
1333
1334
|
transition: "background 0.2s"
|
|
1334
1335
|
},
|
|
@@ -1354,13 +1355,12 @@ var styles = {
|
|
|
1354
1355
|
spinner: {
|
|
1355
1356
|
width: "18px",
|
|
1356
1357
|
height: "18px",
|
|
1357
|
-
border: "2px solid rgba(
|
|
1358
|
-
borderTop: "2px solid #
|
|
1358
|
+
border: "2px solid rgba(0, 0, 0, 0.1)",
|
|
1359
|
+
borderTop: "2px solid #000000",
|
|
1359
1360
|
borderRadius: "50%",
|
|
1360
1361
|
animation: "sphere-spin 0.8s linear infinite"
|
|
1361
1362
|
},
|
|
1362
1363
|
footer: {
|
|
1363
|
-
marginTop: "20px",
|
|
1364
1364
|
textAlign: "center",
|
|
1365
1365
|
fontSize: "11px",
|
|
1366
1366
|
color: "#475569"
|