@ultrst-armada/floks 1.1.0 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -44,13 +44,6 @@
44
44
  "default": "./packages/contracts/dist/index.js"
45
45
  }
46
46
  },
47
- "scripts": {
48
- "build": "pnpm -r run build",
49
- "postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@floks/', '@ultrst-armada/floks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/floks/', '@ultrst-armada/floks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/').replaceAll('\\\"floks/', '\\\"@ultrst-armada/floks/').replaceAll('\\'floks/', '\\'@ultrst-armada/floks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
50
- "test": "vitest run",
51
- "typecheck": "pnpm -r run typecheck",
52
- "clean": "pnpm -r run clean"
53
- },
54
47
  "dependencies": {
55
48
  "zod": "^3.24.1"
56
49
  },
@@ -72,5 +65,11 @@
72
65
  "typescript": "^5.7.3",
73
66
  "vitest": "^3.1.0"
74
67
  },
75
- "packageManager": "pnpm@9.15.0"
76
- }
68
+ "scripts": {
69
+ "build": "pnpm -r run build",
70
+ "postbuild": "node -e \"import('fs').then(fs => { for (const pkg of fs.readdirSync('packages')) { const d = 'packages/' + pkg + '/dist'; if (!fs.existsSync(d)) continue; for (const f of fs.readdirSync(d, { recursive: true })) { const p = d + '/' + f; if (fs.statSync(p).isFile() && (p.endsWith('.js') || p.endsWith('.d.ts'))) { const c = fs.readFileSync(p, 'utf8'); const n = c.replaceAll('@kloks/', '@ultrst-armada/kloks/').replaceAll('@floks/', '@ultrst-armada/floks/').replaceAll('@ultrst/kloks/', '@ultrst-armada/kloks/').replaceAll('@ultrst/floks/', '@ultrst-armada/floks/').replaceAll('\\\"kloks/', '\\\"@ultrst-armada/kloks/').replaceAll('\\'kloks/', '\\'@ultrst-armada/kloks/').replaceAll('\\\"floks/', '\\\"@ultrst-armada/floks/').replaceAll('\\'floks/', '\\'@ultrst-armada/floks/'); if (c !== n) fs.writeFileSync(p, n); } } } })\"",
71
+ "test": "vitest run",
72
+ "typecheck": "pnpm -r run typecheck",
73
+ "clean": "pnpm -r run clean"
74
+ }
75
+ }
@@ -1,19 +1,25 @@
1
+ import {
2
+ DockBar,
3
+ DockItem,
4
+ useDock
5
+ } from "./chunk-6VB74RCH.js";
1
6
  import {
2
7
  CanvasViewport,
3
8
  InfiniteCanvas,
4
9
  MiniMap,
5
10
  useCanvas
6
11
  } from "./chunk-34YRDZPJ.js";
7
- import {
8
- DockBar,
9
- DockItem,
10
- useDock
11
- } from "./chunk-6VB74RCH.js";
12
12
  import {
13
13
  MonacoEditor,
14
14
  skipoDarkTheme,
15
15
  useMonaco
16
16
  } from "./chunk-QTTWWBNN.js";
17
+ import {
18
+ PredictiveGhostNodeCard,
19
+ PredictiveHudToolbar,
20
+ PredictiveLayer2D,
21
+ usePredictiveGraph2D
22
+ } from "./chunk-OOTTFWXA.js";
17
23
  import {
18
24
  BIOME_CONFIGS,
19
25
  COORD_SCALE,
@@ -30,12 +36,6 @@ import {
30
36
  useCanvas2DCoordinates,
31
37
  useCanvas2DMagnetic
32
38
  } from "./chunk-XVAHT5WE.js";
33
- import {
34
- PredictiveGhostNodeCard,
35
- PredictiveHudToolbar,
36
- PredictiveLayer2D,
37
- usePredictiveGraph2D
38
- } from "./chunk-OOTTFWXA.js";
39
39
  import {
40
40
  NODE_CARD_WIDTH,
41
41
  Node2DBase,
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
- import { GraphEntityParent } from '@ultrst-armada/kloks/state-graph';
2
+ import { GraphEntityParent, GraphEntityMetadata } from '@ultrst-armada/kloks/state-graph';
3
+ export { GraphEntityMetadata } from '@ultrst-armada/kloks/state-graph';
3
4
 
4
- type GraphEntityMetadata = Record<string, any>;
5
5
  interface UIInteractionState {
6
6
  isHovered?: boolean;
7
7
  isActive?: boolean;
@@ -230,4 +230,4 @@ declare class BadgeModel extends UIElementBase {
230
230
  }
231
231
  type BadgeTone = 'primary' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
232
232
 
233
- export { ActionButton, Badge, BadgeModel, type BadgeProps, type BadgeTone, ButtonModel, ButtonParent, type ButtonParentProps, type ButtonProps, type ButtonSize, type ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, type ColorPalette, DangerButton, GhostButton, type GraphEntityMetadata, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, type PanelParentProps, type PanelProps, type PanelVariant, SelectInput, type SelectInputProps, SliderInput, type SliderInputProps, SpawnOptionTile, StatusDot, type StatusDotProps, TelemetryPill, type TelemetryPillProps, TextInput, type TextInputProps, TileModel, TileParent, type TileParentProps, type TileVariant, ToggleButton, ToggleInput, type ToggleInputProps, ToolbarPanel, type TooltipDirection, type UIBaseProps, UIElementBase, type UIInteractionState, UIModel, UIParent, type UIParentProps, type UIProps, type UIRole, type UISize, type UIStyleTokens, type UIVariant, registerPaletteResolver };
233
+ export { ActionButton, Badge, BadgeModel, type BadgeProps, type BadgeTone, ButtonModel, ButtonParent, type ButtonParentProps, type ButtonProps, type ButtonSize, type ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, type ColorPalette, DangerButton, GhostButton, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, type PanelParentProps, type PanelProps, type PanelVariant, SelectInput, type SelectInputProps, SliderInput, type SliderInputProps, SpawnOptionTile, StatusDot, type StatusDotProps, TelemetryPill, type TelemetryPillProps, TextInput, type TextInputProps, TileModel, TileParent, type TileParentProps, type TileVariant, ToggleButton, ToggleInput, type ToggleInputProps, ToolbarPanel, type TooltipDirection, type UIBaseProps, UIElementBase, type UIInteractionState, UIModel, UIParent, type UIParentProps, type UIProps, type UIRole, type UISize, type UIStyleTokens, type UIVariant, registerPaletteResolver };
@@ -10,7 +10,7 @@ export { SettingsTab, SettingsTabProps, ThemeSettingsSection } from './component
10
10
  export { LoginModal, LoginModalProps } from './components/auth/index.js';
11
11
  export { SrklBackblazeAccount, SrklBackblazeTile, StorageOptionTiles, StoragePresetTile, StorageSelection, WorkspaceRecord, WorkspaceSecondaryClone, WorkspaceSecondaryClonesPanel, WorkspaceStorageReadonlyPanel, WorkspaceTilesMenu, WorkspaceTilesMenuProps } from './components/workspace/index.js';
12
12
  export { DEFAULT_PALETTE_ID, THEME_STORAGE_KEY, ThemeContextValue, ThemeProvider, ThemeProviderProps, applyPaletteToDocument, getActivePalette, paletteToSkipoThemePack, subscribeToPalette, usePalette, useTheme } from './palette/index.js';
13
- export { ActionButton, Badge, BadgeModel, BadgeProps, BadgeTone, ButtonModel, ButtonParent, ButtonParentProps, ButtonProps, ButtonSize, ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, DangerButton, GhostButton, GraphEntityMetadata, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, PanelParentProps, PanelProps, PanelVariant, SelectInput, SelectInputProps, SliderInput, SliderInputProps, SpawnOptionTile, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileModel, TileParent, TileParentProps, TileVariant, ToggleButton, ToggleInput, ToggleInputProps, ToolbarPanel, TooltipDirection, UIBaseProps, UIElementBase, UIInteractionState, UIModel, UIParent, UIParentProps, UIProps, UIRole, UISize, UIStyleTokens, UIVariant, registerPaletteResolver } from './hierarchy/index.js';
13
+ export { ActionButton, Badge, BadgeModel, BadgeProps, BadgeTone, ButtonModel, ButtonParent, ButtonParentProps, ButtonProps, ButtonSize, ButtonVariant, CardPanel, CategoryCardTile, ChannelStripTile, ClipCardTile, DangerButton, GhostButton, IconButton, InputModel, InspectorPanel, ModalPanel, PanelModel, PanelParent, PanelParentProps, PanelProps, PanelVariant, SelectInput, SelectInputProps, SliderInput, SliderInputProps, SpawnOptionTile, StatusDot, StatusDotProps, TelemetryPill, TelemetryPillProps, TextInput, TextInputProps, TileModel, TileParent, TileParentProps, TileVariant, ToggleButton, ToggleInput, ToggleInputProps, ToolbarPanel, TooltipDirection, UIBaseProps, UIElementBase, UIInteractionState, UIModel, UIParent, UIParentProps, UIProps, UIRole, UISize, UIStyleTokens, UIVariant, registerPaletteResolver } from './hierarchy/index.js';
14
+ export { GraphEntityMetadata } from '@ultrst-armada/kloks/state-graph';
14
15
  import 'zod';
15
16
  import 'react';
16
- import '@ultrst-armada/kloks/state-graph';
@@ -129,6 +129,13 @@ import {
129
129
  import {
130
130
  LoginModal
131
131
  } from "./chunk-S227WJ5E.js";
132
+ import {
133
+ BaseSelect,
134
+ BaseTextarea,
135
+ BaseToggle,
136
+ CredentialField,
137
+ KNOWN_CREDENTIAL_URLS
138
+ } from "./chunk-KIFQA7L6.js";
132
139
  import "./chunk-5ZMXFCD4.js";
133
140
  import {
134
141
  ApiCallIndicator,
@@ -137,13 +144,6 @@ import {
137
144
  StatusLight,
138
145
  SystemMessageDisplay
139
146
  } from "./chunk-C3L53YN4.js";
140
- import {
141
- BaseSelect,
142
- BaseTextarea,
143
- BaseToggle,
144
- CredentialField,
145
- KNOWN_CREDENTIAL_URLS
146
- } from "./chunk-KIFQA7L6.js";
147
147
  import {
148
148
  ConfirmDialog,
149
149
  CopyableErrorAlert,