@nutui/nutui-react 1.3.2 → 1.3.3-beta.1
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/esm/ActionSheet/style/index.js +2 -2
- package/dist/esm/Address/style/index.js +4 -4
- package/dist/esm/Address.js +7 -2
- package/dist/esm/AnimatingNumbers/style/index.js +2 -2
- package/dist/esm/Audio/style/index.js +4 -4
- package/dist/esm/Audio.js +9 -3
- package/dist/esm/Avatar/style/index.js +2 -2
- package/dist/esm/Avatar.js +7 -3
- package/dist/esm/AvatarGroup/style/index.js +1 -1
- package/dist/esm/BackTop/style/index.js +2 -2
- package/dist/esm/BackTop.js +6 -2
- package/dist/esm/Badge/style/index.js +1 -1
- package/dist/esm/Badge.js +6 -2
- package/dist/esm/Barrage/style/index.js +1 -1
- package/dist/esm/Button/style/index.js +2 -2
- package/dist/esm/Button.js +9 -3
- package/dist/esm/Calendar/style/index.js +2 -2
- package/dist/esm/CalendarItem/style/index.js +1 -1
- package/dist/esm/Card/style/index.js +3 -3
- package/dist/esm/Cascader/style/index.js +2 -2
- package/dist/esm/Cascader.js +2 -1
- package/dist/esm/Cell/style/index.js +2 -2
- package/dist/esm/Cell.js +9 -3
- package/dist/esm/CellGroup/style/index.js +1 -1
- package/dist/esm/Checkbox/style/index.js +2 -2
- package/dist/esm/Checkbox.js +7 -5
- package/dist/esm/CheckboxGroup/style/index.js +1 -1
- package/dist/esm/CircleProgress/style/index.js +1 -1
- package/dist/esm/Col/style/index.js +1 -1
- package/dist/esm/Collapse/style/index.js +2 -2
- package/dist/esm/CollapseItem/style/index.js +2 -2
- package/dist/esm/CollapseItem.js +11 -3
- package/dist/esm/ConfigProvider/style/index.js +1 -1
- package/dist/esm/CountDown/style/index.js +1 -1
- package/dist/esm/CountDown.js +184 -121
- package/dist/esm/DatePicker/style/index.js +2 -2
- package/dist/esm/Dialog/style/index.js +2 -2
- package/dist/esm/Divider/style/index.js +1 -1
- package/dist/esm/Drag/style/index.js +1 -1
- package/dist/esm/Elevator/style/index.js +1 -1
- package/dist/esm/Empty/style/index.js +1 -1
- package/dist/esm/FixedNav/style/index.js +3 -3
- package/dist/esm/FixedNav.js +7 -3
- package/dist/esm/Grid/style/index.js +1 -1
- package/dist/esm/GridItem/style/index.js +1 -1
- package/dist/esm/GridItem.js +7 -3
- package/dist/esm/Icon/style/index.js +2 -1
- package/dist/esm/ImagePreview/style/index.js +1 -1
- package/dist/esm/Indicator/style/index.js +1 -1
- package/dist/esm/Infiniteloading/style/index.js +2 -2
- package/dist/esm/Infiniteloading.js +9 -3
- package/dist/esm/Input/style/index.js +2 -2
- package/dist/esm/Input.js +10 -3
- package/dist/esm/InputNumber/style/index.js +2 -2
- package/dist/esm/InputNumber.js +9 -3
- package/dist/esm/Layout/style/index.js +1 -1
- package/dist/esm/Menu/style/index.js +2 -2
- package/dist/esm/Menu.js +7 -3
- package/dist/esm/MenuItem/style/index.js +3 -3
- package/dist/esm/MenuItem.js +6 -4
- package/dist/esm/NavBar/style/index.js +1 -1
- package/dist/esm/NavBar.js +8 -2
- package/dist/esm/NoticeBar/style/index.js +2 -2
- package/dist/esm/NoticeBar.js +12 -6
- package/dist/esm/Notify/style/index.js +1 -1
- package/dist/esm/NumberKeyboard/style/index.js +1 -1
- package/dist/esm/Overlay/style/index.js +1 -1
- package/dist/esm/Pagination/style/index.js +1 -1
- package/dist/esm/Picker/style/index.js +2 -2
- package/dist/esm/Popover/style/index.js +2 -2
- package/dist/esm/Popover.js +5 -2
- package/dist/esm/Popup/style/index.js +3 -3
- package/dist/esm/Popup.js +4 -1
- package/dist/esm/Price/style/index.js +1 -1
- package/dist/esm/Progress/style/index.js +2 -2
- package/dist/esm/Progress.js +70 -5
- package/dist/esm/PullToRefresh/style/index.js +1 -1
- package/dist/esm/Radio/style/index.js +2 -2
- package/dist/esm/Radio.js +6 -2
- package/dist/esm/RadioGroup/style/index.js +1 -1
- package/dist/esm/Range/style/index.js +2 -2
- package/dist/esm/Rate/style/index.js +2 -2
- package/dist/esm/Rate.js +12 -4
- package/dist/esm/Row/style/index.js +1 -1
- package/dist/esm/SearchBar/style/index.js +1 -1
- package/dist/esm/SearchBar.js +7 -3
- package/dist/esm/ShortPassword/style/index.js +3 -3
- package/dist/esm/ShortPassword.js +7 -3
- package/dist/esm/SideNavBar/style/index.js +1 -1
- package/dist/esm/SideNavBarItem/style/index.js +1 -1
- package/dist/esm/Signature/style/index.js +2 -2
- package/dist/esm/Skeleton/style/index.js +1 -1
- package/dist/esm/Step/style/index.js +2 -2
- package/dist/esm/Step.js +7 -3
- package/dist/esm/Steps/style/index.js +1 -1
- package/dist/esm/SubSideNavBar/style/index.js +1 -1
- package/dist/esm/Swipe/style/index.js +1 -1
- package/dist/esm/Swiper/style/index.js +1 -1
- package/dist/esm/SwiperItem/style/index.js +1 -1
- package/dist/esm/Switch/style/index.js +1 -1
- package/dist/esm/TabPane/style/index.js +1 -1
- package/dist/esm/Tabbar/style/index.js +1 -1
- package/dist/esm/TabbarItem/style/index.js +2 -2
- package/dist/esm/TabbarItem.js +7 -4
- package/dist/esm/Table/style/index.js +1 -1
- package/dist/esm/Table.js +7 -3
- package/dist/esm/Tabs/style/index.js +2 -2
- package/dist/esm/Tabs.js +3 -2
- package/dist/esm/Tag/style/index.js +2 -2
- package/dist/esm/Tag.js +6 -2
- package/dist/esm/TextArea/style/index.js +1 -1
- package/dist/esm/TimeDetail/style/index.js +1 -1
- package/dist/esm/TimePannel/style/index.js +1 -1
- package/dist/esm/TimeSelect/style/index.js +3 -3
- package/dist/esm/Toast/style/index.js +2 -2
- package/dist/esm/Uploader/style/index.js +2 -2
- package/dist/esm/Uploader.js +15 -2
- package/dist/esm/Video/style/index.js +1 -1
- package/dist/esm/VirtualList/style/index.js +1 -1
- package/dist/esm/{tabs-a48583e9.js → tabs-41234c2c.js} +5 -2
- package/dist/esm/types/src/locales/base.d.ts +125 -0
- package/dist/esm/types/src/locales/en-US.d.ts +3 -0
- package/dist/esm/types/src/locales/id-ID.d.ts +3 -0
- package/dist/esm/types/src/locales/zh-CN.d.ts +3 -0
- package/dist/esm/types/src/locales/zh-TW.d.ts +3 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/__test__/actionsheet.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/actionsheet.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/actionsheet/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/__test__/address.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/address.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/address/customRender.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/existRender.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/address/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/__tests__/animatingnumbers.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/animatingnumbers.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/countup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/animatingnumbers/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/__test__/audio.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/audio.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/audio/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/audio/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/__tests__/avatar.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/avatar.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/avatar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/AvatarContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/__tests__/avatargroup.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/avatargroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/avatargroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/__test__/backtop.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/backtop.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/backtop/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/backtop/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/__test__/badge.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/badge.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/badge/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/badge/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/__tests__/barrage.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/barrage.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/barrage/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/__test__/button.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/button.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/button/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/button/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/__tests__/calendar.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/calendar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/calendaritem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/calendaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/__test__/card.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/card.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/card/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/__tests__/cascader.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/cascader.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/cascaderItem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/helper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/tree.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cascader/types.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/__test__/cell.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/cell.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/cell/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cell/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/__test__/cellgroup.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/cellgroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/cellgroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/__test__/checkbox.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/checkbox.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/checkbox/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkbox/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/checkboxgroup.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/checkboxgroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/__tests__/circleprogress.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/circleprogress.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/circleprogress/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/col.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/col/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/__test__/collapse.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/collapse.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapse/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapseitem/collapseitem.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/collapseitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/collapseitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/configprovider.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/configprovider/index.taro.d.ts +0 -0
- package/dist/{types/datepicker/__test__/datepicker.spec.d.ts → esm/types/src/packages/countdown/__test__/countdown.spec.d.ts} +0 -0
- package/dist/esm/types/src/packages/countdown/countdown.d.ts +18 -0
- package/dist/{types → esm/types/src/packages}/countdown/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/countdown/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/countdown/index.taro.d.ts +0 -0
- package/dist/{types/dialog/__test__/dialog.spec.d.ts → esm/types/src/packages/datepicker/__test__/datepicker.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/datepicker.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/datepicker/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Confirm.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Content.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/DialogWrap.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/DialogWrapper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/Mask.d.ts +0 -0
- package/dist/{types/divider/__test__/divider.spec.d.ts → esm/types/src/packages/dialog/__test__/dialog.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/config.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/dialog.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/dialog/index.taro.d.ts +0 -0
- package/dist/{types/elevator/__tests__/elevator.spec.d.ts → esm/types/src/packages/divider/__test__/divider.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/divider/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/divider.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/divider/index.taro.d.ts +0 -0
- package/dist/{types/empty/__test__/empty.spec.d.ts → esm/types/src/packages/drag/__test__/drag.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/drag/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/drag.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/drag/index.taro.d.ts +0 -0
- package/dist/{types/fixednav/__tests__/fixednav.spec.d.ts → esm/types/src/packages/elevator/__tests__/elevator.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/elevator.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/elevator/index.taro.d.ts +0 -0
- package/dist/{types/grid/__test__/grid.spec.d.ts → esm/types/src/packages/empty/__test__/empty.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/empty/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/empty.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/empty/index.taro.d.ts +0 -0
- package/dist/{types/icon/__test__/icon.spec.d.ts → esm/types/src/packages/fixednav/__tests__/fixednav.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/fixednav.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/fixednav/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/fixednav/index.taro.d.ts +0 -0
- package/dist/{types/imagepreview/__test__/imagepreview.spec.d.ts → esm/types/src/packages/grid/__test__/grid.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/grid/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/grid.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/grid/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/griditem/griditem.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/griditem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/griditem/index.taro.d.ts +0 -0
- package/dist/{types/indicator/__test__/indicator.spec.d.ts → esm/types/src/packages/icon/__test__/icon.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/icon/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/icon.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/icon.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/icon/index.taro.d.ts +0 -0
- package/dist/{types/infiniteloading/__tests__/infiniteloading.spec.d.ts → esm/types/src/packages/imagepreview/__test__/imagepreview.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/imagepreview.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/imagepreview/index.taro.d.ts +0 -0
- package/dist/{types/input/__test__/input.spec.d.ts → esm/types/src/packages/indicator/__test__/indicator.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/demo.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/indicator/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/indicator/indicator.d.ts +0 -0
- package/dist/{types/inputnumber/__tests__/inputnumber.spec.d.ts → esm/types/src/packages/infiniteloading/__tests__/infiniteloading.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/infiniteloading/infiniteloading.d.ts +2 -1
- package/dist/{types/layout/__tests__/layout.spec.d.ts → esm/types/src/packages/input/__test__/input.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/input/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/input/input.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/input/util.d.ts +0 -0
- package/dist/{types/menu/__test__/menu.spec.d.ts → esm/types/src/packages/inputnumber/__tests__/inputnumber.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/inputnumber/inputnumber.d.ts +2 -1
- package/dist/{types/navbar/__test__/navbar.spec.d.ts → esm/types/src/packages/layout/__tests__/layout.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/layout/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/layout/layout.d.ts +0 -0
- package/dist/{types/noticebar/__test__/noticebar.spec.d.ts → esm/types/src/packages/menu/__test__/menu.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/menu/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menu/menu.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/menuitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menuitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/menuitem/menuitem.d.ts +2 -1
- package/dist/{types/notify/__test__/notify.spec.d.ts → esm/types/src/packages/navbar/__test__/navbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/navbar/navbar.d.ts +2 -1
- package/dist/{types/numberkeyboard/_test_/index.spec.d.ts → esm/types/src/packages/noticebar/__test__/noticebar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/noticebar/noticebar.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/notify/Notification.d.ts +0 -0
- package/dist/{types/overlay/__tests__/overlay.spec.d.ts → esm/types/src/packages/notify/__test__/notify.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/notify/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/notify/notify.d.ts +0 -0
- package/dist/{types/shortpassword → esm/types/src/packages/numberkeyboard}/_test_/index.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/numberkeyboard/numberkeyboard.d.ts +0 -0
- package/dist/esm/types/src/packages/nutui.react.build.d.ts +87 -0
- package/dist/esm/types/src/packages/nutui.react.d.ts +173 -0
- package/dist/esm/types/src/packages/nutui.react.scss.d.ts +86 -0
- package/dist/esm/types/src/packages/nutui.react.taro.d.ts +173 -0
- package/dist/esm/types/src/packages/nutui.taro.react.build.d.ts +87 -0
- package/dist/{types/pagination/__tests__/pagination.spec.d.ts → esm/types/src/packages/overlay/__tests__/overlay.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/overlay/overlay.d.ts +0 -0
- package/dist/{types/picker/__tests__/picker.spec.d.ts → esm/types/src/packages/pagination/__tests__/pagination.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pagination/pagination.d.ts +0 -0
- package/dist/{types/popover/__tests__/popover.spec.d.ts → esm/types/src/packages/picker/__tests__/picker.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/picker/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/doc.en.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/picker.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/picker/pickerSlot.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/Trigger.d.ts +0 -0
- package/dist/{types/popup/__tests__/popup.spec.d.ts → esm/types/src/packages/popover/__tests__/popover.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/popover/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popover/popover.d.ts +2 -1
- package/dist/{types/price/__test__/price.spec.d.ts → esm/types/src/packages/popup/__tests__/popup.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/popup/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/popup/popup.d.ts +3 -2
- package/dist/{types/progress/__tests__/progress.spec.d.ts → esm/types/src/packages/price/__test__/price.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/price/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/price/price.d.ts +0 -0
- package/dist/{types/pulltorefresh/__test__/pulltorefresh.spec.d.ts → esm/types/src/packages/progress/__tests__/progress.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/progress/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/progress/progress.d.ts +2 -1
- package/dist/{types/radio/__test__/radio.spec.d.ts → esm/types/src/packages/pulltorefresh/__test__/pulltorefresh.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/pulltorefresh/pulltorefresh.d.ts +0 -0
- package/dist/{types/range/__test__/range.spec.d.ts → esm/types/src/packages/radio/__test__/radio.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/radio/context.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radio/radio.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/radiogroup/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radiogroup/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/radiogroup/radiogroup.d.ts +0 -0
- package/dist/{types/rate/__test__/rate.spec.d.ts → esm/types/src/packages/range/__test__/range.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/range/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/range/range.d.ts +0 -0
- package/dist/{types/searchbar/__tests__/searchbar.spec.d.ts → esm/types/src/packages/rate/__test__/rate.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/rate/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/rate/rate.d.ts +3 -2
- package/dist/{types → esm/types/src/packages}/row/UserContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/row/row.d.ts +0 -0
- package/dist/{types/sidenavbar/__test__/sidenavbar.spec.d.ts → esm/types/src/packages/searchbar/__tests__/searchbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/searchbar/searchbar.d.ts +2 -1
- package/dist/{types/sidenavbaritem/__test__/sidenavbaritem.spec.d.ts → esm/types/src/packages/shortpassword/_test_/index.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/shortpassword/shortpassword.d.ts +2 -1
- package/dist/{types/skeleton/__test__/skeleton.spec.d.ts → esm/types/src/packages/sidenavbar/__test__/sidenavbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/offsetContext.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/sidenavbar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbar/utils.d.ts +0 -0
- package/dist/{types/steps/__tests__/steps.spec.d.ts → esm/types/src/packages/sidenavbaritem/__test__/sidenavbaritem.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/sidenavbaritem/sidenavbaritem.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/__test__/signature.spec.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/signature/signature.d.ts +0 -0
- package/dist/{types/subsidenavbar/__test__/subsidenavbar.spec.d.ts → esm/types/src/packages/skeleton/__test__/skeleton.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/skeleton/skeleton.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/step/index.d.ts +0 -0
- package/dist/esm/types/src/packages/step/index.taro.d.ts +2 -0
- package/dist/{types → esm/types/src/packages}/step/step.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/steps/UserContext.d.ts +0 -0
- package/dist/{types/swipe/__tests__/swipe.spec.d.ts → esm/types/src/packages/steps/__tests__/steps.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/steps/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/steps/steps.d.ts +0 -0
- package/dist/{types/swiper/__tests__/swiper.spec.d.ts → esm/types/src/packages/subsidenavbar/__test__/subsidenavbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/subsidenavbar/subsidenavbar.d.ts +0 -0
- package/dist/{types/switch/__test__/switch.spec.d.ts → esm/types/src/packages/swipe/__tests__/swipe.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swipe/swipe.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/UserContext.d.ts +0 -0
- package/dist/{types/tabbar/__tests__/tabbar.spec.d.ts → esm/types/src/packages/swiper/__tests__/swiper.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/demo.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/swiper/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiper/swiper.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/swiperitem/swiperitem.d.ts +0 -0
- package/dist/{types/table/__test__/table.spec.d.ts → esm/types/src/packages/switch/__test__/switch.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/switch/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/switch/switch.d.ts +0 -0
- package/dist/{types/tabs/__test__/tabs.spec.d.ts → esm/types/src/packages/tabbar/__tests__/tabbar.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbar/tabbar.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabbaritem/tabbaritem.d.ts +2 -1
- package/dist/{types/tag/__test__/tag.spec.d.ts → esm/types/src/packages/table/__test__/table.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/table/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/table.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/table/types.d.ts +2 -1
- package/dist/{types → esm/types/src/packages}/tabpane/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabpane/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabpane/tabpane.d.ts +0 -0
- package/dist/{types/textarea/__test__/textarea.spec.d.ts → esm/types/src/packages/tabs/__test__/tabs.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tabs/tabs.d.ts +2 -1
- package/dist/{types/timeselect/__test__/timeselect.spec.d.ts → esm/types/src/packages/tag/__test__/tag.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/tag/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/tag/tag.d.ts +2 -1
- package/dist/{types/toast/__test__/toast.spec.d.ts → esm/types/src/packages/textarea/__test__/textarea.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/textarea/textarea.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timedetail/timedetail.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timepannel/timepannel.d.ts +0 -0
- package/dist/{types/uploader/__tests__/uploader.spec.d.ts → esm/types/src/packages/timeselect/__test__/timeselect.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/timeselect/timeselect.d.ts +1 -1
- package/dist/{types → esm/types/src/packages}/toast/Notification.d.ts +0 -0
- package/dist/{types/video/__tests__/video.spec.d.ts → esm/types/src/packages/toast/__test__/toast.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/toast/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/toast/toast.d.ts +0 -0
- package/dist/{types/virtuallist/__test__/virtuallist.spec.d.ts → esm/types/src/packages/uploader/__tests__/uploader.spec.d.ts} +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/upload.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/uploader/uploader.d.ts +2 -1
- package/dist/esm/types/src/packages/video/__tests__/video.spec.d.ts +1 -0
- package/dist/{types → esm/types/src/packages}/video/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/video/video.d.ts +0 -0
- package/dist/esm/types/src/packages/virtuallist/__test__/virtuallist.spec.d.ts +1 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/demo.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/index.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/index.taro.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/type.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/utils.d.ts +0 -0
- package/dist/{types → esm/types/src/packages}/virtuallist/virtuallist.d.ts +0 -0
- package/dist/esm/types/src/utils/bem.d.ts +2 -0
- package/dist/esm/types/src/utils/bound.d.ts +1 -0
- package/dist/esm/types/src/utils/can-use-dom.d.ts +1 -0
- package/dist/esm/types/src/utils/date.d.ts +49 -0
- package/dist/esm/types/src/utils/get-scroll-parent.d.ts +3 -0
- package/dist/esm/types/src/utils/index.d.ts +1 -0
- package/dist/esm/types/src/utils/raf.d.ts +2 -0
- package/dist/esm/types/src/utils/render.d.ts +2 -0
- package/dist/esm/types/src/utils/rubberband.d.ts +2 -0
- package/dist/esm/types/src/utils/sleep.d.ts +1 -0
- package/dist/esm/types/src/utils/supports-passive.d.ts +1 -0
- package/dist/esm/types/src/utils/test/event.d.ts +3 -0
- package/dist/esm/types/src/utils/typings.d.ts +12 -0
- package/dist/esm/types/src/utils/useClientRect.d.ts +18 -0
- package/dist/esm/types/src/utils/useRefs.d.ts +1 -0
- package/dist/esm/types/src/utils/useTouch.d.ts +18 -0
- package/dist/esm/typings-1c5f2628.js +8 -0
- 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/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/nutui.react.es.js +656 -408
- package/dist/nutui.react.umd.js +656 -408
- package/dist/packages/icon/icon.scss +0 -1
- package/dist/style.es.js +1 -1
- package/dist/types/index.d.ts +1886 -0
- package/dist/types/nutui.react.build.ts +174 -0
- package/package.json +9 -9
- package/dist/types/actionsheet/actionsheet.taro.d.ts +0 -20
- package/dist/types/address/address.taro.d.ts +0 -34
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +0 -12
- package/dist/types/animatingnumbers/countup.taro.d.ts +0 -11
- package/dist/types/audio/audio.taro.d.ts +0 -18
- package/dist/types/avatar/avatar.taro.d.ts +0 -17
- package/dist/types/backtop/backtop.taro.d.ts +0 -15
- package/dist/types/badge/badge.taro.d.ts +0 -14
- package/dist/types/barrage/barrage.taro.d.ts +0 -12
- package/dist/types/button/button.taro.d.ts +0 -20
- package/dist/types/calendar/calendar.taro.d.ts +0 -14
- package/dist/types/calendaritem/calendaritem.taro.d.ts +0 -17
- package/dist/types/card/card.taro.d.ts +0 -17
- package/dist/types/cascader/cascader.taro.d.ts +0 -25
- package/dist/types/cascader/cascaderItem.taro.d.ts +0 -25
- package/dist/types/cell/cell.taro.d.ts +0 -20
- package/dist/types/cellgroup/cellgroup.taro.d.ts +0 -10
- package/dist/types/checkbox/checkbox.taro.d.ts +0 -19
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +0 -8
- package/dist/types/circleprogress/circleprogress.taro.d.ts +0 -15
- package/dist/types/col/col.taro.d.ts +0 -10
- package/dist/types/collapse/collapse.taro.d.ts +0 -12
- package/dist/types/configprovider/configprovider.taro.d.ts +0 -12
- package/dist/types/countdown/countdown.d.ts +0 -15
- package/dist/types/countdown/countdown.taro.d.ts +0 -15
- package/dist/types/datepicker/datepicker.taro.d.ts +0 -27
- package/dist/types/dialog/dialog.taro.d.ts +0 -3
- package/dist/types/divider/divider.taro.d.ts +0 -12
- package/dist/types/drag/drag.taro.d.ts +0 -14
- package/dist/types/elevator/elevator.taro.d.ts +0 -22
- package/dist/types/empty/empty.taro.d.ts +0 -8
- package/dist/types/fixednav/fixednav.taro.d.ts +0 -22
- package/dist/types/grid/grid.taro.d.ts +0 -16
- package/dist/types/griditem/griditem.taro.d.ts +0 -20
- package/dist/types/imagepreview/imagepreview.taro.d.ts +0 -26
- package/dist/types/indicator/indicator.taro.d.ts +0 -10
- package/dist/types/infiniteloading/infiniteloading.taro.d.ts +0 -20
- package/dist/types/input/input.taro.d.ts +0 -57
- package/dist/types/inputnumber/inputnumber.taro.d.ts +0 -22
- package/dist/types/layout/layout.taro.d.ts +0 -4
- package/dist/types/menu/menu.taro.d.ts +0 -12
- package/dist/types/menuitem/menuitem.taro.d.ts +0 -23
- package/dist/types/navbar/navbar.taro.d.ts +0 -21
- package/dist/types/noticebar/noticebar.taro.d.ts +0 -23
- package/dist/types/notify/notify.taro.d.ts +0 -23
- package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +0 -20
- package/dist/types/nutui.react.d.ts +0 -174
- package/dist/types/overlay/overlay.taro.d.ts +0 -12
- package/dist/types/pagination/pagination.taro.d.ts +0 -19
- package/dist/types/picker/picker.taro.d.ts +0 -24
- package/dist/types/picker/pickerSlot.taro.d.ts +0 -16
- package/dist/types/popover/popover.taro.d.ts +0 -21
- package/dist/types/popup/popup.taro.d.ts +0 -25
- package/dist/types/price/price.taro.d.ts +0 -11
- package/dist/types/progress/progress.taro.d.ts +0 -26
- package/dist/types/pulltorefresh/pulltorefresh.taro.d.ts +0 -18
- package/dist/types/radio/radio.taro.d.ts +0 -21
- package/dist/types/radiogroup/radiogroup.taro.d.ts +0 -11
- package/dist/types/range/range.taro.d.ts +0 -25
- package/dist/types/rate/rate.taro.d.ts +0 -17
- package/dist/types/row/row.taro.d.ts +0 -12
- package/dist/types/searchbar/searchbar.taro.d.ts +0 -60
- package/dist/types/shortpassword/shortpassword.taro.d.ts +0 -21
- package/dist/types/sidenavbar/sidenavbar.taro.d.ts +0 -15
- package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +0 -11
- package/dist/types/signature/signature.taro.d.ts +0 -11
- package/dist/types/skeleton/skeleton.taro.d.ts +0 -19
- package/dist/types/step/index.taro.d.ts +0 -2
- package/dist/types/steps/steps.taro.d.ts +0 -10
- package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +0 -13
- package/dist/types/swipe/swipe.taro.d.ts +0 -41
- package/dist/types/swiper/swiper.taro.d.ts +0 -27
- package/dist/types/switch/switch.taro.d.ts +0 -14
- package/dist/types/tabbar/tabbar.taro.d.ts +0 -14
- package/dist/types/tabbaritem/tabbaritem.taro.d.ts +0 -17
- package/dist/types/table/table.taro.d.ts +0 -4
- package/dist/types/tabpane/tabpane.taro.d.ts +0 -10
- package/dist/types/tabs/tabs.taro.d.ts +0 -30
- package/dist/types/tag/tag.taro.d.ts +0 -16
- package/dist/types/textarea/textarea.taro.d.ts +0 -18
- package/dist/types/timedetail/timedetail.taro.d.ts +0 -13
- package/dist/types/timepannel/timepannel.taro.d.ts +0 -8
- package/dist/types/timeselect/timeselect.taro.d.ts +0 -21
- package/dist/types/toast/toast.taro.d.ts +0 -29
- package/dist/types/uploader/uploader.taro.d.ts +0 -68
- package/dist/types/virtuallist/virtuallist.taro.d.ts +0 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/inputnumber/inputnumber.scss'
|
package/dist/esm/InputNumber.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
var _excluded = ["children", "disabled", "buttonSize", "min", "max", "inputWidth", "readonly", "modelValue", "decimalPlaces", "step", "isAsync", "className", "style", "add", "reduce", "change", "overlimit", "blur", "focus"];
|
|
5
5
|
|
|
6
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -11,8 +11,10 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
11
11
|
import classNames from 'classnames';
|
|
12
12
|
import Icon from './Icon.js';
|
|
13
13
|
import { c as cn } from './bem-893ad28d.js';
|
|
14
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
14
15
|
import '@bem-react/classname';
|
|
15
|
-
|
|
16
|
+
|
|
17
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
16
18
|
disabled: false,
|
|
17
19
|
buttonSize: '',
|
|
18
20
|
min: 1,
|
|
@@ -23,7 +25,7 @@ var defaultProps = {
|
|
|
23
25
|
step: 1,
|
|
24
26
|
decimalPlaces: 0,
|
|
25
27
|
isAsync: false
|
|
26
|
-
};
|
|
28
|
+
});
|
|
27
29
|
|
|
28
30
|
function pxCheck(value) {
|
|
29
31
|
return Number.isNaN(Number(value)) ? String(value) : "".concat(value, "px");
|
|
@@ -164,6 +166,8 @@ var InputNumber = function InputNumber(props) {
|
|
|
164
166
|
className: classes,
|
|
165
167
|
style: styles
|
|
166
168
|
}, restProps), React__default.createElement(Icon, {
|
|
169
|
+
classPrefix: props.iconClassPrefix,
|
|
170
|
+
fontClassName: props.iconFontClassName,
|
|
167
171
|
className: iconMinusClasses,
|
|
168
172
|
size: buttonSize,
|
|
169
173
|
name: "minus",
|
|
@@ -182,6 +186,8 @@ var InputNumber = function InputNumber(props) {
|
|
|
182
186
|
onBlur: burValue,
|
|
183
187
|
onFocus: focusValue
|
|
184
188
|
}), React__default.createElement(Icon, {
|
|
189
|
+
classPrefix: props.iconClassPrefix,
|
|
190
|
+
fontClassName: props.iconFontClassName,
|
|
185
191
|
className: iconAddClasses,
|
|
186
192
|
size: buttonSize,
|
|
187
193
|
name: "plus",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/layout/layout.scss'
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import '../../MenuItem/style'
|
|
3
|
+
import '../../../packages/menu/menu.scss'
|
package/dist/esm/Menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
5
|
var _excluded = ["className", "titleIcon", "scrollFixed", "lockScroll", "closeOnClickOverlay", "children", "activeColor"];
|
|
6
6
|
|
|
7
7
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -11,7 +11,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
11
11
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import Icon from './Icon.js';
|
|
14
|
-
|
|
14
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
15
|
+
|
|
16
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
15
17
|
className: '',
|
|
16
18
|
style: {},
|
|
17
19
|
activeColor: '#F2270C',
|
|
@@ -19,7 +21,7 @@ var defaultProps = {
|
|
|
19
21
|
scrollFixed: false,
|
|
20
22
|
lockScroll: true,
|
|
21
23
|
titleIcon: ''
|
|
22
|
-
};
|
|
24
|
+
});
|
|
23
25
|
|
|
24
26
|
var Menu = function Menu(props) {
|
|
25
27
|
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
@@ -157,6 +159,8 @@ var Menu = function Menu(props) {
|
|
|
157
159
|
}, React__default.createElement("div", {
|
|
158
160
|
className: "nut-menu__title-text"
|
|
159
161
|
}, finallyTitle()), React__default.createElement(Icon, {
|
|
162
|
+
classPrefix: props.iconClassPrefix,
|
|
163
|
+
fontClassName: props.iconFontClassName,
|
|
160
164
|
className: "nut-menu__title-icon",
|
|
161
165
|
size: "10",
|
|
162
166
|
name: titleIcon || (direction === 'up' ? 'arrow-up' : 'down-arrow')
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../Popup/style'
|
|
3
|
+
import '../../../packages/menuitem/menuitem.scss'
|
package/dist/esm/MenuItem.js
CHANGED
|
@@ -11,9 +11,11 @@ import { CSSTransition } from 'react-transition-group';
|
|
|
11
11
|
import { useConfig } from './ConfigProvider.js';
|
|
12
12
|
import Icon from './Icon.js';
|
|
13
13
|
import { O as Overlay } from './overlay-ed3eb37d.js';
|
|
14
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
14
15
|
import './bem-893ad28d.js';
|
|
15
16
|
import '@bem-react/classname';
|
|
16
|
-
|
|
17
|
+
|
|
18
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
17
19
|
className: '',
|
|
18
20
|
style: {},
|
|
19
21
|
columns: 1,
|
|
@@ -26,7 +28,7 @@ var defaultProps = {
|
|
|
26
28
|
onChange: function onChange(value) {
|
|
27
29
|
return undefined;
|
|
28
30
|
}
|
|
29
|
-
};
|
|
31
|
+
});
|
|
30
32
|
|
|
31
33
|
var MenuItem = function MenuItem(props) {
|
|
32
34
|
useConfig();
|
|
@@ -178,10 +180,10 @@ var MenuItem = function MenuItem(props) {
|
|
|
178
180
|
handleClick(item);
|
|
179
181
|
}
|
|
180
182
|
}, item.value === _value ? React__default.createElement(Icon, {
|
|
183
|
+
classPrefix: props.iconClassPrefix,
|
|
184
|
+
fontClassName: props.iconFontClassName,
|
|
181
185
|
className: getIconCName(item.value, value),
|
|
182
186
|
name: optionsIcon,
|
|
183
|
-
classPrefix: iconClassPrefix,
|
|
184
|
-
fontClassName: fontClassName,
|
|
185
187
|
color: activeColor
|
|
186
188
|
}) : null, React__default.createElement("div", {
|
|
187
189
|
className: getIconCName(item.value, value),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/navbar/navbar.scss'
|
package/dist/esm/NavBar.js
CHANGED
|
@@ -8,8 +8,10 @@ import React__default from 'react';
|
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import Icon from './Icon.js';
|
|
10
10
|
import { c as cn } from './bem-893ad28d.js';
|
|
11
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
11
12
|
import '@bem-react/classname';
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
13
15
|
title: '',
|
|
14
16
|
desc: '',
|
|
15
17
|
leftShow: true,
|
|
@@ -22,7 +24,7 @@ var defaultProps = {
|
|
|
22
24
|
placeholder: false,
|
|
23
25
|
zIndex: 10,
|
|
24
26
|
style: {}
|
|
25
|
-
};
|
|
27
|
+
});
|
|
26
28
|
|
|
27
29
|
var NavBar = function NavBar(props) {
|
|
28
30
|
var _classNames;
|
|
@@ -70,6 +72,8 @@ var NavBar = function NavBar(props) {
|
|
|
70
72
|
return onClickBack(e);
|
|
71
73
|
}
|
|
72
74
|
}, leftShow && React__default.createElement(Icon, {
|
|
75
|
+
classPrefix: props.iconClassPrefix,
|
|
76
|
+
fontClassName: props.iconFontClassName,
|
|
73
77
|
name: "left",
|
|
74
78
|
color: "#979797"
|
|
75
79
|
}), leftText && React__default.createElement("div", {
|
|
@@ -90,6 +94,8 @@ var NavBar = function NavBar(props) {
|
|
|
90
94
|
return onClickIcon(e);
|
|
91
95
|
}
|
|
92
96
|
}, React__default.createElement(Icon, {
|
|
97
|
+
classPrefix: props.iconClassPrefix,
|
|
98
|
+
fontClassName: props.iconFontClassName,
|
|
93
99
|
name: titIcon
|
|
94
100
|
})), slot.content);
|
|
95
101
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/noticebar/noticebar.scss'
|
package/dist/esm/NoticeBar.js
CHANGED
|
@@ -10,8 +10,10 @@ import classNames from 'classnames';
|
|
|
10
10
|
import Icon from './Icon.js';
|
|
11
11
|
import { c as cn } from './bem-893ad28d.js';
|
|
12
12
|
import { g as getRect } from './useClientRect-839d18c5.js';
|
|
13
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
13
14
|
import '@bem-react/classname';
|
|
14
|
-
|
|
15
|
+
|
|
16
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
15
17
|
// 滚动方向 across 横向 vertical 纵向
|
|
16
18
|
direction: 'across',
|
|
17
19
|
list: [],
|
|
@@ -27,7 +29,7 @@ var defaultProps = {
|
|
|
27
29
|
delay: 1,
|
|
28
30
|
scrollable: null,
|
|
29
31
|
speed: 50
|
|
30
|
-
};
|
|
32
|
+
});
|
|
31
33
|
|
|
32
34
|
var NoticeBar = function NoticeBar(props) {
|
|
33
35
|
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
@@ -53,7 +55,7 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
53
55
|
click = _defaultProps$props.click;
|
|
54
56
|
|
|
55
57
|
var wrap = useRef(null);
|
|
56
|
-
var content = useRef(null);
|
|
58
|
+
var content = useRef(null);
|
|
57
59
|
|
|
58
60
|
var _useState = useState(true),
|
|
59
61
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -107,7 +109,6 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
107
109
|
isCanScroll = _useState20[0],
|
|
108
110
|
SetIsCanScroll = _useState20[1];
|
|
109
111
|
|
|
110
|
-
useState(0);
|
|
111
112
|
useEffect(function () {
|
|
112
113
|
if (direction === 'vertical') {
|
|
113
114
|
if (children) {
|
|
@@ -207,7 +208,7 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
207
208
|
|
|
208
209
|
var startRollEasy = function startRollEasy() {
|
|
209
210
|
showhorseLamp();
|
|
210
|
-
var timerCurr =
|
|
211
|
+
var timerCurr = setInterval(showhorseLamp, ~~(height / speed / 4) * 1000 + Number(standTime));
|
|
211
212
|
SetTimer(timerCurr);
|
|
212
213
|
};
|
|
213
214
|
|
|
@@ -286,7 +287,6 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
286
287
|
};
|
|
287
288
|
|
|
288
289
|
var contentStyle = {
|
|
289
|
-
// paddingLeft: firstRound ? 0 : `${wrapWidth}px`,
|
|
290
290
|
animationDelay: "".concat(firstRound ? delay : 0, "s"),
|
|
291
291
|
animationDuration: "".concat(duration, "s"),
|
|
292
292
|
transform: "translateX(".concat(firstRound ? 0 : "".concat(wrapWidth, "px"), ")")
|
|
@@ -322,6 +322,8 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
322
322
|
backgroundImage: "url(".concat(iconBg() || '', ")")
|
|
323
323
|
}
|
|
324
324
|
}, !iconBg() ? React__default.createElement(Icon, {
|
|
325
|
+
classPrefix: props.iconClassPrefix,
|
|
326
|
+
fontClassName: props.iconFontClassName,
|
|
325
327
|
name: "notice",
|
|
326
328
|
size: "16",
|
|
327
329
|
color: color
|
|
@@ -337,6 +339,8 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
337
339
|
className: "right-icon",
|
|
338
340
|
onClick: onClickIcon
|
|
339
341
|
}, React__default.createElement(Icon, {
|
|
342
|
+
classPrefix: props.iconClassPrefix,
|
|
343
|
+
fontClassName: props.iconFontClassName,
|
|
340
344
|
name: rightIcon || 'close',
|
|
341
345
|
color: color
|
|
342
346
|
})) : null) : null, scrollList.current.length > 0 && direction === 'vertical' ? React__default.createElement("div", {
|
|
@@ -369,6 +373,8 @@ var NoticeBar = function NoticeBar(props) {
|
|
|
369
373
|
handleClickIcon();
|
|
370
374
|
}
|
|
371
375
|
}, rightIcon || (closeMode ? React__default.createElement(Icon, {
|
|
376
|
+
classPrefix: props.iconClassPrefix,
|
|
377
|
+
fontClassName: props.iconFontClassName,
|
|
372
378
|
name: "cross",
|
|
373
379
|
color: color,
|
|
374
380
|
size: "11px"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/notify/notify.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/numberkeyboard/numberkeyboard.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/overlay/overlay.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/pagination/pagination.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Popup/style'
|
|
2
|
+
import '../../../packages/picker/picker.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/popover/popover.scss'
|
package/dist/esm/Popover.js
CHANGED
|
@@ -21,6 +21,7 @@ import React__default, { useRef, useState, useEffect } from 'react';
|
|
|
21
21
|
import Icon from './Icon.js';
|
|
22
22
|
import Overlay from './Overlay.js';
|
|
23
23
|
import { g as getRect } from './useClientRect-839d18c5.js';
|
|
24
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
24
25
|
/**
|
|
25
26
|
* 过滤ref
|
|
26
27
|
*/
|
|
@@ -102,7 +103,7 @@ var Trigger = /*#__PURE__*/function (_React__default$Compo) {
|
|
|
102
103
|
return Trigger;
|
|
103
104
|
}(React__default.Component);
|
|
104
105
|
|
|
105
|
-
var defaultProps = {
|
|
106
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
106
107
|
list: [],
|
|
107
108
|
theme: 'light',
|
|
108
109
|
location: 'bottom',
|
|
@@ -111,7 +112,7 @@ var defaultProps = {
|
|
|
111
112
|
className: '',
|
|
112
113
|
onClick: function onClick(e) {},
|
|
113
114
|
onChoose: function onChoose(item, index) {}
|
|
114
|
-
};
|
|
115
|
+
});
|
|
115
116
|
|
|
116
117
|
var Popover = function Popover(props) {
|
|
117
118
|
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
@@ -239,6 +240,8 @@ var Popover = function Popover(props) {
|
|
|
239
240
|
handleChoose(item, i);
|
|
240
241
|
}
|
|
241
242
|
}, item.icon ? React__default.createElement(Icon, {
|
|
243
|
+
classPrefix: props.iconClassPrefix,
|
|
244
|
+
fontClassName: props.iconFontClassName,
|
|
242
245
|
className: "popover-menu-item-img",
|
|
243
246
|
name: item.icon
|
|
244
247
|
}) : '', React__default.createElement("div", {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../Overlay/style'
|
|
3
|
+
import '../../../packages/popup/popup.scss'
|
package/dist/esm/Popup.js
CHANGED
|
@@ -13,9 +13,10 @@ import { d as defaultOverlayProps } from './overlay-ed3eb37d.js';
|
|
|
13
13
|
import Icon from './Icon.js';
|
|
14
14
|
import Overlay from './Overlay.js';
|
|
15
15
|
import { c as cn } from './bem-893ad28d.js';
|
|
16
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
16
17
|
import '@bem-react/classname';
|
|
17
18
|
|
|
18
|
-
var defaultProps = _objectSpread({
|
|
19
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
19
20
|
position: 'center',
|
|
20
21
|
transition: '',
|
|
21
22
|
style: {},
|
|
@@ -186,6 +187,8 @@ var Popup = function Popup(props) {
|
|
|
186
187
|
className: closeClasses,
|
|
187
188
|
onClick: onHandleClickCloseIcon
|
|
188
189
|
}, React__default.createElement(Icon, {
|
|
190
|
+
classPrefix: props.iconClassPrefix,
|
|
191
|
+
fontClassName: props.iconFontClassName,
|
|
189
192
|
name: closeIcon,
|
|
190
193
|
size: "12px"
|
|
191
194
|
})) : ''));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/price/price.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/progress/progress.scss'
|
package/dist/esm/Progress.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["
|
|
3
|
+
var _excluded = ["name", "size", "classPrefix", "color", "tag", "children", "className", "fontClassName", "style", "onClick"],
|
|
4
|
+
_excluded2 = ["className", "style", "isShowPercentage", "percentage", "fillColor", "strokeColor", "strokeWidth", "size", "textColor", "textWidth", "showText", "textInside", "textBackground", "textType", "status", "iconName", "iconColor", "iconSize", "rounded", "children"];
|
|
4
5
|
|
|
5
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
6
7
|
|
|
@@ -8,10 +9,72 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
9
|
|
|
9
10
|
import React__default from 'react';
|
|
10
11
|
import classNames from 'classnames';
|
|
11
|
-
import { I as Icon } from './icon-8dc4de10.js';
|
|
12
12
|
import { c as cn } from './bem-893ad28d.js';
|
|
13
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
13
14
|
import '@bem-react/classname';
|
|
14
|
-
var defaultProps = {
|
|
15
|
+
var defaultProps$1 = {
|
|
16
|
+
name: '',
|
|
17
|
+
size: '',
|
|
18
|
+
classPrefix: 'nut-icon',
|
|
19
|
+
fontClassName: 'nutui-iconfont',
|
|
20
|
+
color: '',
|
|
21
|
+
tag: 'i',
|
|
22
|
+
onClick: function onClick(e) {},
|
|
23
|
+
className: ''
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
function pxCheck(value) {
|
|
27
|
+
return Number.isNaN(Number(value)) ? String(value) : "".concat(value, "px");
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function Icon(props) {
|
|
31
|
+
var _defaultProps$1$props = _objectSpread(_objectSpread({}, defaultProps$1), props),
|
|
32
|
+
name = _defaultProps$1$props.name,
|
|
33
|
+
size = _defaultProps$1$props.size,
|
|
34
|
+
classPrefix = _defaultProps$1$props.classPrefix,
|
|
35
|
+
color = _defaultProps$1$props.color,
|
|
36
|
+
tag = _defaultProps$1$props.tag,
|
|
37
|
+
children = _defaultProps$1$props.children,
|
|
38
|
+
className = _defaultProps$1$props.className,
|
|
39
|
+
fontClassName = _defaultProps$1$props.fontClassName,
|
|
40
|
+
style = _defaultProps$1$props.style,
|
|
41
|
+
onClick = _defaultProps$1$props.onClick,
|
|
42
|
+
rest = _objectWithoutProperties(_defaultProps$1$props, _excluded);
|
|
43
|
+
|
|
44
|
+
var isImage = name ? name.indexOf('/') !== -1 : false;
|
|
45
|
+
var type = isImage ? 'img' : tag;
|
|
46
|
+
var b = cn('icon');
|
|
47
|
+
|
|
48
|
+
var handleClick = function handleClick(e) {
|
|
49
|
+
if (onClick) {
|
|
50
|
+
onClick(e);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var hasSrc = function hasSrc() {
|
|
55
|
+
if (isImage) return {
|
|
56
|
+
src: name
|
|
57
|
+
};
|
|
58
|
+
return {};
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
return React__default.createElement(type, _objectSpread(_objectSpread({
|
|
62
|
+
className: isImage ? "".concat(b('img'), " ").concat(className || '', " ") : "".concat(fontClassName, " ").concat(b(null), " ").concat(classPrefix, "-").concat(name, " ").concat(className || ''),
|
|
63
|
+
style: _objectSpread({
|
|
64
|
+
color: color,
|
|
65
|
+
fontSize: pxCheck(size),
|
|
66
|
+
width: pxCheck(size),
|
|
67
|
+
height: pxCheck(size)
|
|
68
|
+
}, style)
|
|
69
|
+
}, rest), {}, {
|
|
70
|
+
onClick: handleClick
|
|
71
|
+
}, hasSrc()), children);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
Icon.defaultProps = defaultProps$1;
|
|
75
|
+
Icon.displayName = 'NutIcon';
|
|
76
|
+
|
|
77
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
15
78
|
className: '',
|
|
16
79
|
style: {},
|
|
17
80
|
isShowPercentage: true,
|
|
@@ -31,7 +94,7 @@ var defaultProps = {
|
|
|
31
94
|
iconSize: '16px',
|
|
32
95
|
rounded: true,
|
|
33
96
|
children: undefined
|
|
34
|
-
};
|
|
97
|
+
});
|
|
35
98
|
|
|
36
99
|
var Progress = function Progress(props) {
|
|
37
100
|
var _classNames, _classNames2, _classNames4;
|
|
@@ -57,7 +120,7 @@ var Progress = function Progress(props) {
|
|
|
57
120
|
iconSize = _defaultProps$props.iconSize,
|
|
58
121
|
rounded = _defaultProps$props.rounded,
|
|
59
122
|
children = _defaultProps$props.children,
|
|
60
|
-
rest = _objectWithoutProperties(_defaultProps$props,
|
|
123
|
+
rest = _objectWithoutProperties(_defaultProps$props, _excluded2);
|
|
61
124
|
|
|
62
125
|
var b = cn('progress');
|
|
63
126
|
var classes = classNames(b(''));
|
|
@@ -119,6 +182,8 @@ var Progress = function Progress(props) {
|
|
|
119
182
|
color: textColor || '#333'
|
|
120
183
|
}
|
|
121
184
|
}, percentage, isShowPercentage ? '%' : ''), textType === 'icon' && React__default.createElement(Icon, {
|
|
185
|
+
classPrefix: props.iconClassPrefix,
|
|
186
|
+
fontClassName: props.iconFontClassName,
|
|
122
187
|
size: iconSize,
|
|
123
188
|
name: iconName,
|
|
124
189
|
color: iconColor
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/pulltorefresh/pulltorefresh.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/radio/radio.scss'
|
package/dist/esm/Radio.js
CHANGED
|
@@ -11,7 +11,9 @@ import React__default, { useState, useContext, useEffect } from 'react';
|
|
|
11
11
|
import Icon from './Icon.js';
|
|
12
12
|
import { R as RadioContext } from './context-aa058329.js';
|
|
13
13
|
import RadioGroup from './RadioGroup.js';
|
|
14
|
-
|
|
14
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
15
|
+
|
|
16
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
15
17
|
className: '',
|
|
16
18
|
style: {},
|
|
17
19
|
disabled: false,
|
|
@@ -23,7 +25,7 @@ var defaultProps = {
|
|
|
23
25
|
iconActiveName: 'check-checked',
|
|
24
26
|
iconSize: 18,
|
|
25
27
|
onChange: function onChange(e) {}
|
|
26
|
-
};
|
|
28
|
+
});
|
|
27
29
|
|
|
28
30
|
var Radio = function Radio(props) {
|
|
29
31
|
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
@@ -94,6 +96,8 @@ var Radio = function Radio(props) {
|
|
|
94
96
|
iconSize = props.iconSize,
|
|
95
97
|
iconActiveName = props.iconActiveName;
|
|
96
98
|
return React__default.createElement(Icon, {
|
|
99
|
+
classPrefix: props.iconClassPrefix,
|
|
100
|
+
fontClassName: props.iconFontClassName,
|
|
97
101
|
name: checkedStatement ? iconActiveName : iconName,
|
|
98
102
|
size: iconSize,
|
|
99
103
|
className: color()
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/radiogroup/radiogroup.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Toast/style'
|
|
2
|
+
import '../../../packages/range/range.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import '../../Icon/style'
|
|
2
|
+
import '../../../packages/rate/rate.scss'
|
package/dist/esm/Rate.js
CHANGED
|
@@ -8,8 +8,10 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
9
|
import { c as cn } from './bem-893ad28d.js';
|
|
10
10
|
import Icon from './Icon.js';
|
|
11
|
+
import { C as ComponentDefaults } from './typings-1c5f2628.js';
|
|
11
12
|
import '@bem-react/classname';
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
var defaultProps = _objectSpread(_objectSpread({}, ComponentDefaults), {}, {
|
|
13
15
|
count: 5,
|
|
14
16
|
modelValue: 0,
|
|
15
17
|
minimizeValue: 0,
|
|
@@ -22,7 +24,7 @@ var defaultProps = {
|
|
|
22
24
|
readonly: false,
|
|
23
25
|
allowHalf: false,
|
|
24
26
|
spacing: 14
|
|
25
|
-
};
|
|
27
|
+
});
|
|
26
28
|
|
|
27
29
|
var Rate = function Rate(props) {
|
|
28
30
|
var _defaultProps$props = _objectSpread(_objectSpread({}, defaultProps), props),
|
|
@@ -38,7 +40,7 @@ var Rate = function Rate(props) {
|
|
|
38
40
|
readonly = _defaultProps$props.readonly,
|
|
39
41
|
allowHalf = _defaultProps$props.allowHalf,
|
|
40
42
|
spacing = _defaultProps$props.spacing,
|
|
41
|
-
|
|
43
|
+
onChange = _defaultProps$props.onChange;
|
|
42
44
|
|
|
43
45
|
var b = cn('rate');
|
|
44
46
|
var bi = cn('rate-item');
|
|
@@ -86,7 +88,7 @@ var Rate = function Rate(props) {
|
|
|
86
88
|
}
|
|
87
89
|
value = Math.max(value, Number(minimizeValue));
|
|
88
90
|
setScore(value);
|
|
89
|
-
|
|
91
|
+
onChange && onChange(value);
|
|
90
92
|
};
|
|
91
93
|
|
|
92
94
|
return React__default.createElement("div", {
|
|
@@ -102,16 +104,22 @@ var Rate = function Rate(props) {
|
|
|
102
104
|
marginRight: pxCheck(spacing)
|
|
103
105
|
}
|
|
104
106
|
}, React__default.createElement(Icon, {
|
|
107
|
+
classPrefix: props.iconClassPrefix,
|
|
108
|
+
fontClassName: props.iconFontClassName,
|
|
105
109
|
size: iconSize,
|
|
106
110
|
className: "".concat(bi('icon'), " ").concat(disabled || n > score ? bi('icon--disabled') : ''),
|
|
107
111
|
name: n <= score ? checkedIcon : uncheckedIcon,
|
|
108
112
|
color: n <= score ? activeColor : voidColor
|
|
109
113
|
}), allowHalf && score > n - 1 && React__default.createElement(Icon, {
|
|
114
|
+
classPrefix: props.iconClassPrefix,
|
|
115
|
+
fontClassName: props.iconFontClassName,
|
|
110
116
|
className: "".concat(bi('icon'), " ").concat(bi('icon--half')),
|
|
111
117
|
color: n <= score ? activeColor : voidColor,
|
|
112
118
|
size: iconSize,
|
|
113
119
|
name: checkedIcon
|
|
114
120
|
}), allowHalf && score < n - 1 && React__default.createElement(Icon, {
|
|
121
|
+
classPrefix: props.iconClassPrefix,
|
|
122
|
+
fontClassName: props.iconFontClassName,
|
|
115
123
|
className: "".concat(bi('icon'), " ").concat(bi('icon--disabled'), " ").concat(bi('icon--half')),
|
|
116
124
|
color: voidColor,
|
|
117
125
|
size: iconSize,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/row/row.scss'
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
import '../../../packages/searchbar/searchbar.scss'
|