@sheinx/theme 3.0.0-alpha.27 → 3.0.0-alpha.29
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/cjs/alert/token.js +4 -1
- package/cjs/alert/type.d.ts +4 -4
- package/cjs/breadcrumb/token.js +6 -1
- package/cjs/breadcrumb/type.d.ts +16 -16
- package/cjs/button/token.js +2 -1
- package/cjs/button/type.d.ts +1 -1
- package/cjs/card/token.js +6 -1
- package/cjs/card/type.d.ts +13 -13
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +1 -0
- package/cjs/cascader/token.js +9 -3
- package/cjs/cascader/type.d.ts +21 -15
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/token.js +5 -1
- package/cjs/checkbox/type.d.ts +13 -13
- package/cjs/collapse/token.js +9 -1
- package/cjs/collapse/type.d.ts +25 -25
- package/cjs/config.d.ts +19 -4
- package/cjs/config.d.ts.map +1 -1
- package/cjs/config.js +50 -10
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +1 -0
- package/cjs/date-picker/token.js +1 -0
- package/cjs/date-picker/type.d.ts +6 -0
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +5 -7
- package/cjs/descriptions/rule.js +3 -3
- package/cjs/descriptions/token.js +33 -24
- package/cjs/descriptions/type.d.ts +41 -53
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/dropdown/token.js +13 -1
- package/cjs/dropdown/type.d.ts +50 -50
- package/cjs/form/token.js +8 -2
- package/cjs/form/type.d.ts +11 -11
- package/cjs/icon/icon.d.ts +2 -2
- package/cjs/icon/icon.d.ts.map +1 -1
- package/cjs/icon/icon.js +2 -2
- package/cjs/icon/token.js +3 -1
- package/cjs/icon/type.d.ts +1 -1
- package/cjs/image/token.js +2 -1
- package/cjs/image/type.d.ts +1 -1
- package/cjs/index.d.ts +3 -1
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +14 -0
- package/cjs/input/token.js +5 -1
- package/cjs/input/type.d.ts +12 -12
- package/cjs/list/token.js +4 -1
- package/cjs/list/type.d.ts +12 -12
- package/cjs/menu/token.js +8 -1
- package/cjs/menu/type.d.ts +29 -29
- package/cjs/message/token.js +3 -1
- package/cjs/message/type.d.ts +5 -5
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +2 -1
- package/cjs/modal/token.js +17 -2
- package/cjs/modal/type.d.ts +34 -28
- package/cjs/modal/type.d.ts.map +1 -1
- package/cjs/popover/token.js +2 -1
- package/cjs/popover/type.d.ts +1 -1
- package/cjs/progress/token.js +6 -1
- package/cjs/progress/type.d.ts +18 -18
- package/cjs/radio/token.js +8 -1
- package/cjs/radio/type.d.ts +14 -14
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +4 -2
- package/cjs/rate/type.d.ts +7 -7
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +1 -0
- package/cjs/select/token.js +7 -2
- package/cjs/select/type.d.ts +17 -11
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +1 -1
- package/cjs/slider/token.js +8 -2
- package/cjs/slider/type.d.ts +25 -25
- package/cjs/slider/type.d.ts.map +1 -1
- package/cjs/spin/token.js +2 -1
- package/cjs/spin/type.d.ts +1 -1
- package/cjs/steps/token.js +2 -1
- package/cjs/steps/type.d.ts +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/token.js +6 -1
- package/cjs/switch/type.d.ts +32 -32
- package/cjs/table/token.js +13 -1
- package/cjs/table/type.d.ts +28 -28
- package/cjs/tabs/token.js +6 -1
- package/cjs/tabs/type.d.ts +7 -7
- package/cjs/tag/token.js +4 -2
- package/cjs/tag/type.d.ts +168 -168
- package/cjs/textarea/token.js +6 -1
- package/cjs/textarea/type.d.ts +29 -29
- package/cjs/tooltip/token.js +4 -2
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/tooltip/type.d.ts +5 -5
- package/cjs/transfer/token.js +3 -1
- package/cjs/transfer/type.d.ts +2 -2
- package/cjs/tree/token.js +5 -1
- package/cjs/tree/type.d.ts +13 -13
- package/cjs/tree-select/token.js +5 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +1 -0
- package/cjs/tree-select/type.d.ts +9 -3
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/utils/css-var.d.ts +1 -0
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +4 -1
- package/cjs/utils/notification.d.ts +16 -0
- package/cjs/utils/notification.d.ts.map +1 -0
- package/cjs/utils/notification.js +52 -0
- package/cjs/utils/token-setter.d.ts +57 -0
- package/cjs/utils/token-setter.d.ts.map +1 -0
- package/cjs/utils/token-setter.js +74 -0
- package/esm/alert/token.js +4 -1
- package/esm/alert/type.d.ts +4 -4
- package/esm/breadcrumb/token.js +6 -1
- package/esm/breadcrumb/type.d.ts +16 -16
- package/esm/button/token.js +2 -1
- package/esm/button/type.d.ts +1 -1
- package/esm/card/token.js +6 -1
- package/esm/card/type.d.ts +13 -13
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +1 -0
- package/esm/cascader/token.js +9 -3
- package/esm/cascader/type.d.ts +21 -15
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/token.js +5 -1
- package/esm/checkbox/type.d.ts +13 -13
- package/esm/collapse/token.js +9 -1
- package/esm/collapse/type.d.ts +25 -25
- package/esm/config.d.ts +19 -4
- package/esm/config.d.ts.map +1 -1
- package/esm/config.js +50 -10
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +1 -0
- package/esm/date-picker/token.js +1 -0
- package/esm/date-picker/type.d.ts +6 -0
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +5 -7
- package/esm/descriptions/rule.js +3 -3
- package/esm/descriptions/token.js +33 -24
- package/esm/descriptions/type.d.ts +41 -53
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/dropdown/token.js +13 -1
- package/esm/dropdown/type.d.ts +50 -50
- package/esm/form/token.js +8 -2
- package/esm/form/type.d.ts +11 -11
- package/esm/icon/icon.d.ts +2 -2
- package/esm/icon/icon.d.ts.map +1 -1
- package/esm/icon/icon.js +2 -2
- package/esm/icon/token.js +3 -1
- package/esm/icon/type.d.ts +1 -1
- package/esm/image/token.js +2 -1
- package/esm/image/type.d.ts +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +14 -0
- package/esm/input/token.js +5 -1
- package/esm/input/type.d.ts +12 -12
- package/esm/list/token.js +4 -1
- package/esm/list/type.d.ts +12 -12
- package/esm/menu/token.js +8 -1
- package/esm/menu/type.d.ts +29 -29
- package/esm/message/token.js +3 -1
- package/esm/message/type.d.ts +5 -5
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +2 -1
- package/esm/modal/token.js +17 -2
- package/esm/modal/type.d.ts +34 -28
- package/esm/modal/type.d.ts.map +1 -1
- package/esm/popover/token.js +2 -1
- package/esm/popover/type.d.ts +1 -1
- package/esm/progress/token.js +6 -1
- package/esm/progress/type.d.ts +18 -18
- package/esm/radio/token.js +8 -1
- package/esm/radio/type.d.ts +14 -14
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +4 -2
- package/esm/rate/type.d.ts +7 -7
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +1 -0
- package/esm/select/token.js +7 -2
- package/esm/select/type.d.ts +17 -11
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +1 -1
- package/esm/slider/token.js +8 -2
- package/esm/slider/type.d.ts +25 -25
- package/esm/slider/type.d.ts.map +1 -1
- package/esm/spin/token.js +2 -1
- package/esm/spin/type.d.ts +1 -1
- package/esm/steps/token.js +2 -1
- package/esm/steps/type.d.ts +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/token.js +6 -1
- package/esm/switch/type.d.ts +32 -32
- package/esm/table/token.js +13 -1
- package/esm/table/type.d.ts +28 -28
- package/esm/tabs/token.js +6 -1
- package/esm/tabs/type.d.ts +7 -7
- package/esm/tag/token.js +4 -2
- package/esm/tag/type.d.ts +168 -168
- package/esm/textarea/token.js +6 -1
- package/esm/textarea/type.d.ts +29 -29
- package/esm/tooltip/token.js +4 -2
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/tooltip/type.d.ts +5 -5
- package/esm/transfer/token.js +3 -1
- package/esm/transfer/type.d.ts +2 -2
- package/esm/tree/token.js +5 -1
- package/esm/tree/type.d.ts +13 -13
- package/esm/tree-select/token.js +5 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +1 -0
- package/esm/tree-select/type.d.ts +9 -3
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/utils/css-var.d.ts +1 -0
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +4 -1
- package/esm/utils/notification.d.ts +16 -0
- package/esm/utils/notification.d.ts.map +1 -0
- package/esm/utils/notification.js +52 -0
- package/esm/utils/token-setter.d.ts +57 -0
- package/esm/utils/token-setter.d.ts.map +1 -0
- package/esm/utils/token-setter.js +74 -0
- package/package.json +1 -1
|
@@ -2,69 +2,27 @@ export interface DescriptionsTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Padding-12
|
|
5
|
-
* @description
|
|
5
|
+
* @description 描述列表标题模式内边距底部
|
|
6
6
|
*/
|
|
7
7
|
descriptionsTitlePaddingBottom: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Padding-12
|
|
11
|
-
* @description
|
|
12
|
-
*/
|
|
13
|
-
descriptionsBorderPaddingTop: string;
|
|
14
|
-
/**
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @token Padding-12
|
|
17
|
-
* @description 描述列表边框内边距undefined
|
|
18
|
-
*/
|
|
19
|
-
descriptionsBorderPaddingBottom: string;
|
|
20
|
-
/**
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @token Padding-8
|
|
23
|
-
* @description 描述列表边框内边距undefined
|
|
24
|
-
*/
|
|
25
|
-
descriptionsBorderPaddingLeft: string;
|
|
26
|
-
/**
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @token Padding-8
|
|
29
|
-
* @description 描述列表边框内边距undefined
|
|
30
|
-
*/
|
|
31
|
-
descriptionsBorderPaddingRight: string;
|
|
32
|
-
/**
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @token Padding-12
|
|
35
|
-
* @description 描述列表标签的内边距undefined
|
|
11
|
+
* @description 描述列表标签的内边距底部
|
|
36
12
|
*/
|
|
37
13
|
descriptionsLabelPaddingBottom: string;
|
|
38
14
|
/**
|
|
39
15
|
* @type {string}
|
|
40
16
|
* @token Padding-8
|
|
41
|
-
* @description
|
|
17
|
+
* @description 描述列表标签的内边距右部
|
|
42
18
|
*/
|
|
43
19
|
descriptionsLabelPaddingRight: string;
|
|
44
20
|
/**
|
|
45
21
|
* @type {string}
|
|
46
22
|
* @token Padding-12
|
|
47
|
-
* @description
|
|
23
|
+
* @description 描述列表值的内边距底部
|
|
48
24
|
*/
|
|
49
25
|
descriptionsValuePaddingBottom: string;
|
|
50
|
-
/**
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @token 12/regular
|
|
53
|
-
* @description 描述列表undefined小尺寸字号
|
|
54
|
-
*/
|
|
55
|
-
descriptionsTableSmallSize: string;
|
|
56
|
-
/**
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @token 14/regular
|
|
59
|
-
* @description 描述列表undefined默认尺寸字号
|
|
60
|
-
*/
|
|
61
|
-
descriptionsTableDefaultSize: string;
|
|
62
|
-
/**
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @token 16/regular
|
|
65
|
-
* @description 描述列表undefined大尺寸字号
|
|
66
|
-
*/
|
|
67
|
-
descriptionsTableLargeSize: string;
|
|
68
26
|
/**
|
|
69
27
|
* @type {string}
|
|
70
28
|
* @token 14/medium
|
|
@@ -89,6 +47,24 @@ export interface DescriptionsTokens {
|
|
|
89
47
|
* @description 描述列表边框默认尺寸字号
|
|
90
48
|
*/
|
|
91
49
|
descriptionsBorderDefaultSize: string;
|
|
50
|
+
/**
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @token 12/regular
|
|
53
|
+
* @description 描述列表字体小尺寸字号
|
|
54
|
+
*/
|
|
55
|
+
descriptionsFontSmallSize: string;
|
|
56
|
+
/**
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @token 14/regular
|
|
59
|
+
* @description 描述列表字体默认尺寸字号
|
|
60
|
+
*/
|
|
61
|
+
descriptionsFontDefaultSize: string;
|
|
62
|
+
/**
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @token 16/regular
|
|
65
|
+
* @description 描述列表字体大尺寸字号
|
|
66
|
+
*/
|
|
67
|
+
descriptionsFontLargeSize: string;
|
|
92
68
|
/**
|
|
93
69
|
* @type {string}
|
|
94
70
|
* @token Neutral-text-4
|
|
@@ -98,7 +74,7 @@ export interface DescriptionsTokens {
|
|
|
98
74
|
/**
|
|
99
75
|
* @type {string}
|
|
100
76
|
* @token Neutral-text-5
|
|
101
|
-
* @description
|
|
77
|
+
* @description 描述列表值的颜色
|
|
102
78
|
*/
|
|
103
79
|
descriptionsValueColor: string;
|
|
104
80
|
/**
|
|
@@ -122,13 +98,13 @@ export interface DescriptionsTokens {
|
|
|
122
98
|
/**
|
|
123
99
|
* @type {string}
|
|
124
100
|
* @token 500
|
|
125
|
-
* @description
|
|
101
|
+
* @description 描述列表标题模式字体字重
|
|
126
102
|
*/
|
|
127
103
|
descriptionsTitleFontWeight: string;
|
|
128
104
|
/**
|
|
129
105
|
* @type {string}
|
|
130
106
|
* @token Size-2
|
|
131
|
-
* @description
|
|
107
|
+
* @description 描述列表标题模式间距
|
|
132
108
|
*/
|
|
133
109
|
descriptionsTitleGap: string;
|
|
134
110
|
/**
|
|
@@ -140,25 +116,37 @@ export interface DescriptionsTokens {
|
|
|
140
116
|
/**
|
|
141
117
|
* @type {string}
|
|
142
118
|
* @token 1px
|
|
143
|
-
* @description
|
|
119
|
+
* @description 描述列表边框右部字号
|
|
144
120
|
*/
|
|
145
121
|
descriptionsBorderRightSize: string;
|
|
146
122
|
/**
|
|
147
123
|
* @type {string}
|
|
148
124
|
* @token 1px
|
|
149
|
-
* @description
|
|
125
|
+
* @description 描述列表边框底部字号
|
|
150
126
|
*/
|
|
151
127
|
descriptionsBorderBottomSize: string;
|
|
152
128
|
/**
|
|
153
129
|
* @type {string}
|
|
154
130
|
* @token Padding-8
|
|
155
|
-
* @description
|
|
131
|
+
* @description 描述列表边框内边距(水平方向)
|
|
132
|
+
*/
|
|
133
|
+
descriptionsBorderPaddingX: string;
|
|
134
|
+
/**
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @token Padding-12
|
|
137
|
+
* @description 描述列表边框内边距(垂直方向)
|
|
138
|
+
*/
|
|
139
|
+
descriptionsBorderPaddingY: string;
|
|
140
|
+
/**
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @token Padding-8
|
|
143
|
+
* @description 描述列表内联边框内边距(水平方向)
|
|
156
144
|
*/
|
|
157
145
|
descriptionsInlineBorderPaddingX: string;
|
|
158
146
|
/**
|
|
159
147
|
* @type {string}
|
|
160
148
|
* @token Padding-12
|
|
161
|
-
* @description
|
|
149
|
+
* @description 描述列表内联边框内边距(垂直方向)
|
|
162
150
|
*/
|
|
163
151
|
descriptionsInlineBorderPaddingY: string;
|
|
164
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;CAC1C"}
|
package/esm/dropdown/token.js
CHANGED
|
@@ -10,7 +10,19 @@
|
|
|
10
10
|
*/
|
|
11
11
|
var dropdownTokenDescription = {
|
|
12
12
|
dropdown: '下拉菜单',
|
|
13
|
-
outline: '线框模式下'
|
|
13
|
+
outline: '线框模式下',
|
|
14
|
+
caret: '箭头icon的',
|
|
15
|
+
left: '(左侧)',
|
|
16
|
+
list: '列表',
|
|
17
|
+
box: '',
|
|
18
|
+
shadow: '阴影',
|
|
19
|
+
option: '选项',
|
|
20
|
+
select: '选中状态的',
|
|
21
|
+
group: '分组',
|
|
22
|
+
top: '(顶部)',
|
|
23
|
+
bottom: '(底部)',
|
|
24
|
+
column: '多列平铺模式下每列的',
|
|
25
|
+
divider: '分割线'
|
|
14
26
|
};
|
|
15
27
|
|
|
16
28
|
/**
|
package/esm/dropdown/type.d.ts
CHANGED
|
@@ -2,301 +2,301 @@ export interface DropdownTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Margin-4
|
|
5
|
-
* @description
|
|
5
|
+
* @description 下拉菜单箭头icon的外边距(左侧)
|
|
6
6
|
*/
|
|
7
7
|
dropdownCaretMarginLeft: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Radius-4
|
|
11
|
-
* @description
|
|
11
|
+
* @description 下拉菜单列表边框圆角
|
|
12
12
|
*/
|
|
13
13
|
dropdownListBorderRadius: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Padding-4
|
|
17
|
-
* @description
|
|
17
|
+
* @description 下拉菜单列表内边距(水平方向)
|
|
18
18
|
*/
|
|
19
19
|
dropdownListPaddingX: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Padding-4
|
|
23
|
-
* @description
|
|
23
|
+
* @description 下拉菜单列表内边距(垂直方向)
|
|
24
24
|
*/
|
|
25
25
|
dropdownListPaddingY: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token 14/regular
|
|
29
|
-
* @description
|
|
29
|
+
* @description 下拉菜单列表字体字号
|
|
30
30
|
*/
|
|
31
31
|
dropdownListFontSize: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Radius-4
|
|
35
|
-
* @description
|
|
35
|
+
* @description 下拉菜单列表小尺寸边框圆角
|
|
36
36
|
*/
|
|
37
37
|
dropdownListSmallBorderRadius: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Padding-4
|
|
41
|
-
* @description
|
|
41
|
+
* @description 下拉菜单列表小尺寸内边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
dropdownListSmallPaddingX: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Padding-4
|
|
47
|
-
* @description
|
|
47
|
+
* @description 下拉菜单列表小尺寸内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
dropdownListSmallPaddingY: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token 12/regular
|
|
53
|
-
* @description
|
|
53
|
+
* @description 下拉菜单列表小尺寸字体字号
|
|
54
54
|
*/
|
|
55
55
|
dropdownListSmallFontSize: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Radius-4
|
|
59
|
-
* @description
|
|
59
|
+
* @description 下拉菜单列表大尺寸边框圆角
|
|
60
60
|
*/
|
|
61
61
|
dropdownListLargeBorderRadius: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Padding-4
|
|
65
|
-
* @description
|
|
65
|
+
* @description 下拉菜单列表大尺寸内边距(水平方向)
|
|
66
66
|
*/
|
|
67
67
|
dropdownListLargePaddingX: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token Padding-4
|
|
71
|
-
* @description
|
|
71
|
+
* @description 下拉菜单列表大尺寸内边距(垂直方向)
|
|
72
72
|
*/
|
|
73
73
|
dropdownListLargePaddingY: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token 16/regular
|
|
77
|
-
* @description
|
|
77
|
+
* @description 下拉菜单列表大尺寸字体字号
|
|
78
78
|
*/
|
|
79
79
|
dropdownListLargeFontSize: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token Neutral-fill-1
|
|
83
|
-
* @description
|
|
83
|
+
* @description 下拉菜单列表背景颜色
|
|
84
84
|
*/
|
|
85
85
|
dropdownListBackgroundColor: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token Neutral-border-1
|
|
89
|
-
* @description
|
|
89
|
+
* @description 下拉菜单列表边框颜色
|
|
90
90
|
*/
|
|
91
91
|
dropdownListBorderColor: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Neutral-text-5
|
|
95
|
-
* @description
|
|
95
|
+
* @description 下拉菜单列表字体颜色
|
|
96
96
|
*/
|
|
97
97
|
dropdownListFontColor: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Shadow-2
|
|
101
|
-
* @description
|
|
101
|
+
* @description 下拉菜单列表阴影
|
|
102
102
|
*/
|
|
103
103
|
dropdownListBoxShadow: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @token Border-1
|
|
107
|
-
* @description
|
|
107
|
+
* @description 下拉菜单列表边框宽度
|
|
108
108
|
*/
|
|
109
109
|
dropdownListBorderWidth: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
112
|
* @token Padding-8
|
|
113
|
-
* @description
|
|
113
|
+
* @description 下拉菜单选项内边距(水平方向)
|
|
114
114
|
*/
|
|
115
115
|
dropdownOptionPaddingX: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
118
|
* @token Padding-5
|
|
119
|
-
* @description
|
|
119
|
+
* @description 下拉菜单选项内边距(垂直方向)
|
|
120
120
|
*/
|
|
121
121
|
dropdownOptionPaddingY: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
124
|
* @token Padding-8
|
|
125
|
-
* @description
|
|
125
|
+
* @description 下拉菜单选项小尺寸内边距(水平方向)
|
|
126
126
|
*/
|
|
127
127
|
dropdownOptionSmallPaddingX: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @token Padding-2
|
|
131
|
-
* @description
|
|
131
|
+
* @description 下拉菜单选项小尺寸内边距(垂直方向)
|
|
132
132
|
*/
|
|
133
133
|
dropdownOptionSmallPaddingY: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
136
|
* @token Padding-12
|
|
137
|
-
* @description
|
|
137
|
+
* @description 下拉菜单选项大尺寸内边距(水平方向)
|
|
138
138
|
*/
|
|
139
139
|
dropdownOptionLargePaddingX: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
142
|
* @token Padding-8
|
|
143
|
-
* @description
|
|
143
|
+
* @description 下拉菜单选项大尺寸内边距(垂直方向)
|
|
144
144
|
*/
|
|
145
145
|
dropdownOptionLargePaddingY: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
148
|
* @token Neutral-fill-1
|
|
149
|
-
* @description
|
|
149
|
+
* @description 下拉菜单选项背景颜色
|
|
150
150
|
*/
|
|
151
151
|
dropdownOptionBackgroundColor: string;
|
|
152
152
|
/**
|
|
153
153
|
* @type {string}
|
|
154
154
|
* @token Neutral-text-5
|
|
155
|
-
* @description
|
|
155
|
+
* @description 下拉菜单选项字体颜色
|
|
156
156
|
*/
|
|
157
157
|
dropdownOptionFontColor: string;
|
|
158
158
|
/**
|
|
159
159
|
* @type {string}
|
|
160
160
|
* @token Neutral-fill-2
|
|
161
|
-
* @description
|
|
161
|
+
* @description 下拉菜单选项鼠标移入时的背景颜色
|
|
162
162
|
*/
|
|
163
163
|
dropdownOptionHoverBackgroundColor: string;
|
|
164
164
|
/**
|
|
165
165
|
* @type {string}
|
|
166
166
|
* @token Neutral-text-5
|
|
167
|
-
* @description
|
|
167
|
+
* @description 下拉菜单选项鼠标移入时的字体颜色
|
|
168
168
|
*/
|
|
169
169
|
dropdownOptionHoverFontColor: string;
|
|
170
170
|
/**
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @token Neutral-fill-3
|
|
173
|
-
* @description
|
|
173
|
+
* @description 下拉菜单选项鼠标点击时的背景颜色
|
|
174
174
|
*/
|
|
175
175
|
dropdownOptionActiveBackgroundColor: string;
|
|
176
176
|
/**
|
|
177
177
|
* @type {string}
|
|
178
178
|
* @token Neutral-text-5
|
|
179
|
-
* @description
|
|
179
|
+
* @description 下拉菜单选项鼠标点击时的字体颜色
|
|
180
180
|
*/
|
|
181
181
|
dropdownOptionActiveFontColor: string;
|
|
182
182
|
/**
|
|
183
183
|
* @type {string}
|
|
184
184
|
* @token Brand-1
|
|
185
|
-
* @description
|
|
185
|
+
* @description 下拉菜单选项选中状态的背景颜色
|
|
186
186
|
*/
|
|
187
187
|
dropdownOptionSelectBackgroundColor: string;
|
|
188
188
|
/**
|
|
189
189
|
* @type {string}
|
|
190
190
|
* @token Brand-6
|
|
191
|
-
* @description
|
|
191
|
+
* @description 下拉菜单选项选中状态的字体颜色
|
|
192
192
|
*/
|
|
193
193
|
dropdownOptionSelectFontColor: string;
|
|
194
194
|
/**
|
|
195
195
|
* @type {string}
|
|
196
196
|
* @token Neutral-fill-1
|
|
197
|
-
* @description
|
|
197
|
+
* @description 下拉菜单选项禁用时的背景颜色
|
|
198
198
|
*/
|
|
199
199
|
dropdownOptionDisabledBackgroundColor: string;
|
|
200
200
|
/**
|
|
201
201
|
* @type {string}
|
|
202
202
|
* @token Neutral-text-2
|
|
203
|
-
* @description
|
|
203
|
+
* @description 下拉菜单选项禁用时的字体颜色
|
|
204
204
|
*/
|
|
205
205
|
dropdownOptionDisabledFontColor: string;
|
|
206
206
|
/**
|
|
207
207
|
* @type {string}
|
|
208
208
|
* @token Padding-4
|
|
209
|
-
* @description
|
|
209
|
+
* @description 下拉菜单多列平铺模式下每列的内边距(水平方向)
|
|
210
210
|
*/
|
|
211
211
|
dropdownColumnPaddingX: string;
|
|
212
212
|
/**
|
|
213
213
|
* @type {string}
|
|
214
214
|
* @token Padding-4
|
|
215
|
-
* @description
|
|
215
|
+
* @description 下拉菜单多列平铺模式下每列的内边距(垂直方向)
|
|
216
216
|
*/
|
|
217
217
|
dropdownColumnPaddingY: string;
|
|
218
218
|
/**
|
|
219
219
|
* @type {string}
|
|
220
220
|
* @token Padding-8
|
|
221
|
-
* @description
|
|
221
|
+
* @description 下拉菜单选项分组内边距(水平方向)
|
|
222
222
|
*/
|
|
223
223
|
dropdownOptionGroupPaddingX: string;
|
|
224
224
|
/**
|
|
225
225
|
* @type {string}
|
|
226
226
|
* @token Padding-10
|
|
227
|
-
* @description
|
|
227
|
+
* @description 下拉菜单选项分组内边距(顶部)
|
|
228
228
|
*/
|
|
229
229
|
dropdownOptionGroupPaddingTop: string;
|
|
230
230
|
/**
|
|
231
231
|
* @type {string}
|
|
232
232
|
* @token Padding-2
|
|
233
|
-
* @description
|
|
233
|
+
* @description 下拉菜单选项分组内边距(底部)
|
|
234
234
|
*/
|
|
235
235
|
dropdownOptionGroupPaddingBottom: string;
|
|
236
236
|
/**
|
|
237
237
|
* @type {string}
|
|
238
238
|
* @token 12/regular
|
|
239
|
-
* @description
|
|
239
|
+
* @description 下拉菜单选项分组字体字号
|
|
240
240
|
*/
|
|
241
241
|
dropdownOptionGroupFontSize: string;
|
|
242
242
|
/**
|
|
243
243
|
* @type {string}
|
|
244
244
|
* @token Neutral-text-3
|
|
245
|
-
* @description
|
|
245
|
+
* @description 下拉菜单选项分组字体颜色
|
|
246
246
|
*/
|
|
247
247
|
dropdownOptionGroupFontColor: string;
|
|
248
248
|
/**
|
|
249
249
|
* @type {string}
|
|
250
250
|
* @token Padding-8
|
|
251
|
-
* @description
|
|
251
|
+
* @description 下拉菜单选项分组小尺寸(水平方向)
|
|
252
252
|
*/
|
|
253
253
|
dropdownOptionGroupSmallX: string;
|
|
254
254
|
/**
|
|
255
255
|
* @type {string}
|
|
256
256
|
* @token Padding-4
|
|
257
|
-
* @description
|
|
257
|
+
* @description 下拉菜单选项分组小尺寸(顶部)
|
|
258
258
|
*/
|
|
259
259
|
dropdownOptionGroupSmallTop: string;
|
|
260
260
|
/**
|
|
261
261
|
* @type {string}
|
|
262
262
|
* @token Padding-12
|
|
263
|
-
* @description
|
|
263
|
+
* @description 下拉菜单选项分组大尺寸(水平方向)
|
|
264
264
|
*/
|
|
265
265
|
dropdownOptionGroupLargeX: string;
|
|
266
266
|
/**
|
|
267
267
|
* @type {string}
|
|
268
268
|
* @token Padding-14
|
|
269
|
-
* @description
|
|
269
|
+
* @description 下拉菜单选项分组大尺寸(顶部)
|
|
270
270
|
*/
|
|
271
271
|
dropdownOptionGroupLargeTop: string;
|
|
272
272
|
/**
|
|
273
273
|
* @type {string}
|
|
274
274
|
* @token Padding-4
|
|
275
|
-
* @description
|
|
275
|
+
* @description 下拉菜单选项分组大尺寸(底部)
|
|
276
276
|
*/
|
|
277
277
|
dropdownOptionGroupLargeBottom: string;
|
|
278
278
|
/**
|
|
279
279
|
* @type {string}
|
|
280
280
|
* @token Neutral-border-1
|
|
281
|
-
* @description
|
|
281
|
+
* @description 下拉菜单选项分割线背景颜色
|
|
282
282
|
*/
|
|
283
283
|
dropdownOptionDividerBackgroundColor: string;
|
|
284
284
|
/**
|
|
285
285
|
* @type {string}
|
|
286
286
|
* @token Padding-8
|
|
287
|
-
* @description
|
|
287
|
+
* @description 下拉菜单选项分割线内边距(水平方向)
|
|
288
288
|
*/
|
|
289
289
|
dropdownOptionDividerPaddingX: string;
|
|
290
290
|
/**
|
|
291
291
|
* @type {string}
|
|
292
292
|
* @token Padding-2
|
|
293
|
-
* @description
|
|
293
|
+
* @description 下拉菜单选项分割线内边距(垂直方向)
|
|
294
294
|
*/
|
|
295
295
|
dropdownOptionDividerPaddingY: string;
|
|
296
296
|
/**
|
|
297
297
|
* @type {string}
|
|
298
298
|
* @token Border-1
|
|
299
|
-
* @description
|
|
299
|
+
* @description 下拉菜单选项分割线高度
|
|
300
300
|
*/
|
|
301
301
|
dropdownOptionDividerHeight: string;
|
|
302
302
|
}
|
package/esm/form/token.js
CHANGED
|
@@ -9,10 +9,16 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var formTokenDescription = {
|
|
12
|
-
form: '
|
|
12
|
+
form: '表单',
|
|
13
13
|
horizontal: '水平模式',
|
|
14
14
|
vertical: '垂直模式',
|
|
15
|
-
text: '带文字'
|
|
15
|
+
text: '带文字',
|
|
16
|
+
item: '项',
|
|
17
|
+
end: '(后部)',
|
|
18
|
+
start: '(前部)',
|
|
19
|
+
label: '标签',
|
|
20
|
+
tip: '提示信息',
|
|
21
|
+
min: '最小'
|
|
16
22
|
};
|
|
17
23
|
|
|
18
24
|
/**
|
package/esm/form/type.d.ts
CHANGED
|
@@ -2,67 +2,67 @@ export interface FormTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token 14/regular
|
|
5
|
-
* @description
|
|
5
|
+
* @description 表单项字体字号
|
|
6
6
|
*/
|
|
7
7
|
formItemFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-text-5
|
|
11
|
-
* @description
|
|
11
|
+
* @description 表单项字体颜色
|
|
12
12
|
*/
|
|
13
13
|
formItemFontColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Margin-12
|
|
17
|
-
* @description
|
|
17
|
+
* @description 表单项外边距(垂直方向)(后部)
|
|
18
18
|
*/
|
|
19
19
|
formItemMarginYEnd: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Margin-16
|
|
23
|
-
* @description
|
|
23
|
+
* @description 表单项外边距(水平方向)(后部)
|
|
24
24
|
*/
|
|
25
25
|
formItemMarginXEnd: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token 140px
|
|
29
|
-
* @description
|
|
29
|
+
* @description 表单项标签宽度
|
|
30
30
|
*/
|
|
31
31
|
formItemLabelWidth: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Padding-5
|
|
35
|
-
* @description
|
|
35
|
+
* @description 表单项标签内边距(垂直方向)
|
|
36
36
|
*/
|
|
37
37
|
formItemLabelPaddingY: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Margin-8
|
|
41
|
-
* @description
|
|
41
|
+
* @description 表单项标签外边距(水平方向)(后部)
|
|
42
42
|
*/
|
|
43
43
|
formItemLabelMarginXEnd: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Danger-6
|
|
47
|
-
* @description
|
|
47
|
+
* @description 表单项危险色颜色
|
|
48
48
|
*/
|
|
49
49
|
formItemDangerColor: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token 20px
|
|
53
|
-
* @description
|
|
53
|
+
* @description 表单项提示信息最小高度
|
|
54
54
|
*/
|
|
55
55
|
formItemTipMinHeight: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token 12/regular
|
|
59
|
-
* @description
|
|
59
|
+
* @description 表单项提示信息字体字号
|
|
60
60
|
*/
|
|
61
61
|
formItemTipFontSize: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Neutral-text-3
|
|
65
|
-
* @description
|
|
65
|
+
* @description 表单项提示信息字体颜色
|
|
66
66
|
*/
|
|
67
67
|
formItemTipFontColor: string;
|
|
68
68
|
}
|
package/esm/icon/icon.d.ts
CHANGED
package/esm/icon/icon.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["icon.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["icon.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAWjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/icon/icon.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var iconTokens = {
|
|
11
11
|
iconFontSize: '14/regular',
|
|
12
12
|
iconSmallFontSize: '12/regular',
|
|
13
13
|
iconLargeFontSize: '16/regular',
|
|
@@ -19,5 +19,5 @@ var icon = {
|
|
|
19
19
|
iconWarningFontColor: 'Warning-5',
|
|
20
20
|
iconDangerFontColor: 'Danger-5'
|
|
21
21
|
};
|
|
22
|
-
var _default =
|
|
22
|
+
var _default = iconTokens;
|
|
23
23
|
exports.default = _default;
|