@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
|
@@ -9,7 +9,6 @@ import { Image as TImage, View } from "@tarojs/components";
|
|
|
9
9
|
import { Image as ImageIcon, ImageError } from "@nutui/icons-react-taro";
|
|
10
10
|
import classNames from "classnames";
|
|
11
11
|
import { pxTransform } from "../../utils/taro/px-transform";
|
|
12
|
-
import { useConfig } from "../configprovider/index";
|
|
13
12
|
var defaultProps = {
|
|
14
13
|
src: '',
|
|
15
14
|
error: true,
|
|
@@ -31,7 +30,6 @@ export var Image = function(props) {
|
|
|
31
30
|
]);
|
|
32
31
|
var _useState = _sliced_to_array(useState(true), 2), innerLoading = _useState[0], setInnerLoading = _useState[1];
|
|
33
32
|
var _useState1 = _sliced_to_array(useState(false), 2), isError = _useState1[0], setIsError = _useState1[1];
|
|
34
|
-
var locale = useConfig().locale;
|
|
35
33
|
var pxCheck = function(value) {
|
|
36
34
|
return Number.isNaN(Number(value)) ? String(value) : pxTransform(+value);
|
|
37
35
|
};
|
|
@@ -64,11 +62,8 @@ export var Image = function(props) {
|
|
|
64
62
|
if (!isError) return null;
|
|
65
63
|
if (typeof error === 'boolean' && error === true && !innerLoading) {
|
|
66
64
|
return /*#__PURE__*/ React.createElement(View, {
|
|
67
|
-
className: "".concat(classPrefix, "-error")
|
|
68
|
-
|
|
69
|
-
}, /*#__PURE__*/ React.createElement(ImageError, {
|
|
70
|
-
ariaHidden: true
|
|
71
|
-
}));
|
|
65
|
+
className: "".concat(classPrefix, "-error")
|
|
66
|
+
}, /*#__PURE__*/ React.createElement(ImageError, null));
|
|
72
67
|
}
|
|
73
68
|
if (/*#__PURE__*/ React.isValidElement(error) && !innerLoading) {
|
|
74
69
|
return /*#__PURE__*/ React.createElement(View, {
|
|
@@ -79,8 +74,7 @@ export var Image = function(props) {
|
|
|
79
74
|
}, [
|
|
80
75
|
error,
|
|
81
76
|
isError,
|
|
82
|
-
innerLoading
|
|
83
|
-
locale
|
|
77
|
+
innerLoading
|
|
84
78
|
]);
|
|
85
79
|
var renderLoading = useCallback(function() {
|
|
86
80
|
if (!loading) return null;
|
|
@@ -106,8 +100,6 @@ export var Image = function(props) {
|
|
|
106
100
|
className: classNames("".concat(classPrefix, "-default"), className && "".concat(className, "-image"), _define_property({}, "".concat(classPrefix, "-error"), isError)),
|
|
107
101
|
style: imgStyle,
|
|
108
102
|
src: src,
|
|
109
|
-
// @ts-ignore
|
|
110
|
-
ariaHidden: isError,
|
|
111
103
|
onLoad: function(e) {
|
|
112
104
|
return handleLoad(e);
|
|
113
105
|
},
|
|
@@ -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 {
|
|
@@ -191,9 +191,7 @@ export var Input = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
191
191
|
confirmType: confirmType,
|
|
192
192
|
onBlur: handleBlur,
|
|
193
193
|
onFocus: handleFocus,
|
|
194
|
-
onInput: handleInput
|
|
195
|
-
ariaLabel: props.ariaLabel || // eslint-disable-next-line no-nested-ternary
|
|
196
|
-
(value ? undefined : placeholder === undefined ? locale.placeholder : placeholder)
|
|
194
|
+
onInput: handleInput
|
|
197
195
|
})), /*#__PURE__*/ React.createElement(View, {
|
|
198
196
|
style: {
|
|
199
197
|
display: clearable && !readOnly && active && value.length > 0 ? 'flex' : 'none',
|
|
@@ -206,13 +204,8 @@ export var Input = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
206
204
|
setValue('');
|
|
207
205
|
onClear === null || onClear === void 0 ? void 0 : onClear('');
|
|
208
206
|
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
ariaLabel: locale.clear || '清除'
|
|
212
|
-
}, clearIcon ? /*#__PURE__*/ React.cloneElement(clearIcon, {
|
|
213
|
-
ariaHidden: true
|
|
214
|
-
}) : /*#__PURE__*/ React.createElement(MaskClose, {
|
|
215
|
-
ariaHidden: true,
|
|
207
|
+
}
|
|
208
|
+
}, clearIcon || /*#__PURE__*/ React.createElement(MaskClose, {
|
|
216
209
|
className: "nut-input-clear"
|
|
217
210
|
})));
|
|
218
211
|
});
|
|
@@ -230,7 +230,7 @@ export var InputNumber = function(props) {
|
|
|
230
230
|
className: classNames("".concat(classPrefix, "-icon ").concat(classPrefix, "-icon-minus"), _define_property({}, "".concat(classPrefix, "-icon-disabled"), Number(shadowValue) <= Number(min) || disabled))
|
|
231
231
|
})), /*#__PURE__*/ React.createElement("input", {
|
|
232
232
|
className: classNames("".concat(classPrefix, "-input"), _define_property({}, "".concat(classPrefix, "-input-disabled"), disabled)),
|
|
233
|
-
type:
|
|
233
|
+
type: type,
|
|
234
234
|
ref: inputRef,
|
|
235
235
|
inputMode: type === 'digit' ? 'decimal' : 'numeric',
|
|
236
236
|
disabled: disabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { useImperativeHandle, useRef } from "react";
|
|
2
|
-
import { createSelectorQuery, getEnv,
|
|
1
|
+
import React, { useImperativeHandle, useLayoutEffect, useRef } from "react";
|
|
2
|
+
import { createSelectorQuery, getEnv, useUnload } from "@tarojs/taro";
|
|
3
3
|
import lottie from "@nutui/lottie-miniprogram";
|
|
4
4
|
import { getWindowInfo } from "../../utils/taro/get-system-info";
|
|
5
5
|
import { useUuid } from "../../hooks/use-uuid";
|
|
@@ -9,17 +9,11 @@ export var Lottie = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
|
9
9
|
var animation = useRef();
|
|
10
10
|
var inited = useRef(false);
|
|
11
11
|
var source = props.source, _props_loop = props.loop, loop = _props_loop === void 0 ? true : _props_loop, _props_autoPlay = props.autoPlay, autoPlay = _props_autoPlay === void 0 ? true : _props_autoPlay, onComplete = props.onComplete, style = props.style, _props_speed = props.speed, speed = _props_speed === void 0 ? 1 : _props_speed, _props_dpr = props.dpr, dpr = _props_dpr === void 0 ? true : _props_dpr;
|
|
12
|
-
var setSpeed = function() {
|
|
13
|
-
if (animation.current) {
|
|
14
|
-
animation.current.setSpeed(Math.abs(speed));
|
|
15
|
-
animation.current.setDirection(speed > 0 ? 1 : -1);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
12
|
useImperativeHandle(ref, function() {
|
|
19
13
|
return animation.current || {};
|
|
20
14
|
});
|
|
21
15
|
var pixelRatio = useRef(getWindowInfo().pixelRatio);
|
|
22
|
-
|
|
16
|
+
useLayoutEffect(function() {
|
|
23
17
|
createSelectorQuery().select("#".concat(id)).fields({
|
|
24
18
|
node: true,
|
|
25
19
|
size: true
|
|
@@ -43,14 +37,28 @@ export var Lottie = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
|
43
37
|
context: context
|
|
44
38
|
}
|
|
45
39
|
});
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
if (onComplete) {
|
|
41
|
+
animation.current.addEventListener('complete', onComplete);
|
|
42
|
+
}
|
|
43
|
+
if (animation.current) {
|
|
44
|
+
animation.current.setSpeed(Math.abs(speed));
|
|
45
|
+
animation.current.setDirection(speed > 0 ? 1 : -1);
|
|
46
|
+
}
|
|
48
47
|
inited.current = true;
|
|
49
48
|
} catch (error) {
|
|
50
49
|
console.error(error);
|
|
51
50
|
}
|
|
52
51
|
}).exec();
|
|
53
|
-
}
|
|
52
|
+
}, [
|
|
53
|
+
autoPlay,
|
|
54
|
+
dpr,
|
|
55
|
+
id,
|
|
56
|
+
loop,
|
|
57
|
+
onComplete,
|
|
58
|
+
source,
|
|
59
|
+
speed,
|
|
60
|
+
style
|
|
61
|
+
]);
|
|
54
62
|
useUnload(function() {
|
|
55
63
|
onComplete && animation.current && animation.current.removeEventListener('complete', onComplete);
|
|
56
64
|
animation.current && animation.current.destroy();
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
/* #ifndef dynamic*/
|
|
17
17
|
box-sizing: content-box;
|
|
18
18
|
/* #endif */
|
|
19
|
-
padding: var(--nutui-popup-title-padding,
|
|
19
|
+
padding: var(--nutui-popup-title-padding, 16px);
|
|
20
20
|
color: var(--nutui-color-title, #1a1a1a);
|
|
21
21
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
22
22
|
}
|
|
@@ -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 {
|
|
@@ -417,7 +396,7 @@
|
|
|
417
396
|
/* #ifndef dynamic*/
|
|
418
397
|
box-sizing: content-box;
|
|
419
398
|
/* #endif */
|
|
420
|
-
padding: var(--nutui-popup-title-padding,
|
|
399
|
+
padding: var(--nutui-popup-title-padding, 16px);
|
|
421
400
|
color: var(--nutui-color-title, #1a1a1a);
|
|
422
401
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
423
402
|
}
|
|
@@ -192,8 +192,6 @@ import Video from "./video/index";
|
|
|
192
192
|
export * from "./video/index";
|
|
193
193
|
import VirtualList from "./virtuallist/index";
|
|
194
194
|
export * from "./virtuallist/index";
|
|
195
|
-
import QuickEnter from "./quickenter/index";
|
|
196
|
-
export * from "./quickenter/index";
|
|
197
195
|
import AvatarCropper from "./avatarcropper/index";
|
|
198
196
|
export * from "./avatarcropper/index";
|
|
199
197
|
import Barrage from "./barrage/index";
|
|
@@ -211,4 +209,4 @@ export * from "./watermark/index";
|
|
|
211
209
|
export * from "../types";
|
|
212
210
|
export * from "../utils/index";
|
|
213
211
|
export * from "../hooks/index";
|
|
214
|
-
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList,
|
|
212
|
+
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
|
|
@@ -192,8 +192,6 @@ import Video from "./video/index";
|
|
|
192
192
|
export * from "./video/index";
|
|
193
193
|
import VirtualList from "./virtuallist/index";
|
|
194
194
|
export * from "./virtuallist/index";
|
|
195
|
-
import QuickEnter from "./quickenter/index";
|
|
196
|
-
export * from "./quickenter/index";
|
|
197
195
|
import AvatarCropper from "./avatarcropper/index";
|
|
198
196
|
export * from "./avatarcropper/index";
|
|
199
197
|
import Barrage from "./barrage/index";
|
|
@@ -211,4 +209,4 @@ export * from "./watermark/index";
|
|
|
211
209
|
export * from "../types";
|
|
212
210
|
export * from "../utils/index";
|
|
213
211
|
export * from "../hooks/index";
|
|
214
|
-
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList,
|
|
212
|
+
export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
|
|
@@ -3,11 +3,11 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
|
3
3
|
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
4
4
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
5
5
|
import React, { useEffect, useState } from "react";
|
|
6
|
+
import { CSSTransition } from "react-transition-group";
|
|
6
7
|
import classNames from "classnames";
|
|
7
8
|
import { View } from "@tarojs/components";
|
|
8
9
|
import { ComponentDefaults } from "../../utils/typings";
|
|
9
10
|
import { useLockScrollTaro } from "../../hooks/taro/use-lock-scoll";
|
|
10
|
-
import ConfigurableCSSTransition from "../../utils/taro/ConfigurableCSSTransition";
|
|
11
11
|
export var defaultOverlayProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
12
12
|
zIndex: 1000,
|
|
13
13
|
duration: 300,
|
|
@@ -59,11 +59,11 @@ export var Overlay = function(props) {
|
|
|
59
59
|
onClick: handleClick
|
|
60
60
|
}), children);
|
|
61
61
|
};
|
|
62
|
-
return /*#__PURE__*/ React.createElement(
|
|
62
|
+
return /*#__PURE__*/ React.createElement(CSSTransition, {
|
|
63
63
|
nodeRef: nodeRef,
|
|
64
64
|
classNames: "".concat(classPrefix, "-slide"),
|
|
65
65
|
unmountOnExit: true,
|
|
66
|
-
timeout:
|
|
66
|
+
timeout: duration,
|
|
67
67
|
in: innerVisible,
|
|
68
68
|
onEntered: afterShow,
|
|
69
69
|
onExited: afterClose
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: space-between;
|
|
12
12
|
height: var(--nutui-popup-title-height, 50px);
|
|
13
|
-
padding: var(--nutui-popup-title-padding,
|
|
13
|
+
padding: var(--nutui-popup-title-padding, 16px);
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
16
16
|
}
|