@ultrst-armada/floks 2.0.9 → 2.0.10
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 +11 -11
- package/packages/ui/dist/{chunk-SJPSY27C.js → chunk-EKPU2EZU.js} +68 -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.10",
|
|
5
|
+
"sourceCommit": "3b1c004d72915906048bc6ffdeda107af200b0c2",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
7
|
+
"workflowRunId": "44721361855"
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -20,6 +20,12 @@ import {
|
|
|
20
20
|
useCanvas2DCoordinates,
|
|
21
21
|
useCanvas2DMagnetic
|
|
22
22
|
} from "./chunk-ZDADZVQ2.js";
|
|
23
|
+
import {
|
|
24
|
+
Tile,
|
|
25
|
+
TileCreateButton,
|
|
26
|
+
TileGrid,
|
|
27
|
+
useTileMenu
|
|
28
|
+
} from "./chunk-SA3JADUG.js";
|
|
23
29
|
import {
|
|
24
30
|
PredictiveGhostNodeCard,
|
|
25
31
|
PredictiveHudToolbar,
|
|
@@ -29,12 +35,6 @@ import {
|
|
|
29
35
|
getSocketLocalOffset,
|
|
30
36
|
getSocketScreenPosition
|
|
31
37
|
} from "./chunk-FPRATI44.js";
|
|
32
|
-
import {
|
|
33
|
-
Tile,
|
|
34
|
-
TileCreateButton,
|
|
35
|
-
TileGrid,
|
|
36
|
-
useTileMenu
|
|
37
|
-
} from "./chunk-SA3JADUG.js";
|
|
38
38
|
import {
|
|
39
39
|
AikoModule,
|
|
40
40
|
EmbeddedAikoModule
|
|
@@ -57,17 +57,17 @@ import {
|
|
|
57
57
|
setAuthoringOperations,
|
|
58
58
|
updateAuthoringNode
|
|
59
59
|
} from "./chunk-CI4C6DJR.js";
|
|
60
|
-
import {
|
|
61
|
-
DockBar,
|
|
62
|
-
DockItem,
|
|
63
|
-
useDock
|
|
64
|
-
} from "./chunk-6VB74RCH.js";
|
|
65
60
|
import {
|
|
66
61
|
CanvasViewport,
|
|
67
62
|
InfiniteCanvas,
|
|
68
63
|
MiniMap,
|
|
69
64
|
useCanvas
|
|
70
65
|
} from "./chunk-34YRDZPJ.js";
|
|
66
|
+
import {
|
|
67
|
+
DockBar,
|
|
68
|
+
DockItem,
|
|
69
|
+
useDock
|
|
70
|
+
} from "./chunk-6VB74RCH.js";
|
|
71
71
|
import {
|
|
72
72
|
MonacoEditor,
|
|
73
73
|
skipoDarkTheme,
|
|
@@ -698,45 +698,78 @@ 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__ */ jsx7("h1", { className: "font-black text-sm tracking-wider uppercase", children: "SIGN IN TO WORKSPACE" }),
|
|
724
|
+
/* @__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." }),
|
|
725
|
+
auth.error && /* @__PURE__ */ jsx7("p", { role: "alert", className: "mb-4 border-2 border-red-500/80 bg-red-950/30 p-3 text-xs text-red-300", children: auth.error }),
|
|
726
|
+
/* @__PURE__ */ jsx7(
|
|
727
|
+
"button",
|
|
728
|
+
{
|
|
729
|
+
type: "button",
|
|
730
|
+
onClick: () => auth.signIn(),
|
|
731
|
+
disabled: Boolean(auth.error),
|
|
732
|
+
className: "disabled:opacity-50 disabled:cursor-not-allowed 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",
|
|
733
|
+
children: "CONTINUE WITH GOOGLE OR EMAIL"
|
|
734
|
+
}
|
|
735
|
+
),
|
|
736
|
+
auth.error && /* @__PURE__ */ jsx7(
|
|
737
|
+
"button",
|
|
738
|
+
{
|
|
739
|
+
type: "button",
|
|
740
|
+
onClick: () => {
|
|
741
|
+
void auth.refresh().catch(() => void 0);
|
|
742
|
+
},
|
|
743
|
+
className: "mt-3 w-full border-2 border-[var(--skipo-border-color,#252d3d)] px-4 py-2 text-xs font-black uppercase",
|
|
744
|
+
children: "RETRY SESSION"
|
|
745
|
+
}
|
|
746
|
+
),
|
|
747
|
+
onContinueAsGuest && /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
748
|
+
/* @__PURE__ */ jsxs6("div", { "aria-hidden": "true", className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
|
|
749
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" }),
|
|
750
|
+
"OR",
|
|
751
|
+
/* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" })
|
|
752
|
+
] }),
|
|
753
|
+
/* @__PURE__ */ jsx7(
|
|
754
|
+
"button",
|
|
755
|
+
{
|
|
756
|
+
type: "button",
|
|
757
|
+
onClick: onContinueAsGuest,
|
|
758
|
+
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",
|
|
759
|
+
children: "CONTINUE AS GUEST"
|
|
760
|
+
}
|
|
761
|
+
)
|
|
762
|
+
] }),
|
|
763
|
+
/* @__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: [
|
|
764
|
+
appName,
|
|
765
|
+
" WORKSPACE SYSTEM"
|
|
766
|
+
] })
|
|
767
|
+
]
|
|
768
|
+
}
|
|
769
|
+
) })
|
|
770
|
+
]
|
|
771
|
+
}
|
|
772
|
+
);
|
|
740
773
|
}
|
|
741
774
|
|
|
742
775
|
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-EKPU2EZU.js";
|
|
217
217
|
import {
|
|
218
218
|
frnlButton,
|
|
219
219
|
frnlButtonDefinition,
|