@wisdomgarden/torque-knowledge 1.0.4 → 1.0.5

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/.meta.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "knowledge": "1.0.4",
3
- "torque": "0.1.2",
4
- "generatedAt": "2026-09-19T04:29:15.168Z"
2
+ "knowledge": "1.0.5",
3
+ "torque": "0.2.0",
4
+ "generatedAt": "2026-09-21T05:49:43.820Z"
5
5
  }
Binary file
@@ -6,7 +6,7 @@ keywords: torque, component, ui, mantine, layout, button, icon-button, link-butt
6
6
 
7
7
  # Torque UI 组件库
8
8
 
9
- > 由 `@wisdomgarden/torque-knowledge@1.0.4` 生成,对应 `@wisdomgarden/torque@0.1.2`。
9
+ > 由 `@wisdomgarden/torque-knowledge@1.0.5` 生成,对应 `@wisdomgarden/torque@0.2.0`。
10
10
  > 不要手改 —— 它是 npm 包解包出来的,下次装依赖就被覆盖。
11
11
 
12
12
  ## 导入方式
@@ -181,6 +181,8 @@ Component 里用(函数跨 Server/Client 边界无法序列化)。
181
181
  - **`Tabs` 切换默认卸载其他 Panel**,Panel 里有表单或音视频时必须设
182
182
  `keepMounted={true}`。吸顶时 `sticky` 加在 `Tabs.List` 的**外层** `div` 上
183
183
  (`overflow="scroll"` 时内部有独立滚动容器)。
184
+ - **`Tabs` 的 `underline` 变体不支持 `layout` 和 `bgType`**;这两个 prop 只用于
185
+ `outline` / `filled`。需要标签自动换行时使用 `overflow="wrap"`。
184
186
  - **`Select` 的搜索是自动的** —— 选项数超阈值会自动开启,不要手写 `searchable`,
185
187
  只有要违背默认行为时才显式传值。
186
188
  - **`Tree` 的 `defaultExpandedIds` 只放真正需要默认可见的节点**,不要递归收集全部。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wisdomgarden/torque-knowledge",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Machine-readable knowledge artifact for @wisdomgarden/torque — component catalog (SQLite) and AI coding rules (Markdown). Consumed by CI code review and local AI tooling, not by application runtime.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",