@sheinx/theme 3.2.0-rc.1 → 3.2.0-rc.2
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/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +4 -1
- package/cjs/alert/rule.js +2 -2
- package/cjs/alert/token.js +7 -2
- package/cjs/alert/type.d.ts +19 -1
- package/cjs/alert/type.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +1 -3
- package/cjs/breadcrumb/token.js +2 -8
- package/cjs/breadcrumb/type.d.ts +6 -18
- package/cjs/breadcrumb/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +6 -4
- package/cjs/descriptions/rule.js +3 -2
- package/cjs/descriptions/token.js +11 -3
- package/cjs/descriptions/type.d.ts +15 -3
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +6 -4
- package/cjs/dropdown/rule.js +2 -0
- package/cjs/dropdown/token.js +9 -5
- package/cjs/dropdown/type.d.ts +16 -4
- package/cjs/dropdown/type.d.ts.map +1 -1
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +17 -5
- package/cjs/input/rule.js +1 -7
- package/cjs/input/token.js +29 -12
- package/cjs/input/type.d.ts +94 -22
- package/cjs/input/type.d.ts.map +1 -1
- package/cjs/list/list.d.ts.map +1 -1
- package/cjs/list/list.js +5 -1
- package/cjs/list/token.js +11 -1
- package/cjs/list/type.d.ts +25 -1
- package/cjs/list/type.d.ts.map +1 -1
- package/cjs/popover/popover.d.ts.map +1 -1
- package/cjs/popover/popover.js +9 -7
- package/cjs/popover/rule.js +2 -2
- package/cjs/popover/token.js +11 -7
- package/cjs/popover/type.d.ts +19 -7
- package/cjs/popover/type.d.ts.map +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +23 -7
- package/cjs/select/token.js +62 -12
- package/cjs/select/type.d.ts +103 -7
- package/cjs/select/type.d.ts.map +1 -1
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +4 -1
- package/esm/alert/rule.js +2 -2
- package/esm/alert/token.js +7 -2
- package/esm/alert/type.d.ts +19 -1
- package/esm/alert/type.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +1 -3
- package/esm/breadcrumb/token.js +2 -8
- package/esm/breadcrumb/type.d.ts +6 -18
- package/esm/breadcrumb/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +6 -4
- package/esm/descriptions/rule.js +3 -2
- package/esm/descriptions/token.js +11 -3
- package/esm/descriptions/type.d.ts +15 -3
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +6 -4
- package/esm/dropdown/rule.js +2 -0
- package/esm/dropdown/token.js +9 -5
- package/esm/dropdown/type.d.ts +16 -4
- package/esm/dropdown/type.d.ts.map +1 -1
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +17 -5
- package/esm/input/rule.js +1 -7
- package/esm/input/token.js +29 -12
- package/esm/input/type.d.ts +94 -22
- package/esm/input/type.d.ts.map +1 -1
- package/esm/list/list.d.ts.map +1 -1
- package/esm/list/list.js +5 -1
- package/esm/list/token.js +11 -1
- package/esm/list/type.d.ts +25 -1
- package/esm/list/type.d.ts.map +1 -1
- package/esm/popover/popover.d.ts.map +1 -1
- package/esm/popover/popover.js +9 -7
- package/esm/popover/rule.js +2 -2
- package/esm/popover/token.js +11 -7
- package/esm/popover/type.d.ts +19 -7
- package/esm/popover/type.d.ts.map +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +23 -7
- package/esm/select/token.js +62 -12
- package/esm/select/type.d.ts +103 -7
- package/esm/select/type.d.ts.map +1 -1
- package/package.json +1 -1
package/esm/input/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,
|
|
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,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,oBAA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,EAAE,MAAM,CAAC;IAClC;;;;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,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
|
package/esm/list/list.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UAiBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/list/list.js
CHANGED
|
@@ -5,13 +5,17 @@ var listTokens = {
|
|
|
5
5
|
listFontSize: 'Font-14',
|
|
6
6
|
listFontColor: 'Neutral-text-5',
|
|
7
7
|
listBorderColor: 'Neutral-border-1',
|
|
8
|
-
listBorderRadius: 'Radius-
|
|
8
|
+
listBorderRadius: 'Radius-lesser',
|
|
9
|
+
listBorderWidth: 'Border-1',
|
|
9
10
|
listItemPaddingY: 'Spacing-12',
|
|
10
11
|
listItemPaddingX: 'Spacing-16',
|
|
12
|
+
listItemBackgroundColor: 'Transparent',
|
|
11
13
|
listSmallItemPaddingY: 'Spacing-8',
|
|
12
14
|
listSmallItemPaddingX: 'Spacing-12',
|
|
15
|
+
listSmallFontSize: 'Font-14',
|
|
13
16
|
listLargeItemPaddingY: 'Spacing-16',
|
|
14
17
|
listLargeItemPaddingX: 'Spacing-20',
|
|
18
|
+
listLargeFontSize: 'Font-14',
|
|
15
19
|
listPaginationMarginY: 'Spacing-12',
|
|
16
20
|
listStripedBackgroundColor: 'Neutral-fill-2'
|
|
17
21
|
};
|
package/esm/list/token.js
CHANGED
|
@@ -28,12 +28,16 @@ var listTokenExtraValue = {
|
|
|
28
28
|
},
|
|
29
29
|
border: {
|
|
30
30
|
color: 'Neutral-border-1',
|
|
31
|
-
radius: 'Radius-
|
|
31
|
+
radius: 'Radius-lesser',
|
|
32
|
+
width: 'Border-1'
|
|
32
33
|
},
|
|
33
34
|
item: {
|
|
34
35
|
padding: {
|
|
35
36
|
y: 'Spacing-12',
|
|
36
37
|
x: 'Spacing-16'
|
|
38
|
+
},
|
|
39
|
+
background: {
|
|
40
|
+
color: 'Transparent'
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
small: {
|
|
@@ -42,6 +46,9 @@ var listTokenExtraValue = {
|
|
|
42
46
|
y: 'Spacing-8',
|
|
43
47
|
x: 'Spacing-12'
|
|
44
48
|
}
|
|
49
|
+
},
|
|
50
|
+
font: {
|
|
51
|
+
size: 'Font-14'
|
|
45
52
|
}
|
|
46
53
|
},
|
|
47
54
|
large: {
|
|
@@ -50,6 +57,9 @@ var listTokenExtraValue = {
|
|
|
50
57
|
y: 'Spacing-16',
|
|
51
58
|
x: 'Spacing-20'
|
|
52
59
|
}
|
|
60
|
+
},
|
|
61
|
+
font: {
|
|
62
|
+
size: 'Font-14'
|
|
53
63
|
}
|
|
54
64
|
},
|
|
55
65
|
pagination: {
|
package/esm/list/type.d.ts
CHANGED
|
@@ -19,10 +19,16 @@ export interface ListTokens {
|
|
|
19
19
|
listBorderColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token Radius-
|
|
22
|
+
* @token Radius-lesser
|
|
23
23
|
* @description 列表边框圆角
|
|
24
24
|
*/
|
|
25
25
|
listBorderRadius: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Border-1
|
|
29
|
+
* @description 列表边框宽度
|
|
30
|
+
*/
|
|
31
|
+
listBorderWidth: string;
|
|
26
32
|
/**
|
|
27
33
|
* @type {string}
|
|
28
34
|
* @token Spacing-12
|
|
@@ -35,6 +41,12 @@ export interface ListTokens {
|
|
|
35
41
|
* @description 列表选项内边距(水平方向)
|
|
36
42
|
*/
|
|
37
43
|
listItemPaddingX: string;
|
|
44
|
+
/**
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @token Transparent
|
|
47
|
+
* @description 列表选项背景颜色
|
|
48
|
+
*/
|
|
49
|
+
listItemBackgroundColor: string;
|
|
38
50
|
/**
|
|
39
51
|
* @type {string}
|
|
40
52
|
* @token Spacing-8
|
|
@@ -47,6 +59,12 @@ export interface ListTokens {
|
|
|
47
59
|
* @description 列表小尺寸选项内边距(水平方向)
|
|
48
60
|
*/
|
|
49
61
|
listSmallItemPaddingX: string;
|
|
62
|
+
/**
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @token Font-14
|
|
65
|
+
* @description 列表小尺寸字体字号
|
|
66
|
+
*/
|
|
67
|
+
listSmallFontSize: string;
|
|
50
68
|
/**
|
|
51
69
|
* @type {string}
|
|
52
70
|
* @token Spacing-16
|
|
@@ -59,6 +77,12 @@ export interface ListTokens {
|
|
|
59
77
|
* @description 列表大尺寸选项内边距(水平方向)
|
|
60
78
|
*/
|
|
61
79
|
listLargeItemPaddingX: string;
|
|
80
|
+
/**
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @token Font-14
|
|
83
|
+
* @description 列表大尺寸字体字号
|
|
84
|
+
*/
|
|
85
|
+
listLargeFontSize: string;
|
|
62
86
|
/**
|
|
63
87
|
* @type {string}
|
|
64
88
|
* @token Spacing-12
|
package/esm/list/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,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
|
|
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,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["popover.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,aAAa,EAAE,aA0BpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
package/esm/popover/popover.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
var popoverTokens = {
|
|
5
5
|
popoverFontSize: 'Font-14',
|
|
6
|
+
popoverFontWeight: 'Weight-regular',
|
|
6
7
|
popoverPaddingX: 'Spacing-8',
|
|
7
8
|
popoverPaddingY: 'Spacing-8',
|
|
8
|
-
popoverRadius: 'Radius-
|
|
9
|
+
popoverRadius: 'Radius-default',
|
|
9
10
|
popoverBorderWidth: 'Border-1',
|
|
10
11
|
popoverFontColor: 'Neutral-text-5',
|
|
11
12
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
@@ -13,17 +14,18 @@ var popoverTokens = {
|
|
|
13
14
|
popoverBorderColor: 'Neutral-border-1',
|
|
14
15
|
popoverSuccessBackgroundColor: '#edf9e8',
|
|
15
16
|
popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
|
|
16
|
-
popoverWarningBackgroundColor: '
|
|
17
|
-
popoverWarningBorderColor: '
|
|
18
|
-
popoverInfoBackgroundColor: '
|
|
19
|
-
popoverInfoBorderColor: '
|
|
20
|
-
popoverDangerBackgroundColor: '
|
|
21
|
-
popoverDangerBorderColor: '
|
|
17
|
+
popoverWarningBackgroundColor: 'Warning-1',
|
|
18
|
+
popoverWarningBorderColor: 'Warning-2',
|
|
19
|
+
popoverInfoBackgroundColor: 'Brand-1',
|
|
20
|
+
popoverInfoBorderColor: 'Brand-2',
|
|
21
|
+
popoverDangerBackgroundColor: 'Danger-1',
|
|
22
|
+
popoverDangerBorderColor: 'Danger-2',
|
|
22
23
|
popoverErrorFontColor: 'Danger-7',
|
|
23
24
|
popoverErrorBackgroundColor: 'Danger-1',
|
|
24
25
|
popoverErrorBorderColor: 'Danger-1',
|
|
25
26
|
popoverConfirmPaddingX: 'Spacing-16',
|
|
26
27
|
popoverConfirmPaddingY: 'Spacing-16',
|
|
28
|
+
popoverConfirmMarginY: 'Spacing-16',
|
|
27
29
|
popoverConfirmBackgroundColor: 'transparent'
|
|
28
30
|
};
|
|
29
31
|
export default popoverTokens;
|
package/esm/popover/rule.js
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
|
|
8
8
|
*/
|
|
9
9
|
var popoverRules = {
|
|
10
|
-
size: [[''], ['font-size', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
10
|
+
size: [[''], ['font-size', 'font-weight', 'padding-x', 'padding-y', 'radius', 'border-width']],
|
|
11
11
|
color: [['', 'success', 'warning', 'info', 'danger', 'error'], ['font-color', 'background-color', 'shadow', 'border-color']],
|
|
12
|
-
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y']],
|
|
12
|
+
confirmSize: [['confirm'], ['font-size', 'padding-x', 'padding-y', 'margin-y']],
|
|
13
13
|
confirmColor: [['confirm'], ['background-color']]
|
|
14
14
|
};
|
|
15
15
|
module.exports = {
|
package/esm/popover/token.js
CHANGED
|
@@ -25,13 +25,14 @@ var popoverTokenDescription = {
|
|
|
25
25
|
var popoverTokenValue = {
|
|
26
26
|
font: {
|
|
27
27
|
size: 'Font-14',
|
|
28
|
+
weight: 'Weight-regular',
|
|
28
29
|
color: 'Neutral-text-5'
|
|
29
30
|
},
|
|
30
31
|
padding: {
|
|
31
32
|
x: 'Spacing-8',
|
|
32
33
|
y: 'Spacing-8'
|
|
33
34
|
},
|
|
34
|
-
radius: 'Radius-
|
|
35
|
+
radius: 'Radius-default',
|
|
35
36
|
border: {
|
|
36
37
|
width: 'Border-1',
|
|
37
38
|
color: 'Neutral-border-1'
|
|
@@ -57,11 +58,11 @@ var popoverTokenValue = {
|
|
|
57
58
|
color: ''
|
|
58
59
|
},
|
|
59
60
|
background: {
|
|
60
|
-
color: '
|
|
61
|
+
color: 'Warning-1'
|
|
61
62
|
},
|
|
62
63
|
shadow: '',
|
|
63
64
|
border: {
|
|
64
|
-
color: '
|
|
65
|
+
color: 'Warning-2'
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
info: {
|
|
@@ -69,11 +70,11 @@ var popoverTokenValue = {
|
|
|
69
70
|
color: ''
|
|
70
71
|
},
|
|
71
72
|
background: {
|
|
72
|
-
color: '
|
|
73
|
+
color: 'Brand-1'
|
|
73
74
|
},
|
|
74
75
|
shadow: '',
|
|
75
76
|
border: {
|
|
76
|
-
color: '
|
|
77
|
+
color: 'Brand-2'
|
|
77
78
|
}
|
|
78
79
|
},
|
|
79
80
|
danger: {
|
|
@@ -81,11 +82,11 @@ var popoverTokenValue = {
|
|
|
81
82
|
color: ''
|
|
82
83
|
},
|
|
83
84
|
background: {
|
|
84
|
-
color: '
|
|
85
|
+
color: 'Danger-1'
|
|
85
86
|
},
|
|
86
87
|
shadow: '',
|
|
87
88
|
border: {
|
|
88
|
-
color: '
|
|
89
|
+
color: 'Danger-2'
|
|
89
90
|
}
|
|
90
91
|
},
|
|
91
92
|
error: {
|
|
@@ -108,6 +109,9 @@ var popoverTokenValue = {
|
|
|
108
109
|
x: 'Spacing-16',
|
|
109
110
|
y: 'Spacing-16'
|
|
110
111
|
},
|
|
112
|
+
margin: {
|
|
113
|
+
y: 'Spacing-16'
|
|
114
|
+
},
|
|
111
115
|
background: {
|
|
112
116
|
color: 'transparent'
|
|
113
117
|
}
|
package/esm/popover/type.d.ts
CHANGED
|
@@ -5,6 +5,12 @@ export interface PopoverTokens {
|
|
|
5
5
|
* @description 气泡字体字号
|
|
6
6
|
*/
|
|
7
7
|
popoverFontSize: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Weight-regular
|
|
11
|
+
* @description 气泡字体字重
|
|
12
|
+
*/
|
|
13
|
+
popoverFontWeight: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Spacing-8
|
|
@@ -19,7 +25,7 @@ export interface PopoverTokens {
|
|
|
19
25
|
popoverPaddingY: string;
|
|
20
26
|
/**
|
|
21
27
|
* @type {string}
|
|
22
|
-
* @token Radius-
|
|
28
|
+
* @token Radius-default
|
|
23
29
|
* @description 气泡圆角
|
|
24
30
|
*/
|
|
25
31
|
popoverRadius: string;
|
|
@@ -67,37 +73,37 @@ export interface PopoverTokens {
|
|
|
67
73
|
popoverSuccessBorderColor: string;
|
|
68
74
|
/**
|
|
69
75
|
* @type {string}
|
|
70
|
-
* @token
|
|
76
|
+
* @token Warning-1
|
|
71
77
|
* @description 气泡警告背景颜色
|
|
72
78
|
*/
|
|
73
79
|
popoverWarningBackgroundColor: string;
|
|
74
80
|
/**
|
|
75
81
|
* @type {string}
|
|
76
|
-
* @token
|
|
82
|
+
* @token Warning-2
|
|
77
83
|
* @description 气泡警告边框颜色
|
|
78
84
|
*/
|
|
79
85
|
popoverWarningBorderColor: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
|
-
* @token
|
|
88
|
+
* @token Brand-1
|
|
83
89
|
* @description 气泡提示背景颜色
|
|
84
90
|
*/
|
|
85
91
|
popoverInfoBackgroundColor: string;
|
|
86
92
|
/**
|
|
87
93
|
* @type {string}
|
|
88
|
-
* @token
|
|
94
|
+
* @token Brand-2
|
|
89
95
|
* @description 气泡提示边框颜色
|
|
90
96
|
*/
|
|
91
97
|
popoverInfoBorderColor: string;
|
|
92
98
|
/**
|
|
93
99
|
* @type {string}
|
|
94
|
-
* @token
|
|
100
|
+
* @token Danger-1
|
|
95
101
|
* @description 气泡危险色背景颜色
|
|
96
102
|
*/
|
|
97
103
|
popoverDangerBackgroundColor: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
|
-
* @token
|
|
106
|
+
* @token Danger-2
|
|
101
107
|
* @description 气泡危险色边框颜色
|
|
102
108
|
*/
|
|
103
109
|
popoverDangerBorderColor: string;
|
|
@@ -131,6 +137,12 @@ export interface PopoverTokens {
|
|
|
131
137
|
* @description 气泡确认内边距(垂直方向)
|
|
132
138
|
*/
|
|
133
139
|
popoverConfirmPaddingY: string;
|
|
140
|
+
/**
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @token Spacing-16
|
|
143
|
+
* @description 气泡确认外边距(垂直方向)
|
|
144
|
+
*/
|
|
145
|
+
popoverConfirmMarginY: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
148
|
* @token transparent
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,eAAe,EAAE,MAAM,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C,QAAA,MAAM,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["select.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,YAAY,EAAE,YA6FnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/esm/select/select.js
CHANGED
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
var selectTokens = {
|
|
5
5
|
selectFontSize: 'Font-14',
|
|
6
6
|
selectFontColor: 'Neutral-text-5',
|
|
7
|
-
|
|
7
|
+
selectFontWeight: 'Weight-regular',
|
|
8
|
+
selectBorderRadius: 'Radius-default',
|
|
8
9
|
selectBorderColor: 'Neutral-border-2',
|
|
10
|
+
selectBorderWidth: 'Border-1',
|
|
9
11
|
selectPaddingX: 'Spacing-8',
|
|
10
12
|
selectPaddingY: 'Spacing-2',
|
|
11
13
|
selectIconSize: 'Size-7',
|
|
@@ -30,26 +32,35 @@ var selectTokens = {
|
|
|
30
32
|
selectClearPadding: 'Spacing-8',
|
|
31
33
|
selectHoverBorderColor: 'Brand-6',
|
|
32
34
|
selectHoverClearColor: 'Neutral-text-4',
|
|
35
|
+
selectHoverBackgroundColor: 'Neutral-fill-1',
|
|
33
36
|
selectFocusBorderColor: 'Brand-7',
|
|
34
37
|
selectFocusShadow: 'Brand-2',
|
|
38
|
+
selectFocusBackgroundColor: 'Neutral-fill-1',
|
|
35
39
|
selectDisabledIconColor: 'Neutral-text-2',
|
|
36
40
|
selectDisabledFontColor: 'Neutral-text-2',
|
|
37
41
|
selectDisabledPlaceholderColor: 'Neutral-text-2',
|
|
38
42
|
selectDisabledBorderColor: 'Neutral-border-1',
|
|
39
43
|
selectDisabledBackgroundColor: 'Neutral-fill-2',
|
|
40
|
-
selectResultTextBorderRadius: 'Radius-
|
|
44
|
+
selectResultTextBorderRadius: 'Radius-default',
|
|
41
45
|
selectResultTextPaddingX: 'Spacing-4',
|
|
42
46
|
selectResultTextSmallPaddingX: 'Spacing-4',
|
|
43
47
|
selectResultTextLargePaddingX: 'Spacing-10',
|
|
44
48
|
selectResultTextActiveBackgroundColor: 'Brand-1',
|
|
45
49
|
selectErrorBorderColor: 'Danger-6',
|
|
50
|
+
selectErrorBackgroundColor: 'Neutral-fill-1',
|
|
46
51
|
selectErrorFocusShadow: 'Danger-1',
|
|
52
|
+
selectErrorFocusBackgroundColor: 'Neutral-fill-1',
|
|
53
|
+
selectErrorFocusBorderColor: 'Danger-6',
|
|
54
|
+
selectErrorHoverBackgroundColor: 'Neutral-fill-1',
|
|
55
|
+
selectErrorHoverBorderColor: 'Danger-6',
|
|
47
56
|
selectPanelColor: 'Neutral-text-5',
|
|
48
57
|
selectPanelBackgroundColor: 'Neutral-fill-1',
|
|
49
58
|
selectPanelShadow: 'Shadow-2',
|
|
50
|
-
selectPanelRadius: 'Radius-
|
|
59
|
+
selectPanelRadius: 'Radius-default',
|
|
51
60
|
selectPanelBorder: 'Neutral-border-1',
|
|
52
61
|
selectOptionHeight: 'Size-16',
|
|
62
|
+
selectOptionBackgroundColor: 'Neutral-fill-1',
|
|
63
|
+
selectOptionFontColor: 'Neutral-text-5',
|
|
53
64
|
selectOptionPaddingX: 'Spacing-4',
|
|
54
65
|
selectOptionPaddingY: 'Spacing-1',
|
|
55
66
|
selectOptionActiveColor: 'Brand-6',
|
|
@@ -57,15 +68,18 @@ var selectTokens = {
|
|
|
57
68
|
selectOptionInnerPaddingX: 'Spacing-8',
|
|
58
69
|
selectOptionInnerPaddingY: 'Spacing-5',
|
|
59
70
|
selectOptionInnerPaddingRight: 'Size-15',
|
|
60
|
-
selectOptionInnerBorderRadius: 'Radius-
|
|
71
|
+
selectOptionInnerBorderRadius: 'Radius-lesser',
|
|
61
72
|
selectOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
73
|
+
selectOptionHoverFontColor: 'Neutral-text-5',
|
|
62
74
|
selectOptionDisabledColor: 'Neutral-text-2',
|
|
63
75
|
selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
64
76
|
selectMorePadding: 'Spacing-8',
|
|
65
|
-
|
|
77
|
+
selectHeaderPaddingX: 'Spacing-8',
|
|
78
|
+
selectHeaderPaddingY: 'Spacing-8',
|
|
66
79
|
selectHeaderBorderColor: 'Neutral-border-1',
|
|
67
80
|
selectGroupTitleFontColor: 'Neutral-text-3',
|
|
68
81
|
selectGroupTitleFontSize: 'Font-12',
|
|
82
|
+
selectGroupTitleFontWeight: 'Weight-regular',
|
|
69
83
|
selectGroupTitlePaddingX: 'Spacing-12',
|
|
70
84
|
selectGroupTitlePaddingTop: 'Spacing-10',
|
|
71
85
|
selectGroupTitlePaddingBottom: 'Spacing-2',
|
|
@@ -76,7 +90,9 @@ var selectTokens = {
|
|
|
76
90
|
selectGroupTitleLargeBottom: 'Spacing-4',
|
|
77
91
|
selectColumnPadding: 'Spacing-8',
|
|
78
92
|
selectColumnOptionMargin: 'Spacing-8',
|
|
79
|
-
selectColumnBorderRadius: 'Radius-
|
|
80
|
-
selectColumnBackgroundColor: 'Neutral-fill-2'
|
|
93
|
+
selectColumnBorderRadius: 'Radius-default',
|
|
94
|
+
selectColumnBackgroundColor: 'Neutral-fill-2',
|
|
95
|
+
selectLoadingSpinColor: 'Brand-6',
|
|
96
|
+
selectEmptyFontColor: 'Neutral-text-2'
|
|
81
97
|
};
|
|
82
98
|
export default selectTokens;
|
package/esm/select/token.js
CHANGED
|
@@ -23,7 +23,9 @@ var selectTokenDescription = {
|
|
|
23
23
|
shadow: '阴影',
|
|
24
24
|
panel: '下拉面板的',
|
|
25
25
|
top: '(顶部)',
|
|
26
|
-
bottom: '(底部)'
|
|
26
|
+
bottom: '(底部)',
|
|
27
|
+
loading: '加载状态下的',
|
|
28
|
+
spin: '加载组件'
|
|
27
29
|
};
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -41,11 +43,13 @@ var selectTokenValue = {
|
|
|
41
43
|
var selectTokenExtraValue = {
|
|
42
44
|
font: {
|
|
43
45
|
size: 'Font-14',
|
|
44
|
-
color: 'Neutral-text-5'
|
|
46
|
+
color: 'Neutral-text-5',
|
|
47
|
+
weight: 'Weight-regular'
|
|
45
48
|
},
|
|
46
49
|
border: {
|
|
47
|
-
radius: 'Radius-
|
|
48
|
-
color: 'Neutral-border-2'
|
|
50
|
+
radius: 'Radius-default',
|
|
51
|
+
color: 'Neutral-border-2',
|
|
52
|
+
width: 'Border-1'
|
|
49
53
|
},
|
|
50
54
|
padding: {
|
|
51
55
|
x: 'Spacing-8',
|
|
@@ -122,13 +126,19 @@ var selectTokenExtraValue = {
|
|
|
122
126
|
},
|
|
123
127
|
clear: {
|
|
124
128
|
color: 'Neutral-text-4'
|
|
129
|
+
},
|
|
130
|
+
background: {
|
|
131
|
+
color: 'Neutral-fill-1'
|
|
125
132
|
}
|
|
126
133
|
},
|
|
127
134
|
focus: {
|
|
128
135
|
border: {
|
|
129
136
|
color: 'Brand-7'
|
|
130
137
|
},
|
|
131
|
-
shadow: 'Brand-2'
|
|
138
|
+
shadow: 'Brand-2',
|
|
139
|
+
background: {
|
|
140
|
+
color: 'Neutral-fill-1'
|
|
141
|
+
}
|
|
132
142
|
},
|
|
133
143
|
disabled: {
|
|
134
144
|
icon: {
|
|
@@ -150,7 +160,7 @@ var selectTokenExtraValue = {
|
|
|
150
160
|
result: {
|
|
151
161
|
text: {
|
|
152
162
|
border: {
|
|
153
|
-
radius: 'Radius-
|
|
163
|
+
radius: 'Radius-default'
|
|
154
164
|
},
|
|
155
165
|
padding: {
|
|
156
166
|
x: 'Spacing-4'
|
|
@@ -176,8 +186,25 @@ var selectTokenExtraValue = {
|
|
|
176
186
|
border: {
|
|
177
187
|
color: 'Danger-6'
|
|
178
188
|
},
|
|
189
|
+
background: {
|
|
190
|
+
color: 'Neutral-fill-1'
|
|
191
|
+
},
|
|
179
192
|
focus: {
|
|
180
|
-
shadow: 'Danger-1'
|
|
193
|
+
shadow: 'Danger-1',
|
|
194
|
+
background: {
|
|
195
|
+
color: 'Neutral-fill-1'
|
|
196
|
+
},
|
|
197
|
+
border: {
|
|
198
|
+
color: 'Danger-6'
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
hover: {
|
|
202
|
+
background: {
|
|
203
|
+
color: 'Neutral-fill-1'
|
|
204
|
+
},
|
|
205
|
+
border: {
|
|
206
|
+
color: 'Danger-6'
|
|
207
|
+
}
|
|
181
208
|
}
|
|
182
209
|
},
|
|
183
210
|
panel: {
|
|
@@ -186,11 +213,17 @@ var selectTokenExtraValue = {
|
|
|
186
213
|
color: 'Neutral-fill-1'
|
|
187
214
|
},
|
|
188
215
|
shadow: 'Shadow-2',
|
|
189
|
-
radius: 'Radius-
|
|
216
|
+
radius: 'Radius-default',
|
|
190
217
|
border: 'Neutral-border-1'
|
|
191
218
|
},
|
|
192
219
|
option: {
|
|
193
220
|
height: 'Size-16',
|
|
221
|
+
background: {
|
|
222
|
+
color: 'Neutral-fill-1'
|
|
223
|
+
},
|
|
224
|
+
font: {
|
|
225
|
+
color: 'Neutral-text-5'
|
|
226
|
+
},
|
|
194
227
|
padding: {
|
|
195
228
|
x: 'Spacing-4',
|
|
196
229
|
y: 'Spacing-1'
|
|
@@ -208,12 +241,15 @@ var selectTokenExtraValue = {
|
|
|
208
241
|
right: 'Size-15'
|
|
209
242
|
},
|
|
210
243
|
border: {
|
|
211
|
-
radius: 'Radius-
|
|
244
|
+
radius: 'Radius-lesser'
|
|
212
245
|
}
|
|
213
246
|
},
|
|
214
247
|
hover: {
|
|
215
248
|
background: {
|
|
216
249
|
color: 'Neutral-fill-2'
|
|
250
|
+
},
|
|
251
|
+
font: {
|
|
252
|
+
color: 'Neutral-text-5'
|
|
217
253
|
}
|
|
218
254
|
},
|
|
219
255
|
disabled: {
|
|
@@ -227,7 +263,10 @@ var selectTokenExtraValue = {
|
|
|
227
263
|
padding: 'Spacing-8'
|
|
228
264
|
},
|
|
229
265
|
header: {
|
|
230
|
-
padding:
|
|
266
|
+
padding: {
|
|
267
|
+
x: 'Spacing-8',
|
|
268
|
+
y: 'Spacing-8'
|
|
269
|
+
},
|
|
231
270
|
border: {
|
|
232
271
|
color: 'Neutral-border-1'
|
|
233
272
|
}
|
|
@@ -236,7 +275,8 @@ var selectTokenExtraValue = {
|
|
|
236
275
|
title: {
|
|
237
276
|
font: {
|
|
238
277
|
color: 'Neutral-text-3',
|
|
239
|
-
size: 'Font-12'
|
|
278
|
+
size: 'Font-12',
|
|
279
|
+
weight: 'Weight-regular'
|
|
240
280
|
},
|
|
241
281
|
padding: {
|
|
242
282
|
x: 'Spacing-12',
|
|
@@ -260,11 +300,21 @@ var selectTokenExtraValue = {
|
|
|
260
300
|
margin: 'Spacing-8'
|
|
261
301
|
},
|
|
262
302
|
border: {
|
|
263
|
-
radius: 'Radius-
|
|
303
|
+
radius: 'Radius-default'
|
|
264
304
|
},
|
|
265
305
|
background: {
|
|
266
306
|
color: 'Neutral-fill-2'
|
|
267
307
|
}
|
|
308
|
+
},
|
|
309
|
+
loading: {
|
|
310
|
+
spin: {
|
|
311
|
+
color: 'Brand-6'
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
empty: {
|
|
315
|
+
font: {
|
|
316
|
+
color: 'Neutral-text-2'
|
|
317
|
+
}
|
|
268
318
|
}
|
|
269
319
|
};
|
|
270
320
|
module.exports = {
|