@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
@@ -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,WAuBlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
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"}
@@ -21,12 +21,15 @@ var alertTokens = {
21
21
  alertDangerBorderColor: 'Danger-2',
22
22
  alertDangerFontColor: 'Danger-6',
23
23
  alertFontSize: 'Font-14',
24
+ alertFontWeight: 'Weight-regular',
24
25
  alertFontColor: 'Neutral-text-5',
25
26
  alertPaddingX: 'Spacing-16',
26
27
  alertPaddingY: 'Spacing-8',
27
- alertBorderRadius: 'Radius-4',
28
+ alertBorderRadius: 'Radius-default',
28
29
  alertNearlyMargin: 'Spacing-8',
29
30
  alertTitleFontSize: 'Font-16',
31
+ alertTitleFontWeight: 'Weight-medium',
32
+ alertTitleMarginY: 'Spacing-4',
30
33
  alertCloseFontColor: 'Neutral-text-4',
31
34
  alertCloseHoverColor: 'Neutral-text-5',
32
35
  alertMessageHoverColor: 'Neutral-fill-2'
package/cjs/alert/rule.js CHANGED
@@ -10,9 +10,9 @@
10
10
  */
11
11
  var alertRules = {
12
12
  color: [['info', 'success', 'warning', 'danger'], ['background-color', 'border-color', 'font-color']],
13
- size: [['font-size', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
13
+ size: [['font-size', 'font-weight', 'font-color', 'padding-x', 'padding-y', 'border-radius']],
14
14
  extra_margin: [['nearly'], ['margin']],
15
- extra_title: [['title'], ['font-size']],
15
+ extra_title: [['title'], ['font-size', 'font-weight', 'margin-y']],
16
16
  extra_close: [['close', 'message'], ['font-color', 'hover-color']]
17
17
  };
18
18
  module.exports = {
@@ -70,6 +70,7 @@ var alertTokenValue = {
70
70
  },
71
71
  font: {
72
72
  size: 'Font-14',
73
+ weight: 'Weight-regular',
73
74
  color: 'Neutral-text-5'
74
75
  },
75
76
  padding: {
@@ -77,14 +78,18 @@ var alertTokenValue = {
77
78
  y: 'Spacing-8'
78
79
  },
79
80
  border: {
80
- radius: 'Radius-4'
81
+ radius: 'Radius-default'
81
82
  },
82
83
  nearly: {
83
84
  margin: 'Spacing-8'
84
85
  },
85
86
  title: {
86
87
  font: {
87
- size: 'Font-16'
88
+ size: 'Font-16',
89
+ weight: 'Weight-medium'
90
+ },
91
+ margin: {
92
+ y: 'Spacing-4'
88
93
  }
89
94
  },
90
95
  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,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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,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,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"}
@@ -10,11 +10,9 @@ exports.default = void 0;
10
10
  var breadcrumbTokens = {
11
11
  breadcrumbFontSize: 'Font-14',
12
12
  breadcrumbFontColor: 'Neutral-text-5',
13
+ breadcrumbFontWieght: 'Weight-regular',
13
14
  breadcrumbLinkColor: 'Neutral-text-3',
14
15
  breadcrumbLinkHoverColor: 'Brand-5',
15
- breadcrumbListBackgroundColor: 'Neutral-fill-1',
16
- breadcrumbListShadow: 'Shadow-1',
17
- breadcrumbListBorderColor: '#f4f5f8',
18
16
  breadcrumbListPaddingY: 'Spacing-4',
19
17
  breadcrumbListItemBorderRadius: 'Radius-4',
20
18
  breadcrumbListItemWrapperPaddingX: 'Spacing-4',
@@ -28,7 +28,8 @@ var breadcrumbTokenValue = {};
28
28
  var breadcrumbTokenExtraValue = {
29
29
  font: {
30
30
  size: 'Font-14',
31
- color: 'Neutral-text-5'
31
+ color: 'Neutral-text-5',
32
+ wieght: 'Weight-regular'
32
33
  },
33
34
  link: {
34
35
  color: 'Neutral-text-3',
@@ -37,13 +38,6 @@ var breadcrumbTokenExtraValue = {
37
38
  }
38
39
  },
39
40
  list: {
40
- background: {
41
- color: 'Neutral-fill-1'
42
- },
43
- shadow: 'Shadow-1',
44
- border: {
45
- color: '#f4f5f8'
46
- },
47
41
  padding: {
48
42
  y: 'Spacing-4'
49
43
  },
@@ -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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IG;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"}
@@ -15,7 +15,7 @@ var descriptionsTokens = {
15
15
  descriptionsTitleSmallSize: 'Font-14',
16
16
  descriptionsTitleDefaultSize: 'Font-16',
17
17
  descriptionsTitleLargeSize: 'Font-18',
18
- descriptionsBorderDefaultSize: '1px',
18
+ descriptionsBorderDefaultSize: 'Border-1',
19
19
  descriptionsFontSmallSize: 'Font-12',
20
20
  descriptionsFontDefaultSize: 'Font-14',
21
21
  descriptionsFontLargeSize: 'Font-16',
@@ -24,14 +24,16 @@ var descriptionsTokens = {
24
24
  descriptionsTitleColor: 'Neutral-text-5',
25
25
  descriptionsBackgroundColor: 'Neutral-fill-2',
26
26
  descriptionsBorderColor: 'Neutral-border-1',
27
- descriptionsTitleFontWeight: '500',
27
+ descriptionsTitleFontWeight: 'Weight-medium',
28
28
  descriptionsTitleGap: 'Size-2',
29
- descriptionsBorderRadius: 'Size-2',
29
+ descriptionsCellGap: 'Spacing-0',
30
+ descriptionsBorderRadius: 'Radius-lesser',
30
31
  descriptionsBorderRightSize: '1px',
31
32
  descriptionsBorderBottomSize: '1px',
32
33
  descriptionsBorderPaddingX: 'Spacing-8',
33
34
  descriptionsBorderPaddingY: 'Spacing-12',
34
35
  descriptionsInlineBorderPaddingX: 'Spacing-8',
35
- descriptionsInlineBorderPaddingY: 'Spacing-12'
36
+ descriptionsInlineBorderPaddingY: 'Spacing-12',
37
+ descriptionsVerticalPaddingBottom: 'Spacing-2'
36
38
  };
37
39
  var _default = exports.default = descriptionsTokens;
@@ -13,10 +13,11 @@ var descriptionsRules = {
13
13
  font: [['title', 'border', 'font'], ['small-size', 'default-size', 'large-size']],
14
14
  color: [['label', 'value', 'title', 'extra', 'background', 'border'], ['color']],
15
15
  weight: [['title'], ['font-weight']],
16
- gap: [['title'], ['gap']],
16
+ gap: [['title', 'cell'], ['gap']],
17
17
  radius: [['border'], ['radius']],
18
18
  border: [['border-right', 'border-bottom', 'border-padding'], ['size', 'x', 'y']],
19
- Inline: [['inline-border'], ['padding-x', 'padding-y']]
19
+ Inline: [['inline-border'], ['padding-x', 'padding-y']],
20
+ layout: [['vertical'], ['padding-bottom']]
20
21
  };
21
22
  module.exports = {
22
23
  descriptionsRules: descriptionsRules
@@ -45,7 +45,7 @@ var descriptionsTokenValue = {
45
45
  },
46
46
  color: 'Neutral-text-5',
47
47
  font: {
48
- weight: '500'
48
+ weight: 'Weight-medium'
49
49
  },
50
50
  gap: 'Size-2'
51
51
  },
@@ -72,13 +72,13 @@ var descriptionsTokenValue = {
72
72
  size: ''
73
73
  },
74
74
  default: {
75
- size: '1px'
75
+ size: 'Border-1'
76
76
  },
77
77
  large: {
78
78
  size: ''
79
79
  },
80
80
  color: 'Neutral-border-1',
81
- radius: 'Size-2',
81
+ radius: 'Radius-lesser',
82
82
  right: {
83
83
  size: '1px',
84
84
  x: '',
@@ -112,6 +112,9 @@ var descriptionsTokenValue = {
112
112
  background: {
113
113
  color: 'Neutral-fill-2'
114
114
  },
115
+ cell: {
116
+ gap: 'Spacing-0'
117
+ },
115
118
  inline: {
116
119
  border: {
117
120
  padding: {
@@ -119,6 +122,11 @@ var descriptionsTokenValue = {
119
122
  y: 'Spacing-12'
120
123
  }
121
124
  }
125
+ },
126
+ vertical: {
127
+ padding: {
128
+ bottom: 'Spacing-2'
129
+ }
122
130
  }
123
131
  };
124
132
  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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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"}
@@ -8,16 +8,16 @@ exports.default = void 0;
8
8
  // This file was generated automatically by a script. Please do not modify it directly.
9
9
 
10
10
  var dropdownTokens = {
11
- dropdownCaretMarginLeft: 'Spacing-4',
12
- dropdownListBorderRadius: 'Radius-4',
11
+ dropdownCaretMarginLeft: 'Spacing-8',
12
+ dropdownListBorderRadius: 'Radius-default',
13
13
  dropdownListPaddingX: 'Spacing-4',
14
14
  dropdownListPaddingY: 'Spacing-4',
15
15
  dropdownListFontSize: 'Font-14',
16
- dropdownListSmallBorderRadius: 'Radius-4',
16
+ dropdownListSmallBorderRadius: 'Radius-default',
17
17
  dropdownListSmallPaddingX: 'Spacing-4',
18
18
  dropdownListSmallPaddingY: 'Spacing-4',
19
19
  dropdownListSmallFontSize: 'Font-12',
20
- dropdownListLargeBorderRadius: 'Radius-4',
20
+ dropdownListLargeBorderRadius: 'Radius-default',
21
21
  dropdownListLargePaddingX: 'Spacing-4',
22
22
  dropdownListLargePaddingY: 'Spacing-4',
23
23
  dropdownListLargeFontSize: 'Font-16',
@@ -42,6 +42,8 @@ var dropdownTokens = {
42
42
  dropdownOptionSelectFontColor: 'Brand-6',
43
43
  dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
44
44
  dropdownOptionDisabledFontColor: 'Neutral-text-2',
45
+ dropdownOptionBorderRadius: 'Radius-default',
46
+ dropdownOptionFontWeight: 'Weight-regular',
45
47
  dropdownColumnPaddingX: 'Spacing-4',
46
48
  dropdownColumnPaddingY: 'Spacing-4',
47
49
  dropdownOptionGroupPaddingX: 'Spacing-8',
@@ -25,6 +25,8 @@ var dropdownRules = {
25
25
  listOption: [['list'], ['border-width']],
26
26
  ListOptionSize: [['option'], ['', 'small', 'large'], ['padding-x', 'padding-y']],
27
27
  listOptionColor: [['option'], ['', 'hover', 'active', 'select', 'disabled'], ['background-color', 'font-color']],
28
+ listOptionBorder: [['option'], ['border-radius']],
29
+ listOptionFont: [['option'], ['font-weight']],
28
30
  Column: [['column'], ['padding-x', 'padding-y']],
29
31
  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']],
30
32
  OptionDivider: [['option'], ['divider'], ['background-color', 'padding-x', 'padding-y', 'height']]
@@ -35,7 +35,7 @@ var dropdownTokenDescription = {
35
35
  var dropdownTokenValue = {
36
36
  list: {
37
37
  border: {
38
- radius: 'Radius-4',
38
+ radius: 'Radius-default',
39
39
  color: 'Neutral-border-1',
40
40
  width: 'Border-1'
41
41
  },
@@ -49,7 +49,7 @@ var dropdownTokenValue = {
49
49
  },
50
50
  small: {
51
51
  border: {
52
- radius: 'Radius-4'
52
+ radius: 'Radius-default'
53
53
  },
54
54
  padding: {
55
55
  x: 'Spacing-4',
@@ -61,7 +61,7 @@ var dropdownTokenValue = {
61
61
  },
62
62
  large: {
63
63
  border: {
64
- radius: 'Radius-4'
64
+ radius: 'Radius-default'
65
65
  },
66
66
  padding: {
67
67
  x: 'Spacing-4',
@@ -99,7 +99,8 @@ var dropdownTokenValue = {
99
99
  color: 'Neutral-fill-1'
100
100
  },
101
101
  font: {
102
- color: 'Neutral-text-5'
102
+ color: 'Neutral-text-5',
103
+ weight: 'Weight-regular'
103
104
  },
104
105
  hover: {
105
106
  background: {
@@ -133,6 +134,9 @@ var dropdownTokenValue = {
133
134
  color: 'Neutral-text-2'
134
135
  }
135
136
  },
137
+ border: {
138
+ radius: 'Radius-default'
139
+ },
136
140
  group: {
137
141
  padding: {
138
142
  x: 'Spacing-8',
@@ -175,7 +179,7 @@ var dropdownTokenValue = {
175
179
  var dropdownTokenExtraValue = {
176
180
  caret: {
177
181
  margin: {
178
- left: 'Spacing-4'
182
+ left: 'Spacing-8'
179
183
  }
180
184
  }
181
185
  };
@@ -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;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;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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AAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,oCAAoC,EAAE,MAAM,CAAC;IAC7C;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"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,WA8ClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"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"}
@@ -9,33 +9,42 @@ exports.default = void 0;
9
9
 
10
10
  var inputTokens = {
11
11
  inputFontSize: 'Font-14',
12
- inputBorderRadius: 'Radius-4',
12
+ inputFontColor: 'Neutral-text-5',
13
+ inputFontWeight: 'Weight-regular',
14
+ inputBorderRadius: 'Radius-default',
15
+ inputBorderColor: 'Neutral-border-2',
16
+ inputBorderWidth: 'Border-1',
13
17
  inputPaddingX: 'Spacing-8',
14
18
  inputPaddingY: 'Spacing-4',
15
19
  inputIconSize: 'Size-7',
20
+ inputIconColor: 'Neutral-text-4',
16
21
  inputSmallFontSize: 'Font-12',
17
22
  inputSmallPaddingX: 'Spacing-8',
18
23
  inputSmallPaddingY: 'Spacing-1',
19
24
  inputLargeFontSize: 'Font-16',
20
25
  inputLargePaddingX: 'Spacing-12',
21
26
  inputLargePaddingY: 'Spacing-7',
22
- inputFontColor: 'Neutral-text-5',
23
27
  inputPlaceholderColor: 'Neutral-text-2',
24
- inputBorderColor: 'Neutral-border-2',
25
28
  inputBackgroundColor: 'Neutral-fill-1',
26
29
  inputClearColor: 'Neutral-text-3',
27
30
  inputToggleColor: 'Neutral-text-4',
28
- inputIconColor: 'Neutral-text-4',
29
31
  inputHoverBorderColor: 'Brand-6',
32
+ inputHoverBackgroundColor: 'Neutral-fill-1',
30
33
  inputHoverClearColor: 'Neutral-text-4',
31
34
  inputHoverToggleColor: 'Neutral-text-5',
32
35
  inputFocusBorderColor: 'Brand-7',
36
+ inputFocusBackgroundColor: 'Neutral-fill-1',
33
37
  inputFocusShadow: 'Brand-2',
34
38
  inputDisabledFontColor: 'Neutral-text-2',
35
39
  inputDisabledPlaceholderColor: 'Neutral-text-2',
36
40
  inputDisabledBorderColor: 'Neutral-border-1',
37
41
  inputDisabledBackgroundColor: 'Neutral-fill-2',
38
42
  inputErrorBorderColor: 'Danger-6',
43
+ inputErrorBackgroundColor: 'Neutral-fill-1',
44
+ inputErrorHoverBorderColor: 'Danger-6',
45
+ inputErrorHoverBackgroundColor: 'Neutral-fill-1',
46
+ inputErrorFocusBorderColor: 'Danger-6',
47
+ inputErrorFocusBackgroundColor: 'Neutral-fill-1',
39
48
  inputErrorFocusShadow: 'Danger-1',
40
49
  inputInfoFontColor: 'Brand-6',
41
50
  inputInfoBackgroundColor: 'Neutral-fill-1',
@@ -46,12 +55,15 @@ var inputTokens = {
46
55
  inputInnerPaddingX: 'Spacing-8',
47
56
  inputInnerPaddingY: 'Spacing-1',
48
57
  inputInnerFontSize: 'Font-12',
58
+ inputInnerFontColor: 'Neutral-text-4',
49
59
  inputInnerSmallPaddingX: 'Spacing-8',
50
60
  inputInnerSmallPaddingY: 'Spacing-1',
51
61
  inputInnerSmallFontSize: 'Font-12',
52
62
  inputInnerLargePaddingX: 'Spacing-12',
53
63
  inputInnerLargePaddingY: 'Spacing-3',
54
64
  inputInnerLargeFontSize: 'Font-14',
55
- inputInnerFontColor: 'Neutral-text-4'
65
+ inputInnerTopFontSize: 'Font-12',
66
+ inputInnerTopSmallFontSize: 'Font-12',
67
+ inputInnerTopLargeFontSize: 'Font-12'
56
68
  };
57
69
  var _default = exports.default = inputTokens;
package/cjs/input/rule.js CHANGED
@@ -8,13 +8,7 @@
8
8
  * 用于生成 token 的规则,修改保存后将自动更新 token。
9
9
  * 规则变量名称为 组件名称 + Rules。请勿修改变量命名,否则将导致 token 无法生成。
10
10
  */
11
- var inputRules = {
12
- size: [['', 'small', 'large'], ['font-size', 'border-radius', 'padding-x', 'padding-y', 'icon-size']],
13
- color: [['', 'disabled', 'error'], ['', 'hover', 'focus'], ['font-color', 'placeholder-color', 'border-color', 'background-color', 'shadow', 'clear-color', 'toggle-color', 'icon-color']],
14
- infoColor: [['info'], ['', 'error'], ['font-color', 'background-color', 'border-color']],
15
- innerSize: [['inner'], ['', 'small', 'large'], ['padding-x', 'padding-y', 'font-size']],
16
- innerColor: [['inner'], ['font-color']]
17
- };
11
+ var inputRules = {};
18
12
  module.exports = {
19
13
  inputRules: inputRules
20
14
  };