@tarojs/components 3.6.22 → 3.6.23-nightly.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +14 -0
- package/dist/cjs/{index-e751dfe3.js → index-dbbe9dde.js} +3 -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 +2 -3
- 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 +4 -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 +3 -3
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -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 +2 -2
- 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 +13 -85
- 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 +24 -4
- 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 +0 -1
- 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/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/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/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 +1 -2
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +1 -1
- 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 +1 -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 +3 -76
- 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-980f930f.js → index-486e187e.js} +3 -1
- 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 +2 -3
- 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 +4 -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 +3 -3
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -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 +2 -2
- 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 +8 -9854
- 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 +4 -77
- 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 +3 -3
- 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-486e187e.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/taro-components/{p-ebc7b6fc.entry.js → p-00d05751.entry.js} +1 -1
- package/dist/taro-components/p-014534ca.system.entry.js +1 -0
- package/dist/taro-components/p-015b3025.system.entry.js +1 -0
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-040f15f2.system.entry.js} +1 -1
- package/dist/taro-components/p-06cf6b18.system.entry.js +1 -0
- package/dist/taro-components/{p-a74c970c.system.entry.js → p-07e94301.system.entry.js} +1 -1
- package/dist/taro-components/{p-5e91398a.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
- package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
- package/dist/taro-components/p-101f49dd.entry.js +1 -0
- package/dist/taro-components/p-10d3c795.system.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-114f89d6.system.entry.js} +1 -1
- package/dist/taro-components/p-1182efdd.system.entry.js +1 -0
- package/dist/taro-components/{p-2da9c8fd.entry.js → p-128f9eb0.entry.js} +1 -1
- package/dist/taro-components/p-16954dd6.entry.js +1 -0
- package/dist/taro-components/{p-208e438c.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
- package/dist/taro-components/{p-e598f47b.entry.js → p-1ced140d.entry.js} +1 -1
- package/dist/taro-components/{p-fbb2446e.entry.js → p-1d25f4e3.entry.js} +1 -1
- package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
- package/dist/taro-components/{p-de96861c.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
- package/dist/taro-components/p-2059cbc0.system.entry.js +1 -0
- package/dist/taro-components/{p-15624788.system.entry.js → p-205a0692.system.entry.js} +1 -1
- package/dist/taro-components/p-25bbf4aa.system.entry.js +1 -0
- package/dist/taro-components/{p-b07cd197.system.entry.js → p-26545e4e.system.entry.js} +1 -1
- package/dist/taro-components/p-28bf8423.system.entry.js +1 -0
- package/dist/taro-components/{p-3004e71a.system.entry.js → p-290fd78b.system.entry.js} +1 -1
- package/dist/taro-components/p-2bbdbe9c.system.entry.js +1 -0
- package/dist/taro-components/{p-a4951dd6.entry.js → p-2d6d4850.entry.js} +1 -1
- package/dist/taro-components/{p-9fe49bab.entry.js → p-2dea35fd.entry.js} +1 -1
- package/dist/taro-components/p-2f403f7f.entry.js +1 -0
- package/dist/taro-components/{p-a2d590ad.entry.js → p-2f683899.entry.js} +1 -1
- package/dist/taro-components/p-30623371.entry.js +1 -0
- package/dist/taro-components/{p-a2141e85.system.entry.js → p-34933f34.system.entry.js} +1 -1
- package/dist/taro-components/{p-92d04741.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
- package/dist/taro-components/p-35cca0f9.entry.js +1 -0
- package/dist/taro-components/p-35e96af8.system.entry.js +1 -0
- package/dist/taro-components/{p-f78823a1.entry.js → p-37593ce7.entry.js} +1 -1
- package/dist/taro-components/p-387f300a.entry.js +1 -0
- package/dist/taro-components/p-3afbae36.entry.js +1 -0
- package/dist/taro-components/p-3bd04d38.entry.js +1 -0
- package/dist/taro-components/{p-21c07cb3.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
- package/dist/taro-components/{p-ce303d12.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
- package/dist/taro-components/p-3dadbe4c.system.entry.js +1 -0
- package/dist/taro-components/{p-ef322936.entry.js → p-3e9bf572.entry.js} +1 -1
- package/dist/taro-components/{p-8ccaf5e8.entry.js → p-445810cb.entry.js} +1 -1
- package/dist/taro-components/p-449f60fa.entry.js +1 -0
- package/dist/taro-components/p-46661961.entry.js +1 -0
- package/dist/taro-components/{p-124ac21f.entry.js → p-48e5ddaa.entry.js} +1 -1
- package/dist/taro-components/{p-43720011.entry.js → p-4928ee37.entry.js} +1 -1
- package/dist/taro-components/{p-84958ace.entry.js → p-4cbd26dd.entry.js} +1 -1
- package/dist/taro-components/p-4e4ac1fe.system.entry.js +1 -0
- package/dist/taro-components/{p-d2e0b15c.entry.js → p-4e4cc6ab.entry.js} +1 -1
- package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
- package/dist/taro-components/{p-a6e2dd48.entry.js → p-510a69b3.entry.js} +1 -1
- package/dist/taro-components/p-5307637c.system.entry.js +1 -0
- package/dist/taro-components/{p-5870248f.system.entry.js → p-54941baf.system.entry.js} +1 -1
- package/dist/taro-components/{p-0e3b37e9.entry.js → p-55be4215.entry.js} +1 -1
- package/dist/taro-components/{p-c913b635.system.entry.js → p-578f19ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-a90221ab.system.entry.js → p-581e844d.system.entry.js} +1 -1
- package/dist/taro-components/p-5a1bb2d3.system.entry.js +1 -0
- package/dist/taro-components/{p-1cf16dfa.entry.js → p-5bb60b5e.entry.js} +1 -1
- package/dist/taro-components/p-600d9210.entry.js +1 -0
- package/dist/taro-components/p-6066e633.entry.js +1 -0
- package/dist/taro-components/p-61cb688a.entry.js +1 -0
- package/dist/taro-components/{p-5994d9f2.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
- package/dist/taro-components/p-64f5abce.entry.js +1 -0
- package/dist/taro-components/p-67ff5a50.system.entry.js +1 -0
- package/dist/taro-components/p-69e747dc.entry.js +1 -0
- package/dist/taro-components/{p-7e6b54cb.system.js → p-6bbb639a.system.js} +2 -2
- package/dist/taro-components/p-6cf765b7.system.entry.js +1 -0
- package/dist/taro-components/{p-f2c86846.entry.js → p-6e9d509a.entry.js} +1 -1
- package/dist/taro-components/p-6f027b85.entry.js +1 -0
- package/dist/taro-components/p-72b954ce.system.entry.js +1 -0
- package/dist/taro-components/p-74129eac.entry.js +1 -0
- package/dist/taro-components/{p-473afc8e.system.entry.js → p-74b1be20.system.entry.js} +1 -1
- package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-758e3319.system.entry.js} +1 -1
- package/dist/taro-components/{p-b5b30493.system.entry.js → p-75b927b4.system.entry.js} +1 -1
- package/dist/taro-components/p-764cd497.entry.js +1 -0
- package/dist/taro-components/p-7b6f6526.system.entry.js +1 -0
- package/dist/taro-components/p-7bd1345f.entry.js +1 -0
- package/dist/taro-components/{p-be96eb59.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
- package/dist/taro-components/{p-6cde54e5.system.entry.js → p-7f084a29.system.entry.js} +1 -1
- package/dist/taro-components/{p-600e89cc.system.entry.js → p-80106cc2.system.entry.js} +1 -1
- package/dist/taro-components/{p-76996fcb.entry.js → p-80278124.entry.js} +1 -1
- package/dist/taro-components/p-83699a53.entry.js +1 -0
- package/dist/taro-components/{p-38ee526a.entry.js → p-846aa5ec.entry.js} +1 -1
- package/dist/taro-components/{p-e740320c.entry.js → p-861834ce.entry.js} +1 -1
- package/dist/taro-components/{p-d1756770.entry.js → p-870e0d9d.entry.js} +1 -1
- package/dist/taro-components/{p-69c43a81.entry.js → p-87422c88.entry.js} +1 -1
- package/dist/taro-components/p-88c5f0eb.system.entry.js +1 -0
- package/dist/taro-components/{p-22bf7daf.entry.js → p-8b70fd1d.entry.js} +1 -1
- package/dist/taro-components/{p-0e8199b7.entry.js → p-8d437a7f.entry.js} +1 -1
- package/dist/taro-components/{p-519fbe84.system.entry.js → p-8df92f90.system.entry.js} +1 -1
- package/dist/taro-components/p-8e45a207.system.entry.js +1 -0
- package/dist/taro-components/p-92daad3f.system.entry.js +1 -0
- package/dist/taro-components/{p-7726b789.system.entry.js → p-940d41e9.system.entry.js} +1 -1
- package/dist/taro-components/{p-78e4805e.entry.js → p-95058ee1.entry.js} +1 -1
- package/dist/taro-components/p-95e88e0f.entry.js +1 -0
- package/dist/taro-components/{p-b1d2b575.system.entry.js → p-9623f19c.system.entry.js} +1 -1
- package/dist/taro-components/p-96d3e67b.system.entry.js +1 -0
- package/dist/taro-components/{p-0ec2e88a.entry.js → p-970623a1.entry.js} +1 -1
- package/dist/taro-components/{p-24d9836e.entry.js → p-9890bb7b.entry.js} +1 -1
- package/dist/taro-components/{p-9137dcab.js → p-98b1fc13.js} +2 -2
- package/dist/taro-components/{p-8d990f1c.system.entry.js → p-9937cf08.system.entry.js} +1 -1
- package/dist/taro-components/p-9a5bfa2a.system.entry.js +1 -0
- package/dist/taro-components/{p-bc541cd8.entry.js → p-9b4e5578.entry.js} +1 -1
- package/dist/taro-components/{p-065a10d7.entry.js → p-9e138188.entry.js} +1 -1
- package/dist/taro-components/p-a197cbae.system.entry.js +1 -0
- package/dist/taro-components/p-a2a70581.system.entry.js +1 -0
- package/dist/taro-components/p-a61e195b.entry.js +1 -0
- package/dist/taro-components/p-a972aa1d.system.js +1 -0
- package/dist/taro-components/p-ae128150.entry.js +1 -0
- package/dist/taro-components/p-b04cdd9a.system.entry.js +1 -0
- package/dist/taro-components/p-b259b4ba.system.entry.js +1 -0
- package/dist/taro-components/{p-f2235cbb.entry.js → p-b317674b.entry.js} +1 -1
- package/dist/taro-components/p-b3b57aab.entry.js +1 -0
- package/dist/taro-components/p-b6694eb3.system.entry.js +1 -0
- package/dist/taro-components/p-b8858af9.system.entry.js +1 -0
- package/dist/taro-components/{p-da3db323.entry.js → p-b8e2465a.entry.js} +1 -1
- package/dist/taro-components/{p-c99e14b5.entry.js → p-b9f19e77.entry.js} +1 -1
- package/dist/taro-components/{p-bf0e0394.entry.js → p-ba195b39.entry.js} +1 -1
- package/dist/taro-components/{p-1b789738.system.entry.js → p-ba50342b.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-bb712e32.entry.js} +1 -1
- package/dist/taro-components/p-bb87373d.entry.js +1 -0
- package/dist/taro-components/{p-9ea4f297.entry.js → p-bba220a9.entry.js} +1 -1
- package/dist/taro-components/{p-f420680c.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
- package/dist/taro-components/p-bdd7b5a9.entry.js +1 -0
- package/dist/taro-components/p-bdee068b.system.entry.js +1 -0
- package/dist/taro-components/p-bf0d2c21.system.entry.js +1 -0
- package/dist/taro-components/{p-aa04f605.entry.js → p-c0f710ae.entry.js} +1 -1
- package/dist/taro-components/p-c11fcb25.system.entry.js +1 -0
- package/dist/taro-components/p-cbc19d63.entry.js +1 -0
- package/dist/taro-components/p-d03136d7.system.entry.js +1 -0
- package/dist/taro-components/p-d36f8c4f.entry.js +1 -0
- package/dist/taro-components/p-d60b66c2.entry.js +1 -0
- package/dist/taro-components/p-d78ab2de.system.entry.js +1 -0
- package/dist/taro-components/{p-36d4407e.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
- package/dist/taro-components/p-dc6db06e.system.entry.js +1 -0
- package/dist/taro-components/{p-f1304456.entry.js → p-dc98486d.entry.js} +1 -1
- package/dist/taro-components/p-dca5e9ee.entry.js +1 -0
- package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
- package/dist/taro-components/p-e09e8b51.system.entry.js +1 -0
- package/dist/taro-components/{p-8ca82a56.entry.js → p-e1c2e636.entry.js} +1 -1
- package/dist/taro-components/{p-30805bdf.entry.js → p-e25c2a22.entry.js} +1 -1
- package/dist/taro-components/{p-b641e598.entry.js → p-e26c787b.entry.js} +1 -1
- package/dist/taro-components/p-e457a83a.system.entry.js +1 -0
- package/dist/taro-components/{p-29638de3.entry.js → p-e7d82e00.entry.js} +1 -1
- package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-ebf38559.system.entry.js} +1 -1
- package/dist/taro-components/p-eeb6aeb5.system.entry.js +1 -0
- package/dist/taro-components/p-ef0aff29.entry.js +1 -0
- package/dist/taro-components/p-f554428f.system.entry.js +1 -0
- package/dist/taro-components/p-fd1d75db.entry.js +1 -0
- package/dist/taro-components/{p-ccc64042.system.entry.js → p-ff7dfc5c.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/tabbar/tabbar.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -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 +10 -9
- 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 -12
- 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 +19 -18
- 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/Picker.d.ts +39 -27
- package/types/PickerView.d.ts +2 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -11
- 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 +15 -14
- package/types/Slot.d.ts +1 -1
- package/types/Swiper.d.ts +18 -18
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +9 -8
- package/types/Text.d.ts +4 -4
- package/types/Textarea.d.ts +15 -14
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- 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/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00ed4bbb.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-044adaab.system.entry.js +0 -1
- package/dist/taro-components/p-06671eee.entry.js +0 -1
- package/dist/taro-components/p-085076c5.system.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-4fc40739.entry.js +0 -1
- package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
- package/dist/taro-components/p-5e4dc8e0.entry.js +0 -1
- package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
- package/dist/taro-components/p-64eb91f7.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-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-862b38b9.entry.js +0 -1
- 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-a5a51112.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-ad9b04e0.entry.js +0 -1
- package/dist/taro-components/p-b0fc8752.entry.js +0 -1
- package/dist/taro-components/p-b201ff38.entry.js +0 -1
- package/dist/taro-components/p-bd4ed8b1.entry.js +0 -1
- package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
- package/dist/taro-components/p-c0080d83.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-d550aea9.system.entry.js +0 -1
- package/dist/taro-components/p-d867e333.system.entry.js +0 -1
- package/dist/taro-components/p-d9dcc6c6.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-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-f23cfdc8.entry.js +0 -1
- package/dist/taro-components/p-f4d86882.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/ScrollView.d.ts
CHANGED
|
@@ -3,40 +3,40 @@ import { BaseEventOrigFunction, CommonEventFunction, StandardProps } from './com
|
|
|
3
3
|
interface ScrollViewProps extends StandardProps {
|
|
4
4
|
/** 允许横向滚动
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
* @rn 二选一
|
|
8
8
|
*/
|
|
9
9
|
scrollX?: boolean
|
|
10
10
|
/** 允许纵向滚动
|
|
11
11
|
* @default false
|
|
12
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
12
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
13
13
|
* @rn 二选一
|
|
14
14
|
*/
|
|
15
15
|
scrollY?: boolean
|
|
16
16
|
/** 距顶部/左边多远时(单位px),触发 scrolltoupper 事件
|
|
17
17
|
* @default 50
|
|
18
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
18
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
19
19
|
*/
|
|
20
20
|
upperThreshold?: number
|
|
21
21
|
/** 距底部/右边多远时(单位px),触发 scrolltolower 事件
|
|
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
|
lowerThreshold?: number
|
|
26
26
|
/** 设置竖向滚动条位置
|
|
27
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
27
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
28
28
|
*/
|
|
29
29
|
scrollTop?: number
|
|
30
30
|
/** 设置横向滚动条位置
|
|
31
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
31
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
32
32
|
*/
|
|
33
33
|
scrollLeft?: number
|
|
34
34
|
/** 值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
35
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
36
36
|
*/
|
|
37
37
|
scrollIntoView?: string
|
|
38
38
|
/** 在设置滚动条位置时使用动画过渡
|
|
39
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
39
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
40
40
|
* @default false
|
|
41
41
|
*/
|
|
42
42
|
scrollWithAnimation?: boolean
|
|
@@ -172,7 +172,7 @@ interface ScrollViewProps extends StandardProps {
|
|
|
172
172
|
* center - 目标节点显示在视口中间
|
|
173
173
|
* end - 目标节点显示在视口结束处
|
|
174
174
|
* nearest - 目标节点在就近的视口边缘显示,若节点已在视口内则不触发滚动
|
|
175
|
-
* @supported weapp, h5
|
|
175
|
+
* @supported weapp, h5, harmony_hybrid
|
|
176
176
|
* @default 'start'
|
|
177
177
|
*/
|
|
178
178
|
scrollIntoViewAlignment?: 'start' | 'center' | 'end' | 'nearest'
|
|
@@ -212,15 +212,15 @@ interface ScrollViewProps extends StandardProps {
|
|
|
212
212
|
*/
|
|
213
213
|
refresherTwoLevelPinned?: boolean
|
|
214
214
|
/** 滚动到顶部/左边,会触发 scrolltoupper 事件
|
|
215
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
215
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
216
216
|
*/
|
|
217
217
|
onScrollToUpper?: CommonEventFunction
|
|
218
218
|
/** 滚动到底部/右边,会触发 scrolltolower 事件
|
|
219
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
219
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
220
220
|
*/
|
|
221
221
|
onScrollToLower?: CommonEventFunction
|
|
222
222
|
/** 滚动时触发
|
|
223
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
223
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
224
224
|
*/
|
|
225
225
|
onScroll?: BaseEventOrigFunction<ScrollViewProps.onScrollDetail>
|
|
226
226
|
/** 滚动开始事件
|
|
@@ -337,7 +337,7 @@ declare namespace ScrollViewProps {
|
|
|
337
337
|
* H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。
|
|
338
338
|
* 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。
|
|
339
339
|
* @classification viewContainer
|
|
340
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
340
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
341
341
|
* @example_react
|
|
342
342
|
* ```tsx
|
|
343
343
|
* export default class PageView extends Component {
|
package/types/ShareElement.d.ts
CHANGED
package/types/Slider.d.ts
CHANGED
|
@@ -3,31 +3,32 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
|
3
3
|
interface SliderProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 最小值
|
|
5
5
|
* @default 0
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
min?: number
|
|
9
9
|
/** 最大值
|
|
10
10
|
* @default 100
|
|
11
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
11
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
12
12
|
*/
|
|
13
13
|
max?: number
|
|
14
14
|
/** 步长,取值必须大于 0,并且可被(max - min)整除
|
|
15
15
|
* @default 1
|
|
16
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
16
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
17
17
|
*/
|
|
18
18
|
step?: number
|
|
19
19
|
/** 是否禁用
|
|
20
20
|
* @default false
|
|
21
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
21
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
22
22
|
*/
|
|
23
23
|
disabled?: boolean
|
|
24
24
|
/** 当前取值
|
|
25
25
|
* @default 0
|
|
26
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
26
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
value?: number
|
|
29
29
|
/** 设置 React 非受控状态下的初始取值
|
|
30
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
30
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
31
|
+
* @unique
|
|
31
32
|
*/
|
|
32
33
|
defaultValue?: string
|
|
33
34
|
/** 背景条的颜色(请使用 backgroundColor)
|
|
@@ -42,27 +43,27 @@ interface SliderProps extends StandardProps, FormItemProps {
|
|
|
42
43
|
selectedColor?: string
|
|
43
44
|
/** 已选择的颜色
|
|
44
45
|
* @default "#1aad19"
|
|
45
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
46
47
|
*/
|
|
47
48
|
activeColor?: string
|
|
48
49
|
/** 背景条的颜色
|
|
49
50
|
* @default "#e9e9e9"
|
|
50
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
51
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
51
52
|
*/
|
|
52
53
|
backgroundColor?: string
|
|
53
54
|
/** 滑块的大小,取值范围为 12 - 28
|
|
54
55
|
* @default 28
|
|
55
|
-
* @supported weapp, swan, tt, qq, jd, h5
|
|
56
|
+
* @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
|
|
56
57
|
*/
|
|
57
58
|
blockSize?: number
|
|
58
59
|
/** 滑块的颜色
|
|
59
60
|
* @default "#ffffff"
|
|
60
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
61
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
61
62
|
*/
|
|
62
63
|
blockColor?: string
|
|
63
64
|
/** 是否显示当前 value
|
|
64
65
|
* @default false
|
|
65
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
66
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
66
67
|
*/
|
|
67
68
|
showValue?: boolean
|
|
68
69
|
/** 组件名字,用于表单提交获取数据。
|
|
@@ -88,11 +89,11 @@ interface SliderProps extends StandardProps, FormItemProps {
|
|
|
88
89
|
*/
|
|
89
90
|
ariaLabel?: string
|
|
90
91
|
/** 完成一次拖动后触发的事件
|
|
91
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
92
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
92
93
|
*/
|
|
93
94
|
onChange?: CommonEventFunction<SliderProps.onChangeEventDetail>
|
|
94
95
|
/** 拖动过程中触发的事件
|
|
95
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
96
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
96
97
|
*/
|
|
97
98
|
onChanging?: CommonEventFunction<SliderProps.onChangeEventDetail>
|
|
98
99
|
}
|
|
@@ -103,7 +104,7 @@ declare namespace SliderProps {
|
|
|
103
104
|
}
|
|
104
105
|
/** 滑动选择器
|
|
105
106
|
* @classification forms
|
|
106
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
107
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
107
108
|
* @example_react
|
|
108
109
|
* ```tsx
|
|
109
110
|
* export default class PageView extends Component {
|
package/types/Slot.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface SlotProps extends StandardProps {
|
|
|
17
17
|
|
|
18
18
|
/** slot 插槽
|
|
19
19
|
* @classification viewContainer
|
|
20
|
-
* @supported weapp, swan, alipay, tt, jd, qq, harmony, h5
|
|
20
|
+
* @supported weapp, swan, alipay, tt, jd, qq, harmony, h5, harmony_hybrid
|
|
21
21
|
* @example
|
|
22
22
|
* ```tsx
|
|
23
23
|
* import { Slot, View, Text } from '@tarojs/components'
|
package/types/Swiper.d.ts
CHANGED
|
@@ -3,63 +3,63 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
interface SwiperProps extends StandardProps {
|
|
4
4
|
/** 是否显示面板指示点
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
indicatorDots?: boolean
|
|
9
9
|
/** 指示点颜色
|
|
10
10
|
* @default "rgba(0, 0, 0, .3)"
|
|
11
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
11
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
12
12
|
*/
|
|
13
13
|
indicatorColor?: string
|
|
14
14
|
/** 当前选中的指示点颜色
|
|
15
15
|
* @default "#000000"
|
|
16
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
16
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
17
17
|
*/
|
|
18
18
|
indicatorActiveColor?: string
|
|
19
19
|
/** 是否自动切换
|
|
20
20
|
* @default false
|
|
21
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
21
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
22
22
|
*/
|
|
23
23
|
autoplay?: boolean
|
|
24
24
|
/** 当前所在滑块的 index
|
|
25
25
|
* @default 0
|
|
26
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
26
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
current?: number
|
|
29
29
|
/** 当前所在滑块的 item-id ,不能与 current 被同时指定
|
|
30
30
|
* @default ""
|
|
31
|
-
* @supported tt
|
|
31
|
+
* @supported swan, tt, qq, jd
|
|
32
32
|
* @weapp deprecated
|
|
33
33
|
*/
|
|
34
34
|
currentItemId?: string
|
|
35
35
|
/** 自动切换时间间隔
|
|
36
36
|
* @default 5000
|
|
37
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
37
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
38
38
|
*/
|
|
39
39
|
interval?: number
|
|
40
40
|
/** 滑动动画时长
|
|
41
41
|
* @default 500
|
|
42
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
42
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
43
43
|
*/
|
|
44
44
|
duration?: number
|
|
45
45
|
/** 是否采用衔接滑动
|
|
46
46
|
* @default false
|
|
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
|
circular?: boolean
|
|
50
50
|
/** 滑动方向是否为纵向
|
|
51
51
|
* @default false
|
|
52
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
52
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
53
53
|
*/
|
|
54
54
|
vertical?: boolean
|
|
55
55
|
/** 前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值
|
|
56
56
|
* @default "0px"
|
|
57
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
57
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
58
58
|
*/
|
|
59
59
|
previousMargin?: string
|
|
60
60
|
/** 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值
|
|
61
61
|
* @default "0px"
|
|
62
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
62
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
63
63
|
*/
|
|
64
64
|
nextMargin?: string
|
|
65
65
|
/**
|
|
@@ -70,7 +70,7 @@ interface SwiperProps extends StandardProps {
|
|
|
70
70
|
snapToEdge?: boolean
|
|
71
71
|
/** 同时显示的滑块数量
|
|
72
72
|
* @default 1
|
|
73
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
73
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
74
74
|
*/
|
|
75
75
|
displayMultipleItems?: number
|
|
76
76
|
/** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
|
|
@@ -90,12 +90,12 @@ interface SwiperProps extends StandardProps {
|
|
|
90
90
|
disableTouch?: boolean
|
|
91
91
|
/** 是否启用缩放
|
|
92
92
|
* @default false
|
|
93
|
-
* @supported h5
|
|
93
|
+
* @supported h5, harmony_hybrid
|
|
94
94
|
*/
|
|
95
95
|
zoom?: boolean
|
|
96
96
|
/** 是否开启全屏
|
|
97
97
|
* @default false
|
|
98
|
-
* @supported h5
|
|
98
|
+
* @supported h5, harmony_hybrid
|
|
99
99
|
*/
|
|
100
100
|
full?: boolean
|
|
101
101
|
/** swiper-item 可见时的 class。
|
|
@@ -152,7 +152,7 @@ interface SwiperProps extends StandardProps {
|
|
|
152
152
|
*/
|
|
153
153
|
cacheExtent?: number
|
|
154
154
|
/** current 改变时会触发 change 事件
|
|
155
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
155
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
156
156
|
*/
|
|
157
157
|
onChange?: CommonEventFunction<SwiperProps.onChangeEventDetail>
|
|
158
158
|
/** swiper-item 的位置发生改变时会触发 transition 事件
|
|
@@ -160,7 +160,7 @@ interface SwiperProps extends StandardProps {
|
|
|
160
160
|
*/
|
|
161
161
|
onTransition?: CommonEventFunction<SwiperProps.onTransitionEventDetail>
|
|
162
162
|
/** 动画结束时会触发 animationfinish 事件
|
|
163
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
163
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
164
164
|
*/
|
|
165
165
|
onAnimationFinish?: SwiperProps['onChange']
|
|
166
166
|
/** 动画结束时会触发 animationEnd 事件
|
|
@@ -215,7 +215,7 @@ declare namespace SwiperProps {
|
|
|
215
215
|
/** 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。
|
|
216
216
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
217
217
|
* @classification viewContainer
|
|
218
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
218
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
219
219
|
* @example_react
|
|
220
220
|
* ```tsx
|
|
221
221
|
* class App extends Component {
|
package/types/SwiperItem.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface SwiperItemProps extends StandardProps {
|
|
4
4
|
/** 该 swiper-item 的标识符
|
|
5
|
-
* @supported weapp, swan, tt, jd, h5, rn
|
|
5
|
+
* @supported weapp, swan, tt, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
itemId?: string
|
|
8
8
|
/** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
|
|
@@ -19,7 +19,7 @@ interface SwiperItemProps extends StandardProps {
|
|
|
19
19
|
/** 仅可放置在 swiper 组件中,宽高自动设置为100%
|
|
20
20
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
21
21
|
* @classification viewContainer
|
|
22
|
-
* @supported weapp, alipay, swan, tt, jd, h5, rn, harmony
|
|
22
|
+
* @supported weapp, alipay, swan, tt, jd, h5, rn, harmony, harmony_hybrid
|
|
23
23
|
* @example_react
|
|
24
24
|
* ```tsx
|
|
25
25
|
* class App extends Component {
|
package/types/Switch.d.ts
CHANGED
|
@@ -3,30 +3,31 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
|
3
3
|
interface SwitchProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 是否选中
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
checked?: boolean
|
|
9
9
|
/** 设置在 React 非受控状态下,当前是否选中
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
11
|
+
* @unique
|
|
11
12
|
*/
|
|
12
13
|
defaultChecked?: boolean
|
|
13
14
|
/** 是否禁用
|
|
14
15
|
* @default false
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
16
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
16
17
|
*/
|
|
17
18
|
disabled?: boolean
|
|
18
19
|
/** 样式,有效值:switch, checkbox
|
|
19
20
|
* @default "switch"
|
|
20
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
21
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
21
22
|
*/
|
|
22
23
|
type?: 'switch' | 'checkbox'
|
|
23
24
|
/** switch 的颜色,同 css 的 color
|
|
24
25
|
* @default "#04BE02"
|
|
25
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
26
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
26
27
|
*/
|
|
27
28
|
color?: string
|
|
28
29
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
29
|
-
* @supported h5
|
|
30
|
+
* @supported h5, harmony_hybrid
|
|
30
31
|
*/
|
|
31
32
|
nativeProps?: Record<string, unknown>
|
|
32
33
|
/** 组件名字,用于表单提交获取数据。
|
|
@@ -43,7 +44,7 @@ interface SwitchProps extends StandardProps, FormItemProps {
|
|
|
43
44
|
*/
|
|
44
45
|
ariaLabel?: string
|
|
45
46
|
/** checked 改变时触发 change 事件
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
47
48
|
*/
|
|
48
49
|
onChange?: CommonEventFunction<SwitchProps.onChangeEventDetail>
|
|
49
50
|
}
|
|
@@ -88,7 +89,7 @@ declare namespace SwitchProps {
|
|
|
88
89
|
* </view>
|
|
89
90
|
* </template>
|
|
90
91
|
* ```
|
|
91
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
92
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
92
93
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
|
|
93
94
|
*/
|
|
94
95
|
declare const Switch: ComponentType<SwitchProps>
|
package/types/Text.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ import { StandardProps } from './common'
|
|
|
3
3
|
interface TextProps extends StandardProps {
|
|
4
4
|
/** 文本是否可选
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
selectable?: boolean
|
|
9
9
|
/** 文本是否可选,该属性会使文本节点显示为 inline-block
|
|
10
10
|
* @default false
|
|
11
|
-
* @supported weapp, h5
|
|
11
|
+
* @supported weapp, h5, harmony_hybrid
|
|
12
12
|
*/
|
|
13
13
|
userSelect?: boolean
|
|
14
14
|
/** 显示连续空格
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
space?: keyof TextProps.TSpace
|
|
18
18
|
/** 是否解码
|
|
@@ -43,7 +43,7 @@ declare namespace TextProps {
|
|
|
43
43
|
}
|
|
44
44
|
/** 文本
|
|
45
45
|
* @classification base
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
47
47
|
* @example_react
|
|
48
48
|
* ```tsx
|
|
49
49
|
* export default class PageView extends Component {
|
package/types/Textarea.d.ts
CHANGED
|
@@ -2,15 +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
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
8
|
/** 设置 React 非受控输入框的初始内容
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
|
+
* @unique
|
|
10
11
|
*/
|
|
11
12
|
defaultValue?: string
|
|
12
13
|
/** 输入框为空时占位符
|
|
13
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
14
15
|
*/
|
|
15
16
|
placeholder?: string
|
|
16
17
|
/** 指定 placeholder 的样式
|
|
@@ -24,27 +25,27 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
24
25
|
placeholderClass?: string
|
|
25
26
|
/** 是否禁用
|
|
26
27
|
* @default false
|
|
27
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
28
29
|
*/
|
|
29
30
|
disabled?: boolean
|
|
30
31
|
/** 最大输入长度,设置为 -1 的时候不限制最大长度
|
|
31
32
|
* @default 140
|
|
32
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
33
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
33
34
|
*/
|
|
34
35
|
maxlength?: number
|
|
35
36
|
/** 自动聚焦,拉起键盘
|
|
36
37
|
* @default false
|
|
37
|
-
* @supported weapp, swan, qq, jd, h5
|
|
38
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
38
39
|
*/
|
|
39
40
|
autoFocus?: boolean
|
|
40
41
|
/** 获取焦点
|
|
41
42
|
* @default false
|
|
42
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
43
44
|
*/
|
|
44
45
|
focus?: boolean
|
|
45
46
|
/** 是否自动增高,设置 autoHeight 时,style.height不生效
|
|
46
47
|
* @default false
|
|
47
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
48
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
48
49
|
*/
|
|
49
50
|
autoHeight?: boolean
|
|
50
51
|
/** 如果 Textarea 是在一个 `position:fixed` 的区域,需要显示指定属性 fixed 为 true
|
|
@@ -93,7 +94,7 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
93
94
|
*/
|
|
94
95
|
disableDefaultPadding?: boolean
|
|
95
96
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
96
|
-
* @supported h5
|
|
97
|
+
* @supported h5, harmony_hybrid
|
|
97
98
|
*/
|
|
98
99
|
nativeProps?: Record<string, unknown>
|
|
99
100
|
/** 设置键盘右下角按钮的文字
|
|
@@ -128,11 +129,11 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
128
129
|
*/
|
|
129
130
|
adjustKeyboardTo?: boolean
|
|
130
131
|
/** 输入框聚焦时触发
|
|
131
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
132
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
132
133
|
*/
|
|
133
134
|
onFocus?: CommonEventFunction<TextareaProps.onFocusEventDetail>
|
|
134
135
|
/** 输入框失去焦点时触发
|
|
135
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
136
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
136
137
|
*/
|
|
137
138
|
onBlur?: CommonEventFunction<TextareaProps.onBlurEventDetail>
|
|
138
139
|
/** 输入框行数变化时调用
|
|
@@ -142,11 +143,11 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
142
143
|
/** 当键盘输入时,触发 input 事件
|
|
143
144
|
*
|
|
144
145
|
* **onInput 处理函数的返回值并不会反映到 textarea 上**
|
|
145
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
146
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
146
147
|
*/
|
|
147
148
|
onInput?: CommonEventFunction<TextareaProps.onInputEventDetail>
|
|
148
149
|
/** 点击完成时, 触发 confirm 事件
|
|
149
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
150
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
150
151
|
*/
|
|
151
152
|
onConfirm?: CommonEventFunction<TextareaProps.onConfirmEventDetail>
|
|
152
153
|
/** 键盘高度发生变化的时候触发此事件
|
|
@@ -193,7 +194,7 @@ declare namespace TextareaProps {
|
|
|
193
194
|
}
|
|
194
195
|
/** 多行输入框。该组件是原生组件,使用时请注意相关限制
|
|
195
196
|
* @classification forms
|
|
196
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
197
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
197
198
|
* @example_react
|
|
198
199
|
* ```tsx
|
|
199
200
|
* export default class PageView extends Component {
|