@ultrst-armada/floks 1.14.2 → 2.0.2

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.14.2",
5
- "sourceCommit": "51b36da4cf2027891ebbdfd2a739e7b9cffa6f41",
4
+ "version": "2.0.2",
5
+ "sourceCommit": "fa2913aab6f6a926345659db81f503e32e22915e",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "43084850612"
7
+ "workflowRunId": "43492464833"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.14.2",
3
+ "version": "2.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -80,32 +80,39 @@
80
80
  "types": "./packages/ui/dist/components/timeline/index.d.ts",
81
81
  "import": "./packages/ui/dist/components/timeline/index.js",
82
82
  "default": "./packages/ui/dist/components/timeline/index.js"
83
+ },
84
+ "./universal": {
85
+ "types": "./packages/contracts/dist/index.d.ts",
86
+ "import": "./packages/contracts/dist/index.js",
87
+ "default": "./packages/contracts/dist/index.js"
83
88
  }
84
89
  },
85
90
  "scripts": {
86
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",
87
92
  "postbuild": "node scripts/normalize-package-declarations.mjs",
88
- "test": "vitest run",
93
+ "test": "vitest run && pnpm run verify:npm-trusted-publishing",
89
94
  "typecheck": "pnpm -r run typecheck",
90
95
  "clean": "pnpm -r run clean",
91
96
  "boundary": "node scripts/architecture-boundary.mjs",
92
97
  "boundary:clean-room": "node scripts/clean-room-boundary.mjs",
93
98
  "boundary:relative": "node scripts/relative-package-boundary.mjs",
94
- "test:consumer-browser": "node scripts/consumer-browser-boundary.mjs"
99
+ "test:consumer-browser": "node scripts/consumer-browser-boundary.mjs",
100
+ "test:consumer-server": "node scripts/consumer-server-boundary.mjs",
101
+ "verify:npm-trusted-publishing": "node scripts/verify-npm-trusted-publishing.mjs"
95
102
  },
96
103
  "dependencies": {
97
- "@ultrst-armada/frnlts": "^0.5.22",
98
- "@xyflow/react": "^12.8.6",
99
- "d3-force": "^3.0.0",
100
- "zod": "^3.24.1",
101
- "zustand": "^5.0.3",
102
- "@dinilmusick/gutts": "^2.0.3"
104
+ "@dinilmusick/gutts": "^2.1.0",
105
+ "@ultrst-armada/frnlts": "^0.5.23",
106
+ "zod": "^3.24.1"
103
107
  },
104
108
  "peerDependencies": {
105
109
  "lucide-react": ">=0.300.0",
106
110
  "react": "^18.0.0 || ^19.0.0",
107
111
  "react-dom": "^18.0.0 || ^19.0.0",
108
- "@types/react": "^18.0.0 || ^19.0.0"
112
+ "@types/react": "^18.0.0 || ^19.0.0",
113
+ "@xyflow/react": "^12.8.6",
114
+ "d3-force": "^3.0.0",
115
+ "zustand": "^5.0.3"
109
116
  },
110
117
  "devDependencies": {
111
118
  "@testing-library/jest-dom": "^7.0.1",
@@ -113,7 +120,7 @@
113
120
  "@types/node": "^22.0.0",
114
121
  "@types/react": "^19.0.0",
115
122
  "@types/react-dom": "^19.0.0",
116
- "@ultrst-armada/frnlts": "^0.5.22",
123
+ "@ultrst-armada/frnlts": "^0.5.23",
117
124
  "happy-dom": "^21.0.3",
118
125
  "lucide-react": "^1.55.0",
119
126
  "react": "^19.0.1",
@@ -132,5 +139,28 @@
132
139
  "onlyBuiltDependencies": [
133
140
  "@dinilmusick/gutts"
134
141
  ]
142
+ },
143
+ "peerDependenciesMeta": {
144
+ "lucide-react": {
145
+ "optional": true
146
+ },
147
+ "react": {
148
+ "optional": true
149
+ },
150
+ "react-dom": {
151
+ "optional": true
152
+ },
153
+ "@types/react": {
154
+ "optional": true
155
+ },
156
+ "@xyflow/react": {
157
+ "optional": true
158
+ },
159
+ "d3-force": {
160
+ "optional": true
161
+ },
162
+ "zustand": {
163
+ "optional": true
164
+ }
135
165
  }
136
166
  }
@@ -54,17 +54,17 @@ import {
54
54
  DockItem,
55
55
  useDock
56
56
  } from "./chunk-6VB74RCH.js";
57
- import {
58
- MonacoEditor,
59
- skipoDarkTheme,
60
- useMonaco
61
- } from "./chunk-KAKAFGVH.js";
62
57
  import {
63
58
  CanvasViewport,
64
59
  InfiniteCanvas,
65
60
  MiniMap,
66
61
  useCanvas
67
62
  } from "./chunk-34YRDZPJ.js";
63
+ import {
64
+ MonacoEditor,
65
+ skipoDarkTheme,
66
+ useMonaco
67
+ } from "./chunk-KAKAFGVH.js";
68
68
  import {
69
69
  FodModule
70
70
  } from "./chunk-TKOMIUCU.js";
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "dependencies": {
78
78
  "@floks/ui": "workspace:*",
79
- "@ultrst-armada/frnlts": "^0.5.22",
79
+ "@ultrst-armada/frnlts": "^0.5.23",
80
80
  "@floks/contracts": "workspace:*"
81
81
  },
82
82
  "peerDependencies": {
@@ -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";
@@ -182,15 +182,15 @@ var AuthPage = ({
182
182
  /* @__PURE__ */ jsxs2("button", { type: "button", onClick: () => {
183
183
  setMode("login");
184
184
  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" }),
185
+ }, 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: [
186
+ /* @__PURE__ */ jsx2(LogIn, { size: 13 }),
187
187
  " SIGN IN"
188
188
  ] }),
189
189
  /* @__PURE__ */ jsxs2("button", { type: "button", onClick: () => {
190
190
  setMode("register");
191
191
  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" }),
192
+ }, 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: [
193
+ /* @__PURE__ */ jsx2(UserPlus, { size: 13 }),
194
194
  " CREATE ACCOUNT"
195
195
  ] })
196
196
  ] }),
@@ -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-RRJNUH5L.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-RRJNUH5L.js";
46
46
  import {
47
47
  ConfirmDialog,
48
48
  CopyableErrorAlert,
@@ -93,6 +93,24 @@ import {
93
93
  import {
94
94
  CopyableLogViewer
95
95
  } from "./chunk-RLQ2ALJG.js";
96
+ import {
97
+ frnlBadge,
98
+ frnlBottomBar,
99
+ frnlPage,
100
+ frnlSelect,
101
+ frnlSelectDefinition,
102
+ frnlSlider,
103
+ frnlTabWindow,
104
+ frnlToggle,
105
+ frnlToggleDefinition,
106
+ frnlTopBar
107
+ } from "./chunk-G5CYPT3P.js";
108
+ import {
109
+ frnlButton,
110
+ frnlButtonDefinition,
111
+ frnlTextInput,
112
+ frnlTextInputDefinition
113
+ } from "./chunk-GOUFV3B4.js";
96
114
  import {
97
115
  ActionButton,
98
116
  Badge,
@@ -120,24 +138,6 @@ import {
120
138
  ToolbarPanel,
121
139
  UIParent
122
140
  } from "./chunk-ECVX6KZM.js";
123
- import {
124
- frnlBadge,
125
- frnlBottomBar,
126
- frnlPage,
127
- frnlSelect,
128
- frnlSelectDefinition,
129
- frnlSlider,
130
- frnlTabWindow,
131
- frnlToggle,
132
- frnlToggleDefinition,
133
- frnlTopBar
134
- } from "./chunk-G5CYPT3P.js";
135
- import {
136
- frnlButton,
137
- frnlButtonDefinition,
138
- frnlTextInput,
139
- frnlTextInputDefinition
140
- } from "./chunk-5QDNIDDN.js";
141
141
  import "./chunk-5ZMXFCD4.js";
142
142
  import {
143
143
  ApiCallIndicator,
@@ -114,11 +114,11 @@
114
114
  },
115
115
  "dependencies": {
116
116
  "zod": "^3.24.1",
117
- "@ultrst-armada/frnlts": "^0.5.22",
117
+ "@ultrst-armada/frnlts": "^0.5.23",
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);