@sheinx/theme 3.1.0-rc.1 → 3.1.0-rc.3
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 +16 -16
- package/cjs/button/token.js +15 -15
- package/cjs/button/type.d.ts +21 -21
- 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 +16 -16
- package/esm/button/token.js +15 -15
- package/esm/button/type.d.ts +21 -21
- 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/upload/type.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export interface UploadTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token
|
|
4
|
+
* @token Spacing-16
|
|
5
5
|
* @description 上传结果内边距(水平方向)
|
|
6
6
|
*/
|
|
7
7
|
uploadResultPaddingX: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
|
-
* @token
|
|
10
|
+
* @token Spacing-5
|
|
11
11
|
* @description 上传结果内边距(垂直方向)
|
|
12
12
|
*/
|
|
13
13
|
uploadResultPaddingY: string;
|
|
@@ -19,13 +19,13 @@ export interface UploadTokens {
|
|
|
19
19
|
uploadResultBackgroundColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-4
|
|
23
23
|
* @description 上传结果内间距
|
|
24
24
|
*/
|
|
25
25
|
uploadResultGap: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token
|
|
28
|
+
* @token Spacing-8
|
|
29
29
|
* @description 上传结果外边距(垂直方向)
|
|
30
30
|
*/
|
|
31
31
|
uploadResultMarginY: string;
|
|
@@ -49,7 +49,7 @@ export interface UploadTokens {
|
|
|
49
49
|
uploadResultIconHoverBackgroundColor: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token 14
|
|
52
|
+
* @token Font-14
|
|
53
53
|
* @description 上传结果字体字号
|
|
54
54
|
*/
|
|
55
55
|
uploadResultFontSize: string;
|
|
@@ -223,13 +223,13 @@ export interface UploadTokens {
|
|
|
223
223
|
uploadImageResultTipBackgroundColor: string;
|
|
224
224
|
/**
|
|
225
225
|
* @type {string}
|
|
226
|
-
* @token 12
|
|
226
|
+
* @token Font-12
|
|
227
227
|
* @description 上传图片结果提示字体字号
|
|
228
228
|
*/
|
|
229
229
|
uploadImageResultTipFontSize: string;
|
|
230
230
|
/**
|
|
231
231
|
* @type {string}
|
|
232
|
-
* @token 14
|
|
232
|
+
* @token Font-14
|
|
233
233
|
* @description 上传字体字号
|
|
234
234
|
*/
|
|
235
235
|
uploadFontSize: string;
|
package/cjs/upload/upload.js
CHANGED
|
@@ -8,15 +8,15 @@ 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 uploadTokens = {
|
|
11
|
-
uploadResultPaddingX: '
|
|
12
|
-
uploadResultPaddingY: '
|
|
11
|
+
uploadResultPaddingX: 'Spacing-16',
|
|
12
|
+
uploadResultPaddingY: 'Spacing-5',
|
|
13
13
|
uploadResultBackgroundColor: 'Neutral-fill-2',
|
|
14
|
-
uploadResultGap: '
|
|
15
|
-
uploadResultMarginY: '
|
|
14
|
+
uploadResultGap: 'Spacing-4',
|
|
15
|
+
uploadResultMarginY: 'Spacing-8',
|
|
16
16
|
uploadResultIconSize: 'Size-7',
|
|
17
17
|
uploadResultIconColor: 'Neutral-text-4',
|
|
18
18
|
uploadResultIconHoverBackgroundColor: 'Neutral-fill-2',
|
|
19
|
-
uploadResultFontSize: '14
|
|
19
|
+
uploadResultFontSize: 'Font-14',
|
|
20
20
|
uploadResultFontColor: 'Neutral-text-5',
|
|
21
21
|
uploadResultBorderRadius: 'Radius-4',
|
|
22
22
|
uploadResultErrorFontColor: 'Danger-6',
|
|
@@ -45,7 +45,7 @@ var uploadTokens = {
|
|
|
45
45
|
uploadImageResultErrorBorderColor: 'Danger-6',
|
|
46
46
|
uploadImageResultErrorFontColor: 'Danger-6',
|
|
47
47
|
uploadImageResultTipBackgroundColor: 'Neutral-fill-1',
|
|
48
|
-
uploadImageResultTipFontSize: '12
|
|
49
|
-
uploadFontSize: '14
|
|
48
|
+
uploadImageResultTipFontSize: 'Font-12',
|
|
49
|
+
uploadFontSize: 'Font-14'
|
|
50
50
|
};
|
|
51
51
|
var _default = exports.default = uploadTokens;
|
package/cjs/utils/css-var.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare function replaceNonAlphanumeric(str: string): string;
|
|
2
2
|
export declare function camelCaseToDash(str: string): string;
|
|
3
|
-
export declare const cssvar: (str: string, value: string, key: string,
|
|
3
|
+
export declare const cssvar: (str: string, value: string, key: string, _size?: string) => string;
|
|
4
4
|
//# sourceMappingURL=css-var.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"css-var.d.ts","sourceRoot":"","sources":["css-var.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,UAQjD;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAE1C;AAED,eAAO,MAAM,MAAM,QAAS,MAAM,SAAS,MAAM,OAAO,MAAM,UAAU,MAAM,WAW7E,CAAC"}
|
package/cjs/utils/css-var.js
CHANGED
|
@@ -18,18 +18,9 @@ function replaceNonAlphanumeric(str) {
|
|
|
18
18
|
function camelCaseToDash(str) {
|
|
19
19
|
return str.replace(/(?<=.)([A-Z])/g, '-$1').toLowerCase();
|
|
20
20
|
}
|
|
21
|
-
var cssvar = exports.cssvar = function cssvar(str, value, key,
|
|
21
|
+
var cssvar = exports.cssvar = function cssvar(str, value, key, _size) {
|
|
22
22
|
var _getConfig = (0, _config.getConfig)(),
|
|
23
23
|
prefix = _getConfig.prefix;
|
|
24
|
-
if (str.indexOf('Size-') > -1) {
|
|
25
|
-
// 正则提取出Size-后面的数字
|
|
26
|
-
var sizeReg = /Size-(\d+)/;
|
|
27
|
-
// 正则提取出以px结尾的数字
|
|
28
|
-
var sizeNum = sizeReg.exec(str);
|
|
29
|
-
if (sizeNum) {
|
|
30
|
-
return "".concat(Number(sizeNum[1]) * Number(size), "px");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
24
|
var pxReg = /(\d+)px/;
|
|
34
25
|
var pxNum = pxReg.exec(str);
|
|
35
26
|
if (pxNum) {
|
package/esm/alert/alert.js
CHANGED
|
@@ -14,13 +14,13 @@ var alertTokens = {
|
|
|
14
14
|
alertDangerBackgroundColor: 'Danger-1',
|
|
15
15
|
alertDangerBorderColor: 'Danger-2',
|
|
16
16
|
alertDangerFontColor: 'Danger-6',
|
|
17
|
-
alertFontSize: '14
|
|
17
|
+
alertFontSize: 'Font-14',
|
|
18
18
|
alertFontColor: 'Neutral-text-5',
|
|
19
|
-
alertPaddingX: '
|
|
20
|
-
alertPaddingY: '
|
|
19
|
+
alertPaddingX: 'Spacing-16',
|
|
20
|
+
alertPaddingY: 'Spacing-8',
|
|
21
21
|
alertBorderRadius: 'Radius-4',
|
|
22
|
-
alertNearlyMargin: '
|
|
23
|
-
alertTitleFontSize: '16
|
|
22
|
+
alertNearlyMargin: 'Spacing-8',
|
|
23
|
+
alertTitleFontSize: 'Font-16',
|
|
24
24
|
alertCloseFontColor: 'Neutral-text-4',
|
|
25
25
|
alertCloseHoverColor: 'Neutral-text-5',
|
|
26
26
|
alertMessageHoverColor: 'Neutral-fill-2'
|
package/esm/alert/token.js
CHANGED
|
@@ -67,22 +67,22 @@ var alertTokenValue = {
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
font: {
|
|
70
|
-
size: '14
|
|
70
|
+
size: 'Font-14',
|
|
71
71
|
color: 'Neutral-text-5'
|
|
72
72
|
},
|
|
73
73
|
padding: {
|
|
74
|
-
x: '
|
|
75
|
-
y: '
|
|
74
|
+
x: 'Spacing-16',
|
|
75
|
+
y: 'Spacing-8'
|
|
76
76
|
},
|
|
77
77
|
border: {
|
|
78
78
|
radius: 'Radius-4'
|
|
79
79
|
},
|
|
80
80
|
nearly: {
|
|
81
|
-
margin: '
|
|
81
|
+
margin: 'Spacing-8'
|
|
82
82
|
},
|
|
83
83
|
title: {
|
|
84
84
|
font: {
|
|
85
|
-
size: '16
|
|
85
|
+
size: 'Font-16'
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
close: {
|
package/esm/alert/type.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ export interface AlertTokens {
|
|
|
73
73
|
alertDangerFontColor: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
|
-
* @token 14
|
|
76
|
+
* @token Font-14
|
|
77
77
|
* @description 提示框字体字号
|
|
78
78
|
*/
|
|
79
79
|
alertFontSize: string;
|
|
@@ -85,13 +85,13 @@ export interface AlertTokens {
|
|
|
85
85
|
alertFontColor: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @token
|
|
88
|
+
* @token Spacing-16
|
|
89
89
|
* @description 提示框内边距(水平方向)
|
|
90
90
|
*/
|
|
91
91
|
alertPaddingX: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
|
-
* @token
|
|
94
|
+
* @token Spacing-8
|
|
95
95
|
* @description 提示框内边距(垂直方向)
|
|
96
96
|
*/
|
|
97
97
|
alertPaddingY: string;
|
|
@@ -103,13 +103,13 @@ export interface AlertTokens {
|
|
|
103
103
|
alertBorderRadius: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
|
-
* @token
|
|
106
|
+
* @token Spacing-8
|
|
107
107
|
* @description 提示框相邻之间的外边距
|
|
108
108
|
*/
|
|
109
109
|
alertNearlyMargin: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
|
-
* @token 16
|
|
112
|
+
* @token Font-16
|
|
113
113
|
* @description 提示框标题模式字体字号
|
|
114
114
|
*/
|
|
115
115
|
alertTitleFontSize: string;
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
3
3
|
|
|
4
4
|
var breadcrumbTokens = {
|
|
5
|
-
breadcrumbFontSize: '14
|
|
5
|
+
breadcrumbFontSize: 'Font-14',
|
|
6
6
|
breadcrumbFontColor: 'Neutral-text-5',
|
|
7
7
|
breadcrumbLinkColor: 'Neutral-text-3',
|
|
8
8
|
breadcrumbLinkHoverColor: 'Brand-5',
|
|
9
9
|
breadcrumbListBackgroundColor: 'Neutral-fill-1',
|
|
10
10
|
breadcrumbListShadow: 'Shadow-1',
|
|
11
11
|
breadcrumbListBorderColor: '#f4f5f8',
|
|
12
|
-
breadcrumbListPaddingY: '
|
|
12
|
+
breadcrumbListPaddingY: 'Spacing-4',
|
|
13
13
|
breadcrumbListItemBorderRadius: 'Radius-4',
|
|
14
|
-
breadcrumbListItemWrapperPaddingX: '
|
|
15
|
-
breadcrumbListItemPaddingX: '
|
|
16
|
-
breadcrumbListItemPaddingY: '
|
|
14
|
+
breadcrumbListItemWrapperPaddingX: 'Spacing-4',
|
|
15
|
+
breadcrumbListItemPaddingX: 'Spacing-8',
|
|
16
|
+
breadcrumbListItemPaddingY: 'Spacing-5',
|
|
17
17
|
breadcrumbListItemHoverBackgroundColor: 'Neutral-fill-2',
|
|
18
18
|
breadcrumbListItemHoverFontColor: 'Neutral-text-3',
|
|
19
|
-
breadcrumbSeparatorMarginX: '
|
|
19
|
+
breadcrumbSeparatorMarginX: 'Spacing-8',
|
|
20
20
|
breadcrumbIconBackgroundColor: 'Neutral-text-4'
|
|
21
21
|
};
|
|
22
22
|
export default breadcrumbTokens;
|
package/esm/breadcrumb/token.js
CHANGED
|
@@ -25,7 +25,7 @@ var breadcrumbTokenDescription = {
|
|
|
25
25
|
var breadcrumbTokenValue = {};
|
|
26
26
|
var breadcrumbTokenExtraValue = {
|
|
27
27
|
font: {
|
|
28
|
-
size: '14
|
|
28
|
+
size: 'Font-14',
|
|
29
29
|
color: 'Neutral-text-5'
|
|
30
30
|
},
|
|
31
31
|
link: {
|
|
@@ -43,7 +43,7 @@ var breadcrumbTokenExtraValue = {
|
|
|
43
43
|
color: '#f4f5f8'
|
|
44
44
|
},
|
|
45
45
|
padding: {
|
|
46
|
-
y: '
|
|
46
|
+
y: 'Spacing-4'
|
|
47
47
|
},
|
|
48
48
|
item: {
|
|
49
49
|
border: {
|
|
@@ -51,12 +51,12 @@ var breadcrumbTokenExtraValue = {
|
|
|
51
51
|
},
|
|
52
52
|
wrapper: {
|
|
53
53
|
padding: {
|
|
54
|
-
x: '
|
|
54
|
+
x: 'Spacing-4'
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
padding: {
|
|
58
|
-
x: '
|
|
59
|
-
y: '
|
|
58
|
+
x: 'Spacing-8',
|
|
59
|
+
y: 'Spacing-5'
|
|
60
60
|
},
|
|
61
61
|
hover: {
|
|
62
62
|
background: {
|
|
@@ -70,7 +70,7 @@ var breadcrumbTokenExtraValue = {
|
|
|
70
70
|
},
|
|
71
71
|
separator: {
|
|
72
72
|
margin: {
|
|
73
|
-
x: '
|
|
73
|
+
x: 'Spacing-8'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
icon: {
|
package/esm/breadcrumb/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface BreadcrumbTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 面包屑字体字号
|
|
6
6
|
*/
|
|
7
7
|
breadcrumbFontSize: string;
|
|
@@ -43,7 +43,7 @@ export interface BreadcrumbTokens {
|
|
|
43
43
|
breadcrumbListBorderColor: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-4
|
|
47
47
|
* @description 面包屑下拉列表的内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
breadcrumbListPaddingY: string;
|
|
@@ -55,19 +55,19 @@ export interface BreadcrumbTokens {
|
|
|
55
55
|
breadcrumbListItemBorderRadius: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-4
|
|
59
59
|
* @description 面包屑下拉列表的选项外部容器内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
breadcrumbListItemWrapperPaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-8
|
|
65
65
|
* @description 面包屑下拉列表的选项内边距(水平方向)
|
|
66
66
|
*/
|
|
67
67
|
breadcrumbListItemPaddingX: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @token
|
|
70
|
+
* @token Spacing-5
|
|
71
71
|
* @description 面包屑下拉列表的选项内边距(垂直方向)
|
|
72
72
|
*/
|
|
73
73
|
breadcrumbListItemPaddingY: string;
|
|
@@ -85,7 +85,7 @@ export interface BreadcrumbTokens {
|
|
|
85
85
|
breadcrumbListItemHoverFontColor: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @token
|
|
88
|
+
* @token Spacing-8
|
|
89
89
|
* @description 面包屑分隔符外边距(水平方向)
|
|
90
90
|
*/
|
|
91
91
|
breadcrumbSeparatorMarginX: string;
|
package/esm/button/button.js
CHANGED
|
@@ -244,22 +244,22 @@ var buttonTokens = {
|
|
|
244
244
|
buttonLinkFocusFontColor: 'Brand-5',
|
|
245
245
|
buttonLinkFocusBackgroundColor: 'transparent',
|
|
246
246
|
buttonLinkFocusBorderColor: 'transparent',
|
|
247
|
-
buttonFontSize: '14
|
|
247
|
+
buttonFontSize: 'Font-14',
|
|
248
248
|
buttonBorderRadius: 'Radius-4',
|
|
249
|
-
buttonPaddingX: '
|
|
250
|
-
buttonPaddingY: '
|
|
249
|
+
buttonPaddingX: 'Spacing-12',
|
|
250
|
+
buttonPaddingY: 'Spacing-5',
|
|
251
251
|
buttonHeight: 'Size-16',
|
|
252
252
|
buttonFontWeight: 'Weight-regular',
|
|
253
|
-
buttonSmallFontSize: '12
|
|
253
|
+
buttonSmallFontSize: 'Font-12',
|
|
254
254
|
buttonSmallBorderRadius: 'Radius-4',
|
|
255
|
-
buttonSmallPaddingX: '
|
|
256
|
-
buttonSmallPaddingY: '
|
|
255
|
+
buttonSmallPaddingX: 'Spacing-8',
|
|
256
|
+
buttonSmallPaddingY: 'Spacing-2',
|
|
257
257
|
buttonSmallHeight: 'Size-12',
|
|
258
258
|
buttonSmallFontWeight: 'Weight-regular',
|
|
259
|
-
buttonLargeFontSize: '16
|
|
259
|
+
buttonLargeFontSize: 'Font-16',
|
|
260
260
|
buttonLargeBorderRadius: 'Radius-4',
|
|
261
|
-
buttonLargePaddingX: '
|
|
262
|
-
buttonLargePaddingY: '
|
|
261
|
+
buttonLargePaddingX: 'Spacing-16',
|
|
262
|
+
buttonLargePaddingY: 'Spacing-8',
|
|
263
263
|
buttonLargeHeight: 'Size-20',
|
|
264
264
|
buttonLargeFontWeight: 'Weight-regular',
|
|
265
265
|
buttonPrimarySplitBackgroundColor: 'Neutral-fill-1',
|
|
@@ -337,16 +337,16 @@ var buttonTokens = {
|
|
|
337
337
|
buttonDangerTextSplitHoverBackgroundColor: 'Neutral-border-1',
|
|
338
338
|
buttonDangerTextSplitActiveBackgroundColor: 'Neutral-border-1',
|
|
339
339
|
buttonDangerTextSplitFocusBackgroundColor: 'Neutral-border-1',
|
|
340
|
-
buttonRoundBorderRadius: 'Radius-
|
|
341
|
-
buttonCircleBorderRadius: 'Radius-
|
|
342
|
-
buttonSquareBorderRadius: 'Radius-
|
|
340
|
+
buttonRoundBorderRadius: 'Radius-full',
|
|
341
|
+
buttonCircleBorderRadius: 'Radius-circle',
|
|
342
|
+
buttonSquareBorderRadius: 'Radius-default',
|
|
343
343
|
buttonSmallRoundBorderRadius: 'Radius-1000',
|
|
344
|
-
buttonSmallCircleBorderRadius: 'Radius-
|
|
345
|
-
buttonSmallSquareBorderRadius: 'Radius-
|
|
344
|
+
buttonSmallCircleBorderRadius: 'Radius-circle',
|
|
345
|
+
buttonSmallSquareBorderRadius: 'Radius-default',
|
|
346
346
|
buttonLargeRoundBorderRadius: 'Radius-1000',
|
|
347
347
|
buttonLargeCircleBorderRadius: 'Radius-50%',
|
|
348
348
|
buttonLargeSquareBorderRadius: 'Radius-4',
|
|
349
|
-
buttonNearlyMargin: '
|
|
350
|
-
buttonSpinMargin: '
|
|
349
|
+
buttonNearlyMargin: 'Spacing-8',
|
|
350
|
+
buttonSpinMargin: 'Spacing-4'
|
|
351
351
|
};
|
|
352
352
|
export default buttonTokens;
|
package/esm/button/token.js
CHANGED
|
@@ -2169,28 +2169,28 @@ var buttonTokenValue = {
|
|
|
2169
2169
|
}
|
|
2170
2170
|
},
|
|
2171
2171
|
font: {
|
|
2172
|
-
size: '14
|
|
2172
|
+
size: 'Font-14',
|
|
2173
2173
|
weight: 'Weight-regular'
|
|
2174
2174
|
},
|
|
2175
2175
|
border: {
|
|
2176
2176
|
radius: 'Radius-4'
|
|
2177
2177
|
},
|
|
2178
2178
|
padding: {
|
|
2179
|
-
x: '
|
|
2180
|
-
y: '
|
|
2179
|
+
x: 'Spacing-12',
|
|
2180
|
+
y: 'Spacing-5'
|
|
2181
2181
|
},
|
|
2182
2182
|
height: 'Size-16',
|
|
2183
2183
|
small: {
|
|
2184
2184
|
font: {
|
|
2185
|
-
size: '12
|
|
2185
|
+
size: 'Font-12',
|
|
2186
2186
|
weight: 'Weight-regular'
|
|
2187
2187
|
},
|
|
2188
2188
|
border: {
|
|
2189
2189
|
radius: 'Radius-4'
|
|
2190
2190
|
},
|
|
2191
2191
|
padding: {
|
|
2192
|
-
x: '
|
|
2193
|
-
y: '
|
|
2192
|
+
x: 'Spacing-8',
|
|
2193
|
+
y: 'Spacing-2'
|
|
2194
2194
|
},
|
|
2195
2195
|
height: 'Size-12',
|
|
2196
2196
|
round: {
|
|
@@ -2200,26 +2200,26 @@ var buttonTokenValue = {
|
|
|
2200
2200
|
},
|
|
2201
2201
|
circle: {
|
|
2202
2202
|
border: {
|
|
2203
|
-
radius: 'Radius-
|
|
2203
|
+
radius: 'Radius-circle'
|
|
2204
2204
|
}
|
|
2205
2205
|
},
|
|
2206
2206
|
square: {
|
|
2207
2207
|
border: {
|
|
2208
|
-
radius: 'Radius-
|
|
2208
|
+
radius: 'Radius-default'
|
|
2209
2209
|
}
|
|
2210
2210
|
}
|
|
2211
2211
|
},
|
|
2212
2212
|
large: {
|
|
2213
2213
|
font: {
|
|
2214
|
-
size: '16
|
|
2214
|
+
size: 'Font-16',
|
|
2215
2215
|
weight: 'Weight-regular'
|
|
2216
2216
|
},
|
|
2217
2217
|
border: {
|
|
2218
2218
|
radius: 'Radius-4'
|
|
2219
2219
|
},
|
|
2220
2220
|
padding: {
|
|
2221
|
-
x: '
|
|
2222
|
-
y: '
|
|
2221
|
+
x: 'Spacing-16',
|
|
2222
|
+
y: 'Spacing-8'
|
|
2223
2223
|
},
|
|
2224
2224
|
height: 'Size-20',
|
|
2225
2225
|
round: {
|
|
@@ -2229,12 +2229,12 @@ var buttonTokenValue = {
|
|
|
2229
2229
|
},
|
|
2230
2230
|
circle: {
|
|
2231
2231
|
border: {
|
|
2232
|
-
radius: 'Radius-
|
|
2232
|
+
radius: 'Radius-circle'
|
|
2233
2233
|
}
|
|
2234
2234
|
},
|
|
2235
2235
|
square: {
|
|
2236
2236
|
border: {
|
|
2237
|
-
radius: 'Radius-
|
|
2237
|
+
radius: 'Radius-default'
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
2240
2240
|
},
|
|
@@ -2254,10 +2254,10 @@ var buttonTokenValue = {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
},
|
|
2256
2256
|
nearly: {
|
|
2257
|
-
margin: '
|
|
2257
|
+
margin: 'Spacing-8'
|
|
2258
2258
|
},
|
|
2259
2259
|
spin: {
|
|
2260
|
-
margin: '
|
|
2260
|
+
margin: 'Spacing-4'
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
var buttonTokenExtraValue = {
|
package/esm/button/type.d.ts
CHANGED
|
@@ -1453,25 +1453,25 @@ export interface ButtonTokens {
|
|
|
1453
1453
|
buttonLinkFocusBorderColor: string;
|
|
1454
1454
|
/**
|
|
1455
1455
|
* @type {string}
|
|
1456
|
-
* @token 14
|
|
1456
|
+
* @token Font-14
|
|
1457
1457
|
* @description 按钮字体字号
|
|
1458
1458
|
*/
|
|
1459
1459
|
buttonFontSize: string;
|
|
1460
1460
|
/**
|
|
1461
1461
|
* @type {string}
|
|
1462
|
-
* @token Radius-
|
|
1462
|
+
* @token Radius-default
|
|
1463
1463
|
* @description 按钮边框圆角
|
|
1464
1464
|
*/
|
|
1465
1465
|
buttonBorderRadius: string;
|
|
1466
1466
|
/**
|
|
1467
1467
|
* @type {string}
|
|
1468
|
-
* @token
|
|
1468
|
+
* @token Spacing-12
|
|
1469
1469
|
* @description 按钮内边距(水平方向)
|
|
1470
1470
|
*/
|
|
1471
1471
|
buttonPaddingX: string;
|
|
1472
1472
|
/**
|
|
1473
1473
|
* @type {string}
|
|
1474
|
-
* @token
|
|
1474
|
+
* @token Spacing-5
|
|
1475
1475
|
* @description 按钮内边距(垂直方向)
|
|
1476
1476
|
*/
|
|
1477
1477
|
buttonPaddingY: string;
|
|
@@ -1489,25 +1489,25 @@ export interface ButtonTokens {
|
|
|
1489
1489
|
buttonFontWeight: string;
|
|
1490
1490
|
/**
|
|
1491
1491
|
* @type {string}
|
|
1492
|
-
* @token 12
|
|
1492
|
+
* @token Font-12
|
|
1493
1493
|
* @description 按钮小尺寸字体字号
|
|
1494
1494
|
*/
|
|
1495
1495
|
buttonSmallFontSize: string;
|
|
1496
1496
|
/**
|
|
1497
1497
|
* @type {string}
|
|
1498
|
-
* @token Radius-
|
|
1498
|
+
* @token Radius-default
|
|
1499
1499
|
* @description 按钮小尺寸边框圆角
|
|
1500
1500
|
*/
|
|
1501
1501
|
buttonSmallBorderRadius: string;
|
|
1502
1502
|
/**
|
|
1503
1503
|
* @type {string}
|
|
1504
|
-
* @token
|
|
1504
|
+
* @token Spacing-8
|
|
1505
1505
|
* @description 按钮小尺寸内边距(水平方向)
|
|
1506
1506
|
*/
|
|
1507
1507
|
buttonSmallPaddingX: string;
|
|
1508
1508
|
/**
|
|
1509
1509
|
* @type {string}
|
|
1510
|
-
* @token
|
|
1510
|
+
* @token Spacing-2
|
|
1511
1511
|
* @description 按钮小尺寸内边距(垂直方向)
|
|
1512
1512
|
*/
|
|
1513
1513
|
buttonSmallPaddingY: string;
|
|
@@ -1525,25 +1525,25 @@ export interface ButtonTokens {
|
|
|
1525
1525
|
buttonSmallFontWeight: string;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* @type {string}
|
|
1528
|
-
* @token 16
|
|
1528
|
+
* @token Font-16
|
|
1529
1529
|
* @description 按钮大尺寸字体字号
|
|
1530
1530
|
*/
|
|
1531
1531
|
buttonLargeFontSize: string;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* @type {string}
|
|
1534
|
-
* @token Radius-
|
|
1534
|
+
* @token Radius-default
|
|
1535
1535
|
* @description 按钮大尺寸边框圆角
|
|
1536
1536
|
*/
|
|
1537
1537
|
buttonLargeBorderRadius: string;
|
|
1538
1538
|
/**
|
|
1539
1539
|
* @type {string}
|
|
1540
|
-
* @token
|
|
1540
|
+
* @token Spacing-16
|
|
1541
1541
|
* @description 按钮大尺寸内边距(水平方向)
|
|
1542
1542
|
*/
|
|
1543
1543
|
buttonLargePaddingX: string;
|
|
1544
1544
|
/**
|
|
1545
1545
|
* @type {string}
|
|
1546
|
-
* @token
|
|
1546
|
+
* @token Spacing-8
|
|
1547
1547
|
* @description 按钮大尺寸内边距(垂直方向)
|
|
1548
1548
|
*/
|
|
1549
1549
|
buttonLargePaddingY: string;
|
|
@@ -2011,19 +2011,19 @@ export interface ButtonTokens {
|
|
|
2011
2011
|
buttonDangerTextSplitFocusBackgroundColor: string;
|
|
2012
2012
|
/**
|
|
2013
2013
|
* @type {string}
|
|
2014
|
-
* @token Radius-
|
|
2014
|
+
* @token Radius-full
|
|
2015
2015
|
* @description 按钮药丸形边框圆角
|
|
2016
2016
|
*/
|
|
2017
2017
|
buttonRoundBorderRadius: string;
|
|
2018
2018
|
/**
|
|
2019
2019
|
* @type {string}
|
|
2020
|
-
* @token Radius-
|
|
2020
|
+
* @token Radius-circle
|
|
2021
2021
|
* @description 按钮圆形边框圆角
|
|
2022
2022
|
*/
|
|
2023
2023
|
buttonCircleBorderRadius: string;
|
|
2024
2024
|
/**
|
|
2025
2025
|
* @type {string}
|
|
2026
|
-
* @token Radius-
|
|
2026
|
+
* @token Radius-default
|
|
2027
2027
|
* @description 按钮方形边框圆角
|
|
2028
2028
|
*/
|
|
2029
2029
|
buttonSquareBorderRadius: string;
|
|
@@ -2035,13 +2035,13 @@ export interface ButtonTokens {
|
|
|
2035
2035
|
buttonSmallRoundBorderRadius: string;
|
|
2036
2036
|
/**
|
|
2037
2037
|
* @type {string}
|
|
2038
|
-
* @token Radius-
|
|
2038
|
+
* @token Radius-circle
|
|
2039
2039
|
* @description 按钮小尺寸圆形边框圆角
|
|
2040
2040
|
*/
|
|
2041
2041
|
buttonSmallCircleBorderRadius: string;
|
|
2042
2042
|
/**
|
|
2043
2043
|
* @type {string}
|
|
2044
|
-
* @token Radius-
|
|
2044
|
+
* @token Radius-default
|
|
2045
2045
|
* @description 按钮小尺寸方形边框圆角
|
|
2046
2046
|
*/
|
|
2047
2047
|
buttonSmallSquareBorderRadius: string;
|
|
@@ -2053,25 +2053,25 @@ export interface ButtonTokens {
|
|
|
2053
2053
|
buttonLargeRoundBorderRadius: string;
|
|
2054
2054
|
/**
|
|
2055
2055
|
* @type {string}
|
|
2056
|
-
* @token Radius-
|
|
2056
|
+
* @token Radius-circle
|
|
2057
2057
|
* @description 按钮大尺寸圆形边框圆角
|
|
2058
2058
|
*/
|
|
2059
2059
|
buttonLargeCircleBorderRadius: string;
|
|
2060
2060
|
/**
|
|
2061
2061
|
* @type {string}
|
|
2062
|
-
* @token Radius-
|
|
2062
|
+
* @token Radius-default
|
|
2063
2063
|
* @description 按钮大尺寸方形边框圆角
|
|
2064
2064
|
*/
|
|
2065
2065
|
buttonLargeSquareBorderRadius: string;
|
|
2066
2066
|
/**
|
|
2067
2067
|
* @type {string}
|
|
2068
|
-
* @token
|
|
2068
|
+
* @token Spacing-8
|
|
2069
2069
|
* @description 按钮相邻之间的外边距
|
|
2070
2070
|
*/
|
|
2071
2071
|
buttonNearlyMargin: string;
|
|
2072
2072
|
/**
|
|
2073
2073
|
* @type {string}
|
|
2074
|
-
* @token
|
|
2074
|
+
* @token Spacing-4
|
|
2075
2075
|
* @description 按钮加载中icon的外边距
|
|
2076
2076
|
*/
|
|
2077
2077
|
buttonSpinMargin: string;
|
package/esm/card/card.js
CHANGED
|
@@ -7,12 +7,12 @@ var cardTokens = {
|
|
|
7
7
|
cardBorderColor: 'Neutral-border-1',
|
|
8
8
|
cardBorderRadius: 'Radius-4',
|
|
9
9
|
cardFontColor: 'Neutral-text-5',
|
|
10
|
-
cardFontSize: '14
|
|
11
|
-
cardPaddingX: '
|
|
12
|
-
cardPaddingY: '
|
|
13
|
-
cardTitleFontSize: '16
|
|
10
|
+
cardFontSize: 'Font-14',
|
|
11
|
+
cardPaddingX: 'Spacing-16',
|
|
12
|
+
cardPaddingY: 'Spacing-12',
|
|
13
|
+
cardTitleFontSize: 'Font-16',
|
|
14
14
|
cardHeaderGap: '8px',
|
|
15
|
-
cardHeaderExtraMarginX: '
|
|
15
|
+
cardHeaderExtraMarginX: 'Spacing-16',
|
|
16
16
|
cardIndicatorSize: 'Size-7',
|
|
17
17
|
cardIndicatorColor: 'Neutral-text-4'
|
|
18
18
|
};
|