@tarojs/components 4.0.0-beta.0 → 4.0.0-beta.10
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-e751dfe3.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 +2 -2
- 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 +1 -1
- 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 +4 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
- 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 +1 -1
- 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 +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +5 -2
- 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 +3 -3
- 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 +14 -86
- 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 +25 -5
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- 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-980f930f.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 +2 -2
- 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 +1 -1
- 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 +4 -1
- package/dist/esm/taro-image-core.entry.js +6 -5
- 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 +1 -1
- 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 +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +4 -4
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +5 -2
- 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 +3 -3
- 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 +9 -9855
- 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 +5 -78
- 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 +4 -4
- package/dist/esm/taro-view-core.entry.js +2 -2
- 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-0044961f.system.entry.js +1 -0
- package/dist/taro-components/p-010faa87.system.js +1 -0
- package/dist/taro-components/{p-2da9c8fd.entry.js → p-0132e803.entry.js} +1 -1
- package/dist/taro-components/{p-be96eb59.system.entry.js → p-019124ae.system.entry.js} +1 -1
- package/dist/taro-components/p-04f97133.system.entry.js +1 -0
- package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-069ae782.system.entry.js} +1 -1
- package/dist/taro-components/{p-f23cfdc8.entry.js → p-0d8a0733.entry.js} +1 -1
- 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-15624788.system.entry.js → p-1087c51a.system.entry.js} +1 -1
- package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
- package/dist/taro-components/{p-1cf16dfa.entry.js → p-12b967fd.entry.js} +1 -1
- package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
- package/dist/taro-components/{p-ef322936.entry.js → p-13e80cf7.entry.js} +1 -1
- package/dist/taro-components/{p-9ea4f297.entry.js → p-15c1ce79.entry.js} +1 -1
- package/dist/taro-components/{p-00ed4bbb.entry.js → p-16705ca9.entry.js} +1 -1
- package/dist/taro-components/{p-f420680c.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-92d04741.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-d2e0b15c.entry.js → p-28bc8a48.entry.js} +1 -1
- package/dist/taro-components/p-2b70c348.system.js +2 -0
- package/dist/taro-components/{p-64eb91f7.entry.js → p-2d382d0e.entry.js} +1 -1
- package/dist/taro-components/{p-0e8199b7.entry.js → p-2ebc3182.entry.js} +1 -1
- 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-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
- package/dist/taro-components/p-3430d520.system.entry.js +1 -0
- package/dist/taro-components/{p-b07cd197.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
- package/dist/taro-components/{p-29638de3.entry.js → p-370cc947.entry.js} +1 -1
- package/dist/taro-components/p-378b504c.entry.js +1 -0
- package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
- package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
- package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
- package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
- package/dist/taro-components/{p-a4951dd6.entry.js → p-3d423adc.entry.js} +1 -1
- package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
- package/dist/taro-components/{p-84958ace.entry.js → p-43932446.entry.js} +1 -1
- package/dist/taro-components/{p-de96861c.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-e740320c.entry.js → p-49e9b2ff.entry.js} +1 -1
- package/dist/taro-components/{p-c0080d83.entry.js → p-4a748c0d.entry.js} +1 -1
- package/dist/taro-components/{p-b5b30493.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-69c43a81.entry.js → p-4fcb258a.entry.js} +1 -1
- package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
- package/dist/taro-components/{p-a6e2dd48.entry.js → p-50b21f94.entry.js} +1 -1
- package/dist/taro-components/p-518a9b73.entry.js +1 -0
- package/dist/taro-components/{p-085076c5.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-36d4407e.system.entry.js → p-55934653.system.entry.js} +1 -1
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/{p-a2141e85.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
- package/dist/taro-components/{p-22bf7daf.entry.js → p-5b4de079.entry.js} +1 -1
- package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
- package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
- package/dist/taro-components/{p-a74c970c.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
- package/dist/taro-components/{p-a2d590ad.entry.js → p-5f4c6ca5.entry.js} +1 -1
- package/dist/taro-components/{p-5994d9f2.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-600e89cc.system.entry.js → p-66029061.system.entry.js} +1 -1
- package/dist/taro-components/{p-7726b789.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
- package/dist/taro-components/{p-c913b635.system.entry.js → p-6c06b440.system.entry.js} +1 -1
- package/dist/taro-components/{p-5e91398a.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
- package/dist/taro-components/{p-bd4ed8b1.entry.js → p-6f3187bc.entry.js} +1 -1
- package/dist/taro-components/{p-b201ff38.entry.js → p-6f8926e3.entry.js} +1 -1
- package/dist/taro-components/{p-124ac21f.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-f4d86882.entry.js → p-7f3d9184.entry.js} +1 -1
- package/dist/taro-components/{p-065a10d7.entry.js → p-80228985.entry.js} +1 -1
- package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-80fa706c.system.entry.js} +1 -1
- package/dist/taro-components/{p-6cde54e5.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-3004e71a.system.entry.js → p-82d52f00.system.entry.js} +1 -1
- package/dist/taro-components/{p-ad9b04e0.entry.js → p-8a6e93ed.entry.js} +1 -1
- package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
- package/dist/taro-components/{p-f78823a1.entry.js → p-8bde1f48.entry.js} +1 -1
- package/dist/taro-components/{p-519fbe84.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
- package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
- package/dist/taro-components/{p-0ec2e88a.entry.js → p-92b7b545.entry.js} +1 -1
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
- package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-970a4199.system.entry.js} +1 -1
- package/dist/taro-components/{p-ce303d12.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-9f3e0019.system.entry.js +1 -0
- package/dist/taro-components/{p-8ca82a56.entry.js → p-a0f42e7f.entry.js} +1 -1
- package/dist/taro-components/{p-76996fcb.entry.js → p-a2f848cc.entry.js} +1 -1
- package/dist/taro-components/{p-aa04f605.entry.js → p-a6790f39.entry.js} +1 -1
- package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
- package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
- package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
- package/dist/taro-components/{p-bc541cd8.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-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
- package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
- package/dist/taro-components/{p-da3db323.entry.js → p-b43fa9b0.entry.js} +1 -1
- package/dist/taro-components/p-b4707cdd.entry.js +1 -0
- package/dist/taro-components/{p-ccc64042.system.entry.js → p-b655e854.system.entry.js} +1 -1
- package/dist/taro-components/{p-5870248f.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
- package/dist/taro-components/p-ba241824.system.entry.js +1 -0
- package/dist/taro-components/{p-d9dcc6c6.entry.js → p-baea6a63.entry.js} +1 -1
- 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-f2c86846.entry.js → p-c0f16127.entry.js} +1 -1
- package/dist/taro-components/{p-8ccaf5e8.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-cee51d71.system.entry.js +1 -0
- package/dist/taro-components/{p-1b789738.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
- package/dist/taro-components/{p-a5a51112.entry.js → p-d184903b.entry.js} +1 -1
- package/dist/taro-components/p-d1a095bd.system.entry.js +1 -0
- package/dist/taro-components/p-d29a59cd.entry.js +1 -0
- package/dist/taro-components/{p-862b38b9.entry.js → p-da4c4cad.entry.js} +1 -1
- package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
- package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
- package/dist/taro-components/p-dd7a128d.js +2 -0
- package/dist/taro-components/{p-d1756770.entry.js → p-dde26531.entry.js} +1 -1
- package/dist/taro-components/{p-a90221ab.system.entry.js → p-de1d495a.system.entry.js} +1 -1
- package/dist/taro-components/{p-f1304456.entry.js → p-e23769c4.entry.js} +1 -1
- package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
- package/dist/taro-components/{p-fbb2446e.entry.js → p-e2a22cd1.entry.js} +1 -1
- package/dist/taro-components/{p-21c07cb3.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-e5b43c80.system.entry.js +1 -0
- package/dist/taro-components/{p-58cc2e6d.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-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
- package/dist/taro-components/{p-4fc40739.entry.js → p-ec00e517.entry.js} +1 -1
- package/dist/taro-components/p-ed081b3d.entry.js +1 -0
- package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
- package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
- package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
- package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
- package/dist/taro-components/{p-24d9836e.entry.js → p-f662c928.entry.js} +1 -1
- package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
- package/dist/taro-components/{p-473afc8e.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-8d990f1c.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
- package/dist/taro-components/{p-0e3b37e9.entry.js → p-fe8ee676.entry.js} +1 -1
- package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
- 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/package.json +16 -18
- 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-00fec546.js +0 -25673
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25671
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-4018c7ea.js +0 -1
- package/dist/esm-es5/index-980f930f.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-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-06671eee.entry.js +0 -1
- package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
- package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
- package/dist/taro-components/p-0cedad18.system.entry.js +0 -1
- package/dist/taro-components/p-0fe855c6.entry.js +0 -1
- package/dist/taro-components/p-117633e9.system.entry.js +0 -1
- package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f118969.system.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-32e9981a.system.entry.js +0 -1
- package/dist/taro-components/p-357ba712.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3f3abe55.system.entry.js +0 -1
- package/dist/taro-components/p-425c209a.entry.js +0 -1
- package/dist/taro-components/p-43efbf30.js +0 -1
- package/dist/taro-components/p-4cedbe5e.system.entry.js +0 -1
- package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
- package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
- package/dist/taro-components/p-6aa2ac6a.system.entry.js +0 -1
- package/dist/taro-components/p-6b454506.entry.js +0 -1
- package/dist/taro-components/p-72b118b0.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
- package/dist/taro-components/p-7e6b54cb.system.js +0 -2
- package/dist/taro-components/p-9137dcab.js +0 -2
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-99e16df8.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9b0298bf.entry.js +0 -1
- package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-9eeba192.entry.js +0 -1
- package/dist/taro-components/p-9feff958.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.entry.js +0 -1
- package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
- package/dist/taro-components/p-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
- package/dist/taro-components/p-b0fc8752.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
- package/dist/taro-components/p-c99e14b5.entry.js +0 -1
- package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
- package/dist/taro-components/p-cbcaad0e.system.entry.js +0 -1
- package/dist/taro-components/p-d025a415.system.entry.js +0 -1
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
- package/dist/taro-components/p-d5c8380d.system.entry.js +0 -1
- package/dist/taro-components/p-d867e333.system.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-dadd02ca.entry.js +0 -1
- package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
- package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
- package/dist/taro-components/p-e2cd5dd3.system.entry.js +0 -1
- package/dist/taro-components/p-e598f47b.entry.js +0 -1
- package/dist/taro-components/p-e6481671.system.entry.js +0 -1
- package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
- package/dist/taro-components/p-e78775ce.system.js +0 -1
- package/dist/taro-components/p-e976c6c9.system.entry.js +0 -1
- package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.js +0 -1
- package/dist/taro-components/p-eee6e075.system.entry.js +0 -1
- package/dist/taro-components/p-f02b6f70.entry.js +0 -1
- package/dist/taro-components/p-f0340edf.entry.js +0 -1
- package/dist/taro-components/p-f2235cbb.entry.js +0 -1
- package/dist/taro-components/p-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f658de2e.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
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 {
|