@sheinx/theme 3.1.8 → 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.
Files changed (101) hide show
  1. package/cjs/alert/alert.d.ts.map +1 -1
  2. package/cjs/alert/alert.js +4 -1
  3. package/cjs/alert/rule.js +2 -2
  4. package/cjs/alert/token.js +7 -2
  5. package/cjs/alert/type.d.ts +19 -1
  6. package/cjs/alert/type.d.ts.map +1 -1
  7. package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
  8. package/cjs/breadcrumb/breadcrumb.js +1 -3
  9. package/cjs/breadcrumb/token.js +2 -8
  10. package/cjs/breadcrumb/type.d.ts +6 -18
  11. package/cjs/breadcrumb/type.d.ts.map +1 -1
  12. package/cjs/descriptions/descriptions.d.ts.map +1 -1
  13. package/cjs/descriptions/descriptions.js +6 -4
  14. package/cjs/descriptions/rule.js +3 -2
  15. package/cjs/descriptions/token.js +11 -3
  16. package/cjs/descriptions/type.d.ts +15 -3
  17. package/cjs/descriptions/type.d.ts.map +1 -1
  18. package/cjs/dropdown/dropdown.d.ts.map +1 -1
  19. package/cjs/dropdown/dropdown.js +6 -4
  20. package/cjs/dropdown/rule.js +2 -0
  21. package/cjs/dropdown/token.js +9 -5
  22. package/cjs/dropdown/type.d.ts +16 -4
  23. package/cjs/dropdown/type.d.ts.map +1 -1
  24. package/cjs/input/input.d.ts.map +1 -1
  25. package/cjs/input/input.js +17 -5
  26. package/cjs/input/rule.js +1 -7
  27. package/cjs/input/token.js +29 -12
  28. package/cjs/input/type.d.ts +94 -22
  29. package/cjs/input/type.d.ts.map +1 -1
  30. package/cjs/list/list.d.ts.map +1 -1
  31. package/cjs/list/list.js +5 -1
  32. package/cjs/list/token.js +11 -1
  33. package/cjs/list/type.d.ts +25 -1
  34. package/cjs/list/type.d.ts.map +1 -1
  35. package/cjs/menu/menu.d.ts.map +1 -1
  36. package/cjs/menu/menu.js +15 -2
  37. package/cjs/menu/token.js +57 -1
  38. package/cjs/menu/type.d.ts +79 -1
  39. package/cjs/menu/type.d.ts.map +1 -1
  40. package/cjs/popover/popover.d.ts.map +1 -1
  41. package/cjs/popover/popover.js +9 -7
  42. package/cjs/popover/rule.js +2 -2
  43. package/cjs/popover/token.js +11 -7
  44. package/cjs/popover/type.d.ts +19 -7
  45. package/cjs/popover/type.d.ts.map +1 -1
  46. package/cjs/select/select.d.ts.map +1 -1
  47. package/cjs/select/select.js +23 -7
  48. package/cjs/select/token.js +62 -12
  49. package/cjs/select/type.d.ts +103 -7
  50. package/cjs/select/type.d.ts.map +1 -1
  51. package/esm/alert/alert.d.ts.map +1 -1
  52. package/esm/alert/alert.js +4 -1
  53. package/esm/alert/rule.js +2 -2
  54. package/esm/alert/token.js +7 -2
  55. package/esm/alert/type.d.ts +19 -1
  56. package/esm/alert/type.d.ts.map +1 -1
  57. package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
  58. package/esm/breadcrumb/breadcrumb.js +1 -3
  59. package/esm/breadcrumb/token.js +2 -8
  60. package/esm/breadcrumb/type.d.ts +6 -18
  61. package/esm/breadcrumb/type.d.ts.map +1 -1
  62. package/esm/descriptions/descriptions.d.ts.map +1 -1
  63. package/esm/descriptions/descriptions.js +6 -4
  64. package/esm/descriptions/rule.js +3 -2
  65. package/esm/descriptions/token.js +11 -3
  66. package/esm/descriptions/type.d.ts +15 -3
  67. package/esm/descriptions/type.d.ts.map +1 -1
  68. package/esm/dropdown/dropdown.d.ts.map +1 -1
  69. package/esm/dropdown/dropdown.js +6 -4
  70. package/esm/dropdown/rule.js +2 -0
  71. package/esm/dropdown/token.js +9 -5
  72. package/esm/dropdown/type.d.ts +16 -4
  73. package/esm/dropdown/type.d.ts.map +1 -1
  74. package/esm/input/input.d.ts.map +1 -1
  75. package/esm/input/input.js +17 -5
  76. package/esm/input/rule.js +1 -7
  77. package/esm/input/token.js +29 -12
  78. package/esm/input/type.d.ts +94 -22
  79. package/esm/input/type.d.ts.map +1 -1
  80. package/esm/list/list.d.ts.map +1 -1
  81. package/esm/list/list.js +5 -1
  82. package/esm/list/token.js +11 -1
  83. package/esm/list/type.d.ts +25 -1
  84. package/esm/list/type.d.ts.map +1 -1
  85. package/esm/menu/menu.d.ts.map +1 -1
  86. package/esm/menu/menu.js +15 -2
  87. package/esm/menu/token.js +57 -1
  88. package/esm/menu/type.d.ts +79 -1
  89. package/esm/menu/type.d.ts.map +1 -1
  90. package/esm/popover/popover.d.ts.map +1 -1
  91. package/esm/popover/popover.js +9 -7
  92. package/esm/popover/rule.js +2 -2
  93. package/esm/popover/token.js +11 -7
  94. package/esm/popover/type.d.ts +19 -7
  95. package/esm/popover/type.d.ts.map +1 -1
  96. package/esm/select/select.d.ts.map +1 -1
  97. package/esm/select/select.js +23 -7
  98. package/esm/select/token.js +62 -12
  99. package/esm/select/type.d.ts +103 -7
  100. package/esm/select/type.d.ts.map +1 -1
  101. package/package.json +1 -1
@@ -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-4',
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 = {
@@ -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-4'
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: {
@@ -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-4
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
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,sBAAsB,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AM,CAAC;IAC7B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
@@ -1 +1 @@
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,gBAiBvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
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',
@@ -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
  },
@@ -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,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;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"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,QAAA,MAAM,kBAAkB,EAAE,kBA0BzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"descriptions.d.ts","sourceRoot":"","sources":["descriptions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,QAAA,MAAM,kBAAkB,EAAE,kBA4BzB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -9,7 +9,7 @@ var descriptionsTokens = {
9
9
  descriptionsTitleSmallSize: 'Font-14',
10
10
  descriptionsTitleDefaultSize: 'Font-16',
11
11
  descriptionsTitleLargeSize: 'Font-18',
12
- descriptionsBorderDefaultSize: '1px',
12
+ descriptionsBorderDefaultSize: 'Border-1',
13
13
  descriptionsFontSmallSize: 'Font-12',
14
14
  descriptionsFontDefaultSize: 'Font-14',
15
15
  descriptionsFontLargeSize: 'Font-16',
@@ -18,14 +18,16 @@ var descriptionsTokens = {
18
18
  descriptionsTitleColor: 'Neutral-text-5',
19
19
  descriptionsBackgroundColor: 'Neutral-fill-2',
20
20
  descriptionsBorderColor: 'Neutral-border-1',
21
- descriptionsTitleFontWeight: '500',
21
+ descriptionsTitleFontWeight: 'Weight-medium',
22
22
  descriptionsTitleGap: 'Size-2',
23
- descriptionsBorderRadius: 'Size-2',
23
+ descriptionsCellGap: 'Spacing-0',
24
+ descriptionsBorderRadius: 'Radius-lesser',
24
25
  descriptionsBorderRightSize: '1px',
25
26
  descriptionsBorderBottomSize: '1px',
26
27
  descriptionsBorderPaddingX: 'Spacing-8',
27
28
  descriptionsBorderPaddingY: 'Spacing-12',
28
29
  descriptionsInlineBorderPaddingX: 'Spacing-8',
29
- descriptionsInlineBorderPaddingY: 'Spacing-12'
30
+ descriptionsInlineBorderPaddingY: 'Spacing-12',
31
+ descriptionsVerticalPaddingBottom: 'Spacing-2'
30
32
  };
31
33
  export default descriptionsTokens;
@@ -11,10 +11,11 @@ var descriptionsRules = {
11
11
  font: [['title', 'border', 'font'], ['small-size', 'default-size', 'large-size']],
12
12
  color: [['label', 'value', 'title', 'extra', 'background', 'border'], ['color']],
13
13
  weight: [['title'], ['font-weight']],
14
- gap: [['title'], ['gap']],
14
+ gap: [['title', 'cell'], ['gap']],
15
15
  radius: [['border'], ['radius']],
16
16
  border: [['border-right', 'border-bottom', 'border-padding'], ['size', 'x', 'y']],
17
- Inline: [['inline-border'], ['padding-x', 'padding-y']]
17
+ Inline: [['inline-border'], ['padding-x', 'padding-y']],
18
+ layout: [['vertical'], ['padding-bottom']]
18
19
  };
19
20
  module.exports = {
20
21
  descriptionsRules: descriptionsRules
@@ -43,7 +43,7 @@ var descriptionsTokenValue = {
43
43
  },
44
44
  color: 'Neutral-text-5',
45
45
  font: {
46
- weight: '500'
46
+ weight: 'Weight-medium'
47
47
  },
48
48
  gap: 'Size-2'
49
49
  },
@@ -70,13 +70,13 @@ var descriptionsTokenValue = {
70
70
  size: ''
71
71
  },
72
72
  default: {
73
- size: '1px'
73
+ size: 'Border-1'
74
74
  },
75
75
  large: {
76
76
  size: ''
77
77
  },
78
78
  color: 'Neutral-border-1',
79
- radius: 'Size-2',
79
+ radius: 'Radius-lesser',
80
80
  right: {
81
81
  size: '1px',
82
82
  x: '',
@@ -110,6 +110,9 @@ var descriptionsTokenValue = {
110
110
  background: {
111
111
  color: 'Neutral-fill-2'
112
112
  },
113
+ cell: {
114
+ gap: 'Spacing-0'
115
+ },
113
116
  inline: {
114
117
  border: {
115
118
  padding: {
@@ -117,6 +120,11 @@ var descriptionsTokenValue = {
117
120
  y: 'Spacing-12'
118
121
  }
119
122
  }
123
+ },
124
+ vertical: {
125
+ padding: {
126
+ bottom: 'Spacing-2'
127
+ }
120
128
  }
121
129
  };
122
130
  var descriptionsTokenExtraValue = {};
@@ -43,7 +43,7 @@ export interface DescriptionsTokens {
43
43
  descriptionsTitleLargeSize: string;
44
44
  /**
45
45
  * @type {string}
46
- * @token 1px
46
+ * @token Border-1
47
47
  * @description 描述列表边框默认尺寸字号
48
48
  */
49
49
  descriptionsBorderDefaultSize: string;
@@ -97,7 +97,7 @@ export interface DescriptionsTokens {
97
97
  descriptionsBorderColor: string;
98
98
  /**
99
99
  * @type {string}
100
- * @token 500
100
+ * @token Weight-medium
101
101
  * @description 描述列表标题模式字体字重
102
102
  */
103
103
  descriptionsTitleFontWeight: string;
@@ -109,7 +109,13 @@ export interface DescriptionsTokens {
109
109
  descriptionsTitleGap: string;
110
110
  /**
111
111
  * @type {string}
112
- * @token Size-2
112
+ * @token Spacing-0
113
+ * @description 描述列表undefined间距
114
+ */
115
+ descriptionsCellGap: string;
116
+ /**
117
+ * @type {string}
118
+ * @token Radius-lesser
113
119
  * @description 描述列表边框圆角
114
120
  */
115
121
  descriptionsBorderRadius: string;
@@ -149,5 +155,11 @@ export interface DescriptionsTokens {
149
155
  * @description 描述列表内联边框内边距(垂直方向)
150
156
  */
151
157
  descriptionsInlineBorderPaddingY: string;
158
+ /**
159
+ * @type {string}
160
+ * @token Spacing-2
161
+ * @description 描述列表undefined内边距底部
162
+ */
163
+ descriptionsVerticalPaddingBottom: string;
152
164
  }
153
165
  //# sourceMappingURL=type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IAC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BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;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,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;CAC3C"}
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAmDrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["dropdown.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAqDrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -2,16 +2,16 @@
2
2
  // This file was generated automatically by a script. Please do not modify it directly.
3
3
 
4
4
  var dropdownTokens = {
5
- dropdownCaretMarginLeft: 'Spacing-4',
6
- dropdownListBorderRadius: 'Radius-4',
5
+ dropdownCaretMarginLeft: 'Spacing-8',
6
+ dropdownListBorderRadius: 'Radius-default',
7
7
  dropdownListPaddingX: 'Spacing-4',
8
8
  dropdownListPaddingY: 'Spacing-4',
9
9
  dropdownListFontSize: 'Font-14',
10
- dropdownListSmallBorderRadius: 'Radius-4',
10
+ dropdownListSmallBorderRadius: 'Radius-default',
11
11
  dropdownListSmallPaddingX: 'Spacing-4',
12
12
  dropdownListSmallPaddingY: 'Spacing-4',
13
13
  dropdownListSmallFontSize: 'Font-12',
14
- dropdownListLargeBorderRadius: 'Radius-4',
14
+ dropdownListLargeBorderRadius: 'Radius-default',
15
15
  dropdownListLargePaddingX: 'Spacing-4',
16
16
  dropdownListLargePaddingY: 'Spacing-4',
17
17
  dropdownListLargeFontSize: 'Font-16',
@@ -36,6 +36,8 @@ var dropdownTokens = {
36
36
  dropdownOptionSelectFontColor: 'Brand-6',
37
37
  dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
38
38
  dropdownOptionDisabledFontColor: 'Neutral-text-2',
39
+ dropdownOptionBorderRadius: 'Radius-default',
40
+ dropdownOptionFontWeight: 'Weight-regular',
39
41
  dropdownColumnPaddingX: 'Spacing-4',
40
42
  dropdownColumnPaddingY: 'Spacing-4',
41
43
  dropdownOptionGroupPaddingX: 'Spacing-8',
@@ -23,6 +23,8 @@ var dropdownRules = {
23
23
  listOption: [['list'], ['border-width']],
24
24
  ListOptionSize: [['option'], ['', 'small', 'large'], ['padding-x', 'padding-y']],
25
25
  listOptionColor: [['option'], ['', 'hover', 'active', 'select', 'disabled'], ['background-color', 'font-color']],
26
+ listOptionBorder: [['option'], ['border-radius']],
27
+ listOptionFont: [['option'], ['font-weight']],
26
28
  Column: [['column'], ['padding-x', 'padding-y']],
27
29
  OptionGroup: [['option'], ['group'], ['padding-x', 'padding-top', 'padding-bottom', 'font-size', 'font-color', 'small-x', 'small-top', 'small-bottom', 'large-x', 'large-top', 'large-bottom']],
28
30
  OptionDivider: [['option'], ['divider'], ['background-color', 'padding-x', 'padding-y', 'height']]
@@ -33,7 +33,7 @@ var dropdownTokenDescription = {
33
33
  var dropdownTokenValue = {
34
34
  list: {
35
35
  border: {
36
- radius: 'Radius-4',
36
+ radius: 'Radius-default',
37
37
  color: 'Neutral-border-1',
38
38
  width: 'Border-1'
39
39
  },
@@ -47,7 +47,7 @@ var dropdownTokenValue = {
47
47
  },
48
48
  small: {
49
49
  border: {
50
- radius: 'Radius-4'
50
+ radius: 'Radius-default'
51
51
  },
52
52
  padding: {
53
53
  x: 'Spacing-4',
@@ -59,7 +59,7 @@ var dropdownTokenValue = {
59
59
  },
60
60
  large: {
61
61
  border: {
62
- radius: 'Radius-4'
62
+ radius: 'Radius-default'
63
63
  },
64
64
  padding: {
65
65
  x: 'Spacing-4',
@@ -97,7 +97,8 @@ var dropdownTokenValue = {
97
97
  color: 'Neutral-fill-1'
98
98
  },
99
99
  font: {
100
- color: 'Neutral-text-5'
100
+ color: 'Neutral-text-5',
101
+ weight: 'Weight-regular'
101
102
  },
102
103
  hover: {
103
104
  background: {
@@ -131,6 +132,9 @@ var dropdownTokenValue = {
131
132
  color: 'Neutral-text-2'
132
133
  }
133
134
  },
135
+ border: {
136
+ radius: 'Radius-default'
137
+ },
134
138
  group: {
135
139
  padding: {
136
140
  x: 'Spacing-8',
@@ -173,7 +177,7 @@ var dropdownTokenValue = {
173
177
  var dropdownTokenExtraValue = {
174
178
  caret: {
175
179
  margin: {
176
- left: 'Spacing-4'
180
+ left: 'Spacing-8'
177
181
  }
178
182
  }
179
183
  };
@@ -1,13 +1,13 @@
1
1
  export interface DropdownTokens {
2
2
  /**
3
3
  * @type {string}
4
- * @token Spacing-4
4
+ * @token Spacing-8
5
5
  * @description 下拉菜单箭头icon的外边距(左侧)
6
6
  */
7
7
  dropdownCaretMarginLeft: string;
8
8
  /**
9
9
  * @type {string}
10
- * @token Radius-4
10
+ * @token Radius-default
11
11
  * @description 下拉菜单列表边框圆角
12
12
  */
13
13
  dropdownListBorderRadius: string;
@@ -31,7 +31,7 @@ export interface DropdownTokens {
31
31
  dropdownListFontSize: string;
32
32
  /**
33
33
  * @type {string}
34
- * @token Radius-4
34
+ * @token Radius-default
35
35
  * @description 下拉菜单列表小尺寸边框圆角
36
36
  */
37
37
  dropdownListSmallBorderRadius: string;
@@ -55,7 +55,7 @@ export interface DropdownTokens {
55
55
  dropdownListSmallFontSize: string;
56
56
  /**
57
57
  * @type {string}
58
- * @token Radius-4
58
+ * @token Radius-default
59
59
  * @description 下拉菜单列表大尺寸边框圆角
60
60
  */
61
61
  dropdownListLargeBorderRadius: string;
@@ -203,6 +203,18 @@ export interface DropdownTokens {
203
203
  * @description 下拉菜单选项禁用时的字体颜色
204
204
  */
205
205
  dropdownOptionDisabledFontColor: string;
206
+ /**
207
+ * @type {string}
208
+ * @token Radius-default
209
+ * @description 下拉菜单选项边框圆角
210
+ */
211
+ dropdownOptionBorderRadius: string;
212
+ /**
213
+ * @type {string}
214
+ * @token Weight-regular
215
+ * @description 下拉菜单选项字体字重
216
+ */
217
+ dropdownOptionFontWeight: string;
206
218
  /**
207
219
  * @type {string}
208
220
  * @token Spacing-4
@@ -1 +1 @@
1
- {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;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"version":3,"file":"input.d.ts","sourceRoot":"","sources":["input.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA0DlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -3,33 +3,42 @@
3
3
 
4
4
  var inputTokens = {
5
5
  inputFontSize: 'Font-14',
6
- inputBorderRadius: 'Radius-4',
6
+ inputFontColor: 'Neutral-text-5',
7
+ inputFontWeight: 'Weight-regular',
8
+ inputBorderRadius: 'Radius-default',
9
+ inputBorderColor: 'Neutral-border-2',
10
+ inputBorderWidth: 'Border-1',
7
11
  inputPaddingX: 'Spacing-8',
8
12
  inputPaddingY: 'Spacing-4',
9
13
  inputIconSize: 'Size-7',
14
+ inputIconColor: 'Neutral-text-4',
10
15
  inputSmallFontSize: 'Font-12',
11
16
  inputSmallPaddingX: 'Spacing-8',
12
17
  inputSmallPaddingY: 'Spacing-1',
13
18
  inputLargeFontSize: 'Font-16',
14
19
  inputLargePaddingX: 'Spacing-12',
15
20
  inputLargePaddingY: 'Spacing-7',
16
- inputFontColor: 'Neutral-text-5',
17
21
  inputPlaceholderColor: 'Neutral-text-2',
18
- inputBorderColor: 'Neutral-border-2',
19
22
  inputBackgroundColor: 'Neutral-fill-1',
20
23
  inputClearColor: 'Neutral-text-3',
21
24
  inputToggleColor: 'Neutral-text-4',
22
- inputIconColor: 'Neutral-text-4',
23
25
  inputHoverBorderColor: 'Brand-6',
26
+ inputHoverBackgroundColor: 'Neutral-fill-1',
24
27
  inputHoverClearColor: 'Neutral-text-4',
25
28
  inputHoverToggleColor: 'Neutral-text-5',
26
29
  inputFocusBorderColor: 'Brand-7',
30
+ inputFocusBackgroundColor: 'Neutral-fill-1',
27
31
  inputFocusShadow: 'Brand-2',
28
32
  inputDisabledFontColor: 'Neutral-text-2',
29
33
  inputDisabledPlaceholderColor: 'Neutral-text-2',
30
34
  inputDisabledBorderColor: 'Neutral-border-1',
31
35
  inputDisabledBackgroundColor: 'Neutral-fill-2',
32
36
  inputErrorBorderColor: 'Danger-6',
37
+ inputErrorBackgroundColor: 'Neutral-fill-1',
38
+ inputErrorHoverBorderColor: 'Danger-6',
39
+ inputErrorHoverBackgroundColor: 'Neutral-fill-1',
40
+ inputErrorFocusBorderColor: 'Danger-6',
41
+ inputErrorFocusBackgroundColor: 'Neutral-fill-1',
33
42
  inputErrorFocusShadow: 'Danger-1',
34
43
  inputInfoFontColor: 'Brand-6',
35
44
  inputInfoBackgroundColor: 'Neutral-fill-1',
@@ -40,12 +49,15 @@ var inputTokens = {
40
49
  inputInnerPaddingX: 'Spacing-8',
41
50
  inputInnerPaddingY: 'Spacing-1',
42
51
  inputInnerFontSize: 'Font-12',
52
+ inputInnerFontColor: 'Neutral-text-4',
43
53
  inputInnerSmallPaddingX: 'Spacing-8',
44
54
  inputInnerSmallPaddingY: 'Spacing-1',
45
55
  inputInnerSmallFontSize: 'Font-12',
46
56
  inputInnerLargePaddingX: 'Spacing-12',
47
57
  inputInnerLargePaddingY: 'Spacing-3',
48
58
  inputInnerLargeFontSize: 'Font-14',
49
- inputInnerFontColor: 'Neutral-text-4'
59
+ inputInnerTopFontSize: 'Font-12',
60
+ inputInnerTopSmallFontSize: 'Font-12',
61
+ inputInnerTopLargeFontSize: 'Font-12'
50
62
  };
51
63
  export default inputTokens;
package/esm/input/rule.js CHANGED
@@ -6,13 +6,7 @@
6
6
  * 用于生成 token 的规则,修改保存后将自动更新 token。
7
7
  * 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
8
8
  */
9
- var inputRules = {
10
- size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'icon-size']],
11
- color: [['', 'disabled', 'error'], ['', 'hover', 'focus'], ['font-color', 'placeholder-color', 'border-color', 'background-color', 'shadow', 'clear-color', 'toggle-color', 'icon-color']],
12
- infoColor: [['info'], ['', 'error'], ['font-color', 'background-color', 'border-color']],
13
- innerSize: [['inner'], ['', 'small', 'large'], ['padding-x', 'padding-y', 'font-size']],
14
- innerColor: [['inner'], ['font-color']]
15
- };
9
+ var inputRules = {};
16
10
  module.exports = {
17
11
  inputRules: inputRules
18
12
  };