Skip to content

Commit d5159e2

Browse files
authored
release 1.5.6 (#1616)
1 parent d06ff95 commit d5159e2

File tree

38 files changed

+1084
-406
lines changed

38 files changed

+1084
-406
lines changed

packages/devui-vue/devui-cli/commands/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const rollupOptions = {
3333
/^mermaid/,
3434
'xss',
3535
'diff2html',
36+
'echarts',
3637
],
3738
output: {
3839
globals: {

packages/devui-vue/devui-cli/shared/constant.js

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,58 @@ exports.VITEPRESS_SIDEBAR_FILE_EN = resolve(
2929
`config/${this.VITEPRESS_SIDEBAR_FILE_NAME_EN}`
3030
);
3131
// 这里的分类顺序将会影响最终生成的页面侧边栏顺序
32-
exports.VITEPRESS_SIDEBAR_CATEGORY = ['通用', '导航', '反馈', '数据录入', '数据展示', '布局', '演进中'];
32+
exports.VITEPRESS_SIDEBAR_CATEGORY = ['通用', 'DesignToken', '导航', '反馈', '数据录入', '数据展示', '布局', '演进中'];
33+
exports.DESIGN_TOKENS_INFO = [
34+
{
35+
category: 'DesignToken',
36+
text: 'Animation 动效',
37+
status: '100%',
38+
name: 'design-animation',
39+
link: "/components/design-animation/",
40+
},
41+
{
42+
category: 'DesignToken',
43+
text: 'BorderRadius 圆角',
44+
status: '100%',
45+
name: 'design-radius',
46+
link: "/components/design-radius/",
47+
},
48+
{
49+
category: 'DesignToken',
50+
text: 'Color 颜色',
51+
status: '100%',
52+
name: 'design-color',
53+
link: "/components/design-color/",
54+
},
55+
{
56+
category: 'DesignToken',
57+
text: 'Font 字体',
58+
status: '100%',
59+
name: 'design-font',
60+
link: "/components/design-font/",
61+
},
62+
{
63+
category: 'DesignToken',
64+
text: 'Link 链接',
65+
status: '100%',
66+
name: 'design-link',
67+
link: "/components/design-link/",
68+
},
69+
{
70+
category: 'DesignToken',
71+
text: 'Shadow 阴影',
72+
status: '100%',
73+
name: 'design-shadow',
74+
link: "/components/design-shadow/",
75+
},
76+
{
77+
category: 'DesignToken',
78+
text: 'ZIndex 层级',
79+
status: '100%',
80+
name: 'design-zindex',
81+
link: "/components/design-zindex/",
82+
}
83+
];
3384
exports.VITEPRESS_SIDEBAR_CATEGORY_EN = [
3485
'General',
3586
'Navigation',

packages/devui-vue/devui-cli/templates/vitepress-sidebar.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const {
55
VITEPRESS_SIDEBAR_CATEGORY_EN,
66
VITEPRESS_SIDEBAR_CATEGORY_ZH_TO_EN,
77
SITES_COMPONENTS_DIR_NAME_EN,
8+
DESIGN_TOKENS_INFO
89
} = require('../shared/constant');
910
const logger = require('../shared/logger');
1011
const { isReadyToRelease } = require('../shared/utils');
@@ -69,6 +70,10 @@ exports.createVitepressSidebarTemplates = (componentsInfo = []) => {
6970
text: '在 Nuxt3 中使用',
7071
link: '/nuxt3/',
7172
},
73+
{
74+
"text": "Design Token",
75+
"children": DESIGN_TOKENS_INFO
76+
},
7277
],
7378
handler: generateZhMenus,
7479
lang: 'zh',
@@ -87,6 +92,10 @@ exports.createVitepressSidebarTemplates = (componentsInfo = []) => {
8792
text: 'Theme Guide',
8893
link: '/theme-guide/',
8994
},
95+
{
96+
"text": "Design Token",
97+
"children": DESIGN_TOKENS_INFO
98+
},
9099
],
91100
handler: generateEnMenus,
92101
lang: 'en',

packages/devui-vue/devui/alert/src/components/alert-close-icon.tsx

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
const AlertCloseIcon = (): JSX.Element => (
2-
<svg width='10px' height='10px' viewBox='0 0 10 10' version='1.1' xmlns='http://www.w3.org/2000/svg'>
3-
<g stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'>
4-
<g transform='translate(-3.000000, -3.000000)' fill-rule='nonzero'>
5-
<path d='M11.6426,3.19816936 C11.9239974,2.91574512 12.4131626,2.93784891 \
6-
12.7352108,3.24751057 C13.0571998,3.5572302 13.0901298,4.03723416 \
7-
12.8087324,4.31965839 L9.14064666,7.99900183 L12.8087324,11.6803416 \
8-
C13.0645482,11.9370909 13.0605893,12.3571292 12.8158402,12.6640749 \
9-
L12.7352108,12.7524894 C12.4131626,13.0621511 11.9239974,13.0842548 \
10-
11.6426,12.8018306 L8,9.14489021 L4.35740003,12.8018306 C4.10158422,13.05858 \
11-
3.6740594,13.0636532 3.35648225,12.8298003 L3.26478919,12.7524894 \
12-
C2.94280021,12.4427698 2.90987023,11.9627658 3.19126762,11.6803416 \
13-
L6.8583349,7.99900183 L3.19126762,4.31965839 C2.93545181,4.06290908 \
14-
2.93941068,3.64287076 3.18415975,3.3359251 L3.26478919,3.24751057 \
15-
C3.58683735,2.93784891 4.07600264,2.91574512 4.35740003,3.19816936 \
16-
L8,6.85411161 L11.6426,3.19816936 Z'></path>
2+
<svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg">
3+
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
4+
<g transform="translate(-3.000000, -3.000000)" fill-rule="nonzero">
5+
<path
6+
d="M11.6426,3.19816936 C11.9239974,2.91574512 12.4131626,2.93784891 12.7352108,3.24751057 C13.0571998,3.5572302 13.0901298,4.03723416 12.8087324,4.31965839 L9.14064666,7.99900183 L12.8087324,11.6803416 C13.0645482,11.9370909 13.0605893,12.3571292 12.8158402,12.6640749 L12.7352108,12.7524894 C12.4131626,13.0621511 11.9239974,13.0842548 11.6426,12.8018306 L8,9.14489021 L4.35740003,12.8018306 C4.10158422,13.05858 3.6740594,13.0636532 3.35648225,12.8298003 L3.26478919,12.7524894 C2.94280021,12.4427698 2.90987023,11.9627658 3.19126762,11.6803416 L6.8583349,7.99900183 L3.19126762,4.31965839 C2.93545181,4.06290908 2.93941068,3.64287076 3.18415975,3.3359251 L3.26478919,3.24751057 C3.58683735,2.93784891 4.07600264,2.91574512 4.35740003,3.19816936 L8,6.85411161 L11.6426,3.19816936 Z"></path>
177
</g>
188
</g>
199
</svg>

packages/devui-vue/devui/alert/src/components/alert-type-icon.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,12 @@ const AlertTypeIcon = (props: { type: AlertType }): JSX.Element => (
2727
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
2828
<path
2929
class="warning-outer"
30-
d="M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 \
31-
15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 \
32-
14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 \
33-
0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 \
34-
C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 \
35-
C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z"></path>
30+
d="M8.96244623,0.57254229 L15.8714442,13.4101975 C16.1549662,13.9370117 15.9538562,14.5918482 15.4222523,14.8728158 C15.2642579,14.9563203 15.0879506,15 14.9088903,15 L1.09089441,15 C0.488410063,15 0,14.5159904 0,13.9189343 C0,13.7414873 0.0440768395,13.5667684 0.128340519,13.4101975 L7.03733844,0.57254229 C7.32086049,0.0457280838 7.98165058,-0.153569987 8.51325441,0.127397589 C8.70423071,0.228333932 8.8605922,0.383286648 8.96244623,0.57254229 Z"></path>
3631
<path
3732
class="warning-inner"
3833
stroke-width="0.3"
3934
fill-rule="nonzero"
40-
d="M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 \
41-
L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 \
42-
L8.96842105,4.5 L8.62102372,9.86842105 Z"></path>
35+
d="M8.87894737,13 L7.08947368,13 L7.08947368,11.2105263 L8.87894737,11.2105263 L8.87894737,13 Z M8.62102372,9.86842105 L7.32800539,9.86842105 L7,4.5 L8.96842105,4.5 L8.62102372,9.86842105 Z"></path>
4336
</g>
4437
);
4538
case 'info':

packages/devui-vue/devui/avatar/src/components/icon-body.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ export const IconBody = (props: IconPropsType): JSX.Element => {
2222
>
2323
<circle id="Oval" fill="#CACFD8" cx="15" cy="15" r="15"></circle>
2424
<path
25-
d="M14.9997866,16 C12.5145053,16 10.4997866,13.9852814 10.4997866,\
26-
11.5 C10.4997866,9.01471863 12.5145053,7 14.9997866,7 C17.485068,\
27-
7 19.4997866,9.01471863 19.4997866,11.5 C19.4997866,13.9852814 17.485068,\
28-
16 14.9997866,16 Z M23,23 L7,22.998553 C7,19.0122153 10.8892296,\
29-
16.5 14.9997866,16.5 C19.1103437,16.5 23,20 23,23 Z"
25+
d="M14.9997866,16 C12.5145053,16 10.4997866,13.9852814 10.4997866, 11.5 C10.4997866,9.01471863 12.5145053,7 14.9997866,7 C17.485068, 7 19.4997866,9.01471863 19.4997866,11.5 C19.4997866,13.9852814 17.485068, 16 14.9997866,16 Z M23,23 L7,22.998553 C7,19.0122153 10.8892296, 16.5 14.9997866,16.5 C19.1103437,16.5 23,20 23,23 Z"
3026
id="形状结合"
3127
fill="#FFFFFF"
3228
></path>

0 commit comments

Comments
 (0)