@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,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = function _default(color) {
|
|
8
|
+
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
9
|
+
margin = _ref.margin;
|
|
10
|
+
return {
|
|
11
|
+
'&:after': {
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
boxSizing: 'border-box',
|
|
14
|
+
content: '" "',
|
|
15
|
+
bottom: 0,
|
|
16
|
+
left: margin || 0,
|
|
17
|
+
right: margin || 0,
|
|
18
|
+
borderBottom: "1px solid ".concat(color),
|
|
19
|
+
transform: "scaleY(0.5)",
|
|
20
|
+
transition: "all .2s"
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
exports.default = _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = function _default() {
|
|
8
|
+
var line = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
9
|
+
if (line === 1) return {
|
|
10
|
+
overflow: "hidden",
|
|
11
|
+
textOverflow: "ellipsis",
|
|
12
|
+
whiteSpace: "nowrap"
|
|
13
|
+
};else return {
|
|
14
|
+
display: "-webkit-box",
|
|
15
|
+
'-webkit-line-clamp': line,
|
|
16
|
+
'-webkit-box-orient': 'vertical',
|
|
17
|
+
overflow: 'hidden'
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
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, "customScrollBar", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _customScrollbar.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "divider", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function get() {
|
|
16
|
+
return _divider.default;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "ellipsis", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _ellipsis.default;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "hideScrollBar", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function get() {
|
|
28
|
+
return _hideScrollbar.default;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var _divider = _interopRequireDefault(require("./divider"));
|
|
32
|
+
var _ellipsis = _interopRequireDefault(require("./ellipsis"));
|
|
33
|
+
var _hideScrollbar = _interopRequireDefault(require("./hide-scrollbar"));
|
|
34
|
+
var _customScrollbar = _interopRequireDefault(require("./custom-scrollbar"));
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
Object.defineProperty(exports, "modalStyle", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _modal.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports.useModalStyle = void 0;
|
|
15
|
+
var _jssStyle = require("../jss-style");
|
|
16
|
+
var _modal = _interopRequireDefault(require("./modal"));
|
|
17
|
+
var useModalStyle = (0, _jssStyle.styled)(_modal.default, 'modal');
|
|
18
|
+
exports.useModalStyle = useModalStyle;
|
|
19
|
+
var _default = useModalStyle;
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { JsStyles } from '../jss-style';
|
|
2
|
+
export declare type ModalClasses = {
|
|
3
|
+
wrapper: string;
|
|
4
|
+
wrapperShow: string;
|
|
5
|
+
wrapperHide: string;
|
|
6
|
+
wrapperFullScreen: string;
|
|
7
|
+
wrapperMoveable: string;
|
|
8
|
+
wrapperAnimation: string;
|
|
9
|
+
wrapperZoom: string;
|
|
10
|
+
wrapperIsMask: string;
|
|
11
|
+
wrapperHideMask: string;
|
|
12
|
+
wrapperDrawer: string;
|
|
13
|
+
wrapperDrawerLeft: string;
|
|
14
|
+
wrapperDrawerRight: string;
|
|
15
|
+
wrapperDrawerTop: string;
|
|
16
|
+
wrapperDrawerBottom: string;
|
|
17
|
+
mask: string;
|
|
18
|
+
panel: string;
|
|
19
|
+
header: string;
|
|
20
|
+
headerIcon: string;
|
|
21
|
+
headerTitle: string;
|
|
22
|
+
headerClose: string;
|
|
23
|
+
body: string;
|
|
24
|
+
bodyWithIcon: string;
|
|
25
|
+
footer: string;
|
|
26
|
+
resizeX: string;
|
|
27
|
+
resizeY: string;
|
|
28
|
+
resizeXY: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type ModalClassType = keyof ModalClasses;
|
|
31
|
+
declare const modalStyle: JsStyles<ModalClassType>;
|
|
32
|
+
export default modalStyle;
|
|
@@ -0,0 +1,395 @@
|
|
|
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
|
+
require("core-js/modules/es.array.concat.js");
|
|
12
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
var _theme = _interopRequireDefault(require("@sheinx/theme"));
|
|
14
|
+
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; }
|
|
15
|
+
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; }
|
|
16
|
+
var zoomOut = 'cubic-bezier(0.78, 0.14, 0.15, 0.86)';
|
|
17
|
+
var zoomIn = 'cubic-bezier(0.08, 0.82, 0.17, 1)';
|
|
18
|
+
var modalIndex = 1050;
|
|
19
|
+
var animationStyle = {
|
|
20
|
+
'@keyframes fadeIn': {
|
|
21
|
+
from: {
|
|
22
|
+
opacity: 0
|
|
23
|
+
},
|
|
24
|
+
to: {
|
|
25
|
+
opacity: 1
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
'@keyframes fadeOut': {
|
|
29
|
+
from: {
|
|
30
|
+
opacity: 1
|
|
31
|
+
},
|
|
32
|
+
to: {
|
|
33
|
+
opacity: 0
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'@keyframes topIn': {
|
|
37
|
+
from: {
|
|
38
|
+
transform: 'translate(0, -100px)'
|
|
39
|
+
},
|
|
40
|
+
to: {
|
|
41
|
+
transform: 'translate(0, 0)'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
'@keyframes topOut': {
|
|
45
|
+
from: {
|
|
46
|
+
transform: 'translate(0, 0)'
|
|
47
|
+
},
|
|
48
|
+
to: {
|
|
49
|
+
transform: 'translate(0, -100px)'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
// 0% - 10% scale(1) for getBoundingClientRect
|
|
53
|
+
'@keyframes zoomIn': {
|
|
54
|
+
'0%': {
|
|
55
|
+
transform: 'scale(1)',
|
|
56
|
+
opacity: 0
|
|
57
|
+
},
|
|
58
|
+
'10%': {
|
|
59
|
+
transform: 'scale(1)',
|
|
60
|
+
opacity: 0
|
|
61
|
+
},
|
|
62
|
+
'10.001%': {
|
|
63
|
+
transform: 'scale(.2)',
|
|
64
|
+
opacity: 0
|
|
65
|
+
},
|
|
66
|
+
'10.002%': {
|
|
67
|
+
transform: 'scale(.2)',
|
|
68
|
+
opacity: 1
|
|
69
|
+
},
|
|
70
|
+
'100%': {
|
|
71
|
+
transform: 'scale(1)'
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
'@keyframes zoomOut': {
|
|
75
|
+
'0%': {
|
|
76
|
+
transform: 'scale(1)'
|
|
77
|
+
},
|
|
78
|
+
'100%': {
|
|
79
|
+
transform: 'scale(.2)'
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
'@keyframes drawerTopIn': {
|
|
83
|
+
from: {
|
|
84
|
+
transform: 'translate(0, -100%)'
|
|
85
|
+
},
|
|
86
|
+
to: {
|
|
87
|
+
transform: 'translate(0, 0)'
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
'@keyframes drawerTopOut': {
|
|
91
|
+
from: {
|
|
92
|
+
transform: 'translate(0, 0)'
|
|
93
|
+
},
|
|
94
|
+
to: {
|
|
95
|
+
transform: 'translate(0, -100%)'
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
'@keyframes drawerBottomIn': {
|
|
99
|
+
from: {
|
|
100
|
+
transform: 'translate(0, 100%)'
|
|
101
|
+
},
|
|
102
|
+
to: {
|
|
103
|
+
transform: 'translate(0, 0)'
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
'@keyframes drawerBottomOut': {
|
|
107
|
+
from: {
|
|
108
|
+
transform: 'translate(0, 0)'
|
|
109
|
+
},
|
|
110
|
+
to: {
|
|
111
|
+
transform: 'translate(0, 100%)'
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
'@keyframes drawerLeftIn': {
|
|
115
|
+
from: {
|
|
116
|
+
transform: 'translate(-100%, 0)'
|
|
117
|
+
},
|
|
118
|
+
to: {
|
|
119
|
+
transform: 'translate(0, 0)'
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
'@keyframes drawerLeftOut': {
|
|
123
|
+
from: {
|
|
124
|
+
transform: 'translate(0, 0)'
|
|
125
|
+
},
|
|
126
|
+
to: {
|
|
127
|
+
transform: 'translate(-100%, 0)'
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
'@keyframes drawerRightIn': {
|
|
131
|
+
from: {
|
|
132
|
+
transform: 'translate(100%, 0)'
|
|
133
|
+
},
|
|
134
|
+
to: {
|
|
135
|
+
transform: 'translate(0, 0)'
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
'@keyframes drawerRightOut': {
|
|
139
|
+
from: {
|
|
140
|
+
transform: 'translate(0, 0)'
|
|
141
|
+
},
|
|
142
|
+
to: {
|
|
143
|
+
transform: 'translate(100%, 0)'
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
var modalStyle = _objectSpread(_objectSpread({}, animationStyle), {}, {
|
|
148
|
+
wrapper: {
|
|
149
|
+
position: 'fixed',
|
|
150
|
+
zIndex: modalIndex,
|
|
151
|
+
top: 0,
|
|
152
|
+
left: 0,
|
|
153
|
+
overflow: 'auto',
|
|
154
|
+
width: '100%',
|
|
155
|
+
boxSizing: 'border-box',
|
|
156
|
+
height: '100%',
|
|
157
|
+
textAlign: 'center',
|
|
158
|
+
lineHeight: _theme.default.lineHeightDynamic
|
|
159
|
+
},
|
|
160
|
+
wrapperIsMask: {
|
|
161
|
+
background: _theme.default.modalMaskBackground
|
|
162
|
+
},
|
|
163
|
+
wrapperHideMask: {
|
|
164
|
+
'&$wrapper': {
|
|
165
|
+
background: 'transparent',
|
|
166
|
+
pointerEvents: 'none'
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
wrapperMoveable: {
|
|
170
|
+
'& $header': {
|
|
171
|
+
cursor: 'move'
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
wrapperFullScreen: {
|
|
175
|
+
'& $panel': {
|
|
176
|
+
top: 0,
|
|
177
|
+
height: '100vh',
|
|
178
|
+
width: '100vw'
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
wrapperZoom: {
|
|
182
|
+
transform: 'none'
|
|
183
|
+
},
|
|
184
|
+
wrapperAnimation: {
|
|
185
|
+
'&$wrapperShow': {
|
|
186
|
+
animation: "$fadeIn .3s ".concat(zoomIn),
|
|
187
|
+
'&:not($wrapperZoom):not($wrapperDrawer) $mask': {
|
|
188
|
+
animation: "$topIn .3s ".concat(zoomIn)
|
|
189
|
+
},
|
|
190
|
+
'&$wrapperZoom $panel': {
|
|
191
|
+
animation: "$zoomIn .3s ".concat(zoomIn)
|
|
192
|
+
},
|
|
193
|
+
'&$wrapperDrawerTop $mask': {
|
|
194
|
+
animation: "$drawerTopIn .3s ".concat(zoomIn)
|
|
195
|
+
},
|
|
196
|
+
'&$wrapperDrawerBottom $mask': {
|
|
197
|
+
animation: "$drawerBottomIn .3s ".concat(zoomIn)
|
|
198
|
+
},
|
|
199
|
+
'&$wrapperDrawerLeft $mask': {
|
|
200
|
+
animation: "$drawerLeftIn .3s ".concat(zoomIn)
|
|
201
|
+
},
|
|
202
|
+
'&$wrapperDrawerRight $mask': {
|
|
203
|
+
animation: "$drawerRightIn .3s ".concat(zoomIn)
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
'&$wrapperHide': {
|
|
207
|
+
animation: "$fadeOut .3s ".concat(zoomOut),
|
|
208
|
+
'&:not($wrapperZoom):not($wrapperDrawer) $mask': {
|
|
209
|
+
animation: "$topOut .3s ".concat(zoomOut)
|
|
210
|
+
},
|
|
211
|
+
'&$wrapperZoom $panel': {
|
|
212
|
+
animation: "$zoomOut .3s ".concat(zoomOut)
|
|
213
|
+
},
|
|
214
|
+
'&$wrapperDrawerTop $mask': {
|
|
215
|
+
animation: "$drawerTopOut .3s ".concat(zoomOut)
|
|
216
|
+
},
|
|
217
|
+
'&$wrapperDrawerBottom $mask': {
|
|
218
|
+
animation: "$drawerBottomOut .3s ".concat(zoomOut)
|
|
219
|
+
},
|
|
220
|
+
'&$wrapperDrawerLeft $mask': {
|
|
221
|
+
animation: "$drawerLeftOut .3s ".concat(zoomOut)
|
|
222
|
+
},
|
|
223
|
+
'&$wrapperDrawerRight $mask': {
|
|
224
|
+
animation: "$drawerRightOut .3s ".concat(zoomOut)
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
wrapperShow: {
|
|
229
|
+
opacity: 1
|
|
230
|
+
},
|
|
231
|
+
wrapperHide: {
|
|
232
|
+
opacity: 0,
|
|
233
|
+
'&:not($wrapperAnimation)': {
|
|
234
|
+
display: 'none'
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
wrapperDrawer: {
|
|
238
|
+
'& $panel': {
|
|
239
|
+
borderRadius: 0,
|
|
240
|
+
position: 'absolute',
|
|
241
|
+
padding: 0,
|
|
242
|
+
'& $header': {
|
|
243
|
+
padding: "".concat(_theme.default.modalDrawerTitlePaddingY, " ").concat(_theme.default.modalDrawerTitlePaddingX),
|
|
244
|
+
background: _theme.default.modalDrawerTitleBackgroundColor,
|
|
245
|
+
marginBottom: 0
|
|
246
|
+
},
|
|
247
|
+
'& $body': {
|
|
248
|
+
padding: "".concat(_theme.default.modalDrawerBodyPaddingY, " ").concat(_theme.default.modalDrawerBodyPaddingX)
|
|
249
|
+
},
|
|
250
|
+
'& $bodyWithIcon': {
|
|
251
|
+
paddingLeft: "calc(".concat(_theme.default.modalHeaderIconMarginEnd, " + ").concat(_theme.default.modalHeaderIconSize, " + ").concat(_theme.default.modalDrawerBodyPaddingX, ")")
|
|
252
|
+
},
|
|
253
|
+
'& $footer': {
|
|
254
|
+
padding: "".concat(_theme.default.modalDrawerFooterPaddingY, " ").concat(_theme.default.modalDrawerFooterPaddingX),
|
|
255
|
+
marginTop: 0
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
wrapperDrawerLeft: {
|
|
260
|
+
'& $panel': {
|
|
261
|
+
left: 0,
|
|
262
|
+
height: '100vh'
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
wrapperDrawerRight: {
|
|
266
|
+
'& $panel': {
|
|
267
|
+
right: 0,
|
|
268
|
+
height: '100vh'
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
wrapperDrawerTop: {
|
|
272
|
+
'& $panel': {
|
|
273
|
+
top: 0,
|
|
274
|
+
left: 0,
|
|
275
|
+
width: '100vw'
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
wrapperDrawerBottom: {
|
|
279
|
+
'& $panel': {
|
|
280
|
+
bottom: 0,
|
|
281
|
+
left: 0,
|
|
282
|
+
width: '100vw'
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
mask: {
|
|
286
|
+
position: 'absolute',
|
|
287
|
+
top: 0,
|
|
288
|
+
left: 0,
|
|
289
|
+
width: '100%',
|
|
290
|
+
minHeight: '100%',
|
|
291
|
+
boxSizing: 'border-box'
|
|
292
|
+
},
|
|
293
|
+
panel: {
|
|
294
|
+
pointerEvents: 'all',
|
|
295
|
+
position: 'relative',
|
|
296
|
+
display: 'inline-flex',
|
|
297
|
+
flexDirection: 'column',
|
|
298
|
+
textAlign: 'left',
|
|
299
|
+
minWidth: 0,
|
|
300
|
+
background: '#fff',
|
|
301
|
+
borderRadius: _theme.default.modalPanelRadius,
|
|
302
|
+
padding: "".concat(_theme.default.modalPanelPaddingY, " ").concat(_theme.default.modalPanelPaddingX),
|
|
303
|
+
fontSize: _theme.default.modalPanelFontSize,
|
|
304
|
+
boxSizing: 'border-box',
|
|
305
|
+
boxShadow: _theme.default.modalPanelShadow
|
|
306
|
+
},
|
|
307
|
+
header: {
|
|
308
|
+
display: 'flex',
|
|
309
|
+
marginBottom: _theme.default.modalPanelGap
|
|
310
|
+
},
|
|
311
|
+
headerIcon: {
|
|
312
|
+
'$wrapper &': {
|
|
313
|
+
marginRight: _theme.default.modalHeaderIconMarginEnd,
|
|
314
|
+
marginTop: _theme.default.modalHeaderIconMarginTop,
|
|
315
|
+
width: _theme.default.modalHeaderIconSize,
|
|
316
|
+
height: _theme.default.modalHeaderIconSize,
|
|
317
|
+
display: 'block',
|
|
318
|
+
alignItems: 'center'
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
headerTitle: {
|
|
322
|
+
flex: '1',
|
|
323
|
+
minWidth: 0,
|
|
324
|
+
textAlign: 'left',
|
|
325
|
+
fontWeight: 'bold',
|
|
326
|
+
fontSize: _theme.default.modalHeaderFontSize
|
|
327
|
+
},
|
|
328
|
+
headerClose: {
|
|
329
|
+
marginLeft: _theme.default.modalHeaderCloseMarginXStart,
|
|
330
|
+
marginTop: _theme.default.modalHeaderCloseTop,
|
|
331
|
+
width: _theme.default.modalHeaderCloseSize,
|
|
332
|
+
height: _theme.default.modalHeaderCloseSize,
|
|
333
|
+
cursor: 'pointer',
|
|
334
|
+
display: 'block'
|
|
335
|
+
},
|
|
336
|
+
body: {
|
|
337
|
+
flex: '1 1 auto',
|
|
338
|
+
minHeight: '1px',
|
|
339
|
+
overflow: 'auto'
|
|
340
|
+
},
|
|
341
|
+
bodyWithIcon: {
|
|
342
|
+
paddingLeft: "calc(".concat(_theme.default.modalHeaderIconMarginEnd, " + ").concat(_theme.default.modalHeaderIconSize, ")")
|
|
343
|
+
},
|
|
344
|
+
footer: {
|
|
345
|
+
width: '100%',
|
|
346
|
+
boxSizing: 'border-box',
|
|
347
|
+
textAlign: 'right',
|
|
348
|
+
marginTop: _theme.default.modalPanelGap
|
|
349
|
+
},
|
|
350
|
+
resizeX: {
|
|
351
|
+
cursor: 'e-resize',
|
|
352
|
+
position: 'absolute',
|
|
353
|
+
top: 0,
|
|
354
|
+
bottom: 0,
|
|
355
|
+
width: '6px',
|
|
356
|
+
right: '-4px',
|
|
357
|
+
zIndex: 11,
|
|
358
|
+
background: 'transparent',
|
|
359
|
+
touchAction: 'none',
|
|
360
|
+
'$wrapperDrawerRight &': {
|
|
361
|
+
left: '-4px',
|
|
362
|
+
right: 'auto',
|
|
363
|
+
cursor: 'w-resize'
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
resizeY: {
|
|
367
|
+
cursor: 's-resize',
|
|
368
|
+
position: 'absolute',
|
|
369
|
+
left: 0,
|
|
370
|
+
right: 0,
|
|
371
|
+
height: '6px',
|
|
372
|
+
bottom: '-4px',
|
|
373
|
+
zIndex: 11,
|
|
374
|
+
background: 'transparent',
|
|
375
|
+
touchAction: 'none',
|
|
376
|
+
'$wrapperDrawerBottom &': {
|
|
377
|
+
top: '-4px',
|
|
378
|
+
bottom: 'auto',
|
|
379
|
+
cursor: 'n-resize'
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
resizeXY: {
|
|
383
|
+
cursor: 'se-resize',
|
|
384
|
+
position: 'absolute',
|
|
385
|
+
right: '0',
|
|
386
|
+
bottom: '0',
|
|
387
|
+
width: '10px',
|
|
388
|
+
height: '10px',
|
|
389
|
+
zIndex: 12,
|
|
390
|
+
background: 'transparent',
|
|
391
|
+
touchAction: 'none'
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
var _default = modalStyle;
|
|
395
|
+
exports.default = _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import paginationStyle from './pagination';
|
|
2
|
+
declare const usePaginationStyle: (data?: undefined) => import("jss").Classes<keyof import("./pagination").PaginationClasses>;
|
|
3
|
+
export { paginationStyle, usePaginationStyle };
|
|
4
|
+
export type { PaginationClasses } from './pagination';
|
|
5
|
+
export default usePaginationStyle;
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
Object.defineProperty(exports, "paginationStyle", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _pagination.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports.usePaginationStyle = void 0;
|
|
15
|
+
var _jssStyle = require("../jss-style");
|
|
16
|
+
var _pagination = _interopRequireDefault(require("./pagination"));
|
|
17
|
+
var usePaginationStyle = (0, _jssStyle.styled)(_pagination.default, 'tag');
|
|
18
|
+
exports.usePaginationStyle = usePaginationStyle;
|
|
19
|
+
var _default = usePaginationStyle;
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { JsStyles } from '../jss-style';
|
|
2
|
+
export interface PaginationClasses {
|
|
3
|
+
pagination: string;
|
|
4
|
+
section: string;
|
|
5
|
+
buttons: string;
|
|
6
|
+
left: string;
|
|
7
|
+
right: string;
|
|
8
|
+
center: string;
|
|
9
|
+
jumper: string;
|
|
10
|
+
split: string;
|
|
11
|
+
icon: string;
|
|
12
|
+
simple: string;
|
|
13
|
+
small: string;
|
|
14
|
+
large: string;
|
|
15
|
+
}
|
|
16
|
+
declare type PaginationClass = keyof PaginationClasses;
|
|
17
|
+
declare const PaginationStyle: JsStyles<PaginationClass>;
|
|
18
|
+
export default PaginationStyle;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 PaginationStyle = {
|
|
10
|
+
pagination: {
|
|
11
|
+
display: 'flex',
|
|
12
|
+
flexWrap: 'wrap',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
fontSize: _theme.default.paginationFontSize,
|
|
15
|
+
color: _theme.default.paginationFontColor
|
|
16
|
+
},
|
|
17
|
+
left: {
|
|
18
|
+
justifyContent: 'flex-start'
|
|
19
|
+
},
|
|
20
|
+
right: {
|
|
21
|
+
justifyContent: 'flex-end'
|
|
22
|
+
},
|
|
23
|
+
center: {
|
|
24
|
+
justifyContent: 'center'
|
|
25
|
+
},
|
|
26
|
+
section: {
|
|
27
|
+
'& + &': {
|
|
28
|
+
marginLeft: _theme.default.paginationNearlyMargin
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
split: {
|
|
32
|
+
width: 23,
|
|
33
|
+
display: 'inline-block',
|
|
34
|
+
textAlign: 'center'
|
|
35
|
+
},
|
|
36
|
+
icon: {
|
|
37
|
+
lineHeight: 0,
|
|
38
|
+
display: 'inline-block',
|
|
39
|
+
width: _theme.default.paginationFontSize
|
|
40
|
+
},
|
|
41
|
+
buttons: {},
|
|
42
|
+
jumper: {},
|
|
43
|
+
simple: {},
|
|
44
|
+
small: {
|
|
45
|
+
'& $icon': {
|
|
46
|
+
width: _theme.default.paginationSmallFontSize
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
large: {
|
|
50
|
+
'& $icon': {
|
|
51
|
+
width: _theme.default.paginationLargeFontSize
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
var _default = PaginationStyle;
|
|
56
|
+
exports.default = _default;
|