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 CHANGED
@@ -1242,18 +1242,18 @@ var SphereModal = ({ isOpen, onClose }) => {
1242
1242
  ]
1243
1243
  }
1244
1244
  ),
1245
- error && /* @__PURE__ */ jsxRuntime.jsx("div", { style: styles.errorBanner, children: error }),
1246
- /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
1247
- @keyframes sphere-spin {
1248
- 0% { transform: rotate(0deg); }
1249
- 100% { transform: rotate(360deg); }
1250
- }
1251
- ` }),
1252
- /* @__PURE__ */ jsxRuntime.jsxs("div", { style: styles.footer, children: [
1253
- "Protected by ",
1254
- /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Sphere" })
1255
- ] })
1256
- ] })
1245
+ error && /* @__PURE__ */ jsxRuntime.jsx("div", { style: styles.errorBanner, children: error })
1246
+ ] }),
1247
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: styles.footer, children: [
1248
+ "Protected by ",
1249
+ /* @__PURE__ */ jsxRuntime.jsx("strong", { children: "Sphere" })
1250
+ ] }),
1251
+ /* @__PURE__ */ jsxRuntime.jsx("style", { children: `
1252
+ @keyframes sphere-spin {
1253
+ 0% { transform: rotate(0deg); }
1254
+ 100% { transform: rotate(360deg); }
1255
+ }
1256
+ ` })
1257
1257
  ] }) });
1258
1258
  };
1259
1259
  var styles = {
@@ -1271,27 +1271,26 @@ var styles = {
1271
1271
  padding: "20px"
1272
1272
  },
1273
1273
  modal: {
1274
- backgroundColor: "#0c0c0c",
1275
- color: "#ffffff",
1274
+ backgroundColor: "#ffffff",
1275
+ color: "#000000",
1276
1276
  width: "90%",
1277
1277
  maxWidth: "360px",
1278
1278
  aspectRatio: "1/1",
1279
- borderRadius: "0",
1279
+ borderRadius: "8px",
1280
1280
  position: "relative",
1281
- boxShadow: "0 0 0 1px #222, 0 25px 60px rgba(0, 0, 0, 0.7)",
1281
+ boxShadow: "none",
1282
1282
  overflow: "hidden",
1283
1283
  fontFamily: "Inter, -apple-system, system-ui, sans-serif",
1284
1284
  display: "flex",
1285
1285
  flexDirection: "column",
1286
1286
  padding: "24px",
1287
1287
  boxSizing: "border-box",
1288
- justifyContent: "center"
1288
+ justifyContent: "space-between"
1289
1289
  },
1290
1290
  header: {
1291
1291
  display: "flex",
1292
1292
  justifyContent: "space-between",
1293
1293
  alignItems: "center",
1294
- marginBottom: "24px",
1295
1294
  width: "100%"
1296
1295
  },
1297
1296
  title: {
@@ -1303,9 +1302,9 @@ var styles = {
1303
1302
  flex: 1
1304
1303
  },
1305
1304
  closeBtn: {
1306
- background: "rgba(255, 255, 255, 0.05)",
1305
+ background: "rgba(0, 0, 0, 0.05)",
1307
1306
  border: "none",
1308
- color: "#888",
1307
+ color: "#64748b",
1309
1308
  fontSize: "20px",
1310
1309
  cursor: "pointer",
1311
1310
  width: "28px",
@@ -1319,7 +1318,9 @@ var styles = {
1319
1318
  display: "flex",
1320
1319
  flexDirection: "column",
1321
1320
  alignItems: "center",
1322
- width: "100%"
1321
+ justifyContent: "center",
1322
+ width: "100%",
1323
+ flex: 1
1323
1324
  },
1324
1325
  socialButton: {
1325
1326
  display: "flex",
@@ -1327,13 +1328,13 @@ var styles = {
1327
1328
  width: "100%",
1328
1329
  height: "48px",
1329
1330
  backgroundColor: "transparent",
1330
- border: "1px solid #333",
1331
- borderRadius: "0",
1331
+ border: "1px solid #e2e8f0",
1332
+ borderRadius: "8px",
1332
1333
  padding: "0 16px",
1333
1334
  marginBottom: "10px",
1334
1335
  cursor: "pointer",
1335
1336
  fontSize: "14px",
1336
- color: "#fff",
1337
+ color: "#0f172a",
1337
1338
  boxSizing: "border-box",
1338
1339
  transition: "background 0.2s"
1339
1340
  },
@@ -1359,13 +1360,12 @@ var styles = {
1359
1360
  spinner: {
1360
1361
  width: "18px",
1361
1362
  height: "18px",
1362
- border: "2px solid rgba(255, 255, 255, 0.1)",
1363
- borderTop: "2px solid #ffffff",
1363
+ border: "2px solid rgba(0, 0, 0, 0.1)",
1364
+ borderTop: "2px solid #000000",
1364
1365
  borderRadius: "50%",
1365
1366
  animation: "sphere-spin 0.8s linear infinite"
1366
1367
  },
1367
1368
  footer: {
1368
- marginTop: "20px",
1369
1369
  textAlign: "center",
1370
1370
  fontSize: "11px",
1371
1371
  color: "#475569"