@sparkstudio/authentication-ui 1.0.29 → 1.0.31
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 +7 -5
- package/dist/index.js +7 -5
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -39,10 +39,10 @@ module.exports = __toCommonJS(index_exports);
|
|
|
39
39
|
|
|
40
40
|
// src/AppSettings.ts
|
|
41
41
|
var AppSettings = {
|
|
42
|
-
AuthenticationUrl: "https://
|
|
43
|
-
AccountsUrl: "https://
|
|
42
|
+
AuthenticationUrl: "https://localhost:5003",
|
|
43
|
+
AccountsUrl: "https://localhost:5001",
|
|
44
44
|
Version: "1.0.0",
|
|
45
|
-
GoogleClientId: "317399248822-
|
|
45
|
+
GoogleClientId: "317399248822-1jip5r3gq2v6n9r61k9blsd0c6et20tg.apps.googleusercontent.com",
|
|
46
46
|
ApplicationName: "Spark Studio Authentication"
|
|
47
47
|
};
|
|
48
48
|
async function loadConfig() {
|
|
@@ -346,7 +346,8 @@ function LoginButton({ onLogin, onLoginFailed }) {
|
|
|
346
346
|
{
|
|
347
347
|
src: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Google_Favicon_2025.svg/960px-Google_Favicon_2025.svg.png",
|
|
348
348
|
alt: "Google",
|
|
349
|
-
style: { width: "21px", height: "21px", margin: 0, padding: 0 }
|
|
349
|
+
style: { width: "21px", height: "21px", margin: 0, padding: 0 },
|
|
350
|
+
className: "rounded-circle"
|
|
350
351
|
}
|
|
351
352
|
),
|
|
352
353
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "d-none d-sm-inline ms-2", children: "Login" })
|
|
@@ -378,7 +379,8 @@ function UserInfoCard({ onLogin, onLogout, onLoginFailed }) {
|
|
|
378
379
|
{
|
|
379
380
|
src: user.ProfilePicture,
|
|
380
381
|
alt: "Profile",
|
|
381
|
-
style: { width: "21px", height: "21px", margin: 0, padding: 0 }
|
|
382
|
+
style: { width: "21px", height: "21px", margin: 0, padding: 0 },
|
|
383
|
+
className: "rounded-circle"
|
|
382
384
|
}
|
|
383
385
|
),
|
|
384
386
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "d-none d-sm-inline ms-2", children: "Logout" })
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/AppSettings.ts
|
|
2
2
|
var AppSettings = {
|
|
3
|
-
AuthenticationUrl: "https://
|
|
4
|
-
AccountsUrl: "https://
|
|
3
|
+
AuthenticationUrl: "https://localhost:5003",
|
|
4
|
+
AccountsUrl: "https://localhost:5001",
|
|
5
5
|
Version: "1.0.0",
|
|
6
|
-
GoogleClientId: "317399248822-
|
|
6
|
+
GoogleClientId: "317399248822-1jip5r3gq2v6n9r61k9blsd0c6et20tg.apps.googleusercontent.com",
|
|
7
7
|
ApplicationName: "Spark Studio Authentication"
|
|
8
8
|
};
|
|
9
9
|
async function loadConfig() {
|
|
@@ -317,7 +317,8 @@ function LoginButton({ onLogin, onLoginFailed }) {
|
|
|
317
317
|
{
|
|
318
318
|
src: "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Google_Favicon_2025.svg/960px-Google_Favicon_2025.svg.png",
|
|
319
319
|
alt: "Google",
|
|
320
|
-
style: { width: "21px", height: "21px", margin: 0, padding: 0 }
|
|
320
|
+
style: { width: "21px", height: "21px", margin: 0, padding: 0 },
|
|
321
|
+
className: "rounded-circle"
|
|
321
322
|
}
|
|
322
323
|
),
|
|
323
324
|
/* @__PURE__ */ jsx3("span", { className: "d-none d-sm-inline ms-2", children: "Login" })
|
|
@@ -349,7 +350,8 @@ function UserInfoCard({ onLogin, onLogout, onLoginFailed }) {
|
|
|
349
350
|
{
|
|
350
351
|
src: user.ProfilePicture,
|
|
351
352
|
alt: "Profile",
|
|
352
|
-
style: { width: "21px", height: "21px", margin: 0, padding: 0 }
|
|
353
|
+
style: { width: "21px", height: "21px", margin: 0, padding: 0 },
|
|
354
|
+
className: "rounded-circle"
|
|
353
355
|
}
|
|
354
356
|
),
|
|
355
357
|
/* @__PURE__ */ jsx4("span", { className: "d-none d-sm-inline ms-2", children: "Logout" })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sparkstudio/authentication-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@react-oauth/google": "^0.13.4",
|
|
39
39
|
"@sparkstudio/accounts-sdk": "^1.1.73",
|
|
40
|
-
"@sparkstudio/accounts-ui": "^1.1.
|
|
41
|
-
"@sparkstudio/common-ui": "^1.0.
|
|
40
|
+
"@sparkstudio/accounts-ui": "^1.1.78",
|
|
41
|
+
"@sparkstudio/common-ui": "^1.0.29",
|
|
42
42
|
"rimraf": "^6.1.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|