@ultrst-armada/floks 2.0.9 → 2.0.11
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 +16 -16
- package/packages/ui/dist/{chunk-SJPSY27C.js → chunk-AGRCDLL3.js} +88 -35
- package/packages/ui/dist/components/auth/LuthOidcGate.presentation.test.d.ts +1 -0
- package/packages/ui/dist/components/auth/index.js +1 -1
- package/packages/ui/dist/index.js +6 -6
|
@@ -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.11",
|
|
5
|
+
"sourceCommit": "40bc1efdb6aaa69d3e212d99a89e8e3adc8d3356",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "44758977972"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -39,6 +39,22 @@ import {
|
|
|
39
39
|
AikoModule,
|
|
40
40
|
EmbeddedAikoModule
|
|
41
41
|
} from "./chunk-OH7S4XFZ.js";
|
|
42
|
+
import {
|
|
43
|
+
CanvasViewport,
|
|
44
|
+
InfiniteCanvas,
|
|
45
|
+
MiniMap,
|
|
46
|
+
useCanvas
|
|
47
|
+
} from "./chunk-34YRDZPJ.js";
|
|
48
|
+
import {
|
|
49
|
+
DockBar,
|
|
50
|
+
DockItem,
|
|
51
|
+
useDock
|
|
52
|
+
} from "./chunk-6VB74RCH.js";
|
|
53
|
+
import {
|
|
54
|
+
MonacoEditor,
|
|
55
|
+
skipoDarkTheme,
|
|
56
|
+
useMonaco
|
|
57
|
+
} from "./chunk-KAKAFGVH.js";
|
|
42
58
|
import {
|
|
43
59
|
UiAuthoringBindingEditor,
|
|
44
60
|
UiAuthoringInspector,
|
|
@@ -57,22 +73,6 @@ import {
|
|
|
57
73
|
setAuthoringOperations,
|
|
58
74
|
updateAuthoringNode
|
|
59
75
|
} from "./chunk-CI4C6DJR.js";
|
|
60
|
-
import {
|
|
61
|
-
DockBar,
|
|
62
|
-
DockItem,
|
|
63
|
-
useDock
|
|
64
|
-
} from "./chunk-6VB74RCH.js";
|
|
65
|
-
import {
|
|
66
|
-
CanvasViewport,
|
|
67
|
-
InfiniteCanvas,
|
|
68
|
-
MiniMap,
|
|
69
|
-
useCanvas
|
|
70
|
-
} from "./chunk-34YRDZPJ.js";
|
|
71
|
-
import {
|
|
72
|
-
MonacoEditor,
|
|
73
|
-
skipoDarkTheme,
|
|
74
|
-
useMonaco
|
|
75
|
-
} from "./chunk-KAKAFGVH.js";
|
|
76
76
|
import {
|
|
77
77
|
FodModule,
|
|
78
78
|
filterRemoteDefinitions,
|
|
@@ -698,45 +698,98 @@ function LuthOidcGate({
|
|
|
698
698
|
}
|
|
699
699
|
}, [auth.session.authenticated, auth.user]);
|
|
700
700
|
if (auth.initializing || auth.loading) {
|
|
701
|
-
return /* @__PURE__ */ jsx7(Fragment3, { children: loadingContent ?? /* @__PURE__ */ jsx7(AuthLoadingScreen, { label: "VERIFYING
|
|
701
|
+
return /* @__PURE__ */ jsx7(Fragment3, { children: loadingContent ?? /* @__PURE__ */ jsx7(AuthLoadingScreen, { label: "VERIFYING SESSION..." }) });
|
|
702
702
|
}
|
|
703
703
|
if (auth.session.authenticated && auth.user) {
|
|
704
704
|
return typeof authenticatedContent === "function" ? /* @__PURE__ */ jsx7(Fragment3, { children: authenticatedContent(auth) }) : /* @__PURE__ */ jsx7(Fragment3, { children: authenticatedContent });
|
|
705
705
|
}
|
|
706
|
-
return /* @__PURE__ */
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
706
|
+
return /* @__PURE__ */ jsxs6(
|
|
707
|
+
"div",
|
|
708
|
+
{
|
|
709
|
+
"data-frnl-component": "LuthOidcGate",
|
|
710
|
+
className: "min-h-screen h-screen w-screen bg-[var(--skipo-bg,#0a0e17)] text-[var(--skipo-text,#f8fafc)] font-mono flex flex-col overflow-hidden",
|
|
711
|
+
children: [
|
|
712
|
+
/* @__PURE__ */ jsxs6("header", { className: "border-b-2 border-[var(--skipo-border-color,#252d3d)] bg-[var(--skipo-surface,#121722)] px-6 py-3.5 flex items-center gap-3 shrink-0", children: [
|
|
713
|
+
/* @__PURE__ */ jsx7("div", { "aria-hidden": "true", className: "w-8 h-8 shrink-0 bg-[var(--skipo-accent,#6366f1)] text-black font-black flex items-center justify-center text-xs rounded-sm", children: "\u25B2" }),
|
|
714
|
+
/* @__PURE__ */ jsx7("span", { className: "text-sm font-black uppercase tracking-wider", children: appName }),
|
|
715
|
+
/* @__PURE__ */ jsx7("span", { className: "text-[10px] text-[var(--skipo-text-muted,#94a3b8)] tracking-tight", children: "WORKSPACE" })
|
|
716
|
+
] }),
|
|
717
|
+
/* @__PURE__ */ jsx7("main", { className: "flex-1 flex items-center justify-center p-4 overflow-auto", children: /* @__PURE__ */ jsxs6(
|
|
718
|
+
"section",
|
|
719
|
+
{
|
|
720
|
+
"aria-label": `${appName} sign in`,
|
|
721
|
+
className: "w-full max-w-md border-2 border-[var(--skipo-border-color,#252d3d)] bg-[var(--skipo-surface,#121722)] shadow-[6px_6px_0px_var(--skipo-border-color,#252d3d)] p-6 my-auto",
|
|
722
|
+
children: [
|
|
723
|
+
/* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-2 mb-5", "aria-label": "Sign-in options", children: [
|
|
724
|
+
/* @__PURE__ */ jsx7("span", { className: "py-2 text-[10px] font-black border-2 flex items-center justify-center bg-[var(--skipo-accent,#6366f1)] text-[var(--skipo-accent-fg,#000000)] border-[var(--skipo-accent,#6366f1)]", children: "SIGN IN" }),
|
|
725
|
+
/* @__PURE__ */ jsx7("span", { className: "py-2 text-[10px] font-black border-2 flex items-center justify-center text-[var(--skipo-text-muted,#94a3b8)] border-[var(--skipo-border-color,#252d3d)]", children: "CREATE ACCOUNT" })
|
|
726
|
+
] }),
|
|
727
|
+
/* @__PURE__ */ jsx7("h1", { className: "font-black text-sm tracking-wider uppercase", children: "SIGN IN TO WORKSPACE" }),
|
|
728
|
+
/* @__PURE__ */ jsx7("p", { className: "mt-2 mb-5 text-xs text-[var(--skipo-text-muted,#94a3b8)]", children: "Access your workspace with your existing account or create one." }),
|
|
729
|
+
auth.error && /* @__PURE__ */ jsxs6("div", { role: "alert", className: "mb-4 border-2 border-red-500/80 bg-red-950/30 p-3 text-xs text-red-300 space-y-2", children: [
|
|
730
|
+
/* @__PURE__ */ jsx7("p", { children: "Session verification is unavailable. No authenticated workspace access will be granted until the service recovers." }),
|
|
731
|
+
/* @__PURE__ */ jsx7("p", { children: auth.error })
|
|
732
|
+
] }),
|
|
733
|
+
/* @__PURE__ */ jsx7(
|
|
734
|
+
GoogleSignInButton,
|
|
735
|
+
{
|
|
736
|
+
label: "CONTINUE WITH GOOGLE",
|
|
737
|
+
onSignIn: () => auth.signIn(),
|
|
738
|
+
className: "mb-3"
|
|
739
|
+
}
|
|
740
|
+
),
|
|
741
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-2 mb-3 text-[9px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
|
|
742
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" }),
|
|
743
|
+
"OR",
|
|
744
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" })
|
|
745
|
+
] }),
|
|
746
|
+
/* @__PURE__ */ jsx7(
|
|
747
|
+
"button",
|
|
748
|
+
{
|
|
749
|
+
type: "button",
|
|
750
|
+
onClick: () => auth.signIn(),
|
|
751
|
+
className: "w-full py-3 px-4 text-xs font-black uppercase tracking-wide border-2 border-[var(--skipo-accent,#6366f1)] bg-[var(--skipo-accent,#6366f1)] text-[var(--skipo-accent-fg,#000000)] hover:brightness-110 transition-all cursor-pointer",
|
|
752
|
+
children: "CONTINUE WITH EMAIL"
|
|
753
|
+
}
|
|
754
|
+
),
|
|
755
|
+
/* @__PURE__ */ jsx7("p", { className: "mt-3 text-[10px] leading-relaxed text-[var(--skipo-text-muted,#94a3b8)]", children: "Google, email sign-in and account registration are handled on the secure Luth identity page. This application never asks for, stores, or transmits your password." }),
|
|
756
|
+
auth.error && /* @__PURE__ */ jsx7(
|
|
757
|
+
"button",
|
|
758
|
+
{
|
|
759
|
+
type: "button",
|
|
760
|
+
onClick: () => {
|
|
761
|
+
void auth.refresh().catch(() => void 0);
|
|
762
|
+
},
|
|
763
|
+
className: "mt-3 w-full border-2 border-[var(--skipo-border-color,#252d3d)] px-4 py-2 text-xs font-black uppercase",
|
|
764
|
+
children: "RETRY SESSION"
|
|
765
|
+
}
|
|
766
|
+
),
|
|
767
|
+
onContinueAsGuest && /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
768
|
+
/* @__PURE__ */ jsxs6("div", { "aria-hidden": "true", className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
|
|
769
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" }),
|
|
770
|
+
"OR",
|
|
771
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" })
|
|
772
|
+
] }),
|
|
773
|
+
/* @__PURE__ */ jsx7(
|
|
774
|
+
"button",
|
|
775
|
+
{
|
|
776
|
+
type: "button",
|
|
777
|
+
onClick: onContinueAsGuest,
|
|
778
|
+
className: "w-full py-2 text-[10px] font-black border-2 border-[var(--skipo-border-color,#252d3d)] text-[var(--skipo-text-muted,#94a3b8)] hover:text-[var(--skipo-text,#f8fafc)] transition-colors cursor-pointer",
|
|
779
|
+
children: "CONTINUE AS GUEST"
|
|
780
|
+
}
|
|
781
|
+
)
|
|
782
|
+
] }),
|
|
783
|
+
/* @__PURE__ */ jsxs6("p", { className: "mt-5 pt-3 border-t border-[var(--skipo-border-color,#252d3d)] text-center text-[10px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
|
|
784
|
+
appName,
|
|
785
|
+
" WORKSPACE SYSTEM"
|
|
786
|
+
] })
|
|
787
|
+
]
|
|
788
|
+
}
|
|
789
|
+
) })
|
|
790
|
+
]
|
|
791
|
+
}
|
|
792
|
+
);
|
|
740
793
|
}
|
|
741
794
|
|
|
742
795
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -58,6 +58,11 @@ import {
|
|
|
58
58
|
HeaderBar,
|
|
59
59
|
TopToolbar
|
|
60
60
|
} from "./chunk-KMVDLACR.js";
|
|
61
|
+
import "./chunk-2SD6BIUX.js";
|
|
62
|
+
import {
|
|
63
|
+
TilesMenu,
|
|
64
|
+
tilesMenuDefinition
|
|
65
|
+
} from "./chunk-DEKSKDSF.js";
|
|
61
66
|
import {
|
|
62
67
|
AccountsSettingsSection,
|
|
63
68
|
SettingsTab,
|
|
@@ -66,11 +71,6 @@ import {
|
|
|
66
71
|
import {
|
|
67
72
|
CopyableLogViewer
|
|
68
73
|
} from "./chunk-RLQ2ALJG.js";
|
|
69
|
-
import "./chunk-2SD6BIUX.js";
|
|
70
|
-
import {
|
|
71
|
-
TilesMenu,
|
|
72
|
-
tilesMenuDefinition
|
|
73
|
-
} from "./chunk-DEKSKDSF.js";
|
|
74
74
|
import {
|
|
75
75
|
createFrnlDomMeasurementAdapter,
|
|
76
76
|
frnlBadge,
|
|
@@ -213,7 +213,7 @@ import {
|
|
|
213
213
|
resolveLuthOrigin,
|
|
214
214
|
useApplicationOidcAuth,
|
|
215
215
|
useLuthAuth
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-AGRCDLL3.js";
|
|
217
217
|
import {
|
|
218
218
|
frnlButton,
|
|
219
219
|
frnlButtonDefinition,
|