@ultrst-armada/floks 1.6.0 → 1.6.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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/floks",
4
- "version": "1.6.0",
5
- "sourceCommit": "be86bcf0677ee4f487cc807ad5eeab4b66ba5e27",
4
+ "version": "1.6.1",
5
+ "sourceCommit": "09378ff00c07fd74e245f3316a67d17e1dbe802c",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "40324788065"
7
+ "workflowRunId": "40839437328"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -32,6 +32,7 @@
32
32
  "import": "./packages/ui/dist/index.js",
33
33
  "default": "./packages/ui/dist/index.js"
34
34
  },
35
+ "./ui/dist/index.css": "./packages/ui/dist/index.css",
35
36
  "./ui/theme/tokens.css": "./packages/ui/src/theme/tokens.css",
36
37
  "./ui/styles/*": "./packages/ui/src/styles/*",
37
38
  "./canvas-ui": {
@@ -43,6 +44,16 @@
43
44
  "types": "./packages/contracts/dist/index.d.ts",
44
45
  "import": "./packages/contracts/dist/index.js",
45
46
  "default": "./packages/contracts/dist/index.js"
47
+ },
48
+ "./ui/ai": {
49
+ "types": "./packages/ui/dist/components/ai/index.d.ts",
50
+ "import": "./packages/ui/dist/components/ai/index.js",
51
+ "default": "./packages/ui/dist/components/ai/index.js"
52
+ },
53
+ "./ai": {
54
+ "types": "./packages/ui/dist/components/ai/index.d.ts",
55
+ "import": "./packages/ui/dist/components/ai/index.js",
56
+ "default": "./packages/ui/dist/components/ai/index.js"
46
57
  }
47
58
  },
48
59
  "scripts": {
@@ -61,7 +72,7 @@
61
72
  "@dinilmusick/gutts": "^0.1.3"
62
73
  },
63
74
  "peerDependencies": {
64
- "@ultrst-armada/kloks": "^1.11.0",
75
+ "@ultrst-armada/kloks": "^1.17.0",
65
76
  "lucide-react": ">=0.300.0",
66
77
  "react": "^18.0.0 || ^19.0.0",
67
78
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -72,7 +83,7 @@
72
83
  "@types/node": "^22.0.0",
73
84
  "@types/react": "^19.0.0",
74
85
  "@types/react-dom": "^19.0.0",
75
- "@ultrst-armada/kloks": "^1.11.0",
86
+ "@ultrst-armada/kloks": "^1.17.0",
76
87
  "@ultrst-armada/frnlts": "^0.2.7",
77
88
  "happy-dom": "^21.0.3",
78
89
  "lucide-react": "^1.55.0",
@@ -1,8 +1,9 @@
1
1
  import {
2
- PredictiveGhostNodeCard,
3
- PredictiveHudToolbar,
4
- PredictiveLayer2D
5
- } from "./chunk-RH5NINIT.js";
2
+ Tile,
3
+ TileCreateButton,
4
+ TileGrid,
5
+ useTileMenu
6
+ } from "./chunk-SA3JADUG.js";
6
7
  import {
7
8
  UiAuthoringBindingEditor,
8
9
  UiAuthoringInspector,
@@ -39,9 +40,6 @@ import {
39
40
  menuCategory,
40
41
  menuHidden
41
42
  } from "./chunk-VESG3VP3.js";
42
- import {
43
- usePredictiveGraph2D
44
- } from "./chunk-QRYNQ36L.js";
45
43
  import {
46
44
  BIOME_CONFIGS,
47
45
  COORD_SCALE,
@@ -58,6 +56,14 @@ import {
58
56
  useCanvas2DCoordinates,
59
57
  useCanvas2DMagnetic
60
58
  } from "./chunk-XVAHT5WE.js";
59
+ import {
60
+ PredictiveGhostNodeCard,
61
+ PredictiveHudToolbar,
62
+ PredictiveLayer2D
63
+ } from "./chunk-RH5NINIT.js";
64
+ import {
65
+ usePredictiveGraph2D
66
+ } from "./chunk-QRYNQ36L.js";
61
67
  import {
62
68
  NODE_CARD_WIDTH,
63
69
  Node2DBase,
@@ -68,12 +74,6 @@ import {
68
74
  getSocketScreenPosition,
69
75
  renderSpriteIcon
70
76
  } from "./chunk-U2SC3RMJ.js";
71
- import {
72
- Tile,
73
- TileCreateButton,
74
- TileGrid,
75
- useTileMenu
76
- } from "./chunk-SA3JADUG.js";
77
77
 
78
78
  // src/node-graph-ui/widgets/MidpointWidgets.tsx
79
79
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -65,7 +65,7 @@
65
65
  "dependencies": {
66
66
  "@floks/ui": "workspace:*",
67
67
  "@ultrst-armada/frnlts": "^0.2.7",
68
- "@ultrst-armada/kloks": "^1.11.0"
68
+ "@ultrst-armada/kloks": "^1.17.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "@dnd-kit/core": "^6.0.0",
@@ -73,7 +73,7 @@
73
73
  "@dnd-kit/utilities": "^3.0.0",
74
74
  "monaco-editor": "^0.50.0",
75
75
  "react": "^18.0.0 || ^19.0.0",
76
- "@ultrst-armada/kloks": "^1.11.0"
76
+ "@ultrst-armada/kloks": "^1.12.0"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@dnd-kit/core": {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  frnlButton,
3
3
  frnlTextInput
4
- } from "./chunk-YVWJ4SW7.js";
4
+ } from "./chunk-PUHHHRQO.js";
5
5
  import {
6
6
  useFloksFrnlStore
7
7
  } from "./chunk-X4B3EBMY.js";
@@ -2,48 +2,24 @@ import {
2
2
  BaseTooltip
3
3
  } from "./chunk-GKP6KHTI.js";
4
4
 
5
- // src/components/base/BaseTextarea.tsx
6
- import { forwardRef } from "react";
7
- import { jsx } from "react/jsx-runtime";
8
- var BaseTextarea = forwardRef(({
9
- className = "",
10
- ...props
11
- }, ref) => {
12
- return /* @__PURE__ */ jsx("textarea", { ref, className: `skipo-textarea ${className}`, ...props });
13
- });
14
- BaseTextarea.displayName = "BaseTextarea";
15
-
16
- // src/components/base/BaseSelect.tsx
17
- import { forwardRef as forwardRef2 } from "react";
18
- import { jsx as jsx2 } from "react/jsx-runtime";
19
- var BaseSelect = forwardRef2(({
20
- options,
21
- error,
22
- className = "",
23
- ...props
24
- }, ref) => {
25
- return /* @__PURE__ */ jsx2("select", { ref, className: `skipo-select ${className}`, "data-error": error, ...props, children: options.map((o) => /* @__PURE__ */ jsx2("option", { value: o.value, children: o.label }, o.value)) });
26
- });
27
- BaseSelect.displayName = "BaseSelect";
28
-
29
5
  // src/components/base/BaseToggle.tsx
30
- import { forwardRef as forwardRef3 } from "react";
31
- import { jsx as jsx3, jsxs } from "react/jsx-runtime";
32
- var BaseToggle = forwardRef3(({
6
+ import { forwardRef } from "react";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ var BaseToggle = forwardRef(({
33
9
  label,
34
10
  className = "",
35
11
  ...props
36
12
  }, ref) => {
37
13
  return /* @__PURE__ */ jsxs("label", { className: "skipo-toggle-label", children: [
38
- /* @__PURE__ */ jsx3("input", { ref, type: "checkbox", className: `skipo-toggle ${className}`, ...props }),
39
- label && /* @__PURE__ */ jsx3("span", { children: label })
14
+ /* @__PURE__ */ jsx("input", { ref, type: "checkbox", className: `skipo-toggle ${className}`, ...props }),
15
+ label && /* @__PURE__ */ jsx("span", { children: label })
40
16
  ] });
41
17
  });
42
18
  BaseToggle.displayName = "BaseToggle";
43
19
 
44
20
  // src/components/base/CredentialField.tsx
45
- import { forwardRef as forwardRef4, useState } from "react";
46
- import { Fragment, jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
21
+ import { forwardRef as forwardRef2, useState } from "react";
22
+ import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
47
23
  var KNOWN_CREDENTIAL_URLS = {
48
24
  openai: { name: "OpenAI API Keys", url: "https://platform.openai.com/api-keys" },
49
25
  anthropic: { name: "Anthropic Console", url: "https://console.anthropic.com/settings/keys" },
@@ -60,7 +36,7 @@ var KNOWN_CREDENTIAL_URLS = {
60
36
  github: { name: "GitHub Personal Access Tokens", url: "https://github.com/settings/tokens" },
61
37
  openrouter: { name: "OpenRouter Keys", url: "https://openrouter.ai/keys" }
62
38
  };
63
- var CredentialField = forwardRef4(({
39
+ var CredentialField = forwardRef2(({
64
40
  serviceId,
65
41
  credentialUrl,
66
42
  serviceLabel,
@@ -82,7 +58,7 @@ var CredentialField = forwardRef4(({
82
58
  width: "100%"
83
59
  },
84
60
  children: [
85
- /* @__PURE__ */ jsx4(
61
+ /* @__PURE__ */ jsx2(
86
62
  "input",
87
63
  {
88
64
  ref,
@@ -103,7 +79,7 @@ var CredentialField = forwardRef4(({
103
79
  gap: "2px"
104
80
  },
105
81
  children: [
106
- /* @__PURE__ */ jsx4(BaseTooltip, { content: showSecret ? "HIDE SECRET CREDENTIAL" : "SHOW SECRET CREDENTIAL", children: /* @__PURE__ */ jsx4(
82
+ /* @__PURE__ */ jsx2(BaseTooltip, { content: showSecret ? "HIDE SECRET CREDENTIAL" : "SHOW SECRET CREDENTIAL", children: /* @__PURE__ */ jsx2(
107
83
  "button",
108
84
  {
109
85
  type: "button",
@@ -118,16 +94,16 @@ var CredentialField = forwardRef4(({
118
94
  display: "flex",
119
95
  alignItems: "center"
120
96
  },
121
- children: /* @__PURE__ */ jsx4("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: showSecret ? /* @__PURE__ */ jsxs2(Fragment, { children: [
122
- /* @__PURE__ */ jsx4("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
123
- /* @__PURE__ */ jsx4("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
97
+ children: /* @__PURE__ */ jsx2("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: showSecret ? /* @__PURE__ */ jsxs2(Fragment, { children: [
98
+ /* @__PURE__ */ jsx2("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
99
+ /* @__PURE__ */ jsx2("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
124
100
  ] }) : /* @__PURE__ */ jsxs2(Fragment, { children: [
125
- /* @__PURE__ */ jsx4("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
126
- /* @__PURE__ */ jsx4("circle", { cx: "12", cy: "12", r: "3" })
101
+ /* @__PURE__ */ jsx2("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
102
+ /* @__PURE__ */ jsx2("circle", { cx: "12", cy: "12", r: "3" })
127
103
  ] }) })
128
104
  }
129
105
  ) }),
130
- resolvedUrl && /* @__PURE__ */ jsx4(BaseTooltip, { content: `GET CREDENTIALS: OPEN ${resolvedLabel.toUpperCase()} (EXTERNAL LINK)`, children: /* @__PURE__ */ jsx4(
106
+ resolvedUrl && /* @__PURE__ */ jsx2(BaseTooltip, { content: `GET CREDENTIALS: OPEN ${resolvedLabel.toUpperCase()} (EXTERNAL LINK)`, children: /* @__PURE__ */ jsx2(
131
107
  "a",
132
108
  {
133
109
  href: resolvedUrl,
@@ -143,9 +119,9 @@ var CredentialField = forwardRef4(({
143
119
  textDecoration: "none"
144
120
  },
145
121
  children: /* @__PURE__ */ jsxs2("svg", { width: "14", height: "14", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [
146
- /* @__PURE__ */ jsx4("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
147
- /* @__PURE__ */ jsx4("polyline", { points: "15 3 21 3 21 9" }),
148
- /* @__PURE__ */ jsx4("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
122
+ /* @__PURE__ */ jsx2("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
123
+ /* @__PURE__ */ jsx2("polyline", { points: "15 3 21 3 21 9" }),
124
+ /* @__PURE__ */ jsx2("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
149
125
  ] })
150
126
  }
151
127
  ) })
@@ -159,8 +135,6 @@ var CredentialField = forwardRef4(({
159
135
  CredentialField.displayName = "CredentialField";
160
136
 
161
137
  export {
162
- BaseTextarea,
163
- BaseSelect,
164
138
  BaseToggle,
165
139
  KNOWN_CREDENTIAL_URLS,
166
140
  CredentialField
@@ -0,0 +1,28 @@
1
+ // src/components/base/BaseTextarea.tsx
2
+ import { forwardRef } from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+ var BaseTextarea = forwardRef(({
5
+ className = "",
6
+ ...props
7
+ }, ref) => {
8
+ return /* @__PURE__ */ jsx("textarea", { ref, className: `skipo-textarea ${className}`, ...props });
9
+ });
10
+ BaseTextarea.displayName = "BaseTextarea";
11
+
12
+ // src/components/base/BaseSelect.tsx
13
+ import { forwardRef as forwardRef2 } from "react";
14
+ import { jsx as jsx2 } from "react/jsx-runtime";
15
+ var BaseSelect = forwardRef2(({
16
+ options,
17
+ error,
18
+ className = "",
19
+ ...props
20
+ }, ref) => {
21
+ return /* @__PURE__ */ jsx2("select", { ref, className: `skipo-select ${className}`, "data-error": error, ...props, children: options.map((o) => /* @__PURE__ */ jsx2("option", { value: o.value, children: o.label }, o.value)) });
22
+ });
23
+ BaseSelect.displayName = "BaseSelect";
24
+
25
+ export {
26
+ BaseTextarea,
27
+ BaseSelect
28
+ };