NervJS / taro

开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
https://docs.taro.zone/
Other
34.82k stars 4.72k forks source link

feat: 适配微信 Skyline 组件 #15549

Closed koppthe closed 2 weeks ago

koppthe commented 3 weeks ago

这个 PR 做了什么? (简要描述所做更改)

新增微信小程序 Skyline 的组件适配(不包含手势相关的组件)

这个 PR 是什么类型? (至少选择一个)

这个 PR 涉及以下平台:

taro-bot2[bot] commented 3 weeks ago

欢迎提交 PR~ Taro 非常感谢您对开源事业做出的贡献!🌷🌷🌷

一般 PR 会在一到两周内进行 review,成功合入后会随下一个版本进行发布。

Review 需要耗费大量时间,所以请遵循以下规范,协助我们提高 review 效率🙏🙏🙏

  1. 详细介绍 PR 的背景(非常重要,例如解决了什么问题,该问题如何复现等)
  2. 确保 CI 顺利运行。
  3. 最好能提供对应的测试用例。

为了更好地进行沟通,请加入 Taro 开发者微信群:

taro-bot2[bot] commented 3 weeks ago

欢迎提交 PR~ Taro 非常感谢您对开源事业做出的贡献!🌷🌷🌷

一般 PR 会在一到两周内进行 review,成功合入后会随下一个版本进行发布。

Review 需要耗费大量时间,所以请遵循以下规范,协助我们提高 review 效率🙏🙏🙏

  1. 详细介绍 PR 的背景(非常重要,例如解决了什么问题,该问题如何复现等)
  2. 确保 CI 顺利运行。
  3. 最好能提供对应的测试用例。

为了更好地进行沟通,请加入 Taro 开发者微信群:

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.64%. Comparing base (3a4b002) to head (d2298f1). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/NervJS/taro/pull/15549/graphs/tree.svg?width=650&height=150&src=pr&token=y06kPnzJaQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS)](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) ```diff @@ Coverage Diff @@ ## main #15549 +/- ## ========================================== + Coverage 58.52% 58.64% +0.11% ========================================== Files 491 500 +9 Lines 21885 21936 +51 Branches 5621 5621 ========================================== + Hits 12809 12865 +56 + Misses 7911 7887 -24 - Partials 1165 1184 +19 ``` | [Flag](https://app.codecov.io/gh/NervJS/taro/pull/15549/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | Coverage Δ | | |---|---|---| | [taro-cli](https://app.codecov.io/gh/NervJS/taro/pull/15549/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `63.61% <ø> (+6.21%)` | :arrow_up: | | [taro-runner](https://app.codecov.io/gh/NervJS/taro/pull/15549/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `46.31% <100.00%> (+0.06%)` | :arrow_up: | | [taro-runtime](https://app.codecov.io/gh/NervJS/taro/pull/15549/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `65.35% <ø> (ø)` | | | [taro-web](https://app.codecov.io/gh/NervJS/taro/pull/15549/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | `40.62% <100.00%> (+0.34%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/NervJS/taro/pull/15549?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS) | Coverage Δ | | |---|---|---| | [...src/components/draggable-sheet/draggable-sheet.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fdraggable-sheet%2Fdraggable-sheet.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL2RyYWdnYWJsZS1zaGVldC9kcmFnZ2FibGUtc2hlZXQudHN4) | `100.00% <100.00%> (ø)` | | | [...nents/src/components/grid-builder/grid-builder.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fgrid-builder%2Fgrid-builder.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL2dyaWQtYnVpbGRlci9ncmlkLWJ1aWxkZXIudHN4) | `100.00% <100.00%> (ø)` | | | [...nents/src/components/list-builder/list-builder.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Flist-builder%2Flist-builder.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL2xpc3QtYnVpbGRlci9saXN0LWJ1aWxkZXIudHN4) | `100.00% <100.00%> (ø)` | | | [...mponents/nested-scroll-body/nested-scroll-body.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fnested-scroll-body%2Fnested-scroll-body.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL25lc3RlZC1zY3JvbGwtYm9keS9uZXN0ZWQtc2Nyb2xsLWJvZHkudHN4) | `100.00% <100.00%> (ø)` | | | [...ents/nested-scroll-header/nested-scroll-header.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fnested-scroll-header%2Fnested-scroll-header.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL25lc3RlZC1zY3JvbGwtaGVhZGVyL25lc3RlZC1zY3JvbGwtaGVhZGVyLnRzeA==) | `100.00% <100.00%> (ø)` | | | [...s/src/components/open-container/open-container.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fopen-container%2Fopen-container.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL29wZW4tY29udGFpbmVyL29wZW4tY29udGFpbmVyLnRzeA==) | `100.00% <100.00%> (ø)` | | | [...kages/taro-components/src/components/span/span.tsx](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-components%2Fsrc%2Fcomponents%2Fspan%2Fspan.tsx&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1jb21wb25lbnRzL3NyYy9jb21wb25lbnRzL3NwYW4vc3Bhbi50c3g=) | `100.00% <100.00%> (ø)` | | | [...ner/src/\_\_tests\_\_/fixtures/skyline/babel.config.js](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-mini-runner%2Fsrc%2F__tests__%2Ffixtures%2Fskyline%2Fbabel.config.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1taW5pLXJ1bm5lci9zcmMvX190ZXN0c19fL2ZpeHR1cmVzL3NreWxpbmUvYmFiZWwuY29uZmlnLmpz) | `100.00% <100.00%> (ø)` | | | [...ackages/taro-mini-runner/src/plugins/MiniPlugin.ts](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-mini-runner%2Fsrc%2Fplugins%2FMiniPlugin.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby1taW5pLXJ1bm5lci9zcmMvcGx1Z2lucy9NaW5pUGx1Z2luLnRz) | `69.95% <ø> (+0.64%)` | :arrow_up: | | [...ner/src/\_\_tests\_\_/fixtures/skyline/babel.config.js](https://app.codecov.io/gh/NervJS/taro/pull/15549?src=pr&el=tree&filepath=packages%2Ftaro-webpack5-runner%2Fsrc%2F__tests__%2Ffixtures%2Fskyline%2Fbabel.config.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS#diff-cGFja2FnZXMvdGFyby13ZWJwYWNrNS1ydW5uZXIvc3JjL19fdGVzdHNfXy9maXh0dXJlcy9za3lsaW5lL2JhYmVsLmNvbmZpZy5qcw==) | `100.00% <ø> (ø)` | | ... and [12 files with indirect coverage changes](https://app.codecov.io/gh/NervJS/taro/pull/15549/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=NervJS)