@sheinx/theme 3.1.25 → 3.2.0-beta.1
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/button/button.js +7 -7
- package/cjs/button/token.js +8 -8
- package/cjs/button/type.d.ts +2 -2
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +15 -1
- package/cjs/card/token.js +31 -2
- package/cjs/card/type.d.ts +84 -0
- package/cjs/card/type.d.ts.map +1 -1
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +3 -0
- package/cjs/cascader/token.js +9 -0
- package/cjs/cascader/type.d.ts +18 -0
- package/cjs/cascader/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/divider/divider.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -0
- package/cjs/divider/token.js +2 -1
- package/cjs/divider/type.d.ts +6 -0
- package/cjs/divider/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/empty/empty.d.ts.map +1 -1
- package/cjs/empty/empty.js +2 -1
- package/cjs/empty/rule.js +1 -1
- package/cjs/empty/token.js +5 -2
- package/cjs/empty/type.d.ts +6 -0
- package/cjs/empty/type.d.ts.map +1 -1
- package/cjs/index.d.ts +2 -2
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +7 -0
- package/cjs/input/input.d.ts.map +1 -1
- package/cjs/input/input.js +21 -5
- package/cjs/input/rule.js +1 -7
- package/cjs/input/token.js +44 -15
- package/cjs/input/type.d.ts +115 -19
- 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/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +15 -2
- package/cjs/menu/token.js +57 -1
- package/cjs/menu/type.d.ts +79 -1
- package/cjs/menu/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/rate/rate.d.ts.map +1 -1
- package/cjs/rate/rate.js +3 -1
- package/cjs/rate/token.js +6 -2
- package/cjs/rate/type.d.ts +13 -1
- package/cjs/rate/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/cjs/table/table.d.ts.map +1 -1
- package/cjs/table/table.js +13 -0
- package/cjs/table/token.js +28 -1
- package/cjs/table/type.d.ts +78 -0
- package/cjs/table/type.d.ts.map +1 -1
- package/cjs/token/token.d.ts +2 -1
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +2 -1
- package/cjs/transfer/rule.js +1 -8
- package/cjs/transfer/token.js +21 -4
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +11 -5
- package/cjs/transfer/type.d.ts +54 -18
- package/cjs/transfer/type.d.ts.map +1 -1
- package/cjs/tree/rule.js +2 -0
- package/cjs/tree/token.js +7 -2
- package/cjs/tree/tree.d.ts.map +1 -1
- package/cjs/tree/tree.js +2 -0
- package/cjs/tree/type.d.ts +15 -3
- package/cjs/tree/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/button/button.js +7 -7
- package/esm/button/token.js +8 -8
- package/esm/button/type.d.ts +2 -2
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +15 -1
- package/esm/card/token.js +31 -2
- package/esm/card/type.d.ts +84 -0
- package/esm/card/type.d.ts.map +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +3 -0
- package/esm/cascader/token.js +9 -0
- package/esm/cascader/type.d.ts +18 -0
- package/esm/cascader/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/divider/divider.d.ts.map +1 -1
- package/esm/divider/divider.js +1 -0
- package/esm/divider/token.js +2 -1
- package/esm/divider/type.d.ts +6 -0
- package/esm/divider/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/empty/empty.d.ts.map +1 -1
- package/esm/empty/empty.js +2 -1
- package/esm/empty/rule.js +1 -1
- package/esm/empty/token.js +5 -2
- package/esm/empty/type.d.ts +6 -0
- package/esm/empty/type.d.ts.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -1
- package/esm/input/input.d.ts.map +1 -1
- package/esm/input/input.js +21 -5
- package/esm/input/rule.js +1 -7
- package/esm/input/token.js +44 -15
- package/esm/input/type.d.ts +115 -19
- 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/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +15 -2
- package/esm/menu/token.js +57 -1
- package/esm/menu/type.d.ts +79 -1
- package/esm/menu/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/rate/rate.d.ts.map +1 -1
- package/esm/rate/rate.js +3 -1
- package/esm/rate/token.js +6 -2
- package/esm/rate/type.d.ts +13 -1
- package/esm/rate/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/esm/table/table.d.ts.map +1 -1
- package/esm/table/table.js +13 -0
- package/esm/table/token.js +28 -1
- package/esm/table/type.d.ts +78 -0
- package/esm/table/type.d.ts.map +1 -1
- package/esm/token/token.d.ts +2 -1
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +2 -1
- package/esm/transfer/rule.js +1 -8
- package/esm/transfer/token.js +21 -4
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +11 -5
- package/esm/transfer/type.d.ts +54 -18
- package/esm/transfer/type.d.ts.map +1 -1
- package/esm/tree/rule.js +2 -0
- package/esm/tree/token.js +7 -2
- package/esm/tree/tree.d.ts.map +1 -1
- package/esm/tree/tree.js +2 -0
- package/esm/tree/type.d.ts +15 -3
- package/esm/tree/type.d.ts.map +1 -1
- package/package.json +1 -1
package/cjs/transfer/type.d.ts
CHANGED
|
@@ -5,12 +5,30 @@ export interface TransferTokens {
|
|
|
5
5
|
* @description 穿梭框字体字号
|
|
6
6
|
*/
|
|
7
7
|
transferFontSize: string;
|
|
8
|
+
/**
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @token Neutral-text-5
|
|
11
|
+
* @description 穿梭框字体颜色
|
|
12
|
+
*/
|
|
13
|
+
transferFontColor: string;
|
|
8
14
|
/**
|
|
9
15
|
* @type {string}
|
|
10
16
|
* @token Size-23
|
|
11
17
|
* @description 穿梭框头部区域的高度
|
|
12
18
|
*/
|
|
13
19
|
transferHeaderHeight: string;
|
|
20
|
+
/**
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @token Neutral-fill-2
|
|
23
|
+
* @description 穿梭框头部区域的背景颜色
|
|
24
|
+
*/
|
|
25
|
+
transferHeaderBackgroundColor: string;
|
|
26
|
+
/**
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @token Transparent
|
|
29
|
+
* @description 穿梭框头部区域的边框颜色
|
|
30
|
+
*/
|
|
31
|
+
transferHeaderBorderColor: string;
|
|
14
32
|
/**
|
|
15
33
|
* @type {string}
|
|
16
34
|
* @token Font-12
|
|
@@ -43,16 +61,28 @@ export interface TransferTokens {
|
|
|
43
61
|
transferBorderColor: string;
|
|
44
62
|
/**
|
|
45
63
|
* @type {string}
|
|
46
|
-
* @token
|
|
47
|
-
* @description
|
|
64
|
+
* @token Radius-default
|
|
65
|
+
* @description 穿梭框边框圆角
|
|
48
66
|
*/
|
|
49
|
-
|
|
67
|
+
transferBorderRadius: string;
|
|
50
68
|
/**
|
|
51
69
|
* @type {string}
|
|
52
70
|
* @token Neutral-text-4
|
|
53
71
|
* @description 穿梭框图标颜色
|
|
54
72
|
*/
|
|
55
73
|
transferIconColor: string;
|
|
74
|
+
/**
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @token Neutral-fill-3
|
|
77
|
+
* @description 穿梭框图标背景颜色
|
|
78
|
+
*/
|
|
79
|
+
transferIconBackgroundColor: string;
|
|
80
|
+
/**
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @token Spacing-8
|
|
83
|
+
* @description 穿梭框图标相邻外边距
|
|
84
|
+
*/
|
|
85
|
+
transferIconNearlyMargin: string;
|
|
56
86
|
/**
|
|
57
87
|
* @type {string}
|
|
58
88
|
* @token Neutral-text-2
|
|
@@ -67,34 +97,40 @@ export interface TransferTokens {
|
|
|
67
97
|
transferEmptyFontColor: string;
|
|
68
98
|
/**
|
|
69
99
|
* @type {string}
|
|
70
|
-
* @token
|
|
71
|
-
* @description
|
|
100
|
+
* @token Neutral-fill-1
|
|
101
|
+
* @description 穿梭框背景颜色
|
|
72
102
|
*/
|
|
73
|
-
|
|
103
|
+
transferBackgroundColor: string;
|
|
74
104
|
/**
|
|
75
105
|
* @type {string}
|
|
76
|
-
* @token Neutral-fill-
|
|
77
|
-
* @description
|
|
106
|
+
* @token Neutral-fill-1
|
|
107
|
+
* @description 穿梭框undefined背景颜色
|
|
78
108
|
*/
|
|
79
|
-
|
|
109
|
+
transferFooterBackgroundColor: string;
|
|
80
110
|
/**
|
|
81
111
|
* @type {string}
|
|
82
|
-
* @token Neutral-
|
|
83
|
-
* @description
|
|
84
|
-
*/
|
|
85
|
-
transferIconBackgroundColor: string;
|
|
86
|
-
/**
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @token Spacing-8
|
|
89
|
-
* @description 穿梭框图标相邻外边距
|
|
112
|
+
* @token Neutral-border-1
|
|
113
|
+
* @description 穿梭框undefined边框颜色
|
|
90
114
|
*/
|
|
91
|
-
|
|
115
|
+
transferFooterBorderColor: string;
|
|
92
116
|
/**
|
|
93
117
|
* @type {string}
|
|
94
118
|
* @token Neutral-fill-2
|
|
95
119
|
* @description 穿梭框选项鼠标移入时的背景颜色
|
|
96
120
|
*/
|
|
97
121
|
transferItemHoverBackgroundColor: string;
|
|
122
|
+
/**
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @token Radius-default
|
|
125
|
+
* @description 穿梭框选项边框圆角
|
|
126
|
+
*/
|
|
127
|
+
transferItemBorderRadius: string;
|
|
128
|
+
/**
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @token Neutral-text-4
|
|
131
|
+
* @description 穿梭框undefined图标颜色
|
|
132
|
+
*/
|
|
133
|
+
transferRemoveIconColor: string;
|
|
98
134
|
/**
|
|
99
135
|
* @type {string}
|
|
100
136
|
* @token Neutral-fill-3
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,
|
|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 @@
|
|
|
10
10
|
*/
|
|
11
11
|
var treeRules = {
|
|
12
12
|
size: [['', 'small', 'large'], ['font-size', 'line-height']],
|
|
13
|
+
font: [['font'], ['weight']],
|
|
13
14
|
color: [['font-color']],
|
|
15
|
+
line: [['line'], ['background-color']],
|
|
14
16
|
layout: [['padding-x', 'padding-y']],
|
|
15
17
|
item: [['item'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
|
16
18
|
content: [['content'], ['', 'hover', 'active', 'disabled'], ['background-color', 'font-color']],
|
package/cjs/tree/token.js
CHANGED
|
@@ -15,7 +15,8 @@ var treeTokenDescription = {
|
|
|
15
15
|
text: '文字',
|
|
16
16
|
checkbox: '复选框',
|
|
17
17
|
item: '节点',
|
|
18
|
-
content: '节点容器'
|
|
18
|
+
content: '节点容器',
|
|
19
|
+
line: '连接线'
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -28,10 +29,14 @@ var treeTokenDescription = {
|
|
|
28
29
|
var treeTokenValue = {
|
|
29
30
|
font: {
|
|
30
31
|
size: 'Font-14',
|
|
32
|
+
weight: 'Weight-regular',
|
|
31
33
|
color: 'Neutral-text-5'
|
|
32
34
|
},
|
|
33
35
|
line: {
|
|
34
|
-
height: 'Size-18'
|
|
36
|
+
height: 'Size-18',
|
|
37
|
+
background: {
|
|
38
|
+
color: 'Neutral-fill-2'
|
|
39
|
+
}
|
|
35
40
|
},
|
|
36
41
|
small: {
|
|
37
42
|
font: {
|
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,UA2BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/cjs/tree/tree.js
CHANGED
|
@@ -16,7 +16,9 @@ var treeTokens = {
|
|
|
16
16
|
treeSmallLineHeight: 'Size-14',
|
|
17
17
|
treeLargeFontSize: 'Font-16',
|
|
18
18
|
treeLargeLineHeight: 'Size-22',
|
|
19
|
+
treeFontWeight: 'Weight-regular',
|
|
19
20
|
treeFontColor: 'Neutral-text-5',
|
|
21
|
+
treeLineBackgroundColor: 'Neutral-fill-2',
|
|
20
22
|
treePaddingX: 'Spacing-8',
|
|
21
23
|
treePaddingY: 'Spacing-1',
|
|
22
24
|
treeItemFontColor: 'Neutral-text-4',
|
package/cjs/tree/type.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface TreeTokens {
|
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Size-18
|
|
23
|
-
* @description
|
|
23
|
+
* @description 树组件连接线高度
|
|
24
24
|
*/
|
|
25
25
|
treeLineHeight: string;
|
|
26
26
|
/**
|
|
@@ -32,7 +32,7 @@ export interface TreeTokens {
|
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Size-14
|
|
35
|
-
* @description
|
|
35
|
+
* @description 树组件小尺寸连接线高度
|
|
36
36
|
*/
|
|
37
37
|
treeSmallLineHeight: string;
|
|
38
38
|
/**
|
|
@@ -44,15 +44,27 @@ export interface TreeTokens {
|
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Size-22
|
|
47
|
-
* @description
|
|
47
|
+
* @description 树组件大尺寸连接线高度
|
|
48
48
|
*/
|
|
49
49
|
treeLargeLineHeight: string;
|
|
50
|
+
/**
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @token Weight-regular
|
|
53
|
+
* @description 树组件字体字重
|
|
54
|
+
*/
|
|
55
|
+
treeFontWeight: string;
|
|
50
56
|
/**
|
|
51
57
|
* @type {string}
|
|
52
58
|
* @token Neutral-text-5
|
|
53
59
|
* @description 树组件字体颜色
|
|
54
60
|
*/
|
|
55
61
|
treeFontColor: string;
|
|
62
|
+
/**
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @token Neutral-fill-2
|
|
65
|
+
* @description 树组件连接线背景颜色
|
|
66
|
+
*/
|
|
67
|
+
treeLineBackgroundColor: string;
|
|
56
68
|
/**
|
|
57
69
|
* @type {string}
|
|
58
70
|
* @token Spacing-8
|
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;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,aAAa,EAAE,MAAM,CAAC;IACtB;;;;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,yBAAy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AAM,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,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;CACjC"}
|
package/esm/alert/alert.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["alert.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA0BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/esm/alert/alert.js
CHANGED
|
@@ -15,12 +15,15 @@ var alertTokens = {
|
|
|
15
15
|
alertDangerBorderColor: 'Danger-2',
|
|
16
16
|
alertDangerFontColor: 'Danger-6',
|
|
17
17
|
alertFontSize: 'Font-14',
|
|
18
|
+
alertFontWeight: 'Weight-regular',
|
|
18
19
|
alertFontColor: 'Neutral-text-5',
|
|
19
20
|
alertPaddingX: 'Spacing-16',
|
|
20
21
|
alertPaddingY: 'Spacing-8',
|
|
21
|
-
alertBorderRadius: 'Radius-
|
|
22
|
+
alertBorderRadius: 'Radius-default',
|
|
22
23
|
alertNearlyMargin: 'Spacing-8',
|
|
23
24
|
alertTitleFontSize: 'Font-16',
|
|
25
|
+
alertTitleFontWeight: 'Weight-medium',
|
|
26
|
+
alertTitleMarginY: 'Spacing-4',
|
|
24
27
|
alertCloseFontColor: 'Neutral-text-4',
|
|
25
28
|
alertCloseHoverColor: 'Neutral-text-5',
|
|
26
29
|
alertMessageHoverColor: 'Neutral-fill-2'
|
package/esm/alert/rule.js
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
*/
|
|
9
9
|
var alertRules = {
|
|
10
10
|
color: [['info', 'success', 'warning', 'danger'], ['background-color', 'border-color', 'font-color']],
|
|
11
|
-
size: [['font-size', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
|
|
11
|
+
size: [['font-size', 'font-weight', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
|
|
12
12
|
extra_margin: [['nearly'], ['margin']],
|
|
13
|
-
extra_title: [['title'], ['font-size']],
|
|
13
|
+
extra_title: [['title'], ['font-size', 'font-weight', 'margin-y']],
|
|
14
14
|
extra_close: [['close', 'message'], ['font-color', 'hover-color']]
|
|
15
15
|
};
|
|
16
16
|
module.exports = {
|
package/esm/alert/token.js
CHANGED
|
@@ -68,6 +68,7 @@ var alertTokenValue = {
|
|
|
68
68
|
},
|
|
69
69
|
font: {
|
|
70
70
|
size: 'Font-14',
|
|
71
|
+
weight: 'Weight-regular',
|
|
71
72
|
color: 'Neutral-text-5'
|
|
72
73
|
},
|
|
73
74
|
padding: {
|
|
@@ -75,14 +76,18 @@ var alertTokenValue = {
|
|
|
75
76
|
y: 'Spacing-8'
|
|
76
77
|
},
|
|
77
78
|
border: {
|
|
78
|
-
radius: 'Radius-
|
|
79
|
+
radius: 'Radius-default'
|
|
79
80
|
},
|
|
80
81
|
nearly: {
|
|
81
82
|
margin: 'Spacing-8'
|
|
82
83
|
},
|
|
83
84
|
title: {
|
|
84
85
|
font: {
|
|
85
|
-
size: 'Font-16'
|
|
86
|
+
size: 'Font-16',
|
|
87
|
+
weight: 'Weight-medium'
|
|
88
|
+
},
|
|
89
|
+
margin: {
|
|
90
|
+
y: 'Spacing-4'
|
|
86
91
|
}
|
|
87
92
|
},
|
|
88
93
|
close: {
|
package/esm/alert/type.d.ts
CHANGED
|
@@ -77,6 +77,12 @@ export interface AlertTokens {
|
|
|
77
77
|
* @description 提示框字体字号
|
|
78
78
|
*/
|
|
79
79
|
alertFontSize: string;
|
|
80
|
+
/**
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @token Weight-regular
|
|
83
|
+
* @description 提示框字体字重
|
|
84
|
+
*/
|
|
85
|
+
alertFontWeight: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
88
|
* @token Neutral-text-5
|
|
@@ -97,7 +103,7 @@ export interface AlertTokens {
|
|
|
97
103
|
alertPaddingY: string;
|
|
98
104
|
/**
|
|
99
105
|
* @type {string}
|
|
100
|
-
* @token Radius-
|
|
106
|
+
* @token Radius-default
|
|
101
107
|
* @description 提示框边框圆角
|
|
102
108
|
*/
|
|
103
109
|
alertBorderRadius: string;
|
|
@@ -113,6 +119,18 @@ export interface AlertTokens {
|
|
|
113
119
|
* @description 提示框标题模式字体字号
|
|
114
120
|
*/
|
|
115
121
|
alertTitleFontSize: string;
|
|
122
|
+
/**
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @token Weight-medium
|
|
125
|
+
* @description 提示框标题模式字体字重
|
|
126
|
+
*/
|
|
127
|
+
alertTitleFontWeight: string;
|
|
128
|
+
/**
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @token Spacing-4
|
|
131
|
+
* @description 提示框标题模式外边距(垂直方向)
|
|
132
|
+
*/
|
|
133
|
+
alertTitleMarginY: string;
|
|
116
134
|
/**
|
|
117
135
|
* @type {string}
|
|
118
136
|
* @token Neutral-text-4
|
package/esm/alert/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM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B,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["breadcrumb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,gBAevB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -4,11 +4,9 @@
|
|
|
4
4
|
var breadcrumbTokens = {
|
|
5
5
|
breadcrumbFontSize: 'Font-14',
|
|
6
6
|
breadcrumbFontColor: 'Neutral-text-5',
|
|
7
|
+
breadcrumbFontWieght: 'Weight-regular',
|
|
7
8
|
breadcrumbLinkColor: 'Neutral-text-3',
|
|
8
9
|
breadcrumbLinkHoverColor: 'Brand-5',
|
|
9
|
-
breadcrumbListBackgroundColor: 'Neutral-fill-1',
|
|
10
|
-
breadcrumbListShadow: 'Shadow-1',
|
|
11
|
-
breadcrumbListBorderColor: '#f4f5f8',
|
|
12
10
|
breadcrumbListPaddingY: 'Spacing-4',
|
|
13
11
|
breadcrumbListItemBorderRadius: 'Radius-4',
|
|
14
12
|
breadcrumbListItemWrapperPaddingX: 'Spacing-4',
|
package/esm/breadcrumb/token.js
CHANGED
|
@@ -26,7 +26,8 @@ var breadcrumbTokenValue = {};
|
|
|
26
26
|
var breadcrumbTokenExtraValue = {
|
|
27
27
|
font: {
|
|
28
28
|
size: 'Font-14',
|
|
29
|
-
color: 'Neutral-text-5'
|
|
29
|
+
color: 'Neutral-text-5',
|
|
30
|
+
wieght: 'Weight-regular'
|
|
30
31
|
},
|
|
31
32
|
link: {
|
|
32
33
|
color: 'Neutral-text-3',
|
|
@@ -35,13 +36,6 @@ var breadcrumbTokenExtraValue = {
|
|
|
35
36
|
}
|
|
36
37
|
},
|
|
37
38
|
list: {
|
|
38
|
-
background: {
|
|
39
|
-
color: 'Neutral-fill-1'
|
|
40
|
-
},
|
|
41
|
-
shadow: 'Shadow-1',
|
|
42
|
-
border: {
|
|
43
|
-
color: '#f4f5f8'
|
|
44
|
-
},
|
|
45
39
|
padding: {
|
|
46
40
|
y: 'Spacing-4'
|
|
47
41
|
},
|
package/esm/breadcrumb/type.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ export interface BreadcrumbTokens {
|
|
|
11
11
|
* @description 面包屑字体颜色
|
|
12
12
|
*/
|
|
13
13
|
breadcrumbFontColor: string;
|
|
14
|
+
/**
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @token Weight-regular
|
|
17
|
+
* @description 面包屑字体undefined
|
|
18
|
+
*/
|
|
19
|
+
breadcrumbFontWieght: string;
|
|
14
20
|
/**
|
|
15
21
|
* @type {string}
|
|
16
22
|
* @token Neutral-text-3
|
|
@@ -23,24 +29,6 @@ export interface BreadcrumbTokens {
|
|
|
23
29
|
* @description 面包屑链接色鼠标移入时的颜色
|
|
24
30
|
*/
|
|
25
31
|
breadcrumbLinkHoverColor: string;
|
|
26
|
-
/**
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @token Neutral-fill-1
|
|
29
|
-
* @description 面包屑下拉列表的背景颜色
|
|
30
|
-
*/
|
|
31
|
-
breadcrumbListBackgroundColor: string;
|
|
32
|
-
/**
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @token Shadow-1
|
|
35
|
-
* @description 面包屑下拉列表的阴影
|
|
36
|
-
*/
|
|
37
|
-
breadcrumbListShadow: string;
|
|
38
|
-
/**
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @token #f4f5f8
|
|
41
|
-
* @description 面包屑下拉列表的边框颜色
|
|
42
|
-
*/
|
|
43
|
-
breadcrumbListBorderColor: string;
|
|
44
32
|
/**
|
|
45
33
|
* @type {string}
|
|
46
34
|
* @token Spacing-4
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sCAAsC,EAAE,MAAM,CAAC;IAC/C;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;CACvC"}
|
package/esm/button/button.js
CHANGED
|
@@ -245,19 +245,19 @@ var buttonTokens = {
|
|
|
245
245
|
buttonLinkFocusBackgroundColor: 'transparent',
|
|
246
246
|
buttonLinkFocusBorderColor: 'transparent',
|
|
247
247
|
buttonFontSize: 'Font-14',
|
|
248
|
-
buttonBorderRadius: 'Radius-
|
|
248
|
+
buttonBorderRadius: 'Radius-default',
|
|
249
249
|
buttonPaddingX: 'Spacing-12',
|
|
250
250
|
buttonPaddingY: 'Spacing-5',
|
|
251
251
|
buttonHeight: 'Size-16',
|
|
252
252
|
buttonFontWeight: 'Weight-regular',
|
|
253
253
|
buttonSmallFontSize: 'Font-12',
|
|
254
|
-
buttonSmallBorderRadius: 'Radius-
|
|
254
|
+
buttonSmallBorderRadius: 'Radius-default',
|
|
255
255
|
buttonSmallPaddingX: 'Spacing-8',
|
|
256
256
|
buttonSmallPaddingY: 'Spacing-2',
|
|
257
257
|
buttonSmallHeight: 'Size-12',
|
|
258
258
|
buttonSmallFontWeight: 'Weight-regular',
|
|
259
259
|
buttonLargeFontSize: 'Font-16',
|
|
260
|
-
buttonLargeBorderRadius: 'Radius-
|
|
260
|
+
buttonLargeBorderRadius: 'Radius-default',
|
|
261
261
|
buttonLargePaddingX: 'Spacing-16',
|
|
262
262
|
buttonLargePaddingY: 'Spacing-8',
|
|
263
263
|
buttonLargeHeight: 'Size-20',
|
|
@@ -340,12 +340,12 @@ var buttonTokens = {
|
|
|
340
340
|
buttonRoundBorderRadius: 'Radius-full',
|
|
341
341
|
buttonCircleBorderRadius: 'Radius-circle',
|
|
342
342
|
buttonSquareBorderRadius: 'Radius-default',
|
|
343
|
-
buttonSmallRoundBorderRadius: 'Radius-
|
|
343
|
+
buttonSmallRoundBorderRadius: 'Radius-full',
|
|
344
344
|
buttonSmallCircleBorderRadius: 'Radius-circle',
|
|
345
345
|
buttonSmallSquareBorderRadius: 'Radius-default',
|
|
346
|
-
buttonLargeRoundBorderRadius: 'Radius-
|
|
347
|
-
buttonLargeCircleBorderRadius: 'Radius-
|
|
348
|
-
buttonLargeSquareBorderRadius: 'Radius-
|
|
346
|
+
buttonLargeRoundBorderRadius: 'Radius-full',
|
|
347
|
+
buttonLargeCircleBorderRadius: 'Radius-circle',
|
|
348
|
+
buttonLargeSquareBorderRadius: 'Radius-default',
|
|
349
349
|
buttonNearlyMargin: 'Spacing-8',
|
|
350
350
|
buttonSpinMargin: 'Spacing-4'
|
|
351
351
|
};
|
package/esm/button/token.js
CHANGED
|
@@ -2173,7 +2173,7 @@ var buttonTokenValue = {
|
|
|
2173
2173
|
weight: 'Weight-regular'
|
|
2174
2174
|
},
|
|
2175
2175
|
border: {
|
|
2176
|
-
radius: 'Radius-
|
|
2176
|
+
radius: 'Radius-default'
|
|
2177
2177
|
},
|
|
2178
2178
|
padding: {
|
|
2179
2179
|
x: 'Spacing-12',
|
|
@@ -2186,7 +2186,7 @@ var buttonTokenValue = {
|
|
|
2186
2186
|
weight: 'Weight-regular'
|
|
2187
2187
|
},
|
|
2188
2188
|
border: {
|
|
2189
|
-
radius: 'Radius-
|
|
2189
|
+
radius: 'Radius-default'
|
|
2190
2190
|
},
|
|
2191
2191
|
padding: {
|
|
2192
2192
|
x: 'Spacing-8',
|
|
@@ -2195,7 +2195,7 @@ var buttonTokenValue = {
|
|
|
2195
2195
|
height: 'Size-12',
|
|
2196
2196
|
round: {
|
|
2197
2197
|
border: {
|
|
2198
|
-
radius: 'Radius-
|
|
2198
|
+
radius: 'Radius-full'
|
|
2199
2199
|
}
|
|
2200
2200
|
},
|
|
2201
2201
|
circle: {
|
|
@@ -2215,7 +2215,7 @@ var buttonTokenValue = {
|
|
|
2215
2215
|
weight: 'Weight-regular'
|
|
2216
2216
|
},
|
|
2217
2217
|
border: {
|
|
2218
|
-
radius: 'Radius-
|
|
2218
|
+
radius: 'Radius-default'
|
|
2219
2219
|
},
|
|
2220
2220
|
padding: {
|
|
2221
2221
|
x: 'Spacing-16',
|
|
@@ -2224,7 +2224,7 @@ var buttonTokenValue = {
|
|
|
2224
2224
|
height: 'Size-20',
|
|
2225
2225
|
round: {
|
|
2226
2226
|
border: {
|
|
2227
|
-
radius: 'Radius-
|
|
2227
|
+
radius: 'Radius-full'
|
|
2228
2228
|
}
|
|
2229
2229
|
},
|
|
2230
2230
|
circle: {
|
|
@@ -2240,17 +2240,17 @@ var buttonTokenValue = {
|
|
|
2240
2240
|
},
|
|
2241
2241
|
round: {
|
|
2242
2242
|
border: {
|
|
2243
|
-
radius: 'Radius-
|
|
2243
|
+
radius: 'Radius-full'
|
|
2244
2244
|
}
|
|
2245
2245
|
},
|
|
2246
2246
|
circle: {
|
|
2247
2247
|
border: {
|
|
2248
|
-
radius: 'Radius-
|
|
2248
|
+
radius: 'Radius-circle'
|
|
2249
2249
|
}
|
|
2250
2250
|
},
|
|
2251
2251
|
square: {
|
|
2252
2252
|
border: {
|
|
2253
|
-
radius: 'Radius-
|
|
2253
|
+
radius: 'Radius-default'
|
|
2254
2254
|
}
|
|
2255
2255
|
},
|
|
2256
2256
|
nearly: {
|
package/esm/button/type.d.ts
CHANGED
|
@@ -2029,7 +2029,7 @@ export interface ButtonTokens {
|
|
|
2029
2029
|
buttonSquareBorderRadius: string;
|
|
2030
2030
|
/**
|
|
2031
2031
|
* @type {string}
|
|
2032
|
-
* @token Radius-
|
|
2032
|
+
* @token Radius-full
|
|
2033
2033
|
* @description 按钮小尺寸药丸形边框圆角
|
|
2034
2034
|
*/
|
|
2035
2035
|
buttonSmallRoundBorderRadius: string;
|
|
@@ -2047,7 +2047,7 @@ export interface ButtonTokens {
|
|
|
2047
2047
|
buttonSmallSquareBorderRadius: string;
|
|
2048
2048
|
/**
|
|
2049
2049
|
* @type {string}
|
|
2050
|
-
* @token Radius-
|
|
2050
|
+
* @token Radius-full
|
|
2051
2051
|
* @description 按钮大尺寸药丸形边框圆角
|
|
2052
2052
|
*/
|
|
2053
2053
|
buttonLargeRoundBorderRadius: string;
|
package/esm/card/card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["card.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,QAAA,MAAM,UAAU,EAAE,UA4BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/esm/card/card.js
CHANGED
|
@@ -4,16 +4,30 @@
|
|
|
4
4
|
var cardTokens = {
|
|
5
5
|
cardBackgroundColor: 'Neutral-fill-1',
|
|
6
6
|
cardShadow: 'Shadow-2',
|
|
7
|
+
cardBorderWidth: 'Border-1',
|
|
7
8
|
cardBorderColor: 'Neutral-border-1',
|
|
8
9
|
cardBorderRadius: 'Radius-4',
|
|
9
10
|
cardFontColor: 'Neutral-text-5',
|
|
10
11
|
cardFontSize: 'Font-14',
|
|
11
12
|
cardPaddingX: 'Spacing-16',
|
|
12
13
|
cardPaddingY: 'Spacing-12',
|
|
14
|
+
cardTitleFontColor: 'Neutral-text-5',
|
|
13
15
|
cardTitleFontSize: 'Font-16',
|
|
16
|
+
cardTitleFontWeight: 'Weight-medium',
|
|
14
17
|
cardHeaderGap: '8px',
|
|
15
18
|
cardHeaderExtraMarginX: 'Spacing-16',
|
|
19
|
+
cardHeaderPaddingX: 'Spacing-16',
|
|
20
|
+
cardHeaderPaddingY: 'Spacing-12',
|
|
16
21
|
cardIndicatorSize: 'Size-7',
|
|
17
|
-
cardIndicatorColor: 'Neutral-text-4'
|
|
22
|
+
cardIndicatorColor: 'Neutral-text-4',
|
|
23
|
+
cardBodyPaddingX: 'Spacing-16',
|
|
24
|
+
cardBodyPaddingY: 'Spacing-12',
|
|
25
|
+
cardBodyFontSize: 'Font-14',
|
|
26
|
+
cardBodyFontColor: 'Neutral-text-5',
|
|
27
|
+
cardBodyFontWeight: 'Weight-regular',
|
|
28
|
+
cardBodyBorderColor: 'Neutral-border-1',
|
|
29
|
+
cardFooterPaddingX: 'Spacing-16',
|
|
30
|
+
cardFooterPaddingY: 'Spacing-12',
|
|
31
|
+
cardFooterBorderColor: 'Neutral-border-1'
|
|
18
32
|
};
|
|
19
33
|
export default cardTokens;
|
package/esm/card/token.js
CHANGED
|
@@ -33,6 +33,7 @@ var cardTokenExtraValue = {
|
|
|
33
33
|
},
|
|
34
34
|
shadow: 'Shadow-2',
|
|
35
35
|
border: {
|
|
36
|
+
width: 'Border-1',
|
|
36
37
|
color: 'Neutral-border-1',
|
|
37
38
|
radius: 'Radius-4'
|
|
38
39
|
},
|
|
@@ -46,7 +47,9 @@ var cardTokenExtraValue = {
|
|
|
46
47
|
},
|
|
47
48
|
title: {
|
|
48
49
|
font: {
|
|
49
|
-
|
|
50
|
+
color: 'Neutral-text-5',
|
|
51
|
+
size: 'Font-16',
|
|
52
|
+
weight: 'Weight-medium'
|
|
50
53
|
}
|
|
51
54
|
},
|
|
52
55
|
header: {
|
|
@@ -55,13 +58,39 @@ var cardTokenExtraValue = {
|
|
|
55
58
|
margin: {
|
|
56
59
|
x: 'Spacing-16'
|
|
57
60
|
}
|
|
61
|
+
},
|
|
62
|
+
padding: {
|
|
63
|
+
x: 'Spacing-16',
|
|
64
|
+
y: 'Spacing-12'
|
|
58
65
|
}
|
|
59
66
|
},
|
|
60
67
|
indicator: {
|
|
61
68
|
size: 'Size-7',
|
|
62
69
|
color: 'Neutral-text-4'
|
|
63
70
|
},
|
|
64
|
-
body: {
|
|
71
|
+
body: {
|
|
72
|
+
padding: {
|
|
73
|
+
x: 'Spacing-16',
|
|
74
|
+
y: 'Spacing-12'
|
|
75
|
+
},
|
|
76
|
+
font: {
|
|
77
|
+
size: 'Font-14',
|
|
78
|
+
color: 'Neutral-text-5',
|
|
79
|
+
weight: 'Weight-regular'
|
|
80
|
+
},
|
|
81
|
+
border: {
|
|
82
|
+
color: 'Neutral-border-1'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
footer: {
|
|
86
|
+
padding: {
|
|
87
|
+
x: 'Spacing-16',
|
|
88
|
+
y: 'Spacing-12'
|
|
89
|
+
},
|
|
90
|
+
border: {
|
|
91
|
+
color: 'Neutral-border-1'
|
|
92
|
+
}
|
|
93
|
+
}
|
|
65
94
|
};
|
|
66
95
|
module.exports = {
|
|
67
96
|
cardTokenValue: cardTokenValue,
|