@tarojs/components 4.0.0-canary.8 → 4.0.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 +17 -3
- package/README.md +1 -1
- package/dist/cjs/{index-5a8221ec.js → index-09efe07d.js} +208 -2
- package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
- package/dist/cjs/{index-b8c435ee.js → index-b873e40f.js} +45 -27
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
- 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-builder-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
- 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 +1325 -6
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
- 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 +58 -9868
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -9
- package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +7 -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/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/draggable-sheet/draggable-sheet.js +11 -0
- package/dist/collection/components/grid-builder/grid-builder.js +11 -0
- 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/list-builder/list-builder.js +11 -0
- package/dist/collection/components/map/map.js +1806 -4
- package/dist/collection/components/map/style/map.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/movable-view.js +3 -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/nested-scroll-body/nested-scroll-body.js +11 -0
- package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
- package/dist/collection/components/open-container/open-container.js +11 -0
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/span/span.js +11 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper.js +59 -5
- 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/video/video.js +8 -3
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/index.js +10 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +7 -0
- package/dist/components/index2.js +45 -27
- package/dist/components/index3.js +6 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
- package/dist/components/taro-draggable-sheet-core.js +33 -0
- package/dist/components/taro-grid-builder-core.d.ts +11 -0
- package/dist/components/taro-grid-builder-core.js +33 -0
- 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-list-builder-core.d.ts +11 -0
- package/dist/components/taro-list-builder-core.js +33 -0
- package/dist/components/taro-map-core.js +1349 -6
- package/dist/components/taro-movable-area-core.js +3 -2
- package/dist/components/taro-movable-view-core.js +4 -2
- package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-body-core.js +33 -0
- package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-header-core.js +33 -0
- package/dist/components/taro-open-container-core.d.ts +11 -0
- package/dist/components/taro-open-container-core.js +33 -0
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.js +4 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/taro-span-core.d.ts +11 -0
- package/dist/components/taro-span-core.js +33 -0
- package/dist/components/taro-swiper-core.js +45 -9858
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -77
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +11 -2
- package/dist/components/taro-video-core.js +10 -5
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/{index-6bb77c5f.js → index-9924aee9.js} +208 -2
- package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
- package/dist/esm/{index-a74b6944.js → index-b9522531.js} +45 -27
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +3 -3
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
- 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-builder-core.entry.js +17 -0
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +5 -2
- package/dist/esm/taro-image-core.entry.js +7 -6
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-builder-core.entry.js +17 -0
- 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 +1321 -6
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
- package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-container-core.entry.js +17 -0
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +3 -3
- package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +4 -4
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-span-core.entry.js +17 -0
- 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 +45 -9859
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +6 -79
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +13 -8
- package/dist/esm/taro-view-core.entry.js +3 -3
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-9924aee9.js +2 -0
- package/dist/esm-es5/index-a00a7418.js +1 -0
- package/dist/esm-es5/index-b9522531.js +7 -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-draggable-sheet-core.entry.js +1 -0
- 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-builder-core.entry.js +1 -0
- 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-builder-core.entry.js +1 -0
- 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-nested-scroll-body-core.entry.js +1 -0
- package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
- 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-span-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 +14603 -0
- package/dist/hydrate/package.json +6 -0
- package/dist/taro-components/p-010faa87.system.js +1 -0
- package/dist/taro-components/p-02465454.system.entry.js +1 -0
- package/dist/taro-components/p-02d4d104.entry.js +1 -0
- package/dist/taro-components/p-03dc0283.entry.js +1 -0
- package/dist/taro-components/p-047e4bfe.entry.js +1 -0
- package/dist/taro-components/{p-028ad016.system.entry.js → p-06adeb65.system.entry.js} +1 -1
- package/dist/taro-components/p-078cb65e.entry.js +1 -0
- package/dist/taro-components/{p-6d7165eb.system.entry.js → p-07ae6678.system.entry.js} +1 -1
- package/dist/taro-components/p-07f27474.entry.js +1 -0
- package/dist/taro-components/{p-635fe530.system.entry.js → p-083c3147.system.entry.js} +1 -1
- package/dist/taro-components/p-0a64f78c.system.entry.js +1 -0
- package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
- package/dist/taro-components/{p-7dee8f07.system.entry.js → p-0f480c38.system.entry.js} +1 -1
- package/dist/taro-components/{p-18ea7e10.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
- package/dist/taro-components/{p-aae38fe8.entry.js → p-0ff5a55b.entry.js} +1 -1
- package/dist/taro-components/p-12582166.entry.js +1 -0
- package/dist/taro-components/p-156e9634.system.entry.js +1 -0
- package/dist/taro-components/p-160d710a.js +7 -0
- package/dist/taro-components/{p-25fffbbe.system.entry.js → p-17938fa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-46a9adcf.system.entry.js → p-17b9f865.system.entry.js} +1 -1
- package/dist/taro-components/p-17e72555.entry.js +1 -0
- package/dist/taro-components/p-18c039ef.entry.js +1 -0
- package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
- package/dist/taro-components/p-1c37143a.system.entry.js +1 -0
- package/dist/taro-components/p-1eea2828.entry.js +1 -0
- package/dist/taro-components/p-204996e7.entry.js +1 -0
- package/dist/taro-components/{p-23f15c7b.entry.js → p-2649c7ae.entry.js} +1 -1
- package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
- package/dist/taro-components/p-27041d86.system.entry.js +1 -0
- package/dist/taro-components/{p-3d7626a9.system.entry.js → p-27d372b4.system.entry.js} +1 -1
- package/dist/taro-components/{p-6c48d884.entry.js → p-280795f2.entry.js} +1 -1
- package/dist/taro-components/p-292470e5.entry.js +1 -0
- package/dist/taro-components/p-2d537212.entry.js +1 -0
- package/dist/taro-components/p-2f177716.entry.js +1 -0
- package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
- package/dist/taro-components/p-32c0f326.entry.js +1 -0
- package/dist/taro-components/p-35dec732.entry.js +1 -0
- package/dist/taro-components/{p-fff30a48.entry.js → p-38b29261.entry.js} +1 -1
- package/dist/taro-components/{p-c7679d57.entry.js → p-3a180dc7.entry.js} +1 -1
- package/dist/taro-components/{p-f094089c.system.entry.js → p-3b36196b.system.entry.js} +1 -1
- package/dist/taro-components/{p-222573ad.entry.js → p-3bfe9260.entry.js} +1 -1
- package/dist/taro-components/{p-345cb56f.entry.js → p-3cf08137.entry.js} +1 -1
- package/dist/taro-components/{p-8c93f3e0.entry.js → p-402c7f93.entry.js} +1 -1
- package/dist/taro-components/p-425d1d69.entry.js +1 -0
- package/dist/taro-components/p-43367dd1.entry.js +1 -0
- package/dist/taro-components/p-443b9a72.system.js +7 -0
- package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
- package/dist/taro-components/p-4523b1c7.entry.js +1 -0
- package/dist/taro-components/p-46a66c43.entry.js +1 -0
- package/dist/taro-components/{p-03538d40.system.entry.js → p-47790dc0.system.entry.js} +1 -1
- package/dist/taro-components/{p-747bdbaa.system.entry.js → p-4979e93c.system.entry.js} +1 -1
- package/dist/taro-components/p-4a8b4d58.system.entry.js +1 -0
- package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
- package/dist/taro-components/{p-c2259653.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
- package/dist/taro-components/{p-e7232d54.system.entry.js → p-50849470.system.entry.js} +1 -1
- package/dist/taro-components/p-53e62840.system.entry.js +1 -0
- package/dist/taro-components/p-55e12654.entry.js +1 -0
- package/dist/taro-components/p-56552c9e.entry.js +1 -0
- package/dist/taro-components/p-56a82bf3.entry.js +1 -0
- package/dist/taro-components/p-57911e2c.system.entry.js +1 -0
- package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-57b77f17.system.entry.js} +1 -1
- package/dist/taro-components/{p-d86ce035.system.entry.js → p-5884c108.system.entry.js} +1 -1
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/{p-cd34c92e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
- package/dist/taro-components/{p-feddde29.system.entry.js → p-5c156db3.system.entry.js} +1 -1
- package/dist/taro-components/{p-b94dcfbe.entry.js → p-5c98f478.entry.js} +1 -1
- package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
- package/dist/taro-components/{p-58d410c6.system.entry.js → p-61a325d2.system.entry.js} +1 -1
- package/dist/taro-components/{p-3967311b.system.entry.js → p-6282bdee.system.entry.js} +1 -1
- package/dist/taro-components/{p-67dcb636.system.entry.js → p-65d11e99.system.entry.js} +1 -1
- package/dist/taro-components/{p-1eb875d0.system.entry.js → p-6654374e.system.entry.js} +1 -1
- package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
- package/dist/taro-components/p-68197378.entry.js +1 -0
- package/dist/taro-components/p-6989c232.entry.js +1 -0
- package/dist/taro-components/{p-3708575b.system.entry.js → p-6b83388c.system.entry.js} +1 -1
- package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
- package/dist/taro-components/p-6cc0bcb9.entry.js +1 -0
- package/dist/taro-components/p-7163d09e.system.js +1 -0
- package/dist/taro-components/{p-edb9e04e.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
- package/dist/taro-components/p-75d01c60.system.js +2 -0
- package/dist/taro-components/{p-e487b8b4.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
- package/dist/taro-components/p-77e82dfa.entry.js +1 -0
- package/dist/taro-components/{p-f232cf02.entry.js → p-79cad66b.entry.js} +1 -1
- package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
- package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
- package/dist/taro-components/p-7e692c70.entry.js +1 -0
- package/dist/taro-components/p-7ebd4310.entry.js +1 -0
- package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
- package/dist/taro-components/{p-bbbe728b.system.entry.js → p-8179438b.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c1d9be8.entry.js → p-84998109.entry.js} +1 -1
- package/dist/taro-components/{p-7ad33036.system.entry.js → p-855619b6.system.entry.js} +1 -1
- package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
- package/dist/taro-components/{p-0b6e9013.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
- package/dist/taro-components/p-937a6c36.entry.js +1 -0
- package/dist/taro-components/{p-475f9ed3.system.entry.js → p-938f9036.system.entry.js} +1 -1
- package/dist/taro-components/{p-70c81b7e.entry.js → p-93a2b2e9.entry.js} +1 -1
- package/dist/taro-components/p-93b02321.entry.js +1 -0
- package/dist/taro-components/p-9571836f.entry.js +1 -0
- package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
- package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
- package/dist/taro-components/{p-c968ea43.system.entry.js → p-9e359fff.system.entry.js} +1 -1
- package/dist/taro-components/p-9f53e26c.system.entry.js +1 -0
- package/dist/taro-components/{p-178cb282.system.entry.js → p-a25aca16.system.entry.js} +1 -1
- package/dist/taro-components/p-a50c6736.entry.js +1 -0
- package/dist/taro-components/{p-32b41faa.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
- package/dist/taro-components/{p-9c566d7d.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
- package/dist/taro-components/p-aabac550.entry.js +1 -0
- package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
- package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
- package/dist/taro-components/p-ac714300.system.entry.js +1 -0
- package/dist/taro-components/{p-1d3ed211.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
- package/dist/taro-components/p-acb113bd.entry.js +1 -0
- package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
- package/dist/taro-components/p-b1f80b6b.entry.js +1 -0
- package/dist/taro-components/p-b4577a12.system.entry.js +1 -0
- package/dist/taro-components/{p-fbc2b53e.entry.js → p-b4c7bb48.entry.js} +1 -1
- package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
- package/dist/taro-components/{p-810b9a86.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
- package/dist/taro-components/p-bb67318d.entry.js +1 -0
- package/dist/taro-components/{p-6f45f110.entry.js → p-bd57edcd.entry.js} +1 -1
- package/dist/taro-components/{p-f43ba9ed.entry.js → p-be055537.entry.js} +1 -1
- package/dist/taro-components/{p-eab8a6b0.entry.js → p-be1701b2.entry.js} +1 -1
- package/dist/taro-components/{p-e769cea4.system.entry.js → p-c056d527.system.entry.js} +1 -1
- package/dist/taro-components/{p-039e15a4.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
- package/dist/taro-components/p-c3dc7072.entry.js +1 -0
- package/dist/taro-components/{p-680ba5a1.system.entry.js → p-c677414d.system.entry.js} +1 -1
- package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
- package/dist/taro-components/{p-a7ecb97a.entry.js → p-c7836e2b.entry.js} +1 -1
- package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
- package/dist/taro-components/{p-7de7d96c.entry.js → p-c8cd6e16.entry.js} +1 -1
- package/dist/taro-components/p-c95d2b90.entry.js +1 -0
- package/dist/taro-components/p-ca6a5916.system.entry.js +1 -0
- package/dist/taro-components/{p-dea67974.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
- package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
- package/dist/taro-components/p-ccbaba23.entry.js +1 -0
- package/dist/taro-components/{p-443fe754.system.entry.js → p-d05eb105.system.entry.js} +1 -1
- package/dist/taro-components/{p-346162b4.system.entry.js → p-d2203687.system.entry.js} +1 -1
- package/dist/taro-components/{p-f8970571.entry.js → p-d5603857.entry.js} +1 -1
- package/dist/taro-components/{p-72d7fae0.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
- package/dist/taro-components/p-d87a68f6.entry.js +1 -0
- package/dist/taro-components/p-d973d536.entry.js +1 -0
- package/dist/taro-components/{p-48c52124.entry.js → p-d9884371.entry.js} +1 -1
- package/dist/taro-components/p-dc08715a.entry.js +1 -0
- package/dist/taro-components/{p-20e38f24.entry.js → p-dc25fa81.entry.js} +1 -1
- package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
- package/dist/taro-components/{p-abd51173.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3c69a95.system.entry.js → p-ded98693.system.entry.js} +1 -1
- package/dist/taro-components/{p-0780df27.entry.js → p-dedf50a9.entry.js} +1 -1
- package/dist/taro-components/{p-8d797863.system.entry.js → p-df7c6216.system.entry.js} +1 -1
- package/dist/taro-components/p-e1cce2f1.entry.js +1 -0
- package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
- package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
- package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
- package/dist/taro-components/p-e62a1287.js +2 -0
- package/dist/taro-components/p-e681d764.entry.js +1 -0
- package/dist/taro-components/p-e853a2c8.system.entry.js +1 -0
- package/dist/taro-components/p-ebad862a.system.entry.js +1 -0
- package/dist/taro-components/p-ebb1ae64.entry.js +1 -0
- package/dist/taro-components/p-f034a433.entry.js +1 -0
- package/dist/taro-components/{p-4cc2e06e.entry.js → p-f168fffc.entry.js} +1 -1
- package/dist/taro-components/p-f367a754.entry.js +1 -0
- package/dist/taro-components/{p-2713fc1a.entry.js → p-f43f26cf.entry.js} +1 -1
- package/dist/taro-components/{p-8b604d50.entry.js → p-f5f3a111.entry.js} +1 -1
- package/dist/taro-components/{p-1ac9622e.entry.js → p-f8f2461f.entry.js} +1 -1
- package/dist/taro-components/p-f9935901.system.entry.js +1 -0
- package/dist/taro-components/{p-1411cd2e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
- package/dist/taro-components/p-fab63183.entry.js +1 -0
- package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-fbf13159.system.entry.js} +1 -1
- package/dist/taro-components/p-fe5eefdc.system.entry.js +1 -0
- package/dist/taro-components/{p-d8f78d99.system.entry.js → p-feb89474.system.entry.js} +1 -1
- package/dist/taro-components/p-ff772345.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/draggable-sheet/draggable-sheet.d.ts +5 -0
- package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
- package/dist/types/components/list-builder/list-builder.d.ts +5 -0
- package/dist/types/components/map/map.d.ts +145 -2
- package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
- package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
- package/dist/types/components/open-container/open-container.d.ts +5 -0
- package/dist/types/components/span/span.d.ts +5 -0
- package/dist/types/components/swiper/swiper.d.ts +5 -0
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +313 -1
- package/dist/types/utils/index.d.ts +2 -0
- package/global.css +1 -0
- package/lib/react/component-lib/index.d.ts +53 -53
- package/lib/react/component-lib/input.d.ts +1 -1
- package/lib/react/component-lib/input.js.map +1 -1
- package/lib/react/component-lib/reactify-wc.d.ts +1 -1
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +92 -85
- package/lib/react/components.js +11 -2
- package/lib/react/components.js.map +1 -1
- package/lib/react/helper.d.ts +4 -2
- package/lib/react/helper.js.map +1 -1
- package/lib/react/index.d.ts +1 -1
- package/lib/react/index.js +1 -1
- package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
- package/lib/react/react-component-lib/createComponent.d.ts +3 -3
- 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.d.ts +5 -5
- 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/index.d.ts +2 -2
- package/lib/react/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
- package/lib/react/react-component-lib/utils/attachProps.d.ts +18 -9
- package/lib/react/react-component-lib/utils/attachProps.js +86 -10
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +2 -3
- package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
- package/lib/react/react-component-lib/utils/index.d.ts +9 -10
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/solid/component-lib/index.d.ts +53 -0
- package/lib/solid/component-lib/index.js +69 -0
- package/lib/solid/component-lib/index.js.map +1 -0
- package/lib/solid/components.d.ts +92 -0
- package/lib/solid/components.js +102 -0
- package/lib/solid/components.js.map +1 -0
- package/lib/solid/helper.d.ts +3 -0
- package/lib/solid/helper.js +7 -0
- package/lib/solid/helper.js.map +1 -0
- package/lib/solid/index.d.ts +1 -0
- package/lib/solid/index.js +2 -0
- package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
- package/lib/solid/solid-component-lib/createComponent.js +67 -0
- package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
- package/lib/solid/solid-component-lib/index.d.ts +1 -0
- package/lib/solid/solid-component-lib/index.js +2 -0
- package/lib/solid/solid-component-lib/index.js.map +1 -0
- package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
- package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
- package/lib/solid/solid-component-lib/utils/case.js +6 -0
- package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
- package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
- package/lib/solid/solid-component-lib/utils/element.js +48 -0
- package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
- package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
- package/lib/solid/solid-component-lib/utils/index.js +3 -0
- package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
- package/lib/vue3/component-lib/createComponent.d.ts +1 -2
- package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
- package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
- package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
- package/lib/vue3/component-lib/icon.d.ts +1 -1
- package/lib/vue3/component-lib/image.d.ts +1 -1
- package/lib/vue3/component-lib/index.d.ts +52 -53
- package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
- package/lib/vue3/component-lib/scroll-view.js.map +1 -1
- package/lib/vue3/component-lib/text.d.ts +1 -1
- package/lib/vue3/components-loader.d.ts +1 -2
- package/lib/vue3/components-loader.js.map +1 -1
- package/lib/vue3/components.d.ts +91 -85
- package/lib/vue3/components.js +41 -3
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +1 -1
- package/lib/vue3/index.js +1 -1
- package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +34 -23
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +9 -9
- package/types/Canvas.d.ts +11 -11
- package/types/Checkbox.d.ts +8 -8
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/CoverImage.d.ts +4 -4
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +1 -1
- package/types/DraggableSheet.d.ts +47 -0
- package/types/Form.d.ts +4 -4
- package/types/GridBuilder.d.ts +72 -0
- package/types/GridView.d.ts +18 -4
- package/types/Icon.d.ts +4 -4
- package/types/Image.d.ts +8 -8
- package/types/Input.d.ts +22 -17
- package/types/Label.d.ts +2 -2
- package/types/ListBuilder.d.ts +55 -0
- package/types/ListView.d.ts +9 -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/NavigationBar.d.ts +5 -5
- package/types/Navigator.d.ts +8 -8
- package/types/NestedScrollBody.d.ts +15 -0
- package/types/NestedScrollHeader.d.ts +15 -0
- package/types/OpenContainer.d.ts +74 -0
- package/types/PageMeta.d.ts +13 -7
- package/types/Picker.d.ts +49 -28
- package/types/PickerView.d.ts +6 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -7
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +5 -5
- package/types/Script.d.ts +37 -0
- package/types/ScrollView.d.ts +21 -15
- package/types/ShareElement.d.ts +1 -0
- package/types/Slider.d.ts +18 -13
- package/types/Slot.d.ts +1 -1
- package/types/Snapshot.d.ts +12 -3
- package/types/Span.d.ts +14 -0
- package/types/StickyHeader.d.ts +15 -2
- package/types/StickySection.d.ts +7 -1
- package/types/Swiper.d.ts +18 -20
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +20 -4
- package/types/Textarea.d.ts +18 -13
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +2 -2
- package/types/index.d.ts +8 -0
- package/types/index.vue3.d.ts +4 -0
- package/dist/cjs/hls-dfcad743.js +0 -25797
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25795
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/hls-268fc25b.js +0 -25795
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-268fc25b.js +0 -1
- package/dist/esm-es5/index-6bb77c5f.js +0 -2
- package/dist/esm-es5/index-a74b6944.js +0 -7
- package/dist/esm-es5/index-d1b03e47.js +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00113225.system.entry.js +0 -1
- package/dist/taro-components/p-0030841b.system.js +0 -1
- package/dist/taro-components/p-0910d414.entry.js +0 -1
- package/dist/taro-components/p-0e37fb54.entry.js +0 -1
- package/dist/taro-components/p-11c962b9.entry.js +0 -1
- package/dist/taro-components/p-139d64f1.entry.js +0 -1
- package/dist/taro-components/p-175edd50.entry.js +0 -1
- package/dist/taro-components/p-19f218e6.js +0 -7
- package/dist/taro-components/p-1c95795d.entry.js +0 -1
- package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
- package/dist/taro-components/p-1f88349b.entry.js +0 -1
- package/dist/taro-components/p-2145dccb.entry.js +0 -1
- package/dist/taro-components/p-215881b4.entry.js +0 -1
- package/dist/taro-components/p-2339a4d3.entry.js +0 -1
- package/dist/taro-components/p-277892fe.system.entry.js +0 -1
- package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
- package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
- package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
- package/dist/taro-components/p-332dc867.entry.js +0 -1
- package/dist/taro-components/p-333305e3.entry.js +0 -1
- package/dist/taro-components/p-34de4101.system.js +0 -7
- package/dist/taro-components/p-35160fd2.entry.js +0 -1
- package/dist/taro-components/p-37edf3f6.entry.js +0 -1
- package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
- package/dist/taro-components/p-401743f9.system.entry.js +0 -1
- package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
- package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
- package/dist/taro-components/p-4d89b685.entry.js +0 -1
- package/dist/taro-components/p-527c55ca.entry.js +0 -1
- package/dist/taro-components/p-550c350a.entry.js +0 -1
- package/dist/taro-components/p-5b028f1b.js +0 -1
- package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
- package/dist/taro-components/p-6df6fd58.entry.js +0 -1
- package/dist/taro-components/p-6f5e162d.entry.js +0 -1
- package/dist/taro-components/p-70bd0541.entry.js +0 -1
- package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-79b675c8.entry.js +0 -1
- package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
- package/dist/taro-components/p-7ba17143.entry.js +0 -1
- package/dist/taro-components/p-7be1f603.entry.js +0 -1
- package/dist/taro-components/p-7e90dfef.js +0 -2
- package/dist/taro-components/p-817b319c.system.entry.js +0 -1
- package/dist/taro-components/p-907d2fe0.entry.js +0 -1
- package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
- package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
- package/dist/taro-components/p-9e788d33.entry.js +0 -1
- package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
- package/dist/taro-components/p-a3dad439.entry.js +0 -1
- package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
- package/dist/taro-components/p-a54735cb.entry.js +0 -1
- package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
- package/dist/taro-components/p-a744e7aa.entry.js +0 -1
- package/dist/taro-components/p-b1977132.entry.js +0 -1
- package/dist/taro-components/p-b2ad9709.entry.js +0 -1
- package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
- package/dist/taro-components/p-b69bcd43.entry.js +0 -1
- package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
- package/dist/taro-components/p-bb454378.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bd6574cf.entry.js +0 -1
- package/dist/taro-components/p-bfea77f9.entry.js +0 -1
- package/dist/taro-components/p-c0a59843.entry.js +0 -1
- package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
- package/dist/taro-components/p-cd0f3444.entry.js +0 -1
- package/dist/taro-components/p-cdd48677.system.js +0 -2
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
- package/dist/taro-components/p-d55f870d.entry.js +0 -1
- package/dist/taro-components/p-d81577b8.system.entry.js +0 -1
- package/dist/taro-components/p-daabfc6e.entry.js +0 -1
- package/dist/taro-components/p-dda03c84.entry.js +0 -1
- package/dist/taro-components/p-deff0bb8.entry.js +0 -1
- package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
- package/dist/taro-components/p-e82e16a1.entry.js +0 -1
- package/dist/taro-components/p-ee4da4db.system.js +0 -1
- package/dist/taro-components/p-f003caad.entry.js +0 -1
- package/dist/taro-components/p-f111303f.entry.js +0 -1
- package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
- package/dist/taro-components/p-fbec1f96.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/vue2/component-lib/components.d.ts +0 -111
- package/lib/vue2/component-lib/components.js +0 -74
- package/lib/vue2/component-lib/components.js.map +0 -1
- package/lib/vue2/component-lib/createComponent.d.ts +0 -14
- package/lib/vue2/component-lib/createComponent.js +0 -23
- package/lib/vue2/component-lib/createComponent.js.map +0 -1
- package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
- package/lib/vue2/component-lib/createFormsComponent.js +0 -53
- package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
- package/lib/vue2/component-lib/icon.d.ts +0 -16
- package/lib/vue2/component-lib/icon.js +0 -23
- package/lib/vue2/component-lib/icon.js.map +0 -1
- package/lib/vue2/component-lib/image.d.ts +0 -16
- package/lib/vue2/component-lib/image.js +0 -24
- package/lib/vue2/component-lib/image.js.map +0 -1
- package/lib/vue2/component-lib/index.d.ts +0 -1
- package/lib/vue2/component-lib/index.js +0 -25
- package/lib/vue2/component-lib/index.js.map +0 -1
- package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
- package/lib/vue2/component-lib/mixins/listeners.js +0 -14
- package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
- package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
- package/lib/vue2/component-lib/mixins/refs.js +0 -53
- package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
- package/lib/vue2/component-lib/picker.d.ts +0 -25
- package/lib/vue2/component-lib/picker.js +0 -41
- package/lib/vue2/component-lib/picker.js.map +0 -1
- package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
- package/lib/vue2/component-lib/scroll-view.js +0 -35
- package/lib/vue2/component-lib/scroll-view.js.map +0 -1
- package/lib/vue2/component-lib/text.d.ts +0 -16
- package/lib/vue2/component-lib/text.js +0 -24
- package/lib/vue2/component-lib/text.js.map +0 -1
- package/lib/vue2/components-loader.d.ts +0 -2
- package/lib/vue2/components-loader.js +0 -21
- package/lib/vue2/components-loader.js.map +0 -1
- package/lib/vue2/components.d.ts +0 -373
- package/lib/vue2/components.js +0 -583
- package/lib/vue2/components.js.map +0 -1
- package/lib/vue2/index.d.ts +0 -1
- package/lib/vue2/index.js +0 -2
- package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
- package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
- package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
- package/lib/vue2/vue-component-lib/utils.js +0 -51
- package/lib/vue2/vue-component-lib/utils.js.map +0 -1
- /package/lib/react/node_modules/.pnpm/{tslib@2.6.2 → @rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5}/node_modules/tslib/tslib.es6.js +0 -0
- /package/lib/{vue2 → solid}/index.js.map +0 -0
package/types/Picker.d.ts
CHANGED
|
@@ -3,21 +3,26 @@ import { StyleProp, TextStyle, ViewStyle } from 'react-native'
|
|
|
3
3
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
4
4
|
/** 选择器通用参数 */
|
|
5
5
|
interface PickerStandardProps extends StandardProps, FormItemProps {
|
|
6
|
+
/**
|
|
7
|
+
* 选择器的标题,微信小程序中仅安卓可用
|
|
8
|
+
* @supported weapp
|
|
9
|
+
*/
|
|
10
|
+
headerText?: string
|
|
6
11
|
/**
|
|
7
12
|
* 选择器类型,默认是普通选择器
|
|
8
13
|
* @default "selector"
|
|
9
|
-
* @supported weapp, h5, rn, harmony
|
|
14
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
10
15
|
*/
|
|
11
16
|
mode?: keyof PickerStandardProps.Mode
|
|
12
17
|
/**
|
|
13
18
|
* 是否禁用
|
|
14
19
|
* @default false
|
|
15
|
-
* @supported weapp, h5, rn
|
|
20
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
16
21
|
*/
|
|
17
22
|
disabled?: boolean
|
|
18
23
|
/**
|
|
19
24
|
* 取消选择或点遮罩层收起 picker 时触发
|
|
20
|
-
* @supported weapp, h5, rn, harmony
|
|
25
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
21
26
|
*/
|
|
22
27
|
onCancel?: CommonEventFunction
|
|
23
28
|
}
|
|
@@ -46,21 +51,25 @@ interface PickerSelectorProps extends PickerStandardProps {
|
|
|
46
51
|
mode?: 'selector'
|
|
47
52
|
/**
|
|
48
53
|
* mode为 selector 或 multiSelector 时,range 有效
|
|
49
|
-
* @supported weapp, h5, rn, harmony
|
|
54
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
50
55
|
* @default []
|
|
51
56
|
*/
|
|
52
57
|
range: string[] | number[] | Record<string, any>[]
|
|
53
58
|
/**
|
|
54
59
|
* 当 range 是一个 Object Array 时,通过 rangeKey 来指定 Object 中 key 的值作为选择器显示内容
|
|
55
|
-
* @supported weapp, h5, rn, harmony
|
|
60
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
56
61
|
*/
|
|
57
62
|
rangeKey?: string
|
|
58
63
|
/**
|
|
59
64
|
* 表示选择了 range 中的第几个(下标从 0 开始)
|
|
60
|
-
* @supported weapp, h5, rn, harmony
|
|
65
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
61
66
|
* @default 0
|
|
62
67
|
*/
|
|
63
68
|
value?: number
|
|
69
|
+
/** 设置 React 非受控状态下的初始取值
|
|
70
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
71
|
+
*/
|
|
72
|
+
defaultValue?: number
|
|
64
73
|
/**
|
|
65
74
|
* mode为 selector 或 multiSelector 时 itemStyle 有效
|
|
66
75
|
* @supported rn
|
|
@@ -75,12 +84,12 @@ interface PickerSelectorProps extends PickerStandardProps {
|
|
|
75
84
|
indicatorStyle?: StyleProp<ViewStyle>
|
|
76
85
|
/**
|
|
77
86
|
* value 改变时触发 change 事件
|
|
78
|
-
* @supported weapp, h5, rn, harmony
|
|
87
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
79
88
|
*/
|
|
80
|
-
onChange
|
|
89
|
+
onChange?: CommonEventFunction<PickerSelectorProps.ChangeEventDetail>
|
|
81
90
|
/**
|
|
82
91
|
* 用于替换组件内部文本
|
|
83
|
-
* @supported h5, harmony
|
|
92
|
+
* @supported h5, harmony, harmony_hybrid
|
|
84
93
|
*/
|
|
85
94
|
textProps?: PickerStandardProps.PickerText
|
|
86
95
|
}
|
|
@@ -96,18 +105,18 @@ interface PickerMultiSelectorProps extends PickerStandardProps {
|
|
|
96
105
|
mode: 'multiSelector'
|
|
97
106
|
/**
|
|
98
107
|
* mode为 selector 或 multiSelector 时,range 有效
|
|
99
|
-
* @supported weapp, h5, rn, harmony
|
|
108
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
100
109
|
* @default []
|
|
101
110
|
*/
|
|
102
111
|
range: Array<string[]> | Array<number[]> | Array<Record<string, any>[]>
|
|
103
112
|
/**
|
|
104
113
|
* 当 range 是一个 Object Array 时,通过 rangeKey 来指定 Object 中 key 的值作为选择器显示内容
|
|
105
|
-
* @supported weapp, h5, rn, harmony
|
|
114
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
106
115
|
*/
|
|
107
116
|
rangeKey?: string
|
|
108
117
|
/**
|
|
109
118
|
* 表示选择了 range 中的第几个(下标从 0 开始)
|
|
110
|
-
* @supported weapp, h5, rn, harmony
|
|
119
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
111
120
|
* @default []
|
|
112
121
|
*/
|
|
113
122
|
value: number[] | string[] | Record<string, any>[]
|
|
@@ -125,12 +134,12 @@ interface PickerMultiSelectorProps extends PickerStandardProps {
|
|
|
125
134
|
indicatorStyle?: StyleProp<ViewStyle>
|
|
126
135
|
/**
|
|
127
136
|
* 当 value 改变时触发 change 事件
|
|
128
|
-
* @supported weapp, h5, rn, harmony
|
|
137
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
129
138
|
*/
|
|
130
139
|
onChange: CommonEventFunction<PickerMultiSelectorProps.ChangeEventDetail>
|
|
131
140
|
/**
|
|
132
141
|
* 列改变时触发
|
|
133
|
-
* @supported weapp, h5, rn, harmony
|
|
142
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
134
143
|
*/
|
|
135
144
|
onColumnChange?: CommonEventFunction<PickerMultiSelectorProps.ColumnChangeEventDetail>
|
|
136
145
|
}
|
|
@@ -152,22 +161,26 @@ interface PickerTimeProps extends PickerStandardProps {
|
|
|
152
161
|
mode: 'time'
|
|
153
162
|
/**
|
|
154
163
|
* value 的值表示选择了 range 中的第几个(下标从 0 开始)
|
|
155
|
-
* @supported weapp, h5, rn, harmony
|
|
164
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
156
165
|
*/
|
|
157
|
-
value
|
|
166
|
+
value?: string
|
|
167
|
+
/** 设置 React 非受控状态下的初始取值
|
|
168
|
+
* @supported weapp, h5, rn
|
|
169
|
+
*/
|
|
170
|
+
defaultValue?: string
|
|
158
171
|
/**
|
|
159
172
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的开始,字符串格式为"hh:mm"
|
|
160
|
-
* @supported weapp, h5, rn, harmony
|
|
173
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
161
174
|
*/
|
|
162
175
|
start?: string
|
|
163
176
|
/**
|
|
164
177
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的结束,字符串格式为"hh:mm"
|
|
165
|
-
* @supported weapp, h5, rn, harmony
|
|
178
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
166
179
|
*/
|
|
167
180
|
end?: string
|
|
168
181
|
/**
|
|
169
182
|
* value 改变时触发 change 事件
|
|
170
|
-
* @supported weapp, h5, rn, harmony
|
|
183
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
171
184
|
*/
|
|
172
185
|
onChange: CommonEventFunction<PickerTimeProps.ChangeEventDetail>
|
|
173
186
|
}
|
|
@@ -183,29 +196,33 @@ interface PickerDateProps extends PickerStandardProps {
|
|
|
183
196
|
mode: 'date'
|
|
184
197
|
/**
|
|
185
198
|
* 表示选中的日期,格式为"YYYY-MM-DD"
|
|
186
|
-
* @supported weapp, h5, rn, harmony
|
|
199
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
187
200
|
* @default 0
|
|
188
201
|
*/
|
|
189
202
|
value: string
|
|
203
|
+
/** 设置 React 非受控状态下的初始取值
|
|
204
|
+
* @supported weapp, h5, rn
|
|
205
|
+
*/
|
|
206
|
+
defaultValue?: string
|
|
190
207
|
/**
|
|
191
208
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的开始,字符串格式为"YYYY-MM-DD"
|
|
192
|
-
* @supported weapp, h5, rn, harmony
|
|
209
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
193
210
|
*/
|
|
194
211
|
start?: string
|
|
195
212
|
/**
|
|
196
213
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的结束,字符串格式为"YYYY-MM-DD"
|
|
197
|
-
* @supported weapp, h5, rn, harmony
|
|
214
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
198
215
|
*/
|
|
199
216
|
end?: string
|
|
200
217
|
/**
|
|
201
218
|
* 有效值 year, month, day,表示选择器的粒度
|
|
202
|
-
* @supported weapp, h5, rn
|
|
219
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
203
220
|
* @default "day"
|
|
204
221
|
*/
|
|
205
222
|
fields?: keyof PickerDateProps.Fields
|
|
206
223
|
/**
|
|
207
224
|
* value 改变时触发 change 事件
|
|
208
|
-
* @supported weapp, h5, rn, harmony
|
|
225
|
+
* @supported weapp, h5, rn, harmony, harmony_hybrid
|
|
209
226
|
*/
|
|
210
227
|
onChange: CommonEventFunction<PickerDateProps.ChangeEventDetail>
|
|
211
228
|
}
|
|
@@ -229,13 +246,17 @@ interface PickerRegionProps extends PickerStandardProps {
|
|
|
229
246
|
mode: 'region'
|
|
230
247
|
/**
|
|
231
248
|
* 表示选中的省市区,默认选中每一列的第一个值
|
|
232
|
-
* @supported weapp, h5, rn
|
|
249
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
233
250
|
* @default []
|
|
234
251
|
*/
|
|
235
252
|
value?: string[]
|
|
253
|
+
/** 设置 React 非受控状态下的初始取值
|
|
254
|
+
* @supported weapp, h5, rn
|
|
255
|
+
*/
|
|
256
|
+
defaultValue?: string[]
|
|
236
257
|
/**
|
|
237
258
|
* 可为每一列的顶部添加一个自定义的项
|
|
238
|
-
* @supported weapp, h5, rn
|
|
259
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
239
260
|
*/
|
|
240
261
|
customItem?: string
|
|
241
262
|
/**
|
|
@@ -251,7 +272,7 @@ interface PickerRegionProps extends PickerStandardProps {
|
|
|
251
272
|
regionData?: PickerRegionProps.RegionData[]
|
|
252
273
|
/**
|
|
253
274
|
* value 改变时触发 change 事件
|
|
254
|
-
* @supported weapp, h5, rn
|
|
275
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
255
276
|
*/
|
|
256
277
|
onChange: CommonEventFunction<PickerRegionProps.ChangeEventDetail>
|
|
257
278
|
}
|
|
@@ -283,7 +304,7 @@ declare namespace PickerRegionProps {
|
|
|
283
304
|
/**
|
|
284
305
|
* 从底部弹起的滚动选择器
|
|
285
306
|
* @classification forms
|
|
286
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
307
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
287
308
|
* @example_react
|
|
288
309
|
* ```tsx
|
|
289
310
|
* export default class PagePicker extends Component {
|
package/types/PickerView.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ interface PickerViewProps extends StandardProps {
|
|
|
5
5
|
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
6
6
|
*/
|
|
7
7
|
value?: number[]
|
|
8
|
+
/** 设置 React 非受控状态下的初始取值
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
10
|
+
* @unique
|
|
11
|
+
*/
|
|
12
|
+
defaultValue?: number[]
|
|
8
13
|
/** 设置选择器中间选中框的样式
|
|
9
14
|
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
10
15
|
*/
|
|
@@ -55,7 +60,7 @@ declare namespace PickerViewProps {
|
|
|
55
60
|
/** 嵌入页面的滚动选择器
|
|
56
61
|
* 其中只可放置 picker-view-column 组件,其它节点不会显示
|
|
57
62
|
* @classification forms
|
|
58
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
63
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
59
64
|
* @example_react
|
|
60
65
|
* ```tsx
|
|
61
66
|
* export default class Picks extends Component {
|
|
@@ -5,7 +5,7 @@ type PickerViewColumnProps = StandardProps
|
|
|
5
5
|
/** 滚动选择器子项
|
|
6
6
|
* 仅可放置于 `<PickerView />` 中,其孩子节点的高度会自动设置成与 picker-view 的选中框的高度一致
|
|
7
7
|
* @classification forms
|
|
8
|
-
* @supported weapp, swan, alipay, tt, h5, rn
|
|
8
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony_hybrid
|
|
9
9
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker-view-column.html
|
|
10
10
|
*/
|
|
11
11
|
declare const PickerViewColumn: ComponentType<StandardProps>
|
package/types/Progress.d.ts
CHANGED
|
@@ -2,59 +2,59 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface ProgressProps extends StandardProps {
|
|
4
4
|
/** 百分比 0~100
|
|
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
|
percent?: number
|
|
8
8
|
/** 在进度条右侧显示百分比
|
|
9
9
|
* @default false
|
|
10
|
-
* @supported weapp, alipay, swan, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, qq, jd, h5, rn, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
showInfo?: boolean
|
|
13
13
|
/** 圆角大小
|
|
14
14
|
* @default 0
|
|
15
|
-
* @supported weapp, swan, qq, jd, h5
|
|
15
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
borderRadius?: number | string
|
|
18
18
|
/** 右侧百分比字体大小
|
|
19
19
|
* @default 16
|
|
20
|
-
* @supported weapp, swan, qq, jd, h5
|
|
20
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
21
21
|
*/
|
|
22
22
|
fontSize?: number | string
|
|
23
23
|
/** 进度条线的宽度
|
|
24
24
|
* @default 6
|
|
25
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
25
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
26
26
|
*/
|
|
27
27
|
strokeWidth?: number | string
|
|
28
28
|
/** 进度条颜色 (请使用 activeColor)
|
|
29
29
|
* @default "#09BB07"
|
|
30
|
-
* @supported weapp, swan, qq, jd, h5
|
|
30
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
31
31
|
*/
|
|
32
32
|
color?: string
|
|
33
33
|
/** 已选择的进度条的颜色
|
|
34
34
|
* @default "#09BB07"
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
35
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
36
36
|
*/
|
|
37
37
|
activeColor?: string
|
|
38
38
|
/** 未选择的进度条的颜色
|
|
39
39
|
* @default "#EBEBEB"
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
40
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
41
41
|
*/
|
|
42
42
|
backgroundColor?: string
|
|
43
43
|
/** 进度条从左往右的动画
|
|
44
44
|
* @default false
|
|
45
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
45
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
46
46
|
*/
|
|
47
47
|
active?: boolean
|
|
48
48
|
/** backwards: 动画从头播
|
|
49
49
|
*
|
|
50
50
|
* forwards: 动画从上次结束点接着播
|
|
51
51
|
* @default backwards
|
|
52
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
52
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
53
53
|
*/
|
|
54
54
|
activeMode?: 'backwards' | 'forwards'
|
|
55
55
|
/** 进度增加 1% 所需毫秒数
|
|
56
56
|
* @default 30
|
|
57
|
-
* @supported weapp, swan, tt, jd, h5
|
|
57
|
+
* @supported weapp, swan, tt, jd, h5, harmony_hybrid
|
|
58
58
|
*/
|
|
59
59
|
duration?: number
|
|
60
60
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -62,13 +62,13 @@ interface ProgressProps extends StandardProps {
|
|
|
62
62
|
*/
|
|
63
63
|
ariaLabel?: string
|
|
64
64
|
/** 动画完成事件
|
|
65
|
-
* @supported weapp, tt, qq, jd, h5
|
|
65
|
+
* @supported weapp, tt, qq, jd, h5, harmony_hybrid
|
|
66
66
|
*/
|
|
67
67
|
onActiveEnd?: CommonEventFunction
|
|
68
68
|
}
|
|
69
69
|
/** 进度条。组件属性的长度单位默认为 px
|
|
70
70
|
* @classification base
|
|
71
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
71
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
72
72
|
* @example_react
|
|
73
73
|
* ```tsx
|
|
74
74
|
* export default class PageView extends Component {
|
package/types/Radio.d.ts
CHANGED
|
@@ -2,17 +2,17 @@ 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, harmony
|
|
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, harmony
|
|
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, harmony
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
disabled?: boolean
|
|
18
18
|
/** Radio 的颜色,同 css 的 color
|
|
@@ -22,11 +22,11 @@ interface RadioProps extends StandardProps {
|
|
|
22
22
|
color?: string
|
|
23
23
|
/**
|
|
24
24
|
* Radio 的名字
|
|
25
|
-
* @supported h5, harmony
|
|
25
|
+
* @supported h5, harmony, harmony_hybrid
|
|
26
26
|
*/
|
|
27
27
|
name?: string
|
|
28
28
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
29
|
-
* @supported h5
|
|
29
|
+
* @supported h5, harmony_hybrid
|
|
30
30
|
*/
|
|
31
31
|
nativeProps?: Record<string, unknown>
|
|
32
32
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -34,7 +34,7 @@ interface RadioProps extends StandardProps {
|
|
|
34
34
|
*/
|
|
35
35
|
ariaLabel?: string
|
|
36
36
|
/** <radio-group/> 中的选中项发生变化时触发 change 事件
|
|
37
|
-
* @supported h5, rn, harmony
|
|
37
|
+
* @supported h5, rn, harmony, harmony_hybrid
|
|
38
38
|
*/
|
|
39
39
|
onChange?: CommonEventFunction<{
|
|
40
40
|
value?: string
|
|
@@ -42,7 +42,7 @@ interface RadioProps extends StandardProps {
|
|
|
42
42
|
}
|
|
43
43
|
/** 单选项目
|
|
44
44
|
* @classification forms
|
|
45
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
45
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
|
|
46
46
|
* @example_react
|
|
47
47
|
* ```tsx
|
|
48
48
|
* export default class PageRadio extends Component {
|
package/types/RadioGroup.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface RadioGroupProps extends StandardProps, FormItemProps {
|
|
|
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 {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
|
|
3
|
+
import { StandardProps } from './common'
|
|
4
|
+
|
|
5
|
+
interface ScriptProps extends StandardProps {
|
|
6
|
+
/** xs 文件的相对路径
|
|
7
|
+
* @supported weapp, alipay, swan, tt, qq, jd
|
|
8
|
+
*/
|
|
9
|
+
src: string
|
|
10
|
+
/** xs 模块名
|
|
11
|
+
* @supported weapp, alipay, swan, tt, qq, jd
|
|
12
|
+
*/
|
|
13
|
+
module: string
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** script 类似微信小程序的 wxs 标签,支持引用各种小程序的 xs 文件
|
|
17
|
+
* 只能在 CompileMode 中使用
|
|
18
|
+
* @classification viewContainer
|
|
19
|
+
* @supported weapp, swan, alipay, tt, jd, qq
|
|
20
|
+
* @example_react
|
|
21
|
+
* ```tsx
|
|
22
|
+
* import { Component } from 'react'
|
|
23
|
+
* import { View, Script } from '@tarojs/components'
|
|
24
|
+
*
|
|
25
|
+
* export function Index () {
|
|
26
|
+
* return (
|
|
27
|
+
* <View compileMode>
|
|
28
|
+
* <Script src="./logic.wxs" module="logic"></Script>
|
|
29
|
+
* <Text>Hello, {logic.name}!</Text>
|
|
30
|
+
* </View>
|
|
31
|
+
* )
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
declare const Script: ComponentType<ScriptProps>
|
|
36
|
+
|
|
37
|
+
export { Script, ScriptProps }
|
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, harmony
|
|
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, harmony
|
|
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
|
|
@@ -85,6 +85,11 @@ interface ScrollViewProps extends StandardProps {
|
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
enhanced?: boolean
|
|
88
|
+
/** 使 scroll-view 下的 position sticky 特性生效,否则滚动一屏后 sticky 元素会被隐藏
|
|
89
|
+
* @supported weapp
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
usingSticky?: boolean
|
|
88
93
|
/** iOS 下 scroll-view 边界弹性控制 (同时开启 enhanced 属性后生效)
|
|
89
94
|
* @supported weapp, swan
|
|
90
95
|
* @default true
|
|
@@ -134,10 +139,11 @@ interface ScrollViewProps extends StandardProps {
|
|
|
134
139
|
/** 渲染模式
|
|
135
140
|
* list - 列表模式。只会渲染在屏节点,会根据直接子节点是否在屏来按需渲染,若只有一个直接子节点则性能会退化
|
|
136
141
|
* custom - 自定义模式。只会渲染在屏节点,子节点可以是 sticky-section list-view grid-view 等组件
|
|
137
|
-
*
|
|
142
|
+
* nested - 嵌套模式。用于处理父子 scroll-view 间的嵌套滚动,子节点可以是 nested-scroll-header nested-scroll-body 组件或自定义 refresher
|
|
143
|
+
* @supported weapp, harmony
|
|
138
144
|
* @default 'list'
|
|
139
145
|
*/
|
|
140
|
-
type?: 'list' | 'custom'
|
|
146
|
+
type?: 'list' | 'custom' | 'nested'
|
|
141
147
|
/** 是否反向滚动。一般初始滚动位置是在顶部,反向滚动则是在底部。
|
|
142
148
|
* @supported weapp
|
|
143
149
|
* @default false
|
|
@@ -172,7 +178,7 @@ interface ScrollViewProps extends StandardProps {
|
|
|
172
178
|
* center - 目标节点显示在视口中间
|
|
173
179
|
* end - 目标节点显示在视口结束处
|
|
174
180
|
* nearest - 目标节点在就近的视口边缘显示,若节点已在视口内则不触发滚动
|
|
175
|
-
* @supported weapp, h5
|
|
181
|
+
* @supported weapp, h5, harmony_hybrid
|
|
176
182
|
* @default 'start'
|
|
177
183
|
*/
|
|
178
184
|
scrollIntoViewAlignment?: 'start' | 'center' | 'end' | 'nearest'
|
|
@@ -212,15 +218,15 @@ interface ScrollViewProps extends StandardProps {
|
|
|
212
218
|
*/
|
|
213
219
|
refresherTwoLevelPinned?: boolean
|
|
214
220
|
/** 滚动到顶部/左边,会触发 scrolltoupper 事件
|
|
215
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
221
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
216
222
|
*/
|
|
217
223
|
onScrollToUpper?: CommonEventFunction
|
|
218
224
|
/** 滚动到底部/右边,会触发 scrolltolower 事件
|
|
219
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
225
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
220
226
|
*/
|
|
221
227
|
onScrollToLower?: CommonEventFunction
|
|
222
228
|
/** 滚动时触发
|
|
223
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
229
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
224
230
|
*/
|
|
225
231
|
onScroll?: BaseEventOrigFunction<ScrollViewProps.onScrollDetail>
|
|
226
232
|
/** 滚动开始事件
|
|
@@ -337,7 +343,7 @@ declare namespace ScrollViewProps {
|
|
|
337
343
|
* H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。
|
|
338
344
|
* 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。
|
|
339
345
|
* @classification viewContainer
|
|
340
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
346
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
341
347
|
* @example_react
|
|
342
348
|
* ```tsx
|
|
343
349
|
* export default class PageView extends Component {
|