@sheinx/theme 3.1.0-rc.2 → 3.1.0-rc.3
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/LICENSE +21 -0
- package/cjs/alert/alert.js +5 -5
- package/cjs/alert/token.js +5 -5
- package/cjs/alert/type.d.ts +5 -5
- package/cjs/breadcrumb/breadcrumb.js +6 -6
- package/cjs/breadcrumb/token.js +6 -6
- package/cjs/breadcrumb/type.d.ts +6 -6
- package/cjs/button/button.js +5 -5
- package/cjs/button/token.js +6 -6
- package/cjs/card/card.js +5 -5
- package/cjs/card/token.js +6 -6
- package/cjs/card/type.d.ts +5 -5
- package/cjs/card-group/card-group.js +1 -1
- package/cjs/card-group/token.js +1 -1
- package/cjs/card-group/type.d.ts +1 -1
- package/cjs/carousel/carousel.js +5 -5
- package/cjs/carousel/token.js +5 -5
- package/cjs/carousel/type.d.ts +5 -5
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +33 -34
- package/cjs/cascader/token.js +34 -35
- package/cjs/cascader/type.d.ts +33 -39
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.d.ts.map +1 -1
- package/cjs/checkbox/checkbox.js +8 -7
- package/cjs/checkbox/token.js +10 -7
- package/cjs/checkbox/type.d.ts +13 -7
- package/cjs/checkbox/type.d.ts.map +1 -1
- package/cjs/collapse/collapse.js +7 -7
- package/cjs/collapse/token.js +7 -7
- package/cjs/collapse/type.d.ts +7 -7
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +36 -49
- package/cjs/date-picker/token.js +36 -89
- package/cjs/date-picker/type.d.ts +36 -114
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +14 -14
- package/cjs/descriptions/token.js +14 -14
- package/cjs/descriptions/type.d.ts +14 -14
- package/cjs/divider/divider.js +4 -4
- package/cjs/divider/token.js +4 -4
- package/cjs/divider/type.d.ts +4 -4
- package/cjs/dropdown/dropdown.js +29 -29
- package/cjs/dropdown/token.js +29 -29
- package/cjs/dropdown/type.d.ts +29 -29
- package/cjs/editable-area/editable-area.js +1 -1
- package/cjs/editable-area/token.js +1 -1
- package/cjs/editable-area/type.d.ts +1 -1
- package/cjs/empty/empty.js +1 -1
- package/cjs/empty/token.js +1 -1
- package/cjs/empty/type.d.ts +1 -1
- package/cjs/form/form.js +7 -7
- package/cjs/form/token.js +7 -7
- package/cjs/form/type.d.ts +7 -7
- package/cjs/icon/icon.js +3 -3
- package/cjs/icon/token.js +3 -3
- package/cjs/icon/type.d.ts +3 -3
- package/cjs/image/image.js +2 -2
- package/cjs/image/token.js +2 -2
- package/cjs/image/type.d.ts +2 -2
- package/cjs/index.d.ts +3 -3
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +9 -9
- package/cjs/input/input.js +18 -18
- package/cjs/input/token.js +18 -18
- package/cjs/input/type.d.ts +18 -18
- package/cjs/list/list.js +8 -8
- package/cjs/list/token.js +8 -8
- package/cjs/list/type.d.ts +8 -8
- package/cjs/menu/menu.js +1 -1
- package/cjs/menu/token.js +1 -1
- package/cjs/menu/type.d.ts +1 -1
- package/cjs/message/message.js +1 -1
- package/cjs/message/token.js +1 -1
- package/cjs/message/type.d.ts +1 -1
- package/cjs/modal/modal.js +14 -14
- package/cjs/modal/token.js +14 -14
- package/cjs/modal/type.d.ts +14 -14
- package/cjs/pagination/pagination.js +4 -4
- package/cjs/pagination/token.js +4 -4
- package/cjs/pagination/type.d.ts +4 -4
- package/cjs/popover/popover.js +5 -5
- package/cjs/popover/token.js +5 -5
- package/cjs/popover/type.d.ts +5 -5
- package/cjs/progress/progress.js +5 -5
- package/cjs/progress/token.js +5 -5
- package/cjs/progress/type.d.ts +5 -5
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +9 -10
- package/cjs/radio/token.js +9 -12
- package/cjs/radio/type.d.ts +9 -15
- package/cjs/radio/type.d.ts.map +1 -1
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +1 -1
- package/cjs/rate/type.d.ts +1 -1
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +38 -39
- package/cjs/select/token.js +39 -40
- package/cjs/select/type.d.ts +38 -44
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +5 -5
- package/cjs/slider/token.js +5 -5
- package/cjs/slider/type.d.ts +5 -5
- package/cjs/spin/spin.js +2 -2
- package/cjs/spin/token.js +2 -2
- package/cjs/spin/type.d.ts +2 -2
- package/cjs/steps/steps.d.ts.map +1 -1
- package/cjs/steps/steps.js +17 -20
- package/cjs/steps/token.js +21 -24
- package/cjs/steps/type.d.ts +17 -35
- package/cjs/steps/type.d.ts.map +1 -1
- package/cjs/sticky/sticky.js +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/switch.js +10 -10
- package/cjs/switch/token.js +10 -10
- package/cjs/switch/type.d.ts +10 -10
- package/cjs/table/table.js +8 -8
- package/cjs/table/token.js +8 -8
- package/cjs/table/type.d.ts +8 -8
- package/cjs/tabs/tabs.js +16 -16
- package/cjs/tabs/token.js +16 -16
- package/cjs/tabs/type.d.ts +16 -16
- package/cjs/tag/tag.js +14 -14
- package/cjs/tag/token.js +14 -14
- package/cjs/tag/type.d.ts +14 -14
- package/cjs/textarea/textarea.js +9 -9
- package/cjs/textarea/token.js +9 -9
- package/cjs/textarea/type.d.ts +9 -9
- package/cjs/token/figma.js +36 -96
- package/cjs/token/token.d.ts +2 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +19 -18
- package/cjs/token/type.d.ts +42 -112
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +3 -3
- package/cjs/tooltip/tooltip.js +3 -3
- package/cjs/tooltip/type.d.ts +3 -3
- package/cjs/transfer/token.js +4 -4
- package/cjs/transfer/transfer.js +4 -4
- package/cjs/transfer/type.d.ts +4 -4
- package/cjs/tree/token.js +7 -7
- package/cjs/tree/tree.js +7 -7
- package/cjs/tree/type.d.ts +7 -7
- package/cjs/tree-select/token.js +34 -35
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +33 -34
- package/cjs/tree-select/type.d.ts +33 -39
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/upload/token.js +7 -7
- package/cjs/upload/type.d.ts +7 -7
- package/cjs/upload/upload.js +7 -7
- package/cjs/utils/css-var.d.ts +1 -1
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +1 -10
- package/esm/alert/alert.js +5 -5
- package/esm/alert/token.js +5 -5
- package/esm/alert/type.d.ts +5 -5
- package/esm/breadcrumb/breadcrumb.js +6 -6
- package/esm/breadcrumb/token.js +6 -6
- package/esm/breadcrumb/type.d.ts +6 -6
- package/esm/button/button.js +5 -5
- package/esm/button/token.js +6 -6
- package/esm/card/card.js +5 -5
- package/esm/card/token.js +6 -6
- package/esm/card/type.d.ts +5 -5
- package/esm/card-group/card-group.js +1 -1
- package/esm/card-group/token.js +1 -1
- package/esm/card-group/type.d.ts +1 -1
- package/esm/carousel/carousel.js +5 -5
- package/esm/carousel/token.js +5 -5
- package/esm/carousel/type.d.ts +5 -5
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +33 -34
- package/esm/cascader/token.js +34 -35
- package/esm/cascader/type.d.ts +33 -39
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/checkbox.d.ts.map +1 -1
- package/esm/checkbox/checkbox.js +8 -7
- package/esm/checkbox/token.js +10 -7
- package/esm/checkbox/type.d.ts +13 -7
- package/esm/checkbox/type.d.ts.map +1 -1
- package/esm/collapse/collapse.js +7 -7
- package/esm/collapse/token.js +7 -7
- package/esm/collapse/type.d.ts +7 -7
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +36 -49
- package/esm/date-picker/token.js +36 -89
- package/esm/date-picker/type.d.ts +36 -114
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +14 -14
- package/esm/descriptions/token.js +14 -14
- package/esm/descriptions/type.d.ts +14 -14
- package/esm/divider/divider.js +4 -4
- package/esm/divider/token.js +4 -4
- package/esm/divider/type.d.ts +4 -4
- package/esm/dropdown/dropdown.js +29 -29
- package/esm/dropdown/token.js +29 -29
- package/esm/dropdown/type.d.ts +29 -29
- package/esm/editable-area/editable-area.js +1 -1
- package/esm/editable-area/token.js +1 -1
- package/esm/editable-area/type.d.ts +1 -1
- package/esm/empty/empty.js +1 -1
- package/esm/empty/token.js +1 -1
- package/esm/empty/type.d.ts +1 -1
- package/esm/form/form.js +7 -7
- package/esm/form/token.js +7 -7
- package/esm/form/type.d.ts +7 -7
- package/esm/icon/icon.js +3 -3
- package/esm/icon/token.js +3 -3
- package/esm/icon/type.d.ts +3 -3
- package/esm/image/image.js +2 -2
- package/esm/image/token.js +2 -2
- package/esm/image/type.d.ts +2 -2
- package/esm/index.d.ts +3 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +4 -4
- package/esm/input/input.js +18 -18
- package/esm/input/token.js +18 -18
- package/esm/input/type.d.ts +18 -18
- package/esm/list/list.js +8 -8
- package/esm/list/token.js +8 -8
- package/esm/list/type.d.ts +8 -8
- package/esm/menu/menu.js +1 -1
- package/esm/menu/token.js +1 -1
- package/esm/menu/type.d.ts +1 -1
- package/esm/message/message.js +1 -1
- package/esm/message/token.js +1 -1
- package/esm/message/type.d.ts +1 -1
- package/esm/modal/modal.js +14 -14
- package/esm/modal/token.js +14 -14
- package/esm/modal/type.d.ts +14 -14
- package/esm/pagination/pagination.js +4 -4
- package/esm/pagination/token.js +4 -4
- package/esm/pagination/type.d.ts +4 -4
- package/esm/popover/popover.js +5 -5
- package/esm/popover/token.js +5 -5
- package/esm/popover/type.d.ts +5 -5
- package/esm/progress/progress.js +5 -5
- package/esm/progress/token.js +5 -5
- package/esm/progress/type.d.ts +5 -5
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +9 -10
- package/esm/radio/token.js +9 -12
- package/esm/radio/type.d.ts +9 -15
- package/esm/radio/type.d.ts.map +1 -1
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +1 -1
- package/esm/rate/type.d.ts +1 -1
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +38 -39
- package/esm/select/token.js +39 -40
- package/esm/select/type.d.ts +38 -44
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +5 -5
- package/esm/slider/token.js +5 -5
- package/esm/slider/type.d.ts +5 -5
- package/esm/spin/spin.js +2 -2
- package/esm/spin/token.js +2 -2
- package/esm/spin/type.d.ts +2 -2
- package/esm/steps/steps.d.ts.map +1 -1
- package/esm/steps/steps.js +17 -20
- package/esm/steps/token.js +21 -24
- package/esm/steps/type.d.ts +17 -35
- package/esm/steps/type.d.ts.map +1 -1
- package/esm/sticky/sticky.js +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/switch.js +10 -10
- package/esm/switch/token.js +10 -10
- package/esm/switch/type.d.ts +10 -10
- package/esm/table/table.js +8 -8
- package/esm/table/token.js +8 -8
- package/esm/table/type.d.ts +8 -8
- package/esm/tabs/tabs.js +16 -16
- package/esm/tabs/token.js +16 -16
- package/esm/tabs/type.d.ts +16 -16
- package/esm/tag/tag.js +14 -14
- package/esm/tag/token.js +14 -14
- package/esm/tag/type.d.ts +14 -14
- package/esm/textarea/textarea.js +9 -9
- package/esm/textarea/token.js +9 -9
- package/esm/textarea/type.d.ts +9 -9
- package/esm/token/figma.js +36 -96
- package/esm/token/token.d.ts +2 -0
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +19 -17
- package/esm/token/type.d.ts +42 -112
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +3 -3
- package/esm/tooltip/tooltip.js +3 -3
- package/esm/tooltip/type.d.ts +3 -3
- package/esm/transfer/token.js +4 -4
- package/esm/transfer/transfer.js +4 -4
- package/esm/transfer/type.d.ts +4 -4
- package/esm/tree/token.js +7 -7
- package/esm/tree/tree.js +7 -7
- package/esm/tree/type.d.ts +7 -7
- package/esm/tree-select/token.js +34 -35
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +33 -34
- package/esm/tree-select/type.d.ts +33 -39
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/upload/token.js +7 -7
- package/esm/upload/type.d.ts +7 -7
- package/esm/upload/upload.js +7 -7
- package/esm/utils/css-var.d.ts +1 -1
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +1 -10
- package/package.json +8 -3
package/cjs/image/image.js
CHANGED
|
@@ -18,8 +18,8 @@ var imageTokens = {
|
|
|
18
18
|
imagePlaceholderBackgroundColor: 'Neutral-fill-2',
|
|
19
19
|
imageErrorBackgroundColor: 'Neutral-fill-2',
|
|
20
20
|
imageErrorFontColor: 'Neutral-text-4',
|
|
21
|
-
imageErrorFontSize: '12
|
|
22
|
-
imageGroupNearlyMargin: '
|
|
21
|
+
imageErrorFontSize: 'Font-12',
|
|
22
|
+
imageGroupNearlyMargin: 'Spacing-8',
|
|
23
23
|
imageMaskBackgroundColor: 'Mask-fill-1',
|
|
24
24
|
imageBackgroundColor: 'Neutral-fill-2'
|
|
25
25
|
};
|
package/cjs/image/token.js
CHANGED
package/cjs/image/type.d.ts
CHANGED
|
@@ -61,13 +61,13 @@ export interface ImageTokens {
|
|
|
61
61
|
imageErrorFontColor: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token 12
|
|
64
|
+
* @token Font-12
|
|
65
65
|
* @description 图片加载错误时的字体字号
|
|
66
66
|
*/
|
|
67
67
|
imageErrorFontSize: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
|
-
* @token
|
|
70
|
+
* @token Spacing-8
|
|
71
71
|
* @description 图片组相邻之间的外边距
|
|
72
72
|
*/
|
|
73
73
|
imageGroupNearlyMargin: string;
|
package/cjs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tokens as TokenType } from './token/type';
|
|
2
|
-
import
|
|
2
|
+
import { CommonToken } from './token/token';
|
|
3
3
|
import setToken from './utils/token-setter';
|
|
4
4
|
import { setConfig } from './config';
|
|
5
5
|
import { AlertTokens } from './alert/type';
|
|
@@ -48,9 +48,9 @@ import { TreeSelectTokens } from './tree-select/type';
|
|
|
48
48
|
import { UploadTokens } from './upload/type';
|
|
49
49
|
export type ThemeTokens = AlertTokens & BreadcrumbTokens & ButtonTokens & CardTokens & CardGroupTokens & CarouselTokens & CascaderTokens & CheckboxTokens & CollapseTokens & CommonTokens & DatePickerTokens & DescriptionsTokens & DividerTokens & DropdownTokens & EditableAreaTokens & EmptyTokens & FormTokens & IconTokens & ImageTokens & InputTokens & ListTokens & MenuTokens & MessageTokens & ModalTokens & PaginationTokens & PopoverTokens & ProgressTokens & RadioTokens & RateTokens & SelectTokens & SliderTokens & SpinTokens & StepsTokens & StickyTokens & SwitchTokens & TableTokens & TabsTokens & TagTokens & TextareaTokens & TooltipTokens & TransferTokens & TreeTokens & TreeSelectTokens & UploadTokens;
|
|
50
50
|
declare const Tokens: ThemeTokens;
|
|
51
|
-
declare const
|
|
51
|
+
declare const ComponentTokenMap: ThemeTokens;
|
|
52
52
|
export type { TokenType };
|
|
53
53
|
export * from './hooks';
|
|
54
|
-
export {
|
|
54
|
+
export { CommonToken, ComponentTokenMap, setToken, setConfig };
|
|
55
55
|
export default Tokens;
|
|
56
56
|
//# sourceMappingURL=index.d.ts.map
|
package/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,cAAc,CAAC;AACnD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"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"}
|
package/cjs/index.js
CHANGED
|
@@ -4,18 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
ComponentTokenMap: true,
|
|
8
|
+
CommonToken: true,
|
|
9
9
|
setToken: true,
|
|
10
10
|
setConfig: true
|
|
11
11
|
};
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "CommonToken", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function get() {
|
|
15
|
-
return _token.
|
|
15
|
+
return _token.CommonToken;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
exports.
|
|
18
|
+
exports.default = exports.ComponentTokenMap = void 0;
|
|
19
19
|
Object.defineProperty(exports, "setConfig", {
|
|
20
20
|
enumerable: true,
|
|
21
21
|
get: function get() {
|
|
@@ -28,7 +28,7 @@ Object.defineProperty(exports, "setToken", {
|
|
|
28
28
|
return _tokenSetter.default;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
|
-
var _token =
|
|
31
|
+
var _token = _interopRequireWildcard(require("./token/token"));
|
|
32
32
|
var _tokenSetter = _interopRequireDefault(require("./utils/token-setter"));
|
|
33
33
|
var _config = require("./config");
|
|
34
34
|
var _alert = _interopRequireWildcard(require("./alert"));
|
|
@@ -87,15 +87,15 @@ Object.keys(_hooks).forEach(function (key) {
|
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
});
|
|
90
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
90
91
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
91
92
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
92
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
93
93
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
94
94
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
95
95
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
96
96
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
97
97
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
98
98
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
99
|
-
var Tokens = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _alert.default), _breadcrumb.default), _button.default), _card.default), _cardGroup.default), _carousel.default), _cascader.default), _checkbox.default), _collapse.default), _common.default), _datePicker.default), _descriptions.default), _divider.default), _dropdown.default), _editableArea.default), _empty.default), _form.default), _icon.default), _image.default), _input.default), _list.default), _menu.default), _message.default), _modal.default), _pagination.default), _popover.default), _progress.default), _radio.default), _rate.default), _select.default), _slider.default), _spin.default), _steps.default), _sticky.default), _switch.default), _table.default), _tabs.default), _tag.default), _textarea.default), _tooltip.default), _transfer.default), _tree.default), _treeSelect.default), _upload.default);
|
|
100
|
-
var
|
|
99
|
+
var Tokens = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _token.default), _alert.default), _breadcrumb.default), _button.default), _card.default), _cardGroup.default), _carousel.default), _cascader.default), _checkbox.default), _collapse.default), _common.default), _datePicker.default), _descriptions.default), _divider.default), _dropdown.default), _editableArea.default), _empty.default), _form.default), _icon.default), _image.default), _input.default), _list.default), _menu.default), _message.default), _modal.default), _pagination.default), _popover.default), _progress.default), _radio.default), _rate.default), _select.default), _slider.default), _spin.default), _steps.default), _sticky.default), _switch.default), _table.default), _tabs.default), _tag.default), _textarea.default), _tooltip.default), _transfer.default), _tree.default), _treeSelect.default), _upload.default);
|
|
100
|
+
var ComponentTokenMap = exports.ComponentTokenMap = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, _alert.Alert), _breadcrumb.Breadcrumb), _button.Button), _card.Card), _cardGroup.CardGroup), _carousel.Carousel), _cascader.Cascader), _checkbox.Checkbox), _collapse.Collapse), _common.Common), _datePicker.DatePicker), _descriptions.Descriptions), _divider.Divider), _dropdown.Dropdown), _editableArea.EditableArea), _empty.Empty), _form.Form), _icon.Icon), _image.Image), _input.Input), _list.List), _menu.Menu), _message.Message), _modal.Modal), _pagination.Pagination), _popover.Popover), _progress.Progress), _radio.Radio), _rate.Rate), _select.Select), _slider.Slider), _spin.Spin), _steps.Steps), _sticky.Sticky), _switch.Switch), _table.Table), _tabs.Tabs), _tag.Tag), _textarea.Textarea), _tooltip.Tooltip), _transfer.Transfer), _tree.Tree), _treeSelect.TreeSelect), _upload.Upload);
|
|
101
101
|
var _default = exports.default = Tokens;
|
package/cjs/input/input.js
CHANGED
|
@@ -8,17 +8,17 @@ 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 inputTokens = {
|
|
11
|
-
inputFontSize: '14
|
|
11
|
+
inputFontSize: 'Font-14',
|
|
12
12
|
inputBorderRadius: 'Radius-4',
|
|
13
|
-
inputPaddingX: '
|
|
14
|
-
inputPaddingY: '
|
|
13
|
+
inputPaddingX: 'Spacing-8',
|
|
14
|
+
inputPaddingY: 'Spacing-4',
|
|
15
15
|
inputIconSize: 'Size-7',
|
|
16
|
-
inputSmallFontSize: '12
|
|
17
|
-
inputSmallPaddingX: '
|
|
18
|
-
inputSmallPaddingY: '
|
|
19
|
-
inputLargeFontSize: '16
|
|
20
|
-
inputLargePaddingX: '
|
|
21
|
-
inputLargePaddingY: '
|
|
16
|
+
inputSmallFontSize: 'Font-12',
|
|
17
|
+
inputSmallPaddingX: 'Spacing-8',
|
|
18
|
+
inputSmallPaddingY: 'Spacing-1',
|
|
19
|
+
inputLargeFontSize: 'Font-16',
|
|
20
|
+
inputLargePaddingX: 'Spacing-12',
|
|
21
|
+
inputLargePaddingY: 'Spacing-7',
|
|
22
22
|
inputFontColor: 'Neutral-text-5',
|
|
23
23
|
inputPlaceholderColor: 'Neutral-text-2',
|
|
24
24
|
inputBorderColor: 'Neutral-border-2',
|
|
@@ -43,15 +43,15 @@ var inputTokens = {
|
|
|
43
43
|
inputInfoErrorFontColor: 'Danger-6',
|
|
44
44
|
inputInfoErrorBackgroundColor: 'Danger-1',
|
|
45
45
|
inputInfoErrorBorderColor: 'Danger-6',
|
|
46
|
-
inputInnerPaddingX: '
|
|
47
|
-
inputInnerPaddingY: '
|
|
48
|
-
inputInnerFontSize: '12
|
|
49
|
-
inputInnerSmallPaddingX: '
|
|
50
|
-
inputInnerSmallPaddingY: '
|
|
51
|
-
inputInnerSmallFontSize: '12
|
|
52
|
-
inputInnerLargePaddingX: '
|
|
53
|
-
inputInnerLargePaddingY: '
|
|
54
|
-
inputInnerLargeFontSize: '14
|
|
46
|
+
inputInnerPaddingX: 'Spacing-8',
|
|
47
|
+
inputInnerPaddingY: 'Spacing-1',
|
|
48
|
+
inputInnerFontSize: 'Font-12',
|
|
49
|
+
inputInnerSmallPaddingX: 'Spacing-8',
|
|
50
|
+
inputInnerSmallPaddingY: 'Spacing-1',
|
|
51
|
+
inputInnerSmallFontSize: 'Font-12',
|
|
52
|
+
inputInnerLargePaddingX: 'Spacing-12',
|
|
53
|
+
inputInnerLargePaddingY: 'Spacing-3',
|
|
54
|
+
inputInnerLargeFontSize: 'Font-14',
|
|
55
55
|
inputInnerFontColor: 'Neutral-text-4'
|
|
56
56
|
};
|
|
57
57
|
var _default = exports.default = inputTokens;
|
package/cjs/input/token.js
CHANGED
|
@@ -27,7 +27,7 @@ var inputTokenDescription = {
|
|
|
27
27
|
*/
|
|
28
28
|
var inputTokenValue = {
|
|
29
29
|
font: {
|
|
30
|
-
size: '14
|
|
30
|
+
size: 'Font-14',
|
|
31
31
|
color: 'Neutral-text-5'
|
|
32
32
|
},
|
|
33
33
|
border: {
|
|
@@ -35,8 +35,8 @@ var inputTokenValue = {
|
|
|
35
35
|
color: 'Neutral-border-2'
|
|
36
36
|
},
|
|
37
37
|
padding: {
|
|
38
|
-
x: '
|
|
39
|
-
y: '
|
|
38
|
+
x: 'Spacing-8',
|
|
39
|
+
y: 'Spacing-4'
|
|
40
40
|
},
|
|
41
41
|
icon: {
|
|
42
42
|
size: 'Size-7',
|
|
@@ -44,14 +44,14 @@ var inputTokenValue = {
|
|
|
44
44
|
},
|
|
45
45
|
small: {
|
|
46
46
|
font: {
|
|
47
|
-
size: '12
|
|
47
|
+
size: 'Font-12'
|
|
48
48
|
},
|
|
49
49
|
border: {
|
|
50
50
|
radius: ''
|
|
51
51
|
},
|
|
52
52
|
padding: {
|
|
53
|
-
x: '
|
|
54
|
-
y: '
|
|
53
|
+
x: 'Spacing-8',
|
|
54
|
+
y: 'Spacing-1'
|
|
55
55
|
},
|
|
56
56
|
icon: {
|
|
57
57
|
size: ''
|
|
@@ -59,14 +59,14 @@ var inputTokenValue = {
|
|
|
59
59
|
},
|
|
60
60
|
large: {
|
|
61
61
|
font: {
|
|
62
|
-
size: '16
|
|
62
|
+
size: 'Font-16'
|
|
63
63
|
},
|
|
64
64
|
border: {
|
|
65
65
|
radius: ''
|
|
66
66
|
},
|
|
67
67
|
padding: {
|
|
68
|
-
x: '
|
|
69
|
-
y: '
|
|
68
|
+
x: 'Spacing-12',
|
|
69
|
+
y: 'Spacing-7'
|
|
70
70
|
},
|
|
71
71
|
icon: {
|
|
72
72
|
size: ''
|
|
@@ -301,29 +301,29 @@ var inputTokenValue = {
|
|
|
301
301
|
},
|
|
302
302
|
inner: {
|
|
303
303
|
padding: {
|
|
304
|
-
x: '
|
|
305
|
-
y: '
|
|
304
|
+
x: 'Spacing-8',
|
|
305
|
+
y: 'Spacing-1'
|
|
306
306
|
},
|
|
307
307
|
font: {
|
|
308
|
-
size: '12
|
|
308
|
+
size: 'Font-12',
|
|
309
309
|
color: 'Neutral-text-4'
|
|
310
310
|
},
|
|
311
311
|
small: {
|
|
312
312
|
padding: {
|
|
313
|
-
x: '
|
|
314
|
-
y: '
|
|
313
|
+
x: 'Spacing-8',
|
|
314
|
+
y: 'Spacing-1'
|
|
315
315
|
},
|
|
316
316
|
font: {
|
|
317
|
-
size: '12
|
|
317
|
+
size: 'Font-12'
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
320
|
large: {
|
|
321
321
|
padding: {
|
|
322
|
-
x: '
|
|
323
|
-
y: '
|
|
322
|
+
x: 'Spacing-12',
|
|
323
|
+
y: 'Spacing-3'
|
|
324
324
|
},
|
|
325
325
|
font: {
|
|
326
|
-
size: '14
|
|
326
|
+
size: 'Font-14'
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
package/cjs/input/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface InputTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 输入框字体字号
|
|
6
6
|
*/
|
|
7
7
|
inputFontSize: string;
|
|
@@ -13,13 +13,13 @@ export interface InputTokens {
|
|
|
13
13
|
inputBorderRadius: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token
|
|
16
|
+
* @token Spacing-8
|
|
17
17
|
* @description 输入框内边距(水平方向)
|
|
18
18
|
*/
|
|
19
19
|
inputPaddingX: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @token
|
|
22
|
+
* @token Spacing-4
|
|
23
23
|
* @description 输入框内边距(垂直方向)
|
|
24
24
|
*/
|
|
25
25
|
inputPaddingY: string;
|
|
@@ -31,37 +31,37 @@ export interface InputTokens {
|
|
|
31
31
|
inputIconSize: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token 12
|
|
34
|
+
* @token Font-12
|
|
35
35
|
* @description 输入框小尺寸字体字号
|
|
36
36
|
*/
|
|
37
37
|
inputSmallFontSize: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-8
|
|
41
41
|
* @description 输入框小尺寸内边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
inputSmallPaddingX: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-1
|
|
47
47
|
* @description 输入框小尺寸内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
inputSmallPaddingY: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token 16
|
|
52
|
+
* @token Font-16
|
|
53
53
|
* @description 输入框大尺寸字体字号
|
|
54
54
|
*/
|
|
55
55
|
inputLargeFontSize: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-12
|
|
59
59
|
* @description 输入框大尺寸内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
inputLargePaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-7
|
|
65
65
|
* @description 输入框大尺寸内边距(垂直方向)
|
|
66
66
|
*/
|
|
67
67
|
inputLargePaddingY: string;
|
|
@@ -211,55 +211,55 @@ export interface InputTokens {
|
|
|
211
211
|
inputInfoErrorBorderColor: string;
|
|
212
212
|
/**
|
|
213
213
|
* @type {string}
|
|
214
|
-
* @token
|
|
214
|
+
* @token Spacing-8
|
|
215
215
|
* @description 输入框内嵌内边距(水平方向)
|
|
216
216
|
*/
|
|
217
217
|
inputInnerPaddingX: string;
|
|
218
218
|
/**
|
|
219
219
|
* @type {string}
|
|
220
|
-
* @token
|
|
220
|
+
* @token Spacing-1
|
|
221
221
|
* @description 输入框内嵌内边距(垂直方向)
|
|
222
222
|
*/
|
|
223
223
|
inputInnerPaddingY: string;
|
|
224
224
|
/**
|
|
225
225
|
* @type {string}
|
|
226
|
-
* @token 12
|
|
226
|
+
* @token Font-12
|
|
227
227
|
* @description 输入框内嵌字体字号
|
|
228
228
|
*/
|
|
229
229
|
inputInnerFontSize: string;
|
|
230
230
|
/**
|
|
231
231
|
* @type {string}
|
|
232
|
-
* @token
|
|
232
|
+
* @token Spacing-8
|
|
233
233
|
* @description 输入框内嵌小尺寸内边距(水平方向)
|
|
234
234
|
*/
|
|
235
235
|
inputInnerSmallPaddingX: string;
|
|
236
236
|
/**
|
|
237
237
|
* @type {string}
|
|
238
|
-
* @token
|
|
238
|
+
* @token Spacing-1
|
|
239
239
|
* @description 输入框内嵌小尺寸内边距(垂直方向)
|
|
240
240
|
*/
|
|
241
241
|
inputInnerSmallPaddingY: string;
|
|
242
242
|
/**
|
|
243
243
|
* @type {string}
|
|
244
|
-
* @token 12
|
|
244
|
+
* @token Font-12
|
|
245
245
|
* @description 输入框内嵌小尺寸字体字号
|
|
246
246
|
*/
|
|
247
247
|
inputInnerSmallFontSize: string;
|
|
248
248
|
/**
|
|
249
249
|
* @type {string}
|
|
250
|
-
* @token
|
|
250
|
+
* @token Spacing-12
|
|
251
251
|
* @description 输入框内嵌大尺寸内边距(水平方向)
|
|
252
252
|
*/
|
|
253
253
|
inputInnerLargePaddingX: string;
|
|
254
254
|
/**
|
|
255
255
|
* @type {string}
|
|
256
|
-
* @token
|
|
256
|
+
* @token Spacing-3
|
|
257
257
|
* @description 输入框内嵌大尺寸内边距(垂直方向)
|
|
258
258
|
*/
|
|
259
259
|
inputInnerLargePaddingY: string;
|
|
260
260
|
/**
|
|
261
261
|
* @type {string}
|
|
262
|
-
* @token 14
|
|
262
|
+
* @token Font-14
|
|
263
263
|
* @description 输入框内嵌大尺寸字体字号
|
|
264
264
|
*/
|
|
265
265
|
inputInnerLargeFontSize: string;
|
package/cjs/list/list.js
CHANGED
|
@@ -8,17 +8,17 @@ 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 listTokens = {
|
|
11
|
-
listFontSize: '14
|
|
11
|
+
listFontSize: 'Font-14',
|
|
12
12
|
listFontColor: 'Neutral-text-5',
|
|
13
13
|
listBorderColor: 'Neutral-border-1',
|
|
14
14
|
listBorderRadius: 'Radius-2',
|
|
15
|
-
listItemPaddingY: '
|
|
16
|
-
listItemPaddingX: '
|
|
17
|
-
listSmallItemPaddingY: '
|
|
18
|
-
listSmallItemPaddingX: '
|
|
19
|
-
listLargeItemPaddingY: '
|
|
20
|
-
listLargeItemPaddingX: '
|
|
21
|
-
listPaginationMarginY: '
|
|
15
|
+
listItemPaddingY: 'Spacing-12',
|
|
16
|
+
listItemPaddingX: 'Spacing-16',
|
|
17
|
+
listSmallItemPaddingY: 'Spacing-8',
|
|
18
|
+
listSmallItemPaddingX: 'Spacing-12',
|
|
19
|
+
listLargeItemPaddingY: 'Spacing-16',
|
|
20
|
+
listLargeItemPaddingX: 'Spacing-20',
|
|
21
|
+
listPaginationMarginY: 'Spacing-12',
|
|
22
22
|
listStripedBackgroundColor: 'Neutral-fill-2'
|
|
23
23
|
};
|
|
24
24
|
var _default = exports.default = listTokens;
|
package/cjs/list/token.js
CHANGED
|
@@ -25,7 +25,7 @@ var listTokenDescription = {
|
|
|
25
25
|
var listTokenValue = {};
|
|
26
26
|
var listTokenExtraValue = {
|
|
27
27
|
font: {
|
|
28
|
-
size: '14
|
|
28
|
+
size: 'Font-14',
|
|
29
29
|
color: 'Neutral-text-5'
|
|
30
30
|
},
|
|
31
31
|
border: {
|
|
@@ -34,29 +34,29 @@ var listTokenExtraValue = {
|
|
|
34
34
|
},
|
|
35
35
|
item: {
|
|
36
36
|
padding: {
|
|
37
|
-
y: '
|
|
38
|
-
x: '
|
|
37
|
+
y: 'Spacing-12',
|
|
38
|
+
x: 'Spacing-16'
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
small: {
|
|
42
42
|
item: {
|
|
43
43
|
padding: {
|
|
44
|
-
y: '
|
|
45
|
-
x: '
|
|
44
|
+
y: 'Spacing-8',
|
|
45
|
+
x: 'Spacing-12'
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
large: {
|
|
50
50
|
item: {
|
|
51
51
|
padding: {
|
|
52
|
-
y: '
|
|
53
|
-
x: '
|
|
52
|
+
y: 'Spacing-16',
|
|
53
|
+
x: 'Spacing-20'
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
pagination: {
|
|
58
58
|
margin: {
|
|
59
|
-
y: '
|
|
59
|
+
y: 'Spacing-12'
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
striped: {
|
package/cjs/list/type.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface ListTokens {
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
|
-
* @token 14
|
|
4
|
+
* @token Font-14
|
|
5
5
|
* @description 列表字体字号
|
|
6
6
|
*/
|
|
7
7
|
listFontSize: string;
|
|
@@ -25,43 +25,43 @@ export interface ListTokens {
|
|
|
25
25
|
listBorderRadius: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @token
|
|
28
|
+
* @token Spacing-12
|
|
29
29
|
* @description 列表选项内边距(垂直方向)
|
|
30
30
|
*/
|
|
31
31
|
listItemPaddingY: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token
|
|
34
|
+
* @token Spacing-16
|
|
35
35
|
* @description 列表选项内边距(水平方向)
|
|
36
36
|
*/
|
|
37
37
|
listItemPaddingX: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @token
|
|
40
|
+
* @token Spacing-8
|
|
41
41
|
* @description 列表小尺寸选项内边距(垂直方向)
|
|
42
42
|
*/
|
|
43
43
|
listSmallItemPaddingY: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @token
|
|
46
|
+
* @token Spacing-12
|
|
47
47
|
* @description 列表小尺寸选项内边距(水平方向)
|
|
48
48
|
*/
|
|
49
49
|
listSmallItemPaddingX: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
|
-
* @token
|
|
52
|
+
* @token Spacing-16
|
|
53
53
|
* @description 列表大尺寸选项内边距(垂直方向)
|
|
54
54
|
*/
|
|
55
55
|
listLargeItemPaddingY: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
|
-
* @token
|
|
58
|
+
* @token Spacing-20
|
|
59
59
|
* @description 列表大尺寸选项内边距(水平方向)
|
|
60
60
|
*/
|
|
61
61
|
listLargeItemPaddingX: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
|
-
* @token
|
|
64
|
+
* @token Spacing-12
|
|
65
65
|
* @description 列表分页器外边距(垂直方向)
|
|
66
66
|
*/
|
|
67
67
|
listPaginationMarginY: string;
|
package/cjs/menu/menu.js
CHANGED
|
@@ -8,7 +8,7 @@ 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 menuTokens = {
|
|
11
|
-
menuFontSize: '14
|
|
11
|
+
menuFontSize: 'Font-14',
|
|
12
12
|
menuFontColor: 'Neutral-text-5',
|
|
13
13
|
menuIconColor: 'Neutral-text-4',
|
|
14
14
|
menuItemBackgroundColor: 'Neutral-fill-1',
|
package/cjs/menu/token.js
CHANGED
package/cjs/menu/type.d.ts
CHANGED
package/cjs/message/message.js
CHANGED
|
@@ -12,6 +12,6 @@ var messageTokens = {
|
|
|
12
12
|
messageBorderColor: 'Neutral-border-1',
|
|
13
13
|
messageBackgroundColor: 'Neutral-fill-1',
|
|
14
14
|
messageFontColor: 'Neutral-text-5',
|
|
15
|
-
messageMarginBottom: '
|
|
15
|
+
messageMarginBottom: 'Spacing-24'
|
|
16
16
|
};
|
|
17
17
|
var _default = exports.default = messageTokens;
|
package/cjs/message/token.js
CHANGED