@sheinx/theme 3.6.0-beta.18 → 3.6.0-beta.19
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/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +17 -0
- package/cjs/table/token.js +49 -0
- package/cjs/table/type.d.ts +102 -0
- package/cjs/table/type.d.ts.map +1 -1
- package/cjs/tree/rule.js +1 -1
- package/cjs/tree/token.js +6 -2
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +5 -3
- package/cjs/tree/type.d.ts +19 -7
- package/cjs/tree/type.d.ts.map +1 -1
- package/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +17 -0
- package/esm/table/token.js +49 -0
- package/esm/table/type.d.ts +102 -0
- package/esm/table/type.d.ts.map +1 -1
- package/esm/tree/rule.js +1 -1
- package/esm/tree/token.js +6 -2
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +5 -3
- package/esm/tree/type.d.ts +19 -7
- package/esm/tree/type.d.ts.map +1 -1
- package/package.json +1 -1
package/cjs/table/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA2DlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/table/table.js
CHANGED
|
@@ -46,6 +46,23 @@ var tableTokens = {
|
|
|
46
46
|
tableSorterColor: 'Neutral-text-3',
|
|
47
47
|
tableSorterHoverColor: 'Neutral-text-4',
|
|
48
48
|
tableSorterActiveColor: 'Brand-6',
|
|
49
|
+
tableFilterHeaderPaddingX: 'Spacing-12',
|
|
50
|
+
tableFilterHeaderPaddingY: 'Spacing-12',
|
|
51
|
+
tableFilterBodyPaddingX: 'Spacing-12',
|
|
52
|
+
tableFilterBodyPaddingY: 'Spacing-8',
|
|
53
|
+
tableFilterFooterPaddingX: 'Spacing-12',
|
|
54
|
+
tableFilterFooterPaddingY: 'Spacing-8',
|
|
55
|
+
tableFilterFooterBorderColor: 'Neutral-border-1',
|
|
56
|
+
tableFilterInputMarginBottom: 'Spacing-8',
|
|
57
|
+
tableFilterInputIconSize: 'Size-7',
|
|
58
|
+
tableFilterInputIconColor: 'Neutral-text-4',
|
|
59
|
+
tableFilterInputIconMarginRight: 'Spacing-8',
|
|
60
|
+
tableFilterIconColor: 'Neutral-text-3',
|
|
61
|
+
tableFilterIconHoverColor: 'Neutral-text-4',
|
|
62
|
+
tableFilterIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
63
|
+
tableFilterIconActiveColor: 'Brand-6',
|
|
64
|
+
tableFilterIconPadding: 'Spacing-4',
|
|
65
|
+
tableFilterIconSize: 'Size-7',
|
|
49
66
|
tableResizeColor: 'Brand-7',
|
|
50
67
|
tableSelectionBorderColor: 'Brand-6',
|
|
51
68
|
tablePaginationMarginY: 'Spacing-12'
|
package/cjs/table/token.js
CHANGED
|
@@ -153,6 +153,55 @@ var tableTokenExtraValue = {
|
|
|
153
153
|
color: 'Brand-6'
|
|
154
154
|
}
|
|
155
155
|
},
|
|
156
|
+
filter: {
|
|
157
|
+
header: {
|
|
158
|
+
padding: {
|
|
159
|
+
x: 'Spacing-12',
|
|
160
|
+
y: 'Spacing-12'
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
body: {
|
|
164
|
+
padding: {
|
|
165
|
+
x: 'Spacing-12',
|
|
166
|
+
y: 'Spacing-8'
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
footer: {
|
|
170
|
+
padding: {
|
|
171
|
+
x: 'Spacing-12',
|
|
172
|
+
y: 'Spacing-8'
|
|
173
|
+
},
|
|
174
|
+
border: {
|
|
175
|
+
color: 'Neutral-border-1'
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
input: {
|
|
179
|
+
margin: {
|
|
180
|
+
bottom: 'Spacing-8'
|
|
181
|
+
},
|
|
182
|
+
icon: {
|
|
183
|
+
size: 'Size-7',
|
|
184
|
+
color: 'Neutral-text-4',
|
|
185
|
+
margin: {
|
|
186
|
+
right: 'Spacing-8'
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
icon: {
|
|
191
|
+
color: 'Neutral-text-3',
|
|
192
|
+
hover: {
|
|
193
|
+
color: 'Neutral-text-4',
|
|
194
|
+
background: {
|
|
195
|
+
color: 'Neutral-fill-3'
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
active: {
|
|
199
|
+
color: 'Brand-6'
|
|
200
|
+
},
|
|
201
|
+
padding: 'Spacing-4',
|
|
202
|
+
size: 'Size-7'
|
|
203
|
+
}
|
|
204
|
+
},
|
|
156
205
|
resize: {
|
|
157
206
|
color: 'Brand-7'
|
|
158
207
|
},
|
package/cjs/table/type.d.ts
CHANGED
|
@@ -227,6 +227,108 @@ export interface TableTokens {
|
|
|
227
227
|
* @description 表格排序icon的鼠标点击时的颜色
|
|
228
228
|
*/
|
|
229
229
|
tableSorterActiveColor: string;
|
|
230
|
+
/**
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @token Spacing-12
|
|
233
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
234
|
+
*/
|
|
235
|
+
tableFilterHeaderPaddingX: string;
|
|
236
|
+
/**
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @token Spacing-12
|
|
239
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
240
|
+
*/
|
|
241
|
+
tableFilterHeaderPaddingY: string;
|
|
242
|
+
/**
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @token Spacing-12
|
|
245
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
246
|
+
*/
|
|
247
|
+
tableFilterBodyPaddingX: string;
|
|
248
|
+
/**
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @token Spacing-8
|
|
251
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
252
|
+
*/
|
|
253
|
+
tableFilterBodyPaddingY: string;
|
|
254
|
+
/**
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @token Spacing-12
|
|
257
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
258
|
+
*/
|
|
259
|
+
tableFilterFooterPaddingX: string;
|
|
260
|
+
/**
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @token Spacing-8
|
|
263
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
264
|
+
*/
|
|
265
|
+
tableFilterFooterPaddingY: string;
|
|
266
|
+
/**
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @token Neutral-border-1
|
|
269
|
+
* @description 表格undefinedundefined边框颜色
|
|
270
|
+
*/
|
|
271
|
+
tableFilterFooterBorderColor: string;
|
|
272
|
+
/**
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @token Spacing-8
|
|
275
|
+
* @description 表格undefinedundefined外边距undefined
|
|
276
|
+
*/
|
|
277
|
+
tableFilterInputMarginBottom: string;
|
|
278
|
+
/**
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @token Size-7
|
|
281
|
+
* @description 表格undefinedundefined图标字号
|
|
282
|
+
*/
|
|
283
|
+
tableFilterInputIconSize: string;
|
|
284
|
+
/**
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @token Neutral-text-4
|
|
287
|
+
* @description 表格undefinedundefined图标颜色
|
|
288
|
+
*/
|
|
289
|
+
tableFilterInputIconColor: string;
|
|
290
|
+
/**
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @token Spacing-8
|
|
293
|
+
* @description 表格undefinedundefined图标外边距undefined
|
|
294
|
+
*/
|
|
295
|
+
tableFilterInputIconMarginRight: string;
|
|
296
|
+
/**
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @token Neutral-text-3
|
|
299
|
+
* @description 表格undefined图标颜色
|
|
300
|
+
*/
|
|
301
|
+
tableFilterIconColor: string;
|
|
302
|
+
/**
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @token Neutral-text-4
|
|
305
|
+
* @description 表格undefined图标鼠标移入时的颜色
|
|
306
|
+
*/
|
|
307
|
+
tableFilterIconHoverColor: string;
|
|
308
|
+
/**
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @token Neutral-fill-3
|
|
311
|
+
* @description 表格undefined图标鼠标移入时的背景颜色
|
|
312
|
+
*/
|
|
313
|
+
tableFilterIconHoverBackgroundColor: string;
|
|
314
|
+
/**
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @token Brand-6
|
|
317
|
+
* @description 表格undefined图标鼠标点击时的颜色
|
|
318
|
+
*/
|
|
319
|
+
tableFilterIconActiveColor: string;
|
|
320
|
+
/**
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @token Spacing-4
|
|
323
|
+
* @description 表格undefined图标内边距
|
|
324
|
+
*/
|
|
325
|
+
tableFilterIconPadding: string;
|
|
326
|
+
/**
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @token Size-7
|
|
329
|
+
* @description 表格undefined图标字号
|
|
330
|
+
*/
|
|
331
|
+
tableFilterIconSize: string;
|
|
230
332
|
/**
|
|
231
333
|
* @type {string}
|
|
232
334
|
* @token Brand-7
|
package/cjs/table/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG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AAC;IAC/B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
|
package/cjs/tree/rule.js
CHANGED
|
@@ -15,7 +15,7 @@ var treeRules = {
|
|
|
15
15
|
line: [['line'], ['background-color']],
|
|
16
16
|
layout: [['padding-x', 'padding-y']],
|
|
17
17
|
item: [['item'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
|
18
|
-
content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
|
18
|
+
content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color', 'border-radius']],
|
|
19
19
|
drag: [['drag'], ['border-color', 'background-color']],
|
|
20
20
|
extra_icon_margin: [['nearly'], ['', 'small', 'large'], ['margin']],
|
|
21
21
|
extra_content: [['content'], ['border-radius']]
|
package/cjs/tree/token.js
CHANGED
|
@@ -110,7 +110,10 @@ var treeTokenValue = {
|
|
|
110
110
|
color: 'Brand-1'
|
|
111
111
|
},
|
|
112
112
|
font: {
|
|
113
|
-
color: 'Brand-
|
|
113
|
+
color: 'Brand-4'
|
|
114
|
+
},
|
|
115
|
+
border: {
|
|
116
|
+
radius: 'Radius-2'
|
|
114
117
|
}
|
|
115
118
|
},
|
|
116
119
|
disabled: {
|
|
@@ -146,7 +149,8 @@ var treeTokenValue = {
|
|
|
146
149
|
var treeTokenExtraValue = {
|
|
147
150
|
text: {
|
|
148
151
|
padding: {
|
|
149
|
-
y: 'Spacing-2'
|
|
152
|
+
y: 'Spacing-2',
|
|
153
|
+
x: 'Spacing-4'
|
|
150
154
|
}
|
|
151
155
|
},
|
|
152
156
|
checkbox: {
|
package/cjs/tree/tree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA+BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tree/tree.js
CHANGED
|
@@ -9,6 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
var treeTokens = {
|
|
11
11
|
treeTextPaddingY: 'Spacing-2',
|
|
12
|
+
treeTextPaddingX: 'Spacing-4',
|
|
12
13
|
treeCheckboxMarginX: 'Spacing-8',
|
|
13
14
|
treeFontSize: 'Font-14',
|
|
14
15
|
treeLineHeight: 'Size-18',
|
|
@@ -27,14 +28,15 @@ var treeTokens = {
|
|
|
27
28
|
treeItemActiveBackgroundColor: 'Neutral-fill-4',
|
|
28
29
|
treeItemActiveFontColor: 'Neutral-text-4',
|
|
29
30
|
treeItemDisabledFontColor: 'Neutral-text-2',
|
|
31
|
+
treeContentBorderRadius: 'Radius-lesser',
|
|
30
32
|
treeContentHoverBackgroundColor: 'Neutral-fill-2',
|
|
31
33
|
treeContentHoverFontColor: 'Neutral-text-5',
|
|
32
34
|
treeContentActiveBackgroundColor: 'Brand-1',
|
|
33
|
-
treeContentActiveFontColor: 'Brand-
|
|
35
|
+
treeContentActiveFontColor: 'Brand-4',
|
|
36
|
+
treeContentActiveBorderRadius: 'Radius-2',
|
|
34
37
|
treeContentDisabledBackgroundColor: 'Transprent',
|
|
35
38
|
treeContentDisabledFontColor: 'Neutral-text-5',
|
|
36
39
|
treeDragBorderColor: 'Brand-6',
|
|
37
|
-
treeDragBackgroundColor: 'Brand-1'
|
|
38
|
-
treeContentBorderRadius: 'Radius-lesser'
|
|
40
|
+
treeDragBackgroundColor: 'Brand-1'
|
|
39
41
|
};
|
|
40
42
|
var _default = exports.default = treeTokens;
|
package/cjs/tree/type.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export interface TreeTokens {
|
|
|
5
5
|
* @description 树组件文字内边距(垂直方向)
|
|
6
6
|
*/
|
|
7
7
|
treeTextPaddingY: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Spacing-4
|
|
11
|
+
* @description 树组件文字内边距(水平方向)
|
|
12
|
+
*/
|
|
13
|
+
treeTextPaddingX: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Spacing-8
|
|
@@ -113,6 +119,12 @@ export interface TreeTokens {
|
|
|
113
119
|
* @description 树组件节点禁用时的字体颜色
|
|
114
120
|
*/
|
|
115
121
|
treeItemDisabledFontColor: string;
|
|
122
|
+
/**
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @token Radius-lesser
|
|
125
|
+
* @description 树组件节点容器边框圆角
|
|
126
|
+
*/
|
|
127
|
+
treeContentBorderRadius: string;
|
|
116
128
|
/**
|
|
117
129
|
* @type {string}
|
|
118
130
|
* @token Neutral-fill-2
|
|
@@ -133,10 +145,16 @@ export interface TreeTokens {
|
|
|
133
145
|
treeContentActiveBackgroundColor: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
|
-
* @token Brand-
|
|
148
|
+
* @token Brand-4
|
|
137
149
|
* @description 树组件节点容器鼠标点击时的字体颜色
|
|
138
150
|
*/
|
|
139
151
|
treeContentActiveFontColor: string;
|
|
152
|
+
/**
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @token Radius-2
|
|
155
|
+
* @description 树组件节点容器鼠标点击时的边框圆角
|
|
156
|
+
*/
|
|
157
|
+
treeContentActiveBorderRadius: string;
|
|
140
158
|
/**
|
|
141
159
|
* @type {string}
|
|
142
160
|
* @token Transprent
|
|
@@ -161,11 +179,5 @@ export interface TreeTokens {
|
|
|
161
179
|
* @description 树组件拖拽时的背景颜色
|
|
162
180
|
*/
|
|
163
181
|
treeDragBackgroundColor: string;
|
|
164
|
-
/**
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @token Radius-lesser
|
|
167
|
-
* @description 树组件节点容器边框圆角
|
|
168
|
-
*/
|
|
169
|
-
treeContentBorderRadius: string;
|
|
170
182
|
}
|
|
171
183
|
//# sourceMappingURL=type.d.ts.map
|
package/cjs/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,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IAC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E,MAAM,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC"}
|
package/esm/table/table.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA2DlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/table/table.js
CHANGED
|
@@ -40,6 +40,23 @@ var tableTokens = {
|
|
|
40
40
|
tableSorterColor: 'Neutral-text-3',
|
|
41
41
|
tableSorterHoverColor: 'Neutral-text-4',
|
|
42
42
|
tableSorterActiveColor: 'Brand-6',
|
|
43
|
+
tableFilterHeaderPaddingX: 'Spacing-12',
|
|
44
|
+
tableFilterHeaderPaddingY: 'Spacing-12',
|
|
45
|
+
tableFilterBodyPaddingX: 'Spacing-12',
|
|
46
|
+
tableFilterBodyPaddingY: 'Spacing-8',
|
|
47
|
+
tableFilterFooterPaddingX: 'Spacing-12',
|
|
48
|
+
tableFilterFooterPaddingY: 'Spacing-8',
|
|
49
|
+
tableFilterFooterBorderColor: 'Neutral-border-1',
|
|
50
|
+
tableFilterInputMarginBottom: 'Spacing-8',
|
|
51
|
+
tableFilterInputIconSize: 'Size-7',
|
|
52
|
+
tableFilterInputIconColor: 'Neutral-text-4',
|
|
53
|
+
tableFilterInputIconMarginRight: 'Spacing-8',
|
|
54
|
+
tableFilterIconColor: 'Neutral-text-3',
|
|
55
|
+
tableFilterIconHoverColor: 'Neutral-text-4',
|
|
56
|
+
tableFilterIconHoverBackgroundColor: 'Neutral-fill-3',
|
|
57
|
+
tableFilterIconActiveColor: 'Brand-6',
|
|
58
|
+
tableFilterIconPadding: 'Spacing-4',
|
|
59
|
+
tableFilterIconSize: 'Size-7',
|
|
43
60
|
tableResizeColor: 'Brand-7',
|
|
44
61
|
tableSelectionBorderColor: 'Brand-6',
|
|
45
62
|
tablePaginationMarginY: 'Spacing-12'
|
package/esm/table/token.js
CHANGED
|
@@ -151,6 +151,55 @@ var tableTokenExtraValue = {
|
|
|
151
151
|
color: 'Brand-6'
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
|
+
filter: {
|
|
155
|
+
header: {
|
|
156
|
+
padding: {
|
|
157
|
+
x: 'Spacing-12',
|
|
158
|
+
y: 'Spacing-12'
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
body: {
|
|
162
|
+
padding: {
|
|
163
|
+
x: 'Spacing-12',
|
|
164
|
+
y: 'Spacing-8'
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
footer: {
|
|
168
|
+
padding: {
|
|
169
|
+
x: 'Spacing-12',
|
|
170
|
+
y: 'Spacing-8'
|
|
171
|
+
},
|
|
172
|
+
border: {
|
|
173
|
+
color: 'Neutral-border-1'
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
input: {
|
|
177
|
+
margin: {
|
|
178
|
+
bottom: 'Spacing-8'
|
|
179
|
+
},
|
|
180
|
+
icon: {
|
|
181
|
+
size: 'Size-7',
|
|
182
|
+
color: 'Neutral-text-4',
|
|
183
|
+
margin: {
|
|
184
|
+
right: 'Spacing-8'
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
icon: {
|
|
189
|
+
color: 'Neutral-text-3',
|
|
190
|
+
hover: {
|
|
191
|
+
color: 'Neutral-text-4',
|
|
192
|
+
background: {
|
|
193
|
+
color: 'Neutral-fill-3'
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
active: {
|
|
197
|
+
color: 'Brand-6'
|
|
198
|
+
},
|
|
199
|
+
padding: 'Spacing-4',
|
|
200
|
+
size: 'Size-7'
|
|
201
|
+
}
|
|
202
|
+
},
|
|
154
203
|
resize: {
|
|
155
204
|
color: 'Brand-7'
|
|
156
205
|
},
|
package/esm/table/type.d.ts
CHANGED
|
@@ -227,6 +227,108 @@ export interface TableTokens {
|
|
|
227
227
|
* @description 表格排序icon的鼠标点击时的颜色
|
|
228
228
|
*/
|
|
229
229
|
tableSorterActiveColor: string;
|
|
230
|
+
/**
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @token Spacing-12
|
|
233
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
234
|
+
*/
|
|
235
|
+
tableFilterHeaderPaddingX: string;
|
|
236
|
+
/**
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @token Spacing-12
|
|
239
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
240
|
+
*/
|
|
241
|
+
tableFilterHeaderPaddingY: string;
|
|
242
|
+
/**
|
|
243
|
+
* @type {string}
|
|
244
|
+
* @token Spacing-12
|
|
245
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
246
|
+
*/
|
|
247
|
+
tableFilterBodyPaddingX: string;
|
|
248
|
+
/**
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @token Spacing-8
|
|
251
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
252
|
+
*/
|
|
253
|
+
tableFilterBodyPaddingY: string;
|
|
254
|
+
/**
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @token Spacing-12
|
|
257
|
+
* @description 表格undefinedundefined内边距(水平方向)
|
|
258
|
+
*/
|
|
259
|
+
tableFilterFooterPaddingX: string;
|
|
260
|
+
/**
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @token Spacing-8
|
|
263
|
+
* @description 表格undefinedundefined内边距(垂直方向)
|
|
264
|
+
*/
|
|
265
|
+
tableFilterFooterPaddingY: string;
|
|
266
|
+
/**
|
|
267
|
+
* @type {string}
|
|
268
|
+
* @token Neutral-border-1
|
|
269
|
+
* @description 表格undefinedundefined边框颜色
|
|
270
|
+
*/
|
|
271
|
+
tableFilterFooterBorderColor: string;
|
|
272
|
+
/**
|
|
273
|
+
* @type {string}
|
|
274
|
+
* @token Spacing-8
|
|
275
|
+
* @description 表格undefinedundefined外边距undefined
|
|
276
|
+
*/
|
|
277
|
+
tableFilterInputMarginBottom: string;
|
|
278
|
+
/**
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @token Size-7
|
|
281
|
+
* @description 表格undefinedundefined图标字号
|
|
282
|
+
*/
|
|
283
|
+
tableFilterInputIconSize: string;
|
|
284
|
+
/**
|
|
285
|
+
* @type {string}
|
|
286
|
+
* @token Neutral-text-4
|
|
287
|
+
* @description 表格undefinedundefined图标颜色
|
|
288
|
+
*/
|
|
289
|
+
tableFilterInputIconColor: string;
|
|
290
|
+
/**
|
|
291
|
+
* @type {string}
|
|
292
|
+
* @token Spacing-8
|
|
293
|
+
* @description 表格undefinedundefined图标外边距undefined
|
|
294
|
+
*/
|
|
295
|
+
tableFilterInputIconMarginRight: string;
|
|
296
|
+
/**
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @token Neutral-text-3
|
|
299
|
+
* @description 表格undefined图标颜色
|
|
300
|
+
*/
|
|
301
|
+
tableFilterIconColor: string;
|
|
302
|
+
/**
|
|
303
|
+
* @type {string}
|
|
304
|
+
* @token Neutral-text-4
|
|
305
|
+
* @description 表格undefined图标鼠标移入时的颜色
|
|
306
|
+
*/
|
|
307
|
+
tableFilterIconHoverColor: string;
|
|
308
|
+
/**
|
|
309
|
+
* @type {string}
|
|
310
|
+
* @token Neutral-fill-3
|
|
311
|
+
* @description 表格undefined图标鼠标移入时的背景颜色
|
|
312
|
+
*/
|
|
313
|
+
tableFilterIconHoverBackgroundColor: string;
|
|
314
|
+
/**
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @token Brand-6
|
|
317
|
+
* @description 表格undefined图标鼠标点击时的颜色
|
|
318
|
+
*/
|
|
319
|
+
tableFilterIconActiveColor: string;
|
|
320
|
+
/**
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @token Spacing-4
|
|
323
|
+
* @description 表格undefined图标内边距
|
|
324
|
+
*/
|
|
325
|
+
tableFilterIconPadding: string;
|
|
326
|
+
/**
|
|
327
|
+
* @type {string}
|
|
328
|
+
* @token Size-7
|
|
329
|
+
* @description 表格undefined图标字号
|
|
330
|
+
*/
|
|
331
|
+
tableFilterIconSize: string;
|
|
230
332
|
/**
|
|
231
333
|
* @type {string}
|
|
232
334
|
* @token Brand-7
|
package/esm/table/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OA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IAClC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
|
package/esm/tree/rule.js
CHANGED
|
@@ -13,7 +13,7 @@ var treeRules = {
|
|
|
13
13
|
line: [['line'], ['background-color']],
|
|
14
14
|
layout: [['padding-x', 'padding-y']],
|
|
15
15
|
item: [['item'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
|
16
|
-
content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
|
16
|
+
content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color', 'border-radius']],
|
|
17
17
|
drag: [['drag'], ['border-color', 'background-color']],
|
|
18
18
|
extra_icon_margin: [['nearly'], ['', 'small', 'large'], ['margin']],
|
|
19
19
|
extra_content: [['content'], ['border-radius']]
|
package/esm/tree/token.js
CHANGED
|
@@ -108,7 +108,10 @@ var treeTokenValue = {
|
|
|
108
108
|
color: 'Brand-1'
|
|
109
109
|
},
|
|
110
110
|
font: {
|
|
111
|
-
color: 'Brand-
|
|
111
|
+
color: 'Brand-4'
|
|
112
|
+
},
|
|
113
|
+
border: {
|
|
114
|
+
radius: 'Radius-2'
|
|
112
115
|
}
|
|
113
116
|
},
|
|
114
117
|
disabled: {
|
|
@@ -144,7 +147,8 @@ var treeTokenValue = {
|
|
|
144
147
|
var treeTokenExtraValue = {
|
|
145
148
|
text: {
|
|
146
149
|
padding: {
|
|
147
|
-
y: 'Spacing-2'
|
|
150
|
+
y: 'Spacing-2',
|
|
151
|
+
x: 'Spacing-4'
|
|
148
152
|
}
|
|
149
153
|
},
|
|
150
154
|
checkbox: {
|
package/esm/tree/tree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["tree.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA+BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/tree/tree.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
var treeTokens = {
|
|
5
5
|
treeTextPaddingY: 'Spacing-2',
|
|
6
|
+
treeTextPaddingX: 'Spacing-4',
|
|
6
7
|
treeCheckboxMarginX: 'Spacing-8',
|
|
7
8
|
treeFontSize: 'Font-14',
|
|
8
9
|
treeLineHeight: 'Size-18',
|
|
@@ -21,14 +22,15 @@ var treeTokens = {
|
|
|
21
22
|
treeItemActiveBackgroundColor: 'Neutral-fill-4',
|
|
22
23
|
treeItemActiveFontColor: 'Neutral-text-4',
|
|
23
24
|
treeItemDisabledFontColor: 'Neutral-text-2',
|
|
25
|
+
treeContentBorderRadius: 'Radius-lesser',
|
|
24
26
|
treeContentHoverBackgroundColor: 'Neutral-fill-2',
|
|
25
27
|
treeContentHoverFontColor: 'Neutral-text-5',
|
|
26
28
|
treeContentActiveBackgroundColor: 'Brand-1',
|
|
27
|
-
treeContentActiveFontColor: 'Brand-
|
|
29
|
+
treeContentActiveFontColor: 'Brand-4',
|
|
30
|
+
treeContentActiveBorderRadius: 'Radius-2',
|
|
28
31
|
treeContentDisabledBackgroundColor: 'Transprent',
|
|
29
32
|
treeContentDisabledFontColor: 'Neutral-text-5',
|
|
30
33
|
treeDragBorderColor: 'Brand-6',
|
|
31
|
-
treeDragBackgroundColor: 'Brand-1'
|
|
32
|
-
treeContentBorderRadius: 'Radius-lesser'
|
|
34
|
+
treeDragBackgroundColor: 'Brand-1'
|
|
33
35
|
};
|
|
34
36
|
export default treeTokens;
|
package/esm/tree/type.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export interface TreeTokens {
|
|
|
5
5
|
* @description 树组件文字内边距(垂直方向)
|
|
6
6
|
*/
|
|
7
7
|
treeTextPaddingY: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Spacing-4
|
|
11
|
+
* @description 树组件文字内边距(水平方向)
|
|
12
|
+
*/
|
|
13
|
+
treeTextPaddingX: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Spacing-8
|
|
@@ -113,6 +119,12 @@ export interface TreeTokens {
|
|
|
113
119
|
* @description 树组件节点禁用时的字体颜色
|
|
114
120
|
*/
|
|
115
121
|
treeItemDisabledFontColor: string;
|
|
122
|
+
/**
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @token Radius-lesser
|
|
125
|
+
* @description 树组件节点容器边框圆角
|
|
126
|
+
*/
|
|
127
|
+
treeContentBorderRadius: string;
|
|
116
128
|
/**
|
|
117
129
|
* @type {string}
|
|
118
130
|
* @token Neutral-fill-2
|
|
@@ -133,10 +145,16 @@ export interface TreeTokens {
|
|
|
133
145
|
treeContentActiveBackgroundColor: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
|
-
* @token Brand-
|
|
148
|
+
* @token Brand-4
|
|
137
149
|
* @description 树组件节点容器鼠标点击时的字体颜色
|
|
138
150
|
*/
|
|
139
151
|
treeContentActiveFontColor: string;
|
|
152
|
+
/**
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @token Radius-2
|
|
155
|
+
* @description 树组件节点容器鼠标点击时的边框圆角
|
|
156
|
+
*/
|
|
157
|
+
treeContentActiveBorderRadius: string;
|
|
140
158
|
/**
|
|
141
159
|
* @type {string}
|
|
142
160
|
* @token Transprent
|
|
@@ -161,11 +179,5 @@ export interface TreeTokens {
|
|
|
161
179
|
* @description 树组件拖拽时的背景颜色
|
|
162
180
|
*/
|
|
163
181
|
treeDragBackgroundColor: string;
|
|
164
|
-
/**
|
|
165
|
-
* @type {string}
|
|
166
|
-
* @token Radius-lesser
|
|
167
|
-
* @description 树组件节点容器边框圆角
|
|
168
|
-
*/
|
|
169
|
-
treeContentBorderRadius: string;
|
|
170
182
|
}
|
|
171
183
|
//# 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,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;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,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;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;;;;OAI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