@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
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "default", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return _default;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
12
|
-
var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
|
|
13
|
-
var _define_property = require("@swc/helpers/_/_define_property");
|
|
14
|
-
var _object_spread = require("@swc/helpers/_/_object_spread");
|
|
15
|
-
var _object_spread_props = require("@swc/helpers/_/_object_spread_props");
|
|
16
|
-
var _object_without_properties = require("@swc/helpers/_/_object_without_properties");
|
|
17
|
-
var _sliced_to_array = require("@swc/helpers/_/_sliced_to_array");
|
|
18
|
-
var _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
|
|
19
|
-
var _components = require("@tarojs/components");
|
|
20
|
-
var _taro = /*#__PURE__*/ _interop_require_default._(require("@tarojs/taro"));
|
|
21
|
-
var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
|
|
22
|
-
var _iconsreacttaro = require("@nutui/icons-react-taro");
|
|
23
|
-
var _index = /*#__PURE__*/ _interop_require_default._(require("../popup/index"));
|
|
24
|
-
var _typings = require("../../utils/typings");
|
|
25
|
-
var _usepropsvalue = require("../../hooks/use-props-value");
|
|
26
|
-
var _index1 = /*#__PURE__*/ _interop_require_default._(require("../badge/index"));
|
|
27
|
-
var _configprovider = require("../configprovider");
|
|
28
|
-
var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typings.ComponentDefaults), {
|
|
29
|
-
options: [],
|
|
30
|
-
visible: false,
|
|
31
|
-
closeOnOverlayClick: true,
|
|
32
|
-
safeAreaInsetTop: true
|
|
33
|
-
});
|
|
34
|
-
var InternalQuickEnter = function InternalQuickEnter(props, ref) {
|
|
35
|
-
var _ref = (0, _object_spread._)({}, defaultProps, props), children = _ref.children, visible = _ref.visible, title = _ref.title, _ref_options = _ref.options, options = _ref_options === void 0 ? [] : _ref_options, closeOnOverlayClick = _ref.closeOnOverlayClick, _ref_popupProps = _ref.popupProps, popupProps = _ref_popupProps === void 0 ? {} : _ref_popupProps, className = _ref.className, style = _ref.style, onClose = _ref.onClose, onChange = _ref.onChange, closeIcon = _ref.closeIcon, safeAreaInsetTop = _ref.safeAreaInsetTop, rest = (0, _object_without_properties._)(_ref, [
|
|
36
|
-
"children",
|
|
37
|
-
"visible",
|
|
38
|
-
"title",
|
|
39
|
-
"options",
|
|
40
|
-
"closeOnOverlayClick",
|
|
41
|
-
"popupProps",
|
|
42
|
-
"className",
|
|
43
|
-
"style",
|
|
44
|
-
"onClose",
|
|
45
|
-
"onChange",
|
|
46
|
-
"closeIcon",
|
|
47
|
-
"safeAreaInsetTop"
|
|
48
|
-
]);
|
|
49
|
-
var locale = (0, _configprovider.useConfig)().locale;
|
|
50
|
-
var mergedTitle = title || locale.quickenter.title;
|
|
51
|
-
var classPrefix = 'nut-quickenter';
|
|
52
|
-
var classes = (0, _classnames.default)(classPrefix, className, {
|
|
53
|
-
'safe-area-top': safeAreaInsetTop
|
|
54
|
-
});
|
|
55
|
-
var _usePropsValue = (0, _sliced_to_array._)((0, _usepropsvalue.usePropsValue)({
|
|
56
|
-
value: props.visible,
|
|
57
|
-
defaultValue: false,
|
|
58
|
-
finalValue: false,
|
|
59
|
-
onChange: function onChange(v) {
|
|
60
|
-
if (!v) {
|
|
61
|
-
var _props_onClose;
|
|
62
|
-
(_props_onClose = props.onClose) === null || _props_onClose === void 0 ? void 0 : _props_onClose.call(props);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}), 2), innerVisible = _usePropsValue[0], setInnerVisible = _usePropsValue[1];
|
|
66
|
-
var actions = {
|
|
67
|
-
open: function open() {
|
|
68
|
-
setInnerVisible(true);
|
|
69
|
-
},
|
|
70
|
-
close: function close() {
|
|
71
|
-
setInnerVisible(false);
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
(0, _react.useImperativeHandle)(ref, function() {
|
|
75
|
-
return actions;
|
|
76
|
-
});
|
|
77
|
-
var onCancelEvent = function onCancelEvent() {
|
|
78
|
-
setInnerVisible(false);
|
|
79
|
-
};
|
|
80
|
-
var handleItemClick = function handleItemClick(item, index) {
|
|
81
|
-
if (item.url) {
|
|
82
|
-
_taro.default.navigateTo({
|
|
83
|
-
url: item.url
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(item, index);
|
|
87
|
-
};
|
|
88
|
-
var renderTitleBar = function renderTitleBar() {
|
|
89
|
-
return /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
90
|
-
className: "".concat(classPrefix, "-control")
|
|
91
|
-
}, /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
92
|
-
className: "".concat(classPrefix, "-title")
|
|
93
|
-
}, mergedTitle), /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
94
|
-
className: "".concat(classPrefix, "-close-btn"),
|
|
95
|
-
onClick: function onClick(e) {
|
|
96
|
-
e.stopPropagation();
|
|
97
|
-
onCancelEvent();
|
|
98
|
-
}
|
|
99
|
-
}, closeIcon || /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.Close, {
|
|
100
|
-
ariaLabel: locale.close
|
|
101
|
-
})));
|
|
102
|
-
};
|
|
103
|
-
var renderContent = function renderContent() {
|
|
104
|
-
return /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
105
|
-
className: (0, _classnames.default)("".concat(classPrefix, "-content"), (0, _define_property._)({}, "".concat(classPrefix, "-content-scrollable"), options.length > 8))
|
|
106
|
-
}, /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
107
|
-
className: "".concat(classPrefix, "-list")
|
|
108
|
-
}, options.map(function(item, index) {
|
|
109
|
-
var _item_badgeProps, _item_badgeProps1;
|
|
110
|
-
var _item_badge, _item_badge1;
|
|
111
|
-
return /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
112
|
-
key: index,
|
|
113
|
-
className: "".concat(classPrefix, "-item"),
|
|
114
|
-
ariaLabel: "".concat(item.title, " ").concat((_item_badge = item.badge) !== null && _item_badge !== void 0 ? _item_badge : (_item_badgeProps = item.badgeProps) === null || _item_badgeProps === void 0 ? void 0 : _item_badgeProps.value),
|
|
115
|
-
onClick: function onClick() {
|
|
116
|
-
return handleItemClick(item, index);
|
|
117
|
-
}
|
|
118
|
-
}, /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
119
|
-
className: "".concat(classPrefix, "-item-icon"),
|
|
120
|
-
ariaHidden: true
|
|
121
|
-
}, /*#__PURE__*/ _react.default.createElement(_index1.default, (0, _object_spread_props._)((0, _object_spread._)({}, item.badgeProps), {
|
|
122
|
-
value: (_item_badge1 = item.badge) !== null && _item_badge1 !== void 0 ? _item_badge1 : (_item_badgeProps1 = item.badgeProps) === null || _item_badgeProps1 === void 0 ? void 0 : _item_badgeProps1.value
|
|
123
|
-
}), item.icon)), /*#__PURE__*/ _react.default.createElement(_components.View, {
|
|
124
|
-
className: "".concat(classPrefix, "-item-title"),
|
|
125
|
-
ariaHidden: true
|
|
126
|
-
}, item.title));
|
|
127
|
-
})));
|
|
128
|
-
};
|
|
129
|
-
var renderQuickEnterElement = function renderQuickEnterElement() {
|
|
130
|
-
return /*#__PURE__*/ _react.default.createElement(_components.View, (0, _object_spread._)({
|
|
131
|
-
className: classes,
|
|
132
|
-
style: style
|
|
133
|
-
}, rest), renderTitleBar(), children, renderContent());
|
|
134
|
-
};
|
|
135
|
-
return /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/ _react.default.createElement(_index.default, (0, _object_spread_props._)((0, _object_spread._)({
|
|
136
|
-
style: {
|
|
137
|
-
background: 'transparent'
|
|
138
|
-
}
|
|
139
|
-
}, popupProps), {
|
|
140
|
-
overlayStyle: {
|
|
141
|
-
background: 'transparent'
|
|
142
|
-
},
|
|
143
|
-
visible: innerVisible,
|
|
144
|
-
position: "top",
|
|
145
|
-
onOverlayClick: function onOverlayClick() {
|
|
146
|
-
if (!closeOnOverlayClick) return;
|
|
147
|
-
onCancelEvent();
|
|
148
|
-
},
|
|
149
|
-
onClose: onCancelEvent
|
|
150
|
-
}), renderQuickEnterElement()));
|
|
151
|
-
};
|
|
152
|
-
var QuickEnter = /*#__PURE__*/ _react.default.forwardRef(InternalQuickEnter);
|
|
153
|
-
var _default = QuickEnter;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
.nut-quickenter {
|
|
2
|
-
width: 100%;
|
|
3
|
-
/* 限制弹层最大高度,包含安全区 */
|
|
4
|
-
max-height: calc(#{$quickenter-max-height} + env(safe-area-inset-top, 0));
|
|
5
|
-
background: $quickenter-bg-color;
|
|
6
|
-
border-radius: 0 0 12px 12px;
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
box-shadow: $quickenter-box-shadow;
|
|
12
|
-
// backdrop-filter: $quickenter-backdrop-filter;
|
|
13
|
-
|
|
14
|
-
&.safe-area-top {
|
|
15
|
-
/* 使用 env fallback,确保旧浏览器返回 0 */
|
|
16
|
-
padding-top: calc(
|
|
17
|
-
env(safe-area-inset-top, 0) * var(--nutui-safe-area-multiple, 1)
|
|
18
|
-
);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-control {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
justify-content: space-between;
|
|
25
|
-
padding: 30px 16px 0;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-title {
|
|
30
|
-
flex: 1;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
text-overflow: ellipsis;
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
text-align: left;
|
|
35
|
-
color: $quickenter-title-color;
|
|
36
|
-
font-size: $quickenter-title-font-size;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-close-btn {
|
|
40
|
-
color: $quickenter-close-icon-color;
|
|
41
|
-
display: flex;
|
|
42
|
-
align-items: center;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
|
|
45
|
-
svg,
|
|
46
|
-
.nut-icon {
|
|
47
|
-
width: $quickenter-close-icon-size;
|
|
48
|
-
height: $quickenter-close-icon-size;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-content {
|
|
53
|
-
flex: 1;
|
|
54
|
-
padding: 10px 28px;
|
|
55
|
-
overflow-y: hidden; // 始终可滚动,防止内容被遮挡
|
|
56
|
-
box-sizing: border-box;
|
|
57
|
-
|
|
58
|
-
&-scrollable {
|
|
59
|
-
overflow-y: auto; // Only scroll when > 8 items
|
|
60
|
-
-webkit-overflow-scrolling: touch;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-list {
|
|
65
|
-
display: flex;
|
|
66
|
-
flex-wrap: wrap;
|
|
67
|
-
align-items: flex-start;
|
|
68
|
-
width: 100%;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&-item {
|
|
72
|
-
display: flex;
|
|
73
|
-
flex-direction: column;
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: flex-start;
|
|
76
|
-
width: 56px;
|
|
77
|
-
padding: 0 0 12px 0; // Reduced from 16px to ensure 2 rows fit in 256px
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
|
|
81
|
-
// Calculate gap for 4 items per row: (100% - 4 * 56px) / 3
|
|
82
|
-
margin-right: calc((100% - 224px) / 3);
|
|
83
|
-
|
|
84
|
-
&:nth-child(4n) {
|
|
85
|
-
margin-right: 0;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&-icon {
|
|
89
|
-
width: 56px;
|
|
90
|
-
height: 56px;
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
justify-content: center;
|
|
94
|
-
border-radius: 50%;
|
|
95
|
-
background: $quickenter-item-icon-bg-color;
|
|
96
|
-
color: $quickenter-item-icon-color;
|
|
97
|
-
margin-bottom: 8px;
|
|
98
|
-
flex-shrink: 0;
|
|
99
|
-
|
|
100
|
-
svg,
|
|
101
|
-
.nut-icon {
|
|
102
|
-
width: 22px;
|
|
103
|
-
height: 22px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&-title {
|
|
108
|
-
font-size: $quickenter-item-title-font-size;
|
|
109
|
-
color: $quickenter-item-title-color;
|
|
110
|
-
text-align: center;
|
|
111
|
-
line-height: 1.4;
|
|
112
|
-
// Allow multi-line if text is long, preventing truncation
|
|
113
|
-
white-space: normal;
|
|
114
|
-
word-wrap: break-word;
|
|
115
|
-
width: 72px; // Allow text to be slightly wider than icon
|
|
116
|
-
margin-left: -8px; // Center 72px title over 56px icon
|
|
117
|
-
margin-right: -8px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
/* #ifdef harmony */
|
|
3
|
-
/* #endif */
|
|
4
|
-
/* #ifndef harmony */
|
|
5
|
-
/* #endif */
|
|
6
|
-
.nut-quickenter {
|
|
7
|
-
width: 100%;
|
|
8
|
-
/* 限制弹层最大高度,包含安全区 */
|
|
9
|
-
max-height: calc(var(--nutui-quickenter-max-height, 256px) + env(safe-area-inset-top, 0));
|
|
10
|
-
background: var(--nutui-quickenter-bg-color, #f5f5f5);
|
|
11
|
-
border-radius: 0 0 12px 12px;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
box-shadow: var(--nutui-quickenter-box-shadow, 0px 8px 16px rgba(141, 153, 167, 0.2), 0px -0.5px 0px rgba(0, 0, 0, 0.05) inset);
|
|
17
|
-
}
|
|
18
|
-
.nut-quickenter.safe-area-top {
|
|
19
|
-
/* 使用 env fallback,确保旧浏览器返回 0 */
|
|
20
|
-
padding-top: calc(env(safe-area-inset-top, 0) * var(--nutui-safe-area-multiple, 1));
|
|
21
|
-
}
|
|
22
|
-
.nut-quickenter-control {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
padding: 30px 16px 0;
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
}
|
|
29
|
-
.nut-quickenter-title {
|
|
30
|
-
flex: 1;
|
|
31
|
-
overflow: hidden;
|
|
32
|
-
text-overflow: ellipsis;
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
text-align: left;
|
|
35
|
-
color: var(--nutui-quickenter-title-color, var(--nutui-color-title, #1a1a1a));
|
|
36
|
-
font-size: var(--nutui-quickenter-title-font-size, var(--nutui-font-size-base, 14px));
|
|
37
|
-
}
|
|
38
|
-
.nut-quickenter-close-btn {
|
|
39
|
-
color: var(--nutui-quickenter-close-icon-color, #808080);
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
}
|
|
44
|
-
.nut-quickenter-close-btn svg,
|
|
45
|
-
.nut-quickenter-close-btn .nut-icon {
|
|
46
|
-
width: var(--nutui-quickenter-close-icon-size, 12px);
|
|
47
|
-
height: var(--nutui-quickenter-close-icon-size, 12px);
|
|
48
|
-
}
|
|
49
|
-
.nut-quickenter-content {
|
|
50
|
-
flex: 1;
|
|
51
|
-
padding: 10px 28px;
|
|
52
|
-
overflow-y: hidden;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
}
|
|
55
|
-
.nut-quickenter-content-scrollable {
|
|
56
|
-
overflow-y: auto;
|
|
57
|
-
-webkit-overflow-scrolling: touch;
|
|
58
|
-
}
|
|
59
|
-
.nut-quickenter-list {
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-wrap: wrap;
|
|
62
|
-
align-items: flex-start;
|
|
63
|
-
width: 100%;
|
|
64
|
-
}
|
|
65
|
-
.nut-quickenter-item {
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
align-items: center;
|
|
69
|
-
justify-content: flex-start;
|
|
70
|
-
width: 56px;
|
|
71
|
-
padding: 0 0 12px 0;
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
margin-right: calc((100% - 224px) / 3);
|
|
75
|
-
}
|
|
76
|
-
.nut-quickenter-item:nth-child(4n) {
|
|
77
|
-
margin-right: 0;
|
|
78
|
-
}
|
|
79
|
-
.nut-quickenter-item-icon {
|
|
80
|
-
width: 56px;
|
|
81
|
-
height: 56px;
|
|
82
|
-
display: flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: center;
|
|
85
|
-
border-radius: 50%;
|
|
86
|
-
background: var(--nutui-quickenter-item-icon-bg-color, #ffffff);
|
|
87
|
-
color: var(--nutui-quickenter-item-icon-color, var(--nutui-color-title, #1a1a1a));
|
|
88
|
-
margin-bottom: 8px;
|
|
89
|
-
flex-shrink: 0;
|
|
90
|
-
}
|
|
91
|
-
.nut-quickenter-item-icon svg,
|
|
92
|
-
.nut-quickenter-item-icon .nut-icon {
|
|
93
|
-
width: 22px;
|
|
94
|
-
height: 22px;
|
|
95
|
-
}
|
|
96
|
-
.nut-quickenter-item-title {
|
|
97
|
-
font-size: var(--nutui-quickenter-item-title-font-size, var(--nutui-font-size-s, 12px));
|
|
98
|
-
color: var(--nutui-quickenter-item-title-color, var(--nutui-color-title, #1a1a1a));
|
|
99
|
-
text-align: center;
|
|
100
|
-
line-height: 1.4;
|
|
101
|
-
white-space: normal;
|
|
102
|
-
word-wrap: break-word;
|
|
103
|
-
width: 72px;
|
|
104
|
-
margin-left: -8px;
|
|
105
|
-
margin-right: -8px;
|
|
106
|
-
}
|