@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EA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,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;CACtC"}
|
package/esm/upload/token.js
CHANGED
|
@@ -30,21 +30,21 @@ var uploadTokenDescription = {
|
|
|
30
30
|
*/
|
|
31
31
|
var uploadTokenValue = {
|
|
32
32
|
font: {
|
|
33
|
-
size: '14
|
|
33
|
+
size: 'Font-14'
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
var uploadTokenExtraValue = {
|
|
37
37
|
result: {
|
|
38
38
|
padding: {
|
|
39
|
-
x: '
|
|
40
|
-
y: '
|
|
39
|
+
x: 'Spacing-16',
|
|
40
|
+
y: 'Spacing-5'
|
|
41
41
|
},
|
|
42
42
|
background: {
|
|
43
43
|
color: 'Neutral-fill-2'
|
|
44
44
|
},
|
|
45
|
-
gap: '
|
|
45
|
+
gap: 'Spacing-4',
|
|
46
46
|
margin: {
|
|
47
|
-
y: '
|
|
47
|
+
y: 'Spacing-8'
|
|
48
48
|
},
|
|
49
49
|
icon: {
|
|
50
50
|
size: 'Size-7',
|
|
@@ -56,7 +56,7 @@ var uploadTokenExtraValue = {
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
font: {
|
|
59
|
-
size: '14
|
|
59
|
+
size: 'Font-14',
|
|
60
60
|
color: 'Neutral-text-5'
|
|
61
61
|
},
|
|
62
62
|
border: {
|
|
@@ -163,7 +163,7 @@ var uploadTokenExtraValue = {
|
|
|
163
163
|
color: 'Neutral-fill-1'
|
|
164
164
|
},
|
|
165
165
|
font: {
|
|
166
|
-
size: '12
|
|
166
|
+
size: 'Font-12'
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
package/esm/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/esm/upload/upload.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
3
3
|
|
|
4
4
|
var uploadTokens = {
|
|
5
|
-
uploadResultPaddingX: '
|
|
6
|
-
uploadResultPaddingY: '
|
|
5
|
+
uploadResultPaddingX: 'Spacing-16',
|
|
6
|
+
uploadResultPaddingY: 'Spacing-5',
|
|
7
7
|
uploadResultBackgroundColor: 'Neutral-fill-2',
|
|
8
|
-
uploadResultGap: '
|
|
9
|
-
uploadResultMarginY: '
|
|
8
|
+
uploadResultGap: 'Spacing-4',
|
|
9
|
+
uploadResultMarginY: 'Spacing-8',
|
|
10
10
|
uploadResultIconSize: 'Size-7',
|
|
11
11
|
uploadResultIconColor: 'Neutral-text-4',
|
|
12
12
|
uploadResultIconHoverBackgroundColor: 'Neutral-fill-2',
|
|
13
|
-
uploadResultFontSize: '14
|
|
13
|
+
uploadResultFontSize: 'Font-14',
|
|
14
14
|
uploadResultFontColor: 'Neutral-text-5',
|
|
15
15
|
uploadResultBorderRadius: 'Radius-4',
|
|
16
16
|
uploadResultErrorFontColor: 'Danger-6',
|
|
@@ -39,7 +39,7 @@ var uploadTokens = {
|
|
|
39
39
|
uploadImageResultErrorBorderColor: 'Danger-6',
|
|
40
40
|
uploadImageResultErrorFontColor: 'Danger-6',
|
|
41
41
|
uploadImageResultTipBackgroundColor: 'Neutral-fill-1',
|
|
42
|
-
uploadImageResultTipFontSize: '12
|
|
43
|
-
uploadFontSize: '14
|
|
42
|
+
uploadImageResultTipFontSize: 'Font-12',
|
|
43
|
+
uploadFontSize: 'Font-14'
|
|
44
44
|
};
|
|
45
45
|
export default uploadTokens;
|
package/esm/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/esm/utils/css-var.js
CHANGED
|
@@ -10,18 +10,9 @@ export function replaceNonAlphanumeric(str) {
|
|
|
10
10
|
export function camelCaseToDash(str) {
|
|
11
11
|
return str.replace(/(?<=.)([A-Z])/g, '-$1').toLowerCase();
|
|
12
12
|
}
|
|
13
|
-
export var cssvar = function cssvar(str, value, key,
|
|
13
|
+
export var cssvar = function cssvar(str, value, key, _size) {
|
|
14
14
|
var _getConfig = getConfig(),
|
|
15
15
|
prefix = _getConfig.prefix;
|
|
16
|
-
if (str.indexOf('Size-') > -1) {
|
|
17
|
-
// 正则提取出Size-后面的数字
|
|
18
|
-
var sizeReg = /Size-(\d+)/;
|
|
19
|
-
// 正则提取出以px结尾的数字
|
|
20
|
-
var sizeNum = sizeReg.exec(str);
|
|
21
|
-
if (sizeNum) {
|
|
22
|
-
return "".concat(Number(sizeNum[1]) * Number(size), "px");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
16
|
var pxReg = /(\d+)px/;
|
|
26
17
|
var pxNum = pxReg.exec(str);
|
|
27
18
|
if (pxNum) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/theme",
|
|
3
|
-
"version": "3.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.3",
|
|
4
4
|
"description": "",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"author": "",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
@@ -10,5 +10,10 @@
|
|
|
10
10
|
"typings": "./cjs/index.d.ts",
|
|
11
11
|
"peerDependencies": {
|
|
12
12
|
"core-js": ">=3"
|
|
13
|
-
}
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/sheinsight/shineout-next"
|
|
17
|
+
},
|
|
18
|
+
"authors": ""
|
|
14
19
|
}
|