@a2simcode/ui 0.0.129 → 0.0.130
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/dist/components/title/index.d.ts +3 -0
- package/dist/components/title/src/title.vue.d.ts +5 -0
- package/dist/simcode-ui.es.js +3 -2
- package/dist/simcode-ui.umd.js +1 -1
- package/dist/stats.html +1 -1
- package/docs/components/meta/title.ts +80 -80
- package/docs/examples/title/basic.vue +7 -0
- package/package.json +1 -1
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"props": [
|
|
3
|
-
{
|
|
4
|
-
"name": "title",
|
|
5
|
-
"description": "标题文本内容",
|
|
6
|
-
"type": "string",
|
|
7
|
-
"default": "''"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"name": "style",
|
|
11
|
-
"description": "自定义样式对象",
|
|
12
|
-
"type": "Record",
|
|
13
|
-
"default": "undefined"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "class",
|
|
17
|
-
"description": "自定义类名",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"default": "undefined"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"name": "color",
|
|
23
|
-
"description": "文本颜色",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"default": "undefined"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "size",
|
|
29
|
-
"description": "字体大小,支持数字(px)或字符串",
|
|
30
|
-
"type": "number | string",
|
|
31
|
-
"default": "undefined"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "weight",
|
|
35
|
-
"description": "字体粗细 (normal | bold | bolder | lighter | 100-900)",
|
|
36
|
-
"type": "string | number",
|
|
37
|
-
"default": "'normal'"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"events": [],
|
|
41
|
-
"slots": [],
|
|
42
|
-
"methods": [],
|
|
43
|
-
"types": [
|
|
44
|
-
{
|
|
45
|
-
"name": "TitleProps",
|
|
46
|
-
"properties": [
|
|
47
|
-
{
|
|
48
|
-
"name": "title",
|
|
49
|
-
"type": "string",
|
|
50
|
-
"description": "标题文本内容"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "style",
|
|
54
|
-
"type": "Record<string, any>",
|
|
55
|
-
"description": "自定义样式对象"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "class",
|
|
59
|
-
"type": "string",
|
|
60
|
-
"description": "自定义类名"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "color",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"description": "文本颜色"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "size",
|
|
69
|
-
"type": "number | string",
|
|
70
|
-
"description": "字体大小,支持数字(px)或字符串"
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"name": "weight",
|
|
74
|
-
"type": "string | number",
|
|
75
|
-
"description": "字体粗细 (normal | bold | bolder | lighter | 100-900)"
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
]
|
|
80
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
"props": [
|
|
3
|
+
{
|
|
4
|
+
"name": "title",
|
|
5
|
+
"description": "标题文本内容",
|
|
6
|
+
"type": "string",
|
|
7
|
+
"default": "''"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "style",
|
|
11
|
+
"description": "自定义样式对象",
|
|
12
|
+
"type": "Record",
|
|
13
|
+
"default": "undefined"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "class",
|
|
17
|
+
"description": "自定义类名",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"default": "undefined"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "color",
|
|
23
|
+
"description": "文本颜色",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"default": "undefined"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "size",
|
|
29
|
+
"description": "字体大小,支持数字(px)或字符串",
|
|
30
|
+
"type": "number | string",
|
|
31
|
+
"default": "undefined"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "weight",
|
|
35
|
+
"description": "字体粗细 (normal | bold | bolder | lighter | 100-900)",
|
|
36
|
+
"type": "string | number",
|
|
37
|
+
"default": "'normal'"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"events": [],
|
|
41
|
+
"slots": [],
|
|
42
|
+
"methods": [],
|
|
43
|
+
"types": [
|
|
44
|
+
{
|
|
45
|
+
"name": "TitleProps",
|
|
46
|
+
"properties": [
|
|
47
|
+
{
|
|
48
|
+
"name": "title",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"description": "标题文本内容"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "style",
|
|
54
|
+
"type": "Record<string, any>",
|
|
55
|
+
"description": "自定义样式对象"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "class",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "自定义类名"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "color",
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "文本颜色"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "size",
|
|
69
|
+
"type": "number | string",
|
|
70
|
+
"description": "字体大小,支持数字(px)或字符串"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "weight",
|
|
74
|
+
"type": "string | number",
|
|
75
|
+
"description": "字体粗细 (normal | bold | bolder | lighter | 100-900)"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
<j-title title="这是一个标题" />
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
|
+
<div class="demo-item">
|
|
9
|
+
<p>设置对齐方式</p>
|
|
10
|
+
<j-title title="左对齐" align="left" />
|
|
11
|
+
<j-title title="居中对齐" align="center" />
|
|
12
|
+
<j-title title="右对齐" align="right" />
|
|
13
|
+
</div>
|
|
14
|
+
|
|
8
15
|
<div class="demo-item">
|
|
9
16
|
<p>设置颜色</p>
|
|
10
17
|
<j-title title="蓝色标题" color="#1890ff" />
|