@sheinx/theme 3.0.0-alpha.9 → 3.0.0-rc.10
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.js +1 -2
- package/cjs/alert/index.d.ts +2 -0
- package/cjs/alert/index.d.ts.map +1 -1
- package/cjs/alert/index.js +11 -9
- package/cjs/alert/token.js +4 -1
- package/cjs/alert/type.d.ts +4 -4
- package/cjs/breadcrumb/breadcrumb.js +1 -2
- package/cjs/breadcrumb/index.d.ts +2 -0
- package/cjs/breadcrumb/index.d.ts.map +1 -1
- package/cjs/breadcrumb/index.js +11 -9
- package/cjs/breadcrumb/token.js +6 -1
- package/cjs/breadcrumb/type.d.ts +16 -16
- package/cjs/button/button.d.ts.map +1 -1
- package/cjs/button/button.js +47 -30
- package/cjs/button/index.d.ts +2 -0
- package/cjs/button/index.d.ts.map +1 -1
- package/cjs/button/index.js +11 -9
- package/cjs/button/rule.js +2 -2
- package/cjs/button/token.js +258 -32
- package/cjs/button/type.d.ts +137 -29
- package/cjs/button/type.d.ts.map +1 -1
- package/cjs/card/card.js +1 -2
- package/cjs/card/index.d.ts +2 -0
- package/cjs/card/index.d.ts.map +1 -1
- package/cjs/card/index.js +11 -9
- package/cjs/card/token.js +6 -1
- package/cjs/card/type.d.ts +13 -13
- package/cjs/card-group/card-group.js +1 -2
- package/cjs/card-group/index.d.ts +2 -0
- package/cjs/card-group/index.d.ts.map +1 -1
- package/cjs/card-group/index.js +11 -9
- package/cjs/carousel/carousel.js +1 -2
- package/cjs/carousel/index.d.ts +2 -0
- package/cjs/carousel/index.d.ts.map +1 -1
- package/cjs/carousel/index.js +11 -9
- package/cjs/cascader/cascader.d.ts.map +1 -1
- package/cjs/cascader/cascader.js +7 -2
- package/cjs/cascader/index.d.ts +2 -0
- package/cjs/cascader/index.d.ts.map +1 -1
- package/cjs/cascader/index.js +11 -9
- 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/checkbox.js +1 -2
- package/cjs/checkbox/index.d.ts +2 -0
- package/cjs/checkbox/index.d.ts.map +1 -1
- package/cjs/checkbox/index.js +11 -9
- package/cjs/checkbox/token.js +5 -1
- package/cjs/checkbox/type.d.ts +13 -13
- package/cjs/collapse/collapse.js +1 -2
- package/cjs/collapse/index.d.ts +2 -0
- package/cjs/collapse/index.d.ts.map +1 -1
- package/cjs/collapse/index.js +11 -9
- 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 +3 -3
- package/cjs/common/index.d.ts +2 -0
- package/cjs/common/index.d.ts.map +1 -1
- package/cjs/common/index.js +11 -9
- 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 +43 -11
- package/cjs/date-picker/date-picker.d.ts.map +1 -1
- package/cjs/date-picker/date-picker.js +2 -2
- package/cjs/date-picker/index.d.ts +2 -0
- package/cjs/date-picker/index.d.ts.map +1 -1
- package/cjs/date-picker/index.js +11 -9
- 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 +6 -9
- package/cjs/descriptions/index.d.ts +2 -0
- package/cjs/descriptions/index.d.ts.map +1 -1
- package/cjs/descriptions/index.js +11 -9
- package/cjs/descriptions/rule.js +3 -3
- package/cjs/descriptions/token.js +33 -24
- package/cjs/descriptions/type.d.ts +41 -53
- package/cjs/descriptions/type.d.ts.map +1 -1
- package/cjs/divider/divider.js +1 -2
- package/cjs/divider/index.d.ts +2 -0
- package/cjs/divider/index.d.ts.map +1 -1
- package/cjs/divider/index.js +11 -9
- package/cjs/dropdown/dropdown.d.ts.map +1 -1
- package/cjs/dropdown/dropdown.js +7 -5
- package/cjs/dropdown/index.d.ts +2 -0
- package/cjs/dropdown/index.d.ts.map +1 -1
- package/cjs/dropdown/index.js +11 -9
- package/cjs/dropdown/rule.js +1 -1
- package/cjs/dropdown/token.js +19 -2
- package/cjs/dropdown/type.d.ts +70 -52
- package/cjs/dropdown/type.d.ts.map +1 -1
- package/cjs/editable-area/editable-area.js +1 -2
- package/cjs/editable-area/index.d.ts +2 -0
- package/cjs/editable-area/index.d.ts.map +1 -1
- package/cjs/editable-area/index.js +11 -9
- package/cjs/empty/empty.js +1 -2
- package/cjs/empty/index.d.ts +2 -0
- package/cjs/empty/index.d.ts.map +1 -1
- package/cjs/empty/index.js +11 -9
- package/cjs/form/form.js +1 -2
- package/cjs/form/index.d.ts +2 -0
- package/cjs/form/index.d.ts.map +1 -1
- package/cjs/form/index.js +11 -9
- package/cjs/form/token.js +8 -2
- package/cjs/form/type.d.ts +11 -11
- package/cjs/hooks/index.d.ts +2 -0
- package/cjs/hooks/index.d.ts.map +1 -0
- package/cjs/hooks/index.js +16 -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 +329 -0
- package/cjs/hooks/useToken/use-token.d.ts.map +1 -0
- package/cjs/hooks/useToken/use-token.js +53 -0
- package/cjs/hooks/useToken/use-token.type.d.ts +330 -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 -3
- package/cjs/icon/index.d.ts +2 -0
- package/cjs/icon/index.d.ts.map +1 -1
- package/cjs/icon/index.js +11 -9
- package/cjs/icon/token.js +3 -1
- package/cjs/icon/type.d.ts +1 -1
- package/cjs/image/image.js +1 -2
- package/cjs/image/index.d.ts +2 -0
- package/cjs/image/index.d.ts.map +1 -1
- package/cjs/image/index.js +11 -9
- package/cjs/image/token.js +2 -1
- package/cjs/image/type.d.ts +1 -1
- package/cjs/index.d.ts +6 -2
- package/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +88 -54
- package/cjs/input/index.d.ts +2 -0
- package/cjs/input/index.d.ts.map +1 -1
- package/cjs/input/index.js +11 -9
- package/cjs/input/input.js +1 -2
- package/cjs/input/token.js +5 -1
- package/cjs/input/type.d.ts +12 -12
- package/cjs/list/index.d.ts +2 -0
- package/cjs/list/index.d.ts.map +1 -1
- package/cjs/list/index.js +11 -9
- package/cjs/list/list.js +1 -2
- package/cjs/list/token.js +4 -1
- package/cjs/list/type.d.ts +12 -12
- package/cjs/menu/index.d.ts +2 -0
- package/cjs/menu/index.d.ts.map +1 -1
- package/cjs/menu/index.js +11 -9
- package/cjs/menu/menu.js +1 -2
- package/cjs/menu/token.js +8 -1
- package/cjs/menu/type.d.ts +29 -29
- package/cjs/message/index.d.ts +2 -0
- package/cjs/message/index.d.ts.map +1 -1
- package/cjs/message/index.js +11 -9
- package/cjs/message/message.js +1 -2
- package/cjs/message/token.js +3 -1
- package/cjs/message/type.d.ts +5 -5
- package/cjs/modal/index.d.ts +2 -0
- package/cjs/modal/index.d.ts.map +1 -1
- package/cjs/modal/index.js +11 -9
- package/cjs/modal/modal.d.ts.map +1 -1
- package/cjs/modal/modal.js +3 -3
- package/cjs/modal/token.js +17 -2
- package/cjs/modal/type.d.ts +34 -28
- package/cjs/modal/type.d.ts.map +1 -1
- package/cjs/pagination/index.d.ts +2 -0
- package/cjs/pagination/index.d.ts.map +1 -1
- package/cjs/pagination/index.js +11 -9
- package/cjs/pagination/pagination.js +1 -2
- package/cjs/popover/index.d.ts +2 -0
- package/cjs/popover/index.d.ts.map +1 -1
- package/cjs/popover/index.js +11 -9
- package/cjs/popover/popover.js +1 -2
- package/cjs/popover/token.js +2 -1
- package/cjs/popover/type.d.ts +1 -1
- package/cjs/progress/index.d.ts +2 -0
- package/cjs/progress/index.d.ts.map +1 -1
- package/cjs/progress/index.js +11 -9
- package/cjs/progress/progress.js +1 -2
- package/cjs/progress/token.js +6 -1
- package/cjs/progress/type.d.ts +18 -18
- 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 +9 -0
- package/cjs/radio/index.d.ts +2 -0
- package/cjs/radio/index.d.ts.map +1 -1
- package/cjs/radio/index.js +11 -9
- package/cjs/radio/radio.js +1 -2
- package/cjs/radio/token.js +8 -1
- package/cjs/radio/type.d.ts +14 -14
- package/cjs/rate/index.d.ts +2 -0
- package/cjs/rate/index.d.ts.map +1 -1
- package/cjs/rate/index.js +11 -9
- package/cjs/rate/rate.js +2 -3
- package/cjs/rate/token.js +4 -2
- package/cjs/rate/type.d.ts +7 -7
- package/cjs/select/index.d.ts +2 -0
- package/cjs/select/index.d.ts.map +1 -1
- package/cjs/select/index.js +11 -9
- package/cjs/select/select.d.ts.map +1 -1
- package/cjs/select/select.js +3 -2
- package/cjs/select/token.js +10 -2
- package/cjs/select/type.d.ts +23 -11
- package/cjs/select/type.d.ts.map +1 -1
- package/cjs/slider/index.d.ts +2 -0
- package/cjs/slider/index.d.ts.map +1 -1
- package/cjs/slider/index.js +11 -9
- package/cjs/slider/slider.js +2 -3
- package/cjs/slider/token.js +8 -2
- package/cjs/slider/type.d.ts +25 -25
- package/cjs/slider/type.d.ts.map +1 -1
- package/cjs/spin/index.d.ts +2 -0
- package/cjs/spin/index.d.ts.map +1 -1
- package/cjs/spin/index.js +11 -9
- package/cjs/spin/spin.js +1 -2
- package/cjs/spin/token.js +2 -1
- package/cjs/spin/type.d.ts +1 -1
- package/cjs/steps/index.d.ts +2 -0
- package/cjs/steps/index.d.ts.map +1 -1
- package/cjs/steps/index.js +11 -9
- package/cjs/steps/steps.js +1 -2
- package/cjs/steps/token.js +2 -1
- package/cjs/steps/type.d.ts +1 -1
- package/cjs/sticky/index.d.ts +2 -0
- package/cjs/sticky/index.d.ts.map +1 -1
- package/cjs/sticky/index.js +11 -9
- package/cjs/sticky/sticky.js +1 -2
- package/cjs/sticky/token.js +1 -1
- package/cjs/sticky/type.d.ts +1 -1
- package/cjs/switch/index.d.ts +2 -0
- package/cjs/switch/index.d.ts.map +1 -1
- package/cjs/switch/index.js +11 -9
- package/cjs/switch/switch.js +1 -2
- package/cjs/switch/token.js +6 -1
- package/cjs/switch/type.d.ts +32 -32
- package/cjs/table/index.d.ts +2 -0
- package/cjs/table/index.d.ts.map +1 -1
- package/cjs/table/index.js +11 -9
- package/cjs/table/table.js +1 -2
- package/cjs/table/token.js +13 -1
- package/cjs/table/type.d.ts +28 -28
- package/cjs/tabs/index.d.ts +2 -0
- package/cjs/tabs/index.d.ts.map +1 -1
- package/cjs/tabs/index.js +11 -9
- package/cjs/tabs/tabs.js +1 -2
- package/cjs/tabs/token.js +6 -1
- package/cjs/tabs/type.d.ts +7 -7
- package/cjs/tag/index.d.ts +2 -0
- package/cjs/tag/index.d.ts.map +1 -1
- package/cjs/tag/index.js +11 -9
- package/cjs/tag/tag.js +2 -3
- package/cjs/tag/token.js +5 -3
- package/cjs/tag/type.d.ts +169 -169
- package/cjs/textarea/index.d.ts +2 -0
- package/cjs/textarea/index.d.ts.map +1 -1
- package/cjs/textarea/index.js +11 -9
- package/cjs/textarea/textarea.js +1 -2
- package/cjs/textarea/token.js +6 -1
- package/cjs/textarea/type.d.ts +29 -29
- package/cjs/token/figma.js +1038 -267
- package/cjs/token/index.js +2 -5
- package/cjs/token/map.js +1 -0
- package/cjs/token/token.d.ts.map +1 -1
- package/cjs/token/token.js +98 -5
- package/cjs/token/type.d.ts +674 -16
- package/cjs/token/type.d.ts.map +1 -1
- package/cjs/tooltip/index.d.ts +2 -0
- package/cjs/tooltip/index.d.ts.map +1 -1
- package/cjs/tooltip/index.js +11 -9
- package/cjs/tooltip/token.js +4 -2
- package/cjs/tooltip/tooltip.js +2 -3
- package/cjs/tooltip/type.d.ts +5 -5
- package/cjs/transfer/index.d.ts +2 -0
- package/cjs/transfer/index.d.ts.map +1 -1
- package/cjs/transfer/index.js +11 -9
- package/cjs/transfer/token.js +3 -1
- package/cjs/transfer/transfer.js +1 -2
- package/cjs/transfer/type.d.ts +2 -2
- package/cjs/tree/index.d.ts +2 -0
- package/cjs/tree/index.d.ts.map +1 -1
- package/cjs/tree/index.js +11 -9
- package/cjs/tree/token.js +5 -1
- package/cjs/tree/tree.js +1 -2
- package/cjs/tree/type.d.ts +13 -13
- package/cjs/tree-select/index.d.ts +2 -0
- package/cjs/tree-select/index.d.ts.map +1 -1
- package/cjs/tree-select/index.js +11 -9
- 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 +2 -2
- package/cjs/tree-select/type.d.ts +9 -3
- package/cjs/tree-select/type.d.ts.map +1 -1
- package/cjs/upload/index.d.ts +2 -0
- package/cjs/upload/index.d.ts.map +1 -1
- package/cjs/upload/index.js +11 -9
- package/cjs/upload/upload.js +1 -2
- 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 +7 -9
- package/cjs/utils/document-style.js +2 -5
- package/cjs/utils/hash.d.ts +2 -0
- package/cjs/utils/hash.d.ts.map +1 -0
- package/cjs/utils/hash.js +37 -0
- package/cjs/utils/notification.d.ts +16 -0
- package/cjs/utils/notification.d.ts.map +1 -0
- package/cjs/utils/notification.js +50 -0
- package/cjs/utils/string-to-var.js +2 -5
- 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 +73 -0
- package/esm/alert/alert.js +1 -8
- package/esm/alert/index.d.ts +2 -0
- package/esm/alert/index.d.ts.map +1 -1
- package/esm/alert/index.js +4 -17
- package/esm/alert/rule.js +0 -2
- package/esm/alert/token.js +4 -3
- package/esm/alert/type.d.ts +4 -4
- package/esm/alert/type.js +1 -5
- package/esm/breadcrumb/breadcrumb.js +1 -8
- package/esm/breadcrumb/index.d.ts +2 -0
- package/esm/breadcrumb/index.d.ts.map +1 -1
- package/esm/breadcrumb/index.js +4 -17
- package/esm/breadcrumb/rule.js +0 -2
- package/esm/breadcrumb/token.js +6 -3
- package/esm/breadcrumb/type.d.ts +16 -16
- package/esm/breadcrumb/type.js +1 -5
- package/esm/button/button.d.ts.map +1 -1
- package/esm/button/button.js +47 -36
- package/esm/button/index.d.ts +2 -0
- package/esm/button/index.d.ts.map +1 -1
- package/esm/button/index.js +4 -17
- package/esm/button/rule.js +2 -4
- package/esm/button/token.js +258 -34
- package/esm/button/type.d.ts +137 -29
- package/esm/button/type.d.ts.map +1 -1
- package/esm/button/type.js +1 -5
- package/esm/card/card.js +1 -8
- package/esm/card/index.d.ts +2 -0
- package/esm/card/index.d.ts.map +1 -1
- package/esm/card/index.js +4 -17
- package/esm/card/rule.js +0 -2
- package/esm/card/token.js +6 -3
- package/esm/card/type.d.ts +13 -13
- package/esm/card/type.js +1 -5
- package/esm/card-group/card-group.js +1 -8
- package/esm/card-group/index.d.ts +2 -0
- package/esm/card-group/index.d.ts.map +1 -1
- package/esm/card-group/index.js +4 -17
- package/esm/card-group/rule.js +0 -2
- package/esm/card-group/token.js +0 -2
- package/esm/card-group/type.js +1 -5
- package/esm/carousel/carousel.js +1 -8
- package/esm/carousel/index.d.ts +2 -0
- package/esm/carousel/index.d.ts.map +1 -1
- package/esm/carousel/index.js +4 -17
- package/esm/carousel/rule.js +0 -2
- package/esm/carousel/token.js +0 -2
- package/esm/carousel/type.js +1 -5
- package/esm/cascader/cascader.d.ts.map +1 -1
- package/esm/cascader/cascader.js +7 -8
- package/esm/cascader/index.d.ts +2 -0
- package/esm/cascader/index.d.ts.map +1 -1
- package/esm/cascader/index.js +4 -17
- package/esm/cascader/rule.js +0 -2
- package/esm/cascader/token.js +27 -6
- package/esm/cascader/type.d.ts +48 -12
- package/esm/cascader/type.d.ts.map +1 -1
- package/esm/cascader/type.js +1 -5
- package/esm/checkbox/checkbox.js +1 -8
- package/esm/checkbox/index.d.ts +2 -0
- package/esm/checkbox/index.d.ts.map +1 -1
- package/esm/checkbox/index.js +4 -17
- package/esm/checkbox/rule.js +0 -2
- package/esm/checkbox/token.js +5 -3
- package/esm/checkbox/type.d.ts +13 -13
- package/esm/checkbox/type.js +1 -5
- package/esm/collapse/collapse.js +1 -8
- package/esm/collapse/index.d.ts +2 -0
- package/esm/collapse/index.d.ts.map +1 -1
- package/esm/collapse/index.js +4 -17
- package/esm/collapse/rule.js +0 -2
- package/esm/collapse/token.js +9 -3
- package/esm/collapse/type.d.ts +25 -25
- package/esm/collapse/type.js +1 -5
- package/esm/common/common.d.ts.map +1 -1
- package/esm/common/common.js +3 -9
- package/esm/common/index.d.ts +2 -0
- package/esm/common/index.d.ts.map +1 -1
- package/esm/common/index.js +4 -17
- package/esm/common/type.d.ts +7 -0
- package/esm/common/type.d.ts.map +1 -1
- package/esm/common/type.js +1 -5
- package/esm/config.d.ts +19 -4
- package/esm/config.d.ts.map +1 -1
- package/esm/config.js +40 -17
- package/esm/date-picker/date-picker.d.ts.map +1 -1
- package/esm/date-picker/date-picker.js +2 -8
- package/esm/date-picker/index.d.ts +2 -0
- package/esm/date-picker/index.d.ts.map +1 -1
- package/esm/date-picker/index.js +4 -17
- package/esm/date-picker/rule.js +0 -2
- package/esm/date-picker/token.js +1 -2
- package/esm/date-picker/type.d.ts +6 -0
- package/esm/date-picker/type.d.ts.map +1 -1
- package/esm/date-picker/type.js +1 -5
- package/esm/descriptions/descriptions.d.ts.map +1 -1
- package/esm/descriptions/descriptions.js +6 -15
- package/esm/descriptions/index.d.ts +2 -0
- package/esm/descriptions/index.d.ts.map +1 -1
- package/esm/descriptions/index.js +4 -17
- package/esm/descriptions/rule.js +3 -5
- package/esm/descriptions/token.js +33 -26
- package/esm/descriptions/type.d.ts +41 -53
- package/esm/descriptions/type.d.ts.map +1 -1
- package/esm/descriptions/type.js +1 -5
- package/esm/divider/divider.js +1 -8
- package/esm/divider/index.d.ts +2 -0
- package/esm/divider/index.d.ts.map +1 -1
- package/esm/divider/index.js +4 -17
- package/esm/divider/rule.js +0 -2
- package/esm/divider/token.js +0 -2
- package/esm/divider/type.js +1 -5
- package/esm/dropdown/dropdown.d.ts.map +1 -1
- package/esm/dropdown/dropdown.js +7 -11
- package/esm/dropdown/index.d.ts +2 -0
- package/esm/dropdown/index.d.ts.map +1 -1
- package/esm/dropdown/index.js +4 -17
- package/esm/dropdown/rule.js +1 -3
- package/esm/dropdown/token.js +19 -4
- package/esm/dropdown/type.d.ts +70 -52
- package/esm/dropdown/type.d.ts.map +1 -1
- package/esm/dropdown/type.js +1 -5
- package/esm/editable-area/editable-area.js +1 -8
- package/esm/editable-area/index.d.ts +2 -0
- package/esm/editable-area/index.d.ts.map +1 -1
- package/esm/editable-area/index.js +4 -17
- package/esm/editable-area/rule.js +0 -2
- package/esm/editable-area/token.js +0 -2
- package/esm/editable-area/type.js +1 -5
- package/esm/empty/empty.js +1 -8
- package/esm/empty/index.d.ts +2 -0
- package/esm/empty/index.d.ts.map +1 -1
- package/esm/empty/index.js +4 -17
- package/esm/empty/rule.js +0 -2
- package/esm/empty/token.js +0 -2
- package/esm/empty/type.js +1 -5
- package/esm/form/form.js +1 -8
- package/esm/form/index.d.ts +2 -0
- package/esm/form/index.d.ts.map +1 -1
- package/esm/form/index.js +4 -17
- package/esm/form/rule.js +0 -2
- package/esm/form/token.js +8 -4
- package/esm/form/type.d.ts +11 -11
- package/esm/form/type.js +1 -5
- package/esm/hooks/index.d.ts +2 -0
- package/esm/hooks/index.d.ts.map +1 -0
- package/esm/hooks/index.js +1 -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 +1 -0
- package/esm/hooks/useToken/use-token.d.ts +329 -0
- package/esm/hooks/useToken/use-token.d.ts.map +1 -0
- package/esm/hooks/useToken/use-token.js +46 -0
- package/esm/hooks/useToken/use-token.type.d.ts +330 -0
- package/esm/hooks/useToken/use-token.type.d.ts.map +1 -0
- package/esm/hooks/useToken/use-token.type.js +1 -0
- package/esm/icon/icon.d.ts +2 -2
- package/esm/icon/icon.d.ts.map +1 -1
- package/esm/icon/icon.js +2 -9
- package/esm/icon/index.d.ts +2 -0
- package/esm/icon/index.d.ts.map +1 -1
- package/esm/icon/index.js +4 -17
- package/esm/icon/rule.js +0 -2
- package/esm/icon/token.js +3 -3
- package/esm/icon/type.d.ts +1 -1
- package/esm/icon/type.js +1 -5
- package/esm/image/image.js +1 -8
- package/esm/image/index.d.ts +2 -0
- package/esm/image/index.d.ts.map +1 -1
- package/esm/image/index.js +4 -17
- package/esm/image/rule.js +0 -2
- package/esm/image/token.js +2 -3
- package/esm/image/type.d.ts +1 -1
- package/esm/image/type.js +1 -5
- package/esm/index.d.ts +6 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +58 -67
- package/esm/input/index.d.ts +2 -0
- package/esm/input/index.d.ts.map +1 -1
- package/esm/input/index.js +4 -17
- package/esm/input/input.js +1 -8
- package/esm/input/rule.js +0 -2
- package/esm/input/token.js +5 -3
- package/esm/input/type.d.ts +12 -12
- package/esm/input/type.js +1 -5
- package/esm/list/index.d.ts +2 -0
- package/esm/list/index.d.ts.map +1 -1
- package/esm/list/index.js +4 -17
- package/esm/list/list.js +1 -8
- package/esm/list/rule.js +0 -2
- package/esm/list/token.js +4 -3
- package/esm/list/type.d.ts +12 -12
- package/esm/list/type.js +1 -5
- package/esm/menu/index.d.ts +2 -0
- package/esm/menu/index.d.ts.map +1 -1
- package/esm/menu/index.js +4 -17
- package/esm/menu/menu.js +1 -8
- package/esm/menu/rule.js +0 -2
- package/esm/menu/token.js +8 -3
- package/esm/menu/type.d.ts +29 -29
- package/esm/menu/type.js +1 -5
- package/esm/message/index.d.ts +2 -0
- package/esm/message/index.d.ts.map +1 -1
- package/esm/message/index.js +4 -17
- package/esm/message/message.js +1 -8
- package/esm/message/rule.js +0 -2
- package/esm/message/token.js +3 -3
- package/esm/message/type.d.ts +5 -5
- package/esm/message/type.js +1 -5
- package/esm/modal/index.d.ts +2 -0
- package/esm/modal/index.d.ts.map +1 -1
- package/esm/modal/index.js +4 -17
- package/esm/modal/modal.d.ts.map +1 -1
- package/esm/modal/modal.js +3 -9
- package/esm/modal/rule.js +0 -2
- package/esm/modal/token.js +17 -4
- package/esm/modal/type.d.ts +34 -28
- package/esm/modal/type.d.ts.map +1 -1
- package/esm/modal/type.js +1 -5
- package/esm/pagination/index.d.ts +2 -0
- package/esm/pagination/index.d.ts.map +1 -1
- package/esm/pagination/index.js +4 -17
- package/esm/pagination/pagination.js +1 -8
- package/esm/pagination/rule.js +0 -2
- package/esm/pagination/token.js +0 -2
- package/esm/pagination/type.js +1 -5
- package/esm/popover/index.d.ts +2 -0
- package/esm/popover/index.d.ts.map +1 -1
- package/esm/popover/index.js +4 -17
- package/esm/popover/popover.js +1 -8
- package/esm/popover/rule.js +0 -2
- package/esm/popover/token.js +2 -3
- package/esm/popover/type.d.ts +1 -1
- package/esm/popover/type.js +1 -5
- package/esm/progress/index.d.ts +2 -0
- package/esm/progress/index.d.ts.map +1 -1
- package/esm/progress/index.js +4 -17
- package/esm/progress/progress.js +1 -8
- package/esm/progress/rule.js +0 -2
- package/esm/progress/token.js +6 -3
- package/esm/progress/type.d.ts +18 -18
- package/esm/progress/type.js +1 -5
- package/esm/provider/index.d.ts +2 -0
- package/esm/provider/index.d.ts.map +1 -0
- package/esm/provider/index.js +0 -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 +2 -0
- package/esm/radio/index.d.ts +2 -0
- package/esm/radio/index.d.ts.map +1 -1
- package/esm/radio/index.js +4 -17
- package/esm/radio/radio.js +1 -8
- package/esm/radio/rule.js +0 -2
- package/esm/radio/token.js +8 -3
- package/esm/radio/type.d.ts +14 -14
- package/esm/radio/type.js +1 -5
- package/esm/rate/index.d.ts +2 -0
- package/esm/rate/index.d.ts.map +1 -1
- package/esm/rate/index.js +4 -17
- package/esm/rate/rate.js +2 -9
- package/esm/rate/rule.js +0 -2
- package/esm/rate/token.js +4 -4
- package/esm/rate/type.d.ts +7 -7
- package/esm/rate/type.js +1 -5
- package/esm/select/index.d.ts +2 -0
- package/esm/select/index.d.ts.map +1 -1
- package/esm/select/index.js +4 -17
- package/esm/select/rule.js +0 -2
- package/esm/select/select.d.ts.map +1 -1
- package/esm/select/select.js +3 -8
- package/esm/select/token.js +10 -4
- package/esm/select/type.d.ts +23 -11
- package/esm/select/type.d.ts.map +1 -1
- package/esm/select/type.js +1 -5
- package/esm/slider/index.d.ts +2 -0
- package/esm/slider/index.d.ts.map +1 -1
- package/esm/slider/index.js +4 -17
- package/esm/slider/rule.js +0 -2
- package/esm/slider/slider.js +2 -9
- package/esm/slider/token.js +8 -4
- package/esm/slider/type.d.ts +25 -25
- package/esm/slider/type.d.ts.map +1 -1
- package/esm/slider/type.js +1 -5
- package/esm/spin/index.d.ts +2 -0
- package/esm/spin/index.d.ts.map +1 -1
- package/esm/spin/index.js +4 -17
- package/esm/spin/rule.js +0 -2
- package/esm/spin/spin.js +1 -8
- package/esm/spin/token.js +2 -3
- package/esm/spin/type.d.ts +1 -1
- package/esm/spin/type.js +1 -5
- package/esm/steps/index.d.ts +2 -0
- package/esm/steps/index.d.ts.map +1 -1
- package/esm/steps/index.js +4 -17
- package/esm/steps/rule.js +0 -2
- package/esm/steps/steps.js +1 -8
- package/esm/steps/token.js +2 -3
- package/esm/steps/type.d.ts +1 -1
- package/esm/steps/type.js +1 -5
- package/esm/sticky/index.d.ts +2 -0
- package/esm/sticky/index.d.ts.map +1 -1
- package/esm/sticky/index.js +4 -17
- package/esm/sticky/rule.js +0 -2
- package/esm/sticky/sticky.js +1 -8
- package/esm/sticky/token.js +1 -3
- package/esm/sticky/type.d.ts +1 -1
- package/esm/sticky/type.js +1 -5
- package/esm/switch/index.d.ts +2 -0
- package/esm/switch/index.d.ts.map +1 -1
- package/esm/switch/index.js +4 -17
- package/esm/switch/rule.js +0 -2
- package/esm/switch/switch.js +1 -8
- package/esm/switch/token.js +6 -3
- package/esm/switch/type.d.ts +32 -32
- package/esm/switch/type.js +1 -5
- package/esm/table/index.d.ts +2 -0
- package/esm/table/index.d.ts.map +1 -1
- package/esm/table/index.js +4 -17
- package/esm/table/rule.js +0 -2
- package/esm/table/table.js +1 -8
- package/esm/table/token.js +13 -3
- package/esm/table/type.d.ts +28 -28
- package/esm/table/type.js +1 -5
- package/esm/tabs/index.d.ts +2 -0
- package/esm/tabs/index.d.ts.map +1 -1
- package/esm/tabs/index.js +4 -17
- package/esm/tabs/rule.js +0 -2
- package/esm/tabs/tabs.js +1 -8
- package/esm/tabs/token.js +6 -3
- package/esm/tabs/type.d.ts +7 -7
- package/esm/tabs/type.js +1 -5
- package/esm/tag/index.d.ts +2 -0
- package/esm/tag/index.d.ts.map +1 -1
- package/esm/tag/index.js +4 -17
- package/esm/tag/rule.js +0 -2
- package/esm/tag/tag.js +2 -9
- package/esm/tag/token.js +5 -5
- package/esm/tag/type.d.ts +169 -169
- package/esm/tag/type.js +1 -5
- package/esm/textarea/index.d.ts +2 -0
- package/esm/textarea/index.d.ts.map +1 -1
- package/esm/textarea/index.js +4 -17
- package/esm/textarea/rule.js +0 -2
- package/esm/textarea/textarea.js +1 -8
- package/esm/textarea/token.js +6 -3
- package/esm/textarea/type.d.ts +29 -29
- package/esm/textarea/type.js +1 -5
- package/esm/token/figma.js +1038 -269
- package/esm/token/index.js +4 -13
- package/esm/token/map.js +1 -2
- package/esm/token/token.d.ts.map +1 -1
- package/esm/token/token.js +98 -11
- package/esm/token/type.d.ts +674 -16
- package/esm/token/type.d.ts.map +1 -1
- package/esm/token/type.js +1 -5
- package/esm/tooltip/index.d.ts +2 -0
- package/esm/tooltip/index.d.ts.map +1 -1
- package/esm/tooltip/index.js +4 -17
- package/esm/tooltip/rule.js +0 -2
- package/esm/tooltip/token.js +4 -4
- package/esm/tooltip/tooltip.js +2 -9
- package/esm/tooltip/type.d.ts +5 -5
- package/esm/tooltip/type.js +1 -5
- package/esm/transfer/index.d.ts +2 -0
- package/esm/transfer/index.d.ts.map +1 -1
- package/esm/transfer/index.js +4 -17
- package/esm/transfer/rule.js +0 -2
- package/esm/transfer/token.js +3 -3
- package/esm/transfer/transfer.js +1 -8
- package/esm/transfer/type.d.ts +2 -2
- package/esm/transfer/type.js +1 -5
- package/esm/tree/index.d.ts +2 -0
- package/esm/tree/index.d.ts.map +1 -1
- package/esm/tree/index.js +4 -17
- package/esm/tree/rule.js +0 -2
- package/esm/tree/token.js +5 -3
- package/esm/tree/tree.js +1 -8
- package/esm/tree/type.d.ts +13 -13
- package/esm/tree/type.js +1 -5
- package/esm/tree-select/index.d.ts +2 -0
- package/esm/tree-select/index.d.ts.map +1 -1
- package/esm/tree-select/index.js +4 -17
- package/esm/tree-select/rule.js +0 -2
- package/esm/tree-select/token.js +5 -4
- package/esm/tree-select/tree-select.d.ts.map +1 -1
- package/esm/tree-select/tree-select.js +2 -8
- package/esm/tree-select/type.d.ts +9 -3
- package/esm/tree-select/type.d.ts.map +1 -1
- package/esm/tree-select/type.js +1 -5
- package/esm/upload/index.d.ts +2 -0
- package/esm/upload/index.d.ts.map +1 -1
- package/esm/upload/index.js +4 -17
- package/esm/upload/rule.js +0 -2
- package/esm/upload/token.js +0 -2
- package/esm/upload/type.js +1 -5
- package/esm/upload/upload.js +1 -8
- 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 +7 -16
- package/esm/utils/document-style.js +4 -14
- package/esm/utils/hash.d.ts +2 -0
- package/esm/utils/hash.d.ts.map +1 -0
- package/esm/utils/hash.js +31 -0
- package/esm/utils/notification.d.ts +16 -0
- package/esm/utils/notification.d.ts.map +1 -0
- package/esm/utils/notification.js +45 -0
- package/esm/utils/string-to-var.js +2 -11
- 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 +66 -0
- package/package.json +5 -2
package/esm/collapse/collapse.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
1
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
8
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
3
|
|
|
@@ -37,5 +31,4 @@ var collapseTokens = {
|
|
|
37
31
|
collapseContentBackgroundColor: 'Neutral-fill-2',
|
|
38
32
|
collapseDisabledColor: 'Neutral-text-2'
|
|
39
33
|
};
|
|
40
|
-
|
|
41
|
-
exports.default = _default;
|
|
34
|
+
export default collapseTokens;
|
package/esm/collapse/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,QAAQ,EAAE,CAAC;;AACpB,wBAA4C"}
|
package/esm/collapse/index.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
6
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
7
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports.default = void 0;
|
|
12
|
-
var _token = _interopRequireWildcard(require("../token"));
|
|
13
|
-
var _collapse = _interopRequireDefault(require("./collapse"));
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
var _default = (0, _token.tokenToVars)(_collapse.default, _token.default);
|
|
17
|
-
exports.default = _default;
|
|
1
|
+
import token, { tokenToVars } from "../token";
|
|
2
|
+
import Collapse from "./collapse";
|
|
3
|
+
export { Collapse };
|
|
4
|
+
export default tokenToVars(Collapse, token);
|
package/esm/collapse/rule.js
CHANGED
package/esm/collapse/token.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
// 此文件受脚本控制,修改后将自动同步 type.ts collapse.ts 的内容
|
|
4
2
|
// This file is script-controlled and any changes made will be automatically synchronized with the type.ts and collapse.ts files.
|
|
5
3
|
|
|
@@ -9,7 +7,15 @@
|
|
|
9
7
|
* 描述词典变量名称为 组件名称 + TokenDescription。请勿修改变量命名,否则将导致 token 无法生成。
|
|
10
8
|
*/
|
|
11
9
|
var collapseTokenDescription = {
|
|
12
|
-
collapse: '折叠面板'
|
|
10
|
+
collapse: '折叠面板',
|
|
11
|
+
extra: '右侧附加内容',
|
|
12
|
+
wrapper: '整体容器(包含头部内容)',
|
|
13
|
+
gap: '间距',
|
|
14
|
+
header: '头部区域',
|
|
15
|
+
weight: '字重',
|
|
16
|
+
content: '内部容器',
|
|
17
|
+
left: '(左侧)',
|
|
18
|
+
right: '(右侧)'
|
|
13
19
|
};
|
|
14
20
|
|
|
15
21
|
/**
|
package/esm/collapse/type.d.ts
CHANGED
|
@@ -14,151 +14,151 @@ export interface CollapseTokens {
|
|
|
14
14
|
/**
|
|
15
15
|
* @type {string}
|
|
16
16
|
* @token Margin-24
|
|
17
|
-
* @description
|
|
17
|
+
* @description 折叠面板右侧附加内容外边距
|
|
18
18
|
*/
|
|
19
19
|
collapseExtraMargin: string;
|
|
20
20
|
/**
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @token Border-1
|
|
23
|
-
* @description
|
|
23
|
+
* @description 折叠面板整体容器(包含头部内容)边框字号
|
|
24
24
|
*/
|
|
25
25
|
collapseWrapperBorderSize: string;
|
|
26
26
|
/**
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @token Radius-4
|
|
29
|
-
* @description
|
|
29
|
+
* @description 折叠面板整体容器(包含头部内容)边框圆角
|
|
30
30
|
*/
|
|
31
31
|
collapseWrapperBorderRadius: string;
|
|
32
32
|
/**
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @token Size-12
|
|
35
|
-
* @description
|
|
35
|
+
* @description 折叠面板整体容器(包含头部内容)间距
|
|
36
36
|
*/
|
|
37
37
|
collapseWrapperGap: string;
|
|
38
38
|
/**
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @token Padding-16
|
|
41
|
-
* @description
|
|
41
|
+
* @description 折叠面板整体容器(包含头部内容)内边距(水平方向)
|
|
42
42
|
*/
|
|
43
43
|
collapseWrapperPaddingX: string;
|
|
44
44
|
/**
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @token Padding-12
|
|
47
|
-
* @description
|
|
47
|
+
* @description 折叠面板整体容器(包含头部内容)内边距(垂直方向)
|
|
48
48
|
*/
|
|
49
49
|
collapseWrapperPaddingY: string;
|
|
50
50
|
/**
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @token Size-11
|
|
53
|
-
* @description
|
|
53
|
+
* @description 折叠面板头部区域行高度
|
|
54
54
|
*/
|
|
55
55
|
collapseHeaderLineHeight: string;
|
|
56
56
|
/**
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @token Size-4
|
|
59
|
-
* @description
|
|
59
|
+
* @description 折叠面板头部区域间距
|
|
60
60
|
*/
|
|
61
61
|
collapseHeaderGap: string;
|
|
62
62
|
/**
|
|
63
63
|
* @type {string}
|
|
64
64
|
* @token 14/regular
|
|
65
|
-
* @description
|
|
65
|
+
* @description 折叠面板头部区域字体字号
|
|
66
66
|
*/
|
|
67
67
|
collapseHeaderFontSize: string;
|
|
68
68
|
/**
|
|
69
69
|
* @type {string}
|
|
70
70
|
* @token 400
|
|
71
|
-
* @description
|
|
71
|
+
* @description 折叠面板头部区域字重
|
|
72
72
|
*/
|
|
73
73
|
collapseHeaderWeight: string;
|
|
74
74
|
/**
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @token Size-7
|
|
77
|
-
* @description
|
|
77
|
+
* @description 折叠面板头部区域图标宽度
|
|
78
78
|
*/
|
|
79
79
|
collapseHeaderIconWidth: string;
|
|
80
80
|
/**
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @token Size-5
|
|
83
|
-
* @description
|
|
83
|
+
* @description 折叠面板头部区域右侧附加内容间距
|
|
84
84
|
*/
|
|
85
85
|
collapseHeaderExtraGap: string;
|
|
86
86
|
/**
|
|
87
87
|
* @type {string}
|
|
88
88
|
* @token Size-11
|
|
89
|
-
* @description
|
|
89
|
+
* @description 折叠面板内部容器行高度
|
|
90
90
|
*/
|
|
91
91
|
collapseContentLineHeight: string;
|
|
92
92
|
/**
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @token Size-12
|
|
95
|
-
* @description
|
|
95
|
+
* @description 折叠面板内部容器间距
|
|
96
96
|
*/
|
|
97
97
|
collapseContentGap: string;
|
|
98
98
|
/**
|
|
99
99
|
* @type {string}
|
|
100
100
|
* @token Padding-12
|
|
101
|
-
* @description
|
|
101
|
+
* @description 折叠面板内部容器内边距(垂直方向)
|
|
102
102
|
*/
|
|
103
103
|
collapseContentPaddingY: string;
|
|
104
104
|
/**
|
|
105
105
|
* @type {string}
|
|
106
106
|
* @token 14/regular
|
|
107
|
-
* @description
|
|
107
|
+
* @description 折叠面板内部容器字体字号
|
|
108
108
|
*/
|
|
109
109
|
collapseContentFontSize: string;
|
|
110
110
|
/**
|
|
111
111
|
* @type {string}
|
|
112
112
|
* @token 400
|
|
113
|
-
* @description
|
|
113
|
+
* @description 折叠面板内部容器字重
|
|
114
114
|
*/
|
|
115
115
|
collapseContentWeight: string;
|
|
116
116
|
/**
|
|
117
117
|
* @type {string}
|
|
118
118
|
* @token Size-19
|
|
119
|
-
* @description
|
|
119
|
+
* @description 折叠面板内部容器内边距(左侧)
|
|
120
120
|
*/
|
|
121
121
|
collapseContentPaddingLeft: string;
|
|
122
122
|
/**
|
|
123
123
|
* @type {string}
|
|
124
124
|
* @token Padding-16
|
|
125
|
-
* @description
|
|
125
|
+
* @description 折叠面板内部容器内边距(右侧)
|
|
126
126
|
*/
|
|
127
127
|
collapseContentPaddingRight: string;
|
|
128
128
|
/**
|
|
129
129
|
* @type {string}
|
|
130
130
|
* @token Neutral-border-1
|
|
131
|
-
* @description
|
|
131
|
+
* @description 折叠面板整体容器(包含头部内容)边框颜色
|
|
132
132
|
*/
|
|
133
133
|
collapseWrapperBorderColor: string;
|
|
134
134
|
/**
|
|
135
135
|
* @type {string}
|
|
136
136
|
* @token Neutral-border-1
|
|
137
|
-
* @description
|
|
137
|
+
* @description 折叠面板整体容器(包含头部内容)颜色
|
|
138
138
|
*/
|
|
139
139
|
collapseWrapperColor: string;
|
|
140
140
|
/**
|
|
141
141
|
* @type {string}
|
|
142
142
|
* @token Neutral-fill-1
|
|
143
|
-
* @description
|
|
143
|
+
* @description 折叠面板整体容器(包含头部内容)背景颜色
|
|
144
144
|
*/
|
|
145
145
|
collapseWrapperBackgroundColor: string;
|
|
146
146
|
/**
|
|
147
147
|
* @type {string}
|
|
148
148
|
* @token Neutral-text-5
|
|
149
|
-
* @description
|
|
149
|
+
* @description 折叠面板头部区域颜色
|
|
150
150
|
*/
|
|
151
151
|
collapseHeaderColor: string;
|
|
152
152
|
/**
|
|
153
153
|
* @type {string}
|
|
154
154
|
* @token Neutral-text-4
|
|
155
|
-
* @description
|
|
155
|
+
* @description 折叠面板内部容器颜色
|
|
156
156
|
*/
|
|
157
157
|
collapseContentColor: string;
|
|
158
158
|
/**
|
|
159
159
|
* @type {string}
|
|
160
160
|
* @token Neutral-fill-2
|
|
161
|
-
* @description
|
|
161
|
+
* @description 折叠面板内部容器背景颜色
|
|
162
162
|
*/
|
|
163
163
|
collapseContentBackgroundColor: string;
|
|
164
164
|
/**
|
package/esm/collapse/type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,QAAA,MAAM,MAAM,EAAE,YAKb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
package/esm/common/common.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
1
|
var common = {
|
|
8
2
|
lineHeightDynamic: 'Line-height-dynamic',
|
|
9
3
|
defaultBorder: 'Border-1',
|
|
10
|
-
iconCirclePadding: 'Padding-4'
|
|
4
|
+
iconCirclePadding: 'Padding-4',
|
|
5
|
+
transparent: 'transparent'
|
|
11
6
|
};
|
|
12
|
-
|
|
13
|
-
exports.default = _default;
|
|
7
|
+
export default common;
|
package/esm/common/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,CAAC;;AAClB,wBAA0C"}
|
package/esm/common/index.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
6
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
7
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports.default = void 0;
|
|
12
|
-
var _token = _interopRequireWildcard(require("../token"));
|
|
13
|
-
var _common = _interopRequireDefault(require("./common"));
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
var _default = (0, _token.tokenToVars)(_common.default, _token.default);
|
|
17
|
-
exports.default = _default;
|
|
1
|
+
import token, { tokenToVars } from "../token";
|
|
2
|
+
import Common from "./common";
|
|
3
|
+
export { Common };
|
|
4
|
+
export default tokenToVars(Common, token);
|
package/esm/common/type.d.ts
CHANGED
|
@@ -20,5 +20,12 @@ export interface CommonTokens {
|
|
|
20
20
|
* @description icon 悬浮后的圆形背景边距
|
|
21
21
|
*/
|
|
22
22
|
iconCirclePadding: string;
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @categoty string
|
|
26
|
+
* @default 'transparent'
|
|
27
|
+
* @description 透明
|
|
28
|
+
*/
|
|
29
|
+
transparent: string;
|
|
23
30
|
}
|
|
24
31
|
//# sourceMappingURL=type.d.ts.map
|
package/esm/common/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
package/esm/common/type.js
CHANGED
package/esm/config.d.ts
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import Notification from './utils/notification';
|
|
2
|
+
interface ConfigOption {
|
|
2
3
|
/**
|
|
3
|
-
* @
|
|
4
|
+
* @cn css 变量的固定前缀
|
|
5
|
+
* @en The fixed prefix of the css variable
|
|
4
6
|
* @default '--'
|
|
5
|
-
* @description css var prefix
|
|
6
7
|
*/
|
|
7
8
|
cssvarPrefix?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @cn css 变量的前缀
|
|
11
|
+
* @en The prefix of the css variable
|
|
12
|
+
* @default 'soui'
|
|
13
|
+
*/
|
|
14
|
+
prefix?: string;
|
|
8
15
|
}
|
|
9
|
-
export declare const
|
|
16
|
+
export declare const noti: Notification;
|
|
17
|
+
export type ObjectType<V = any> = {
|
|
18
|
+
[name: string]: V;
|
|
19
|
+
};
|
|
20
|
+
export declare const entries: (obj: ObjectType) => any[][];
|
|
21
|
+
export declare function set<Key extends keyof ConfigOption>(name: Key, value: ConfigOption[Key]): void;
|
|
22
|
+
export declare const setConfig: (options: Partial<ConfigOption>) => void;
|
|
23
|
+
export declare const getConfig: () => {
|
|
24
|
+
prefix: string;
|
|
10
25
|
cssvarPrefix: string;
|
|
11
26
|
};
|
|
12
27
|
export {};
|
package/esm/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,UAAU,YAAY;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,IAAI,cAAqB,CAAC;AAOvC,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,GAAG,IAAI;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,CAAA;CAAE,CAAC;AAExD,eAAO,MAAM,OAAO,QAAS,UAAU,YAItC,CAAC;AAEF,wBAAgB,GAAG,CAAC,GAAG,SAAS,MAAM,YAAY,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,QAGtF;AAED,eAAO,MAAM,SAAS,YAAa,QAAQ,YAAY,CAAC,SAIvD,CAAC;AAEF,eAAO,MAAM,SAAS;;;CAErB,CAAC"}
|
package/esm/config.js
CHANGED
|
@@ -1,20 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
|
-
var defaultConfig = {
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
4
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
5
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
6
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
|
+
import Notification from "./utils/notification";
|
|
9
|
+
export var noti = new Notification();
|
|
10
|
+
var config = {
|
|
11
|
+
prefix: 'soui',
|
|
15
12
|
cssvarPrefix: '--'
|
|
16
13
|
};
|
|
17
|
-
var
|
|
18
|
-
|
|
14
|
+
export var entries = function entries(obj) {
|
|
15
|
+
if (!obj) return [];
|
|
16
|
+
var keys = Object.keys(obj);
|
|
17
|
+
return keys.map(function (key) {
|
|
18
|
+
return [key, obj[key]];
|
|
19
|
+
});
|
|
19
20
|
};
|
|
20
|
-
|
|
21
|
+
export function set(name, value) {
|
|
22
|
+
if (value !== undefined && name in config) config[name] = value;
|
|
23
|
+
noti.dispatch(name);
|
|
24
|
+
}
|
|
25
|
+
export var setConfig = function setConfig(options) {
|
|
26
|
+
var _iterator = _createForOfIteratorHelper(entries(options)),
|
|
27
|
+
_step;
|
|
28
|
+
try {
|
|
29
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
30
|
+
var _step$value = _slicedToArray(_step.value, 2),
|
|
31
|
+
key = _step$value[0],
|
|
32
|
+
value = _step$value[1];
|
|
33
|
+
set(key, value);
|
|
34
|
+
}
|
|
35
|
+
} catch (err) {
|
|
36
|
+
_iterator.e(err);
|
|
37
|
+
} finally {
|
|
38
|
+
_iterator.f();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
export var getConfig = function getConfig() {
|
|
42
|
+
return config;
|
|
43
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,QAAA,MAAM,gBAAgB,EAAE,gBAuGvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
1
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
8
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
3
|
|
|
@@ -51,6 +45,7 @@ var datePickerTokens = {
|
|
|
51
45
|
datePickerPanelShadow: 'Shadow-2',
|
|
52
46
|
datePickerPanelRadius: 'Radius-4',
|
|
53
47
|
datePickerPanelMargin: 'Margin-24',
|
|
48
|
+
datePickerPanelBorder: 'Neutral-border-1',
|
|
54
49
|
datePickerPanelHeaderFontSize: '14/regular',
|
|
55
50
|
datePickerPanelHeaderPaddingX: 'Padding-12',
|
|
56
51
|
datePickerPanelHeaderPaddingY: 'Padding-8',
|
|
@@ -110,5 +105,4 @@ var datePickerTokens = {
|
|
|
110
105
|
datePickerQuickPanelItemPaddingY: 'Padding-2',
|
|
111
106
|
datePickerQuickPanelItemHoverBackgroundColor: 'Neutral-fill-2'
|
|
112
107
|
};
|
|
113
|
-
|
|
114
|
-
exports.default = _default;
|
|
108
|
+
export default datePickerTokens;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,CAAC;;AACtB,wBAA8C"}
|
package/esm/date-picker/index.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require("core-js/modules/web.dom-collections.iterator.js");
|
|
6
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
7
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
exports.default = void 0;
|
|
12
|
-
var _token = _interopRequireWildcard(require("../token"));
|
|
13
|
-
var _datePicker = _interopRequireDefault(require("./date-picker"));
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
var _default = (0, _token.tokenToVars)(_datePicker.default, _token.default);
|
|
17
|
-
exports.default = _default;
|
|
1
|
+
import token, { tokenToVars } from "../token";
|
|
2
|
+
import DatePicker from "./date-picker";
|
|
3
|
+
export { DatePicker };
|
|
4
|
+
export default tokenToVars(DatePicker, token);
|
package/esm/date-picker/rule.js
CHANGED
package/esm/date-picker/token.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
// 此文件受脚本控制,修改后将自动同步 type.ts datePicker.ts 的内容
|
|
4
2
|
// This file is script-controlled and any changes made will be automatically synchronized with the type.ts and datePicker.ts files.
|
|
5
3
|
|
|
@@ -185,6 +183,7 @@ var datePickerTokenExtraValue = {
|
|
|
185
183
|
shadow: 'Shadow-2',
|
|
186
184
|
radius: 'Radius-4',
|
|
187
185
|
margin: 'Margin-24',
|
|
186
|
+
border: 'Neutral-border-1',
|
|
188
187
|
header: {
|
|
189
188
|
font: {
|
|
190
189
|
size: '14/regular'
|
|
@@ -257,6 +257,12 @@ export interface DatePickerTokens {
|
|
|
257
257
|
* @description 日期选择器面板外边距
|
|
258
258
|
*/
|
|
259
259
|
datePickerPanelMargin: string;
|
|
260
|
+
/**
|
|
261
|
+
* @type {string}
|
|
262
|
+
* @token Neutral-border-1
|
|
263
|
+
* @description 日期选择器面板边框
|
|
264
|
+
*/
|
|
265
|
+
datePickerPanelBorder: string;
|
|
260
266
|
/**
|
|
261
267
|
* @type {string}
|
|
262
268
|
* @token 14/regular
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["type.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;OA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;IACH,2BAA2B,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,wBAAwB,EAAE,MAAM,CAAC;IACjC;;;;OAIG;IACH,8BAA8B,EAAE,MAAM,CAAC;IACvC;;;;OAIG;IACH,0BAA0B,EAAE,MAAM,CAAC;IACnC;;;;OAIG;IACH,iCAAiC,EAAE,MAAM,CAAC;IAC1C;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,uCAAuC,EAAE,MAAM,CAAC;IAChD;;;;OAIG;IACH,6BAA6B,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,+BAA+B,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,sCAAsC,EAAE,MAAM,CAAC;IAC/C;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,MAAM,CAAC;IACrC;;;;OAIG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,4CAA4C,EAAE,MAAM,CAAC;CACtD"}
|
package/esm/date-picker/type.js
CHANGED
|
@@ -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,
|
|
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,28 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
1
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
8
2
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
9
3
|
|
|
10
4
|
var descriptionsTokens = {
|
|
11
5
|
descriptionsTitlePaddingBottom: 'Padding-12',
|
|
12
|
-
descriptionsBorderPaddingTop: 'Padding-12',
|
|
13
|
-
descriptionsBorderPaddingBottom: 'Padding-12',
|
|
14
|
-
descriptionsBorderPaddingLeft: 'Padding-8',
|
|
15
|
-
descriptionsBorderPaddingRight: 'Padding-8',
|
|
16
6
|
descriptionsLabelPaddingBottom: 'Padding-12',
|
|
17
7
|
descriptionsLabelPaddingRight: 'Padding-8',
|
|
18
8
|
descriptionsValuePaddingBottom: 'Padding-12',
|
|
19
|
-
descriptionsTableSmallSize: '12/regular',
|
|
20
|
-
descriptionsTableDefaultSize: '14/regular',
|
|
21
|
-
descriptionsTableLargeSize: '16/regular',
|
|
22
9
|
descriptionsTitleSmallSize: '14/medium',
|
|
23
10
|
descriptionsTitleDefaultSize: '16/medium',
|
|
24
11
|
descriptionsTitleLargeSize: '18/medium',
|
|
25
12
|
descriptionsBorderDefaultSize: '1px',
|
|
13
|
+
descriptionsFontSmallSize: '12/regular',
|
|
14
|
+
descriptionsFontDefaultSize: '14/regular',
|
|
15
|
+
descriptionsFontLargeSize: '16/regular',
|
|
26
16
|
descriptionsLabelColor: 'Neutral-text-4',
|
|
27
17
|
descriptionsValueColor: 'Neutral-text-5',
|
|
28
18
|
descriptionsTitleColor: 'Neutral-text-5',
|
|
@@ -33,8 +23,9 @@ var descriptionsTokens = {
|
|
|
33
23
|
descriptionsBorderRadius: 'Size-2',
|
|
34
24
|
descriptionsBorderRightSize: '1px',
|
|
35
25
|
descriptionsBorderBottomSize: '1px',
|
|
26
|
+
descriptionsBorderPaddingX: 'Padding-8',
|
|
27
|
+
descriptionsBorderPaddingY: 'Padding-12',
|
|
36
28
|
descriptionsInlineBorderPaddingX: 'Padding-8',
|
|
37
29
|
descriptionsInlineBorderPaddingY: 'Padding-12'
|
|
38
30
|
};
|
|
39
|
-
|
|
40
|
-
exports.default = _default;
|
|
31
|
+
export default descriptionsTokens;
|