@sheinx/theme 3.9.13-beta.8 → 3.9.13
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/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +4 -1
- package/cjs/cascader/token.js +10 -1
- package/cjs/cascader/type.d.ts +19 -1
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/common/common.d.ts.map +1 -1
- package/cjs/common/common.js +3 -1
- package/cjs/common/type.d.ts +14 -0
- package/cjs/common/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +13 -13
- package/cjs/descriptions/token.js +22 -12
- package/cjs/descriptions/type.d.ts +62 -62
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +1 -1
- package/cjs/dropdown/token.js +1 -1
- package/cjs/dropdown/type.d.ts +1 -1
- package/cjs/token/figma.js +36 -42
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +6 -7
- package/cjs/token/type.d.ts +42 -49
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tree/token.js +4 -5
- package/cjs/tree/tree.js +10 -10
- package/cjs/tree/type.d.ts +46 -46
- package/cjs/tree/type.d.ts.map +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +4 -1
- package/esm/cascader/token.js +10 -1
- package/esm/cascader/type.d.ts +19 -1
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/common/common.d.ts.map +1 -1
- package/esm/common/common.js +3 -1
- package/esm/common/type.d.ts +14 -0
- package/esm/common/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +13 -13
- package/esm/descriptions/token.js +22 -12
- package/esm/descriptions/type.d.ts +62 -62
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +1 -1
- package/esm/dropdown/token.js +1 -1
- package/esm/dropdown/type.d.ts +1 -1
- package/esm/token/figma.js +36 -42
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +6 -7
- package/esm/token/type.d.ts +42 -49
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tree/token.js +4 -5
- package/esm/tree/tree.js +10 -10
- package/esm/tree/type.d.ts +46 -46
- package/esm/tree/type.d.ts.map +1 -1
- package/package.json +1 -1
package/esm/tree/tree.js
CHANGED
|
@@ -2,19 +2,15 @@
|
|
|
2
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
3
3
|
|
|
4
4
|
var treeTokens = {
|
|
5
|
-
treeTextPaddingY: 'Spacing-2',
|
|
6
|
-
treeTextPaddingX: 'Spacing-4',
|
|
7
|
-
treeCheckboxMarginX: 'Spacing-8',
|
|
8
|
-
treeIconSize: 'Font-14',
|
|
9
5
|
treeFontSize: 'Font-14',
|
|
6
|
+
treeFontWeight: 'Weight-regular',
|
|
7
|
+
treeFontColor: 'Neutral-text-5',
|
|
10
8
|
treeLineHeight: 'Size-18',
|
|
9
|
+
treeLineBackgroundColor: 'Neutral-fill-3',
|
|
11
10
|
treeSmallFontSize: 'Font-12',
|
|
12
11
|
treeSmallLineHeight: 'Size-14',
|
|
13
12
|
treeLargeFontSize: 'Font-16',
|
|
14
13
|
treeLargeLineHeight: 'Size-22',
|
|
15
|
-
treeFontWeight: 'Weight-regular',
|
|
16
|
-
treeFontColor: 'Neutral-text-5',
|
|
17
|
-
treeLineBackgroundColor: 'Neutral-fill-3',
|
|
18
14
|
treePaddingX: 'Spacing-8',
|
|
19
15
|
treePaddingY: 'Spacing-1',
|
|
20
16
|
treeItemFontColor: 'Neutral-text-4',
|
|
@@ -23,15 +19,19 @@ var treeTokens = {
|
|
|
23
19
|
treeItemActiveBackgroundColor: 'Neutral-fill-4',
|
|
24
20
|
treeItemActiveFontColor: 'Neutral-text-4',
|
|
25
21
|
treeItemDisabledFontColor: 'Neutral-text-2',
|
|
26
|
-
treeContentBorderRadius: 'Radius-lesser',
|
|
27
22
|
treeContentHoverBackgroundColor: 'Neutral-fill-2',
|
|
28
23
|
treeContentHoverFontColor: 'Neutral-text-5',
|
|
29
24
|
treeContentActiveBackgroundColor: 'Brand-1',
|
|
30
25
|
treeContentActiveFontColor: 'Brand-6',
|
|
31
|
-
treeContentActiveBorderRadius: 'Radius-
|
|
26
|
+
treeContentActiveBorderRadius: 'Radius-lesser',
|
|
32
27
|
treeContentDisabledBackgroundColor: 'Transprent',
|
|
33
28
|
treeContentDisabledFontColor: 'Neutral-text-5',
|
|
29
|
+
treeContentBorderRadius: 'Radius-lesser',
|
|
34
30
|
treeDragBorderColor: 'Brand-6',
|
|
35
|
-
treeDragBackgroundColor: 'Brand-1'
|
|
31
|
+
treeDragBackgroundColor: 'Brand-1',
|
|
32
|
+
treeTextPaddingY: 'Spacing-2',
|
|
33
|
+
treeTextPaddingX: 'Spacing-4',
|
|
34
|
+
treeCheckboxMarginX: 'Spacing-8',
|
|
35
|
+
treeIconSize: 'Font-14'
|
|
36
36
|
};
|
|
37
37
|
export default treeTokens;
|
package/esm/tree/type.d.ts
CHANGED
|
@@ -1,40 +1,34 @@
|
|
|
1
1
|
export interface TreeTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token
|
|
5
|
-
* @description
|
|
6
|
-
*/
|
|
7
|
-
treeTextPaddingY: string;
|
|
8
|
-
/**
|
|
9
|
-
* @type {string}
|
|
10
|
-
* @token Spacing-4
|
|
11
|
-
* @description 树组件文字内边距(水平方向)
|
|
12
|
-
*/
|
|
13
|
-
treeTextPaddingX: string;
|
|
14
|
-
/**
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @token Spacing-8
|
|
17
|
-
* @description 树组件复选框外边距(水平方向)
|
|
4
|
+
* @token Font-14
|
|
5
|
+
* @description 树组件字体字号
|
|
18
6
|
*/
|
|
19
|
-
|
|
7
|
+
treeFontSize: string;
|
|
20
8
|
/**
|
|
21
9
|
* @type {string}
|
|
22
|
-
* @token
|
|
23
|
-
* @description
|
|
10
|
+
* @token Weight-regular
|
|
11
|
+
* @description 树组件字体字重
|
|
24
12
|
*/
|
|
25
|
-
|
|
13
|
+
treeFontWeight: string;
|
|
26
14
|
/**
|
|
27
15
|
* @type {string}
|
|
28
|
-
* @token
|
|
29
|
-
* @description
|
|
16
|
+
* @token Neutral-text-5
|
|
17
|
+
* @description 树组件字体颜色
|
|
30
18
|
*/
|
|
31
|
-
|
|
19
|
+
treeFontColor: string;
|
|
32
20
|
/**
|
|
33
21
|
* @type {string}
|
|
34
22
|
* @token Size-18
|
|
35
23
|
* @description 树组件连接线高度
|
|
36
24
|
*/
|
|
37
25
|
treeLineHeight: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Neutral-fill-3
|
|
29
|
+
* @description 树组件连接线背景颜色
|
|
30
|
+
*/
|
|
31
|
+
treeLineBackgroundColor: string;
|
|
38
32
|
/**
|
|
39
33
|
* @type {string}
|
|
40
34
|
* @token Font-12
|
|
@@ -59,24 +53,6 @@ export interface TreeTokens {
|
|
|
59
53
|
* @description 树组件大尺寸连接线高度
|
|
60
54
|
*/
|
|
61
55
|
treeLargeLineHeight: string;
|
|
62
|
-
/**
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @token Weight-regular
|
|
65
|
-
* @description 树组件字体字重
|
|
66
|
-
*/
|
|
67
|
-
treeFontWeight: string;
|
|
68
|
-
/**
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @token Neutral-text-5
|
|
71
|
-
* @description 树组件字体颜色
|
|
72
|
-
*/
|
|
73
|
-
treeFontColor: string;
|
|
74
|
-
/**
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @token Neutral-fill-3
|
|
77
|
-
* @description 树组件连接线背景颜色
|
|
78
|
-
*/
|
|
79
|
-
treeLineBackgroundColor: string;
|
|
80
56
|
/**
|
|
81
57
|
* @type {string}
|
|
82
58
|
* @token Spacing-8
|
|
@@ -125,12 +101,6 @@ export interface TreeTokens {
|
|
|
125
101
|
* @description 树组件节点禁用时的字体颜色
|
|
126
102
|
*/
|
|
127
103
|
treeItemDisabledFontColor: string;
|
|
128
|
-
/**
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @token Radius-lesser
|
|
131
|
-
* @description 树组件节点容器边框圆角
|
|
132
|
-
*/
|
|
133
|
-
treeContentBorderRadius: string;
|
|
134
104
|
/**
|
|
135
105
|
* @type {string}
|
|
136
106
|
* @token Neutral-fill-2
|
|
@@ -157,7 +127,7 @@ export interface TreeTokens {
|
|
|
157
127
|
treeContentActiveFontColor: string;
|
|
158
128
|
/**
|
|
159
129
|
* @type {string}
|
|
160
|
-
* @token Radius-
|
|
130
|
+
* @token Radius-lesser
|
|
161
131
|
* @description 树组件节点容器鼠标点击时的边框圆角
|
|
162
132
|
*/
|
|
163
133
|
treeContentActiveBorderRadius: string;
|
|
@@ -173,6 +143,12 @@ export interface TreeTokens {
|
|
|
173
143
|
* @description 树组件节点容器禁用时的字体颜色
|
|
174
144
|
*/
|
|
175
145
|
treeContentDisabledFontColor: string;
|
|
146
|
+
/**
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @token Radius-lesser
|
|
149
|
+
* @description 树组件节点容器边框圆角
|
|
150
|
+
*/
|
|
151
|
+
treeContentBorderRadius: string;
|
|
176
152
|
/**
|
|
177
153
|
* @type {string}
|
|
178
154
|
* @token Brand-6
|
|
@@ -185,5 +161,29 @@ export interface TreeTokens {
|
|
|
185
161
|
* @description 树组件拖拽时的背景颜色
|
|
186
162
|
*/
|
|
187
163
|
treeDragBackgroundColor: string;
|
|
164
|
+
/**
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @token Spacing-2
|
|
167
|
+
* @description 树组件文字内边距(垂直方向)
|
|
168
|
+
*/
|
|
169
|
+
treeTextPaddingY: string;
|
|
170
|
+
/**
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @token Spacing-4
|
|
173
|
+
* @description 树组件文字内边距(水平方向)
|
|
174
|
+
*/
|
|
175
|
+
treeTextPaddingX: string;
|
|
176
|
+
/**
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @token Spacing-8
|
|
179
|
+
* @description 树组件复选框外边距(水平方向)
|
|
180
|
+
*/
|
|
181
|
+
treeCheckboxMarginX: string;
|
|
182
|
+
/**
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @token Font-14
|
|
185
|
+
* @description 树组件图标字号
|
|
186
|
+
*/
|
|
187
|
+
treeIconSize: string;
|
|
188
188
|
}
|
|
189
189
|
//# sourceMappingURL=type.d.ts.map
|
package/esm/tree/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB"}
|