@tarojs/components 3.4.8 → 3.5.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cjs/{index-dd4b7ba3.js → index-cd258c8b.js} +62 -53
- 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-audio-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 +1 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- 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-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +1 -1
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +12 -13
- package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +1 -1
- package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkbox/style/index.css +1 -2
- package/dist/collection/components/tabbar/tabbar.js +11 -12
- package/dist/esm/{index-5bd7cbab.js → index-1d67274c.js} +62 -53
- package/dist/esm/loader.js +2 -2
- 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-audio-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +1 -1
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +1 -1
- package/dist/esm/taro-image-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +1 -1
- 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-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core.entry.js +1 -1
- package/dist/esm/taro-movable-view-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +1 -1
- package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm/taro-picker-view-core.entry.js +1 -1
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +12 -13
- package/dist/esm/taro-text-core.entry.js +1 -1
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +1 -1
- package/dist/esm/taro-view-core.entry.js +1 -1
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/{index-5bd7cbab.js → index-1d67274c.js} +1 -1
- 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-audio-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-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-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-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-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-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.entry.js +1 -1
- package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh.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-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-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-06bffead.entry.js → p-06352f55.entry.js} +1 -1
- package/dist/taro-components/{p-b6d6c744.entry.js → p-085c4322.entry.js} +1 -1
- package/dist/taro-components/{p-3c0230ba.entry.js → p-087d704b.entry.js} +1 -1
- package/dist/taro-components/{p-aae3e479.entry.js → p-0afc53da.entry.js} +1 -1
- package/dist/taro-components/{p-8f90fca9.system.entry.js → p-13359eb6.system.entry.js} +1 -1
- package/dist/taro-components/{p-8e0150eb.system.entry.js → p-1398c59d.system.entry.js} +1 -1
- package/dist/taro-components/{p-94502fc3.entry.js → p-13d03572.entry.js} +1 -1
- package/dist/taro-components/p-14484d41.entry.js +1 -0
- package/dist/taro-components/{p-cea9a198.system.entry.js → p-176374d6.system.entry.js} +1 -1
- package/dist/taro-components/{p-2d066d28.entry.js → p-17b78ad7.entry.js} +1 -1
- package/dist/taro-components/{p-0ee69803.entry.js → p-1fbf755f.entry.js} +1 -1
- package/dist/taro-components/{p-336f2b2a.system.entry.js → p-221bffa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b790eb0.system.entry.js → p-24cc05ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-fbd45c24.system.entry.js → p-2afb4d49.system.entry.js} +1 -1
- package/dist/taro-components/{p-0c2982fc.system.entry.js → p-2c4dea36.system.entry.js} +1 -1
- package/dist/taro-components/{p-5c6aeb55.entry.js → p-34d60fc8.entry.js} +1 -1
- package/dist/taro-components/{p-bd3fa355.system.entry.js → p-37ac3d2b.system.entry.js} +1 -1
- package/dist/taro-components/{p-33c5efb5.entry.js → p-3b067d1f.entry.js} +1 -1
- package/dist/taro-components/{p-7721e046.entry.js → p-3e7aced1.entry.js} +1 -1
- package/dist/taro-components/{p-8bea1c4d.system.entry.js → p-3efae2a3.system.entry.js} +1 -1
- package/dist/taro-components/{p-b2d01686.system.js → p-44996bd6.system.js} +1 -1
- package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-45574a38.system.entry.js} +1 -1
- package/dist/taro-components/{p-cdffee54.system.entry.js → p-45b92229.system.entry.js} +1 -1
- package/dist/taro-components/{p-b0bd2cf1.system.entry.js → p-49df1b65.system.entry.js} +1 -1
- package/dist/taro-components/{p-964692f7.system.entry.js → p-4a0599c1.system.entry.js} +1 -1
- package/dist/taro-components/{p-fdd73355.system.entry.js → p-4cb60cf0.system.entry.js} +1 -1
- package/dist/taro-components/{p-ed3bf934.system.entry.js → p-52cbf36e.system.entry.js} +1 -1
- package/dist/taro-components/{p-9a618935.system.entry.js → p-546f5965.system.entry.js} +1 -1
- package/dist/taro-components/p-549636ca.entry.js +1 -0
- package/dist/taro-components/{p-8db237e0.entry.js → p-55646f03.entry.js} +1 -1
- package/dist/taro-components/{p-3593c5f1.system.entry.js → p-5656b308.system.entry.js} +1 -1
- package/dist/taro-components/{p-e6298500.entry.js → p-58cbfd17.entry.js} +1 -1
- package/dist/taro-components/{p-c06f1610.system.entry.js → p-5e48f1b4.system.entry.js} +1 -1
- package/dist/taro-components/{p-b93ca09d.entry.js → p-5f276ea1.entry.js} +1 -1
- package/dist/taro-components/{p-cb395e7d.entry.js → p-615b87e8.entry.js} +1 -1
- package/dist/taro-components/{p-3643d8f7.system.entry.js → p-617f5e2a.system.entry.js} +1 -1
- package/dist/taro-components/{p-ff032a23.system.entry.js → p-64f6f87c.system.entry.js} +1 -1
- package/dist/taro-components/p-68246408.entry.js +1 -0
- package/dist/taro-components/{p-03eb37e5.system.entry.js → p-6946f166.system.entry.js} +1 -1
- package/dist/taro-components/{p-288b38f9.system.entry.js → p-6e12bd70.system.entry.js} +1 -1
- package/dist/taro-components/{p-d19aeb27.entry.js → p-7419e765.entry.js} +1 -1
- package/dist/taro-components/{p-264b7229.system.entry.js → p-79495606.system.entry.js} +1 -1
- package/dist/taro-components/{p-07062966.entry.js → p-7d457a6a.entry.js} +1 -1
- package/dist/taro-components/{p-8b2bf902.system.entry.js → p-7df1437d.system.entry.js} +1 -1
- package/dist/taro-components/{p-6c211370.system.entry.js → p-7f2d456b.system.entry.js} +1 -1
- package/dist/taro-components/p-7f726d39.entry.js +1 -0
- package/dist/taro-components/{p-3633bb84.entry.js → p-7f8ddefe.entry.js} +1 -1
- package/dist/taro-components/{p-d1c2481c.system.entry.js → p-81e33437.system.entry.js} +1 -1
- package/dist/taro-components/{p-9d0ab7c4.entry.js → p-880791ee.entry.js} +1 -1
- package/dist/taro-components/{p-5f8b5f62.entry.js → p-884e6eab.entry.js} +1 -1
- package/dist/taro-components/{p-61c0caae.entry.js → p-88e3bc92.entry.js} +1 -1
- package/dist/taro-components/{p-3334ac67.system.entry.js → p-88ee404a.system.entry.js} +1 -1
- package/dist/taro-components/{p-703dfad8.system.entry.js → p-899c6b73.system.entry.js} +1 -1
- package/dist/taro-components/{p-55b0a30b.entry.js → p-8a2b7701.entry.js} +1 -1
- package/dist/taro-components/p-8c6d8802.entry.js +1 -0
- package/dist/taro-components/p-8c7cf814.js +1 -0
- package/dist/taro-components/p-8ca394d6.entry.js +1 -0
- package/dist/taro-components/{p-7d848382.system.entry.js → p-8cdc809b.system.entry.js} +1 -1
- package/dist/taro-components/{p-58623cdd.system.entry.js → p-8e0529f2.system.entry.js} +1 -1
- package/dist/taro-components/{p-fb0959c1.system.entry.js → p-8ea9ceb6.system.entry.js} +1 -1
- package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-90f11b84.system.entry.js} +1 -1
- package/dist/taro-components/{p-554e1039.entry.js → p-917185f3.entry.js} +1 -1
- package/dist/taro-components/{p-edcb9726.entry.js → p-92f26e22.entry.js} +1 -1
- package/dist/taro-components/{p-7423fc3b.system.entry.js → p-96706c5c.system.entry.js} +1 -1
- package/dist/taro-components/p-97af3986.system.entry.js +1 -0
- package/dist/taro-components/{p-0472e474.system.entry.js → p-9c0f3f24.system.entry.js} +1 -1
- package/dist/taro-components/{p-3fa99b92.system.entry.js → p-9dcfe647.system.entry.js} +1 -1
- package/dist/taro-components/p-9ff180ae.entry.js +1 -0
- package/dist/taro-components/{p-3aad572a.system.entry.js → p-a16053fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-33ee636a.system.js → p-a2fd3c03.system.js} +1 -1
- package/dist/taro-components/{p-26bdffd7.entry.js → p-a9a84796.entry.js} +1 -1
- package/dist/taro-components/{p-f5fe8711.entry.js → p-a9c3e575.entry.js} +1 -1
- package/dist/taro-components/{p-527a38ee.system.entry.js → p-ac4c4975.system.entry.js} +1 -1
- package/dist/taro-components/{p-8a5e67cb.entry.js → p-aca73ca4.entry.js} +1 -1
- package/dist/taro-components/{p-50be38a1.system.entry.js → p-acb07924.system.entry.js} +1 -1
- package/dist/taro-components/{p-1e4f1702.system.entry.js → p-acfcb861.system.entry.js} +1 -1
- package/dist/taro-components/p-b31e6cf0.entry.js +1 -0
- package/dist/taro-components/{p-cfbfeee8.entry.js → p-b455351e.entry.js} +1 -1
- package/dist/taro-components/{p-065ec61d.entry.js → p-b640bd56.entry.js} +1 -1
- package/dist/taro-components/{p-0c18bd18.system.entry.js → p-b7128eac.system.entry.js} +1 -1
- package/dist/taro-components/{p-df5a19b0.system.entry.js → p-ba984b34.system.entry.js} +1 -1
- package/dist/taro-components/{p-00089605.entry.js → p-bb3d337d.entry.js} +1 -1
- package/dist/taro-components/p-c0875abf.entry.js +1 -0
- package/dist/taro-components/{p-42eb4f16.entry.js → p-c1642977.entry.js} +1 -1
- package/dist/taro-components/p-c33b552b.entry.js +1 -0
- package/dist/taro-components/p-c6d14c2b.entry.js +1 -0
- package/dist/taro-components/p-c995a3aa.entry.js +1 -0
- package/dist/taro-components/{p-06af26db.system.entry.js → p-cde242bb.system.entry.js} +1 -1
- package/dist/taro-components/p-de726095.entry.js +1 -0
- package/dist/taro-components/p-de95c6ac.system.entry.js +1 -0
- package/dist/taro-components/{p-a05d66d1.system.entry.js → p-deef9af1.system.entry.js} +1 -1
- package/dist/taro-components/{p-99cb65a6.system.entry.js → p-e5486e8c.system.entry.js} +1 -1
- package/dist/taro-components/{p-15bea37d.entry.js → p-e56a303b.entry.js} +1 -1
- package/dist/taro-components/{p-668a6262.entry.js → p-e5fdbc1c.entry.js} +1 -1
- package/dist/taro-components/{p-14dbbb42.entry.js → p-e6ec7abc.entry.js} +1 -1
- package/dist/taro-components/{p-7cdad34e.system.entry.js → p-ed69dc55.system.entry.js} +1 -1
- package/dist/taro-components/{p-b75d8a65.entry.js → p-ee1ffbb0.entry.js} +1 -1
- package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-efc892d1.system.entry.js} +1 -1
- package/dist/taro-components/{p-e61d2113.system.entry.js → p-f0c5c933.system.entry.js} +1 -1
- package/dist/taro-components/{p-b87cf623.entry.js → p-f425f3b5.entry.js} +1 -1
- package/dist/taro-components/{p-e3c9421d.entry.js → p-f5377a15.entry.js} +1 -1
- package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-f675e927.system.entry.js} +1 -1
- package/dist/taro-components/p-fc28dbdd.entry.js +1 -0
- package/dist/taro-components/p-fee2ad82.entry.js +1 -0
- package/dist/taro-components/{p-e2f6448d.system.entry.js → p-ff792cf7.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/tabbar/tabbar.d.ts +3 -2
- package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
- package/dist/types/props.js +1 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist-h5/react/components/index.js +63 -0
- package/dist-h5/react/index.js +1 -46
- package/dist-h5/vue/components/index.js +60 -0
- package/dist-h5/vue/index.js +23 -26
- package/dist-h5/vue3/components/index.js +64 -0
- package/dist-h5/vue3/index.js +10 -64
- package/package.json +21 -9
- package/types/Block.d.ts +5 -2
- package/types/Checkbox.d.ts +1 -1
- package/types/CheckboxGroup.d.ts +1 -1
- package/types/CoverImage.d.ts +1 -1
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +2 -2
- package/types/Editor.d.ts +10 -10
- package/types/Form.d.ts +6 -6
- package/types/Label.d.ts +2 -2
- package/types/OfficialAccount.d.ts +3 -3
- package/types/PickerViewColumn.d.ts +3 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +1 -1
- package/types/RichText.d.ts +1 -1
- package/types/ScrollView.d.ts +6 -6
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +2 -2
- package/types/Swiper.d.ts +2 -2
- package/types/Switch.d.ts +1 -1
- package/types/Text.d.ts +2 -2
- package/types/View.d.ts +2 -2
- package/types/WebView.d.ts +1 -1
- package/types/common.d.ts +2 -0
- package/types/index.d.ts +53 -52
- package/types/index.vue3.d.ts +70 -72
- package/types/props.ts +73 -0
- package/vue3.d.ts +3 -0
- package/dist/taro-components/p-0303f9e0.entry.js +0 -1
- package/dist/taro-components/p-3dfb1807.entry.js +0 -1
- package/dist/taro-components/p-431080b8.entry.js +0 -1
- package/dist/taro-components/p-51401bdc.entry.js +0 -1
- package/dist/taro-components/p-59d38db0.entry.js +0 -1
- package/dist/taro-components/p-7fdd59f0.entry.js +0 -1
- package/dist/taro-components/p-92a31933.system.entry.js +0 -1
- package/dist/taro-components/p-92e95d3f.entry.js +0 -1
- package/dist/taro-components/p-a1423df9.entry.js +0 -1
- package/dist/taro-components/p-b9280444.entry.js +0 -1
- package/dist/taro-components/p-bc97b854.system.entry.js +0 -1
- package/dist/taro-components/p-c218c298.entry.js +0 -1
- package/dist/taro-components/p-c362734b.entry.js +0 -1
- package/dist/taro-components/p-cd2af8b4.entry.js +0 -1
- package/dist/taro-components/p-cf55a63c.entry.js +0 -1
- package/dist/taro-components/p-d0c608a8.entry.js +0 -1
- package/dist/taro-components/p-e27798a4.entry.js +0 -1
- package/dist/taro-components/p-f05e1558.js +0 -1
- package/dist-h5/vue/simpleComponents.js +0 -19
package/README.md
CHANGED
|
@@ -5,3 +5,5 @@ Taro 组件库。
|
|
|
5
5
|
在小程序端,React/Nerv 指向 `mini/index.js`,Vue 无需使用此包。
|
|
6
6
|
|
|
7
7
|
在 H5 端,React/Nerv 指向 `h5/react/index.js`,Vue 指向 `h5/vue/index.js`。H5 端使用 [stencil](https://stenciljs.com/) 把组件编译为 Web Components 以提供跨框架调用。
|
|
8
|
+
|
|
9
|
+
> NOTE: stencil v2.14+ 引入 import.meta 特性,使用 webpack4 打包时会抛出问题,需要解决后再升级。
|
|
@@ -396,7 +396,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
396
396
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
397
397
|
if (memberName === 'list') {
|
|
398
398
|
isProp = false;
|
|
399
|
-
// tslint:disable-next-line: triple-equals
|
|
400
399
|
}
|
|
401
400
|
else if (oldValue == null || elm[memberName] != n) {
|
|
402
401
|
elm[memberName] = n;
|
|
@@ -1306,14 +1305,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1306
1305
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1307
1306
|
plt.jmp(() => {
|
|
1308
1307
|
const propName = attrNameToPropName.get(attrName);
|
|
1309
|
-
// In a
|
|
1308
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1310
1309
|
// in the case where an attribute was set inline.
|
|
1311
1310
|
// ```html
|
|
1312
1311
|
// <my-component some-attribute="some-value"></my-component>
|
|
1313
1312
|
// ```
|
|
1314
1313
|
//
|
|
1315
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1316
|
-
// changes it before it has been upgraded as shown below:
|
|
1314
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1315
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1317
1316
|
//
|
|
1318
1317
|
// ```html
|
|
1319
1318
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1323,13 +1322,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1323
1322
|
// el = document.querySelector("#test");
|
|
1324
1323
|
// el.someAttribute = "another-value";
|
|
1325
1324
|
// // upgrade component
|
|
1326
|
-
//
|
|
1325
|
+
// customElements.define('my-component', MyComponent);
|
|
1327
1326
|
// </script>
|
|
1328
1327
|
// ```
|
|
1329
1328
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1330
1329
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1331
1330
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1332
|
-
// the connectedCallback attempts to unshadow it will use "some-value" as the
|
|
1331
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1333
1332
|
//
|
|
1334
1333
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1335
1334
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1343,6 +1342,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1343
1342
|
newValue = this[propName];
|
|
1344
1343
|
delete this[propName];
|
|
1345
1344
|
}
|
|
1345
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1346
|
+
typeof this[propName] === 'number' &&
|
|
1347
|
+
this[propName] == newValue) {
|
|
1348
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1349
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1350
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1351
|
+
return;
|
|
1352
|
+
}
|
|
1346
1353
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1347
1354
|
});
|
|
1348
1355
|
};
|
|
@@ -1425,7 +1432,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1425
1432
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1426
1433
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1427
1434
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1428
|
-
// this is the
|
|
1435
|
+
// this is the initial load and this component it has an ancestor component
|
|
1429
1436
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1430
1437
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1431
1438
|
// this will get fired off when the ancestor component
|
|
@@ -1532,57 +1539,59 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1532
1539
|
let isBootstrapping = true;
|
|
1533
1540
|
Object.assign(plt, options);
|
|
1534
1541
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1535
|
-
lazyBundles.map((lazyBundle) =>
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
const tagName = cmpMeta.$tagName$;
|
|
1552
|
-
const HostElement = class extends HTMLElement {
|
|
1553
|
-
// StencilLazyHost
|
|
1554
|
-
constructor(self) {
|
|
1555
|
-
// @ts-ignore
|
|
1556
|
-
super(self);
|
|
1557
|
-
self = this;
|
|
1558
|
-
registerHost(self, cmpMeta);
|
|
1542
|
+
lazyBundles.map((lazyBundle) => {
|
|
1543
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1544
|
+
const cmpMeta = {
|
|
1545
|
+
$flags$: compactMeta[0],
|
|
1546
|
+
$tagName$: compactMeta[1],
|
|
1547
|
+
$members$: compactMeta[2],
|
|
1548
|
+
$listeners$: compactMeta[3],
|
|
1549
|
+
};
|
|
1550
|
+
{
|
|
1551
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1552
|
+
}
|
|
1553
|
+
{
|
|
1554
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1555
|
+
}
|
|
1556
|
+
{
|
|
1557
|
+
cmpMeta.$watchers$ = {};
|
|
1559
1558
|
}
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1559
|
+
const tagName = cmpMeta.$tagName$;
|
|
1560
|
+
const HostElement = class extends HTMLElement {
|
|
1561
|
+
// StencilLazyHost
|
|
1562
|
+
constructor(self) {
|
|
1563
|
+
// @ts-ignore
|
|
1564
|
+
super(self);
|
|
1565
|
+
self = this;
|
|
1566
|
+
registerHost(self, cmpMeta);
|
|
1564
1567
|
}
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
+
connectedCallback() {
|
|
1569
|
+
if (appLoadFallback) {
|
|
1570
|
+
clearTimeout(appLoadFallback);
|
|
1571
|
+
appLoadFallback = null;
|
|
1572
|
+
}
|
|
1573
|
+
if (isBootstrapping) {
|
|
1574
|
+
// connectedCallback will be processed once all components have been registered
|
|
1575
|
+
deferredConnectedCallbacks.push(this);
|
|
1576
|
+
}
|
|
1577
|
+
else {
|
|
1578
|
+
plt.jmp(() => connectedCallback(this));
|
|
1579
|
+
}
|
|
1568
1580
|
}
|
|
1569
|
-
|
|
1570
|
-
plt.jmp(() =>
|
|
1581
|
+
disconnectedCallback() {
|
|
1582
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1571
1583
|
}
|
|
1584
|
+
componentOnReady() {
|
|
1585
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1586
|
+
}
|
|
1587
|
+
};
|
|
1588
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1589
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1590
|
+
cmpTags.push(tagName);
|
|
1591
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1572
1592
|
}
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
}
|
|
1576
|
-
componentOnReady() {
|
|
1577
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1578
|
-
}
|
|
1579
|
-
};
|
|
1580
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1581
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1582
|
-
cmpTags.push(tagName);
|
|
1583
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1584
|
-
}
|
|
1585
|
-
}));
|
|
1593
|
+
});
|
|
1594
|
+
});
|
|
1586
1595
|
{
|
|
1587
1596
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1588
1597
|
visibilityStyle.setAttribute('data-styles', '');
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
const index$1 = require('./index-dffbd352.js');
|
|
7
7
|
|
|
8
8
|
const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
|
|
7
|
-
const indexCss = "
|
|
7
|
+
const indexCss = ".taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:\"\\ea08\";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}";
|
|
8
8
|
|
|
9
9
|
let Checkbox = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-cd258c8b.js');
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
6
|
+
Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('taro-components.cjs.js', document.baseURI).href));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
const index$1 = require('./index-dffbd352.js');
|
|
7
7
|
|
|
8
8
|
const coverViewCss = "taro-cover-view-core{display:block}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
const index$1 = require('./index-dffbd352.js');
|
|
7
7
|
|
|
8
8
|
const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
|
|
7
7
|
const indexCss = "taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
const index$1 = require('./index-47a1959e.js');
|
|
7
7
|
|
|
8
8
|
const columnCss = ".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";
|