@ultrst-armada/floks 1.13.10 → 1.13.13

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": "1.13.10",
5
- "sourceCommit": "46542d0fad074aaf9f86e58b1dbc7ed7467afd7f",
4
+ "version": "1.13.13",
5
+ "sourceCommit": "c34774875640239250b4ee780fec675e2b90afce",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "41795482151"
7
+ "workflowRunId": "41833187215"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.13.10",
3
+ "version": "1.13.13",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -64,6 +64,11 @@
64
64
  "types": "./packages/canvas-ui/dist/aiko/index.d.ts",
65
65
  "import": "./packages/canvas-ui/dist/aiko/index.js",
66
66
  "default": "./packages/canvas-ui/dist/aiko/index.js"
67
+ },
68
+ "./auth": {
69
+ "types": "./packages/ui/dist/components/auth/index.d.ts",
70
+ "import": "./packages/ui/dist/components/auth/index.js",
71
+ "default": "./packages/ui/dist/components/auth/index.js"
67
72
  }
68
73
  },
69
74
  "scripts": {
@@ -79,7 +84,7 @@
79
84
  "d3-force": "^3.0.0",
80
85
  "zod": "^3.24.1",
81
86
  "zustand": "^5.0.3",
82
- "@dinilmusick/gutts": "git+https://github.com/dinilmusick/GutTS.git#2ccc70f0026e77ef85717c6fb8696c23a6779499"
87
+ "@dinilmusick/gutts": "^1.4.2"
83
88
  },
84
89
  "peerDependencies": {
85
90
  "@ultrst-armada/kloks": "^1.17.0",
@@ -110,9 +115,6 @@
110
115
  "url": "git+https://github.com/dinilmusick/Floks.git"
111
116
  },
112
117
  "pnpm": {
113
- "overrides": {
114
- "@dinilmusick/gutts": "git+https://github.com/dinilmusick/GutTS.git#2ccc70f0026e77ef85717c6fb8696c23a6779499"
115
- },
116
118
  "onlyBuiltDependencies": [
117
119
  "@dinilmusick/gutts"
118
120
  ]
@@ -49,12 +49,6 @@ import {
49
49
  getAuthoringDepth,
50
50
  getAuthoringSubtreeIds
51
51
  } from "./chunk-TS7P3WWH.js";
52
- import {
53
- CanvasViewport,
54
- InfiniteCanvas,
55
- MiniMap,
56
- useCanvas
57
- } from "./chunk-34YRDZPJ.js";
58
52
  import {
59
53
  DockBar,
60
54
  DockItem,
@@ -65,6 +59,12 @@ import {
65
59
  skipoDarkTheme,
66
60
  useMonaco
67
61
  } from "./chunk-ZJXRL74D.js";
62
+ import {
63
+ CanvasViewport,
64
+ InfiniteCanvas,
65
+ MiniMap,
66
+ useCanvas
67
+ } from "./chunk-34YRDZPJ.js";
68
68
  import {
69
69
  FodModule
70
70
  } from "./chunk-7CYX3B6O.js";
@@ -242,10 +242,33 @@ var AuthPage = ({
242
242
  );
243
243
  };
244
244
 
245
+ // src/components/auth/AuthLoadingScreen.tsx
246
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
247
+ var AuthLoadingScreen = ({
248
+ label = "CONNECTING WORKSPACE...",
249
+ className = ""
250
+ }) => /* @__PURE__ */ jsxs3(
251
+ "div",
252
+ {
253
+ "data-frnl-component": "AuthLoadingScreen",
254
+ className: `min-h-screen h-screen w-screen flex flex-col items-center justify-center bg-[var(--skipo-bg)] text-[var(--skipo-text)] font-mono ${className}`,
255
+ children: [
256
+ /* @__PURE__ */ jsx3(
257
+ "div",
258
+ {
259
+ "aria-hidden": "true",
260
+ className: "w-8 h-8 border-2 border-[var(--skipo-border-color)] border-t-[var(--skipo-accent)] rounded-full animate-spin"
261
+ }
262
+ ),
263
+ /* @__PURE__ */ jsx3("span", { className: "mt-4 text-[11px] tracking-[0.15em] text-[var(--skipo-text-muted)]", children: label })
264
+ ]
265
+ }
266
+ );
267
+
245
268
  // src/components/auth/LoginModal.tsx
246
269
  import { useState as useState2 } from "react";
247
270
  import { ArrowRight as ArrowRight2, ShieldCheck, AlertCircle as AlertCircle2 } from "lucide-react";
248
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
271
+ import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
249
272
  var LoginModal = ({
250
273
  appName = "Ecosystem App",
251
274
  onSuccess,
@@ -288,34 +311,34 @@ var LoginModal = ({
288
311
  setLoading(false);
289
312
  }
290
313
  };
291
- return /* @__PURE__ */ jsx3(
314
+ return /* @__PURE__ */ jsx4(
292
315
  "div",
293
316
  {
294
317
  className: "fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-xs font-mono p-4",
295
318
  onWheel: (e) => e.stopPropagation(),
296
319
  onPointerDown: (e) => e.stopPropagation(),
297
- children: /* @__PURE__ */ jsxs3("div", { className: "w-full max-w-md p-6 border-2 border-[var(--skipo-border-color)] bg-[var(--skipo-surface)] text-[var(--skipo-text)] shadow-2xl rounded-lg space-y-4", children: [
298
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between pb-3 border-b border-[var(--skipo-border-color)]", children: [
299
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2", children: [
300
- /* @__PURE__ */ jsx3("div", { className: "w-7 h-7 bg-[var(--skipo-accent)] text-black font-black flex items-center justify-center text-xs rounded", children: "\u25B2" }),
301
- /* @__PURE__ */ jsxs3("span", { className: "font-black text-sm tracking-wider uppercase text-[var(--skipo-text)]", children: [
320
+ children: /* @__PURE__ */ jsxs4("div", { className: "w-full max-w-md p-6 border-2 border-[var(--skipo-border-color)] bg-[var(--skipo-surface)] text-[var(--skipo-text)] shadow-2xl rounded-lg space-y-4", children: [
321
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between pb-3 border-b border-[var(--skipo-border-color)]", children: [
322
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2", children: [
323
+ /* @__PURE__ */ jsx4("div", { className: "w-7 h-7 bg-[var(--skipo-accent)] text-black font-black flex items-center justify-center text-xs rounded", children: "\u25B2" }),
324
+ /* @__PURE__ */ jsxs4("span", { className: "font-black text-sm tracking-wider uppercase text-[var(--skipo-text)]", children: [
302
325
  appName,
303
326
  " Authentication"
304
327
  ] })
305
328
  ] }),
306
- /* @__PURE__ */ jsxs3("span", { className: "text-[9px] px-2 py-0.5 border border-emerald-500/50 bg-emerald-500/10 text-emerald-300 font-bold rounded flex items-center gap-1", children: [
307
- /* @__PURE__ */ jsx3(ShieldCheck, { size: 10 }),
329
+ /* @__PURE__ */ jsxs4("span", { className: "text-[9px] px-2 py-0.5 border border-emerald-500/50 bg-emerald-500/10 text-emerald-300 font-bold rounded flex items-center gap-1", children: [
330
+ /* @__PURE__ */ jsx4(ShieldCheck, { size: 10 }),
308
331
  " SYSTEM DB"
309
332
  ] })
310
333
  ] }),
311
- error && /* @__PURE__ */ jsxs3("div", { className: "p-3 border border-red-500/60 bg-red-500/10 text-red-300 text-xs rounded flex items-start gap-2", children: [
312
- /* @__PURE__ */ jsx3(AlertCircle2, { size: 14, className: "shrink-0 mt-0.5" }),
313
- /* @__PURE__ */ jsx3("span", { children: error })
334
+ error && /* @__PURE__ */ jsxs4("div", { className: "p-3 border border-red-500/60 bg-red-500/10 text-red-300 text-xs rounded flex items-start gap-2", children: [
335
+ /* @__PURE__ */ jsx4(AlertCircle2, { size: 14, className: "shrink-0 mt-0.5" }),
336
+ /* @__PURE__ */ jsx4("span", { children: error })
314
337
  ] }),
315
- /* @__PURE__ */ jsxs3("form", { onSubmit: handleSubmit, className: "space-y-3", children: [
316
- isRegister && /* @__PURE__ */ jsxs3("div", { children: [
317
- /* @__PURE__ */ jsx3("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Full Name *" }),
318
- /* @__PURE__ */ jsx3(
338
+ /* @__PURE__ */ jsxs4("form", { onSubmit: handleSubmit, className: "space-y-3", children: [
339
+ isRegister && /* @__PURE__ */ jsxs4("div", { children: [
340
+ /* @__PURE__ */ jsx4("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Full Name *" }),
341
+ /* @__PURE__ */ jsx4(
319
342
  BaseInput,
320
343
  {
321
344
  type: "text",
@@ -326,9 +349,9 @@ var LoginModal = ({
326
349
  }
327
350
  )
328
351
  ] }),
329
- /* @__PURE__ */ jsxs3("div", { children: [
330
- /* @__PURE__ */ jsx3("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Email Address *" }),
331
- /* @__PURE__ */ jsx3(
352
+ /* @__PURE__ */ jsxs4("div", { children: [
353
+ /* @__PURE__ */ jsx4("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Email Address *" }),
354
+ /* @__PURE__ */ jsx4(
332
355
  BaseInput,
333
356
  {
334
357
  type: "email",
@@ -339,9 +362,9 @@ var LoginModal = ({
339
362
  }
340
363
  )
341
364
  ] }),
342
- /* @__PURE__ */ jsxs3("div", { children: [
343
- /* @__PURE__ */ jsx3("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Password *" }),
344
- /* @__PURE__ */ jsx3(
365
+ /* @__PURE__ */ jsxs4("div", { children: [
366
+ /* @__PURE__ */ jsx4("label", { className: "block text-[10px] font-black uppercase mb-1", children: "Password *" }),
367
+ /* @__PURE__ */ jsx4(
345
368
  BaseInput,
346
369
  {
347
370
  type: "password",
@@ -352,7 +375,7 @@ var LoginModal = ({
352
375
  }
353
376
  )
354
377
  ] }),
355
- /* @__PURE__ */ jsx3("div", { className: "pt-2", children: /* @__PURE__ */ jsxs3(
378
+ /* @__PURE__ */ jsx4("div", { className: "pt-2", children: /* @__PURE__ */ jsxs4(
356
379
  BaseButton,
357
380
  {
358
381
  variant: "accent",
@@ -361,19 +384,19 @@ var LoginModal = ({
361
384
  disabled: loading,
362
385
  className: "w-full flex items-center justify-center gap-2",
363
386
  children: [
364
- /* @__PURE__ */ jsx3("span", { children: loading ? "AUTHENTICATING..." : isRegister ? "REGISTER & ENTER" : "SIGN IN" }),
365
- /* @__PURE__ */ jsx3(ArrowRight2, { size: 14 })
387
+ /* @__PURE__ */ jsx4("span", { children: loading ? "AUTHENTICATING..." : isRegister ? "REGISTER & ENTER" : "SIGN IN" }),
388
+ /* @__PURE__ */ jsx4(ArrowRight2, { size: 14 })
366
389
  ]
367
390
  }
368
391
  ) })
369
392
  ] }),
370
- enableGoogleSignIn !== false && /* @__PURE__ */ jsxs3("div", { className: "space-y-2", children: [
371
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
372
- /* @__PURE__ */ jsx3("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
393
+ enableGoogleSignIn !== false && /* @__PURE__ */ jsxs4("div", { className: "space-y-2", children: [
394
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
395
+ /* @__PURE__ */ jsx4("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
373
396
  " OR ",
374
- /* @__PURE__ */ jsx3("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
397
+ /* @__PURE__ */ jsx4("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
375
398
  ] }),
376
- /* @__PURE__ */ jsx3(
399
+ /* @__PURE__ */ jsx4(
377
400
  GoogleSignInButton,
378
401
  {
379
402
  disabled: loading || googleLoading,
@@ -408,8 +431,8 @@ var LoginModal = ({
408
431
  }
409
432
  )
410
433
  ] }),
411
- /* @__PURE__ */ jsxs3("div", { className: "pt-2 border-t border-[var(--skipo-border-color)]/60 flex items-center justify-between text-[11px]", children: [
412
- /* @__PURE__ */ jsx3(
434
+ /* @__PURE__ */ jsxs4("div", { className: "pt-2 border-t border-[var(--skipo-border-color)]/60 flex items-center justify-between text-[11px]", children: [
435
+ /* @__PURE__ */ jsx4(
413
436
  "button",
414
437
  {
415
438
  type: "button",
@@ -421,7 +444,7 @@ var LoginModal = ({
421
444
  children: isRegister ? "Already have an account? Sign In" : "Create new account"
422
445
  }
423
446
  ),
424
- /* @__PURE__ */ jsx3("span", { className: "text-[10px] text-[var(--skipo-text-muted)]", children: "ULTRST Identity" })
447
+ /* @__PURE__ */ jsx4("span", { className: "text-[10px] text-[var(--skipo-text-muted)]", children: "ULTRST Identity" })
425
448
  ] })
426
449
  ] })
427
450
  }
@@ -450,6 +473,7 @@ export {
450
473
  AUTH_PAGE_REQUIRED_SERVICES,
451
474
  authPageDefinition,
452
475
  AuthPage,
476
+ AuthLoadingScreen,
453
477
  LoginModal,
454
478
  resolveLuthOrigin,
455
479
  resolveLuthEnvironment,
@@ -83,6 +83,12 @@ declare const authPageDefinition: {
83
83
  };
84
84
  declare const AuthPage: React__default.FC<AuthPageProps>;
85
85
 
86
+ interface AuthLoadingScreenProps {
87
+ label?: string;
88
+ className?: string;
89
+ }
90
+ declare const AuthLoadingScreen: React__default.FC<AuthLoadingScreenProps>;
91
+
86
92
  interface LoginModalProps {
87
93
  appName?: string;
88
94
  onSuccess: (user: any, token: string) => void;
@@ -108,4 +114,4 @@ declare const GoogleSignInButton: React__default.FC<GoogleSignInButtonProps>;
108
114
  declare const resolveLuthOrigin: typeof resolveClientOrigin;
109
115
  declare const resolveLuthEnvironment: typeof resolveClientEnvironment;
110
116
 
111
- export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, type AuthPageProps, type AuthResult, GoogleIcon, GoogleSignInButton, type GoogleSignInButtonProps, LoginModal, type LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin };
117
+ export { AUTH_PAGE_REQUIRED_SERVICES, AuthLoadingScreen, type AuthLoadingScreenProps, AuthPage, type AuthPageProps, type AuthResult, GoogleIcon, GoogleSignInButton, type GoogleSignInButtonProps, LoginModal, type LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin };
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  AUTH_PAGE_REQUIRED_SERVICES,
3
+ AuthLoadingScreen,
3
4
  AuthPage,
4
5
  GoogleIcon,
5
6
  GoogleSignInButton,
@@ -9,7 +10,7 @@ import {
9
10
  createLuthAuthClient,
10
11
  resolveLuthEnvironment,
11
12
  resolveLuthOrigin
12
- } from "../../chunk-VZAN46GQ.js";
13
+ } from "../../chunk-KTLNNJFX.js";
13
14
  import "../../chunk-5QDNIDDN.js";
14
15
  import "../../chunk-5ZMXFCD4.js";
15
16
  import "../../chunk-C3L53YN4.js";
@@ -19,6 +20,7 @@ import "../../chunk-62ITRDJX.js";
19
20
  import "../../chunk-A2CDQISJ.js";
20
21
  export {
21
22
  AUTH_PAGE_REQUIRED_SERVICES,
23
+ AuthLoadingScreen,
22
24
  AuthPage,
23
25
  GoogleIcon,
24
26
  GoogleSignInButton,
@@ -7,7 +7,7 @@ export { AppShell, AppShellProps, BreadcrumbNav, BreadcrumbNavProps, HeaderBar,
7
7
  export { ApiCallIndicator, ApiCallIndicatorProps, AutoSaveStatus, AutoSaveToggle, AutoSaveToggleProps, BottomStripContextValue, BottomStripProvider, BottomStripProviderProps, StatusLight, StatusLightProps, SystemMessage, SystemMessageDisplay, SystemMessageDisplayProps, SystemMessageType, useBottomStrip } from './components/bottom-strip/index.js';
8
8
  export { B as BottomStrip, a as BottomStripProps } from './BottomStrip-DYhAUQR4.js';
9
9
  export { AccountsSettingsSection, AccountsSettingsSectionProps, SettingsTab, SettingsTabProps, ThemeSettingsSection } from './components/settings/index.js';
10
- export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, AuthPageProps, AuthResult, GoogleIcon, GoogleSignInButton, GoogleSignInButtonProps, LoginModal, LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin } from './components/auth/index.js';
10
+ export { AUTH_PAGE_REQUIRED_SERVICES, AuthLoadingScreen, AuthLoadingScreenProps, AuthPage, AuthPageProps, AuthResult, GoogleIcon, GoogleSignInButton, GoogleSignInButtonProps, LoginModal, LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin } from './components/auth/index.js';
11
11
  export { LuthSession, LuthUser } from '@dinilmusick/gutts';
12
12
  export { FrnlTileRecord, TilesMenu, TilesMenuProps, tilesMenuDefinition } from './components/tiles/index.js';
13
13
  export { GRAPHS_MENU_REQUIRED_SERVICES, GraphRecord, GraphsMenu, GraphsMenuProps } from './components/graph/index.js';
@@ -206,6 +206,7 @@ import {
206
206
  } from "./chunk-UOR4P6PO.js";
207
207
  import {
208
208
  AUTH_PAGE_REQUIRED_SERVICES,
209
+ AuthLoadingScreen,
209
210
  AuthPage,
210
211
  GoogleIcon,
211
212
  GoogleSignInButton,
@@ -215,7 +216,7 @@ import {
215
216
  createLuthAuthClient,
216
217
  resolveLuthEnvironment,
217
218
  resolveLuthOrigin
218
- } from "./chunk-VZAN46GQ.js";
219
+ } from "./chunk-KTLNNJFX.js";
219
220
  import {
220
221
  frnlButton,
221
222
  frnlButtonDefinition,
@@ -256,6 +257,7 @@ export {
256
257
  AgentExecutionCard,
257
258
  ApiCallIndicator,
258
259
  AppShell,
260
+ AuthLoadingScreen,
259
261
  AuthPage,
260
262
  AutoSaveToggle,
261
263
  BUILTIN_PALETTES,