@nutui/nutui-react-taro 3.0.19-cpp-beta.5 → 3.0.19-cpp.10
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/dist/cjs/hooks/taro/use-custom-event.js +5 -5
- package/dist/cjs/hooks/use-ref-state.js +3 -3
- package/dist/cjs/hooks/use-touch.js +1 -2
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +2 -2
- package/dist/cjs/packages/address/style/style.harmony.css +9 -3
- package/dist/cjs/packages/address/utils.js +3 -3
- package/dist/cjs/packages/audio/style/style.harmony.css +8 -5
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +16 -28
- package/dist/cjs/packages/badge/badge.js +4 -7
- package/dist/cjs/packages/badge/style/badge.scss +1 -1
- package/dist/cjs/packages/badge/style/style.css +1 -1
- package/dist/cjs/packages/badge/style/style.harmony.css +1 -1
- package/dist/cjs/packages/badge/style-jmapp/badge.scss +1 -1
- package/dist/cjs/packages/badge/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/badge/style-jrkf/badge.scss +1 -1
- package/dist/cjs/packages/badge/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/barrage/barrage.js +14 -24
- package/dist/cjs/packages/button/style/button.scss +3 -0
- package/dist/cjs/packages/button/style/style.css +8 -5
- package/dist/cjs/packages/button/style/style.harmony.css +8 -5
- package/dist/cjs/packages/button/style-jmapp/button.scss +3 -0
- package/dist/cjs/packages/button/style-jmapp/style.css +3 -0
- package/dist/cjs/packages/button/style-jrkf/button.scss +3 -0
- package/dist/cjs/packages/button/style-jrkf/style.css +3 -0
- package/dist/cjs/packages/calendar/style/style.css +2 -2
- package/dist/cjs/packages/calendar/style/style.harmony.css +4 -4
- package/dist/cjs/packages/calendar/utils.js +8 -8
- package/dist/cjs/packages/calendarcard/icon.js +5 -5
- package/dist/cjs/packages/calendarcard/style/style.css +1 -1
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +1 -1
- package/dist/cjs/packages/calendarcard/utils.js +6 -6
- package/dist/cjs/packages/card/style/style.harmony.css +4 -4
- package/dist/cjs/packages/cascader/cascader.js +12 -21
- package/dist/cjs/packages/cascader/style/cascader.scss +2 -0
- package/dist/cjs/packages/cascader/style/style.css +2 -0
- package/dist/cjs/packages/cascader/style/style.harmony.css +9 -3
- package/dist/cjs/packages/cascader/style-jmapp/cascader.scss +2 -0
- package/dist/cjs/packages/cascader/style-jmapp/style.css +2 -0
- package/dist/cjs/packages/cascader/style-jrkf/cascader.scss +2 -0
- package/dist/cjs/packages/cascader/style-jrkf/style.css +2 -0
- package/dist/cjs/packages/cascader/utils.js +3 -3
- package/dist/cjs/packages/checkbox/checkbox.js +1 -1
- package/dist/cjs/packages/checkbox/style/style.css +1 -1
- package/dist/cjs/packages/checkbox/style/style.harmony.css +1 -1
- package/dist/cjs/packages/circleprogress/style/style.css +1 -1
- package/dist/cjs/packages/circleprogress/style/style.harmony.css +1 -1
- package/dist/cjs/packages/col/col.js +16 -11
- package/dist/cjs/packages/collapseitem/collapseitem.js +4 -7
- package/dist/cjs/packages/configprovider/configprovider.js +7 -7
- package/dist/cjs/packages/configprovider/index.js +6 -6
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/countdown/countdown.js +1 -2
- package/dist/cjs/packages/countdown/style/countdown.scss +1 -1
- package/dist/cjs/packages/countdown/style/style.css +1 -1
- package/dist/cjs/packages/countdown/style/style.harmony.css +1 -1
- package/dist/cjs/packages/countdown/style-jmapp/countdown.scss +1 -1
- package/dist/cjs/packages/countdown/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/countdown/style-jrkf/countdown.scss +1 -1
- package/dist/cjs/packages/countdown/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/datepicker/style/style.harmony.css +4 -4
- package/dist/cjs/packages/datepicker/utils.js +9 -9
- package/dist/cjs/packages/dialog/content.js +3 -3
- package/dist/cjs/packages/dialog/dialog.js +8 -11
- package/dist/cjs/packages/dialog/style/dialog.scss +8 -2
- package/dist/cjs/packages/dialog/style/style.css +11 -5
- package/dist/cjs/packages/dialog/style/style.harmony.css +19 -10
- package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +8 -2
- package/dist/cjs/packages/dialog/style-jmapp/style.css +8 -2
- package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +8 -2
- package/dist/cjs/packages/dialog/style-jrkf/style.css +8 -2
- package/dist/cjs/packages/drag/drag.js +4 -7
- package/dist/cjs/packages/elevator/elevator.js +7 -10
- package/dist/cjs/packages/ellipsis/ellipsis.js +17 -30
- package/dist/cjs/packages/empty/style/style.css +2 -2
- package/dist/cjs/packages/empty/style/style.harmony.css +10 -7
- package/dist/cjs/packages/fixednav/style/style.harmony.css +1 -1
- package/dist/cjs/packages/form/index.js +0 -2
- package/dist/cjs/packages/form/useform.js +50 -57
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +2 -2
- package/dist/cjs/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/cjs/packages/input/style/input.scss +0 -1
- package/dist/cjs/packages/input/style/style.css +0 -1
- package/dist/cjs/packages/input/style/style.harmony.css +0 -1
- package/dist/cjs/packages/input/style-jmapp/input.scss +0 -1
- package/dist/cjs/packages/input/style-jmapp/style.css +0 -1
- package/dist/cjs/packages/input/style-jrkf/input.scss +0 -1
- package/dist/cjs/packages/input/style-jrkf/style.css +0 -1
- package/dist/cjs/packages/inputnumber/inputnumber.js +16 -28
- package/dist/cjs/packages/lottie/types.js +0 -2
- package/dist/cjs/packages/menuitem/menuitem.js +24 -22
- package/dist/cjs/packages/noticebar/noticebar.js +119 -109
- package/dist/cjs/packages/noticebar/style/noticebar.scss +4 -0
- package/dist/cjs/packages/noticebar/style/style.css +4 -0
- package/dist/cjs/packages/noticebar/style/style.harmony.css +4 -0
- package/dist/cjs/packages/noticebar/style-jmapp/noticebar.scss +4 -0
- package/dist/cjs/packages/noticebar/style-jmapp/style.css +4 -0
- package/dist/cjs/packages/noticebar/style-jrkf/noticebar.scss +4 -0
- package/dist/cjs/packages/noticebar/style-jrkf/style.css +4 -0
- package/dist/cjs/packages/notify/notify.js +4 -4
- package/dist/cjs/packages/numberkeyboard/style/style.css +3 -3
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +5 -5
- package/dist/cjs/packages/nutui.react.build.js +105 -105
- package/dist/cjs/packages/nutui.react.js +105 -105
- package/dist/cjs/packages/overlay/overlay.js +3 -3
- package/dist/cjs/packages/picker/style/style.css +2 -2
- package/dist/cjs/packages/picker/style/style.harmony.css +4 -4
- package/dist/cjs/packages/pickerview/pickerroller.js +4 -7
- package/dist/cjs/packages/pickerview/pickerview.js +1 -2
- package/dist/cjs/packages/pickerview/utils.js +3 -3
- package/dist/cjs/packages/popover/popover.js +75 -77
- package/dist/cjs/packages/popover/style/style.harmony.css +2 -2
- package/dist/cjs/packages/popup/popup.js +8 -14
- package/dist/cjs/packages/popup/style/style.css +2 -2
- package/dist/cjs/packages/popup/style/style.harmony.css +2 -2
- package/dist/cjs/packages/price/style/price.scss +3 -3
- package/dist/cjs/packages/price/style/style.css +4 -4
- package/dist/cjs/packages/price/style/style.harmony.css +4 -4
- package/dist/cjs/packages/price/style-jmapp/price.scss +3 -3
- package/dist/cjs/packages/price/style-jmapp/style.css +3 -3
- package/dist/cjs/packages/price/style-jrkf/price.scss +3 -3
- package/dist/cjs/packages/price/style-jrkf/style.css +3 -3
- package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/cjs/packages/radio/index.js +0 -2
- package/dist/cjs/packages/radio/style/style.css +1 -1
- package/dist/cjs/packages/radio/style/style.harmony.css +1 -1
- package/dist/cjs/packages/range/range.js +16 -28
- package/dist/cjs/packages/rate/style/rate.scss +1 -1
- package/dist/cjs/packages/rate/style/style.css +1 -1
- package/dist/cjs/packages/rate/style/style.harmony.css +1 -1
- package/dist/cjs/packages/rate/style-jmapp/rate.scss +1 -1
- package/dist/cjs/packages/rate/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/rate/style-jrkf/rate.scss +1 -1
- package/dist/cjs/packages/rate/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/resultpage/style/style.harmony.css +8 -5
- package/dist/cjs/packages/shortpassword/shortpassword.js +3 -3
- package/dist/cjs/packages/shortpassword/style/style.css +1 -1
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +3 -3
- package/dist/cjs/packages/sidebar/style/style.css +1 -1
- package/dist/cjs/packages/sidebar/style/style.harmony.css +1 -1
- package/dist/cjs/packages/steps/style/style.css +1 -1
- package/dist/cjs/packages/steps/style/style.harmony.css +1 -1
- package/dist/cjs/packages/sticky/sticky.js +4 -7
- package/dist/cjs/packages/swipe/swipe.js +8 -15
- package/dist/cjs/packages/swiper/index.js +0 -1
- package/dist/cjs/packages/switch/switch.js +4 -7
- package/dist/cjs/packages/tabbar/style/style.harmony.css +3 -3
- package/dist/cjs/packages/tabbaritem/style/style.css +2 -2
- package/dist/cjs/packages/tabbaritem/style/style.harmony.css +3 -3
- package/dist/cjs/packages/tabs/style/style.css +5 -1
- package/dist/cjs/packages/tabs/style/style.harmony.css +5 -1
- package/dist/cjs/packages/tabs/style/tabs.scss +4 -0
- package/dist/cjs/packages/tabs/style-jmapp/style.css +4 -0
- package/dist/cjs/packages/tabs/style-jmapp/tabs.scss +4 -0
- package/dist/cjs/packages/tabs/style-jrkf/style.css +4 -0
- package/dist/cjs/packages/tabs/style-jrkf/tabs.scss +4 -0
- package/dist/cjs/packages/timeselect/style/style.harmony.css +2 -2
- package/dist/cjs/packages/toast/style/style.css +7 -1
- package/dist/cjs/packages/toast/style/style.harmony.css +7 -1
- package/dist/cjs/packages/toast/style/toast.scss +6 -0
- package/dist/cjs/packages/toast/style-jmapp/style.css +6 -0
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +6 -0
- package/dist/cjs/packages/toast/style-jrkf/style.css +6 -0
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +6 -0
- package/dist/cjs/packages/toast/toast.js +5 -5
- package/dist/cjs/packages/tour/style/style.harmony.css +2 -2
- package/dist/cjs/packages/uploader/uploader.js +38 -51
- package/dist/cjs/packages/virtuallist/utils.js +6 -6
- package/dist/cjs/packages/watermark/watermark.js +4 -8
- package/dist/cjs/types/spec/address/base.js +0 -2
- package/dist/cjs/utils/date.js +5 -5
- package/dist/cjs/utils/event-mocker.js +10 -18
- package/dist/cjs/utils/get-rect.js +4 -4
- package/dist/cjs/utils/get-scroll-parent.js +3 -3
- package/dist/cjs/utils/merge-props.js +3 -3
- package/dist/cjs/utils/merge.js +6 -6
- package/dist/cjs/utils/raf.js +3 -3
- package/dist/cjs/utils/render.js +5 -9
- package/dist/cjs/utils/rubberband.js +3 -3
- package/dist/cjs/utils/taro/get-rect.js +14 -24
- package/dist/cjs/utils/taro/get-system-info.js +4 -4
- package/dist/cjs/utils/taro/platform.js +5 -5
- package/dist/es/hooks/use-touch.js +1 -1
- package/dist/es/packages/actionsheet/style/style.harmony.css +2 -2
- package/dist/es/packages/address/style/style.harmony.css +9 -3
- package/dist/es/packages/audio/style/style.harmony.css +8 -5
- package/dist/es/packages/avatarcropper/avatarcropper.js +16 -28
- package/dist/es/packages/badge/badge.js +4 -7
- package/dist/es/packages/badge/style/badge.scss +1 -1
- package/dist/es/packages/badge/style/style.css +1 -1
- package/dist/es/packages/badge/style/style.harmony.css +1 -1
- package/dist/es/packages/badge/style-jmapp/badge.scss +1 -1
- package/dist/es/packages/badge/style-jmapp/style.css +1 -1
- package/dist/es/packages/badge/style-jrkf/badge.scss +1 -1
- package/dist/es/packages/badge/style-jrkf/style.css +1 -1
- package/dist/es/packages/barrage/barrage.js +14 -24
- package/dist/es/packages/button/style/button.scss +3 -0
- package/dist/es/packages/button/style/style.css +8 -5
- package/dist/es/packages/button/style/style.harmony.css +8 -5
- package/dist/es/packages/button/style-jmapp/button.scss +3 -0
- package/dist/es/packages/button/style-jmapp/style.css +3 -0
- package/dist/es/packages/button/style-jrkf/button.scss +3 -0
- package/dist/es/packages/button/style-jrkf/style.css +3 -0
- package/dist/es/packages/calendar/style/style.css +2 -2
- package/dist/es/packages/calendar/style/style.harmony.css +4 -4
- package/dist/es/packages/calendarcard/style/style.css +1 -1
- package/dist/es/packages/calendarcard/style/style.harmony.css +1 -1
- package/dist/es/packages/card/style/style.harmony.css +4 -4
- package/dist/es/packages/cascader/cascader.js +12 -21
- package/dist/es/packages/cascader/style/cascader.scss +2 -0
- package/dist/es/packages/cascader/style/style.css +2 -0
- package/dist/es/packages/cascader/style/style.harmony.css +9 -3
- package/dist/es/packages/cascader/style-jmapp/cascader.scss +2 -0
- package/dist/es/packages/cascader/style-jmapp/style.css +2 -0
- package/dist/es/packages/cascader/style-jrkf/cascader.scss +2 -0
- package/dist/es/packages/cascader/style-jrkf/style.css +2 -0
- package/dist/es/packages/checkbox/checkbox.js +1 -1
- package/dist/es/packages/checkbox/style/style.css +1 -1
- package/dist/es/packages/checkbox/style/style.harmony.css +1 -1
- package/dist/es/packages/circleprogress/style/style.css +1 -1
- package/dist/es/packages/circleprogress/style/style.harmony.css +1 -1
- package/dist/es/packages/col/col.js +17 -12
- package/dist/es/packages/collapseitem/collapseitem.js +4 -7
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/countdown/countdown.js +1 -2
- package/dist/es/packages/countdown/style/countdown.scss +1 -1
- package/dist/es/packages/countdown/style/style.css +1 -1
- package/dist/es/packages/countdown/style/style.harmony.css +1 -1
- package/dist/es/packages/countdown/style-jmapp/countdown.scss +1 -1
- package/dist/es/packages/countdown/style-jmapp/style.css +1 -1
- package/dist/es/packages/countdown/style-jrkf/countdown.scss +1 -1
- package/dist/es/packages/countdown/style-jrkf/style.css +1 -1
- package/dist/es/packages/datepicker/style/style.harmony.css +4 -4
- package/dist/es/packages/dialog/dialog.js +4 -7
- package/dist/es/packages/dialog/style/dialog.scss +8 -2
- package/dist/es/packages/dialog/style/style.css +11 -5
- package/dist/es/packages/dialog/style/style.harmony.css +19 -10
- package/dist/es/packages/dialog/style-jmapp/dialog.scss +8 -2
- package/dist/es/packages/dialog/style-jmapp/style.css +8 -2
- package/dist/es/packages/dialog/style-jrkf/dialog.scss +8 -2
- package/dist/es/packages/dialog/style-jrkf/style.css +8 -2
- package/dist/es/packages/drag/drag.js +4 -7
- package/dist/es/packages/elevator/elevator.js +4 -7
- package/dist/es/packages/ellipsis/ellipsis.js +17 -30
- package/dist/es/packages/empty/style/style.css +2 -2
- package/dist/es/packages/empty/style/style.harmony.css +10 -7
- package/dist/es/packages/fixednav/style/style.harmony.css +1 -1
- package/dist/es/packages/form/index.js +0 -1
- package/dist/es/packages/form/useform.js +46 -53
- package/dist/es/packages/imagepreview/style/style.harmony.css +2 -2
- package/dist/es/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/es/packages/input/style/input.scss +0 -1
- package/dist/es/packages/input/style/style.css +0 -1
- package/dist/es/packages/input/style/style.harmony.css +0 -1
- package/dist/es/packages/input/style-jmapp/input.scss +0 -1
- package/dist/es/packages/input/style-jmapp/style.css +0 -1
- package/dist/es/packages/input/style-jrkf/input.scss +0 -1
- package/dist/es/packages/input/style-jrkf/style.css +0 -1
- package/dist/es/packages/inputnumber/inputnumber.js +16 -28
- package/dist/es/packages/lottie/types.js +1 -1
- package/dist/es/packages/menuitem/menuitem.js +24 -22
- package/dist/es/packages/noticebar/noticebar.js +151 -145
- package/dist/es/packages/noticebar/style/noticebar.scss +4 -0
- package/dist/es/packages/noticebar/style/style.css +4 -0
- package/dist/es/packages/noticebar/style/style.harmony.css +4 -0
- package/dist/es/packages/noticebar/style-jmapp/noticebar.scss +4 -0
- package/dist/es/packages/noticebar/style-jmapp/style.css +4 -0
- package/dist/es/packages/noticebar/style-jrkf/noticebar.scss +4 -0
- package/dist/es/packages/noticebar/style-jrkf/style.css +4 -0
- package/dist/es/packages/numberkeyboard/style/style.css +3 -3
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +5 -5
- package/dist/es/packages/picker/style/style.css +2 -2
- package/dist/es/packages/picker/style/style.harmony.css +4 -4
- package/dist/es/packages/pickerview/pickerroller.js +4 -7
- package/dist/es/packages/pickerview/pickerview.js +1 -2
- package/dist/es/packages/popover/popover.js +75 -77
- package/dist/es/packages/popover/style/style.harmony.css +2 -2
- package/dist/es/packages/popup/popup.js +8 -14
- package/dist/es/packages/popup/style/style.css +2 -2
- package/dist/es/packages/popup/style/style.harmony.css +2 -2
- package/dist/es/packages/price/style/price.scss +3 -3
- package/dist/es/packages/price/style/style.css +4 -4
- package/dist/es/packages/price/style/style.harmony.css +4 -4
- package/dist/es/packages/price/style-jmapp/price.scss +3 -3
- package/dist/es/packages/price/style-jmapp/style.css +3 -3
- package/dist/es/packages/price/style-jrkf/price.scss +3 -3
- package/dist/es/packages/price/style-jrkf/style.css +3 -3
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/es/packages/radio/index.js +0 -1
- package/dist/es/packages/radio/style/style.css +1 -1
- package/dist/es/packages/radio/style/style.harmony.css +1 -1
- package/dist/es/packages/range/range.js +16 -28
- package/dist/es/packages/rate/style/rate.scss +1 -1
- package/dist/es/packages/rate/style/style.css +1 -1
- package/dist/es/packages/rate/style/style.harmony.css +1 -1
- package/dist/es/packages/rate/style-jmapp/rate.scss +1 -1
- package/dist/es/packages/rate/style-jmapp/style.css +1 -1
- package/dist/es/packages/rate/style-jrkf/rate.scss +1 -1
- package/dist/es/packages/rate/style-jrkf/style.css +1 -1
- package/dist/es/packages/resultpage/style/style.harmony.css +8 -5
- package/dist/es/packages/shortpassword/style/style.css +1 -1
- package/dist/es/packages/shortpassword/style/style.harmony.css +3 -3
- package/dist/es/packages/sidebar/style/style.css +1 -1
- package/dist/es/packages/sidebar/style/style.harmony.css +1 -1
- package/dist/es/packages/steps/style/style.css +1 -1
- package/dist/es/packages/steps/style/style.harmony.css +1 -1
- package/dist/es/packages/sticky/sticky.js +4 -7
- package/dist/es/packages/swipe/swipe.js +8 -15
- package/dist/es/packages/swiper/index.js +0 -1
- package/dist/es/packages/switch/switch.js +4 -7
- package/dist/es/packages/tabbar/style/style.harmony.css +3 -3
- package/dist/es/packages/tabbaritem/style/style.css +2 -2
- package/dist/es/packages/tabbaritem/style/style.harmony.css +3 -3
- package/dist/es/packages/tabs/style/style.css +5 -1
- package/dist/es/packages/tabs/style/style.harmony.css +5 -1
- package/dist/es/packages/tabs/style/tabs.scss +4 -0
- package/dist/es/packages/tabs/style-jmapp/style.css +4 -0
- package/dist/es/packages/tabs/style-jmapp/tabs.scss +4 -0
- package/dist/es/packages/tabs/style-jrkf/style.css +4 -0
- package/dist/es/packages/tabs/style-jrkf/tabs.scss +4 -0
- package/dist/es/packages/timeselect/style/style.harmony.css +2 -2
- package/dist/es/packages/toast/style/style.css +7 -1
- package/dist/es/packages/toast/style/style.harmony.css +7 -1
- package/dist/es/packages/toast/style/toast.scss +6 -0
- package/dist/es/packages/toast/style-jmapp/style.css +6 -0
- package/dist/es/packages/toast/style-jmapp/toast.scss +6 -0
- package/dist/es/packages/toast/style-jrkf/style.css +6 -0
- package/dist/es/packages/toast/style-jrkf/toast.scss +6 -0
- package/dist/es/packages/toast/toast.js +1 -1
- package/dist/es/packages/tour/style/style.harmony.css +2 -2
- package/dist/es/packages/uploader/uploader.js +38 -51
- package/dist/es/packages/watermark/watermark.js +4 -8
- package/dist/es/types/spec/address/base.js +1 -1
- package/dist/es/utils/event-mocker.js +4 -12
- package/dist/es/utils/render.js +2 -6
- package/dist/es/utils/taro/get-rect.js +10 -20
- package/dist/nutui.react.umd.js +662 -871
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +35 -35
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +29 -29
- package/dist/style.css +1 -1
- package/dist/style.scss +29 -29
- package/dist/styles/jd-font.scss +4 -4
- package/dist/styles/theme-default.scss +4 -1
- package/dist/styles/themes/dark.css +1 -1
- package/dist/styles/themes/default.css +1 -1
- package/dist/styles/variables-jmapp.scss +9 -0
- package/dist/styles/variables-jrkf.scss +9 -0
- package/dist/styles/variables.scss +20 -10
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
font-weight: var(--nutui-countdown-font-weight, 400);
|
|
19
19
|
font-size: var(--nutui-countdown-font-size, 14px);
|
|
20
20
|
line-height: calc(var(--nutui-countdown-font-size, 14px) + 2px);
|
|
21
|
-
font-family: "
|
|
21
|
+
font-family: "JDZH-Regular";
|
|
22
22
|
}
|
|
23
23
|
.nut-countdown-number, .nut-countdown-number-primary {
|
|
24
24
|
position: relative;
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
.nut-popup-title-title {
|
|
84
84
|
color: var(--nutui-color-title, #1a1a1a);
|
|
85
85
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
86
|
-
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-
|
|
87
|
-
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-
|
|
86
|
+
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
87
|
+
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
88
88
|
}
|
|
89
89
|
.nut-popup-title-description {
|
|
90
90
|
color: var(--nutui-color-text, #505259);
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
height: var(--nutui-popup-title-height, 50px);
|
|
465
465
|
padding: var(--nutui-popup-title-padding, 16px);
|
|
466
466
|
box-sizing: border-box;
|
|
467
|
-
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-
|
|
467
|
+
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
468
468
|
}
|
|
469
469
|
.nut-picker-cancel-btn {
|
|
470
470
|
color: var(--nutui-picker-title-cancel-color, var(--nutui-color-text, #505259));
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
white-space: nowrap;
|
|
482
482
|
text-align: center;
|
|
483
483
|
color: var(--nutui-color-title, #1a1a1a);
|
|
484
|
-
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-
|
|
484
|
+
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
485
485
|
font-weight: var(--nutui-popup-title-font-weight, var(--nutui-font-weight-bold, 600));
|
|
486
486
|
}
|
|
487
487
|
.nut-picker-panel {
|
|
@@ -66,8 +66,8 @@ export var BaseDialog = function(props) {
|
|
|
66
66
|
if (!(beforeCancel === null || beforeCancel === void 0 ? void 0 : beforeCancel())) return;
|
|
67
67
|
onCancel();
|
|
68
68
|
};
|
|
69
|
-
var handleOk =
|
|
70
|
-
|
|
69
|
+
var handleOk = function(e) {
|
|
70
|
+
return _async_to_generator(function() {
|
|
71
71
|
var e1;
|
|
72
72
|
return _ts_generator(this, function(_state) {
|
|
73
73
|
switch(_state.label){
|
|
@@ -107,11 +107,8 @@ export var BaseDialog = function(props) {
|
|
|
107
107
|
];
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
});
|
|
111
|
-
|
|
112
|
-
return _ref.apply(this, arguments);
|
|
113
|
-
};
|
|
114
|
-
}();
|
|
110
|
+
})();
|
|
111
|
+
};
|
|
115
112
|
var btnClass = hideCancelButton || hideConfirmButton ? "".concat(classPrefix, "-footer-block") : '';
|
|
116
113
|
var renderCancelOfVertical = function() {
|
|
117
114
|
return !hideCancelButton && /*#__PURE__*/ React.createElement(View, {
|
|
@@ -17,9 +17,11 @@
|
|
|
17
17
|
position: fixed;
|
|
18
18
|
max-height: 100%;
|
|
19
19
|
background-color: $dialog-background;
|
|
20
|
+
/* #ifndef dynamic*/
|
|
20
21
|
transition:
|
|
21
22
|
transform 0.2s,
|
|
22
23
|
-webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -81,6 +83,7 @@
|
|
|
81
83
|
font-size: $dialog-header-font-size;
|
|
82
84
|
font-weight: $dialog-header-font-weight;
|
|
83
85
|
color: $color-title;
|
|
86
|
+
margin-bottom: $dialog-title-margin-bottom;
|
|
84
87
|
@include oneline-ellipsis();
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -123,12 +126,15 @@
|
|
|
123
126
|
|
|
124
127
|
.nut-button {
|
|
125
128
|
min-width: $dialog-footer-button-min-width;
|
|
129
|
+
border-radius: $dialog-footer-button-border;
|
|
130
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
&-cancel.nut-dialog-footer-cancel {
|
|
129
134
|
margin-right: $dialog-footer-cancel-margin-right;
|
|
130
135
|
background: $dialog-footer-cancel-bg;
|
|
131
136
|
color: $button-default-color;
|
|
137
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
132
138
|
.nut-button-children {
|
|
133
139
|
color: $button-default-color;
|
|
134
140
|
}
|
|
@@ -136,9 +142,9 @@
|
|
|
136
142
|
|
|
137
143
|
&-ok {
|
|
138
144
|
max-width: $dialog-footer-ok-max-width;
|
|
139
|
-
font-weight: $font-weight-
|
|
145
|
+
font-weight: $font-weight-medium;
|
|
140
146
|
.nut-button-children {
|
|
141
|
-
font-weight: $font-weight-
|
|
147
|
+
font-weight: $font-weight-medium;
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
position: fixed;
|
|
20
20
|
max-height: 100%;
|
|
21
21
|
background-color: var(--nutui-dialog-background, var(--nutui-color-background-overlay, #ffffff));
|
|
22
|
+
/* #ifndef dynamic*/
|
|
22
23
|
transition: transform 0.2s, -webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -72,9 +74,10 @@
|
|
|
72
74
|
.nut-dialog-header {
|
|
73
75
|
display: block;
|
|
74
76
|
text-align: center;
|
|
75
|
-
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-size-
|
|
77
|
+
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-size-xl, 18px));
|
|
76
78
|
font-weight: var(--nutui-dialog-header-font-weight, var(--nutui-font-weight-bold, 600));
|
|
77
79
|
color: var(--nutui-color-title, #1a1a1a);
|
|
80
|
+
margin-bottom: var(--nutui-dialog-title-margin-bottom, 8px);
|
|
78
81
|
width: 100%;
|
|
79
82
|
overflow: hidden;
|
|
80
83
|
text-overflow: ellipsis;
|
|
@@ -82,7 +85,7 @@
|
|
|
82
85
|
}
|
|
83
86
|
.nut-dialog-content {
|
|
84
87
|
width: 100%;
|
|
85
|
-
margin: var(--nutui-dialog-content-margin,
|
|
88
|
+
margin: var(--nutui-dialog-content-margin, 0 0 20px 0);
|
|
86
89
|
max-height: var(--nutui-dialog-content-max-height, 268px);
|
|
87
90
|
line-height: var(--nutui-dialog-content-line-height, 20px);
|
|
88
91
|
font-size: var(--nutui-font-size-base, 14px);
|
|
@@ -115,21 +118,24 @@
|
|
|
115
118
|
}
|
|
116
119
|
.nut-dialog-footer .nut-button {
|
|
117
120
|
min-width: var(--nutui-dialog-footer-button-min-width, 117px);
|
|
121
|
+
border-radius: var(--nutui-dialog-footer-button-border, 6px);
|
|
122
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
118
123
|
}
|
|
119
124
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel {
|
|
120
125
|
margin-right: var(--nutui-dialog-footer-cancel-margin-right, 12px);
|
|
121
|
-
background: var(--nutui-dialog-footer-cancel-bg, var(--nutui-
|
|
126
|
+
background: var(--nutui-dialog-footer-cancel-bg, var(--nutui-color-background-sunken, #f7f8fc));
|
|
122
127
|
color: var(--nutui-button-default-color, var(--nutui-color-title, #1a1a1a));
|
|
128
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
123
129
|
}
|
|
124
130
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel .nut-button-children {
|
|
125
131
|
color: var(--nutui-button-default-color, var(--nutui-color-title, #1a1a1a));
|
|
126
132
|
}
|
|
127
133
|
.nut-dialog-footer-ok {
|
|
128
134
|
max-width: var(--nutui-dialog-footer-ok-max-width, 128px);
|
|
129
|
-
font-weight: var(--nutui-font-weight-
|
|
135
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
130
136
|
}
|
|
131
137
|
.nut-dialog-footer-ok .nut-button-children {
|
|
132
|
-
font-weight: var(--nutui-font-weight-
|
|
138
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
133
139
|
}
|
|
134
140
|
.nut-dialog-footer-block.nut-button {
|
|
135
141
|
min-width: 100%;
|
|
@@ -57,6 +57,9 @@
|
|
|
57
57
|
transform: translate(-50%, -50%);
|
|
58
58
|
opacity: 0;
|
|
59
59
|
content: " ";
|
|
60
|
+
/* #ifdef dynamic*/
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
/* #endif */
|
|
60
63
|
}
|
|
61
64
|
.nut-button::after {
|
|
62
65
|
border: none;
|
|
@@ -138,7 +141,7 @@
|
|
|
138
141
|
.nut-button-large {
|
|
139
142
|
height: var(--nutui-button-large-height, 40px);
|
|
140
143
|
padding: var(--nutui-button-large-padding, 0px 16px);
|
|
141
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
144
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
142
145
|
border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
|
|
143
146
|
}
|
|
144
147
|
.nut-button-large .nut-button-text {
|
|
@@ -148,12 +151,12 @@
|
|
|
148
151
|
margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
149
152
|
}
|
|
150
153
|
.nut-button-large .nut-icon {
|
|
151
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
152
|
-
width: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
153
|
-
height: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
154
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
155
|
+
width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
156
|
+
height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
154
157
|
}
|
|
155
158
|
.nut-button-large-children {
|
|
156
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
159
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
157
160
|
}
|
|
158
161
|
.nut-button-small {
|
|
159
162
|
height: var(--nutui-button-small-height, 28px);
|
|
@@ -450,7 +453,9 @@
|
|
|
450
453
|
position: fixed;
|
|
451
454
|
max-height: 100%;
|
|
452
455
|
background-color: var(--nutui-dialog-background, var(--nutui-color-background-overlay, #ffffff));
|
|
456
|
+
/* #ifndef dynamic*/
|
|
453
457
|
transition: transform 0.2s, -webkit-transform 0.2s;
|
|
458
|
+
/* #endif */
|
|
454
459
|
-webkit-overflow-scrolling: touch;
|
|
455
460
|
top: 50%;
|
|
456
461
|
left: 50%;
|
|
@@ -503,9 +508,10 @@
|
|
|
503
508
|
.nut-dialog-header {
|
|
504
509
|
display: block;
|
|
505
510
|
text-align: center;
|
|
506
|
-
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-size-
|
|
511
|
+
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-size-xl, 18px));
|
|
507
512
|
font-weight: var(--nutui-dialog-header-font-weight, var(--nutui-font-weight-bold, 600));
|
|
508
513
|
color: var(--nutui-color-title, #1a1a1a);
|
|
514
|
+
margin-bottom: var(--nutui-dialog-title-margin-bottom, 8px);
|
|
509
515
|
width: 100%;
|
|
510
516
|
overflow: hidden;
|
|
511
517
|
text-overflow: ellipsis;
|
|
@@ -513,7 +519,7 @@
|
|
|
513
519
|
}
|
|
514
520
|
.nut-dialog-content {
|
|
515
521
|
width: 100%;
|
|
516
|
-
margin: var(--nutui-dialog-content-margin,
|
|
522
|
+
margin: var(--nutui-dialog-content-margin, 0 0 20px 0);
|
|
517
523
|
max-height: var(--nutui-dialog-content-max-height, 268px);
|
|
518
524
|
line-height: var(--nutui-dialog-content-line-height, 20px);
|
|
519
525
|
font-size: var(--nutui-font-size-base, 14px);
|
|
@@ -546,21 +552,24 @@
|
|
|
546
552
|
}
|
|
547
553
|
.nut-dialog-footer .nut-button {
|
|
548
554
|
min-width: var(--nutui-dialog-footer-button-min-width, 117px);
|
|
555
|
+
border-radius: var(--nutui-dialog-footer-button-border, 6px);
|
|
556
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
549
557
|
}
|
|
550
558
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel {
|
|
551
559
|
margin-right: var(--nutui-dialog-footer-cancel-margin-right, 12px);
|
|
552
|
-
background: var(--nutui-dialog-footer-cancel-bg, var(--nutui-
|
|
560
|
+
background: var(--nutui-dialog-footer-cancel-bg, var(--nutui-color-background-sunken, #f7f8fc));
|
|
553
561
|
color: var(--nutui-button-default-color, var(--nutui-color-title, #1a1a1a));
|
|
562
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
554
563
|
}
|
|
555
564
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel .nut-button-children {
|
|
556
565
|
color: var(--nutui-button-default-color, var(--nutui-color-title, #1a1a1a));
|
|
557
566
|
}
|
|
558
567
|
.nut-dialog-footer-ok {
|
|
559
568
|
max-width: var(--nutui-dialog-footer-ok-max-width, 128px);
|
|
560
|
-
font-weight: var(--nutui-font-weight-
|
|
569
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
561
570
|
}
|
|
562
571
|
.nut-dialog-footer-ok .nut-button-children {
|
|
563
|
-
font-weight: var(--nutui-font-weight-
|
|
572
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
564
573
|
}
|
|
565
574
|
.nut-dialog-footer-block.nut-button {
|
|
566
575
|
min-width: 100%;
|
|
@@ -17,9 +17,11 @@
|
|
|
17
17
|
position: fixed;
|
|
18
18
|
max-height: 100%;
|
|
19
19
|
background-color: $dialog-background;
|
|
20
|
+
/* #ifndef dynamic*/
|
|
20
21
|
transition:
|
|
21
22
|
transform 0.2s,
|
|
22
23
|
-webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -81,6 +83,7 @@
|
|
|
81
83
|
font-size: $dialog-header-font-size;
|
|
82
84
|
font-weight: $dialog-header-font-weight;
|
|
83
85
|
color: $color-title;
|
|
86
|
+
margin-bottom: $dialog-title-margin-bottom;
|
|
84
87
|
@include oneline-ellipsis();
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -123,12 +126,15 @@
|
|
|
123
126
|
|
|
124
127
|
.nut-button {
|
|
125
128
|
min-width: $dialog-footer-button-min-width;
|
|
129
|
+
border-radius: $dialog-footer-button-border;
|
|
130
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
&-cancel.nut-dialog-footer-cancel {
|
|
129
134
|
margin-right: $dialog-footer-cancel-margin-right;
|
|
130
135
|
background: $dialog-footer-cancel-bg;
|
|
131
136
|
color: $button-default-color;
|
|
137
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
132
138
|
.nut-button-children {
|
|
133
139
|
color: $button-default-color;
|
|
134
140
|
}
|
|
@@ -136,9 +142,9 @@
|
|
|
136
142
|
|
|
137
143
|
&-ok {
|
|
138
144
|
max-width: $dialog-footer-ok-max-width;
|
|
139
|
-
font-weight: $font-weight-
|
|
145
|
+
font-weight: $font-weight-medium;
|
|
140
146
|
.nut-button-children {
|
|
141
|
-
font-weight: $font-weight-
|
|
147
|
+
font-weight: $font-weight-medium;
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
position: fixed;
|
|
20
20
|
max-height: 100%;
|
|
21
21
|
background-color: var(--nutui-dialog-background, var(--nutui-color-surface-2));
|
|
22
|
+
/* #ifndef dynamic*/
|
|
22
23
|
transition: transform 0.2s, -webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-text-large));
|
|
76
78
|
font-weight: var(--nutui-dialog-header-font-weight, normal);
|
|
77
79
|
color: var(--nutui-color-title);
|
|
80
|
+
margin-bottom: var(--nutui-dialog-title-margin-bottom, 8px);
|
|
78
81
|
width: 100%;
|
|
79
82
|
overflow: hidden;
|
|
80
83
|
text-overflow: ellipsis;
|
|
@@ -115,21 +118,24 @@
|
|
|
115
118
|
}
|
|
116
119
|
.nut-dialog-footer .nut-button {
|
|
117
120
|
min-width: var(--nutui-dialog-footer-button-min-width, 117px);
|
|
121
|
+
border-radius: var(--nutui-dialog-footer-button-border, 6px);
|
|
122
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
118
123
|
}
|
|
119
124
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel {
|
|
120
125
|
margin-right: var(--nutui-dialog-footer-cancel-margin-right, 12px);
|
|
121
126
|
background: var(--nutui-dialog-footer-cancel-bg, transparent);
|
|
122
127
|
color: var(--nutui-button-default-color, var(--nutui-color-text));
|
|
128
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
123
129
|
}
|
|
124
130
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel .nut-button-children {
|
|
125
131
|
color: var(--nutui-button-default-color, var(--nutui-color-text));
|
|
126
132
|
}
|
|
127
133
|
.nut-dialog-footer-ok {
|
|
128
134
|
max-width: var(--nutui-dialog-footer-ok-max-width, 128px);
|
|
129
|
-
font-weight: var(--nutui-font-weight-
|
|
135
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
130
136
|
}
|
|
131
137
|
.nut-dialog-footer-ok .nut-button-children {
|
|
132
|
-
font-weight: var(--nutui-font-weight-
|
|
138
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
133
139
|
}
|
|
134
140
|
.nut-dialog-footer-block.nut-button {
|
|
135
141
|
min-width: 100%;
|
|
@@ -17,9 +17,11 @@
|
|
|
17
17
|
position: fixed;
|
|
18
18
|
max-height: 100%;
|
|
19
19
|
background-color: $dialog-background;
|
|
20
|
+
/* #ifndef dynamic*/
|
|
20
21
|
transition:
|
|
21
22
|
transform 0.2s,
|
|
22
23
|
-webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -81,6 +83,7 @@
|
|
|
81
83
|
font-size: $dialog-header-font-size;
|
|
82
84
|
font-weight: $dialog-header-font-weight;
|
|
83
85
|
color: $color-title;
|
|
86
|
+
margin-bottom: $dialog-title-margin-bottom;
|
|
84
87
|
@include oneline-ellipsis();
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -123,12 +126,15 @@
|
|
|
123
126
|
|
|
124
127
|
.nut-button {
|
|
125
128
|
min-width: $dialog-footer-button-min-width;
|
|
129
|
+
border-radius: $dialog-footer-button-border;
|
|
130
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
126
131
|
}
|
|
127
132
|
|
|
128
133
|
&-cancel.nut-dialog-footer-cancel {
|
|
129
134
|
margin-right: $dialog-footer-cancel-margin-right;
|
|
130
135
|
background: $dialog-footer-cancel-bg;
|
|
131
136
|
color: $button-default-color;
|
|
137
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
132
138
|
.nut-button-children {
|
|
133
139
|
color: $button-default-color;
|
|
134
140
|
}
|
|
@@ -136,9 +142,9 @@
|
|
|
136
142
|
|
|
137
143
|
&-ok {
|
|
138
144
|
max-width: $dialog-footer-ok-max-width;
|
|
139
|
-
font-weight: $font-weight-
|
|
145
|
+
font-weight: $font-weight-medium;
|
|
140
146
|
.nut-button-children {
|
|
141
|
-
font-weight: $font-weight-
|
|
147
|
+
font-weight: $font-weight-medium;
|
|
142
148
|
}
|
|
143
149
|
}
|
|
144
150
|
|
|
@@ -19,7 +19,9 @@
|
|
|
19
19
|
position: fixed;
|
|
20
20
|
max-height: 100%;
|
|
21
21
|
background-color: var(--nutui-dialog-background, var(--nutui-color-surface-2));
|
|
22
|
+
/* #ifndef dynamic*/
|
|
22
23
|
transition: transform 0.2s, -webkit-transform 0.2s;
|
|
24
|
+
/* #endif */
|
|
23
25
|
-webkit-overflow-scrolling: touch;
|
|
24
26
|
top: 50%;
|
|
25
27
|
left: 50%;
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
font-size: var(--nutui-dialog-header-font-size, var(--nutui-font-text-large));
|
|
76
78
|
font-weight: var(--nutui-dialog-header-font-weight, normal);
|
|
77
79
|
color: var(--nutui-color-title);
|
|
80
|
+
margin-bottom: var(--nutui-dialog-title-margin-bottom, 8px);
|
|
78
81
|
width: 100%;
|
|
79
82
|
overflow: hidden;
|
|
80
83
|
text-overflow: ellipsis;
|
|
@@ -115,21 +118,24 @@
|
|
|
115
118
|
}
|
|
116
119
|
.nut-dialog-footer .nut-button {
|
|
117
120
|
min-width: var(--nutui-dialog-footer-button-min-width, 117px);
|
|
121
|
+
border-radius: var(--nutui-dialog-footer-button-border, 6px);
|
|
122
|
+
padding: var(--nutui-button-large-padding, 0 12px);
|
|
118
123
|
}
|
|
119
124
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel {
|
|
120
125
|
margin-right: var(--nutui-dialog-footer-cancel-margin-right, 12px);
|
|
121
126
|
background: var(--nutui-dialog-footer-cancel-bg, var(--nutui-button-default-background-color, var(--nutui-color-default)));
|
|
122
127
|
color: var(--nutui-button-default-color, var(--nutui-color-text));
|
|
128
|
+
border-color: var(--nutui-button-default-border-color, transparent);
|
|
123
129
|
}
|
|
124
130
|
.nut-dialog-footer-cancel.nut-dialog-footer-cancel .nut-button-children {
|
|
125
131
|
color: var(--nutui-button-default-color, var(--nutui-color-text));
|
|
126
132
|
}
|
|
127
133
|
.nut-dialog-footer-ok {
|
|
128
134
|
max-width: var(--nutui-dialog-footer-ok-max-width, 128px);
|
|
129
|
-
font-weight: var(--nutui-font-weight-
|
|
135
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
130
136
|
}
|
|
131
137
|
.nut-dialog-footer-ok .nut-button-children {
|
|
132
|
-
font-weight: var(--nutui-font-weight-
|
|
138
|
+
font-weight: var(--nutui-font-weight-medium, 500);
|
|
133
139
|
}
|
|
134
140
|
.nut-dialog-footer-block.nut-button {
|
|
135
141
|
min-width: 100%;
|
|
@@ -39,8 +39,8 @@ export var Drag = function(props) {
|
|
|
39
39
|
var translateX = useRef(0);
|
|
40
40
|
var translateY = useRef(0);
|
|
41
41
|
var middleLine = useRef(0);
|
|
42
|
-
var getInfo =
|
|
43
|
-
|
|
42
|
+
var getInfo = function() {
|
|
43
|
+
return _async_to_generator(function() {
|
|
44
44
|
var el, top, left, bottom, right, _getWindowInfo, screenWidth, windowHeight, _ref, width, height, dragTop, dragLeft;
|
|
45
45
|
return _ts_generator(this, function(_state) {
|
|
46
46
|
switch(_state.label){
|
|
@@ -72,11 +72,8 @@ export var Drag = function(props) {
|
|
|
72
72
|
];
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
return _ref.apply(this, arguments);
|
|
78
|
-
};
|
|
79
|
-
}();
|
|
75
|
+
})();
|
|
76
|
+
};
|
|
80
77
|
var touchStart = function(e) {
|
|
81
78
|
onDragStart === null || onDragStart === void 0 ? void 0 : onDragStart();
|
|
82
79
|
var touches = e.touches[0];
|
|
@@ -93,8 +93,8 @@ export var Elevator = function(props) {
|
|
|
93
93
|
}
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
|
-
var scrollTo =
|
|
97
|
-
|
|
96
|
+
var scrollTo = function(index) {
|
|
97
|
+
return _async_to_generator(function() {
|
|
98
98
|
var cacheIndex, scrollTop;
|
|
99
99
|
return _ts_generator(this, function(_state) {
|
|
100
100
|
switch(_state.label){
|
|
@@ -134,11 +134,8 @@ export var Elevator = function(props) {
|
|
|
134
134
|
];
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
|
-
});
|
|
138
|
-
|
|
139
|
-
return _ref.apply(this, arguments);
|
|
140
|
-
};
|
|
141
|
-
}();
|
|
137
|
+
})();
|
|
138
|
+
};
|
|
142
139
|
var touchMove = function(e) {
|
|
143
140
|
var firstTouch = e.touches[0];
|
|
144
141
|
touchState.current.y2 = firstTouch.pageY;
|
|
@@ -90,8 +90,8 @@ export var Ellipsis = function(props) {
|
|
|
90
90
|
content
|
|
91
91
|
]);
|
|
92
92
|
// 获取省略号宽度
|
|
93
|
-
var getSymbolInfo =
|
|
94
|
-
|
|
93
|
+
var getSymbolInfo = function() {
|
|
94
|
+
return _async_to_generator(function() {
|
|
95
95
|
var refe;
|
|
96
96
|
return _ts_generator(this, function(_state) {
|
|
97
97
|
switch(_state.label){
|
|
@@ -108,19 +108,16 @@ export var Ellipsis = function(props) {
|
|
|
108
108
|
];
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
return _ref.apply(this, arguments);
|
|
114
|
-
};
|
|
115
|
-
}();
|
|
111
|
+
})();
|
|
112
|
+
};
|
|
116
113
|
var symbolText = function() {
|
|
117
114
|
if (direction === 'end' || direction === 'middle') {
|
|
118
115
|
return "".concat(symbol).concat(expandText);
|
|
119
116
|
}
|
|
120
117
|
return "".concat(symbol).concat(expandText).concat(symbol);
|
|
121
118
|
};
|
|
122
|
-
var getReference =
|
|
123
|
-
|
|
119
|
+
var getReference = function() {
|
|
120
|
+
return _async_to_generator(function() {
|
|
124
121
|
var query;
|
|
125
122
|
return _ts_generator(this, function(_state) {
|
|
126
123
|
query = createSelectorQuery();
|
|
@@ -157,14 +154,11 @@ export var Ellipsis = function(props) {
|
|
|
157
154
|
2
|
|
158
155
|
];
|
|
159
156
|
});
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
return _ref.apply(this, arguments);
|
|
163
|
-
};
|
|
164
|
-
}();
|
|
157
|
+
})();
|
|
158
|
+
};
|
|
165
159
|
// 计算省略号的位置
|
|
166
|
-
var calcEllipse =
|
|
167
|
-
|
|
160
|
+
var calcEllipse = function() {
|
|
161
|
+
return _async_to_generator(function() {
|
|
168
162
|
var refe, rowNum, end, end1, start;
|
|
169
163
|
return _ts_generator(this, function(_state) {
|
|
170
164
|
switch(_state.label){
|
|
@@ -179,8 +173,7 @@ export var Ellipsis = function(props) {
|
|
|
179
173
|
setExceeded(false);
|
|
180
174
|
setCacled(true);
|
|
181
175
|
} else {
|
|
182
|
-
rowNum = Math.floor(content.length / (originHeight.current / lineH.current - 1)) // 每行的字数
|
|
183
|
-
;
|
|
176
|
+
rowNum = Math.floor(content.length / (originHeight.current / lineH.current - 1)); // 每行的字数
|
|
184
177
|
if (direction === 'middle') {
|
|
185
178
|
end = content.length;
|
|
186
179
|
ellipsis.current.leading = tailorContent(0, rowNum * (Number(rows) + 0.5), 'end');
|
|
@@ -203,14 +196,11 @@ export var Ellipsis = function(props) {
|
|
|
203
196
|
];
|
|
204
197
|
}
|
|
205
198
|
});
|
|
206
|
-
});
|
|
207
|
-
|
|
208
|
-
return _ref.apply(this, arguments);
|
|
209
|
-
};
|
|
210
|
-
}();
|
|
199
|
+
})();
|
|
200
|
+
};
|
|
211
201
|
// 验证省略号
|
|
212
|
-
var verifyEllipsis =
|
|
213
|
-
|
|
202
|
+
var verifyEllipsis = function() {
|
|
203
|
+
return _async_to_generator(function() {
|
|
214
204
|
var refe, _ellipsis_current_leading, _ellipsis_current, _ellipsis_current_leading1, _ellipsis_current1, _ellipsis_current2, _ellipsis_current_tailing, _ellipsis_current3;
|
|
215
205
|
return _ts_generator(this, function(_state) {
|
|
216
206
|
switch(_state.label){
|
|
@@ -239,11 +229,8 @@ export var Ellipsis = function(props) {
|
|
|
239
229
|
];
|
|
240
230
|
}
|
|
241
231
|
});
|
|
242
|
-
});
|
|
243
|
-
|
|
244
|
-
return _ref.apply(this, arguments);
|
|
245
|
-
};
|
|
246
|
-
}();
|
|
232
|
+
})();
|
|
233
|
+
};
|
|
247
234
|
var assignContent = function() {
|
|
248
235
|
var _ellipsis_current, _ellipsis_current1, _ellipsis_current2, _ellipsis_current3;
|
|
249
236
|
var newContent = "".concat(((_ellipsis_current = ellipsis.current) === null || _ellipsis_current === void 0 ? void 0 : _ellipsis_current.leading) || '').concat(((_ellipsis_current1 = ellipsis.current) === null || _ellipsis_current1 === void 0 ? void 0 : _ellipsis_current1.leading) ? symbol : '').concat(expandText || '').concat(((_ellipsis_current2 = ellipsis.current) === null || _ellipsis_current2 === void 0 ? void 0 : _ellipsis_current2.tailing) ? symbol : '').concat(((_ellipsis_current3 = ellipsis.current) === null || _ellipsis_current3 === void 0 ? void 0 : _ellipsis_current3.tailing) || '');
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
36
36
|
margin-bottom: var(--nutui-empty-title-margin-bottom, 12px);
|
|
37
37
|
color: var(--nutui-color-title, #1a1a1a);
|
|
38
|
-
font-size: var(--nutui-font-size-l,
|
|
39
|
-
line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l,
|
|
38
|
+
font-size: var(--nutui-font-size-l, 15px);
|
|
39
|
+
line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l, 15px));
|
|
40
40
|
}
|
|
41
41
|
.nut-empty-description {
|
|
42
42
|
color: var(--nutui-color-text, #505259);
|
|
@@ -57,6 +57,9 @@
|
|
|
57
57
|
transform: translate(-50%, -50%);
|
|
58
58
|
opacity: 0;
|
|
59
59
|
content: " ";
|
|
60
|
+
/* #ifdef dynamic*/
|
|
61
|
+
pointer-events: none;
|
|
62
|
+
/* #endif */
|
|
60
63
|
}
|
|
61
64
|
.nut-button::after {
|
|
62
65
|
border: none;
|
|
@@ -138,7 +141,7 @@
|
|
|
138
141
|
.nut-button-large {
|
|
139
142
|
height: var(--nutui-button-large-height, 40px);
|
|
140
143
|
padding: var(--nutui-button-large-padding, 0px 16px);
|
|
141
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
144
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
142
145
|
border-radius: var(--nutui-button-large-border-radius, var(--nutui-radius-base, 8px));
|
|
143
146
|
}
|
|
144
147
|
.nut-button-large .nut-button-text {
|
|
@@ -148,12 +151,12 @@
|
|
|
148
151
|
margin-right: var(--nutui-button-xlarge-text-icon-margin, 6px);
|
|
149
152
|
}
|
|
150
153
|
.nut-button-large .nut-icon {
|
|
151
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
152
|
-
width: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
153
|
-
height: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
154
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
155
|
+
width: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
156
|
+
height: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
154
157
|
}
|
|
155
158
|
.nut-button-large-children {
|
|
156
|
-
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l,
|
|
159
|
+
font-size: var(--nutui-button-large-font-size, var(--nutui-font-size-l, 15px));
|
|
157
160
|
}
|
|
158
161
|
.nut-button-small {
|
|
159
162
|
height: var(--nutui-button-small-height, 28px);
|
|
@@ -412,8 +415,8 @@
|
|
|
412
415
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
413
416
|
margin-bottom: var(--nutui-empty-title-margin-bottom, 12px);
|
|
414
417
|
color: var(--nutui-color-title, #1a1a1a);
|
|
415
|
-
font-size: var(--nutui-font-size-l,
|
|
416
|
-
line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l,
|
|
418
|
+
font-size: var(--nutui-font-size-l, 15px);
|
|
419
|
+
line-height: var(--nutui-empty-title-line-height, var(--nutui-font-size-l, 15px));
|
|
417
420
|
}
|
|
418
421
|
.nut-empty-description {
|
|
419
422
|
color: var(--nutui-color-text, #505259);
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
background: var(--nutui-badge-background-disabled-color, var(--nutui-color-text-disabled, #c2c4cc));
|
|
111
111
|
}
|
|
112
112
|
.nut-badge-number {
|
|
113
|
-
font-family: "
|
|
113
|
+
font-family: "JDZH-Regular";
|
|
114
114
|
}
|
|
115
115
|
.nut-badge-one {
|
|
116
116
|
height: var(--nutui-badge-height, 14px);
|