@tarojs/components 4.0.0-beta.1 → 4.0.0-beta.11
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/LICENSE +14 -0
- package/dist/cjs/{index-5a8221ec.js → index-5b029707.js} +208 -2
- package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +23 -9865
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +26 -6
- package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/components/audio/style/index.css +1 -4
- package/dist/collection/components/button/style/index.css +1 -160
- package/dist/collection/components/canvas/style/index.css +1 -6
- package/dist/collection/components/checkbox/style/index.css +1 -39
- package/dist/collection/components/cover-image/style/index.css +1 -5
- package/dist/collection/components/cover-view/style/cover-view.css +1 -3
- package/dist/collection/components/icon/icon.js +10 -0
- package/dist/collection/components/icon/style/index.css +1 -0
- package/dist/collection/components/image/image.js +4 -3
- package/dist/collection/components/image/style/index.css +1 -73
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input/style/index.css +1 -0
- package/dist/collection/components/movable-area/area.css +1 -6
- package/dist/collection/components/movable-area/movable-area.js +2 -1
- package/dist/collection/components/movable-area/view.css +1 -8
- package/dist/collection/components/navigator/style/index.css +1 -3
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper.js +4 -2
- package/dist/collection/components/switch/style/index.css +1 -10
- package/dist/collection/components/switch/switch.js +12 -12
- package/dist/collection/components/tabbar/style/index.css +1 -53
- package/dist/collection/components/tabbar/tabbar.js +1 -1
- package/dist/collection/components/text/style/index.css +1 -26
- package/dist/collection/components/textarea/style/index.css +1 -22
- package/dist/collection/components/textarea/textarea.js +11 -0
- package/dist/collection/components/video/style/index.css +1 -327
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/index.js +10 -0
- package/dist/components/index3.js +6 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-icon-core.js +3 -0
- package/dist/components/taro-image-core.js +5 -4
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +3 -2
- package/dist/components/taro-movable-view-core.js +1 -1
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.js +4 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/taro-swiper-core.js +9 -9855
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -77
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +11 -2
- package/dist/components/taro-video-core.js +2 -2
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
- package/dist/esm/{index-6bb77c5f.js → index-ab3c86da.js} +208 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +3 -3
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +5 -2
- package/dist/esm/taro-image-core.entry.js +7 -6
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +3 -3
- package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +4 -4
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +10 -9856
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +6 -79
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +5 -5
- package/dist/esm/taro-view-core.entry.js +3 -3
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-a00a7418.js +1 -0
- package/dist/esm-es5/index-ab3c86da.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/hydrate/index.d.ts +217 -0
- package/dist/hydrate/index.js +13054 -0
- package/dist/hydrate/package.json +6 -0
- package/dist/taro-components/{p-028ad016.system.entry.js → p-0044961f.system.entry.js} +1 -1
- package/dist/taro-components/p-010faa87.system.js +1 -0
- package/dist/taro-components/{p-2713fc1a.entry.js → p-0132e803.entry.js} +1 -1
- package/dist/taro-components/{p-1411cd2e.system.entry.js → p-019124ae.system.entry.js} +1 -1
- package/dist/taro-components/{p-d86ce035.system.entry.js → p-04f97133.system.entry.js} +1 -1
- package/dist/taro-components/{p-e487b8b4.system.entry.js → p-069ae782.system.entry.js} +1 -1
- package/dist/taro-components/p-0d8a0733.entry.js +1 -0
- package/dist/taro-components/p-0f95be56.entry.js +1 -0
- package/dist/taro-components/p-0fe4660a.entry.js +1 -0
- package/dist/taro-components/{p-32b41faa.system.entry.js → p-1087c51a.system.entry.js} +1 -1
- package/dist/taro-components/{p-bbbe728b.system.entry.js → p-11c0dc59.system.entry.js} +1 -1
- package/dist/taro-components/p-12b967fd.entry.js +1 -0
- package/dist/taro-components/{p-20e38f24.entry.js → p-13bf0192.entry.js} +1 -1
- package/dist/taro-components/{p-1ac9622e.entry.js → p-13e80cf7.entry.js} +1 -1
- package/dist/taro-components/{p-8b604d50.entry.js → p-15c1ce79.entry.js} +1 -1
- package/dist/taro-components/p-16705ca9.entry.js +1 -0
- package/dist/taro-components/{p-6d7165eb.system.entry.js → p-194ace03.system.entry.js} +1 -1
- package/dist/taro-components/p-19b04eb7.entry.js +1 -0
- package/dist/taro-components/{p-346162b4.system.entry.js → p-19b993d8.system.entry.js} +1 -1
- package/dist/taro-components/p-1b1034dc.entry.js +1 -0
- package/dist/taro-components/p-22f6316e.entry.js +1 -0
- package/dist/taro-components/p-25636983.entry.js +1 -0
- package/dist/taro-components/{p-8c93f3e0.entry.js → p-28bc8a48.entry.js} +1 -1
- package/dist/taro-components/p-2b70c348.system.js +2 -0
- package/dist/taro-components/p-2d382d0e.entry.js +1 -0
- package/dist/taro-components/p-2ebc3182.entry.js +1 -0
- package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
- package/dist/taro-components/p-317c4cad.entry.js +1 -0
- package/dist/taro-components/{p-b94dcfbe.entry.js → p-342a2594.entry.js} +1 -1
- package/dist/taro-components/p-3430d520.system.entry.js +1 -0
- package/dist/taro-components/{p-c968ea43.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
- package/dist/taro-components/{p-aae38fe8.entry.js → p-370cc947.entry.js} +1 -1
- package/dist/taro-components/p-378b504c.entry.js +1 -0
- package/dist/taro-components/{p-23f15c7b.entry.js → p-37bc198d.entry.js} +1 -1
- package/dist/taro-components/{p-4cc2e06e.entry.js → p-39b3e34d.entry.js} +1 -1
- package/dist/taro-components/{p-039e15a4.system.entry.js → p-3a0a05fd.system.entry.js} +1 -1
- package/dist/taro-components/{p-7ad33036.system.entry.js → p-3a3d40de.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c1d9be8.entry.js → p-3d423adc.entry.js} +1 -1
- package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-3eedb8d7.system.entry.js} +1 -1
- package/dist/taro-components/p-43932446.entry.js +1 -0
- package/dist/taro-components/{p-25fffbbe.system.entry.js → p-46ccb393.system.entry.js} +1 -1
- package/dist/taro-components/p-477f8fbd.system.js +1 -0
- package/dist/taro-components/p-4824cc94.entry.js +1 -0
- package/dist/taro-components/p-48a84765.entry.js +1 -0
- package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
- package/dist/taro-components/p-4a748c0d.entry.js +1 -0
- package/dist/taro-components/{p-9c566d7d.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
- package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
- package/dist/taro-components/{p-70c81b7e.entry.js → p-4fcb258a.entry.js} +1 -1
- package/dist/taro-components/{p-0780df27.entry.js → p-4ffae31c.entry.js} +1 -1
- package/dist/taro-components/{p-a7ecb97a.entry.js → p-50b21f94.entry.js} +1 -1
- package/dist/taro-components/p-518a9b73.entry.js +1 -0
- package/dist/taro-components/{p-401743f9.system.entry.js → p-52ad5213.system.entry.js} +1 -1
- package/dist/taro-components/p-54b24e2f.system.entry.js +1 -0
- package/dist/taro-components/{p-cd34c92e.system.entry.js → p-55934653.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3c69a95.system.entry.js → p-562eace8.system.entry.js} +1 -1
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
- package/dist/taro-components/{p-f43ba9ed.entry.js → p-5b4de079.entry.js} +1 -1
- package/dist/taro-components/{p-feddde29.system.entry.js → p-5b86e66b.system.entry.js} +1 -1
- package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
- package/dist/taro-components/{p-dea67974.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-f8970571.entry.js → p-5dbabb65.entry.js} +1 -1
- package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
- package/dist/taro-components/{p-747bdbaa.system.entry.js → p-618ee593.system.entry.js} +1 -1
- package/dist/taro-components/p-62df5526.entry.js +1 -0
- package/dist/taro-components/{p-1eb875d0.system.entry.js → p-66029061.system.entry.js} +1 -1
- package/dist/taro-components/{p-443fe754.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
- package/dist/taro-components/{p-3708575b.system.entry.js → p-6c06b440.system.entry.js} +1 -1
- package/dist/taro-components/{p-680ba5a1.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
- package/dist/taro-components/p-6f3187bc.entry.js +1 -0
- package/dist/taro-components/p-6f8926e3.entry.js +1 -0
- package/dist/taro-components/{p-c7679d57.entry.js → p-756aa971.entry.js} +1 -1
- package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
- package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
- package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
- package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
- package/dist/taro-components/p-7e3f0837.entry.js +1 -0
- package/dist/taro-components/p-7f3d9184.entry.js +1 -0
- package/dist/taro-components/p-80228985.entry.js +1 -0
- package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-80fa706c.system.entry.js} +1 -1
- package/dist/taro-components/{p-58d410c6.system.entry.js → p-829157b1.system.entry.js} +1 -1
- package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
- package/dist/taro-components/{p-72d7fae0.system.entry.js → p-82d52f00.system.entry.js} +1 -1
- package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
- package/dist/taro-components/{p-7dee8f07.system.entry.js → p-8b7e37c9.system.entry.js} +1 -1
- package/dist/taro-components/{p-7de7d96c.entry.js → p-8bde1f48.entry.js} +1 -1
- package/dist/taro-components/{p-475f9ed3.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
- package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
- package/dist/taro-components/{p-6f45f110.entry.js → p-92b7b545.entry.js} +1 -1
- package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-93b39a89.system.entry.js} +1 -1
- package/dist/taro-components/{p-f094089c.system.entry.js → p-970a4199.system.entry.js} +1 -1
- package/dist/taro-components/{p-810b9a86.system.entry.js → p-97177863.system.entry.js} +1 -1
- package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
- package/dist/taro-components/{p-3967311b.system.entry.js → p-9f3e0019.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c95795d.entry.js → p-a0f42e7f.entry.js} +1 -1
- package/dist/taro-components/p-a2f848cc.entry.js +1 -0
- package/dist/taro-components/{p-6c48d884.entry.js → p-a6790f39.entry.js} +1 -1
- package/dist/taro-components/{p-635fe530.system.entry.js → p-a997cf7c.system.entry.js} +1 -1
- package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
- package/dist/taro-components/{p-d8f78d99.system.entry.js → p-adee7f1b.system.entry.js} +1 -1
- package/dist/taro-components/{p-fff30a48.entry.js → p-ae99551a.entry.js} +1 -1
- package/dist/taro-components/p-aed23034.system.entry.js +1 -0
- package/dist/taro-components/p-b259a558.system.entry.js +1 -0
- package/dist/taro-components/{p-48c52124.entry.js → p-b3129dec.entry.js} +1 -1
- package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
- package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
- package/dist/taro-components/p-b4707cdd.entry.js +1 -0
- package/dist/taro-components/{p-18ea7e10.system.entry.js → p-b655e854.system.entry.js} +1 -1
- package/dist/taro-components/{p-1d3ed211.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
- package/dist/taro-components/{p-e769cea4.system.entry.js → p-ba241824.system.entry.js} +1 -1
- package/dist/taro-components/p-baea6a63.entry.js +1 -0
- package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
- package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
- package/dist/taro-components/p-c0d93f74.entry.js +1 -0
- package/dist/taro-components/{p-eab8a6b0.entry.js → p-c0f16127.entry.js} +1 -1
- package/dist/taro-components/{p-222573ad.entry.js → p-c253be9f.entry.js} +1 -1
- package/dist/taro-components/p-c2da52a5.entry.js +1 -0
- package/dist/taro-components/p-c58627f4.entry.js +1 -0
- package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
- package/dist/taro-components/{p-178cb282.system.entry.js → p-cee51d71.system.entry.js} +1 -1
- package/dist/taro-components/{p-0b6e9013.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
- package/dist/taro-components/p-d184903b.entry.js +1 -0
- package/dist/taro-components/{p-d81577b8.system.entry.js → p-d1a095bd.system.entry.js} +1 -1
- package/dist/taro-components/p-d29a59cd.entry.js +1 -0
- package/dist/taro-components/p-da4c4cad.entry.js +1 -0
- package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
- package/dist/taro-components/{p-345cb56f.entry.js → p-dc366f18.entry.js} +1 -1
- package/dist/taro-components/p-dd7a128d.js +2 -0
- package/dist/taro-components/{p-f232cf02.entry.js → p-dde26531.entry.js} +1 -1
- package/dist/taro-components/{p-abd51173.system.entry.js → p-de1d495a.system.entry.js} +1 -1
- package/dist/taro-components/p-e23769c4.entry.js +1 -0
- package/dist/taro-components/{p-e7232d54.system.entry.js → p-e2694a79.system.entry.js} +1 -1
- package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
- package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-e41ed824.system.entry.js} +1 -1
- package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
- package/dist/taro-components/{p-edb9e04e.system.entry.js → p-e5b43c80.system.entry.js} +1 -1
- package/dist/taro-components/{p-46a9adcf.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
- package/dist/taro-components/p-e8753c5c.entry.js +1 -0
- package/dist/taro-components/p-ead6e57b.entry.js +1 -0
- package/dist/taro-components/p-ec00e517.entry.js +1 -0
- package/dist/taro-components/p-ed081b3d.entry.js +1 -0
- package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-eda34d91.system.entry.js} +1 -1
- package/dist/taro-components/{p-8d797863.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
- package/dist/taro-components/{p-3d7626a9.system.entry.js → p-f0056aca.system.entry.js} +1 -1
- package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
- package/dist/taro-components/p-f662c928.entry.js +1 -0
- package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
- package/dist/taro-components/{p-c2259653.system.entry.js → p-f782ee74.system.entry.js} +1 -1
- package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
- package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
- package/dist/taro-components/{p-67dcb636.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
- package/dist/taro-components/{p-fbc2b53e.entry.js → p-fe8ee676.entry.js} +1 -1
- package/dist/taro-components/{p-03538d40.system.entry.js → p-ffaac078.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.css +1 -5
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/lib/react/react-component-lib/createComponent.js +3 -2
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
- package/lib/react/react-component-lib/utils/attachProps.js +85 -9
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/lib/vue2/components-loader.js +1 -1
- package/package.json +16 -15
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +9 -9
- package/types/Canvas.d.ts +11 -11
- package/types/Checkbox.d.ts +8 -8
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/CoverImage.d.ts +4 -4
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +1 -1
- package/types/Form.d.ts +4 -4
- package/types/Icon.d.ts +4 -4
- package/types/Image.d.ts +8 -8
- package/types/Input.d.ts +22 -17
- package/types/Label.d.ts +2 -2
- package/types/Map.d.ts +0 -2
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +1 -1
- package/types/Navigator.d.ts +8 -8
- package/types/PageMeta.d.ts +6 -0
- package/types/Picker.d.ts +49 -28
- package/types/PickerView.d.ts +6 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -7
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +5 -5
- package/types/ScrollView.d.ts +13 -13
- package/types/ShareElement.d.ts +1 -0
- package/types/Slider.d.ts +18 -13
- package/types/Slot.d.ts +1 -1
- package/types/Swiper.d.ts +18 -20
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +4 -4
- package/types/Textarea.d.ts +18 -13
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +6 -1
- package/dist/cjs/hls-dfcad743.js +0 -25797
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25795
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/hls-268fc25b.js +0 -25795
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-268fc25b.js +0 -1
- package/dist/esm-es5/index-6bb77c5f.js +0 -2
- package/dist/esm-es5/index-d1b03e47.js +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00113225.system.entry.js +0 -1
- package/dist/taro-components/p-0030841b.system.js +0 -1
- package/dist/taro-components/p-0910d414.entry.js +0 -1
- package/dist/taro-components/p-0e37fb54.entry.js +0 -1
- package/dist/taro-components/p-11c962b9.entry.js +0 -1
- package/dist/taro-components/p-139d64f1.entry.js +0 -1
- package/dist/taro-components/p-175edd50.entry.js +0 -1
- package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
- package/dist/taro-components/p-1f88349b.entry.js +0 -1
- package/dist/taro-components/p-2145dccb.entry.js +0 -1
- package/dist/taro-components/p-215881b4.entry.js +0 -1
- package/dist/taro-components/p-2339a4d3.entry.js +0 -1
- package/dist/taro-components/p-277892fe.system.entry.js +0 -1
- package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
- package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
- package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
- package/dist/taro-components/p-332dc867.entry.js +0 -1
- package/dist/taro-components/p-333305e3.entry.js +0 -1
- package/dist/taro-components/p-35160fd2.entry.js +0 -1
- package/dist/taro-components/p-37edf3f6.entry.js +0 -1
- package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
- package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
- package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
- package/dist/taro-components/p-4d89b685.entry.js +0 -1
- package/dist/taro-components/p-527c55ca.entry.js +0 -1
- package/dist/taro-components/p-550c350a.entry.js +0 -1
- package/dist/taro-components/p-5b028f1b.js +0 -1
- package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
- package/dist/taro-components/p-6df6fd58.entry.js +0 -1
- package/dist/taro-components/p-6f5e162d.entry.js +0 -1
- package/dist/taro-components/p-70bd0541.entry.js +0 -1
- package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-79b675c8.entry.js +0 -1
- package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
- package/dist/taro-components/p-7ba17143.entry.js +0 -1
- package/dist/taro-components/p-7be1f603.entry.js +0 -1
- package/dist/taro-components/p-7e90dfef.js +0 -2
- package/dist/taro-components/p-817b319c.system.entry.js +0 -1
- package/dist/taro-components/p-907d2fe0.entry.js +0 -1
- package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
- package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
- package/dist/taro-components/p-9e788d33.entry.js +0 -1
- package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
- package/dist/taro-components/p-a3dad439.entry.js +0 -1
- package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
- package/dist/taro-components/p-a54735cb.entry.js +0 -1
- package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
- package/dist/taro-components/p-a744e7aa.entry.js +0 -1
- package/dist/taro-components/p-b1977132.entry.js +0 -1
- package/dist/taro-components/p-b2ad9709.entry.js +0 -1
- package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
- package/dist/taro-components/p-b69bcd43.entry.js +0 -1
- package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
- package/dist/taro-components/p-bb454378.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bd6574cf.entry.js +0 -1
- package/dist/taro-components/p-bfea77f9.entry.js +0 -1
- package/dist/taro-components/p-c0a59843.entry.js +0 -1
- package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
- package/dist/taro-components/p-cd0f3444.entry.js +0 -1
- package/dist/taro-components/p-cdd48677.system.js +0 -2
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
- package/dist/taro-components/p-d55f870d.entry.js +0 -1
- package/dist/taro-components/p-daabfc6e.entry.js +0 -1
- package/dist/taro-components/p-dda03c84.entry.js +0 -1
- package/dist/taro-components/p-deff0bb8.entry.js +0 -1
- package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
- package/dist/taro-components/p-e82e16a1.entry.js +0 -1
- package/dist/taro-components/p-ee4da4db.system.js +0 -1
- package/dist/taro-components/p-f003caad.entry.js +0 -1
- package/dist/taro-components/p-f111303f.entry.js +0 -1
- package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
- package/dist/taro-components/p-fbec1f96.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -373
- package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
- /package/dist/cjs/{index-b8c435ee.js → index-f6805218.js} +0 -0
- /package/dist/esm/{index-a74b6944.js → index-c3e4004b.js} +0 -0
- /package/dist/esm-es5/{index-a74b6944.js → index-c3e4004b.js} +0 -0
- /package/dist/taro-components/{p-34de4101.system.js → p-2ec68968.system.js} +0 -0
- /package/dist/taro-components/{p-19f218e6.js → p-de951a46.js} +0 -0
- /package/lib/vue2/node_modules/.pnpm/{vue-fragment@1.6.0_vue@2.7.15 → registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14}/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -0
- /package/lib/vue2/node_modules/.pnpm/{vue-fragment@1.6.0_vue@2.7.15 → registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14}/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -0
package/types/Textarea.d.ts
CHANGED
|
@@ -2,11 +2,16 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface TextareaProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 输入框的内容
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
|
+
/** 设置 React 非受控输入框的初始内容
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
|
+
* @unique
|
|
11
|
+
*/
|
|
12
|
+
defaultValue?: string
|
|
8
13
|
/** 输入框为空时占位符
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
10
15
|
*/
|
|
11
16
|
placeholder?: string
|
|
12
17
|
/** 指定 placeholder 的样式
|
|
@@ -20,27 +25,27 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
20
25
|
placeholderClass?: string
|
|
21
26
|
/** 是否禁用
|
|
22
27
|
* @default false
|
|
23
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
24
29
|
*/
|
|
25
30
|
disabled?: boolean
|
|
26
31
|
/** 最大输入长度,设置为 -1 的时候不限制最大长度
|
|
27
32
|
* @default 140
|
|
28
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
33
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
29
34
|
*/
|
|
30
35
|
maxlength?: number
|
|
31
36
|
/** 自动聚焦,拉起键盘
|
|
32
37
|
* @default false
|
|
33
|
-
* @supported weapp, swan, qq, jd, h5
|
|
38
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
34
39
|
*/
|
|
35
40
|
autoFocus?: boolean
|
|
36
41
|
/** 获取焦点
|
|
37
42
|
* @default false
|
|
38
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
39
44
|
*/
|
|
40
45
|
focus?: boolean
|
|
41
46
|
/** 是否自动增高,设置 autoHeight 时,style.height不生效
|
|
42
47
|
* @default false
|
|
43
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
48
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
44
49
|
*/
|
|
45
50
|
autoHeight?: boolean
|
|
46
51
|
/** 如果 Textarea 是在一个 `position:fixed` 的区域,需要显示指定属性 fixed 为 true
|
|
@@ -89,7 +94,7 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
89
94
|
*/
|
|
90
95
|
disableDefaultPadding?: boolean
|
|
91
96
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
92
|
-
* @supported h5
|
|
97
|
+
* @supported h5, harmony_hybrid
|
|
93
98
|
*/
|
|
94
99
|
nativeProps?: Record<string, unknown>
|
|
95
100
|
/** 设置键盘右下角按钮的文字
|
|
@@ -124,11 +129,11 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
124
129
|
*/
|
|
125
130
|
adjustKeyboardTo?: boolean
|
|
126
131
|
/** 输入框聚焦时触发
|
|
127
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
132
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
128
133
|
*/
|
|
129
134
|
onFocus?: CommonEventFunction<TextareaProps.onFocusEventDetail>
|
|
130
135
|
/** 输入框失去焦点时触发
|
|
131
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
136
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
132
137
|
*/
|
|
133
138
|
onBlur?: CommonEventFunction<TextareaProps.onBlurEventDetail>
|
|
134
139
|
/** 输入框行数变化时调用
|
|
@@ -138,11 +143,11 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
138
143
|
/** 当键盘输入时,触发 input 事件
|
|
139
144
|
*
|
|
140
145
|
* **onInput 处理函数的返回值并不会反映到 textarea 上**
|
|
141
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
146
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
142
147
|
*/
|
|
143
148
|
onInput?: CommonEventFunction<TextareaProps.onInputEventDetail>
|
|
144
149
|
/** 点击完成时, 触发 confirm 事件
|
|
145
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
150
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
146
151
|
*/
|
|
147
152
|
onConfirm?: CommonEventFunction<TextareaProps.onConfirmEventDetail>
|
|
148
153
|
/** 键盘高度发生变化的时候触发此事件
|
|
@@ -189,7 +194,7 @@ declare namespace TextareaProps {
|
|
|
189
194
|
}
|
|
190
195
|
/** 多行输入框。该组件是原生组件,使用时请注意相关限制
|
|
191
196
|
* @classification forms
|
|
192
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
197
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
193
198
|
* @example_react
|
|
194
199
|
* ```tsx
|
|
195
200
|
* export default class PageView extends Component {
|
package/types/Video.d.ts
CHANGED
|
@@ -2,49 +2,49 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface VideoProps extends StandardProps {
|
|
4
4
|
/** 要播放视频的资源地址
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** 指定视频时长
|
|
9
|
-
* @supported weapp, alipay, qq, h5, rn, harmony
|
|
9
|
+
* @supported weapp, alipay, qq, h5, rn, harmony, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
duration?: number
|
|
12
12
|
/** 是否显示默认播放控件(播放/暂停按钮、播放进度、时间)
|
|
13
13
|
* @default true
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
controls?: boolean
|
|
17
17
|
/** 弹幕列表
|
|
18
|
-
* @supported weapp, swan, qq, h5
|
|
18
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
19
19
|
*/
|
|
20
20
|
danmuList?: any[]
|
|
21
21
|
/** 是否显示弹幕按钮,只在初始化时有效,不能动态变更
|
|
22
22
|
* @default false
|
|
23
|
-
* @supported weapp, swan, qq, h5
|
|
23
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
24
24
|
*/
|
|
25
25
|
danmuBtn?: boolean
|
|
26
26
|
/** 是否展示弹幕,只在初始化时有效,不能动态变更
|
|
27
27
|
* @default false
|
|
28
|
-
* @supported weapp, swan, qq, h5
|
|
28
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
29
29
|
*/
|
|
30
30
|
enableDanmu?: boolean
|
|
31
31
|
/** 是否自动播放
|
|
32
32
|
* @default false
|
|
33
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
33
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
34
34
|
*/
|
|
35
35
|
autoplay?: boolean
|
|
36
36
|
/** 是否循环播放
|
|
37
37
|
* @default false
|
|
38
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
38
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
39
39
|
*/
|
|
40
40
|
loop?: boolean
|
|
41
41
|
/** 是否静音播放
|
|
42
42
|
* @default false
|
|
43
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
44
44
|
*/
|
|
45
45
|
muted?: boolean
|
|
46
46
|
/** 指定视频初始播放位置
|
|
47
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
48
48
|
*/
|
|
49
49
|
initialTime?: number
|
|
50
50
|
/** 在非全屏模式下,是否开启亮度与音量调节手势
|
|
@@ -58,41 +58,41 @@ interface VideoProps extends StandardProps {
|
|
|
58
58
|
direction?: number
|
|
59
59
|
/** 若不设置,宽度大于240时才会显示
|
|
60
60
|
* @default true
|
|
61
|
-
* @supported weapp, swan, qq, h5
|
|
61
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
62
62
|
*/
|
|
63
63
|
showProgress?: boolean
|
|
64
64
|
/** 是否显示全屏按钮
|
|
65
65
|
* @default true
|
|
66
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
66
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
67
67
|
*/
|
|
68
68
|
showFullscreenBtn?: boolean
|
|
69
69
|
/** 是否显示视频底部控制栏的播放按钮
|
|
70
70
|
* @default true
|
|
71
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
71
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
72
72
|
*/
|
|
73
73
|
showPlayBtn?: boolean
|
|
74
74
|
/** 是否显示视频中间的播放按钮
|
|
75
75
|
* @default true
|
|
76
|
-
* @supported weapp, alipay, swan, qq, h5, rn
|
|
76
|
+
* @supported weapp, alipay, swan, qq, h5, rn, harmony_hybrid
|
|
77
77
|
*/
|
|
78
78
|
showCenterPlayBtn?: boolean
|
|
79
79
|
/** 是否开启控制进度的手势
|
|
80
80
|
* @default true
|
|
81
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
81
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
82
82
|
*/
|
|
83
83
|
enableProgressGesture?: boolean
|
|
84
84
|
/** 当视频大小与 video 容器大小不一致时,视频的表现形式
|
|
85
85
|
* @default "contain"
|
|
86
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony
|
|
86
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
87
87
|
*/
|
|
88
88
|
objectFit?: keyof VideoProps.ObjectFit
|
|
89
89
|
/** 视频封面的图片网络资源地址,如果 controls 属性值为 false 则设置 poster 无效
|
|
90
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
90
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
91
91
|
*/
|
|
92
92
|
poster?: string
|
|
93
93
|
/** 是否显示静音按钮
|
|
94
94
|
* @default false
|
|
95
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
95
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
96
96
|
*/
|
|
97
97
|
showMuteBtn?: boolean
|
|
98
98
|
/** 视频的标题,全屏时在顶部展示
|
|
@@ -109,7 +109,7 @@ interface VideoProps extends StandardProps {
|
|
|
109
109
|
playBtnPosition?: keyof VideoProps.PlayBtnPosition
|
|
110
110
|
/** 是否开启播放手势,即双击切换播放/暂停
|
|
111
111
|
* @default false
|
|
112
|
-
* @supported weapp, swan, tt, qq, h5
|
|
112
|
+
* @supported weapp, swan, tt, qq, h5, harmony_hybrid
|
|
113
113
|
*/
|
|
114
114
|
enablePlayGesture?: boolean
|
|
115
115
|
/** 当跳转到其它小程序页面时,是否自动暂停本页面的视频
|
|
@@ -124,12 +124,12 @@ interface VideoProps extends StandardProps {
|
|
|
124
124
|
autoPauseIfOpenNative?: boolean
|
|
125
125
|
/** 在非全屏模式下,是否开启亮度与音量调节手势(同 `page-gesture`)
|
|
126
126
|
* @default false
|
|
127
|
-
* @supported weapp, swan, tt, h5
|
|
127
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
128
128
|
*/
|
|
129
129
|
vslideGesture?: boolean
|
|
130
130
|
/** 在全屏模式下,是否开启亮度与音量调节手势
|
|
131
131
|
* @default true
|
|
132
|
-
* @supported weapp, swan, tt, h5
|
|
132
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
133
133
|
*/
|
|
134
134
|
vslideGestureInFullscreen?: boolean
|
|
135
135
|
/** 视频前贴广告单元ID,更多详情可参考开放能力[视频前贴广告](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/ad/video-patch-ad.html)
|
|
@@ -187,7 +187,7 @@ interface VideoProps extends StandardProps {
|
|
|
187
187
|
*/
|
|
188
188
|
backgroundPoster?: string
|
|
189
189
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
190
|
-
* @supported h5
|
|
190
|
+
* @supported h5, harmony_hybrid
|
|
191
191
|
*/
|
|
192
192
|
nativeProps?: Record<string, unknown>
|
|
193
193
|
/** 是否展示底部进度条
|
|
@@ -298,24 +298,24 @@ interface VideoProps extends StandardProps {
|
|
|
298
298
|
*/
|
|
299
299
|
definition?: string
|
|
300
300
|
/** 当开始/继续播放时触发 play 事件
|
|
301
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
301
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
302
302
|
*/
|
|
303
303
|
onPlay?: CommonEventFunction
|
|
304
304
|
/** 当暂停播放时触发 pause 事件
|
|
305
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
305
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
306
306
|
*/
|
|
307
307
|
onPause?: CommonEventFunction
|
|
308
308
|
/** 当播放到末尾时触发 ended 事件
|
|
309
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
309
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
310
310
|
*/
|
|
311
311
|
onEnded?: CommonEventFunction
|
|
312
312
|
/** 播放进度变化时触发, 触发频率 250ms 一次
|
|
313
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
313
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
314
314
|
*/
|
|
315
315
|
onTimeUpdate?: CommonEventFunction<VideoProps.onTimeUpdateEventDetail>
|
|
316
316
|
/** 当视频进入和退出全屏时触发
|
|
317
317
|
*
|
|
318
|
-
* @supported alipay, h5, rn, harmony
|
|
318
|
+
* @supported alipay, h5, rn, harmony, harmony_hybrid
|
|
319
319
|
*/
|
|
320
320
|
onFullscreenChange?: CommonEventFunction<VideoProps.onFullscreenChangeEventDetail>
|
|
321
321
|
/** 视频出现缓冲时触发
|
|
@@ -324,11 +324,11 @@ interface VideoProps extends StandardProps {
|
|
|
324
324
|
*/
|
|
325
325
|
onWaiting?: CommonEventFunction<VideoProps.onWaitingEventDetail>
|
|
326
326
|
/** 视频播放出错时触发
|
|
327
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
327
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
328
328
|
*/
|
|
329
329
|
onError?: CommonEventFunction
|
|
330
330
|
/** 加载进度变化时触发,只支持一段加载
|
|
331
|
-
* @supported weapp, tt, qq, h5, harmony
|
|
331
|
+
* @supported weapp, tt, qq, h5, harmony, harmony_hybrid
|
|
332
332
|
*/
|
|
333
333
|
onProgress?: CommonEventFunction<VideoProps.onProgressEventDetail>
|
|
334
334
|
/** 视频元数据加载完成时触发
|
|
@@ -557,7 +557,7 @@ declare namespace VideoProps {
|
|
|
557
557
|
}
|
|
558
558
|
/** 视频。相关api:Taro.createVideoContext
|
|
559
559
|
* @classification media
|
|
560
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
560
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
561
561
|
* @example_react
|
|
562
562
|
* ```tsx
|
|
563
563
|
* export default class PageView extends Component {
|
package/types/View.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CommonEventFunction, StandardProps } from './common'
|
|
|
4
4
|
interface ViewProps extends StandardProps {
|
|
5
5
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
6
6
|
* @default none
|
|
7
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
7
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
8
8
|
* @rn 由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。
|
|
9
9
|
*/
|
|
10
10
|
hoverClass?: string
|
|
@@ -20,12 +20,12 @@ interface ViewProps extends StandardProps {
|
|
|
20
20
|
hoverStopPropagation?: boolean
|
|
21
21
|
/** 按住后多久出现点击态,单位毫秒
|
|
22
22
|
* @default 50
|
|
23
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
23
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
24
24
|
*/
|
|
25
25
|
hoverStartTime?: number
|
|
26
26
|
/** 手指松开后点击态保留时间,单位毫秒
|
|
27
27
|
* @default 400
|
|
28
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
29
29
|
*/
|
|
30
30
|
hoverStayTime?: number
|
|
31
31
|
/** 是否阻止区域内滚动页面。
|
|
@@ -117,7 +117,7 @@ interface ViewProps extends StandardProps {
|
|
|
117
117
|
}
|
|
118
118
|
/** 视图容器
|
|
119
119
|
* @classification viewContainer
|
|
120
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
120
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
121
121
|
* @example_react
|
|
122
122
|
* ```tsx
|
|
123
123
|
* export default class PageView extends Component {
|
package/types/WebView.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface WebViewProps extends StandardProps {
|
|
4
4
|
/** webview 指向网页的链接。可打开关联的公众号的文章,其它网页需登录小程序管理后台配置业务域名。
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** webview 的进度条颜色
|
|
@@ -19,11 +19,11 @@ interface WebViewProps extends StandardProps {
|
|
|
19
19
|
*/
|
|
20
20
|
onMessage?: CommonEventFunction<WebViewProps.onMessageEventDetail>
|
|
21
21
|
/** 网页加载成功时候触发此事件。e.detail = { src }
|
|
22
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
22
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
23
23
|
*/
|
|
24
24
|
onLoad?: CommonEventFunction<WebViewProps.onLoadEventDetail>
|
|
25
25
|
/** 网页加载失败的时候触发此事件。e.detail = { src }
|
|
26
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
26
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
onError?: CommonEventFunction<WebViewProps.onErrorEventDetail>
|
|
29
29
|
}
|
|
@@ -43,7 +43,7 @@ declare namespace WebViewProps {
|
|
|
43
43
|
}
|
|
44
44
|
/** web-view 组件是一个可以用来承载网页的容器,会自动铺满整个小程序页面。个人类型与海外类型的小程序暂不支持使用。
|
|
45
45
|
* @classification open
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
47
47
|
* @example_react
|
|
48
48
|
* ```tsx
|
|
49
49
|
* class App extends Component {
|
package/types/common.d.ts
CHANGED
|
@@ -30,7 +30,12 @@ export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> =
|
|
|
30
30
|
* 是否开启编译模式
|
|
31
31
|
* @supported weapp, harmony
|
|
32
32
|
*/
|
|
33
|
-
compileMode?: boolean
|
|
33
|
+
compileMode?: boolean | string
|
|
34
|
+
/**
|
|
35
|
+
* 自定义容器组件的方向
|
|
36
|
+
* @supported harmony
|
|
37
|
+
*/
|
|
38
|
+
harmonyDirection?: 'row' | 'column'
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
export interface FormItemProps {
|