@douyinfe/semi-ui 2.5.0 → 2.5.1
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/button/index.tsx +1 -1
- package/dist/css/semi.css +6 -2
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +59 -56
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/form/__test__/formApi.test.js +182 -0
- package/form/_story/FormApi/arrayDemo.jsx +4 -7
- package/form/_story/Layout/slotDemo.jsx +2 -2
- package/form/_story/demo.jsx +18 -1
- package/form/_story/form.stories.js +6 -6
- package/form/baseForm.tsx +2 -2
- package/lib/cjs/button/Button.d.ts +4 -4
- package/lib/cjs/button/buttonGroup.d.ts +2 -2
- package/lib/cjs/button/index.d.ts +5 -6
- package/lib/cjs/form/baseForm.js +2 -2
- package/lib/cjs/iconButton/index.d.ts +2 -2
- package/lib/cjs/tooltip/index.js +6 -2
- package/lib/es/button/Button.d.ts +4 -4
- package/lib/es/button/buttonGroup.d.ts +2 -2
- package/lib/es/button/index.d.ts +5 -6
- package/lib/es/form/baseForm.js +2 -2
- package/lib/es/iconButton/index.d.ts +2 -2
- package/lib/es/tooltip/index.js +6 -2
- package/package.json +9 -9
- package/table/_story/Perf/Virtualized/index.jsx +6 -0
- package/table/_story/v2/FixedHeaderMerge/index.jsx +1 -1
- package/table/_story/v2/defaultFilteredValue.tsx +0 -9
- package/tooltip/_story/tooltip.stories.js +702 -625
- package/tooltip/index.tsx +2 -2
|
@@ -59,14 +59,6 @@ function App() {
|
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
title: '更新日期',
|
|
65
|
-
dataIndex: 'updateTime',
|
|
66
|
-
sorter: (a, b) => a.updateTime - b.updateTime > 0 ? 1 : -1,
|
|
67
|
-
render: (value) => {
|
|
68
|
-
return dateFns.format(new Date(value), 'yyyy-MM-dd');
|
|
69
|
-
}
|
|
70
62
|
}
|
|
71
63
|
];
|
|
72
64
|
|
|
@@ -80,7 +72,6 @@ function App() {
|
|
|
80
72
|
name: isSemiDesign ? `Semi Design 设计稿${i}.fig` : `Semi Pro 设计稿${i}.fig`,
|
|
81
73
|
owner: isSemiDesign ? '姜鹏志' : '郝宣',
|
|
82
74
|
size: randomNumber,
|
|
83
|
-
updateTime: new Date().valueOf() + randomNumber * DAY,
|
|
84
75
|
avatarBg: isSemiDesign ? 'grey' : 'red'
|
|
85
76
|
});
|
|
86
77
|
}
|