@nutui/nutui-react-taro 2.6.17 → 2.6.18
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 +25 -11
- package/dist/esm/ActionSheet.js +1 -1
- package/dist/esm/Address.js +1 -1
- package/dist/esm/Calendar.js +1 -1
- package/dist/esm/Cascader.js +1 -1
- package/dist/esm/DatePicker.js +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/FixedNav.js +1 -1
- package/dist/esm/ImagePreview.js +1 -1
- package/dist/esm/Input.js +1 -1
- package/dist/esm/Menu.js +1 -1
- package/dist/esm/MenuItem.js +1 -1
- package/dist/esm/NumberKeyboard.js +1 -1
- package/dist/esm/Overlay.js +1 -1
- package/dist/esm/Picker.js +1 -1
- package/dist/esm/Popover.js +1 -1
- package/dist/esm/Popup.js +1 -1
- package/dist/esm/ShortPassword.js +1 -1
- package/dist/esm/SideNavBar.js +1 -1
- package/dist/esm/Sticky.js +1 -1
- package/dist/esm/TimeSelect.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Tour.js +1 -1
- package/dist/esm/Uploader.js +1 -1
- package/dist/esm/{actionsheet.taro-CQ3sJY3B.js → actionsheet.taro-CJjNsNrH.js} +1 -1
- package/dist/esm/{address.taro-Old6uBAn.js → address.taro-CH4lcI54.js} +2 -2
- package/dist/esm/{calendar.taro-C4UvVkgw.js → calendar.taro-BXrHr8bg.js} +1 -1
- package/dist/esm/{cascader.taro-BNw6H5ue.js → cascader.taro-4QSI_vGC.js} +1 -1
- package/dist/esm/{datepicker.taro-C1wMTysn.js → datepicker.taro-BxaZ3Fjv.js} +1 -1
- package/dist/esm/{dialog.taro-BY2KfQh1.js → dialog.taro-BW9D2Gsr.js} +1 -1
- package/dist/esm/{fixednav.taro-C3iUeag8.js → fixednav.taro-D3KnhYoI.js} +1 -1
- package/dist/esm/{get-scroll-parent-9ZDWApX2.js → get-scroll-parent-DB1VRg11.js} +1 -0
- package/dist/esm/{imagepreview.taro-CJDHziHn.js → imagepreview.taro-0D3hjS6s.js} +1 -1
- package/dist/esm/{input.taro-B_B1lJq2.js → input.taro-DbAbbzIX.js} +5 -7
- package/dist/esm/{menu.taro-Cw_lCHDb.js → menu.taro-CLbOM_Z4.js} +1 -1
- package/dist/esm/{menuitem.taro-DqLGsBUc.js → menuitem.taro-CNaseNcY.js} +1 -1
- package/dist/esm/{numberkeyboard.taro-B-FEM91t.js → numberkeyboard.taro-Cz6rKxk3.js} +1 -1
- package/dist/esm/nutui-react.es.js +23 -23
- package/dist/esm/{overlay.taro-B5s6rmEf.js → overlay.taro-C2t82CZz.js} +16 -2
- package/dist/esm/{picker.taro-Cu8B-fNC.js → picker.taro-CafNRRO5.js} +3 -2
- package/dist/esm/{popover.taro-DrC9HQ1E.js → popover.taro-B_FJgU0z.js} +1 -1
- package/dist/esm/{popup.taro-_E52-0su.js → popup.taro-CR3JyuJV.js} +1 -1
- package/dist/esm/{shortpassword.taro-CmPaHe0E.js → shortpassword.taro-DpdtRsQ-.js} +1 -1
- package/dist/esm/{sidenavbar.taro-BWB1yd3c.js → sidenavbar.taro-5BmrYFtP.js} +1 -1
- package/dist/esm/{sticky.taro-2Vup8HR8.js → sticky.taro-DC98CdU7.js} +10 -2
- package/dist/esm/{timeselect.taro-CgcPLf0z.js → timeselect.taro-DncKbp3l.js} +1 -1
- package/dist/esm/{toast.taro-3B6uFLDu.js → toast.taro-CYk6UERn.js} +1 -1
- package/dist/esm/{tour.taro-D88VKjAl.js → tour.taro-SPMrhDA9.js} +1 -1
- package/dist/esm/{uploader.taro-0QYFT-E8.js → uploader.taro-Do8LZqUn.js} +21 -3
- 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 +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +431 -337
- package/dist/nutui.react.umd.js +436 -342
- package/dist/types/index.d.ts +196 -196
- package/dist/types/packages/actionsheet/actionsheet.d.ts +2 -2
- package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +2 -2
- package/dist/types/packages/address/address.d.ts +2 -2
- package/dist/types/packages/address/address.taro.d.ts +2 -2
- package/dist/types/packages/address/customRender.d.ts +2 -2
- package/dist/types/packages/address/customRender.taro.d.ts +2 -2
- package/dist/types/packages/address/existRender.d.ts +1 -1
- package/dist/types/packages/address/existRender.taro.d.ts +1 -1
- package/dist/types/packages/animate/animate.d.ts +1 -1
- package/dist/types/packages/animate/animate.taro.d.ts +1 -1
- package/dist/types/packages/animatingnumbers/animatingnumbers.d.ts +2 -2
- package/dist/types/packages/animatingnumbers/animatingnumbers.taro.d.ts +2 -2
- package/dist/types/packages/audio/audio.d.ts +1 -2
- package/dist/types/packages/audio/audio.taro.d.ts +1 -1
- package/dist/types/packages/avatar/avatar.d.ts +2 -3
- package/dist/types/packages/avatar/avatar.taro.d.ts +2 -3
- package/dist/types/packages/avatarcropper/avatarcropper.d.ts +1 -1
- package/dist/types/packages/avatarcropper/avatarcropper.taro.d.ts +1 -1
- package/dist/types/packages/avatargroup/avatargroup.d.ts +1 -1
- package/dist/types/packages/avatargroup/avatargroup.taro.d.ts +1 -1
- package/dist/types/packages/avatargroup/context.d.ts +1 -1
- package/dist/types/packages/backtop/backtop.d.ts +1 -2
- package/dist/types/packages/backtop/backtop.taro.d.ts +1 -2
- package/dist/types/packages/barrage/barrage.d.ts +1 -1
- package/dist/types/packages/barrage/barrage.taro.d.ts +1 -1
- package/dist/types/packages/button/button.d.ts +1 -2
- package/dist/types/packages/button/button.taro.d.ts +1 -2
- package/dist/types/packages/calendar/calendar.d.ts +2 -2
- package/dist/types/packages/calendar/calendar.taro.d.ts +2 -2
- package/dist/types/packages/calendarcard/calendarcard.d.ts +2 -2
- package/dist/types/packages/calendarcard/calendarcard.taro.d.ts +2 -2
- package/dist/types/packages/calendaritem/calendaritem.d.ts +2 -2
- package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +2 -2
- package/dist/types/packages/card/card.d.ts +1 -1
- package/dist/types/packages/card/card.taro.d.ts +1 -1
- package/dist/types/packages/cascader/cascader.d.ts +2 -2
- package/dist/types/packages/cascader/cascader.taro.d.ts +2 -2
- package/dist/types/packages/cell/cell.d.ts +2 -2
- package/dist/types/packages/cell/cell.taro.d.ts +2 -2
- package/dist/types/packages/cellgroup/context.d.ts +1 -1
- package/dist/types/packages/checkbox/checkbox.d.ts +3 -3
- package/dist/types/packages/checkbox/checkbox.taro.d.ts +3 -3
- package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +3 -3
- package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +3 -3
- package/dist/types/packages/checkboxgroup/context.d.ts +1 -1
- package/dist/types/packages/circleprogress/circleprogress.d.ts +1 -1
- package/dist/types/packages/circleprogress/circleprogress.taro.d.ts +1 -1
- package/dist/types/packages/col/col.d.ts +1 -2
- package/dist/types/packages/col/col.taro.d.ts +1 -2
- package/dist/types/packages/collapse/collapse.d.ts +1 -1
- package/dist/types/packages/collapse/collapse.taro.d.ts +1 -1
- package/dist/types/packages/collapse/context.d.ts +1 -1
- package/dist/types/packages/collapseitem/collapseitem.d.ts +1 -1
- package/dist/types/packages/collapseitem/collapseitem.taro.d.ts +1 -1
- package/dist/types/packages/configprovider/configprovider.d.ts +1 -1
- package/dist/types/packages/configprovider/configprovider.taro.d.ts +1 -1
- package/dist/types/packages/countdown/countdown.d.ts +1 -1
- package/dist/types/packages/countdown/countdown.taro.d.ts +1 -1
- package/dist/types/packages/datepicker/datepicker.d.ts +2 -2
- package/dist/types/packages/datepicker/datepicker.taro.d.ts +2 -2
- package/dist/types/packages/dialog/config.d.ts +1 -2
- package/dist/types/packages/dialog/dialogwrap.d.ts +2 -2
- package/dist/types/packages/divider/divider.d.ts +1 -1
- package/dist/types/packages/divider/divider.taro.d.ts +1 -1
- package/dist/types/packages/drag/drag.d.ts +1 -1
- package/dist/types/packages/drag/drag.taro.d.ts +1 -1
- package/dist/types/packages/elevator/elevator.d.ts +1 -1
- package/dist/types/packages/elevator/elevator.taro.d.ts +1 -1
- package/dist/types/packages/ellipsis/ellipsis.d.ts +1 -1
- package/dist/types/packages/ellipsis/ellipsis.taro.d.ts +1 -1
- package/dist/types/packages/empty/empty.d.ts +2 -2
- package/dist/types/packages/empty/empty.taro.d.ts +2 -2
- package/dist/types/packages/fixednav/fixednav.d.ts +2 -2
- package/dist/types/packages/fixednav/fixednav.taro.d.ts +2 -2
- package/dist/types/packages/form/context.d.ts +1 -1
- package/dist/types/packages/form/form.d.ts +2 -2
- package/dist/types/packages/form/form.taro.d.ts +2 -2
- package/dist/types/packages/form/index.d.ts +2 -2
- package/dist/types/packages/form/index.taro.d.ts +2 -2
- package/dist/types/packages/formitem/formitem.d.ts +1 -1
- package/dist/types/packages/formitem/formitem.taro.d.ts +1 -1
- package/dist/types/packages/grid/grid.context.d.ts +1 -1
- package/dist/types/packages/grid/grid.d.ts +1 -1
- package/dist/types/packages/grid/grid.taro.context.d.ts +1 -1
- package/dist/types/packages/grid/grid.taro.d.ts +1 -1
- package/dist/types/packages/griditem/griditem.d.ts +1 -1
- package/dist/types/packages/griditem/griditem.taro.d.ts +1 -1
- package/dist/types/packages/image/image.d.ts +1 -1
- package/dist/types/packages/indicator/indicator.d.ts +1 -1
- package/dist/types/packages/indicator/indicator.taro.d.ts +1 -1
- package/dist/types/packages/infiniteloading/infiniteloading.d.ts +1 -1
- package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
- package/dist/types/packages/input/input.d.ts +1 -1
- package/dist/types/packages/input/input.taro.d.ts +1 -1
- package/dist/types/packages/inputnumber/inputnumber.d.ts +1 -1
- package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +1 -1
- package/dist/types/packages/layout/layout.d.ts +1 -1
- package/dist/types/packages/layout/layout.taro.d.ts +1 -1
- package/dist/types/packages/loading/loading.d.ts +1 -1
- package/dist/types/packages/loading/loading.taro.d.ts +1 -1
- package/dist/types/packages/menu/menu.d.ts +2 -2
- package/dist/types/packages/menu/menu.taro.d.ts +2 -2
- package/dist/types/packages/menuitem/menuitem.d.ts +1 -1
- package/dist/types/packages/menuitem/menuitem.taro.d.ts +1 -1
- package/dist/types/packages/navbar/navbar.d.ts +1 -1
- package/dist/types/packages/navbar/navbar.taro.d.ts +1 -1
- package/dist/types/packages/noticebar/noticebar.d.ts +1 -1
- package/dist/types/packages/noticebar/noticebar.taro.d.ts +1 -1
- package/dist/types/packages/notify/Notification.d.ts +1 -1
- package/dist/types/packages/notify/index.d.ts +1 -1
- package/dist/types/packages/notify/notify.d.ts +1 -1
- package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +2 -2
- package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +2 -2
- package/dist/types/packages/nutui.react.build.d.ts +196 -196
- package/dist/types/packages/nutui.react.d.ts +196 -196
- package/dist/types/packages/nutui.react.taro.d.ts +196 -196
- package/dist/types/packages/overlay/overlay.d.ts +1 -1
- package/dist/types/packages/overlay/overlay.taro.d.ts +1 -1
- package/dist/types/packages/pagination/pagination.d.ts +1 -1
- package/dist/types/packages/pagination/pagination.taro.d.ts +1 -1
- package/dist/types/packages/picker/index.d.ts +1 -1
- package/dist/types/packages/picker/index.taro.d.ts +1 -1
- package/dist/types/packages/picker/picker.d.ts +2 -2
- package/dist/types/packages/picker/picker.taro.d.ts +2 -2
- package/dist/types/packages/picker/pickerpanel.d.ts +1 -1
- package/dist/types/packages/picker/pickerpanel.taro.d.ts +1 -1
- package/dist/types/packages/popover/popover.d.ts +2 -2
- package/dist/types/packages/popover/popover.taro.d.ts +2 -2
- package/dist/types/packages/popup/popup.d.ts +2 -2
- package/dist/types/packages/popup/popup.taro.d.ts +2 -2
- package/dist/types/packages/progress/progress.d.ts +1 -1
- package/dist/types/packages/progress/progress.taro.d.ts +1 -1
- package/dist/types/packages/radio/radio.d.ts +3 -3
- package/dist/types/packages/radio/radio.taro.d.ts +3 -3
- package/dist/types/packages/radiogroup/context.d.ts +1 -1
- package/dist/types/packages/radiogroup/radiogroup.d.ts +1 -1
- package/dist/types/packages/radiogroup/radiogroup.taro.d.ts +1 -1
- package/dist/types/packages/range/range.d.ts +1 -1
- package/dist/types/packages/range/range.taro.d.ts +1 -1
- package/dist/types/packages/rate/rate.d.ts +1 -1
- package/dist/types/packages/rate/rate.taro.d.ts +1 -1
- package/dist/types/packages/row/UserContext.d.ts +1 -1
- package/dist/types/packages/row/row.d.ts +1 -2
- package/dist/types/packages/row/row.taro.d.ts +1 -2
- package/dist/types/packages/searchbar/searchbar.d.ts +1 -2
- package/dist/types/packages/searchbar/searchbar.taro.d.ts +1 -2
- package/dist/types/packages/shortpassword/shortpassword.d.ts +2 -2
- package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +2 -2
- package/dist/types/packages/sidenavbar/context.d.ts +1 -1
- package/dist/types/packages/sidenavbar/sidenavbar.d.ts +1 -1
- package/dist/types/packages/sidenavbar/sidenavbar.taro.d.ts +1 -1
- package/dist/types/packages/sidenavbaritem/sidenavbaritem.d.ts +1 -1
- package/dist/types/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +1 -1
- package/dist/types/packages/signature/signature.d.ts +1 -1
- package/dist/types/packages/signature/signature.taro.d.ts +1 -1
- package/dist/types/packages/space/space.d.ts +1 -1
- package/dist/types/packages/space/space.taro.d.ts +1 -1
- package/dist/types/packages/step/step.d.ts +1 -1
- package/dist/types/packages/step/step.taro.d.ts +1 -1
- package/dist/types/packages/steps/context.d.ts +1 -1
- package/dist/types/packages/steps/steps.d.ts +1 -1
- package/dist/types/packages/steps/steps.taro.d.ts +1 -1
- package/dist/types/packages/sticky/sticky.d.ts +1 -1
- package/dist/types/packages/sticky/sticky.taro.d.ts +1 -1
- package/dist/types/packages/subsidenavbar/subsidenavbar.d.ts +1 -1
- package/dist/types/packages/subsidenavbar/subsidenavbar.taro.d.ts +1 -1
- package/dist/types/packages/swipe/swipe.d.ts +1 -2
- package/dist/types/packages/swipe/swipe.taro.d.ts +1 -2
- package/dist/types/packages/swiper/context.d.ts +1 -1
- package/dist/types/packages/swiper/effects/default.d.ts +1 -1
- package/dist/types/packages/swiper/effects/focus.d.ts +1 -1
- package/dist/types/packages/swiper/index.d.ts +3 -3
- package/dist/types/packages/swiper/index.taro.d.ts +2 -2
- package/dist/types/packages/swiper/swiper.d.ts +2 -2
- package/dist/types/packages/swiper/swiper.taro.d.ts +1 -1
- package/dist/types/packages/swiperitem/swiperitem.d.ts +1 -1
- package/dist/types/packages/switch/switch.d.ts +1 -1
- package/dist/types/packages/switch/switch.taro.d.ts +1 -1
- package/dist/types/packages/tabbar/context.d.ts +1 -1
- package/dist/types/packages/tabbar/tabbar.d.ts +1 -1
- package/dist/types/packages/tabbar/tabbar.taro.d.ts +1 -1
- package/dist/types/packages/table/table.d.ts +1 -1
- package/dist/types/packages/table/table.taro.d.ts +1 -1
- package/dist/types/packages/table/types.d.ts +1 -1
- package/dist/types/packages/tabpane/tabpane.d.ts +1 -1
- package/dist/types/packages/tabpane/tabpane.taro.d.ts +1 -1
- package/dist/types/packages/tabs/tabs.d.ts +2 -2
- package/dist/types/packages/tabs/tabs.taro.d.ts +2 -2
- package/dist/types/packages/tag/tag.d.ts +1 -2
- package/dist/types/packages/tag/tag.taro.d.ts +1 -2
- package/dist/types/packages/textarea/textarea.d.ts +1 -2
- package/dist/types/packages/timedetail/timedetail.d.ts +2 -2
- package/dist/types/packages/timedetail/timedetail.taro.d.ts +2 -2
- package/dist/types/packages/toast/Notification.d.ts +1 -1
- package/dist/types/packages/toast/index.d.ts +1 -1
- package/dist/types/packages/toast/toast.d.ts +1 -1
- package/dist/types/packages/toast/toast.taro.d.ts +1 -1
- package/dist/types/packages/tour/tour.d.ts +2 -3
- package/dist/types/packages/tour/tour.taro.d.ts +2 -3
- package/dist/types/packages/trendarrow/trendarrow.d.ts +1 -1
- package/dist/types/packages/trendarrow/trendarrow.taro.d.ts +1 -1
- package/dist/types/packages/uploader/preview.d.ts +1 -1
- package/dist/types/packages/uploader/preview.taro.d.ts +1 -1
- package/dist/types/packages/uploader/uploader.d.ts +1 -1
- package/dist/types/packages/uploader/uploader.taro.d.ts +7 -2
- package/dist/types/packages/video/video.d.ts +1 -1
- package/dist/types/packages/virtuallist/virtuallist.d.ts +1 -1
- package/dist/types/packages/watermark/watermark.d.ts +1 -1
- package/dist/types/packages/watermark/watermark.taro.d.ts +1 -1
- package/dist/types/utils/render.d.ts +1 -1
- package/dist/types/utils/typings.d.ts +1 -1
- package/dist/types/utils/use-lock-scoll-taro.d.ts +1 -1
- package/dist/types/utils/use-touch.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
|
-
# v2.6.
|
|
2
|
-
|
|
1
|
+
# v2.6.18
|
|
2
|
+
|
|
3
|
+
`2024-09-06`
|
|
3
4
|
|
|
5
|
+
- 🏡 chore: remove deprecated (#2573)
|
|
6
|
+
- 🏡 chore(deps): update dependency marked to v14 (#2532)
|
|
7
|
+
- :sparkles: feat: demos for popup & dialog (#2574)
|
|
8
|
+
- :sparkles: feat: beforeupload (#2567)
|
|
9
|
+
- :bug: fix: remove icons defaultprops (#2571)
|
|
10
|
+
- :bug: fix(input): type props didnot work when equals number|digit (#2563)
|
|
11
|
+
- :bug: fix: dialog
|
|
12
|
+
- :bug: fix(sticky): should rerender when zIndex changes (#2572)
|
|
13
|
+
- :bug: fix(sticky): rerender sticky when threshold change (#2564)
|
|
14
|
+
- :bug: fix(deps): update dependency jscodeshift to v17 (#2534)
|
|
4
15
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* :sparkles: feat(image-preview): 增加索引字段,用于预览内容排序 (#2519)
|
|
9
|
-
* :bug: fix(tabs.taro.tsx): 解决在不需要滚动的时候,切换tab产生tab位置错乱的问题 (#2554)
|
|
10
|
-
* :bug: fix(uploader): beforeUpload should trigger every time before uploading (#2553)
|
|
11
|
-
* :bug: fix(PullToRefresh): 修复PullToRefresh组件disabled属性在taro中无效的问题 (#2538)
|
|
12
|
-
* :bug: fix(uploader): ios 下无法回显的问题修复 (#2550)
|
|
13
|
-
* :bug: fix(uploader): sizeType prop didnot work when weapp || jd (#2526)
|
|
16
|
+
# v2.6.17
|
|
17
|
+
|
|
18
|
+
`2024-08-30`
|
|
14
19
|
|
|
20
|
+
- 🏡 chore(form): form demo (#2528)
|
|
21
|
+
- 📖 docs(readme): fix pnpm run dev weapp jd dir (#2514)
|
|
22
|
+
- :sparkles: feat(cell): add clickable prop to support click style feedback (#2527)
|
|
23
|
+
- :sparkles: feat(image-preview): 增加索引字段,用于预览内容排序 (#2519)
|
|
24
|
+
- :bug: fix(tabs.taro.tsx): 解决在不需要滚动的时候,切换tab产生tab位置错乱的问题 (#2554)
|
|
25
|
+
- :bug: fix(uploader): beforeUpload should trigger every time before uploading (#2553)
|
|
26
|
+
- :bug: fix(PullToRefresh): 修复PullToRefresh组件disabled属性在taro中无效的问题 (#2538)
|
|
27
|
+
- :bug: fix(uploader): ios 下无法回显的问题修复 (#2550)
|
|
28
|
+
- :bug: fix(uploader): sizeType prop didnot work when weapp || jd (#2526)
|
|
15
29
|
|
|
16
30
|
# v2.6.16
|
|
17
31
|
|
package/dist/esm/ActionSheet.js
CHANGED
package/dist/esm/Address.js
CHANGED
package/dist/esm/Calendar.js
CHANGED
package/dist/esm/Cascader.js
CHANGED
package/dist/esm/DatePicker.js
CHANGED
package/dist/esm/Dialog.js
CHANGED
package/dist/esm/FixedNav.js
CHANGED
package/dist/esm/ImagePreview.js
CHANGED
package/dist/esm/Input.js
CHANGED
package/dist/esm/Menu.js
CHANGED
package/dist/esm/MenuItem.js
CHANGED
package/dist/esm/Overlay.js
CHANGED
package/dist/esm/Picker.js
CHANGED
package/dist/esm/Popover.js
CHANGED
package/dist/esm/Popup.js
CHANGED
package/dist/esm/SideNavBar.js
CHANGED
package/dist/esm/Sticky.js
CHANGED
package/dist/esm/TimeSelect.js
CHANGED
package/dist/esm/Toast.js
CHANGED
package/dist/esm/Tour.js
CHANGED
package/dist/esm/Uploader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { P as Popup } from "./popup.taro-
|
|
3
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
4
4
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { visible: false, description: "", options: [], optionKey: { name: "name", description: "description" }, cancelText: "", onCancel: () => {
|
|
6
6
|
}, onSelect: () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { forwardRef, useState, useImperativeHandle } from "react";
|
|
3
3
|
import { Check, Location, ArrowLeft } from "@nutui/icons-react-taro";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
5
5
|
import { ScrollView } from "@tarojs/components";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
7
|
-
import { C as Cascader } from "./cascader.taro-
|
|
7
|
+
import { C as Cascader } from "./cascader.taro-4QSI_vGC.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
10
10
|
const defaultProps$2 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useRef } from "react";
|
|
2
|
-
import { P as Popup } from "./popup.taro-
|
|
2
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
3
3
|
import { C as CalendarItem } from "./calendaritem.taro-CRultyrO.js";
|
|
4
4
|
import { U as Utils } from "./date-CYwRNlGq.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
@@ -3,7 +3,7 @@ import React__default, { useState, useImperativeHandle, useEffect, isValidElemen
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { Loading, Checklist } from "@nutui/icons-react-taro";
|
|
5
5
|
import { ScrollView } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
7
7
|
import { T as Tabs } from "./tabs.taro-8X51sTol.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { useState, useEffect } from "react";
|
|
3
3
|
import { View } from "@tarojs/components";
|
|
4
|
-
import { P as Picker } from "./picker.taro-
|
|
4
|
+
import { P as Picker } from "./picker.taro-CafNRRO5.js";
|
|
5
5
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
6
6
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -6,7 +6,7 @@ import { View } from "@tarojs/components";
|
|
|
6
6
|
import { Close } from "@nutui/icons-react-taro";
|
|
7
7
|
import { B as Button } from "./button.taro-1kEru6r9.js";
|
|
8
8
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
9
|
-
import { u as useLockScrollTaro, O as Overlay } from "./overlay.taro-
|
|
9
|
+
import { u as useLockScrollTaro, O as Overlay } from "./overlay.taro-C2t82CZz.js";
|
|
10
10
|
import { b as useParams, u as useCustomEvent, a as useCustomEventsPath, c as customEvents } from "./use-custom-event-DuP4onEm.js";
|
|
11
11
|
const Content = (props) => {
|
|
12
12
|
const { visible, title, header, footer, close: close2, footerDirection, onClick, children } = props;
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { ArrowLeft } from "@nutui/icons-react-taro";
|
|
5
|
-
import { O as Overlay } from "./overlay.taro-
|
|
5
|
+
import { O as Overlay } from "./overlay.taro-C2t82CZz.js";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { activeText: "", inactiveText: "", type: "right", position: {
|
|
@@ -3,7 +3,7 @@ import Taro from "@tarojs/taro";
|
|
|
3
3
|
import { Video, Image } from "@tarojs/components";
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { Close } from "@nutui/icons-react-taro";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
7
7
|
import InnerSwiper from "./Swiper.js";
|
|
8
8
|
import { S as SwiperItem } from "./swiperitem.taro-BleF1EOs.js";
|
|
9
9
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
@@ -69,13 +69,11 @@ const Input = forwardRef((props, ref) => {
|
|
|
69
69
|
const forceUpdate = React__default.useCallback(() => updateState({}), []);
|
|
70
70
|
const updateValue = (value2, trigger = "onChange") => {
|
|
71
71
|
let val = value2;
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
val = formatNumber(val, true, true);
|
|
78
|
-
}
|
|
72
|
+
if (type === "number") {
|
|
73
|
+
val = formatNumber(val, false, true);
|
|
74
|
+
}
|
|
75
|
+
if (type === "digit") {
|
|
76
|
+
val = formatNumber(val, true, true);
|
|
79
77
|
}
|
|
80
78
|
if (formatter && trigger === formatTrigger) {
|
|
81
79
|
val = formatter(val);
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { ArrowUp, ArrowDown } from "@nutui/icons-react-taro";
|
|
5
|
-
import { M as MenuItem } from "./menuitem.taro-
|
|
5
|
+
import { M as MenuItem } from "./menuitem.taro-CNaseNcY.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { activeColor: "", closeOnOverlayClick: true, scrollFixed: false, lockScroll: true, overlay: true, icon: null, onOpen: (index, from) => {
|
|
8
8
|
}, onClose: (index, from) => {
|
|
@@ -5,7 +5,7 @@ import { getSystemInfoSync, usePageScroll } from "@tarojs/taro";
|
|
|
5
5
|
import { View } from "@tarojs/components";
|
|
6
6
|
import { CSSTransition } from "react-transition-group";
|
|
7
7
|
import { Check } from "@nutui/icons-react-taro";
|
|
8
|
-
import { O as Overlay } from "./overlay.taro-
|
|
8
|
+
import { O as Overlay } from "./overlay.taro-C2t82CZz.js";
|
|
9
9
|
import { g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
10
10
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
11
11
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -3,7 +3,7 @@ import React__default, { useMemo, useState } from "react";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { ArrowDown } from "@nutui/icons-react-taro";
|
|
5
5
|
import { View } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { visible: false, rightActions: "", type: "default", custom: [], random: false, onClose: () => {
|
|
@@ -3,7 +3,7 @@ import { C } from "./cell.taro-DWLhb5m6.js";
|
|
|
3
3
|
import { C as C2 } from "./cellgroup.taro-DTLGMR_c.js";
|
|
4
4
|
import { C as C3, g, s, u, a } from "./configprovider.taro-DA4GDDFu.js";
|
|
5
5
|
import { I } from "./image.taro-CyF6ujA7.js";
|
|
6
|
-
import { O } from "./overlay.taro-
|
|
6
|
+
import { O } from "./overlay.taro-C2t82CZz.js";
|
|
7
7
|
import { C as C4 } from "./col.taro-BdtbWacE.js";
|
|
8
8
|
import { D } from "./divider.taro-BuVR5t2X.js";
|
|
9
9
|
import { G } from "./grid.taro-ZJywVaVe.js";
|
|
@@ -11,58 +11,58 @@ import { G as G2 } from "./griditem.taro-CcWyYchl.js";
|
|
|
11
11
|
import { L } from "./layout.taro-C-aUcOOE.js";
|
|
12
12
|
import { R } from "./row.taro-ItEq1Bi5.js";
|
|
13
13
|
import { S } from "./space.taro-B1KsEPZL.js";
|
|
14
|
-
import { S as S2 } from "./sticky.taro-
|
|
14
|
+
import { S as S2 } from "./sticky.taro-DC98CdU7.js";
|
|
15
15
|
import { S as S3 } from "./safearea.taro-BJpvFsMf.js";
|
|
16
16
|
import { B as B2 } from "./backtop.taro-jWlJ1ZWG.js";
|
|
17
17
|
import { E } from "./elevator.taro-Bsc8PcT0.js";
|
|
18
|
-
import { F } from "./fixednav.taro-
|
|
18
|
+
import { F } from "./fixednav.taro-D3KnhYoI.js";
|
|
19
19
|
import { N } from "./navbar.taro-Dea0-s9Q.js";
|
|
20
|
-
import { S as S4 } from "./sidenavbar.taro-
|
|
20
|
+
import { S as S4 } from "./sidenavbar.taro-5BmrYFtP.js";
|
|
21
21
|
import { S as S5 } from "./sidenavbaritem.taro-BKpzXpzG.js";
|
|
22
22
|
import { S as S6 } from "./subsidenavbar.taro-CSU3DhNq.js";
|
|
23
23
|
import { T } from "./tabbar.taro-CXk0zLdz.js";
|
|
24
24
|
import { T as T2 } from "./tabbaritem.taro-BZNabTBp.js";
|
|
25
25
|
import { T as T3 } from "./tabpane.taro-BAe86j3t.js";
|
|
26
26
|
import { T as T4 } from "./tabs.taro-8X51sTol.js";
|
|
27
|
-
import { A } from "./address.taro-
|
|
28
|
-
import { C as C5 } from "./calendar.taro-
|
|
27
|
+
import { A } from "./address.taro-CH4lcI54.js";
|
|
28
|
+
import { C as C5 } from "./calendar.taro-BXrHr8bg.js";
|
|
29
29
|
import { C as C6 } from "./calendaritem.taro-CRultyrO.js";
|
|
30
30
|
import { C as C7 } from "./calendarcard.taro-CbvCWF1k.js";
|
|
31
|
-
import { C as C8 } from "./cascader.taro-
|
|
31
|
+
import { C as C8 } from "./cascader.taro-4QSI_vGC.js";
|
|
32
32
|
import { C as C9, a as a2 } from "./checkbox.taro-CgqJyhrh.js";
|
|
33
|
-
import { D as D2 } from "./datepicker.taro-
|
|
33
|
+
import { D as D2 } from "./datepicker.taro-BxaZ3Fjv.js";
|
|
34
34
|
import { default as default2 } from "./Form.js";
|
|
35
35
|
import { F as F2 } from "./formitem.taro-CEWRz5EJ.js";
|
|
36
|
-
import { I as I2 } from "./input.taro-
|
|
36
|
+
import { I as I2 } from "./input.taro-DbAbbzIX.js";
|
|
37
37
|
import { I as I3 } from "./inputnumber.taro-D9mteLSI.js";
|
|
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-
|
|
38
|
+
import { M } from "./menu.taro-CLbOM_Z4.js";
|
|
39
|
+
import { M as M2 } from "./menuitem.taro-CNaseNcY.js";
|
|
40
|
+
import { N as N2 } from "./numberkeyboard.taro-Cz6rKxk3.js";
|
|
41
|
+
import { P } from "./picker.taro-CafNRRO5.js";
|
|
42
42
|
import { R as R2, a as a3 } from "./radio.taro-CzOHqD3O.js";
|
|
43
43
|
import { R as R3 } from "./range.taro-D_qsx_j6.js";
|
|
44
44
|
import { R as R4 } from "./rate.taro-CPGkjYYu.js";
|
|
45
45
|
import { S as S7 } from "./searchbar.taro-C8cg7NeJ.js";
|
|
46
|
-
import { S as S8 } from "./shortpassword.taro-
|
|
46
|
+
import { S as S8 } from "./shortpassword.taro-DpdtRsQ-.js";
|
|
47
47
|
import { S as S9 } from "./signature.taro-zgwaJkIE.js";
|
|
48
48
|
import { S as S10 } from "./switch.taro-CdBmDo18.js";
|
|
49
49
|
import { T as T5 } from "./textarea.taro-DuceTjAx.js";
|
|
50
|
-
import { U } from "./uploader.taro-
|
|
51
|
-
import { A as A2 } from "./actionsheet.taro-
|
|
50
|
+
import { U } from "./uploader.taro-Do8LZqUn.js";
|
|
51
|
+
import { A as A2 } from "./actionsheet.taro-CJjNsNrH.js";
|
|
52
52
|
import { B as B3 } from "./badge.taro-BGaxpEYi.js";
|
|
53
|
-
import { B as B4 } from "./dialog.taro-
|
|
53
|
+
import { B as B4 } from "./dialog.taro-BW9D2Gsr.js";
|
|
54
54
|
import { D as D3 } from "./drag.taro-B_sfzmtW.js";
|
|
55
55
|
import { E as E2 } from "./empty.taro-CnwDznke.js";
|
|
56
56
|
import { I as I4 } from "./infiniteloading.taro-TbcBB0Qr.js";
|
|
57
57
|
import { L as L2 } from "./loading.taro-n_qoNgCW.js";
|
|
58
58
|
import { N as N3 } from "./noticebar.taro-CGUTg60Q.js";
|
|
59
59
|
import { N as N4 } from "./notify.taro-jP7y9zMU.js";
|
|
60
|
-
import { P as P2 } from "./popover.taro-
|
|
61
|
-
import { P as P3 } from "./popup.taro-
|
|
60
|
+
import { P as P2 } from "./popover.taro-B_FJgU0z.js";
|
|
61
|
+
import { P as P3 } from "./popup.taro-CR3JyuJV.js";
|
|
62
62
|
import { P as P4 } from "./pulltorefresh.taro-DSr2dBjM.js";
|
|
63
63
|
import { S as S11 } from "./skeleton.taro-bD6fHZop.js";
|
|
64
64
|
import { S as S12 } from "./swipe.taro-Bsk2fnEl.js";
|
|
65
|
-
import { T as T6 } from "./toast.taro-
|
|
65
|
+
import { T as T6 } from "./toast.taro-CYk6UERn.js";
|
|
66
66
|
import { A as A3 } from "./animate.taro-CQVEyDKL.js";
|
|
67
67
|
import { default as default3 } from "./AnimatingNumbers.js";
|
|
68
68
|
import { A as A4 } from "./audio.taro-CD-vP_u0.js";
|
|
@@ -73,7 +73,7 @@ import { C as C11 } from "./collapse.taro-wqL6MWZr.js";
|
|
|
73
73
|
import { C as C12 } from "./collapseitem.taro-DjUx5Nx8.js";
|
|
74
74
|
import { C as C13 } from "./countdown.taro-mKXeisK0.js";
|
|
75
75
|
import { E as E3 } from "./ellipsis.taro-Ck2rumQ6.js";
|
|
76
|
-
import { I as I5 } from "./imagepreview.taro-
|
|
76
|
+
import { I as I5 } from "./imagepreview.taro-0D3hjS6s.js";
|
|
77
77
|
import { I as I6 } from "./indicator.taro-k8bxJf86.js";
|
|
78
78
|
import { P as P5 } from "./pagination.taro-DdLO3OTc.js";
|
|
79
79
|
import { P as P6 } from "./price.taro-DUW-OR83.js";
|
|
@@ -84,13 +84,13 @@ import { default as default4 } from "./Swiper.js";
|
|
|
84
84
|
import { S as S15 } from "./swiperitem.taro-BleF1EOs.js";
|
|
85
85
|
import { T as T7 } from "./table.taro-B6WCKTkO.js";
|
|
86
86
|
import { T as T8 } from "./tag.taro-CFt28RLm.js";
|
|
87
|
-
import { T as T9 } from "./tour.taro-
|
|
87
|
+
import { T as T9 } from "./tour.taro-SPMrhDA9.js";
|
|
88
88
|
import { V } from "./video.taro-CecLv4sr.js";
|
|
89
89
|
import { V as V2 } from "./virtuallist.taro-BlPW8ibd.js";
|
|
90
90
|
import { B as B5 } from "./barrage.taro-CA-9uADD.js";
|
|
91
91
|
import { C as C14 } from "./card.taro-DxcIi5qH.js";
|
|
92
92
|
import { T as T10 } from "./timedetail.taro-ya5JNy2L.js";
|
|
93
|
-
import { T as T11 } from "./timeselect.taro-
|
|
93
|
+
import { T as T11 } from "./timeselect.taro-DncKbp3l.js";
|
|
94
94
|
import { T as T12 } from "./trendarrow.taro-DKx5cGIh.js";
|
|
95
95
|
import { W } from "./watermark.taro-CZ6R5FlJ.js";
|
|
96
96
|
import { A as A7 } from "./avatarcropper.taro-CAVcFvKC.js";
|
|
@@ -6,7 +6,20 @@ import { View } from "@tarojs/components";
|
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
import { getEnv } from "@tarojs/taro";
|
|
8
8
|
import { u as useTouch } from "./use-touch-BeiLHDO9.js";
|
|
9
|
-
import { g as getScrollParent } from "./get-scroll-parent-
|
|
9
|
+
import { c as canUseDom, g as getScrollParent } from "./get-scroll-parent-DB1VRg11.js";
|
|
10
|
+
let passiveSupported = false;
|
|
11
|
+
if (canUseDom) {
|
|
12
|
+
try {
|
|
13
|
+
const opts = Object.defineProperty({}, "passive", {
|
|
14
|
+
get() {
|
|
15
|
+
passiveSupported = true;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
window.addEventListener("test-passive-supported", null, opts);
|
|
19
|
+
} catch (e) {
|
|
20
|
+
console.log(e);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
10
23
|
let totalLockCount = 0;
|
|
11
24
|
const BODY_LOCK_CLASS = "nut-overflow-hidden";
|
|
12
25
|
function getScrollableElement(el) {
|
|
@@ -49,7 +62,7 @@ function useLockScroll(rootRef, shouldLock) {
|
|
|
49
62
|
};
|
|
50
63
|
const lock = () => {
|
|
51
64
|
document.addEventListener("touchstart", touch.start);
|
|
52
|
-
document.addEventListener("touchmove", onTouchMove, false);
|
|
65
|
+
document.addEventListener("touchmove", onTouchMove, passiveSupported ? { passive: false } : false);
|
|
53
66
|
if (!totalLockCount) {
|
|
54
67
|
document.body.classList.add(BODY_LOCK_CLASS);
|
|
55
68
|
}
|
|
@@ -122,5 +135,6 @@ Overlay.displayName = "NutOverlay";
|
|
|
122
135
|
export {
|
|
123
136
|
Overlay as O,
|
|
124
137
|
defaultOverlayProps as d,
|
|
138
|
+
passiveSupported as p,
|
|
125
139
|
useLockScrollTaro as u
|
|
126
140
|
};
|
|
@@ -3,9 +3,10 @@ import React__default, { useState, useRef, useEffect, useImperativeHandle } from
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import Taro from "@tarojs/taro";
|
|
5
5
|
import { View, PickerView, PickerViewColumn } from "@tarojs/components";
|
|
6
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
7
7
|
import { u as useTouch } from "./use-touch-BeiLHDO9.js";
|
|
8
8
|
import { g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
9
|
+
import { p as passiveSupported } from "./overlay.taro-C2t82CZz.js";
|
|
9
10
|
import { u as useRefs } from "./use-refs-BeEmziIR.js";
|
|
10
11
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
11
12
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -178,7 +179,7 @@ const InternalPickerPanel = (props, ref) => {
|
|
|
178
179
|
moving: moving.current
|
|
179
180
|
}));
|
|
180
181
|
useEffect(() => {
|
|
181
|
-
const eventOptions = false;
|
|
182
|
+
const eventOptions = passiveSupported ? { passive: false, once: true } : false;
|
|
182
183
|
const element = pickerPanelRef.current;
|
|
183
184
|
element.addEventListener("touchstart", touchStart, eventOptions);
|
|
184
185
|
element.addEventListener("touchmove", touchMove, eventOptions);
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __awaiter } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
6
6
|
import { a as getRect, g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { a as useRtl } from "./configprovider.taro-DA4GDDFu.js";
|
|
@@ -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-C2t82CZz.js";
|
|
8
8
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
const defaultProps = Object.assign(Object.assign(Object.assign({}, ComponentDefaults), { position: "center", transition: "", overlayStyle: {}, overlayClassName: "", closeable: false, closeIconPosition: "top-right", closeIcon: "close", destroyOnClose: false, portal: null, overlay: true, round: false, onOpen: () => {
|
|
10
10
|
}, onClose: () => {
|
|
@@ -2,7 +2,7 @@ import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
|
2
2
|
import React__default, { useMemo, useImperativeHandle, useEffect } from "react";
|
|
3
3
|
import { Tips } from "@nutui/icons-react-taro";
|
|
4
4
|
import classNames from "classnames";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
6
6
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
7
7
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
5
5
|
import { O as OffsetContext } from "./context-4T-L2x0_.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
const defaultProps = Object.assign(Object.assign({}, ComponentDefaults), { position: "left", width: "80%" });
|
|
@@ -4,7 +4,7 @@ import classNames from "classnames";
|
|
|
4
4
|
import { getEnv, usePageScroll, getSystemInfoSync } from "@tarojs/taro";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
import { g as getRectByTaro } from "./get-rect-by-taro-THaHH07X.js";
|
|
7
|
-
import { g as getScrollParent } from "./get-scroll-parent-
|
|
7
|
+
import { g as getScrollParent } from "./get-scroll-parent-DB1VRg11.js";
|
|
8
8
|
function useWatch(dep, callback, config = { immediate: false }) {
|
|
9
9
|
const { immediate } = config;
|
|
10
10
|
const prev = useRef();
|
|
@@ -71,7 +71,15 @@ const Sticky = (props) => {
|
|
|
71
71
|
zIndex
|
|
72
72
|
};
|
|
73
73
|
return style2;
|
|
74
|
-
}, [
|
|
74
|
+
}, [
|
|
75
|
+
fixed,
|
|
76
|
+
rootRect.height,
|
|
77
|
+
rootRect.width,
|
|
78
|
+
transform,
|
|
79
|
+
position,
|
|
80
|
+
threshold,
|
|
81
|
+
zIndex
|
|
82
|
+
]);
|
|
75
83
|
const handleScroll = (scrollTop) => __awaiter(void 0, void 0, void 0, function* () {
|
|
76
84
|
const curRootRect = yield getRectByTaro(rootRef.current);
|
|
77
85
|
const stickyRect = yield getRectByTaro(stickyRef.current);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest } from "./tslib.es6-iWu3F_1J.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
+
import { P as Popup } from "./popup.taro-CR3JyuJV.js";
|
|
5
5
|
import { T as TimeDetail } from "./timedetail.taro-ya5JNy2L.js";
|
|
6
6
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
import { u as useConfig } from "./configprovider.taro-DA4GDDFu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-react-taro";
|
|
4
|
-
import { O as Overlay } from "./overlay.taro-
|
|
4
|
+
import { O as Overlay } from "./overlay.taro-C2t82CZz.js";
|
|
5
5
|
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
import { b as useParams, u as useCustomEvent, a as useCustomEventsPath, c as customEvents } from "./use-custom-event-DuP4onEm.js";
|
|
7
7
|
import { u as usePropsValue } from "./use-props-value-SH9krhkx.js";
|