@nutui/nutui-react-taro 1.5.1-beta.0 → 1.5.2-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 +18 -0
- package/dist/nutui.react.mjs +62 -61
- package/dist/nutui.react.umd.js +62 -61
- package/package.json +1 -1
- package/dist/esm/ActionSheet/style/index.js +0 -2
- package/dist/esm/ActionSheet.js +0 -16
- package/dist/esm/Address/style/index.js +0 -4
- package/dist/esm/Address.js +0 -23
- package/dist/esm/Animate/style/index.js +0 -2
- package/dist/esm/Animate.js +0 -9
- package/dist/esm/AnimatingNumbers/style/index.js +0 -3
- package/dist/esm/AnimatingNumbers.js +0 -9
- package/dist/esm/Audio/style/index.js +0 -4
- package/dist/esm/Audio.js +0 -21
- package/dist/esm/Avatar/style/index.js +0 -2
- package/dist/esm/Avatar.js +0 -13
- package/dist/esm/AvatarContext-c96afdcc.js +0 -5
- package/dist/esm/AvatarGroup/style/index.js +0 -2
- package/dist/esm/AvatarGroup.js +0 -13
- package/dist/esm/BackTop/style/index.js +0 -2
- package/dist/esm/BackTop.js +0 -11
- package/dist/esm/Badge/style/index.js +0 -2
- package/dist/esm/Badge.js +0 -11
- package/dist/esm/Barrage/style/index.js +0 -2
- package/dist/esm/Barrage.js +0 -10
- package/dist/esm/Button/style/index.js +0 -2
- package/dist/esm/Button.js +0 -10
- package/dist/esm/Calendar/style/index.js +0 -2
- package/dist/esm/Calendar.js +0 -21
- package/dist/esm/CalendarItem/style/index.js +0 -2
- package/dist/esm/CalendarItem.js +0 -14
- package/dist/esm/Card/style/index.js +0 -4
- package/dist/esm/Card.js +0 -13
- package/dist/esm/Cascader/style/index.js +0 -3
- package/dist/esm/Cascader.js +0 -18
- package/dist/esm/Cell/style/index.js +0 -2
- package/dist/esm/Cell.js +0 -11
- package/dist/esm/CellGroup/style/index.js +0 -2
- package/dist/esm/CellGroup.js +0 -8
- package/dist/esm/Checkbox/style/index.js +0 -3
- package/dist/esm/Checkbox.js +0 -10
- package/dist/esm/CheckboxGroup/style/index.js +0 -2
- package/dist/esm/CheckboxGroup.js +0 -10
- package/dist/esm/CircleProgress/style/index.js +0 -2
- package/dist/esm/CircleProgress.js +0 -10
- package/dist/esm/Col/style/index.js +0 -2
- package/dist/esm/Col.js +0 -8
- package/dist/esm/Collapse/style/index.js +0 -2
- package/dist/esm/Collapse.js +0 -9
- package/dist/esm/CollapseItem/style/index.js +0 -2
- package/dist/esm/CollapseItem.js +0 -10
- package/dist/esm/ConfigProvider/style/index.js +0 -2
- package/dist/esm/ConfigProvider.js +0 -8
- package/dist/esm/CountDown/style/index.js +0 -2
- package/dist/esm/CountDown.js +0 -11
- package/dist/esm/DatePicker/style/index.js +0 -2
- package/dist/esm/DatePicker.js +0 -26
- package/dist/esm/Dialog/style/index.js +0 -3
- package/dist/esm/Dialog.js +0 -17
- package/dist/esm/Divider/style/index.js +0 -2
- package/dist/esm/Divider.js +0 -9
- package/dist/esm/Drag/style/index.js +0 -2
- package/dist/esm/Drag.js +0 -9
- package/dist/esm/Elevator/style/index.js +0 -2
- package/dist/esm/Elevator.js +0 -10
- package/dist/esm/Ellipsis/style/index.js +0 -2
- package/dist/esm/Ellipsis.js +0 -11
- package/dist/esm/Empty/style/index.js +0 -2
- package/dist/esm/Empty.js +0 -11
- package/dist/esm/FixedNav/style/index.js +0 -3
- package/dist/esm/FixedNav.js +0 -16
- package/dist/esm/Form/style/index.js +0 -2
- package/dist/esm/Form.js +0 -14
- package/dist/esm/FormItem/style/index.js +0 -2
- package/dist/esm/FormItem.js +0 -12
- package/dist/esm/Grid/style/index.js +0 -2
- package/dist/esm/Grid.js +0 -13
- package/dist/esm/GridItem/style/index.js +0 -2
- package/dist/esm/GridItem.js +0 -15
- package/dist/esm/Icon/style/index.js +0 -4
- package/dist/esm/Icon.js +0 -8
- package/dist/esm/Image/style/index.js +0 -2
- package/dist/esm/Image.js +0 -12
- package/dist/esm/ImagePreview/style/index.js +0 -4
- package/dist/esm/ImagePreview.js +0 -20
- package/dist/esm/Indicator/style/index.js +0 -2
- package/dist/esm/Indicator.js +0 -9
- package/dist/esm/Infiniteloading/style/index.js +0 -2
- package/dist/esm/Infiniteloading.js +0 -16
- package/dist/esm/Input/style/index.js +0 -2
- package/dist/esm/Input.js +0 -13
- package/dist/esm/InputNumber/style/index.js +0 -2
- package/dist/esm/InputNumber.js +0 -11
- package/dist/esm/Layout/style/index.js +0 -2
- package/dist/esm/Layout.js +0 -6
- package/dist/esm/Menu/style/index.js +0 -3
- package/dist/esm/Menu.js +0 -11
- package/dist/esm/MenuItem/style/index.js +0 -3
- package/dist/esm/MenuItem.js +0 -17
- package/dist/esm/NavBar/style/index.js +0 -2
- package/dist/esm/NavBar.js +0 -11
- package/dist/esm/NoticeBar/style/index.js +0 -2
- package/dist/esm/NoticeBar.js +0 -12
- package/dist/esm/Notify/style/index.js +0 -2
- package/dist/esm/Notify.js +0 -10
- package/dist/esm/NumberKeyboard/style/index.js +0 -2
- package/dist/esm/NumberKeyboard.js +0 -19
- package/dist/esm/Overlay/style/index.js +0 -2
- package/dist/esm/Overlay.js +0 -10
- package/dist/esm/Pagination/style/index.js +0 -2
- package/dist/esm/Pagination.js +0 -11
- package/dist/esm/Picker/style/index.js +0 -2
- package/dist/esm/Picker.js +0 -24
- package/dist/esm/Popover/style/index.js +0 -3
- package/dist/esm/Popover.js +0 -14
- package/dist/esm/Popup/style/index.js +0 -3
- package/dist/esm/Popup.js +0 -15
- package/dist/esm/Price/style/index.js +0 -2
- package/dist/esm/Price.js +0 -8
- package/dist/esm/Progress/style/index.js +0 -2
- package/dist/esm/Progress.js +0 -11
- package/dist/esm/PullToRefresh/style/index.js +0 -2
- package/dist/esm/PullToRefresh.js +0 -14
- package/dist/esm/Radio/style/index.js +0 -3
- package/dist/esm/Radio.js +0 -10
- package/dist/esm/RadioGroup/style/index.js +0 -2
- package/dist/esm/RadioGroup.js +0 -10
- package/dist/esm/Range/style/index.js +0 -2
- package/dist/esm/Range.js +0 -16
- package/dist/esm/Rate/style/index.js +0 -2
- package/dist/esm/Rate.js +0 -11
- package/dist/esm/Row/style/index.js +0 -2
- package/dist/esm/Row.js +0 -8
- package/dist/esm/SearchBar/style/index.js +0 -2
- package/dist/esm/SearchBar.js +0 -14
- package/dist/esm/ShortPassword/style/index.js +0 -3
- package/dist/esm/ShortPassword.js +0 -19
- package/dist/esm/SideNavBar/style/index.js +0 -2
- package/dist/esm/SideNavBar.js +0 -20
- package/dist/esm/SideNavBarItem/style/index.js +0 -2
- package/dist/esm/SideNavBarItem.js +0 -6
- package/dist/esm/Signature/style/index.js +0 -2
- package/dist/esm/Signature.js +0 -15
- package/dist/esm/Skeleton/style/index.js +0 -2
- package/dist/esm/Skeleton.js +0 -14
- package/dist/esm/Step/style/index.js +0 -2
- package/dist/esm/Step.js +0 -12
- package/dist/esm/Steps/style/index.js +0 -2
- package/dist/esm/Steps.js +0 -10
- package/dist/esm/Sticky/style/index.js +0 -2
- package/dist/esm/Sticky.js +0 -13
- package/dist/esm/SubSideNavBar/style/index.js +0 -2
- package/dist/esm/SubSideNavBar.js +0 -7
- package/dist/esm/Swipe/style/index.js +0 -2
- package/dist/esm/Swipe.js +0 -12
- package/dist/esm/Swiper/style/index.js +0 -2
- package/dist/esm/Swiper.js +0 -11
- package/dist/esm/SwiperItem/style/index.js +0 -2
- package/dist/esm/SwiperItem.js +0 -10
- package/dist/esm/Switch/style/index.js +0 -2
- package/dist/esm/Switch.js +0 -8
- package/dist/esm/TabPane/style/index.js +0 -2
- package/dist/esm/TabPane.js +0 -9
- package/dist/esm/Tabbar/style/index.js +0 -2
- package/dist/esm/Tabbar.js +0 -8
- package/dist/esm/TabbarItem/style/index.js +0 -2
- package/dist/esm/TabbarItem.js +0 -11
- package/dist/esm/Table/style/index.js +0 -2
- package/dist/esm/Table.js +0 -14
- package/dist/esm/Tabs/style/index.js +0 -4
- package/dist/esm/Tabs.js +0 -12
- package/dist/esm/Tag/style/index.js +0 -2
- package/dist/esm/Tag.js +0 -11
- package/dist/esm/TextArea/style/index.js +0 -2
- package/dist/esm/TextArea.js +0 -11
- package/dist/esm/TimeDetail/style/index.js +0 -2
- package/dist/esm/TimeDetail.js +0 -11
- package/dist/esm/TimePannel/style/index.js +0 -2
- package/dist/esm/TimePannel.js +0 -11
- package/dist/esm/TimeSelect/style/index.js +0 -4
- package/dist/esm/TimeSelect.js +0 -21
- package/dist/esm/Toast/style/index.js +0 -2
- package/dist/esm/Toast.js +0 -10
- package/dist/esm/TrendArrow/style/index.js +0 -2
- package/dist/esm/TrendArrow.js +0 -9
- package/dist/esm/Uploader/style/index.js +0 -4
- package/dist/esm/Uploader.js +0 -19
- package/dist/esm/UserContext-0aac9a82.js +0 -5
- package/dist/esm/UserContext-e402e1a6.js +0 -5
- package/dist/esm/UserContext-e8176108.js +0 -5
- package/dist/esm/Video/style/index.js +0 -2
- package/dist/esm/Video.js +0 -9
- package/dist/esm/VirtualList/style/index.js +0 -2
- package/dist/esm/VirtualList.js +0 -11
- package/dist/esm/WaterMark/style/index.js +0 -2
- package/dist/esm/WaterMark.js +0 -13
- package/dist/esm/actionsheet.taro-e6a51446.js +0 -53
- package/dist/esm/address.taro-3a9b6396.js +0 -461
- package/dist/esm/animate.taro-fb7986d6.js +0 -40
- package/dist/esm/animatingnumbers.taro-03e5d61d.js +0 -104
- package/dist/esm/audio.taro-87ec8bf2.js +0 -161
- package/dist/esm/avatar.taro-3676f38f.js +0 -103
- package/dist/esm/avatargroup-f3574510.js +0 -34
- package/dist/esm/backtop.taro-66394a36.js +0 -48
- package/dist/esm/badge.taro-a4e59c11.js +0 -52
- package/dist/esm/barrage.taro-80df08d3.js +0 -94
- package/dist/esm/bem-350c1702.js +0 -5
- package/dist/esm/button.taro-9244d065.js +0 -100
- package/dist/esm/calendar.taro-670842ea.js +0 -65
- package/dist/esm/calendaritem.taro-2a603571.js +0 -787
- package/dist/esm/can-use-dom-3eeb5af4.js +0 -6
- package/dist/esm/card.taro-e4c76dad.js +0 -33
- package/dist/esm/cascader.taro-eb1fb011.js +0 -438
- package/dist/esm/cell.taro-a10a74d3.js +0 -64
- package/dist/esm/cellgroup.taro-abe501bc.js +0 -25
- package/dist/esm/checkbox.taro-6120e3e3.js +0 -171
- package/dist/esm/circleprogress.taro-79854448.js +0 -109
- package/dist/esm/col.taro-53eed3cc.js +0 -41
- package/dist/esm/collapse.taro-1a9e4ba2.js +0 -83
- package/dist/esm/collapseitem-4d0bc55d.js +0 -83
- package/dist/esm/configprovider-67d19d3a.js +0 -19
- package/dist/esm/configprovider.taro-8d71eb49.js +0 -42
- package/dist/esm/countdown.taro-dbcb9a4f.js +0 -225
- package/dist/esm/datepicker.taro-6e9b4b8f.js +0 -275
- package/dist/esm/dialog.taro-a3267d29.js +0 -118
- package/dist/esm/divider.taro-26d1d8b4.js +0 -35
- package/dist/esm/drag.taro-79bb8744.js +0 -110
- package/dist/esm/elevator.taro-6019669e.js +0 -178
- package/dist/esm/ellipsis.taro-f15f26da.js +0 -241
- package/dist/esm/empty.taro-04ae4389.js +0 -62
- package/dist/esm/fixednav.taro-1f05acaf.js +0 -53
- package/dist/esm/form.taro-0c8e7a39.js +0 -179
- package/dist/esm/formitem.taro-190a3326.js +0 -89
- package/dist/esm/get-scroll-parent-b4a07e65.js +0 -25
- package/dist/esm/grid.taro-3503b82c.js +0 -61
- package/dist/esm/grid.taro.context-c2bbfb4f.js +0 -8
- package/dist/esm/griditem.taro-cdb3f119.js +0 -98
- package/dist/esm/icon-296a1bec.js +0 -63
- package/dist/esm/icon.taro-296a1bec.js +0 -63
- package/dist/esm/image.taro-142cf512.js +0 -64
- package/dist/esm/imagepreview.taro-c50bb0a3.js +0 -167
- package/dist/esm/index-5bcb0ff8.js +0 -7
- package/dist/esm/indicator.taro-cba8b010.js +0 -37
- package/dist/esm/infiniteloading.taro-e66e3746.js +0 -142
- package/dist/esm/input.taro-97af6c96.js +0 -240
- package/dist/esm/inputnumber.taro-91f65d17.js +0 -130
- package/dist/esm/layout.taro-9046d093.js +0 -11
- package/dist/esm/menu.taro-7e4038a1.js +0 -99
- package/dist/esm/menuitem.taro-96cc4f15.js +0 -130
- package/dist/esm/navbar.taro-777c4705.js +0 -79
- package/dist/esm/noticebar.taro-4a23cdee.js +0 -448
- package/dist/esm/notify.taro-e17c6f82.js +0 -75
- package/dist/esm/numberkeyboard.taro-1bc24744.js +0 -159
- package/dist/esm/nutui-react.es.js +0 -119
- package/dist/esm/offsetContext-c2a746fa.js +0 -5
- package/dist/esm/overlay.taro-21e87fb1.js +0 -69
- package/dist/esm/pagination.taro-715a173b.js +0 -124
- package/dist/esm/picker.taro-9ad1b7c5.js +0 -473
- package/dist/esm/popover.taro-ad5e76ea.js +0 -156
- package/dist/esm/popup.taro-01676bff.js +0 -137
- package/dist/esm/price.taro-776ed16e.js +0 -83
- package/dist/esm/progress.taro-f0ce38e9.js +0 -90
- package/dist/esm/pulltorefresh.taro-a294f656.js +0 -181
- package/dist/esm/radio.taro-a6eff96c.js +0 -168
- package/dist/esm/range.taro-d8fc7656.js +0 -332
- package/dist/esm/rate.taro-6cdf03bd.js +0 -75
- package/dist/esm/row.taro-f64d4a13.js +0 -46
- package/dist/esm/searchbar.taro-0c25927b.js +0 -152
- package/dist/esm/shortpassword.taro-9ee034f7.js +0 -111
- package/dist/esm/sidenavbar.taro-c307b35e.js +0 -35
- package/dist/esm/sidenavbaritem.taro-5a7965d0.js +0 -12
- package/dist/esm/signature.taro-ec4e713b.js +0 -143
- package/dist/esm/skeleton.taro-76faf63f.js +0 -62
- package/dist/esm/step.taro-b7903e8c.js +0 -59
- package/dist/esm/steps.taro-c82d2252.js +0 -30
- package/dist/esm/sticky.taro-218bda37.js +0 -138
- package/dist/esm/subsidenavbar.taro-69cb9752.js +0 -63
- package/dist/esm/supports-passive-c85ef996.js +0 -18
- package/dist/esm/swipe.taro-ea35f07f.js +0 -177
- package/dist/esm/swiper.taro-7a94e211.js +0 -451
- package/dist/esm/swiperitem-c9e3d0d5.js +0 -29
- package/dist/esm/switch.taro-34ca8228.js +0 -50
- package/dist/esm/tabbar.taro-9acfc2fa.js +0 -59
- package/dist/esm/tabbaritem.taro-bf517487.js +0 -58
- package/dist/esm/table.taro-91fc0c01.js +0 -93
- package/dist/esm/tabpane.taro-4ca340ef.js +0 -23
- package/dist/esm/tabs.taro-6a7524a4.js +0 -140
- package/dist/esm/tag.taro-23ba0834.js +0 -92
- package/dist/esm/textarea.taro-442e7350.js +0 -94
- package/dist/esm/timedetail.taro-5b2f2269.js +0 -44
- package/dist/esm/timepannel.taro-d6e40180.js +0 -22
- package/dist/esm/timeselect.taro-a07036f4.js +0 -133
- package/dist/esm/toast.taro-d6c14811.js +0 -109
- package/dist/esm/trendarrow.taro-b8c5ccd9.js +0 -73
- package/dist/esm/typings-b9828dba.js +0 -9
- package/dist/esm/uploader.taro-c615fd4c.js +0 -495
- package/dist/esm/useClientRect-1f8ed1fe.js +0 -18
- package/dist/esm/useTouch-db24bb5c.js +0 -69
- package/dist/esm/video-f1be8a91.js +0 -67
- package/dist/esm/virtuallist.taro-f0b0270d.js +0 -214
- package/dist/esm/watermark.taro-9ce2ae37.js +0 -114
- package/dist/esm/zh-CN-c779e6c1.js +0 -131
- package/dist/locales/base.d.ts +0 -129
- package/dist/locales/base.js +0 -5
- package/dist/locales/en-US.d.ts +0 -3
- package/dist/locales/en-US.js +0 -135
- package/dist/locales/id-ID.d.ts +0 -3
- package/dist/locales/id-ID.js +0 -135
- package/dist/locales/zh-CN.d.ts +0 -3
- package/dist/locales/zh-CN.js +0 -137
- package/dist/locales/zh-TW.d.ts +0 -3
- package/dist/locales/zh-TW.js +0 -135
- package/dist/locales/zh-UG.d.ts +0 -3
- package/dist/locales/zh-UG.js +0 -135
- package/dist/packages/actionsheet/actionsheet.scss +0 -103
- package/dist/packages/address/address.scss +0 -243
- package/dist/packages/animate/animate.scss +0 -284
- package/dist/packages/animatingnumbers/animatingnumbers.scss +0 -0
- package/dist/packages/animatingnumbers/countup.scss +0 -45
- package/dist/packages/audio/audio.scss +0 -93
- package/dist/packages/avatar/avatar.scss +0 -58
- package/dist/packages/avatargroup/avatargroup.scss +0 -14
- package/dist/packages/backtop/backtop.scss +0 -29
- package/dist/packages/badge/badge.scss +0 -53
- package/dist/packages/barrage/barrage.scss +0 -60
- package/dist/packages/button/button.scss +0 -245
- package/dist/packages/calendar/calendar.scss +0 -265
- package/dist/packages/calendaritem/calendaritem.scss +0 -0
- package/dist/packages/card/card.scss +0 -83
- package/dist/packages/cascader/cascader.scss +0 -108
- package/dist/packages/cell/cell.scss +0 -107
- package/dist/packages/cellgroup/cellgroup.scss +0 -46
- package/dist/packages/checkbox/checkbox.scss +0 -49
- package/dist/packages/checkboxgroup/checkboxgroup.scss +0 -33
- package/dist/packages/circleprogress/circleprogress.scss +0 -33
- package/dist/packages/col/col.scss +0 -24
- package/dist/packages/collapse/collapse.scss +0 -0
- package/dist/packages/collapseitem/collapseitem.scss +0 -161
- package/dist/packages/configprovider/configprovider.scss +0 -0
- package/dist/packages/countdown/countdown.scss +0 -3
- package/dist/packages/datepicker/datepicker.scss +0 -0
- package/dist/packages/dialog/dialog.scss +0 -135
- package/dist/packages/divider/divider.scss +0 -73
- package/dist/packages/drag/drag.scss +0 -10
- package/dist/packages/elevator/elevator.scss +0 -124
- package/dist/packages/ellipsis/ellipsis.scss +0 -17
- package/dist/packages/empty/empty.scss +0 -42
- package/dist/packages/fixednav/fixednav.scss +0 -141
- package/dist/packages/form/form.scss +0 -31
- package/dist/packages/formitem/formitem.scss +0 -100
- package/dist/packages/grid/grid.scss +0 -10
- package/dist/packages/griditem/griditem.scss +0 -108
- package/dist/packages/icon/icon.scss +0 -132
- package/dist/packages/image/image.scss +0 -53
- package/dist/packages/imagepreview/imagepreview.scss +0 -51
- package/dist/packages/indicator/indicator.scss +0 -70
- package/dist/packages/infiniteloading/infiniteloading.scss +0 -69
- package/dist/packages/input/input.scss +0 -203
- package/dist/packages/inputnumber/inputnumber.scss +0 -79
- package/dist/packages/layout/layout.scss +0 -2
- package/dist/packages/menu/menu.scss +0 -75
- package/dist/packages/menuitem/menuitem.scss +0 -120
- package/dist/packages/navbar/navbar.scss +0 -185
- package/dist/packages/noticebar/noticebar.scss +0 -156
- package/dist/packages/notify/notify.scss +0 -93
- package/dist/packages/numberkeyboard/numberkeyboard.scss +0 -147
- package/dist/packages/overlay/overlay.scss +0 -75
- package/dist/packages/pagination/pagination.scss +0 -81
- package/dist/packages/picker/picker.scss +0 -225
- package/dist/packages/popover/popover.scss +0 -288
- package/dist/packages/popup/popup.scss +0 -201
- package/dist/packages/price/price.scss +0 -37
- package/dist/packages/progress/progress.scss +0 -114
- package/dist/packages/pulltorefresh/pulltorefresh.scss +0 -26
- package/dist/packages/radio/radio.scss +0 -84
- package/dist/packages/radiogroup/radiogroup.scss +0 -86
- package/dist/packages/range/range.scss +0 -224
- package/dist/packages/rate/rate.scss +0 -36
- package/dist/packages/row/row.scss +0 -83
- package/dist/packages/searchbar/searchbar.scss +0 -146
- package/dist/packages/shortpassword/shortpassword.scss +0 -203
- package/dist/packages/sidenavbar/sidenavbar.scss +0 -100
- package/dist/packages/sidenavbaritem/sidenavbaritem.scss +0 -25
- package/dist/packages/signature/signature.scss +0 -39
- package/dist/packages/skeleton/skeleton.scss +0 -70
- package/dist/packages/step/step.scss +0 -274
- package/dist/packages/steps/steps.scss +0 -7
- package/dist/packages/sticky/sticky.scss +0 -3
- package/dist/packages/subsidenavbar/subsidenavbar.scss +0 -35
- package/dist/packages/swipe/swipe.scss +0 -33
- package/dist/packages/swiper/swiper.scss +0 -45
- package/dist/packages/swiperitem/swiperitem.scss +0 -3
- package/dist/packages/switch/switch.scss +0 -87
- package/dist/packages/tabbar/tabbar.scss +0 -46
- package/dist/packages/tabbaritem/tabbaritem.scss +0 -97
- package/dist/packages/table/table.scss +0 -152
- package/dist/packages/tabpane/tabpane.scss +0 -23
- package/dist/packages/tabs/tabs.scss +0 -284
- package/dist/packages/tag/tag.scss +0 -67
- package/dist/packages/textarea/textarea.scss +0 -60
- package/dist/packages/timedetail/timedetail.scss +0 -45
- package/dist/packages/timepannel/timepannel.scss +0 -17
- package/dist/packages/timeselect/timeselect.scss +0 -73
- package/dist/packages/toast/toast.scss +0 -98
- package/dist/packages/trendarrow/trendarrow.scss +0 -17
- package/dist/packages/uploader/uploader.scss +0 -237
- package/dist/packages/video/video.scss +0 -18
- package/dist/packages/virtuallist/virtuallist.scss +0 -87
- package/dist/packages/watermark/watermark.scss +0 -13
- package/dist/style.css +0 -1
- package/dist/style.mjs +0 -9
- package/dist/styles/animation/drop.scss +0 -24
- package/dist/styles/animation/ease.scss +0 -23
- package/dist/styles/animation/fade.scss +0 -20
- package/dist/styles/animation/icon.scss +0 -245
- package/dist/styles/animation/index.scss +0 -7
- package/dist/styles/animation/rotate.scss +0 -10
- package/dist/styles/animation/zoom.scss +0 -26
- package/dist/styles/font/config.json +0 -175
- package/dist/styles/font/demo.css +0 -539
- package/dist/styles/font/demo_index.html +0 -3063
- package/dist/styles/font/iconfont.css +0 -515
- package/dist/styles/font/iconfont.eot +0 -0
- package/dist/styles/font/iconfont.js +0 -68
- package/dist/styles/font/iconfont.json +0 -884
- package/dist/styles/font/iconfont.svg +0 -356
- package/dist/styles/font/iconfont.ttf +0 -0
- package/dist/styles/font/iconfont.woff +0 -0
- package/dist/styles/font/iconfont.woff2 +0 -0
- package/dist/styles/mixins/index.scss +0 -2
- package/dist/styles/mixins/make-animation.scss +0 -24
- package/dist/styles/mixins/text-ellipsis.scss +0 -20
- package/dist/styles/theme-dark.scss +0 -26
- package/dist/styles/theme-default.scss +0 -40
- package/dist/styles/themes/default.scss +0 -97
- package/dist/styles/variables.scss +0 -2610
- package/dist/types/index.d.ts +0 -2191
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
# v1.5.2
|
|
2
|
+
`2023-04-26`
|
|
3
|
+
|
|
4
|
+
* 🔨 chore: release v1.5.1 @junjun666
|
|
5
|
+
* :bug: fix: countdown 修改销毁实例方法 (#944) @拧巴的猫
|
|
6
|
+
* :bug: fix: uploader组件onSuccess和onFailure方法添加file参数表示当前上传文件 (#932) @cuicuiworld
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# v1.5.1
|
|
10
|
+
`2023-04-19`
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
* :bug: fix: 修改inputnumber微信小程序的带小数点的键盘 (#907) @junjun666
|
|
14
|
+
* :bug: fix: 修复uploader组件编译xhr报错的问题 (#916) @junjun666
|
|
15
|
+
* 🔨 chore: 开发编译兼容taro 3.6.5版本 (#911) @junjun666
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
# v1.5.0
|
|
2
20
|
`2023-04-12`
|
|
3
21
|
|
package/dist/nutui.react.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
/*!
|
|
8
|
-
* @nutui/nutui-react-taro v1.5.
|
|
8
|
+
* @nutui/nutui-react-taro v1.5.2-beta.0 Wed Apr 26 2023 15:13:11 GMT+0800 (中国标准时间)
|
|
9
9
|
* (c) 2023 @jdf2e.
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
@@ -31,37 +31,37 @@ function requireClassname_production_min() {
|
|
|
31
31
|
return classname_production_min;
|
|
32
32
|
hasRequiredClassname_production_min = 1;
|
|
33
33
|
function r(r2) {
|
|
34
|
-
function
|
|
35
|
-
var f = i ?
|
|
34
|
+
function t2(t3, i, a, o) {
|
|
35
|
+
var f = i ? e + t3 + r2.e + i : e + t3, v = f;
|
|
36
36
|
if (a) {
|
|
37
|
-
var
|
|
38
|
-
for (var
|
|
39
|
-
if (a.hasOwnProperty(
|
|
40
|
-
var p = a[
|
|
41
|
-
true === p ? v +=
|
|
37
|
+
var s = " " + v + r2.m;
|
|
38
|
+
for (var u in a)
|
|
39
|
+
if (a.hasOwnProperty(u)) {
|
|
40
|
+
var p = a[u];
|
|
41
|
+
true === p ? v += s + u : p && (v += s + u + n + p);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
if (void 0 !== o)
|
|
45
|
-
for (var
|
|
46
|
-
var
|
|
47
|
-
if (
|
|
48
|
-
for (var g =
|
|
45
|
+
for (var y = 0, c = (o = Array.isArray(o) ? o : [o]).length; y < c; y++) {
|
|
46
|
+
var l = o[y];
|
|
47
|
+
if (l && "string" == typeof l.valueOf())
|
|
48
|
+
for (var g = l.valueOf().split(" "), d = 0; d < g.length; d++) {
|
|
49
49
|
var h = g[d];
|
|
50
50
|
h !== f && (v += " " + h);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
return v;
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
return function(r3,
|
|
55
|
+
var e = r2.n || "", n = r2.v || r2.m;
|
|
56
|
+
return function(r3, e2) {
|
|
57
57
|
return function(n2, i, a) {
|
|
58
|
-
return "string" == typeof n2 ? Array.isArray(i) ?
|
|
58
|
+
return "string" == typeof n2 ? "string" == typeof i || Array.isArray(i) ? t2(r3, n2, void 0, i) : t2(r3, n2, i, a) : t2(r3, e2, n2, i);
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
Object.defineProperty(classname_production_min, "__esModule", { value: true });
|
|
63
|
-
var
|
|
64
|
-
classname_production_min.cn =
|
|
63
|
+
var t = r({ e: "-", m: "_" });
|
|
64
|
+
classname_production_min.cn = t, classname_production_min.withNaming = r;
|
|
65
65
|
return classname_production_min;
|
|
66
66
|
}
|
|
67
67
|
var classname_development = {};
|
|
@@ -91,6 +91,7 @@ function requireClassname_development() {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
if (mix !== void 0) {
|
|
94
|
+
mix = Array.isArray(mix) ? mix : [mix];
|
|
94
95
|
for (var i = 0, len = mix.length; i < len; i++) {
|
|
95
96
|
var value = mix[i];
|
|
96
97
|
if (!value || typeof value.valueOf() !== "string")
|
|
@@ -109,7 +110,7 @@ function requireClassname_development() {
|
|
|
109
110
|
return function cnGenerator(b2, e) {
|
|
110
111
|
return function(elemOrMods, elemModsOrBlockMix, elemMix) {
|
|
111
112
|
if (typeof elemOrMods === "string") {
|
|
112
|
-
if (Array.isArray(elemModsOrBlockMix)) {
|
|
113
|
+
if (typeof elemModsOrBlockMix === "string" || Array.isArray(elemModsOrBlockMix)) {
|
|
113
114
|
return stringify(b2, elemOrMods, void 0, elemModsOrBlockMix);
|
|
114
115
|
}
|
|
115
116
|
return stringify(b2, elemOrMods, elemModsOrBlockMix, elemMix);
|
|
@@ -10226,44 +10227,40 @@ class UploaderTaro extends Upload {
|
|
|
10226
10227
|
uploadTaro(uploadFile2, env) {
|
|
10227
10228
|
var _a;
|
|
10228
10229
|
const options = this.options;
|
|
10229
|
-
if (
|
|
10230
|
-
|
|
10230
|
+
if (options.beforeXhrUpload) {
|
|
10231
|
+
options.beforeXhrUpload(uploadFile2, options);
|
|
10231
10232
|
} else {
|
|
10232
|
-
|
|
10233
|
-
options.
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
10250
|
-
} else {
|
|
10251
|
-
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
10252
|
-
}
|
|
10253
|
-
},
|
|
10254
|
-
fail(e) {
|
|
10255
|
-
var _a2;
|
|
10256
|
-
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
10257
|
-
}
|
|
10258
|
-
});
|
|
10259
|
-
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
10260
|
-
uploadTask.progress(
|
|
10261
|
-
(res) => {
|
|
10262
|
-
var _a2;
|
|
10263
|
-
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
10233
|
+
const uploadTask = uploadFile2({
|
|
10234
|
+
url: options.url,
|
|
10235
|
+
filePath: options.taroFilePath,
|
|
10236
|
+
fileType: options.fileType,
|
|
10237
|
+
header: {
|
|
10238
|
+
"Content-Type": "multipart/form-data",
|
|
10239
|
+
...options.headers
|
|
10240
|
+
},
|
|
10241
|
+
//
|
|
10242
|
+
formData: options.formData,
|
|
10243
|
+
name: options.name,
|
|
10244
|
+
success(response) {
|
|
10245
|
+
var _a2, _b;
|
|
10246
|
+
if (options.xhrState == response.statusCode) {
|
|
10247
|
+
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
10248
|
+
} else {
|
|
10249
|
+
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
10264
10250
|
}
|
|
10265
|
-
|
|
10266
|
-
|
|
10251
|
+
},
|
|
10252
|
+
fail(e) {
|
|
10253
|
+
var _a2;
|
|
10254
|
+
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
10255
|
+
}
|
|
10256
|
+
});
|
|
10257
|
+
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
10258
|
+
uploadTask.progress(
|
|
10259
|
+
(res) => {
|
|
10260
|
+
var _a2;
|
|
10261
|
+
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
10262
|
+
}
|
|
10263
|
+
);
|
|
10267
10264
|
}
|
|
10268
10265
|
}
|
|
10269
10266
|
}
|
|
@@ -10523,7 +10520,8 @@ const InternalUploader = (props, ref) => {
|
|
|
10523
10520
|
onSuccess && onSuccess({
|
|
10524
10521
|
responseText,
|
|
10525
10522
|
option,
|
|
10526
|
-
fileList
|
|
10523
|
+
fileList,
|
|
10524
|
+
file: fileItem
|
|
10527
10525
|
});
|
|
10528
10526
|
};
|
|
10529
10527
|
uploadOption.onFailure = (responseText, option) => {
|
|
@@ -10539,7 +10537,8 @@ const InternalUploader = (props, ref) => {
|
|
|
10539
10537
|
onFailure && onFailure({
|
|
10540
10538
|
responseText,
|
|
10541
10539
|
option,
|
|
10542
|
-
fileList
|
|
10540
|
+
fileList,
|
|
10541
|
+
file: fileItem
|
|
10543
10542
|
});
|
|
10544
10543
|
};
|
|
10545
10544
|
const task = new UploaderTaro(uploadOption);
|
|
@@ -11265,7 +11264,7 @@ const Infiniteloading = (props) => {
|
|
|
11265
11264
|
const getScrollHeight = () => {
|
|
11266
11265
|
const parentElement = getParentElement("scroller");
|
|
11267
11266
|
parentElement.boundingClientRect((rect) => {
|
|
11268
|
-
scrollHeight.current = rect.height;
|
|
11267
|
+
scrollHeight.current = Array.isArray(rect) ? rect[0].height : rect.height;
|
|
11269
11268
|
}).exec();
|
|
11270
11269
|
};
|
|
11271
11270
|
const getStyle = () => {
|
|
@@ -17357,7 +17356,8 @@ const defaultProps$q = {
|
|
|
17357
17356
|
millisecond: false,
|
|
17358
17357
|
format: "HH:mm:ss",
|
|
17359
17358
|
autoStart: true,
|
|
17360
|
-
time: 0
|
|
17359
|
+
time: 0,
|
|
17360
|
+
destroy: false
|
|
17361
17361
|
};
|
|
17362
17362
|
const InternalCountDown = (props, ref) => {
|
|
17363
17363
|
useConfig$1();
|
|
@@ -17369,6 +17369,7 @@ const InternalCountDown = (props, ref) => {
|
|
|
17369
17369
|
format,
|
|
17370
17370
|
autoStart,
|
|
17371
17371
|
time,
|
|
17372
|
+
destroy,
|
|
17372
17373
|
className,
|
|
17373
17374
|
style,
|
|
17374
17375
|
onEnd,
|
|
@@ -17560,7 +17561,7 @@ const InternalCountDown = (props, ref) => {
|
|
|
17560
17561
|
return componentWillUnmount;
|
|
17561
17562
|
}, []);
|
|
17562
17563
|
const componentWillUnmount = () => {
|
|
17563
|
-
|
|
17564
|
+
destroy && cancelAnimationFrame(stateRef.current.timer);
|
|
17564
17565
|
};
|
|
17565
17566
|
const renderTime = (() => {
|
|
17566
17567
|
return formatRemainTime(stateRef.current.restTime);
|
|
@@ -20931,10 +20932,10 @@ const InternalBarrage = (props, ref) => {
|
|
|
20931
20932
|
setTimeout(() => {
|
|
20932
20933
|
let width = 100;
|
|
20933
20934
|
query.select(".nut-barrage__body" + timeId.current).boundingClientRect((rec) => {
|
|
20934
|
-
width = rec.width || 300;
|
|
20935
|
+
width = (Array.isArray(rec) ? rec[0].width : rec.width) || 300;
|
|
20935
20936
|
});
|
|
20936
20937
|
query.select(".nut-barrage__item" + index2).boundingClientRect((recs) => {
|
|
20937
|
-
let height = recs.
|
|
20938
|
+
let height = Array.isArray(recs) ? recs[0].width : recs.width;
|
|
20938
20939
|
let nodeTop = index2 % rows * (height + top) + 20 + "px";
|
|
20939
20940
|
styleInfo(index2, nodeTop, width);
|
|
20940
20941
|
}).exec();
|
package/dist/nutui.react.umd.js
CHANGED
|
@@ -8,7 +8,7 @@ var __publicField = (obj, key, value) => {
|
|
|
8
8
|
return value;
|
|
9
9
|
};
|
|
10
10
|
/*!
|
|
11
|
-
* @nutui/nutui-react-taro v1.5.
|
|
11
|
+
* @nutui/nutui-react-taro v1.5.2-beta.0 Wed Apr 26 2023 15:13:11 GMT+0800 (中国标准时间)
|
|
12
12
|
* (c) 2023 @jdf2e.
|
|
13
13
|
* Released under the MIT License.
|
|
14
14
|
*/
|
|
@@ -47,37 +47,37 @@ var __publicField = (obj, key, value) => {
|
|
|
47
47
|
return classname_production_min;
|
|
48
48
|
hasRequiredClassname_production_min = 1;
|
|
49
49
|
function r(r2) {
|
|
50
|
-
function
|
|
51
|
-
var f = i ?
|
|
50
|
+
function t2(t3, i, a, o) {
|
|
51
|
+
var f = i ? e + t3 + r2.e + i : e + t3, v = f;
|
|
52
52
|
if (a) {
|
|
53
|
-
var
|
|
54
|
-
for (var
|
|
55
|
-
if (a.hasOwnProperty(
|
|
56
|
-
var p = a[
|
|
57
|
-
true === p ? v +=
|
|
53
|
+
var s = " " + v + r2.m;
|
|
54
|
+
for (var u in a)
|
|
55
|
+
if (a.hasOwnProperty(u)) {
|
|
56
|
+
var p = a[u];
|
|
57
|
+
true === p ? v += s + u : p && (v += s + u + n + p);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
if (void 0 !== o)
|
|
61
|
-
for (var
|
|
62
|
-
var
|
|
63
|
-
if (
|
|
64
|
-
for (var g =
|
|
61
|
+
for (var y = 0, c = (o = Array.isArray(o) ? o : [o]).length; y < c; y++) {
|
|
62
|
+
var l = o[y];
|
|
63
|
+
if (l && "string" == typeof l.valueOf())
|
|
64
|
+
for (var g = l.valueOf().split(" "), d = 0; d < g.length; d++) {
|
|
65
65
|
var h = g[d];
|
|
66
66
|
h !== f && (v += " " + h);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
return v;
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
return function(r3,
|
|
71
|
+
var e = r2.n || "", n = r2.v || r2.m;
|
|
72
|
+
return function(r3, e2) {
|
|
73
73
|
return function(n2, i, a) {
|
|
74
|
-
return "string" == typeof n2 ? Array.isArray(i) ?
|
|
74
|
+
return "string" == typeof n2 ? "string" == typeof i || Array.isArray(i) ? t2(r3, n2, void 0, i) : t2(r3, n2, i, a) : t2(r3, e2, n2, i);
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
Object.defineProperty(classname_production_min, "__esModule", { value: true });
|
|
79
|
-
var
|
|
80
|
-
classname_production_min.cn =
|
|
79
|
+
var t = r({ e: "-", m: "_" });
|
|
80
|
+
classname_production_min.cn = t, classname_production_min.withNaming = r;
|
|
81
81
|
return classname_production_min;
|
|
82
82
|
}
|
|
83
83
|
var classname_development = {};
|
|
@@ -107,6 +107,7 @@ var __publicField = (obj, key, value) => {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
if (mix !== void 0) {
|
|
110
|
+
mix = Array.isArray(mix) ? mix : [mix];
|
|
110
111
|
for (var i = 0, len = mix.length; i < len; i++) {
|
|
111
112
|
var value = mix[i];
|
|
112
113
|
if (!value || typeof value.valueOf() !== "string")
|
|
@@ -125,7 +126,7 @@ var __publicField = (obj, key, value) => {
|
|
|
125
126
|
return function cnGenerator(b2, e) {
|
|
126
127
|
return function(elemOrMods, elemModsOrBlockMix, elemMix) {
|
|
127
128
|
if (typeof elemOrMods === "string") {
|
|
128
|
-
if (Array.isArray(elemModsOrBlockMix)) {
|
|
129
|
+
if (typeof elemModsOrBlockMix === "string" || Array.isArray(elemModsOrBlockMix)) {
|
|
129
130
|
return stringify(b2, elemOrMods, void 0, elemModsOrBlockMix);
|
|
130
131
|
}
|
|
131
132
|
return stringify(b2, elemOrMods, elemModsOrBlockMix, elemMix);
|
|
@@ -10242,44 +10243,40 @@ var __publicField = (obj, key, value) => {
|
|
|
10242
10243
|
uploadTaro(uploadFile, env) {
|
|
10243
10244
|
var _a;
|
|
10244
10245
|
const options = this.options;
|
|
10245
|
-
if (
|
|
10246
|
-
|
|
10246
|
+
if (options.beforeXhrUpload) {
|
|
10247
|
+
options.beforeXhrUpload(uploadFile, options);
|
|
10247
10248
|
} else {
|
|
10248
|
-
|
|
10249
|
-
options.
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
10266
|
-
} else {
|
|
10267
|
-
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
10268
|
-
}
|
|
10269
|
-
},
|
|
10270
|
-
fail(e) {
|
|
10271
|
-
var _a2;
|
|
10272
|
-
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
10273
|
-
}
|
|
10274
|
-
});
|
|
10275
|
-
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
10276
|
-
uploadTask.progress(
|
|
10277
|
-
(res) => {
|
|
10278
|
-
var _a2;
|
|
10279
|
-
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
10249
|
+
const uploadTask = uploadFile({
|
|
10250
|
+
url: options.url,
|
|
10251
|
+
filePath: options.taroFilePath,
|
|
10252
|
+
fileType: options.fileType,
|
|
10253
|
+
header: {
|
|
10254
|
+
"Content-Type": "multipart/form-data",
|
|
10255
|
+
...options.headers
|
|
10256
|
+
},
|
|
10257
|
+
//
|
|
10258
|
+
formData: options.formData,
|
|
10259
|
+
name: options.name,
|
|
10260
|
+
success(response) {
|
|
10261
|
+
var _a2, _b;
|
|
10262
|
+
if (options.xhrState == response.statusCode) {
|
|
10263
|
+
(_a2 = options.onSuccess) == null ? void 0 : _a2.call(options, response, options);
|
|
10264
|
+
} else {
|
|
10265
|
+
(_b = options.onFailure) == null ? void 0 : _b.call(options, response, options);
|
|
10280
10266
|
}
|
|
10281
|
-
|
|
10282
|
-
|
|
10267
|
+
},
|
|
10268
|
+
fail(e) {
|
|
10269
|
+
var _a2;
|
|
10270
|
+
(_a2 = options.onFailure) == null ? void 0 : _a2.call(options, e, options);
|
|
10271
|
+
}
|
|
10272
|
+
});
|
|
10273
|
+
(_a = options.onStart) == null ? void 0 : _a.call(options, options);
|
|
10274
|
+
uploadTask.progress(
|
|
10275
|
+
(res) => {
|
|
10276
|
+
var _a2;
|
|
10277
|
+
(_a2 = options.onProgress) == null ? void 0 : _a2.call(options, res, options);
|
|
10278
|
+
}
|
|
10279
|
+
);
|
|
10283
10280
|
}
|
|
10284
10281
|
}
|
|
10285
10282
|
}
|
|
@@ -10539,7 +10536,8 @@ var __publicField = (obj, key, value) => {
|
|
|
10539
10536
|
onSuccess && onSuccess({
|
|
10540
10537
|
responseText,
|
|
10541
10538
|
option,
|
|
10542
|
-
fileList
|
|
10539
|
+
fileList,
|
|
10540
|
+
file: fileItem
|
|
10543
10541
|
});
|
|
10544
10542
|
};
|
|
10545
10543
|
uploadOption.onFailure = (responseText, option) => {
|
|
@@ -10555,7 +10553,8 @@ var __publicField = (obj, key, value) => {
|
|
|
10555
10553
|
onFailure && onFailure({
|
|
10556
10554
|
responseText,
|
|
10557
10555
|
option,
|
|
10558
|
-
fileList
|
|
10556
|
+
fileList,
|
|
10557
|
+
file: fileItem
|
|
10559
10558
|
});
|
|
10560
10559
|
};
|
|
10561
10560
|
const task = new UploaderTaro(uploadOption);
|
|
@@ -11281,7 +11280,7 @@ var __publicField = (obj, key, value) => {
|
|
|
11281
11280
|
const getScrollHeight = () => {
|
|
11282
11281
|
const parentElement = getParentElement("scroller");
|
|
11283
11282
|
parentElement.boundingClientRect((rect) => {
|
|
11284
|
-
scrollHeight.current = rect.height;
|
|
11283
|
+
scrollHeight.current = Array.isArray(rect) ? rect[0].height : rect.height;
|
|
11285
11284
|
}).exec();
|
|
11286
11285
|
};
|
|
11287
11286
|
const getStyle = () => {
|
|
@@ -17373,7 +17372,8 @@ This message will only show in development mode. It won't appear in production.
|
|
|
17373
17372
|
millisecond: false,
|
|
17374
17373
|
format: "HH:mm:ss",
|
|
17375
17374
|
autoStart: true,
|
|
17376
|
-
time: 0
|
|
17375
|
+
time: 0,
|
|
17376
|
+
destroy: false
|
|
17377
17377
|
};
|
|
17378
17378
|
const InternalCountDown = (props, ref) => {
|
|
17379
17379
|
useConfig$1();
|
|
@@ -17385,6 +17385,7 @@ This message will only show in development mode. It won't appear in production.
|
|
|
17385
17385
|
format,
|
|
17386
17386
|
autoStart,
|
|
17387
17387
|
time,
|
|
17388
|
+
destroy,
|
|
17388
17389
|
className,
|
|
17389
17390
|
style,
|
|
17390
17391
|
onEnd,
|
|
@@ -17576,7 +17577,7 @@ This message will only show in development mode. It won't appear in production.
|
|
|
17576
17577
|
return componentWillUnmount;
|
|
17577
17578
|
}, []);
|
|
17578
17579
|
const componentWillUnmount = () => {
|
|
17579
|
-
|
|
17580
|
+
destroy && cancelAnimationFrame(stateRef.current.timer);
|
|
17580
17581
|
};
|
|
17581
17582
|
const renderTime = (() => {
|
|
17582
17583
|
return formatRemainTime(stateRef.current.restTime);
|
|
@@ -20947,10 +20948,10 @@ This message will only show in development mode. It won't appear in production.
|
|
|
20947
20948
|
setTimeout(() => {
|
|
20948
20949
|
let width = 100;
|
|
20949
20950
|
query.select(".nut-barrage__body" + timeId.current).boundingClientRect((rec) => {
|
|
20950
|
-
width = rec.width || 300;
|
|
20951
|
+
width = (Array.isArray(rec) ? rec[0].width : rec.width) || 300;
|
|
20951
20952
|
});
|
|
20952
20953
|
query.select(".nut-barrage__item" + index2).boundingClientRect((recs) => {
|
|
20953
|
-
let height = recs.
|
|
20954
|
+
let height = Array.isArray(recs) ? recs[0].width : recs.width;
|
|
20954
20955
|
let nodeTop = index2 % rows * (height + top) + 20 + "px";
|
|
20955
20956
|
styleInfo(index2, nodeTop, width);
|
|
20956
20957
|
}).exec();
|
package/package.json
CHANGED
package/dist/esm/ActionSheet.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { A as ActionSheet } from './actionsheet.taro-e6a51446.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import './popup.taro-01676bff.js';
|
|
4
|
-
import 'react-dom';
|
|
5
|
-
import 'react-transition-group';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import './overlay.taro-21e87fb1.js';
|
|
8
|
-
import './bem-350c1702.js';
|
|
9
|
-
import '@bem-react/classname';
|
|
10
|
-
import '@tarojs/components';
|
|
11
|
-
import './icon.taro-296a1bec.js';
|
|
12
|
-
import './typings-b9828dba.js';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export { ActionSheet as default };
|
package/dist/esm/Address.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { A as Address } from './address.taro-3a9b6396.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import './icon.taro-296a1bec.js';
|
|
4
|
-
import './bem-350c1702.js';
|
|
5
|
-
import '@bem-react/classname';
|
|
6
|
-
import './popup.taro-01676bff.js';
|
|
7
|
-
import 'react-dom';
|
|
8
|
-
import 'react-transition-group';
|
|
9
|
-
import 'classnames';
|
|
10
|
-
import './overlay.taro-21e87fb1.js';
|
|
11
|
-
import '@tarojs/components';
|
|
12
|
-
import './typings-b9828dba.js';
|
|
13
|
-
import './icon-296a1bec.js';
|
|
14
|
-
import './configprovider-67d19d3a.js';
|
|
15
|
-
import 'lodash.kebabcase';
|
|
16
|
-
import './zh-CN-c779e6c1.js';
|
|
17
|
-
import '@tarojs/taro';
|
|
18
|
-
import './elevator.taro-6019669e.js';
|
|
19
|
-
import './configprovider.taro-8d71eb49.js';
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export { Address as default };
|
package/dist/esm/Animate.js
DELETED
package/dist/esm/Audio.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { A as Audio } from './audio.taro-87ec8bf2.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@tarojs/taro';
|
|
4
|
-
import './icon.taro-296a1bec.js';
|
|
5
|
-
import './bem-350c1702.js';
|
|
6
|
-
import '@bem-react/classname';
|
|
7
|
-
import './range.taro-d8fc7656.js';
|
|
8
|
-
import './useTouch-db24bb5c.js';
|
|
9
|
-
import './useClientRect-1f8ed1fe.js';
|
|
10
|
-
import './toast.taro-d6c14811.js';
|
|
11
|
-
import 'classnames';
|
|
12
|
-
import './icon-296a1bec.js';
|
|
13
|
-
import './configprovider.taro-8d71eb49.js';
|
|
14
|
-
import 'lodash.kebabcase';
|
|
15
|
-
import './zh-CN-c779e6c1.js';
|
|
16
|
-
import './button.taro-9244d065.js';
|
|
17
|
-
import './typings-b9828dba.js';
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export { Audio as default };
|
package/dist/esm/Avatar.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { A as Avatar } from './avatar.taro-3676f38f.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import '@tarojs/components';
|
|
5
|
-
import './AvatarContext-c96afdcc.js';
|
|
6
|
-
import './bem-350c1702.js';
|
|
7
|
-
import '@bem-react/classname';
|
|
8
|
-
import './icon.taro-296a1bec.js';
|
|
9
|
-
import './typings-b9828dba.js';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export { Avatar as default };
|
package/dist/esm/AvatarGroup.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { A as AvatarGroup } from './avatargroup-f3574510.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'classnames';
|
|
4
|
-
import './AvatarContext-c96afdcc.js';
|
|
5
|
-
import './bem-350c1702.js';
|
|
6
|
-
import '@bem-react/classname';
|
|
7
|
-
import './configprovider-67d19d3a.js';
|
|
8
|
-
import 'lodash.kebabcase';
|
|
9
|
-
import './zh-CN-c779e6c1.js';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export { AvatarGroup as default };
|
package/dist/esm/BackTop.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { B as BackTop } from './backtop.taro-66394a36.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@tarojs/taro';
|
|
4
|
-
import './icon.taro-296a1bec.js';
|
|
5
|
-
import './bem-350c1702.js';
|
|
6
|
-
import '@bem-react/classname';
|
|
7
|
-
import './typings-b9828dba.js';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { BackTop as default };
|