@ultrst-armada/floks 1.13.5 → 1.13.8

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.5",
5
- "sourceCommit": "83ac0162c7c3932deaffd0c87a824dd2b521f7a3",
4
+ "version": "1.13.8",
5
+ "sourceCommit": "03fdb292d608787daa6787e049e34be772118b58",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "41637279439"
7
+ "workflowRunId": "41790810478"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.13.5",
3
+ "version": "1.13.8",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -74,12 +74,12 @@
74
74
  "clean": "pnpm -r run clean"
75
75
  },
76
76
  "dependencies": {
77
- "@ultrst-armada/frnlts": "^0.5.3",
77
+ "@ultrst-armada/frnlts": "^0.5.4",
78
78
  "@xyflow/react": "^12.8.6",
79
79
  "d3-force": "^3.0.0",
80
80
  "zod": "^3.24.1",
81
81
  "zustand": "^5.0.3",
82
- "@dinilmusick/gutts": "^1.3.2"
82
+ "@dinilmusick/gutts": "^1.4.0"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@ultrst-armada/kloks": "^1.17.0",
@@ -94,7 +94,7 @@
94
94
  "@types/react": "^19.0.0",
95
95
  "@types/react-dom": "^19.0.0",
96
96
  "@ultrst-armada/kloks": "^1.24.5",
97
- "@ultrst-armada/frnlts": "^0.5.3",
97
+ "@ultrst-armada/frnlts": "^0.5.4",
98
98
  "happy-dom": "^21.0.3",
99
99
  "lucide-react": "^1.55.0",
100
100
  "react": "^19.0.1",
@@ -49,6 +49,11 @@ import {
49
49
  getAuthoringDepth,
50
50
  getAuthoringSubtreeIds
51
51
  } from "./chunk-TS7P3WWH.js";
52
+ import {
53
+ DockBar,
54
+ DockItem,
55
+ useDock
56
+ } from "./chunk-6VB74RCH.js";
52
57
  import {
53
58
  MonacoEditor,
54
59
  skipoDarkTheme,
@@ -60,11 +65,6 @@ import {
60
65
  MiniMap,
61
66
  useCanvas
62
67
  } from "./chunk-34YRDZPJ.js";
63
- import {
64
- DockBar,
65
- DockItem,
66
- useDock
67
- } from "./chunk-6VB74RCH.js";
68
68
  import {
69
69
  FodModule
70
70
  } from "./chunk-7CYX3B6O.js";
@@ -75,7 +75,7 @@
75
75
  },
76
76
  "dependencies": {
77
77
  "@floks/ui": "workspace:*",
78
- "@ultrst-armada/frnlts": "^0.5.3",
78
+ "@ultrst-armada/frnlts": "^0.5.4",
79
79
  "@ultrst-armada/kloks": "^1.24.5"
80
80
  },
81
81
  "peerDependencies": {
@@ -212,29 +212,16 @@ var AuthPage = ({
212
212
  /* @__PURE__ */ jsx2(
213
213
  GoogleSignInButton,
214
214
  {
215
+ label: mode === "register" ? "SIGN UP WITH GOOGLE" : "CONTINUE WITH GOOGLE",
215
216
  onSignIn: async () => {
216
217
  setGoogleLoading(true);
217
218
  setError(null);
218
219
  try {
219
220
  let result;
220
- if (onGoogleSignIn) {
221
- result = await onGoogleSignIn();
222
- } else {
223
- const callbackURL = typeof window !== "undefined" ? window.location.origin : "";
224
- const res = await fetch("/api/auth/sign-in/social", {
225
- method: "POST",
226
- headers: { "Content-Type": "application/json" },
227
- body: JSON.stringify({ provider: "google", callbackURL })
228
- });
229
- if (res.ok) {
230
- const data = await res.json().catch(() => ({}));
231
- if (data.url && typeof window !== "undefined") {
232
- window.location.href = data.url;
233
- return;
234
- }
235
- }
236
- throw new Error("Google sign-in endpoint unavailable.");
221
+ if (!onGoogleSignIn) {
222
+ throw new Error("Canonical Luth Google sign-in handler is not configured.");
237
223
  }
224
+ result = await onGoogleSignIn();
238
225
  if (!result.success) throw new Error(result.error || "Google sign-in failed.");
239
226
  onSuccess?.(result);
240
227
  } catch (error2) {
@@ -441,11 +428,31 @@ var LoginModal = ({
441
428
  );
442
429
  };
443
430
 
431
+ // src/components/auth/LuthAuthClient.ts
432
+ import {
433
+ resolveClientOrigin,
434
+ resolveClientEnvironment
435
+ } from "@dinilmusick/gutts";
436
+ import {
437
+ LuthAuthClient,
438
+ createLuthAuthClient
439
+ } from "@dinilmusick/gutts";
440
+ import { LuthAuthError } from "@dinilmusick/gutts";
441
+ var resolveLuthOrigin = resolveClientOrigin;
442
+ var resolveLuthEnvironment = resolveClientEnvironment;
443
+
444
+ // src/components/auth/luthAuthTypes.ts
445
+ import { LuthAuthError as LuthAuthError2 } from "@dinilmusick/gutts";
446
+
444
447
  export {
445
448
  GoogleIcon,
446
449
  GoogleSignInButton,
447
450
  AUTH_PAGE_REQUIRED_SERVICES,
448
451
  authPageDefinition,
449
452
  AuthPage,
450
- LoginModal
453
+ LoginModal,
454
+ resolveLuthOrigin,
455
+ resolveLuthEnvironment,
456
+ LuthAuthClient,
457
+ createLuthAuthClient
451
458
  };
@@ -1,4 +1,6 @@
1
1
  import React__default from 'react';
2
+ import { resolveClientEnvironment, resolveClientOrigin } from '@dinilmusick/gutts';
3
+ export { DeploymentEnvironment, EmailSignInCredentials, EmailSignUpData, GoogleSignInOptions, LuthAuthClient, LuthAuthClientConfig, LuthAuthError, LuthAuthTokenStore, LuthSession, LuthSessionResult, LuthUser, RegisterApplicationResult, createLuthAuthClient } from '@dinilmusick/gutts';
2
4
 
3
5
  declare const AUTH_PAGE_REQUIRED_SERVICES: readonly ["auth"];
4
6
  interface AuthResult {
@@ -102,4 +104,7 @@ declare const GoogleIcon: React__default.FC<{
102
104
  }>;
103
105
  declare const GoogleSignInButton: React__default.FC<GoogleSignInButtonProps>;
104
106
 
105
- export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, type AuthPageProps, type AuthResult, GoogleIcon, GoogleSignInButton, type GoogleSignInButtonProps, LoginModal, type LoginModalProps, authPageDefinition };
107
+ declare const resolveLuthOrigin: typeof resolveClientOrigin;
108
+ declare const resolveLuthEnvironment: typeof resolveClientEnvironment;
109
+
110
+ export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, type AuthPageProps, type AuthResult, GoogleIcon, GoogleSignInButton, type GoogleSignInButtonProps, LoginModal, type LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin };
@@ -4,8 +4,12 @@ import {
4
4
  GoogleIcon,
5
5
  GoogleSignInButton,
6
6
  LoginModal,
7
- authPageDefinition
8
- } from "../../chunk-5HQ6DSFX.js";
7
+ LuthAuthClient,
8
+ authPageDefinition,
9
+ createLuthAuthClient,
10
+ resolveLuthEnvironment,
11
+ resolveLuthOrigin
12
+ } from "../../chunk-X6ZJS2VY.js";
9
13
  import "../../chunk-5QDNIDDN.js";
10
14
  import "../../chunk-5ZMXFCD4.js";
11
15
  import "../../chunk-C3L53YN4.js";
@@ -19,5 +23,9 @@ export {
19
23
  GoogleIcon,
20
24
  GoogleSignInButton,
21
25
  LoginModal,
22
- authPageDefinition
26
+ LuthAuthClient,
27
+ authPageDefinition,
28
+ createLuthAuthClient,
29
+ resolveLuthEnvironment,
30
+ resolveLuthOrigin
23
31
  };
@@ -7,7 +7,8 @@ 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 } from './components/auth/index.js';
10
+ export { AUTH_PAGE_REQUIRED_SERVICES, AuthPage, AuthPageProps, AuthResult, GoogleIcon, GoogleSignInButton, GoogleSignInButtonProps, LoginModal, LoginModalProps, authPageDefinition, resolveLuthEnvironment, resolveLuthOrigin } from './components/auth/index.js';
11
+ export { DeploymentEnvironment, EmailSignInCredentials, EmailSignUpData, GoogleSignInOptions, LuthAuthClient, LuthAuthClientConfig, LuthAuthError, LuthAuthTokenStore, LuthSession, LuthSessionResult, LuthUser, RegisterApplicationResult, createLuthAuthClient } from '@dinilmusick/gutts';
11
12
  export { FrnlTileRecord, TilesMenu, TilesMenuProps, tilesMenuDefinition } from './components/tiles/index.js';
12
13
  export { GRAPHS_MENU_REQUIRED_SERVICES, GraphRecord, GraphsMenu, GraphsMenuProps } from './components/graph/index.js';
13
14
  export { BackblazeAccount, BackblazeBucket, KloksServiceInvoker, SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, StorageSelection, WORKSPACE_CREATE_DIALOG_REQUIRED_SERVICES, WORKSPACE_TILES_MENU_REQUIRED_SERVICES, WorkspaceCreateDialog, WorkspaceCreateDialogProps, WorkspaceCreateInput, WorkspaceGate, WorkspaceGateProps, WorkspaceRecord, WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, WorkspaceStorageService, WorkspaceTilesMenu, WorkspaceTilesMenuProps, createKloksWorkspaceStorageService, defaultWorkspaceStorageService, workspaceTilesMenuDefinition } from './components/workspace/index.js';
@@ -210,8 +210,12 @@ import {
210
210
  GoogleIcon,
211
211
  GoogleSignInButton,
212
212
  LoginModal,
213
- authPageDefinition
214
- } from "./chunk-5HQ6DSFX.js";
213
+ LuthAuthClient,
214
+ authPageDefinition,
215
+ createLuthAuthClient,
216
+ resolveLuthEnvironment,
217
+ resolveLuthOrigin
218
+ } from "./chunk-X6ZJS2VY.js";
215
219
  import {
216
220
  frnlButton,
217
221
  frnlButtonDefinition,
@@ -324,6 +328,7 @@ export {
324
328
  ListStyleSchema,
325
329
  LoadingOverlay,
326
330
  LoginModal,
331
+ LuthAuthClient,
327
332
  MarkdownSectionStylesSchema,
328
333
  ModalContainer,
329
334
  ModalPanel,
@@ -391,6 +396,7 @@ export {
391
396
  centralLedger,
392
397
  createAppThemeSocket,
393
398
  createKloksWorkspaceStorageService,
399
+ createLuthAuthClient,
394
400
  defaultWorkspaceStorageService,
395
401
  depmThemeSocket,
396
402
  floksFrnlFrontendApi,
@@ -417,6 +423,8 @@ export {
417
423
  getUIElement,
418
424
  paletteToSkipoThemePack,
419
425
  registerUIElement,
426
+ resolveLuthEnvironment,
427
+ resolveLuthOrigin,
420
428
  resolveTypographyCascade,
421
429
  safeValidateModularThemePack,
422
430
  subscribeToPalette,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floks/ui",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Floks UI — Reusable React Component Library with Theme Engine, Base Primitives, Containers, Composite & Layout",
5
5
  "type": "module",
6
6
  "private": false,
@@ -102,8 +102,9 @@
102
102
  "clean": "rm -rf dist"
103
103
  },
104
104
  "dependencies": {
105
+ "@dinilmusick/gutts": "^1.4.0",
105
106
  "zod": "^3.24.1",
106
- "@ultrst-armada/frnlts": "^0.5.3",
107
+ "@ultrst-armada/frnlts": "^0.5.4",
107
108
  "zustand": "^5.0.3",
108
109
  "@xyflow/react": "^12.8.6",
109
110
  "d3-force": "^3.0.0"
@@ -113,6 +114,7 @@
113
114
  "react": "^18.0.0 || ^19.0.0",
114
115
  "react-dom": "^18.0.0 || ^19.0.0"
115
116
  },
117
+ "peerDependenciesMeta": {},
116
118
  "devDependencies": {
117
119
  "@types/d3-force": "^3.0.10"
118
120
  }