@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
|
@@ -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 {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
color: $color-title;
|
|
27
27
|
font-weight: $font-weight-bold;
|
|
28
28
|
font-size: $popup-title-font-size;
|
|
29
|
+
line-height: $popup-title-font-size;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
&-description {
|
|
@@ -78,8 +79,6 @@
|
|
|
78
79
|
&-center {
|
|
79
80
|
top: 50%;
|
|
80
81
|
left: 50%;
|
|
81
|
-
right: auto;
|
|
82
|
-
bottom: auto;
|
|
83
82
|
min-height: 10%;
|
|
84
83
|
max-width: 295px;
|
|
85
84
|
transform: translate(-50%, -50%);
|
|
@@ -92,8 +91,6 @@
|
|
|
92
91
|
&-bottom {
|
|
93
92
|
bottom: 0;
|
|
94
93
|
left: 0;
|
|
95
|
-
right: auto;
|
|
96
|
-
top: auto;
|
|
97
94
|
width: 100%;
|
|
98
95
|
|
|
99
96
|
&.nut-popup-round {
|
|
@@ -108,8 +105,6 @@
|
|
|
108
105
|
&-right {
|
|
109
106
|
top: 0;
|
|
110
107
|
right: 0;
|
|
111
|
-
left: auto;
|
|
112
|
-
bottom: auto;
|
|
113
108
|
width: 100px;
|
|
114
109
|
height: 100%;
|
|
115
110
|
|
|
@@ -121,8 +116,6 @@
|
|
|
121
116
|
&-left {
|
|
122
117
|
top: 0;
|
|
123
118
|
left: 0;
|
|
124
|
-
right: auto;
|
|
125
|
-
bottom: auto;
|
|
126
119
|
width: 100px;
|
|
127
120
|
height: 100%;
|
|
128
121
|
|
|
@@ -134,8 +127,6 @@
|
|
|
134
127
|
&-top {
|
|
135
128
|
top: 0;
|
|
136
129
|
left: 0;
|
|
137
|
-
right: auto;
|
|
138
|
-
bottom: auto;
|
|
139
130
|
width: 100%;
|
|
140
131
|
|
|
141
132
|
&.nut-popup-round {
|
|
@@ -219,9 +210,6 @@
|
|
|
219
210
|
}
|
|
220
211
|
|
|
221
212
|
@keyframes popup-slide-top-exit {
|
|
222
|
-
from {
|
|
223
|
-
transform: translate3d(0, 0%, 0);
|
|
224
|
-
}
|
|
225
213
|
to {
|
|
226
214
|
transform: translate3d(0, -100%, 0);
|
|
227
215
|
}
|
|
@@ -252,9 +240,6 @@
|
|
|
252
240
|
}
|
|
253
241
|
|
|
254
242
|
@keyframes popup-slide-right-exit {
|
|
255
|
-
from {
|
|
256
|
-
transform: translate3d(0%, 0, 0);
|
|
257
|
-
}
|
|
258
243
|
to {
|
|
259
244
|
transform: translate3d(100%, 0, 0);
|
|
260
245
|
}
|
|
@@ -285,9 +270,6 @@
|
|
|
285
270
|
}
|
|
286
271
|
|
|
287
272
|
@keyframes slide-bottom-exit {
|
|
288
|
-
from {
|
|
289
|
-
transform: translate3d(0, 0%, 0);
|
|
290
|
-
}
|
|
291
273
|
to {
|
|
292
274
|
transform: translate3d(0, 100%, 0);
|
|
293
275
|
}
|
|
@@ -318,9 +300,6 @@
|
|
|
318
300
|
}
|
|
319
301
|
|
|
320
302
|
@keyframes popup-slide-left-exit {
|
|
321
|
-
from {
|
|
322
|
-
transform: translate3d(0%, 0, 0);
|
|
323
|
-
}
|
|
324
303
|
to {
|
|
325
304
|
transform: translate3d(-100%, 0, 0);
|
|
326
305
|
}
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
color: var(--nutui-color-title);
|
|
31
31
|
font-weight: var(--nutui-font-weight-bold);
|
|
32
32
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-h1));
|
|
33
|
+
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-h1));
|
|
33
34
|
}
|
|
34
35
|
.nut-popup-title-description {
|
|
35
36
|
color: var(--nutui-color-text);
|
|
@@ -72,8 +73,6 @@
|
|
|
72
73
|
.nut-popup-center {
|
|
73
74
|
top: 50%;
|
|
74
75
|
left: 50%;
|
|
75
|
-
right: auto;
|
|
76
|
-
bottom: auto;
|
|
77
76
|
min-height: 10%;
|
|
78
77
|
max-width: 295px;
|
|
79
78
|
transform: translate(-50%, -50%);
|
|
@@ -84,8 +83,6 @@
|
|
|
84
83
|
.nut-popup-bottom {
|
|
85
84
|
bottom: 0;
|
|
86
85
|
left: 0;
|
|
87
|
-
right: auto;
|
|
88
|
-
top: auto;
|
|
89
86
|
width: 100%;
|
|
90
87
|
}
|
|
91
88
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -97,8 +94,6 @@
|
|
|
97
94
|
.nut-popup-right {
|
|
98
95
|
top: 0;
|
|
99
96
|
right: 0;
|
|
100
|
-
left: auto;
|
|
101
|
-
bottom: auto;
|
|
102
97
|
width: 100px;
|
|
103
98
|
height: 100%;
|
|
104
99
|
}
|
|
@@ -108,8 +103,6 @@
|
|
|
108
103
|
.nut-popup-left {
|
|
109
104
|
top: 0;
|
|
110
105
|
left: 0;
|
|
111
|
-
right: auto;
|
|
112
|
-
bottom: auto;
|
|
113
106
|
width: 100px;
|
|
114
107
|
height: 100%;
|
|
115
108
|
}
|
|
@@ -119,8 +112,6 @@
|
|
|
119
112
|
.nut-popup-top {
|
|
120
113
|
top: 0;
|
|
121
114
|
left: 0;
|
|
122
|
-
right: auto;
|
|
123
|
-
bottom: auto;
|
|
124
115
|
width: 100%;
|
|
125
116
|
}
|
|
126
117
|
.nut-popup-top.nut-popup-round {
|
|
@@ -197,9 +188,6 @@
|
|
|
197
188
|
}
|
|
198
189
|
}
|
|
199
190
|
@keyframes popup-slide-top-exit {
|
|
200
|
-
from {
|
|
201
|
-
transform: translate3d(0, 0%, 0);
|
|
202
|
-
}
|
|
203
191
|
to {
|
|
204
192
|
transform: translate3d(0, -100%, 0);
|
|
205
193
|
}
|
|
@@ -224,9 +212,6 @@
|
|
|
224
212
|
}
|
|
225
213
|
}
|
|
226
214
|
@keyframes popup-slide-right-exit {
|
|
227
|
-
from {
|
|
228
|
-
transform: translate3d(0%, 0, 0);
|
|
229
|
-
}
|
|
230
215
|
to {
|
|
231
216
|
transform: translate3d(100%, 0, 0);
|
|
232
217
|
}
|
|
@@ -251,9 +236,6 @@
|
|
|
251
236
|
}
|
|
252
237
|
}
|
|
253
238
|
@keyframes slide-bottom-exit {
|
|
254
|
-
from {
|
|
255
|
-
transform: translate3d(0, 0%, 0);
|
|
256
|
-
}
|
|
257
239
|
to {
|
|
258
240
|
transform: translate3d(0, 100%, 0);
|
|
259
241
|
}
|
|
@@ -278,9 +260,6 @@
|
|
|
278
260
|
}
|
|
279
261
|
}
|
|
280
262
|
@keyframes popup-slide-left-exit {
|
|
281
|
-
from {
|
|
282
|
-
transform: translate3d(0%, 0, 0);
|
|
283
|
-
}
|
|
284
263
|
to {
|
|
285
264
|
transform: translate3d(-100%, 0, 0);
|
|
286
265
|
}
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
color: $color-title;
|
|
27
27
|
font-weight: $font-weight-bold;
|
|
28
28
|
font-size: $popup-title-font-size;
|
|
29
|
+
line-height: $popup-title-font-size;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
&-description {
|
|
@@ -78,8 +79,6 @@
|
|
|
78
79
|
&-center {
|
|
79
80
|
top: 50%;
|
|
80
81
|
left: 50%;
|
|
81
|
-
right: auto;
|
|
82
|
-
bottom: auto;
|
|
83
82
|
min-height: 10%;
|
|
84
83
|
max-width: 295px;
|
|
85
84
|
transform: translate(-50%, -50%);
|
|
@@ -92,8 +91,6 @@
|
|
|
92
91
|
&-bottom {
|
|
93
92
|
bottom: 0;
|
|
94
93
|
left: 0;
|
|
95
|
-
right: auto;
|
|
96
|
-
top: auto;
|
|
97
94
|
width: 100%;
|
|
98
95
|
|
|
99
96
|
&.nut-popup-round {
|
|
@@ -108,8 +105,6 @@
|
|
|
108
105
|
&-right {
|
|
109
106
|
top: 0;
|
|
110
107
|
right: 0;
|
|
111
|
-
left: auto;
|
|
112
|
-
bottom: auto;
|
|
113
108
|
width: 100px;
|
|
114
109
|
height: 100%;
|
|
115
110
|
|
|
@@ -121,8 +116,6 @@
|
|
|
121
116
|
&-left {
|
|
122
117
|
top: 0;
|
|
123
118
|
left: 0;
|
|
124
|
-
right: auto;
|
|
125
|
-
bottom: auto;
|
|
126
119
|
width: 100px;
|
|
127
120
|
height: 100%;
|
|
128
121
|
|
|
@@ -134,8 +127,6 @@
|
|
|
134
127
|
&-top {
|
|
135
128
|
top: 0;
|
|
136
129
|
left: 0;
|
|
137
|
-
right: auto;
|
|
138
|
-
bottom: auto;
|
|
139
130
|
width: 100%;
|
|
140
131
|
|
|
141
132
|
&.nut-popup-round {
|
|
@@ -219,9 +210,6 @@
|
|
|
219
210
|
}
|
|
220
211
|
|
|
221
212
|
@keyframes popup-slide-top-exit {
|
|
222
|
-
from {
|
|
223
|
-
transform: translate3d(0, 0%, 0);
|
|
224
|
-
}
|
|
225
213
|
to {
|
|
226
214
|
transform: translate3d(0, -100%, 0);
|
|
227
215
|
}
|
|
@@ -252,9 +240,6 @@
|
|
|
252
240
|
}
|
|
253
241
|
|
|
254
242
|
@keyframes popup-slide-right-exit {
|
|
255
|
-
from {
|
|
256
|
-
transform: translate3d(0%, 0, 0);
|
|
257
|
-
}
|
|
258
243
|
to {
|
|
259
244
|
transform: translate3d(100%, 0, 0);
|
|
260
245
|
}
|
|
@@ -285,9 +270,6 @@
|
|
|
285
270
|
}
|
|
286
271
|
|
|
287
272
|
@keyframes slide-bottom-exit {
|
|
288
|
-
from {
|
|
289
|
-
transform: translate3d(0, 0%, 0);
|
|
290
|
-
}
|
|
291
273
|
to {
|
|
292
274
|
transform: translate3d(0, 100%, 0);
|
|
293
275
|
}
|
|
@@ -318,9 +300,6 @@
|
|
|
318
300
|
}
|
|
319
301
|
|
|
320
302
|
@keyframes popup-slide-left-exit {
|
|
321
|
-
from {
|
|
322
|
-
transform: translate3d(0%, 0, 0);
|
|
323
|
-
}
|
|
324
303
|
to {
|
|
325
304
|
transform: translate3d(-100%, 0, 0);
|
|
326
305
|
}
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
color: var(--nutui-color-title);
|
|
31
31
|
font-weight: var(--nutui-font-weight-bold);
|
|
32
32
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-h1));
|
|
33
|
+
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-h1));
|
|
33
34
|
}
|
|
34
35
|
.nut-popup-title-description {
|
|
35
36
|
color: var(--nutui-color-text);
|
|
@@ -72,8 +73,6 @@
|
|
|
72
73
|
.nut-popup-center {
|
|
73
74
|
top: 50%;
|
|
74
75
|
left: 50%;
|
|
75
|
-
right: auto;
|
|
76
|
-
bottom: auto;
|
|
77
76
|
min-height: 10%;
|
|
78
77
|
max-width: 295px;
|
|
79
78
|
transform: translate(-50%, -50%);
|
|
@@ -84,8 +83,6 @@
|
|
|
84
83
|
.nut-popup-bottom {
|
|
85
84
|
bottom: 0;
|
|
86
85
|
left: 0;
|
|
87
|
-
right: auto;
|
|
88
|
-
top: auto;
|
|
89
86
|
width: 100%;
|
|
90
87
|
}
|
|
91
88
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -97,8 +94,6 @@
|
|
|
97
94
|
.nut-popup-right {
|
|
98
95
|
top: 0;
|
|
99
96
|
right: 0;
|
|
100
|
-
left: auto;
|
|
101
|
-
bottom: auto;
|
|
102
97
|
width: 100px;
|
|
103
98
|
height: 100%;
|
|
104
99
|
}
|
|
@@ -108,8 +103,6 @@
|
|
|
108
103
|
.nut-popup-left {
|
|
109
104
|
top: 0;
|
|
110
105
|
left: 0;
|
|
111
|
-
right: auto;
|
|
112
|
-
bottom: auto;
|
|
113
106
|
width: 100px;
|
|
114
107
|
height: 100%;
|
|
115
108
|
}
|
|
@@ -119,8 +112,6 @@
|
|
|
119
112
|
.nut-popup-top {
|
|
120
113
|
top: 0;
|
|
121
114
|
left: 0;
|
|
122
|
-
right: auto;
|
|
123
|
-
bottom: auto;
|
|
124
115
|
width: 100%;
|
|
125
116
|
}
|
|
126
117
|
.nut-popup-top.nut-popup-round {
|
|
@@ -197,9 +188,6 @@
|
|
|
197
188
|
}
|
|
198
189
|
}
|
|
199
190
|
@keyframes popup-slide-top-exit {
|
|
200
|
-
from {
|
|
201
|
-
transform: translate3d(0, 0%, 0);
|
|
202
|
-
}
|
|
203
191
|
to {
|
|
204
192
|
transform: translate3d(0, -100%, 0);
|
|
205
193
|
}
|
|
@@ -224,9 +212,6 @@
|
|
|
224
212
|
}
|
|
225
213
|
}
|
|
226
214
|
@keyframes popup-slide-right-exit {
|
|
227
|
-
from {
|
|
228
|
-
transform: translate3d(0%, 0, 0);
|
|
229
|
-
}
|
|
230
215
|
to {
|
|
231
216
|
transform: translate3d(100%, 0, 0);
|
|
232
217
|
}
|
|
@@ -251,9 +236,6 @@
|
|
|
251
236
|
}
|
|
252
237
|
}
|
|
253
238
|
@keyframes slide-bottom-exit {
|
|
254
|
-
from {
|
|
255
|
-
transform: translate3d(0, 0%, 0);
|
|
256
|
-
}
|
|
257
239
|
to {
|
|
258
240
|
transform: translate3d(0, 100%, 0);
|
|
259
241
|
}
|
|
@@ -278,9 +260,6 @@
|
|
|
278
260
|
}
|
|
279
261
|
}
|
|
280
262
|
@keyframes popup-slide-left-exit {
|
|
281
|
-
from {
|
|
282
|
-
transform: translate3d(0%, 0, 0);
|
|
283
|
-
}
|
|
284
263
|
to {
|
|
285
264
|
transform: translate3d(-100%, 0, 0);
|
|
286
265
|
}
|
|
@@ -7,8 +7,7 @@ import classNames from "classnames";
|
|
|
7
7
|
import { ComponentDefaults } from "../../utils/typings";
|
|
8
8
|
import { useRtl } from "../configprovider/index";
|
|
9
9
|
import { PriceColorEnum } from "../../types";
|
|
10
|
-
import { harmony } from "../../utils/taro/platform";
|
|
11
|
-
import { shouldRenderPriceAsRaw, hasNonPriceChars } from "../../utils/should-render-price-raw";
|
|
10
|
+
import { harmony, td } from "../../utils/taro/platform";
|
|
12
11
|
var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
13
12
|
color: 'primary',
|
|
14
13
|
price: 0,
|
|
@@ -17,25 +16,16 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
17
16
|
thousands: false,
|
|
18
17
|
position: 'before',
|
|
19
18
|
size: 'normal',
|
|
20
|
-
line: false
|
|
21
|
-
raw: false
|
|
19
|
+
line: false
|
|
22
20
|
});
|
|
23
21
|
export var Price = function(props) {
|
|
24
|
-
var _$_object_spread = _object_spread({}, defaultProps, props), color = _$_object_spread.color, originalPrice = _$_object_spread.price, symbol = _$_object_spread.symbol, digits = _$_object_spread.digits, thousands = _$_object_spread.thousands, position = _$_object_spread.position, size = _$_object_spread.size, line = _$_object_spread.line,
|
|
22
|
+
var _$_object_spread = _object_spread({}, defaultProps, props), color = _$_object_spread.color, originalPrice = _$_object_spread.price, symbol = _$_object_spread.symbol, digits = _$_object_spread.digits, thousands = _$_object_spread.thousands, position = _$_object_spread.position, size = _$_object_spread.size, line = _$_object_spread.line, className = _$_object_spread.className, style = _$_object_spread.style;
|
|
25
23
|
var classPrefix = 'nut-price';
|
|
26
24
|
var rtl = useRtl();
|
|
27
|
-
var isRenderPriceRaw = useMemo(function() {
|
|
28
|
-
return typeof originalPrice === 'string' && shouldRenderPriceAsRaw(originalPrice) || raw && typeof originalPrice === 'string' && hasNonPriceChars(originalPrice);
|
|
29
|
-
}, [
|
|
30
|
-
originalPrice,
|
|
31
|
-
raw
|
|
32
|
-
]);
|
|
33
25
|
var price = useMemo(function() {
|
|
34
|
-
if (isRenderPriceRaw) return '';
|
|
35
26
|
return originalPrice.toString().replace(/[^\d.]/g, '');
|
|
36
27
|
}, [
|
|
37
|
-
originalPrice
|
|
38
|
-
isRenderPriceRaw
|
|
28
|
+
originalPrice
|
|
39
29
|
]);
|
|
40
30
|
var isCustomPriceColor = useMemo(function() {
|
|
41
31
|
var specificPriceColor = Object.values(PriceColorEnum);
|
|
@@ -77,7 +67,7 @@ export var Price = function(props) {
|
|
|
77
67
|
return num;
|
|
78
68
|
};
|
|
79
69
|
var formatDecimal = function(decimalNum) {
|
|
80
|
-
if (Number(decimalNum) === 0
|
|
70
|
+
if (Number(decimalNum) === 0) {
|
|
81
71
|
decimalNum = 0;
|
|
82
72
|
}
|
|
83
73
|
if (checkPoint(decimalNum)) {
|
|
@@ -101,56 +91,27 @@ export var Price = function(props) {
|
|
|
101
91
|
"".concat(classPrefix, "-symbol-").concat(size),
|
|
102
92
|
(_obj = {}, _define_property(_obj, "".concat(classPrefix, "-line"), line), _define_property(_obj, "".concat(classPrefix, "-rtl"), rtl), _obj)
|
|
103
93
|
]),
|
|
104
|
-
style: priceColorStyle
|
|
105
|
-
// @ts-ignore
|
|
106
|
-
ariaHidden: true
|
|
94
|
+
style: priceColorStyle
|
|
107
95
|
}, symbol ? replaceSpecialChar(symbol) : '');
|
|
108
96
|
};
|
|
109
97
|
var renderInner = function() {
|
|
110
98
|
return /*#__PURE__*/ React.createElement(React.Fragment, null, symbol && position === 'before' ? renderSymbol() : null, /*#__PURE__*/ React.createElement(Text, {
|
|
111
99
|
className: "".concat(classPrefix, "-integer ").concat(classPrefix, "-integer-").concat(size, " ").concat(line ? "".concat(classPrefix, "-line") : ''),
|
|
112
|
-
style: priceColorStyle
|
|
113
|
-
// @ts-ignore
|
|
114
|
-
ariaHidden: true
|
|
100
|
+
style: priceColorStyle
|
|
115
101
|
}, formatThousands(price)), digits !== 0 ? /*#__PURE__*/ React.createElement(React.Fragment, null, checkPoint(price) || digits ? /*#__PURE__*/ React.createElement(Text, {
|
|
116
102
|
className: "".concat(classPrefix, "-decimal ").concat(classPrefix, "-decimal-").concat(size, " ").concat(line ? "".concat(classPrefix, "-line") : ''),
|
|
117
|
-
style: priceColorStyle
|
|
118
|
-
// @ts-ignore
|
|
119
|
-
ariaHidden: true
|
|
103
|
+
style: priceColorStyle
|
|
120
104
|
}, ".") : null, /*#__PURE__*/ React.createElement(Text, {
|
|
121
105
|
className: "".concat(classPrefix, "-decimal ").concat(classPrefix, "-decimal-").concat(size, " ").concat(line ? "".concat(classPrefix, "-line") : ''),
|
|
122
|
-
style: priceColorStyle
|
|
123
|
-
// @ts-ignore
|
|
124
|
-
ariaHidden: true
|
|
106
|
+
style: priceColorStyle
|
|
125
107
|
}, formatDecimal(price))) : null, symbol && position === 'after' ? renderSymbol() : null);
|
|
126
108
|
};
|
|
127
|
-
|
|
128
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, originalPrice);
|
|
129
|
-
};
|
|
130
|
-
var accessiblePriceText = useMemo(function() {
|
|
131
|
-
var safeSymbol = symbol ? replaceSpecialChar(symbol) : '';
|
|
132
|
-
var numberText = isRenderPriceRaw ? "".concat(originalPrice) : "".concat(price);
|
|
133
|
-
return position === 'after' ? "".concat(numberText).concat(safeSymbol) : "".concat(safeSymbol).concat(numberText);
|
|
134
|
-
}, [
|
|
135
|
-
symbol,
|
|
136
|
-
price,
|
|
137
|
-
position,
|
|
138
|
-
originalPrice,
|
|
139
|
-
isRenderPriceRaw
|
|
140
|
-
]);
|
|
141
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, harmony() || process.env.TARO_ENV === 'dynamic' ? /*#__PURE__*/ React.createElement(Text, {
|
|
109
|
+
return /*#__PURE__*/ React.createElement(React.Fragment, null, harmony() || td() ? /*#__PURE__*/ React.createElement(Text, {
|
|
142
110
|
className: "".concat(classPrefix, " ").concat(classPrefix, "-").concat(color, " ").concat(className),
|
|
143
|
-
style: style
|
|
144
|
-
|
|
145
|
-
ariaLabel: accessiblePriceText,
|
|
146
|
-
// eslint-disable-next-line jsx-a11y/aria-role
|
|
147
|
-
role: "text"
|
|
148
|
-
}, isRenderPriceRaw ? renderRawContent() : renderInner()) : /*#__PURE__*/ React.createElement(View, {
|
|
111
|
+
style: style
|
|
112
|
+
}, renderInner()) : /*#__PURE__*/ React.createElement(View, {
|
|
149
113
|
className: "".concat(classPrefix, " ").concat(classPrefix, "-").concat(color, " ").concat(className),
|
|
150
|
-
style: style
|
|
151
|
-
|
|
152
|
-
// eslint-disable-next-line jsx-a11y/aria-role
|
|
153
|
-
role: "text"
|
|
154
|
-
}, isRenderPriceRaw ? renderRawContent() : renderInner()));
|
|
114
|
+
style: style
|
|
115
|
+
}, renderInner()));
|
|
155
116
|
};
|
|
156
117
|
Price.displayName = 'NutPrice';
|
|
@@ -22,7 +22,7 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
22
22
|
export var Progress = function(props) {
|
|
23
23
|
var rtl = useRtl();
|
|
24
24
|
var _ref = _object_spread({}, defaultProps, props), className = _ref.className, style = _ref.style, percent = _ref.percent, background = _ref.background, color = _ref.color, strokeWidth = _ref.strokeWidth, showText = _ref.showText, animated = _ref.animated, children = _ref.children, lazy = _ref.lazy, delay = _ref.delay, // tc
|
|
25
|
-
showInfo = _ref.showInfo, borderRadius = _ref.borderRadius, fontSize = _ref.fontSize, activeColor = _ref.activeColor, backgroundColor = _ref.backgroundColor, active = _ref.active, activeMode = _ref.activeMode, duration = _ref.duration, onActiveEnd = _ref.onActiveEnd, rest = _object_without_properties(_ref, [
|
|
25
|
+
showInfo = _ref.showInfo, borderRadius = _ref.borderRadius, fontSize = _ref.fontSize, activeColor = _ref.activeColor, backgroundColor = _ref.backgroundColor, active = _ref.active, activeMode = _ref.activeMode, duration = _ref.duration, ariaLabel = _ref.ariaLabel, onActiveEnd = _ref.onActiveEnd, rest = _object_without_properties(_ref, [
|
|
26
26
|
"className",
|
|
27
27
|
"style",
|
|
28
28
|
"percent",
|
|
@@ -42,6 +42,7 @@ export var Progress = function(props) {
|
|
|
42
42
|
"active",
|
|
43
43
|
"activeMode",
|
|
44
44
|
"duration",
|
|
45
|
+
"ariaLabel",
|
|
45
46
|
"onActiveEnd"
|
|
46
47
|
]);
|
|
47
48
|
var classPrefix = 'nut-progress';
|
|
@@ -208,7 +209,8 @@ export var Progress = function(props) {
|
|
|
208
209
|
ref: progressRef,
|
|
209
210
|
id: selector,
|
|
210
211
|
className: classNames(classPrefix, className),
|
|
211
|
-
style: style
|
|
212
|
+
style: style,
|
|
213
|
+
"aria-label": ariaLabel
|
|
212
214
|
}, rest), /*#__PURE__*/ React.createElement(View, {
|
|
213
215
|
className: "".concat(classPrefix, "-outer"),
|
|
214
216
|
style: stylesOuter
|