@ultrst-armada/floks 2.0.0 → 2.0.3

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.0",
5
- "sourceCommit": "63549bdebb60c5375a7ff5610495b3cf3cf18015",
4
+ "version": "2.0.3",
5
+ "sourceCommit": "5c5fa7bea3f6bdb31fda44b1ee9fa618c725adcb",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "43151128434"
7
+ "workflowRunId": "43585525590"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "2.0.0",
3
+ "version": "2.0.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -90,17 +90,18 @@
90
90
  "scripts": {
91
91
  "build": "NODE_OPTIONS=--max-old-space-size=4096 pnpm -r --workspace-concurrency=1 run build && NODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @floks/ui run build:types && NODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @floks/canvas-ui run build:types && node scripts/normalize-package-declarations.mjs",
92
92
  "postbuild": "node scripts/normalize-package-declarations.mjs",
93
- "test": "vitest run",
93
+ "test": "vitest run && pnpm run verify:npm-trusted-publishing",
94
94
  "typecheck": "pnpm -r run typecheck",
95
95
  "clean": "pnpm -r run clean",
96
96
  "boundary": "node scripts/architecture-boundary.mjs",
97
97
  "boundary:clean-room": "node scripts/clean-room-boundary.mjs",
98
98
  "boundary:relative": "node scripts/relative-package-boundary.mjs",
99
99
  "test:consumer-browser": "node scripts/consumer-browser-boundary.mjs",
100
- "test:consumer-server": "node scripts/consumer-server-boundary.mjs"
100
+ "test:consumer-server": "node scripts/consumer-server-boundary.mjs",
101
+ "verify:npm-trusted-publishing": "node scripts/verify-npm-trusted-publishing.mjs"
101
102
  },
102
103
  "dependencies": {
103
- "@dinilmusick/gutts": "^2.0.3",
104
+ "@dinilmusick/gutts": "^2.1.0",
104
105
  "@ultrst-armada/frnlts": "^0.5.23",
105
106
  "zod": "^3.24.1"
106
107
  },
@@ -20,12 +20,6 @@ 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";
29
23
  import {
30
24
  PredictiveGhostNodeCard,
31
25
  PredictiveHudToolbar,
@@ -35,6 +29,12 @@ import {
35
29
  getSocketLocalOffset,
36
30
  getSocketScreenPosition
37
31
  } 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
  } from "./chunk-OHAFLB3O.js";
@@ -84,9 +84,9 @@ var VARIANT_STYLES = {
84
84
  color: "var(--skipo-text-muted, #94a3b8)"
85
85
  },
86
86
  accent: {
87
- backgroundColor: "var(--skipo-accent, #38bdf8)",
88
- borderColor: "var(--skipo-accent-contrast, #0284c7)",
89
- color: "#000000",
87
+ backgroundColor: "var(--skipo-accent, #d4af37)",
88
+ borderColor: "var(--skipo-accent-contrast, var(--skipo-border-color, #3b4250))",
89
+ color: "var(--skipo-accent-fg, #000000)",
90
90
  fontWeight: 700
91
91
  },
92
92
  dock: {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  frnlButton,
3
3
  frnlTextInput
4
- } from "./chunk-5QDNIDDN.js";
4
+ } from "./chunk-GOUFV3B4.js";
5
5
  import {
6
6
  useFloksFrnlStore
7
7
  } from "./chunk-B4XTM5TI.js";
@@ -93,6 +93,7 @@ var AuthPage = ({
93
93
  onGoogleSignIn,
94
94
  enableGoogleSignIn = true,
95
95
  onSwitchToAdmin,
96
+ onContinueAsGuest,
96
97
  authError
97
98
  }) => {
98
99
  const store = useFloksFrnlStore();
@@ -182,15 +183,15 @@ var AuthPage = ({
182
183
  /* @__PURE__ */ jsxs2("button", { type: "button", onClick: () => {
183
184
  setMode("login");
184
185
  setError(null);
185
- }, className: `py-2 text-[10px] font-black border ${mode === "login" ? "bg-[var(--skipo-accent)] text-black" : "bg-[var(--skipo-bg)]"}`, children: [
186
- /* @__PURE__ */ jsx2(LogIn, { size: 13, className: "inline mr-1" }),
186
+ }, className: `py-2 text-[10px] font-black border-2 transition-all cursor-pointer select-none flex items-center justify-center gap-1.5 rounded-sm ${mode === "login" ? "bg-[var(--skipo-accent)] text-[var(--skipo-accent-fg,#000000)] border-[var(--skipo-accent)] shadow-[2px_2px_0px_var(--skipo-border-color)]" : "bg-[var(--skipo-surface)] text-[var(--skipo-text-muted)] border-[var(--skipo-border-color)] hover:text-[var(--skipo-text)] hover:bg-[var(--skipo-surface-hover)]"}`, children: [
187
+ /* @__PURE__ */ jsx2(LogIn, { size: 13 }),
187
188
  " SIGN IN"
188
189
  ] }),
189
190
  /* @__PURE__ */ jsxs2("button", { type: "button", onClick: () => {
190
191
  setMode("register");
191
192
  setError(null);
192
- }, className: `py-2 text-[10px] font-black border ${mode === "register" ? "bg-[var(--skipo-accent)] text-black" : "bg-[var(--skipo-bg)]"}`, children: [
193
- /* @__PURE__ */ jsx2(UserPlus, { size: 13, className: "inline mr-1" }),
193
+ }, className: `py-2 text-[10px] font-black border-2 transition-all cursor-pointer select-none flex items-center justify-center gap-1.5 rounded-sm ${mode === "register" ? "bg-[var(--skipo-accent)] text-[var(--skipo-accent-fg,#000000)] border-[var(--skipo-accent)] shadow-[2px_2px_0px_var(--skipo-border-color)]" : "bg-[var(--skipo-surface)] text-[var(--skipo-text-muted)] border-[var(--skipo-border-color)] hover:text-[var(--skipo-text)] hover:bg-[var(--skipo-surface-hover)]"}`, children: [
194
+ /* @__PURE__ */ jsx2(UserPlus, { size: 13 }),
194
195
  " CREATE ACCOUNT"
195
196
  ] })
196
197
  ] }),
@@ -239,6 +240,14 @@ var AuthPage = ({
239
240
  }
240
241
  )
241
242
  ] }),
243
+ onContinueAsGuest && /* @__PURE__ */ jsxs2(Fragment, { children: [
244
+ /* @__PURE__ */ jsxs2("div", { className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
245
+ /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
246
+ " OR ",
247
+ /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" })
248
+ ] }),
249
+ /* @__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" })
250
+ ] }),
242
251
  /* @__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` })
243
252
  ] }) })
244
253
  ]
@@ -21,6 +21,7 @@ export interface AuthPageProps {
21
21
  onGoogleSignIn?: () => Promise<AuthResult>;
22
22
  enableGoogleSignIn?: boolean;
23
23
  onSwitchToAdmin?: () => void;
24
+ onContinueAsGuest?: () => void;
24
25
  authError?: string | null;
25
26
  }
26
27
  export declare const authPageDefinition: {
@@ -35,6 +35,8 @@ export interface LuthAuthPageProps extends Omit<AuthPageProps, 'onLogin' | 'onRe
35
35
  authenticatedContent?: React.ReactNode | ((auth: UseLuthAuthResult) => React.ReactNode);
36
36
  unauthenticatedContent?: React.ReactNode;
37
37
  loadingContent?: React.ReactNode;
38
+ /** When provided, renders a "CONTINUE AS GUEST" button on the auth page. */
39
+ onContinueAsGuest?: () => void;
38
40
  }
39
41
  export declare function createLuthAuthClientForApplication(input: LuthAuthConfig): LuthAuthClient;
40
42
  export declare function useLuthAuth(config: LuthAuthConfig): UseLuthAuthResult;
@@ -16,8 +16,8 @@ import {
16
16
  resolveLuthEnvironment,
17
17
  resolveLuthOrigin,
18
18
  useLuthAuth
19
- } from "../../chunk-W6ENIFEW.js";
20
- import "../../chunk-5QDNIDDN.js";
19
+ } from "../../chunk-RXHCAXSX.js";
20
+ import "../../chunk-GOUFV3B4.js";
21
21
  import "../../chunk-5ZMXFCD4.js";
22
22
  import "../../chunk-C3L53YN4.js";
23
23
  import "../../chunk-B4XTM5TI.js";
@@ -15,7 +15,7 @@ import {
15
15
  frnlButtonDefinition,
16
16
  frnlTextInput,
17
17
  frnlTextInputDefinition
18
- } from "../chunk-5QDNIDDN.js";
18
+ } from "../chunk-GOUFV3B4.js";
19
19
  import "../chunk-5ZMXFCD4.js";
20
20
  import "../chunk-C3L53YN4.js";
21
21
  import {
@@ -42,7 +42,7 @@ import {
42
42
  resolveLuthEnvironment,
43
43
  resolveLuthOrigin,
44
44
  useLuthAuth
45
- } from "./chunk-W6ENIFEW.js";
45
+ } from "./chunk-RXHCAXSX.js";
46
46
  import {
47
47
  ConfirmDialog,
48
48
  CopyableErrorAlert,
@@ -110,7 +110,7 @@ import {
110
110
  frnlButtonDefinition,
111
111
  frnlTextInput,
112
112
  frnlTextInputDefinition
113
- } from "./chunk-5QDNIDDN.js";
113
+ } from "./chunk-GOUFV3B4.js";
114
114
  import {
115
115
  ActionButton,
116
116
  Badge,
@@ -118,7 +118,7 @@
118
118
  "zustand": "^5.0.3",
119
119
  "@xyflow/react": "^12.8.6",
120
120
  "d3-force": "^3.0.0",
121
- "@dinilmusick/gutts": "^2.0.3"
121
+ "@dinilmusick/gutts": "^2.1.0"
122
122
  },
123
123
  "peerDependencies": {
124
124
  "lucide-react": ">=0.300.0",
@@ -0,0 +1,6 @@
1
+ /* Canonical Tailwind source registration for Floks consumers.
2
+ The consuming Skipo app owns the Tailwind runtime/import. */
3
+ @source "../components";
4
+ @source "../frnl";
5
+ @source "../theme";
6
+ @import "../theme/tokens.css";
@@ -36,6 +36,7 @@
36
36
  /* Semantic accents */
37
37
  --skipo-accent: #d4af37;
38
38
  --skipo-accent-fg: #000000;
39
+ --skipo-accent-contrast: #b89628;
39
40
  --skipo-accent-glow: 0 0 14px rgba(212, 175, 55, 0.45);
40
41
  --skipo-rune-glow: 0 0 14px rgba(212, 163, 89, 0.35);
41
42
  --skipo-ambient-glow: 0 0 10px rgba(255, 255, 255, 0.12);