feat(ui): 新增 Caret / SortableList,箭头画法收成一份
- Caret:6px CSS 折角(open 切朝向,size 可调),Menu 与 Select 改为复用它, 两处各自的画法删掉,全库只剩一份 - SortableList:可拖拽排序的条目列表(items / activeKey / onSelect / onReorder), 拖拽位置计算从应用里挪进组件,顺序没变不回调 - 展示页:菜单补「折叠箭头」,新增 #sortable 一节并挂到导航 - COMPONENTS.md 契约 3.48 / 3.49、组件地图、README 清单、变更记录同步
This commit is contained in:
@@ -16,6 +16,7 @@ import { Layouts } from './sections/Layouts'
|
||||
import { SiteChrome } from './sections/SiteChrome'
|
||||
import { Marks } from './sections/Marks'
|
||||
import { MenuSection } from './sections/MenuSection'
|
||||
import { Sortables } from './sections/Sortables'
|
||||
import { Modals } from './sections/Modals'
|
||||
import { Overview } from './sections/Overview'
|
||||
import { PageLayout } from './sections/PageLayout'
|
||||
@@ -83,6 +84,7 @@ const NAV = [
|
||||
{ id: 'breadcrumb', label: '面包屑 Breadcrumb' },
|
||||
{ id: 'tabs', label: '标签页 Tabs' },
|
||||
{ id: 'menu', label: '菜单 Menu' },
|
||||
{ id: 'sortable', label: '排序列表 SortableList' },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -208,6 +210,7 @@ export function App() {
|
||||
<Marks />
|
||||
<Avatars />
|
||||
<Tables />
|
||||
<Sortables />
|
||||
<Results />
|
||||
<Progresses />
|
||||
<StepsSection />
|
||||
|
||||
Reference in New Issue
Block a user