@ultrst-armada/floks 2.0.14 → 2.0.16

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/floks",
4
- "version": "2.0.14",
5
- "sourceCommit": "3c8ef114f8730e40797f4f80bf5b834f980da7ff",
4
+ "version": "2.0.16",
5
+ "sourceCommit": "7ab84526d7d9820a14de47b0ab33b568b8367460",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "44933472125"
7
+ "workflowRunId": "44989058913"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,16 +57,16 @@ 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
  MonacoEditor,
67
62
  skipoDarkTheme,
68
63
  useMonaco
69
64
  } from "./chunk-KAKAFGVH.js";
65
+ import {
66
+ DockBar,
67
+ DockItem,
68
+ useDock
69
+ } from "./chunk-6VB74RCH.js";
70
70
  import {
71
71
  CanvasViewport,
72
72
  InfiniteCanvas,
@@ -220,49 +220,36 @@ var AuthPage = ({
220
220
  !emailValid && /* @__PURE__ */ jsx2("div", { className: "mt-1 text-[10px] text-red-400", children: "Enter a valid email address." })
221
221
  ] }),
222
222
  /* @__PURE__ */ jsx2("div", { children: React.createElement(frnlTextInput, { id: componentId + ".password", label: "Password", value: password, onChange: (e) => setPassword(e.target.value), type: showPassword ? "text" : "password", autoComplete: mode === "login" ? "current-password" : "new-password", trailingIcon: /* @__PURE__ */ jsx2("button", { type: "button", "aria-label": "Toggle password visibility", onClick: () => setShowPassword((v) => !v), children: showPassword ? /* @__PURE__ */ jsx2(EyeOff, { size: 13 }) : /* @__PURE__ */ jsx2(Eye, { size: 13 }) }) }) }),
223
- React.createElement(frnlButton, { type: "submit", disabled: loading, loading, variant: "accent", size: "lg", className: "w-full", icon: /* @__PURE__ */ jsx2(ArrowRight, { size: 13 }) }, mode === "login" ? "SIGN IN TO WORKSPACE" : "CREATE ACCOUNT")
223
+ React.createElement(frnlButton, { type: "submit", disabled: loading, loading, variant: "accent", size: "lg", className: "w-full", icon: /* @__PURE__ */ jsx2(ArrowRight, { size: 13 }) }, mode === "login" ? "SIGN IN" : "CREATE ACCOUNT")
224
224
  ] }),
225
- onGoogleSignIn && enableGoogleSignIn && /* @__PURE__ */ jsxs2(Fragment, { children: [
226
- /* @__PURE__ */ jsxs2("div", { className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
227
- /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
228
- " OR ",
229
- /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
230
- ] }),
231
- /* @__PURE__ */ jsx2(
232
- GoogleSignInButton,
233
- {
234
- label: mode === "register" ? "SIGN UP WITH GOOGLE" : "CONTINUE WITH GOOGLE",
235
- onSignIn: async () => {
236
- setGoogleLoading(true);
237
- setError(null);
238
- try {
239
- let result;
240
- if (!onGoogleSignIn) {
241
- throw new Error("Canonical Luth Google sign-in handler is not configured.");
242
- }
243
- result = await onGoogleSignIn();
244
- if (!result.success) throw new Error(result.error || "Google sign-in failed.");
245
- onSuccess?.(result);
246
- } catch (error2) {
247
- setError(error2 instanceof Error ? error2.message : "Google sign-in failed.");
248
- } finally {
249
- setGoogleLoading(false);
225
+ onGoogleSignIn && enableGoogleSignIn && /* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2(
226
+ GoogleSignInButton,
227
+ {
228
+ className: "mt-3",
229
+ label: mode === "register" ? "SIGN UP WITH GOOGLE" : "CONTINUE WITH GOOGLE",
230
+ onSignIn: async () => {
231
+ setGoogleLoading(true);
232
+ setError(null);
233
+ try {
234
+ let result;
235
+ if (!onGoogleSignIn) {
236
+ throw new Error("Canonical Luth Google sign-in handler is not configured.");
250
237
  }
251
- },
252
- disabled: loading,
253
- loading: googleLoading
254
- }
255
- )
256
- ] }),
257
- onContinueAsGuest && /* @__PURE__ */ jsxs2(Fragment, { children: [
258
- /* @__PURE__ */ jsxs2("div", { className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
259
- /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
260
- " OR ",
261
- /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
262
- ] }),
263
- /* @__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" })
264
- ] }),
265
- /* @__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` })
238
+ result = await onGoogleSignIn();
239
+ if (!result.success) throw new Error(result.error || "Google sign-in failed.");
240
+ onSuccess?.(result);
241
+ } catch (error2) {
242
+ setError(error2 instanceof Error ? error2.message : "Google sign-in failed.");
243
+ } finally {
244
+ setGoogleLoading(false);
245
+ }
246
+ },
247
+ disabled: loading,
248
+ loading: googleLoading
249
+ }
250
+ ) }),
251
+ onContinueAsGuest && /* @__PURE__ */ jsx2(Fragment, { children: /* @__PURE__ */ jsx2("button", { type: "button", onClick: onContinueAsGuest, disabled: loading, className: "mt-3 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" }) }),
252
+ (footerText === void 0 || footerText.length > 0) && /* @__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` })
266
253
  ] }) })
267
254
  ]
268
255
  }
@@ -734,12 +721,6 @@ function LuthOidcGate({
734
721
  "aria-label": `${appName} sign in`,
735
722
  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",
736
723
  children: [
737
- /* @__PURE__ */ jsxs6("div", { className: "grid grid-cols-2 gap-2 mb-5", "aria-label": "Sign-in options", children: [
738
- /* @__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" }),
739
- /* @__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" })
740
- ] }),
741
- /* @__PURE__ */ jsx7("h1", { className: "font-black text-sm tracking-wider uppercase", children: "SIGN IN TO WORKSPACE" }),
742
- /* @__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." }),
743
724
  /* @__PURE__ */ jsx7(
744
725
  GoogleSignInButton,
745
726
  {
@@ -748,11 +729,6 @@ function LuthOidcGate({
748
729
  className: "mb-3"
749
730
  }
750
731
  ),
751
- /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-2 mb-3 text-[9px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
752
- /* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" }),
753
- "OR",
754
- /* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" })
755
- ] }),
756
732
  /* @__PURE__ */ jsx7(
757
733
  "a",
758
734
  {
@@ -761,27 +737,15 @@ function LuthOidcGate({
761
737
  children: "CONTINUE WITH EMAIL"
762
738
  }
763
739
  ),
764
- /* @__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." }),
765
- onContinueAsGuest && /* @__PURE__ */ jsxs6(Fragment3, { children: [
766
- /* @__PURE__ */ jsxs6("div", { "aria-hidden": "true", className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted,#94a3b8)]", children: [
767
- /* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" }),
768
- "OR",
769
- /* @__PURE__ */ jsx7("span", { className: "h-px flex-1 bg-[var(--skipo-border-color,#252d3d)]" })
770
- ] }),
771
- /* @__PURE__ */ jsx7(
772
- "button",
773
- {
774
- type: "button",
775
- onClick: onContinueAsGuest,
776
- 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",
777
- children: "CONTINUE AS GUEST"
778
- }
779
- )
780
- ] }),
781
- /* @__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: [
782
- appName,
783
- " WORKSPACE SYSTEM"
784
- ] })
740
+ onContinueAsGuest && /* @__PURE__ */ jsx7(Fragment3, { children: /* @__PURE__ */ jsx7(
741
+ "button",
742
+ {
743
+ type: "button",
744
+ onClick: onContinueAsGuest,
745
+ className: "mt-3 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",
746
+ children: "CONTINUE AS GUEST"
747
+ }
748
+ ) })
785
749
  ]
786
750
  }
787
751
  ) })
@@ -18,7 +18,7 @@ import {
18
18
  resolveLuthOrigin,
19
19
  useApplicationOidcAuth,
20
20
  useLuthAuth
21
- } from "../../chunk-7I4LUZKF.js";
21
+ } from "../../chunk-LSQI4YEL.js";
22
22
  import "../../chunk-RLM72WKL.js";
23
23
  import "../../chunk-5ZMXFCD4.js";
24
24
  import "../../chunk-C3L53YN4.js";
@@ -213,7 +213,7 @@ import {
213
213
  resolveLuthOrigin,
214
214
  useApplicationOidcAuth,
215
215
  useLuthAuth
216
- } from "./chunk-7I4LUZKF.js";
216
+ } from "./chunk-LSQI4YEL.js";
217
217
  import {
218
218
  frnlButton,
219
219
  frnlButtonDefinition,