@blank-utils/llm 0.4.6 → 0.4.7

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.
@@ -1064,7 +1064,7 @@ ${newText}` : newText);
1064
1064
  onClick: () => fileInputRef.current?.click(),
1065
1065
  title: "Attach image or PDF (Ctrl+V to paste)",
1066
1066
  children: [
1067
- /* @__PURE__ */ jsx2(Paperclip, { className: "w-3.5 h-3.5 opacity-70 group-hover:opacity-100 transition-opacity" }),
1067
+ /* @__PURE__ */ jsx2(Paperclip, { className: "w-[11px] h-[11px] opacity-70 group-hover:opacity-100 transition-opacity", strokeWidth: 1.5 }),
1068
1068
  /* @__PURE__ */ jsx2("span", { className: "text-[10px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ FILE ]" }),
1069
1069
  /* @__PURE__ */ jsx2("span", { className: "text-[9px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u30D5\u30A1\u30A4\u30EB" })
1070
1070
  ]
@@ -1079,7 +1079,7 @@ ${newText}` : newText);
1079
1079
  className: "group flex items-center justify-center gap-2 px-4 py-2 rounded border bg-red-500/10 border-red-500/30 text-red-500 hover:bg-red-500/20 transition-all duration-300",
1080
1080
  onClick: onStop,
1081
1081
  children: [
1082
- /* @__PURE__ */ jsx2(Square, { className: "w-3.5 h-3.5 opacity-70 group-hover:opacity-100 transition-opacity" }),
1082
+ /* @__PURE__ */ jsx2(Square, { className: "w-[11px] h-[11px] opacity-70 group-hover:opacity-100 transition-opacity", strokeWidth: 1.5 }),
1083
1083
  /* @__PURE__ */ jsx2("span", { className: "text-[10px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ STOP ]" }),
1084
1084
  /* @__PURE__ */ jsx2("span", { className: "text-[9px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u505C\u6B62" })
1085
1085
  ]
@@ -1092,7 +1092,7 @@ ${newText}` : newText);
1092
1092
  onClick: onSend,
1093
1093
  disabled: !canSend,
1094
1094
  children: [
1095
- /* @__PURE__ */ jsx2(Send, { className: "w-3.5 h-3.5 opacity-70 group-hover:opacity-100 transition-opacity" }),
1095
+ /* @__PURE__ */ jsx2(Send, { className: "w-[11px] h-[11px] opacity-70 group-hover:opacity-100 transition-opacity", strokeWidth: 1.5 }),
1096
1096
  /* @__PURE__ */ jsx2("span", { className: "text-[10px] font-bold tracking-[0.2em] uppercase whitespace-nowrap", children: "[ SEND ]" }),
1097
1097
  /* @__PURE__ */ jsx2("span", { className: "text-[9px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest whitespace-nowrap", children: "\u9001\u4FE1" })
1098
1098
  ]
@@ -1471,7 +1471,7 @@ ${systemPrompt}` : systemPrompt;
1471
1471
  onClick: reload,
1472
1472
  className: "group flex items-center justify-center min-w-max gap-3 px-6 py-3 rounded-md border border-red-500/30 bg-red-500/10 text-red-500 hover:bg-red-500/20 transition-all duration-300",
1473
1473
  children: [
1474
- /* @__PURE__ */ jsx3(RotateCcw, { className: "w-4 h-4 opacity-70 group-hover:opacity-100 transition-opacity" }),
1474
+ /* @__PURE__ */ jsx3(RotateCcw, { className: "w-[11px] h-[11px] opacity-70 group-hover:opacity-100 transition-opacity", strokeWidth: 1.5 }),
1475
1475
  /* @__PURE__ */ jsx3("span", { className: "text-[11px] font-bold tracking-[0.2em] uppercase", children: "[ REBOOT ]" }),
1476
1476
  /* @__PURE__ */ jsx3("span", { className: "text-[10px] opacity-40 group-hover:opacity-60 transition-opacity tracking-widest", children: "\u518D\u8D77\u52D5" })
1477
1477
  ]
package/dist/index.css CHANGED
@@ -2310,9 +2310,6 @@ video {
2310
2310
  .h-24 {
2311
2311
  height: 6rem;
2312
2312
  }
2313
- .h-3\.5 {
2314
- height: 0.875rem;
2315
- }
2316
2313
  .h-4 {
2317
2314
  height: 1rem;
2318
2315
  }
@@ -2322,6 +2319,9 @@ video {
2322
2319
  .h-8 {
2323
2320
  height: 2rem;
2324
2321
  }
2322
+ .h-\[11px\] {
2323
+ height: 11px;
2324
+ }
2325
2325
  .h-\[1px\] {
2326
2326
  height: 1px;
2327
2327
  }
@@ -2355,9 +2355,6 @@ video {
2355
2355
  .w-24 {
2356
2356
  width: 6rem;
2357
2357
  }
2358
- .w-3\.5 {
2359
- width: 0.875rem;
2360
- }
2361
2358
  .w-4 {
2362
2359
  width: 1rem;
2363
2360
  }
@@ -2370,6 +2367,9 @@ video {
2370
2367
  .w-8 {
2371
2368
  width: 2rem;
2372
2369
  }
2370
+ .w-\[11px\] {
2371
+ width: 11px;
2372
+ }
2373
2373
  .w-full {
2374
2374
  width: 100%;
2375
2375
  }
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ import {
26
26
  useCompletion,
27
27
  useLLM,
28
28
  useStream
29
- } from "./chunk-RRDW7WNW.js";
29
+ } from "./chunk-NMWUZC4S.js";
30
30
  export {
31
31
  Chat,
32
32
  ChatInput,
@@ -2310,9 +2310,6 @@ video {
2310
2310
  .h-24 {
2311
2311
  height: 6rem;
2312
2312
  }
2313
- .h-3\.5 {
2314
- height: 0.875rem;
2315
- }
2316
2313
  .h-4 {
2317
2314
  height: 1rem;
2318
2315
  }
@@ -2322,6 +2319,9 @@ video {
2322
2319
  .h-8 {
2323
2320
  height: 2rem;
2324
2321
  }
2322
+ .h-\[11px\] {
2323
+ height: 11px;
2324
+ }
2325
2325
  .h-\[1px\] {
2326
2326
  height: 1px;
2327
2327
  }
@@ -2355,9 +2355,6 @@ video {
2355
2355
  .w-24 {
2356
2356
  width: 6rem;
2357
2357
  }
2358
- .w-3\.5 {
2359
- width: 0.875rem;
2360
- }
2361
2358
  .w-4 {
2362
2359
  width: 1rem;
2363
2360
  }
@@ -2370,6 +2367,9 @@ video {
2370
2367
  .w-8 {
2371
2368
  width: 2rem;
2372
2369
  }
2370
+ .w-\[11px\] {
2371
+ width: 11px;
2372
+ }
2373
2373
  .w-full {
2374
2374
  width: 100%;
2375
2375
  }
@@ -9,7 +9,7 @@ import {
9
9
  useCompletion,
10
10
  useLLM,
11
11
  useStream
12
- } from "../chunk-RRDW7WNW.js";
12
+ } from "../chunk-NMWUZC4S.js";
13
13
  export {
14
14
  Chat,
15
15
  ChatApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blank-utils/llm",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Run LLMs directly in your browser with WebGPU acceleration. Supports React hooks and eager background loading.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",