feat(ui): 共享层补齐 U** 组件与 palette 真源,子应用去掉 antd 直连
- packages/ui 新增 App/Dropdown/Empty/Steps/Timeline 五个共享组件 + styles/ui.css, Alert/Card/Table/FillTable/Tag 改由共享层出语义;packages/biz 新增 PageShell, SearchForm/DataTable/formSchema 对齐新壳 - packages/design-tokens/src/palette.ts 成为色值唯一真源,tokens.css 与 themeConfig 从它派生;scripts/check-tokens.mjs 把「palette 30 个色值↔ tokens.css 一致、 子应用无写死颜色」变成可执行门禁(进 verify 链) - eslint 共享配置改用 @typescript-eslint/no-restricted-imports 才有 allowTypeImports (import type { TableProps } from 'antd' 属合法类型引用),并新增 antd 直连禁令: 缺组件就往 packages/ui 补一个 U** 再引用,不绕过共享层 - system 子应用 AccountModal/RoleModal 改成 AccountFormDrawer/RoleFormDrawer (抽屉无遮罩,值即按钮);points/store 两子应用页面逐页迁到共享组件 - platform-core buildMenus 增加 pathByResource 兜底:后端同一 route 被多页面节点复用 时按兜底清单出路径并在控制台点名,正常数据行为不变 - 已知未决(交接):本轮只跑静态门禁,页面视觉与交互由你在 dev 里逐屏验收
Showing
101 changed files
with
986 additions
and
1349 deletions
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/design-tokens/src/palette.ts
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/ui/src/components/App/hooks.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/ui/src/components/App/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/ui/src/components/Empty/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/ui/src/components/Steps/index.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
packages/ui/src/styles/ui.css
0 → 100644
This diff is collapsed.
Click to expand it.
scripts/check-tokens.mjs
0 → 100644
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment