@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
package/style/css/public.css
CHANGED
@@ -251,7 +251,7 @@
|
|
251
251
|
* ```
|
252
252
|
*/
|
253
253
|
/**
|
254
|
-
* 根据base-font-size,设置单位尺寸为rem
|
254
|
+
* 根据 base-font-size,设置单位尺寸为 rem
|
255
255
|
* @desc {en} set the unit size to rem based on base-font-size
|
256
256
|
* @param @property css属性名
|
257
257
|
* @param @property {en} css property
|
@@ -268,7 +268,7 @@
|
|
268
268
|
* ```
|
269
269
|
*/
|
270
270
|
/**
|
271
|
-
* 根据base-font-size,设置常规模式和rtl模式下单位尺寸为rem
|
271
|
+
* 根据 base-font-size,设置常规模式和 rtl 模式下单位尺寸为 rem
|
272
272
|
* @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
|
273
273
|
* @param @property css属性名
|
274
274
|
* @param @property {en} css property
|
@@ -285,8 +285,8 @@
|
|
285
285
|
* ```
|
286
286
|
*/
|
287
287
|
/**
|
288
|
-
* 当less变量use-dark-mode=1
|
289
|
-
* @desc {en}
|
288
|
+
* 当 less 变量 use-dark-mode=1 时,自定义暗黑模式样式规则
|
289
|
+
* @desc {en} Customize dark mode style rules when the less variable use-dark-mode=1.
|
290
290
|
* @param @rules 对应的暗黑模式规则
|
291
291
|
* @param @rules {en} Corresponding dark mode rules
|
292
292
|
* @example
|
@@ -301,7 +301,7 @@
|
|
301
301
|
* ```
|
302
302
|
*/
|
303
303
|
/**
|
304
|
-
* 为属性设置arco提供的token变量
|
304
|
+
* 为属性设置 arco 提供的 token 变量
|
305
305
|
* @desc {en} set the token variable provided by Arco for the attribute
|
306
306
|
* @param @property css属性名
|
307
307
|
* @param @property {en} css property
|
@@ -323,11 +323,11 @@
|
|
323
323
|
* ```
|
324
324
|
*/
|
325
325
|
/**
|
326
|
-
* 在常规模式和rtl模式下为属性设置arco提供的token变量
|
326
|
+
* 在常规模式和 rtl 模式下为属性设置 arco 提供的 token 变量
|
327
327
|
* @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
|
328
|
-
* @param @property css属性名
|
328
|
+
* @param @property css 属性名
|
329
329
|
* @param @property {en} css property
|
330
|
-
* @param @variables token变量名
|
330
|
+
* @param @variables token 变量名
|
331
331
|
* @param @variables {en} token variable name
|
332
332
|
* @param @preValues
|
333
333
|
* @param @preValues {en}
|
@@ -343,9 +343,9 @@
|
|
343
343
|
* ```
|
344
344
|
*/
|
345
345
|
/**
|
346
|
-
* 0.5px的边框线
|
346
|
+
* 0.5px 的边框线
|
347
347
|
* @desc {en} a border line of 0.5 pixels
|
348
|
-
* @param @color 使用css变量为线设置颜色
|
348
|
+
* @param @color 使用 css 变量为线设置颜色
|
349
349
|
* @param @color {en} set border-color by CSS variable
|
350
350
|
* @param @direction 边框方向,默认为全部方向
|
351
351
|
* @param @direction {en} border direction,default to all directions.
|
@@ -362,9 +362,9 @@
|
|
362
362
|
/**
|
363
363
|
* 字体加粗
|
364
364
|
* @desc {en} font bold
|
365
|
-
* @param @color 使用css变量设置加粗的字体颜色,默认继承文字当前颜色
|
365
|
+
* @param @color 使用 css 变量设置加粗的字体颜色,默认继承文字当前颜色
|
366
366
|
* @param @color {en} set color by CSS variable
|
367
|
-
* @param @stroke 字体粗细,默认0.3px
|
367
|
+
* @param @stroke 字体粗细,默认 0.3px
|
368
368
|
* @param @stroke {en} font weight, default 0.3 pixel
|
369
369
|
* @example
|
370
370
|
* ```
|
@@ -377,17 +377,17 @@
|
|
377
377
|
* ```
|
378
378
|
*/
|
379
379
|
/**
|
380
|
-
* 1px边框
|
380
|
+
* 1px 边框
|
381
381
|
* @desc {en} 1 pixel border
|
382
382
|
* @param @direction 边框方向
|
383
383
|
* @param @direction {en} border direction
|
384
|
-
* @param @borderColor 使用css变量设置边框颜色
|
384
|
+
* @param @borderColor 使用 css 变量设置边框颜色
|
385
385
|
* @param @borderColor {en} set border-color by CSS variable
|
386
|
-
* @param @borderRadius border-radius,默认为0
|
386
|
+
* @param @borderRadius border-radius,默认为 0
|
387
387
|
* @param @borderRadius {en} border-radius, default value is 0
|
388
|
-
* @param @borderWidth border-width,默认为1px
|
388
|
+
* @param @borderWidth border-width,默认为 1px
|
389
389
|
* @param @borderWidth {en} border-width, default value is 1 pixel
|
390
|
-
* @param @borderStyle border-style,默认为solid
|
390
|
+
* @param @borderStyle border-style,默认为 solid
|
391
391
|
* @param @borderStyle {en} border-style, default value is solid
|
392
392
|
* @example
|
393
393
|
* ```
|
@@ -400,9 +400,9 @@
|
|
400
400
|
* ```
|
401
401
|
*/
|
402
402
|
/**
|
403
|
-
* 元素右下0.5px边框
|
403
|
+
* 元素右下 0.5px 边框
|
404
404
|
* @desc {en} 0.5px border on bottom right
|
405
|
-
* @param @color 使用css变量设置边框颜色
|
405
|
+
* @param @color 使用 css 变量设置边框颜色
|
406
406
|
* @param @color {en} set border-color by CSS variable
|
407
407
|
* @example
|
408
408
|
* ```
|
@@ -414,9 +414,9 @@
|
|
414
414
|
* ```
|
415
415
|
*/
|
416
416
|
/**
|
417
|
-
* 元素左上0.5px边框
|
417
|
+
* 元素左上 0.5px 边框
|
418
418
|
* @desc {en} 0.5px border on top left
|
419
|
-
* @param @color 使用css变量设置边框颜色
|
419
|
+
* @param @color 使用 css 变量设置边框颜色
|
420
420
|
* @param @color {en} set border-color by CSS variable
|
421
421
|
* @example
|
422
422
|
* ```
|
@@ -428,9 +428,9 @@
|
|
428
428
|
* ```
|
429
429
|
*/
|
430
430
|
/**
|
431
|
-
* 设置Loading组件颜色
|
431
|
+
* 设置 Loading 组件颜色
|
432
432
|
* @desc {en} set Loading component color
|
433
|
-
* @param @color 使用css变量设置颜色
|
433
|
+
* @param @color 使用 css 变量设置颜色
|
434
434
|
* @param @color {en} set color by CSS variable
|
435
435
|
* @example
|
436
436
|
* ```
|
@@ -444,9 +444,9 @@
|
|
444
444
|
/**
|
445
445
|
* 设置最小字号
|
446
446
|
* @desc {en} set minimum font-size
|
447
|
-
* @param @size 使用css变量设置最小字号
|
447
|
+
* @param @size 使用 css 变量设置最小字号
|
448
448
|
* @param @size {en} set minimum font-size by CSS variable
|
449
|
-
* @param @scale 设置最小字号下文字缩放比例,默认为0.9
|
449
|
+
* @param @scale 设置最小字号下文字缩放比例,默认为 0.9
|
450
450
|
* @param @scale {en} set minimum font-size down text scale,default value is 0.9
|
451
451
|
* @example
|
452
452
|
* ```
|
@@ -459,9 +459,9 @@
|
|
459
459
|
* ```
|
460
460
|
*/
|
461
461
|
/**
|
462
|
-
* 设置content-box盒模型下元素宽度
|
462
|
+
* 设置 content-box 盒模型下元素宽度
|
463
463
|
* @desc {en} set box width in content-box
|
464
|
-
* @param @property css属性名
|
464
|
+
* @param @property css 属性名
|
465
465
|
* @param @property {en} css property
|
466
466
|
* @param @width 元素总宽度,包含内边距
|
467
467
|
* @param @width element width, include padding
|
@@ -479,11 +479,11 @@
|
|
479
479
|
* ```
|
480
480
|
*/
|
481
481
|
/**
|
482
|
-
* 设置Steps组件颜色
|
482
|
+
* 设置 Steps 组件颜色
|
483
483
|
* @desc {en} set Steps component color
|
484
|
-
* @param @color 使用css变量设置主颜色
|
484
|
+
* @param @color 使用 css 变量设置主颜色
|
485
485
|
* @param @color {en} set main step color by CSS variable
|
486
|
-
* @param @finish-color 使用css变量设置已完成步骤的颜色
|
486
|
+
* @param @finish-color 使用 css 变量设置已完成步骤的颜色
|
487
487
|
* @param @finish-color {en} set finished step color by CSS variable
|
488
488
|
* @example
|
489
489
|
* ```
|
@@ -806,8 +806,7 @@
|
|
806
806
|
--pagination-field-button-border-radius: ~`pxtorem(2)`;
|
807
807
|
--pagination-field-button-padding: ~`pxtorem(6)` ~`pxtorem(16)`;
|
808
808
|
--pagination-field-btn-text-font-size: ~`pxtorem(14)`;
|
809
|
-
--pagination-field-btn-icon-text-gutter: ~`pxtorem(
|
810
|
-
--pagination-field-btn-icon-side-margin: ~`pxtorem(-3)`;
|
809
|
+
--pagination-field-btn-icon-text-gutter: ~`pxtorem(11)`;
|
811
810
|
--dark-pagination-field-primary-background: var(--dark-primary-color);
|
812
811
|
--pagination-field-primary-background: var(--primary-color);
|
813
812
|
--dark-pagination-field-primary-text-color: var(--dark-mask-content-color);
|
@@ -949,13 +948,13 @@
|
|
949
948
|
--index-bar-sidebar-item-padding: ~`pxtorem(2)` ~`pxtorem(8)`;
|
950
949
|
--index-bar-sidebar-item-width: ~`pxtorem(10)`;
|
951
950
|
--index-bar-sidebar-sweat-padding: 0 ~`pxtorem(8)`;
|
952
|
-
--index-bar-sidebar-sweat-background:
|
951
|
+
--index-bar-sidebar-sweat-background: #333333;
|
953
952
|
--dark-index-bar-sidebar-sweat-color: var(--dark-mask-content-color);
|
954
953
|
--index-bar-sidebar-sweat-color: var(--mask-content-color);
|
955
954
|
--index-bar-sidebar-sweat-right: ~`pxtorem(36)`;
|
956
955
|
--index-bar-sidebar-sweat-font-size: ~`pxtorem(24)`;
|
957
956
|
--index-bar-sidebar-sweat-radius: ~`pxtorem(50)`;
|
958
|
-
--index-bar-sidebar-sweat-triangle-position: ~`pxtorem(-
|
957
|
+
--index-bar-sidebar-sweat-triangle-position: ~`pxtorem(-28)`;
|
959
958
|
--index-bar-sidebar-sweat-triangle-border: ~`pxtorem(18)` solid transparent;
|
960
959
|
--index-bar-sidebar-toast-background: rgba(0, 0, 0, 0.8);
|
961
960
|
--dark-index-bar-sidebar-toast-color: var(--dark-mask-content-color);
|
@@ -806,7 +806,6 @@ export interface ArcodesignToken extends Record<string, string> {
|
|
806
806
|
'pagination-field-button-padding': string;
|
807
807
|
'pagination-field-btn-text-font-size': string;
|
808
808
|
'pagination-field-btn-icon-text-gutter': string;
|
809
|
-
'pagination-field-btn-icon-side-margin': string;
|
810
809
|
'dark-pagination-field-primary-background': string;
|
811
810
|
'pagination-field-primary-background': string;
|
812
811
|
'dark-pagination-field-primary-text-color': string;
|
@@ -817,8 +817,7 @@ var tokens = {
|
|
817
817
|
"pagination-field-button-border-radius": "0.04rem",
|
818
818
|
"pagination-field-button-padding": "0.12rem 0.32rem",
|
819
819
|
"pagination-field-btn-text-font-size": "0.28rem",
|
820
|
-
"pagination-field-btn-icon-text-gutter": "0.
|
821
|
-
"pagination-field-btn-icon-side-margin": "-0.06rem",
|
820
|
+
"pagination-field-btn-icon-text-gutter": "0.22rem",
|
822
821
|
"dark-pagination-field-primary-background": "var(--dark-primary-color)",
|
823
822
|
"pagination-field-primary-background": "var(--primary-color)",
|
824
823
|
"dark-pagination-field-primary-text-color": "var(--dark-mask-content-color)",
|
@@ -960,13 +959,13 @@ var tokens = {
|
|
960
959
|
"index-bar-sidebar-item-padding": "0.04rem 0.16rem",
|
961
960
|
"index-bar-sidebar-item-width": "0.2rem",
|
962
961
|
"index-bar-sidebar-sweat-padding": "0 0.16rem",
|
963
|
-
"index-bar-sidebar-sweat-background": "
|
962
|
+
"index-bar-sidebar-sweat-background": "#333333",
|
964
963
|
"dark-index-bar-sidebar-sweat-color": "var(--dark-mask-content-color)",
|
965
964
|
"index-bar-sidebar-sweat-color": "var(--mask-content-color)",
|
966
965
|
"index-bar-sidebar-sweat-right": "0.72rem",
|
967
966
|
"index-bar-sidebar-sweat-font-size": "0.48rem",
|
968
967
|
"index-bar-sidebar-sweat-radius": "1rem",
|
969
|
-
"index-bar-sidebar-sweat-triangle-position": "-0.
|
968
|
+
"index-bar-sidebar-sweat-triangle-position": "-0.56rem",
|
970
969
|
"index-bar-sidebar-sweat-triangle-border": "0.36rem solid transparent",
|
971
970
|
"index-bar-sidebar-toast-background": "rgba(0, 0, 0, 0.8)",
|
972
971
|
"dark-index-bar-sidebar-toast-color": "var(--dark-mask-content-color)",
|
@@ -6089,9 +6089,9 @@
|
|
6089
6089
|
"cssKey": "index-bar-sidebar-sweat-background",
|
6090
6090
|
"desc": "索引栏侧边栏水滴提示气泡背景颜色",
|
6091
6091
|
"override": "",
|
6092
|
-
"value": "
|
6093
|
-
"jsValue": "
|
6094
|
-
"staticValue": "
|
6092
|
+
"value": "#333333",
|
6093
|
+
"jsValue": "#333333",
|
6094
|
+
"staticValue": "#333333",
|
6095
6095
|
"localeDesc": {
|
6096
6096
|
"ch": "索引栏侧边栏水滴提示气泡背景颜色",
|
6097
6097
|
"en": "IndexBar sidebar water drop prompt bubble background color"
|
@@ -6173,9 +6173,9 @@
|
|
6173
6173
|
"cssKey": "index-bar-sidebar-sweat-triangle-position",
|
6174
6174
|
"desc": "索引栏侧边栏三角气泡位置",
|
6175
6175
|
"override": "",
|
6176
|
-
"value": "~`pxtorem(-
|
6177
|
-
"jsValue": "@getRem@-
|
6178
|
-
"staticValue": "-0.
|
6176
|
+
"value": "~`pxtorem(-28)`",
|
6177
|
+
"jsValue": "@getRem@-28",
|
6178
|
+
"staticValue": "-0.56rem",
|
6179
6179
|
"localeDesc": {
|
6180
6180
|
"ch": "索引栏侧边栏三角气泡位置",
|
6181
6181
|
"en": "The position of the triangle bubble in the sidebar of the IndexBar"
|
@@ -7069,25 +7069,13 @@
|
|
7069
7069
|
"en": "The spacing between the button and the page number when pagination is centered"
|
7070
7070
|
}
|
7071
7071
|
},
|
7072
|
-
"paginationFieldBtnIconSideMargin": {
|
7073
|
-
"cssKey": "pagination-field-btn-icon-side-margin",
|
7074
|
-
"desc": "分页器翻页按钮图标与按钮边缘的间距",
|
7075
|
-
"override": "",
|
7076
|
-
"value": "~`pxtorem(-3)`",
|
7077
|
-
"jsValue": "@getRem@-3",
|
7078
|
-
"staticValue": "-0.06rem",
|
7079
|
-
"localeDesc": {
|
7080
|
-
"ch": "分页器翻页按钮图标与按钮边缘的间距",
|
7081
|
-
"en": "The spacing between the button's icon and the edge of the button"
|
7082
|
-
}
|
7083
|
-
},
|
7084
7072
|
"paginationFieldBtnIconTextGutter": {
|
7085
7073
|
"cssKey": "pagination-field-btn-icon-text-gutter",
|
7086
7074
|
"desc": "分页器翻页按钮文字与图标的间距",
|
7087
7075
|
"override": "",
|
7088
|
-
"value": "~`pxtorem(
|
7089
|
-
"jsValue": "@getRem@
|
7090
|
-
"staticValue": "0.
|
7076
|
+
"value": "~`pxtorem(11)`",
|
7077
|
+
"jsValue": "@getRem@11",
|
7078
|
+
"staticValue": "0.22rem",
|
7091
7079
|
"localeDesc": {
|
7092
7080
|
"ch": "分页器翻页按钮文字与图标的间距",
|
7093
7081
|
"en": "The spacing between the text and the icon of the pagination button"
|
@@ -805,8 +805,7 @@
|
|
805
805
|
@pagination-field-button-border-radius: ~`pxtorem(2)`;
|
806
806
|
@pagination-field-button-padding: ~`pxtorem(6)` ~`pxtorem(16)`;
|
807
807
|
@pagination-field-btn-text-font-size: ~`pxtorem(14)`;
|
808
|
-
@pagination-field-btn-icon-text-gutter: ~`pxtorem(
|
809
|
-
@pagination-field-btn-icon-side-margin: ~`pxtorem(-3)`;
|
808
|
+
@pagination-field-btn-icon-text-gutter: ~`pxtorem(11)`;
|
810
809
|
@dark-pagination-field-primary-background: @dark-primary-color;
|
811
810
|
@pagination-field-primary-background: @primary-color;
|
812
811
|
@dark-pagination-field-primary-text-color: @dark-mask-content-color;
|
@@ -948,13 +947,13 @@
|
|
948
947
|
@index-bar-sidebar-item-padding: ~`pxtorem(2)` ~`pxtorem(8)`;
|
949
948
|
@index-bar-sidebar-item-width: ~`pxtorem(10)`;
|
950
949
|
@index-bar-sidebar-sweat-padding: 0 ~`pxtorem(8)`;
|
951
|
-
@index-bar-sidebar-sweat-background:
|
950
|
+
@index-bar-sidebar-sweat-background: #333333;
|
952
951
|
@dark-index-bar-sidebar-sweat-color: @dark-mask-content-color;
|
953
952
|
@index-bar-sidebar-sweat-color: @mask-content-color;
|
954
953
|
@index-bar-sidebar-sweat-right: ~`pxtorem(36)`;
|
955
954
|
@index-bar-sidebar-sweat-font-size: ~`pxtorem(24)`;
|
956
955
|
@index-bar-sidebar-sweat-radius: ~`pxtorem(50)`;
|
957
|
-
@index-bar-sidebar-sweat-triangle-position: ~`pxtorem(-
|
956
|
+
@index-bar-sidebar-sweat-triangle-position: ~`pxtorem(-28)`;
|
958
957
|
@index-bar-sidebar-sweat-triangle-border: ~`pxtorem(18)` solid transparent;
|
959
958
|
@index-bar-sidebar-toast-background: rgba(0, 0, 0, 0.8);
|
960
959
|
@dark-index-bar-sidebar-toast-color: @dark-mask-content-color;
|
package/tokens/mixin/index.less
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
@import './pxtorem.less';
|
9
9
|
|
10
10
|
/**
|
11
|
-
* 根据base-font-size,设置单位尺寸为rem
|
11
|
+
* 根据 base-font-size,设置单位尺寸为 rem
|
12
12
|
* @desc {en} set the unit size to rem based on base-font-size
|
13
13
|
* @param @property css属性名
|
14
14
|
* @param @property {en} css property
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
|
40
40
|
/**
|
41
|
-
* 根据base-font-size,设置常规模式和rtl模式下单位尺寸为rem
|
41
|
+
* 根据 base-font-size,设置常规模式和 rtl 模式下单位尺寸为 rem
|
42
42
|
* @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
|
43
43
|
* @param @property css属性名
|
44
44
|
* @param @property {en} css property
|
@@ -64,8 +64,8 @@
|
|
64
64
|
}
|
65
65
|
|
66
66
|
/**
|
67
|
-
* 当less变量use-dark-mode=1
|
68
|
-
* @desc {en}
|
67
|
+
* 当 less 变量 use-dark-mode=1 时,自定义暗黑模式样式规则
|
68
|
+
* @desc {en} Customize dark mode style rules when the less variable use-dark-mode=1.
|
69
69
|
* @param @rules 对应的暗黑模式规则
|
70
70
|
* @param @rules {en} Corresponding dark mode rules
|
71
71
|
* @example
|
@@ -81,14 +81,14 @@
|
|
81
81
|
*/
|
82
82
|
.use-dark-mode-query(@rules) {
|
83
83
|
& when (@use-dark-mode = 1) {
|
84
|
-
@
|
84
|
+
@{arco-dark-mode-selector} & {
|
85
85
|
@rules();
|
86
86
|
}
|
87
87
|
}
|
88
88
|
}
|
89
89
|
|
90
90
|
/**
|
91
|
-
* 为属性设置arco提供的token变量
|
91
|
+
* 为属性设置 arco 提供的 token 变量
|
92
92
|
* @desc {en} set the token variable provided by Arco for the attribute
|
93
93
|
* @param @property css属性名
|
94
94
|
* @param @property {en} css property
|
@@ -117,11 +117,11 @@
|
|
117
117
|
}
|
118
118
|
|
119
119
|
/**
|
120
|
-
* 在常规模式和rtl模式下为属性设置arco提供的token变量
|
120
|
+
* 在常规模式和 rtl 模式下为属性设置 arco 提供的 token 变量
|
121
121
|
* @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
|
122
|
-
* @param @property css属性名
|
122
|
+
* @param @property css 属性名
|
123
123
|
* @param @property {en} css property
|
124
|
-
* @param @variables token变量名
|
124
|
+
* @param @variables token 变量名
|
125
125
|
* @param @variables {en} token variable name
|
126
126
|
* @param @preValues
|
127
127
|
* @param @preValues {en}
|
@@ -146,9 +146,9 @@
|
|
146
146
|
}
|
147
147
|
|
148
148
|
/**
|
149
|
-
* 0.5px的边框线
|
149
|
+
* 0.5px 的边框线
|
150
150
|
* @desc {en} a border line of 0.5 pixels
|
151
|
-
* @param @color 使用css变量为线设置颜色
|
151
|
+
* @param @color 使用 css 变量为线设置颜色
|
152
152
|
* @param @color {en} set border-color by CSS variable
|
153
153
|
* @param @direction 边框方向,默认为全部方向
|
154
154
|
* @param @direction {en} border direction,default to all directions.
|
@@ -172,9 +172,9 @@
|
|
172
172
|
/**
|
173
173
|
* 字体加粗
|
174
174
|
* @desc {en} font bold
|
175
|
-
* @param @color 使用css变量设置加粗的字体颜色,默认继承文字当前颜色
|
175
|
+
* @param @color 使用 css 变量设置加粗的字体颜色,默认继承文字当前颜色
|
176
176
|
* @param @color {en} set color by CSS variable
|
177
|
-
* @param @stroke 字体粗细,默认0.3px
|
177
|
+
* @param @stroke 字体粗细,默认 0.3px
|
178
178
|
* @param @stroke {en} font weight, default 0.3 pixel
|
179
179
|
* @example
|
180
180
|
* ```
|
@@ -194,17 +194,17 @@
|
|
194
194
|
}
|
195
195
|
|
196
196
|
/**
|
197
|
-
* 1px边框
|
197
|
+
* 1px 边框
|
198
198
|
* @desc {en} 1 pixel border
|
199
199
|
* @param @direction 边框方向
|
200
200
|
* @param @direction {en} border direction
|
201
|
-
* @param @borderColor 使用css变量设置边框颜色
|
201
|
+
* @param @borderColor 使用 css 变量设置边框颜色
|
202
202
|
* @param @borderColor {en} set border-color by CSS variable
|
203
|
-
* @param @borderRadius border-radius,默认为0
|
203
|
+
* @param @borderRadius border-radius,默认为 0
|
204
204
|
* @param @borderRadius {en} border-radius, default value is 0
|
205
|
-
* @param @borderWidth border-width,默认为1px
|
205
|
+
* @param @borderWidth border-width,默认为 1px
|
206
206
|
* @param @borderWidth {en} border-width, default value is 1 pixel
|
207
|
-
* @param @borderStyle border-style,默认为solid
|
207
|
+
* @param @borderStyle border-style,默认为 solid
|
208
208
|
* @param @borderStyle {en} border-style, default value is solid
|
209
209
|
* @example
|
210
210
|
* ```
|
@@ -224,9 +224,9 @@
|
|
224
224
|
}
|
225
225
|
|
226
226
|
/**
|
227
|
-
* 元素右下0.5px边框
|
227
|
+
* 元素右下 0.5px 边框
|
228
228
|
* @desc {en} 0.5px border on bottom right
|
229
|
-
* @param @color 使用css变量设置边框颜色
|
229
|
+
* @param @color 使用 css 变量设置边框颜色
|
230
230
|
* @param @color {en} set border-color by CSS variable
|
231
231
|
* @example
|
232
232
|
* ```
|
@@ -245,9 +245,9 @@
|
|
245
245
|
}
|
246
246
|
|
247
247
|
/**
|
248
|
-
* 元素左上0.5px边框
|
248
|
+
* 元素左上 0.5px 边框
|
249
249
|
* @desc {en} 0.5px border on top left
|
250
|
-
* @param @color 使用css变量设置边框颜色
|
250
|
+
* @param @color 使用 css 变量设置边框颜色
|
251
251
|
* @param @color {en} set border-color by CSS variable
|
252
252
|
* @example
|
253
253
|
* ```
|
@@ -266,9 +266,9 @@
|
|
266
266
|
}
|
267
267
|
|
268
268
|
/**
|
269
|
-
* 设置Loading组件颜色
|
269
|
+
* 设置 Loading 组件颜色
|
270
270
|
* @desc {en} set Loading component color
|
271
|
-
* @param @color 使用css变量设置颜色
|
271
|
+
* @param @color 使用 css 变量设置颜色
|
272
272
|
* @param @color {en} set color by CSS variable
|
273
273
|
* @example
|
274
274
|
* ```
|
@@ -289,9 +289,9 @@
|
|
289
289
|
/**
|
290
290
|
* 设置最小字号
|
291
291
|
* @desc {en} set minimum font-size
|
292
|
-
* @param @size 使用css变量设置最小字号
|
292
|
+
* @param @size 使用 css 变量设置最小字号
|
293
293
|
* @param @size {en} set minimum font-size by CSS variable
|
294
|
-
* @param @scale 设置最小字号下文字缩放比例,默认为0.9
|
294
|
+
* @param @scale 设置最小字号下文字缩放比例,默认为 0.9
|
295
295
|
* @param @scale {en} set minimum font-size down text scale,default value is 0.9
|
296
296
|
* @example
|
297
297
|
* ```
|
@@ -319,9 +319,9 @@
|
|
319
319
|
}
|
320
320
|
|
321
321
|
/**
|
322
|
-
* 设置content-box盒模型下元素宽度
|
322
|
+
* 设置 content-box 盒模型下元素宽度
|
323
323
|
* @desc {en} set box width in content-box
|
324
|
-
* @param @property css属性名
|
324
|
+
* @param @property css 属性名
|
325
325
|
* @param @property {en} css property
|
326
326
|
* @param @width 元素总宽度,包含内边距
|
327
327
|
* @param @width element width, include padding
|
@@ -348,11 +348,11 @@
|
|
348
348
|
}
|
349
349
|
|
350
350
|
/**
|
351
|
-
* 设置Steps组件颜色
|
351
|
+
* 设置 Steps 组件颜色
|
352
352
|
* @desc {en} set Steps component color
|
353
|
-
* @param @color 使用css变量设置主颜色
|
353
|
+
* @param @color 使用 css 变量设置主颜色
|
354
354
|
* @param @color {en} set main step color by CSS variable
|
355
|
-
* @param @finish-color 使用css变量设置已完成步骤的颜色
|
355
|
+
* @param @finish-color 使用 css 变量设置已完成步骤的颜色
|
356
356
|
* @param @finish-color {en} set finished step color by CSS variable
|
357
357
|
* @example
|
358
358
|
* ```
|
@@ -86,11 +86,11 @@ declare const _default: React.ForwardRefExoticComponent<ActionSheetProps & React
|
|
86
86
|
* @param {ActionSheetProps} config setting
|
87
87
|
* @returns {{ close: () => void; update: (newConfig: ActionSheetProps) => void; }}
|
88
88
|
*/
|
89
|
-
open: (config: Pick<import("../context-provider").WithGlobalContext<ActionSheetProps & React.RefAttributes<ActionSheetRef>>, "title" | "ref" | "key" | "context" | "translateZ" | "className" | "onTouchMove" | "getContainer" | "
|
89
|
+
open: (config: Pick<import("../context-provider").WithGlobalContext<ActionSheetProps & React.RefAttributes<ActionSheetRef>>, "title" | "ref" | "key" | "context" | "translateZ" | "className" | "onTouchMove" | "getContainer" | "items" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset" | "cancelText" | "subTitle"> & {
|
90
90
|
key?: string | undefined;
|
91
91
|
}, context?: import("../context-provider").GlobalContextParams | undefined) => {
|
92
92
|
close: () => void;
|
93
|
-
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<ActionSheetProps & React.RefAttributes<ActionSheetRef>>, "title" | "ref" | "key" | "context" | "translateZ" | "className" | "onTouchMove" | "getContainer" | "
|
93
|
+
update: (newConfig: Pick<import("../context-provider").WithGlobalContext<ActionSheetProps & React.RefAttributes<ActionSheetRef>>, "title" | "ref" | "key" | "context" | "translateZ" | "className" | "onTouchMove" | "getContainer" | "items" | "mountOnEnter" | "unmountOnExit" | "onClose" | "maskClass" | "maskStyle" | "contentClass" | "contentStyle" | "maskTransitionType" | "contentTransitionType" | "maskTransitionTimeout" | "contentTransitionTimeout" | "maskClosable" | "animatingClosable" | "preventBodyScroll" | "initialBodyOverflow" | "gestureOutOfControl" | "onOpen" | "onMaskClick" | "onPreventTouchMove" | "needBottomOffset" | "cancelText" | "subTitle"> & {
|
94
94
|
key?: string | undefined;
|
95
95
|
}) => void;
|
96
96
|
};
|