@sheinx/shineout-style 3.0.0-alpha.1
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 +4 -0
- package/cjs/alert/alert.js +135 -0
- package/cjs/alert/index.d.ts +4 -0
- package/cjs/alert/index.js +19 -0
- package/cjs/breadcrumb/breadcrumb.d.ts +16 -0
- package/cjs/breadcrumb/breadcrumb.js +83 -0
- package/cjs/breadcrumb/index.d.ts +4 -0
- package/cjs/breadcrumb/index.js +19 -0
- package/cjs/button/button.d.ts +4 -0
- package/cjs/button/button.js +416 -0
- package/cjs/button/index.d.ts +4 -0
- package/cjs/button/index.js +19 -0
- package/cjs/carousel/carousel.d.ts +35 -0
- package/cjs/carousel/carousel.js +315 -0
- package/cjs/carousel/index.d.ts +4 -0
- package/cjs/carousel/index.js +19 -0
- package/cjs/checkbox/checkbox.d.ts +4 -0
- package/cjs/checkbox/checkbox.js +143 -0
- package/cjs/checkbox/index.d.ts +4 -0
- package/cjs/checkbox/index.js +19 -0
- package/cjs/cssvar/checkbox.d.ts +10 -0
- package/cjs/cssvar/checkbox.js +18 -0
- package/cjs/cssvar/common.d.ts +23 -0
- package/cjs/cssvar/common.js +35 -0
- package/cjs/cssvar/form.d.ts +6 -0
- package/cjs/cssvar/form.js +13 -0
- package/cjs/cssvar/index.d.ts +75 -0
- package/cjs/cssvar/index.js +36 -0
- package/cjs/cssvar/innerTitle.d.ts +9 -0
- package/cjs/cssvar/innerTitle.js +15 -0
- package/cjs/cssvar/input.d.ts +25 -0
- package/cjs/cssvar/input.js +33 -0
- package/cjs/cssvar/radio.d.ts +6 -0
- package/cjs/cssvar/radio.js +13 -0
- package/cjs/date-picker/date-picker.d.ts +4 -0
- package/cjs/date-picker/date-picker.js +581 -0
- package/cjs/date-picker/index.d.ts +4 -0
- package/cjs/date-picker/index.js +19 -0
- package/cjs/divider/divider.d.ts +14 -0
- package/cjs/divider/divider.js +82 -0
- package/cjs/divider/index.d.ts +4 -0
- package/cjs/divider/index.js +20 -0
- package/cjs/dropdown/dropdown.d.ts +4 -0
- package/cjs/dropdown/dropdown.js +137 -0
- package/cjs/dropdown/index.d.ts +4 -0
- package/cjs/dropdown/index.js +20 -0
- package/cjs/editable-area/editable-area.d.ts +4 -0
- package/cjs/editable-area/editable-area.js +107 -0
- package/cjs/editable-area/index.d.ts +4 -0
- package/cjs/editable-area/index.js +20 -0
- package/cjs/empty/empty.d.ts +4 -0
- package/cjs/empty/empty.js +35 -0
- package/cjs/empty/index.d.ts +4 -0
- package/cjs/empty/index.js +20 -0
- package/cjs/form/form-item.d.ts +4 -0
- package/cjs/form/form-item.js +109 -0
- package/cjs/form/form.d.ts +4 -0
- package/cjs/form/form.js +23 -0
- package/cjs/form/index.d.ts +6 -0
- package/cjs/form/index.js +29 -0
- package/cjs/icon/icon.d.ts +4 -0
- package/cjs/icon/icon.js +52 -0
- package/cjs/icon/index.d.ts +4 -0
- package/cjs/icon/index.js +20 -0
- package/cjs/image/image.d.ts +42 -0
- package/cjs/image/image.js +374 -0
- package/cjs/image/index.d.ts +5 -0
- package/cjs/image/index.js +20 -0
- package/cjs/index.d.ts +43 -0
- package/cjs/index.js +503 -0
- package/cjs/inner-title/index.d.ts +4 -0
- package/cjs/inner-title/index.js +20 -0
- package/cjs/inner-title/inner-title.d.ts +4 -0
- package/cjs/inner-title/inner-title.js +63 -0
- package/cjs/input/index.d.ts +4 -0
- package/cjs/input/index.js +20 -0
- package/cjs/input/input-border.d.ts +32 -0
- package/cjs/input/input-border.js +112 -0
- package/cjs/input/input.d.ts +4 -0
- package/cjs/input/input.js +244 -0
- package/cjs/jss-style/handleStyle.d.ts +5 -0
- package/cjs/jss-style/handleStyle.js +95 -0
- package/cjs/jss-style/index.d.ts +11 -0
- package/cjs/jss-style/index.js +40 -0
- package/cjs/list/index.d.ts +4 -0
- package/cjs/list/index.js +20 -0
- package/cjs/list/list.d.ts +31 -0
- package/cjs/list/list.js +126 -0
- package/cjs/menu/index.d.ts +4 -0
- package/cjs/menu/index.js +20 -0
- package/cjs/menu/menu.d.ts +37 -0
- package/cjs/menu/menu.js +285 -0
- package/cjs/message/index.d.ts +4 -0
- package/cjs/message/index.js +20 -0
- package/cjs/message/message.d.ts +4 -0
- package/cjs/message/message.js +136 -0
- package/cjs/mixin/custom-scrollbar.d.ts +8 -0
- package/cjs/mixin/custom-scrollbar.js +14 -0
- package/cjs/mixin/divider.d.ts +8 -0
- package/cjs/mixin/divider.js +24 -0
- package/cjs/mixin/ellipsis.d.ts +3 -0
- package/cjs/mixin/ellipsis.js +20 -0
- package/cjs/mixin/hide-scrollbar.d.ts +6 -0
- package/cjs/mixin/hide-scrollbar.js +14 -0
- package/cjs/mixin/index.d.ts +4 -0
- package/cjs/mixin/index.js +34 -0
- package/cjs/modal/index.d.ts +4 -0
- package/cjs/modal/index.js +20 -0
- package/cjs/modal/modal.d.ts +32 -0
- package/cjs/modal/modal.js +395 -0
- package/cjs/pagination/index.d.ts +5 -0
- package/cjs/pagination/index.js +20 -0
- package/cjs/pagination/pagination.d.ts +18 -0
- package/cjs/pagination/pagination.js +56 -0
- package/cjs/popover/index.d.ts +4 -0
- package/cjs/popover/index.js +20 -0
- package/cjs/popover/popover.d.ts +4 -0
- package/cjs/popover/popover.js +183 -0
- package/cjs/progress/index.d.ts +4 -0
- package/cjs/progress/index.js +20 -0
- package/cjs/progress/progress.d.ts +26 -0
- package/cjs/progress/progress.js +162 -0
- package/cjs/radio/index.d.ts +4 -0
- package/cjs/radio/index.js +20 -0
- package/cjs/radio/radio.d.ts +4 -0
- package/cjs/radio/radio.js +148 -0
- package/cjs/rate/index.d.ts +4 -0
- package/cjs/rate/index.js +20 -0
- package/cjs/rate/rate.d.ts +17 -0
- package/cjs/rate/rate.js +108 -0
- package/cjs/select/index.d.ts +5 -0
- package/cjs/select/index.js +20 -0
- package/cjs/select/select.d.ts +42 -0
- package/cjs/select/select.js +218 -0
- package/cjs/slider/index.d.ts +4 -0
- package/cjs/slider/index.js +20 -0
- package/cjs/slider/slider.d.ts +23 -0
- package/cjs/slider/slider.js +228 -0
- package/cjs/spin/animation.d.ts +186 -0
- package/cjs/spin/animation.js +205 -0
- package/cjs/spin/chasing-dots.d.ts +23 -0
- package/cjs/spin/chasing-dots.js +30 -0
- package/cjs/spin/chasing-ring.d.ts +30 -0
- package/cjs/spin/chasing-ring.js +36 -0
- package/cjs/spin/cube-grid.d.ts +39 -0
- package/cjs/spin/cube-grid.js +46 -0
- package/cjs/spin/default.d.ts +9 -0
- package/cjs/spin/default.js +50 -0
- package/cjs/spin/double-bounce.d.ts +20 -0
- package/cjs/spin/double-bounce.js +26 -0
- package/cjs/spin/fading-circle.d.ts +11 -0
- package/cjs/spin/fading-circle.js +49 -0
- package/cjs/spin/four-dots.d.ts +40 -0
- package/cjs/spin/four-dots.js +46 -0
- package/cjs/spin/index.d.ts +4 -0
- package/cjs/spin/index.js +20 -0
- package/cjs/spin/plane.d.ts +7 -0
- package/cjs/spin/plane.js +13 -0
- package/cjs/spin/pulse.d.ts +8 -0
- package/cjs/spin/pulse.js +14 -0
- package/cjs/spin/ring.d.ts +11 -0
- package/cjs/spin/ring.js +17 -0
- package/cjs/spin/scale-circle.d.ts +11 -0
- package/cjs/spin/scale-circle.js +49 -0
- package/cjs/spin/spin.d.ts +4 -0
- package/cjs/spin/spin.js +102 -0
- package/cjs/spin/tree-bounce.d.ts +22 -0
- package/cjs/spin/tree-bounce.js +28 -0
- package/cjs/spin/wave.d.ts +8 -0
- package/cjs/spin/wave.js +40 -0
- package/cjs/steps/index.d.ts +5 -0
- package/cjs/steps/index.js +20 -0
- package/cjs/steps/steps.d.ts +29 -0
- package/cjs/steps/steps.js +559 -0
- package/cjs/sticky/index.d.ts +4 -0
- package/cjs/sticky/index.js +20 -0
- package/cjs/sticky/sticky.d.ts +7 -0
- package/cjs/sticky/sticky.js +15 -0
- package/cjs/switch/index.d.ts +4 -0
- package/cjs/switch/index.js +20 -0
- package/cjs/switch/switch.d.ts +4 -0
- package/cjs/switch/switch.js +148 -0
- package/cjs/table/index.d.ts +4 -0
- package/cjs/table/index.js +20 -0
- package/cjs/table/table.d.ts +47 -0
- package/cjs/table/table.js +374 -0
- package/cjs/tabs/index.d.ts +4 -0
- package/cjs/tabs/index.js +20 -0
- package/cjs/tabs/tabs.d.ts +4 -0
- package/cjs/tabs/tabs.js +619 -0
- package/cjs/tag/index.d.ts +4 -0
- package/cjs/tag/index.js +20 -0
- package/cjs/tag/tag.d.ts +4 -0
- package/cjs/tag/tag.js +203 -0
- package/cjs/textarea/index.d.ts +4 -0
- package/cjs/textarea/index.js +20 -0
- package/cjs/textarea/textarea.d.ts +4 -0
- package/cjs/textarea/textarea.js +134 -0
- package/cjs/tooltip/index.d.ts +4 -0
- package/cjs/tooltip/index.js +20 -0
- package/cjs/tooltip/tooltip.d.ts +4 -0
- package/cjs/tooltip/tooltip.js +220 -0
- package/cjs/transfer/index.d.ts +4 -0
- package/cjs/transfer/index.js +20 -0
- package/cjs/transfer/transfer.d.ts +4 -0
- package/cjs/transfer/transfer.js +198 -0
- package/cjs/tree/index.d.ts +4 -0
- package/cjs/tree/index.js +20 -0
- package/cjs/tree/tree.d.ts +4 -0
- package/cjs/tree/tree.js +185 -0
- package/cjs/upload/index.d.ts +4 -0
- package/cjs/upload/index.js +20 -0
- package/cjs/upload/upload.d.ts +40 -0
- package/cjs/upload/upload.js +331 -0
- package/cjs/virtual-scroll/index.d.ts +4 -0
- package/cjs/virtual-scroll/index.js +19 -0
- package/cjs/virtual-scroll/virtual-scroll.d.ts +4 -0
- package/cjs/virtual-scroll/virtual-scroll.js +37 -0
- package/esm/alert/alert.d.ts +4 -0
- package/esm/alert/alert.js +135 -0
- package/esm/alert/index.d.ts +4 -0
- package/esm/alert/index.js +19 -0
- package/esm/breadcrumb/breadcrumb.d.ts +16 -0
- package/esm/breadcrumb/breadcrumb.js +83 -0
- package/esm/breadcrumb/index.d.ts +4 -0
- package/esm/breadcrumb/index.js +19 -0
- package/esm/button/button.d.ts +4 -0
- package/esm/button/button.js +416 -0
- package/esm/button/index.d.ts +4 -0
- package/esm/button/index.js +19 -0
- package/esm/carousel/carousel.d.ts +35 -0
- package/esm/carousel/carousel.js +315 -0
- package/esm/carousel/index.d.ts +4 -0
- package/esm/carousel/index.js +19 -0
- package/esm/checkbox/checkbox.d.ts +4 -0
- package/esm/checkbox/checkbox.js +143 -0
- package/esm/checkbox/index.d.ts +4 -0
- package/esm/checkbox/index.js +19 -0
- package/esm/cssvar/checkbox.d.ts +10 -0
- package/esm/cssvar/checkbox.js +18 -0
- package/esm/cssvar/common.d.ts +23 -0
- package/esm/cssvar/common.js +35 -0
- package/esm/cssvar/form.d.ts +6 -0
- package/esm/cssvar/form.js +13 -0
- package/esm/cssvar/index.d.ts +75 -0
- package/esm/cssvar/index.js +36 -0
- package/esm/cssvar/innerTitle.d.ts +9 -0
- package/esm/cssvar/innerTitle.js +15 -0
- package/esm/cssvar/input.d.ts +25 -0
- package/esm/cssvar/input.js +33 -0
- package/esm/cssvar/radio.d.ts +6 -0
- package/esm/cssvar/radio.js +13 -0
- package/esm/date-picker/date-picker.d.ts +4 -0
- package/esm/date-picker/date-picker.js +581 -0
- package/esm/date-picker/index.d.ts +4 -0
- package/esm/date-picker/index.js +19 -0
- package/esm/divider/divider.d.ts +14 -0
- package/esm/divider/divider.js +82 -0
- package/esm/divider/index.d.ts +4 -0
- package/esm/divider/index.js +20 -0
- package/esm/dropdown/dropdown.d.ts +4 -0
- package/esm/dropdown/dropdown.js +137 -0
- package/esm/dropdown/index.d.ts +4 -0
- package/esm/dropdown/index.js +20 -0
- package/esm/editable-area/editable-area.d.ts +4 -0
- package/esm/editable-area/editable-area.js +107 -0
- package/esm/editable-area/index.d.ts +4 -0
- package/esm/editable-area/index.js +20 -0
- package/esm/empty/empty.d.ts +4 -0
- package/esm/empty/empty.js +35 -0
- package/esm/empty/index.d.ts +4 -0
- package/esm/empty/index.js +20 -0
- package/esm/form/form-item.d.ts +4 -0
- package/esm/form/form-item.js +109 -0
- package/esm/form/form.d.ts +4 -0
- package/esm/form/form.js +23 -0
- package/esm/form/index.d.ts +6 -0
- package/esm/form/index.js +29 -0
- package/esm/icon/icon.d.ts +4 -0
- package/esm/icon/icon.js +52 -0
- package/esm/icon/index.d.ts +4 -0
- package/esm/icon/index.js +20 -0
- package/esm/image/image.d.ts +42 -0
- package/esm/image/image.js +374 -0
- package/esm/image/index.d.ts +5 -0
- package/esm/image/index.js +20 -0
- package/esm/index.d.ts +43 -0
- package/esm/index.js +503 -0
- package/esm/inner-title/index.d.ts +4 -0
- package/esm/inner-title/index.js +20 -0
- package/esm/inner-title/inner-title.d.ts +4 -0
- package/esm/inner-title/inner-title.js +63 -0
- package/esm/input/index.d.ts +4 -0
- package/esm/input/index.js +20 -0
- package/esm/input/input-border.d.ts +32 -0
- package/esm/input/input-border.js +112 -0
- package/esm/input/input.d.ts +4 -0
- package/esm/input/input.js +244 -0
- package/esm/jss-style/handleStyle.d.ts +5 -0
- package/esm/jss-style/handleStyle.js +95 -0
- package/esm/jss-style/index.d.ts +11 -0
- package/esm/jss-style/index.js +40 -0
- package/esm/list/index.d.ts +4 -0
- package/esm/list/index.js +20 -0
- package/esm/list/list.d.ts +31 -0
- package/esm/list/list.js +126 -0
- package/esm/menu/index.d.ts +4 -0
- package/esm/menu/index.js +20 -0
- package/esm/menu/menu.d.ts +37 -0
- package/esm/menu/menu.js +285 -0
- package/esm/message/index.d.ts +4 -0
- package/esm/message/index.js +20 -0
- package/esm/message/message.d.ts +4 -0
- package/esm/message/message.js +136 -0
- package/esm/mixin/custom-scrollbar.d.ts +8 -0
- package/esm/mixin/custom-scrollbar.js +14 -0
- package/esm/mixin/divider.d.ts +8 -0
- package/esm/mixin/divider.js +24 -0
- package/esm/mixin/ellipsis.d.ts +3 -0
- package/esm/mixin/ellipsis.js +20 -0
- package/esm/mixin/hide-scrollbar.d.ts +6 -0
- package/esm/mixin/hide-scrollbar.js +14 -0
- package/esm/mixin/index.d.ts +4 -0
- package/esm/mixin/index.js +34 -0
- package/esm/modal/index.d.ts +4 -0
- package/esm/modal/index.js +20 -0
- package/esm/modal/modal.d.ts +32 -0
- package/esm/modal/modal.js +395 -0
- package/esm/pagination/index.d.ts +5 -0
- package/esm/pagination/index.js +20 -0
- package/esm/pagination/pagination.d.ts +18 -0
- package/esm/pagination/pagination.js +56 -0
- package/esm/popover/index.d.ts +4 -0
- package/esm/popover/index.js +20 -0
- package/esm/popover/popover.d.ts +4 -0
- package/esm/popover/popover.js +183 -0
- package/esm/progress/index.d.ts +4 -0
- package/esm/progress/index.js +20 -0
- package/esm/progress/progress.d.ts +26 -0
- package/esm/progress/progress.js +162 -0
- package/esm/radio/index.d.ts +4 -0
- package/esm/radio/index.js +20 -0
- package/esm/radio/radio.d.ts +4 -0
- package/esm/radio/radio.js +148 -0
- package/esm/rate/index.d.ts +4 -0
- package/esm/rate/index.js +20 -0
- package/esm/rate/rate.d.ts +17 -0
- package/esm/rate/rate.js +108 -0
- package/esm/select/index.d.ts +5 -0
- package/esm/select/index.js +20 -0
- package/esm/select/select.d.ts +42 -0
- package/esm/select/select.js +218 -0
- package/esm/slider/index.d.ts +4 -0
- package/esm/slider/index.js +20 -0
- package/esm/slider/slider.d.ts +23 -0
- package/esm/slider/slider.js +228 -0
- package/esm/spin/animation.d.ts +186 -0
- package/esm/spin/animation.js +205 -0
- package/esm/spin/chasing-dots.d.ts +23 -0
- package/esm/spin/chasing-dots.js +30 -0
- package/esm/spin/chasing-ring.d.ts +30 -0
- package/esm/spin/chasing-ring.js +36 -0
- package/esm/spin/cube-grid.d.ts +39 -0
- package/esm/spin/cube-grid.js +46 -0
- package/esm/spin/default.d.ts +9 -0
- package/esm/spin/default.js +50 -0
- package/esm/spin/double-bounce.d.ts +20 -0
- package/esm/spin/double-bounce.js +26 -0
- package/esm/spin/fading-circle.d.ts +11 -0
- package/esm/spin/fading-circle.js +49 -0
- package/esm/spin/four-dots.d.ts +40 -0
- package/esm/spin/four-dots.js +46 -0
- package/esm/spin/index.d.ts +4 -0
- package/esm/spin/index.js +20 -0
- package/esm/spin/plane.d.ts +7 -0
- package/esm/spin/plane.js +13 -0
- package/esm/spin/pulse.d.ts +8 -0
- package/esm/spin/pulse.js +14 -0
- package/esm/spin/ring.d.ts +11 -0
- package/esm/spin/ring.js +17 -0
- package/esm/spin/scale-circle.d.ts +11 -0
- package/esm/spin/scale-circle.js +49 -0
- package/esm/spin/spin.d.ts +4 -0
- package/esm/spin/spin.js +102 -0
- package/esm/spin/tree-bounce.d.ts +22 -0
- package/esm/spin/tree-bounce.js +28 -0
- package/esm/spin/wave.d.ts +8 -0
- package/esm/spin/wave.js +40 -0
- package/esm/steps/index.d.ts +5 -0
- package/esm/steps/index.js +20 -0
- package/esm/steps/steps.d.ts +29 -0
- package/esm/steps/steps.js +559 -0
- package/esm/sticky/index.d.ts +4 -0
- package/esm/sticky/index.js +20 -0
- package/esm/sticky/sticky.d.ts +7 -0
- package/esm/sticky/sticky.js +15 -0
- package/esm/switch/index.d.ts +4 -0
- package/esm/switch/index.js +20 -0
- package/esm/switch/switch.d.ts +4 -0
- package/esm/switch/switch.js +148 -0
- package/esm/table/index.d.ts +4 -0
- package/esm/table/index.js +20 -0
- package/esm/table/table.d.ts +47 -0
- package/esm/table/table.js +374 -0
- package/esm/tabs/index.d.ts +4 -0
- package/esm/tabs/index.js +20 -0
- package/esm/tabs/tabs.d.ts +4 -0
- package/esm/tabs/tabs.js +619 -0
- package/esm/tag/index.d.ts +4 -0
- package/esm/tag/index.js +20 -0
- package/esm/tag/tag.d.ts +4 -0
- package/esm/tag/tag.js +203 -0
- package/esm/textarea/index.d.ts +4 -0
- package/esm/textarea/index.js +20 -0
- package/esm/textarea/textarea.d.ts +4 -0
- package/esm/textarea/textarea.js +134 -0
- package/esm/tooltip/index.d.ts +4 -0
- package/esm/tooltip/index.js +20 -0
- package/esm/tooltip/tooltip.d.ts +4 -0
- package/esm/tooltip/tooltip.js +220 -0
- package/esm/transfer/index.d.ts +4 -0
- package/esm/transfer/index.js +20 -0
- package/esm/transfer/transfer.d.ts +4 -0
- package/esm/transfer/transfer.js +198 -0
- package/esm/tree/index.d.ts +4 -0
- package/esm/tree/index.js +20 -0
- package/esm/tree/tree.d.ts +4 -0
- package/esm/tree/tree.js +185 -0
- package/esm/upload/index.d.ts +4 -0
- package/esm/upload/index.js +20 -0
- package/esm/upload/upload.d.ts +40 -0
- package/esm/upload/upload.js +331 -0
- package/esm/virtual-scroll/index.d.ts +4 -0
- package/esm/virtual-scroll/index.js +19 -0
- package/esm/virtual-scroll/virtual-scroll.d.ts +4 -0
- package/esm/virtual-scroll/virtual-scroll.js +37 -0
- package/package.json +17 -0
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.array.filter.js");
|
|
4
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
5
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
6
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.default = void 0;
|
|
11
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
|
+
var _theme = _interopRequireDefault(require("@sheinx/theme"));
|
|
13
|
+
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; }
|
|
14
|
+
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; }
|
|
15
|
+
var carouselDuration = '0.4s';
|
|
16
|
+
var animations = {
|
|
17
|
+
'@keyframes r2c': {
|
|
18
|
+
'0%': {
|
|
19
|
+
transform: 'translateX(100%)'
|
|
20
|
+
},
|
|
21
|
+
'100%': {
|
|
22
|
+
transform: 'translateX(0)'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
'@keyframes c2r': {
|
|
26
|
+
'0%': {
|
|
27
|
+
transform: 'translateX(0)'
|
|
28
|
+
},
|
|
29
|
+
'100%': {
|
|
30
|
+
transform: 'translateX(100%)'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'@keyframes l2c': {
|
|
34
|
+
'0%': {
|
|
35
|
+
transform: 'translateX(-100%)'
|
|
36
|
+
},
|
|
37
|
+
'100%': {
|
|
38
|
+
transform: 'translateX(0)'
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
'@keyframes c2l': {
|
|
42
|
+
'0%': {
|
|
43
|
+
transform: 'translateX(0)'
|
|
44
|
+
},
|
|
45
|
+
'100%': {
|
|
46
|
+
transform: 'translateX(-100%)'
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
'@keyframes t2c': {
|
|
50
|
+
'0%': {
|
|
51
|
+
transform: 'translateY(-100%)'
|
|
52
|
+
},
|
|
53
|
+
'100%': {
|
|
54
|
+
transform: 'translateY(0)'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
'@keyframes c2t': {
|
|
58
|
+
'0%': {
|
|
59
|
+
transform: 'translateY(0)'
|
|
60
|
+
},
|
|
61
|
+
'100%': {
|
|
62
|
+
transform: 'translateY(-100%)'
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
'@keyframes b2c': {
|
|
66
|
+
'0%': {
|
|
67
|
+
transform: 'translateY(100%)'
|
|
68
|
+
},
|
|
69
|
+
'100%': {
|
|
70
|
+
transform: 'translateY(0)'
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
'@keyframes c2b': {
|
|
74
|
+
'0%': {
|
|
75
|
+
transform: 'translateY(0)'
|
|
76
|
+
},
|
|
77
|
+
'100%': {
|
|
78
|
+
transform: 'translateY(100%)'
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
'@keyframes fade-in': {
|
|
82
|
+
'0%': {
|
|
83
|
+
opacity: 0
|
|
84
|
+
},
|
|
85
|
+
'100%': {
|
|
86
|
+
opacity: 1
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
'@keyframes fade-out': {
|
|
90
|
+
'0%': {
|
|
91
|
+
opacity: 1
|
|
92
|
+
},
|
|
93
|
+
'100%': {
|
|
94
|
+
opacity: 0
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
var carouselStyle = _objectSpread(_objectSpread({}, animations), {}, {
|
|
99
|
+
wrapper: {
|
|
100
|
+
position: 'relative',
|
|
101
|
+
zIndex: 0
|
|
102
|
+
},
|
|
103
|
+
animationSlide: {},
|
|
104
|
+
animationFade: {},
|
|
105
|
+
animationSlideY: {},
|
|
106
|
+
directionForward: {},
|
|
107
|
+
directionBackward: {},
|
|
108
|
+
directionStop: {},
|
|
109
|
+
slider: {
|
|
110
|
+
width: '100%',
|
|
111
|
+
height: '100%',
|
|
112
|
+
position: 'relative',
|
|
113
|
+
overflow: 'hidden'
|
|
114
|
+
},
|
|
115
|
+
item: {
|
|
116
|
+
position: 'absolute',
|
|
117
|
+
top: 0,
|
|
118
|
+
left: 0,
|
|
119
|
+
width: '100%',
|
|
120
|
+
height: '100%',
|
|
121
|
+
background: '#e9e9e9',
|
|
122
|
+
'& > *': {
|
|
123
|
+
width: '100%',
|
|
124
|
+
height: '100%'
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
itemCurrent: {
|
|
128
|
+
zIndex: 10,
|
|
129
|
+
'$animationSlide$directionForward &': {
|
|
130
|
+
animation: "$r2c ".concat(carouselDuration, " ease-in-out")
|
|
131
|
+
},
|
|
132
|
+
'$animationSlide$directionBackward &': {
|
|
133
|
+
animation: "$l2c ".concat(carouselDuration, " ease-in-out")
|
|
134
|
+
},
|
|
135
|
+
'$animationSlideY$directionForward &': {
|
|
136
|
+
animation: "$b2c ".concat(carouselDuration, " ease-in-out")
|
|
137
|
+
},
|
|
138
|
+
'$animationSlideY$directionBackward &': {
|
|
139
|
+
animation: "$t2c ".concat(carouselDuration, " ease-in-out")
|
|
140
|
+
},
|
|
141
|
+
'$animationFade &': {
|
|
142
|
+
animation: "$fade-in ".concat(carouselDuration, " ease-in-out")
|
|
143
|
+
},
|
|
144
|
+
'$directionStop &': {
|
|
145
|
+
animation: 'none'
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
itemPre: {
|
|
149
|
+
zIndex: 9,
|
|
150
|
+
'$animationSlide$directionForward &': {
|
|
151
|
+
animation: "$c2l ".concat(carouselDuration, " ease-in-out")
|
|
152
|
+
},
|
|
153
|
+
'$animationSlide$directionBackward &': {
|
|
154
|
+
animation: "$c2r ".concat(carouselDuration, " ease-in-out")
|
|
155
|
+
},
|
|
156
|
+
'$animationSlideY$directionForward &': {
|
|
157
|
+
animation: "$c2t ".concat(carouselDuration, " ease-in-out")
|
|
158
|
+
},
|
|
159
|
+
'$animationSlideY$directionBackward &': {
|
|
160
|
+
animation: "$c2b ".concat(carouselDuration, " ease-in-out")
|
|
161
|
+
},
|
|
162
|
+
'$animationFade &': {
|
|
163
|
+
animation: "$fade-out ".concat(carouselDuration, " ease-in-out")
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
arrowWrapper: {},
|
|
167
|
+
arrowHover: {
|
|
168
|
+
'& $arrowItem': {
|
|
169
|
+
opacity: 0
|
|
170
|
+
},
|
|
171
|
+
'$wrapper:hover & $arrowItem': {
|
|
172
|
+
opacity: 1
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
arrowItem: {
|
|
176
|
+
position: 'absolute',
|
|
177
|
+
top: '50%',
|
|
178
|
+
transform: 'translateY(-50%)',
|
|
179
|
+
width: _theme.default.carouselArrowSize,
|
|
180
|
+
height: _theme.default.carouselArrowSize,
|
|
181
|
+
borderRadius: _theme.default.carouselArrowBorderRadius,
|
|
182
|
+
color: _theme.default.carouselArrowFontColor,
|
|
183
|
+
background: _theme.default.carouselArrowBackgroundColor,
|
|
184
|
+
zIndex: 100,
|
|
185
|
+
display: 'flex',
|
|
186
|
+
justifyContent: 'center',
|
|
187
|
+
alignItems: 'center',
|
|
188
|
+
cursor: 'pointer',
|
|
189
|
+
'& svg': {
|
|
190
|
+
width: _theme.default.carouselArrowIconSize,
|
|
191
|
+
height: _theme.default.carouselArrowIconSize
|
|
192
|
+
},
|
|
193
|
+
'&:hover': {
|
|
194
|
+
background: _theme.default.carouselArrowHoverBackgroundColor
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
arrowLeft: {
|
|
198
|
+
left: '12px',
|
|
199
|
+
'&::after': {
|
|
200
|
+
transform: 'translateX(35%) rotate(-135deg)'
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
arrowRight: {
|
|
204
|
+
right: '12px',
|
|
205
|
+
'&::after': {
|
|
206
|
+
transform: 'translateX(-15%) rotate(45deg)'
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
indicatorWrapper: {
|
|
210
|
+
position: 'absolute',
|
|
211
|
+
zIndex: 10,
|
|
212
|
+
display: 'flex',
|
|
213
|
+
justifyContent: 'center',
|
|
214
|
+
alignItems: 'center'
|
|
215
|
+
},
|
|
216
|
+
indicatorCenter: {
|
|
217
|
+
bottom: '0',
|
|
218
|
+
left: '0',
|
|
219
|
+
right: '0',
|
|
220
|
+
height: _theme.default.carouselIndicatorWrapperHeight,
|
|
221
|
+
background: 'linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)'
|
|
222
|
+
},
|
|
223
|
+
indicatorLeft: {
|
|
224
|
+
left: '0',
|
|
225
|
+
top: '0',
|
|
226
|
+
bottom: '0',
|
|
227
|
+
width: _theme.default.carouselIndicatorWrapperHeight,
|
|
228
|
+
flexDirection: 'column',
|
|
229
|
+
background: 'linear-gradient(-90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)'
|
|
230
|
+
},
|
|
231
|
+
indicatorRight: {
|
|
232
|
+
right: '0',
|
|
233
|
+
top: '0',
|
|
234
|
+
bottom: '0',
|
|
235
|
+
width: _theme.default.carouselIndicatorWrapperHeight,
|
|
236
|
+
flexDirection: 'column',
|
|
237
|
+
background: 'linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%)'
|
|
238
|
+
},
|
|
239
|
+
indicatorOuter: {
|
|
240
|
+
position: 'static',
|
|
241
|
+
width: '100%',
|
|
242
|
+
height: '38px',
|
|
243
|
+
display: 'flex',
|
|
244
|
+
justifyContent: 'center',
|
|
245
|
+
alignItems: 'center'
|
|
246
|
+
},
|
|
247
|
+
indicatorTypeNumber: {},
|
|
248
|
+
indicatorTypeCircle: {
|
|
249
|
+
'& $indicator': {
|
|
250
|
+
'&:not(:first-child)': {
|
|
251
|
+
marginLeft: _theme.default.carouselIndicatorCircleGap
|
|
252
|
+
},
|
|
253
|
+
width: _theme.default.carouselIndicatorCircleWidth,
|
|
254
|
+
height: _theme.default.carouselIndicatorCircleWidth,
|
|
255
|
+
borderRadius: '50%'
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
indicatorTypeLine: {
|
|
259
|
+
'& $indicator': {
|
|
260
|
+
'&:not(:first-child)': {
|
|
261
|
+
marginLeft: _theme.default.carouselIndicatorLineGap
|
|
262
|
+
},
|
|
263
|
+
width: _theme.default.carouselIndicatorLineWidth,
|
|
264
|
+
height: _theme.default.carouselIndicatorLineHeight,
|
|
265
|
+
borderRadius: '100px'
|
|
266
|
+
},
|
|
267
|
+
'$indicatorLeft& $indicator, $indicatorRight& $indicator': {
|
|
268
|
+
width: _theme.default.carouselIndicatorLineHeight,
|
|
269
|
+
height: _theme.default.carouselIndicatorLineWidth
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
indicatorTypeSlider: {},
|
|
273
|
+
indicatorArrow: {
|
|
274
|
+
width: _theme.default.carouselIndicatorArrowSize,
|
|
275
|
+
height: _theme.default.carouselIndicatorArrowSize,
|
|
276
|
+
cursor: 'pointer',
|
|
277
|
+
color: _theme.default.carouselIndicatorArrowColor,
|
|
278
|
+
'&:hover': {
|
|
279
|
+
color: _theme.default.carouselIndicatorArrowHoverColor
|
|
280
|
+
},
|
|
281
|
+
'$indicatorOuter &': {
|
|
282
|
+
color: _theme.default.carouselIndicatorOuterArrowColor,
|
|
283
|
+
'&:hover': {
|
|
284
|
+
color: _theme.default.carouselIndicatorOuterArrowHoverColor
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
'$indicatorLeft &, $indicatorRight &': {
|
|
288
|
+
transform: 'rotate(90deg)'
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
indicatorNumber: {
|
|
292
|
+
margin: '0 8px',
|
|
293
|
+
fontSize: _theme.default.carouselIndicatorNumberFontSize,
|
|
294
|
+
lineHeight: 1,
|
|
295
|
+
color: _theme.default.carouselIndicatorNumberColor,
|
|
296
|
+
'$indicatorOuter &': {
|
|
297
|
+
color: _theme.default.carouselIndicatorOuterNumberColor
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
indicator: {
|
|
301
|
+
cursor: 'pointer',
|
|
302
|
+
backgroundColor: _theme.default.carouselIndicatorBackgroundColor,
|
|
303
|
+
'$indicatorOuter &': {
|
|
304
|
+
backgroundColor: _theme.default.carouselIndicatorOuterBackgroundColor
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
indicatorActive: {
|
|
308
|
+
backgroundColor: _theme.default.carouselIndicatorActiveBackgroundColor,
|
|
309
|
+
'$indicatorOuter &': {
|
|
310
|
+
backgroundColor: _theme.default.carouselIndicatorOuterActiveBackgroundColor
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
var _default = carouselStyle;
|
|
315
|
+
exports.default = _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "carouselStyle", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _carousel.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
exports.useCarouselStyle = exports.default = void 0;
|
|
14
|
+
var _jssStyle = require("../jss-style");
|
|
15
|
+
var _carousel = _interopRequireDefault(require("./carousel"));
|
|
16
|
+
var useCarouselStyle = (0, _jssStyle.styled)(_carousel.default, 'carousel');
|
|
17
|
+
exports.useCarouselStyle = useCarouselStyle;
|
|
18
|
+
var _default = useCarouselStyle;
|
|
19
|
+
exports.default = _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { JsStyles } from '../jss-style';
|
|
2
|
+
export declare type CheckboxClass = 'wrapper' | 'wrapperSmall' | 'wrapperLarge' | 'wrapperDisabled' | 'wrapperChecked' | 'wrapperIndeterminate' | 'indicator' | 'indicatorWrapper' | 'darkIndicatorWrapper' | 'desc' | 'input' | 'group' | 'groupBlock';
|
|
3
|
+
declare const checkboxStyle: JsStyles<CheckboxClass>;
|
|
4
|
+
export default checkboxStyle;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _theme = _interopRequireDefault(require("@sheinx/theme"));
|
|
9
|
+
var checkboxStyle = {
|
|
10
|
+
wrapper: {
|
|
11
|
+
display: 'inline-flex',
|
|
12
|
+
position: 'relative',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
cursor: 'pointer',
|
|
15
|
+
boxSizing: 'border-box',
|
|
16
|
+
marginRight: _theme.default.checkboxGap,
|
|
17
|
+
'& $input': {
|
|
18
|
+
width: 'auto',
|
|
19
|
+
marginLeft: _theme.default.checkboxIconGap
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
wrapperSmall: {},
|
|
23
|
+
wrapperLarge: {},
|
|
24
|
+
input: {},
|
|
25
|
+
wrapperChecked: {},
|
|
26
|
+
wrapperIndeterminate: {},
|
|
27
|
+
wrapperDisabled: {
|
|
28
|
+
cursor: 'not-allowed'
|
|
29
|
+
},
|
|
30
|
+
indicatorWrapper: {
|
|
31
|
+
display: 'block',
|
|
32
|
+
position: 'relative',
|
|
33
|
+
boxSizing: 'border-box',
|
|
34
|
+
width: _theme.default.checkboxIconSize,
|
|
35
|
+
height: _theme.default.checkboxIconSize,
|
|
36
|
+
'$wrapperSmall &': {
|
|
37
|
+
width: _theme.default.checkboxSmallIconSize,
|
|
38
|
+
height: _theme.default.checkboxSmallIconSize
|
|
39
|
+
},
|
|
40
|
+
'$wrapperLarge &': {
|
|
41
|
+
width: _theme.default.checkboxLargeIconSize,
|
|
42
|
+
height: _theme.default.checkboxLargeIconSize
|
|
43
|
+
},
|
|
44
|
+
verticalAlign: 'middle',
|
|
45
|
+
'&::before': {
|
|
46
|
+
content: '" "',
|
|
47
|
+
display: 'block',
|
|
48
|
+
width: '100%',
|
|
49
|
+
height: '100%',
|
|
50
|
+
padding: _theme.default.iconCirclePadding,
|
|
51
|
+
position: 'absolute',
|
|
52
|
+
top: '50%',
|
|
53
|
+
left: '50%',
|
|
54
|
+
transform: 'translate(-50%, -50%)',
|
|
55
|
+
boxSizing: 'content-box',
|
|
56
|
+
background: 'transparent',
|
|
57
|
+
borderRadius: '50%'
|
|
58
|
+
},
|
|
59
|
+
'$wrapper:not($wrapperChecked):not($wrapperIndeterminate):not($wrapperDisabled):hover &': {
|
|
60
|
+
'&::before': {
|
|
61
|
+
background: _theme.default.checkboxIconCircleFill
|
|
62
|
+
},
|
|
63
|
+
'& $indicator': {
|
|
64
|
+
backgroundColor: _theme.default.checkboxIconHoverBackgroundColor,
|
|
65
|
+
color: _theme.default.checkboxIconHoverColor
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
darkIndicatorWrapper: {
|
|
70
|
+
'$wrapper:not($wrapperChecked):not($wrapperIndeterminate):not($wrapperDisabled):hover &': {
|
|
71
|
+
'&::before': {
|
|
72
|
+
background: _theme.default.checkboxIconCircleDark
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
indicator: {
|
|
77
|
+
position: 'absolute',
|
|
78
|
+
boxSizing: 'border-box',
|
|
79
|
+
top: '0',
|
|
80
|
+
left: '0',
|
|
81
|
+
width: '100%',
|
|
82
|
+
height: '100%',
|
|
83
|
+
borderRadius: _theme.default.checkboxIconBorderRadius,
|
|
84
|
+
borderStyle: 'solid',
|
|
85
|
+
borderWidth: _theme.default.checkboxIconBorderWidth,
|
|
86
|
+
borderColor: _theme.default.checkboxIconBorderColor,
|
|
87
|
+
backgroundColor: _theme.default.checkboxIconBackgroundColor,
|
|
88
|
+
color: _theme.default.checkboxIconColor,
|
|
89
|
+
display: 'block',
|
|
90
|
+
verticalAlign: 'middle',
|
|
91
|
+
'& > svg': {
|
|
92
|
+
position: 'absolute',
|
|
93
|
+
width: '80%',
|
|
94
|
+
top: '50%',
|
|
95
|
+
left: '50%',
|
|
96
|
+
transform: 'translateY(-50%) translateX(-50%)'
|
|
97
|
+
},
|
|
98
|
+
'$wrapperChecked &, $wrapperIndeterminate &': {
|
|
99
|
+
borderColor: _theme.default.checkboxIconCheckedBorderColor,
|
|
100
|
+
borderWidth: 0,
|
|
101
|
+
backgroundColor: _theme.default.checkboxIconCheckedBackgroundColor,
|
|
102
|
+
color: _theme.default.checkboxIconCheckedColor
|
|
103
|
+
},
|
|
104
|
+
'$wrapperDisabled &': {
|
|
105
|
+
borderColor: _theme.default.checkboxIconDisabledBorderColor,
|
|
106
|
+
backgroundColor: _theme.default.checkboxIconDisabledBackgroundColor,
|
|
107
|
+
color: _theme.default.checkboxIconDisabledColor
|
|
108
|
+
},
|
|
109
|
+
'$wrapperDisabled$wrapperChecked &, $wrapperDisabled$wrapperIndeterminate &': {
|
|
110
|
+
borderColor: _theme.default.checkboxIconCheckedDisabledBorderColor,
|
|
111
|
+
backgroundColor: _theme.default.checkboxIconCheckedDisabledBackgroundColor,
|
|
112
|
+
color: _theme.default.checkboxIconCheckedDisabledColor
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
desc: {
|
|
116
|
+
verticalAlign: 'middle',
|
|
117
|
+
boxSizing: 'border-box',
|
|
118
|
+
marginLeft: _theme.default.checkboxIconGap,
|
|
119
|
+
fontSize: _theme.default.checkboxLabelFontSize,
|
|
120
|
+
'$wrapperSmall &': {
|
|
121
|
+
fontSize: _theme.default.checkboxSmallLabelFontSize
|
|
122
|
+
},
|
|
123
|
+
'$wrapperLarge &': {
|
|
124
|
+
fontSize: _theme.default.checkboxLargeLabelFontSize
|
|
125
|
+
},
|
|
126
|
+
lineHeight: _theme.default.lineHeightDynamic,
|
|
127
|
+
color: _theme.default.checkboxLabelFontColor,
|
|
128
|
+
'$wrapperDisabled &': {
|
|
129
|
+
color: _theme.default.checkboxLabelDisabledFontColor
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
group: {
|
|
133
|
+
// padding: '5px 0',
|
|
134
|
+
},
|
|
135
|
+
groupBlock: {
|
|
136
|
+
'& $wrapper': {
|
|
137
|
+
display: 'flex',
|
|
138
|
+
marginBottom: _theme.default.checkboxBlockGap
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
var _default = checkboxStyle;
|
|
143
|
+
exports.default = _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
Object.defineProperty(exports, "checkboxStyle", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _checkbox.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
exports.useCheckboxStyle = exports.default = void 0;
|
|
14
|
+
var _jssStyle = require("../jss-style");
|
|
15
|
+
var _checkbox = _interopRequireDefault(require("./checkbox"));
|
|
16
|
+
var useCheckboxStyle = (0, _jssStyle.styled)(_checkbox.default, 'checkbox');
|
|
17
|
+
exports.useCheckboxStyle = useCheckboxStyle;
|
|
18
|
+
var _default = useCheckboxStyle;
|
|
19
|
+
exports.default = _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
checkinputColor: string;
|
|
3
|
+
checkboxWidth: string;
|
|
4
|
+
checkboxBorderUncheckWidth: string;
|
|
5
|
+
checkboxBorderWidth: string;
|
|
6
|
+
checkboxBorderColor: string;
|
|
7
|
+
checkboxDisabledBgc: string;
|
|
8
|
+
checkboxCheckedDisabledBgc: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _common = require("./common");
|
|
8
|
+
var checkboxBorderColor = (0, _common.va)('checkbox-border-color', _common.colorVar.grey300);
|
|
9
|
+
var _default = {
|
|
10
|
+
checkinputColor: (0, _common.va)('checkinput-color', '#333e59'),
|
|
11
|
+
checkboxWidth: (0, _common.va)('checkbox-width', '16px'),
|
|
12
|
+
checkboxBorderUncheckWidth: (0, _common.va)('checkbox-border-uncheck-width', '2px'),
|
|
13
|
+
checkboxBorderWidth: (0, _common.va)('checkbox-border-width', '6px'),
|
|
14
|
+
checkboxBorderColor: checkboxBorderColor,
|
|
15
|
+
checkboxDisabledBgc: (0, _common.va)('checkbox-disabled-bgc', '#E8EBF0'),
|
|
16
|
+
checkboxCheckedDisabledBgc: (0, _common.va)('checkbox-disabled-bgc', checkboxBorderColor)
|
|
17
|
+
};
|
|
18
|
+
exports.default = _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const va: (name: string, value: string) => string;
|
|
2
|
+
export declare const colorVar: {
|
|
3
|
+
primaryColor: string;
|
|
4
|
+
primaryColorFade50: string;
|
|
5
|
+
primaryColorFade0: string;
|
|
6
|
+
secondaryColor: string;
|
|
7
|
+
successColor: string;
|
|
8
|
+
infoColor: string;
|
|
9
|
+
warningColor: string;
|
|
10
|
+
dangerColor: string;
|
|
11
|
+
white: string;
|
|
12
|
+
grey100: string;
|
|
13
|
+
grey200: string;
|
|
14
|
+
grey300: string;
|
|
15
|
+
grey500: string;
|
|
16
|
+
grey900: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const sizeVar: {
|
|
19
|
+
fontSize: string;
|
|
20
|
+
fontSizeSmall: string;
|
|
21
|
+
fontSizeLarge: string;
|
|
22
|
+
commonLineHeight: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.va = exports.sizeVar = exports.colorVar = void 0;
|
|
7
|
+
require("core-js/modules/es.array.concat.js");
|
|
8
|
+
var va = function va(name, value) {
|
|
9
|
+
return "var(--".concat(name, ",").concat(value, ")");
|
|
10
|
+
};
|
|
11
|
+
exports.va = va;
|
|
12
|
+
var colorVar = {
|
|
13
|
+
primaryColor: va('primary-color', '#197AFA'),
|
|
14
|
+
primaryColorFade50: va('primary-color-fade-50', 'rgba(25,122,250,.5)'),
|
|
15
|
+
primaryColorFade0: va('primary-color-fade-0', 'rgba(25,122,250,0)'),
|
|
16
|
+
secondaryColor: va('secondary-color', '#666c7c'),
|
|
17
|
+
successColor: va('success-color', '#52c41a'),
|
|
18
|
+
infoColor: va('info-color', '#197AFA'),
|
|
19
|
+
warningColor: va('warning-color', '#ff8c00'),
|
|
20
|
+
dangerColor: va('danger-color', '#ff4d50'),
|
|
21
|
+
white: '#fff',
|
|
22
|
+
grey100: va('grey-100', '#f4f5f8'),
|
|
23
|
+
grey200: va('grey-200', '#e8ebf0'),
|
|
24
|
+
grey300: va('grey-300', '#cccfd7'),
|
|
25
|
+
grey500: va('grey-500', '#adb5bd'),
|
|
26
|
+
grey900: va('grey-900', '#020b18')
|
|
27
|
+
};
|
|
28
|
+
exports.colorVar = colorVar;
|
|
29
|
+
var sizeVar = {
|
|
30
|
+
fontSize: va('font-size', '14px'),
|
|
31
|
+
fontSizeSmall: va('font-size-small', '12px'),
|
|
32
|
+
fontSizeLarge: va('font-size-large', '16px'),
|
|
33
|
+
commonLineHeight: va('common-line-height', '1.42857143')
|
|
34
|
+
};
|
|
35
|
+
exports.sizeVar = sizeVar;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _common = require("./common");
|
|
8
|
+
var _default = {
|
|
9
|
+
formItemMarginBottom: (0, _common.va)('form-item-margin-bottom', '12px'),
|
|
10
|
+
formItemMarginRight: (0, _common.va)('form-item-margin-right', '16px'),
|
|
11
|
+
formItemTipGap: (0, _common.va)('form-item-tip-gap', '22px')
|
|
12
|
+
};
|
|
13
|
+
exports.default = _default;
|