@arco-design/mobile-react 2.19.1 → 2.21.0
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/CHANGELOG.md +53 -0
- package/README.en-US.md +6 -6
- package/README.md +6 -6
- package/cjs/_helpers/type.d.ts +1 -1
- package/cjs/avatar/group.js +1 -1
- package/cjs/avatar/index.d.ts +1 -1
- package/cjs/avatar/index.js +11 -14
- package/cjs/avatar/style/css/index.css +96 -126
- package/cjs/avatar/style/index.less +54 -72
- package/cjs/badge/index.d.ts +1 -1
- package/cjs/badge/index.js +7 -9
- package/cjs/badge/style/css/index.css +5 -5
- package/cjs/badge/style/index.less +5 -5
- package/cjs/button/hooks.d.ts +1 -2
- package/cjs/button/hooks.js +5 -3
- package/cjs/button/index.d.ts +6 -0
- package/cjs/button/index.js +38 -33
- package/cjs/button/style/css/index.css +75 -310
- package/cjs/button/style/index.less +32 -38
- package/cjs/carousel/index.d.ts +1 -1
- package/cjs/carousel/index.js +1 -1
- package/cjs/cell/index.d.ts +1 -1
- package/cjs/cell/index.js +1 -1
- package/cjs/checkbox/index.d.ts +1 -1
- package/cjs/checkbox/index.js +1 -1
- package/cjs/collapse/index.d.ts +1 -1
- package/cjs/collapse/index.js +1 -1
- package/cjs/count-down/demo/style/mobile.less +1 -1
- package/cjs/count-down/index.d.ts +1 -1
- package/cjs/count-down/index.js +1 -1
- package/cjs/date-picker/index.d.ts +1 -1
- package/cjs/date-picker/index.js +1 -1
- package/cjs/dropdown/dropdown.d.ts +3 -0
- package/cjs/dropdown/dropdown.js +322 -0
- package/cjs/dropdown/index.d.ts +3 -4
- package/cjs/dropdown/index.js +3 -303
- package/cjs/dropdown/options.js +2 -1
- package/cjs/dropdown/style/css/index.css +3 -0
- package/cjs/dropdown/style/index.less +2 -0
- package/cjs/dropdown/type.d.ts +20 -9
- package/cjs/dropdown-menu/dropdown-menu.d.ts +4 -0
- package/cjs/dropdown-menu/dropdown-menu.js +273 -0
- package/cjs/dropdown-menu/helper.d.ts +1 -1
- package/cjs/dropdown-menu/index.d.ts +2 -3
- package/cjs/dropdown-menu/index.js +2 -245
- package/cjs/dropdown-menu/type.d.ts +21 -20
- package/cjs/ellipsis/index.d.ts +1 -1
- package/cjs/ellipsis/index.js +1 -1
- package/cjs/grid/index.js +13 -12
- package/cjs/image/index.d.ts +1 -2
- package/cjs/image/index.js +14 -9
- package/cjs/image/style/css/index.css +2 -1
- package/cjs/image/style/index.less +2 -1
- package/cjs/image-picker/add-icon.d.ts +2 -0
- package/cjs/image-picker/add-icon.js +22 -0
- package/cjs/image-picker/demo/style/css/mobile.css +40 -0
- package/cjs/image-picker/demo/style/mobile.less +42 -0
- package/cjs/image-picker/index.d.ts +13 -0
- package/cjs/image-picker/index.js +331 -0
- package/cjs/image-picker/style/css/index.css +147 -0
- package/cjs/image-picker/style/css/index.d.ts +2 -0
- package/cjs/image-picker/style/css/index.js +5 -0
- package/cjs/image-picker/style/index.d.ts +2 -0
- package/cjs/image-picker/style/index.js +5 -0
- package/cjs/image-picker/style/index.less +116 -0
- package/cjs/image-picker/type.d.ts +174 -0
- package/cjs/image-picker/type.js +3 -0
- package/cjs/image-preview/index.d.ts +3 -3
- package/cjs/image-preview/index.js +1 -1
- package/cjs/index.d.ts +3 -0
- package/cjs/index.js +13 -1
- package/cjs/input/hooks.js +49 -8
- package/cjs/input/index.d.ts +1 -1
- package/cjs/input/index.js +1 -1
- package/cjs/input/props.d.ts +8 -2
- package/cjs/nav-bar/index.js +7 -2
- package/cjs/notice-bar/index.d.ts +1 -1
- package/cjs/notice-bar/index.js +1 -1
- package/cjs/picker/index.d.ts +1 -1
- package/cjs/picker/index.js +1 -1
- package/cjs/picker-view/index.d.ts +1 -1
- package/cjs/picker-view/index.js +1 -1
- package/cjs/popover/index.d.ts +1 -1
- package/cjs/popover/index.js +1 -1
- package/cjs/popup-swiper/index.js +3 -2
- package/cjs/radio/index.d.ts +1 -1
- package/cjs/radio/index.js +1 -1
- package/cjs/rate/index.d.ts +1 -1
- package/cjs/rate/index.js +1 -1
- package/cjs/search-bar/association.d.ts +3 -0
- package/cjs/search-bar/association.js +92 -0
- package/cjs/search-bar/cancel-button.d.ts +10 -0
- package/cjs/search-bar/cancel-button.js +41 -0
- package/cjs/search-bar/demo/style/css/mobile.css +5 -0
- package/cjs/search-bar/demo/style/mobile.less +9 -0
- package/cjs/search-bar/highlight.d.ts +12 -0
- package/cjs/search-bar/highlight.js +77 -0
- package/cjs/search-bar/index.d.ts +13 -0
- package/cjs/search-bar/index.js +239 -0
- package/cjs/search-bar/style/css/index.css +148 -0
- package/cjs/search-bar/style/css/index.d.ts +2 -0
- package/cjs/search-bar/style/css/index.js +5 -0
- package/cjs/search-bar/style/index.d.ts +2 -0
- package/cjs/search-bar/style/index.js +5 -0
- package/cjs/search-bar/style/index.less +111 -0
- package/cjs/search-bar/type.d.ts +163 -0
- package/cjs/search-bar/type.js +3 -0
- package/cjs/show-monitor/index.js +31 -3
- package/cjs/slider/index.d.ts +1 -1
- package/cjs/slider/index.js +1 -1
- package/cjs/steps/demo/style/css/mobile.css +1 -1
- package/cjs/steps/demo/style/mobile.less +1 -1
- package/cjs/steps/index.d.ts +1 -1
- package/cjs/steps/index.js +1 -1
- package/cjs/steps/style/css/index.css +5 -15
- package/cjs/steps/style/index.less +6 -10
- package/cjs/sticky/index.d.ts +1 -1
- package/cjs/style.d.ts +3 -0
- package/cjs/style.js +6 -0
- package/cjs/swipe-action/demo/style/css/mobile.css +5 -0
- package/cjs/swipe-action/demo/style/mobile.less +9 -0
- package/cjs/swipe-action/index.d.ts +12 -0
- package/cjs/swipe-action/index.js +339 -0
- package/cjs/swipe-action/item.d.ts +11 -0
- package/cjs/swipe-action/item.js +52 -0
- package/cjs/swipe-action/style/css/index.css +88 -0
- package/cjs/swipe-action/style/css/index.d.ts +2 -0
- package/cjs/swipe-action/style/css/index.js +5 -0
- package/cjs/swipe-action/style/index.d.ts +2 -0
- package/cjs/swipe-action/style/index.js +5 -0
- package/cjs/swipe-action/style/index.less +89 -0
- package/cjs/swipe-action/type.d.ts +123 -0
- package/cjs/swipe-action/type.js +3 -0
- package/cjs/switch/index.d.ts +1 -1
- package/cjs/switch/index.js +1 -1
- package/cjs/tabs/tab-pane.js +5 -1
- package/cjs/tag/index.d.ts +1 -1
- package/cjs/tag/index.js +1 -1
- package/cjs/textarea/index.d.ts +1 -1
- package/cjs/textarea/index.js +1 -1
- package/dist/index.js +8040 -6845
- package/dist/index.min.js +6 -7
- package/dist/style.css +497 -447
- package/dist/style.min.css +1 -1
- package/esm/_helpers/type.d.ts +1 -1
- package/esm/avatar/group.js +1 -1
- package/esm/avatar/index.d.ts +1 -1
- package/esm/avatar/index.js +11 -14
- package/esm/avatar/style/css/index.css +96 -126
- package/esm/avatar/style/index.less +54 -72
- package/esm/badge/index.d.ts +1 -1
- package/esm/badge/index.js +7 -9
- package/esm/badge/style/css/index.css +5 -5
- package/esm/badge/style/index.less +5 -5
- package/esm/button/hooks.d.ts +1 -2
- package/esm/button/hooks.js +5 -3
- package/esm/button/index.d.ts +6 -0
- package/esm/button/index.js +40 -35
- package/esm/button/style/css/index.css +75 -310
- package/esm/button/style/index.less +32 -38
- package/esm/carousel/index.d.ts +1 -1
- package/esm/carousel/index.js +1 -1
- package/esm/cell/index.d.ts +1 -1
- package/esm/cell/index.js +1 -1
- package/esm/checkbox/index.d.ts +1 -1
- package/esm/checkbox/index.js +1 -1
- package/esm/collapse/index.d.ts +1 -1
- package/esm/collapse/index.js +1 -1
- package/esm/count-down/demo/style/mobile.less +1 -1
- package/esm/count-down/index.d.ts +1 -1
- package/esm/count-down/index.js +1 -1
- package/esm/date-picker/index.d.ts +1 -1
- package/esm/date-picker/index.js +1 -1
- package/esm/dropdown/dropdown.d.ts +3 -0
- package/esm/dropdown/dropdown.js +304 -0
- package/esm/dropdown/index.d.ts +3 -4
- package/esm/dropdown/index.js +3 -293
- package/esm/dropdown/options.js +2 -1
- package/esm/dropdown/style/css/index.css +3 -0
- package/esm/dropdown/style/index.less +2 -0
- package/esm/dropdown/type.d.ts +20 -9
- package/esm/dropdown-menu/dropdown-menu.d.ts +4 -0
- package/esm/dropdown-menu/dropdown-menu.js +256 -0
- package/esm/dropdown-menu/helper.d.ts +1 -1
- package/esm/dropdown-menu/index.d.ts +2 -3
- package/esm/dropdown-menu/index.js +2 -237
- package/esm/dropdown-menu/type.d.ts +21 -20
- package/esm/ellipsis/index.d.ts +1 -1
- package/esm/ellipsis/index.js +1 -1
- package/esm/grid/index.js +13 -12
- package/esm/image/index.d.ts +1 -2
- package/esm/image/index.js +15 -10
- package/esm/image/style/css/index.css +2 -1
- package/esm/image/style/index.less +2 -1
- package/esm/image-picker/add-icon.d.ts +2 -0
- package/esm/image-picker/add-icon.js +14 -0
- package/esm/image-picker/demo/style/css/mobile.css +40 -0
- package/esm/image-picker/demo/style/mobile.less +42 -0
- package/esm/image-picker/index.d.ts +13 -0
- package/esm/image-picker/index.js +302 -0
- package/esm/image-picker/style/css/index.css +147 -0
- package/esm/image-picker/style/css/index.d.ts +2 -0
- package/esm/image-picker/style/css/index.js +2 -0
- package/esm/image-picker/style/index.d.ts +2 -0
- package/esm/image-picker/style/index.js +2 -0
- package/esm/image-picker/style/index.less +116 -0
- package/esm/image-picker/type.d.ts +174 -0
- package/esm/image-picker/type.js +1 -0
- package/esm/image-preview/index.d.ts +3 -3
- package/esm/image-preview/index.js +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +3 -0
- package/esm/input/hooks.js +49 -8
- package/esm/input/index.d.ts +1 -1
- package/esm/input/index.js +1 -1
- package/esm/input/props.d.ts +8 -2
- package/esm/nav-bar/index.js +6 -2
- package/esm/notice-bar/index.d.ts +1 -1
- package/esm/notice-bar/index.js +1 -1
- package/esm/picker/index.d.ts +1 -1
- package/esm/picker/index.js +1 -1
- package/esm/picker-view/index.d.ts +1 -1
- package/esm/picker-view/index.js +1 -1
- package/esm/popover/index.d.ts +1 -1
- package/esm/popover/index.js +1 -1
- package/esm/popup-swiper/index.js +3 -2
- package/esm/radio/index.d.ts +1 -1
- package/esm/radio/index.js +1 -1
- package/esm/rate/index.d.ts +1 -1
- package/esm/rate/index.js +1 -1
- package/esm/search-bar/association.d.ts +3 -0
- package/esm/search-bar/association.js +82 -0
- package/esm/search-bar/cancel-button.d.ts +10 -0
- package/esm/search-bar/cancel-button.js +30 -0
- package/esm/search-bar/demo/style/css/mobile.css +5 -0
- package/esm/search-bar/demo/style/mobile.less +9 -0
- package/esm/search-bar/highlight.d.ts +12 -0
- package/esm/search-bar/highlight.js +66 -0
- package/esm/search-bar/index.d.ts +13 -0
- package/esm/search-bar/index.js +213 -0
- package/esm/search-bar/style/css/index.css +148 -0
- package/esm/search-bar/style/css/index.d.ts +2 -0
- package/esm/search-bar/style/css/index.js +2 -0
- package/esm/search-bar/style/index.d.ts +2 -0
- package/esm/search-bar/style/index.js +2 -0
- package/esm/search-bar/style/index.less +111 -0
- package/esm/search-bar/type.d.ts +163 -0
- package/esm/search-bar/type.js +1 -0
- package/esm/show-monitor/index.js +31 -3
- package/esm/slider/index.d.ts +1 -1
- package/esm/slider/index.js +1 -1
- package/esm/steps/demo/style/css/mobile.css +1 -1
- package/esm/steps/demo/style/mobile.less +1 -1
- package/esm/steps/index.d.ts +1 -1
- package/esm/steps/index.js +1 -1
- package/esm/steps/style/css/index.css +5 -15
- package/esm/steps/style/index.less +6 -10
- package/esm/sticky/index.d.ts +1 -1
- package/esm/style.d.ts +3 -0
- package/esm/style.js +3 -0
- package/esm/swipe-action/demo/style/css/mobile.css +5 -0
- package/esm/swipe-action/demo/style/mobile.less +9 -0
- package/esm/swipe-action/index.d.ts +12 -0
- package/esm/swipe-action/index.js +321 -0
- package/esm/swipe-action/item.d.ts +11 -0
- package/esm/swipe-action/item.js +42 -0
- package/esm/swipe-action/style/css/index.css +88 -0
- package/esm/swipe-action/style/css/index.d.ts +2 -0
- package/esm/swipe-action/style/css/index.js +2 -0
- package/esm/swipe-action/style/index.d.ts +2 -0
- package/esm/swipe-action/style/index.js +2 -0
- package/esm/swipe-action/style/index.less +89 -0
- package/esm/swipe-action/type.d.ts +123 -0
- package/esm/swipe-action/type.js +1 -0
- package/esm/switch/index.d.ts +1 -1
- package/esm/switch/index.js +1 -1
- package/esm/tabs/tab-pane.js +5 -1
- package/esm/tag/index.d.ts +1 -1
- package/esm/tag/index.js +1 -1
- package/esm/textarea/index.d.ts +1 -1
- package/esm/textarea/index.js +1 -1
- package/package.json +3 -3
- package/tokens/app/arcodesign/default/css-variables.less +53 -3
- package/tokens/app/arcodesign/default/index.d.ts +53 -3
- package/tokens/app/arcodesign/default/index.js +54 -4
- package/tokens/app/arcodesign/default/index.json +629 -39
- package/tokens/app/arcodesign/default/index.less +53 -3
- package/umd/_helpers/type.d.ts +1 -1
- package/umd/avatar/group.js +1 -1
- package/umd/avatar/index.d.ts +1 -1
- package/umd/avatar/index.js +11 -14
- package/umd/avatar/style/css/index.css +96 -126
- package/umd/avatar/style/index.less +54 -72
- package/umd/badge/index.d.ts +1 -1
- package/umd/badge/index.js +7 -9
- package/umd/badge/style/css/index.css +5 -5
- package/umd/badge/style/index.less +5 -5
- package/umd/button/hooks.d.ts +1 -2
- package/umd/button/hooks.js +5 -3
- package/umd/button/index.d.ts +6 -0
- package/umd/button/index.js +38 -33
- package/umd/button/style/css/index.css +75 -310
- package/umd/button/style/index.less +32 -38
- package/umd/carousel/index.d.ts +1 -1
- package/umd/carousel/index.js +1 -1
- package/umd/cell/index.d.ts +1 -1
- package/umd/cell/index.js +1 -1
- package/umd/checkbox/index.d.ts +1 -1
- package/umd/checkbox/index.js +1 -1
- package/umd/collapse/index.d.ts +1 -1
- package/umd/collapse/index.js +1 -1
- package/umd/count-down/demo/style/mobile.less +1 -1
- package/umd/count-down/index.d.ts +1 -1
- package/umd/count-down/index.js +1 -1
- package/umd/date-picker/index.d.ts +1 -1
- package/umd/date-picker/index.js +1 -1
- package/umd/dropdown/dropdown.d.ts +3 -0
- package/umd/dropdown/dropdown.js +325 -0
- package/umd/dropdown/index.d.ts +3 -4
- package/umd/dropdown/index.js +5 -298
- package/umd/dropdown/options.js +2 -1
- package/umd/dropdown/style/css/index.css +3 -0
- package/umd/dropdown/style/index.less +2 -0
- package/umd/dropdown/type.d.ts +20 -9
- package/umd/dropdown-menu/dropdown-menu.d.ts +4 -0
- package/umd/dropdown-menu/dropdown-menu.js +278 -0
- package/umd/dropdown-menu/helper.d.ts +1 -1
- package/umd/dropdown-menu/index.d.ts +2 -3
- package/umd/dropdown-menu/index.js +5 -241
- package/umd/dropdown-menu/type.d.ts +21 -20
- package/umd/ellipsis/index.d.ts +1 -1
- package/umd/ellipsis/index.js +1 -1
- package/umd/grid/index.js +13 -12
- package/umd/image/index.d.ts +1 -2
- package/umd/image/index.js +14 -9
- package/umd/image/style/css/index.css +2 -1
- package/umd/image/style/index.less +2 -1
- package/umd/image-picker/add-icon.d.ts +2 -0
- package/umd/image-picker/add-icon.js +35 -0
- package/umd/image-picker/demo/style/css/mobile.css +40 -0
- package/umd/image-picker/demo/style/mobile.less +42 -0
- package/umd/image-picker/index.d.ts +13 -0
- package/umd/image-picker/index.js +329 -0
- package/umd/image-picker/style/css/index.css +147 -0
- package/umd/image-picker/style/css/index.d.ts +2 -0
- package/umd/image-picker/style/css/index.js +15 -0
- package/umd/image-picker/style/index.d.ts +2 -0
- package/umd/image-picker/style/index.js +15 -0
- package/umd/image-picker/style/index.less +116 -0
- package/umd/image-picker/type.d.ts +174 -0
- package/umd/image-picker/type.js +17 -0
- package/umd/image-preview/index.d.ts +3 -3
- package/umd/image-preview/index.js +1 -1
- package/umd/index.d.ts +3 -0
- package/umd/index.js +11 -5
- package/umd/input/hooks.js +48 -7
- package/umd/input/index.d.ts +1 -1
- package/umd/input/index.js +1 -1
- package/umd/input/props.d.ts +8 -2
- package/umd/nav-bar/index.js +9 -6
- package/umd/notice-bar/index.d.ts +1 -1
- package/umd/notice-bar/index.js +1 -1
- package/umd/picker/index.d.ts +1 -1
- package/umd/picker/index.js +1 -1
- package/umd/picker-view/index.d.ts +1 -1
- package/umd/picker-view/index.js +1 -1
- package/umd/popover/index.d.ts +1 -1
- package/umd/popover/index.js +1 -1
- package/umd/popup-swiper/index.js +3 -2
- package/umd/radio/index.d.ts +1 -1
- package/umd/radio/index.js +1 -1
- package/umd/rate/index.d.ts +1 -1
- package/umd/rate/index.js +1 -1
- package/umd/search-bar/association.d.ts +3 -0
- package/umd/search-bar/association.js +101 -0
- package/umd/search-bar/cancel-button.d.ts +10 -0
- package/umd/search-bar/cancel-button.js +52 -0
- package/umd/search-bar/demo/style/css/mobile.css +5 -0
- package/umd/search-bar/demo/style/mobile.less +9 -0
- package/umd/search-bar/highlight.d.ts +12 -0
- package/umd/search-bar/highlight.js +87 -0
- package/umd/search-bar/index.d.ts +13 -0
- package/umd/search-bar/index.js +235 -0
- package/umd/search-bar/style/css/index.css +148 -0
- package/umd/search-bar/style/css/index.d.ts +2 -0
- package/umd/search-bar/style/css/index.js +15 -0
- package/umd/search-bar/style/index.d.ts +2 -0
- package/umd/search-bar/style/index.js +15 -0
- package/umd/search-bar/style/index.less +111 -0
- package/umd/search-bar/type.d.ts +163 -0
- package/umd/search-bar/type.js +17 -0
- package/umd/show-monitor/index.js +31 -3
- package/umd/slider/index.d.ts +1 -1
- package/umd/slider/index.js +1 -1
- package/umd/steps/demo/style/css/mobile.css +1 -1
- package/umd/steps/demo/style/mobile.less +1 -1
- package/umd/steps/index.d.ts +1 -1
- package/umd/steps/index.js +1 -1
- package/umd/steps/style/css/index.css +5 -15
- package/umd/steps/style/index.less +6 -10
- package/umd/sticky/index.d.ts +1 -1
- package/umd/style.d.ts +3 -0
- package/umd/style.js +4 -4
- package/umd/swipe-action/demo/style/css/mobile.css +5 -0
- package/umd/swipe-action/demo/style/mobile.less +9 -0
- package/umd/swipe-action/index.d.ts +12 -0
- package/umd/swipe-action/index.js +342 -0
- package/umd/swipe-action/item.d.ts +11 -0
- package/umd/swipe-action/item.js +62 -0
- package/umd/swipe-action/style/css/index.css +88 -0
- package/umd/swipe-action/style/css/index.d.ts +2 -0
- package/umd/swipe-action/style/css/index.js +15 -0
- package/umd/swipe-action/style/index.d.ts +2 -0
- package/umd/swipe-action/style/index.js +15 -0
- package/umd/swipe-action/style/index.less +89 -0
- package/umd/swipe-action/type.d.ts +123 -0
- package/umd/swipe-action/type.js +17 -0
- package/umd/switch/index.d.ts +1 -1
- package/umd/switch/index.js +1 -1
- package/umd/tabs/tab-pane.js +5 -1
- package/umd/tag/index.d.ts +1 -1
- package/umd/tag/index.js +1 -1
- package/umd/textarea/index.d.ts +1 -1
- package/umd/textarea/index.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,59 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [2.21.0](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.19.1...@arco-design/mobile-react@2.21.0) (2022-08-29)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* `Button` support coverIconWhenLoading ([#33](https://github.com/arco-design/arco-design-mobile/issues/33)) ([4213959](https://github.com/arco-design/arco-design-mobile/commit/421395918c8dc8ec8e6cb742aeed46503eaef925))
|
12
|
+
* `Dropdown` optimize animation when direction changed ([2022692](https://github.com/arco-design/arco-design-mobile/commit/20226924759486d66ecae7a8e466bc1c676cd923))
|
13
|
+
* `Dropdown` support customize select icon & value of string type ([9eb6f5d](https://github.com/arco-design/arco-design-mobile/commit/9eb6f5db76d2a1975e61a478d897522cf8bcbf8e))
|
14
|
+
* `DropdownMenu` optimize renderSelectLabel params ([1c685fd](https://github.com/arco-design/arco-design-mobile/commit/1c685fd85851f6735d1d91dc49c6f28ade0a858c))
|
15
|
+
* `ImagePicker` convert event.target.files to array ([dec36f1](https://github.com/arco-design/arco-design-mobile/commit/dec36f1edf313e34bb1fd290ce314206639a5717))
|
16
|
+
* `ImagePicker` fix uploaded images change ([#44](https://github.com/arco-design/arco-design-mobile/issues/44)) ([7511837](https://github.com/arco-design/arco-design-mobile/commit/75118376f7b08f39a2c438737075a0af0d39004d))
|
17
|
+
* `ImagePicker` optimize display when uploading ([a99f2f3](https://github.com/arco-design/arco-design-mobile/commit/a99f2f3e2927ce2f263a496da09e391395a8b545))
|
18
|
+
* `NavBar` trigger caculation when showOffset changes ([06119ce](https://github.com/arco-design/arco-design-mobile/commit/06119ceeefb286ac963dae0f8b49a1112063d1b9))
|
19
|
+
* `PopupSwiper` optimize moving direction ([fe1d100](https://github.com/arco-design/arco-design-mobile/commit/fe1d100fb3aba069ad66255c93654823beebf249))
|
20
|
+
* `ShowMonitor` support flush visible status ([#31](https://github.com/arco-design/arco-design-mobile/issues/31)) ([bdad151](https://github.com/arco-design/arco-design-mobile/commit/bdad151e8a466f20e3e033ccec9a5d458ff4fbf4))
|
21
|
+
* `Steps` converge style to token ([6cf4f26](https://github.com/arco-design/arco-design-mobile/commit/6cf4f267a271dc0d03f559c4aca8199f9fcae2ec))
|
22
|
+
* `Tabs` limit max scroll distance close ([#37](https://github.com/arco-design/arco-design-mobile/issues/37)) ([e716d01](https://github.com/arco-design/arco-design-mobile/commit/e716d014dfa34c4159d4011d2a1ccd5b7d133b4c)), closes [#36](https://github.com/arco-design/arco-design-mobile/issues/36)
|
23
|
+
* components classname optimize: `Avatar` & `Button` & `Badge` ([e6b70dd](https://github.com/arco-design/arco-design-mobile/commit/e6b70dd5eebb23646f2e7639b8a8a73bd51e57c3))
|
24
|
+
|
25
|
+
|
26
|
+
### Features
|
27
|
+
|
28
|
+
* add new component `ImagePicker` ([#24](https://github.com/arco-design/arco-design-mobile/issues/24)) ([73f6156](https://github.com/arco-design/arco-design-mobile/commit/73f615651f46dc670f29733f6b99ec56795fc48b))
|
29
|
+
* add new component `SearchBar` ([#22](https://github.com/arco-design/arco-design-mobile/issues/22)) ([36cf4d4](https://github.com/arco-design/arco-design-mobile/commit/36cf4d4d61506358cd84b41738d817db8399c04f))
|
30
|
+
* add new component `SwipeAction` ([221dc57](https://github.com/arco-design/arco-design-mobile/commit/221dc5776a508fcccd27de992e1ae58d137b7fb6))
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
# [2.20.0](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.19.1...@arco-design/mobile-react@2.20.0) (2022-08-12)
|
37
|
+
|
38
|
+
|
39
|
+
### Bug Fixes
|
40
|
+
|
41
|
+
* `Button` support coverIconWhenLoading ([#33](https://github.com/arco-design/arco-design-mobile/issues/33)) ([2ef79f5](https://github.com/arco-design/arco-design-mobile/commit/2ef79f5f77081682075d00beb8639c87515aa4b3))
|
42
|
+
* `Dropdown` support customize select icon & value of string type ([9eb6f5d](https://github.com/arco-design/arco-design-mobile/commit/9eb6f5db76d2a1975e61a478d897522cf8bcbf8e))
|
43
|
+
* `DropdownMenu` optimize renderSelectLabel params ([1c685fd](https://github.com/arco-design/arco-design-mobile/commit/1c685fd85851f6735d1d91dc49c6f28ade0a858c))
|
44
|
+
* `ImagePicker` optimize display when uploading ([eba85a4](https://github.com/arco-design/arco-design-mobile/commit/eba85a46bfadddc5924f8cd89f614416bdb0e3c1))
|
45
|
+
* `NavBar` trigger caculation when showOffset changes ([06119ce](https://github.com/arco-design/arco-design-mobile/commit/06119ceeefb286ac963dae0f8b49a1112063d1b9))
|
46
|
+
* `ShowMonitor` support flush visible status ([#31](https://github.com/arco-design/arco-design-mobile/issues/31)) ([b5e12b2](https://github.com/arco-design/arco-design-mobile/commit/b5e12b27cd464cc137be810bea828850934072b0))
|
47
|
+
* `Steps` converge style to token ([6cf4f26](https://github.com/arco-design/arco-design-mobile/commit/6cf4f267a271dc0d03f559c4aca8199f9fcae2ec))
|
48
|
+
* components classname optimize: `Avatar` & `Button` & `Badge` ([cba4ac4](https://github.com/arco-design/arco-design-mobile/commit/cba4ac4bfafbe4edd53019b2c2ee314e092e409b))
|
49
|
+
|
50
|
+
|
51
|
+
### Features
|
52
|
+
|
53
|
+
* add new component `ImagePicker` ([#24](https://github.com/arco-design/arco-design-mobile/issues/24)) ([73f6156](https://github.com/arco-design/arco-design-mobile/commit/73f615651f46dc670f29733f6b99ec56795fc48b))
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
6
59
|
## [2.19.1](https://github.com/arco-design/arco-design-mobile/compare/@arco-design/mobile-react@2.19.0...@arco-design/mobile-react@2.19.1) (2022-07-22)
|
7
60
|
|
8
61
|
|
package/README.en-US.md
CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="_b
|
|
59
59
|
React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">Click here</a>**
|
60
60
|
|
61
61
|
```
|
62
|
-
<link ref="stylesheet" href="https://unpkg.com
|
63
|
-
<script src="https://unpkg.com
|
62
|
+
<link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.20.0/dist/style.min.css">
|
63
|
+
<script src="https://unpkg.com/@arco-design/mobile-react@2.20.0/dist/index.min.js"></script>
|
64
64
|
```
|
65
65
|
|
66
66
|
## Full import
|
@@ -89,7 +89,7 @@ npm install babel-plugin-import -D
|
|
89
89
|
plugins: [
|
90
90
|
["import", {
|
91
91
|
"libraryName": "@arco-design/mobile-react",
|
92
|
-
"libraryDirectory": "esm",
|
92
|
+
"libraryDirectory": "esm", // In SSR environment, you need to use `cjs` here
|
93
93
|
"style": (path) => `${path}/style`,
|
94
94
|
}]
|
95
95
|
]
|
@@ -102,7 +102,7 @@ plugins: [
|
|
102
102
|
```js
|
103
103
|
plugins: [
|
104
104
|
["import", {
|
105
|
-
"libraryName": "@arco-design/mobile-react/esm/icon",
|
105
|
+
"libraryName": "@arco-design/mobile-react/esm/icon", // In SSR environment, you need to replace `esm` with `cjs`
|
106
106
|
"libraryDirectory": "",
|
107
107
|
"camel2DashComponentName": false,
|
108
108
|
}]
|
@@ -115,11 +115,11 @@ If both **component** and **Icon** need to be imported on demand, you need to ad
|
|
115
115
|
plugins: [
|
116
116
|
["import", {
|
117
117
|
"libraryName": "@arco-design/mobile-react",
|
118
|
-
"libraryDirectory": "esm",
|
118
|
+
"libraryDirectory": "esm", // In SSR environment, you need to use `cjs` here
|
119
119
|
"style": (path) => `${path}/style`
|
120
120
|
}, "@arco-design/mobile-react"],
|
121
121
|
["import", {
|
122
|
-
"libraryName": "@arco-design/mobile-react/esm/icon",
|
122
|
+
"libraryName": "@arco-design/mobile-react/esm/icon", // In SSR environment, you need to replace `esm` with `cjs`
|
123
123
|
"libraryDirectory": "",
|
124
124
|
"camel2DashComponentName": false
|
125
125
|
}, "@arco-design/mobile-react/esm/icon"]
|
package/README.md
CHANGED
@@ -59,8 +59,8 @@ React & ReactDOM: **<a href="https://reactjs.org/docs/cdn-links.html" target="
|
|
59
59
|
React Transition Group: **<a href="https://reactcommunity.org/react-transition-group/" target="_blank">戳这里获取</a>**
|
60
60
|
|
61
61
|
```
|
62
|
-
<link ref="stylesheet" href="https://unpkg.com
|
63
|
-
<script src="https://unpkg.com
|
62
|
+
<link ref="stylesheet" href="https://unpkg.com/@arco-design/mobile-react@2.20.0/dist/style.min.css">
|
63
|
+
<script src="https://unpkg.com/@arco-design/mobile-react@2.20.0/dist/index.min.js"></script>
|
64
64
|
```
|
65
65
|
|
66
66
|
## 引入全部
|
@@ -89,7 +89,7 @@ npm install babel-plugin-import -D
|
|
89
89
|
plugins: [
|
90
90
|
["import", {
|
91
91
|
"libraryName": "@arco-design/mobile-react",
|
92
|
-
"libraryDirectory": "esm",
|
92
|
+
"libraryDirectory": "esm", // 注意如果是 SSR 环境,这里需使用 `cjs`
|
93
93
|
"style": (path) => `${path}/style`,
|
94
94
|
}]
|
95
95
|
]
|
@@ -102,7 +102,7 @@ plugins: [
|
|
102
102
|
```js
|
103
103
|
plugins: [
|
104
104
|
["import", {
|
105
|
-
"libraryName": "@arco-design/mobile-react/esm/icon",
|
105
|
+
"libraryName": "@arco-design/mobile-react/esm/icon", // 注意如果是 SSR 环境,这里需将 `esm` 替换为 `cjs`
|
106
106
|
"libraryDirectory": "",
|
107
107
|
"camel2DashComponentName": false,
|
108
108
|
}]
|
@@ -115,11 +115,11 @@ plugins: [
|
|
115
115
|
plugins: [
|
116
116
|
["import", {
|
117
117
|
"libraryName": "@arco-design/mobile-react",
|
118
|
-
"libraryDirectory": "esm",
|
118
|
+
"libraryDirectory": "esm", // 注意如果是 SSR 环境,这里需使用 `cjs`
|
119
119
|
"style": (path) => `${path}/style`
|
120
120
|
}, "@arco-design/mobile-react"],
|
121
121
|
["import", {
|
122
|
-
"libraryName": "@arco-design/mobile-react/esm/icon",
|
122
|
+
"libraryName": "@arco-design/mobile-react/esm/icon", // 注意如果是 SSR 环境,这里需将 `esm` 替换为 `cjs`
|
123
123
|
"libraryDirectory": "",
|
124
124
|
"camel2DashComponentName": false
|
125
125
|
}, "@arco-design/mobile-react/esm/icon"]
|
package/cjs/_helpers/type.d.ts
CHANGED
package/cjs/avatar/group.js
CHANGED
@@ -57,7 +57,7 @@ var Group = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
57
57
|
return /*#__PURE__*/_react.default.createElement("div", {
|
58
58
|
ref: domRef,
|
59
59
|
style: style,
|
60
|
-
className: (0, _mobileUtils.cls)(className, prefixCls + "-avatar-group", "group-" + size)
|
60
|
+
className: (0, _mobileUtils.cls)(className, prefixCls + "-avatar-group", prefixCls + "-avatar-group-size-" + size, "group-" + size)
|
61
61
|
}, /*#__PURE__*/_react.default.createElement(AvatarGroupContext.Provider, {
|
62
62
|
value: {
|
63
63
|
isGroup: true,
|
package/cjs/avatar/index.d.ts
CHANGED
@@ -9,7 +9,7 @@ declare const _default: React.ForwardRefExoticComponent<AvatarProps<ImageProps &
|
|
9
9
|
/**
|
10
10
|
* 头像展示组件,支持圆形和方形两种形状,支持图片文字头像,支持五种尺寸。
|
11
11
|
* @en Avatar component supports two shapes of circle and square, supports pictures or text avatars, with five sizes.
|
12
|
-
* @type
|
12
|
+
* @type 信息展示
|
13
13
|
* @type_en Data Display
|
14
14
|
* @name 头像
|
15
15
|
* @name_en Avatar
|
package/cjs/avatar/index.js
CHANGED
@@ -38,7 +38,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
38
38
|
|
39
39
|
function componentGenerator(Comp) {
|
40
40
|
return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
41
|
-
var _cls;
|
41
|
+
var _cls, _cls2;
|
42
42
|
|
43
43
|
var _useContext = (0, _react.useContext)(_contextProvider.GlobalContext),
|
44
44
|
prefixCls = _useContext.prefixCls;
|
@@ -77,10 +77,7 @@ function componentGenerator(Comp) {
|
|
77
77
|
style = _props$style === void 0 ? {} : _props$style,
|
78
78
|
_props$imageProps = props.imageProps,
|
79
79
|
imageProps = _props$imageProps === void 0 ? {} : _props$imageProps,
|
80
|
-
|
81
|
-
defaultOverLap = _props$defaultOverLap === void 0 ? /*#__PURE__*/_react.default.createElement(_IconUserFill.default, {
|
82
|
-
className: prefixCls + "-avatar-default"
|
83
|
-
}) : _props$defaultOverLap,
|
80
|
+
defaultOverLap = props.defaultOverLap,
|
84
81
|
onClickDecoration = props.onClickDecoration,
|
85
82
|
onClick = props.onClick;
|
86
83
|
var domRef = (0, _react.useRef)(null);
|
@@ -140,19 +137,19 @@ function componentGenerator(Comp) {
|
|
140
137
|
return /*#__PURE__*/_react.default.createElement("div", {
|
141
138
|
ref: domRef,
|
142
139
|
style: style,
|
143
|
-
className: (0, _mobileUtils.cls)(prefixCls + "-avatar-wrapper", className, size, shape, {
|
144
|
-
'with-info': Boolean(avatarName)
|
145
|
-
}),
|
140
|
+
className: (0, _mobileUtils.cls)(prefixCls + "-avatar-wrapper", className, size, shape, prefixCls + "-avatar-wrapper-shape-" + shape, (_cls = {}, _cls[prefixCls + "-avatar-wrapper-with-info " + prefixCls + "-avatar-wrapper-with-info-size-" + size + " with-info"] = Boolean(avatarName), _cls)),
|
146
141
|
onClick: onClick
|
147
142
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
148
|
-
className: (0, _mobileUtils.cls)(prefixCls + "-avatar", size, shape, (
|
143
|
+
className: (0, _mobileUtils.cls)(prefixCls + "-avatar", prefixCls + "-avatar-size-" + size, size, prefixCls + "-avatar-shape-" + shape, shape, (_cls2 = {}, _cls2[prefixCls + "-text-avatar " + prefixCls + "-avatar-mode-text"] = isTextAvatar, _cls2[prefixCls + "-image-avatar " + prefixCls + "-avatar-mode-image"] = isImageAvatar, _cls2[prefixCls + "-avatar-default-overlap default-overlap"] = useDefaultAvatar, _cls2)),
|
149
144
|
style: avatarStyle,
|
150
145
|
ref: avatarRef
|
151
|
-
}, children, useDefaultAvatar && defaultOverLap
|
146
|
+
}, children, useDefaultAvatar && (defaultOverLap === void 0 ? /*#__PURE__*/_react.default.createElement(_IconUserFill.default, {
|
147
|
+
className: prefixCls + "-avatar-default " + prefixCls + "-avatar-default-icon-size-" + size
|
148
|
+
}) : defaultOverLap), isImageAvatar && src && /*#__PURE__*/_react.default.createElement(Comp, (0, _extends2.default)({
|
152
149
|
className: prefixCls + "-avatar-img",
|
153
150
|
src: src
|
154
151
|
}, imageProps)), isTextAvatar && /*#__PURE__*/_react.default.createElement("span", {
|
155
|
-
className: prefixCls + "-avatar-text",
|
152
|
+
className: prefixCls + "-avatar-text " + prefixCls + "-avatar-text-size-" + size,
|
156
153
|
ref: avatarTextRef,
|
157
154
|
style: {
|
158
155
|
transform: "scale(" + textScale + ")"
|
@@ -163,9 +160,9 @@ function componentGenerator(Comp) {
|
|
163
160
|
}, decoration)), renderInfo, !renderInfo && avatarName && /*#__PURE__*/_react.default.createElement("div", {
|
164
161
|
className: (0, _mobileUtils.cls)(prefixCls + "-avatar-info")
|
165
162
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
166
|
-
className:
|
163
|
+
className: prefixCls + "-avatar-name " + prefixCls + "-avatar-name-size-" + size
|
167
164
|
}, avatarName), avatarDesc && /*#__PURE__*/_react.default.createElement("div", {
|
168
|
-
className:
|
165
|
+
className: prefixCls + "-avatar-desc " + prefixCls + "-avatar-desc-size-" + size
|
169
166
|
}, avatarDesc)));
|
170
167
|
});
|
171
168
|
}
|
@@ -174,7 +171,7 @@ var Avatar = componentGenerator(_image.BaseImage);
|
|
174
171
|
/**
|
175
172
|
* 头像展示组件,支持圆形和方形两种形状,支持图片文字头像,支持五种尺寸。
|
176
173
|
* @en Avatar component supports two shapes of circle and square, supports pictures or text avatars, with five sizes.
|
177
|
-
* @type
|
174
|
+
* @type 信息展示
|
178
175
|
* @type_en Data Display
|
179
176
|
* @name 头像
|
180
177
|
* @name_en Avatar
|
@@ -1,74 +1,3 @@
|
|
1
|
-
.arco-avatar-wrapper {
|
2
|
-
display: inline-block;
|
3
|
-
}
|
4
|
-
.arco-avatar-wrapper.with-info.ultra-small {
|
5
|
-
height: 1.12rem ;
|
6
|
-
}
|
7
|
-
.arco-avatar-wrapper.ultra-small .arco-avatar-name {
|
8
|
-
font-size: 0.26rem ;
|
9
|
-
line-height: 0.36rem ;
|
10
|
-
}
|
11
|
-
.arco-avatar-wrapper.ultra-small .arco-avatar-desc {
|
12
|
-
margin-top: 0.04rem ;
|
13
|
-
font-size: 0.2rem ;
|
14
|
-
line-height: 0.28rem ;
|
15
|
-
}
|
16
|
-
.arco-avatar-wrapper.with-info.smaller {
|
17
|
-
height: 1.28rem ;
|
18
|
-
}
|
19
|
-
.arco-avatar-wrapper.smaller .arco-avatar-name {
|
20
|
-
font-size: 0.28rem ;
|
21
|
-
line-height: 0.4rem ;
|
22
|
-
}
|
23
|
-
.arco-avatar-wrapper.smaller .arco-avatar-desc {
|
24
|
-
margin-top: 0 ;
|
25
|
-
font-size: 0.24rem ;
|
26
|
-
line-height: 0.32rem ;
|
27
|
-
}
|
28
|
-
.arco-avatar-wrapper.with-info.small {
|
29
|
-
height: 1.6rem ;
|
30
|
-
}
|
31
|
-
.arco-avatar-wrapper.small .arco-avatar-name {
|
32
|
-
font-size: 0.32rem ;
|
33
|
-
line-height: 0.48rem ;
|
34
|
-
}
|
35
|
-
.arco-avatar-wrapper.small .arco-avatar-desc {
|
36
|
-
margin-top: 0 ;
|
37
|
-
font-size: 0.24rem ;
|
38
|
-
line-height: 0.32rem ;
|
39
|
-
}
|
40
|
-
.arco-avatar-wrapper.with-info.medium {
|
41
|
-
height: 1.6rem ;
|
42
|
-
}
|
43
|
-
.arco-avatar-wrapper.medium .arco-avatar-name {
|
44
|
-
font-size: 0.36rem ;
|
45
|
-
line-height: 0.52rem ;
|
46
|
-
}
|
47
|
-
.arco-avatar-wrapper.medium .arco-avatar-desc {
|
48
|
-
margin-top: 0.04rem ;
|
49
|
-
font-size: 0.28rem ;
|
50
|
-
line-height: 0.4rem ;
|
51
|
-
}
|
52
|
-
.arco-avatar-wrapper.with-info.large {
|
53
|
-
height: 1.76rem ;
|
54
|
-
}
|
55
|
-
.arco-avatar-wrapper.large .arco-avatar-name {
|
56
|
-
font-size: 0.36rem ;
|
57
|
-
line-height: 0.52rem ;
|
58
|
-
}
|
59
|
-
.arco-avatar-wrapper.large .arco-avatar-desc {
|
60
|
-
margin-top: 0.04rem ;
|
61
|
-
font-size: 0.28rem ;
|
62
|
-
line-height: 0.4rem ;
|
63
|
-
}
|
64
|
-
.arco-avatar-wrapper.with-info {
|
65
|
-
display: -webkit-box;
|
66
|
-
display: -webkit-flex;
|
67
|
-
display: flex;
|
68
|
-
-webkit-box-align: center;
|
69
|
-
-webkit-align-items: center;
|
70
|
-
align-items: center;
|
71
|
-
}
|
72
1
|
.arco-avatar {
|
73
2
|
position: relative;
|
74
3
|
font-size: 0;
|
@@ -84,104 +13,134 @@
|
|
84
13
|
color: #fff ;
|
85
14
|
background-color: #4080FF ;
|
86
15
|
}
|
87
|
-
.arco-avatar
|
16
|
+
.arco-avatar-mode-image {
|
88
17
|
background-color: transparent;
|
89
18
|
}
|
90
|
-
.arco-avatar
|
19
|
+
.arco-avatar-default-overlap {
|
91
20
|
background-color: #c9cdd4 ;
|
92
21
|
}
|
93
|
-
.arco-avatar
|
22
|
+
.arco-avatar-shape-circle {
|
94
23
|
border-radius: 50%;
|
95
24
|
}
|
96
|
-
.arco-avatar
|
25
|
+
.arco-avatar-shape-circle .arco-avatar-img .image-content {
|
97
26
|
border-radius: 50%;
|
98
27
|
}
|
99
|
-
.arco-avatar
|
28
|
+
.arco-avatar-shape-square {
|
100
29
|
border-radius: 0.08rem;
|
101
30
|
}
|
102
|
-
.arco-avatar
|
31
|
+
.arco-avatar-shape-square .arco-avatar-img .image-content {
|
103
32
|
border-radius: 0.08rem;
|
104
33
|
}
|
105
|
-
.arco-avatar
|
106
|
-
margin-left: -0.16rem ;
|
107
|
-
}
|
108
|
-
.arco-avatar.group-ultra-small .arco-avatar {
|
109
|
-
border-width: 0.02rem ;
|
110
|
-
}
|
111
|
-
.arco-avatar.ultra-small {
|
34
|
+
.arco-avatar-size-ultra-small {
|
112
35
|
width: 0.48rem ;
|
113
36
|
height: 0.48rem ;
|
114
37
|
}
|
115
|
-
.arco-avatar
|
38
|
+
.arco-avatar-default-icon-size-ultra-small {
|
116
39
|
font-size: 0.24rem ;
|
117
40
|
}
|
118
|
-
.arco-avatar
|
41
|
+
.arco-avatar-text-size-ultra-small {
|
119
42
|
font-size: 0.2rem ;
|
120
43
|
}
|
121
|
-
.arco-avatar
|
122
|
-
|
44
|
+
.arco-avatar-wrapper-with-info-size-ultra-small {
|
45
|
+
height: 1.12rem ;
|
123
46
|
}
|
124
|
-
.arco-avatar
|
125
|
-
|
47
|
+
.arco-avatar-name-size-ultra-small {
|
48
|
+
font-size: 0.26rem ;
|
49
|
+
line-height: 0.36rem ;
|
126
50
|
}
|
127
|
-
.arco-avatar
|
51
|
+
.arco-avatar-desc-size-ultra-small {
|
52
|
+
margin-top: 0.04rem ;
|
53
|
+
font-size: 0.2rem ;
|
54
|
+
line-height: 0.28rem ;
|
55
|
+
}
|
56
|
+
.arco-avatar-size-smaller {
|
128
57
|
width: 0.64rem ;
|
129
58
|
height: 0.64rem ;
|
130
59
|
}
|
131
|
-
.arco-avatar
|
60
|
+
.arco-avatar-default-icon-size-smaller {
|
132
61
|
font-size: 0.32rem ;
|
133
62
|
}
|
134
|
-
.arco-avatar
|
63
|
+
.arco-avatar-text-size-smaller {
|
135
64
|
font-size: 0.24rem ;
|
136
65
|
}
|
137
|
-
.arco-avatar
|
138
|
-
|
66
|
+
.arco-avatar-wrapper-with-info-size-smaller {
|
67
|
+
height: 1.28rem ;
|
139
68
|
}
|
140
|
-
.arco-avatar
|
141
|
-
|
69
|
+
.arco-avatar-name-size-smaller {
|
70
|
+
font-size: 0.28rem ;
|
71
|
+
line-height: 0.4rem ;
|
142
72
|
}
|
143
|
-
.arco-avatar
|
73
|
+
.arco-avatar-desc-size-smaller {
|
74
|
+
margin-top: 0 ;
|
75
|
+
font-size: 0.24rem ;
|
76
|
+
line-height: 0.32rem ;
|
77
|
+
}
|
78
|
+
.arco-avatar-size-small {
|
144
79
|
width: 0.8rem ;
|
145
80
|
height: 0.8rem ;
|
146
81
|
}
|
147
|
-
.arco-avatar
|
82
|
+
.arco-avatar-default-icon-size-small {
|
148
83
|
font-size: 0.4rem ;
|
149
84
|
}
|
150
|
-
.arco-avatar
|
85
|
+
.arco-avatar-text-size-small {
|
151
86
|
font-size: 0.28rem ;
|
152
87
|
}
|
153
|
-
.arco-avatar
|
154
|
-
|
88
|
+
.arco-avatar-wrapper-with-info-size-small {
|
89
|
+
height: 1.6rem ;
|
155
90
|
}
|
156
|
-
.arco-avatar
|
157
|
-
|
91
|
+
.arco-avatar-name-size-small {
|
92
|
+
font-size: 0.32rem ;
|
93
|
+
line-height: 0.48rem ;
|
94
|
+
}
|
95
|
+
.arco-avatar-desc-size-small {
|
96
|
+
margin-top: 0 ;
|
97
|
+
font-size: 0.24rem ;
|
98
|
+
line-height: 0.32rem ;
|
158
99
|
}
|
159
|
-
.arco-avatar
|
100
|
+
.arco-avatar-size-medium {
|
160
101
|
width: 0.96rem ;
|
161
102
|
height: 0.96rem ;
|
162
103
|
}
|
163
|
-
.arco-avatar
|
104
|
+
.arco-avatar-default-icon-size-medium {
|
164
105
|
font-size: 0.48rem ;
|
165
106
|
}
|
166
|
-
.arco-avatar
|
107
|
+
.arco-avatar-text-size-medium {
|
167
108
|
font-size: 0.32rem ;
|
168
109
|
}
|
169
|
-
.arco-avatar
|
170
|
-
|
110
|
+
.arco-avatar-wrapper-with-info-size-medium {
|
111
|
+
height: 1.6rem ;
|
171
112
|
}
|
172
|
-
.arco-avatar
|
173
|
-
|
113
|
+
.arco-avatar-name-size-medium {
|
114
|
+
font-size: 0.36rem ;
|
115
|
+
line-height: 0.52rem ;
|
116
|
+
}
|
117
|
+
.arco-avatar-desc-size-medium {
|
118
|
+
margin-top: 0.04rem ;
|
119
|
+
font-size: 0.28rem ;
|
120
|
+
line-height: 0.4rem ;
|
174
121
|
}
|
175
|
-
.arco-avatar
|
122
|
+
.arco-avatar-size-large {
|
176
123
|
width: 1.12rem ;
|
177
124
|
height: 1.12rem ;
|
178
125
|
}
|
179
|
-
.arco-avatar
|
126
|
+
.arco-avatar-default-icon-size-large {
|
180
127
|
font-size: 0.56rem ;
|
181
128
|
}
|
182
|
-
.arco-avatar
|
129
|
+
.arco-avatar-text-size-large {
|
183
130
|
font-size: 0.32rem ;
|
184
131
|
}
|
132
|
+
.arco-avatar-wrapper-with-info-size-large {
|
133
|
+
height: 1.76rem ;
|
134
|
+
}
|
135
|
+
.arco-avatar-name-size-large {
|
136
|
+
font-size: 0.36rem ;
|
137
|
+
line-height: 0.52rem ;
|
138
|
+
}
|
139
|
+
.arco-avatar-desc-size-large {
|
140
|
+
margin-top: 0.04rem ;
|
141
|
+
font-size: 0.28rem ;
|
142
|
+
line-height: 0.4rem ;
|
143
|
+
}
|
185
144
|
.arco-avatar-img {
|
186
145
|
width: 100%;
|
187
146
|
height: 100%;
|
@@ -195,6 +154,17 @@
|
|
195
154
|
flex: 0 0 auto;
|
196
155
|
font-weight: bold;
|
197
156
|
}
|
157
|
+
.arco-avatar-wrapper {
|
158
|
+
display: inline-block;
|
159
|
+
}
|
160
|
+
.arco-avatar-wrapper-with-info {
|
161
|
+
display: -webkit-box;
|
162
|
+
display: -webkit-flex;
|
163
|
+
display: flex;
|
164
|
+
-webkit-box-align: center;
|
165
|
+
-webkit-align-items: center;
|
166
|
+
align-items: center;
|
167
|
+
}
|
198
168
|
.arco-avatar-info {
|
199
169
|
display: -webkit-box;
|
200
170
|
display: -webkit-flex;
|
@@ -214,43 +184,43 @@
|
|
214
184
|
.arco-avatar-desc {
|
215
185
|
color: #86909c ;
|
216
186
|
}
|
217
|
-
.arco-avatar-group .arco-avatar-wrapper
|
187
|
+
.arco-avatar-group .arco-avatar-wrapper-shape-circle {
|
218
188
|
position: relative;
|
219
189
|
}
|
220
|
-
.arco-avatar-group .arco-avatar-wrapper
|
190
|
+
.arco-avatar-group .arco-avatar-wrapper-shape-circle:first-child {
|
221
191
|
margin-left: 0;
|
222
192
|
}
|
223
193
|
.arco-avatar-group .arco-avatar {
|
224
194
|
border-style: solid;
|
225
195
|
border-color: #ffffff ;
|
226
196
|
}
|
227
|
-
.arco-avatar-group
|
197
|
+
.arco-avatar-group-size-ultra-small .arco-avatar-wrapper {
|
228
198
|
margin-left: -0.16rem ;
|
229
199
|
}
|
230
|
-
.arco-avatar-group
|
200
|
+
.arco-avatar-group-size-ultra-small .arco-avatar {
|
231
201
|
border-width: 0.02rem ;
|
232
202
|
}
|
233
|
-
.arco-avatar-group
|
203
|
+
.arco-avatar-group-size-smaller .arco-avatar-wrapper {
|
234
204
|
margin-left: -0.16rem ;
|
235
205
|
}
|
236
|
-
.arco-avatar-group
|
206
|
+
.arco-avatar-group-size-smaller .arco-avatar {
|
237
207
|
border-width: 0.02rem ;
|
238
208
|
}
|
239
|
-
.arco-avatar-group
|
209
|
+
.arco-avatar-group-size-small .arco-avatar-wrapper {
|
240
210
|
margin-left: -0.24rem ;
|
241
211
|
}
|
242
|
-
.arco-avatar-group
|
212
|
+
.arco-avatar-group-size-small .arco-avatar {
|
243
213
|
border-width: 0.03rem ;
|
244
214
|
}
|
245
|
-
.arco-avatar-group
|
215
|
+
.arco-avatar-group-size-medium .arco-avatar-wrapper {
|
246
216
|
margin-left: -0.24rem ;
|
247
217
|
}
|
248
|
-
.arco-avatar-group
|
218
|
+
.arco-avatar-group-size-medium .arco-avatar {
|
249
219
|
border-width: 0.03rem ;
|
250
220
|
}
|
251
|
-
.arco-avatar-group
|
221
|
+
.arco-avatar-group-size-large .arco-avatar-wrapper {
|
252
222
|
margin-left: -0.24rem ;
|
253
223
|
}
|
254
|
-
.arco-avatar-group
|
224
|
+
.arco-avatar-group-size-large .arco-avatar {
|
255
225
|
border-width: 0.03rem ;
|
256
226
|
}
|