@tongfun/ui 0.0.1-alpha.10 → 0.0.1-alpha.12

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.
@@ -8,7 +8,7 @@ export type LowcodeAgentJSONValue =
8
8
  export type LowcodeAgentFramework = 'vue3'
9
9
 
10
10
  /**
11
- * Material icons use the PascalCase export names exposed by lucide-vue-next.
11
+ * Material icons use the PascalCase export names exposed by @lucide/vue.
12
12
  * The registry and icon picker must resolve this value without a kebab-case
13
13
  * conversion or a custom alias table.
14
14
  */
@@ -345,7 +345,7 @@ export interface LowcodeAgentLowcodeSchema {
345
345
  [key: string]: unknown
346
346
  }
347
347
  palette: {
348
- /** A registered PascalCase export name from lucide-vue-next. */
348
+ /** A registered PascalCase export name from @lucide/vue. */
349
349
  icon?: LowcodeAgentLucideIconName
350
350
  order?: number
351
351
  draggable?: boolean
@@ -100,7 +100,7 @@
100
100
 
101
101
  <script setup lang="ts">
102
102
  import { computed, h, onMounted, reactive, ref } from 'vue'
103
- import { RefreshCw } from 'lucide-vue-next'
103
+ import { RefreshCw } from '@lucide/vue'
104
104
  import {
105
105
  TfAlert,
106
106
  TfButton,
@@ -130,7 +130,7 @@
130
130
 
131
131
  <script setup lang="ts">
132
132
  import { computed, h, reactive, ref } from 'vue'
133
- import { Plus, RefreshCw } from 'lucide-vue-next'
133
+ import { Plus, RefreshCw } from '@lucide/vue'
134
134
  import {
135
135
  TfAlert,
136
136
  TfButton,
@@ -7,7 +7,7 @@
7
7
  "<script setup lang=\"ts\">",
8
8
  "TypeScript",
9
9
  "Tailwind CSS for layout, spacing and small utility classes only",
10
- "lucide-vue-next for icons",
10
+ "@lucide/vue for icons",
11
11
  "reka-ui only as an accessibility fallback when @tongfun/ui lacks a complex interaction"
12
12
  ],
13
13
  "componentPriority": [
@@ -414,7 +414,7 @@
414
414
  "Group forms with more than 8 fields.",
415
415
  "Cover empty/loading/error states on list pages.",
416
416
  "Provide loading and error feedback for save, submit and delete actions.",
417
- "Use lucide-vue-next icons for recognizable actions.",
417
+ "Use @lucide/vue icons for recognizable actions.",
418
418
  "Define TypeScript types for rows, forms, filters and event payloads.",
419
419
  "Report the @tongfun/ui component list after generation."
420
420
  ],
@@ -20,7 +20,7 @@ Agent 生成前端代码时,应把 `@tongfun/ui` 作为首选组件来源。
20
20
  - 使用 `<script setup lang="ts">`。
21
21
  - 使用 TypeScript 类型约束 props、emits、表单模型、表格行数据和 API 结果。
22
22
  - Tailwind CSS 仅用于布局、间距、栅格、flex、少量辅助 class。
23
- - 图标使用 `lucide-vue-next`。
23
+ - 图标使用 `@lucide/vue`。
24
24
  - `reka-ui` 仅在 `@tongfun/ui` 缺少复杂无障碍交互能力时作为补充。
25
25
  - 禁止随意引入其他 UI 库。
26
26
  - 禁止混用 Element Plus、Ant Design Vue、Naive UI、Arco Design 等 UI 库。
@@ -240,7 +240,7 @@ Do:
240
240
  - 表单超过 8 个字段时分组。
241
241
  - 列表页必须有 empty、loading、error 状态。
242
242
  - 保存、提交、删除等动作必须有 loading 和错误反馈。
243
- - 使用 `lucide-vue-next` 图标增强操作识别。
243
+ - 使用 `@lucide/vue` 图标增强操作识别。
244
244
  - 用 TypeScript 定义行数据、表单模型、筛选模型和事件 payload。
245
245
  - 生成代码后说明使用的 `@tongfun/ui` 组件清单。
246
246