@@ -10,11 +10,13 @@ export default {
10
10
type : 'string' ,
11
11
defaultValue : "'solid'" ,
12
12
desc : {
13
- 'zh-CN' : '设置分隔线的样式,该属性的可选值为 solid / dashed' ,
14
- 'en-US' : 'Set the style of the separator line, with optional values of solid/dashed for this property'
13
+ 'zh-CN' : '设置分隔线的样式,该属性的可选值为 solid / dashed / dotted' ,
14
+ 'en-US' :
15
+ 'Set the style of the separator line, with optional values of solid/dashed/dotted for this property'
15
16
} ,
16
- mode : [ 'pc' ] ,
17
- pcDemo : 'custom-style'
17
+ mode : [ 'pc' , 'mobile-first' ] ,
18
+ pcDemo : 'custom-style' ,
19
+ mfDemo : 'type'
18
20
} ,
19
21
{
20
22
name : 'color' ,
@@ -24,8 +26,9 @@ export default {
24
26
'zh-CN' : '设置分隔线的颜色' ,
25
27
'en-US' : 'Set the color of the divider.'
26
28
} ,
27
- mode : [ 'pc' ] ,
28
- pcDemo : 'custom-style'
29
+ mode : [ 'pc' , 'mobile-first' ] ,
30
+ pcDemo : 'custom-style' ,
31
+ mfDemo : 'color'
29
32
} ,
30
33
{
31
34
name : 'content-background-color' ,
@@ -58,8 +61,9 @@ export default {
58
61
'en-US' :
59
62
'Set the position of the separator text, with optional values of left/center/right for this attribute'
60
63
} ,
61
- mode : [ 'pc' ] ,
62
- pcDemo : 'content-position'
64
+ mode : [ 'pc' , 'mobile-first' ] ,
65
+ pcDemo : 'content-position' ,
66
+ mfDemo : 'content-position'
63
67
} ,
64
68
{
65
69
name : 'direction' ,
@@ -70,8 +74,83 @@ export default {
70
74
'en-US' :
71
75
'Set the direction of the divider; the possible values for this property are "horizontal" or "vertical"'
72
76
} ,
77
+ mode : [ 'pc' , 'mobile-first' ] ,
78
+ pcDemo : 'direction' ,
79
+ mfDemo : 'vertical'
80
+ } ,
81
+ {
82
+ name : 'margin' ,
83
+ type : 'string' ,
84
+ defaultValue : '' ,
85
+ desc : {
86
+ 'zh-CN' : '设置分割线上下左右的边距' ,
87
+ 'en-US' : 'Sets the margins of the split line'
88
+ } ,
89
+ meta : {
90
+ stable : '3.21.0'
91
+ } ,
92
+ mode : [ 'pc' , 'mobile-first' ] ,
93
+ pcDemo : 'custom-style' ,
94
+ mfDemo : 'divider-margin'
95
+ } ,
96
+ {
97
+ name : 'offset' ,
98
+ type : 'string' ,
99
+ defaultValue : '' ,
100
+ desc : {
101
+ 'zh-CN' : '设置文本位置偏移量,需同时配合`text-position`属性使用,以确定偏移的方向' ,
102
+ 'en-US' :
103
+ 'Sets the text position offset. This parameter must be used together with the `text-position` attribute to determine the offset direction'
104
+ } ,
105
+ meta : {
106
+ stable : '3.21.0'
107
+ } ,
108
+ mode : [ 'pc' , 'mobile-first' ] ,
109
+ pcDemo : 'content-position' ,
110
+ mfDemo : 'offset'
111
+ } ,
112
+ {
113
+ name : 'height' ,
114
+ type : 'string' ,
115
+ defaultValue : '' ,
116
+ desc : {
117
+ 'zh-CN' : '设置整体的高度' ,
118
+ 'en-US' : 'Sets the overall height'
119
+ } ,
120
+ meta : {
121
+ stable : '3.21.0'
122
+ } ,
123
+ mode : [ 'pc' ] ,
124
+ pcDemo : 'custom-style'
125
+ } ,
126
+ {
127
+ name : 'font-size' ,
128
+ type : 'string' ,
129
+ defaultValue : '14px' ,
130
+ desc : {
131
+ 'zh-CN' : '文本字体大小' ,
132
+ 'en-US' : 'Text font size'
133
+ } ,
134
+ meta : {
135
+ stable : '3.21.0'
136
+ } ,
73
137
mode : [ 'pc' ] ,
74
- pcDemo : 'direction'
138
+ pcDemo : 'custom-style'
139
+ } ,
140
+ {
141
+ name : 'status' ,
142
+ type : 'string' ,
143
+ defaultValue : '' ,
144
+ desc : {
145
+ 'zh-CN' : '分割线状态' ,
146
+ 'en-US' : 'Splitting Line Status'
147
+ } ,
148
+ meta : {
149
+ stable : '3.21.0'
150
+ } ,
151
+ mode : [ 'pc' , 'mobile-first' ] ,
152
+ pcDemo : 'status' ,
153
+ mfDemo : 'status'
75
154
}
76
155
] ,
77
156
events : [ ] ,
0 commit comments