@sheinx/theme 3.1.0-rc.2 → 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 +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/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
|
@@ -245,19 +245,19 @@ var buttonTokens = {
|
|
|
245
245
|
buttonLinkFocusBackgroundColor: 'transparent',
|
|
246
246
|
buttonLinkFocusBorderColor: 'transparent',
|
|
247
247
|
buttonFontSize: 'Font-14',
|
|
248
|
-
buttonBorderRadius: 'Radius-
|
|
248
|
+
buttonBorderRadius: 'Radius-4',
|
|
249
249
|
buttonPaddingX: 'Spacing-12',
|
|
250
250
|
buttonPaddingY: 'Spacing-5',
|
|
251
251
|
buttonHeight: 'Size-16',
|
|
252
252
|
buttonFontWeight: 'Weight-regular',
|
|
253
253
|
buttonSmallFontSize: 'Font-12',
|
|
254
|
-
buttonSmallBorderRadius: 'Radius-
|
|
254
|
+
buttonSmallBorderRadius: 'Radius-4',
|
|
255
255
|
buttonSmallPaddingX: 'Spacing-8',
|
|
256
256
|
buttonSmallPaddingY: 'Spacing-2',
|
|
257
257
|
buttonSmallHeight: 'Size-12',
|
|
258
258
|
buttonSmallFontWeight: 'Weight-regular',
|
|
259
259
|
buttonLargeFontSize: 'Font-16',
|
|
260
|
-
buttonLargeBorderRadius: 'Radius-
|
|
260
|
+
buttonLargeBorderRadius: 'Radius-4',
|
|
261
261
|
buttonLargePaddingX: 'Spacing-16',
|
|
262
262
|
buttonLargePaddingY: 'Spacing-8',
|
|
263
263
|
buttonLargeHeight: 'Size-20',
|
|
@@ -344,8 +344,8 @@ var buttonTokens = {
|
|
|
344
344
|
buttonSmallCircleBorderRadius: 'Radius-circle',
|
|
345
345
|
buttonSmallSquareBorderRadius: 'Radius-default',
|
|
346
346
|
buttonLargeRoundBorderRadius: 'Radius-1000',
|
|
347
|
-
buttonLargeCircleBorderRadius: 'Radius-
|
|
348
|
-
buttonLargeSquareBorderRadius: 'Radius-
|
|
347
|
+
buttonLargeCircleBorderRadius: 'Radius-50%',
|
|
348
|
+
buttonLargeSquareBorderRadius: 'Radius-4',
|
|
349
349
|
buttonNearlyMargin: 'Spacing-8',
|
|
350
350
|
buttonSpinMargin: 'Spacing-4'
|
|
351
351
|
};
|
package/esm/button/token.js
CHANGED
|
@@ -2173,7 +2173,7 @@ var buttonTokenValue = {
|
|
|
2173
2173
|
weight: 'Weight-regular'
|
|
2174
2174
|
},
|
|
2175
2175
|
border: {
|
|
2176
|
-
radius: 'Radius-
|
|
2176
|
+
radius: 'Radius-4'
|
|
2177
2177
|
},
|
|
2178
2178
|
padding: {
|
|
2179
2179
|
x: 'Spacing-12',
|
|
@@ -2186,7 +2186,7 @@ var buttonTokenValue = {
|
|
|
2186
2186
|
weight: 'Weight-regular'
|
|
2187
2187
|
},
|
|
2188
2188
|
border: {
|
|
2189
|
-
radius: 'Radius-
|
|
2189
|
+
radius: 'Radius-4'
|
|
2190
2190
|
},
|
|
2191
2191
|
padding: {
|
|
2192
2192
|
x: 'Spacing-8',
|
|
@@ -2215,7 +2215,7 @@ var buttonTokenValue = {
|
|
|
2215
2215
|
weight: 'Weight-regular'
|
|
2216
2216
|
},
|
|
2217
2217
|
border: {
|
|
2218
|
-
radius: 'Radius-
|
|
2218
|
+
radius: 'Radius-4'
|
|
2219
2219
|
},
|
|
2220
2220
|
padding: {
|
|
2221
2221
|
x: 'Spacing-16',
|
|
@@ -2240,17 +2240,17 @@ var buttonTokenValue = {
|
|
|
2240
2240
|
},
|
|
2241
2241
|
round: {
|
|
2242
2242
|
border: {
|
|
2243
|
-
radius: 'Radius-
|
|
2243
|
+
radius: 'Radius-1000'
|
|
2244
2244
|
}
|
|
2245
2245
|
},
|
|
2246
2246
|
circle: {
|
|
2247
2247
|
border: {
|
|
2248
|
-
radius: 'Radius-
|
|
2248
|
+
radius: 'Radius-50%'
|
|
2249
2249
|
}
|
|
2250
2250
|
},
|
|
2251
2251
|
square: {
|
|
2252
2252
|
border: {
|
|
2253
|
-
radius: 'Radius-
|
|
2253
|
+
radius: 'Radius-4'
|
|
2254
2254
|
}
|
|
2255
2255
|
},
|
|
2256
2256
|
nearly: {
|
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
|
};
|
package/esm/card/token.js
CHANGED
|
@@ -24,7 +24,7 @@ var cardTokenDescription = {
|
|
|
24
24
|
*/
|
|
25
25
|
var cardTokenValue = {
|
|
26
26
|
font: {
|
|
27
|
-
size: '14
|
|
27
|
+
size: 'Font-14'
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
var cardTokenExtraValue = {
|
|
@@ -38,22 +38,22 @@ var cardTokenExtraValue = {
|
|
|
38
38
|
},
|
|
39
39
|
font: {
|
|
40
40
|
color: 'Neutral-text-5',
|
|
41
|
-
size: '14
|
|
41
|
+
size: 'Font-14'
|
|
42
42
|
},
|
|
43
43
|
padding: {
|
|
44
|
-
x: '
|
|
45
|
-
y: '
|
|
44
|
+
x: 'Spacing-16',
|
|
45
|
+
y: 'Spacing-12'
|
|
46
46
|
},
|
|
47
47
|
title: {
|
|
48
48
|
font: {
|
|
49
|
-
size: '16
|
|
49
|
+
size: 'Font-16'
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
header: {
|
|
53
53
|
gap: '8px',
|
|
54
54
|
extra: {
|
|
55
55
|
margin: {
|
|
56
|
-
x: '
|
|
56
|
+
x: 'Spacing-16'
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
},
|
package/esm/card/type.d.ts
CHANGED
|
@@ -31,25 +31,25 @@ export interface CardTokens {
|
|
|
31
31
|
cardFontColor: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token 14
|
|
34
|
+
* @token Font-14
|
|
35
35
|
* @description 卡片字体字号
|
|
36
36
|
*/
|
|
37
37
|
cardFontSize: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-16
|
|
41
41
|
* @description 卡片内边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
cardPaddingX: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-12
|
|
47
47
|
* @description 卡片内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
cardPaddingY: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token 16
|
|
52
|
+
* @token Font-16
|
|
53
53
|
* @description 卡片标题模式字体字号
|
|
54
54
|
*/
|
|
55
55
|
cardTitleFontSize: string;
|
|
@@ -61,7 +61,7 @@ export interface CardTokens {
|
|
|
61
61
|
cardHeaderGap: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-16
|
|
65
65
|
* @description 卡片头部额外内容的外边距(水平方向)
|
|
66
66
|
*/
|
|
67
67
|
cardHeaderExtraMarginX: string;
|
package/esm/card-group/token.js
CHANGED
package/esm/card-group/type.d.ts
CHANGED
package/esm/carousel/carousel.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
3
3
|
|
|
4
4
|
var carouselTokens = {
|
|
5
|
-
carouselArrowMargin: '
|
|
5
|
+
carouselArrowMargin: 'Spacing-18',
|
|
6
6
|
carouselArrowSize: 'Size-12',
|
|
7
7
|
carouselArrowIconSize: 'Size-10',
|
|
8
8
|
carouselArrowBackgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
@@ -13,20 +13,20 @@ var carouselTokens = {
|
|
|
13
13
|
carouselIndicatorActiveBackgroundColor: 'Neutral-fill-1',
|
|
14
14
|
carouselIndicatorWrapperHeight: 'Size-20',
|
|
15
15
|
carouselIndicatorCircleWidth: 'Size-3',
|
|
16
|
-
carouselIndicatorCircleGap: '
|
|
16
|
+
carouselIndicatorCircleGap: 'Spacing-8',
|
|
17
17
|
carouselIndicatorLineWidth: 'Size-6',
|
|
18
18
|
carouselIndicatorLineHeight: 'Size-2',
|
|
19
|
-
carouselIndicatorLineGap: '
|
|
19
|
+
carouselIndicatorLineGap: 'Spacing-4',
|
|
20
20
|
carouselIndicatorArrowSize: 'Size-8',
|
|
21
21
|
carouselIndicatorArrowColor: 'Neutral-fill-4',
|
|
22
22
|
carouselIndicatorArrowHoverColor: 'Neutral-fill-1',
|
|
23
23
|
carouselIndicatorNumberColor: 'Neutral-fill-1',
|
|
24
|
-
carouselIndicatorNumberFontSize: '14
|
|
24
|
+
carouselIndicatorNumberFontSize: 'Font-14',
|
|
25
25
|
carouselIndicatorOuterBackgroundColor: 'Neutral-fill-4',
|
|
26
26
|
carouselIndicatorOuterActiveBackgroundColor: 'Neutral-fill-6',
|
|
27
27
|
carouselIndicatorOuterArrowColor: 'Neutral-text-4',
|
|
28
28
|
carouselIndicatorOuterArrowHoverColor: 'Neutral-text-2',
|
|
29
29
|
carouselIndicatorOuterNumberColor: 'Neutral-text-4',
|
|
30
|
-
carouselFontSize: '14
|
|
30
|
+
carouselFontSize: 'Font-14'
|
|
31
31
|
};
|
|
32
32
|
export default carouselTokens;
|
package/esm/carousel/token.js
CHANGED
|
@@ -26,12 +26,12 @@ var carouselTokenDescription = {
|
|
|
26
26
|
*/
|
|
27
27
|
var carouselTokenValue = {
|
|
28
28
|
font: {
|
|
29
|
-
size: '14
|
|
29
|
+
size: 'Font-14'
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
var carouselTokenExtraValue = {
|
|
33
33
|
arrow: {
|
|
34
|
-
margin: '
|
|
34
|
+
margin: 'Spacing-18',
|
|
35
35
|
size: 'Size-12',
|
|
36
36
|
icon: {
|
|
37
37
|
size: 'Size-10'
|
|
@@ -65,12 +65,12 @@ var carouselTokenExtraValue = {
|
|
|
65
65
|
},
|
|
66
66
|
circle: {
|
|
67
67
|
width: 'Size-3',
|
|
68
|
-
gap: '
|
|
68
|
+
gap: 'Spacing-8'
|
|
69
69
|
},
|
|
70
70
|
line: {
|
|
71
71
|
width: 'Size-6',
|
|
72
72
|
height: 'Size-2',
|
|
73
|
-
gap: '
|
|
73
|
+
gap: 'Spacing-4'
|
|
74
74
|
},
|
|
75
75
|
arrow: {
|
|
76
76
|
size: 'Size-8',
|
|
@@ -82,7 +82,7 @@ var carouselTokenExtraValue = {
|
|
|
82
82
|
number: {
|
|
83
83
|
color: 'Neutral-fill-1',
|
|
84
84
|
font: {
|
|
85
|
-
size: '14
|
|
85
|
+
size: 'Font-14'
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
outer: {
|
package/esm/carousel/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface CarouselTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token
|
|
4
|
+
* @token Spacing-18
|
|
5
5
|
* @description 轮播图箭头外边距
|
|
6
6
|
*/
|
|
7
7
|
carouselArrowMargin: string;
|
|
@@ -67,7 +67,7 @@ export interface CarouselTokens {
|
|
|
67
67
|
carouselIndicatorCircleWidth: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @token
|
|
70
|
+
* @token Spacing-8
|
|
71
71
|
* @description 轮播图指示器圆形间距
|
|
72
72
|
*/
|
|
73
73
|
carouselIndicatorCircleGap: string;
|
|
@@ -85,7 +85,7 @@ export interface CarouselTokens {
|
|
|
85
85
|
carouselIndicatorLineHeight: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @token
|
|
88
|
+
* @token Spacing-4
|
|
89
89
|
* @description 轮播图指示器行间距
|
|
90
90
|
*/
|
|
91
91
|
carouselIndicatorLineGap: string;
|
|
@@ -115,7 +115,7 @@ export interface CarouselTokens {
|
|
|
115
115
|
carouselIndicatorNumberColor: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
|
-
* @token 14
|
|
118
|
+
* @token Font-14
|
|
119
119
|
* @description 轮播图指示器数字字体字号
|
|
120
120
|
*/
|
|
121
121
|
carouselIndicatorNumberFontSize: string;
|
|
@@ -151,7 +151,7 @@ export interface CarouselTokens {
|
|
|
151
151
|
carouselIndicatorOuterNumberColor: string;
|
|
152
152
|
/**
|
|
153
153
|
* @type {string}
|
|
154
|
-
* @token 14
|
|
154
|
+
* @token Font-14
|
|
155
155
|
* @description 轮播图字体字号
|
|
156
156
|
*/
|
|
157
157
|
carouselFontSize: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cA2ErB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|