@sheinx/theme 3.1.0-rc.2 → 3.1.0
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/LICENSE +21 -0
- package/cjs/alert/alert.js +5 -5
- package/cjs/alert/token.js +5 -5
- package/cjs/alert/type.d.ts +5 -5
- package/cjs/breadcrumb/breadcrumb.js +6 -6
- package/cjs/breadcrumb/token.js +6 -6
- package/cjs/breadcrumb/type.d.ts +6 -6
- package/cjs/button/button.js +5 -5
- package/cjs/button/token.js +6 -6
- package/cjs/card/card.js +5 -5
- package/cjs/card/token.js +6 -6
- package/cjs/card/type.d.ts +5 -5
- package/cjs/card-group/card-group.js +1 -1
- package/cjs/card-group/token.js +1 -1
- package/cjs/card-group/type.d.ts +1 -1
- package/cjs/carousel/carousel.js +5 -5
- package/cjs/carousel/token.js +5 -5
- package/cjs/carousel/type.d.ts +5 -5
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +33 -34
- package/cjs/cascader/token.js +34 -35
- package/cjs/cascader/type.d.ts +33 -39
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.js +8 -7
- package/cjs/checkbox/token.js +10 -7
- package/cjs/checkbox/type.d.ts +13 -7
- package/cjs/checkbox/type.d.ts.map +1 -1
- package/cjs/collapse/collapse.js +7 -7
- package/cjs/collapse/token.js +7 -7
- package/cjs/collapse/type.d.ts +7 -7
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +36 -49
- package/cjs/date-picker/token.js +36 -89
- package/cjs/date-picker/type.d.ts +36 -114
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +14 -14
- package/cjs/descriptions/token.js +14 -14
- package/cjs/descriptions/type.d.ts +14 -14
- package/cjs/divider/divider.js +4 -4
- package/cjs/divider/token.js +4 -4
- package/cjs/divider/type.d.ts +4 -4
- package/cjs/dropdown/dropdown.js +29 -29
- package/cjs/dropdown/token.js +29 -29
- package/cjs/dropdown/type.d.ts +29 -29
- package/cjs/editable-area/editable-area.js +1 -1
- package/cjs/editable-area/token.js +1 -1
- package/cjs/editable-area/type.d.ts +1 -1
- package/cjs/empty/empty.js +1 -1
- package/cjs/empty/token.js +1 -1
- package/cjs/empty/type.d.ts +1 -1
- package/cjs/form/form.js +7 -7
- package/cjs/form/token.js +7 -7
- package/cjs/form/type.d.ts +7 -7
- package/cjs/icon/icon.js +3 -3
- package/cjs/icon/token.js +3 -3
- package/cjs/icon/type.d.ts +3 -3
- package/cjs/image/image.js +2 -2
- package/cjs/image/token.js +2 -2
- package/cjs/image/type.d.ts +2 -2
- package/cjs/index.d.ts +3 -3
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +9 -9
- package/cjs/input/input.js +18 -18
- package/cjs/input/token.js +18 -18
- package/cjs/input/type.d.ts +18 -18
- package/cjs/list/list.js +8 -8
- package/cjs/list/token.js +8 -8
- package/cjs/list/type.d.ts +8 -8
- package/cjs/menu/menu.js +1 -1
- package/cjs/menu/token.js +1 -1
- package/cjs/menu/type.d.ts +1 -1
- package/cjs/message/message.js +1 -1
- package/cjs/message/token.js +1 -1
- package/cjs/message/type.d.ts +1 -1
- package/cjs/modal/modal.js +14 -14
- package/cjs/modal/token.js +14 -14
- package/cjs/modal/type.d.ts +14 -14
- package/cjs/pagination/pagination.js +4 -4
- package/cjs/pagination/token.js +4 -4
- package/cjs/pagination/type.d.ts +4 -4
- package/cjs/popover/popover.js +5 -5
- package/cjs/popover/token.js +5 -5
- package/cjs/popover/type.d.ts +5 -5
- package/cjs/progress/progress.js +5 -5
- package/cjs/progress/token.js +5 -5
- package/cjs/progress/type.d.ts +5 -5
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +9 -10
- package/cjs/radio/token.js +9 -12
- package/cjs/radio/type.d.ts +9 -15
- package/cjs/radio/type.d.ts.map +1 -1
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +1 -1
- package/cjs/rate/type.d.ts +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +38 -39
- package/cjs/select/token.js +39 -40
- package/cjs/select/type.d.ts +38 -44
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +5 -5
- package/cjs/slider/token.js +5 -5
- package/cjs/slider/type.d.ts +5 -5
- package/cjs/spin/spin.js +2 -2
- package/cjs/spin/token.js +2 -2
- package/cjs/spin/type.d.ts +2 -2
- package/cjs/steps/steps.d.ts.map +1 -1
- package/cjs/steps/steps.js +17 -20
- package/cjs/steps/token.js +21 -24
- package/cjs/steps/type.d.ts +17 -35
- package/cjs/steps/type.d.ts.map +1 -1
- package/cjs/sticky/sticky.js +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/switch.js +10 -10
- package/cjs/switch/token.js +10 -10
- package/cjs/switch/type.d.ts +10 -10
- package/cjs/table/table.js +8 -8
- package/cjs/table/token.js +8 -8
- package/cjs/table/type.d.ts +8 -8
- package/cjs/tabs/tabs.js +16 -16
- package/cjs/tabs/token.js +16 -16
- package/cjs/tabs/type.d.ts +16 -16
- package/cjs/tag/tag.js +14 -14
- package/cjs/tag/token.js +14 -14
- package/cjs/tag/type.d.ts +14 -14
- package/cjs/textarea/textarea.js +9 -9
- package/cjs/textarea/token.js +9 -9
- package/cjs/textarea/type.d.ts +9 -9
- package/cjs/token/figma.js +36 -96
- package/cjs/token/token.d.ts +2 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +19 -18
- package/cjs/token/type.d.ts +42 -112
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +3 -3
- package/cjs/tooltip/tooltip.js +3 -3
- package/cjs/tooltip/type.d.ts +3 -3
- package/cjs/transfer/token.js +4 -4
- package/cjs/transfer/transfer.js +4 -4
- package/cjs/transfer/type.d.ts +4 -4
- package/cjs/tree/token.js +7 -7
- package/cjs/tree/tree.js +7 -7
- package/cjs/tree/type.d.ts +7 -7
- package/cjs/tree-select/token.js +34 -35
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +33 -34
- package/cjs/tree-select/type.d.ts +33 -39
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/upload/token.js +7 -7
- package/cjs/upload/type.d.ts +7 -7
- package/cjs/upload/upload.js +7 -7
- package/cjs/utils/css-var.d.ts +1 -1
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +1 -10
- package/esm/alert/alert.js +5 -5
- package/esm/alert/token.js +5 -5
- package/esm/alert/type.d.ts +5 -5
- package/esm/breadcrumb/breadcrumb.js +6 -6
- package/esm/breadcrumb/token.js +6 -6
- package/esm/breadcrumb/type.d.ts +6 -6
- package/esm/button/button.js +5 -5
- package/esm/button/token.js +6 -6
- package/esm/card/card.js +5 -5
- package/esm/card/token.js +6 -6
- package/esm/card/type.d.ts +5 -5
- package/esm/card-group/card-group.js +1 -1
- package/esm/card-group/token.js +1 -1
- package/esm/card-group/type.d.ts +1 -1
- package/esm/carousel/carousel.js +5 -5
- package/esm/carousel/token.js +5 -5
- package/esm/carousel/type.d.ts +5 -5
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +33 -34
- package/esm/cascader/token.js +34 -35
- package/esm/cascader/type.d.ts +33 -39
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/checkbox.d.ts.map +1 -1
- package/esm/checkbox/checkbox.js +8 -7
- package/esm/checkbox/token.js +10 -7
- package/esm/checkbox/type.d.ts +13 -7
- package/esm/checkbox/type.d.ts.map +1 -1
- package/esm/collapse/collapse.js +7 -7
- package/esm/collapse/token.js +7 -7
- package/esm/collapse/type.d.ts +7 -7
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +36 -49
- package/esm/date-picker/token.js +36 -89
- package/esm/date-picker/type.d.ts +36 -114
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +14 -14
- package/esm/descriptions/token.js +14 -14
- package/esm/descriptions/type.d.ts +14 -14
- package/esm/divider/divider.js +4 -4
- package/esm/divider/token.js +4 -4
- package/esm/divider/type.d.ts +4 -4
- package/esm/dropdown/dropdown.js +29 -29
- package/esm/dropdown/token.js +29 -29
- package/esm/dropdown/type.d.ts +29 -29
- package/esm/editable-area/editable-area.js +1 -1
- package/esm/editable-area/token.js +1 -1
- package/esm/editable-area/type.d.ts +1 -1
- package/esm/empty/empty.js +1 -1
- package/esm/empty/token.js +1 -1
- package/esm/empty/type.d.ts +1 -1
- package/esm/form/form.js +7 -7
- package/esm/form/token.js +7 -7
- package/esm/form/type.d.ts +7 -7
- package/esm/icon/icon.js +3 -3
- package/esm/icon/token.js +3 -3
- package/esm/icon/type.d.ts +3 -3
- package/esm/image/image.js +2 -2
- package/esm/image/token.js +2 -2
- package/esm/image/type.d.ts +2 -2
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -4
- package/esm/input/input.js +18 -18
- package/esm/input/token.js +18 -18
- package/esm/input/type.d.ts +18 -18
- package/esm/list/list.js +8 -8
- package/esm/list/token.js +8 -8
- package/esm/list/type.d.ts +8 -8
- package/esm/menu/menu.js +1 -1
- package/esm/menu/token.js +1 -1
- package/esm/menu/type.d.ts +1 -1
- package/esm/message/message.js +1 -1
- package/esm/message/token.js +1 -1
- package/esm/message/type.d.ts +1 -1
- package/esm/modal/modal.js +14 -14
- package/esm/modal/token.js +14 -14
- package/esm/modal/type.d.ts +14 -14
- package/esm/pagination/pagination.js +4 -4
- package/esm/pagination/token.js +4 -4
- package/esm/pagination/type.d.ts +4 -4
- package/esm/popover/popover.js +5 -5
- package/esm/popover/token.js +5 -5
- package/esm/popover/type.d.ts +5 -5
- package/esm/progress/progress.js +5 -5
- package/esm/progress/token.js +5 -5
- package/esm/progress/type.d.ts +5 -5
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +9 -10
- package/esm/radio/token.js +9 -12
- package/esm/radio/type.d.ts +9 -15
- package/esm/radio/type.d.ts.map +1 -1
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +1 -1
- package/esm/rate/type.d.ts +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +38 -39
- package/esm/select/token.js +39 -40
- package/esm/select/type.d.ts +38 -44
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +5 -5
- package/esm/slider/token.js +5 -5
- package/esm/slider/type.d.ts +5 -5
- package/esm/spin/spin.js +2 -2
- package/esm/spin/token.js +2 -2
- package/esm/spin/type.d.ts +2 -2
- package/esm/steps/steps.d.ts.map +1 -1
- package/esm/steps/steps.js +17 -20
- package/esm/steps/token.js +21 -24
- package/esm/steps/type.d.ts +17 -35
- package/esm/steps/type.d.ts.map +1 -1
- package/esm/sticky/sticky.js +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/switch.js +10 -10
- package/esm/switch/token.js +10 -10
- package/esm/switch/type.d.ts +10 -10
- package/esm/table/table.js +8 -8
- package/esm/table/token.js +8 -8
- package/esm/table/type.d.ts +8 -8
- package/esm/tabs/tabs.js +16 -16
- package/esm/tabs/token.js +16 -16
- package/esm/tabs/type.d.ts +16 -16
- package/esm/tag/tag.js +14 -14
- package/esm/tag/token.js +14 -14
- package/esm/tag/type.d.ts +14 -14
- package/esm/textarea/textarea.js +9 -9
- package/esm/textarea/token.js +9 -9
- package/esm/textarea/type.d.ts +9 -9
- package/esm/token/figma.js +36 -96
- package/esm/token/token.d.ts +2 -0
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +19 -17
- package/esm/token/type.d.ts +42 -112
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +3 -3
- package/esm/tooltip/tooltip.js +3 -3
- package/esm/tooltip/type.d.ts +3 -3
- package/esm/transfer/token.js +4 -4
- package/esm/transfer/transfer.js +4 -4
- package/esm/transfer/type.d.ts +4 -4
- package/esm/tree/token.js +7 -7
- package/esm/tree/tree.js +7 -7
- package/esm/tree/type.d.ts +7 -7
- package/esm/tree-select/token.js +34 -35
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +33 -34
- package/esm/tree-select/type.d.ts +33 -39
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/upload/token.js +7 -7
- package/esm/upload/type.d.ts +7 -7
- package/esm/upload/upload.js +7 -7
- package/esm/utils/css-var.d.ts +1 -1
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +1 -10
- package/package.json +8 -3
package/cjs/tabs/type.d.ts
CHANGED
|
@@ -73,19 +73,19 @@ export interface TabsTokens {
|
|
|
73
73
|
tabsClickBackgroundColor: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
|
-
* @token
|
|
76
|
+
* @token Spacing-15
|
|
77
77
|
* @description 标签页页签内边距(水平方向)
|
|
78
78
|
*/
|
|
79
79
|
tabsTabPaddingX: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @token
|
|
82
|
+
* @token Spacing-9
|
|
83
83
|
* @description 标签页页签内边距(垂直方向)
|
|
84
84
|
*/
|
|
85
85
|
tabsTabPaddingY: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @token 14
|
|
88
|
+
* @token Font-14
|
|
89
89
|
* @description 标签页页签字体字号
|
|
90
90
|
*/
|
|
91
91
|
tabsTabFontSize: string;
|
|
@@ -97,55 +97,55 @@ export interface TabsTokens {
|
|
|
97
97
|
tabsTabBorderRadius: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
|
-
* @token
|
|
100
|
+
* @token Spacing-4
|
|
101
101
|
* @description 标签页相邻之间的外边距
|
|
102
102
|
*/
|
|
103
103
|
tabsNearlyMargin: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
|
-
* @token
|
|
106
|
+
* @token Spacing-8
|
|
107
107
|
* @description 标签页下划模式内边距(水平方向)
|
|
108
108
|
*/
|
|
109
109
|
tabsLinePaddingX: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
|
-
* @token
|
|
112
|
+
* @token Spacing-6
|
|
113
113
|
* @description 标签页下划模式内边距(垂直方向)
|
|
114
114
|
*/
|
|
115
115
|
tabsLinePaddingY: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
|
-
* @token
|
|
118
|
+
* @token Spacing-8
|
|
119
119
|
* @description 标签页下划模式内部容器的内边距(水平方向)
|
|
120
120
|
*/
|
|
121
121
|
tabsLineInnerPaddingX: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
|
-
* @token
|
|
124
|
+
* @token Spacing-4
|
|
125
125
|
* @description 标签页下划模式内部容器的内边距(垂直方向)
|
|
126
126
|
*/
|
|
127
127
|
tabsLineInnerPaddingY: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
|
-
* @token
|
|
130
|
+
* @token Spacing-4
|
|
131
131
|
* @description 标签页填充模式内边距(水平方向)
|
|
132
132
|
*/
|
|
133
133
|
tabsFillPaddingX: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
|
-
* @token
|
|
136
|
+
* @token Spacing-4
|
|
137
137
|
* @description 标签页填充模式内边距(垂直方向)
|
|
138
138
|
*/
|
|
139
139
|
tabsFillPaddingY: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
|
-
* @token
|
|
142
|
+
* @token Spacing-16
|
|
143
143
|
* @description 标签页填充模式内部容器的内边距(水平方向)
|
|
144
144
|
*/
|
|
145
145
|
tabsFillInnerPaddingX: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
|
-
* @token
|
|
148
|
+
* @token Spacing-5
|
|
149
149
|
* @description 标签页填充模式内部容器的内边距(垂直方向)
|
|
150
150
|
*/
|
|
151
151
|
tabsFillInnerPaddingY: string;
|
|
@@ -157,25 +157,25 @@ export interface TabsTokens {
|
|
|
157
157
|
tabsSplitBorderColor: string;
|
|
158
158
|
/**
|
|
159
159
|
* @type {string}
|
|
160
|
-
* @token
|
|
160
|
+
* @token Spacing-7
|
|
161
161
|
* @description 标签页操作按钮垂直模式内边距(水平方向)
|
|
162
162
|
*/
|
|
163
163
|
tabsActionVerticalPaddingX: string;
|
|
164
164
|
/**
|
|
165
165
|
* @type {string}
|
|
166
|
-
* @token
|
|
166
|
+
* @token Spacing-4
|
|
167
167
|
* @description 标签页操作按钮垂直模式内边距(垂直方向)
|
|
168
168
|
*/
|
|
169
169
|
tabsActionVerticalPaddingY: string;
|
|
170
170
|
/**
|
|
171
171
|
* @type {string}
|
|
172
|
-
* @token
|
|
172
|
+
* @token Spacing-7
|
|
173
173
|
* @description 标签页操作按钮水平模式内边距(水平方向)
|
|
174
174
|
*/
|
|
175
175
|
tabsActionHorizontalPaddingX: string;
|
|
176
176
|
/**
|
|
177
177
|
* @type {string}
|
|
178
|
-
* @token
|
|
178
|
+
* @token Spacing-8
|
|
179
179
|
* @description 标签页操作按钮水平模式内边距(垂直方向)
|
|
180
180
|
*/
|
|
181
181
|
tabsActionHorizontalPaddingY: string;
|
package/cjs/tag/tag.js
CHANGED
|
@@ -242,26 +242,26 @@ var tagTokens = {
|
|
|
242
242
|
tagTangerineFillDisabledFontColor: 'Neutral-text-1',
|
|
243
243
|
tagTangerineFillDisabledBackgroundColor: 'Tangerine-3',
|
|
244
244
|
tagTangerineFillDisabledBorderColor: 'Tangerine-3',
|
|
245
|
-
tagFontSize: '12
|
|
245
|
+
tagFontSize: 'Font-12',
|
|
246
246
|
tagBorderRadius: 'Radius-3',
|
|
247
|
-
tagPaddingX: '
|
|
248
|
-
tagPaddingY: '
|
|
247
|
+
tagPaddingX: 'Spacing-6',
|
|
248
|
+
tagPaddingY: 'Spacing-2',
|
|
249
249
|
tagHeight: 'Size-11',
|
|
250
|
-
tagSmallFontSize: '12
|
|
250
|
+
tagSmallFontSize: 'Font-12',
|
|
251
251
|
tagSmallBorderRadius: 'Radius-2',
|
|
252
|
-
tagSmallPaddingX: '
|
|
252
|
+
tagSmallPaddingX: 'Spacing-4',
|
|
253
253
|
tagSmallHeight: 'Size-10',
|
|
254
|
-
tagLargeFontSize: '14
|
|
254
|
+
tagLargeFontSize: 'Font-14',
|
|
255
255
|
tagLargeBorderRadius: 'Radius-4',
|
|
256
|
-
tagLargePaddingX: '
|
|
257
|
-
tagLargePaddingY: '
|
|
256
|
+
tagLargePaddingX: 'Spacing-12',
|
|
257
|
+
tagLargePaddingY: 'Spacing-2',
|
|
258
258
|
tagLargeHeight: 'Size-14',
|
|
259
|
-
tagInputPaddingX: '
|
|
260
|
-
tagInputFontSize: '12
|
|
261
|
-
tagSmallInputPaddingX: '
|
|
262
|
-
tagSmallInputFontSize: '12
|
|
263
|
-
tagLargeInputPaddingX: '
|
|
264
|
-
tagLargeInputFontSize: '14
|
|
259
|
+
tagInputPaddingX: 'Spacing-4',
|
|
260
|
+
tagInputFontSize: 'Font-12',
|
|
261
|
+
tagSmallInputPaddingX: 'Spacing-4',
|
|
262
|
+
tagSmallInputFontSize: 'Font-12',
|
|
263
|
+
tagLargeInputPaddingX: 'Spacing-4',
|
|
264
|
+
tagLargeInputFontSize: 'Font-14',
|
|
265
265
|
tagInfoIconFontColor: 'Brand-6',
|
|
266
266
|
tagInfoIconDisabledFontColor: 'Brand-3',
|
|
267
267
|
tagInfoIconHoverBackgroundColor: 'Brand-2',
|
package/cjs/tag/token.js
CHANGED
|
@@ -1855,67 +1855,67 @@ var tagTokenValue = {
|
|
|
1855
1855
|
}
|
|
1856
1856
|
},
|
|
1857
1857
|
font: {
|
|
1858
|
-
size: '12
|
|
1858
|
+
size: 'Font-12'
|
|
1859
1859
|
},
|
|
1860
1860
|
border: {
|
|
1861
1861
|
radius: 'Radius-3'
|
|
1862
1862
|
},
|
|
1863
1863
|
padding: {
|
|
1864
|
-
x: '
|
|
1865
|
-
y: '
|
|
1864
|
+
x: 'Spacing-6',
|
|
1865
|
+
y: 'Spacing-2'
|
|
1866
1866
|
},
|
|
1867
1867
|
height: 'Size-11',
|
|
1868
1868
|
small: {
|
|
1869
1869
|
font: {
|
|
1870
|
-
size: '12
|
|
1870
|
+
size: 'Font-12'
|
|
1871
1871
|
},
|
|
1872
1872
|
border: {
|
|
1873
1873
|
radius: 'Radius-2'
|
|
1874
1874
|
},
|
|
1875
1875
|
padding: {
|
|
1876
|
-
x: '
|
|
1876
|
+
x: 'Spacing-4',
|
|
1877
1877
|
y: ''
|
|
1878
1878
|
},
|
|
1879
1879
|
height: 'Size-10',
|
|
1880
1880
|
input: {
|
|
1881
1881
|
padding: {
|
|
1882
|
-
x: '
|
|
1882
|
+
x: 'Spacing-4',
|
|
1883
1883
|
y: ''
|
|
1884
1884
|
},
|
|
1885
1885
|
font: {
|
|
1886
|
-
size: '12
|
|
1886
|
+
size: 'Font-12'
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
1889
|
},
|
|
1890
1890
|
large: {
|
|
1891
1891
|
font: {
|
|
1892
|
-
size: '14
|
|
1892
|
+
size: 'Font-14'
|
|
1893
1893
|
},
|
|
1894
1894
|
border: {
|
|
1895
1895
|
radius: 'Radius-4'
|
|
1896
1896
|
},
|
|
1897
1897
|
padding: {
|
|
1898
|
-
x: '
|
|
1899
|
-
y: '
|
|
1898
|
+
x: 'Spacing-12',
|
|
1899
|
+
y: 'Spacing-2'
|
|
1900
1900
|
},
|
|
1901
1901
|
height: 'Size-14',
|
|
1902
1902
|
input: {
|
|
1903
1903
|
padding: {
|
|
1904
|
-
x: '
|
|
1904
|
+
x: 'Spacing-4',
|
|
1905
1905
|
y: ''
|
|
1906
1906
|
},
|
|
1907
1907
|
font: {
|
|
1908
|
-
size: '14
|
|
1908
|
+
size: 'Font-14'
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
1911
|
},
|
|
1912
1912
|
input: {
|
|
1913
1913
|
padding: {
|
|
1914
|
-
x: '
|
|
1914
|
+
x: 'Spacing-4',
|
|
1915
1915
|
y: ''
|
|
1916
1916
|
},
|
|
1917
1917
|
font: {
|
|
1918
|
-
size: '12
|
|
1918
|
+
size: 'Font-12'
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
};
|
package/cjs/tag/type.d.ts
CHANGED
|
@@ -1405,7 +1405,7 @@ export interface TagTokens {
|
|
|
1405
1405
|
tagTangerineFillDisabledBorderColor: string;
|
|
1406
1406
|
/**
|
|
1407
1407
|
* @type {string}
|
|
1408
|
-
* @token 12
|
|
1408
|
+
* @token Font-12
|
|
1409
1409
|
* @description 标签字体字号
|
|
1410
1410
|
*/
|
|
1411
1411
|
tagFontSize: string;
|
|
@@ -1417,13 +1417,13 @@ export interface TagTokens {
|
|
|
1417
1417
|
tagBorderRadius: string;
|
|
1418
1418
|
/**
|
|
1419
1419
|
* @type {string}
|
|
1420
|
-
* @token
|
|
1420
|
+
* @token Spacing-6
|
|
1421
1421
|
* @description 标签内边距(水平方向)
|
|
1422
1422
|
*/
|
|
1423
1423
|
tagPaddingX: string;
|
|
1424
1424
|
/**
|
|
1425
1425
|
* @type {string}
|
|
1426
|
-
* @token
|
|
1426
|
+
* @token Spacing-2
|
|
1427
1427
|
* @description 标签内边距(垂直方向)
|
|
1428
1428
|
*/
|
|
1429
1429
|
tagPaddingY: string;
|
|
@@ -1435,7 +1435,7 @@ export interface TagTokens {
|
|
|
1435
1435
|
tagHeight: string;
|
|
1436
1436
|
/**
|
|
1437
1437
|
* @type {string}
|
|
1438
|
-
* @token 12
|
|
1438
|
+
* @token Font-12
|
|
1439
1439
|
* @description 标签小尺寸字体字号
|
|
1440
1440
|
*/
|
|
1441
1441
|
tagSmallFontSize: string;
|
|
@@ -1447,7 +1447,7 @@ export interface TagTokens {
|
|
|
1447
1447
|
tagSmallBorderRadius: string;
|
|
1448
1448
|
/**
|
|
1449
1449
|
* @type {string}
|
|
1450
|
-
* @token
|
|
1450
|
+
* @token Spacing-4
|
|
1451
1451
|
* @description 标签小尺寸内边距(水平方向)
|
|
1452
1452
|
*/
|
|
1453
1453
|
tagSmallPaddingX: string;
|
|
@@ -1459,7 +1459,7 @@ export interface TagTokens {
|
|
|
1459
1459
|
tagSmallHeight: string;
|
|
1460
1460
|
/**
|
|
1461
1461
|
* @type {string}
|
|
1462
|
-
* @token 14
|
|
1462
|
+
* @token Font-14
|
|
1463
1463
|
* @description 标签大尺寸字体字号
|
|
1464
1464
|
*/
|
|
1465
1465
|
tagLargeFontSize: string;
|
|
@@ -1471,13 +1471,13 @@ export interface TagTokens {
|
|
|
1471
1471
|
tagLargeBorderRadius: string;
|
|
1472
1472
|
/**
|
|
1473
1473
|
* @type {string}
|
|
1474
|
-
* @token
|
|
1474
|
+
* @token Spacing-12
|
|
1475
1475
|
* @description 标签大尺寸内边距(水平方向)
|
|
1476
1476
|
*/
|
|
1477
1477
|
tagLargePaddingX: string;
|
|
1478
1478
|
/**
|
|
1479
1479
|
* @type {string}
|
|
1480
|
-
* @token
|
|
1480
|
+
* @token Spacing-2
|
|
1481
1481
|
* @description 标签大尺寸内边距(垂直方向)
|
|
1482
1482
|
*/
|
|
1483
1483
|
tagLargePaddingY: string;
|
|
@@ -1489,37 +1489,37 @@ export interface TagTokens {
|
|
|
1489
1489
|
tagLargeHeight: string;
|
|
1490
1490
|
/**
|
|
1491
1491
|
* @type {string}
|
|
1492
|
-
* @token
|
|
1492
|
+
* @token Spacing-4
|
|
1493
1493
|
* @description 标签输入框内边距(水平方向)
|
|
1494
1494
|
*/
|
|
1495
1495
|
tagInputPaddingX: string;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* @type {string}
|
|
1498
|
-
* @token 12
|
|
1498
|
+
* @token Font-12
|
|
1499
1499
|
* @description 标签输入框字体字号
|
|
1500
1500
|
*/
|
|
1501
1501
|
tagInputFontSize: string;
|
|
1502
1502
|
/**
|
|
1503
1503
|
* @type {string}
|
|
1504
|
-
* @token
|
|
1504
|
+
* @token Spacing-4
|
|
1505
1505
|
* @description 标签小尺寸输入框内边距(水平方向)
|
|
1506
1506
|
*/
|
|
1507
1507
|
tagSmallInputPaddingX: string;
|
|
1508
1508
|
/**
|
|
1509
1509
|
* @type {string}
|
|
1510
|
-
* @token 12
|
|
1510
|
+
* @token Font-12
|
|
1511
1511
|
* @description 标签小尺寸输入框字体字号
|
|
1512
1512
|
*/
|
|
1513
1513
|
tagSmallInputFontSize: string;
|
|
1514
1514
|
/**
|
|
1515
1515
|
* @type {string}
|
|
1516
|
-
* @token
|
|
1516
|
+
* @token Spacing-4
|
|
1517
1517
|
* @description 标签大尺寸输入框内边距(水平方向)
|
|
1518
1518
|
*/
|
|
1519
1519
|
tagLargeInputPaddingX: string;
|
|
1520
1520
|
/**
|
|
1521
1521
|
* @type {string}
|
|
1522
|
-
* @token 14
|
|
1522
|
+
* @token Font-14
|
|
1523
1523
|
* @description 标签大尺寸输入框字体字号
|
|
1524
1524
|
*/
|
|
1525
1525
|
tagLargeInputFontSize: string;
|
package/cjs/textarea/textarea.js
CHANGED
|
@@ -8,16 +8,16 @@ exports.default = void 0;
|
|
|
8
8
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
9
|
|
|
10
10
|
var textareaTokens = {
|
|
11
|
-
textareaFontSize: '14
|
|
11
|
+
textareaFontSize: 'Font-14',
|
|
12
12
|
textareaBorderRadius: 'Radius-4',
|
|
13
|
-
textareaPaddingX: '
|
|
14
|
-
textareaPaddingY: '
|
|
15
|
-
textareaSmallFontSize: '12
|
|
16
|
-
textareaSmallPaddingX: '
|
|
17
|
-
textareaSmallPaddingY: '
|
|
18
|
-
textareaLargeFontSize: '16
|
|
19
|
-
textareaLargePaddingX: '
|
|
20
|
-
textareaLargePaddingY: '
|
|
13
|
+
textareaPaddingX: 'Spacing-8',
|
|
14
|
+
textareaPaddingY: 'Spacing-4',
|
|
15
|
+
textareaSmallFontSize: 'Font-12',
|
|
16
|
+
textareaSmallPaddingX: 'Spacing-8',
|
|
17
|
+
textareaSmallPaddingY: 'Spacing-1',
|
|
18
|
+
textareaLargeFontSize: 'Font-16',
|
|
19
|
+
textareaLargePaddingX: 'Spacing-12',
|
|
20
|
+
textareaLargePaddingY: 'Spacing-7',
|
|
21
21
|
textareaFontColor: 'Neutral-text-5',
|
|
22
22
|
textareaPlaceholderColor: 'Neutral-text-2',
|
|
23
23
|
textareaBorderColor: 'Neutral-border-2',
|
package/cjs/textarea/token.js
CHANGED
|
@@ -24,7 +24,7 @@ var textareaTokenDescription = {
|
|
|
24
24
|
*/
|
|
25
25
|
var textareaTokenValue = {
|
|
26
26
|
font: {
|
|
27
|
-
size: '14
|
|
27
|
+
size: 'Font-14',
|
|
28
28
|
color: 'Neutral-text-5'
|
|
29
29
|
},
|
|
30
30
|
border: {
|
|
@@ -32,31 +32,31 @@ var textareaTokenValue = {
|
|
|
32
32
|
color: 'Neutral-border-2'
|
|
33
33
|
},
|
|
34
34
|
padding: {
|
|
35
|
-
x: '
|
|
36
|
-
y: '
|
|
35
|
+
x: 'Spacing-8',
|
|
36
|
+
y: 'Spacing-4'
|
|
37
37
|
},
|
|
38
38
|
small: {
|
|
39
39
|
font: {
|
|
40
|
-
size: '12
|
|
40
|
+
size: 'Font-12'
|
|
41
41
|
},
|
|
42
42
|
border: {
|
|
43
43
|
radius: ''
|
|
44
44
|
},
|
|
45
45
|
padding: {
|
|
46
|
-
x: '
|
|
47
|
-
y: '
|
|
46
|
+
x: 'Spacing-8',
|
|
47
|
+
y: 'Spacing-1'
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
large: {
|
|
51
51
|
font: {
|
|
52
|
-
size: '16
|
|
52
|
+
size: 'Font-16'
|
|
53
53
|
},
|
|
54
54
|
border: {
|
|
55
55
|
radius: ''
|
|
56
56
|
},
|
|
57
57
|
padding: {
|
|
58
|
-
x: '
|
|
59
|
-
y: '
|
|
58
|
+
x: 'Spacing-12',
|
|
59
|
+
y: 'Spacing-7'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
placeholder: {
|
package/cjs/textarea/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface TextareaTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 多行文本框字体字号
|
|
6
6
|
*/
|
|
7
7
|
textareaFontSize: string;
|
|
@@ -13,49 +13,49 @@ export interface TextareaTokens {
|
|
|
13
13
|
textareaBorderRadius: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-8
|
|
17
17
|
* @description 多行文本框内边距(水平方向)
|
|
18
18
|
*/
|
|
19
19
|
textareaPaddingX: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-4
|
|
23
23
|
* @description 多行文本框内边距(垂直方向)
|
|
24
24
|
*/
|
|
25
25
|
textareaPaddingY: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token 12
|
|
28
|
+
* @token Font-12
|
|
29
29
|
* @description 多行文本框小尺寸字体字号
|
|
30
30
|
*/
|
|
31
31
|
textareaSmallFontSize: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token
|
|
34
|
+
* @token Spacing-8
|
|
35
35
|
* @description 多行文本框小尺寸内边距(水平方向)
|
|
36
36
|
*/
|
|
37
37
|
textareaSmallPaddingX: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-1
|
|
41
41
|
* @description 多行文本框小尺寸内边距(垂直方向)
|
|
42
42
|
*/
|
|
43
43
|
textareaSmallPaddingY: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token 16
|
|
46
|
+
* @token Font-16
|
|
47
47
|
* @description 多行文本框大尺寸字体字号
|
|
48
48
|
*/
|
|
49
49
|
textareaLargeFontSize: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token
|
|
52
|
+
* @token Spacing-12
|
|
53
53
|
* @description 多行文本框大尺寸内边距(水平方向)
|
|
54
54
|
*/
|
|
55
55
|
textareaLargePaddingX: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-7
|
|
59
59
|
* @description 多行文本框大尺寸内边距(垂直方向)
|
|
60
60
|
*/
|
|
61
61
|
textareaLargePaddingY: string;
|
package/cjs/token/figma.js
CHANGED
|
@@ -876,102 +876,6 @@ var figma = [{
|
|
|
876
876
|
value: '#FFFFFF',
|
|
877
877
|
describe: '白色背景',
|
|
878
878
|
locked: false
|
|
879
|
-
}, {
|
|
880
|
-
name: '12/regular',
|
|
881
|
-
token: '12/regular',
|
|
882
|
-
value: '12px',
|
|
883
|
-
describe: '提示、标签、辅助文案',
|
|
884
|
-
locked: true
|
|
885
|
-
}, {
|
|
886
|
-
name: '12',
|
|
887
|
-
token: 'medium',
|
|
888
|
-
value: '12px',
|
|
889
|
-
describe: '提示、标签、辅助文案',
|
|
890
|
-
locked: true
|
|
891
|
-
}, {
|
|
892
|
-
name: '14/regular',
|
|
893
|
-
token: '14/regular',
|
|
894
|
-
value: '14px',
|
|
895
|
-
describe: '正文内容',
|
|
896
|
-
locked: true
|
|
897
|
-
}, {
|
|
898
|
-
name: '14/medium',
|
|
899
|
-
token: '14/medium',
|
|
900
|
-
value: '14px',
|
|
901
|
-
describe: '正文内容突出显示',
|
|
902
|
-
locked: true
|
|
903
|
-
}, {
|
|
904
|
-
name: '16/regular',
|
|
905
|
-
token: '16/regular',
|
|
906
|
-
value: '16px',
|
|
907
|
-
describe: '标题-小',
|
|
908
|
-
locked: true
|
|
909
|
-
}, {
|
|
910
|
-
name: '16/medium',
|
|
911
|
-
token: '16/medium',
|
|
912
|
-
value: '16px',
|
|
913
|
-
describe: '标题-小',
|
|
914
|
-
locked: true
|
|
915
|
-
}, {
|
|
916
|
-
name: '18/regular',
|
|
917
|
-
token: '18/regular',
|
|
918
|
-
value: '18px',
|
|
919
|
-
describe: '标题-中',
|
|
920
|
-
locked: true
|
|
921
|
-
}, {
|
|
922
|
-
name: '18/medium',
|
|
923
|
-
token: '18/medium',
|
|
924
|
-
value: '18px',
|
|
925
|
-
describe: '标题-中',
|
|
926
|
-
locked: true
|
|
927
|
-
}, {
|
|
928
|
-
name: '24/regular',
|
|
929
|
-
token: '24/regular',
|
|
930
|
-
value: '24px',
|
|
931
|
-
describe: '标题-大',
|
|
932
|
-
locked: true
|
|
933
|
-
}, {
|
|
934
|
-
name: '24/medium',
|
|
935
|
-
token: '24/medium',
|
|
936
|
-
value: '24px',
|
|
937
|
-
describe: '标题-大',
|
|
938
|
-
locked: true
|
|
939
|
-
}, {
|
|
940
|
-
name: '32/regular',
|
|
941
|
-
token: '32/regular',
|
|
942
|
-
value: '32px',
|
|
943
|
-
describe: '运营数据-小',
|
|
944
|
-
locked: true
|
|
945
|
-
}, {
|
|
946
|
-
name: '32/medium',
|
|
947
|
-
token: '32/medium',
|
|
948
|
-
value: '32px',
|
|
949
|
-
describe: '运营数据-小',
|
|
950
|
-
locked: true
|
|
951
|
-
}, {
|
|
952
|
-
name: '36/regular',
|
|
953
|
-
token: '36/regular',
|
|
954
|
-
value: '36px',
|
|
955
|
-
describe: '运营数据-中',
|
|
956
|
-
locked: true
|
|
957
|
-
}, {
|
|
958
|
-
name: '36/medium',
|
|
959
|
-
token: '36/medium',
|
|
960
|
-
value: '36px',
|
|
961
|
-
describe: '运营数据-中',
|
|
962
|
-
locked: true
|
|
963
|
-
}, {
|
|
964
|
-
name: '48/regular',
|
|
965
|
-
token: '48/regular',
|
|
966
|
-
value: '48px',
|
|
967
|
-
describe: '运营数据-大',
|
|
968
|
-
locked: true
|
|
969
|
-
}, {
|
|
970
|
-
name: '48/medium',
|
|
971
|
-
token: '48/medium',
|
|
972
|
-
value: '48px',
|
|
973
|
-
describe: '运营数据-大',
|
|
974
|
-
locked: true
|
|
975
879
|
}, {
|
|
976
880
|
name: '1/padding',
|
|
977
881
|
value: '1px',
|
|
@@ -1830,6 +1734,42 @@ var figma = [{
|
|
|
1830
1734
|
describe: 'Size-22 (44px)',
|
|
1831
1735
|
token: 'Size-22',
|
|
1832
1736
|
locked: true
|
|
1737
|
+
}, {
|
|
1738
|
+
name: 'Size-23',
|
|
1739
|
+
value: '46px',
|
|
1740
|
+
describe: 'Size-23 (46px)',
|
|
1741
|
+
token: 'Size-23',
|
|
1742
|
+
locked: true
|
|
1743
|
+
}, {
|
|
1744
|
+
name: 'Size-24',
|
|
1745
|
+
value: '48px',
|
|
1746
|
+
describe: 'Size-24 (48px)',
|
|
1747
|
+
token: 'Size-24',
|
|
1748
|
+
locked: true
|
|
1749
|
+
}, {
|
|
1750
|
+
name: 'Size-25',
|
|
1751
|
+
value: '50px',
|
|
1752
|
+
describe: 'Size-25 (50px)',
|
|
1753
|
+
token: 'Size-25',
|
|
1754
|
+
locked: true
|
|
1755
|
+
}, {
|
|
1756
|
+
name: 'Size-26',
|
|
1757
|
+
value: '52px',
|
|
1758
|
+
describe: 'Size-26 (52px)',
|
|
1759
|
+
token: 'Size-26',
|
|
1760
|
+
locked: true
|
|
1761
|
+
}, {
|
|
1762
|
+
name: 'Size-27',
|
|
1763
|
+
value: '54px',
|
|
1764
|
+
describe: 'Size-27 (54px)',
|
|
1765
|
+
token: 'Size-27',
|
|
1766
|
+
locked: true
|
|
1767
|
+
}, {
|
|
1768
|
+
name: 'Size-28',
|
|
1769
|
+
value: '56px',
|
|
1770
|
+
describe: 'Size-28 (56px)',
|
|
1771
|
+
token: 'Size-28',
|
|
1772
|
+
locked: true
|
|
1833
1773
|
}];
|
|
1834
1774
|
var compile = function compile(figmaData) {
|
|
1835
1775
|
if (!figmaData) return;
|
package/cjs/token/token.d.ts
CHANGED
package/cjs/token/token.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"token.d.ts","sourceRoot":"","sources":["token.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC,QAAA,MAAM,KAAK,EAAE,MAuSZ,CAAC;AAGF,QAAA,MAAM,WAAW,EAAE,MAAW,CAAC;AAQ/B,OAAO,EAAE,WAAW,EAAE,CAAC;AAEvB,eAAe,KAAK,CAAC"}
|