@sheinx/theme 3.0.0-alpha.3 → 3.0.0-alpha.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/alert/alert.d.ts.map +1 -1
- package/cjs/alert/alert.js +4 -2
- package/cjs/alert/rule.js +1 -1
- package/cjs/alert/token.js +16 -2
- package/cjs/alert/type.d.ts +15 -3
- package/cjs/alert/type.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/cjs/breadcrumb/breadcrumb.js +2 -1
- package/cjs/breadcrumb/token.js +11 -1
- package/cjs/breadcrumb/type.d.ts +21 -15
- package/cjs/breadcrumb/type.d.ts.map +1 -1
- package/cjs/button/button.d.ts.map +1 -1
- package/cjs/button/button.js +40 -25
- package/cjs/button/rule.js +1 -1
- package/cjs/button/token.js +248 -26
- package/cjs/button/type.d.ts +116 -26
- package/cjs/button/type.d.ts.map +1 -1
- package/cjs/card/card.d.ts.map +1 -1
- package/cjs/card/card.js +3 -2
- package/cjs/card/token.js +9 -3
- package/cjs/card/type.d.ts +19 -13
- package/cjs/card/type.d.ts.map +1 -1
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +6 -0
- package/cjs/cascader/token.js +27 -4
- package/cjs/cascader/type.d.ts +48 -12
- package/cjs/cascader/type.d.ts.map +1 -1
- package/cjs/checkbox/token.js +5 -1
- package/cjs/checkbox/type.d.ts +13 -13
- package/cjs/collapse/token.js +9 -1
- package/cjs/collapse/type.d.ts +25 -25
- package/cjs/common/common.d.ts.map +1 -1
- package/cjs/common/common.js +2 -1
- package/cjs/common/type.d.ts +7 -0
- package/cjs/common/type.d.ts.map +1 -1
- package/cjs/config.d.ts +19 -4
- package/cjs/config.d.ts.map +1 -1
- package/cjs/config.js +50 -10
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +1 -0
- package/cjs/date-picker/token.js +1 -0
- package/cjs/date-picker/type.d.ts +6 -0
- package/cjs/date-picker/type.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.d.ts.map +1 -1
- package/cjs/descriptions/descriptions.js +7 -9
- package/cjs/descriptions/rule.js +3 -3
- package/cjs/descriptions/token.js +33 -24
- package/cjs/descriptions/type.d.ts +43 -55
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +13 -4
- package/cjs/dropdown/rule.js +2 -2
- package/cjs/dropdown/token.js +31 -5
- package/cjs/dropdown/type.d.ts +100 -46
- package/cjs/dropdown/type.d.ts.map +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 +1 -1
- package/cjs/form/token.js +9 -3
- package/cjs/form/type.d.ts +12 -12
- package/cjs/hooks/index.d.ts +2 -0
- package/cjs/hooks/index.d.ts.map +1 -0
- package/cjs/hooks/index.js +17 -0
- package/cjs/hooks/useToken/index.d.ts +3 -0
- package/cjs/hooks/useToken/index.d.ts.map +1 -0
- package/cjs/hooks/useToken/index.js +19 -0
- package/cjs/hooks/useToken/use-token.d.ts +6 -0
- package/cjs/hooks/useToken/use-token.d.ts.map +1 -0
- package/cjs/hooks/useToken/use-token.js +37 -0
- package/cjs/hooks/useToken/use-token.type.d.ts +39 -0
- package/cjs/hooks/useToken/use-token.type.d.ts.map +1 -0
- package/cjs/hooks/useToken/use-token.type.js +5 -0
- package/cjs/icon/icon.d.ts +2 -2
- package/cjs/icon/icon.d.ts.map +1 -1
- package/cjs/icon/icon.js +2 -2
- package/cjs/icon/token.js +3 -1
- package/cjs/icon/type.d.ts +1 -1
- package/cjs/image/token.js +2 -1
- package/cjs/image/type.d.ts +1 -1
- package/cjs/index.d.ts +6 -3
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +33 -2
- package/cjs/input/token.js +5 -1
- package/cjs/input/type.d.ts +12 -12
- package/cjs/list/token.js +4 -1
- package/cjs/list/type.d.ts +12 -12
- package/cjs/menu/menu.d.ts.map +1 -1
- package/cjs/menu/menu.js +1 -0
- package/cjs/menu/token.js +13 -1
- package/cjs/menu/type.d.ts +34 -28
- package/cjs/menu/type.d.ts.map +1 -1
- package/cjs/message/token.js +3 -1
- package/cjs/message/type.d.ts +5 -5
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +6 -3
- package/cjs/modal/token.js +28 -5
- package/cjs/modal/type.d.ts +46 -28
- package/cjs/modal/type.d.ts.map +1 -1
- package/cjs/popover/popover.js +1 -1
- package/cjs/popover/token.js +3 -2
- package/cjs/popover/type.d.ts +2 -2
- package/cjs/progress/progress.d.ts.map +1 -1
- package/cjs/progress/progress.js +3 -1
- package/cjs/progress/token.js +11 -2
- package/cjs/progress/type.d.ts +28 -16
- package/cjs/progress/type.d.ts.map +1 -1
- package/cjs/provider/index.d.ts +2 -0
- package/cjs/provider/index.d.ts.map +1 -0
- package/cjs/provider/index.js +1 -0
- package/cjs/provider/theme-provider.d.ts +3 -0
- package/cjs/provider/theme-provider.d.ts.map +1 -0
- package/cjs/provider/theme-provider.js +10 -0
- package/cjs/radio/radio.d.ts.map +1 -1
- package/cjs/radio/radio.js +1 -0
- package/cjs/radio/token.js +10 -2
- package/cjs/radio/type.d.ts +19 -13
- package/cjs/radio/type.d.ts.map +1 -1
- package/cjs/rate/rate.js +1 -1
- package/cjs/rate/token.js +4 -2
- package/cjs/rate/type.d.ts +7 -7
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +11 -2
- package/cjs/select/token.js +24 -3
- package/cjs/select/type.d.ts +63 -9
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/slider.js +3 -3
- package/cjs/slider/token.js +10 -4
- package/cjs/slider/type.d.ts +27 -27
- package/cjs/slider/type.d.ts.map +1 -1
- package/cjs/spin/token.js +2 -1
- package/cjs/spin/type.d.ts +1 -1
- package/cjs/steps/token.js +2 -1
- package/cjs/steps/type.d.ts +1 -1
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/switch.js +8 -8
- package/cjs/switch/token.js +14 -9
- package/cjs/switch/type.d.ts +40 -40
- package/cjs/table/token.js +13 -1
- package/cjs/table/type.d.ts +28 -28
- package/cjs/tabs/tabs.d.ts.map +1 -1
- package/cjs/tabs/tabs.js +4 -3
- package/cjs/tabs/token.js +14 -4
- package/cjs/tabs/type.d.ts +15 -9
- package/cjs/tabs/type.d.ts.map +1 -1
- package/cjs/tag/tag.js +1 -1
- package/cjs/tag/token.js +5 -3
- package/cjs/tag/type.d.ts +169 -169
- package/cjs/textarea/token.js +6 -1
- package/cjs/textarea/type.d.ts +29 -29
- package/cjs/token/figma.js +1032 -258
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +97 -3
- package/cjs/token/type.d.ts +674 -16
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/token.js +4 -2
- package/cjs/tooltip/tooltip.js +1 -1
- package/cjs/tooltip/type.d.ts +5 -5
- package/cjs/transfer/rule.js +1 -1
- package/cjs/transfer/token.js +14 -1
- package/cjs/transfer/transfer.d.ts.map +1 -1
- package/cjs/transfer/transfer.js +1 -0
- package/cjs/transfer/type.d.ts +7 -1
- package/cjs/transfer/type.d.ts.map +1 -1
- package/cjs/tree/token.js +5 -1
- package/cjs/tree/type.d.ts +13 -13
- package/cjs/tree-select/token.js +5 -2
- package/cjs/tree-select/tree-select.d.ts.map +1 -1
- package/cjs/tree-select/tree-select.js +1 -0
- package/cjs/tree-select/type.d.ts +9 -3
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/upload/token.js +3 -3
- package/cjs/upload/type.d.ts +3 -3
- package/cjs/upload/upload.js +3 -3
- package/cjs/utils/css-var.d.ts +1 -0
- package/cjs/utils/css-var.d.ts.map +1 -1
- package/cjs/utils/css-var.js +5 -2
- package/cjs/utils/notification.d.ts +16 -0
- package/cjs/utils/notification.d.ts.map +1 -0
- package/cjs/utils/notification.js +52 -0
- package/cjs/utils/token-setter.d.ts +57 -0
- package/cjs/utils/token-setter.d.ts.map +1 -0
- package/cjs/utils/token-setter.js +74 -0
- package/esm/alert/alert.d.ts.map +1 -1
- package/esm/alert/alert.js +4 -2
- package/esm/alert/rule.js +1 -1
- package/esm/alert/token.js +16 -2
- package/esm/alert/type.d.ts +15 -3
- package/esm/alert/type.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/esm/breadcrumb/breadcrumb.js +2 -1
- package/esm/breadcrumb/token.js +11 -1
- package/esm/breadcrumb/type.d.ts +21 -15
- package/esm/breadcrumb/type.d.ts.map +1 -1
- package/esm/button/button.d.ts.map +1 -1
- package/esm/button/button.js +40 -25
- package/esm/button/rule.js +1 -1
- package/esm/button/token.js +248 -26
- package/esm/button/type.d.ts +116 -26
- package/esm/button/type.d.ts.map +1 -1
- package/esm/card/card.d.ts.map +1 -1
- package/esm/card/card.js +3 -2
- package/esm/card/token.js +9 -3
- package/esm/card/type.d.ts +19 -13
- package/esm/card/type.d.ts.map +1 -1
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +6 -0
- package/esm/cascader/token.js +27 -4
- package/esm/cascader/type.d.ts +48 -12
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/checkbox/token.js +5 -1
- package/esm/checkbox/type.d.ts +13 -13
- package/esm/collapse/token.js +9 -1
- package/esm/collapse/type.d.ts +25 -25
- package/esm/common/common.d.ts.map +1 -1
- package/esm/common/common.js +2 -1
- package/esm/common/type.d.ts +7 -0
- package/esm/common/type.d.ts.map +1 -1
- package/esm/config.d.ts +19 -4
- package/esm/config.d.ts.map +1 -1
- package/esm/config.js +50 -10
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +1 -0
- package/esm/date-picker/token.js +1 -0
- package/esm/date-picker/type.d.ts +6 -0
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +7 -9
- package/esm/descriptions/rule.js +3 -3
- package/esm/descriptions/token.js +33 -24
- package/esm/descriptions/type.d.ts +43 -55
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +13 -4
- package/esm/dropdown/rule.js +2 -2
- package/esm/dropdown/token.js +31 -5
- package/esm/dropdown/type.d.ts +100 -46
- package/esm/dropdown/type.d.ts.map +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 +1 -1
- package/esm/form/token.js +9 -3
- package/esm/form/type.d.ts +12 -12
- package/esm/hooks/index.d.ts +2 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +17 -0
- package/esm/hooks/useToken/index.d.ts +3 -0
- package/esm/hooks/useToken/index.d.ts.map +1 -0
- package/esm/hooks/useToken/index.js +19 -0
- package/esm/hooks/useToken/use-token.d.ts +6 -0
- package/esm/hooks/useToken/use-token.d.ts.map +1 -0
- package/esm/hooks/useToken/use-token.js +37 -0
- package/esm/hooks/useToken/use-token.type.d.ts +39 -0
- package/esm/hooks/useToken/use-token.type.d.ts.map +1 -0
- package/esm/hooks/useToken/use-token.type.js +5 -0
- package/esm/icon/icon.d.ts +2 -2
- package/esm/icon/icon.d.ts.map +1 -1
- package/esm/icon/icon.js +2 -2
- package/esm/icon/token.js +3 -1
- package/esm/icon/type.d.ts +1 -1
- package/esm/image/token.js +2 -1
- package/esm/image/type.d.ts +1 -1
- package/esm/index.d.ts +6 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +33 -2
- package/esm/input/token.js +5 -1
- package/esm/input/type.d.ts +12 -12
- package/esm/list/token.js +4 -1
- package/esm/list/type.d.ts +12 -12
- package/esm/menu/menu.d.ts.map +1 -1
- package/esm/menu/menu.js +1 -0
- package/esm/menu/token.js +13 -1
- package/esm/menu/type.d.ts +34 -28
- package/esm/menu/type.d.ts.map +1 -1
- package/esm/message/token.js +3 -1
- package/esm/message/type.d.ts +5 -5
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +6 -3
- package/esm/modal/token.js +28 -5
- package/esm/modal/type.d.ts +46 -28
- package/esm/modal/type.d.ts.map +1 -1
- package/esm/popover/popover.js +1 -1
- package/esm/popover/token.js +3 -2
- package/esm/popover/type.d.ts +2 -2
- package/esm/progress/progress.d.ts.map +1 -1
- package/esm/progress/progress.js +3 -1
- package/esm/progress/token.js +11 -2
- package/esm/progress/type.d.ts +28 -16
- package/esm/progress/type.d.ts.map +1 -1
- package/esm/provider/index.d.ts +2 -0
- package/esm/provider/index.d.ts.map +1 -0
- package/esm/provider/index.js +1 -0
- package/esm/provider/theme-provider.d.ts +3 -0
- package/esm/provider/theme-provider.d.ts.map +1 -0
- package/esm/provider/theme-provider.js +10 -0
- package/esm/radio/radio.d.ts.map +1 -1
- package/esm/radio/radio.js +1 -0
- package/esm/radio/token.js +10 -2
- package/esm/radio/type.d.ts +19 -13
- package/esm/radio/type.d.ts.map +1 -1
- package/esm/rate/rate.js +1 -1
- package/esm/rate/token.js +4 -2
- package/esm/rate/type.d.ts +7 -7
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +11 -2
- package/esm/select/token.js +24 -3
- package/esm/select/type.d.ts +63 -9
- package/esm/select/type.d.ts.map +1 -1
- package/esm/slider/slider.js +3 -3
- package/esm/slider/token.js +10 -4
- package/esm/slider/type.d.ts +27 -27
- package/esm/slider/type.d.ts.map +1 -1
- package/esm/spin/token.js +2 -1
- package/esm/spin/type.d.ts +1 -1
- package/esm/steps/token.js +2 -1
- package/esm/steps/type.d.ts +1 -1
- package/esm/sticky/token.js +1 -1
- package/esm/sticky/type.d.ts +1 -1
- package/esm/switch/switch.js +8 -8
- package/esm/switch/token.js +14 -9
- package/esm/switch/type.d.ts +40 -40
- package/esm/table/token.js +13 -1
- package/esm/table/type.d.ts +28 -28
- package/esm/tabs/tabs.d.ts.map +1 -1
- package/esm/tabs/tabs.js +4 -3
- package/esm/tabs/token.js +14 -4
- package/esm/tabs/type.d.ts +15 -9
- package/esm/tabs/type.d.ts.map +1 -1
- package/esm/tag/tag.js +1 -1
- package/esm/tag/token.js +5 -3
- package/esm/tag/type.d.ts +169 -169
- package/esm/textarea/token.js +6 -1
- package/esm/textarea/type.d.ts +29 -29
- package/esm/token/figma.js +1032 -258
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +97 -3
- package/esm/token/type.d.ts +674 -16
- package/esm/token/type.d.ts.map +1 -1
- package/esm/tooltip/token.js +4 -2
- package/esm/tooltip/tooltip.js +1 -1
- package/esm/tooltip/type.d.ts +5 -5
- package/esm/transfer/rule.js +1 -1
- package/esm/transfer/token.js +14 -1
- package/esm/transfer/transfer.d.ts.map +1 -1
- package/esm/transfer/transfer.js +1 -0
- package/esm/transfer/type.d.ts +7 -1
- package/esm/transfer/type.d.ts.map +1 -1
- package/esm/tree/token.js +5 -1
- package/esm/tree/type.d.ts +13 -13
- package/esm/tree-select/token.js +5 -2
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +1 -0
- package/esm/tree-select/type.d.ts +9 -3
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/upload/token.js +3 -3
- package/esm/upload/type.d.ts +3 -3
- package/esm/upload/upload.js +3 -3
- package/esm/utils/css-var.d.ts +1 -0
- package/esm/utils/css-var.d.ts.map +1 -1
- package/esm/utils/css-var.js +5 -2
- package/esm/utils/notification.d.ts +16 -0
- package/esm/utils/notification.d.ts.map +1 -0
- package/esm/utils/notification.js +52 -0
- package/esm/utils/token-setter.d.ts +57 -0
- package/esm/utils/token-setter.d.ts.map +1 -0
- package/esm/utils/token-setter.js +74 -0
- package/package.json +5 -2
package/cjs/message/token.js
CHANGED
package/cjs/message/type.d.ts
CHANGED
|
@@ -2,31 +2,31 @@ export interface MessageTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token Shadow-3
|
|
5
|
-
* @description
|
|
5
|
+
* @description 全局提示阴影
|
|
6
6
|
*/
|
|
7
7
|
messageShadow: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-border-1
|
|
11
|
-
* @description
|
|
11
|
+
* @description 全局提示边框颜色
|
|
12
12
|
*/
|
|
13
13
|
messageBorderColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-fill-1
|
|
17
|
-
* @description
|
|
17
|
+
* @description 全局提示背景颜色
|
|
18
18
|
*/
|
|
19
19
|
messageBackgroundColor: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Neutral-text-5
|
|
23
|
-
* @description
|
|
23
|
+
* @description 全局提示字体颜色
|
|
24
24
|
*/
|
|
25
25
|
messageFontColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Margin-24
|
|
29
|
-
* @description
|
|
29
|
+
* @description 全局提示外边距
|
|
30
30
|
*/
|
|
31
31
|
messageMarginBottom: string;
|
|
32
32
|
}
|
package/cjs/modal/modal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["modal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WA6BlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/modal/modal.js
CHANGED
|
@@ -13,17 +13,19 @@ var modalTokens = {
|
|
|
13
13
|
modalPanelPaddingY: 'Padding-24',
|
|
14
14
|
modalPanelPaddingX: 'Padding-24',
|
|
15
15
|
modalPanelBackground: 'Neutral-fill-1',
|
|
16
|
-
modalPanelShadow: 'Shadow-
|
|
16
|
+
modalPanelShadow: 'Shadow-3',
|
|
17
|
+
modalPanelBorder: 'Neutral-border-1',
|
|
17
18
|
modalPanelGap: 'Padding-16',
|
|
18
19
|
modalPanelRadius: 'Radius-4',
|
|
19
20
|
modalPanelFontSize: '14/regular',
|
|
20
21
|
modalHeaderIconMarginEnd: 'Margin-8',
|
|
21
|
-
modalHeaderIconMarginTop: 'Size-
|
|
22
|
-
modalHeaderIconSize: 'Size-
|
|
22
|
+
modalHeaderIconMarginTop: 'Size-2',
|
|
23
|
+
modalHeaderIconSize: 'Size-8',
|
|
23
24
|
modalHeaderCloseMarginXStart: 'Margin-16',
|
|
24
25
|
modalHeaderCloseSize: 'Size-8',
|
|
25
26
|
modalHeaderCloseTop: 'Size-2',
|
|
26
27
|
modalHeaderCloseColor: 'Neutral-text-4',
|
|
28
|
+
modalHeaderCloseBackgroundColor: 'Neutral-fill-2',
|
|
27
29
|
modalHeaderFontSize: '16/regular',
|
|
28
30
|
modalDrawerTitlePaddingY: 'Padding-12',
|
|
29
31
|
modalDrawerTitlePaddingX: 'Padding-16',
|
|
@@ -32,6 +34,7 @@ var modalTokens = {
|
|
|
32
34
|
modalDrawerBodyPaddingX: 'Padding-16',
|
|
33
35
|
modalDrawerFooterPaddingY: 'Padding-16',
|
|
34
36
|
modalDrawerFooterPaddingX: 'Padding-16',
|
|
37
|
+
modalDrawerCloseBackgroundColor: 'Neutral-fill-3',
|
|
35
38
|
modalFontSize: '14/regular'
|
|
36
39
|
};
|
|
37
40
|
var _default = modalTokens;
|
package/cjs/modal/token.js
CHANGED
|
@@ -9,7 +9,21 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var modalTokenDescription = {
|
|
12
|
-
modal: '
|
|
12
|
+
modal: '对话框',
|
|
13
|
+
panel: '面板',
|
|
14
|
+
shadow: '阴影',
|
|
15
|
+
gap: '间距',
|
|
16
|
+
header: '头部区域',
|
|
17
|
+
close: '关闭icon的',
|
|
18
|
+
start: '(左侧)',
|
|
19
|
+
end: '(右侧)',
|
|
20
|
+
top: '顶部距离',
|
|
21
|
+
title: '标题的',
|
|
22
|
+
drawer: '抽屉模式',
|
|
23
|
+
body: '主区域',
|
|
24
|
+
footer: '底部区域',
|
|
25
|
+
mask: '遮罩层',
|
|
26
|
+
light: '浅色'
|
|
13
27
|
};
|
|
14
28
|
|
|
15
29
|
/**
|
|
@@ -37,7 +51,8 @@ var modalTokenExtraValue = {
|
|
|
37
51
|
x: 'Padding-24'
|
|
38
52
|
},
|
|
39
53
|
background: 'Neutral-fill-1',
|
|
40
|
-
shadow: 'Shadow-
|
|
54
|
+
shadow: 'Shadow-3',
|
|
55
|
+
border: 'Neutral-border-1',
|
|
41
56
|
gap: 'Padding-16',
|
|
42
57
|
radius: 'Radius-4',
|
|
43
58
|
font: {
|
|
@@ -48,9 +63,9 @@ var modalTokenExtraValue = {
|
|
|
48
63
|
icon: {
|
|
49
64
|
margin: {
|
|
50
65
|
end: 'Margin-8',
|
|
51
|
-
top: 'Size-
|
|
66
|
+
top: 'Size-2'
|
|
52
67
|
},
|
|
53
|
-
size: 'Size-
|
|
68
|
+
size: 'Size-8'
|
|
54
69
|
},
|
|
55
70
|
close: {
|
|
56
71
|
margin: {
|
|
@@ -60,7 +75,10 @@ var modalTokenExtraValue = {
|
|
|
60
75
|
},
|
|
61
76
|
size: 'Size-8',
|
|
62
77
|
top: 'Size-2',
|
|
63
|
-
color: 'Neutral-text-4'
|
|
78
|
+
color: 'Neutral-text-4',
|
|
79
|
+
background: {
|
|
80
|
+
color: 'Neutral-fill-2'
|
|
81
|
+
}
|
|
64
82
|
},
|
|
65
83
|
font: {
|
|
66
84
|
size: '16/regular'
|
|
@@ -87,6 +105,11 @@ var modalTokenExtraValue = {
|
|
|
87
105
|
y: 'Padding-16',
|
|
88
106
|
x: 'Padding-16'
|
|
89
107
|
}
|
|
108
|
+
},
|
|
109
|
+
close: {
|
|
110
|
+
background: {
|
|
111
|
+
color: 'Neutral-fill-3'
|
|
112
|
+
}
|
|
90
113
|
}
|
|
91
114
|
}
|
|
92
115
|
};
|
package/cjs/modal/type.d.ts
CHANGED
|
@@ -2,151 +2,169 @@ export interface ModalTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token rgba(2, 11, 24, 0.3)
|
|
5
|
-
* @description
|
|
5
|
+
* @description 对话框遮罩层背景
|
|
6
6
|
*/
|
|
7
7
|
modalMaskBackground: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token rgba(2, 11, 24, 0.01)
|
|
11
|
-
* @description
|
|
11
|
+
* @description 对话框遮罩层浅色背景
|
|
12
12
|
*/
|
|
13
13
|
modalMaskLightBackground: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Padding-24
|
|
17
|
-
* @description
|
|
17
|
+
* @description 对话框面板内边距(垂直方向)
|
|
18
18
|
*/
|
|
19
19
|
modalPanelPaddingY: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Padding-24
|
|
23
|
-
* @description
|
|
23
|
+
* @description 对话框面板内边距(水平方向)
|
|
24
24
|
*/
|
|
25
25
|
modalPanelPaddingX: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Neutral-fill-1
|
|
29
|
-
* @description
|
|
29
|
+
* @description 对话框面板背景
|
|
30
30
|
*/
|
|
31
31
|
modalPanelBackground: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @token Shadow-
|
|
35
|
-
* @description
|
|
34
|
+
* @token Shadow-3
|
|
35
|
+
* @description 对话框面板阴影
|
|
36
36
|
*/
|
|
37
37
|
modalPanelShadow: string;
|
|
38
|
+
/**
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @token Neutral-border-1
|
|
41
|
+
* @description 对话框面板边框
|
|
42
|
+
*/
|
|
43
|
+
modalPanelBorder: string;
|
|
38
44
|
/**
|
|
39
45
|
* @type {string}
|
|
40
46
|
* @token Padding-16
|
|
41
|
-
* @description
|
|
47
|
+
* @description 对话框面板间距
|
|
42
48
|
*/
|
|
43
49
|
modalPanelGap: string;
|
|
44
50
|
/**
|
|
45
51
|
* @type {string}
|
|
46
52
|
* @token Radius-4
|
|
47
|
-
* @description
|
|
53
|
+
* @description 对话框面板圆角
|
|
48
54
|
*/
|
|
49
55
|
modalPanelRadius: string;
|
|
50
56
|
/**
|
|
51
57
|
* @type {string}
|
|
52
58
|
* @token 14/regular
|
|
53
|
-
* @description
|
|
59
|
+
* @description 对话框面板字体字号
|
|
54
60
|
*/
|
|
55
61
|
modalPanelFontSize: string;
|
|
56
62
|
/**
|
|
57
63
|
* @type {string}
|
|
58
64
|
* @token Margin-8
|
|
59
|
-
* @description
|
|
65
|
+
* @description 对话框头部区域图标外边距(右侧)
|
|
60
66
|
*/
|
|
61
67
|
modalHeaderIconMarginEnd: string;
|
|
62
68
|
/**
|
|
63
69
|
* @type {string}
|
|
64
|
-
* @token Size-
|
|
65
|
-
* @description
|
|
70
|
+
* @token Size-2
|
|
71
|
+
* @description 对话框头部区域图标外边距顶部距离
|
|
66
72
|
*/
|
|
67
73
|
modalHeaderIconMarginTop: string;
|
|
68
74
|
/**
|
|
69
75
|
* @type {string}
|
|
70
|
-
* @token Size-
|
|
71
|
-
* @description
|
|
76
|
+
* @token Size-8
|
|
77
|
+
* @description 对话框头部区域图标字号
|
|
72
78
|
*/
|
|
73
79
|
modalHeaderIconSize: string;
|
|
74
80
|
/**
|
|
75
81
|
* @type {string}
|
|
76
82
|
* @token Margin-16
|
|
77
|
-
* @description
|
|
83
|
+
* @description 对话框头部区域关闭icon的外边距(水平方向)(左侧)
|
|
78
84
|
*/
|
|
79
85
|
modalHeaderCloseMarginXStart: string;
|
|
80
86
|
/**
|
|
81
87
|
* @type {string}
|
|
82
88
|
* @token Size-8
|
|
83
|
-
* @description
|
|
89
|
+
* @description 对话框头部区域关闭icon的字号
|
|
84
90
|
*/
|
|
85
91
|
modalHeaderCloseSize: string;
|
|
86
92
|
/**
|
|
87
93
|
* @type {string}
|
|
88
94
|
* @token Size-2
|
|
89
|
-
* @description
|
|
95
|
+
* @description 对话框头部区域关闭icon的顶部距离
|
|
90
96
|
*/
|
|
91
97
|
modalHeaderCloseTop: string;
|
|
92
98
|
/**
|
|
93
99
|
* @type {string}
|
|
94
100
|
* @token Neutral-text-4
|
|
95
|
-
* @description
|
|
101
|
+
* @description 对话框头部区域关闭icon的颜色
|
|
96
102
|
*/
|
|
97
103
|
modalHeaderCloseColor: string;
|
|
104
|
+
/**
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @token Neutral-fill-2
|
|
107
|
+
* @description 对话框头部区域关闭icon的背景颜色
|
|
108
|
+
*/
|
|
109
|
+
modalHeaderCloseBackgroundColor: string;
|
|
98
110
|
/**
|
|
99
111
|
* @type {string}
|
|
100
112
|
* @token 16/regular
|
|
101
|
-
* @description
|
|
113
|
+
* @description 对话框头部区域字体字号
|
|
102
114
|
*/
|
|
103
115
|
modalHeaderFontSize: string;
|
|
104
116
|
/**
|
|
105
117
|
* @type {string}
|
|
106
118
|
* @token Padding-12
|
|
107
|
-
* @description
|
|
119
|
+
* @description 对话框抽屉模式标题的内边距(垂直方向)
|
|
108
120
|
*/
|
|
109
121
|
modalDrawerTitlePaddingY: string;
|
|
110
122
|
/**
|
|
111
123
|
* @type {string}
|
|
112
124
|
* @token Padding-16
|
|
113
|
-
* @description
|
|
125
|
+
* @description 对话框抽屉模式标题的内边距(水平方向)
|
|
114
126
|
*/
|
|
115
127
|
modalDrawerTitlePaddingX: string;
|
|
116
128
|
/**
|
|
117
129
|
* @type {string}
|
|
118
130
|
* @token Neutral-fill-2
|
|
119
|
-
* @description
|
|
131
|
+
* @description 对话框抽屉模式标题的背景颜色
|
|
120
132
|
*/
|
|
121
133
|
modalDrawerTitleBackgroundColor: string;
|
|
122
134
|
/**
|
|
123
135
|
* @type {string}
|
|
124
136
|
* @token Padding-16
|
|
125
|
-
* @description
|
|
137
|
+
* @description 对话框抽屉模式主区域内边距(垂直方向)
|
|
126
138
|
*/
|
|
127
139
|
modalDrawerBodyPaddingY: string;
|
|
128
140
|
/**
|
|
129
141
|
* @type {string}
|
|
130
142
|
* @token Padding-16
|
|
131
|
-
* @description
|
|
143
|
+
* @description 对话框抽屉模式主区域内边距(水平方向)
|
|
132
144
|
*/
|
|
133
145
|
modalDrawerBodyPaddingX: string;
|
|
134
146
|
/**
|
|
135
147
|
* @type {string}
|
|
136
148
|
* @token Padding-16
|
|
137
|
-
* @description
|
|
149
|
+
* @description 对话框抽屉模式底部区域内边距(垂直方向)
|
|
138
150
|
*/
|
|
139
151
|
modalDrawerFooterPaddingY: string;
|
|
140
152
|
/**
|
|
141
153
|
* @type {string}
|
|
142
154
|
* @token Padding-16
|
|
143
|
-
* @description
|
|
155
|
+
* @description 对话框抽屉模式底部区域内边距(水平方向)
|
|
144
156
|
*/
|
|
145
157
|
modalDrawerFooterPaddingX: string;
|
|
158
|
+
/**
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @token Neutral-fill-3
|
|
161
|
+
* @description 对话框抽屉模式关闭icon的背景颜色
|
|
162
|
+
*/
|
|
163
|
+
modalDrawerCloseBackgroundColor: string;
|
|
146
164
|
/**
|
|
147
165
|
* @type {string}
|
|
148
166
|
* @token 14/regular
|
|
149
|
-
* @description
|
|
167
|
+
* @description 对话框字体字号
|
|
150
168
|
*/
|
|
151
169
|
modalFontSize: string;
|
|
152
170
|
}
|
package/cjs/modal/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot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M,CAAC;IAChC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAClC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
package/cjs/popover/popover.js
CHANGED
|
@@ -10,7 +10,7 @@ exports.default = void 0;
|
|
|
10
10
|
var popoverTokens = {
|
|
11
11
|
popoverFontSize: '14/regular',
|
|
12
12
|
popoverPaddingX: 'Padding-8',
|
|
13
|
-
popoverPaddingY: 'Padding-
|
|
13
|
+
popoverPaddingY: 'Padding-8',
|
|
14
14
|
popoverRadius: 'Radius-4',
|
|
15
15
|
popoverBorderWidth: 'Border-1',
|
|
16
16
|
popoverFontColor: 'Neutral-text-5',
|
package/cjs/popover/token.js
CHANGED
|
@@ -13,7 +13,8 @@ var popoverTokenDescription = {
|
|
|
13
13
|
warning: '警告',
|
|
14
14
|
info: '提示',
|
|
15
15
|
error: '错误',
|
|
16
|
-
confirm: '确认'
|
|
16
|
+
confirm: '确认',
|
|
17
|
+
shadow: '阴影'
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -30,7 +31,7 @@ var popoverTokenValue = {
|
|
|
30
31
|
},
|
|
31
32
|
padding: {
|
|
32
33
|
x: 'Padding-8',
|
|
33
|
-
y: 'Padding-
|
|
34
|
+
y: 'Padding-8'
|
|
34
35
|
},
|
|
35
36
|
radius: 'Radius-4',
|
|
36
37
|
border: {
|
package/cjs/popover/type.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface PopoverTokens {
|
|
|
13
13
|
popoverPaddingX: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
|
-
* @token Padding-
|
|
16
|
+
* @token Padding-8
|
|
17
17
|
* @description 气泡内边距(垂直方向)
|
|
18
18
|
*/
|
|
19
19
|
popoverPaddingY: string;
|
|
@@ -44,7 +44,7 @@ export interface PopoverTokens {
|
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Shadow-2
|
|
47
|
-
* @description
|
|
47
|
+
* @description 气泡阴影
|
|
48
48
|
*/
|
|
49
49
|
popoverShadow: string;
|
|
50
50
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAExC,QAAA,MAAM,cAAc,EAAE,cAmBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/cjs/progress/progress.js
CHANGED
|
@@ -23,7 +23,9 @@ var progressTokens = {
|
|
|
23
23
|
progressLineInnerFontColor: 'Neutral-text-1',
|
|
24
24
|
progressLineInnerFontSize: '12/regular',
|
|
25
25
|
progressLineInnerRightFontColor: 'Neutral-text-5',
|
|
26
|
-
progressLineIconSize: 'Size-7'
|
|
26
|
+
progressLineIconSize: 'Size-7',
|
|
27
|
+
progressLineBackgroundColor: 'Neutral-fill-9',
|
|
28
|
+
progressLineColor: 'Neutral-text-1'
|
|
27
29
|
};
|
|
28
30
|
var _default = progressTokens;
|
|
29
31
|
exports.default = _default;
|
package/cjs/progress/token.js
CHANGED
|
@@ -9,7 +9,12 @@
|
|
|
9
9
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
10
|
*/
|
|
11
11
|
var progressTokenDescription = {
|
|
12
|
-
progress: '
|
|
12
|
+
progress: '进度条',
|
|
13
|
+
gap: '间距',
|
|
14
|
+
info: '基础色',
|
|
15
|
+
front: '已完成进度的',
|
|
16
|
+
inner: '内嵌文案模式',
|
|
17
|
+
right: '右侧的'
|
|
13
18
|
};
|
|
14
19
|
|
|
15
20
|
/**
|
|
@@ -75,7 +80,11 @@ var progressTokenExtraValue = {
|
|
|
75
80
|
},
|
|
76
81
|
icon: {
|
|
77
82
|
size: 'Size-7'
|
|
78
|
-
}
|
|
83
|
+
},
|
|
84
|
+
background: {
|
|
85
|
+
color: 'Neutral-fill-9'
|
|
86
|
+
},
|
|
87
|
+
color: 'Neutral-text-1'
|
|
79
88
|
}
|
|
80
89
|
};
|
|
81
90
|
module.exports = {
|
package/cjs/progress/type.d.ts
CHANGED
|
@@ -2,98 +2,110 @@ export interface ProgressTokens {
|
|
|
2
2
|
/**
|
|
3
3
|
* @type {string}
|
|
4
4
|
* @token 14/regular
|
|
5
|
-
* @description
|
|
5
|
+
* @description 进度条字体字号
|
|
6
6
|
*/
|
|
7
7
|
progressFontSize: string;
|
|
8
8
|
/**
|
|
9
9
|
* @type {string}
|
|
10
10
|
* @token Neutral-text-4
|
|
11
|
-
* @description
|
|
11
|
+
* @description 进度条字体颜色
|
|
12
12
|
*/
|
|
13
13
|
progressFontColor: string;
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Neutral-fill-3
|
|
17
|
-
* @description
|
|
17
|
+
* @description 进度条背景
|
|
18
18
|
*/
|
|
19
19
|
progressBackground: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Brand-6
|
|
23
|
-
* @description
|
|
23
|
+
* @description 进度条基础色已完成进度的背景颜色
|
|
24
24
|
*/
|
|
25
25
|
progressInfoFrontBackgroundColor: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Warning-6
|
|
29
|
-
* @description
|
|
29
|
+
* @description 进度条警告色已完成进度的背景颜色
|
|
30
30
|
*/
|
|
31
31
|
progressWarningFrontBackgroundColor: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Success-6
|
|
35
|
-
* @description
|
|
35
|
+
* @description 进度条成功色已完成进度的背景颜色
|
|
36
36
|
*/
|
|
37
37
|
progressSuccessFrontBackgroundColor: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Danger-6
|
|
41
|
-
* @description
|
|
41
|
+
* @description 进度条危险色已完成进度的背景颜色
|
|
42
42
|
*/
|
|
43
43
|
progressDangerFrontBackgroundColor: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Size-3
|
|
47
|
-
* @description
|
|
47
|
+
* @description 进度条行高度
|
|
48
48
|
*/
|
|
49
49
|
progressLineHeight: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token Margin-8
|
|
53
|
-
* @description
|
|
53
|
+
* @description 进度条行间距
|
|
54
54
|
*/
|
|
55
55
|
progressLineGap: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Size-10
|
|
59
|
-
* @description
|
|
59
|
+
* @description 进度条行内嵌文案模式高度
|
|
60
60
|
*/
|
|
61
61
|
progressLineInnerHeight: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token Margin-8
|
|
65
|
-
* @description
|
|
65
|
+
* @description 进度条行内嵌文案模式间距
|
|
66
66
|
*/
|
|
67
67
|
progressLineInnerGap: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token Padding-8
|
|
71
|
-
* @description
|
|
71
|
+
* @description 进度条行内嵌文案模式内边距(水平方向)
|
|
72
72
|
*/
|
|
73
73
|
progressLineInnerPaddingX: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token Neutral-text-1
|
|
77
|
-
* @description
|
|
77
|
+
* @description 进度条行内嵌文案模式字体颜色
|
|
78
78
|
*/
|
|
79
79
|
progressLineInnerFontColor: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token 12/regular
|
|
83
|
-
* @description
|
|
83
|
+
* @description 进度条行内嵌文案模式字体字号
|
|
84
84
|
*/
|
|
85
85
|
progressLineInnerFontSize: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token Neutral-text-5
|
|
89
|
-
* @description
|
|
89
|
+
* @description 进度条行内嵌文案模式右侧的字体颜色
|
|
90
90
|
*/
|
|
91
91
|
progressLineInnerRightFontColor: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Size-7
|
|
95
|
-
* @description
|
|
95
|
+
* @description 进度条行图标字号
|
|
96
96
|
*/
|
|
97
97
|
progressLineIconSize: string;
|
|
98
|
+
/**
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @token Neutral-fill-9
|
|
101
|
+
* @description 进度条行背景颜色
|
|
102
|
+
*/
|
|
103
|
+
progressLineBackgroundColor: string;
|
|
104
|
+
/**
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @token Neutral-text-1
|
|
107
|
+
* @description 进度条行颜色
|
|
108
|
+
*/
|
|
109
|
+
progressLineColor: string;
|
|
98
110
|
}
|
|
99
111
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAC5C;;;;OAIG;IACH,kCAAkC,EAAE,MAAM,CAAC;IAC3C;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC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7B;;;;OAIG;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,qBAA4B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ThemeContext = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var ThemeContext = /*#__PURE__*/_react.default.createContext(null);
|
|
10
|
+
exports.ThemeContext = ThemeContext;
|
package/cjs/radio/radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["radio.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,QAAA,MAAM,WAAW,EAAE,WAiClB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/cjs/radio/radio.js
CHANGED
|
@@ -25,6 +25,7 @@ var radioTokens = {
|
|
|
25
25
|
radioIconCheckedDisabledBackgroundColor: 'Neutral-fill-1',
|
|
26
26
|
radioIconCheckedDisabledColor: 'Brand-3',
|
|
27
27
|
radioIconWrapperFill: 'Neutral-fill-2',
|
|
28
|
+
radioIconWrapperDark: 'Neutral-fill-3',
|
|
28
29
|
radioPaddingY: 'Padding-4',
|
|
29
30
|
radioSmallIconWidth: 'Size-6',
|
|
30
31
|
radioSmallIconBorderWidth: 'Border-1',
|
package/cjs/radio/token.js
CHANGED
|
@@ -11,7 +11,14 @@
|
|
|
11
11
|
var radioTokenDescription = {
|
|
12
12
|
radio: '单选框',
|
|
13
13
|
button: '按钮模式',
|
|
14
|
-
outline: '线框模式'
|
|
14
|
+
outline: '线框模式',
|
|
15
|
+
gap: '间距',
|
|
16
|
+
block: '块级',
|
|
17
|
+
checked: '选中状态下的',
|
|
18
|
+
wrapper: '包裹层',
|
|
19
|
+
fill: '填充色',
|
|
20
|
+
dark: '暗色模式',
|
|
21
|
+
label: '文案'
|
|
15
22
|
};
|
|
16
23
|
|
|
17
24
|
/**
|
|
@@ -65,7 +72,8 @@ var radioTokenExtraValue = {
|
|
|
65
72
|
}
|
|
66
73
|
},
|
|
67
74
|
wrapper: {
|
|
68
|
-
fill: 'Neutral-fill-2'
|
|
75
|
+
fill: 'Neutral-fill-2',
|
|
76
|
+
dark: 'Neutral-fill-3'
|
|
69
77
|
}
|
|
70
78
|
},
|
|
71
79
|
padding: {
|