authtara-sdk 1.1.18 → 1.1.19

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 CHANGED
@@ -330,7 +330,6 @@ function AuthTaraAuth({
330
330
  }
331
331
  }
332
332
  const isDark = appearance?.theme === "dark";
333
- const bgColor = isDark ? "#111111" : "#ffffff";
334
333
  const cardBgColor = isDark ? "#111111" : "#ffffff";
335
334
  const cardBorderColor = isDark ? "#222222" : "#e5e7eb";
336
335
  const textColor = isDark ? "#ffffff" : "#111827";
@@ -350,10 +349,9 @@ function AuthTaraAuth({
350
349
  width: "100%",
351
350
  display: "flex",
352
351
  justifyContent: "center",
353
- backgroundColor: bgColor,
354
- padding: "2rem 1rem",
355
- minHeight: "100vh",
356
- fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'
352
+ padding: "1rem",
353
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
354
+ boxSizing: "border-box"
357
355
  },
358
356
  children: [
359
357
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
@@ -367,10 +365,11 @@ function AuthTaraAuth({
367
365
  borderRadius: "1rem",
368
366
  backgroundColor: cardBgColor,
369
367
  border: `1px solid ${cardBorderColor}`,
370
- boxShadow: isDark ? "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" : "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
368
+ boxShadow: isDark ? "0 10px 15px -3px rgba(0, 0, 0, 0.4)" : "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
371
369
  display: "flex",
372
370
  flexDirection: "column",
373
- gap: "1.5rem"
371
+ gap: "1.5rem",
372
+ margin: "0 auto"
374
373
  },
375
374
  children: [
376
375
  /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: { textAlign: "center" }, children: [
package/dist/react.mjs CHANGED
@@ -294,7 +294,6 @@ function AuthTaraAuth({
294
294
  }
295
295
  }
296
296
  const isDark = appearance?.theme === "dark";
297
- const bgColor = isDark ? "#111111" : "#ffffff";
298
297
  const cardBgColor = isDark ? "#111111" : "#ffffff";
299
298
  const cardBorderColor = isDark ? "#222222" : "#e5e7eb";
300
299
  const textColor = isDark ? "#ffffff" : "#111827";
@@ -314,10 +313,9 @@ function AuthTaraAuth({
314
313
  width: "100%",
315
314
  display: "flex",
316
315
  justifyContent: "center",
317
- backgroundColor: bgColor,
318
- padding: "2rem 1rem",
319
- minHeight: "100vh",
320
- fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'
316
+ padding: "1rem",
317
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
318
+ boxSizing: "border-box"
321
319
  },
322
320
  children: [
323
321
  /* @__PURE__ */ jsxs(
@@ -331,10 +329,11 @@ function AuthTaraAuth({
331
329
  borderRadius: "1rem",
332
330
  backgroundColor: cardBgColor,
333
331
  border: `1px solid ${cardBorderColor}`,
334
- boxShadow: isDark ? "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)" : "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
332
+ boxShadow: isDark ? "0 10px 15px -3px rgba(0, 0, 0, 0.4)" : "0 10px 15px -3px rgba(0, 0, 0, 0.1)",
335
333
  display: "flex",
336
334
  flexDirection: "column",
337
- gap: "1.5rem"
335
+ gap: "1.5rem",
336
+ margin: "0 auto"
338
337
  },
339
338
  children: [
340
339
  /* @__PURE__ */ jsxs("div", { style: { textAlign: "center" }, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authtara-sdk",
3
- "version": "1.1.18",
3
+ "version": "1.1.19",
4
4
  "description": "SDK Client untuk integrasi dengan DigitalSolution Platform - SSO, Billing, dan Metering",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",