@sheinx/theme 3.0.0-rc.9 → 3.0.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/cjs/button/button.js +2 -2
- package/cjs/button/token.js +2 -2
- package/cjs/button/type.d.ts +2 -2
- package/cjs/divider/divider.js +1 -1
- package/cjs/divider/token.js +1 -1
- package/cjs/divider/type.d.ts +1 -1
- package/cjs/tag/rule.js +2 -2
- package/cjs/tag/tag.js +21 -21
- package/cjs/tag/token.js +2 -326
- package/cjs/tag/type.d.ts +42 -42
- package/cjs/tag/type.d.ts.map +1 -1
- package/cjs/utils/token-setter.d.ts +6 -1
- package/cjs/utils/token-setter.d.ts.map +1 -1
- package/cjs/utils/token-setter.js +13 -0
- package/esm/button/button.js +2 -2
- package/esm/button/token.js +2 -2
- package/esm/button/type.d.ts +2 -2
- package/esm/divider/divider.js +1 -1
- package/esm/divider/token.js +1 -1
- package/esm/divider/type.d.ts +1 -1
- package/esm/tag/rule.js +2 -2
- package/esm/tag/tag.js +21 -21
- package/esm/tag/token.js +2 -326
- package/esm/tag/type.d.ts +42 -42
- package/esm/tag/type.d.ts.map +1 -1
- package/esm/utils/token-setter.d.ts +6 -1
- package/esm/utils/token-setter.d.ts.map +1 -1
- package/esm/utils/token-setter.js +13 -0
- package/package.json +1 -1
package/cjs/button/button.js
CHANGED
|
@@ -252,7 +252,7 @@ var buttonTokens = {
|
|
|
252
252
|
buttonLinkFocusBorderColor: 'transparent',
|
|
253
253
|
buttonFontSize: '14/regular',
|
|
254
254
|
buttonBorderRadius: 'Radius-4',
|
|
255
|
-
buttonPaddingX: 'Padding-
|
|
255
|
+
buttonPaddingX: 'Padding-12',
|
|
256
256
|
buttonPaddingY: 'Padding-5',
|
|
257
257
|
buttonHeight: 'Size-16',
|
|
258
258
|
buttonFontWeight: 'Weight-regular',
|
|
@@ -264,7 +264,7 @@ var buttonTokens = {
|
|
|
264
264
|
buttonSmallFontWeight: 'Weight-regular',
|
|
265
265
|
buttonLargeFontSize: '16/regular',
|
|
266
266
|
buttonLargeBorderRadius: 'Radius-4',
|
|
267
|
-
buttonLargePaddingX: 'Padding-
|
|
267
|
+
buttonLargePaddingX: 'Padding-16',
|
|
268
268
|
buttonLargePaddingY: 'Padding-8',
|
|
269
269
|
buttonLargeHeight: 'Size-20',
|
|
270
270
|
buttonLargeFontWeight: 'Weight-regular',
|
package/cjs/button/token.js
CHANGED
|
@@ -2178,7 +2178,7 @@ var buttonTokenValue = {
|
|
|
2178
2178
|
radius: 'Radius-4'
|
|
2179
2179
|
},
|
|
2180
2180
|
padding: {
|
|
2181
|
-
x: 'Padding-
|
|
2181
|
+
x: 'Padding-12',
|
|
2182
2182
|
y: 'Padding-5'
|
|
2183
2183
|
},
|
|
2184
2184
|
height: 'Size-16',
|
|
@@ -2220,7 +2220,7 @@ var buttonTokenValue = {
|
|
|
2220
2220
|
radius: 'Radius-4'
|
|
2221
2221
|
},
|
|
2222
2222
|
padding: {
|
|
2223
|
-
x: 'Padding-
|
|
2223
|
+
x: 'Padding-16',
|
|
2224
2224
|
y: 'Padding-8'
|
|
2225
2225
|
},
|
|
2226
2226
|
height: 'Size-20',
|
package/cjs/button/type.d.ts
CHANGED
|
@@ -1465,7 +1465,7 @@ export interface ButtonTokens {
|
|
|
1465
1465
|
buttonBorderRadius: string;
|
|
1466
1466
|
/**
|
|
1467
1467
|
* @type {string}
|
|
1468
|
-
* @token Padding-
|
|
1468
|
+
* @token Padding-12
|
|
1469
1469
|
* @description 按钮内边距(水平方向)
|
|
1470
1470
|
*/
|
|
1471
1471
|
buttonPaddingX: string;
|
|
@@ -1537,7 +1537,7 @@ export interface ButtonTokens {
|
|
|
1537
1537
|
buttonLargeBorderRadius: string;
|
|
1538
1538
|
/**
|
|
1539
1539
|
* @type {string}
|
|
1540
|
-
* @token Padding-
|
|
1540
|
+
* @token Padding-16
|
|
1541
1541
|
* @description 按钮大尺寸内边距(水平方向)
|
|
1542
1542
|
*/
|
|
1543
1543
|
buttonLargePaddingX: string;
|
package/cjs/divider/divider.js
CHANGED
|
@@ -8,7 +8,7 @@ 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 dividerTokens = {
|
|
11
|
-
dividerFontSize: '
|
|
11
|
+
dividerFontSize: '12/regular',
|
|
12
12
|
dividerFontColor: 'Neutral-text-5',
|
|
13
13
|
dividerBorderColor: 'Neutral-border-1',
|
|
14
14
|
dividerBorderWidth: 'Border-1',
|
package/cjs/divider/token.js
CHANGED
package/cjs/divider/type.d.ts
CHANGED
package/cjs/tag/rule.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var tagRules = {
|
|
4
|
-
color: [['info', 'default', 'success', 'warning', 'danger', 'magenta', '
|
|
4
|
+
color: [['info', 'default', 'success', 'warning', 'danger', 'magenta', 'brown', 'purple', 'indigo', 'cyan', 'neon', 'lemon', 'tangerine'], ['', 'outline', 'fill'], ['', 'disabled'], ['font-color', 'background-color', 'border-color']],
|
|
5
5
|
size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'height']],
|
|
6
6
|
input: [['', 'small', 'large'], ['input'], ['padding-x', 'padding-y', 'font-size']],
|
|
7
|
-
icon: [['info', 'default', 'success', 'warning', 'danger', 'magenta', '
|
|
7
|
+
icon: [['info', 'default', 'success', 'warning', 'danger', 'magenta', 'brown', 'purple', 'indigo', 'cyan', 'neon', 'lemon', 'tangerine'], ['', 'outline', 'fill'], ['icon'], ['', 'disabled', 'hover'], ['background-color', 'font-color']]
|
|
8
8
|
};
|
|
9
9
|
module.exports = {
|
|
10
10
|
tagRules: tagRules
|
package/cjs/tag/tag.js
CHANGED
|
@@ -116,24 +116,24 @@ var tagTokens = {
|
|
|
116
116
|
tagMagentaFillDisabledFontColor: 'Neutral-text-1',
|
|
117
117
|
tagMagentaFillDisabledBackgroundColor: 'Magenta-3',
|
|
118
118
|
tagMagentaFillDisabledBorderColor: 'Magenta-3',
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
119
|
+
tagBrownFontColor: 'Orange-6',
|
|
120
|
+
tagBrownBackgroundColor: 'Orange-1',
|
|
121
|
+
tagBrownBorderColor: 'Orange-1',
|
|
122
|
+
tagBrownDisabledFontColor: 'Orange-3',
|
|
123
|
+
tagBrownDisabledBackgroundColor: 'Orange-1',
|
|
124
|
+
tagBrownDisabledBorderColor: 'Orange-1',
|
|
125
|
+
tagBrownOutlineFontColor: 'Orange-5',
|
|
126
|
+
tagBrownOutlineBackgroundColor: 'Neutral-fill-1',
|
|
127
|
+
tagBrownOutlineBorderColor: 'Orange-5',
|
|
128
|
+
tagBrownOutlineDisabledFontColor: 'Orange-3',
|
|
129
|
+
tagBrownOutlineDisabledBackgroundColor: 'Neutral-fill-1',
|
|
130
|
+
tagBrownOutlineDisabledBorderColor: 'Orange-3',
|
|
131
|
+
tagBrownFillFontColor: 'Neutral-text-1',
|
|
132
|
+
tagBrownFillBackgroundColor: 'Orange-6',
|
|
133
|
+
tagBrownFillBorderColor: 'Orange-6',
|
|
134
|
+
tagBrownFillDisabledFontColor: 'Neutral-text-1',
|
|
135
|
+
tagBrownFillDisabledBackgroundColor: 'Orange-3',
|
|
136
|
+
tagBrownFillDisabledBorderColor: 'Orange-3',
|
|
137
137
|
tagPurpleFontColor: 'Purple-6',
|
|
138
138
|
tagPurpleBackgroundColor: 'Purple-1',
|
|
139
139
|
tagPurpleBorderColor: 'Purple-1',
|
|
@@ -286,9 +286,9 @@ var tagTokens = {
|
|
|
286
286
|
tagMagentaIconFontColor: 'Magenta-6',
|
|
287
287
|
tagMagentaIconDisabledFontColor: 'Magenta-3',
|
|
288
288
|
tagMagentaIconHoverBackgroundColor: 'Magenta-2',
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
tagBrownIconFontColor: 'Orange-6',
|
|
290
|
+
tagBrownIconDisabledFontColor: 'Orange-3',
|
|
291
|
+
tagBrownIconHoverBackgroundColor: 'Orange-2',
|
|
292
292
|
tagPurpleIconFontColor: 'Purple-6',
|
|
293
293
|
tagPurpleIconDisabledFontColor: 'Purple-3',
|
|
294
294
|
tagPurpleIconHoverBackgroundColor: 'Purple-2',
|