@ultrst-armada/floks 2.0.2 → 2.0.3
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/.krusbl-release-attestation.json +3 -3
- package/package.json +1 -1
- package/packages/canvas-ui/dist/index.js +5 -5
- package/packages/ui/dist/{chunk-RRJNUH5L.js → chunk-RXHCAXSX.js} +9 -0
- package/packages/ui/dist/components/auth/AuthPage.d.ts +1 -0
- package/packages/ui/dist/components/auth/LuthAuthPage.d.ts +2 -0
- package/packages/ui/dist/components/auth/index.js +1 -1
- package/packages/ui/dist/index.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
3
|
"packageName": "@ultrst-armada/floks",
|
|
4
|
-
"version": "2.0.
|
|
5
|
-
"sourceCommit": "
|
|
4
|
+
"version": "2.0.3",
|
|
5
|
+
"sourceCommit": "5c5fa7bea3f6bdb31fda44b1ee9fa618c725adcb",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "43585525590"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -54,17 +54,17 @@ import {
|
|
|
54
54
|
DockItem,
|
|
55
55
|
useDock
|
|
56
56
|
} from "./chunk-6VB74RCH.js";
|
|
57
|
+
import {
|
|
58
|
+
MonacoEditor,
|
|
59
|
+
skipoDarkTheme,
|
|
60
|
+
useMonaco
|
|
61
|
+
} from "./chunk-KAKAFGVH.js";
|
|
57
62
|
import {
|
|
58
63
|
CanvasViewport,
|
|
59
64
|
InfiniteCanvas,
|
|
60
65
|
MiniMap,
|
|
61
66
|
useCanvas
|
|
62
67
|
} from "./chunk-34YRDZPJ.js";
|
|
63
|
-
import {
|
|
64
|
-
MonacoEditor,
|
|
65
|
-
skipoDarkTheme,
|
|
66
|
-
useMonaco
|
|
67
|
-
} from "./chunk-KAKAFGVH.js";
|
|
68
68
|
import {
|
|
69
69
|
FodModule
|
|
70
70
|
} from "./chunk-TKOMIUCU.js";
|
|
@@ -93,6 +93,7 @@ var AuthPage = ({
|
|
|
93
93
|
onGoogleSignIn,
|
|
94
94
|
enableGoogleSignIn = true,
|
|
95
95
|
onSwitchToAdmin,
|
|
96
|
+
onContinueAsGuest,
|
|
96
97
|
authError
|
|
97
98
|
}) => {
|
|
98
99
|
const store = useFloksFrnlStore();
|
|
@@ -239,6 +240,14 @@ var AuthPage = ({
|
|
|
239
240
|
}
|
|
240
241
|
)
|
|
241
242
|
] }),
|
|
243
|
+
onContinueAsGuest && /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
244
|
+
/* @__PURE__ */ jsxs2("div", { className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
|
|
245
|
+
/* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
|
|
246
|
+
" OR ",
|
|
247
|
+
/* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
|
|
248
|
+
] }),
|
|
249
|
+
/* @__PURE__ */ jsx2("button", { type: "button", onClick: onContinueAsGuest, disabled: loading, className: "w-full py-2 text-[10px] font-black border-2 border-[var(--skipo-border-color)] text-[var(--skipo-text-muted)] bg-[var(--skipo-surface)] hover:text-[var(--skipo-text)] hover:bg-[var(--skipo-surface-hover)] transition-all cursor-pointer select-none rounded-sm", children: "CONTINUE AS GUEST" })
|
|
250
|
+
] }),
|
|
242
251
|
/* @__PURE__ */ jsx2("p", { className: "mt-5 pt-3 border-t border-[var(--skipo-border-color)] text-center text-[10px] text-[var(--skipo-text-muted)]", children: footerText || `${appName} WORKSPACE SYSTEM` })
|
|
243
252
|
] }) })
|
|
244
253
|
]
|
|
@@ -35,6 +35,8 @@ export interface LuthAuthPageProps extends Omit<AuthPageProps, 'onLogin' | 'onRe
|
|
|
35
35
|
authenticatedContent?: React.ReactNode | ((auth: UseLuthAuthResult) => React.ReactNode);
|
|
36
36
|
unauthenticatedContent?: React.ReactNode;
|
|
37
37
|
loadingContent?: React.ReactNode;
|
|
38
|
+
/** When provided, renders a "CONTINUE AS GUEST" button on the auth page. */
|
|
39
|
+
onContinueAsGuest?: () => void;
|
|
38
40
|
}
|
|
39
41
|
export declare function createLuthAuthClientForApplication(input: LuthAuthConfig): LuthAuthClient;
|
|
40
42
|
export declare function useLuthAuth(config: LuthAuthConfig): UseLuthAuthResult;
|