@nutui/nutui-react-taro 1.2.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 +110 -0
- package/README.md +131 -0
- package/dist/esm/ActionSheet/style/index.js +2 -0
- package/dist/esm/ActionSheet.js +10 -0
- package/dist/esm/Address/style/index.js +4 -0
- package/dist/esm/Address.js +12 -0
- package/dist/esm/AnimatingNumbers/style/index.js +3 -0
- package/dist/esm/AnimatingNumbers.js +5 -0
- package/dist/esm/Avatar/style/index.js +2 -0
- package/dist/esm/Avatar.js +8 -0
- package/dist/esm/AvatarContext-7153ad2b.js +3 -0
- package/dist/esm/AvatarGroup/style/index.js +2 -0
- package/dist/esm/AvatarGroup.js +9 -0
- package/dist/esm/BackTop/style/index.js +2 -0
- package/dist/esm/BackTop.js +6 -0
- package/dist/esm/Badge/style/index.js +2 -0
- package/dist/esm/Badge.js +6 -0
- package/dist/esm/Barrage/style/index.js +2 -0
- package/dist/esm/Barrage.js +6 -0
- package/dist/esm/Button/style/index.js +2 -0
- package/dist/esm/Button.js +6 -0
- package/dist/esm/Calendar/style/index.js +3 -0
- package/dist/esm/Calendar.js +13 -0
- package/dist/esm/CalendarItem/style/index.js +2 -0
- package/dist/esm/CalendarItem.js +9 -0
- package/dist/esm/Card/style/index.js +4 -0
- package/dist/esm/Card.js +6 -0
- package/dist/esm/Cell/style/index.js +2 -0
- package/dist/esm/Cell.js +8 -0
- package/dist/esm/CellGroup/style/index.js +2 -0
- package/dist/esm/CellGroup.js +5 -0
- package/dist/esm/Checkbox/style/index.js +2 -0
- package/dist/esm/Checkbox.js +6 -0
- package/dist/esm/CheckboxGroup/style/index.js +2 -0
- package/dist/esm/CheckboxGroup.js +5 -0
- package/dist/esm/CircleProgress/style/index.js +2 -0
- package/dist/esm/CircleProgress.js +6 -0
- package/dist/esm/Col/style/index.js +2 -0
- package/dist/esm/Col.js +4 -0
- package/dist/esm/Collapse/style/index.js +2 -0
- package/dist/esm/Collapse.js +5 -0
- package/dist/esm/CollapseItem/style/index.js +2 -0
- package/dist/esm/CollapseItem.js +6 -0
- package/dist/esm/ConfigProvider/style/index.js +2 -0
- package/dist/esm/ConfigProvider.js +4 -0
- package/dist/esm/CountDown/style/index.js +2 -0
- package/dist/esm/CountDown.js +7 -0
- package/dist/esm/DatePicker/style/index.js +2 -0
- package/dist/esm/DatePicker.js +14 -0
- package/dist/esm/Dialog/style/index.js +3 -0
- package/dist/esm/Dialog.js +12 -0
- package/dist/esm/Divider/style/index.js +2 -0
- package/dist/esm/Divider.js +6 -0
- package/dist/esm/Drag/style/index.js +2 -0
- package/dist/esm/Drag.js +7 -0
- package/dist/esm/Elevator/style/index.js +2 -0
- package/dist/esm/Elevator.js +5 -0
- package/dist/esm/Empty/style/index.js +2 -0
- package/dist/esm/Empty.js +7 -0
- package/dist/esm/FixedNav/style/index.js +3 -0
- package/dist/esm/FixedNav.js +10 -0
- package/dist/esm/Icon/style/index.js +2 -0
- package/dist/esm/Icon.js +5 -0
- package/dist/esm/Indicator/style/index.js +2 -0
- package/dist/esm/Indicator.js +6 -0
- package/dist/esm/Infiniteloading/style/index.js +2 -0
- package/dist/esm/Infiniteloading.js +9 -0
- package/dist/esm/Input/style/index.js +2 -0
- package/dist/esm/Input.js +8 -0
- package/dist/esm/InputNumber/style/index.js +2 -0
- package/dist/esm/InputNumber.js +7 -0
- package/dist/esm/Layout/style/index.js +2 -0
- package/dist/esm/Layout.js +3 -0
- package/dist/esm/NavBar/style/index.js +2 -0
- package/dist/esm/NavBar.js +6 -0
- package/dist/esm/NoticeBar/style/index.js +2 -0
- package/dist/esm/NoticeBar.js +7 -0
- package/dist/esm/Notification-b09c89e8.js +178 -0
- package/dist/esm/Notify/style/index.js +2 -0
- package/dist/esm/Notify.js +8 -0
- package/dist/esm/NumberKeyboard/style/index.js +2 -0
- package/dist/esm/NumberKeyboard.js +12 -0
- package/dist/esm/Overlay/style/index.js +2 -0
- package/dist/esm/Overlay.js +6 -0
- package/dist/esm/Pagination/style/index.js +2 -0
- package/dist/esm/Pagination.js +7 -0
- package/dist/esm/Picker/style/index.js +2 -0
- package/dist/esm/Picker.js +14 -0
- package/dist/esm/Popover/style/index.js +2 -0
- package/dist/esm/Popover.js +7 -0
- package/dist/esm/Popup/style/index.js +3 -0
- package/dist/esm/Popup.js +9 -0
- package/dist/esm/Price/style/index.js +2 -0
- package/dist/esm/Price.js +5 -0
- package/dist/esm/Progress/style/index.js +2 -0
- package/dist/esm/Progress.js +7 -0
- package/dist/esm/Radio/style/index.js +2 -0
- package/dist/esm/Radio.js +7 -0
- package/dist/esm/RadioGroup/style/index.js +2 -0
- package/dist/esm/RadioGroup.js +6 -0
- package/dist/esm/Range/style/index.js +2 -0
- package/dist/esm/Range.js +12 -0
- package/dist/esm/Rate/style/index.js +2 -0
- package/dist/esm/Rate.js +6 -0
- package/dist/esm/Row/style/index.js +2 -0
- package/dist/esm/Row.js +4 -0
- package/dist/esm/SearchBar/style/index.js +2 -0
- package/dist/esm/SearchBar.js +8 -0
- package/dist/esm/ShortPassword/style/index.js +3 -0
- package/dist/esm/ShortPassword.js +12 -0
- package/dist/esm/Signature/style/index.js +2 -0
- package/dist/esm/Signature.js +9 -0
- package/dist/esm/Skeleton/style/index.js +2 -0
- package/dist/esm/Skeleton.js +8 -0
- package/dist/esm/Step/style/index.js +2 -0
- package/dist/esm/Step.js +8 -0
- package/dist/esm/Steps/style/index.js +2 -0
- package/dist/esm/Steps.js +7 -0
- package/dist/esm/Swiper/style/index.js +2 -0
- package/dist/esm/Swiper.js +7 -0
- package/dist/esm/SwiperItem/style/index.js +2 -0
- package/dist/esm/SwiperItem.js +7 -0
- package/dist/esm/Switch/style/index.js +2 -0
- package/dist/esm/Switch.js +5 -0
- package/dist/esm/TabPane/style/index.js +2 -0
- package/dist/esm/TabPane.js +6 -0
- package/dist/esm/Tabbar/style/index.js +2 -0
- package/dist/esm/Tabbar.js +5 -0
- package/dist/esm/TabbarItem/style/index.js +2 -0
- package/dist/esm/TabbarItem.js +7 -0
- package/dist/esm/Tabs/style/index.js +3 -0
- package/dist/esm/Tabs.js +7 -0
- package/dist/esm/Tag/style/index.js +2 -0
- package/dist/esm/Tag.js +6 -0
- package/dist/esm/TextArea/style/index.js +2 -0
- package/dist/esm/TextArea.js +7 -0
- package/dist/esm/TimeDetail/style/index.js +2 -0
- package/dist/esm/TimeDetail.js +7 -0
- package/dist/esm/TimePannel/style/index.js +2 -0
- package/dist/esm/TimePannel.js +7 -0
- package/dist/esm/TimeSelect/style/index.js +3 -0
- package/dist/esm/TimeSelect.js +12 -0
- package/dist/esm/Toast/style/index.js +2 -0
- package/dist/esm/Toast.js +9 -0
- package/dist/esm/Uploader/style/index.js +3 -0
- package/dist/esm/Uploader.js +9 -0
- package/dist/esm/UserContext-68f62e66.js +3 -0
- package/dist/esm/UserContext-b4181162.js +3 -0
- package/dist/esm/UserContext-be8097d2.js +3 -0
- package/dist/esm/Video/style/index.js +2 -0
- package/dist/esm/Video.js +6 -0
- package/dist/esm/VirtualList/style/index.js +2 -0
- package/dist/esm/VirtualList.js +5 -0
- package/dist/esm/actionsheet.taro-4ae40ea0.js +100 -0
- package/dist/esm/address.taro-82a8fa11.js +916 -0
- package/dist/esm/animatingnumbers.taro-cda438cc.js +152 -0
- package/dist/esm/avatar.taro-5dafffdc.js +148 -0
- package/dist/esm/avatargroup.taro-a39282b3.js +49 -0
- package/dist/esm/backtop.taro-65dccd86.js +154 -0
- package/dist/esm/badge.taro-8c001377.js +68 -0
- package/dist/esm/barrage.taro-f1139b9c.js +100 -0
- package/dist/esm/bem-893ad28d.js +8 -0
- package/dist/esm/button-9b1f3219.js +109 -0
- package/dist/esm/button.taro-90c8bb93.js +109 -0
- package/dist/esm/calendar.taro-d3a90861.js +617 -0
- package/dist/esm/calendaritem.taro-bbe4a226.js +606 -0
- package/dist/esm/card.taro-c4f88500.js +265 -0
- package/dist/esm/cell.taro-8080af48.js +114 -0
- package/dist/esm/cellgroup.taro-8c87bf08.js +40 -0
- package/dist/esm/checkbox.taro-7267be92.js +210 -0
- package/dist/esm/checkboxgroup.taro-bc16131f.js +106 -0
- package/dist/esm/circleprogress.taro-1a38e1c6.js +135 -0
- package/dist/esm/col.taro-ff3af36f.js +61 -0
- package/dist/esm/collapse.taro-5fac953d.js +107 -0
- package/dist/esm/collapseitem.taro-179cf530.js +144 -0
- package/dist/esm/configprovider-18657611.js +21 -0
- package/dist/esm/configprovider.taro-98343012.js +46 -0
- package/dist/esm/context-aa058329.js +6 -0
- package/dist/esm/countdown.taro-cd6a1bd4.js +220 -0
- package/dist/esm/datepicker.taro-f7c8ef80.js +614 -0
- package/dist/esm/dialog.taro-57f6fc2e.js +452 -0
- package/dist/esm/divider.taro-beaec14a.js +39 -0
- package/dist/esm/drag.taro-7c0493f8.js +134 -0
- package/dist/esm/elevator.taro-e37a3fbb.js +201 -0
- package/dist/esm/empty.taro-c7ccac8a.js +94 -0
- package/dist/esm/fixednav.taro-5b473df6.js +109 -0
- package/dist/esm/icon-62bd7379.js +72 -0
- package/dist/esm/icon.taro-bf130544.js +70 -0
- package/dist/esm/index-31152350.js +105 -0
- package/dist/esm/indicator.taro-183ea169.js +62 -0
- package/dist/esm/infiniteloading.taro-abf15a17.js +237 -0
- package/dist/esm/input.taro-b6927020.js +190 -0
- package/dist/esm/inputnumber.taro-4ec2bfb6.js +193 -0
- package/dist/esm/layout.taro-358f014f.js +20 -0
- package/dist/esm/navbar.taro-f2ba2cf4.js +66 -0
- package/dist/esm/noticebar.taro-70193e5e.js +373 -0
- package/dist/esm/notify.taro-837a878b.js +251 -0
- package/dist/esm/numberkeyboard.taro-a80cec74.js +276 -0
- package/dist/esm/nutui-react.es.js +98 -0
- package/dist/esm/overlay-ed3eb37d.js +94 -0
- package/dist/esm/overlay.taro-a784329e.js +94 -0
- package/dist/esm/pagination.taro-abc4a71e.js +202 -0
- package/dist/esm/picker.taro-c05b1930.js +262 -0
- package/dist/esm/pickerSlot-c8f5343e.js +245 -0
- package/dist/esm/popover.taro-3b06163e.js +299 -0
- package/dist/esm/popup-15922d84.js +193 -0
- package/dist/esm/popup.taro-897e35fd.js +193 -0
- package/dist/esm/price.taro-97393d8f.js +105 -0
- package/dist/esm/progress.taro-51bcdd4f.js +129 -0
- package/dist/esm/radio.taro-923d91bc.js +200 -0
- package/dist/esm/radiogroup.taro-f2401b7a.js +102 -0
- package/dist/esm/raf-3fbb5f92.js +126 -0
- package/dist/esm/range.taro-41ced357.js +464 -0
- package/dist/esm/rate.taro-3d6edec3.js +124 -0
- package/dist/esm/row.taro-7afb510a.js +48 -0
- package/dist/esm/searchbar.taro-b05ef5a8.js +246 -0
- package/dist/esm/shortpassword.taro-aad27ce9.js +206 -0
- package/dist/esm/signature.taro-454c5413.js +178 -0
- package/dist/esm/skeleton.taro-b2831f6f.js +246 -0
- package/dist/esm/step.taro-33775bf4.js +100 -0
- package/dist/esm/steps.taro-943f4fbb.js +46 -0
- package/dist/esm/swiper.taro-624d2cf2.js +568 -0
- package/dist/esm/swiperitem.taro-984e3ebb.js +59 -0
- package/dist/esm/switch.taro-be5eb823.js +85 -0
- package/dist/esm/tabbar.taro-da72fa2c.js +73 -0
- package/dist/esm/tabbaritem.taro-898becb1.js +87 -0
- package/dist/esm/tabpane.taro-24514060.js +32 -0
- package/dist/esm/tabs.taro-56a953f6.js +186 -0
- package/dist/esm/tag.taro-77cf134f.js +113 -0
- package/dist/esm/textarea.taro-5d4efaf0.js +117 -0
- package/dist/esm/timedetail.taro-0e31b4a5.js +81 -0
- package/dist/esm/timepannel.taro-2d54b3db.js +37 -0
- package/dist/esm/timeselect.taro-e4c97354.js +276 -0
- package/dist/esm/toast.taro-b7ff92f1.js +122 -0
- package/dist/esm/uploader.taro-5fab7e14.js +558 -0
- package/dist/esm/video-c1090c92.js +96 -0
- package/dist/esm/virtuallist.taro-2ff1a5ad.js +344 -0
- package/dist/esm/zh-CN-f5124686.js +110 -0
- package/dist/locales/base.d.ts +103 -0
- package/dist/locales/base.js +5 -0
- package/dist/locales/en-US.d.ts +3 -0
- package/dist/locales/en-US.js +107 -0
- package/dist/locales/id-ID.d.ts +3 -0
- package/dist/locales/id-ID.js +107 -0
- package/dist/locales/zh-CN.d.ts +3 -0
- package/dist/locales/zh-CN.js +109 -0
- package/dist/locales/zh-TW.d.ts +3 -0
- package/dist/locales/zh-TW.js +107 -0
- package/dist/nutui.react.es.js +17463 -0
- package/dist/nutui.react.umd.js +36 -0
- package/dist/packages/actionsheet/actionsheet.scss +68 -0
- package/dist/packages/address/address.scss +145 -0
- package/dist/packages/animatingnumbers/animatingnumbers.scss +0 -0
- package/dist/packages/animatingnumbers/countup.scss +36 -0
- package/dist/packages/avatar/avatar.scss +58 -0
- package/dist/packages/avatargroup/avatargroup.scss +14 -0
- package/dist/packages/backtop/backtop.scss +28 -0
- package/dist/packages/badge/badge.scss +39 -0
- package/dist/packages/barrage/barrage.scss +48 -0
- package/dist/packages/button/button.scss +156 -0
- package/dist/packages/calendar/calendar.scss +198 -0
- package/dist/packages/calendaritem/calendaritem.scss +191 -0
- package/dist/packages/card/card.scss +75 -0
- package/dist/packages/cell/cell.scss +94 -0
- package/dist/packages/cellgroup/cellgroup.scss +38 -0
- package/dist/packages/checkbox/checkbox.scss +37 -0
- package/dist/packages/checkboxgroup/checkboxgroup.scss +0 -0
- package/dist/packages/circleprogress/circleprogress.scss +24 -0
- package/dist/packages/col/col.scss +24 -0
- package/dist/packages/collapse/collapse.scss +0 -0
- package/dist/packages/collapseitem/collapseitem.scss +82 -0
- package/dist/packages/configprovider/configprovider.scss +0 -0
- package/dist/packages/countdown/countdown.scss +3 -0
- package/dist/packages/datepicker/datepicker.scss +3 -0
- package/dist/packages/dialog/dialog.scss +135 -0
- package/dist/packages/divider/divider.scss +63 -0
- package/dist/packages/drag/drag.scss +9 -0
- package/dist/packages/elevator/elevator.scss +103 -0
- package/dist/packages/empty/empty.scss +33 -0
- package/dist/packages/fixednav/fixednav.scss +133 -0
- package/dist/packages/icon/icon.scss +40 -0
- package/dist/packages/indicator/indicator.scss +63 -0
- package/dist/packages/infiniteloading/infiniteloading.scss +47 -0
- package/dist/packages/input/input.scss +178 -0
- package/dist/packages/inputnumber/inputnumber.scss +36 -0
- package/dist/packages/layout/layout.scss +2 -0
- package/dist/packages/navbar/navbar.scss +132 -0
- package/dist/packages/noticebar/noticebar.scss +112 -0
- package/dist/packages/notify/notify.scss +80 -0
- package/dist/packages/numberkeyboard/numberkeyboard.scss +106 -0
- package/dist/packages/overlay/overlay.scss +50 -0
- package/dist/packages/pagination/pagination.scss +50 -0
- package/dist/packages/picker/picker.scss +122 -0
- package/dist/packages/popover/popover.scss +141 -0
- package/dist/packages/popup/popup.scss +149 -0
- package/dist/packages/price/price.scss +21 -0
- package/dist/packages/progress/progress.scss +81 -0
- package/dist/packages/radio/radio.scss +59 -0
- package/dist/packages/radiogroup/radiogroup.scss +22 -0
- package/dist/packages/range/custom.scss +9 -0
- package/dist/packages/range/range.scss +96 -0
- package/dist/packages/rate/rate.scss +36 -0
- package/dist/packages/row/row.scss +65 -0
- package/dist/packages/searchbar/searchbar.scss +106 -0
- package/dist/packages/shortpassword/shortpassword.scss +113 -0
- package/dist/packages/signature/signature.scss +16 -0
- package/dist/packages/skeleton/skeleton.scss +63 -0
- package/dist/packages/step/step.scss +190 -0
- package/dist/packages/steps/steps.scss +7 -0
- package/dist/packages/swiper/swiper.scss +45 -0
- package/dist/packages/swiperitem/swiperitem.scss +3 -0
- package/dist/packages/switch/switch.scss +60 -0
- package/dist/packages/tabbar/tabbar.scss +27 -0
- package/dist/packages/tabbaritem/tabbaritem.scss +80 -0
- package/dist/packages/tabpane/tabpane.scss +17 -0
- package/dist/packages/tabs/tabs.scss +191 -0
- package/dist/packages/tag/tag.scss +52 -0
- package/dist/packages/textarea/textarea.scss +39 -0
- package/dist/packages/timedetail/timedetail.scss +26 -0
- package/dist/packages/timepannel/timepannel.scss +7 -0
- package/dist/packages/timeselect/timeselect.scss +34 -0
- package/dist/packages/toast/toast.scss +95 -0
- package/dist/packages/uploader/uploader.scss +156 -0
- package/dist/packages/video/video.scss +18 -0
- package/dist/packages/virtuallist/virtuallist.scss +51 -0
- package/dist/style.css +1 -0
- package/dist/style.es.js +7 -0
- package/dist/styles/animation/drop.scss +24 -0
- package/dist/styles/animation/ease.scss +23 -0
- package/dist/styles/animation/fade.scss +20 -0
- package/dist/styles/animation/index.scss +6 -0
- package/dist/styles/animation/rotate.scss +10 -0
- package/dist/styles/animation/zoom.scss +26 -0
- package/dist/styles/font/demo.css +539 -0
- package/dist/styles/font/demo_index.html +2718 -0
- package/dist/styles/font/iconfont.css +455 -0
- package/dist/styles/font/iconfont.eot +0 -0
- package/dist/styles/font/iconfont.js +63 -0
- package/dist/styles/font/iconfont.json +779 -0
- package/dist/styles/font/iconfont.svg +356 -0
- 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 +2 -0
- package/dist/styles/mixins/make-animation.scss +24 -0
- package/dist/styles/mixins/text-ellipsis.scss +20 -0
- package/dist/styles/themes/default.scss +74 -0
- package/dist/styles/variables.scss +620 -0
- package/dist/types/actionsheet/actionsheet.taro.d.ts +20 -0
- package/dist/types/actionsheet/demo.taro.d.ts +6 -0
- package/dist/types/actionsheet/index.taro.d.ts +2 -0
- package/dist/types/address/address.taro.d.ts +57 -0
- package/dist/types/address/demo.taro.d.ts +3 -0
- package/dist/types/address/index.taro.d.ts +2 -0
- package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +12 -0
- package/dist/types/animatingnumbers/demo.taro.d.ts +3 -0
- package/dist/types/animatingnumbers/index.taro.d.ts +2 -0
- package/dist/types/avatar/avatar.taro.d.ts +17 -0
- package/dist/types/avatar/demo.taro.d.ts +4 -0
- package/dist/types/avatar/index.taro.d.ts +2 -0
- package/dist/types/avatargroup/avatargroup.taro.d.ts +14 -0
- package/dist/types/avatargroup/index.taro.d.ts +2 -0
- package/dist/types/backtop/backtop.taro.d.ts +15 -0
- package/dist/types/backtop/demo.taro.d.ts +3 -0
- package/dist/types/backtop/index.taro.d.ts +2 -0
- package/dist/types/badge/badge.taro.d.ts +13 -0
- package/dist/types/badge/demo.taro.d.ts +3 -0
- package/dist/types/badge/index.taro.d.ts +2 -0
- package/dist/types/barrage/barrage.taro.d.ts +12 -0
- package/dist/types/barrage/demo.taro.d.ts +4 -0
- package/dist/types/barrage/index.taro.d.ts +2 -0
- package/dist/types/button/button.taro.d.ts +20 -0
- package/dist/types/button/demo.taro.d.ts +3 -0
- package/dist/types/button/index.taro.d.ts +2 -0
- package/dist/types/calendar/calendar.taro.d.ts +14 -0
- package/dist/types/calendar/demo.taro.d.ts +3 -0
- package/dist/types/calendar/index.taro.d.ts +2 -0
- package/dist/types/calendaritem/calendaritem.taro.d.ts +17 -0
- package/dist/types/calendaritem/index.taro.d.ts +2 -0
- package/dist/types/card/card.taro.d.ts +17 -0
- package/dist/types/card/demo.taro.d.ts +3 -0
- package/dist/types/card/index.taro.d.ts +2 -0
- package/dist/types/cell/cell.taro.d.ts +20 -0
- package/dist/types/cell/demo.taro.d.ts +3 -0
- package/dist/types/cell/index.taro.d.ts +2 -0
- package/dist/types/cellgroup/cellgroup.taro.d.ts +9 -0
- package/dist/types/cellgroup/index.taro.d.ts +2 -0
- package/dist/types/checkbox/checkbox.taro.d.ts +15 -0
- package/dist/types/checkbox/demo.taro.d.ts +3 -0
- package/dist/types/checkbox/index.taro.d.ts +2 -0
- package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +7 -0
- package/dist/types/checkboxgroup/index.taro.d.ts +2 -0
- package/dist/types/circleprogress/circleprogress.taro.d.ts +15 -0
- package/dist/types/circleprogress/demo.taro.d.ts +4 -0
- package/dist/types/circleprogress/index.taro.d.ts +2 -0
- package/dist/types/col/col.taro.d.ts +7 -0
- package/dist/types/col/index.taro.d.ts +2 -0
- package/dist/types/collapse/collapse.taro.d.ts +11 -0
- package/dist/types/collapse/demo.taro.d.ts +3 -0
- package/dist/types/collapse/index.taro.d.ts +2 -0
- package/dist/types/collapseitem/collapseitem.taro.d.ts +18 -0
- package/dist/types/collapseitem/index.taro.d.ts +2 -0
- package/dist/types/configprovider/configprovider.taro.d.ts +12 -0
- package/dist/types/configprovider/demo.taro.d.ts +3 -0
- package/dist/types/configprovider/index.taro.d.ts +2 -0
- package/dist/types/countdown/countdown.taro.d.ts +15 -0
- package/dist/types/countdown/demo.taro.d.ts +3 -0
- package/dist/types/countdown/index.taro.d.ts +2 -0
- package/dist/types/datepicker/datepicker.taro.d.ts +27 -0
- package/dist/types/datepicker/demo.taro.d.ts +3 -0
- package/dist/types/datepicker/index.taro.d.ts +2 -0
- package/dist/types/dialog/demo.taro.d.ts +3 -0
- package/dist/types/dialog/dialog.taro.d.ts +2 -0
- package/dist/types/dialog/index.taro.d.ts +2 -0
- package/dist/types/divider/demo.taro.d.ts +3 -0
- package/dist/types/divider/divider.taro.d.ts +12 -0
- package/dist/types/divider/index.taro.d.ts +2 -0
- package/dist/types/drag/demo.taro.d.ts +3 -0
- package/dist/types/drag/drag.taro.d.ts +14 -0
- package/dist/types/drag/index.taro.d.ts +2 -0
- package/dist/types/elevator/demo.taro.d.ts +3 -0
- package/dist/types/elevator/elevator.taro.d.ts +17 -0
- package/dist/types/elevator/index.taro.d.ts +2 -0
- package/dist/types/empty/demo.taro.d.ts +4 -0
- package/dist/types/empty/empty.taro.d.ts +8 -0
- package/dist/types/empty/index.taro.d.ts +2 -0
- package/dist/types/fixednav/demo.taro.d.ts +3 -0
- package/dist/types/fixednav/fixednav.taro.d.ts +22 -0
- package/dist/types/fixednav/index.taro.d.ts +2 -0
- package/dist/types/icon/demo.taro.d.ts +3 -0
- package/dist/types/icon/icon.taro.d.ts +12 -0
- package/dist/types/icon/index.taro.d.ts +2 -0
- package/dist/types/indicator/demo.taro.d.ts +4 -0
- package/dist/types/indicator/index.taro.d.ts +2 -0
- package/dist/types/indicator/indicator.taro.d.ts +10 -0
- package/dist/types/infiniteloading/demo.taro.d.ts +4 -0
- package/dist/types/infiniteloading/index.taro.d.ts +2 -0
- package/dist/types/infiniteloading/infiniteloading.taro.d.ts +20 -0
- package/dist/types/input/demo.taro.d.ts +3 -0
- package/dist/types/input/index.taro.d.ts +2 -0
- package/dist/types/input/input.taro.d.ts +20 -0
- package/dist/types/inputnumber/demo.taro.d.ts +3 -0
- package/dist/types/inputnumber/index.taro.d.ts +2 -0
- package/dist/types/inputnumber/inputnumber.taro.d.ts +22 -0
- package/dist/types/layout/demo.taro.d.ts +4 -0
- package/dist/types/layout/index.taro.d.ts +2 -0
- package/dist/types/layout/layout.taro.d.ts +4 -0
- package/dist/types/navbar/demo.taro.d.ts +3 -0
- package/dist/types/navbar/index.taro.d.ts +2 -0
- package/dist/types/navbar/navbar.taro.d.ts +15 -0
- package/dist/types/noticebar/demo.taro.d.ts +3 -0
- package/dist/types/noticebar/index.taro.d.ts +2 -0
- package/dist/types/noticebar/noticebar.taro.d.ts +23 -0
- package/dist/types/notify/demo.taro.d.ts +3 -0
- package/dist/types/notify/index.taro.d.ts +2 -0
- package/dist/types/notify/notify.taro.d.ts +10 -0
- package/dist/types/numberkeyboard/demo.taro.d.ts +3 -0
- package/dist/types/numberkeyboard/index.taro.d.ts +2 -0
- package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +20 -0
- package/dist/types/nutui.react.d.ts +74 -0
- package/dist/types/overlay/demo.taro.d.ts +4 -0
- package/dist/types/overlay/index.taro.d.ts +2 -0
- package/dist/types/overlay/overlay.taro.d.ts +12 -0
- package/dist/types/pagination/demo.taro.d.ts +3 -0
- package/dist/types/pagination/index.taro.d.ts +2 -0
- package/dist/types/pagination/pagination.taro.d.ts +19 -0
- package/dist/types/picker/demo.taro.d.ts +3 -0
- package/dist/types/picker/index.taro.d.ts +2 -0
- package/dist/types/picker/picker.taro.d.ts +23 -0
- package/dist/types/popover/demo.taro.d.ts +3 -0
- package/dist/types/popover/index.taro.d.ts +2 -0
- package/dist/types/popover/popover.taro.d.ts +13 -0
- package/dist/types/popup/demo.taro.d.ts +4 -0
- package/dist/types/popup/index.taro.d.ts +2 -0
- package/dist/types/popup/popup.taro.d.ts +23 -0
- package/dist/types/price/demo.taro.d.ts +3 -0
- package/dist/types/price/index.taro.d.ts +2 -0
- package/dist/types/price/price.taro.d.ts +11 -0
- package/dist/types/progress/demo.taro.d.ts +3 -0
- package/dist/types/progress/index.taro.d.ts +2 -0
- package/dist/types/progress/progress.taro.d.ts +26 -0
- package/dist/types/radio/demo.taro.d.ts +3 -0
- package/dist/types/radio/index.taro.d.ts +2 -0
- package/dist/types/radio/radio.taro.d.ts +21 -0
- package/dist/types/radiogroup/index.taro.d.ts +2 -0
- package/dist/types/radiogroup/radiogroup.taro.d.ts +11 -0
- package/dist/types/range/demo.taro.d.ts +3 -0
- package/dist/types/range/index.taro.d.ts +2 -0
- package/dist/types/range/range.taro.d.ts +23 -0
- package/dist/types/rate/demo.taro.d.ts +3 -0
- package/dist/types/rate/index.taro.d.ts +2 -0
- package/dist/types/rate/rate.taro.d.ts +17 -0
- package/dist/types/row/index.taro.d.ts +2 -0
- package/dist/types/row/row.taro.d.ts +9 -0
- package/dist/types/searchbar/demo.taro.d.ts +3 -0
- package/dist/types/searchbar/index.taro.d.ts +2 -0
- package/dist/types/searchbar/searchbar.taro.d.ts +60 -0
- package/dist/types/shortpassword/demo.taro.d.ts +3 -0
- package/dist/types/shortpassword/index.taro.d.ts +2 -0
- package/dist/types/shortpassword/shortpassword.taro.d.ts +21 -0
- package/dist/types/signature/demo.taro.d.ts +3 -0
- package/dist/types/signature/index.taro.d.ts +2 -0
- package/dist/types/signature/signature.taro.d.ts +11 -0
- package/dist/types/skeleton/demo.taro.d.ts +4 -0
- package/dist/types/skeleton/index.taro.d.ts +2 -0
- package/dist/types/skeleton/skeleton.taro.d.ts +18 -0
- package/dist/types/step/index.taro.d.ts +2 -0
- package/dist/types/step/step.taro.d.ts +13 -0
- package/dist/types/steps/demo.taro.d.ts +4 -0
- package/dist/types/steps/index.taro.d.ts +2 -0
- package/dist/types/steps/steps.taro.d.ts +10 -0
- package/dist/types/swiper/demo.taro.d.ts +4 -0
- package/dist/types/swiper/index.taro.d.ts +2 -0
- package/dist/types/swiper/swiper.taro.d.ts +26 -0
- package/dist/types/swiperitem/index.taro.d.ts +2 -0
- package/dist/types/swiperitem/swiperitem.taro.d.ts +7 -0
- package/dist/types/switch/demo.taro.d.ts +3 -0
- package/dist/types/switch/index.taro.d.ts +2 -0
- package/dist/types/switch/switch.taro.d.ts +14 -0
- package/dist/types/tabbar/demo.taro.d.ts +3 -0
- package/dist/types/tabbar/index.taro.d.ts +2 -0
- package/dist/types/tabbar/tabbar.taro.d.ts +13 -0
- package/dist/types/tabbaritem/index.taro.d.ts +2 -0
- package/dist/types/tabbaritem/tabbaritem.taro.d.ts +17 -0
- package/dist/types/tabpane/index.taro.d.ts +2 -0
- package/dist/types/tabpane/tabpane.taro.d.ts +8 -0
- package/dist/types/tabs/demo.taro.d.ts +3 -0
- package/dist/types/tabs/index.taro.d.ts +2 -0
- package/dist/types/tabs/tabs.taro.d.ts +28 -0
- package/dist/types/tag/demo.taro.d.ts +3 -0
- package/dist/types/tag/index.taro.d.ts +2 -0
- package/dist/types/tag/tag.taro.d.ts +15 -0
- package/dist/types/textarea/demo.taro.d.ts +3 -0
- package/dist/types/textarea/index.taro.d.ts +2 -0
- package/dist/types/textarea/textarea.taro.d.ts +18 -0
- package/dist/types/timedetail/demo.taro.d.ts +3 -0
- package/dist/types/timedetail/index.taro.d.ts +2 -0
- package/dist/types/timedetail/timedetail.taro.d.ts +13 -0
- package/dist/types/timepannel/demo.taro.d.ts +3 -0
- package/dist/types/timepannel/index.taro.d.ts +2 -0
- package/dist/types/timepannel/timepannel.taro.d.ts +8 -0
- package/dist/types/timeselect/demo.taro.d.ts +3 -0
- package/dist/types/timeselect/index.taro.d.ts +2 -0
- package/dist/types/timeselect/timeselect.taro.d.ts +21 -0
- package/dist/types/toast/demo.taro.d.ts +3 -0
- package/dist/types/toast/index.taro.d.ts +2 -0
- package/dist/types/toast/toast.taro.d.ts +11 -0
- package/dist/types/uploader/demo.taro.d.ts +16 -0
- package/dist/types/uploader/index.taro.d.ts +2 -0
- package/dist/types/uploader/uploader.taro.d.ts +68 -0
- package/dist/types/video/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/demo.taro.d.ts +3 -0
- package/dist/types/virtuallist/index.taro.d.ts +2 -0
- package/dist/types/virtuallist/virtuallist.taro.d.ts +3 -0
- package/package.json +162 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FunctionComponent, HTMLProps } from 'react';
|
|
2
|
+
declare type Direction = 'right' | 'left';
|
|
3
|
+
declare type Position = {
|
|
4
|
+
top?: string;
|
|
5
|
+
bottom?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface FixedNavProps {
|
|
8
|
+
fixednavClass: string;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
overlay: boolean;
|
|
11
|
+
navList: Array<object>;
|
|
12
|
+
activeText: string;
|
|
13
|
+
unActiveText: string;
|
|
14
|
+
position: Position;
|
|
15
|
+
type: Direction;
|
|
16
|
+
onChange: (v: any) => void;
|
|
17
|
+
onSelected: Function;
|
|
18
|
+
slotList: HTMLProps<HTMLElement>;
|
|
19
|
+
slotBtn: HTMLProps<HTMLElement>;
|
|
20
|
+
}
|
|
21
|
+
export declare const FixedNav: FunctionComponent<Partial<FixedNavProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FunctionComponent, ReactHTML } from 'react';
|
|
2
|
+
interface IconProps {
|
|
3
|
+
name: string;
|
|
4
|
+
size: string | number;
|
|
5
|
+
classPrefix: string;
|
|
6
|
+
color: string;
|
|
7
|
+
tag: keyof ReactHTML;
|
|
8
|
+
click: (e: MouseEvent) => void;
|
|
9
|
+
className: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const Icon: FunctionComponent<Partial<IconProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface IndicatorProps {
|
|
3
|
+
size: number;
|
|
4
|
+
current: number;
|
|
5
|
+
block: boolean;
|
|
6
|
+
align: 'left' | 'right' | 'center';
|
|
7
|
+
fillZero: boolean;
|
|
8
|
+
vertical: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Indicator: FunctionComponent<Partial<IndicatorProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface InfiniteloadingProps {
|
|
3
|
+
hasMore: boolean;
|
|
4
|
+
threshold: number;
|
|
5
|
+
containerId: string;
|
|
6
|
+
useWindow: boolean;
|
|
7
|
+
useCapture: boolean;
|
|
8
|
+
isOpenRefresh: boolean;
|
|
9
|
+
pullIcon: string;
|
|
10
|
+
pullTxt: string;
|
|
11
|
+
loadIcon: string;
|
|
12
|
+
loadTxt: string;
|
|
13
|
+
loadMoreTxt: string;
|
|
14
|
+
className: string;
|
|
15
|
+
style: React.CSSProperties;
|
|
16
|
+
refresh: (param: () => void) => void;
|
|
17
|
+
loadMore: (param: () => void) => void;
|
|
18
|
+
scrollChange: (param: number) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const Infiniteloading: FunctionComponent<Partial<InfiniteloadingProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
type: string;
|
|
4
|
+
defaultValue: any;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
label: string;
|
|
7
|
+
requireShow: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
readonly: boolean;
|
|
10
|
+
textAlign: any;
|
|
11
|
+
maxLength: any;
|
|
12
|
+
clearable: boolean;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
className?: string;
|
|
15
|
+
change?: (value: any, event: Event) => void;
|
|
16
|
+
blur?: (value: any, event: Event) => void;
|
|
17
|
+
focus?: (value: any, event: Event) => void;
|
|
18
|
+
clear?: (value: any, event: Event) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const Input: FunctionComponent<Partial<InputProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FunctionComponent, ChangeEvent, FocusEvent } from 'react';
|
|
2
|
+
export interface InputNumberProps {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
buttonSize: string | number;
|
|
5
|
+
min: string | number;
|
|
6
|
+
max: string | number;
|
|
7
|
+
inputWidth: string | number;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
modelValue: string | number;
|
|
10
|
+
step: string | number;
|
|
11
|
+
decimalPlaces: string | number;
|
|
12
|
+
isAsync: boolean;
|
|
13
|
+
className: string;
|
|
14
|
+
style: React.CSSProperties;
|
|
15
|
+
add: (e: MouseEvent) => void;
|
|
16
|
+
reduce: (e: MouseEvent) => void;
|
|
17
|
+
overlimit: (e: MouseEvent) => void;
|
|
18
|
+
blur: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
19
|
+
focus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
change: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface NavBarProps {
|
|
3
|
+
title: string;
|
|
4
|
+
desc: string;
|
|
5
|
+
leftShow: boolean;
|
|
6
|
+
icon: string;
|
|
7
|
+
titIcon: string;
|
|
8
|
+
className: string;
|
|
9
|
+
style: React.CSSProperties;
|
|
10
|
+
onClickTitle: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
11
|
+
onClickIcon: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
12
|
+
onClickBack: (e: React.MouseEvent<HTMLElement>) => void;
|
|
13
|
+
onClickClear: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const NavBar: FunctionComponent<Partial<NavBarProps>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { FunctionComponent, CSSProperties } from 'react';
|
|
2
|
+
export interface NoticeBarProps {
|
|
3
|
+
direction: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: CSSProperties;
|
|
6
|
+
list: any;
|
|
7
|
+
standTime: number;
|
|
8
|
+
complexAm: boolean;
|
|
9
|
+
height: number;
|
|
10
|
+
text: string;
|
|
11
|
+
closeMode: boolean;
|
|
12
|
+
wrapable: boolean;
|
|
13
|
+
leftIcon: string;
|
|
14
|
+
color: string;
|
|
15
|
+
background: string;
|
|
16
|
+
delay: string | number;
|
|
17
|
+
scrollable: boolean;
|
|
18
|
+
speed: number;
|
|
19
|
+
rightIcon?: HTMLElement | any;
|
|
20
|
+
close?: (list?: any) => void;
|
|
21
|
+
click?: (item?: any) => void;
|
|
22
|
+
}
|
|
23
|
+
export declare const NoticeBar: FunctionComponent<Partial<NoticeBarProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
text(msg: string | React.ReactNode, option?: {}): void;
|
|
4
|
+
success(msg: string | React.ReactNode, option?: {}): void;
|
|
5
|
+
primary(msg: string | React.ReactNode, option?: {}): void;
|
|
6
|
+
danger(msg: string | React.ReactNode, option?: {}): void;
|
|
7
|
+
warn(msg: string | React.ReactNode, option?: {}): void;
|
|
8
|
+
hide(): void;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export interface NextListObj {
|
|
3
|
+
type: string;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface NumberKeyboardProps {
|
|
7
|
+
confirmText: string;
|
|
8
|
+
title: string;
|
|
9
|
+
visible: boolean;
|
|
10
|
+
type: string;
|
|
11
|
+
customKey: Array<string>;
|
|
12
|
+
randomKeys: boolean;
|
|
13
|
+
popClass: string;
|
|
14
|
+
className: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
onChange?: (value: string) => void;
|
|
17
|
+
onDelete?: () => void;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const NumberKeyboard: FunctionComponent<Partial<NumberKeyboardProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import Button from './button/index.taro';
|
|
2
|
+
import Cell from './cell/index.taro';
|
|
3
|
+
import CellGroup from './cellgroup/index.taro';
|
|
4
|
+
import Icon from './icon/index.taro';
|
|
5
|
+
import Overlay from './overlay/index.taro';
|
|
6
|
+
import Popup from './popup/index.taro';
|
|
7
|
+
import ConfigProvider from './configprovider/index.taro';
|
|
8
|
+
import Layout from './layout/index.taro';
|
|
9
|
+
import Col from './col/index.taro';
|
|
10
|
+
import Row from './row/index.taro';
|
|
11
|
+
import Divider from './divider/index.taro';
|
|
12
|
+
import NavBar from './navbar/index.taro';
|
|
13
|
+
import FixedNav from './fixednav/index.taro';
|
|
14
|
+
import Tabbar from './tabbar/index.taro';
|
|
15
|
+
import TabbarItem from './tabbaritem/index.taro';
|
|
16
|
+
import Elevator from './elevator/index.taro';
|
|
17
|
+
import Pagination from './pagination/index.taro';
|
|
18
|
+
import Tabs from './tabs/index.taro';
|
|
19
|
+
import TabPane from './tabpane/index.taro';
|
|
20
|
+
import Indicator from './indicator/index.taro';
|
|
21
|
+
import Range from './range/index.taro';
|
|
22
|
+
import Calendar from './calendar/index.taro';
|
|
23
|
+
import Checkbox from './checkbox/index.taro';
|
|
24
|
+
import CheckboxGroup from './checkboxgroup/index.taro';
|
|
25
|
+
import DatePicker from './datepicker/index.taro';
|
|
26
|
+
import InputNumber from './inputnumber/index.taro';
|
|
27
|
+
import Input from './input/index.taro';
|
|
28
|
+
import Radio from './radio/index.taro';
|
|
29
|
+
import RadioGroup from './radiogroup/index.taro';
|
|
30
|
+
import Rate from './rate/index.taro';
|
|
31
|
+
import CalendarItem from './calendaritem/index.taro';
|
|
32
|
+
import Picker from './picker/index.taro';
|
|
33
|
+
import ShortPassword from './shortpassword/index.taro';
|
|
34
|
+
import TextArea from './textarea/index.taro';
|
|
35
|
+
import Uploader from './uploader/index.taro';
|
|
36
|
+
import SearchBar from './searchbar/index.taro';
|
|
37
|
+
import NumberKeyboard from './numberkeyboard/index.taro';
|
|
38
|
+
import ActionSheet from './actionsheet/index.taro';
|
|
39
|
+
import BackTop from './backtop/index.taro';
|
|
40
|
+
import Drag from './drag/index.taro';
|
|
41
|
+
import Dialog from './dialog/index.taro';
|
|
42
|
+
import Infiniteloading from './infiniteloading/index.taro';
|
|
43
|
+
import Notify from './notify/index.taro';
|
|
44
|
+
import Switch from './switch/index.taro';
|
|
45
|
+
import Toast from './toast/index.taro';
|
|
46
|
+
import CircleProgress from './circleprogress/index.taro';
|
|
47
|
+
import NoticeBar from './noticebar/index.taro';
|
|
48
|
+
import Steps from './steps/index.taro';
|
|
49
|
+
import Step from './step/index.taro';
|
|
50
|
+
import Swiper from './swiper/index.taro';
|
|
51
|
+
import SwiperItem from './swiperitem/index.taro';
|
|
52
|
+
import Avatar from './avatar/index.taro';
|
|
53
|
+
import AvatarGroup from './avatargroup/index.taro';
|
|
54
|
+
import Price from './price/index.taro';
|
|
55
|
+
import Badge from './badge/index.taro';
|
|
56
|
+
import Tag from './tag/index.taro';
|
|
57
|
+
import Popover from './popover/index.taro';
|
|
58
|
+
import Skeleton from './skeleton/index.taro';
|
|
59
|
+
import CountDown from './countdown/index.taro';
|
|
60
|
+
import Collapse from './collapse/index.taro';
|
|
61
|
+
import CollapseItem from './collapseitem/index.taro';
|
|
62
|
+
import AnimatingNumbers from './animatingnumbers/index.taro';
|
|
63
|
+
import Empty from './empty/index.taro';
|
|
64
|
+
import VirtualList from './virtuallist/index.taro';
|
|
65
|
+
import Video from './video/index.taro';
|
|
66
|
+
import Progress from './progress/index.taro';
|
|
67
|
+
import Address from './address/index.taro';
|
|
68
|
+
import Barrage from './barrage/index.taro';
|
|
69
|
+
import Signature from './signature/index.taro';
|
|
70
|
+
import Card from './card/index.taro';
|
|
71
|
+
import TimePannel from './timepannel/index.taro';
|
|
72
|
+
import TimeDetail from './timedetail/index.taro';
|
|
73
|
+
import TimeSelect from './timeselect/index.taro';
|
|
74
|
+
export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, SearchBar, NumberKeyboard, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Video, Progress, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface OverlayProps {
|
|
3
|
+
zIndex: number;
|
|
4
|
+
duration: number;
|
|
5
|
+
overlayClass: string;
|
|
6
|
+
overlayStyle: React.CSSProperties;
|
|
7
|
+
closeOnClickOverlay: boolean;
|
|
8
|
+
visible: boolean;
|
|
9
|
+
lockScroll: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const defaultOverlayProps: OverlayProps;
|
|
12
|
+
export declare const Overlay: FunctionComponent<Partial<OverlayProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface PaginationProps {
|
|
3
|
+
defaultValue: number;
|
|
4
|
+
modelValue: number;
|
|
5
|
+
mode: 'multi' | 'simple';
|
|
6
|
+
prevText?: React.ReactNode;
|
|
7
|
+
nextText?: React.ReactNode;
|
|
8
|
+
pageCount: string | number;
|
|
9
|
+
totalItems: string | number;
|
|
10
|
+
itemsPerPage: string | number;
|
|
11
|
+
showPageSize: string | number;
|
|
12
|
+
forceEllipses: boolean;
|
|
13
|
+
pageNodeRender: (page: any) => React.ReactNode;
|
|
14
|
+
onChange: (currPage: number) => void;
|
|
15
|
+
updatecurrent: (currPage: number) => void;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
export interface PickerOption {
|
|
3
|
+
text: string | number;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: string;
|
|
6
|
+
children?: PickerOption[];
|
|
7
|
+
className?: string | number;
|
|
8
|
+
}
|
|
9
|
+
export interface IPickerProps {
|
|
10
|
+
isVisible: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
listData: (PickerOption | PickerOption[])[];
|
|
13
|
+
defaultValueData?: (number | string)[];
|
|
14
|
+
className?: '';
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
threeDimensional?: boolean;
|
|
17
|
+
onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
18
|
+
onClose?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
19
|
+
onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
|
|
20
|
+
onChange?: (index: number, value: (string | number)[], selectedOptions: PickerOption[]) => void;
|
|
21
|
+
}
|
|
22
|
+
declare const Picker: React.ForwardRefExoticComponent<Partial<IPickerProps> & React.RefAttributes<unknown>>;
|
|
23
|
+
export default Picker;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React, { CSSProperties, FunctionComponent } from 'react';
|
|
2
|
+
export interface PopoverProps {
|
|
3
|
+
list: Array<any>;
|
|
4
|
+
theme: string;
|
|
5
|
+
location: string;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
className: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
onClick: (e: MouseEvent) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function findDOMNode<T = HTMLElement>(node: React.ReactInstance | HTMLElement): T;
|
|
12
|
+
export declare type PopoverType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
|
13
|
+
export declare const Popover: FunctionComponent<Partial<PopoverProps>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { FunctionComponent, MouseEvent } from 'react';
|
|
2
|
+
import { OverlayProps } from '../overlay/overlay';
|
|
3
|
+
interface PopupProps extends OverlayProps {
|
|
4
|
+
position: string;
|
|
5
|
+
transition: string;
|
|
6
|
+
style: React.CSSProperties;
|
|
7
|
+
popClass: string;
|
|
8
|
+
closeable: boolean;
|
|
9
|
+
closeIconPosition: string;
|
|
10
|
+
closeIcon: string;
|
|
11
|
+
destroyOnClose: boolean;
|
|
12
|
+
overlay: boolean;
|
|
13
|
+
round: boolean;
|
|
14
|
+
onOpen: () => void;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
onClick: (e: MouseEvent) => void;
|
|
17
|
+
onOpened: (e: HTMLElement) => void;
|
|
18
|
+
onClosed: (e: HTMLElement) => void;
|
|
19
|
+
onClickOverlay: (e: MouseEvent) => void;
|
|
20
|
+
onClickCloseIcon: (e: MouseEvent) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const Popup: FunctionComponent<Partial<PopupProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
export interface PriceProps {
|
|
3
|
+
price: number | string;
|
|
4
|
+
needSymbol: boolean;
|
|
5
|
+
symbol: string;
|
|
6
|
+
decimalDigits: number;
|
|
7
|
+
thousands: boolean;
|
|
8
|
+
className: string;
|
|
9
|
+
style: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export declare const Price: FunctionComponent<Partial<PriceProps>>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { FunctionComponent, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export declare type ProgressSize = 'small' | 'base' | 'large';
|
|
3
|
+
export declare type TextType = 'icon' | 'text';
|
|
4
|
+
export interface ProgressProps {
|
|
5
|
+
className: string;
|
|
6
|
+
style: CSSProperties;
|
|
7
|
+
isShowPercentage: boolean;
|
|
8
|
+
percentage: number;
|
|
9
|
+
fillColor: string;
|
|
10
|
+
strokeColor: string;
|
|
11
|
+
strokeWidth: string;
|
|
12
|
+
size: ProgressSize;
|
|
13
|
+
textColor: string;
|
|
14
|
+
textWidth: string;
|
|
15
|
+
showText: boolean;
|
|
16
|
+
textInside: boolean;
|
|
17
|
+
textBackground: string;
|
|
18
|
+
textType: TextType;
|
|
19
|
+
status: boolean;
|
|
20
|
+
iconName: string;
|
|
21
|
+
iconColor: string;
|
|
22
|
+
iconSize: string;
|
|
23
|
+
rounded: boolean | string;
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export declare const Progress: FunctionComponent<Partial<ProgressProps> & React.HTMLAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { FunctionComponent, MouseEventHandler } from 'react';
|
|
2
|
+
import RadioGroup from '../radiogroup';
|
|
3
|
+
declare type Shape = 'button' | 'round';
|
|
4
|
+
declare type Position = 'right' | 'left';
|
|
5
|
+
export interface RadioProps {
|
|
6
|
+
className: string;
|
|
7
|
+
style: React.CSSProperties;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
shape: Shape;
|
|
11
|
+
textPosition: Position;
|
|
12
|
+
value: string | number | boolean;
|
|
13
|
+
iconName: string;
|
|
14
|
+
iconActiveName: string;
|
|
15
|
+
iconSize: string | number;
|
|
16
|
+
onChange: MouseEventHandler<HTMLDivElement>;
|
|
17
|
+
}
|
|
18
|
+
export declare const Radio: FunctionComponent<Partial<RadioProps> & React.HTMLAttributes<HTMLDivElement>> & {
|
|
19
|
+
RadioGroup: typeof RadioGroup;
|
|
20
|
+
};
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare type Position = 'left' | 'right';
|
|
3
|
+
declare type Direction = 'horizontal' | 'vertical';
|
|
4
|
+
export interface RadioGroupProps {
|
|
5
|
+
value: string | number | boolean | null;
|
|
6
|
+
textPosition: Position;
|
|
7
|
+
direction: Direction;
|
|
8
|
+
onChange: (value: string | number | boolean) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<Partial<RadioGroupProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & React.RefAttributes<unknown>>;
|
|
11
|
+
export {};
|