@nutui/nutui-react-taro 3.0.20-beta.0 → 3.0.20-cpp
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -70
- 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/locales/base.d.ts +9 -0
- package/dist/cjs/locales/en-US.js +21 -2
- package/dist/cjs/locales/id-ID.js +21 -2
- package/dist/cjs/locales/ja-JP.js +19 -2
- package/dist/cjs/locales/tr-TR.js +21 -2
- package/dist/cjs/locales/zh-CN.js +19 -2
- package/dist/cjs/locales/zh-TW.js +19 -2
- package/dist/cjs/locales/zh-UG.js +21 -2
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +38 -17
- package/dist/cjs/packages/address/address.d.ts +1 -1
- package/dist/cjs/packages/address/style/style.harmony.css +38 -17
- package/dist/cjs/packages/address/utils.js +3 -3
- package/dist/cjs/packages/animatingnumbers/countup.js +3 -1
- package/dist/cjs/packages/audio/style/style.harmony.css +0 -3
- package/dist/cjs/packages/avatar/avatar.js +32 -6
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +18 -34
- package/dist/cjs/packages/badge/badge.js +20 -10
- package/dist/cjs/packages/barrage/barrage.js +14 -24
- package/dist/cjs/packages/button/button.d.ts +2 -24
- package/dist/cjs/packages/button/button.js +9 -12
- package/dist/cjs/packages/button/index.d.ts +0 -1
- package/dist/cjs/packages/button/style/button.scss +0 -3
- package/dist/cjs/packages/button/style/style.css +0 -3
- package/dist/cjs/packages/button/style/style.harmony.css +0 -3
- package/dist/cjs/packages/button/style-jmapp/button.scss +0 -3
- package/dist/cjs/packages/button/style-jmapp/style.css +0 -3
- package/dist/cjs/packages/button/style-jrkf/button.scss +0 -3
- package/dist/cjs/packages/button/style-jrkf/style.css +0 -3
- package/dist/cjs/packages/calendar/style/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style/style.css +21 -1
- package/dist/cjs/packages/calendar/style/style.harmony.css +59 -18
- package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style-jmapp/style.css +21 -1
- package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style-jrkf/style.css +21 -1
- package/dist/cjs/packages/calendar/utils.js +8 -8
- package/dist/cjs/packages/calendarcard/calendarcard.js +30 -8
- package/dist/cjs/packages/calendarcard/icon.js +17 -28
- package/dist/cjs/packages/calendarcard/style/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style/style.css +13 -0
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +13 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/style.css +13 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/style.css +13 -0
- package/dist/cjs/packages/calendarcard/utils.js +6 -6
- package/dist/cjs/packages/card/style/style.harmony.css +1 -1
- package/dist/cjs/packages/cascader/cascader.js +12 -21
- package/dist/cjs/packages/cascader/style/style.harmony.css +38 -17
- package/dist/cjs/packages/cascader/utils.js +3 -3
- 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/datepicker/style/style.harmony.css +39 -18
- 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 +26 -23
- package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style/style.css +1 -1
- package/dist/cjs/packages/dialog/style/style.harmony.css +1 -4
- package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/divider/divider.js +2 -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/empty.d.ts +4 -4
- package/dist/cjs/packages/empty/style/style.harmony.css +0 -3
- package/dist/cjs/packages/form/index.js +0 -2
- package/dist/cjs/packages/form/style/style.harmony.css +0 -5
- package/dist/cjs/packages/form/useform.js +50 -57
- package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style/style.css +0 -5
- package/dist/cjs/packages/formitem/style/style.harmony.css +0 -5
- package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jmapp/style.css +0 -5
- package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jrkf/style.css +0 -5
- package/dist/cjs/packages/image/image.js +11 -3
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +38 -17
- package/dist/cjs/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/cjs/packages/input/input.js +10 -3
- package/dist/cjs/packages/inputnumber/inputnumber.js +17 -29
- package/dist/cjs/packages/lottie/lottiemp.js +10 -18
- 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 +74 -70
- package/dist/cjs/packages/notify/notify.js +4 -4
- package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +39 -18
- package/dist/cjs/packages/nutui.react.build.d.ts +3 -1
- package/dist/cjs/packages/nutui.react.build.js +123 -119
- package/dist/cjs/packages/nutui.react.d.ts +4 -1
- package/dist/cjs/packages/nutui.react.js +124 -119
- package/dist/cjs/packages/nutui.react.scss.d.ts +1 -0
- package/dist/cjs/packages/nutui.react.scss.js +1 -0
- package/dist/cjs/packages/overlay/overlay.js +6 -6
- package/dist/cjs/packages/picker/style/style.css +1 -1
- package/dist/cjs/packages/picker/style/style.harmony.css +39 -18
- 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 +38 -17
- package/dist/cjs/packages/popup/popup.js +192 -113
- package/dist/cjs/packages/popup/style/popup.scss +22 -1
- package/dist/cjs/packages/popup/style/style.css +38 -17
- package/dist/cjs/packages/popup/style/style.harmony.css +38 -17
- package/dist/cjs/packages/popup/style-jmapp/popup.scss +22 -1
- package/dist/cjs/packages/popup/style-jmapp/style.css +22 -1
- package/dist/cjs/packages/popup/style-jrkf/popup.scss +22 -1
- package/dist/cjs/packages/popup/style-jrkf/style.css +22 -1
- package/dist/cjs/packages/price/price.js +52 -13
- package/dist/cjs/packages/progress/progress.js +2 -4
- package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/cjs/packages/quickenter/index.d.ts +3 -0
- package/dist/cjs/packages/quickenter/index.js +13 -0
- package/dist/cjs/packages/quickenter/quickenter.d.ts +4 -0
- package/dist/cjs/packages/quickenter/quickenter.js +153 -0
- package/dist/cjs/packages/quickenter/style/css.js +2 -0
- package/dist/cjs/packages/quickenter/style/index.js +2 -0
- package/dist/cjs/packages/quickenter/style/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style/style.css +106 -0
- package/dist/cjs/packages/quickenter/style/style.harmony.css +506 -0
- package/dist/cjs/packages/quickenter/style-jmapp/css.js +2 -0
- package/dist/cjs/packages/quickenter/style-jmapp/index.js +2 -0
- package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style-jmapp/style.css +106 -0
- package/dist/cjs/packages/quickenter/style-jrkf/css.js +2 -0
- package/dist/cjs/packages/quickenter/style-jrkf/index.js +2 -0
- package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style-jrkf/style.css +106 -0
- package/dist/cjs/packages/radio/index.js +0 -2
- package/dist/cjs/packages/range/range.js +44 -28
- package/dist/cjs/packages/rate/rate.js +5 -8
- package/dist/cjs/packages/resultpage/resultpage.js +2 -1
- package/dist/cjs/packages/resultpage/style/style.harmony.css +0 -3
- package/dist/cjs/packages/safearea/safearea.js +3 -12
- package/dist/cjs/packages/safearea/style/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style/style.css +0 -2
- package/dist/cjs/packages/safearea/style/style.harmony.css +0 -2
- package/dist/cjs/packages/safearea/style-jmapp/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style-jmapp/style.css +0 -2
- package/dist/cjs/packages/safearea/style-jrkf/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style-jrkf/style.css +0 -2
- package/dist/cjs/packages/searchbar/searchbar.js +23 -9
- package/dist/cjs/packages/shortpassword/shortpassword.js +3 -3
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +38 -17
- package/dist/cjs/packages/step/step.js +3 -8
- package/dist/cjs/packages/step/style/step.scss +0 -2
- package/dist/cjs/packages/step/style/style.css +0 -2
- package/dist/cjs/packages/step/style/style.harmony.css +0 -2
- package/dist/cjs/packages/step/style-jmapp/step.scss +0 -2
- package/dist/cjs/packages/step/style-jmapp/style.css +0 -2
- package/dist/cjs/packages/step/style-jrkf/step.scss +0 -2
- package/dist/cjs/packages/step/style-jrkf/style.css +0 -2
- package/dist/cjs/packages/steps/style/steps.scss +10 -3
- package/dist/cjs/packages/steps/style/style.css +13 -7
- package/dist/cjs/packages/steps/style/style.harmony.css +13 -9
- package/dist/cjs/packages/steps/style-jmapp/steps.scss +10 -3
- package/dist/cjs/packages/steps/style-jmapp/style.css +9 -3
- package/dist/cjs/packages/steps/style-jrkf/steps.scss +10 -3
- package/dist/cjs/packages/steps/style-jrkf/style.css +9 -3
- package/dist/cjs/packages/sticky/sticky.js +4 -7
- package/dist/cjs/packages/swipe/swipe.js +84 -122
- package/dist/cjs/packages/swiper/index.js +0 -1
- package/dist/cjs/packages/switch/switch.js +4 -7
- package/dist/cjs/packages/table/style/style.css +1 -1
- package/dist/cjs/packages/table/style/style.harmony.css +1 -1
- package/dist/cjs/packages/table/style/table.scss +1 -1
- package/dist/cjs/packages/table/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/table/style-jmapp/table.scss +1 -1
- package/dist/cjs/packages/table/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/table/style-jrkf/table.scss +1 -1
- package/dist/cjs/packages/tabs/tabs.js +12 -5
- package/dist/cjs/packages/tag/style/style.css +1 -1
- package/dist/cjs/packages/tag/style/style.harmony.css +1 -1
- package/dist/cjs/packages/tag/style/tag.scss +1 -1
- package/dist/cjs/packages/tag/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/tag/style-jmapp/tag.scss +1 -1
- package/dist/cjs/packages/tag/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/tag/style-jrkf/tag.scss +1 -1
- package/dist/cjs/packages/timeselect/style/style.harmony.css +38 -17
- package/dist/cjs/packages/toast/style/style.css +2 -4
- package/dist/cjs/packages/toast/style/style.harmony.css +2 -4
- package/dist/cjs/packages/toast/style/toast.scss +2 -4
- package/dist/cjs/packages/toast/style-jmapp/style.css +2 -4
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -4
- package/dist/cjs/packages/toast/style-jrkf/style.css +2 -4
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -4
- package/dist/cjs/packages/toast/toast.js +5 -5
- package/dist/cjs/packages/tour/style/style.harmony.css +38 -17
- 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/index.d.ts +3 -0
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/spec/address/base.js +0 -2
- package/dist/cjs/types/spec/button/base.d.ts +2 -1
- package/dist/cjs/types/spec/button/taro.d.ts +5 -1
- package/dist/cjs/types/spec/calendarcard/base.d.ts +2 -0
- package/dist/cjs/types/spec/dialog/base.d.ts +1 -0
- package/dist/cjs/types/spec/dialog/h5.d.ts +2 -0
- package/dist/cjs/types/spec/dialog/taro.d.ts +2 -0
- package/dist/cjs/types/spec/overlay/base.d.ts +1 -0
- package/dist/cjs/types/spec/popup/base.d.ts +2 -0
- package/dist/cjs/types/spec/price/base.d.ts +1 -0
- package/dist/cjs/types/spec/quickenter/base.d.ts +27 -0
- package/dist/cjs/types/spec/quickenter/base.js +4 -0
- package/dist/cjs/types/spec/quickenter/h5.d.ts +5 -0
- package/dist/cjs/types/spec/quickenter/h5.js +4 -0
- package/dist/cjs/types/spec/quickenter/taro.d.ts +5 -0
- package/dist/cjs/types/spec/quickenter/taro.js +4 -0
- 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/should-render-price-raw.d.ts +2 -0
- package/dist/cjs/utils/should-render-price-raw.js +46 -0
- package/dist/cjs/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
- package/dist/cjs/utils/taro/ConfigurableCSSTransition.js +90 -0
- package/dist/cjs/utils/taro/get-rect.js +18 -26
- package/dist/cjs/utils/taro/get-system-info.d.ts +0 -5
- package/dist/cjs/utils/taro/get-system-info.js +5 -10
- package/dist/cjs/utils/taro/platform.js +5 -5
- package/dist/es/hooks/taro/use-custom-event.js +1 -0
- package/dist/es/hooks/use-touch.js +1 -1
- package/dist/es/locales/base.d.ts +9 -0
- package/dist/es/locales/en-US.js +21 -2
- package/dist/es/locales/id-ID.js +21 -2
- package/dist/es/locales/ja-JP.js +19 -2
- package/dist/es/locales/tr-TR.js +21 -2
- package/dist/es/locales/zh-CN.js +19 -2
- package/dist/es/locales/zh-TW.js +19 -2
- package/dist/es/locales/zh-UG.js +21 -2
- package/dist/es/packages/actionsheet/style/style.harmony.css +38 -17
- package/dist/es/packages/address/address.d.ts +1 -1
- package/dist/es/packages/address/style/style.harmony.css +38 -17
- package/dist/es/packages/animatingnumbers/countup.js +3 -1
- package/dist/es/packages/audio/style/style.harmony.css +0 -3
- package/dist/es/packages/avatar/avatar.js +32 -6
- package/dist/es/packages/avatarcropper/avatarcropper.js +20 -36
- package/dist/es/packages/badge/badge.js +20 -10
- package/dist/es/packages/barrage/barrage.js +14 -24
- package/dist/es/packages/button/button.d.ts +2 -24
- package/dist/es/packages/button/button.js +10 -12
- package/dist/es/packages/button/index.d.ts +0 -1
- package/dist/es/packages/button/style/button.scss +0 -3
- package/dist/es/packages/button/style/style.css +0 -3
- package/dist/es/packages/button/style/style.harmony.css +0 -3
- package/dist/es/packages/button/style-jmapp/button.scss +0 -3
- package/dist/es/packages/button/style-jmapp/style.css +0 -3
- package/dist/es/packages/button/style-jrkf/button.scss +0 -3
- package/dist/es/packages/button/style-jrkf/style.css +0 -3
- package/dist/es/packages/calendar/style/calendar.scss +32 -1
- package/dist/es/packages/calendar/style/style.css +21 -1
- package/dist/es/packages/calendar/style/style.harmony.css +59 -18
- package/dist/es/packages/calendar/style-jmapp/calendar.scss +32 -1
- package/dist/es/packages/calendar/style-jmapp/style.css +21 -1
- package/dist/es/packages/calendar/style-jrkf/calendar.scss +32 -1
- package/dist/es/packages/calendar/style-jrkf/style.css +21 -1
- package/dist/es/packages/calendarcard/calendarcard.js +31 -9
- package/dist/es/packages/calendarcard/icon.js +13 -24
- package/dist/es/packages/calendarcard/style/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style/style.css +13 -0
- package/dist/es/packages/calendarcard/style/style.harmony.css +13 -0
- package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style-jmapp/style.css +13 -0
- package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style-jrkf/style.css +13 -0
- package/dist/es/packages/card/style/style.harmony.css +1 -1
- package/dist/es/packages/cascader/cascader.js +12 -21
- package/dist/es/packages/cascader/style/style.harmony.css +38 -17
- 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/datepicker/style/style.harmony.css +39 -18
- package/dist/es/packages/dialog/dialog.js +33 -28
- package/dist/es/packages/dialog/style/dialog.scss +1 -1
- package/dist/es/packages/dialog/style/style.css +1 -1
- package/dist/es/packages/dialog/style/style.harmony.css +1 -4
- package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/es/packages/divider/divider.js +1 -1
- 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/empty.d.ts +4 -4
- package/dist/es/packages/empty/style/style.harmony.css +0 -3
- package/dist/es/packages/form/index.js +0 -1
- package/dist/es/packages/form/style/style.harmony.css +0 -5
- package/dist/es/packages/form/useform.js +46 -53
- package/dist/es/packages/formitem/style/formitem.scss +4 -4
- package/dist/es/packages/formitem/style/style.css +0 -5
- package/dist/es/packages/formitem/style/style.harmony.css +0 -5
- package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jmapp/style.css +0 -5
- package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jrkf/style.css +0 -5
- package/dist/es/packages/image/image.js +11 -3
- package/dist/es/packages/imagepreview/style/style.harmony.css +38 -17
- package/dist/es/packages/infiniteloading/infiniteloading.js +8 -14
- package/dist/es/packages/input/input.js +10 -3
- package/dist/es/packages/inputnumber/inputnumber.js +17 -29
- package/dist/es/packages/lottie/lottiemp.js +12 -20
- 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 +74 -70
- package/dist/es/packages/numberkeyboard/style/style.css +1 -1
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +39 -18
- package/dist/es/packages/nutui.react.build.d.ts +3 -1
- package/dist/es/packages/nutui.react.build.js +3 -1
- package/dist/es/packages/overlay/overlay.js +3 -3
- package/dist/es/packages/picker/style/style.css +1 -1
- package/dist/es/packages/picker/style/style.harmony.css +39 -18
- 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 +38 -17
- package/dist/es/packages/popup/popup.js +193 -114
- package/dist/es/packages/popup/style/popup.scss +22 -1
- package/dist/es/packages/popup/style/style.css +38 -17
- package/dist/es/packages/popup/style/style.harmony.css +38 -17
- package/dist/es/packages/popup/style-jmapp/popup.scss +22 -1
- package/dist/es/packages/popup/style-jmapp/style.css +22 -1
- package/dist/es/packages/popup/style-jrkf/popup.scss +22 -1
- package/dist/es/packages/popup/style-jrkf/style.css +22 -1
- package/dist/es/packages/price/price.js +53 -14
- package/dist/es/packages/progress/progress.js +2 -4
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +52 -56
- package/dist/es/packages/quickenter/index.d.ts +3 -0
- package/dist/es/packages/quickenter/index.js +2 -0
- package/dist/es/packages/quickenter/quickenter.d.ts +4 -0
- package/dist/es/packages/quickenter/quickenter.js +141 -0
- package/dist/es/packages/quickenter/style/css.js +2 -0
- package/dist/es/packages/quickenter/style/index.js +2 -0
- package/dist/es/packages/quickenter/style/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style/style.css +106 -0
- package/dist/es/packages/quickenter/style/style.harmony.css +506 -0
- package/dist/es/packages/quickenter/style-jmapp/css.js +2 -0
- package/dist/es/packages/quickenter/style-jmapp/index.js +2 -0
- package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style-jmapp/style.css +106 -0
- package/dist/es/packages/quickenter/style-jrkf/css.js +2 -0
- package/dist/es/packages/quickenter/style-jrkf/index.js +2 -0
- package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style-jrkf/style.css +106 -0
- package/dist/es/packages/radio/index.js +0 -1
- package/dist/es/packages/range/range.js +45 -29
- package/dist/es/packages/rate/rate.js +6 -9
- package/dist/es/packages/resultpage/resultpage.js +2 -1
- package/dist/es/packages/resultpage/style/style.harmony.css +0 -3
- package/dist/es/packages/safearea/safearea.js +3 -12
- package/dist/es/packages/safearea/style/safearea.scss +0 -6
- package/dist/es/packages/safearea/style/style.css +0 -2
- package/dist/es/packages/safearea/style/style.harmony.css +0 -2
- package/dist/es/packages/safearea/style-jmapp/safearea.scss +0 -6
- package/dist/es/packages/safearea/style-jmapp/style.css +0 -2
- package/dist/es/packages/safearea/style-jrkf/safearea.scss +0 -6
- package/dist/es/packages/safearea/style-jrkf/style.css +0 -2
- package/dist/es/packages/searchbar/searchbar.js +23 -9
- package/dist/es/packages/shortpassword/style/style.harmony.css +38 -17
- package/dist/es/packages/step/step.js +3 -8
- package/dist/es/packages/step/style/step.scss +0 -2
- package/dist/es/packages/step/style/style.css +0 -2
- package/dist/es/packages/step/style/style.harmony.css +0 -2
- package/dist/es/packages/step/style-jmapp/step.scss +0 -2
- package/dist/es/packages/step/style-jmapp/style.css +0 -2
- package/dist/es/packages/step/style-jrkf/step.scss +0 -2
- package/dist/es/packages/step/style-jrkf/style.css +0 -2
- package/dist/es/packages/steps/style/steps.scss +10 -3
- package/dist/es/packages/steps/style/style.css +13 -7
- package/dist/es/packages/steps/style/style.harmony.css +13 -9
- package/dist/es/packages/steps/style-jmapp/steps.scss +10 -3
- package/dist/es/packages/steps/style-jmapp/style.css +9 -3
- package/dist/es/packages/steps/style-jrkf/steps.scss +10 -3
- package/dist/es/packages/steps/style-jrkf/style.css +9 -3
- package/dist/es/packages/sticky/sticky.js +4 -7
- package/dist/es/packages/swipe/swipe.js +85 -123
- package/dist/es/packages/swiper/index.js +0 -1
- package/dist/es/packages/switch/switch.js +4 -7
- package/dist/es/packages/table/style/style.css +1 -1
- package/dist/es/packages/table/style/style.harmony.css +1 -1
- package/dist/es/packages/table/style/table.scss +1 -1
- package/dist/es/packages/table/style-jmapp/style.css +1 -1
- package/dist/es/packages/table/style-jmapp/table.scss +1 -1
- package/dist/es/packages/table/style-jrkf/style.css +1 -1
- package/dist/es/packages/table/style-jrkf/table.scss +1 -1
- package/dist/es/packages/tabs/tabs.js +12 -5
- package/dist/es/packages/tag/style/style.css +1 -1
- package/dist/es/packages/tag/style/style.harmony.css +1 -1
- package/dist/es/packages/tag/style/tag.scss +1 -1
- package/dist/es/packages/tag/style-jmapp/style.css +1 -1
- package/dist/es/packages/tag/style-jmapp/tag.scss +1 -1
- package/dist/es/packages/tag/style-jrkf/style.css +1 -1
- package/dist/es/packages/tag/style-jrkf/tag.scss +1 -1
- package/dist/es/packages/timeselect/style/style.harmony.css +38 -17
- package/dist/es/packages/toast/style/style.css +2 -4
- package/dist/es/packages/toast/style/style.harmony.css +2 -4
- package/dist/es/packages/toast/style/toast.scss +2 -4
- package/dist/es/packages/toast/style-jmapp/style.css +2 -4
- package/dist/es/packages/toast/style-jmapp/toast.scss +2 -4
- package/dist/es/packages/toast/style-jrkf/style.css +2 -4
- package/dist/es/packages/toast/style-jrkf/toast.scss +2 -4
- package/dist/es/packages/toast/toast.js +1 -1
- package/dist/es/packages/tour/style/style.harmony.css +38 -17
- package/dist/es/packages/uploader/uploader.js +38 -51
- package/dist/es/packages/watermark/watermark.js +4 -8
- package/dist/es/types/index.d.ts +3 -0
- package/dist/es/types/index.js +3 -0
- package/dist/es/types/spec/address/base.js +1 -1
- package/dist/es/types/spec/button/base.d.ts +2 -1
- package/dist/es/types/spec/button/taro.d.ts +5 -1
- package/dist/es/types/spec/calendarcard/base.d.ts +2 -0
- package/dist/es/types/spec/dialog/base.d.ts +3 -8
- package/dist/es/types/spec/dialog/h5.d.ts +2 -0
- package/dist/es/types/spec/dialog/taro.d.ts +2 -0
- package/dist/es/types/spec/overlay/base.d.ts +1 -0
- package/dist/es/types/spec/popup/base.d.ts +4 -5
- package/dist/es/types/spec/price/base.d.ts +4 -0
- package/dist/es/types/spec/quickenter/base.d.ts +45 -0
- package/dist/es/types/spec/quickenter/base.js +1 -0
- package/dist/es/types/spec/quickenter/h5.d.ts +5 -0
- package/dist/es/types/spec/quickenter/h5.js +1 -0
- package/dist/es/types/spec/quickenter/taro.d.ts +5 -0
- package/dist/es/types/spec/quickenter/taro.js +1 -0
- package/dist/es/utils/event-mocker.js +4 -12
- package/dist/es/utils/render.js +2 -6
- package/dist/es/utils/should-render-price-raw.d.ts +2 -0
- package/dist/es/utils/should-render-price-raw.js +30 -0
- package/dist/es/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
- package/dist/es/utils/taro/ConfigurableCSSTransition.js +79 -0
- package/dist/es/utils/taro/get-rect.js +14 -22
- package/dist/es/utils/taro/get-system-info.d.ts +0 -5
- package/dist/es/utils/taro/get-system-info.js +8 -7
- package/dist/nutui.react.umd.js +8698 -7529
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +47 -46
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +31 -30
- package/dist/style.css +1 -1
- package/dist/style.scss +34 -33
- package/dist/styles/jd-font.scss +2 -2
- package/dist/styles/theme-dark.scss +1 -2
- package/dist/styles/themes/daojia.css +1 -1
- package/dist/styles/themes/dark-daojia.css +1 -1
- package/dist/styles/themes/dark.css +1 -1
- package/dist/styles/themes/default.css +1 -1
- package/dist/styles/variables-daojia.scss +41 -0
- package/dist/styles/variables-jmapp.scss +41 -0
- package/dist/styles/variables-jrkf.scss +41 -0
- package/dist/styles/variables.scss +49 -4
- package/package.json +1 -1
- package/dist/cjs/locales/vi-VN.d.ts +0 -3
- package/dist/cjs/locales/vi-VN.js +0 -170
- package/dist/es/locales/vi-VN.d.ts +0 -3
- package/dist/es/locales/vi-VN.js +0 -160
- package/postinstall.js +0 -9
|
@@ -22,7 +22,9 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
22
22
|
left: '',
|
|
23
23
|
right: '',
|
|
24
24
|
rightIn: '',
|
|
25
|
-
leftIn: /*#__PURE__*/ React.createElement(Search,
|
|
25
|
+
leftIn: /*#__PURE__*/ React.createElement(Search, {
|
|
26
|
+
ariaHidden: true
|
|
27
|
+
}),
|
|
26
28
|
tag: false
|
|
27
29
|
});
|
|
28
30
|
export var SearchBar = function(props) {
|
|
@@ -177,12 +179,15 @@ export var SearchBar = function(props) {
|
|
|
177
179
|
onClick: function(e) {
|
|
178
180
|
return onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(item, e);
|
|
179
181
|
}
|
|
180
|
-
}, item, /*#__PURE__*/ React.createElement(Close,
|
|
182
|
+
}, item, /*#__PURE__*/ React.createElement(Close, {
|
|
183
|
+
ariaLabel: locale.close
|
|
184
|
+
}));
|
|
181
185
|
}));
|
|
182
186
|
}, [
|
|
183
187
|
value,
|
|
184
188
|
onItemClick,
|
|
185
|
-
innerTag
|
|
189
|
+
innerTag,
|
|
190
|
+
locale.close
|
|
186
191
|
]);
|
|
187
192
|
var renderLeftIn = useCallback(function() {
|
|
188
193
|
if (!leftIn) return null;
|
|
@@ -195,11 +200,16 @@ export var SearchBar = function(props) {
|
|
|
195
200
|
var renderLeft = useCallback(function() {
|
|
196
201
|
if (!backable && !left) return null;
|
|
197
202
|
return /*#__PURE__*/ React.createElement(View, {
|
|
198
|
-
className: "".concat(classPrefix, "-left")
|
|
199
|
-
|
|
203
|
+
className: "".concat(classPrefix, "-left"),
|
|
204
|
+
ariaRole: backable ? 'button' : undefined,
|
|
205
|
+
ariaLabel: backable ? locale.back : undefined
|
|
206
|
+
}, backable ? /*#__PURE__*/ React.createElement(ArrowLeft, {
|
|
207
|
+
ariaHidden: true
|
|
208
|
+
}) : left);
|
|
200
209
|
}, [
|
|
201
210
|
backable,
|
|
202
|
-
left
|
|
211
|
+
left,
|
|
212
|
+
locale
|
|
203
213
|
]);
|
|
204
214
|
var renderRightIn = useCallback(function() {
|
|
205
215
|
if (!rightIn) return null;
|
|
@@ -226,13 +236,17 @@ export var SearchBar = function(props) {
|
|
|
226
236
|
visibility: "".concat(!innerTag && value && clearable ? 'visible' : 'hidden')
|
|
227
237
|
},
|
|
228
238
|
onClick: clearaVal,
|
|
229
|
-
|
|
230
|
-
|
|
239
|
+
ariaRole: "button",
|
|
240
|
+
ariaLabel: locale.clear
|
|
241
|
+
}, /*#__PURE__*/ React.createElement(MaskClose, {
|
|
242
|
+
ariaHidden: true
|
|
243
|
+
}));
|
|
231
244
|
}, [
|
|
232
245
|
value,
|
|
233
246
|
clearable,
|
|
234
247
|
clearaVal,
|
|
235
|
-
innerTag
|
|
248
|
+
innerTag,
|
|
249
|
+
locale
|
|
236
250
|
]);
|
|
237
251
|
var onConfirm = function() {
|
|
238
252
|
onSearch && onSearch(value);
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
border-bottom: var(--nutui-popup-title-border-bottom, 0);
|
|
74
|
-
padding: var(--nutui-popup-title-padding,
|
|
74
|
+
padding: var(--nutui-popup-title-padding, 11px);
|
|
75
75
|
position: relative;
|
|
76
76
|
}
|
|
77
77
|
.nut-popup-title-wrapper {
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
color: var(--nutui-color-title, #1a1a1a);
|
|
85
85
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
86
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
87
|
}
|
|
89
88
|
.nut-popup-title-description {
|
|
90
89
|
color: var(--nutui-color-text, #505259);
|
|
@@ -96,13 +95,13 @@
|
|
|
96
95
|
}
|
|
97
96
|
.nut-popup-title-left {
|
|
98
97
|
position: absolute;
|
|
99
|
-
top: var(--nutui-popup-title-padding,
|
|
100
|
-
left: var(--nutui-popup-title-padding,
|
|
98
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
99
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
101
100
|
}
|
|
102
101
|
.nut-popup-title-right {
|
|
103
102
|
position: absolute;
|
|
104
|
-
top: var(--nutui-popup-title-padding,
|
|
105
|
-
right: var(--nutui-popup-title-padding,
|
|
103
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
104
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
106
105
|
z-index: 1;
|
|
107
106
|
width: var(--nutui-popup-icon-size, 20px);
|
|
108
107
|
height: var(--nutui-popup-icon-size, 20px);
|
|
@@ -113,20 +112,22 @@
|
|
|
113
112
|
opacity: 0.7;
|
|
114
113
|
}
|
|
115
114
|
.nut-popup-title-right-top-left {
|
|
116
|
-
top: var(--nutui-popup-title-padding,
|
|
117
|
-
left: var(--nutui-popup-title-padding,
|
|
115
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
116
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
118
117
|
}
|
|
119
118
|
.nut-popup-title-right-bottom-left {
|
|
120
|
-
bottom: var(--nutui-popup-title-padding,
|
|
121
|
-
left: var(--nutui-popup-title-padding,
|
|
119
|
+
bottom: var(--nutui-popup-title-padding, 11px);
|
|
120
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
122
121
|
}
|
|
123
122
|
.nut-popup-title-right-bottom-right {
|
|
124
|
-
right: var(--nutui-popup-title-padding,
|
|
125
|
-
bottom: var(--nutui-popup-title-padding,
|
|
123
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
124
|
+
bottom: var(--nutui-popup-title-padding, 11px);
|
|
126
125
|
}
|
|
127
126
|
.nut-popup-center {
|
|
128
127
|
top: 50%;
|
|
129
128
|
left: 50%;
|
|
129
|
+
right: auto;
|
|
130
|
+
bottom: auto;
|
|
130
131
|
min-height: 10%;
|
|
131
132
|
max-width: 295px;
|
|
132
133
|
transform: translate(-50%, -50%);
|
|
@@ -137,6 +138,8 @@
|
|
|
137
138
|
.nut-popup-bottom {
|
|
138
139
|
bottom: 0;
|
|
139
140
|
left: 0;
|
|
141
|
+
right: auto;
|
|
142
|
+
top: auto;
|
|
140
143
|
width: 100%;
|
|
141
144
|
}
|
|
142
145
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -148,6 +151,8 @@
|
|
|
148
151
|
.nut-popup-right {
|
|
149
152
|
top: 0;
|
|
150
153
|
right: 0;
|
|
154
|
+
left: auto;
|
|
155
|
+
bottom: auto;
|
|
151
156
|
width: 100px;
|
|
152
157
|
height: 100%;
|
|
153
158
|
}
|
|
@@ -157,6 +162,8 @@
|
|
|
157
162
|
.nut-popup-left {
|
|
158
163
|
top: 0;
|
|
159
164
|
left: 0;
|
|
165
|
+
right: auto;
|
|
166
|
+
bottom: auto;
|
|
160
167
|
width: 100px;
|
|
161
168
|
height: 100%;
|
|
162
169
|
}
|
|
@@ -166,6 +173,8 @@
|
|
|
166
173
|
.nut-popup-top {
|
|
167
174
|
top: 0;
|
|
168
175
|
left: 0;
|
|
176
|
+
right: auto;
|
|
177
|
+
bottom: auto;
|
|
169
178
|
width: 100%;
|
|
170
179
|
}
|
|
171
180
|
.nut-popup-top.nut-popup-round {
|
|
@@ -242,6 +251,9 @@
|
|
|
242
251
|
}
|
|
243
252
|
}
|
|
244
253
|
@keyframes popup-slide-top-exit {
|
|
254
|
+
from {
|
|
255
|
+
transform: translate3d(0, 0%, 0);
|
|
256
|
+
}
|
|
245
257
|
to {
|
|
246
258
|
transform: translate3d(0, -100%, 0);
|
|
247
259
|
}
|
|
@@ -266,6 +278,9 @@
|
|
|
266
278
|
}
|
|
267
279
|
}
|
|
268
280
|
@keyframes popup-slide-right-exit {
|
|
281
|
+
from {
|
|
282
|
+
transform: translate3d(0%, 0, 0);
|
|
283
|
+
}
|
|
269
284
|
to {
|
|
270
285
|
transform: translate3d(100%, 0, 0);
|
|
271
286
|
}
|
|
@@ -290,6 +305,9 @@
|
|
|
290
305
|
}
|
|
291
306
|
}
|
|
292
307
|
@keyframes slide-bottom-exit {
|
|
308
|
+
from {
|
|
309
|
+
transform: translate3d(0, 0%, 0);
|
|
310
|
+
}
|
|
293
311
|
to {
|
|
294
312
|
transform: translate3d(0, 100%, 0);
|
|
295
313
|
}
|
|
@@ -314,6 +332,9 @@
|
|
|
314
332
|
}
|
|
315
333
|
}
|
|
316
334
|
@keyframes popup-slide-left-exit {
|
|
335
|
+
from {
|
|
336
|
+
transform: translate3d(0%, 0, 0);
|
|
337
|
+
}
|
|
317
338
|
to {
|
|
318
339
|
transform: translate3d(-100%, 0, 0);
|
|
319
340
|
}
|
|
@@ -339,27 +360,27 @@
|
|
|
339
360
|
[dir=rtl] .nut-popup-title-left,
|
|
340
361
|
.nut-rtl .nut-popup-title-left {
|
|
341
362
|
left: auto;
|
|
342
|
-
right: var(--nutui-popup-title-padding,
|
|
363
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
343
364
|
}
|
|
344
365
|
[dir=rtl] .nut-popup-title-right,
|
|
345
366
|
.nut-rtl .nut-popup-title-right {
|
|
346
367
|
right: auto;
|
|
347
|
-
left: var(--nutui-popup-title-padding,
|
|
368
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
348
369
|
}
|
|
349
370
|
[dir=rtl] .nut-popup-title-right-top-left,
|
|
350
371
|
.nut-rtl .nut-popup-title-right-top-left {
|
|
351
372
|
left: auto;
|
|
352
|
-
right: var(--nutui-popup-title-padding,
|
|
373
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
353
374
|
}
|
|
354
375
|
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
355
376
|
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
356
377
|
left: auto;
|
|
357
|
-
right: var(--nutui-popup-title-padding,
|
|
378
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
358
379
|
}
|
|
359
380
|
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
360
381
|
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
361
382
|
right: auto;
|
|
362
|
-
left: var(--nutui-popup-title-padding,
|
|
383
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
363
384
|
}
|
|
364
385
|
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
365
386
|
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
|
|
@@ -46,8 +46,7 @@ export var Step = function(props) {
|
|
|
46
46
|
type,
|
|
47
47
|
className,
|
|
48
48
|
description,
|
|
49
|
-
classPrefix
|
|
50
|
-
parentType
|
|
49
|
+
classPrefix
|
|
51
50
|
]);
|
|
52
51
|
// 头部渲染
|
|
53
52
|
var renderHeadType = useMemo(function() {
|
|
@@ -70,10 +69,7 @@ export var Step = function(props) {
|
|
|
70
69
|
}, [
|
|
71
70
|
type,
|
|
72
71
|
value,
|
|
73
|
-
icon
|
|
74
|
-
parentIcon,
|
|
75
|
-
parentType,
|
|
76
|
-
classPrefix
|
|
72
|
+
icon
|
|
77
73
|
]);
|
|
78
74
|
// 内容渲染
|
|
79
75
|
var renderContent = useMemo(function() {
|
|
@@ -87,8 +83,7 @@ export var Step = function(props) {
|
|
|
87
83
|
}, description));
|
|
88
84
|
}, [
|
|
89
85
|
title,
|
|
90
|
-
description
|
|
91
|
-
classPrefix
|
|
86
|
+
description
|
|
92
87
|
]);
|
|
93
88
|
return /*#__PURE__*/ React.createElement(View, {
|
|
94
89
|
className: classes,
|
|
@@ -73,11 +73,9 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
-
height: 14px;
|
|
77
76
|
line-height: 14px;
|
|
78
77
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, 12px));
|
|
79
78
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
white-space: nowrap;
|
|
82
80
|
}
|
|
83
81
|
.nut-step-description {
|
|
@@ -73,11 +73,9 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
-
height: 14px;
|
|
77
76
|
line-height: 14px;
|
|
78
77
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, 12px));
|
|
79
78
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
white-space: nowrap;
|
|
82
80
|
}
|
|
83
81
|
.nut-step-description {
|
|
@@ -73,11 +73,9 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
-
height: 14px;
|
|
77
76
|
line-height: 14px;
|
|
78
77
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-text-small));
|
|
79
78
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title));
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
white-space: nowrap;
|
|
82
80
|
}
|
|
83
81
|
.nut-step-description {
|
|
@@ -73,11 +73,9 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
-
height: 14px;
|
|
77
76
|
line-height: 14px;
|
|
78
77
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-text-small));
|
|
79
78
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title));
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
white-space: nowrap;
|
|
82
80
|
}
|
|
83
81
|
.nut-step-description {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
&-head {
|
|
130
130
|
justify-content: center;
|
|
131
|
-
margin-bottom:
|
|
131
|
+
margin-bottom: 5px;
|
|
132
132
|
|
|
133
133
|
&-dot-wrap,
|
|
134
134
|
&-icon-wrap,
|
|
@@ -151,7 +151,14 @@
|
|
|
151
151
|
&-main {
|
|
152
152
|
align-items: center;
|
|
153
153
|
margin-left: 0;
|
|
154
|
-
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&-title {
|
|
157
|
+
height: auto;
|
|
158
|
+
line-height: 20px;
|
|
159
|
+
white-space: normal;
|
|
160
|
+
overflow-wrap: break-word;
|
|
161
|
+
text-align: center;
|
|
155
162
|
}
|
|
156
163
|
}
|
|
157
164
|
|
|
@@ -212,7 +219,7 @@
|
|
|
212
219
|
&-head {
|
|
213
220
|
align-items: center;
|
|
214
221
|
justify-content: center;
|
|
215
|
-
height:
|
|
222
|
+
height: 20px;
|
|
216
223
|
|
|
217
224
|
&-icon {
|
|
218
225
|
width: $steps-vertical-head-icon-size;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
.nut-steps-horizontal-double .nut-step-head {
|
|
97
97
|
justify-content: center;
|
|
98
|
-
margin-bottom:
|
|
98
|
+
margin-bottom: 5px;
|
|
99
99
|
}
|
|
100
100
|
.nut-steps-horizontal-double .nut-step-head-dot-wrap, .nut-steps-horizontal-double .nut-step-head-icon-wrap, .nut-steps-horizontal-double .nut-step-head-text-wrap {
|
|
101
101
|
background-color: var(--nutui-steps-background-color, #ffffff);
|
|
@@ -112,7 +112,13 @@
|
|
|
112
112
|
.nut-steps-horizontal-double .nut-step-main {
|
|
113
113
|
align-items: center;
|
|
114
114
|
margin-left: 0;
|
|
115
|
-
|
|
115
|
+
}
|
|
116
|
+
.nut-steps-horizontal-double .nut-step-title {
|
|
117
|
+
height: auto;
|
|
118
|
+
line-height: 20px;
|
|
119
|
+
white-space: normal;
|
|
120
|
+
overflow-wrap: break-word;
|
|
121
|
+
text-align: center;
|
|
116
122
|
}
|
|
117
123
|
.nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-head, .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-line {
|
|
118
124
|
height: var(--nutui-steps-base-head-icon-size-right, 20px);
|
|
@@ -131,7 +137,7 @@
|
|
|
131
137
|
flex-direction: column;
|
|
132
138
|
}
|
|
133
139
|
.nut-steps-vertical .nut-step {
|
|
134
|
-
padding-bottom: var(--nutui-steps-vertical-item-padding-bottom,
|
|
140
|
+
padding-bottom: var(--nutui-steps-vertical-item-padding-bottom, 12px);
|
|
135
141
|
}
|
|
136
142
|
.nut-steps-vertical .nut-step-last {
|
|
137
143
|
padding-bottom: 0 !important;
|
|
@@ -147,7 +153,7 @@
|
|
|
147
153
|
.nut-steps-vertical .nut-step-head {
|
|
148
154
|
align-items: center;
|
|
149
155
|
justify-content: center;
|
|
150
|
-
height:
|
|
156
|
+
height: 20px;
|
|
151
157
|
}
|
|
152
158
|
.nut-steps-vertical .nut-step-head-icon {
|
|
153
159
|
width: var(--nutui-steps-vertical-item-icon-size, 20px);
|
|
@@ -166,18 +172,18 @@
|
|
|
166
172
|
.nut-steps-vertical .nut-step-title {
|
|
167
173
|
display: flex;
|
|
168
174
|
align-items: center;
|
|
169
|
-
height: var(--nutui-steps-vertical-line-height,
|
|
175
|
+
height: var(--nutui-steps-vertical-line-height, 20px);
|
|
170
176
|
font-size: var(--nutui-steps-vertical-title-font-size, var(--nutui-font-size-l, 15px));
|
|
171
177
|
/* #ifndef dynamic*/
|
|
172
178
|
overflow: auto;
|
|
173
179
|
/* #endif */
|
|
174
180
|
font-weight: 500;
|
|
175
|
-
margin-bottom: var(--nutui-steps-vertical-title-margin-bottom,
|
|
181
|
+
margin-bottom: var(--nutui-steps-vertical-title-margin-bottom, 3px);
|
|
176
182
|
}
|
|
177
183
|
.nut-steps-vertical .nut-step-description {
|
|
178
184
|
margin: var(--nutui-steps-vertical-description-margin, 0 0 1px);
|
|
179
185
|
height: auto;
|
|
180
|
-
line-height: var(--nutui-steps-vertical-line-height,
|
|
186
|
+
line-height: var(--nutui-steps-vertical-line-height, 20px);
|
|
181
187
|
color: var(--nutui-color-title, #1a1a1a);
|
|
182
188
|
font-size: var(--nutui-steps-vertical-description-font-size, var(--nutui-font-size-base, 14px));
|
|
183
189
|
box-sizing: border-box;
|
|
@@ -73,11 +73,9 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
-
height: 14px;
|
|
77
76
|
line-height: 14px;
|
|
78
77
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, 12px));
|
|
79
78
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
|
|
80
|
-
overflow: hidden;
|
|
81
79
|
white-space: nowrap;
|
|
82
80
|
}
|
|
83
81
|
.nut-step-description {
|
|
@@ -215,7 +213,7 @@
|
|
|
215
213
|
}
|
|
216
214
|
.nut-steps-horizontal-double .nut-step-head {
|
|
217
215
|
justify-content: center;
|
|
218
|
-
margin-bottom:
|
|
216
|
+
margin-bottom: 5px;
|
|
219
217
|
}
|
|
220
218
|
.nut-steps-horizontal-double .nut-step-head-dot-wrap, .nut-steps-horizontal-double .nut-step-head-icon-wrap, .nut-steps-horizontal-double .nut-step-head-text-wrap {
|
|
221
219
|
background-color: var(--nutui-steps-background-color, #ffffff);
|
|
@@ -232,7 +230,13 @@
|
|
|
232
230
|
.nut-steps-horizontal-double .nut-step-main {
|
|
233
231
|
align-items: center;
|
|
234
232
|
margin-left: 0;
|
|
235
|
-
|
|
233
|
+
}
|
|
234
|
+
.nut-steps-horizontal-double .nut-step-title {
|
|
235
|
+
height: auto;
|
|
236
|
+
line-height: 20px;
|
|
237
|
+
white-space: normal;
|
|
238
|
+
overflow-wrap: break-word;
|
|
239
|
+
text-align: center;
|
|
236
240
|
}
|
|
237
241
|
.nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-head, .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-line {
|
|
238
242
|
height: var(--nutui-steps-base-head-icon-size-right, 20px);
|
|
@@ -251,7 +255,7 @@
|
|
|
251
255
|
flex-direction: column;
|
|
252
256
|
}
|
|
253
257
|
.nut-steps-vertical .nut-step {
|
|
254
|
-
padding-bottom: var(--nutui-steps-vertical-item-padding-bottom,
|
|
258
|
+
padding-bottom: var(--nutui-steps-vertical-item-padding-bottom, 12px);
|
|
255
259
|
}
|
|
256
260
|
.nut-steps-vertical .nut-step-last {
|
|
257
261
|
padding-bottom: 0 !important;
|
|
@@ -267,7 +271,7 @@
|
|
|
267
271
|
.nut-steps-vertical .nut-step-head {
|
|
268
272
|
align-items: center;
|
|
269
273
|
justify-content: center;
|
|
270
|
-
height:
|
|
274
|
+
height: 20px;
|
|
271
275
|
}
|
|
272
276
|
.nut-steps-vertical .nut-step-head-icon {
|
|
273
277
|
width: var(--nutui-steps-vertical-item-icon-size, 20px);
|
|
@@ -286,18 +290,18 @@
|
|
|
286
290
|
.nut-steps-vertical .nut-step-title {
|
|
287
291
|
display: flex;
|
|
288
292
|
align-items: center;
|
|
289
|
-
height: var(--nutui-steps-vertical-line-height,
|
|
293
|
+
height: var(--nutui-steps-vertical-line-height, 20px);
|
|
290
294
|
font-size: var(--nutui-steps-vertical-title-font-size, var(--nutui-font-size-l, 15px));
|
|
291
295
|
/* #ifndef dynamic*/
|
|
292
296
|
overflow: auto;
|
|
293
297
|
/* #endif */
|
|
294
298
|
font-weight: 500;
|
|
295
|
-
margin-bottom: var(--nutui-steps-vertical-title-margin-bottom,
|
|
299
|
+
margin-bottom: var(--nutui-steps-vertical-title-margin-bottom, 3px);
|
|
296
300
|
}
|
|
297
301
|
.nut-steps-vertical .nut-step-description {
|
|
298
302
|
margin: var(--nutui-steps-vertical-description-margin, 0 0 1px);
|
|
299
303
|
height: auto;
|
|
300
|
-
line-height: var(--nutui-steps-vertical-line-height,
|
|
304
|
+
line-height: var(--nutui-steps-vertical-line-height, 20px);
|
|
301
305
|
color: var(--nutui-color-title, #1a1a1a);
|
|
302
306
|
font-size: var(--nutui-steps-vertical-description-font-size, var(--nutui-font-size-base, 14px));
|
|
303
307
|
box-sizing: border-box;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
&-head {
|
|
130
130
|
justify-content: center;
|
|
131
|
-
margin-bottom:
|
|
131
|
+
margin-bottom: 5px;
|
|
132
132
|
|
|
133
133
|
&-dot-wrap,
|
|
134
134
|
&-icon-wrap,
|
|
@@ -151,7 +151,14 @@
|
|
|
151
151
|
&-main {
|
|
152
152
|
align-items: center;
|
|
153
153
|
margin-left: 0;
|
|
154
|
-
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&-title {
|
|
157
|
+
height: auto;
|
|
158
|
+
line-height: 20px;
|
|
159
|
+
white-space: normal;
|
|
160
|
+
overflow-wrap: break-word;
|
|
161
|
+
text-align: center;
|
|
155
162
|
}
|
|
156
163
|
}
|
|
157
164
|
|
|
@@ -212,7 +219,7 @@
|
|
|
212
219
|
&-head {
|
|
213
220
|
align-items: center;
|
|
214
221
|
justify-content: center;
|
|
215
|
-
height:
|
|
222
|
+
height: 20px;
|
|
216
223
|
|
|
217
224
|
&-icon {
|
|
218
225
|
width: $steps-vertical-head-icon-size;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
.nut-steps-horizontal-double .nut-step-head {
|
|
97
97
|
justify-content: center;
|
|
98
|
-
margin-bottom:
|
|
98
|
+
margin-bottom: 5px;
|
|
99
99
|
}
|
|
100
100
|
.nut-steps-horizontal-double .nut-step-head-dot-wrap, .nut-steps-horizontal-double .nut-step-head-icon-wrap, .nut-steps-horizontal-double .nut-step-head-text-wrap {
|
|
101
101
|
background-color: var(--nutui-steps-background-color, #ffffff);
|
|
@@ -112,7 +112,13 @@
|
|
|
112
112
|
.nut-steps-horizontal-double .nut-step-main {
|
|
113
113
|
align-items: center;
|
|
114
114
|
margin-left: 0;
|
|
115
|
-
|
|
115
|
+
}
|
|
116
|
+
.nut-steps-horizontal-double .nut-step-title {
|
|
117
|
+
height: auto;
|
|
118
|
+
line-height: 20px;
|
|
119
|
+
white-space: normal;
|
|
120
|
+
overflow-wrap: break-word;
|
|
121
|
+
text-align: center;
|
|
116
122
|
}
|
|
117
123
|
.nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-head, .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-line {
|
|
118
124
|
height: var(--nutui-steps-base-head-icon-size-right, 20px);
|
|
@@ -147,7 +153,7 @@
|
|
|
147
153
|
.nut-steps-vertical .nut-step-head {
|
|
148
154
|
align-items: center;
|
|
149
155
|
justify-content: center;
|
|
150
|
-
height:
|
|
156
|
+
height: 20px;
|
|
151
157
|
}
|
|
152
158
|
.nut-steps-vertical .nut-step-head-icon {
|
|
153
159
|
width: var(--nutui-steps-vertical-item-icon-size, 20px);
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
&-head {
|
|
130
130
|
justify-content: center;
|
|
131
|
-
margin-bottom:
|
|
131
|
+
margin-bottom: 5px;
|
|
132
132
|
|
|
133
133
|
&-dot-wrap,
|
|
134
134
|
&-icon-wrap,
|
|
@@ -151,7 +151,14 @@
|
|
|
151
151
|
&-main {
|
|
152
152
|
align-items: center;
|
|
153
153
|
margin-left: 0;
|
|
154
|
-
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&-title {
|
|
157
|
+
height: auto;
|
|
158
|
+
line-height: 20px;
|
|
159
|
+
white-space: normal;
|
|
160
|
+
overflow-wrap: break-word;
|
|
161
|
+
text-align: center;
|
|
155
162
|
}
|
|
156
163
|
}
|
|
157
164
|
|
|
@@ -212,7 +219,7 @@
|
|
|
212
219
|
&-head {
|
|
213
220
|
align-items: center;
|
|
214
221
|
justify-content: center;
|
|
215
|
-
height:
|
|
222
|
+
height: 20px;
|
|
216
223
|
|
|
217
224
|
&-icon {
|
|
218
225
|
width: $steps-vertical-head-icon-size;
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
.nut-steps-horizontal-double .nut-step-head {
|
|
97
97
|
justify-content: center;
|
|
98
|
-
margin-bottom:
|
|
98
|
+
margin-bottom: 5px;
|
|
99
99
|
}
|
|
100
100
|
.nut-steps-horizontal-double .nut-step-head-dot-wrap, .nut-steps-horizontal-double .nut-step-head-icon-wrap, .nut-steps-horizontal-double .nut-step-head-text-wrap {
|
|
101
101
|
background-color: var(--nutui-steps-background-color, #ffffff);
|
|
@@ -112,7 +112,13 @@
|
|
|
112
112
|
.nut-steps-horizontal-double .nut-step-main {
|
|
113
113
|
align-items: center;
|
|
114
114
|
margin-left: 0;
|
|
115
|
-
|
|
115
|
+
}
|
|
116
|
+
.nut-steps-horizontal-double .nut-step-title {
|
|
117
|
+
height: auto;
|
|
118
|
+
line-height: 20px;
|
|
119
|
+
white-space: normal;
|
|
120
|
+
overflow-wrap: break-word;
|
|
121
|
+
text-align: center;
|
|
116
122
|
}
|
|
117
123
|
.nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-head, .nut-steps-horizontal-double.nut-steps-horizontal-icon .nut-step-line {
|
|
118
124
|
height: var(--nutui-steps-base-head-icon-size-right, 20px);
|
|
@@ -147,7 +153,7 @@
|
|
|
147
153
|
.nut-steps-vertical .nut-step-head {
|
|
148
154
|
align-items: center;
|
|
149
155
|
justify-content: center;
|
|
150
|
-
height:
|
|
156
|
+
height: 20px;
|
|
151
157
|
}
|
|
152
158
|
.nut-steps-vertical .nut-step-head-icon {
|
|
153
159
|
width: var(--nutui-steps-vertical-item-icon-size, 20px);
|