@nutui/nutui-react-taro 3.0.20-cpp → 3.0.20
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 +71 -28
- package/dist/cjs/locales/base.d.ts +0 -9
- package/dist/cjs/locales/en-US.js +2 -21
- package/dist/cjs/locales/id-ID.js +2 -21
- package/dist/cjs/locales/ja-JP.js +2 -19
- package/dist/cjs/locales/tr-TR.js +2 -21
- package/dist/cjs/locales/vi-VN.d.ts +3 -0
- package/dist/cjs/locales/vi-VN.js +170 -0
- package/dist/cjs/locales/zh-CN.js +2 -19
- package/dist/cjs/locales/zh-TW.js +2 -19
- package/dist/cjs/locales/zh-UG.js +2 -21
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +17 -38
- package/dist/cjs/packages/address/address.d.ts +1 -1
- package/dist/cjs/packages/address/style/style.harmony.css +17 -38
- package/dist/cjs/packages/animatingnumbers/countup.js +1 -3
- package/dist/cjs/packages/audio/style/style.harmony.css +3 -0
- package/dist/cjs/packages/avatar/avatar.js +6 -32
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +6 -2
- package/dist/cjs/packages/badge/badge.js +3 -16
- package/dist/cjs/packages/button/button.d.ts +24 -2
- package/dist/cjs/packages/button/button.js +12 -9
- package/dist/cjs/packages/button/index.d.ts +1 -0
- package/dist/cjs/packages/button/style/button.scss +3 -0
- package/dist/cjs/packages/button/style/style.css +3 -0
- package/dist/cjs/packages/button/style/style.harmony.css +3 -0
- 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/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style/style.css +1 -21
- package/dist/cjs/packages/calendar/style/style.harmony.css +18 -59
- package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style-jmapp/style.css +1 -21
- package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style-jrkf/style.css +1 -21
- package/dist/cjs/packages/calendarcard/calendarcard.js +8 -30
- package/dist/cjs/packages/calendarcard/icon.js +23 -12
- package/dist/cjs/packages/calendarcard/style/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style/style.css +0 -13
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +0 -13
- package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style-jmapp/style.css +0 -13
- package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style-jrkf/style.css +0 -13
- package/dist/cjs/packages/card/style/style.harmony.css +1 -1
- package/dist/cjs/packages/cascader/style/style.harmony.css +17 -38
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/datepicker/style/style.harmony.css +18 -39
- package/dist/cjs/packages/dialog/dialog.js +12 -18
- 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 +4 -1
- 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/empty/empty.d.ts +4 -4
- package/dist/cjs/packages/empty/style/style.harmony.css +3 -0
- package/dist/cjs/packages/form/style/style.harmony.css +5 -0
- package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style/style.css +5 -0
- package/dist/cjs/packages/formitem/style/style.harmony.css +5 -0
- package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jmapp/style.css +5 -0
- package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jrkf/style.css +5 -0
- package/dist/cjs/packages/image/image.js +3 -11
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +17 -38
- package/dist/cjs/packages/input/input.js +3 -10
- package/dist/cjs/packages/inputnumber/inputnumber.js +1 -1
- package/dist/cjs/packages/lottie/lottiemp.js +18 -10
- package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +18 -39
- package/dist/cjs/packages/nutui.react.build.d.ts +1 -3
- package/dist/cjs/packages/nutui.react.build.js +14 -18
- package/dist/cjs/packages/nutui.react.d.ts +1 -4
- package/dist/cjs/packages/nutui.react.js +14 -19
- package/dist/cjs/packages/nutui.react.scss.d.ts +0 -1
- package/dist/cjs/packages/nutui.react.scss.js +0 -1
- package/dist/cjs/packages/overlay/overlay.js +3 -3
- package/dist/cjs/packages/picker/style/style.css +1 -1
- package/dist/cjs/packages/picker/style/style.harmony.css +18 -39
- package/dist/cjs/packages/popover/style/style.harmony.css +17 -38
- package/dist/cjs/packages/popup/popup.js +103 -188
- package/dist/cjs/packages/popup/style/popup.scss +1 -22
- package/dist/cjs/packages/popup/style/style.css +17 -38
- package/dist/cjs/packages/popup/style/style.harmony.css +17 -38
- package/dist/cjs/packages/popup/style-jmapp/popup.scss +1 -22
- package/dist/cjs/packages/popup/style-jmapp/style.css +1 -22
- package/dist/cjs/packages/popup/style-jrkf/popup.scss +1 -22
- package/dist/cjs/packages/popup/style-jrkf/style.css +1 -22
- package/dist/cjs/packages/price/price.js +13 -52
- package/dist/cjs/packages/progress/progress.js +4 -2
- package/dist/cjs/packages/range/range.js +7 -32
- package/dist/cjs/packages/rate/rate.js +8 -5
- package/dist/cjs/packages/resultpage/resultpage.js +1 -2
- package/dist/cjs/packages/resultpage/style/style.harmony.css +3 -0
- package/dist/cjs/packages/safearea/safearea.js +12 -3
- package/dist/cjs/packages/safearea/style/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style/style.css +2 -0
- package/dist/cjs/packages/safearea/style/style.harmony.css +2 -0
- package/dist/cjs/packages/safearea/style-jmapp/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style-jmapp/style.css +2 -0
- package/dist/cjs/packages/safearea/style-jrkf/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style-jrkf/style.css +2 -0
- package/dist/cjs/packages/searchbar/searchbar.js +9 -23
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +17 -38
- package/dist/cjs/packages/step/step.js +8 -3
- package/dist/cjs/packages/step/style/step.scss +2 -0
- package/dist/cjs/packages/step/style/style.css +2 -0
- package/dist/cjs/packages/step/style/style.harmony.css +2 -0
- package/dist/cjs/packages/step/style-jmapp/step.scss +2 -0
- package/dist/cjs/packages/step/style-jmapp/style.css +2 -0
- package/dist/cjs/packages/step/style-jrkf/step.scss +2 -0
- package/dist/cjs/packages/step/style-jrkf/style.css +2 -0
- package/dist/cjs/packages/steps/style/steps.scss +3 -10
- package/dist/cjs/packages/steps/style/style.css +7 -13
- package/dist/cjs/packages/steps/style/style.harmony.css +9 -13
- package/dist/cjs/packages/steps/style-jmapp/steps.scss +3 -10
- package/dist/cjs/packages/steps/style-jmapp/style.css +3 -9
- package/dist/cjs/packages/steps/style-jrkf/steps.scss +3 -10
- package/dist/cjs/packages/steps/style-jrkf/style.css +3 -9
- package/dist/cjs/packages/swipe/swipe.js +115 -83
- 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 +5 -12
- 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 +17 -38
- package/dist/cjs/packages/toast/style/style.css +4 -2
- package/dist/cjs/packages/toast/style/style.harmony.css +4 -2
- package/dist/cjs/packages/toast/style/toast.scss +4 -2
- package/dist/cjs/packages/toast/style-jmapp/style.css +4 -2
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +4 -2
- package/dist/cjs/packages/toast/style-jrkf/style.css +4 -2
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +4 -2
- package/dist/cjs/packages/toast/toast.js +1 -1
- package/dist/cjs/packages/tour/style/style.harmony.css +17 -38
- package/dist/cjs/types/index.d.ts +0 -3
- package/dist/cjs/types/index.js +0 -3
- package/dist/cjs/types/spec/button/base.d.ts +1 -2
- package/dist/cjs/types/spec/button/taro.d.ts +1 -5
- package/dist/cjs/types/spec/calendarcard/base.d.ts +0 -2
- package/dist/cjs/types/spec/dialog/base.d.ts +0 -1
- package/dist/cjs/types/spec/dialog/h5.d.ts +0 -2
- package/dist/cjs/types/spec/dialog/taro.d.ts +0 -2
- package/dist/cjs/types/spec/overlay/base.d.ts +0 -1
- package/dist/cjs/types/spec/popup/base.d.ts +0 -2
- package/dist/cjs/types/spec/price/base.d.ts +0 -1
- package/dist/cjs/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
- package/dist/cjs/utils/taro/get-rect.js +2 -4
- package/dist/cjs/utils/taro/get-system-info.d.ts +5 -0
- package/dist/cjs/utils/taro/get-system-info.js +7 -2
- package/dist/es/hooks/taro/use-custom-event.js +0 -1
- package/dist/es/locales/base.d.ts +0 -9
- package/dist/es/locales/en-US.js +2 -21
- package/dist/es/locales/id-ID.js +2 -21
- package/dist/es/locales/ja-JP.js +2 -19
- package/dist/es/locales/tr-TR.js +2 -21
- package/dist/es/locales/vi-VN.d.ts +3 -0
- package/dist/es/locales/vi-VN.js +160 -0
- package/dist/es/locales/zh-CN.js +2 -19
- package/dist/es/locales/zh-TW.js +2 -19
- package/dist/es/locales/zh-UG.js +2 -21
- package/dist/es/packages/actionsheet/style/style.harmony.css +17 -38
- package/dist/es/packages/address/address.d.ts +1 -1
- package/dist/es/packages/address/style/style.harmony.css +17 -38
- package/dist/es/packages/animatingnumbers/countup.js +1 -3
- package/dist/es/packages/audio/style/style.harmony.css +3 -0
- package/dist/es/packages/avatar/avatar.js +6 -32
- package/dist/es/packages/avatarcropper/avatarcropper.js +8 -4
- package/dist/es/packages/badge/badge.js +3 -16
- package/dist/es/packages/button/button.d.ts +24 -2
- package/dist/es/packages/button/button.js +12 -10
- package/dist/es/packages/button/index.d.ts +1 -0
- package/dist/es/packages/button/style/button.scss +3 -0
- package/dist/es/packages/button/style/style.css +3 -0
- package/dist/es/packages/button/style/style.harmony.css +3 -0
- 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/calendar.scss +1 -32
- package/dist/es/packages/calendar/style/style.css +1 -21
- package/dist/es/packages/calendar/style/style.harmony.css +18 -59
- package/dist/es/packages/calendar/style-jmapp/calendar.scss +1 -32
- package/dist/es/packages/calendar/style-jmapp/style.css +1 -21
- package/dist/es/packages/calendar/style-jrkf/calendar.scss +1 -32
- package/dist/es/packages/calendar/style-jrkf/style.css +1 -21
- package/dist/es/packages/calendarcard/calendarcard.js +9 -31
- package/dist/es/packages/calendarcard/icon.js +24 -13
- package/dist/es/packages/calendarcard/style/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style/style.css +0 -13
- package/dist/es/packages/calendarcard/style/style.harmony.css +0 -13
- package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style-jmapp/style.css +0 -13
- package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style-jrkf/style.css +0 -13
- package/dist/es/packages/card/style/style.harmony.css +1 -1
- package/dist/es/packages/cascader/style/style.harmony.css +17 -38
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/datepicker/style/style.harmony.css +18 -39
- package/dist/es/packages/dialog/dialog.js +21 -29
- 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 +4 -1
- 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/empty/empty.d.ts +4 -4
- package/dist/es/packages/empty/style/style.harmony.css +3 -0
- package/dist/es/packages/form/style/style.harmony.css +5 -0
- package/dist/es/packages/formitem/style/formitem.scss +4 -4
- package/dist/es/packages/formitem/style/style.css +5 -0
- package/dist/es/packages/formitem/style/style.harmony.css +5 -0
- package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jmapp/style.css +5 -0
- package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jrkf/style.css +5 -0
- package/dist/es/packages/image/image.js +3 -11
- package/dist/es/packages/imagepreview/style/style.harmony.css +17 -38
- package/dist/es/packages/input/input.js +3 -10
- package/dist/es/packages/inputnumber/inputnumber.js +1 -1
- package/dist/es/packages/lottie/lottiemp.js +20 -12
- package/dist/es/packages/numberkeyboard/style/style.css +1 -1
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +18 -39
- package/dist/es/packages/nutui.react.build.d.ts +1 -3
- package/dist/es/packages/nutui.react.build.js +1 -3
- 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 +18 -39
- package/dist/es/packages/popover/style/style.harmony.css +17 -38
- package/dist/es/packages/popup/popup.js +104 -189
- package/dist/es/packages/popup/style/popup.scss +1 -22
- package/dist/es/packages/popup/style/style.css +17 -38
- package/dist/es/packages/popup/style/style.harmony.css +17 -38
- package/dist/es/packages/popup/style-jmapp/popup.scss +1 -22
- package/dist/es/packages/popup/style-jmapp/style.css +1 -22
- package/dist/es/packages/popup/style-jrkf/popup.scss +1 -22
- package/dist/es/packages/popup/style-jrkf/style.css +1 -22
- package/dist/es/packages/price/price.js +14 -53
- package/dist/es/packages/progress/progress.js +4 -2
- package/dist/es/packages/range/range.js +8 -33
- package/dist/es/packages/rate/rate.js +9 -6
- package/dist/es/packages/resultpage/resultpage.js +1 -2
- package/dist/es/packages/resultpage/style/style.harmony.css +3 -0
- package/dist/es/packages/safearea/safearea.js +12 -3
- package/dist/es/packages/safearea/style/safearea.scss +6 -0
- package/dist/es/packages/safearea/style/style.css +2 -0
- package/dist/es/packages/safearea/style/style.harmony.css +2 -0
- package/dist/es/packages/safearea/style-jmapp/safearea.scss +6 -0
- package/dist/es/packages/safearea/style-jmapp/style.css +2 -0
- package/dist/es/packages/safearea/style-jrkf/safearea.scss +6 -0
- package/dist/es/packages/safearea/style-jrkf/style.css +2 -0
- package/dist/es/packages/searchbar/searchbar.js +9 -23
- package/dist/es/packages/shortpassword/style/style.harmony.css +17 -38
- package/dist/es/packages/step/step.js +8 -3
- package/dist/es/packages/step/style/step.scss +2 -0
- package/dist/es/packages/step/style/style.css +2 -0
- package/dist/es/packages/step/style/style.harmony.css +2 -0
- package/dist/es/packages/step/style-jmapp/step.scss +2 -0
- package/dist/es/packages/step/style-jmapp/style.css +2 -0
- package/dist/es/packages/step/style-jrkf/step.scss +2 -0
- package/dist/es/packages/step/style-jrkf/style.css +2 -0
- package/dist/es/packages/steps/style/steps.scss +3 -10
- package/dist/es/packages/steps/style/style.css +7 -13
- package/dist/es/packages/steps/style/style.harmony.css +9 -13
- package/dist/es/packages/steps/style-jmapp/steps.scss +3 -10
- package/dist/es/packages/steps/style-jmapp/style.css +3 -9
- package/dist/es/packages/steps/style-jrkf/steps.scss +3 -10
- package/dist/es/packages/steps/style-jrkf/style.css +3 -9
- package/dist/es/packages/swipe/swipe.js +116 -84
- 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 +5 -12
- 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 +17 -38
- package/dist/es/packages/toast/style/style.css +4 -2
- package/dist/es/packages/toast/style/style.harmony.css +4 -2
- package/dist/es/packages/toast/style/toast.scss +4 -2
- package/dist/es/packages/toast/style-jmapp/style.css +4 -2
- package/dist/es/packages/toast/style-jmapp/toast.scss +4 -2
- package/dist/es/packages/toast/style-jrkf/style.css +4 -2
- package/dist/es/packages/toast/style-jrkf/toast.scss +4 -2
- package/dist/es/packages/toast/toast.js +1 -1
- package/dist/es/packages/tour/style/style.harmony.css +17 -38
- package/dist/es/types/index.d.ts +0 -3
- package/dist/es/types/index.js +0 -3
- package/dist/es/types/spec/button/base.d.ts +1 -2
- package/dist/es/types/spec/button/taro.d.ts +1 -5
- package/dist/es/types/spec/calendarcard/base.d.ts +0 -2
- package/dist/es/types/spec/dialog/base.d.ts +8 -3
- package/dist/es/types/spec/dialog/h5.d.ts +0 -2
- package/dist/es/types/spec/dialog/taro.d.ts +0 -2
- package/dist/es/types/spec/overlay/base.d.ts +0 -1
- package/dist/es/types/spec/popup/base.d.ts +5 -4
- package/dist/es/types/spec/price/base.d.ts +0 -4
- package/dist/es/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
- package/dist/es/utils/taro/get-rect.js +2 -4
- package/dist/es/utils/taro/get-system-info.d.ts +5 -0
- package/dist/es/utils/taro/get-system-info.js +7 -8
- package/dist/nutui.react.umd.js +10310 -10733
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +41 -42
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +31 -32
- package/dist/style.css +1 -1
- package/dist/style.scss +30 -31
- package/dist/styles/jd-font.scss +2 -2
- package/dist/styles/theme-dark.scss +2 -1
- 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 +0 -41
- package/dist/styles/variables-jmapp.scss +0 -41
- package/dist/styles/variables-jrkf.scss +0 -41
- package/dist/styles/variables.scss +4 -49
- package/package.json +1 -1
- package/postinstall.js +9 -0
- package/dist/cjs/packages/quickenter/index.d.ts +0 -3
- package/dist/cjs/packages/quickenter/index.js +0 -13
- package/dist/cjs/packages/quickenter/quickenter.d.ts +0 -4
- package/dist/cjs/packages/quickenter/quickenter.js +0 -153
- package/dist/cjs/packages/quickenter/style/css.js +0 -2
- package/dist/cjs/packages/quickenter/style/index.js +0 -2
- package/dist/cjs/packages/quickenter/style/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style/style.css +0 -106
- package/dist/cjs/packages/quickenter/style/style.harmony.css +0 -506
- package/dist/cjs/packages/quickenter/style-jmapp/css.js +0 -2
- package/dist/cjs/packages/quickenter/style-jmapp/index.js +0 -2
- package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style-jmapp/style.css +0 -106
- package/dist/cjs/packages/quickenter/style-jrkf/css.js +0 -2
- package/dist/cjs/packages/quickenter/style-jrkf/index.js +0 -2
- package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style-jrkf/style.css +0 -106
- package/dist/cjs/types/spec/quickenter/base.d.ts +0 -27
- package/dist/cjs/types/spec/quickenter/base.js +0 -4
- package/dist/cjs/types/spec/quickenter/h5.d.ts +0 -5
- package/dist/cjs/types/spec/quickenter/h5.js +0 -4
- package/dist/cjs/types/spec/quickenter/taro.d.ts +0 -5
- package/dist/cjs/types/spec/quickenter/taro.js +0 -4
- package/dist/cjs/utils/should-render-price-raw.d.ts +0 -2
- package/dist/cjs/utils/should-render-price-raw.js +0 -46
- package/dist/es/packages/quickenter/index.d.ts +0 -3
- package/dist/es/packages/quickenter/index.js +0 -2
- package/dist/es/packages/quickenter/quickenter.d.ts +0 -4
- package/dist/es/packages/quickenter/quickenter.js +0 -141
- package/dist/es/packages/quickenter/style/css.js +0 -2
- package/dist/es/packages/quickenter/style/index.js +0 -2
- package/dist/es/packages/quickenter/style/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style/style.css +0 -106
- package/dist/es/packages/quickenter/style/style.harmony.css +0 -506
- package/dist/es/packages/quickenter/style-jmapp/css.js +0 -2
- package/dist/es/packages/quickenter/style-jmapp/index.js +0 -2
- package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style-jmapp/style.css +0 -106
- package/dist/es/packages/quickenter/style-jrkf/css.js +0 -2
- package/dist/es/packages/quickenter/style-jrkf/index.js +0 -2
- package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style-jrkf/style.css +0 -106
- package/dist/es/types/spec/quickenter/base.d.ts +0 -45
- package/dist/es/types/spec/quickenter/base.js +0 -1
- package/dist/es/types/spec/quickenter/h5.d.ts +0 -5
- package/dist/es/types/spec/quickenter/h5.js +0 -1
- package/dist/es/types/spec/quickenter/taro.d.ts +0 -5
- package/dist/es/types/spec/quickenter/taro.js +0 -1
- package/dist/es/utils/should-render-price-raw.d.ts +0 -2
- package/dist/es/utils/should-render-price-raw.js +0 -30
- /package/dist/cjs/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
- /package/dist/es/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
|
@@ -19,7 +19,6 @@ var _ts_generator = require("@swc/helpers/_/_ts_generator");
|
|
|
19
19
|
var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
20
20
|
var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
|
|
21
21
|
var _components = require("@tarojs/components");
|
|
22
|
-
var _taro = require("@tarojs/taro");
|
|
23
22
|
var _pxtransform = require("../../utils/taro/px-transform");
|
|
24
23
|
var _usetouch = require("../../hooks/use-touch");
|
|
25
24
|
var _typings = require("../../utils/typings");
|
|
@@ -303,37 +302,13 @@ var Range = function Range(props) {
|
|
|
303
302
|
updateValue,
|
|
304
303
|
vertical
|
|
305
304
|
]);
|
|
306
|
-
(0,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
if (!root.current) return [
|
|
314
|
-
3,
|
|
315
|
-
2
|
|
316
|
-
];
|
|
317
|
-
return [
|
|
318
|
-
4,
|
|
319
|
-
(0, _getrect.getRectInMultiPlatform)(root.current)
|
|
320
|
-
];
|
|
321
|
-
case 1:
|
|
322
|
-
rect = _state.sent();
|
|
323
|
-
rootRect.current = rect;
|
|
324
|
-
_state.label = 2;
|
|
325
|
-
case 2:
|
|
326
|
-
return [
|
|
327
|
-
2
|
|
328
|
-
];
|
|
329
|
-
}
|
|
330
|
-
});
|
|
331
|
-
})();
|
|
332
|
-
};
|
|
333
|
-
(0, _taro.nextTick)(function() {
|
|
334
|
-
getRootRect();
|
|
335
|
-
});
|
|
336
|
-
});
|
|
305
|
+
(0, _react.useLayoutEffect)(function() {
|
|
306
|
+
if (root.current) {
|
|
307
|
+
(0, _getrect.getRectInMultiPlatform)(root.current).then(function(rect) {
|
|
308
|
+
rootRect.current = rect;
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
}, []);
|
|
337
312
|
var onTouchStart = (0, _react.useCallback)(function(event) {
|
|
338
313
|
if (disabled) return;
|
|
339
314
|
touch.start(event);
|
|
@@ -17,7 +17,6 @@ var _sliced_to_array = require("@swc/helpers/_/_sliced_to_array");
|
|
|
17
17
|
var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
18
18
|
var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
|
|
19
19
|
var _iconsreacttaro = require("@nutui/icons-react-taro");
|
|
20
|
-
var _taro = require("@tarojs/taro");
|
|
21
20
|
var _components = require("@tarojs/components");
|
|
22
21
|
var _typings = require("../../utils/typings");
|
|
23
22
|
var _usepropsvalue = require("../../hooks/use-props-value");
|
|
@@ -96,7 +95,7 @@ var Rate = function Rate(props) {
|
|
|
96
95
|
return 0;
|
|
97
96
|
}
|
|
98
97
|
};
|
|
99
|
-
var updateRects =
|
|
98
|
+
var updateRects = (0, _react.useCallback)(function() {
|
|
100
99
|
var _loop = function _loop(index) {
|
|
101
100
|
var item = refs[index];
|
|
102
101
|
if (item) {
|
|
@@ -106,10 +105,14 @@ var Rate = function Rate(props) {
|
|
|
106
105
|
}
|
|
107
106
|
};
|
|
108
107
|
for(var index = 0; index < refs.length; index++)_loop(index);
|
|
109
|
-
}
|
|
110
|
-
|
|
108
|
+
}, [
|
|
109
|
+
refs
|
|
110
|
+
]);
|
|
111
|
+
(0, _react.useLayoutEffect)(function() {
|
|
111
112
|
updateRects();
|
|
112
|
-
}
|
|
113
|
+
}, [
|
|
114
|
+
updateRects
|
|
115
|
+
]);
|
|
113
116
|
var handleTouchStart = function handleTouchStart(e) {
|
|
114
117
|
if (!touchable || readOnly || disabled) {
|
|
115
118
|
return;
|
|
@@ -50,8 +50,7 @@ var ResultPage = function ResultPage(props) {
|
|
|
50
50
|
className: cls,
|
|
51
51
|
style: style
|
|
52
52
|
}, /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
53
|
-
className: "".concat(classPrefix, "-icon")
|
|
54
|
-
ariaHidden: true
|
|
53
|
+
className: "".concat(classPrefix, "-icon")
|
|
55
54
|
}, icon || defaultStatus[status]), typeof title === 'string' && title ? /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
56
55
|
className: "".concat(classPrefix, "-title")
|
|
57
56
|
}, title) : title, typeof description === 'string' && description ? /*#__PURE__*/ _react.default.createElement(_components.Text, {
|
|
@@ -9,13 +9,22 @@ Object.defineProperty(exports, "SafeArea", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
12
|
+
var _object_spread = require("@swc/helpers/_/_object_spread");
|
|
13
|
+
var _object_spread_props = require("@swc/helpers/_/_object_spread_props");
|
|
14
|
+
var _object_without_properties = require("@swc/helpers/_/_object_without_properties");
|
|
12
15
|
var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
|
|
13
16
|
var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
|
|
14
17
|
var _components = require("@tarojs/components");
|
|
15
18
|
var classPrefix = 'nut-safe-area';
|
|
16
19
|
var SafeArea = function SafeArea(props) {
|
|
17
|
-
|
|
18
|
-
className
|
|
19
|
-
|
|
20
|
+
var className = props.className, style = props.style, position = props.position, rest = (0, _object_without_properties._)(props, [
|
|
21
|
+
"className",
|
|
22
|
+
"style",
|
|
23
|
+
"position"
|
|
24
|
+
]);
|
|
25
|
+
return /*#__PURE__*/ _react.default.createElement(_components.View, (0, _object_spread_props._)((0, _object_spread._)({}, rest), {
|
|
26
|
+
className: (0, _classnames.default)(classPrefix, "".concat(classPrefix, "-position-").concat(position), className),
|
|
27
|
+
style: style
|
|
28
|
+
}));
|
|
20
29
|
};
|
|
21
30
|
SafeArea.displayName = 'NutSafeArea';
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
5
5
|
&-position-top {
|
|
6
|
+
padding-top: calc(
|
|
7
|
+
constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
|
+
);
|
|
6
9
|
padding-top: calc(
|
|
7
10
|
env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
11
|
);
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
&-position-bottom {
|
|
15
|
+
padding-bottom: calc(
|
|
16
|
+
constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
17
|
+
);
|
|
12
18
|
padding-bottom: calc(
|
|
13
19
|
env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
14
20
|
);
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
}
|
|
9
9
|
.nut-safe-area-position-top {
|
|
10
|
+
padding-top: calc(constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
10
11
|
padding-top: calc(env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
11
12
|
}
|
|
12
13
|
.nut-safe-area-position-bottom {
|
|
14
|
+
padding-bottom: calc(constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
13
15
|
padding-bottom: calc(env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
14
16
|
}
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
}
|
|
9
9
|
.nut-safe-area-position-top {
|
|
10
|
+
padding-top: calc(constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
10
11
|
padding-top: calc(env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
11
12
|
}
|
|
12
13
|
.nut-safe-area-position-bottom {
|
|
14
|
+
padding-bottom: calc(constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
13
15
|
padding-bottom: calc(env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
14
16
|
}
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
5
5
|
&-position-top {
|
|
6
|
+
padding-top: calc(
|
|
7
|
+
constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
|
+
);
|
|
6
9
|
padding-top: calc(
|
|
7
10
|
env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
11
|
);
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
&-position-bottom {
|
|
15
|
+
padding-bottom: calc(
|
|
16
|
+
constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
17
|
+
);
|
|
12
18
|
padding-bottom: calc(
|
|
13
19
|
env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
14
20
|
);
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
}
|
|
9
9
|
.nut-safe-area-position-top {
|
|
10
|
+
padding-top: calc(constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
10
11
|
padding-top: calc(env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
11
12
|
}
|
|
12
13
|
.nut-safe-area-position-bottom {
|
|
14
|
+
padding-bottom: calc(constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
13
15
|
padding-bottom: calc(env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
14
16
|
}
|
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
5
5
|
&-position-top {
|
|
6
|
+
padding-top: calc(
|
|
7
|
+
constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
|
+
);
|
|
6
9
|
padding-top: calc(
|
|
7
10
|
env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1)
|
|
8
11
|
);
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
&-position-bottom {
|
|
15
|
+
padding-bottom: calc(
|
|
16
|
+
constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
17
|
+
);
|
|
12
18
|
padding-bottom: calc(
|
|
13
19
|
env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1)
|
|
14
20
|
);
|
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
width: 100%;
|
|
8
8
|
}
|
|
9
9
|
.nut-safe-area-position-top {
|
|
10
|
+
padding-top: calc(constant(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
10
11
|
padding-top: calc(env(safe-area-inset-top) * var(--nutui-safe-area-multiple, 1));
|
|
11
12
|
}
|
|
12
13
|
.nut-safe-area-position-bottom {
|
|
14
|
+
padding-bottom: calc(constant(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
13
15
|
padding-bottom: calc(env(safe-area-inset-bottom) * var(--nutui-safe-area-multiple, 1));
|
|
14
16
|
}
|
|
@@ -34,9 +34,7 @@ var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typing
|
|
|
34
34
|
left: '',
|
|
35
35
|
right: '',
|
|
36
36
|
rightIn: '',
|
|
37
|
-
leftIn: /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Search,
|
|
38
|
-
ariaHidden: true
|
|
39
|
-
}),
|
|
37
|
+
leftIn: /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Search, null),
|
|
40
38
|
tag: false
|
|
41
39
|
});
|
|
42
40
|
var SearchBar = function SearchBar(props) {
|
|
@@ -191,15 +189,12 @@ var SearchBar = function SearchBar(props) {
|
|
|
191
189
|
onClick: function onClick(e) {
|
|
192
190
|
return onItemClick === null || onItemClick === void 0 ? void 0 : onItemClick(item, e);
|
|
193
191
|
}
|
|
194
|
-
}, item, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close,
|
|
195
|
-
ariaLabel: locale.close
|
|
196
|
-
}));
|
|
192
|
+
}, item, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close, null));
|
|
197
193
|
}));
|
|
198
194
|
}, [
|
|
199
195
|
value,
|
|
200
196
|
onItemClick,
|
|
201
|
-
innerTag
|
|
202
|
-
locale.close
|
|
197
|
+
innerTag
|
|
203
198
|
]);
|
|
204
199
|
var renderLeftIn = (0, _react.useCallback)(function() {
|
|
205
200
|
if (!leftIn) return null;
|
|
@@ -212,16 +207,11 @@ var SearchBar = function SearchBar(props) {
|
|
|
212
207
|
var renderLeft = (0, _react.useCallback)(function() {
|
|
213
208
|
if (!backable && !left) return null;
|
|
214
209
|
return /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
215
|
-
className: "".concat(classPrefix, "-left")
|
|
216
|
-
|
|
217
|
-
ariaLabel: backable ? locale.back : undefined
|
|
218
|
-
}, backable ? /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.ArrowLeft, {
|
|
219
|
-
ariaHidden: true
|
|
220
|
-
}) : left);
|
|
210
|
+
className: "".concat(classPrefix, "-left")
|
|
211
|
+
}, backable ? /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.ArrowLeft, null) : left);
|
|
221
212
|
}, [
|
|
222
213
|
backable,
|
|
223
|
-
left
|
|
224
|
-
locale
|
|
214
|
+
left
|
|
225
215
|
]);
|
|
226
216
|
var renderRightIn = (0, _react.useCallback)(function() {
|
|
227
217
|
if (!rightIn) return null;
|
|
@@ -248,17 +238,13 @@ var SearchBar = function SearchBar(props) {
|
|
|
248
238
|
visibility: "".concat(!innerTag && value && clearable ? 'visible' : 'hidden')
|
|
249
239
|
},
|
|
250
240
|
onClick: clearaVal,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.MaskClose, {
|
|
254
|
-
ariaHidden: true
|
|
255
|
-
}));
|
|
241
|
+
"aria-label": "清除"
|
|
242
|
+
}, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.MaskClose, null));
|
|
256
243
|
}, [
|
|
257
244
|
value,
|
|
258
245
|
clearable,
|
|
259
246
|
clearaVal,
|
|
260
|
-
innerTag
|
|
261
|
-
locale
|
|
247
|
+
innerTag
|
|
262
248
|
]);
|
|
263
249
|
var onConfirm = function onConfirm() {
|
|
264
250
|
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, 16px);
|
|
75
75
|
position: relative;
|
|
76
76
|
}
|
|
77
77
|
.nut-popup-title-wrapper {
|
|
@@ -84,6 +84,7 @@
|
|
|
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));
|
|
87
88
|
}
|
|
88
89
|
.nut-popup-title-description {
|
|
89
90
|
color: var(--nutui-color-text, #505259);
|
|
@@ -95,13 +96,13 @@
|
|
|
95
96
|
}
|
|
96
97
|
.nut-popup-title-left {
|
|
97
98
|
position: absolute;
|
|
98
|
-
top: var(--nutui-popup-title-padding,
|
|
99
|
-
left: var(--nutui-popup-title-padding,
|
|
99
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
100
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
100
101
|
}
|
|
101
102
|
.nut-popup-title-right {
|
|
102
103
|
position: absolute;
|
|
103
|
-
top: var(--nutui-popup-title-padding,
|
|
104
|
-
right: var(--nutui-popup-title-padding,
|
|
104
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
105
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
105
106
|
z-index: 1;
|
|
106
107
|
width: var(--nutui-popup-icon-size, 20px);
|
|
107
108
|
height: var(--nutui-popup-icon-size, 20px);
|
|
@@ -112,22 +113,20 @@
|
|
|
112
113
|
opacity: 0.7;
|
|
113
114
|
}
|
|
114
115
|
.nut-popup-title-right-top-left {
|
|
115
|
-
top: var(--nutui-popup-title-padding,
|
|
116
|
-
left: var(--nutui-popup-title-padding,
|
|
116
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
117
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
117
118
|
}
|
|
118
119
|
.nut-popup-title-right-bottom-left {
|
|
119
|
-
bottom: var(--nutui-popup-title-padding,
|
|
120
|
-
left: var(--nutui-popup-title-padding,
|
|
120
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
121
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
121
122
|
}
|
|
122
123
|
.nut-popup-title-right-bottom-right {
|
|
123
|
-
right: var(--nutui-popup-title-padding,
|
|
124
|
-
bottom: var(--nutui-popup-title-padding,
|
|
124
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
125
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
125
126
|
}
|
|
126
127
|
.nut-popup-center {
|
|
127
128
|
top: 50%;
|
|
128
129
|
left: 50%;
|
|
129
|
-
right: auto;
|
|
130
|
-
bottom: auto;
|
|
131
130
|
min-height: 10%;
|
|
132
131
|
max-width: 295px;
|
|
133
132
|
transform: translate(-50%, -50%);
|
|
@@ -138,8 +137,6 @@
|
|
|
138
137
|
.nut-popup-bottom {
|
|
139
138
|
bottom: 0;
|
|
140
139
|
left: 0;
|
|
141
|
-
right: auto;
|
|
142
|
-
top: auto;
|
|
143
140
|
width: 100%;
|
|
144
141
|
}
|
|
145
142
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -151,8 +148,6 @@
|
|
|
151
148
|
.nut-popup-right {
|
|
152
149
|
top: 0;
|
|
153
150
|
right: 0;
|
|
154
|
-
left: auto;
|
|
155
|
-
bottom: auto;
|
|
156
151
|
width: 100px;
|
|
157
152
|
height: 100%;
|
|
158
153
|
}
|
|
@@ -162,8 +157,6 @@
|
|
|
162
157
|
.nut-popup-left {
|
|
163
158
|
top: 0;
|
|
164
159
|
left: 0;
|
|
165
|
-
right: auto;
|
|
166
|
-
bottom: auto;
|
|
167
160
|
width: 100px;
|
|
168
161
|
height: 100%;
|
|
169
162
|
}
|
|
@@ -173,8 +166,6 @@
|
|
|
173
166
|
.nut-popup-top {
|
|
174
167
|
top: 0;
|
|
175
168
|
left: 0;
|
|
176
|
-
right: auto;
|
|
177
|
-
bottom: auto;
|
|
178
169
|
width: 100%;
|
|
179
170
|
}
|
|
180
171
|
.nut-popup-top.nut-popup-round {
|
|
@@ -251,9 +242,6 @@
|
|
|
251
242
|
}
|
|
252
243
|
}
|
|
253
244
|
@keyframes popup-slide-top-exit {
|
|
254
|
-
from {
|
|
255
|
-
transform: translate3d(0, 0%, 0);
|
|
256
|
-
}
|
|
257
245
|
to {
|
|
258
246
|
transform: translate3d(0, -100%, 0);
|
|
259
247
|
}
|
|
@@ -278,9 +266,6 @@
|
|
|
278
266
|
}
|
|
279
267
|
}
|
|
280
268
|
@keyframes popup-slide-right-exit {
|
|
281
|
-
from {
|
|
282
|
-
transform: translate3d(0%, 0, 0);
|
|
283
|
-
}
|
|
284
269
|
to {
|
|
285
270
|
transform: translate3d(100%, 0, 0);
|
|
286
271
|
}
|
|
@@ -305,9 +290,6 @@
|
|
|
305
290
|
}
|
|
306
291
|
}
|
|
307
292
|
@keyframes slide-bottom-exit {
|
|
308
|
-
from {
|
|
309
|
-
transform: translate3d(0, 0%, 0);
|
|
310
|
-
}
|
|
311
293
|
to {
|
|
312
294
|
transform: translate3d(0, 100%, 0);
|
|
313
295
|
}
|
|
@@ -332,9 +314,6 @@
|
|
|
332
314
|
}
|
|
333
315
|
}
|
|
334
316
|
@keyframes popup-slide-left-exit {
|
|
335
|
-
from {
|
|
336
|
-
transform: translate3d(0%, 0, 0);
|
|
337
|
-
}
|
|
338
317
|
to {
|
|
339
318
|
transform: translate3d(-100%, 0, 0);
|
|
340
319
|
}
|
|
@@ -360,27 +339,27 @@
|
|
|
360
339
|
[dir=rtl] .nut-popup-title-left,
|
|
361
340
|
.nut-rtl .nut-popup-title-left {
|
|
362
341
|
left: auto;
|
|
363
|
-
right: var(--nutui-popup-title-padding,
|
|
342
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
364
343
|
}
|
|
365
344
|
[dir=rtl] .nut-popup-title-right,
|
|
366
345
|
.nut-rtl .nut-popup-title-right {
|
|
367
346
|
right: auto;
|
|
368
|
-
left: var(--nutui-popup-title-padding,
|
|
347
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
369
348
|
}
|
|
370
349
|
[dir=rtl] .nut-popup-title-right-top-left,
|
|
371
350
|
.nut-rtl .nut-popup-title-right-top-left {
|
|
372
351
|
left: auto;
|
|
373
|
-
right: var(--nutui-popup-title-padding,
|
|
352
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
374
353
|
}
|
|
375
354
|
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
376
355
|
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
377
356
|
left: auto;
|
|
378
|
-
right: var(--nutui-popup-title-padding,
|
|
357
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
379
358
|
}
|
|
380
359
|
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
381
360
|
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
382
361
|
right: auto;
|
|
383
|
-
left: var(--nutui-popup-title-padding,
|
|
362
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
384
363
|
}
|
|
385
364
|
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
386
365
|
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
|
|
@@ -58,7 +58,8 @@ var Step = function Step(props) {
|
|
|
58
58
|
type,
|
|
59
59
|
className,
|
|
60
60
|
description,
|
|
61
|
-
classPrefix
|
|
61
|
+
classPrefix,
|
|
62
|
+
parentType
|
|
62
63
|
]);
|
|
63
64
|
// 头部渲染
|
|
64
65
|
var renderHeadType = (0, _react.useMemo)(function() {
|
|
@@ -81,7 +82,10 @@ var Step = function Step(props) {
|
|
|
81
82
|
}, [
|
|
82
83
|
type,
|
|
83
84
|
value,
|
|
84
|
-
icon
|
|
85
|
+
icon,
|
|
86
|
+
parentIcon,
|
|
87
|
+
parentType,
|
|
88
|
+
classPrefix
|
|
85
89
|
]);
|
|
86
90
|
// 内容渲染
|
|
87
91
|
var renderContent = (0, _react.useMemo)(function() {
|
|
@@ -95,7 +99,8 @@ var Step = function Step(props) {
|
|
|
95
99
|
}, description));
|
|
96
100
|
}, [
|
|
97
101
|
title,
|
|
98
|
-
description
|
|
102
|
+
description,
|
|
103
|
+
classPrefix
|
|
99
104
|
]);
|
|
100
105
|
return /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
101
106
|
className: classes,
|
|
@@ -73,9 +73,11 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
+
height: 14px;
|
|
76
77
|
line-height: 14px;
|
|
77
78
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, 12px));
|
|
78
79
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
|
|
80
|
+
overflow: hidden;
|
|
79
81
|
white-space: nowrap;
|
|
80
82
|
}
|
|
81
83
|
.nut-step-description {
|
|
@@ -73,9 +73,11 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
+
height: 14px;
|
|
76
77
|
line-height: 14px;
|
|
77
78
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-size-s, 12px));
|
|
78
79
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title, #1a1a1a));
|
|
80
|
+
overflow: hidden;
|
|
79
81
|
white-space: nowrap;
|
|
80
82
|
}
|
|
81
83
|
.nut-step-description {
|
|
@@ -73,9 +73,11 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
+
height: 14px;
|
|
76
77
|
line-height: 14px;
|
|
77
78
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-text-small));
|
|
78
79
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title));
|
|
80
|
+
overflow: hidden;
|
|
79
81
|
white-space: nowrap;
|
|
80
82
|
}
|
|
81
83
|
.nut-step-description {
|
|
@@ -73,9 +73,11 @@
|
|
|
73
73
|
z-index: 1;
|
|
74
74
|
}
|
|
75
75
|
.nut-step-title {
|
|
76
|
+
height: 14px;
|
|
76
77
|
line-height: 14px;
|
|
77
78
|
font-size: var(--nutui-steps-base-title-font-size, var(--nutui-font-text-small));
|
|
78
79
|
color: var(--nutui-steps-base-title-color, var(--nutui-color-title));
|
|
80
|
+
overflow: hidden;
|
|
79
81
|
white-space: nowrap;
|
|
80
82
|
}
|
|
81
83
|
.nut-step-description {
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
&-head {
|
|
130
130
|
justify-content: center;
|
|
131
|
-
margin-bottom:
|
|
131
|
+
margin-bottom: 6px;
|
|
132
132
|
|
|
133
133
|
&-dot-wrap,
|
|
134
134
|
&-icon-wrap,
|
|
@@ -151,14 +151,7 @@
|
|
|
151
151
|
&-main {
|
|
152
152
|
align-items: center;
|
|
153
153
|
margin-left: 0;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
&-title {
|
|
157
|
-
height: auto;
|
|
158
|
-
line-height: 20px;
|
|
159
|
-
white-space: normal;
|
|
160
|
-
overflow-wrap: break-word;
|
|
161
|
-
text-align: center;
|
|
154
|
+
margin-top: 2px;
|
|
162
155
|
}
|
|
163
156
|
}
|
|
164
157
|
|
|
@@ -219,7 +212,7 @@
|
|
|
219
212
|
&-head {
|
|
220
213
|
align-items: center;
|
|
221
214
|
justify-content: center;
|
|
222
|
-
height:
|
|
215
|
+
height: 18px;
|
|
223
216
|
|
|
224
217
|
&-icon {
|
|
225
218
|
width: $steps-vertical-head-icon-size;
|