@arco-design/mobile-react 2.30.1 → 2.30.2
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 +12 -0
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/nav-bar/back-icon.js +20 -10
- package/cjs/picker-view/components/picker-cell.js +1 -1
- package/cjs/picker-view/index.js +1 -1
- package/dist/index.js +21 -12
- package/dist/index.min.js +3 -3
- package/dist/style.css +3 -0
- package/dist/style.min.css +1 -1
- package/esm/nav-bar/back-icon.js +18 -10
- package/esm/picker-view/components/picker-cell.js +1 -1
- package/esm/picker-view/index.js +1 -1
- package/package.json +3 -3
- package/style/css/public.css +2 -0
- package/umd/nav-bar/back-icon.js +20 -14
- package/umd/picker-view/components/picker-cell.js +1 -1
- package/umd/picker-view/index.js +1 -1
- package/cjs/action-sheet/demo/style/css/mobile.css +0 -523
- package/cjs/action-sheet/demo/style/mobile.less +0 -52
- package/cjs/avatar/demo/style/css/mobile.css +0 -578
- package/cjs/avatar/demo/style/mobile.less +0 -96
- package/cjs/badge/demo/style/css/mobile.css +0 -580
- package/cjs/badge/demo/style/mobile.less +0 -107
- package/cjs/button/demo/style/css/mobile.css +0 -530
- package/cjs/button/demo/style/mobile.less +0 -44
- package/cjs/carousel/demo/style/css/mobile.css +0 -553
- package/cjs/carousel/demo/style/mobile.less +0 -70
- package/cjs/cell/demo/style/css/mobile.css +0 -585
- package/cjs/cell/demo/style/mobile.less +0 -102
- package/cjs/checkbox/demo/style/css/mobile.css +0 -520
- package/cjs/checkbox/demo/style/mobile.less +0 -45
- package/cjs/circle-progress/demo/style/css/mobile.css +0 -516
- package/cjs/circle-progress/demo/style/mobile.less +0 -34
- package/cjs/collapse/demo/style/css/mobile.css +0 -516
- package/cjs/collapse/demo/style/mobile.less +0 -33
- package/cjs/context-provider/demo/style/css/mobile.css +0 -520
- package/cjs/context-provider/demo/style/mobile.less +0 -37
- package/cjs/count-down/demo/style/css/mobile.css +0 -575
- package/cjs/count-down/demo/style/mobile.less +0 -96
- package/cjs/date-picker/demo/style/css/mobile.css +0 -520
- package/cjs/date-picker/demo/style/mobile.less +0 -37
- package/cjs/dialog/demo/style/css/mobile.css +0 -548
- package/cjs/dialog/demo/style/mobile.less +0 -80
- package/cjs/divider/demo/style/css/mobile.css +0 -516
- package/cjs/divider/demo/style/mobile.less +0 -36
- package/cjs/dropdown/demo/style/css/mobile.css +0 -515
- package/cjs/dropdown/demo/style/mobile.less +0 -32
- package/cjs/dropdown-menu/demo/style/css/mobile.css +0 -516
- package/cjs/dropdown-menu/demo/style/mobile.less +0 -33
- package/cjs/ellipsis/demo/style/css/mobile.css +0 -528
- package/cjs/ellipsis/demo/style/mobile.less +0 -53
- package/cjs/grid/demo/style/css/mobile.css +0 -613
- package/cjs/grid/demo/style/mobile.less +0 -157
- package/cjs/image/demo/style/css/mobile.css +0 -580
- package/cjs/image/demo/style/mobile.less +0 -86
- package/cjs/image-picker/demo/style/css/mobile.css +0 -550
- package/cjs/image-picker/demo/style/mobile.less +0 -67
- package/cjs/image-preview/demo/style/css/mobile.css +0 -551
- package/cjs/image-preview/demo/style/mobile.less +0 -61
- package/cjs/index-bar/demo/style/css/mobile.css +0 -533
- package/cjs/index-bar/demo/style/mobile.less +0 -51
- package/cjs/input/demo/style/css/mobile.css +0 -602
- package/cjs/input/demo/style/mobile.less +0 -132
- package/cjs/keyboard/demo/style/css/mobile.css +0 -520
- package/cjs/keyboard/demo/style/mobile.less +0 -42
- package/cjs/load-more/demo/style/css/mobile.css +0 -520
- package/cjs/load-more/demo/style/mobile.less +0 -39
- package/cjs/loading/demo/style/css/mobile.css +0 -529
- package/cjs/loading/demo/style/mobile.less +0 -48
- package/cjs/masking/demo/style/css/mobile.css +0 -535
- package/cjs/masking/demo/style/mobile.less +0 -56
- package/cjs/nav-bar/demo/style/css/mobile.css +0 -523
- package/cjs/nav-bar/demo/style/mobile.less +0 -46
- package/cjs/notice-bar/demo/style/css/mobile.css +0 -4
- package/cjs/notice-bar/demo/style/mobile.less +0 -6
- package/cjs/notify/demo/style/css/mobile.css +0 -545
- package/cjs/notify/demo/style/mobile.less +0 -60
- package/cjs/pagination/demo/style/css/index.css +0 -516
- package/cjs/pagination/demo/style/index.less +0 -35
- package/cjs/picker/demo/style/css/mobile.css +0 -531
- package/cjs/picker/demo/style/mobile.less +0 -49
- package/cjs/picker-view/demo/style/css/mobile.css +0 -513
- package/cjs/picker-view/demo/style/mobile.less +0 -32
- package/cjs/popover/demo/style/css/mobile.css +0 -649
- package/cjs/popover/demo/style/mobile.less +0 -135
- package/cjs/popup/demo/style/css/mobile.css +0 -540
- package/cjs/popup/demo/style/mobile.less +0 -66
- package/cjs/popup-swiper/demo/style/css/mobile.css +0 -540
- package/cjs/popup-swiper/demo/style/mobile.less +0 -66
- package/cjs/portal/demo/style/css/mobile.css +0 -527
- package/cjs/portal/demo/style/mobile.less +0 -48
- package/cjs/progress/demo/style/css/mobile.css +0 -520
- package/cjs/progress/demo/style/mobile.less +0 -39
- package/cjs/pull-refresh/demo/style/css/mobile.css +0 -554
- package/cjs/pull-refresh/demo/style/mobile.less +0 -83
- package/cjs/radio/demo/style/css/mobile.css +0 -529
- package/cjs/radio/demo/style/mobile.less +0 -54
- package/cjs/rate/demo/style/css/mobile.css +0 -514
- package/cjs/rate/demo/style/mobile.less +0 -33
- package/cjs/search-bar/demo/style/css/mobile.css +0 -520
- package/cjs/search-bar/demo/style/mobile.less +0 -43
- package/cjs/show-monitor/demo/style/css/mobile.css +0 -569
- package/cjs/show-monitor/demo/style/mobile.less +0 -90
- package/cjs/skeleton/demo/style/css/mobile.css +0 -517
- package/cjs/skeleton/demo/style/mobile.less +0 -38
- package/cjs/slider/demo/style/css/mobile.css +0 -529
- package/cjs/slider/demo/style/mobile.less +0 -60
- package/cjs/stepper/demo/style/css/mobile.css +0 -514
- package/cjs/stepper/demo/style/mobile.less +0 -34
- package/cjs/steps/demo/style/css/mobile.css +0 -611
- package/cjs/steps/demo/style/mobile.less +0 -75
- package/cjs/sticky/demo/style/css/mobile.css +0 -527
- package/cjs/sticky/demo/style/mobile.less +0 -48
- package/cjs/swipe-action/demo/style/css/mobile.css +0 -515
- package/cjs/swipe-action/demo/style/mobile.less +0 -34
- package/cjs/swipe-load/demo/style/css/mobile.css +0 -580
- package/cjs/swipe-load/demo/style/mobile.less +0 -116
- package/cjs/switch/demo/style/css/mobile.css +0 -524
- package/cjs/switch/demo/style/mobile.less +0 -49
- package/cjs/tab-bar/demo/style/css/mobile.css +0 -553
- package/cjs/tab-bar/demo/style/mobile.less +0 -59
- package/cjs/tabs/demo/style/css/mobile.css +0 -633
- package/cjs/tabs/demo/style/mobile.less +0 -174
- package/cjs/tag/demo/style/css/mobile.css +0 -516
- package/cjs/tag/demo/style/mobile.less +0 -33
- package/cjs/textarea/demo/style/css/mobile.css +0 -523
- package/cjs/textarea/demo/style/mobile.less +0 -47
- package/cjs/toast/demo/style/css/mobile.css +0 -520
- package/cjs/toast/demo/style/mobile.less +0 -37
- package/cjs/transition/demo/style/css/mobile.css +0 -529
- package/cjs/transition/demo/style/mobile.less +0 -47
- package/esm/action-sheet/demo/style/css/mobile.css +0 -523
- package/esm/action-sheet/demo/style/mobile.less +0 -52
- package/esm/avatar/demo/style/css/mobile.css +0 -578
- package/esm/avatar/demo/style/mobile.less +0 -96
- package/esm/badge/demo/style/css/mobile.css +0 -580
- package/esm/badge/demo/style/mobile.less +0 -107
- package/esm/button/demo/style/css/mobile.css +0 -530
- package/esm/button/demo/style/mobile.less +0 -44
- package/esm/carousel/demo/style/css/mobile.css +0 -553
- package/esm/carousel/demo/style/mobile.less +0 -70
- package/esm/cell/demo/style/css/mobile.css +0 -585
- package/esm/cell/demo/style/mobile.less +0 -102
- package/esm/checkbox/demo/style/css/mobile.css +0 -520
- package/esm/checkbox/demo/style/mobile.less +0 -45
- package/esm/circle-progress/demo/style/css/mobile.css +0 -516
- package/esm/circle-progress/demo/style/mobile.less +0 -34
- package/esm/collapse/demo/style/css/mobile.css +0 -516
- package/esm/collapse/demo/style/mobile.less +0 -33
- package/esm/context-provider/demo/style/css/mobile.css +0 -520
- package/esm/context-provider/demo/style/mobile.less +0 -37
- package/esm/count-down/demo/style/css/mobile.css +0 -575
- package/esm/count-down/demo/style/mobile.less +0 -96
- package/esm/date-picker/demo/style/css/mobile.css +0 -520
- package/esm/date-picker/demo/style/mobile.less +0 -37
- package/esm/dialog/demo/style/css/mobile.css +0 -548
- package/esm/dialog/demo/style/mobile.less +0 -80
- package/esm/divider/demo/style/css/mobile.css +0 -516
- package/esm/divider/demo/style/mobile.less +0 -36
- package/esm/dropdown/demo/style/css/mobile.css +0 -515
- package/esm/dropdown/demo/style/mobile.less +0 -32
- package/esm/dropdown-menu/demo/style/css/mobile.css +0 -516
- package/esm/dropdown-menu/demo/style/mobile.less +0 -33
- package/esm/ellipsis/demo/style/css/mobile.css +0 -528
- package/esm/ellipsis/demo/style/mobile.less +0 -53
- package/esm/grid/demo/style/css/mobile.css +0 -613
- package/esm/grid/demo/style/mobile.less +0 -157
- package/esm/image/demo/style/css/mobile.css +0 -580
- package/esm/image/demo/style/mobile.less +0 -86
- package/esm/image-picker/demo/style/css/mobile.css +0 -550
- package/esm/image-picker/demo/style/mobile.less +0 -67
- package/esm/image-preview/demo/style/css/mobile.css +0 -551
- package/esm/image-preview/demo/style/mobile.less +0 -61
- package/esm/index-bar/demo/style/css/mobile.css +0 -533
- package/esm/index-bar/demo/style/mobile.less +0 -51
- package/esm/input/demo/style/css/mobile.css +0 -602
- package/esm/input/demo/style/mobile.less +0 -132
- package/esm/keyboard/demo/style/css/mobile.css +0 -520
- package/esm/keyboard/demo/style/mobile.less +0 -42
- package/esm/load-more/demo/style/css/mobile.css +0 -520
- package/esm/load-more/demo/style/mobile.less +0 -39
- package/esm/loading/demo/style/css/mobile.css +0 -529
- package/esm/loading/demo/style/mobile.less +0 -48
- package/esm/masking/demo/style/css/mobile.css +0 -535
- package/esm/masking/demo/style/mobile.less +0 -56
- package/esm/nav-bar/demo/style/css/mobile.css +0 -523
- package/esm/nav-bar/demo/style/mobile.less +0 -46
- package/esm/notice-bar/demo/style/css/mobile.css +0 -4
- package/esm/notice-bar/demo/style/mobile.less +0 -6
- package/esm/notify/demo/style/css/mobile.css +0 -545
- package/esm/notify/demo/style/mobile.less +0 -60
- package/esm/pagination/demo/style/css/index.css +0 -516
- package/esm/pagination/demo/style/index.less +0 -35
- package/esm/picker/demo/style/css/mobile.css +0 -531
- package/esm/picker/demo/style/mobile.less +0 -49
- package/esm/picker-view/demo/style/css/mobile.css +0 -513
- package/esm/picker-view/demo/style/mobile.less +0 -32
- package/esm/popover/demo/style/css/mobile.css +0 -649
- package/esm/popover/demo/style/mobile.less +0 -135
- package/esm/popup/demo/style/css/mobile.css +0 -540
- package/esm/popup/demo/style/mobile.less +0 -66
- package/esm/popup-swiper/demo/style/css/mobile.css +0 -540
- package/esm/popup-swiper/demo/style/mobile.less +0 -66
- package/esm/portal/demo/style/css/mobile.css +0 -527
- package/esm/portal/demo/style/mobile.less +0 -48
- package/esm/progress/demo/style/css/mobile.css +0 -520
- package/esm/progress/demo/style/mobile.less +0 -39
- package/esm/pull-refresh/demo/style/css/mobile.css +0 -554
- package/esm/pull-refresh/demo/style/mobile.less +0 -83
- package/esm/radio/demo/style/css/mobile.css +0 -529
- package/esm/radio/demo/style/mobile.less +0 -54
- package/esm/rate/demo/style/css/mobile.css +0 -514
- package/esm/rate/demo/style/mobile.less +0 -33
- package/esm/search-bar/demo/style/css/mobile.css +0 -520
- package/esm/search-bar/demo/style/mobile.less +0 -43
- package/esm/show-monitor/demo/style/css/mobile.css +0 -569
- package/esm/show-monitor/demo/style/mobile.less +0 -90
- package/esm/skeleton/demo/style/css/mobile.css +0 -517
- package/esm/skeleton/demo/style/mobile.less +0 -38
- package/esm/slider/demo/style/css/mobile.css +0 -529
- package/esm/slider/demo/style/mobile.less +0 -60
- package/esm/stepper/demo/style/css/mobile.css +0 -514
- package/esm/stepper/demo/style/mobile.less +0 -34
- package/esm/steps/demo/style/css/mobile.css +0 -611
- package/esm/steps/demo/style/mobile.less +0 -75
- package/esm/sticky/demo/style/css/mobile.css +0 -527
- package/esm/sticky/demo/style/mobile.less +0 -48
- package/esm/swipe-action/demo/style/css/mobile.css +0 -515
- package/esm/swipe-action/demo/style/mobile.less +0 -34
- package/esm/swipe-load/demo/style/css/mobile.css +0 -580
- package/esm/swipe-load/demo/style/mobile.less +0 -116
- package/esm/switch/demo/style/css/mobile.css +0 -524
- package/esm/switch/demo/style/mobile.less +0 -49
- package/esm/tab-bar/demo/style/css/mobile.css +0 -553
- package/esm/tab-bar/demo/style/mobile.less +0 -59
- package/esm/tabs/demo/style/css/mobile.css +0 -633
- package/esm/tabs/demo/style/mobile.less +0 -174
- package/esm/tag/demo/style/css/mobile.css +0 -516
- package/esm/tag/demo/style/mobile.less +0 -33
- package/esm/textarea/demo/style/css/mobile.css +0 -523
- package/esm/textarea/demo/style/mobile.less +0 -47
- package/esm/toast/demo/style/css/mobile.css +0 -520
- package/esm/toast/demo/style/mobile.less +0 -37
- package/esm/transition/demo/style/css/mobile.css +0 -529
- package/esm/transition/demo/style/mobile.less +0 -47
- package/umd/action-sheet/demo/style/css/mobile.css +0 -523
- package/umd/action-sheet/demo/style/mobile.less +0 -52
- package/umd/avatar/demo/style/css/mobile.css +0 -578
- package/umd/avatar/demo/style/mobile.less +0 -96
- package/umd/badge/demo/style/css/mobile.css +0 -580
- package/umd/badge/demo/style/mobile.less +0 -107
- package/umd/button/demo/style/css/mobile.css +0 -530
- package/umd/button/demo/style/mobile.less +0 -44
- package/umd/carousel/demo/style/css/mobile.css +0 -553
- package/umd/carousel/demo/style/mobile.less +0 -70
- package/umd/cell/demo/style/css/mobile.css +0 -585
- package/umd/cell/demo/style/mobile.less +0 -102
- package/umd/checkbox/demo/style/css/mobile.css +0 -520
- package/umd/checkbox/demo/style/mobile.less +0 -45
- package/umd/circle-progress/demo/style/css/mobile.css +0 -516
- package/umd/circle-progress/demo/style/mobile.less +0 -34
- package/umd/collapse/demo/style/css/mobile.css +0 -516
- package/umd/collapse/demo/style/mobile.less +0 -33
- package/umd/context-provider/demo/style/css/mobile.css +0 -520
- package/umd/context-provider/demo/style/mobile.less +0 -37
- package/umd/count-down/demo/style/css/mobile.css +0 -575
- package/umd/count-down/demo/style/mobile.less +0 -96
- package/umd/date-picker/demo/style/css/mobile.css +0 -520
- package/umd/date-picker/demo/style/mobile.less +0 -37
- package/umd/dialog/demo/style/css/mobile.css +0 -548
- package/umd/dialog/demo/style/mobile.less +0 -80
- package/umd/divider/demo/style/css/mobile.css +0 -516
- package/umd/divider/demo/style/mobile.less +0 -36
- package/umd/dropdown/demo/style/css/mobile.css +0 -515
- package/umd/dropdown/demo/style/mobile.less +0 -32
- package/umd/dropdown-menu/demo/style/css/mobile.css +0 -516
- package/umd/dropdown-menu/demo/style/mobile.less +0 -33
- package/umd/ellipsis/demo/style/css/mobile.css +0 -528
- package/umd/ellipsis/demo/style/mobile.less +0 -53
- package/umd/grid/demo/style/css/mobile.css +0 -613
- package/umd/grid/demo/style/mobile.less +0 -157
- package/umd/image/demo/style/css/mobile.css +0 -580
- package/umd/image/demo/style/mobile.less +0 -86
- package/umd/image-picker/demo/style/css/mobile.css +0 -550
- package/umd/image-picker/demo/style/mobile.less +0 -67
- package/umd/image-preview/demo/style/css/mobile.css +0 -551
- package/umd/image-preview/demo/style/mobile.less +0 -61
- package/umd/index-bar/demo/style/css/mobile.css +0 -533
- package/umd/index-bar/demo/style/mobile.less +0 -51
- package/umd/input/demo/style/css/mobile.css +0 -602
- package/umd/input/demo/style/mobile.less +0 -132
- package/umd/keyboard/demo/style/css/mobile.css +0 -520
- package/umd/keyboard/demo/style/mobile.less +0 -42
- package/umd/load-more/demo/style/css/mobile.css +0 -520
- package/umd/load-more/demo/style/mobile.less +0 -39
- package/umd/loading/demo/style/css/mobile.css +0 -529
- package/umd/loading/demo/style/mobile.less +0 -48
- package/umd/masking/demo/style/css/mobile.css +0 -535
- package/umd/masking/demo/style/mobile.less +0 -56
- package/umd/nav-bar/demo/style/css/mobile.css +0 -523
- package/umd/nav-bar/demo/style/mobile.less +0 -46
- package/umd/notice-bar/demo/style/css/mobile.css +0 -4
- package/umd/notice-bar/demo/style/mobile.less +0 -6
- package/umd/notify/demo/style/css/mobile.css +0 -545
- package/umd/notify/demo/style/mobile.less +0 -60
- package/umd/pagination/demo/style/css/index.css +0 -516
- package/umd/pagination/demo/style/index.less +0 -35
- package/umd/picker/demo/style/css/mobile.css +0 -531
- package/umd/picker/demo/style/mobile.less +0 -49
- package/umd/picker-view/demo/style/css/mobile.css +0 -513
- package/umd/picker-view/demo/style/mobile.less +0 -32
- package/umd/popover/demo/style/css/mobile.css +0 -649
- package/umd/popover/demo/style/mobile.less +0 -135
- package/umd/popup/demo/style/css/mobile.css +0 -540
- package/umd/popup/demo/style/mobile.less +0 -66
- package/umd/popup-swiper/demo/style/css/mobile.css +0 -540
- package/umd/popup-swiper/demo/style/mobile.less +0 -66
- package/umd/portal/demo/style/css/mobile.css +0 -527
- package/umd/portal/demo/style/mobile.less +0 -48
- package/umd/progress/demo/style/css/mobile.css +0 -520
- package/umd/progress/demo/style/mobile.less +0 -39
- package/umd/pull-refresh/demo/style/css/mobile.css +0 -554
- package/umd/pull-refresh/demo/style/mobile.less +0 -83
- package/umd/radio/demo/style/css/mobile.css +0 -529
- package/umd/radio/demo/style/mobile.less +0 -54
- package/umd/rate/demo/style/css/mobile.css +0 -514
- package/umd/rate/demo/style/mobile.less +0 -33
- package/umd/search-bar/demo/style/css/mobile.css +0 -520
- package/umd/search-bar/demo/style/mobile.less +0 -43
- package/umd/show-monitor/demo/style/css/mobile.css +0 -569
- package/umd/show-monitor/demo/style/mobile.less +0 -90
- package/umd/skeleton/demo/style/css/mobile.css +0 -517
- package/umd/skeleton/demo/style/mobile.less +0 -38
- package/umd/slider/demo/style/css/mobile.css +0 -529
- package/umd/slider/demo/style/mobile.less +0 -60
- package/umd/stepper/demo/style/css/mobile.css +0 -514
- package/umd/stepper/demo/style/mobile.less +0 -34
- package/umd/steps/demo/style/css/mobile.css +0 -611
- package/umd/steps/demo/style/mobile.less +0 -75
- package/umd/sticky/demo/style/css/mobile.css +0 -527
- package/umd/sticky/demo/style/mobile.less +0 -48
- package/umd/swipe-action/demo/style/css/mobile.css +0 -515
- package/umd/swipe-action/demo/style/mobile.less +0 -34
- package/umd/swipe-load/demo/style/css/mobile.css +0 -580
- package/umd/swipe-load/demo/style/mobile.less +0 -116
- package/umd/switch/demo/style/css/mobile.css +0 -524
- package/umd/switch/demo/style/mobile.less +0 -49
- package/umd/tab-bar/demo/style/css/mobile.css +0 -553
- package/umd/tab-bar/demo/style/mobile.less +0 -59
- package/umd/tabs/demo/style/css/mobile.css +0 -633
- package/umd/tabs/demo/style/mobile.less +0 -174
- package/umd/tag/demo/style/css/mobile.css +0 -516
- package/umd/tag/demo/style/mobile.less +0 -33
- package/umd/textarea/demo/style/css/mobile.css +0 -523
- package/umd/textarea/demo/style/mobile.less +0 -47
- package/umd/toast/demo/style/css/mobile.css +0 -520
- package/umd/toast/demo/style/mobile.less +0 -37
- package/umd/transition/demo/style/css/mobile.css +0 -529
- package/umd/transition/demo/style/mobile.less +0 -47
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arco-design/mobile-react",
|
3
|
-
"version": "2.30.
|
3
|
+
"version": "2.30.2",
|
4
4
|
"description": "",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "esm/index.js",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"author": "taoyiyue@bytedance.com",
|
16
16
|
"license": "ISC",
|
17
17
|
"dependencies": {
|
18
|
-
"@arco-design/mobile-utils": "2.17.
|
18
|
+
"@arco-design/mobile-utils": "2.17.2",
|
19
19
|
"@arco-design/transformable": "^1.0.0",
|
20
20
|
"lodash.throttle": "^4.1.1",
|
21
21
|
"resize-observer-polyfill": "^1.5.1"
|
@@ -49,5 +49,5 @@
|
|
49
49
|
"publishConfig": {
|
50
50
|
"access": "public"
|
51
51
|
},
|
52
|
-
"gitHead": "
|
52
|
+
"gitHead": "41b5f19cac228f71b84b7a5df4dcdbd6262e2c46"
|
53
53
|
}
|
package/style/css/public.css
CHANGED
package/umd/nav-bar/back-icon.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
if (typeof define === "function" && define.amd) {
|
3
|
-
define(["exports", "react"], factory);
|
3
|
+
define(["exports", "react", "@arco-design/mobile-utils", "../context-provider"], factory);
|
4
4
|
} else if (typeof exports !== "undefined") {
|
5
|
-
factory(exports, require("react"));
|
5
|
+
factory(exports, require("react"), require("@arco-design/mobile-utils"), require("../context-provider"));
|
6
6
|
} else {
|
7
7
|
var mod = {
|
8
8
|
exports: {}
|
9
9
|
};
|
10
|
-
factory(mod.exports, global.react);
|
10
|
+
factory(mod.exports, global.react, global.mobileUtils, global.contextProvider);
|
11
11
|
global.backIcon = mod.exports;
|
12
12
|
}
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _react) {
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _react, _mobileUtils, _contextProvider) {
|
14
14
|
"use strict";
|
15
15
|
|
16
16
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
@@ -22,16 +22,22 @@
|
|
22
22
|
function BackArrow(_ref) {
|
23
23
|
var _ref$color = _ref.color,
|
24
24
|
color = _ref$color === void 0 ? 'currentColor' : _ref$color;
|
25
|
-
return /*#__PURE__*/_react.default.createElement(
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_contextProvider.ContextLayout, null, function (_ref2) {
|
26
|
+
var _ref2$locale = _ref2.locale,
|
27
|
+
locale = _ref2$locale === void 0 ? _mobileUtils.defaultLocale : _ref2$locale;
|
28
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
29
|
+
role: "button",
|
30
|
+
className: "c-svg-arrow nav-bar-back",
|
31
|
+
"aria-label": locale.NavBar.backBtnAriaLabel
|
32
|
+
}, /*#__PURE__*/_react.default.createElement("svg", {
|
33
|
+
height: "100%",
|
34
|
+
viewBox: "0 0 16 16"
|
35
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
36
|
+
id: "path-1_1_",
|
37
|
+
d: "M2.1,8l5.4,5.4c0.1,0.1,0.1,0.3,0,0.5L7,14.4c-0.1,0.1-0.3,0.1-0.5,0L0.7,8.5c-0.3-0.3-0.3-0.7,0-0.9 l5.9-5.9c0.1-0.1,0.3-0.1,0.5,0l0.5,0.5c0.1,0.1,0.1,0.3,0,0.5L2.1,8z",
|
38
|
+
fill: color
|
39
|
+
})));
|
40
|
+
});
|
35
41
|
}
|
36
42
|
|
37
43
|
var _default = BackArrow;
|
@@ -308,7 +308,7 @@
|
|
308
308
|
function getCurrentCellValue() {
|
309
309
|
var _data$currentIndex;
|
310
310
|
|
311
|
-
return
|
311
|
+
return (_data$currentIndex = data[currentIndex]) == null ? void 0 : _data$currentIndex.value;
|
312
312
|
}
|
313
313
|
|
314
314
|
function _clearTimer() {
|
package/umd/picker-view/index.js
CHANGED
@@ -1,523 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @type mixin-var
|
3
|
-
* @name GeneralMixinVars
|
4
|
-
* @name_en General Mixin
|
5
|
-
*/
|
6
|
-
/**
|
7
|
-
* 根据base-font-size,设置单位尺寸为rem
|
8
|
-
* @desc {en} set the unit size to rem based on base-font-size
|
9
|
-
* @param @property css属性名
|
10
|
-
* @param @property {en} css property
|
11
|
-
* @param @values css属性值,如果为复合属性,值可以用逗号分隔开
|
12
|
-
* @param @values {en} css property value, the values can be separated by commas when the style is composite
|
13
|
-
* @example
|
14
|
-
* ```
|
15
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
16
|
-
*
|
17
|
-
* .demo {
|
18
|
-
* .rem(font-size, 14);
|
19
|
-
* .rem(padding, 16, 0);
|
20
|
-
* }
|
21
|
-
* ```
|
22
|
-
*/
|
23
|
-
/**
|
24
|
-
* 根据base-font-size,设置常规模式和rtl模式下单位尺寸为rem
|
25
|
-
* @desc {en} set the unit size to rem for regular and RTL modes based on the base-font-size
|
26
|
-
* @param @property css属性名
|
27
|
-
* @param @property {en} css property
|
28
|
-
* @param @values css属性值,如果为复合属性,值可以用逗号分隔开
|
29
|
-
* @param @values {en} css property value, the values can be separated by commas when the style is composite
|
30
|
-
* @example
|
31
|
-
* ```
|
32
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
33
|
-
*
|
34
|
-
* .demo {
|
35
|
-
* .rem-with-rtl(font-size, 14);
|
36
|
-
* .rem-with-rtl(padding, 16, 0);
|
37
|
-
* }
|
38
|
-
* ```
|
39
|
-
*/
|
40
|
-
/**
|
41
|
-
* 当less变量use-dark-mode=1时,为原生暗黑模式媒体查询事件prefers-color-scheme:dark绑定对应css规则
|
42
|
-
* @desc {en} bind corresponding CSS rules to the native dark mode media query event prefers-color-scheme: dark when the less variable use-dark-mode=1.
|
43
|
-
* @param @rules 对应的暗黑模式规则
|
44
|
-
* @param @rules {en} Corresponding dark mode rules
|
45
|
-
* @example
|
46
|
-
* ```
|
47
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
48
|
-
*
|
49
|
-
* .demo {
|
50
|
-
* .use-dark-mode-query({
|
51
|
-
* background-color: #000;
|
52
|
-
* });
|
53
|
-
* }
|
54
|
-
* ```
|
55
|
-
*/
|
56
|
-
/**
|
57
|
-
* 为属性设置arco提供的token变量
|
58
|
-
* @desc {en} set the token variable provided by Arco for the attribute
|
59
|
-
* @param @property css属性名
|
60
|
-
* @param @property {en} css property
|
61
|
-
* @param @variables token变量名
|
62
|
-
* @param @variables {en} token variable name
|
63
|
-
* @param @preValues 复合属性css变量前缀
|
64
|
-
* @param @preValues {en} prefix for Compound Attribute CSS Variables
|
65
|
-
* @param @nextValues 复合属性css变量后缀
|
66
|
-
* @param @nextValues {en} suffix for Compound Attribute CSS Variables
|
67
|
-
* @example
|
68
|
-
* ```
|
69
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
70
|
-
*
|
71
|
-
* .demo {
|
72
|
-
* .use-var(background, primary-color);
|
73
|
-
* .use-var(border, primary-color, 1px solid);
|
74
|
-
* .use-var(border, cell-border-width, '', solid black);
|
75
|
-
* }
|
76
|
-
* ```
|
77
|
-
*/
|
78
|
-
/**
|
79
|
-
* 在常规模式和rtl模式下为属性设置arco提供的token变量
|
80
|
-
* @desc {en} set the token variable provided by Arco for the attribute in regular mode and RTL mode
|
81
|
-
* @param @property css属性名
|
82
|
-
* @param @property {en} css property
|
83
|
-
* @param @variables token变量名
|
84
|
-
* @param @variables {en} token variable name
|
85
|
-
* @param @preValues
|
86
|
-
* @param @preValues {en}
|
87
|
-
* @param @nextValues
|
88
|
-
* @param @nextValues {en}
|
89
|
-
* @example
|
90
|
-
* ```
|
91
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
92
|
-
*
|
93
|
-
* .demo {
|
94
|
-
* .use-var-with-rtl(margin-left, button-icon-text-gutter);
|
95
|
-
* }
|
96
|
-
* ```
|
97
|
-
*/
|
98
|
-
/**
|
99
|
-
* 0.5px的边框线
|
100
|
-
* @desc {en} a border line of 0.5 pixels
|
101
|
-
* @param @color 使用css变量为线设置颜色
|
102
|
-
* @param @color {en} set border-color by CSS variable
|
103
|
-
* @param @direction 边框方向,默认为全部方向
|
104
|
-
* @param @direction {en} border direction,default to all directions.
|
105
|
-
* @example
|
106
|
-
* ```
|
107
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
108
|
-
*
|
109
|
-
* .demo {
|
110
|
-
* .hairline-var(line-color);
|
111
|
-
* .hairline-var(line-color, top);
|
112
|
-
* }
|
113
|
-
* ```
|
114
|
-
*/
|
115
|
-
/**
|
116
|
-
* 字体加粗
|
117
|
-
* @desc {en} font bold
|
118
|
-
* @param @color 使用css变量设置加粗的字体颜色,默认继承文字当前颜色
|
119
|
-
* @param @color {en} set color by CSS variable
|
120
|
-
* @param @stroke 字体粗细,默认0.3px
|
121
|
-
* @param @stroke {en} font weight, default 0.3 pixel
|
122
|
-
* @example
|
123
|
-
* ```
|
124
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
125
|
-
*
|
126
|
-
* .demo {
|
127
|
-
* .text-medium-var();
|
128
|
-
* .text-medium-var(primary-color, 0.5PX);
|
129
|
-
* }
|
130
|
-
* ```
|
131
|
-
*/
|
132
|
-
/**
|
133
|
-
* 1px边框
|
134
|
-
* @desc {en} 1 pixel border
|
135
|
-
* @param @direction 边框方向
|
136
|
-
* @param @direction {en} border direction
|
137
|
-
* @param @borderColor 使用css变量设置边框颜色
|
138
|
-
* @param @borderColor {en} set border-color by CSS variable
|
139
|
-
* @param @borderRadius border-radius,默认为0
|
140
|
-
* @param @borderRadius {en} border-radius, default value is 0
|
141
|
-
* @param @borderWidth border-width,默认为1px
|
142
|
-
* @param @borderWidth {en} border-width, default value is 1 pixel
|
143
|
-
* @param @borderStyle border-style,默认为solid
|
144
|
-
* @param @borderStyle {en} border-style, default value is solid
|
145
|
-
* @example
|
146
|
-
* ```
|
147
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
148
|
-
*
|
149
|
-
* .demo {
|
150
|
-
* .onepx-border-var(top, line-color);
|
151
|
-
* .onepx-border-var(all, line-color, 2, 2px, dashed);
|
152
|
-
* }
|
153
|
-
* ```
|
154
|
-
*/
|
155
|
-
/**
|
156
|
-
* 元素右下0.5px边框
|
157
|
-
* @desc {en} 0.5px border on bottom right
|
158
|
-
* @param @color 使用css变量设置边框颜色
|
159
|
-
* @param @color {en} set border-color by CSS variable
|
160
|
-
* @example
|
161
|
-
* ```
|
162
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
163
|
-
*
|
164
|
-
* .demo {
|
165
|
-
* .hairline-bottom-right-var(line-color);
|
166
|
-
* }
|
167
|
-
* ```
|
168
|
-
*/
|
169
|
-
/**
|
170
|
-
* 元素左上0.5px边框
|
171
|
-
* @desc {en} 0.5px border on top left
|
172
|
-
* @param @color 使用css变量设置边框颜色
|
173
|
-
* @param @color {en} set border-color by CSS variable
|
174
|
-
* @example
|
175
|
-
* ```
|
176
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
177
|
-
*
|
178
|
-
* .demo {
|
179
|
-
* .hairline-top-left-var(line-color);
|
180
|
-
* }
|
181
|
-
* ```
|
182
|
-
*/
|
183
|
-
/**
|
184
|
-
* 设置Loading组件颜色
|
185
|
-
* @desc {en} set Loading component color
|
186
|
-
* @param @color 使用css变量设置颜色
|
187
|
-
* @param @color {en} set color by CSS variable
|
188
|
-
* @example
|
189
|
-
* ```
|
190
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
191
|
-
*
|
192
|
-
* .demo {
|
193
|
-
* .set-loading-color-var(primary-color);
|
194
|
-
* }
|
195
|
-
* ```
|
196
|
-
*/
|
197
|
-
/**
|
198
|
-
* 设置最小字号
|
199
|
-
* @desc {en} set minimum font-size
|
200
|
-
* @param @size 使用css变量设置最小字号
|
201
|
-
* @param @size {en} set minimum font-size by CSS variable
|
202
|
-
* @param @scale 设置最小字号下文字缩放比例,默认为0.9
|
203
|
-
* @param @scale {en} set minimum font-size down text scale,default value is 0.9
|
204
|
-
* @example
|
205
|
-
* ```
|
206
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
207
|
-
*
|
208
|
-
* .demo {
|
209
|
-
* .set-font-size-var(badge-font-size);
|
210
|
-
* .set-font-size-var(badge-font-size, 0.5);
|
211
|
-
* }
|
212
|
-
* ```
|
213
|
-
*/
|
214
|
-
/**
|
215
|
-
* 设置content-box盒模型下元素宽度
|
216
|
-
* @desc {en} set box width in content-box
|
217
|
-
* @param @property css属性名
|
218
|
-
* @param @property {en} css property
|
219
|
-
* @param @width 元素总宽度,包含内边距
|
220
|
-
* @param @width element width, include padding
|
221
|
-
* @param @padding-left 左侧内边距
|
222
|
-
* @param @padding-left {en} padding-left
|
223
|
-
* @param @padding-right 右侧内边距
|
224
|
-
* @param @padding-right {en} padding-right
|
225
|
-
* @example
|
226
|
-
* ```
|
227
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
228
|
-
*
|
229
|
-
* .demo {
|
230
|
-
* .set-content-box-width-var(min-width, badge-text-width, badge-text-padding-left, badge-text-padding-right);
|
231
|
-
* }
|
232
|
-
* ```
|
233
|
-
*/
|
234
|
-
/**
|
235
|
-
* 设置Steps组件颜色
|
236
|
-
* @desc {en} set Steps component color
|
237
|
-
* @param @color 使用css变量设置主颜色
|
238
|
-
* @param @color {en} set main step color by CSS variable
|
239
|
-
* @param @finish-color 使用css变量设置已完成步骤的颜色
|
240
|
-
* @param @finish-color {en} set finished step color by CSS variable
|
241
|
-
* @example
|
242
|
-
* ```
|
243
|
-
* @import '@arco-design/mobile-react/style/mixin.less';
|
244
|
-
*
|
245
|
-
* .demo {
|
246
|
-
* .set-steps-color-var(primary-color, lighter-primary-color);
|
247
|
-
* }
|
248
|
-
* ```
|
249
|
-
*/
|
250
|
-
/**
|
251
|
-
* @type mixin
|
252
|
-
* @name GeneralMixin
|
253
|
-
* @name_en General Mixin
|
254
|
-
*/
|
255
|
-
/**
|
256
|
-
* 文本溢出,支持1行/多行文本
|
257
|
-
* @desc {en} text overflow, support single line or multiple lines
|
258
|
-
* @param @lines 最大展示行数,默认为1行
|
259
|
-
* @param @lines {en} allows limiting of the contents of a block to the specified number of lines, default to 1
|
260
|
-
* @example
|
261
|
-
* ```
|
262
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
263
|
-
* .demo1{
|
264
|
-
* .text-overflow();
|
265
|
-
* }
|
266
|
-
* .demo2 {
|
267
|
-
* .text-overflow(2);
|
268
|
-
* }
|
269
|
-
* ```
|
270
|
-
*/
|
271
|
-
/**
|
272
|
-
* 禁用用户选择文本
|
273
|
-
* @desc {en} disable user selection of text
|
274
|
-
* @example
|
275
|
-
* ```
|
276
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
277
|
-
*
|
278
|
-
* .demo {
|
279
|
-
* .noselect();
|
280
|
-
* }
|
281
|
-
*/
|
282
|
-
/**
|
283
|
-
* 全屏布局
|
284
|
-
* @desc {en} full-screen layout
|
285
|
-
* @example
|
286
|
-
* ```
|
287
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
288
|
-
*
|
289
|
-
* .demo {
|
290
|
-
* .full-screen();
|
291
|
-
* }
|
292
|
-
*/
|
293
|
-
/**
|
294
|
-
* 文本加粗,兼容安卓设备
|
295
|
-
* @desc {en} text-bold, compatible with Android devices
|
296
|
-
* @param @color 文本颜色,默认为currentColor
|
297
|
-
* @param @color {en} text color, default to currentColor
|
298
|
-
* @param @stroke 文本字符笔触宽度,默认为0.3PX
|
299
|
-
* @param @stroke {en} the width of strokes for text characters, default to 0.3PX
|
300
|
-
* @example
|
301
|
-
* ```
|
302
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
303
|
-
*
|
304
|
-
* .demo1 {
|
305
|
-
* .text-medium();
|
306
|
-
* }
|
307
|
-
* .demo2 {
|
308
|
-
* .text-medium(#fff, 0.5px);
|
309
|
-
* }
|
310
|
-
*/
|
311
|
-
/**
|
312
|
-
* 消除文本加粗样式,兼容安卓设备
|
313
|
-
* @desc {en} remove text-bold, compatible with Android devices
|
314
|
-
* @example
|
315
|
-
* ```
|
316
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
317
|
-
*
|
318
|
-
* .demo {
|
319
|
-
* .remove-text-medium();
|
320
|
-
* }
|
321
|
-
*/
|
322
|
-
/**
|
323
|
-
* 1px(物理像素)边框
|
324
|
-
* @desc {en} a border line of 1 pixel
|
325
|
-
* @param @direction 边框方向
|
326
|
-
* @param @direction {en} border direction
|
327
|
-
* @param @borderColor 边框颜色,默认inherit
|
328
|
-
* @param @borderColor {en} border color, default to inherit
|
329
|
-
* @param @borderRadius 边框圆角,默认0
|
330
|
-
* @param @borderRadius {en} border radius, default to 0
|
331
|
-
* @param @borderWidth 边框宽度,默认1px
|
332
|
-
* @param @borderWidth {en} border width, default to 1px
|
333
|
-
* @param @borderStyle 边框样式,默认solid
|
334
|
-
* @param @borderStyle {en} border style, default to solid
|
335
|
-
* @example
|
336
|
-
* ```
|
337
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
338
|
-
*
|
339
|
-
* .demo {
|
340
|
-
* .onepx-border();
|
341
|
-
* }
|
342
|
-
*/
|
343
|
-
/**
|
344
|
-
* 移除0.5px的边框线
|
345
|
-
* @desc {en} remove border line of 0.5 pixels
|
346
|
-
* @param @direction 边框方向,默认为全部方向
|
347
|
-
* @param @direction {en} border direction,default to all directions.
|
348
|
-
* @example
|
349
|
-
* ```
|
350
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
351
|
-
*
|
352
|
-
* .demo {
|
353
|
-
* .remove-hairline(all);
|
354
|
-
* }
|
355
|
-
* ```
|
356
|
-
*/
|
357
|
-
/**
|
358
|
-
* 元素右下 0.5px border
|
359
|
-
* @desc {en} 0.5px border on bottom right
|
360
|
-
* @param @color 边框颜色
|
361
|
-
* @param @color {en} border-color
|
362
|
-
* @example
|
363
|
-
* ```
|
364
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
365
|
-
*
|
366
|
-
* .demo {
|
367
|
-
* .hairline-bottom-right(#000);
|
368
|
-
* }
|
369
|
-
* ```
|
370
|
-
*/
|
371
|
-
/**
|
372
|
-
* 元素左上 0.5px border
|
373
|
-
* @desc {en} 0.5px border on top left
|
374
|
-
* @param @color 边框颜色
|
375
|
-
* @param @color {en} border-color
|
376
|
-
* @example
|
377
|
-
* ```
|
378
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
379
|
-
*
|
380
|
-
* .demo {
|
381
|
-
* .hairline-top-left(#000);
|
382
|
-
* }
|
383
|
-
* ```
|
384
|
-
*/
|
385
|
-
/**
|
386
|
-
* 输入涉及左右相关的属性名,获取方向相反的属性名,可用于处理rtl模式
|
387
|
-
* @desc {en} get the property name in the opposite direction of the input property name, which can be used to process rtl mode
|
388
|
-
* @param @origin-property css属性名
|
389
|
-
* @param @origin-property {en} css property
|
390
|
-
* @example
|
391
|
-
* ```
|
392
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
393
|
-
*
|
394
|
-
* .demo {
|
395
|
-
* @a: .prop-with-rtl(margin-left)[@property-name]; // @a 变量值为margin-right
|
396
|
-
* }
|
397
|
-
* ```
|
398
|
-
*/
|
399
|
-
/**
|
400
|
-
* 设置涉及左右相关的属性名,在rtl模式下自动替换为相反的属性名
|
401
|
-
* @desc {en} set the property name related to left and right, and automatically replace it with the opposite attribute name in rtl mode
|
402
|
-
* @param @property css属性名
|
403
|
-
* @param @property {en} css property
|
404
|
-
* @param @value css属性值
|
405
|
-
* @param @value {en} css property value
|
406
|
-
* @param @rules 自定义的复写规则,默认重置为initial
|
407
|
-
* @param @rules {en} customized rewrite rules, default to initial
|
408
|
-
* @example
|
409
|
-
* ```
|
410
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
411
|
-
*
|
412
|
-
* .demo {
|
413
|
-
* .set-prop-with-rtl(right, auto);
|
414
|
-
* }
|
415
|
-
* ```
|
416
|
-
*/
|
417
|
-
/**
|
418
|
-
* 设置涉及左右相关的属性值,在rtl模式下自动替换为相反的属性值
|
419
|
-
* @desc {en} set the property value related to left and right, and automatically replace it with the opposite attribute value in rtl mode
|
420
|
-
* @param @property css属性名
|
421
|
-
* @param @property {en} css property
|
422
|
-
* @param @value css属性值
|
423
|
-
* @param @value {en} css property value
|
424
|
-
* @example
|
425
|
-
* ```
|
426
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
427
|
-
*
|
428
|
-
* .demo {
|
429
|
-
* .set-value-with-rtl(text-align, left);
|
430
|
-
* }
|
431
|
-
* ```
|
432
|
-
*/
|
433
|
-
/**
|
434
|
-
* 设置Loading组件颜色
|
435
|
-
* @desc {en} set Loading component color
|
436
|
-
* @param @color 颜色
|
437
|
-
* @param @color {en} color
|
438
|
-
* @example
|
439
|
-
* ```
|
440
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
441
|
-
*
|
442
|
-
* .demo {
|
443
|
-
* .set-loading-color(#000);
|
444
|
-
* }
|
445
|
-
* ```
|
446
|
-
*/
|
447
|
-
/**
|
448
|
-
* 设置最小字号
|
449
|
-
* @desc {en} set minimum font-size
|
450
|
-
* @param @size 最小字号
|
451
|
-
* @param @size {en} minimum font-size
|
452
|
-
* @example
|
453
|
-
* ```
|
454
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
455
|
-
*
|
456
|
-
* .demo {
|
457
|
-
* .set-font-size(10px);
|
458
|
-
* }
|
459
|
-
* ```
|
460
|
-
*/
|
461
|
-
/**
|
462
|
-
* 设置content-box盒模型下元素宽度
|
463
|
-
* @desc {en} set box width in content-box
|
464
|
-
* @param @property css属性名
|
465
|
-
* @param @property {en} css property
|
466
|
-
* @param @width 元素总宽度,包含内边距
|
467
|
-
* @param @width element width, include padding
|
468
|
-
* @param @padding-left 左侧内边距
|
469
|
-
* @param @padding-left {en} padding-left
|
470
|
-
* @param @padding-right 右侧内边距
|
471
|
-
* @param @padding-right {en} padding-right
|
472
|
-
* @example
|
473
|
-
* ```
|
474
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
475
|
-
*
|
476
|
-
* .demo {
|
477
|
-
* .set-content-box-width(min-width, 300px, 10px, 10px);
|
478
|
-
* }
|
479
|
-
* ```
|
480
|
-
*/
|
481
|
-
/**
|
482
|
-
* 设置Steps组件当前步骤主要颜色,已完成步骤颜色自动计算为当前步骤颜色透明度10%
|
483
|
-
* @desc {en} set Steps component color
|
484
|
-
* @param @color 当前步骤背景、标题文本颜色
|
485
|
-
* @param @color {en} color of current step background and title text
|
486
|
-
* @param @finish-color 已完成步骤背景色
|
487
|
-
* @param @finish-color {en} color of finished step background
|
488
|
-
* @example
|
489
|
-
* ```
|
490
|
-
* @import '@arco-design/mobile-utils/style/mixin.less';
|
491
|
-
*
|
492
|
-
* .demo {
|
493
|
-
* .set-steps-color(#FFB400);
|
494
|
-
* }
|
495
|
-
* ```
|
496
|
-
*/
|
497
|
-
#demo-action-sheet .arcodesign-mobile-demo-content {
|
498
|
-
padding: 0;
|
499
|
-
background: transparent;
|
500
|
-
margin: 0 0.24rem;
|
501
|
-
border-radius: 0.16rem;
|
502
|
-
overflow: hidden;
|
503
|
-
}
|
504
|
-
.demo-action-sheet .primary-item {
|
505
|
-
color: #165DFF ;
|
506
|
-
}
|
507
|
-
/***************************************************
|
508
|
-
* *
|
509
|
-
* Arco Theme Style *
|
510
|
-
* *
|
511
|
-
***************************************************/
|
512
|
-
.arco-theme-dark .process-bg-color-with-config,
|
513
|
-
.arco-theme-dark .process-custom-icon-bg-color-with-config {
|
514
|
-
color: rgba(255, 255, 255, 0.9) ;
|
515
|
-
}
|
516
|
-
.arco-theme-dark .wait-custom-icon-bg-color-with-config {
|
517
|
-
background: #2e2e30 ;
|
518
|
-
color: #929293 ;
|
519
|
-
}
|
520
|
-
.arco-theme-dark .demo-action-sheet .primary-item {
|
521
|
-
color: #3C7EFF ;
|
522
|
-
}
|
523
|
-
/********************* End *************************/
|
@@ -1,52 +0,0 @@
|
|
1
|
-
@import "../../../../style/mixin.less";
|
2
|
-
|
3
|
-
#demo-action-sheet {
|
4
|
-
|
5
|
-
.arcodesign-mobile-demo-content {
|
6
|
-
padding: 0;
|
7
|
-
background: transparent;
|
8
|
-
.rem(margin, 0, 12);
|
9
|
-
.rem(border-radius, 8);
|
10
|
-
overflow: hidden;
|
11
|
-
}
|
12
|
-
|
13
|
-
}
|
14
|
-
|
15
|
-
.demo-action-sheet {
|
16
|
-
|
17
|
-
.primary-item {
|
18
|
-
.use-var(color, primary-color);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
/***************************************************
|
23
|
-
* *
|
24
|
-
* Arco Theme Style *
|
25
|
-
* *
|
26
|
-
***************************************************/
|
27
|
-
& when (@use-dark-mode = 1) {
|
28
|
-
|
29
|
-
.process-bg-color-with-config,
|
30
|
-
.process-custom-icon-bg-color-with-config {
|
31
|
-
@{arco-dark-mode-selector} & {
|
32
|
-
.use-var(color, dark-steps-process-with-config-item-icon-color);
|
33
|
-
.use-var(color, dark-steps-process-with-config-item-icon-color);
|
34
|
-
}
|
35
|
-
}
|
36
|
-
.wait-custom-icon-bg-color-with-config {
|
37
|
-
@{arco-dark-mode-selector} & {
|
38
|
-
.use-var(background, dark-steps-wait-icon-num-background);
|
39
|
-
.use-var(color, dark-sub-info-font-color);
|
40
|
-
.use-var(background, dark-steps-wait-icon-num-background);
|
41
|
-
.use-var(color, dark-sub-info-font-color);
|
42
|
-
}
|
43
|
-
}
|
44
|
-
.demo-action-sheet {
|
45
|
-
.primary-item {
|
46
|
-
@{arco-dark-mode-selector} & {
|
47
|
-
.use-var(color, dark-primary-color);
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
/********************* End *************************/
|