@ultrst-armada/floks 2.0.18 → 2.0.19

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.18",
5
- "sourceCommit": "62287ab556bd87fcfa3e8af1d6345ecb515076de",
4
+ "version": "2.0.19",
5
+ "sourceCommit": "d302d78e33021dad3bddcc94c688705d3f3ae8c2",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "45114224479"
7
+ "workflowRunId": "45332991171"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,34 +1,8 @@
1
- import {
2
- BIOME_CONFIGS,
3
- COORD_SCALE,
4
- CanvasBackground2D,
5
- CanvasErrorBoundary,
6
- ContainerNode2D,
7
- EffectNode2D,
8
- MagneticTraces2D,
9
- ModuleNode2D,
10
- NODE_CARD_WIDTH,
11
- Node2DBase,
12
- NodeRenderer2D,
13
- RecorderWaveformDisplay,
14
- RotaryKnob,
15
- SOCKET_ROW_HEIGHT,
16
- Socket2D,
17
- TriggerNode2D,
18
- Wire2D,
19
- renderSpriteIcon,
20
- useCanvas2DCoordinates,
21
- useCanvas2DMagnetic
22
- } from "./chunk-ZDADZVQ2.js";
23
1
  import {
24
2
  PredictiveGhostNodeCard,
25
3
  PredictiveHudToolbar,
26
4
  PredictiveLayer2D
27
5
  } from "./chunk-A7BSZ5QO.js";
28
- import {
29
- getSocketLocalOffset,
30
- getSocketScreenPosition
31
- } from "./chunk-FPRATI44.js";
32
6
  import {
33
7
  Tile,
34
8
  TileCreateButton,
@@ -39,6 +13,12 @@ import {
39
13
  AikoModule,
40
14
  EmbeddedAikoModule
41
15
  } from "./chunk-OH7S4XFZ.js";
16
+ import {
17
+ CanvasViewport,
18
+ InfiniteCanvas,
19
+ MiniMap,
20
+ useCanvas
21
+ } from "./chunk-34YRDZPJ.js";
42
22
  import {
43
23
  UiAuthoringBindingEditor,
44
24
  UiAuthoringInspector,
@@ -67,12 +47,6 @@ import {
67
47
  skipoDarkTheme,
68
48
  useMonaco
69
49
  } from "./chunk-KAKAFGVH.js";
70
- import {
71
- CanvasViewport,
72
- InfiniteCanvas,
73
- MiniMap,
74
- useCanvas
75
- } from "./chunk-34YRDZPJ.js";
76
50
  import {
77
51
  FodModule,
78
52
  authorizedRemoteCategories,
@@ -103,6 +77,32 @@ import {
103
77
  import {
104
78
  usePredictiveGraph2D
105
79
  } from "./chunk-ZSVXR3HU.js";
80
+ import {
81
+ BIOME_CONFIGS,
82
+ COORD_SCALE,
83
+ CanvasBackground2D,
84
+ CanvasErrorBoundary,
85
+ ContainerNode2D,
86
+ EffectNode2D,
87
+ MagneticTraces2D,
88
+ ModuleNode2D,
89
+ NODE_CARD_WIDTH,
90
+ Node2DBase,
91
+ NodeRenderer2D,
92
+ RecorderWaveformDisplay,
93
+ RotaryKnob,
94
+ SOCKET_ROW_HEIGHT,
95
+ Socket2D,
96
+ TriggerNode2D,
97
+ Wire2D,
98
+ renderSpriteIcon,
99
+ useCanvas2DCoordinates,
100
+ useCanvas2DMagnetic
101
+ } from "./chunk-ZDADZVQ2.js";
102
+ import {
103
+ getSocketLocalOffset,
104
+ getSocketScreenPosition
105
+ } from "./chunk-FPRATI44.js";
106
106
 
107
107
  // src/node-graph-ui/widgets/MidpointWidgets.tsx
108
108
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -3,10 +3,10 @@ import {
3
3
  PredictiveHudToolbar,
4
4
  PredictiveLayer2D
5
5
  } from "../chunk-A7BSZ5QO.js";
6
- import "../chunk-FPRATI44.js";
7
6
  import {
8
7
  usePredictiveGraph2D
9
8
  } from "../chunk-ZSVXR3HU.js";
9
+ import "../chunk-FPRATI44.js";
10
10
  export {
11
11
  PredictiveGhostNodeCard,
12
12
  PredictiveHudToolbar,
@@ -352,7 +352,7 @@ function GoogleDriveWorkspacePicker({
352
352
  onClick: handleConnect,
353
353
  disabled: connecting || !connectGoogleDrive,
354
354
  className: "border px-3 py-2 text-xs font-bold disabled:opacity-50",
355
- children: connecting ? "Connecting to Google\u2026" : connectGoogleDrive ? "Connect Google Drive" : "Google Drive authorization unavailable"
355
+ children: connecting ? "Opening Google account chooser\u2026" : connectGoogleDrive ? "Add Google account" : "Google Drive authorization unavailable"
356
356
  }
357
357
  )
358
358
  ] });
@@ -363,16 +363,28 @@ function GoogleDriveWorkspacePicker({
363
363
  /* @__PURE__ */ jsx3("p", { className: "text-xs font-bold", children: "Google Drive connected" }),
364
364
  /* @__PURE__ */ jsx3("p", { className: "truncate text-[10px] opacity-70", children: connection.googleEmail || connection.label || connection.name || connection.id })
365
365
  ] }),
366
- /* @__PURE__ */ jsx3(
367
- "button",
368
- {
369
- type: "button",
370
- onClick: () => void loadFolders(connection.id, folderPath[folderPath.length - 1]?.id),
371
- disabled: loading,
372
- className: "border px-2 py-1 text-[10px] disabled:opacity-50",
373
- children: loading ? "Loading\u2026" : "Refresh"
374
- }
375
- )
366
+ /* @__PURE__ */ jsxs3("div", { className: "flex shrink-0 flex-wrap gap-2", children: [
367
+ connectGoogleDrive && /* @__PURE__ */ jsx3(
368
+ "button",
369
+ {
370
+ type: "button",
371
+ onClick: () => void handleConnect(),
372
+ disabled: connecting,
373
+ className: "border px-2 py-1 text-[10px] disabled:opacity-50",
374
+ children: connecting ? "Opening Google\u2026" : "Add Google account"
375
+ }
376
+ ),
377
+ /* @__PURE__ */ jsx3(
378
+ "button",
379
+ {
380
+ type: "button",
381
+ onClick: () => void loadFolders(connection.id, folderPath[folderPath.length - 1]?.id),
382
+ disabled: loading,
383
+ className: "border px-2 py-1 text-[10px] disabled:opacity-50",
384
+ children: loading ? "Loading\u2026" : "Refresh"
385
+ }
386
+ )
387
+ ] })
376
388
  ] }),
377
389
  folderPath.length > 0 && /* @__PURE__ */ jsxs3("div", { className: "flex flex-wrap items-center gap-2", children: [
378
390
  /* @__PURE__ */ jsx3("button", { type: "button", onClick: goBack, disabled: loading, className: "border px-2 py-1 text-[10px] disabled:opacity-50", children: "Back" }),
@@ -1026,7 +1038,7 @@ function WorkspaceCreateDialog({
1026
1038
  disabled: loadingStorage || submitting,
1027
1039
  className: "h-10 min-w-0 flex-1 border px-2 text-xs",
1028
1040
  style: { backgroundColor: background, borderColor: border },
1029
- children: availableOptions.map((option) => /* @__PURE__ */ jsx4("option", { value: option.id, children: providerLabel(option) + " \u2014 " + (option.label || option.name || option.id) }, option.id))
1041
+ children: availableOptions.map((option) => /* @__PURE__ */ jsx4("option", { value: option.id, children: providerLabel(option) + " \u2014 " + (option.provider === "google_drive" && option.googleEmail ? option.googleEmail : option.label || option.name || option.id) }, option.id))
1030
1042
  }
1031
1043
  ) }),
1032
1044
  !hiddenFields.has("backblaze") && backblazeMode && /* @__PURE__ */ jsx4("div", { className: "mt-3 space-y-3 border-t pt-3", style: { borderColor: border }, children: /* @__PURE__ */ jsxs4("div", { className: "space-y-2 border p-3", style: { borderColor: border, backgroundColor: background }, children: [
@@ -12,7 +12,7 @@ import {
12
12
  describeGoogleDriveError,
13
13
  formatWorkspaceFolderPreview,
14
14
  workspaceTilesMenuDefinition
15
- } from "../../chunk-EHKGMGSD.js";
15
+ } from "../../chunk-54NS4UKS.js";
16
16
  import "../../chunk-DEKSKDSF.js";
17
17
  import "../../chunk-2YP2RPJY.js";
18
18
  export {
@@ -19,7 +19,7 @@ import {
19
19
  describeGoogleDriveError,
20
20
  formatWorkspaceFolderPreview,
21
21
  workspaceTilesMenuDefinition
22
- } from "./chunk-EHKGMGSD.js";
22
+ } from "./chunk-54NS4UKS.js";
23
23
  import {
24
24
  ConfirmDialog,
25
25
  CopyableErrorAlert,