@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/Canvas.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
|
|
|
6
6
|
*/
|
|
7
7
|
type?: string
|
|
8
8
|
/** canvas 组件的唯一标识符,若指定了 type 则无需再指定该属性
|
|
9
|
-
* @supported weapp, swan, tt, qq, jd, h5
|
|
9
|
+
* @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
canvasId?: string
|
|
12
12
|
/** 当在 canvas 中移动时且有绑定手势事件时,禁止屏幕滚动以及下拉刷新
|
|
@@ -16,39 +16,39 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
|
|
|
16
16
|
disableScroll?: boolean
|
|
17
17
|
/** 组件唯一标识符。
|
|
18
18
|
* 注意:同一页面中的 id 不可重复。
|
|
19
|
-
* @supported alipay, h5
|
|
19
|
+
* @supported alipay, h5, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
id?: string
|
|
22
22
|
/**
|
|
23
|
-
* @supported alipay, h5
|
|
23
|
+
* @supported alipay, h5, harmony_hybrid
|
|
24
24
|
*/
|
|
25
25
|
width?: string
|
|
26
26
|
/**
|
|
27
|
-
* @supported alipay, h5
|
|
27
|
+
* @supported alipay, h5, harmony_hybrid
|
|
28
28
|
*/
|
|
29
29
|
height?: string
|
|
30
30
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
31
|
-
* @supported h5
|
|
31
|
+
* @supported h5, harmony_hybrid
|
|
32
32
|
*/
|
|
33
33
|
nativeProps?: Record<string, unknown>
|
|
34
34
|
/** 手指触摸动作开始
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
35
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
36
36
|
*/
|
|
37
37
|
onTouchStart?: CanvasTouchEventFunction
|
|
38
38
|
/** 手指触摸后移动
|
|
39
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
39
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
40
40
|
*/
|
|
41
41
|
onTouchMove?: CanvasTouchEventFunction
|
|
42
42
|
/** 手指触摸动作结束
|
|
43
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
44
44
|
*/
|
|
45
45
|
onTouchEnd?: CanvasTouchEventFunction
|
|
46
46
|
/** 手指触摸动作被打断,如来电提醒,弹窗
|
|
47
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
48
48
|
*/
|
|
49
49
|
onTouchCancel?: CanvasTouchEventFunction
|
|
50
50
|
/** 手指长按 500ms 之后触发,触发了长按事件后进行移动不会触发屏幕的滚动
|
|
51
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
51
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
52
52
|
*/
|
|
53
53
|
onLongTap?: CommonEventFunction
|
|
54
54
|
/** 当发生错误时触发 error 事件,detail = {errMsg: 'something wrong'}
|
|
@@ -73,7 +73,7 @@ declare namespace CanvasProps {
|
|
|
73
73
|
*
|
|
74
74
|
* `<Canvas />` 组件的 RN 版本尚未实现。
|
|
75
75
|
* @classification canvas
|
|
76
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5,
|
|
76
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
77
77
|
* @example_react
|
|
78
78
|
* ```tsx
|
|
79
79
|
* class App extends Components {
|
package/types/Checkbox.d.ts
CHANGED
|
@@ -2,30 +2,30 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface CheckboxProps extends StandardProps {
|
|
4
4
|
/** `<Checkbox/>`标识,选中时触发`<CheckboxGroup/>`的 change 事件,并携带 `<Checkbox/>` 的 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
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
12
|
disabled?: boolean
|
|
13
13
|
/** 当前是否选中,可用来设置默认选中
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
* @default false
|
|
16
16
|
*/
|
|
17
17
|
checked?: boolean
|
|
18
18
|
/** checkbox的颜色,同 css 的 color
|
|
19
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
19
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
color?: string
|
|
22
22
|
/**
|
|
23
23
|
* Checkbox 的名字
|
|
24
|
-
* @supported h5, harmony
|
|
24
|
+
* @supported h5, harmony, harmony_hybrid
|
|
25
25
|
*/
|
|
26
26
|
name?: string
|
|
27
27
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
28
|
-
* @supported h5
|
|
28
|
+
* @supported h5, harmony_hybrid
|
|
29
29
|
*/
|
|
30
30
|
nativeProps?: Record<string, unknown>
|
|
31
31
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -33,7 +33,7 @@ interface CheckboxProps extends StandardProps {
|
|
|
33
33
|
*/
|
|
34
34
|
ariaLabel?: string
|
|
35
35
|
/** 选中项发生变化时触发 change 事件,小程序无此 API
|
|
36
|
-
* @supported alipay, h5, rn, harmony
|
|
36
|
+
* @supported alipay, h5, rn, harmony, harmony_hybrid
|
|
37
37
|
*/
|
|
38
38
|
onChange?: CommonEventFunction<{
|
|
39
39
|
value: string[]
|
|
@@ -41,7 +41,7 @@ interface CheckboxProps extends StandardProps {
|
|
|
41
41
|
}
|
|
42
42
|
/** 多选项目
|
|
43
43
|
* @classification forms
|
|
44
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
44
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
45
45
|
* @example_react
|
|
46
46
|
* ```tsx
|
|
47
47
|
* export default class PageCheckbox extends Component {
|
package/types/CheckboxGroup.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface CheckboxGroupProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 表单组件中加上 name 来作为 key
|
|
5
|
-
* @supported alipay, tt, h5
|
|
5
|
+
* @supported alipay, tt, h5, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
name?: string
|
|
8
8
|
/** `<CheckboxGroup/>` 中选中项发生改变是触发 change 事件
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
onChange?: CommonEventFunction<{
|
|
12
12
|
value: string[]
|
|
@@ -14,7 +14,7 @@ interface CheckboxGroupProps extends StandardProps, FormItemProps {
|
|
|
14
14
|
}
|
|
15
15
|
/** 多项选择器,内部由多个checkbox组成
|
|
16
16
|
* @classification forms
|
|
17
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
17
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
18
18
|
* @example
|
|
19
19
|
* ```tsx
|
|
20
20
|
* export default class PageCheckbox extends Component {
|
package/types/CoverImage.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface CoverImageProps extends StandardProps {
|
|
4
4
|
/** 图标路径,支持临时路径、网络地址、云文件ID。暂不支持base64格式。
|
|
5
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
5
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
|
|
@@ -34,11 +34,11 @@ interface CoverImageProps extends StandardProps {
|
|
|
34
34
|
*/
|
|
35
35
|
ariaLabel?: string
|
|
36
36
|
/** 图片加载成功时触发
|
|
37
|
-
* @supported weapp, swan, qq, jd, h5
|
|
37
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
38
38
|
*/
|
|
39
39
|
onLoad?: CommonEventFunction
|
|
40
40
|
/** 图片加载失败时触发
|
|
41
|
-
* @supported weapp, swan, qq, jd, h5
|
|
41
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
42
42
|
*/
|
|
43
43
|
onError?: CommonEventFunction
|
|
44
44
|
/** 点击事件回调。
|
|
@@ -48,7 +48,7 @@ interface CoverImageProps extends StandardProps {
|
|
|
48
48
|
}
|
|
49
49
|
/** 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。
|
|
50
50
|
* @classification viewContainer
|
|
51
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
51
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
52
52
|
* @example_react
|
|
53
53
|
* ```tsx
|
|
54
54
|
* // js
|
package/types/CoverView.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ interface CoverViewProps extends ViewProps {
|
|
|
117
117
|
}
|
|
118
118
|
/** 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
|
|
119
119
|
* @classification viewContainer
|
|
120
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
120
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
121
121
|
* @example_react
|
|
122
122
|
* ```tsx
|
|
123
123
|
* // js
|
package/types/CustomWrapper.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface CustomWrapperProps extends StandardProps {
|
|
|
7
7
|
/** custom-wrapper 自定义组件包裹器
|
|
8
8
|
* 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少
|
|
9
9
|
* @classification viewContainer
|
|
10
|
-
* @supported weapp, swan, alipay, tt, jd, qq, h5
|
|
10
|
+
* @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
|
|
11
11
|
* @example
|
|
12
12
|
* ```tsx
|
|
13
13
|
* import { Component } from 'react'
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface DraggableSheetProps extends StandardProps {
|
|
5
|
+
/**
|
|
6
|
+
* 初始时占父容器的比例
|
|
7
|
+
* @supported weapp
|
|
8
|
+
* @default 0.5
|
|
9
|
+
*/
|
|
10
|
+
initialChildSize?: number
|
|
11
|
+
/**
|
|
12
|
+
* 最小时占父容器的比例
|
|
13
|
+
* @supported weapp
|
|
14
|
+
* @default 0.25
|
|
15
|
+
*/
|
|
16
|
+
minChildSize?: number
|
|
17
|
+
/**
|
|
18
|
+
* 最大时占父容器的比例
|
|
19
|
+
* @supported weapp
|
|
20
|
+
* @default 1.0
|
|
21
|
+
*/
|
|
22
|
+
maxChildSize?: number
|
|
23
|
+
/**
|
|
24
|
+
* 拖拽后是否自动对齐关键点
|
|
25
|
+
* @supported weapp
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
snap?: boolean
|
|
29
|
+
/**
|
|
30
|
+
* 拖拽后对齐的关键点,无需包含最小和最大值
|
|
31
|
+
* @supported weapp
|
|
32
|
+
* @default []
|
|
33
|
+
*/
|
|
34
|
+
snapSizes?: any[]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 半屏可拖拽组件
|
|
39
|
+
* 该组件需配合 DraggableSheetContext 接口使用。 目前仅在 Skyline 渲染引擎下支持。
|
|
40
|
+
* 页面内拖拽是一种常见的交互效果,开发者可通过手势系统灵活实现。draggable-sheet 组件封装了常见的交互逻辑,实现起来更加简单。
|
|
41
|
+
* 该组件需结合 scroll-view 使用。scroll-view 组件声明 associative-container 属性后,可与 draggable-sheet 关联起来。
|
|
42
|
+
* @classification skyline
|
|
43
|
+
* @supported weapp
|
|
44
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/draggable-sheet.html
|
|
45
|
+
*/
|
|
46
|
+
declare const DraggableSheet: ComponentType<DraggableSheetProps>
|
|
47
|
+
export { DraggableSheet, DraggableSheetProps }
|
package/types/Form.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
interface FormProps extends StandardProps {
|
|
4
4
|
/** 是否返回 `formId` 用于发送模板消息。
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
6
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
reportSubmit?: boolean
|
|
9
9
|
/** 等待一段时间(毫秒数)以确认 `formId` 是否生效。
|
|
@@ -43,11 +43,11 @@ interface FormProps extends StandardProps {
|
|
|
43
43
|
*/
|
|
44
44
|
clueComponentId?: string
|
|
45
45
|
/** 携带 form 中的数据触发 submit 事件
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
47
47
|
*/
|
|
48
48
|
onSubmit?: CommonEventFunction<FormProps.onSubmitEventDetail>
|
|
49
49
|
/** 表单重置时会触发 reset 事件
|
|
50
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
50
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
51
51
|
*/
|
|
52
52
|
onReset?: CommonEventFunction
|
|
53
53
|
}
|
|
@@ -69,7 +69,7 @@ declare namespace FormProps {
|
|
|
69
69
|
*
|
|
70
70
|
* 当点击 form 表单中 form-type 为 submit 的 button 组件时,会将表单组件中的 value 值进行提交,需要在表单组件中加上 name 来作为 key。
|
|
71
71
|
* @classification forms
|
|
72
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
72
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
73
73
|
* @example_react
|
|
74
74
|
* ```tsx
|
|
75
75
|
* class App extends Component {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
interface GridBuilderProps extends StandardProps {
|
|
4
|
+
/**
|
|
5
|
+
* 布局方式
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @default "aligned"
|
|
8
|
+
*
|
|
9
|
+
* 可选值:
|
|
10
|
+
* - aligned: 每行高度由同一行中最大高度子节点决定
|
|
11
|
+
* - masonry: 瀑布流,根据子元素高度自动布局
|
|
12
|
+
*/
|
|
13
|
+
type: 'aligned' | 'masonry'
|
|
14
|
+
/**
|
|
15
|
+
* 需要用于渲染的列表
|
|
16
|
+
* @supported weapp
|
|
17
|
+
* @default []
|
|
18
|
+
*/
|
|
19
|
+
list: any[]
|
|
20
|
+
/**
|
|
21
|
+
* 完整列表的长度,如果不传则取 list 的长度作为其值
|
|
22
|
+
* @supported weapp
|
|
23
|
+
*/
|
|
24
|
+
childCount?: number
|
|
25
|
+
/**
|
|
26
|
+
* 交叉轴元素数量
|
|
27
|
+
* @supported weapp
|
|
28
|
+
* @default 2
|
|
29
|
+
*/
|
|
30
|
+
crossAxisCount?: number
|
|
31
|
+
/** 交叉轴元素最大范围
|
|
32
|
+
* @supported weapp
|
|
33
|
+
* @default 0
|
|
34
|
+
*/
|
|
35
|
+
maxCrossAxisExtent?: number
|
|
36
|
+
/**
|
|
37
|
+
* 主轴方向间隔
|
|
38
|
+
* @supported weapp
|
|
39
|
+
* @default 0
|
|
40
|
+
*/
|
|
41
|
+
mainAxisGap?: number
|
|
42
|
+
/** 交叉轴方向间隔
|
|
43
|
+
* @supported weapp
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
crossAxisGap?: number
|
|
47
|
+
/**
|
|
48
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
49
|
+
* @supported weapp
|
|
50
|
+
* @default [0, 0, 0, 0]
|
|
51
|
+
*/
|
|
52
|
+
padding?: [number, number, number, number]
|
|
53
|
+
/**
|
|
54
|
+
* 列表项创建时触发,event.detail = {index},index 即被创建的列表项序号
|
|
55
|
+
* @supported weapp
|
|
56
|
+
*/
|
|
57
|
+
onItemBuild?: CommonEventFunction
|
|
58
|
+
/**
|
|
59
|
+
* 列表项回收时触发,event.detail = {index},index 即被回收的列表项序号
|
|
60
|
+
* @supported weapp
|
|
61
|
+
*/
|
|
62
|
+
onItemDispose?: CommonEventFunction
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 网格构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
|
|
67
|
+
* @classification skyline
|
|
68
|
+
* @supported weapp
|
|
69
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/grid-builder.html
|
|
70
|
+
*/
|
|
71
|
+
declare const GridBuilder: ComponentType<GridBuilderProps>
|
|
72
|
+
export { GridBuilder, GridBuilderProps }
|
package/types/GridView.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface GridViewProps extends StandardProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* 布局方式
|
|
5
6
|
* @supported weapp
|
|
6
7
|
* @default "aligned"
|
|
8
|
+
*
|
|
9
|
+
* 可选值:
|
|
10
|
+
* - aligned: 每行高度由同一行中最大高度子节点决定
|
|
11
|
+
* - masonry: 瀑布流,根据子元素高度自动布局
|
|
7
12
|
*/
|
|
8
|
-
type:
|
|
9
|
-
/**
|
|
13
|
+
type: 'aligned' | 'masonry'
|
|
14
|
+
/**
|
|
15
|
+
* 交叉轴元素数量
|
|
10
16
|
* @supported weapp
|
|
11
17
|
* @default 2
|
|
12
18
|
*/
|
|
13
19
|
crossAxisCount?: number
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* 主轴方向间隔
|
|
15
22
|
* @supported weapp
|
|
16
23
|
* @default 0
|
|
17
24
|
*/
|
|
@@ -26,7 +33,14 @@ interface GridViewProps extends StandardProps {
|
|
|
26
33
|
* @default 0
|
|
27
34
|
*/
|
|
28
35
|
maxCrossAxisExtent?: number
|
|
36
|
+
/**
|
|
37
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
38
|
+
* @supported weapp
|
|
39
|
+
* @default [0, 0, 0, 0]
|
|
40
|
+
*/
|
|
41
|
+
padding?: [number, number, number, number]
|
|
29
42
|
}
|
|
43
|
+
|
|
30
44
|
/**
|
|
31
45
|
* 网格布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
|
|
32
46
|
* @classification skyline
|
package/types/Icon.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface IconProps extends StandardProps {
|
|
4
4
|
/** icon 的类型
|
|
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
|
type: keyof IconProps.TIconType
|
|
8
8
|
/** icon 的大小,单位px
|
|
9
9
|
* @default 23
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
size?: number
|
|
13
13
|
/** icon 的颜色,同 css 的 color
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
color?: string
|
|
17
17
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -48,7 +48,7 @@ declare namespace IconProps {
|
|
|
48
48
|
}
|
|
49
49
|
/** 图标。组件属性的长度单位默认为 px
|
|
50
50
|
* @classification base
|
|
51
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
51
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
52
52
|
* @example_react
|
|
53
53
|
* ```tsx
|
|
54
54
|
* export default class PageView extends Component {
|
package/types/Image.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { ComponentType, ImgHTMLAttributes } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface ImageProps extends StandardProps {
|
|
4
4
|
/** 图片资源地址
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** 图片裁剪、缩放的模式
|
|
9
9
|
* @default "scaleToFill"
|
|
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
|
* @rn 部分支持 scaleToFill, aspectFit, aspectFill, widthFix
|
|
12
12
|
* @harmony 部分支持 scaleToFill, aspectFit, aspectFill, widthFix, heightFix
|
|
13
13
|
*/
|
|
@@ -24,7 +24,7 @@ interface ImageProps extends StandardProps {
|
|
|
24
24
|
svg?: boolean
|
|
25
25
|
/** 图片懒加载。只针对 page 与 scroll-view 下的 image 有效
|
|
26
26
|
* @default false
|
|
27
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
27
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
28
28
|
*/
|
|
29
29
|
lazyLoad?: boolean
|
|
30
30
|
/** 开启长按图片显示识别小程序码菜单
|
|
@@ -34,11 +34,11 @@ interface ImageProps extends StandardProps {
|
|
|
34
34
|
showMenuByLongpress?: boolean
|
|
35
35
|
/**
|
|
36
36
|
* 为 img 标签额外增加的属性
|
|
37
|
-
* @supported h5
|
|
37
|
+
* @supported h5, harmony_hybrid
|
|
38
38
|
*/
|
|
39
39
|
imgProps?: ImgHTMLAttributes<HTMLImageElement>
|
|
40
40
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
41
|
-
* @supported h5
|
|
41
|
+
* @supported h5, harmony_hybrid
|
|
42
42
|
*/
|
|
43
43
|
nativeProps?: Record<string, unknown>
|
|
44
44
|
/** 默认图片地址,若设置默认图片地址,会先显示默认图片,等 src 对应的图片加载成功后,再渲染对应的图片。
|
|
@@ -67,11 +67,11 @@ interface ImageProps extends StandardProps {
|
|
|
67
67
|
*/
|
|
68
68
|
fadeIn?: boolean
|
|
69
69
|
/** 当错误发生时,发布到 AppService 的事件名,事件对象
|
|
70
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
70
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
71
71
|
*/
|
|
72
72
|
onError?: CommonEventFunction<ImageProps.onErrorEventDetail>
|
|
73
73
|
/** 当图片载入完毕时,发布到 AppService 的事件名,事件对象
|
|
74
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
74
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
75
75
|
*/
|
|
76
76
|
onLoad?: CommonEventFunction<ImageProps.onLoadEventDetail>
|
|
77
77
|
/** 点击图片时触发。
|
|
@@ -130,7 +130,7 @@ declare namespace ImageProps {
|
|
|
130
130
|
*
|
|
131
131
|
* **Note:** 为实现小程序的 `mode` 特性,在 H5 组件中使用一个 `div` 容器来对内部的 `img` 进行展示区域的裁剪,因此请勿使用元素选择器来重置 `img` 的样式!
|
|
132
132
|
* @classification media
|
|
133
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
133
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
134
134
|
* @example_react
|
|
135
135
|
* ```tsx
|
|
136
136
|
* export default class PageView extends Component {
|
package/types/Input.d.ts
CHANGED
|
@@ -2,21 +2,26 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface InputProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 输入框的初始内容
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
|
+
/** 设置 React 非受控输入框的初始内容
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
|
+
* @unique
|
|
11
|
+
*/
|
|
12
|
+
defaultValue?: string
|
|
8
13
|
/** input 的类型
|
|
9
14
|
* @default "text"
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
11
16
|
*/
|
|
12
17
|
type?: keyof InputProps.Type
|
|
13
18
|
/** 是否是密码类型
|
|
14
19
|
* @default false
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
16
21
|
*/
|
|
17
22
|
password?: boolean
|
|
18
23
|
/** 输入框为空时占位符
|
|
19
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
24
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
20
25
|
*/
|
|
21
26
|
placeholder?: string
|
|
22
27
|
/** 指定 placeholder 的样式
|
|
@@ -34,12 +39,12 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
34
39
|
placeholderTextColor?: string
|
|
35
40
|
/** 是否禁用
|
|
36
41
|
* @default false
|
|
37
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
42
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
38
43
|
*/
|
|
39
44
|
disabled?: boolean
|
|
40
45
|
/** 最大输入长度,设置为 -1 的时候不限制最大长度
|
|
41
46
|
* @default 140
|
|
42
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
43
48
|
*/
|
|
44
49
|
maxlength?: number
|
|
45
50
|
/** 指定光标与键盘的距离,单位 px 。取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离
|
|
@@ -50,12 +55,12 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
50
55
|
/** (即将废弃,请直接使用 focus )自动聚焦,拉起键盘
|
|
51
56
|
* @default false
|
|
52
57
|
* @deprecated
|
|
53
|
-
* @supported weapp, qq, jd, h5
|
|
58
|
+
* @supported weapp, qq, jd, h5, harmony_hybrid
|
|
54
59
|
*/
|
|
55
60
|
autoFocus?: boolean
|
|
56
61
|
/** 获取焦点
|
|
57
62
|
* @default false
|
|
58
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
63
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
59
64
|
*/
|
|
60
65
|
focus?: boolean
|
|
61
66
|
/** 设置键盘右下角按钮的文字,仅在type='text'时生效
|
|
@@ -144,7 +149,7 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
144
149
|
*/
|
|
145
150
|
controlled?: boolean
|
|
146
151
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
147
|
-
* @supported h5
|
|
152
|
+
* @supported h5, harmony_hybrid
|
|
148
153
|
*/
|
|
149
154
|
nativeProps?: Record<string, unknown>
|
|
150
155
|
/** 组件名字,用于表单提交获取数据。
|
|
@@ -166,19 +171,19 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
166
171
|
*/
|
|
167
172
|
clueType?: number
|
|
168
173
|
/** 当键盘输入时,触发input事件,event.detail = {value, cursor, keyCode},处理函数可以直接 return 一个字符串,将替换输入框的内容。
|
|
169
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
174
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
170
175
|
*/
|
|
171
176
|
onInput?: CommonEventFunction<InputProps.inputEventDetail>
|
|
172
177
|
/** 输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
|
|
173
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
178
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
174
179
|
*/
|
|
175
180
|
onFocus?: CommonEventFunction<InputProps.inputForceEventDetail>
|
|
176
181
|
/** 输入框失去焦点时触发
|
|
177
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
182
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
178
183
|
*/
|
|
179
184
|
onBlur?: CommonEventFunction<InputProps.inputValueEventDetail>
|
|
180
185
|
/** 点击完成按钮时触发
|
|
181
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
186
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
182
187
|
*/
|
|
183
188
|
onConfirm?: CommonEventFunction<InputProps.inputValueEventDetail>
|
|
184
189
|
/** 键盘高度发生变化的时候触发此事件
|
|
@@ -194,11 +199,11 @@ declare namespace InputProps {
|
|
|
194
199
|
/** Input 类型 */
|
|
195
200
|
interface Type {
|
|
196
201
|
/** 文本输入键盘
|
|
197
|
-
* @supported weapp, alipay, h5, rn
|
|
202
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
198
203
|
*/
|
|
199
204
|
text
|
|
200
205
|
/** 数字输入键盘
|
|
201
|
-
* @supported weapp, alipay, h5, rn
|
|
206
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
202
207
|
*/
|
|
203
208
|
number
|
|
204
209
|
/** 身份证输入键盘
|
|
@@ -206,7 +211,7 @@ declare namespace InputProps {
|
|
|
206
211
|
*/
|
|
207
212
|
idcard
|
|
208
213
|
/** 带小数点的数字键盘
|
|
209
|
-
* @supported weapp, alipay, h5, rn
|
|
214
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
210
215
|
*/
|
|
211
216
|
digit
|
|
212
217
|
/** 密码安全输入键盘[指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/safe-password.html)
|
|
@@ -271,7 +276,7 @@ declare namespace InputProps {
|
|
|
271
276
|
}
|
|
272
277
|
/** 输入框。该组件是原生组件,使用时请注意相关限制
|
|
273
278
|
* @classification forms
|
|
274
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
279
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
275
280
|
* @example_react
|
|
276
281
|
* ```tsx
|
|
277
282
|
* class App extends Component {
|
package/types/Label.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface LabelProps extends StandardProps {
|
|
4
4
|
/** 绑定控件的 id
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
for?: string
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ interface LabelProps extends StandardProps {
|
|
|
10
10
|
*
|
|
11
11
|
* 使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch。
|
|
12
12
|
* @classification forms
|
|
13
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
13
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
14
14
|
* @example_react
|
|
15
15
|
* ```tsx
|
|
16
16
|
* class App extends Components {
|