@tarojs/components 3.8.0-canary.0 → 4.0.0-alpha.2
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/helper-ad6306f6.js +31 -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 +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +33 -32
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +39 -39
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
- 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 +2 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +15 -3
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -9922
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +14 -98
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- 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 +31 -7
- package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- 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/canvas.js +48 -2
- 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/picker.js +31 -30
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/picker-view-column.js +27 -55
- package/dist/collection/components/picker-view/picker-view.js +14 -2
- 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 +17 -12
- 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/scroll-view.js +18 -2
- 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/snapshot/snapshot.js +11 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper-item.js +54 -33
- package/dist/collection/components/swiper/swiper.js +57 -26
- 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 -49
- package/dist/collection/components/tabbar/tabbar-item.js +1 -1
- package/dist/collection/components/tabbar/tabbar.js +5 -5
- 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 -326
- package/dist/collection/components/video/video.js +6 -2
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/view/view.js +2 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/helper.js +11 -0
- package/dist/collection/utils/index.js +10 -0
- package/dist/components/helper.js +12 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -1
- 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 +17 -3
- 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 +32 -31
- package/dist/components/taro-picker-view-column-core.js +27 -37
- package/dist/components/taro-picker-view-core.js +12 -3
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
- package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +13 -2
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
- package/dist/components/taro-snapshot-core.js +33 -0
- package/dist/components/taro-swiper-core.js +62 -9879
- package/dist/components/taro-swiper-item-core.js +40 -36
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -89
- 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 +8 -4
- package/dist/components/taro-view-core.js +3 -10
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/helper-8a85bb65.js +24 -0
- 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 +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-animation-video-core.entry.js +2 -2
- package/dist/esm/taro-animation-view-core.entry.js +2 -2
- package/dist/esm/taro-ar-camera-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-canvas-core.entry.js +15 -3
- package/dist/esm/taro-channel-live-core.entry.js +2 -2
- package/dist/esm/taro-channel-video-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +2 -2
- package/dist/esm/taro-comment-list-core.entry.js +2 -2
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-follow-swan-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-grid-view-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +2 -2
- package/dist/esm/taro-like-core.entry.js +2 -2
- package/dist/esm/taro-list-view-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-login-core.entry.js +2 -2
- package/dist/esm/taro-lottie-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
- package/dist/esm/taro-native-slot-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +2 -2
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +33 -32
- package/dist/esm/taro-picker-view-column-core_2.entry.js +39 -39
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
- 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 +2 -2
- package/dist/esm/taro-rtc-room-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +15 -3
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-snapshot-core.entry.js +17 -0
- package/dist/esm/taro-sticky-header-core.entry.js +2 -2
- package/dist/esm/taro-sticky-section-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +100 -9914
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +5 -90
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- 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 +10 -6
- package/dist/esm/taro-view-core.entry.js +5 -11
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/helper-8a85bb65.js +1 -0
- 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 -0
- 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 -0
- 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-0132e803.entry.js +1 -0
- package/dist/taro-components/p-019124ae.system.entry.js +1 -0
- package/dist/taro-components/p-04f97133.system.entry.js +1 -0
- package/dist/taro-components/p-069ae782.system.entry.js +1 -0
- package/dist/taro-components/{p-2af69b72.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-1087c51a.system.entry.js +1 -0
- package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
- package/dist/taro-components/p-12b967fd.entry.js +1 -0
- package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
- package/dist/taro-components/p-13e80cf7.entry.js +1 -0
- package/dist/taro-components/p-15c1ce79.entry.js +1 -0
- package/dist/taro-components/p-16705ca9.entry.js +1 -0
- 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-07302165.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-28bc8a48.entry.js +1 -0
- package/dist/taro-components/p-2b70c348.system.js +2 -0
- package/dist/taro-components/p-2d382d0e.entry.js +1 -0
- package/dist/taro-components/p-2ebc3182.entry.js +1 -0
- package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
- package/dist/taro-components/p-317c4cad.entry.js +1 -0
- package/dist/taro-components/{p-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-f11c9c37.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
- package/dist/taro-components/p-370cc947.entry.js +1 -0
- 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-3d423adc.entry.js +1 -0
- package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
- package/dist/taro-components/p-43932446.entry.js +1 -0
- package/dist/taro-components/{p-ab726c20.system.entry.js → p-46ccb393.system.entry.js} +1 -1
- package/dist/taro-components/p-477f8fbd.system.js +1 -0
- package/dist/taro-components/p-4824cc94.entry.js +1 -0
- package/dist/taro-components/p-48a84765.entry.js +1 -0
- package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
- package/dist/taro-components/p-4a748c0d.entry.js +1 -0
- package/dist/taro-components/{p-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-4fcb258a.entry.js +1 -0
- package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
- package/dist/taro-components/p-50b21f94.entry.js +1 -0
- 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-f534057e.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-5a78fbdf.system.entry.js +1 -0
- package/dist/taro-components/p-5b4de079.entry.js +1 -0
- 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-66b0b419.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-5f4c6ca5.entry.js +1 -0
- package/dist/taro-components/{p-9ac947ac.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-66029061.system.entry.js +1 -0
- package/dist/taro-components/p-69e70cd5.system.entry.js +1 -0
- package/dist/taro-components/{p-8201ee31.system.entry.js → p-6c06b440.system.entry.js} +1 -1
- package/dist/taro-components/p-6f1034a6.system.entry.js +1 -0
- package/dist/taro-components/p-6f3187bc.entry.js +1 -0
- package/dist/taro-components/p-6f8926e3.entry.js +1 -0
- package/dist/taro-components/p-756aa971.entry.js +1 -0
- package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
- package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
- package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
- package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
- package/dist/taro-components/p-7e3f0837.entry.js +1 -0
- package/dist/taro-components/p-7f3d9184.entry.js +1 -0
- package/dist/taro-components/p-80228985.entry.js +1 -0
- package/dist/taro-components/{p-227e33fc.system.entry.js → p-80fa706c.system.entry.js} +1 -1
- package/dist/taro-components/{p-ebdd350f.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-5640e9f4.system.entry.js → p-82d52f00.system.entry.js} +1 -1
- package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
- package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
- package/dist/taro-components/p-8bde1f48.entry.js +1 -0
- package/dist/taro-components/p-8c3b906c.system.js +1 -0
- package/dist/taro-components/{p-6d4b7e5c.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-92b7b545.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
- package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-970a4199.system.entry.js} +1 -1
- package/dist/taro-components/p-97177863.system.entry.js +1 -0
- 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-a0f42e7f.entry.js +1 -0
- package/dist/taro-components/p-a2f848cc.entry.js +1 -0
- package/dist/taro-components/p-a6790f39.entry.js +1 -0
- 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-ae99551a.entry.js +1 -0
- 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-b43fa9b0.entry.js +1 -0
- package/dist/taro-components/p-b4707cdd.entry.js +1 -0
- package/dist/taro-components/p-b655e854.system.entry.js +1 -0
- package/dist/taro-components/{p-88d2b41b.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-baea6a63.entry.js +1 -0
- package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
- package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
- package/dist/taro-components/p-c0d93f74.entry.js +1 -0
- package/dist/taro-components/p-c0f16127.entry.js +1 -0
- package/dist/taro-components/p-c253be9f.entry.js +1 -0
- 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-d12b6a84.system.entry.js +1 -0
- package/dist/taro-components/p-d184903b.entry.js +1 -0
- 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-da4c4cad.entry.js +1 -0
- package/dist/taro-components/p-dbdb9de9.js +1 -0
- 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-dde26531.entry.js +1 -0
- package/dist/taro-components/p-de1d495a.system.entry.js +1 -0
- package/dist/taro-components/p-e23769c4.entry.js +1 -0
- package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
- package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
- package/dist/taro-components/{p-898db637.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-81f2ad70.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-ec00e517.entry.js +1 -0
- 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-ee9d6467.system.entry.js +1 -0
- 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-f662c928.entry.js +1 -0
- 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-0517f107.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-fe8ee676.entry.js +1 -0
- 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/canvas/canvas.d.ts +5 -2
- package/dist/types/components/picker-view/picker-view-column.d.ts +3 -3
- package/dist/types/components/picker-view/picker-view.d.ts +2 -0
- package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
- package/dist/types/components/snapshot/snapshot.d.ts +5 -0
- package/dist/types/components/swiper/swiper-item.d.ts +3 -0
- package/dist/types/components/swiper/swiper.d.ts +4 -3
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
- package/dist/types/components/tabbar/tabbar.d.ts +17 -16
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +33 -15
- package/dist/types/utils/helper.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/lib/react/component-lib/reactify-wc.js +1 -1
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +3 -2
- package/lib/react/components.js +4 -3
- package/lib/react/components.js.map +1 -1
- package/lib/react/index.js +1 -1
- 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/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
- package/lib/react/react-component-lib/utils/attachProps.js +104 -9
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/lib/vue2/components.d.ts +6 -2
- package/lib/vue2/components.js +10 -4
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.js +1 -1
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/components.d.ts +6 -3
- package/lib/vue3/components.js +8 -4
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.js +1 -1
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +19 -21
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +44 -13
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +14 -14
- package/types/ChannelVideo.d.ts +2 -2
- package/types/Checkbox.d.ts +12 -7
- 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/GridView.d.ts +1 -1
- package/types/Icon.d.ts +5 -5
- package/types/Image.d.ts +9 -8
- package/types/Input.d.ts +28 -23
- package/types/Label.d.ts +2 -2
- package/types/ListView.d.ts +1 -1
- package/types/LivePlayer.d.ts +11 -4
- package/types/Map.d.ts +44 -3
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +5 -3
- package/types/NavigationBar.d.ts +7 -1
- package/types/Navigator.d.ts +8 -8
- package/types/PageMeta.d.ts +46 -0
- package/types/Picker.d.ts +48 -27
- 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 +12 -7
- package/types/RadioGroup.d.ts +3 -3
- package/types/RichText.d.ts +5 -5
- package/types/ScrollView.d.ts +93 -15
- package/types/ShareElement.d.ts +2 -1
- package/types/Slider.d.ts +20 -15
- package/types/Slot.d.ts +5 -3
- package/types/Snapshot.d.ts +16 -0
- package/types/StickyHeader.d.ts +1 -1
- package/types/StickySection.d.ts +1 -1
- package/types/Swiper.d.ts +19 -17
- package/types/SwiperItem.d.ts +7 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +5 -5
- package/types/Textarea.d.ts +21 -16
- package/types/Video.d.ts +45 -36
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +8 -2
- package/types/index.d.ts +8 -5
- package/types/index.vue3.d.ts +21 -7
- package/dist/cjs/helper-db78e01a.js +0 -19
- 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/helper-3d0ecf0f.js +0 -13
- package/dist/esm/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
- 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/esm-es5/taro-pull-to-refresh.entry.js +0 -1
- package/dist/taro-components/p-0114a2e4.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-052da7f0.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-137531b6.entry.js +0 -1
- package/dist/taro-components/p-139e6251.entry.js +0 -1
- package/dist/taro-components/p-1404c119.entry.js +0 -1
- package/dist/taro-components/p-15e45ed6.system.js +0 -1
- package/dist/taro-components/p-1974e52e.system.entry.js +0 -1
- package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
- package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
- package/dist/taro-components/p-1c4e3899.entry.js +0 -1
- package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
- package/dist/taro-components/p-204bd245.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-2d1b4dcc.system.entry.js +0 -1
- package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
- package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
- package/dist/taro-components/p-355e4dbc.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-3d8c9dfb.entry.js +0 -1
- package/dist/taro-components/p-407ca16e.entry.js +0 -1
- package/dist/taro-components/p-416cc4dd.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-469ee343.entry.js +0 -1
- package/dist/taro-components/p-46b8f89b.entry.js +0 -1
- package/dist/taro-components/p-478deb81.entry.js +0 -1
- package/dist/taro-components/p-486d0ec7.entry.js +0 -1
- package/dist/taro-components/p-50902cd0.entry.js +0 -1
- package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
- package/dist/taro-components/p-5613907c.entry.js +0 -1
- package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
- package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
- package/dist/taro-components/p-5dab46cd.system.entry.js +0 -1
- package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
- package/dist/taro-components/p-66f7eea6.entry.js +0 -1
- package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
- package/dist/taro-components/p-6a96da58.js +0 -1
- package/dist/taro-components/p-6cde180b.entry.js +0 -1
- package/dist/taro-components/p-6db97374.entry.js +0 -1
- package/dist/taro-components/p-6e115968.entry.js +0 -1
- package/dist/taro-components/p-6f84e936.entry.js +0 -1
- package/dist/taro-components/p-71b54f06.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-79c3fde3.system.entry.js +0 -1
- package/dist/taro-components/p-7b3b8057.entry.js +0 -1
- package/dist/taro-components/p-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7d635413.entry.js +0 -1
- package/dist/taro-components/p-7e6b54cb.system.js +0 -2
- package/dist/taro-components/p-7e998213.system.entry.js +0 -1
- package/dist/taro-components/p-801f09b8.entry.js +0 -1
- package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
- package/dist/taro-components/p-86280254.entry.js +0 -1
- package/dist/taro-components/p-8c0b740e.entry.js +0 -1
- package/dist/taro-components/p-90333d0a.system.entry.js +0 -1
- package/dist/taro-components/p-9046110a.entry.js +0 -1
- package/dist/taro-components/p-904df510.entry.js +0 -1
- package/dist/taro-components/p-907d9d01.system.entry.js +0 -1
- package/dist/taro-components/p-9137dcab.js +0 -2
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-968b7c1d.entry.js +0 -1
- package/dist/taro-components/p-982bb5bf.entry.js +0 -1
- package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9aeb7995.entry.js +0 -1
- package/dist/taro-components/p-9b6550fc.entry.js +0 -1
- package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.entry.js +0 -1
- package/dist/taro-components/p-a3a1a779.entry.js +0 -1
- package/dist/taro-components/p-a4882902.system.entry.js +0 -1
- package/dist/taro-components/p-a8565231.entry.js +0 -1
- package/dist/taro-components/p-a8925584.system.entry.js +0 -1
- package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
- package/dist/taro-components/p-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
- package/dist/taro-components/p-af8e521a.entry.js +0 -1
- package/dist/taro-components/p-af9ef8b4.entry.js +0 -1
- package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
- package/dist/taro-components/p-b027181b.entry.js +0 -1
- package/dist/taro-components/p-b235e43c.entry.js +0 -1
- package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
- package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
- package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
- package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
- package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bdc30301.entry.js +0 -1
- package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
- package/dist/taro-components/p-c11a42e0.entry.js +0 -1
- package/dist/taro-components/p-c39a46ca.system.entry.js +0 -1
- package/dist/taro-components/p-c4b8851b.entry.js +0 -1
- package/dist/taro-components/p-cc164fa3.entry.js +0 -1
- package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
- package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
- package/dist/taro-components/p-d34a6c04.entry.js +0 -1
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
- package/dist/taro-components/p-e33f3592.entry.js +0 -1
- package/dist/taro-components/p-e3480c4c.entry.js +0 -1
- package/dist/taro-components/p-e53508c1.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-eaa370a9.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.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-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
- package/dist/taro-components/p-f7927285.system.entry.js +0 -1
- package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
- package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
- package/dist/taro-components/p-fb983850.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/Radio.d.ts
CHANGED
|
@@ -2,26 +2,31 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface RadioProps extends StandardProps {
|
|
4
4
|
/** `<Radio/>` 标识。当该`<Radio/>` 选中时,`<RadioGroup/>`的 change 事件会携带`<Radio/>`的 value
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
8
|
/** 当前是否选中
|
|
9
9
|
* @default false
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
checked?: boolean
|
|
13
13
|
/** 是否禁用
|
|
14
14
|
* @default false
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
disabled?: boolean
|
|
18
18
|
/** Radio 的颜色,同 css 的 color
|
|
19
19
|
* @default "#09BB07"
|
|
20
|
-
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
|
|
21
21
|
*/
|
|
22
22
|
color?: string
|
|
23
|
+
/**
|
|
24
|
+
* Radio 的名字
|
|
25
|
+
* @supported h5, harmony, harmony_hybrid
|
|
26
|
+
*/
|
|
27
|
+
name?: string
|
|
23
28
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
24
|
-
* @supported h5
|
|
29
|
+
* @supported h5, harmony_hybrid
|
|
25
30
|
*/
|
|
26
31
|
nativeProps?: Record<string, unknown>
|
|
27
32
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -29,7 +34,7 @@ interface RadioProps extends StandardProps {
|
|
|
29
34
|
*/
|
|
30
35
|
ariaLabel?: string
|
|
31
36
|
/** <radio-group/> 中的选中项发生变化时触发 change 事件
|
|
32
|
-
* @supported h5, rn
|
|
37
|
+
* @supported h5, rn, harmony, harmony_hybrid
|
|
33
38
|
*/
|
|
34
39
|
onChange?: CommonEventFunction<{
|
|
35
40
|
value?: string
|
|
@@ -37,7 +42,7 @@ interface RadioProps extends StandardProps {
|
|
|
37
42
|
}
|
|
38
43
|
/** 单选项目
|
|
39
44
|
* @classification forms
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
45
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
|
|
41
46
|
* @example_react
|
|
42
47
|
* ```tsx
|
|
43
48
|
* export default class PageRadio extends Component {
|
package/types/RadioGroup.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface RadioGroupProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 组件名字,用于表单提交获取数据。
|
|
5
|
-
* @supported alipay, tt
|
|
5
|
+
* @supported alipay, tt, harmony
|
|
6
6
|
*/
|
|
7
7
|
name?: string
|
|
8
8
|
/** RadioGroup 中选中项发生改变时触发 change 事件,detail = {value:[选中的radio的value的数组]}
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
onChange?: CommonEventFunction
|
|
12
12
|
}
|
|
@@ -17,7 +17,7 @@ declare namespace RadioGroupProps {
|
|
|
17
17
|
}
|
|
18
18
|
/** 单项选择器,内部由多个 Radio 组成。
|
|
19
19
|
* @classification forms
|
|
20
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
21
21
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio-group.html
|
|
22
22
|
*/
|
|
23
23
|
declare const RadioGroup: ComponentType<RadioGroupProps>
|
package/types/RichText.d.ts
CHANGED
|
@@ -3,20 +3,20 @@ import { CommonEventFunction, StandardProps } from './common'
|
|
|
3
3
|
interface RichTextProps extends StandardProps {
|
|
4
4
|
/** 文本是否可选,该属性会使节点显示为 block
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, h5
|
|
6
|
+
* @supported weapp, h5, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
userSelect?: boolean
|
|
9
9
|
/** 节点列表/ HTML String
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
nodes?: Nodes
|
|
13
13
|
/** 显示连续空格
|
|
14
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
14
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
space?: keyof RichTextProps.TSpace
|
|
17
17
|
/** 富文本是否可以长按选中,可用于复制,粘贴,长按搜索等场景
|
|
18
18
|
* @default false(基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
|
|
19
|
-
* @supported swan, h5
|
|
19
|
+
* @supported swan, h5, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
selectable?: string
|
|
22
22
|
/** 阻止长按图片时弹起默认菜单(将该属性设置为image-menu-prevent或image-menu-prevent="true"),只在初始化时有效,不能动态变更;若不想阻止弹起默认菜单,则不需要设置此属性
|
|
@@ -99,7 +99,7 @@ declare namespace RichTextProps {
|
|
|
99
99
|
}
|
|
100
100
|
/** 富文本
|
|
101
101
|
* @classification base
|
|
102
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
102
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
103
103
|
* @example_react
|
|
104
104
|
* ```tsx
|
|
105
105
|
* class App extends Components {
|
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, 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, 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
|
|
@@ -91,7 +91,7 @@ interface ScrollViewProps extends StandardProps {
|
|
|
91
91
|
*/
|
|
92
92
|
bounces?: boolean
|
|
93
93
|
/** 滚动条显隐控制 (同时开启 enhanced 属性后生效)
|
|
94
|
-
* @supported weapp
|
|
94
|
+
* @supported weapp, harmony
|
|
95
95
|
* @default true
|
|
96
96
|
*/
|
|
97
97
|
showScrollbar?: boolean
|
|
@@ -130,7 +130,7 @@ interface ScrollViewProps extends StandardProps {
|
|
|
130
130
|
* @supported weapp
|
|
131
131
|
* @default false
|
|
132
132
|
*/
|
|
133
|
-
enablePassive?:
|
|
133
|
+
enablePassive?: boolean
|
|
134
134
|
/** 渲染模式
|
|
135
135
|
* list - 列表模式。只会渲染在屏节点,会根据直接子节点是否在屏来按需渲染,若只有一个直接子节点则性能会退化
|
|
136
136
|
* custom - 自定义模式。只会渲染在屏节点,子节点可以是 sticky-section list-view grid-view 等组件
|
|
@@ -143,10 +143,25 @@ interface ScrollViewProps extends StandardProps {
|
|
|
143
143
|
* @default false
|
|
144
144
|
*/
|
|
145
145
|
reverse?: boolean
|
|
146
|
+
/** 是否对溢出进行裁剪,默认开启
|
|
147
|
+
* @supported weapp
|
|
148
|
+
* @default true
|
|
149
|
+
*/
|
|
150
|
+
clip?: boolean
|
|
146
151
|
/** 指定视口外渲染区域的距离,默认情况下视口外节点不渲染。指定 cache-extent 可优化滚动体验和加载速度,但会提高内存占用且影响首屏速度,可按需启用。
|
|
147
152
|
* @supported weapp
|
|
148
153
|
*/
|
|
149
154
|
cacheExtent?: number
|
|
155
|
+
/** 指定 scroll-view 触发滚动的最小拖动距离。仅在 scroll-view 和其他组件存在手势冲突时使用,可通过调整该属性使得滚动更加灵敏。
|
|
156
|
+
* @supported weapp
|
|
157
|
+
* @default 18
|
|
158
|
+
*/
|
|
159
|
+
minDragDistance?: number
|
|
160
|
+
/** 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
161
|
+
* @supported weapp
|
|
162
|
+
* @default [0,0,0,0]
|
|
163
|
+
*/
|
|
164
|
+
padding?: [number, number, number, number]
|
|
150
165
|
/** 只 scroll-into-view 到 cacheExtent 以内的目标节点,性能更佳
|
|
151
166
|
* @supported weapp
|
|
152
167
|
* @default false
|
|
@@ -157,20 +172,55 @@ interface ScrollViewProps extends StandardProps {
|
|
|
157
172
|
* center - 目标节点显示在视口中间
|
|
158
173
|
* end - 目标节点显示在视口结束处
|
|
159
174
|
* nearest - 目标节点在就近的视口边缘显示,若节点已在视口内则不触发滚动
|
|
160
|
-
* @supported weapp, h5
|
|
175
|
+
* @supported weapp, h5, harmony_hybrid
|
|
161
176
|
* @default 'start'
|
|
162
177
|
*/
|
|
163
178
|
scrollIntoViewAlignment?: 'start' | 'center' | 'end' | 'nearest'
|
|
179
|
+
/** 开启下拉二级能力
|
|
180
|
+
* @supported weapp
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
refresherTwoLevelEnabled?: boolean
|
|
184
|
+
/** 设置打开/关闭二级
|
|
185
|
+
* @supported weapp
|
|
186
|
+
* @default false
|
|
187
|
+
*/
|
|
188
|
+
refresherTwoLevelTriggered?: boolean
|
|
189
|
+
/** 下拉二级阈值
|
|
190
|
+
* @supported weapp
|
|
191
|
+
* @default 150
|
|
192
|
+
*/
|
|
193
|
+
refresherTwoLevelThreshold?: number
|
|
194
|
+
/** 滑动返回时关闭二级的阈值
|
|
195
|
+
* @supported weapp
|
|
196
|
+
* @default 80
|
|
197
|
+
*/
|
|
198
|
+
refresherTwoLevelCloseThreshold?: number
|
|
199
|
+
/** 处于二级状态时是否可滑动
|
|
200
|
+
* @supported weapp
|
|
201
|
+
* @default false
|
|
202
|
+
*/
|
|
203
|
+
refresherTwoLevelScrollEnabled?: boolean
|
|
204
|
+
/** 惯性滚动是否触发下拉刷新
|
|
205
|
+
* @supported weapp
|
|
206
|
+
* @default false
|
|
207
|
+
*/
|
|
208
|
+
refresherBallisticRefreshEnabled?: boolean
|
|
209
|
+
/** 即将打开二级时否定住
|
|
210
|
+
* @supported weapp
|
|
211
|
+
* @default false
|
|
212
|
+
*/
|
|
213
|
+
refresherTwoLevelPinned?: boolean
|
|
164
214
|
/** 滚动到顶部/左边,会触发 scrolltoupper 事件
|
|
165
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
215
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
166
216
|
*/
|
|
167
217
|
onScrollToUpper?: CommonEventFunction
|
|
168
218
|
/** 滚动到底部/右边,会触发 scrolltolower 事件
|
|
169
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
219
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
170
220
|
*/
|
|
171
221
|
onScrollToLower?: CommonEventFunction
|
|
172
222
|
/** 滚动时触发
|
|
173
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
223
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
174
224
|
*/
|
|
175
225
|
onScroll?: BaseEventOrigFunction<ScrollViewProps.onScrollDetail>
|
|
176
226
|
/** 滚动开始事件
|
|
@@ -201,6 +251,10 @@ interface ScrollViewProps extends StandardProps {
|
|
|
201
251
|
* @supported weapp
|
|
202
252
|
*/
|
|
203
253
|
onRefresherWillRefresh?: CommonEventFunction
|
|
254
|
+
/** 下拉刷新状态回调
|
|
255
|
+
* @supported weapp
|
|
256
|
+
*/
|
|
257
|
+
onRefresherStatusChange?: CommonEventFunction<ScrollViewProps.RefresherStatusChange>
|
|
204
258
|
/** 滑动开始事件 (同时开启 enhanced 属性后生效)
|
|
205
259
|
* @supported weapp
|
|
206
260
|
*/
|
|
@@ -252,6 +306,30 @@ declare namespace ScrollViewProps {
|
|
|
252
306
|
/** 滚动速度 */
|
|
253
307
|
velocity: number
|
|
254
308
|
}
|
|
309
|
+
interface RefresherStatusChange {
|
|
310
|
+
status: RefreshStatus
|
|
311
|
+
dy: number
|
|
312
|
+
}
|
|
313
|
+
const enum RefreshStatus {
|
|
314
|
+
// 空闲
|
|
315
|
+
Idle,
|
|
316
|
+
// 超过下拉刷新阈值,同 bind:refresherwillRefresh 触发时机
|
|
317
|
+
CanRefresh,
|
|
318
|
+
// 下拉刷新,同 bind:refresherrefresh 触发时机
|
|
319
|
+
Refreshing,
|
|
320
|
+
// 下拉刷新完成,同 bind:refresherrestore 触发时机
|
|
321
|
+
Completed,
|
|
322
|
+
// 下拉刷新失败
|
|
323
|
+
Failed,
|
|
324
|
+
// 超过下拉二级阈值
|
|
325
|
+
CanTwoLevel,
|
|
326
|
+
// 开始打开二级
|
|
327
|
+
TwoLevelOpening,
|
|
328
|
+
// 打开二级
|
|
329
|
+
TwoLeveling,
|
|
330
|
+
// 开始关闭二级
|
|
331
|
+
TwoLevelClosing,
|
|
332
|
+
}
|
|
255
333
|
}
|
|
256
334
|
/** 可滚动视图区域。使用竖向滚动时,需要给scroll-view一个固定高度,通过 WXSS 设置 height。组件属性的长度单位默认为 px
|
|
257
335
|
*
|
|
@@ -259,7 +337,7 @@ declare namespace ScrollViewProps {
|
|
|
259
337
|
* H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。
|
|
260
338
|
* 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。
|
|
261
339
|
* @classification viewContainer
|
|
262
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
340
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
263
341
|
* @example_react
|
|
264
342
|
* ```tsx
|
|
265
343
|
* export default class PageView extends Component {
|
package/types/ShareElement.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ interface ShareElementProps extends StandardProps {
|
|
|
8
8
|
key?: string
|
|
9
9
|
/** 映射标记
|
|
10
10
|
* @supported weapp
|
|
11
|
+
* @unique
|
|
11
12
|
*/
|
|
12
13
|
mapkey?: string
|
|
13
14
|
/** 映射标记
|
|
@@ -68,7 +69,7 @@ interface ShareElementProps extends StandardProps {
|
|
|
68
69
|
*
|
|
69
70
|
* 共享元素是一种动画形式,类似于 [`flutter Hero`](https://flutterchina.club/animations/hero-animations/) 动画,表现为元素像是在页面间穿越一样。该组件需与 [`PageContainer`](/docs/components/viewContainer/page-container) 组件结合使用。
|
|
70
71
|
* 使用时需在当前页放置 `ShareElement` 组件,同时在 `PageContainer` 容器中放置对应的 `ShareElement` 组件,对应关系通过属性值 key 映射。当设置 `PageContainer` `显示时,transform` 属性为 `true` 的共享元素会产生动画。当前页面容器退出时,会产生返回动画。
|
|
71
|
-
* @classification
|
|
72
|
+
* @classification skyline
|
|
72
73
|
* @supported weapp, alipay
|
|
73
74
|
* @example_react
|
|
74
75
|
* ```tsx
|
package/types/Slider.d.ts
CHANGED
|
@@ -3,62 +3,67 @@ 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, 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, 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, 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, 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, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
value?: number
|
|
29
|
+
/** 设置 React 非受控状态下的初始取值
|
|
30
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
31
|
+
* @unique
|
|
32
|
+
*/
|
|
33
|
+
defaultValue?: string
|
|
29
34
|
/** 背景条的颜色(请使用 backgroundColor)
|
|
30
35
|
* @default "#e9e9e9"
|
|
31
|
-
* @supported weapp, tt, qq, jd
|
|
36
|
+
* @supported weapp, tt, qq, jd, harmony
|
|
32
37
|
*/
|
|
33
38
|
color?: string
|
|
34
39
|
/** 已选择的颜色(请使用 activeColor)
|
|
35
40
|
* @default "#1aad19"
|
|
36
|
-
* @supported weapp, tt, qq, jd
|
|
41
|
+
* @supported weapp, tt, qq, jd, harmony
|
|
37
42
|
*/
|
|
38
43
|
selectedColor?: string
|
|
39
44
|
/** 已选择的颜色
|
|
40
45
|
* @default "#1aad19"
|
|
41
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
42
47
|
*/
|
|
43
48
|
activeColor?: string
|
|
44
49
|
/** 背景条的颜色
|
|
45
50
|
* @default "#e9e9e9"
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
51
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
47
52
|
*/
|
|
48
53
|
backgroundColor?: string
|
|
49
54
|
/** 滑块的大小,取值范围为 12 - 28
|
|
50
55
|
* @default 28
|
|
51
|
-
* @supported weapp, swan, tt, qq, jd, h5
|
|
56
|
+
* @supported weapp, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
52
57
|
*/
|
|
53
58
|
blockSize?: number
|
|
54
59
|
/** 滑块的颜色
|
|
55
60
|
* @default "#ffffff"
|
|
56
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
61
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
57
62
|
*/
|
|
58
63
|
blockColor?: string
|
|
59
64
|
/** 是否显示当前 value
|
|
60
65
|
* @default false
|
|
61
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
66
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
62
67
|
*/
|
|
63
68
|
showValue?: boolean
|
|
64
69
|
/** 组件名字,用于表单提交获取数据。
|
|
@@ -84,11 +89,11 @@ interface SliderProps extends StandardProps, FormItemProps {
|
|
|
84
89
|
*/
|
|
85
90
|
ariaLabel?: string
|
|
86
91
|
/** 完成一次拖动后触发的事件
|
|
87
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
92
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
88
93
|
*/
|
|
89
94
|
onChange?: CommonEventFunction<SliderProps.onChangeEventDetail>
|
|
90
95
|
/** 拖动过程中触发的事件
|
|
91
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
96
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
92
97
|
*/
|
|
93
98
|
onChanging?: CommonEventFunction<SliderProps.onChangeEventDetail>
|
|
94
99
|
}
|
|
@@ -99,7 +104,7 @@ declare namespace SliderProps {
|
|
|
99
104
|
}
|
|
100
105
|
/** 滑动选择器
|
|
101
106
|
* @classification forms
|
|
102
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
107
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
103
108
|
* @example_react
|
|
104
109
|
* ```tsx
|
|
105
110
|
* export default class PageView extends Component {
|
package/types/Slot.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StandardProps } from './common'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import type { ComponentType, ReactNode } from 'react'
|
|
4
|
+
|
|
5
|
+
interface SlotProps extends StandardProps {
|
|
4
6
|
/** 指定插入的 slot 位置
|
|
5
7
|
* @default none
|
|
6
8
|
* @supported weapp, swan, alipay, tt, jd, qq
|
|
@@ -15,7 +17,7 @@ interface SlotProps {
|
|
|
15
17
|
|
|
16
18
|
/** slot 插槽
|
|
17
19
|
* @classification viewContainer
|
|
18
|
-
* @supported weapp, swan, alipay, tt, jd, qq,
|
|
20
|
+
* @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
|
|
19
21
|
* @example
|
|
20
22
|
* ```tsx
|
|
21
23
|
* import { Slot, View, Text } from '@tarojs/components'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
|
|
3
|
+
import { StandardProps } from './common'
|
|
4
|
+
|
|
5
|
+
interface SnapshotProps extends StandardProps {
|
|
6
|
+
id: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** 截图组件。
|
|
10
|
+
* 支持将其子节点的渲染结果导出成图片,该组件需配合 snapshot 接口使用。 目前仅在 Skyline 渲染引擎 下支持。
|
|
11
|
+
* @classification skyline
|
|
12
|
+
* @supported weapp
|
|
13
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/snapshot.html
|
|
14
|
+
*/
|
|
15
|
+
declare const Snapshot: ComponentType<SnapshotProps>
|
|
16
|
+
export { Snapshot, SnapshotProps }
|
package/types/StickyHeader.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ interface StickyHeaderProps extends StandardProps {}
|
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* 吸顶布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
|
|
7
|
-
* @classification
|
|
7
|
+
* @classification skyline
|
|
8
8
|
* @supported weapp
|
|
9
9
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/sticky-header.html
|
|
10
10
|
*/
|
package/types/StickySection.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface StickySectionProps extends StandardProps {
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* 吸顶布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点。仅 Skyline 支持。
|
|
12
|
-
* @classification
|
|
12
|
+
* @classification skyline
|
|
13
13
|
* @supported weapp
|
|
14
14
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/sticky-section.html
|
|
15
15
|
*/
|
package/types/Swiper.d.ts
CHANGED
|
@@ -3,61 +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, 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, 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, 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, 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, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
current?: number
|
|
29
29
|
/** 当前所在滑块的 item-id ,不能与 current 被同时指定
|
|
30
|
+
* @supported swan, tt, qq, jd
|
|
31
|
+
* @weapp deprecated
|
|
30
32
|
* @default ""
|
|
31
33
|
*/
|
|
32
34
|
currentItemId?: string
|
|
33
35
|
/** 自动切换时间间隔
|
|
34
36
|
* @default 5000
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
37
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
36
38
|
*/
|
|
37
39
|
interval?: number
|
|
38
40
|
/** 滑动动画时长
|
|
39
41
|
* @default 500
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
42
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
41
43
|
*/
|
|
42
44
|
duration?: number
|
|
43
45
|
/** 是否采用衔接滑动
|
|
44
46
|
* @default false
|
|
45
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
46
48
|
*/
|
|
47
49
|
circular?: boolean
|
|
48
50
|
/** 滑动方向是否为纵向
|
|
49
51
|
* @default false
|
|
50
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
52
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
51
53
|
*/
|
|
52
54
|
vertical?: boolean
|
|
53
55
|
/** 前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值
|
|
54
56
|
* @default "0px"
|
|
55
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
57
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
56
58
|
*/
|
|
57
59
|
previousMargin?: string
|
|
58
60
|
/** 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值
|
|
59
61
|
* @default "0px"
|
|
60
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
62
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
61
63
|
*/
|
|
62
64
|
nextMargin?: string
|
|
63
65
|
/**
|
|
@@ -68,7 +70,7 @@ interface SwiperProps extends StandardProps {
|
|
|
68
70
|
snapToEdge?: boolean
|
|
69
71
|
/** 同时显示的滑块数量
|
|
70
72
|
* @default 1
|
|
71
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
73
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
72
74
|
*/
|
|
73
75
|
displayMultipleItems?: number
|
|
74
76
|
/** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
|
|
@@ -88,12 +90,12 @@ interface SwiperProps extends StandardProps {
|
|
|
88
90
|
disableTouch?: boolean
|
|
89
91
|
/** 是否启用缩放
|
|
90
92
|
* @default false
|
|
91
|
-
* @supported h5
|
|
93
|
+
* @supported h5, harmony_hybrid
|
|
92
94
|
*/
|
|
93
95
|
zoom?: boolean
|
|
94
96
|
/** 是否开启全屏
|
|
95
97
|
* @default false
|
|
96
|
-
* @supported h5
|
|
98
|
+
* @supported h5, harmony_hybrid
|
|
97
99
|
*/
|
|
98
100
|
full?: boolean
|
|
99
101
|
/** swiper-item 可见时的 class。
|
|
@@ -150,7 +152,7 @@ interface SwiperProps extends StandardProps {
|
|
|
150
152
|
*/
|
|
151
153
|
cacheExtent?: number
|
|
152
154
|
/** current 改变时会触发 change 事件
|
|
153
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
155
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
154
156
|
*/
|
|
155
157
|
onChange?: CommonEventFunction<SwiperProps.onChangeEventDetail>
|
|
156
158
|
/** swiper-item 的位置发生改变时会触发 transition 事件
|
|
@@ -158,7 +160,7 @@ interface SwiperProps extends StandardProps {
|
|
|
158
160
|
*/
|
|
159
161
|
onTransition?: CommonEventFunction<SwiperProps.onTransitionEventDetail>
|
|
160
162
|
/** 动画结束时会触发 animationfinish 事件
|
|
161
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
163
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
162
164
|
*/
|
|
163
165
|
onAnimationFinish?: SwiperProps['onChange']
|
|
164
166
|
/** 动画结束时会触发 animationEnd 事件
|
|
@@ -213,7 +215,7 @@ declare namespace SwiperProps {
|
|
|
213
215
|
/** 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。
|
|
214
216
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
215
217
|
* @classification viewContainer
|
|
216
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
218
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
217
219
|
* @example_react
|
|
218
220
|
* ```tsx
|
|
219
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, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
itemId?: string
|
|
8
8
|
/** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
|
|
@@ -10,11 +10,16 @@ interface SwiperItemProps extends StandardProps {
|
|
|
10
10
|
* @supported weapp
|
|
11
11
|
*/
|
|
12
12
|
skipHiddenItemLayout?: boolean
|
|
13
|
+
/** Swiper 循环状态下,前后垫片节点拷贝模式,用于修复 Vue 在 CustomElements 下的节点拷贝问题
|
|
14
|
+
* @default false
|
|
15
|
+
* @supported h5
|
|
16
|
+
*/
|
|
17
|
+
deep?: boolean
|
|
13
18
|
}
|
|
14
19
|
/** 仅可放置在 swiper 组件中,宽高自动设置为100%
|
|
15
20
|
* > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
|
|
16
21
|
* @classification viewContainer
|
|
17
|
-
* @supported weapp, alipay, swan, tt, jd, h5, rn, harmony
|
|
22
|
+
* @supported weapp, alipay, swan, tt, jd, h5, rn, harmony, harmony_hybrid
|
|
18
23
|
* @example_react
|
|
19
24
|
* ```tsx
|
|
20
25
|
* class App extends Component {
|