@ultrst-armada/floks 1.13.3 → 1.13.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": "1.13.3",
5
- "sourceCommit": "bb1bfd488fba5951ad53a56567dcb065344194dc",
4
+ "version": "1.13.4",
5
+ "sourceCommit": "263c5e058791e5069309c71f5bd3936d23190842",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "41202294867"
7
+ "workflowRunId": "41290610321"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/floks",
3
- "version": "1.13.3",
3
+ "version": "1.13.4",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -93,7 +93,7 @@
93
93
  "@types/node": "^22.0.0",
94
94
  "@types/react": "^19.0.0",
95
95
  "@types/react-dom": "^19.0.0",
96
- "@ultrst-armada/kloks": "^1.22.2",
96
+ "@ultrst-armada/kloks": "^1.24.0",
97
97
  "@ultrst-armada/frnlts": "^0.5.3",
98
98
  "happy-dom": "^21.0.3",
99
99
  "lucide-react": "^1.55.0",
@@ -76,7 +76,7 @@
76
76
  "dependencies": {
77
77
  "@floks/ui": "workspace:*",
78
78
  "@ultrst-armada/frnlts": "^0.5.3",
79
- "@ultrst-armada/kloks": "^1.22.2"
79
+ "@ultrst-armada/kloks": "^1.24.0"
80
80
  },
81
81
  "peerDependencies": {
82
82
  "@dnd-kit/core": "^6.0.0",
@@ -1063,13 +1063,14 @@ var DirectChatMessageList = ({
1063
1063
 
1064
1064
  // src/components/ai/chat/DirectChatInput.tsx
1065
1065
  import { useState as useState10 } from "react";
1066
- import { Send } from "lucide-react";
1066
+ import { Bug, Send } from "lucide-react";
1067
1067
  import { jsx as jsx21, jsxs as jsxs21 } from "react/jsx-runtime";
1068
1068
  var DirectChatInput = ({
1069
1069
  onSendMessage,
1070
1070
  disabled = false,
1071
1071
  placeholder = "Type a prompt... (Shift+Enter for new line)",
1072
- toolsSlot
1072
+ toolsSlot,
1073
+ onReportBug
1073
1074
  }) => {
1074
1075
  const [content, setContent] = useState10("");
1075
1076
  const handleKeyDown = (e) => {
@@ -1084,7 +1085,13 @@ var DirectChatInput = ({
1084
1085
  setContent("");
1085
1086
  };
1086
1087
  return /* @__PURE__ */ jsxs21("div", { className: "p-3 border-t border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 font-mono text-xs", children: [
1087
- /* @__PURE__ */ jsx21("div", { className: "flex items-center justify-between pb-2", children: /* @__PURE__ */ jsx21("div", { className: "flex items-center gap-2", children: toolsSlot }) }),
1088
+ /* @__PURE__ */ jsx21("div", { className: "flex items-center justify-between pb-2", children: /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-2", children: [
1089
+ toolsSlot,
1090
+ onReportBug && /* @__PURE__ */ jsxs21(BaseButton, { size: "sm", variant: "ghost", onClick: () => content.trim() && onReportBug(content.trim()), disabled: disabled || !content.trim(), title: "Report bug", children: [
1091
+ /* @__PURE__ */ jsx21(Bug, { size: 13 }),
1092
+ " Report bug"
1093
+ ] })
1094
+ ] }) }),
1088
1095
  /* @__PURE__ */ jsxs21("div", { className: "flex items-end gap-2", children: [
1089
1096
  /* @__PURE__ */ jsx21("div", { className: "flex-1", children: /* @__PURE__ */ jsx21(
1090
1097
  BaseTextarea,
@@ -359,6 +359,7 @@ interface DirectChatInputProps {
359
359
  disabled?: boolean;
360
360
  placeholder?: string;
361
361
  toolsSlot?: React__default.ReactNode;
362
+ onReportBug?: (description: string) => void;
362
363
  }
363
364
  declare const DirectChatInput: React__default.FC<DirectChatInputProps>;
364
365
 
@@ -22,7 +22,7 @@ import {
22
22
  SingleKeyForm,
23
23
  TimelineScrubber,
24
24
  getProviderIcon
25
- } from "../../chunk-UJK3JKRK.js";
25
+ } from "../../chunk-XMRSW4TL.js";
26
26
  import "../../chunk-KIFQA7L6.js";
27
27
  import "../../chunk-GKP6KHTI.js";
28
28
  import "../../chunk-UOR4P6PO.js";
@@ -64,6 +64,18 @@ import {
64
64
  TilesMenu,
65
65
  tilesMenuDefinition
66
66
  } from "./chunk-DZTJJOLR.js";
67
+ import {
68
+ frnlBadge,
69
+ frnlBottomBar,
70
+ frnlPage,
71
+ frnlSelect,
72
+ frnlSelectDefinition,
73
+ frnlSlider,
74
+ frnlTabWindow,
75
+ frnlToggle,
76
+ frnlToggleDefinition,
77
+ frnlTopBar
78
+ } from "./chunk-G5CYPT3P.js";
67
79
  import {
68
80
  ActionButton,
69
81
  Badge,
@@ -91,18 +103,6 @@ import {
91
103
  ToolbarPanel,
92
104
  UIParent
93
105
  } from "./chunk-Q324BMDJ.js";
94
- import {
95
- frnlBadge,
96
- frnlBottomBar,
97
- frnlPage,
98
- frnlSelect,
99
- frnlSelectDefinition,
100
- frnlSlider,
101
- frnlTabWindow,
102
- frnlToggle,
103
- frnlToggleDefinition,
104
- frnlTopBar
105
- } from "./chunk-G5CYPT3P.js";
106
106
  import "./chunk-SLJBDDSN.js";
107
107
  import {
108
108
  DEFAULT_PALETTE_ID,
@@ -189,7 +189,7 @@ import {
189
189
  SingleKeyForm,
190
190
  TimelineScrubber,
191
191
  getProviderIcon
192
- } from "./chunk-UJK3JKRK.js";
192
+ } from "./chunk-XMRSW4TL.js";
193
193
  import {
194
194
  BaseSelect,
195
195
  BaseTextarea,