@arco-design/mobile-react 2.30.3 → 2.30.5
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 +28 -0
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/action-sheet/index.d.ts +2 -2
- package/cjs/action-sheet/style/css/index.css +30 -30
- package/cjs/action-sheet/style/index.less +1 -1
- package/cjs/avatar/style/css/index.css +54 -30
- package/cjs/avatar/style/index.less +3 -3
- package/cjs/badge/style/css/index.css +30 -30
- package/cjs/badge/style/index.less +1 -1
- package/cjs/button/style/css/index.css +30 -30
- package/cjs/button/style/index.less +1 -1
- package/cjs/carousel/index.d.ts +5 -0
- package/cjs/carousel/index.js +2 -1
- package/cjs/carousel/style/css/index.css +30 -30
- package/cjs/carousel/style/index.less +1 -1
- package/cjs/cell/style/css/index.css +30 -30
- package/cjs/cell/style/index.less +1 -1
- package/cjs/checkbox/style/css/index.css +30 -30
- package/cjs/checkbox/style/index.less +1 -1
- package/cjs/circle-progress/style/css/index.css +30 -30
- package/cjs/circle-progress/style/index.less +1 -1
- package/cjs/collapse/style/css/index.css +30 -30
- package/cjs/collapse/style/index.less +1 -1
- package/cjs/count-down/style/css/index.css +30 -30
- package/cjs/count-down/style/index.less +1 -1
- package/cjs/date-picker/style/css/index.css +30 -30
- package/cjs/date-picker/style/index.less +1 -1
- package/cjs/dialog/index.d.ts +2 -2
- package/cjs/dialog/style/css/index.css +118 -30
- package/cjs/dialog/style/index.less +17 -5
- package/cjs/divider/style/css/index.css +38 -30
- package/cjs/divider/style/index.less +3 -3
- package/cjs/dropdown/style/css/index.css +37 -30
- package/cjs/dropdown/style/index.less +3 -4
- package/cjs/dropdown-menu/style/css/index.css +38 -30
- package/cjs/dropdown-menu/style/index.less +3 -3
- package/cjs/ellipsis/index.d.ts +2 -2
- package/cjs/ellipsis/index.js +2 -2
- package/cjs/ellipsis/style/css/index.css +30 -30
- package/cjs/ellipsis/style/index.less +1 -1
- package/cjs/form/style/css/index.css +30 -30
- package/cjs/form/style/index.less +1 -1
- package/cjs/grid/index.js +10 -4
- package/cjs/grid/style/css/index.css +37 -30
- package/cjs/grid/style/index.less +3 -3
- package/cjs/image/index.js +10 -5
- package/cjs/image/style/css/index.css +30 -30
- package/cjs/image/style/index.less +1 -1
- package/cjs/image-picker/style/css/index.css +30 -30
- package/cjs/image-picker/style/index.less +1 -1
- package/cjs/image-preview/index.d.ts +3 -3
- package/cjs/image-preview/index.js +7 -2
- package/cjs/image-preview/style/css/index.css +30 -30
- package/cjs/image-preview/style/index.less +1 -1
- package/cjs/index-bar/style/css/index.css +58 -35
- package/cjs/index-bar/style/index.less +11 -11
- package/cjs/index.d.ts +2 -2
- package/cjs/index.js +6 -6
- package/cjs/input/style/css/index.css +30 -30
- package/cjs/input/style/index.less +1 -1
- package/cjs/keyboard/style/css/index.css +30 -30
- package/cjs/keyboard/style/index.less +1 -1
- package/cjs/load-more/style/css/index.css +30 -30
- package/cjs/load-more/style/index.less +1 -1
- package/cjs/loading/style/css/index.css +30 -30
- package/cjs/loading/style/index.less +1 -1
- package/cjs/masking/index.d.ts +2 -2
- package/cjs/masking/style/css/index.css +30 -30
- package/cjs/masking/style/index.less +1 -1
- package/cjs/nav-bar/style/css/index.css +30 -30
- package/cjs/nav-bar/style/index.less +1 -1
- package/cjs/notice-bar/style/css/index.css +30 -30
- package/cjs/notice-bar/style/index.less +1 -1
- package/cjs/notify/style/css/index.css +30 -30
- package/cjs/notify/style/index.less +1 -1
- package/cjs/pagination/arrow.js +6 -3
- package/cjs/pagination/style/css/index.css +51 -36
- package/cjs/pagination/style/index.less +10 -10
- package/cjs/picker/style/css/index.css +38 -30
- package/cjs/picker/style/index.less +3 -3
- package/cjs/picker-view/style/css/index.css +30 -30
- package/cjs/picker-view/style/index.less +1 -1
- package/cjs/popover/style/css/index.css +30 -30
- package/cjs/popover/style/css/menu.css +30 -30
- package/cjs/popover/style/index.less +1 -1
- package/cjs/popover/style/menu.less +1 -1
- package/cjs/popup/index.d.ts +2 -2
- package/cjs/popup/style/css/index.css +30 -30
- package/cjs/popup/style/index.less +1 -1
- package/cjs/popup-swiper/index.d.ts +2 -2
- package/cjs/popup-swiper/style/css/index.css +30 -30
- package/cjs/popup-swiper/style/index.less +1 -1
- package/cjs/progress/style/css/index.css +50 -30
- package/cjs/progress/style/index.less +6 -6
- package/cjs/pull-refresh/style/css/index.css +34 -30
- package/cjs/pull-refresh/style/index.less +2 -2
- package/cjs/radio/style/css/index.css +30 -30
- package/cjs/radio/style/index.less +1 -1
- package/cjs/rate/style/css/index.css +30 -30
- package/cjs/rate/style/index.less +1 -1
- package/cjs/search-bar/style/css/index.css +48 -30
- package/cjs/search-bar/style/index.less +6 -6
- package/cjs/skeleton/index.d.ts +1 -0
- package/cjs/skeleton/index.js +10 -0
- package/cjs/skeleton/style/css/index.css +30 -30
- package/cjs/skeleton/style/index.less +1 -1
- package/cjs/slider/hooks/index.d.ts +1 -1
- package/cjs/slider/index.d.ts +10 -0
- package/cjs/slider/index.js +1 -0
- package/cjs/slider/style/css/index.css +30 -30
- package/cjs/slider/style/index.less +1 -1
- package/cjs/slider/thumb.d.ts +6 -5
- package/cjs/slider/thumb.js +19 -20
- package/cjs/stepper/style/css/index.css +30 -30
- package/cjs/stepper/style/index.less +1 -1
- package/cjs/steps/index.d.ts +1 -1
- package/cjs/steps/style/css/index.css +66 -30
- package/cjs/steps/style/index.less +10 -10
- package/cjs/sticky/style/css/index.css +30 -30
- package/cjs/sticky/style/index.less +1 -1
- package/cjs/style.d.ts +2 -2
- package/cjs/style.js +3 -3
- package/cjs/swipe-action/style/css/index.css +30 -30
- package/cjs/swipe-action/style/index.less +1 -1
- package/cjs/swipe-load/style/css/index.css +30 -30
- package/cjs/swipe-load/style/index.less +1 -1
- package/cjs/switch/style/css/index.css +30 -30
- package/cjs/switch/style/index.less +1 -1
- package/cjs/tab-bar/style/css/index.css +30 -30
- package/cjs/tab-bar/style/index.less +1 -1
- package/cjs/tabs/style/css/index.css +30 -30
- package/cjs/tabs/style/index.less +1 -1
- package/cjs/tag/style/css/index.css +42 -30
- package/cjs/tag/style/index.less +4 -4
- package/cjs/textarea/style/css/index.css +30 -30
- package/cjs/textarea/style/index.less +1 -1
- package/cjs/toast/index.d.ts +12 -12
- package/cjs/toast/style/css/index.css +30 -30
- package/cjs/toast/style/index.less +1 -1
- package/cjs/transition/style/css/index.css +30 -30
- package/cjs/transition/style/index.less +1 -1
- package/dist/index.js +2400 -2379
- package/dist/index.min.js +3 -3
- package/dist/style.css +3260 -3019
- package/dist/style.min.css +1 -1
- package/esm/action-sheet/index.d.ts +2 -2
- package/esm/action-sheet/style/css/index.css +30 -30
- package/esm/action-sheet/style/index.less +1 -1
- package/esm/avatar/style/css/index.css +54 -30
- package/esm/avatar/style/index.less +3 -3
- package/esm/badge/style/css/index.css +30 -30
- package/esm/badge/style/index.less +1 -1
- package/esm/button/style/css/index.css +30 -30
- package/esm/button/style/index.less +1 -1
- package/esm/carousel/index.d.ts +5 -0
- package/esm/carousel/index.js +2 -1
- package/esm/carousel/style/css/index.css +30 -30
- package/esm/carousel/style/index.less +1 -1
- package/esm/cell/style/css/index.css +30 -30
- package/esm/cell/style/index.less +1 -1
- package/esm/checkbox/style/css/index.css +30 -30
- package/esm/checkbox/style/index.less +1 -1
- package/esm/circle-progress/style/css/index.css +30 -30
- package/esm/circle-progress/style/index.less +1 -1
- package/esm/collapse/style/css/index.css +30 -30
- package/esm/collapse/style/index.less +1 -1
- package/esm/count-down/style/css/index.css +30 -30
- package/esm/count-down/style/index.less +1 -1
- package/esm/date-picker/style/css/index.css +30 -30
- package/esm/date-picker/style/index.less +1 -1
- package/esm/dialog/index.d.ts +2 -2
- package/esm/dialog/style/css/index.css +118 -30
- package/esm/dialog/style/index.less +17 -5
- package/esm/divider/style/css/index.css +38 -30
- package/esm/divider/style/index.less +3 -3
- package/esm/dropdown/style/css/index.css +37 -30
- package/esm/dropdown/style/index.less +3 -4
- package/esm/dropdown-menu/style/css/index.css +38 -30
- package/esm/dropdown-menu/style/index.less +3 -3
- package/esm/ellipsis/index.d.ts +2 -2
- package/esm/ellipsis/index.js +2 -2
- package/esm/ellipsis/style/css/index.css +30 -30
- package/esm/ellipsis/style/index.less +1 -1
- package/esm/form/style/css/index.css +30 -30
- package/esm/form/style/index.less +1 -1
- package/esm/grid/index.js +12 -6
- package/esm/grid/style/css/index.css +37 -30
- package/esm/grid/style/index.less +3 -3
- package/esm/image/index.js +10 -5
- package/esm/image/style/css/index.css +30 -30
- package/esm/image/style/index.less +1 -1
- package/esm/image-picker/style/css/index.css +30 -30
- package/esm/image-picker/style/index.less +1 -1
- package/esm/image-preview/index.d.ts +3 -3
- package/esm/image-preview/index.js +7 -2
- package/esm/image-preview/style/css/index.css +30 -30
- package/esm/image-preview/style/index.less +1 -1
- package/esm/index-bar/style/css/index.css +58 -35
- package/esm/index-bar/style/index.less +11 -11
- package/esm/index.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/input/style/css/index.css +30 -30
- package/esm/input/style/index.less +1 -1
- package/esm/keyboard/style/css/index.css +30 -30
- package/esm/keyboard/style/index.less +1 -1
- package/esm/load-more/style/css/index.css +30 -30
- package/esm/load-more/style/index.less +1 -1
- package/esm/loading/style/css/index.css +30 -30
- package/esm/loading/style/index.less +1 -1
- package/esm/masking/index.d.ts +2 -2
- package/esm/masking/style/css/index.css +30 -30
- package/esm/masking/style/index.less +1 -1
- package/esm/nav-bar/style/css/index.css +30 -30
- package/esm/nav-bar/style/index.less +1 -1
- package/esm/notice-bar/style/css/index.css +30 -30
- package/esm/notice-bar/style/index.less +1 -1
- package/esm/notify/style/css/index.css +30 -30
- package/esm/notify/style/index.less +1 -1
- package/esm/pagination/arrow.js +6 -3
- package/esm/pagination/style/css/index.css +51 -36
- package/esm/pagination/style/index.less +10 -10
- package/esm/picker/style/css/index.css +38 -30
- package/esm/picker/style/index.less +3 -3
- package/esm/picker-view/style/css/index.css +30 -30
- package/esm/picker-view/style/index.less +1 -1
- package/esm/popover/style/css/index.css +30 -30
- package/esm/popover/style/css/menu.css +30 -30
- package/esm/popover/style/index.less +1 -1
- package/esm/popover/style/menu.less +1 -1
- package/esm/popup/index.d.ts +2 -2
- package/esm/popup/style/css/index.css +30 -30
- package/esm/popup/style/index.less +1 -1
- package/esm/popup-swiper/index.d.ts +2 -2
- package/esm/popup-swiper/style/css/index.css +30 -30
- package/esm/popup-swiper/style/index.less +1 -1
- package/esm/progress/style/css/index.css +50 -30
- package/esm/progress/style/index.less +6 -6
- package/esm/pull-refresh/style/css/index.css +34 -30
- package/esm/pull-refresh/style/index.less +2 -2
- package/esm/radio/style/css/index.css +30 -30
- package/esm/radio/style/index.less +1 -1
- package/esm/rate/style/css/index.css +30 -30
- package/esm/rate/style/index.less +1 -1
- package/esm/search-bar/style/css/index.css +48 -30
- package/esm/search-bar/style/index.less +6 -6
- package/esm/skeleton/index.d.ts +1 -0
- package/esm/skeleton/index.js +1 -0
- package/esm/skeleton/style/css/index.css +30 -30
- package/esm/skeleton/style/index.less +1 -1
- package/esm/slider/hooks/index.d.ts +1 -1
- package/esm/slider/index.d.ts +10 -0
- package/esm/slider/index.js +1 -0
- package/esm/slider/style/css/index.css +30 -30
- package/esm/slider/style/index.less +1 -1
- package/esm/slider/thumb.d.ts +6 -5
- package/esm/slider/thumb.js +19 -17
- package/esm/stepper/style/css/index.css +30 -30
- package/esm/stepper/style/index.less +1 -1
- package/esm/steps/index.d.ts +1 -1
- package/esm/steps/style/css/index.css +66 -30
- package/esm/steps/style/index.less +10 -10
- package/esm/sticky/style/css/index.css +30 -30
- package/esm/sticky/style/index.less +1 -1
- package/esm/style.d.ts +2 -2
- package/esm/style.js +2 -2
- package/esm/swipe-action/style/css/index.css +30 -30
- package/esm/swipe-action/style/index.less +1 -1
- package/esm/swipe-load/style/css/index.css +30 -30
- package/esm/swipe-load/style/index.less +1 -1
- package/esm/switch/style/css/index.css +30 -30
- package/esm/switch/style/index.less +1 -1
- package/esm/tab-bar/style/css/index.css +30 -30
- package/esm/tab-bar/style/index.less +1 -1
- package/esm/tabs/style/css/index.css +30 -30
- package/esm/tabs/style/index.less +1 -1
- package/esm/tag/style/css/index.css +42 -30
- package/esm/tag/style/index.less +4 -4
- package/esm/textarea/style/css/index.css +30 -30
- package/esm/textarea/style/index.less +1 -1
- package/esm/toast/index.d.ts +12 -12
- package/esm/toast/style/css/index.css +30 -30
- package/esm/toast/style/index.less +1 -1
- package/esm/transition/style/css/index.css +30 -30
- package/esm/transition/style/index.less +1 -1
- package/package.json +3 -3
- package/style/css/public.css +30 -30
- package/tokens/app/arcodesign/default/css-variables.less +3 -4
- package/tokens/app/arcodesign/default/index.d.ts +0 -1
- package/tokens/app/arcodesign/default/index.js +3 -4
- package/tokens/app/arcodesign/default/index.json +9 -21
- package/tokens/app/arcodesign/default/index.less +3 -4
- package/tokens/mixin/index.less +31 -31
- package/umd/action-sheet/index.d.ts +2 -2
- package/umd/action-sheet/style/css/index.css +30 -30
- package/umd/action-sheet/style/index.less +1 -1
- package/umd/avatar/style/css/index.css +54 -30
- package/umd/avatar/style/index.less +3 -3
- package/umd/badge/style/css/index.css +30 -30
- package/umd/badge/style/index.less +1 -1
- package/umd/button/style/css/index.css +30 -30
- package/umd/button/style/index.less +1 -1
- package/umd/carousel/index.d.ts +5 -0
- package/umd/carousel/index.js +2 -1
- package/umd/carousel/style/css/index.css +30 -30
- package/umd/carousel/style/index.less +1 -1
- package/umd/cell/style/css/index.css +30 -30
- package/umd/cell/style/index.less +1 -1
- package/umd/checkbox/style/css/index.css +30 -30
- package/umd/checkbox/style/index.less +1 -1
- package/umd/circle-progress/style/css/index.css +30 -30
- package/umd/circle-progress/style/index.less +1 -1
- package/umd/collapse/style/css/index.css +30 -30
- package/umd/collapse/style/index.less +1 -1
- package/umd/count-down/style/css/index.css +30 -30
- package/umd/count-down/style/index.less +1 -1
- package/umd/date-picker/style/css/index.css +30 -30
- package/umd/date-picker/style/index.less +1 -1
- package/umd/dialog/index.d.ts +2 -2
- package/umd/dialog/style/css/index.css +118 -30
- package/umd/dialog/style/index.less +17 -5
- package/umd/divider/style/css/index.css +38 -30
- package/umd/divider/style/index.less +3 -3
- package/umd/dropdown/style/css/index.css +37 -30
- package/umd/dropdown/style/index.less +3 -4
- package/umd/dropdown-menu/style/css/index.css +38 -30
- package/umd/dropdown-menu/style/index.less +3 -3
- package/umd/ellipsis/index.d.ts +2 -2
- package/umd/ellipsis/index.js +2 -2
- package/umd/ellipsis/style/css/index.css +30 -30
- package/umd/ellipsis/style/index.less +1 -1
- package/umd/form/style/css/index.css +30 -30
- package/umd/form/style/index.less +1 -1
- package/umd/grid/index.js +10 -4
- package/umd/grid/style/css/index.css +37 -30
- package/umd/grid/style/index.less +3 -3
- package/umd/image/index.js +10 -5
- package/umd/image/style/css/index.css +30 -30
- package/umd/image/style/index.less +1 -1
- package/umd/image-picker/style/css/index.css +30 -30
- package/umd/image-picker/style/index.less +1 -1
- package/umd/image-preview/index.d.ts +3 -3
- package/umd/image-preview/index.js +7 -2
- package/umd/image-preview/style/css/index.css +30 -30
- package/umd/image-preview/style/index.less +1 -1
- package/umd/index-bar/style/css/index.css +58 -35
- package/umd/index-bar/style/index.less +11 -11
- package/umd/index.d.ts +2 -2
- package/umd/index.js +8 -8
- package/umd/input/style/css/index.css +30 -30
- package/umd/input/style/index.less +1 -1
- package/umd/keyboard/style/css/index.css +30 -30
- package/umd/keyboard/style/index.less +1 -1
- package/umd/load-more/style/css/index.css +30 -30
- package/umd/load-more/style/index.less +1 -1
- package/umd/loading/style/css/index.css +30 -30
- package/umd/loading/style/index.less +1 -1
- package/umd/masking/index.d.ts +2 -2
- package/umd/masking/style/css/index.css +30 -30
- package/umd/masking/style/index.less +1 -1
- package/umd/nav-bar/style/css/index.css +30 -30
- package/umd/nav-bar/style/index.less +1 -1
- package/umd/notice-bar/style/css/index.css +30 -30
- package/umd/notice-bar/style/index.less +1 -1
- package/umd/notify/style/css/index.css +30 -30
- package/umd/notify/style/index.less +1 -1
- package/umd/pagination/arrow.js +6 -3
- package/umd/pagination/style/css/index.css +51 -36
- package/umd/pagination/style/index.less +10 -10
- package/umd/picker/style/css/index.css +38 -30
- package/umd/picker/style/index.less +3 -3
- package/umd/picker-view/style/css/index.css +30 -30
- package/umd/picker-view/style/index.less +1 -1
- package/umd/popover/style/css/index.css +30 -30
- package/umd/popover/style/css/menu.css +30 -30
- package/umd/popover/style/index.less +1 -1
- package/umd/popover/style/menu.less +1 -1
- package/umd/popup/index.d.ts +2 -2
- package/umd/popup/style/css/index.css +30 -30
- package/umd/popup/style/index.less +1 -1
- package/umd/popup-swiper/index.d.ts +2 -2
- package/umd/popup-swiper/style/css/index.css +30 -30
- package/umd/popup-swiper/style/index.less +1 -1
- package/umd/progress/style/css/index.css +50 -30
- package/umd/progress/style/index.less +6 -6
- package/umd/pull-refresh/style/css/index.css +34 -30
- package/umd/pull-refresh/style/index.less +2 -2
- package/umd/radio/style/css/index.css +30 -30
- package/umd/radio/style/index.less +1 -1
- package/umd/rate/style/css/index.css +30 -30
- package/umd/rate/style/index.less +1 -1
- package/umd/search-bar/style/css/index.css +48 -30
- package/umd/search-bar/style/index.less +6 -6
- package/umd/skeleton/index.d.ts +1 -0
- package/umd/skeleton/index.js +11 -4
- package/umd/skeleton/style/css/index.css +30 -30
- package/umd/skeleton/style/index.less +1 -1
- package/umd/slider/hooks/index.d.ts +1 -1
- package/umd/slider/index.d.ts +10 -0
- package/umd/slider/index.js +1 -0
- package/umd/slider/style/css/index.css +30 -30
- package/umd/slider/style/index.less +1 -1
- package/umd/slider/thumb.d.ts +6 -5
- package/umd/slider/thumb.js +23 -23
- package/umd/stepper/style/css/index.css +30 -30
- package/umd/stepper/style/index.less +1 -1
- package/umd/steps/index.d.ts +1 -1
- package/umd/steps/style/css/index.css +66 -30
- package/umd/steps/style/index.less +10 -10
- package/umd/sticky/style/css/index.css +30 -30
- package/umd/sticky/style/index.less +1 -1
- package/umd/style.d.ts +2 -2
- package/umd/style.js +2 -2
- package/umd/swipe-action/style/css/index.css +30 -30
- package/umd/swipe-action/style/index.less +1 -1
- package/umd/swipe-load/style/css/index.css +30 -30
- package/umd/swipe-load/style/index.less +1 -1
- package/umd/switch/style/css/index.css +30 -30
- package/umd/switch/style/index.less +1 -1
- package/umd/tab-bar/style/css/index.css +30 -30
- package/umd/tab-bar/style/index.less +1 -1
- package/umd/tabs/style/css/index.css +30 -30
- package/umd/tabs/style/index.less +1 -1
- package/umd/tag/style/css/index.css +42 -30
- package/umd/tag/style/index.less +4 -4
- package/umd/textarea/style/css/index.css +30 -30
- package/umd/textarea/style/index.less +1 -1
- package/umd/toast/index.d.ts +12 -12
- package/umd/toast/style/css/index.css +30 -30
- package/umd/toast/style/index.less +1 -1
- package/umd/transition/style/css/index.css +30 -30
- package/umd/transition/style/index.less +1 -1
@@ -230,6 +230,7 @@ var ImagePreview = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
230
230
|
dragMode: 'always',
|
231
231
|
transformMode: 'matrix',
|
232
232
|
useDomBoundary: false,
|
233
|
+
preventScroll: false,
|
233
234
|
cubic: {
|
234
235
|
scroll: scrollBezier
|
235
236
|
},
|
@@ -615,6 +616,10 @@ var ImagePreview = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
615
616
|
function animateBeforeClose() {
|
616
617
|
var _imagesRef$current$in2;
|
617
618
|
|
619
|
+
if (isTransformed()) {
|
620
|
+
return;
|
621
|
+
}
|
622
|
+
|
618
623
|
var index = innerIndexRef.current;
|
619
624
|
var imageDom = (_imagesRef$current$in2 = imagesRef.current[index]) == null ? void 0 : _imagesRef$current$in2.image;
|
620
625
|
var thumbBounds = getThumbBounds == null ? void 0 : getThumbBounds(index);
|
@@ -814,10 +819,10 @@ var ImagePreview = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
814
819
|
boxHeight: windowHeight,
|
815
820
|
bottomOverlap: null
|
816
821
|
}, getImageProps(image, index))));
|
817
|
-
return
|
822
|
+
return /*#__PURE__*/React.createElement("div", {
|
818
823
|
className: "preview-image-wrap-container",
|
819
824
|
key: "outer-" + index
|
820
|
-
}, innerNode, image.extraNode)
|
825
|
+
}, innerNode, image.extraNode);
|
821
826
|
}));
|
822
827
|
}
|
823
828
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* @name_en General Mixin
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* 根据base-font-size,设置单位尺寸为rem
|
7
|
+
* 根据 base-font-size,设置单位尺寸为 rem
|
8
8
|
* @desc {en} set the unit size to rem based on base-font-size
|
9
9
|
* @param @property css属性名
|
10
10
|
* @param @property {en} css property
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* ```
|
22
22
|
*/
|
23
23
|
/**
|
24
|
-
* 根据base-font-size,设置常规模式和rtl模式下单位尺寸为rem
|
24
|
+
* 根据 base-font-size,设置常规模式和 rtl 模式下单位尺寸为 rem
|
25
25
|
* @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
|
26
26
|
* @param @property css属性名
|
27
27
|
* @param @property {en} css property
|
@@ -38,8 +38,8 @@
|
|
38
38
|
* ```
|
39
39
|
*/
|
40
40
|
/**
|
41
|
-
* 当less变量use-dark-mode=1
|
42
|
-
* @desc {en}
|
41
|
+
* 当 less 变量 use-dark-mode=1 时,自定义暗黑模式样式规则
|
42
|
+
* @desc {en} Customize dark mode style rules when the less variable use-dark-mode=1.
|
43
43
|
* @param @rules 对应的暗黑模式规则
|
44
44
|
* @param @rules {en} Corresponding dark mode rules
|
45
45
|
* @example
|
@@ -54,7 +54,7 @@
|
|
54
54
|
* ```
|
55
55
|
*/
|
56
56
|
/**
|
57
|
-
* 为属性设置arco提供的token变量
|
57
|
+
* 为属性设置 arco 提供的 token 变量
|
58
58
|
* @desc {en} set the token variable provided by Arco for the attribute
|
59
59
|
* @param @property css属性名
|
60
60
|
* @param @property {en} css property
|
@@ -76,11 +76,11 @@
|
|
76
76
|
* ```
|
77
77
|
*/
|
78
78
|
/**
|
79
|
-
* 在常规模式和rtl模式下为属性设置arco提供的token变量
|
79
|
+
* 在常规模式和 rtl 模式下为属性设置 arco 提供的 token 变量
|
80
80
|
* @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
|
81
|
-
* @param @property css属性名
|
81
|
+
* @param @property css 属性名
|
82
82
|
* @param @property {en} css property
|
83
|
-
* @param @variables token变量名
|
83
|
+
* @param @variables token 变量名
|
84
84
|
* @param @variables {en} token variable name
|
85
85
|
* @param @preValues
|
86
86
|
* @param @preValues {en}
|
@@ -96,9 +96,9 @@
|
|
96
96
|
* ```
|
97
97
|
*/
|
98
98
|
/**
|
99
|
-
* 0.5px的边框线
|
99
|
+
* 0.5px 的边框线
|
100
100
|
* @desc {en} a border line of 0.5 pixels
|
101
|
-
* @param @color 使用css变量为线设置颜色
|
101
|
+
* @param @color 使用 css 变量为线设置颜色
|
102
102
|
* @param @color {en} set border-color by CSS variable
|
103
103
|
* @param @direction 边框方向,默认为全部方向
|
104
104
|
* @param @direction {en} border direction,default to all directions.
|
@@ -115,9 +115,9 @@
|
|
115
115
|
/**
|
116
116
|
* 字体加粗
|
117
117
|
* @desc {en} font bold
|
118
|
-
* @param @color 使用css变量设置加粗的字体颜色,默认继承文字当前颜色
|
118
|
+
* @param @color 使用 css 变量设置加粗的字体颜色,默认继承文字当前颜色
|
119
119
|
* @param @color {en} set color by CSS variable
|
120
|
-
* @param @stroke 字体粗细,默认0.3px
|
120
|
+
* @param @stroke 字体粗细,默认 0.3px
|
121
121
|
* @param @stroke {en} font weight, default 0.3 pixel
|
122
122
|
* @example
|
123
123
|
* ```
|
@@ -130,17 +130,17 @@
|
|
130
130
|
* ```
|
131
131
|
*/
|
132
132
|
/**
|
133
|
-
* 1px边框
|
133
|
+
* 1px 边框
|
134
134
|
* @desc {en} 1 pixel border
|
135
135
|
* @param @direction 边框方向
|
136
136
|
* @param @direction {en} border direction
|
137
|
-
* @param @borderColor 使用css变量设置边框颜色
|
137
|
+
* @param @borderColor 使用 css 变量设置边框颜色
|
138
138
|
* @param @borderColor {en} set border-color by CSS variable
|
139
|
-
* @param @borderRadius border-radius,默认为0
|
139
|
+
* @param @borderRadius border-radius,默认为 0
|
140
140
|
* @param @borderRadius {en} border-radius, default value is 0
|
141
|
-
* @param @borderWidth border-width,默认为1px
|
141
|
+
* @param @borderWidth border-width,默认为 1px
|
142
142
|
* @param @borderWidth {en} border-width, default value is 1 pixel
|
143
|
-
* @param @borderStyle border-style,默认为solid
|
143
|
+
* @param @borderStyle border-style,默认为 solid
|
144
144
|
* @param @borderStyle {en} border-style, default value is solid
|
145
145
|
* @example
|
146
146
|
* ```
|
@@ -153,9 +153,9 @@
|
|
153
153
|
* ```
|
154
154
|
*/
|
155
155
|
/**
|
156
|
-
* 元素右下0.5px边框
|
156
|
+
* 元素右下 0.5px 边框
|
157
157
|
* @desc {en} 0.5px border on bottom right
|
158
|
-
* @param @color 使用css变量设置边框颜色
|
158
|
+
* @param @color 使用 css 变量设置边框颜色
|
159
159
|
* @param @color {en} set border-color by CSS variable
|
160
160
|
* @example
|
161
161
|
* ```
|
@@ -167,9 +167,9 @@
|
|
167
167
|
* ```
|
168
168
|
*/
|
169
169
|
/**
|
170
|
-
* 元素左上0.5px边框
|
170
|
+
* 元素左上 0.5px 边框
|
171
171
|
* @desc {en} 0.5px border on top left
|
172
|
-
* @param @color 使用css变量设置边框颜色
|
172
|
+
* @param @color 使用 css 变量设置边框颜色
|
173
173
|
* @param @color {en} set border-color by CSS variable
|
174
174
|
* @example
|
175
175
|
* ```
|
@@ -181,9 +181,9 @@
|
|
181
181
|
* ```
|
182
182
|
*/
|
183
183
|
/**
|
184
|
-
* 设置Loading组件颜色
|
184
|
+
* 设置 Loading 组件颜色
|
185
185
|
* @desc {en} set Loading component color
|
186
|
-
* @param @color 使用css变量设置颜色
|
186
|
+
* @param @color 使用 css 变量设置颜色
|
187
187
|
* @param @color {en} set color by CSS variable
|
188
188
|
* @example
|
189
189
|
* ```
|
@@ -197,9 +197,9 @@
|
|
197
197
|
/**
|
198
198
|
* 设置最小字号
|
199
199
|
* @desc {en} set minimum font-size
|
200
|
-
* @param @size 使用css变量设置最小字号
|
200
|
+
* @param @size 使用 css 变量设置最小字号
|
201
201
|
* @param @size {en} set minimum font-size by CSS variable
|
202
|
-
* @param @scale 设置最小字号下文字缩放比例,默认为0.9
|
202
|
+
* @param @scale 设置最小字号下文字缩放比例,默认为 0.9
|
203
203
|
* @param @scale {en} set minimum font-size down text scale,default value is 0.9
|
204
204
|
* @example
|
205
205
|
* ```
|
@@ -212,9 +212,9 @@
|
|
212
212
|
* ```
|
213
213
|
*/
|
214
214
|
/**
|
215
|
-
* 设置content-box盒模型下元素宽度
|
215
|
+
* 设置 content-box 盒模型下元素宽度
|
216
216
|
* @desc {en} set box width in content-box
|
217
|
-
* @param @property css属性名
|
217
|
+
* @param @property css 属性名
|
218
218
|
* @param @property {en} css property
|
219
219
|
* @param @width 元素总宽度,包含内边距
|
220
220
|
* @param @width element width, include padding
|
@@ -232,11 +232,11 @@
|
|
232
232
|
* ```
|
233
233
|
*/
|
234
234
|
/**
|
235
|
-
* 设置Steps组件颜色
|
235
|
+
* 设置 Steps 组件颜色
|
236
236
|
* @desc {en} set Steps component color
|
237
|
-
* @param @color 使用css变量设置主颜色
|
237
|
+
* @param @color 使用 css 变量设置主颜色
|
238
238
|
* @param @color {en} set main step color by CSS variable
|
239
|
-
* @param @finish-color 使用css变量设置已完成步骤的颜色
|
239
|
+
* @param @finish-color 使用 css 变量设置已完成步骤的颜色
|
240
240
|
* @param @finish-color {en} set finished step color by CSS variable
|
241
241
|
* @example
|
242
242
|
* ```
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* @name_en General Mixin
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* 根据base-font-size,设置单位尺寸为rem
|
7
|
+
* 根据 base-font-size,设置单位尺寸为 rem
|
8
8
|
* @desc {en} set the unit size to rem based on base-font-size
|
9
9
|
* @param @property css属性名
|
10
10
|
* @param @property {en} css property
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* ```
|
22
22
|
*/
|
23
23
|
/**
|
24
|
-
* 根据base-font-size,设置常规模式和rtl模式下单位尺寸为rem
|
24
|
+
* 根据 base-font-size,设置常规模式和 rtl 模式下单位尺寸为 rem
|
25
25
|
* @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
|
26
26
|
* @param @property css属性名
|
27
27
|
* @param @property {en} css property
|
@@ -38,8 +38,8 @@
|
|
38
38
|
* ```
|
39
39
|
*/
|
40
40
|
/**
|
41
|
-
* 当less变量use-dark-mode=1
|
42
|
-
* @desc {en}
|
41
|
+
* 当 less 变量 use-dark-mode=1 时,自定义暗黑模式样式规则
|
42
|
+
* @desc {en} Customize dark mode style rules when the less variable use-dark-mode=1.
|
43
43
|
* @param @rules 对应的暗黑模式规则
|
44
44
|
* @param @rules {en} Corresponding dark mode rules
|
45
45
|
* @example
|
@@ -54,7 +54,7 @@
|
|
54
54
|
* ```
|
55
55
|
*/
|
56
56
|
/**
|
57
|
-
* 为属性设置arco提供的token变量
|
57
|
+
* 为属性设置 arco 提供的 token 变量
|
58
58
|
* @desc {en} set the token variable provided by Arco for the attribute
|
59
59
|
* @param @property css属性名
|
60
60
|
* @param @property {en} css property
|
@@ -76,11 +76,11 @@
|
|
76
76
|
* ```
|
77
77
|
*/
|
78
78
|
/**
|
79
|
-
* 在常规模式和rtl模式下为属性设置arco提供的token变量
|
79
|
+
* 在常规模式和 rtl 模式下为属性设置 arco 提供的 token 变量
|
80
80
|
* @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
|
81
|
-
* @param @property css属性名
|
81
|
+
* @param @property css 属性名
|
82
82
|
* @param @property {en} css property
|
83
|
-
* @param @variables token变量名
|
83
|
+
* @param @variables token 变量名
|
84
84
|
* @param @variables {en} token variable name
|
85
85
|
* @param @preValues
|
86
86
|
* @param @preValues {en}
|
@@ -96,9 +96,9 @@
|
|
96
96
|
* ```
|
97
97
|
*/
|
98
98
|
/**
|
99
|
-
* 0.5px的边框线
|
99
|
+
* 0.5px 的边框线
|
100
100
|
* @desc {en} a border line of 0.5 pixels
|
101
|
-
* @param @color 使用css变量为线设置颜色
|
101
|
+
* @param @color 使用 css 变量为线设置颜色
|
102
102
|
* @param @color {en} set border-color by CSS variable
|
103
103
|
* @param @direction 边框方向,默认为全部方向
|
104
104
|
* @param @direction {en} border direction,default to all directions.
|
@@ -115,9 +115,9 @@
|
|
115
115
|
/**
|
116
116
|
* 字体加粗
|
117
117
|
* @desc {en} font bold
|
118
|
-
* @param @color 使用css变量设置加粗的字体颜色,默认继承文字当前颜色
|
118
|
+
* @param @color 使用 css 变量设置加粗的字体颜色,默认继承文字当前颜色
|
119
119
|
* @param @color {en} set color by CSS variable
|
120
|
-
* @param @stroke 字体粗细,默认0.3px
|
120
|
+
* @param @stroke 字体粗细,默认 0.3px
|
121
121
|
* @param @stroke {en} font weight, default 0.3 pixel
|
122
122
|
* @example
|
123
123
|
* ```
|
@@ -130,17 +130,17 @@
|
|
130
130
|
* ```
|
131
131
|
*/
|
132
132
|
/**
|
133
|
-
* 1px边框
|
133
|
+
* 1px 边框
|
134
134
|
* @desc {en} 1 pixel border
|
135
135
|
* @param @direction 边框方向
|
136
136
|
* @param @direction {en} border direction
|
137
|
-
* @param @borderColor 使用css变量设置边框颜色
|
137
|
+
* @param @borderColor 使用 css 变量设置边框颜色
|
138
138
|
* @param @borderColor {en} set border-color by CSS variable
|
139
|
-
* @param @borderRadius border-radius,默认为0
|
139
|
+
* @param @borderRadius border-radius,默认为 0
|
140
140
|
* @param @borderRadius {en} border-radius, default value is 0
|
141
|
-
* @param @borderWidth border-width,默认为1px
|
141
|
+
* @param @borderWidth border-width,默认为 1px
|
142
142
|
* @param @borderWidth {en} border-width, default value is 1 pixel
|
143
|
-
* @param @borderStyle border-style,默认为solid
|
143
|
+
* @param @borderStyle border-style,默认为 solid
|
144
144
|
* @param @borderStyle {en} border-style, default value is solid
|
145
145
|
* @example
|
146
146
|
* ```
|
@@ -153,9 +153,9 @@
|
|
153
153
|
* ```
|
154
154
|
*/
|
155
155
|
/**
|
156
|
-
* 元素右下0.5px边框
|
156
|
+
* 元素右下 0.5px 边框
|
157
157
|
* @desc {en} 0.5px border on bottom right
|
158
|
-
* @param @color 使用css变量设置边框颜色
|
158
|
+
* @param @color 使用 css 变量设置边框颜色
|
159
159
|
* @param @color {en} set border-color by CSS variable
|
160
160
|
* @example
|
161
161
|
* ```
|
@@ -167,9 +167,9 @@
|
|
167
167
|
* ```
|
168
168
|
*/
|
169
169
|
/**
|
170
|
-
* 元素左上0.5px边框
|
170
|
+
* 元素左上 0.5px 边框
|
171
171
|
* @desc {en} 0.5px border on top left
|
172
|
-
* @param @color 使用css变量设置边框颜色
|
172
|
+
* @param @color 使用 css 变量设置边框颜色
|
173
173
|
* @param @color {en} set border-color by CSS variable
|
174
174
|
* @example
|
175
175
|
* ```
|
@@ -181,9 +181,9 @@
|
|
181
181
|
* ```
|
182
182
|
*/
|
183
183
|
/**
|
184
|
-
* 设置Loading组件颜色
|
184
|
+
* 设置 Loading 组件颜色
|
185
185
|
* @desc {en} set Loading component color
|
186
|
-
* @param @color 使用css变量设置颜色
|
186
|
+
* @param @color 使用 css 变量设置颜色
|
187
187
|
* @param @color {en} set color by CSS variable
|
188
188
|
* @example
|
189
189
|
* ```
|
@@ -197,9 +197,9 @@
|
|
197
197
|
/**
|
198
198
|
* 设置最小字号
|
199
199
|
* @desc {en} set minimum font-size
|
200
|
-
* @param @size 使用css变量设置最小字号
|
200
|
+
* @param @size 使用 css 变量设置最小字号
|
201
201
|
* @param @size {en} set minimum font-size by CSS variable
|
202
|
-
* @param @scale 设置最小字号下文字缩放比例,默认为0.9
|
202
|
+
* @param @scale 设置最小字号下文字缩放比例,默认为 0.9
|
203
203
|
* @param @scale {en} set minimum font-size down text scale,default value is 0.9
|
204
204
|
* @example
|
205
205
|
* ```
|
@@ -212,9 +212,9 @@
|
|
212
212
|
* ```
|
213
213
|
*/
|
214
214
|
/**
|
215
|
-
* 设置content-box盒模型下元素宽度
|
215
|
+
* 设置 content-box 盒模型下元素宽度
|
216
216
|
* @desc {en} set box width in content-box
|
217
|
-
* @param @property css属性名
|
217
|
+
* @param @property css 属性名
|
218
218
|
* @param @property {en} css property
|
219
219
|
* @param @width 元素总宽度,包含内边距
|
220
220
|
* @param @width element width, include padding
|
@@ -232,11 +232,11 @@
|
|
232
232
|
* ```
|
233
233
|
*/
|
234
234
|
/**
|
235
|
-
* 设置Steps组件颜色
|
235
|
+
* 设置 Steps 组件颜色
|
236
236
|
* @desc {en} set Steps component color
|
237
|
-
* @param @color 使用css变量设置主颜色
|
237
|
+
* @param @color 使用 css 变量设置主颜色
|
238
238
|
* @param @color {en} set main step color by CSS variable
|
239
|
-
* @param @finish-color 使用css变量设置已完成步骤的颜色
|
239
|
+
* @param @finish-color 使用 css 变量设置已完成步骤的颜色
|
240
240
|
* @param @finish-color {en} set finished step color by CSS variable
|
241
241
|
* @example
|
242
242
|
* ```
|
@@ -522,6 +522,10 @@
|
|
522
522
|
-webkit-align-items: center;
|
523
523
|
align-items: center;
|
524
524
|
}
|
525
|
+
[dir="rtl"] .arco-index-bar-group-title {
|
526
|
+
padding-left: initial;
|
527
|
+
padding-right: 0.32rem ;
|
528
|
+
}
|
525
529
|
.arco-index-bar-group-item {
|
526
530
|
height: 1.08rem ;
|
527
531
|
display: -webkit-box;
|
@@ -533,6 +537,10 @@
|
|
533
537
|
margin-left: 0.32rem ;
|
534
538
|
font-size: 0.32rem ;
|
535
539
|
}
|
540
|
+
[dir="rtl"] .arco-index-bar-group-item {
|
541
|
+
margin-left: initial;
|
542
|
+
margin-right: 0.32rem ;
|
543
|
+
}
|
536
544
|
.arco-index-bar-group-item:not(:last-child) {
|
537
545
|
position: relative;
|
538
546
|
border-width: 0;
|
@@ -578,9 +586,13 @@
|
|
578
586
|
-webkit-user-select: none;
|
579
587
|
user-select: none;
|
580
588
|
}
|
581
|
-
.arco-index-bar-sidebar
|
589
|
+
[dir="rtl"] .arco-index-bar-sidebar {
|
590
|
+
right: initial;
|
582
591
|
left: 0;
|
583
592
|
}
|
593
|
+
.arco-index-bar-sidebar-touching {
|
594
|
+
width: 100%;
|
595
|
+
}
|
584
596
|
.arco-index-bar-sidebar-item {
|
585
597
|
display: -webkit-box;
|
586
598
|
display: -webkit-flex;
|
@@ -623,25 +635,36 @@
|
|
623
635
|
border-radius: 9999px;
|
624
636
|
text-align: center;
|
625
637
|
padding: 0 0.16rem ;
|
626
|
-
background:
|
638
|
+
background: #333333 ;
|
627
639
|
right: 0.72rem ;
|
628
640
|
font-size: 0.48rem ;
|
629
641
|
color: #FFFFFF ;
|
630
642
|
}
|
643
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat {
|
644
|
+
right: initial;
|
645
|
+
left: 0.72rem ;
|
646
|
+
}
|
631
647
|
.arco-index-bar-sidebar-sweat::before {
|
632
648
|
content: '';
|
633
649
|
position: absolute;
|
634
650
|
top: 0;
|
635
651
|
bottom: 0;
|
636
652
|
margin: auto;
|
637
|
-
right: -0.
|
653
|
+
right: -0.56rem ;
|
638
654
|
width: 0;
|
639
655
|
height: 0;
|
640
656
|
border: 0.36rem solid transparent ;
|
641
|
-
border:
|
642
|
-
border-left-color: rgba(0, 0, 0, 0.8) ;
|
657
|
+
border-left-color: #333333 ;
|
643
658
|
border-radius: 4px;
|
644
659
|
}
|
660
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat::before {
|
661
|
+
right: initial;
|
662
|
+
left: -0.56rem ;
|
663
|
+
}
|
664
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat::before {
|
665
|
+
border-left-color: initial;
|
666
|
+
border-right-color: #333333 ;
|
667
|
+
}
|
645
668
|
.arco-index-bar-sidebar-toast {
|
646
669
|
position: absolute;
|
647
670
|
background: rgba(0, 0, 0, 0.8) ;
|
@@ -18,7 +18,7 @@
|
|
18
18
|
.use-var(color, index-bar-group-active-color);
|
19
19
|
}
|
20
20
|
&-title {
|
21
|
-
.use-var(padding-left, index-bar-group-left-spacing);
|
21
|
+
.use-var-with-rtl(padding-left, index-bar-group-left-spacing);
|
22
22
|
.use-var(height, index-bar-group-title-height);
|
23
23
|
.use-var(background, index-bar-group-title-background);
|
24
24
|
.use-var(font-size, index-bar-group-title-font-size);
|
@@ -30,7 +30,7 @@
|
|
30
30
|
.use-var(height, index-bar-group-item-height);
|
31
31
|
display: flex;
|
32
32
|
align-items: center;
|
33
|
-
.use-var(margin-left, index-bar-group-left-spacing);
|
33
|
+
.use-var-with-rtl(margin-left, index-bar-group-left-spacing);
|
34
34
|
.use-var(font-size, index-bar-group-item-font-size);
|
35
35
|
|
36
36
|
&:not(:last-child) {
|
@@ -40,16 +40,17 @@
|
|
40
40
|
}
|
41
41
|
|
42
42
|
&-sidebar {
|
43
|
-
&-touching {
|
44
|
-
left: 0;
|
45
|
-
}
|
46
43
|
position: absolute;
|
47
44
|
z-index: 2;
|
48
|
-
right
|
45
|
+
.set-prop-with-rtl(right, 0);
|
49
46
|
top: 50%;
|
50
47
|
transform: translateY(-50%) translateZ(0);
|
51
48
|
user-select: none;
|
52
49
|
|
50
|
+
&-touching {
|
51
|
+
width: 100%;
|
52
|
+
}
|
53
|
+
|
53
54
|
&-item {
|
54
55
|
display: flex;
|
55
56
|
justify-content: flex-end;
|
@@ -84,7 +85,7 @@
|
|
84
85
|
text-align: center;
|
85
86
|
.use-var(padding, index-bar-sidebar-sweat-padding);
|
86
87
|
.use-var(background, index-bar-sidebar-sweat-background);
|
87
|
-
.use-var(right, index-bar-sidebar-sweat-right);
|
88
|
+
.use-var-with-rtl(right, index-bar-sidebar-sweat-right);
|
88
89
|
.use-var(font-size, index-bar-sidebar-sweat-font-size);
|
89
90
|
.use-var(color, index-bar-sidebar-sweat-color);
|
90
91
|
&::before {
|
@@ -93,12 +94,11 @@
|
|
93
94
|
top: 0;
|
94
95
|
bottom: 0;
|
95
96
|
margin: auto;
|
96
|
-
.use-var(right, index-bar-sidebar-sweat-triangle-position);
|
97
|
+
.use-var-with-rtl(right, index-bar-sidebar-sweat-triangle-position);
|
97
98
|
width: 0;
|
98
99
|
height: 0;
|
99
100
|
.use-var(border, index-bar-sidebar-sweat-triangle-border);
|
100
|
-
border
|
101
|
-
.use-var(border-left-color, index-bar-sidebar-sweat-background);
|
101
|
+
.use-var-with-rtl(border-left-color, index-bar-sidebar-sweat-background);
|
102
102
|
border-radius: 4px;
|
103
103
|
}
|
104
104
|
}
|
@@ -126,7 +126,7 @@
|
|
126
126
|
* Arco Theme Style *
|
127
127
|
* *
|
128
128
|
***************************************************/
|
129
|
-
|
129
|
+
& when (@use-dark-mode = 1) {
|
130
130
|
|
131
131
|
.process-bg-color-with-config,
|
132
132
|
.process-custom-icon-bg-color-with-config {
|
package/esm/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { default as Tabs } from './tabs';
|
2
2
|
export { default as Sticky } from './sticky';
|
3
3
|
export { default as Portal } from './portal';
|
4
|
-
export { default as
|
4
|
+
export { default as Steps } from './steps';
|
5
5
|
export { default as ActionSheet } from './action-sheet';
|
6
6
|
export { default as Avatar } from './avatar';
|
7
7
|
export { default as Badge } from './badge';
|
@@ -48,11 +48,11 @@ export { default as ShowMonitor } from './show-monitor';
|
|
48
48
|
export { default as Skeleton } from './skeleton';
|
49
49
|
export { default as Slider } from './slider';
|
50
50
|
export { default as Stepper } from './stepper';
|
51
|
-
export { default as Steps } from './steps';
|
52
51
|
export { default as SwipeAction } from './swipe-action';
|
53
52
|
export { default as SwipeLoad } from './swipe-load';
|
54
53
|
export { default as Switch } from './switch';
|
55
54
|
export { default as TabBar } from './tab-bar';
|
56
55
|
export { default as Tag } from './tag';
|
57
56
|
export { default as Textarea } from './textarea';
|
57
|
+
export { default as Toast } from './toast';
|
58
58
|
export { default as Transition } from './transition';
|
package/esm/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { default as Tabs } from './tabs';
|
2
2
|
export { default as Sticky } from './sticky';
|
3
3
|
export { default as Portal } from './portal';
|
4
|
-
export { default as
|
4
|
+
export { default as Steps } from './steps';
|
5
5
|
export { default as ActionSheet } from './action-sheet';
|
6
6
|
export { default as Avatar } from './avatar';
|
7
7
|
export { default as Badge } from './badge';
|
@@ -48,11 +48,11 @@ export { default as ShowMonitor } from './show-monitor';
|
|
48
48
|
export { default as Skeleton } from './skeleton';
|
49
49
|
export { default as Slider } from './slider';
|
50
50
|
export { default as Stepper } from './stepper';
|
51
|
-
export { default as Steps } from './steps';
|
52
51
|
export { default as SwipeAction } from './swipe-action';
|
53
52
|
export { default as SwipeLoad } from './swipe-load';
|
54
53
|
export { default as Switch } from './switch';
|
55
54
|
export { default as TabBar } from './tab-bar';
|
56
55
|
export { default as Tag } from './tag';
|
57
56
|
export { default as Textarea } from './textarea';
|
57
|
+
export { default as Toast } from './toast';
|
58
58
|
export { default as Transition } from './transition';
|