@zerocost/sdk 0.13.0 → 0.14.0

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.cjs CHANGED
@@ -1354,13 +1354,14 @@ function injectStyles(theme) {
1354
1354
  `;
1355
1355
  }
1356
1356
  const css = `
1357
+ @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
1357
1358
  ${themeRule}
1358
1359
 
1359
1360
  .zc-consent-root * {
1360
1361
  box-sizing: border-box;
1361
1362
  margin: 0;
1362
1363
  padding: 0;
1363
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
1364
+ font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
1364
1365
  }
1365
1366
 
1366
1367
  .zc-consent-backdrop {
@@ -1389,10 +1390,10 @@ function injectStyles(theme) {
1389
1390
  border: 1px solid var(--zc-border);
1390
1391
  border-radius: 16px;
1391
1392
  width: 100%;
1392
- max-width: 460px;
1393
+ max-width: 440px;
1393
1394
  max-height: 90vh;
1394
1395
  overflow-y: auto;
1395
- padding: 28px 24px 24px;
1396
+ padding: 24px 20px 20px;
1396
1397
  animation: zc-fade-in 200ms ease;
1397
1398
  }
1398
1399
 
@@ -1416,7 +1417,7 @@ function injectStyles(theme) {
1416
1417
  display: flex;
1417
1418
  align-items: center;
1418
1419
  gap: 10px;
1419
- margin-bottom: 6px;
1420
+ margin-bottom: 4px;
1420
1421
  }
1421
1422
 
1422
1423
  .zc-consent-logo {
@@ -1446,21 +1447,21 @@ function injectStyles(theme) {
1446
1447
  font-size: 13px;
1447
1448
  color: var(--zc-text-secondary);
1448
1449
  line-height: 1.5;
1449
- margin-bottom: 20px;
1450
+ margin-bottom: 16px;
1450
1451
  }
1451
1452
 
1452
1453
  .zc-consent-toggles {
1453
1454
  display: flex;
1454
1455
  flex-direction: column;
1455
1456
  gap: 10px;
1456
- margin-bottom: 20px;
1457
+ margin-bottom: 16px;
1457
1458
  }
1458
1459
 
1459
1460
  .zc-consent-toggle-card {
1460
1461
  background: var(--zc-surface);
1461
1462
  border: 1px solid var(--zc-border);
1462
1463
  border-radius: 12px;
1463
- padding: 14px 16px;
1464
+ padding: 12px 14px;
1464
1465
  }
1465
1466
 
1466
1467
  .zc-consent-toggle-row {
@@ -1545,7 +1546,7 @@ function injectStyles(theme) {
1545
1546
  flex-wrap: wrap;
1546
1547
  gap: 4px 12px;
1547
1548
  justify-content: center;
1548
- margin-bottom: 16px;
1549
+ margin-bottom: 14px;
1549
1550
  }
1550
1551
 
1551
1552
  .zc-consent-footer a {
package/dist/index.js CHANGED
@@ -1324,13 +1324,14 @@ function injectStyles(theme) {
1324
1324
  `;
1325
1325
  }
1326
1326
  const css = `
1327
+ @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
1327
1328
  ${themeRule}
1328
1329
 
1329
1330
  .zc-consent-root * {
1330
1331
  box-sizing: border-box;
1331
1332
  margin: 0;
1332
1333
  padding: 0;
1333
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
1334
+ font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
1334
1335
  }
1335
1336
 
1336
1337
  .zc-consent-backdrop {
@@ -1359,10 +1360,10 @@ function injectStyles(theme) {
1359
1360
  border: 1px solid var(--zc-border);
1360
1361
  border-radius: 16px;
1361
1362
  width: 100%;
1362
- max-width: 460px;
1363
+ max-width: 440px;
1363
1364
  max-height: 90vh;
1364
1365
  overflow-y: auto;
1365
- padding: 28px 24px 24px;
1366
+ padding: 24px 20px 20px;
1366
1367
  animation: zc-fade-in 200ms ease;
1367
1368
  }
1368
1369
 
@@ -1386,7 +1387,7 @@ function injectStyles(theme) {
1386
1387
  display: flex;
1387
1388
  align-items: center;
1388
1389
  gap: 10px;
1389
- margin-bottom: 6px;
1390
+ margin-bottom: 4px;
1390
1391
  }
1391
1392
 
1392
1393
  .zc-consent-logo {
@@ -1416,21 +1417,21 @@ function injectStyles(theme) {
1416
1417
  font-size: 13px;
1417
1418
  color: var(--zc-text-secondary);
1418
1419
  line-height: 1.5;
1419
- margin-bottom: 20px;
1420
+ margin-bottom: 16px;
1420
1421
  }
1421
1422
 
1422
1423
  .zc-consent-toggles {
1423
1424
  display: flex;
1424
1425
  flex-direction: column;
1425
1426
  gap: 10px;
1426
- margin-bottom: 20px;
1427
+ margin-bottom: 16px;
1427
1428
  }
1428
1429
 
1429
1430
  .zc-consent-toggle-card {
1430
1431
  background: var(--zc-surface);
1431
1432
  border: 1px solid var(--zc-border);
1432
1433
  border-radius: 12px;
1433
- padding: 14px 16px;
1434
+ padding: 12px 14px;
1434
1435
  }
1435
1436
 
1436
1437
  .zc-consent-toggle-row {
@@ -1515,7 +1516,7 @@ function injectStyles(theme) {
1515
1516
  flex-wrap: wrap;
1516
1517
  gap: 4px 12px;
1517
1518
  justify-content: center;
1518
- margin-bottom: 16px;
1519
+ margin-bottom: 14px;
1519
1520
  }
1520
1521
 
1521
1522
  .zc-consent-footer a {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerocost/sdk",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",