@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.
- package/.krusbl-release-attestation.json +3 -3
- package/package.json +5 -4
- package/packages/canvas-ui/dist/index.js +6 -6
- package/packages/ui/dist/{chunk-5QDNIDDN.js → chunk-GOUFV3B4.js} +3 -3
- package/packages/ui/dist/{chunk-W6ENIFEW.js → chunk-RXHCAXSX.js} +14 -5
- package/packages/ui/dist/components/auth/AuthPage.d.ts +1 -0
- package/packages/ui/dist/components/auth/LuthAuthPage.d.ts +2 -0
- package/packages/ui/dist/components/auth/index.js +2 -2
- package/packages/ui/dist/frnl/index.js +1 -1
- package/packages/ui/dist/index.js +2 -2
- package/packages/ui/package.json +1 -1
- package/packages/ui/src/styles/index.css +6 -0
- package/packages/ui/src/theme/tokens.css +1 -0
|
@@ -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.3",
|
|
5
|
+
"sourceCommit": "5c5fa7bea3f6bdb31fda44b1ee9fa618c725adcb",
|
|
6
6
|
"releaseWorkflow": "npm Release",
|
|
7
|
-
"workflowRunId": "
|
|
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.
|
|
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
|
|
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, #
|
|
88
|
-
borderColor: "var(--skipo-accent-contrast, #
|
|
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-
|
|
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-
|
|
186
|
-
/* @__PURE__ */ jsx2(LogIn, { size: 13
|
|
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-
|
|
193
|
-
/* @__PURE__ */ jsx2(UserPlus, { size: 13
|
|
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
|
]
|
|
@@ -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-
|
|
20
|
-
import "../../chunk-
|
|
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";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
resolveLuthEnvironment,
|
|
43
43
|
resolveLuthOrigin,
|
|
44
44
|
useLuthAuth
|
|
45
|
-
} from "./chunk-
|
|
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-
|
|
113
|
+
} from "./chunk-GOUFV3B4.js";
|
|
114
114
|
import {
|
|
115
115
|
ActionButton,
|
|
116
116
|
Badge,
|
package/packages/ui/package.json
CHANGED
|
@@ -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);
|