@nutui/nutui-react-taro 2.1.0-beta.0 → 2.1.1-beta.0
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 +0 -20
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/ActionSheet.js +3 -3
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Address.js +7 -7
- package/dist/esm/AnimatingNumbers/style/style.css +1 -1
- package/dist/esm/AnimatingNumbers.js +4 -4
- package/dist/esm/Audio/style/style.css +1 -1
- package/dist/esm/Audio.js +3 -3
- package/dist/esm/Avatar/style/style.css +1 -1
- package/dist/esm/Avatar.js +2 -2
- package/dist/esm/AvatarCropper/style/style.css +1 -1
- package/dist/esm/AvatarCropper.js +2 -2
- package/dist/esm/BackTop/style/style.css +1 -1
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Barrage/style/style.css +1 -1
- package/dist/esm/Barrage.js +1 -1
- package/dist/esm/Button/style/style.css +1 -1
- package/dist/esm/Button.js +1 -1
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Calendar.js +6 -6
- package/dist/esm/CalendarCard/style/style.css +1 -1
- package/dist/esm/CalendarCard.js +2 -2
- package/dist/esm/CalendarItem.js +3 -3
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Card.js +3 -3
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/Cascader.js +5 -5
- package/dist/esm/Cell/style/style.css +1 -1
- package/dist/esm/Cell.js +2 -2
- package/dist/esm/CellGroup/style/style.css +1 -1
- package/dist/esm/CellGroup.js +1 -1
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/Checkbox.js +1 -1
- package/dist/esm/CheckboxGroup/style/style.css +1 -1
- package/dist/esm/CheckboxGroup.js +1 -1
- package/dist/esm/CircleProgress/style/style.css +1 -1
- package/dist/esm/CircleProgress.js +1 -1
- package/dist/esm/Col/style/style.css +1 -1
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/Collapse.js +2 -2
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/CollapseItem.js +1 -1
- package/dist/esm/ConfigProvider.js +2 -2
- package/dist/esm/CountDown/style/style.css +1 -1
- package/dist/esm/CountDown.js +2 -2
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/DatePicker.js +5 -5
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +4 -4
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/Divider.js +1 -1
- package/dist/esm/Elevator/style/style.css +1 -1
- package/dist/esm/Elevator.js +1 -1
- package/dist/esm/Ellipsis/style/style.css +1 -1
- package/dist/esm/Empty/style/style.css +1 -1
- package/dist/esm/Empty.js +2 -2
- package/dist/esm/FixedNav/style/style.css +1 -1
- package/dist/esm/FixedNav.js +3 -3
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/Form.js +3 -3
- package/dist/esm/FormItem/style/style.css +1 -1
- package/dist/esm/FormItem.js +3 -3
- package/dist/esm/Grid/style/style.css +1 -1
- package/dist/esm/Grid.js +3 -3
- package/dist/esm/GridItem/style/style.css +1 -1
- package/dist/esm/GridItem.js +2 -2
- package/dist/esm/Image/style/style.css +1 -1
- package/dist/esm/Image.js +1 -1
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +5 -5
- package/dist/esm/Indicator/style/style.css +1 -1
- package/dist/esm/Indicator.js +1 -1
- package/dist/esm/InfiniteLoading/style/style.css +1 -1
- package/dist/esm/InfiniteLoading.js +2 -2
- package/dist/esm/Input/style/style.css +1 -1
- package/dist/esm/Input.js +2 -2
- package/dist/esm/InputNumber/style/style.css +1 -1
- package/dist/esm/InputNumber.js +1 -1
- package/dist/esm/Loading/style/style.css +1 -1
- package/dist/esm/Menu/style/style.css +1 -1
- package/dist/esm/Menu.js +3 -3
- package/dist/esm/MenuItem/style/style.css +1 -1
- package/dist/esm/MenuItem.js +2 -2
- package/dist/esm/NavBar/style/style.css +1 -1
- package/dist/esm/NavBar.js +1 -1
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +1 -1
- package/dist/esm/Notify/style/style.css +1 -1
- package/dist/esm/Notify.js +1 -1
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/NumberKeyboard.js +4 -4
- package/dist/esm/Overlay/style/style.css +1 -1
- package/dist/esm/Overlay.js +1 -1
- package/dist/esm/Pagination/style/style.css +1 -1
- package/dist/esm/Pagination.js +2 -2
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Picker.js +4 -4
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +3 -3
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/Popup.js +2 -2
- package/dist/esm/Price/style/style.css +1 -1
- package/dist/esm/Price.js +1 -1
- package/dist/esm/Progress/style/style.css +1 -1
- package/dist/esm/Progress.js +1 -1
- package/dist/esm/PullToRefresh/style/style.css +1 -1
- package/dist/esm/PullToRefresh.js +2 -2
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/Radio.js +1 -1
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/RadioGroup.js +1 -1
- package/dist/esm/Range/style/style.css +1 -1
- package/dist/esm/Rate/style/style.css +1 -1
- package/dist/esm/Rate.js +1 -1
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/SearchBar.js +2 -2
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +4 -4
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/SideNavBar.js +3 -3
- package/dist/esm/SideNavBarItem/style/style.css +1 -1
- package/dist/esm/SideNavBarItem.js +1 -1
- package/dist/esm/Signature/style/style.css +1 -1
- package/dist/esm/Signature.js +1 -1
- package/dist/esm/Skeleton/style/style.css +1 -1
- package/dist/esm/Skeleton.js +3 -3
- package/dist/esm/Step/style/style.css +1 -1
- package/dist/esm/Steps/style/style.css +1 -1
- package/dist/esm/Sticky/style/style.css +1 -1
- package/dist/esm/Sticky.js +1 -1
- package/dist/esm/SubSideNavBar/style/style.css +1 -1
- package/dist/esm/SubSideNavBar.js +1 -1
- package/dist/esm/Swipe/style/style.css +1 -1
- package/dist/esm/Swipe.js +1 -1
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/Swiper.js +4 -4
- package/dist/esm/Switch/style/style.css +1 -1
- package/dist/esm/Switch.js +1 -1
- package/dist/esm/TabPane/style/style.css +1 -1
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/Tabbar.js +3 -3
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/TabbarItem.js +2 -2
- package/dist/esm/Table/style/style.css +1 -1
- package/dist/esm/Table.js +2 -2
- package/dist/esm/Tabs/style/style.css +1 -1
- package/dist/esm/Tabs.js +2 -2
- package/dist/esm/Tag/style/style.css +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TextArea.js +2 -2
- package/dist/esm/TimeDetail/style/style.css +1 -1
- package/dist/esm/TimeDetail.js +1 -1
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +5 -5
- package/dist/esm/Toast/style/style.css +1 -1
- package/dist/esm/Toast.js +2 -2
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Tour.js +4 -4
- package/dist/esm/TrendArrow/style/style.css +1 -1
- package/dist/esm/TrendArrow.js +1 -1
- package/dist/esm/Uploader/style/style.css +1 -1
- package/dist/esm/Uploader.js +4 -4
- package/dist/esm/VirtualList/style/style.css +1 -1
- package/dist/esm/WaterMark.js +2 -2
- package/dist/esm/{actionsheet.taro-24a40570.js → actionsheet.taro-b4b3e4a6.js} +6 -7
- package/dist/esm/{address.taro-ee6e048a.js → address.taro-71c98c46.js} +6 -6
- package/dist/esm/{audio.taro-aa47d7e7.js → audio.taro-a42eebb5.js} +7 -7
- package/dist/esm/{avatar.taro-21ad648c.js → avatar.taro-814a4b85.js} +5 -5
- package/dist/esm/{avatarcropper.taro-499d9550.js → avatarcropper.taro-215ee89e.js} +1 -1
- package/dist/esm/{badge.taro-ffca952e.js → badge.taro-004f2eb0.js} +22 -7
- package/dist/esm/{barrage.taro-0258ca14.js → barrage.taro-53b33990.js} +4 -4
- package/dist/esm/{button.taro-7ae62bc3.js → button.taro-e8d84b29.js} +13 -11
- package/dist/esm/{calendar.taro-8302ddc2.js → calendar.taro-5ee74a65.js} +3 -3
- package/dist/esm/{calendarcard.taro-783109a7.js → calendarcard.taro-73e67095.js} +1 -1
- package/dist/esm/{calendaritem.taro-835ddb04.js → calendaritem.taro-b30ef756.js} +2 -2
- package/dist/esm/{card.taro-99868a10.js → card.taro-80ba74c4.js} +5 -5
- package/dist/esm/{cascader.taro-61269a77.js → cascader.taro-24e4ece7.js} +8 -8
- package/dist/esm/{cell.taro-010b73ed.js → cell.taro-3bb24d44.js} +6 -6
- package/dist/esm/{cellgroup.taro-9dc59f11.js → cellgroup.taro-f998a42f.js} +3 -3
- package/dist/esm/{checkbox.taro-1a7fd5c7.js → checkbox.taro-fa5d9680.js} +48 -17
- package/dist/esm/{circleprogress.taro-6054482f.js → circleprogress.taro-cbbc333a.js} +2 -2
- package/dist/esm/{collapse.taro-341f8941.js → collapse.taro-8b61fb79.js} +1 -1
- package/dist/esm/{collapseitem.taro-e99fb1a2.js → collapseitem.taro-a1e96f50.js} +8 -8
- package/dist/esm/{configprovider.taro-03d376af.js → configprovider.taro-e890dac3.js} +1 -1
- package/dist/esm/{countdown.taro-4a905523.js → countdown.taro-04aa98cf.js} +2 -2
- package/dist/esm/css.js +1 -0
- package/dist/esm/{datepicker.taro-8b8bb2fb.js → datepicker.taro-e80d9271.js} +2 -2
- package/dist/esm/{dialog.taro-c4969c97.js → dialog.taro-d1d66f17.js} +14 -12
- package/dist/esm/{divider.taro-c61ab869.js → divider.taro-a92925b7.js} +5 -5
- package/dist/esm/{elevator.taro-cdf3dba7.js → elevator.taro-1607d0b4.js} +16 -16
- package/dist/esm/empty.taro-e9dd38e7.js +811 -0
- package/dist/esm/{fixednav.taro-e18530bb.js → fixednav.taro-ec8c4526.js} +8 -8
- package/dist/esm/{formitem.taro-17dac26c.js → formitem.taro-2b8003f8.js} +5 -5
- package/dist/esm/{grid.taro-a1837c49.js → grid.taro-389996b2.js} +2 -2
- package/dist/esm/{griditem.taro-c0265282.js → griditem.taro-483246bf.js} +9 -9
- package/dist/esm/{image.taro-c2441b71.js → image.taro-8d73a60d.js} +1 -1
- package/dist/esm/{imagepreview.taro-a5e8b8fa.js → imagepreview.taro-e660bf28.js} +2 -2
- package/dist/esm/{indicator.taro-092f9f4e.js → indicator.taro-7bec8fb9.js} +2 -2
- package/dist/esm/{infiniteloading.taro-b149475d.js → infiniteloading.taro-e6068990.js} +1 -1
- package/dist/esm/{input.taro-ffd35ab1.js → input.taro-d98c3cef.js} +1 -1
- package/dist/esm/{inputnumber.taro-5f60d969.js → inputnumber.taro-07b246ee.js} +5 -5
- package/dist/esm/{menu.taro-df22141a.js → menu.taro-c2dc8fdb.js} +8 -19
- package/dist/esm/{menuitem.taro-7b5d50fc.js → menuitem.taro-9cd511f4.js} +8 -8
- package/dist/esm/{navbar.taro-23394f73.js → navbar.taro-00b0b1fd.js} +10 -8
- package/dist/esm/{noticebar.taro-11fe07b1.js → noticebar.taro-512a92a0.js} +4 -4
- package/dist/esm/{notify.taro-b7f10692.js → notify.taro-3063c438.js} +3 -3
- package/dist/esm/{numberkeyboard.taro-74f9a790.js → numberkeyboard.taro-d01cb097.js} +12 -12
- package/dist/esm/nutui-react.es.js +76 -76
- package/dist/esm/{pagination.taro-7ef7ab28.js → pagination.taro-a8969bcf.js} +32 -18
- package/dist/esm/{picker.taro-00fb321a.js → picker.taro-d40a4e27.js} +8 -8
- package/dist/esm/{popover.taro-2ca996c8.js → popover.taro-d1837cca.js} +10 -7
- package/dist/esm/{popup.taro-376be9fe.js → popup.taro-85284489.js} +23 -18
- package/dist/esm/{price.taro-710cab3b.js → price.taro-ce8f3249.js} +5 -5
- package/dist/esm/{progress.taro-421575b9.js → progress.taro-129abe65.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-1741fda8.js → pulltorefresh.taro-e8258b3c.js} +30 -3
- package/dist/esm/{radio.taro-9e049135.js → radio.taro-b0f9fd8e.js} +14 -11
- package/dist/esm/{raf-a9ff50ad.js → raf-12d6371d.js} +1 -1
- package/dist/esm/{rate.taro-2f08de25.js → rate.taro-3da117db.js} +6 -6
- package/dist/esm/{searchbar.taro-9ffce381.js → searchbar.taro-ab39a108.js} +17 -16
- package/dist/esm/{shortpassword.taro-8647cd4d.js → shortpassword.taro-cd9e234e.js} +14 -14
- package/dist/esm/{sidenavbar.taro-53ac5b88.js → sidenavbar.taro-5a5b4178.js} +5 -5
- package/dist/esm/{sidenavbaritem.taro-69b0784d.js → sidenavbaritem.taro-f2650b21.js} +1 -1
- package/dist/esm/{signature.taro-3e0c2694.js → signature.taro-7ada09ae.js} +2 -2
- package/dist/esm/{skeleton.taro-67715cd4.js → skeleton.taro-9504ad22.js} +8 -8
- package/dist/esm/{sticky.taro-bee7a130.js → sticky.taro-560c98a8.js} +2 -2
- package/dist/esm/style.css +1 -0
- package/dist/esm/{subsidenavbar.taro-797ce379.js → subsidenavbar.taro-cf175ac5.js} +6 -6
- package/dist/esm/{swipe.taro-a108baac.js → swipe.taro-adfd35e2.js} +2 -2
- package/dist/esm/{switch.taro-1c7715e8.js → switch.taro-e46db0c3.js} +2 -2
- package/dist/esm/{tabbar.taro-8fe42366.js → tabbar.taro-e74e904e.js} +4 -4
- package/dist/esm/{tabbaritem.taro-c75682f5.js → tabbaritem.taro-fa0e2bfa.js} +2 -2
- package/dist/esm/{table.taro-d2c266e1.js → table.taro-4edde60b.js} +14 -14
- package/dist/esm/{tabs.taro-ba8788c1.js → tabs.taro-99fba9f1.js} +19 -19
- package/dist/esm/{tag.taro-94e17649.js → tag.taro-9fbc6a5e.js} +6 -6
- package/dist/esm/{textarea.taro-6ce0d027.js → textarea.taro-74da302f.js} +4 -4
- package/dist/esm/{timedetail.taro-958b8c07.js → timedetail.taro-130291a2.js} +1 -1
- package/dist/esm/{timeselect.taro-a2130557.js → timeselect.taro-ea27c6d5.js} +6 -7
- package/dist/esm/{toast.taro-b847d537.js → toast.taro-e5290709.js} +4 -4
- package/dist/esm/{tour.taro-10b657d8.js → tour.taro-c7d2320b.js} +1 -1
- package/dist/esm/{trendarrow.taro-e6b635ae.js → trendarrow.taro-ac0a3403.js} +3 -3
- package/dist/esm/types/src/packages/button/button.d.ts +3 -2
- package/dist/esm/types/src/packages/button/button.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/checkbox/checkbox.d.ts +2 -0
- package/dist/esm/types/src/packages/checkbox/checkbox.taro.d.ts +2 -0
- package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
- package/dist/esm/types/src/packages/dialog/config.d.ts +1 -0
- package/dist/esm/types/src/packages/dialog/content.d.ts +1 -0
- package/dist/esm/types/src/packages/dialog/content.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/empty/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/empty/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/empty/empty.d.ts +5 -1
- package/dist/esm/types/src/packages/empty/empty.taro.d.ts +5 -1
- package/dist/esm/types/src/packages/empty/index.d.ts +1 -0
- package/dist/esm/types/src/packages/empty/index.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/empty/types.d.ts +3 -0
- package/dist/esm/types/src/packages/indicator/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/indicator/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/inputnumber/demo.d.ts +0 -1
- package/dist/esm/types/src/packages/inputnumber/demo.taro.d.ts +0 -1
- package/dist/esm/types/src/packages/navbar/navbar.d.ts +1 -0
- package/dist/esm/types/src/packages/navbar/navbar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/pagination/pagination.d.ts +1 -1
- package/dist/esm/types/src/packages/pagination/pagination.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/popover/popover.d.ts +4 -0
- package/dist/esm/types/src/packages/popover/popover.taro.d.ts +4 -0
- package/dist/esm/types/src/packages/popup/popup.d.ts +1 -0
- package/dist/esm/types/src/packages/popup/popup.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/searchbar/searchbar.d.ts +1 -0
- package/dist/esm/types/src/packages/searchbar/searchbar.taro.d.ts +1 -0
- package/dist/esm/types/src/packages/swipe/swipe.d.ts +0 -6
- package/dist/esm/types/src/packages/tabs/tabs.d.ts +1 -1
- package/dist/esm/types/src/packages/tabs/tabs.taro.d.ts +1 -1
- package/dist/esm/types/src/packages/virtuallist/utils.d.ts +1 -1
- package/dist/esm/{uploader.taro-9e6aa0df.js → uploader.taro-be3f843f.js} +21 -21
- package/dist/esm/{watermark.taro-3ea4550f.js → watermark.taro-3971822c.js} +1 -1
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +2 -2
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +6907 -5057
- package/dist/nutui.react.umd.js +6916 -5066
- package/dist/packages/actionsheet/actionsheet.scss +15 -15
- package/dist/packages/address/address.scss +6 -6
- package/dist/packages/animatingnumbers/countup.scss +19 -6
- package/dist/packages/audio/audio.scss +17 -9
- package/dist/packages/avatar/avatar.scss +1 -1
- package/dist/packages/avatarcropper/avatarcropper.scss +4 -0
- package/dist/packages/backtop/backtop.scss +6 -3
- package/dist/packages/badge/badge.scss +25 -6
- package/dist/packages/barrage/barrage.scss +16 -6
- package/dist/packages/button/button.scss +163 -93
- package/dist/packages/calendar/calendar.scss +17 -16
- package/dist/packages/calendarcard/calendarcard.scss +8 -8
- package/dist/packages/card/card.scss +28 -14
- package/dist/packages/cascader/cascader.scss +6 -6
- package/dist/packages/cell/cell.scss +3 -3
- package/dist/packages/cellgroup/cellgroup.scss +6 -6
- package/dist/packages/checkbox/checkbox.scss +82 -22
- package/dist/packages/checkboxgroup/checkboxgroup.scss +17 -7
- package/dist/packages/collapseitem/collapseitem.scss +32 -10
- package/dist/packages/dialog/dialog.scss +22 -37
- package/dist/packages/divider/divider.scss +13 -13
- package/dist/packages/elevator/elevator.scss +51 -37
- package/dist/packages/empty/empty.scss +36 -6
- package/dist/packages/fixednav/fixednav.scss +27 -14
- package/dist/packages/form/form.scss +4 -4
- package/dist/packages/formitem/formitem.scss +6 -6
- package/dist/packages/grid/grid.scss +1 -1
- package/dist/packages/griditem/griditem.scss +16 -15
- package/dist/packages/image/image.scss +4 -2
- package/dist/packages/imagepreview/imagepreview.scss +1 -11
- package/dist/packages/indicator/indicator.scss +9 -9
- package/dist/packages/infiniteloading/infiniteloading.scss +23 -8
- package/dist/packages/input/input.scss +4 -2
- package/dist/packages/inputnumber/inputnumber.scss +21 -18
- package/dist/packages/loading/loading.scss +3 -3
- package/dist/packages/menu/menu.scss +22 -30
- package/dist/packages/menuitem/menuitem.scss +55 -56
- package/dist/packages/navbar/navbar.scss +52 -16
- package/dist/packages/noticebar/noticebar.scss +12 -11
- package/dist/packages/notify/notify.scss +10 -18
- package/dist/packages/numberkeyboard/numberkeyboard.scss +19 -17
- package/dist/packages/pagination/pagination.scss +32 -9
- package/dist/packages/picker/picker.scss +19 -19
- package/dist/packages/popover/popover.scss +51 -35
- package/dist/packages/popup/popup.scss +225 -213
- package/dist/packages/price/price.scss +20 -9
- package/dist/packages/progress/progress.scss +1 -1
- package/dist/packages/pulltorefresh/pulltorefresh.scss +9 -2
- package/dist/packages/radio/radio.scss +45 -40
- package/dist/packages/radiogroup/radiogroup.scss +18 -18
- package/dist/packages/range/range.scss +15 -4
- package/dist/packages/rate/rate.scss +8 -9
- package/dist/packages/searchbar/searchbar.scss +67 -42
- package/dist/packages/shortpassword/shortpassword.scss +24 -24
- package/dist/packages/sidenavbar/sidenavbar.scss +8 -8
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +3 -3
- package/dist/packages/signature/signature.scss +5 -2
- package/dist/packages/skeleton/skeleton.scss +8 -8
- package/dist/packages/step/step.scss +27 -32
- package/dist/packages/sticky/sticky.scss +1 -1
- package/dist/packages/subsidenavbar/subsidenavbar.scss +5 -5
- package/dist/packages/swipe/swipe.scss +8 -5
- package/dist/packages/swiper/swiper.scss +4 -4
- package/dist/packages/switch/switch.scss +39 -28
- package/dist/packages/tabbar/tabbar.scss +4 -4
- package/dist/packages/tabbaritem/tabbaritem.scss +8 -1
- package/dist/packages/table/table.scss +28 -28
- package/dist/packages/tabpane/tabpane.scss +2 -2
- package/dist/packages/tabs/tabs.scss +181 -137
- package/dist/packages/tag/tag.scss +12 -12
- package/dist/packages/textarea/textarea.scss +6 -6
- package/dist/packages/timedetail/timedetail.scss +8 -9
- package/dist/packages/timeselect/timeselect.scss +12 -21
- package/dist/packages/toast/toast.scss +37 -22
- package/dist/packages/tour/tour.scss +9 -4
- package/dist/packages/trendarrow/trendarrow.scss +8 -3
- package/dist/packages/uploader/uploader.scss +41 -37
- package/dist/packages/virtuallist/virtuallist.scss +13 -3
- package/dist/packages/watermark/watermark.scss +1 -0
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/theme-dark.scss +118 -23
- package/dist/styles/theme-default.scss +114 -32
- package/dist/styles/theme-jmapp.scss +158 -32
- package/dist/styles/variables-jmapp.scss +1120 -1258
- package/dist/styles/variables.scss +953 -1174
- package/dist/types/packages/animate/animate.taro.d.ts +1 -1
- package/dist/types/packages/button/button.d.ts +23 -0
- package/dist/types/packages/button/button.taro.d.ts +3 -2
- package/dist/types/packages/button/index.d.ts +3 -0
- package/dist/types/packages/checkbox/checkbox.taro.d.ts +2 -0
- package/dist/types/packages/configprovider/types.d.ts +1 -1
- package/dist/types/packages/dialog/config.d.ts +1 -0
- package/dist/types/packages/dialog/content.taro.d.ts +1 -0
- package/dist/types/packages/empty/empty.d.ts +5 -1
- package/dist/types/packages/empty/empty.taro.d.ts +5 -1
- package/dist/types/packages/empty/index.d.ts +4 -0
- package/dist/types/packages/empty/index.taro.d.ts +1 -0
- package/dist/types/packages/empty/types.d.ts +3 -0
- package/dist/types/packages/navbar/navbar.taro.d.ts +1 -0
- package/dist/types/packages/pagination/pagination.taro.d.ts +2 -2
- package/dist/types/packages/popover/popover.taro.d.ts +4 -0
- package/dist/types/packages/popup/popup.taro.d.ts +15 -2
- package/dist/types/packages/searchbar/searchbar.taro.d.ts +5 -0
- package/dist/types/packages/tabs/tabs.taro.d.ts +2 -2
- package/package.json +2 -2
- package/dist/esm/empty.taro-610d8e5c.js +0 -59
- package/dist/esm/{overlay.taro-2a34cbbf.js → overlay.taro-8514660f.js} +1 -1
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
import { B } from "./button.taro-
|
|
2
|
-
import { C } from "./cell.taro-
|
|
3
|
-
import { C as C2 } from "./cellgroup.taro-
|
|
4
|
-
import { C as C3 } from "./configprovider.taro-
|
|
5
|
-
import { I } from "./image.taro-
|
|
6
|
-
import { O } from "./overlay.taro-
|
|
1
|
+
import { B } from "./button.taro-e8d84b29.js";
|
|
2
|
+
import { C } from "./cell.taro-3bb24d44.js";
|
|
3
|
+
import { C as C2 } from "./cellgroup.taro-f998a42f.js";
|
|
4
|
+
import { C as C3 } from "./configprovider.taro-e890dac3.js";
|
|
5
|
+
import { I } from "./image.taro-8d73a60d.js";
|
|
6
|
+
import { O } from "./overlay.taro-8514660f.js";
|
|
7
7
|
import { C as C4 } from "./col.taro-23d5f6bd.js";
|
|
8
|
-
import { D } from "./divider.taro-
|
|
9
|
-
import { G } from "./grid.taro-
|
|
10
|
-
import { G as G2 } from "./griditem.taro-
|
|
8
|
+
import { D } from "./divider.taro-a92925b7.js";
|
|
9
|
+
import { G } from "./grid.taro-389996b2.js";
|
|
10
|
+
import { G as G2 } from "./griditem.taro-483246bf.js";
|
|
11
11
|
import { L } from "./layout.taro-7711a89c.js";
|
|
12
12
|
import { R } from "./row.taro-a71fbf76.js";
|
|
13
13
|
import { S } from "./space.taro-5f8f647f.js";
|
|
14
|
-
import { S as S2 } from "./sticky.taro-
|
|
14
|
+
import { S as S2 } from "./sticky.taro-560c98a8.js";
|
|
15
15
|
import { S as S3 } from "./safearea.taro-776b7bf8.js";
|
|
16
16
|
import { B as B2 } from "./backtop.taro-7f774b6c.js";
|
|
17
|
-
import { E } from "./elevator.taro-
|
|
18
|
-
import { F } from "./fixednav.taro-
|
|
19
|
-
import { N } from "./navbar.taro-
|
|
20
|
-
import { S as S4 } from "./sidenavbar.taro-
|
|
21
|
-
import { S as S5 } from "./sidenavbaritem.taro-
|
|
22
|
-
import { S as S6 } from "./subsidenavbar.taro-
|
|
23
|
-
import { T } from "./tabbar.taro-
|
|
24
|
-
import { T as T2 } from "./tabbaritem.taro-
|
|
17
|
+
import { E } from "./elevator.taro-1607d0b4.js";
|
|
18
|
+
import { F } from "./fixednav.taro-ec8c4526.js";
|
|
19
|
+
import { N } from "./navbar.taro-00b0b1fd.js";
|
|
20
|
+
import { S as S4 } from "./sidenavbar.taro-5a5b4178.js";
|
|
21
|
+
import { S as S5 } from "./sidenavbaritem.taro-f2650b21.js";
|
|
22
|
+
import { S as S6 } from "./subsidenavbar.taro-cf175ac5.js";
|
|
23
|
+
import { T } from "./tabbar.taro-e74e904e.js";
|
|
24
|
+
import { T as T2 } from "./tabbaritem.taro-fa0e2bfa.js";
|
|
25
25
|
import { T as T3 } from "./tabpane.taro-96001c64.js";
|
|
26
|
-
import { T as T4 } from "./tabs.taro-
|
|
27
|
-
import { A } from "./address.taro-
|
|
28
|
-
import { C as C5 } from "./calendar.taro-
|
|
29
|
-
import { C as C6 } from "./calendaritem.taro-
|
|
30
|
-
import { C as C7 } from "./calendarcard.taro-
|
|
31
|
-
import { C as C8 } from "./cascader.taro-
|
|
32
|
-
import { C as C9, a } from "./checkbox.taro-
|
|
33
|
-
import { D as D2 } from "./datepicker.taro-
|
|
26
|
+
import { T as T4 } from "./tabs.taro-99fba9f1.js";
|
|
27
|
+
import { A } from "./address.taro-71c98c46.js";
|
|
28
|
+
import { C as C5 } from "./calendar.taro-5ee74a65.js";
|
|
29
|
+
import { C as C6 } from "./calendaritem.taro-b30ef756.js";
|
|
30
|
+
import { C as C7 } from "./calendarcard.taro-73e67095.js";
|
|
31
|
+
import { C as C8 } from "./cascader.taro-24e4ece7.js";
|
|
32
|
+
import { C as C9, a } from "./checkbox.taro-fa5d9680.js";
|
|
33
|
+
import { D as D2 } from "./datepicker.taro-e80d9271.js";
|
|
34
34
|
import { default as default2 } from "./Form.js";
|
|
35
|
-
import { F as F2 } from "./formitem.taro-
|
|
36
|
-
import { I as I2 } from "./input.taro-
|
|
37
|
-
import { I as I3 } from "./inputnumber.taro-
|
|
38
|
-
import { M } from "./menu.taro-
|
|
39
|
-
import { M as M2 } from "./menuitem.taro-
|
|
40
|
-
import { N as N2 } from "./numberkeyboard.taro-
|
|
41
|
-
import { P } from "./picker.taro-
|
|
42
|
-
import { R as R2, a as a2 } from "./radio.taro-
|
|
35
|
+
import { F as F2 } from "./formitem.taro-2b8003f8.js";
|
|
36
|
+
import { I as I2 } from "./input.taro-d98c3cef.js";
|
|
37
|
+
import { I as I3 } from "./inputnumber.taro-07b246ee.js";
|
|
38
|
+
import { M } from "./menu.taro-c2dc8fdb.js";
|
|
39
|
+
import { M as M2 } from "./menuitem.taro-9cd511f4.js";
|
|
40
|
+
import { N as N2 } from "./numberkeyboard.taro-d01cb097.js";
|
|
41
|
+
import { P } from "./picker.taro-d40a4e27.js";
|
|
42
|
+
import { R as R2, a as a2 } from "./radio.taro-b0f9fd8e.js";
|
|
43
43
|
import { R as R3 } from "./range.taro-8c7e9294.js";
|
|
44
|
-
import { R as R4 } from "./rate.taro-
|
|
45
|
-
import { S as S7 } from "./searchbar.taro-
|
|
46
|
-
import { S as S8 } from "./shortpassword.taro-
|
|
47
|
-
import { S as S9 } from "./signature.taro-
|
|
48
|
-
import { S as S10 } from "./switch.taro-
|
|
49
|
-
import { T as T5 } from "./textarea.taro-
|
|
50
|
-
import { U } from "./uploader.taro-
|
|
51
|
-
import { A as A2 } from "./actionsheet.taro-
|
|
52
|
-
import { B as B3 } from "./badge.taro-
|
|
53
|
-
import { B as B4 } from "./dialog.taro-
|
|
44
|
+
import { R as R4 } from "./rate.taro-3da117db.js";
|
|
45
|
+
import { S as S7 } from "./searchbar.taro-ab39a108.js";
|
|
46
|
+
import { S as S8 } from "./shortpassword.taro-cd9e234e.js";
|
|
47
|
+
import { S as S9 } from "./signature.taro-7ada09ae.js";
|
|
48
|
+
import { S as S10 } from "./switch.taro-e46db0c3.js";
|
|
49
|
+
import { T as T5 } from "./textarea.taro-74da302f.js";
|
|
50
|
+
import { U } from "./uploader.taro-be3f843f.js";
|
|
51
|
+
import { A as A2 } from "./actionsheet.taro-b4b3e4a6.js";
|
|
52
|
+
import { B as B3 } from "./badge.taro-004f2eb0.js";
|
|
53
|
+
import { B as B4 } from "./dialog.taro-d1d66f17.js";
|
|
54
54
|
import { D as D3 } from "./drag.taro-ce333e51.js";
|
|
55
|
-
import { E as E2 } from "./empty.taro-
|
|
56
|
-
import { I as I4 } from "./infiniteloading.taro-
|
|
55
|
+
import { E as E2 } from "./empty.taro-e9dd38e7.js";
|
|
56
|
+
import { I as I4 } from "./infiniteloading.taro-e6068990.js";
|
|
57
57
|
import { L as L2 } from "./loading.taro-d511e398.js";
|
|
58
|
-
import { N as N3 } from "./noticebar.taro-
|
|
59
|
-
import { N as N4 } from "./notify.taro-
|
|
60
|
-
import { P as P2 } from "./popover.taro-
|
|
61
|
-
import { P as P3 } from "./popup.taro-
|
|
62
|
-
import { P as P4 } from "./pulltorefresh.taro-
|
|
63
|
-
import { S as S11 } from "./skeleton.taro-
|
|
64
|
-
import { S as S12 } from "./swipe.taro-
|
|
65
|
-
import { T as T6 } from "./toast.taro-
|
|
58
|
+
import { N as N3 } from "./noticebar.taro-512a92a0.js";
|
|
59
|
+
import { N as N4 } from "./notify.taro-3063c438.js";
|
|
60
|
+
import { P as P2 } from "./popover.taro-d1837cca.js";
|
|
61
|
+
import { P as P3 } from "./popup.taro-85284489.js";
|
|
62
|
+
import { P as P4 } from "./pulltorefresh.taro-e8258b3c.js";
|
|
63
|
+
import { S as S11 } from "./skeleton.taro-9504ad22.js";
|
|
64
|
+
import { S as S12 } from "./swipe.taro-adfd35e2.js";
|
|
65
|
+
import { T as T6 } from "./toast.taro-e5290709.js";
|
|
66
66
|
import { A as A3 } from "./animate.taro-37bf4eab.js";
|
|
67
67
|
import { default as default3 } from "./AnimatingNumbers.js";
|
|
68
|
-
import { A as A4 } from "./audio.taro-
|
|
69
|
-
import { A as A5 } from "./avatar.taro-
|
|
68
|
+
import { A as A4 } from "./audio.taro-a42eebb5.js";
|
|
69
|
+
import { A as A5 } from "./avatar.taro-814a4b85.js";
|
|
70
70
|
import { A as A6 } from "./avatargroup.taro-1f8b7174.js";
|
|
71
|
-
import { C as C10 } from "./circleprogress.taro-
|
|
72
|
-
import { C as C11 } from "./collapse.taro-
|
|
73
|
-
import { C as C12 } from "./collapseitem.taro-
|
|
74
|
-
import { C as C13 } from "./countdown.taro-
|
|
71
|
+
import { C as C10 } from "./circleprogress.taro-cbbc333a.js";
|
|
72
|
+
import { C as C11 } from "./collapse.taro-8b61fb79.js";
|
|
73
|
+
import { C as C12 } from "./collapseitem.taro-a1e96f50.js";
|
|
74
|
+
import { C as C13 } from "./countdown.taro-04aa98cf.js";
|
|
75
75
|
import { E as E3 } from "./ellipsis.taro-b1533122.js";
|
|
76
|
-
import { I as I5 } from "./imagepreview.taro-
|
|
77
|
-
import { I as I6 } from "./indicator.taro-
|
|
78
|
-
import { P as P5 } from "./pagination.taro-
|
|
79
|
-
import { P as P6 } from "./price.taro-
|
|
80
|
-
import { P as P7 } from "./progress.taro-
|
|
76
|
+
import { I as I5 } from "./imagepreview.taro-e660bf28.js";
|
|
77
|
+
import { I as I6 } from "./indicator.taro-7bec8fb9.js";
|
|
78
|
+
import { P as P5 } from "./pagination.taro-a8969bcf.js";
|
|
79
|
+
import { P as P6 } from "./price.taro-ce8f3249.js";
|
|
80
|
+
import { P as P7 } from "./progress.taro-129abe65.js";
|
|
81
81
|
import { S as S13 } from "./step.taro-02eb5edb.js";
|
|
82
82
|
import { S as S14 } from "./steps.taro-4b126463.js";
|
|
83
83
|
import { default as default4 } from "./Swiper.js";
|
|
84
84
|
import { S as S15 } from "./swiperitem.taro-da39a67b.js";
|
|
85
|
-
import { T as T7 } from "./table.taro-
|
|
86
|
-
import { T as T8 } from "./tag.taro-
|
|
87
|
-
import { T as T9 } from "./tour.taro-
|
|
85
|
+
import { T as T7 } from "./table.taro-4edde60b.js";
|
|
86
|
+
import { T as T8 } from "./tag.taro-9fbc6a5e.js";
|
|
87
|
+
import { T as T9 } from "./tour.taro-c7d2320b.js";
|
|
88
88
|
import { V } from "./video.taro-804f0da6.js";
|
|
89
89
|
import { V as V2 } from "./virtuallist.taro-08c9c585.js";
|
|
90
|
-
import { B as B5 } from "./barrage.taro-
|
|
91
|
-
import { C as C14 } from "./card.taro-
|
|
92
|
-
import { T as T10 } from "./timedetail.taro-
|
|
93
|
-
import { T as T11 } from "./timeselect.taro-
|
|
94
|
-
import { T as T12 } from "./trendarrow.taro-
|
|
95
|
-
import { W } from "./watermark.taro-
|
|
96
|
-
import { A as A7 } from "./avatarcropper.taro-
|
|
90
|
+
import { B as B5 } from "./barrage.taro-53b33990.js";
|
|
91
|
+
import { C as C14 } from "./card.taro-80ba74c4.js";
|
|
92
|
+
import { T as T10 } from "./timedetail.taro-130291a2.js";
|
|
93
|
+
import { T as T11 } from "./timeselect.taro-ea27c6d5.js";
|
|
94
|
+
import { T as T12 } from "./trendarrow.taro-ac0a3403.js";
|
|
95
|
+
import { W } from "./watermark.taro-3971822c.js";
|
|
96
|
+
import { A as A7 } from "./avatarcropper.taro-215ee89e.js";
|
|
97
97
|
import "react";
|
|
98
98
|
import "classnames";
|
|
99
99
|
import "@nutui/icons-react-taro";
|
|
@@ -110,7 +110,7 @@ import "./get-rect-by-taro-fe02fe2b.js";
|
|
|
110
110
|
import "./context-f32a9246.js";
|
|
111
111
|
import "./use-props-value-7637d900.js";
|
|
112
112
|
import "./use-force-update-9cd7c164.js";
|
|
113
|
-
import "./raf-
|
|
113
|
+
import "./raf-12d6371d.js";
|
|
114
114
|
import "./date-04589b69.js";
|
|
115
115
|
import "./index-00550715.js";
|
|
116
116
|
import "./use-custom-event-c672f4ae.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useMemo } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
3
|
+
import { u as useConfig } from "./configprovider.taro-e890dac3.js";
|
|
4
4
|
import { u as usePropsValue } from "./use-props-value-7637d900.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
6
6
|
const defaultProps = {
|
|
@@ -65,26 +65,40 @@ const Pagination = (props) => {
|
|
|
65
65
|
return React__default.createElement(
|
|
66
66
|
"div",
|
|
67
67
|
{ className: classNames(classPrefix, className), ...rest },
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
68
|
+
(mode === "multi" || mode === "simple") && React__default.createElement(
|
|
69
|
+
React__default.Fragment,
|
|
70
|
+
null,
|
|
71
|
+
React__default.createElement("div", { className: classNames(`${classPrefix}-prev`, mode === "multi" ? "" : "simple-border", currentPage === 1 ? "disabled" : ""), onClick: (e) => handleSelectPage(currentPage - 1) }, prev || locale.pagination.prev),
|
|
72
|
+
mode === "multi" && React__default.createElement("div", { className: `${classPrefix}-contain` }, pages.map((item, index) => {
|
|
73
|
+
return React__default.createElement("div", { key: `${index}pagination`, className: classNames(`${classPrefix}-item`, {
|
|
74
|
+
active: item.number === currentPage
|
|
75
|
+
}), onClick: (e) => {
|
|
76
|
+
item.number !== currentPage && handleSelectPage(item.number);
|
|
77
|
+
} }, itemRender ? itemRender(item) : item.text);
|
|
78
|
+
})),
|
|
79
|
+
mode === "simple" && React__default.createElement(
|
|
80
|
+
"div",
|
|
81
|
+
{ className: `${classPrefix}-contain` },
|
|
82
|
+
React__default.createElement(
|
|
83
|
+
"div",
|
|
84
|
+
{ className: `${classPrefix}-simple` },
|
|
85
|
+
currentPage,
|
|
86
|
+
"/",
|
|
87
|
+
pageCount
|
|
88
|
+
)
|
|
89
|
+
),
|
|
90
|
+
React__default.createElement("div", { className: classNames(`${classPrefix}-next`, currentPage >= pageCount ? "disabled" : ""), onClick: (e) => handleSelectPage(currentPage + 1) }, next || locale.pagination.next)
|
|
91
|
+
),
|
|
92
|
+
mode === "lite" && React__default.createElement(
|
|
93
|
+
React__default.Fragment,
|
|
94
|
+
null,
|
|
79
95
|
React__default.createElement(
|
|
80
96
|
"div",
|
|
81
|
-
{ className: `${classPrefix}
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
pageCount
|
|
97
|
+
{ className: `${classPrefix}-lite` },
|
|
98
|
+
React__default.createElement("div", { className: `${classPrefix}-lite-active` }, 2),
|
|
99
|
+
React__default.createElement("div", { className: `${classPrefix}-lite-default` }, 8)
|
|
85
100
|
)
|
|
86
|
-
)
|
|
87
|
-
React__default.createElement("div", { className: classNames(`${classPrefix}__next`, currentPage >= pageCount ? "disabled" : ""), onClick: (e) => handleSelectPage(currentPage + 1) }, next || locale.pagination.next)
|
|
101
|
+
)
|
|
88
102
|
);
|
|
89
103
|
};
|
|
90
104
|
Pagination.defaultProps = defaultProps;
|
|
@@ -2,11 +2,11 @@ import React__default, { useState, useRef, useEffect, useImperativeHandle } from
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import Taro from "@tarojs/taro";
|
|
4
4
|
import { View, PickerView, PickerViewColumn } from "@tarojs/components";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
+
import { P as Popup } from "./popup.taro-85284489.js";
|
|
6
6
|
import { u as useTouch } from "./use-touch-38cf73ae.js";
|
|
7
7
|
import { g as getRectByTaro } from "./get-rect-by-taro-fe02fe2b.js";
|
|
8
|
-
import { p as passiveSupported } from "./overlay.taro-
|
|
9
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
8
|
+
import { p as passiveSupported } from "./overlay.taro-8514660f.js";
|
|
9
|
+
import { u as useConfig } from "./configprovider.taro-e890dac3.js";
|
|
10
10
|
import { u as usePropsValue } from "./use-props-value-7637d900.js";
|
|
11
11
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
12
12
|
const InternalPickerPanel = (props, ref) => {
|
|
@@ -441,13 +441,13 @@ const InternalPicker = (props, ref) => {
|
|
|
441
441
|
const renderTitleBar = () => {
|
|
442
442
|
return React__default.createElement(
|
|
443
443
|
"div",
|
|
444
|
-
{ className: `${classPrefix}
|
|
445
|
-
React__default.createElement("span", { className: `${classPrefix}
|
|
444
|
+
{ className: `${classPrefix}-control` },
|
|
445
|
+
React__default.createElement("span", { className: `${classPrefix}-cancel-btn`, onClick: (e) => {
|
|
446
446
|
onCancel == null ? void 0 : onCancel();
|
|
447
447
|
setInnerVisible(false);
|
|
448
448
|
} }, locale.cancel),
|
|
449
|
-
React__default.createElement("div", { className: `${classPrefix}
|
|
450
|
-
React__default.createElement("span", { className: `${classPrefix}
|
|
449
|
+
React__default.createElement("div", { className: `${classPrefix}-title` }, title || ""),
|
|
450
|
+
React__default.createElement("span", { className: `${classPrefix}-confirm-btn`, onClick: (e) => {
|
|
451
451
|
confirm();
|
|
452
452
|
} }, locale.confirm)
|
|
453
453
|
);
|
|
@@ -491,7 +491,7 @@ const InternalPicker = (props, ref) => {
|
|
|
491
491
|
{ className: classes, style, ...rest, catchMove: true },
|
|
492
492
|
renderTitleBar(),
|
|
493
493
|
typeof children !== "function" && children,
|
|
494
|
-
React__default.createElement("div", { className: `${classPrefix}
|
|
494
|
+
React__default.createElement("div", { className: `${classPrefix}-panel`, ref: pickerRef }, Taro.getEnv() === "WEB" ? columnsList == null ? void 0 : columnsList.map((item, index) => {
|
|
495
495
|
return React__default.createElement(PickerPanel$1, { ref: setRefs(index), defaultValue: innerValue == null ? void 0 : innerValue[index], options: item, threeDimensional, chooseItem: (value, index2) => chooseItem(value, index2), duration, key: index, keyIndex: index, itemShow: visible });
|
|
496
496
|
}) : React__default.createElement(PickerView, { ref: pickerRef, value: currentValue, immediateChange: true, onPickStart: pickerStart, onChange: pickerChange, onPickEnd: pickerEnd, indicatorClass: "nut-picker-indicator-taro", className: "nut-picker-view-panel" }, columnsList == null ? void 0 : columnsList.map((columnOptions, index) => {
|
|
497
497
|
return React__default.createElement(PickerViewColumn, { key: `col${index}` }, columnOptions.map((item, index2) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-85284489.js";
|
|
5
5
|
import { a as getRect, g as getRectByTaro } from "./get-rect-by-taro-fe02fe2b.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
7
7
|
const defaultProps = {
|
|
@@ -94,9 +94,8 @@ const Popover = (props) => {
|
|
|
94
94
|
}, className);
|
|
95
95
|
const popoverArrow = () => {
|
|
96
96
|
const prefixCls = "nut-popover-arrow";
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
return `${prefixCls} ${prefixCls}-${direction} ${prefixCls}--${loca}`;
|
|
97
|
+
const direction = location.split("-")[0];
|
|
98
|
+
return `${prefixCls} ${prefixCls}-${direction} ${prefixCls}-${location}`;
|
|
100
99
|
};
|
|
101
100
|
const getRootPosition = () => {
|
|
102
101
|
const styles = {};
|
|
@@ -206,7 +205,7 @@ const Popover = (props) => {
|
|
|
206
205
|
{ className: classes, style: getRootPosition() },
|
|
207
206
|
React__default.createElement(
|
|
208
207
|
Popup,
|
|
209
|
-
{ className: `nut-popover-content nut-popover-content
|
|
208
|
+
{ className: `nut-popover-content nut-popover-content-${location}`, position: "default", overlay, visible: showPopup, ...rest },
|
|
210
209
|
React__default.createElement(
|
|
211
210
|
"div",
|
|
212
211
|
{ className: "nut-popover-content-group", ref: popoverContentRef },
|
|
@@ -219,8 +218,12 @@ const Popover = (props) => {
|
|
|
219
218
|
"nut-popover-menu-item": true,
|
|
220
219
|
"nut-popover-menu-disabled": item.disabled
|
|
221
220
|
}, item.className), key: item.key || index, onClick: () => handleSelect(item, index) },
|
|
222
|
-
item.icon ? item.icon : null,
|
|
223
|
-
React__default.createElement("div", { className: "nut-popover-menu-item-name" }, item.name)
|
|
221
|
+
item.icon ? React__default.createElement("i", { className: "nut-popover-menu-item-icon" }, item.icon) : null,
|
|
222
|
+
React__default.createElement("div", { className: "nut-popover-menu-item-name" }, item.name),
|
|
223
|
+
item.action && item.action.icon ? React__default.createElement("i", { className: "nut-popover-menu-item-action-icon", onClick: (e) => {
|
|
224
|
+
var _a, _b;
|
|
225
|
+
return (_b = (_a = item.action) == null ? void 0 : _a.onClick) == null ? void 0 : _b.call(_a, e);
|
|
226
|
+
} }, item.action.icon) : null
|
|
224
227
|
);
|
|
225
228
|
})
|
|
226
229
|
)
|
|
@@ -4,7 +4,7 @@ import { CSSTransition } from "react-transition-group";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { Close } from "@nutui/icons-react-taro";
|
|
6
6
|
import { View } from "@tarojs/components";
|
|
7
|
-
import { d as defaultOverlayProps, u as useLockScrollTaro, O as Overlay } from "./overlay.taro-
|
|
7
|
+
import { d as defaultOverlayProps, u as useLockScrollTaro, O as Overlay } from "./overlay.taro-8514660f.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
9
9
|
const defaultProps = {
|
|
10
10
|
...ComponentDefaults,
|
|
@@ -29,7 +29,7 @@ const defaultProps = {
|
|
|
29
29
|
};
|
|
30
30
|
const _zIndex = 1100;
|
|
31
31
|
const Popup = (props) => {
|
|
32
|
-
const { children, visible, overlay, closeOnOverlayClick, overlayStyle, overlayClassName, zIndex, lockScroll, duration, closeable, closeIconPosition, closeIcon, left, title, style, transition, round, position, className, destroyOnClose, portal, onOpen, onClose, onOverlayClick, onCloseIconClick, afterShow, afterClose, onClick } = { ...defaultProps, ...props };
|
|
32
|
+
const { children, visible, overlay, closeOnOverlayClick, overlayStyle, overlayClassName, zIndex, lockScroll, duration, closeable, closeIconPosition, closeIcon, left, title, description, style, transition, round, position, className, destroyOnClose, portal, onOpen, onClose, onOverlayClick, onCloseIconClick, afterShow, afterClose, onClick } = { ...defaultProps, ...props };
|
|
33
33
|
let innerIndex = zIndex || _zIndex;
|
|
34
34
|
const [index, setIndex] = useState(innerIndex);
|
|
35
35
|
const [innerVisible, setInnerVisible] = useState(visible);
|
|
@@ -49,14 +49,14 @@ const Popup = (props) => {
|
|
|
49
49
|
...baseStyle
|
|
50
50
|
};
|
|
51
51
|
const popClassName = classNames({
|
|
52
|
-
round,
|
|
52
|
+
[`${classPrefix}-round`]: round || position === "bottom",
|
|
53
53
|
[`${classPrefix}`]: true,
|
|
54
54
|
[`${classPrefix}-${position}`]: true,
|
|
55
55
|
[`${className || ""}`]: true
|
|
56
56
|
});
|
|
57
57
|
const closeClasses = classNames({
|
|
58
|
-
[`${classPrefix}
|
|
59
|
-
[`${classPrefix}
|
|
58
|
+
[`${classPrefix}-title-right`]: true,
|
|
59
|
+
[`${classPrefix}-title-right-${closeIconPosition}`]: true
|
|
60
60
|
});
|
|
61
61
|
const open = () => {
|
|
62
62
|
if (!innerVisible) {
|
|
@@ -110,19 +110,25 @@ const Popup = (props) => {
|
|
|
110
110
|
}
|
|
111
111
|
return node;
|
|
112
112
|
};
|
|
113
|
-
const renderIcon = () => {
|
|
114
|
-
if (closeable) {
|
|
115
|
-
return React__default.createElement(View, { className: closeClasses, onClick: onHandleClickCloseIcon }, React__default.isValidElement(closeIcon) ? closeIcon : React__default.createElement(Close, { width: 12, height: 12 }));
|
|
116
|
-
}
|
|
117
|
-
return null;
|
|
118
|
-
};
|
|
119
113
|
const renderTitle = () => {
|
|
120
|
-
|
|
121
|
-
React__default.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
114
|
+
if (left || title || closeable || description) {
|
|
115
|
+
return React__default.createElement(
|
|
116
|
+
View,
|
|
117
|
+
{ className: `${classPrefix}-title` },
|
|
118
|
+
position === "bottom" && React__default.createElement(
|
|
119
|
+
React__default.Fragment,
|
|
120
|
+
null,
|
|
121
|
+
left && React__default.createElement(View, { className: `${classPrefix}-title-left` }, left),
|
|
122
|
+
(title || description) && React__default.createElement(
|
|
123
|
+
"div",
|
|
124
|
+
{ className: `${classPrefix}-title-title` },
|
|
125
|
+
title,
|
|
126
|
+
description && React__default.createElement("div", { className: `${classPrefix}-title-description` }, description)
|
|
127
|
+
)
|
|
128
|
+
),
|
|
129
|
+
closeable && React__default.createElement(View, { className: closeClasses, onClick: onHandleClickCloseIcon }, React__default.isValidElement(closeIcon) ? closeIcon : React__default.createElement(Close, null))
|
|
130
|
+
);
|
|
131
|
+
}
|
|
126
132
|
};
|
|
127
133
|
const renderPop = () => {
|
|
128
134
|
return React__default.createElement(
|
|
@@ -132,7 +138,6 @@ const Popup = (props) => {
|
|
|
132
138
|
View,
|
|
133
139
|
{ ref: refObject, style: popStyles, className: popClassName, onClick: onHandleClick, catchMove: lockScroll },
|
|
134
140
|
renderTitle(),
|
|
135
|
-
renderIcon(),
|
|
136
141
|
showChildren ? children : ""
|
|
137
142
|
)
|
|
138
143
|
);
|
|
@@ -61,15 +61,15 @@ const Price = (props) => {
|
|
|
61
61
|
return String(resultFixed).substring(2, resultFixed.length);
|
|
62
62
|
};
|
|
63
63
|
const renderSymbol = () => {
|
|
64
|
-
return React__default.createElement("div", { className: `${classPrefix}
|
|
64
|
+
return React__default.createElement("div", { className: `${classPrefix}-symbol ${classPrefix}-symbol-${size}`, dangerouslySetInnerHTML: showSymbol() });
|
|
65
65
|
};
|
|
66
66
|
return React__default.createElement(
|
|
67
67
|
"div",
|
|
68
|
-
{ className: `${classPrefix} ${line ? `${classPrefix}
|
|
68
|
+
{ className: `${classPrefix} ${line ? `${classPrefix}-line` : ""} ${className}`, style, ...rest },
|
|
69
69
|
symbol && position === "before" ? renderSymbol() : null,
|
|
70
|
-
React__default.createElement("div", { className: `${classPrefix}
|
|
71
|
-
digits !== 0 ? React__default.createElement("div", { className: `${classPrefix}
|
|
72
|
-
React__default.createElement("div", { className: `${classPrefix}
|
|
70
|
+
React__default.createElement("div", { className: `${classPrefix}-integer ${classPrefix}-integer-${size}` }, formatThousands(price)),
|
|
71
|
+
digits !== 0 ? React__default.createElement("div", { className: `${classPrefix}-decimal ${classPrefix}-decimal-${size}` }, ".") : null,
|
|
72
|
+
React__default.createElement("div", { className: `${classPrefix}-decimal ${classPrefix}-decimal-${size}` }, formatDecimal(price)),
|
|
73
73
|
symbol && position === "after" ? renderSymbol() : null
|
|
74
74
|
);
|
|
75
75
|
};
|
|
@@ -50,7 +50,7 @@ const Progress = (props) => {
|
|
|
50
50
|
{ className: `${classPrefix}-outer`, style: stylesOuter },
|
|
51
51
|
React__default.createElement("div", { className: classesInner, style: stylesInner }, showText && React__default.createElement("div", { className: `${classPrefix}-text`, style: { left: `${displayPercent}%` } }, children || React__default.createElement(
|
|
52
52
|
"div",
|
|
53
|
-
{ className: `${classPrefix}-
|
|
53
|
+
{ className: `${classPrefix}-text-inner`, style: {
|
|
54
54
|
background: color
|
|
55
55
|
} },
|
|
56
56
|
percent,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useRef, useState } from "react";
|
|
2
2
|
import { View } from "@tarojs/components";
|
|
3
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
3
|
+
import { u as useConfig } from "./configprovider.taro-e890dac3.js";
|
|
4
4
|
import { u as useTouch } from "./use-touch-38cf73ae.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
6
6
|
function bound(position, min, max) {
|
|
@@ -34,7 +34,7 @@ const defaultProps = {
|
|
|
34
34
|
completeText: "",
|
|
35
35
|
completeDelay: 500,
|
|
36
36
|
disabled: false,
|
|
37
|
-
headHeight:
|
|
37
|
+
headHeight: 50,
|
|
38
38
|
threshold: 60,
|
|
39
39
|
scrollTop: 0,
|
|
40
40
|
onRefresh: () => {
|
|
@@ -59,6 +59,28 @@ const PullToRefresh = (p) => {
|
|
|
59
59
|
const pullingRef = useRef(false);
|
|
60
60
|
const [status, setStatus] = useState("pulling");
|
|
61
61
|
const [height, setHeight] = useState(0);
|
|
62
|
+
const renderIcons = () => {
|
|
63
|
+
return React__default.createElement(
|
|
64
|
+
React__default.Fragment,
|
|
65
|
+
null,
|
|
66
|
+
React__default.createElement(
|
|
67
|
+
"i",
|
|
68
|
+
{ className: `${classPrefix}-head-content-icons` },
|
|
69
|
+
(status === "pulling" || status === "complete") && React__default.createElement(
|
|
70
|
+
"svg",
|
|
71
|
+
{ xmlns: "http://www.w3.org/2000/svg", width: "36", height: "26", viewBox: "0 0 36 26", fill: "none" },
|
|
72
|
+
React__default.createElement("path", { d: "M34.7243 10.965C32.842 8.94809 32.4297 5.92727 31.2018 4.90525C29.9738 3.88324 28.1722 5.51123 27.5089 6.46993C23.8429 3.88324 17.9809 4.00082 17.9809 4.00082C17.9809 4.00082 12.1458 3.88324 8.47083 6.46993C7.80754 5.51123 6.01488 3.88324 4.78691 4.90525C3.55894 5.92727 3.15559 8.94809 1.2733 10.965C-0.133943 12.4844 -0.250465 12.9276 0.323186 14.1305C0.887874 15.3334 4.40149 16.3283 6.88432 13.9496C7.21596 15.1887 10.0125 21.9991 17.9899 21.9991C25.9672 21.9991 28.7817 15.1887 29.1043 13.9496C31.5872 16.3283 35.1098 15.3334 35.6834 14.1305C36.2481 12.9276 36.1316 12.4844 34.7243 10.965Z", fill: "#8C8C8C" })
|
|
73
|
+
),
|
|
74
|
+
(status === "canRelease" || status === "refreshing") && React__default.createElement(
|
|
75
|
+
"svg",
|
|
76
|
+
{ xmlns: "http://www.w3.org/2000/svg", width: "36", height: "26", viewBox: "0 0 36 26", fill: "none" },
|
|
77
|
+
React__default.createElement("circle", { cx: "33", cy: "13", r: "3", fill: "#8C8C8C" }),
|
|
78
|
+
React__default.createElement("circle", { cx: "18", cy: "13", r: "3", fill: "#8C8C8C" }),
|
|
79
|
+
React__default.createElement("circle", { cx: "3", cy: "13", r: "3", fill: "#8C8C8C" })
|
|
80
|
+
)
|
|
81
|
+
)
|
|
82
|
+
);
|
|
83
|
+
};
|
|
62
84
|
const renderStatusText = () => {
|
|
63
85
|
var _a;
|
|
64
86
|
if (props.renderText) {
|
|
@@ -126,7 +148,12 @@ const PullToRefresh = (p) => {
|
|
|
126
148
|
React__default.createElement(
|
|
127
149
|
View,
|
|
128
150
|
{ style: springStyles, className: `${classPrefix}-head` },
|
|
129
|
-
React__default.createElement(
|
|
151
|
+
React__default.createElement(
|
|
152
|
+
"div",
|
|
153
|
+
{ className: `${classPrefix}-head-content`, style: { height: headHeight } },
|
|
154
|
+
renderIcons(),
|
|
155
|
+
React__default.createElement("div", null, renderStatusText())
|
|
156
|
+
)
|
|
130
157
|
),
|
|
131
158
|
React__default.createElement("div", { className: `${classPrefix}-content` }, props.children)
|
|
132
159
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useCallback, useContext } from "react";
|
|
2
|
-
import { CheckChecked, CheckNormal } from "@nutui/icons-react-taro";
|
|
2
|
+
import { CheckDisabled, CheckChecked, CheckNormal } from "@nutui/icons-react-taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
5
5
|
import { u as usePropsValue } from "./use-props-value-7637d900.js";
|
|
@@ -39,7 +39,7 @@ const RadioGroup = React__default.forwardRef((props, ref) => {
|
|
|
39
39
|
}
|
|
40
40
|
} },
|
|
41
41
|
React__default.createElement("div", { className: classNames(classPrefix, {
|
|
42
|
-
[`${classPrefix}
|
|
42
|
+
[`${classPrefix}-${props.direction}`]: props.direction
|
|
43
43
|
}, className), ...rest }, (options == null ? void 0 : options.length) ? renderOptionsChildren() : children)
|
|
44
44
|
);
|
|
45
45
|
});
|
|
@@ -87,25 +87,28 @@ const Radio = (props) => {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
const renderLabel = () => {
|
|
90
|
-
return React__default.createElement("div", { className: classNames(`${classPrefix2}
|
|
91
|
-
[`${classPrefix2}
|
|
90
|
+
return React__default.createElement("div", { className: classNames(`${classPrefix2}-label`, {
|
|
91
|
+
[`${classPrefix2}-label-disabled`]: disabled
|
|
92
92
|
}) }, children);
|
|
93
93
|
};
|
|
94
94
|
const renderButton = () => {
|
|
95
|
-
return React__default.createElement("div", { className: classNames(`${classPrefix2}
|
|
96
|
-
[`${classPrefix2}
|
|
97
|
-
[`${classPrefix2}
|
|
95
|
+
return React__default.createElement("div", { className: classNames(`${classPrefix2}-button`, {
|
|
96
|
+
[`${classPrefix2}-button-active`]: checkedStatement,
|
|
97
|
+
[`${classPrefix2}-button-disabled`]: disabled
|
|
98
98
|
}) }, children);
|
|
99
99
|
};
|
|
100
100
|
const color = () => {
|
|
101
101
|
return {
|
|
102
|
-
[`${classPrefix2}
|
|
103
|
-
[`${classPrefix2}
|
|
104
|
-
[`${classPrefix2}
|
|
102
|
+
[`${classPrefix2}-icon-disabled`]: disabled,
|
|
103
|
+
[`${classPrefix2}-icon`]: !checkedStatement,
|
|
104
|
+
[`${classPrefix2}-icon-checked`]: checkedStatement
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
const renderIcon = () => {
|
|
108
108
|
const { icon: icon2, activeIcon: activeIcon2 } = props;
|
|
109
|
+
if (disabled && !checkedStatement) {
|
|
110
|
+
return React__default.createElement(CheckDisabled, { className: classNames(color()) });
|
|
111
|
+
}
|
|
109
112
|
if (checkedStatement) {
|
|
110
113
|
return React__default.isValidElement(activeIcon2) ? React__default.cloneElement(activeIcon2, {
|
|
111
114
|
...activeIcon2.props,
|
|
@@ -134,7 +137,7 @@ const Radio = (props) => {
|
|
|
134
137
|
setCheckedStatement(!checkedStatement);
|
|
135
138
|
};
|
|
136
139
|
return React__default.createElement("div", { className: classNames(classPrefix2, {
|
|
137
|
-
[`${classPrefix2}
|
|
140
|
+
[`${classPrefix2}-reverse`]: labelPosition === "left"
|
|
138
141
|
}, className), style, onClick: handleClick, ...rest }, renderRadioItem());
|
|
139
142
|
};
|
|
140
143
|
Radio.defaultProps = defaultProps;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import {
|
|
3
|
+
import { StarFill } from "@nutui/icons-react-taro";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings-11d83a22.js";
|
|
5
5
|
import { u as usePropsValue } from "./use-props-value-7637d900.js";
|
|
6
6
|
const defaultProps = {
|
|
@@ -34,9 +34,9 @@ const Rate = (props) => {
|
|
|
34
34
|
setCountArray(tmp);
|
|
35
35
|
}, [count]);
|
|
36
36
|
const renderIcon = (n) => {
|
|
37
|
-
return n <= score ? checkedIcon || React__default.createElement(
|
|
37
|
+
return n <= score ? checkedIcon || React__default.createElement(StarFill, null) : uncheckedIcon || (checkedIcon ? React__default.cloneElement(checkedIcon, {
|
|
38
38
|
color: void 0
|
|
39
|
-
}) : React__default.createElement(
|
|
39
|
+
}) : React__default.createElement(StarFill, null));
|
|
40
40
|
};
|
|
41
41
|
const onClick = (e, index) => {
|
|
42
42
|
e.preventDefault();
|
|
@@ -63,10 +63,10 @@ const Rate = (props) => {
|
|
|
63
63
|
return React__default.createElement(
|
|
64
64
|
"div",
|
|
65
65
|
{ className: `${classPrefix}-item`, key: n, onClick: (event) => onClick(event, n) },
|
|
66
|
-
React__default.createElement("div", { className: classNames(`${classPrefix}-
|
|
67
|
-
[`${classPrefix}-
|
|
66
|
+
React__default.createElement("div", { className: classNames(`${classPrefix}-item-icon`, {
|
|
67
|
+
[`${classPrefix}-item-icon-disabled`]: disabled || n > score
|
|
68
68
|
}) }, renderIcon(n)),
|
|
69
|
-
allowHalf && score > n - 1 && React__default.createElement("div", { className: classNames(`${classPrefix}-
|
|
69
|
+
allowHalf && score > n - 1 && React__default.createElement("div", { className: classNames(`${classPrefix}-item-half`, `${classPrefix}-item-icon`, `${classPrefix}-item-icon-half`), onClick: (event) => onHalfClick(event, n) }, renderIcon(n))
|
|
70
70
|
);
|
|
71
71
|
}));
|
|
72
72
|
};
|