@blade-hq/agent-react 2610.0.0-beta.32 → 2610.0.0-beta.33

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/dist/style.css CHANGED
@@ -264,8 +264,11 @@
264
264
  white-space: nowrap;
265
265
  }
266
266
 
267
+ /* 180ms + cubic-bezier(0.25,0.1,0.25,1):跟 apps/web 同名组件的
268
+ --motion-duration-fast / --motion-ease-enter 数值保持一致(这个包独立发布,
269
+ 没有内部 app 的 CSS 变量可用,只能各自写字面量)。 */
267
270
  .blade-chat-context-chevron {
268
- transition: transform 150ms ease;
271
+ transition: transform 180ms cubic-bezier(0.25, 0.1, 0.25, 1);
269
272
  }
270
273
 
271
274
  /* 只作用于卡片自己的 summary。分组卡片会把单条卡片套在里面,用后代选择器的话
@@ -399,8 +399,11 @@
399
399
  white-space: nowrap;
400
400
  }
401
401
 
402
+ /* 180ms + cubic-bezier(0.25,0.1,0.25,1):跟 apps/web 同名组件的
403
+ --motion-duration-fast / --motion-ease-enter 数值保持一致(这个包独立发布,
404
+ 没有内部 app 的 CSS 变量可用,只能各自写字面量)。 */
402
405
  .blade-chat-context-chevron {
403
- transition: transform 150ms ease;
406
+ transition: transform 180ms cubic-bezier(0.25, 0.1, 0.25, 1);
404
407
  }
405
408
 
406
409
  /* 只作用于卡片自己的 summary。分组卡片会把单条卡片套在里面,用后代选择器的话
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-react",
3
- "version": "2610.0.0-beta.32",
3
+ "version": "2610.0.0-beta.33",
4
4
  "description": "Blade Agent React 绑定:BladeProvider、useAgentSession、开箱即用的 ChatView 聊天界面。",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@
31
31
  "access": "public"
32
32
  },
33
33
  "dependencies": {
34
- "@blade-hq/agent-client": "2610.0.0-beta.32"
34
+ "@blade-hq/agent-client": "2610.0.0-beta.33"
35
35
  },
36
36
  "bundledDependencies": [],
37
37
  "peerDependencies": {
package/public-api.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > 本文件由 `scripts/public-api-report.mjs` 生成,请勿手改。
4
4
  > 公共面变更时重新生成本报告,并同步更新 README 对应章节——CI 会校验两者。
5
5
 
6
- 224 个公开声明。
6
+ 226 个公开声明。
7
7
 
8
8
  ## `acceptedPostChatFollowupCompletesLatestRun` (function)
9
9
 
@@ -1636,6 +1636,27 @@ SessionInfo = type({
1636
1636
  })
1637
1637
  ```
1638
1638
 
1639
+ ## `SessionMemoryToggle` (function)
1640
+
1641
+ ```ts
1642
+ SessionMemoryToggle: ({ sessionId, enabled, client: clientProp, disabled, label, className, labelClassName, inputClassName, onSaved, onError, }: SessionMemoryToggleProps) => JSX.Element
1643
+ ```
1644
+
1645
+ ## `SessionMemoryToggleProps` (interface)
1646
+
1647
+ ```ts
1648
+ className: string | undefined
1649
+ client: BladeClient | undefined
1650
+ disabled: boolean | undefined
1651
+ enabled: boolean
1652
+ inputClassName: string | undefined
1653
+ label: string | undefined
1654
+ labelClassName: string | undefined
1655
+ onError: ((error: unknown) => void) | undefined
1656
+ onSaved: ((sessionId: string, enabled: boolean) => void) | undefined
1657
+ sessionId: string
1658
+ ```
1659
+
1639
1660
  ## `SessionPortMapping` (interface)
1640
1661
 
1641
1662
  ```ts