@ultrst-armada/floks 2.0.2 → 2.0.4

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.2",
5
- "sourceCommit": "fa2913aab6f6a926345659db81f503e32e22915e",
4
+ "version": "2.0.4",
5
+ "sourceCommit": "3c0a2b794d5669eee91e53418da4fdf77b99a3de",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "43492464833"
7
+ "workflowRunId": "43831555360"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -101,7 +101,7 @@
101
101
  "verify:npm-trusted-publishing": "node scripts/verify-npm-trusted-publishing.mjs"
102
102
  },
103
103
  "dependencies": {
104
- "@dinilmusick/gutts": "^2.1.0",
104
+ "@dinilmusick/gutts": "^2.1.1",
105
105
  "@ultrst-armada/frnlts": "^0.5.23",
106
106
  "zod": "^3.24.1"
107
107
  },
@@ -49,25 +49,25 @@ 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";
57
52
  import {
58
53
  CanvasViewport,
59
54
  InfiniteCanvas,
60
55
  MiniMap,
61
56
  useCanvas
62
57
  } from "./chunk-34YRDZPJ.js";
58
+ import {
59
+ DockBar,
60
+ DockItem,
61
+ useDock
62
+ } from "./chunk-6VB74RCH.js";
63
+ import {
64
+ FodModule
65
+ } from "./chunk-TKOMIUCU.js";
63
66
  import {
64
67
  MonacoEditor,
65
68
  skipoDarkTheme,
66
69
  useMonaco
67
70
  } from "./chunk-KAKAFGVH.js";
68
- import {
69
- FodModule
70
- } from "./chunk-TKOMIUCU.js";
71
71
  import {
72
72
  CanvasContextMenu,
73
73
  CompatibleNodePicker,
@@ -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();
@@ -207,7 +208,7 @@ var AuthPage = ({
207
208
  /* @__PURE__ */ jsx2("div", { children: React.createElement(frnlTextInput, { id: componentId + ".password", label: "Password", value: password, onChange: (e) => setPassword(e.target.value), type: showPassword ? "text" : "password", autoComplete: mode === "login" ? "current-password" : "new-password", trailingIcon: /* @__PURE__ */ jsx2("button", { type: "button", "aria-label": "Toggle password visibility", onClick: () => setShowPassword((v) => !v), children: showPassword ? /* @__PURE__ */ jsx2(EyeOff, { size: 13 }) : /* @__PURE__ */ jsx2(Eye, { size: 13 }) }) }) }),
208
209
  React.createElement(frnlButton, { type: "submit", disabled: loading, loading, variant: "accent", size: "lg", className: "w-full", icon: /* @__PURE__ */ jsx2(ArrowRight, { size: 13 }) }, mode === "login" ? "SIGN IN TO WORKSPACE" : "CREATE ACCOUNT")
209
210
  ] }),
210
- (onGoogleSignIn || enableGoogleSignIn) && /* @__PURE__ */ jsxs2(Fragment, { children: [
211
+ onGoogleSignIn && enableGoogleSignIn && /* @__PURE__ */ jsxs2(Fragment, { children: [
211
212
  /* @__PURE__ */ jsxs2("div", { className: "my-4 flex items-center gap-2 text-[9px] text-[var(--skipo-text-muted)]", children: [
212
213
  /* @__PURE__ */ jsx2("span", { className: "h-px flex-1 bg-[var(--skipo-border-color)]" }),
213
214
  " OR ",
@@ -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,7 +16,7 @@ import {
16
16
  resolveLuthEnvironment,
17
17
  resolveLuthOrigin,
18
18
  useLuthAuth
19
- } from "../../chunk-RRJNUH5L.js";
19
+ } from "../../chunk-HWYGCCRL.js";
20
20
  import "../../chunk-GOUFV3B4.js";
21
21
  import "../../chunk-5ZMXFCD4.js";
22
22
  import "../../chunk-C3L53YN4.js";
@@ -3,9 +3,9 @@ import {
3
3
  BreadcrumbNav,
4
4
  HeaderBar,
5
5
  TopToolbar
6
- } from "../../chunk-GWW3BGOB.js";
7
- import "../../chunk-C3L53YN4.js";
6
+ } from "../../chunk-MYXPGPI3.js";
8
7
  import "../../chunk-GKP6KHTI.js";
8
+ import "../../chunk-C3L53YN4.js";
9
9
  import "../../chunk-62ITRDJX.js";
10
10
  import "../../chunk-A2CDQISJ.js";
11
11
  export {
@@ -12,10 +12,5 @@ export * from './components/graph/index.js';
12
12
  export * from './components/workspace/index.js';
13
13
  export * from './components/ai/index.js';
14
14
  export * from './palette/index.js';
15
- export * from './hierarchy/index.js';
16
- export * from './frnl/store.js';
17
- export type { ColorPalette } from './palette/index.js';
18
- export { BUILTIN_PALETTES, DEFAULT_PALETTE_ID } from './palette/index.js';
19
- export { type UIInteractionState, type UIStyleTokens, type UIBaseProps, type UIVariant, type UISize, type TooltipDirection, UIParent, type UIParentProps, type UIProps, ButtonParent, type ButtonParentProps, SplitButton, type SplitButtonProps, type ButtonVariant, type ButtonSize, type ButtonProps, ActionButton, IconButton, ToggleButton, DangerButton, GhostButton, PanelParent, type PanelParentProps, type PanelVariant, type PanelProps, ModalPanel, InspectorPanel, CardPanel, ToolbarPanel, SliderInput, type SliderInputProps, TextInput, type TextInputProps, SelectInput, type SelectInputProps, ToggleInput, type ToggleInputProps, TileParent, type TileParentProps, type TileVariant, SpawnOptionTile, CategoryCardTile, ClipCardTile, ChannelStripTile, Badge, type BadgeProps, TelemetryPill, type TelemetryPillProps, StatusDot, type StatusDotProps, type BadgeTone, } from './hierarchy/index.js';
20
15
  export { floksFrnlStore, getFloksFrnlStore, FrnlStoreProvider, useFloksFrnlStore, } from './frnl/store.js';
21
16
  export * from './frnl/index.js';
@@ -1,4 +1,3 @@
1
- import "./chunk-2SD6BIUX.js";
2
1
  import {
3
2
  MIDI_MAX,
4
3
  MIDI_MIN,
@@ -24,25 +23,6 @@ import {
24
23
  formatWorkspaceFolderPreview,
25
24
  workspaceTilesMenuDefinition
26
25
  } from "./chunk-OMNGRMJY.js";
27
- import {
28
- AUTH_PAGE_REQUIRED_SERVICES,
29
- AuthLoadingScreen,
30
- AuthPage,
31
- DEFAULT_LUTH_URL,
32
- GoogleIcon,
33
- GoogleSignInButton,
34
- LoginModal,
35
- LuthAuthClient,
36
- LuthAuthError,
37
- LuthAuthPage,
38
- LuthProtectedRoute,
39
- authPageDefinition,
40
- createLuthAuthClient,
41
- createLuthAuthClientForApplication,
42
- resolveLuthEnvironment,
43
- resolveLuthOrigin,
44
- useLuthAuth
45
- } from "./chunk-RRJNUH5L.js";
46
26
  import {
47
27
  ConfirmDialog,
48
28
  CopyableErrorAlert,
@@ -75,16 +55,12 @@ import {
75
55
  GRAPHS_MENU_REQUIRED_SERVICES,
76
56
  GraphsMenu
77
57
  } from "./chunk-4GMTEWLE.js";
78
- import {
79
- TilesMenu,
80
- tilesMenuDefinition
81
- } from "./chunk-DZTJJOLR.js";
82
58
  import {
83
59
  AppShell,
84
60
  BreadcrumbNav,
85
61
  HeaderBar,
86
62
  TopToolbar
87
- } from "./chunk-GWW3BGOB.js";
63
+ } from "./chunk-MYXPGPI3.js";
88
64
  import {
89
65
  AccountsSettingsSection,
90
66
  SettingsTab,
@@ -93,6 +69,11 @@ import {
93
69
  import {
94
70
  CopyableLogViewer
95
71
  } from "./chunk-RLQ2ALJG.js";
72
+ import "./chunk-2SD6BIUX.js";
73
+ import {
74
+ TilesMenu,
75
+ tilesMenuDefinition
76
+ } from "./chunk-DZTJJOLR.js";
96
77
  import {
97
78
  frnlBadge,
98
79
  frnlBottomBar,
@@ -105,55 +86,6 @@ import {
105
86
  frnlToggleDefinition,
106
87
  frnlTopBar
107
88
  } from "./chunk-G5CYPT3P.js";
108
- import {
109
- frnlButton,
110
- frnlButtonDefinition,
111
- frnlTextInput,
112
- frnlTextInputDefinition
113
- } from "./chunk-GOUFV3B4.js";
114
- import {
115
- ActionButton,
116
- Badge,
117
- ButtonParent,
118
- CardPanel,
119
- CategoryCardTile,
120
- ChannelStripTile,
121
- ClipCardTile,
122
- DangerButton,
123
- GhostButton,
124
- IconButton,
125
- InspectorPanel,
126
- ModalPanel,
127
- PanelParent,
128
- SelectInput,
129
- SliderInput,
130
- SpawnOptionTile,
131
- SplitButton,
132
- StatusDot,
133
- TelemetryPill,
134
- TextInput,
135
- TileParent,
136
- ToggleButton,
137
- ToggleInput,
138
- ToolbarPanel,
139
- UIParent
140
- } from "./chunk-ECVX6KZM.js";
141
- import "./chunk-5ZMXFCD4.js";
142
- import {
143
- ApiCallIndicator,
144
- AutoSaveToggle,
145
- BottomStrip,
146
- StatusLight,
147
- SystemMessageDisplay
148
- } from "./chunk-C3L53YN4.js";
149
- import {
150
- FrnlStoreProvider,
151
- floksFrnlFrontendApi,
152
- floksFrnlStore,
153
- getFloksFrnlStore,
154
- useFloksFrnlStore
155
- } from "./chunk-B4XTM5TI.js";
156
- import "./chunk-SLJBDDSN.js";
157
89
  import {
158
90
  DEFAULT_PALETTE_ID,
159
91
  THEME_STORAGE_KEY,
@@ -164,7 +96,7 @@ import {
164
96
  subscribeToPalette,
165
97
  usePalette,
166
98
  useTheme
167
- } from "./chunk-ZQK5I5ZL.js";
99
+ } from "./chunk-I66A7ROC.js";
168
100
  import {
169
101
  BlockquoteStyleSchema,
170
102
  CodeStyleSchema,
@@ -254,6 +186,46 @@ import {
254
186
  BaseBadge,
255
187
  BaseCard
256
188
  } from "./chunk-UOR4P6PO.js";
189
+ import {
190
+ AUTH_PAGE_REQUIRED_SERVICES,
191
+ AuthLoadingScreen,
192
+ AuthPage,
193
+ DEFAULT_LUTH_URL,
194
+ GoogleIcon,
195
+ GoogleSignInButton,
196
+ LoginModal,
197
+ LuthAuthClient,
198
+ LuthAuthError,
199
+ LuthAuthPage,
200
+ LuthProtectedRoute,
201
+ authPageDefinition,
202
+ createLuthAuthClient,
203
+ createLuthAuthClientForApplication,
204
+ resolveLuthEnvironment,
205
+ resolveLuthOrigin,
206
+ useLuthAuth
207
+ } from "./chunk-HWYGCCRL.js";
208
+ import {
209
+ frnlButton,
210
+ frnlButtonDefinition,
211
+ frnlTextInput,
212
+ frnlTextInputDefinition
213
+ } from "./chunk-GOUFV3B4.js";
214
+ import "./chunk-5ZMXFCD4.js";
215
+ import {
216
+ ApiCallIndicator,
217
+ AutoSaveToggle,
218
+ BottomStrip,
219
+ StatusLight,
220
+ SystemMessageDisplay
221
+ } from "./chunk-C3L53YN4.js";
222
+ import {
223
+ FrnlStoreProvider,
224
+ floksFrnlFrontendApi,
225
+ floksFrnlStore,
226
+ getFloksFrnlStore,
227
+ useFloksFrnlStore
228
+ } from "./chunk-B4XTM5TI.js";
257
229
  import {
258
230
  BaseInput
259
231
  } from "./chunk-W42SJGOJ.js";
@@ -269,7 +241,6 @@ export {
269
241
  AIProviderSelector,
270
242
  AUTH_PAGE_REQUIRED_SERVICES,
271
243
  AccountsSettingsSection,
272
- ActionButton,
273
244
  AgentExecutionCard,
274
245
  ApiCallIndicator,
275
246
  AppShell,
@@ -277,7 +248,6 @@ export {
277
248
  AuthPage,
278
249
  AutoSaveToggle,
279
250
  BUILTIN_PALETTES,
280
- Badge,
281
251
  BaseBadge,
282
252
  BaseButton,
283
253
  BaseCard,
@@ -290,12 +260,7 @@ export {
290
260
  BottomStrip,
291
261
  BottomStripProvider,
292
262
  BreadcrumbNav,
293
- ButtonParent,
294
263
  CANONICAL_ELEMENTS,
295
- CardPanel,
296
- CategoryCardTile,
297
- ChannelStripTile,
298
- ClipCardTile,
299
264
  CodeStyleSchema,
300
265
  ConfirmDialog,
301
266
  CopyableErrorAlert,
@@ -310,7 +275,6 @@ export {
310
275
  DOCUSTACK_CYBERPUNK_PACK,
311
276
  DOCUSTACK_DARK_GOLD_PACK,
312
277
  DOCUSTACK_WARM_COFFEE_PACK,
313
- DangerButton,
314
278
  DirectChatHeader,
315
279
  DirectChatInput,
316
280
  DirectChatMessageList,
@@ -326,7 +290,6 @@ export {
326
290
  FloatingDetailsPanel,
327
291
  FrnlStoreProvider,
328
292
  GRAPHS_MENU_REQUIRED_SERVICES,
329
- GhostButton,
330
293
  GoogleDriveWorkspacePicker,
331
294
  GoogleIcon,
332
295
  GoogleSignInButton,
@@ -334,9 +297,7 @@ export {
334
297
  HeaderBar,
335
298
  HeadingLevelSchema,
336
299
  HorizontalRuleStyleSchema,
337
- IconButton,
338
300
  IconOnlyButton,
339
- InspectorPanel,
340
301
  KNOWN_CREDENTIAL_URLS,
341
302
  KeyBackupExportTab,
342
303
  KeyBackupImportTab,
@@ -358,7 +319,6 @@ export {
358
319
  MarkdownSectionStylesSchema,
359
320
  MidiTimeline,
360
321
  ModalContainer,
361
- ModalPanel,
362
322
  ModelCard,
363
323
  ModelCardFooter,
364
324
  ModelCardHeader,
@@ -366,13 +326,11 @@ export {
366
326
  MusicalTimeline,
367
327
  PageContainer,
368
328
  PanelContainer,
369
- PanelParent,
370
329
  ParagraphStyleSchema,
371
330
  ResizeHandles,
372
331
  SearchInput,
373
332
  SearchableList,
374
333
  SectionContainer,
375
- SelectInput,
376
334
  SettingsTab,
377
335
  SidebarContainer,
378
336
  SingleKeyCard,
@@ -380,12 +338,8 @@ export {
380
338
  SkipoSemanticTokensSchema,
381
339
  SkipoThemeMetadataSchema,
382
340
  SkipoThemeProvider,
383
- SliderInput,
384
- SpawnOptionTile,
385
- SplitButton,
386
341
  SplitContainer,
387
342
  SrklBackblazeTile,
388
- StatusDot,
389
343
  StatusIndicator,
390
344
  StatusLight,
391
345
  StorageOptionTiles,
@@ -394,22 +348,15 @@ export {
394
348
  THEME_STORAGE_KEY,
395
349
  TabContainer,
396
350
  TableStyleSchema,
397
- TelemetryPill,
398
- TextInput,
399
351
  ThemeEngine,
400
352
  ThemeProvider,
401
353
  ThemeSettingsSection,
402
354
  ThemeTypographySchema,
403
355
  ThemeVariantDefinitionSchema,
404
- TileParent,
405
356
  TilesMenu,
406
357
  TimelineScrubber,
407
- ToggleButton,
408
- ToggleInput,
409
- ToolbarPanel,
410
358
  TopToolbar,
411
359
  UIElementThemeValueSchema,
412
- UIParent,
413
360
  WORKSPACE_TILES_MENU_REQUIRED_SERVICES,
414
361
  WorkspaceCreateDialog,
415
362
  WorkspaceGate,
@@ -1,4 +1,3 @@
1
- import "../chunk-SLJBDDSN.js";
2
1
  import {
3
2
  DEFAULT_PALETTE_ID,
4
3
  THEME_STORAGE_KEY,
@@ -9,7 +8,7 @@ import {
9
8
  subscribeToPalette,
10
9
  usePalette,
11
10
  useTheme
12
- } from "../chunk-ZQK5I5ZL.js";
11
+ } from "../chunk-I66A7ROC.js";
13
12
  import {
14
13
  BUILTIN_PALETTES
15
14
  } from "../chunk-XXIH2HWI.js";
@@ -70,11 +70,6 @@
70
70
  "types": "./dist/palette/index.d.ts",
71
71
  "default": "./dist/palette/index.js"
72
72
  },
73
- "./hierarchy": {
74
- "import": "./dist/hierarchy/index.js",
75
- "types": "./dist/hierarchy/index.d.ts",
76
- "default": "./dist/hierarchy/index.js"
77
- },
78
73
  "./frnl": {
79
74
  "import": "./dist/frnl/index.js",
80
75
  "types": "./dist/frnl/index.d.ts",
@@ -107,7 +102,7 @@
107
102
  }
108
103
  },
109
104
  "scripts": {
110
- "build": "tsup src/index.ts src/theme/index.ts src/palette/index.ts src/hierarchy/index.ts src/frnl/index.ts src/frnl/store.ts src/components/base/index.ts src/components/containers/index.ts src/components/composite/index.ts src/components/layout/index.ts src/components/bottom-strip/index.ts src/components/settings/index.ts src/components/auth/index.ts src/components/workspace/index.ts src/components/tiles/index.ts src/components/timeline/index.ts src/components/graph/index.ts src/components/ai/index.ts src/serviceUIComponents/index.ts --format esm --clean --external react --external react-dom --external lucide-react --external @ultrst-armada/frnlts --external @dinilmusick/gutts",
105
+ "build": "tsup src/index.ts src/theme/index.ts src/palette/index.ts src/frnl/index.ts src/frnl/store.ts src/components/base/index.ts src/components/containers/index.ts src/components/composite/index.ts src/components/layout/index.ts src/components/bottom-strip/index.ts src/components/settings/index.ts src/components/auth/index.ts src/components/workspace/index.ts src/components/tiles/index.ts src/components/timeline/index.ts src/components/graph/index.ts src/components/ai/index.ts src/serviceUIComponents/index.ts --format esm --clean --external react --external react-dom --external lucide-react --external @ultrst-armada/frnlts --external @dinilmusick/gutts",
111
106
  "typecheck": "tsc --noEmit",
112
107
  "clean": "rm -rf dist",
113
108
  "build:types": "tsc --emitDeclarationOnly --outDir dist --declarationMap false"
@@ -118,7 +113,7 @@
118
113
  "zustand": "^5.0.3",
119
114
  "@xyflow/react": "^12.8.6",
120
115
  "d3-force": "^3.0.0",
121
- "@dinilmusick/gutts": "^2.1.0"
116
+ "@dinilmusick/gutts": "^2.1.1"
122
117
  },
123
118
  "peerDependencies": {
124
119
  "lucide-react": ">=0.300.0",