@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,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, "iconStyle", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _icon.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports.useIconStyle = void 0;
|
|
15
|
+
var _jssStyle = require("../jss-style");
|
|
16
|
+
var _icon = _interopRequireDefault(require("./icon"));
|
|
17
|
+
var useIconStyle = (0, _jssStyle.styled)(_icon.default, 'icon');
|
|
18
|
+
exports.useIconStyle = useIconStyle;
|
|
19
|
+
var _default = useIconStyle;
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { JsStyles } from '../jss-style';
|
|
2
|
+
export interface ImageClasses {
|
|
3
|
+
image: string;
|
|
4
|
+
img: string;
|
|
5
|
+
inner: string;
|
|
6
|
+
circle: string;
|
|
7
|
+
rounded: string;
|
|
8
|
+
thumbnail: string;
|
|
9
|
+
fill: string;
|
|
10
|
+
center: string;
|
|
11
|
+
fit: string;
|
|
12
|
+
stretch: string;
|
|
13
|
+
href: string;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
defaultPlaceholder: string;
|
|
16
|
+
error: string;
|
|
17
|
+
defaultError: string;
|
|
18
|
+
preview: string;
|
|
19
|
+
previewMask: string;
|
|
20
|
+
download: string;
|
|
21
|
+
overlay: string;
|
|
22
|
+
magnify: string;
|
|
23
|
+
close: string;
|
|
24
|
+
gallery: string;
|
|
25
|
+
galleryInit: string;
|
|
26
|
+
galleryForward: string;
|
|
27
|
+
galleryBackward: string;
|
|
28
|
+
galleryCenter: string;
|
|
29
|
+
galleryLeft: string;
|
|
30
|
+
galleryRight: string;
|
|
31
|
+
group: string;
|
|
32
|
+
groupPile: string;
|
|
33
|
+
groupPileItem: string;
|
|
34
|
+
groupCount: string;
|
|
35
|
+
'@keyframes keyframe-f2c': string;
|
|
36
|
+
'@keyframes keyframe-c2b': string;
|
|
37
|
+
'@keyframes keyframe-c2f': string;
|
|
38
|
+
'@keyframes keyframe-b2c': string;
|
|
39
|
+
}
|
|
40
|
+
declare type ImageClass = keyof ImageClasses;
|
|
41
|
+
declare const ImageStyle: JsStyles<ImageClass>;
|
|
42
|
+
export default ImageStyle;
|
|
@@ -0,0 +1,374 @@
|
|
|
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 ImageStyle = {
|
|
10
|
+
'@keyframes keyframe-f2c': {
|
|
11
|
+
'0%': {
|
|
12
|
+
left: '100%',
|
|
13
|
+
marginLeft: '-80px',
|
|
14
|
+
transform: 'translate(0, -50%)'
|
|
15
|
+
},
|
|
16
|
+
'100%': {
|
|
17
|
+
left: '50%',
|
|
18
|
+
marginLeft: 0,
|
|
19
|
+
transform: 'translate(-50%, -50%)'
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'@keyframes keyframe-c2b': {
|
|
23
|
+
'0%': {
|
|
24
|
+
right: '50%',
|
|
25
|
+
marginRight: 0,
|
|
26
|
+
transform: 'translate(50%, -50%)'
|
|
27
|
+
},
|
|
28
|
+
'100%': {
|
|
29
|
+
right: '100%',
|
|
30
|
+
marginRight: '-80px',
|
|
31
|
+
transform: 'translate(0, -50%)'
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
'@keyframes keyframe-c2f': {
|
|
35
|
+
'0%': {
|
|
36
|
+
left: ' 50%',
|
|
37
|
+
marginLeft: 0,
|
|
38
|
+
transform: 'translate(-50%, -50%)'
|
|
39
|
+
},
|
|
40
|
+
'100%': {
|
|
41
|
+
left: '100%',
|
|
42
|
+
marginLeft: '-80px',
|
|
43
|
+
transform: 'translate(0, -50%)'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
'@keyframes keyframe-b2c': {
|
|
47
|
+
'0%': {
|
|
48
|
+
right: '100%',
|
|
49
|
+
marginRight: '-80px',
|
|
50
|
+
transform: 'translate(0, -50%)'
|
|
51
|
+
},
|
|
52
|
+
'100%': {
|
|
53
|
+
right: '50%',
|
|
54
|
+
marginRight: 0,
|
|
55
|
+
transform: 'translate(50%, -50%)'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
// image
|
|
59
|
+
href: {
|
|
60
|
+
outline: 'none',
|
|
61
|
+
cursor: 'pointer',
|
|
62
|
+
textDecoration: 'none'
|
|
63
|
+
},
|
|
64
|
+
image: {
|
|
65
|
+
position: 'relative',
|
|
66
|
+
overflow: 'hidden',
|
|
67
|
+
display: 'inline-block',
|
|
68
|
+
boxSizing: 'border-box',
|
|
69
|
+
background: _theme.default.imageBackgroundColor,
|
|
70
|
+
'& > *': {
|
|
71
|
+
position: 'absolute'
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
img: {
|
|
75
|
+
maxWidth: '100%',
|
|
76
|
+
maxHeight: '100%',
|
|
77
|
+
borderStyle: 'none'
|
|
78
|
+
},
|
|
79
|
+
inner: {
|
|
80
|
+
top: 0,
|
|
81
|
+
left: 0,
|
|
82
|
+
right: 0,
|
|
83
|
+
bottom: 0
|
|
84
|
+
},
|
|
85
|
+
fit: {
|
|
86
|
+
'& $inner': {
|
|
87
|
+
backgroundPosition: '50% 50%',
|
|
88
|
+
backgroundRepeat: 'no-repeat'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
fill: {
|
|
92
|
+
'& $inner': {
|
|
93
|
+
backgroundSize: 'cover',
|
|
94
|
+
backgroundPosition: '50% 50%',
|
|
95
|
+
backgroundRepeat: 'no-repeat'
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
previewMask: {
|
|
99
|
+
display: 'none',
|
|
100
|
+
// icon
|
|
101
|
+
'& svg': {
|
|
102
|
+
width: 16,
|
|
103
|
+
height: 16,
|
|
104
|
+
color: '#fff'
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
download: {
|
|
108
|
+
// hover
|
|
109
|
+
'&:hover': {
|
|
110
|
+
// after
|
|
111
|
+
'& $previewMask': {
|
|
112
|
+
display: 'flex',
|
|
113
|
+
justifyContent: 'center',
|
|
114
|
+
alignItems: 'center',
|
|
115
|
+
position: 'absolute',
|
|
116
|
+
top: 0,
|
|
117
|
+
left: 0,
|
|
118
|
+
right: 0,
|
|
119
|
+
bottom: 0,
|
|
120
|
+
background: _theme.default.imageMaskBackgroundColor
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
preview: {
|
|
125
|
+
'&:hover': {
|
|
126
|
+
'& $previewMask': {
|
|
127
|
+
display: 'flex',
|
|
128
|
+
justifyContent: 'center',
|
|
129
|
+
alignItems: 'center',
|
|
130
|
+
position: 'absolute',
|
|
131
|
+
top: 0,
|
|
132
|
+
left: 0,
|
|
133
|
+
right: 0,
|
|
134
|
+
bottom: 0,
|
|
135
|
+
background: _theme.default.imageMaskBackgroundColor
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
center: {
|
|
140
|
+
'& $img': {
|
|
141
|
+
margin: 'auto'
|
|
142
|
+
},
|
|
143
|
+
'& $inner': {
|
|
144
|
+
display: 'flex'
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
stretch: {
|
|
148
|
+
'& $img': {
|
|
149
|
+
width: '100%',
|
|
150
|
+
height: '100%'
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
circle: {
|
|
154
|
+
borderRadius: _theme.default.imageCircleBorderRadius,
|
|
155
|
+
border: "1px solid ".concat(_theme.default.imageCircleBorderColor)
|
|
156
|
+
},
|
|
157
|
+
rounded: {
|
|
158
|
+
borderRadius: _theme.default.imageRoundedBorderRadius,
|
|
159
|
+
border: "1px solid ".concat(_theme.default.imageRoundedBorderColor)
|
|
160
|
+
},
|
|
161
|
+
thumbnail: {
|
|
162
|
+
borderRadius: _theme.default.imageThumbnailBorderRadius,
|
|
163
|
+
backgroundColor: '#FFFFFF',
|
|
164
|
+
border: "1px solid ".concat(_theme.default.imageThumbnailBorderColor),
|
|
165
|
+
'& $inner': {
|
|
166
|
+
top: 4,
|
|
167
|
+
left: 4,
|
|
168
|
+
right: 4,
|
|
169
|
+
bottom: 4
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
placeholder: {
|
|
173
|
+
width: '100%',
|
|
174
|
+
height: '100%',
|
|
175
|
+
margin: 'auto',
|
|
176
|
+
backgroundColor: _theme.default.imagePlaceholderBackgroundColor
|
|
177
|
+
},
|
|
178
|
+
defaultPlaceholder: {
|
|
179
|
+
width: '100%',
|
|
180
|
+
height: '100%',
|
|
181
|
+
margin: 'auto',
|
|
182
|
+
display: 'flex',
|
|
183
|
+
alignItems: 'center',
|
|
184
|
+
justifyContent: 'center',
|
|
185
|
+
backgroundColor: _theme.default.imagePlaceholderBackgroundColor
|
|
186
|
+
},
|
|
187
|
+
defaultError: {
|
|
188
|
+
width: '100%',
|
|
189
|
+
height: '100%',
|
|
190
|
+
margin: 'auto',
|
|
191
|
+
display: 'flex',
|
|
192
|
+
alignItems: 'center',
|
|
193
|
+
justifyContent: 'center',
|
|
194
|
+
color: _theme.default.imageErrorFontColor,
|
|
195
|
+
fontSize: _theme.default.imageErrorFontSize,
|
|
196
|
+
backgroundColor: _theme.default.imageErrorBackgroundColor,
|
|
197
|
+
// icon
|
|
198
|
+
'& svg': {
|
|
199
|
+
width: 16,
|
|
200
|
+
height: 16,
|
|
201
|
+
color: '#B3B7C1'
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
error: {
|
|
205
|
+
width: '100%',
|
|
206
|
+
height: '100%',
|
|
207
|
+
margin: 'auto',
|
|
208
|
+
backgroundColor: _theme.default.imageErrorBackgroundColor
|
|
209
|
+
},
|
|
210
|
+
overlay: {
|
|
211
|
+
position: 'absolute',
|
|
212
|
+
zIndex: 1100,
|
|
213
|
+
top: 0,
|
|
214
|
+
right: 0,
|
|
215
|
+
bottom: 0,
|
|
216
|
+
left: 0,
|
|
217
|
+
background: _theme.default.imageMaskBackgroundColor
|
|
218
|
+
},
|
|
219
|
+
magnify: {
|
|
220
|
+
display: 'inline-block',
|
|
221
|
+
margin: 'auto',
|
|
222
|
+
boxSizing: 'content-box',
|
|
223
|
+
'& img': {
|
|
224
|
+
position: 'relative',
|
|
225
|
+
display: 'block',
|
|
226
|
+
borderStyle: 'none'
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
close: {
|
|
230
|
+
position: 'absolute',
|
|
231
|
+
top: -15,
|
|
232
|
+
right: -15,
|
|
233
|
+
zIndex: 1,
|
|
234
|
+
cursor: 'pointer',
|
|
235
|
+
outline: 'none',
|
|
236
|
+
width: 32,
|
|
237
|
+
height: 32,
|
|
238
|
+
color: '#666C7C'
|
|
239
|
+
},
|
|
240
|
+
// gallery
|
|
241
|
+
gallery: {
|
|
242
|
+
position: 'fixed',
|
|
243
|
+
zIndex: 1100,
|
|
244
|
+
top: 0,
|
|
245
|
+
right: 0,
|
|
246
|
+
bottom: 0,
|
|
247
|
+
left: 0
|
|
248
|
+
},
|
|
249
|
+
galleryInit: {
|
|
250
|
+
transform: 'translate(-50%,-50%)'
|
|
251
|
+
},
|
|
252
|
+
galleryForward: {
|
|
253
|
+
transform: 'translate(-50%,-50%)',
|
|
254
|
+
display: 'flex',
|
|
255
|
+
position: 'absolute'
|
|
256
|
+
},
|
|
257
|
+
galleryBackward: {
|
|
258
|
+
transform: 'translate(-50%,-50%)',
|
|
259
|
+
display: 'flex',
|
|
260
|
+
position: 'absolute'
|
|
261
|
+
},
|
|
262
|
+
galleryCenter: {
|
|
263
|
+
cursor: 'zoom-in',
|
|
264
|
+
position: 'absolute',
|
|
265
|
+
display: 'flex',
|
|
266
|
+
zIndex: 20,
|
|
267
|
+
minWidth: 100,
|
|
268
|
+
minHeight: 100,
|
|
269
|
+
background: '#fff',
|
|
270
|
+
top: '50%',
|
|
271
|
+
'&$galleryInit': {
|
|
272
|
+
left: '50%'
|
|
273
|
+
},
|
|
274
|
+
'&$galleryForward': {
|
|
275
|
+
animation: '$keyframe-f2c 0.5s ease-in-out'
|
|
276
|
+
},
|
|
277
|
+
'&$galleryBackward': {
|
|
278
|
+
animation: '$keyframe-b2c 0.5s ease-in-out'
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
galleryLeft: {
|
|
282
|
+
marginRight: '-80px',
|
|
283
|
+
opacity: 0.4,
|
|
284
|
+
transform: 'translateY(-50%)',
|
|
285
|
+
display: 'flex',
|
|
286
|
+
position: 'absolute',
|
|
287
|
+
zIndex: 10,
|
|
288
|
+
right: '100%',
|
|
289
|
+
top: '50%',
|
|
290
|
+
'&$galleryForward': {
|
|
291
|
+
animation: '$keyframe-c2b 0.5s ease-in-out'
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
galleryRight: {
|
|
295
|
+
marginLeft: '-80px',
|
|
296
|
+
opacity: 0.4,
|
|
297
|
+
transform: 'translateY(-50%)',
|
|
298
|
+
display: 'flex',
|
|
299
|
+
position: 'absolute',
|
|
300
|
+
zIndex: 10,
|
|
301
|
+
left: '100%',
|
|
302
|
+
top: '50%',
|
|
303
|
+
'&$galleryBackward': {
|
|
304
|
+
animation: '$keyframe-c2f 0.5s ease-in-out'
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
// group
|
|
308
|
+
group: {
|
|
309
|
+
lineHeight: 1,
|
|
310
|
+
display: 'inline-block',
|
|
311
|
+
'& $image + $image': {
|
|
312
|
+
marginLeft: _theme.default.imageGroupNearlyMargin
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
groupPile: {
|
|
316
|
+
position: 'relative',
|
|
317
|
+
'& $image:nth-child(1)': {
|
|
318
|
+
// zIndex: 3,
|
|
319
|
+
},
|
|
320
|
+
'& $groupPileItem:nth-child(2)': {
|
|
321
|
+
position: 'absolute',
|
|
322
|
+
borderWidth: 0,
|
|
323
|
+
top: 1,
|
|
324
|
+
zIndex: -1,
|
|
325
|
+
marginLeft: 0,
|
|
326
|
+
transform: 'scale(0.9375)',
|
|
327
|
+
background: '#CCCFD7',
|
|
328
|
+
borderRadius: 2,
|
|
329
|
+
right: '-6%'
|
|
330
|
+
},
|
|
331
|
+
'& $groupPileItem:nth-child(3)': {
|
|
332
|
+
position: 'absolute',
|
|
333
|
+
borderWidth: 0,
|
|
334
|
+
top: 1,
|
|
335
|
+
zIndex: -2,
|
|
336
|
+
marginLeft: 0,
|
|
337
|
+
transform: 'scale(0.875)',
|
|
338
|
+
background: '#E8EBF0',
|
|
339
|
+
borderRadius: 2,
|
|
340
|
+
right: '-12%'
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
groupPileItem: {
|
|
344
|
+
position: 'absolute'
|
|
345
|
+
},
|
|
346
|
+
groupCount: {
|
|
347
|
+
position: 'absolute',
|
|
348
|
+
right: 1,
|
|
349
|
+
bottom: 3,
|
|
350
|
+
minWidth: 20,
|
|
351
|
+
height: 20,
|
|
352
|
+
backgroundColor: 'rgba(2, 11, 24, 0.3)',
|
|
353
|
+
borderRadius: '4px 0 4px 0',
|
|
354
|
+
padding: 4,
|
|
355
|
+
boxSizing: 'border-box',
|
|
356
|
+
display: 'flex',
|
|
357
|
+
alignItems: 'center',
|
|
358
|
+
justifyContent: 'center',
|
|
359
|
+
// span
|
|
360
|
+
'& > span': {
|
|
361
|
+
fontSize: 12,
|
|
362
|
+
color: '#fff',
|
|
363
|
+
marginLeft: 4
|
|
364
|
+
},
|
|
365
|
+
// icon
|
|
366
|
+
'& > svg': {
|
|
367
|
+
width: 12,
|
|
368
|
+
height: 12,
|
|
369
|
+
color: '#fff'
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
var _default = ImageStyle;
|
|
374
|
+
exports.default = _default;
|
|
@@ -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, "imageStyle", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _image.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
exports.useImageStyle = void 0;
|
|
15
|
+
var _jssStyle = require("../jss-style");
|
|
16
|
+
var _image = _interopRequireDefault(require("./image"));
|
|
17
|
+
var useImageStyle = (0, _jssStyle.styled)(_image.default, 'image');
|
|
18
|
+
exports.useImageStyle = useImageStyle;
|
|
19
|
+
var _default = useImageStyle;
|
|
20
|
+
exports.default = _default;
|
package/cjs/index.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './alert';
|
|
2
|
+
export * from './breadcrumb';
|
|
3
|
+
export * from './button';
|
|
4
|
+
export * from './carousel';
|
|
5
|
+
export * from './checkbox';
|
|
6
|
+
export * from './date-picker';
|
|
7
|
+
export * from './divider';
|
|
8
|
+
export * from './dropdown';
|
|
9
|
+
export * from './editable-area';
|
|
10
|
+
export * from './empty';
|
|
11
|
+
export * from './form';
|
|
12
|
+
export * from './icon';
|
|
13
|
+
export * from './image';
|
|
14
|
+
export * from './inner-title';
|
|
15
|
+
export * from './input';
|
|
16
|
+
export * from './list';
|
|
17
|
+
export * from './menu';
|
|
18
|
+
export * from './message';
|
|
19
|
+
export * from './modal';
|
|
20
|
+
export * from './pagination';
|
|
21
|
+
export * from './popover';
|
|
22
|
+
export * from './progress';
|
|
23
|
+
export * from './radio';
|
|
24
|
+
export * from './rate';
|
|
25
|
+
export * from './select';
|
|
26
|
+
export * from './slider';
|
|
27
|
+
export * from './spin';
|
|
28
|
+
export * from './sticky';
|
|
29
|
+
export * from './steps';
|
|
30
|
+
export * from './switch';
|
|
31
|
+
export * from './table';
|
|
32
|
+
export * from './tabs';
|
|
33
|
+
export * from './tag';
|
|
34
|
+
export * from './textarea';
|
|
35
|
+
export * from './tooltip';
|
|
36
|
+
export * from './transfer';
|
|
37
|
+
export * from './tree';
|
|
38
|
+
export * from './upload';
|
|
39
|
+
export * from './virtual-scroll';
|
|
40
|
+
export { styled, StyleProvider } from './jss-style';
|
|
41
|
+
export * as mixins from './mixin';
|
|
42
|
+
declare const _default: {};
|
|
43
|
+
export default _default;
|