From 3215675e8b917cc12c59e0dc8c7a6bb6b7637880 Mon Sep 17 00:00:00 2001
From: konka <1094918@gmail.com>
Date: Fri, 23 Feb 2024 16:29:13 +0800
Subject: [PATCH] fix(weapp): support skyline components
#14698
---
.../taro-components/__tests__/span.spec.tsx | 25 ++
.../src/components/span/readme.md | 8 +
.../src/components/span/span.tsx | 16 ++
packages/taro-components/types/GridView.d.ts | 17 +-
packages/taro-components/types/ListView.d.ts | 9 +-
packages/taro-components/types/Snapshot.d.ts | 16 +-
packages/taro-components/types/Span.d.ts | 14 +
.../taro-components/types/StickyHeader.d.ts | 15 +-
.../taro-components/types/StickySection.d.ts | 6 +
packages/taro-components/types/Text.d.ts | 16 ++
packages/taro-components/types/index.d.ts | 1 +
.../taro-components/types/index.vue3.d.ts | 4 +
.../__snapshots__/alipay.spec.ts.snap | 2 +-
.../__snapshots__/babel.spec.ts.snap | 54 ++--
.../__snapshots__/bytedance.spec.ts.snap | 2 +-
.../__snapshots__/common-style.spec.ts.snap | 54 ++--
.../compiler-macros.spec.ts.snap | 54 ++--
.../__snapshots__/config.spec.ts.snap | 170 ++++++-----
.../__snapshots__/css-modules.spec.ts.snap | 108 ++++---
.../__snapshots__/custom-tabbar.spec.ts.snap | 54 ++--
.../__tests__/__snapshots__/jd.spec.ts.snap | 30 +-
.../__snapshots__/parse-html.spec.ts.snap | 54 ++--
.../__snapshots__/prerender.spec.ts.snap | 162 +++++++----
.../__tests__/__snapshots__/qq.spec.ts.snap | 108 ++++---
.../__snapshots__/react.spec.ts.snap | 54 ++--
.../__tests__/__snapshots__/sass.spec.ts.snap | 216 ++++++++------
.../__snapshots__/subpackages.spec.ts.snap | 54 ++--
.../__tests__/__snapshots__/swan.spec.ts.snap | 30 +-
.../__snapshots__/tabbar.spec.ts.snap | 56 ++--
.../__tests__/__snapshots__/ts.spec.ts.snap | 54 ++--
.../__tests__/__snapshots__/vue.spec.ts.snap | 54 ++--
.../__tests__/__snapshots__/vue3.spec.ts.snap | 54 ++--
.../__snapshots__/wx-hybrid.spec.ts.snap | 54 ++--
packages/taro-weapp/src/components-react.ts | 1 +
packages/taro-weapp/src/components.ts | 22 +-
.../__snapshots__/babel.spec.ts.snap | 54 ++--
.../compiler-macros.spec.ts.snap | 54 ++--
.../__snapshots__/config.spec.ts.snap | 224 +++++++++------
.../__snapshots__/css-modules.spec.ts.snap | 108 ++++---
.../__snapshots__/framework.spec.ts.snap | 216 ++++++++------
.../__snapshots__/mini-platform.spec.ts.snap | 34 +--
.../__snapshots__/parse-html.spec.ts.snap | 54 ++--
.../__snapshots__/prerender.spec.ts.snap | 162 +++++++----
.../__tests__/__snapshots__/sass.spec.ts.snap | 270 +++++++++++-------
.../__snapshots__/subpackages.spec.ts.snap | 54 ++--
.../__snapshots__/tabbar.spec.ts.snap | 110 ++++---
.../__tests__/__snapshots__/ts.spec.ts.snap | 54 ++--
.../__snapshots__/wx-hybrid.spec.ts.snap | 54 ++--
48 files changed, 1936 insertions(+), 1160 deletions(-)
create mode 100644 packages/taro-components/__tests__/span.spec.tsx
create mode 100644 packages/taro-components/src/components/span/readme.md
create mode 100644 packages/taro-components/src/components/span/span.tsx
create mode 100644 packages/taro-components/types/Span.d.ts
diff --git a/packages/taro-components/__tests__/span.spec.tsx b/packages/taro-components/__tests__/span.spec.tsx
new file mode 100644
index 000000000000..71de0f58d508
--- /dev/null
+++ b/packages/taro-components/__tests__/span.spec.tsx
@@ -0,0 +1,25 @@
+import { h } from '@stencil/core'
+import { newSpecPage, SpecPage } from '@stencil/core/testing'
+
+import { Span } from '../src/components/span/span'
+import { printUnimplementedWarning } from './utils'
+
+const logError = jest.fn()
+console.error = logError
+
+describe('Span', () => {
+ let page: SpecPage
+
+ it('unimplemented', async () => {
+ page = await newSpecPage({
+ components: [Span],
+ template: () => ,
+ })
+ await page.waitForChanges()
+
+ expect(page.root).toEqualHtml(`
+
+ `)
+ expect(logError).toHaveBeenCalledWith(printUnimplementedWarning(page.root))
+ })
+})
diff --git a/packages/taro-components/src/components/span/readme.md b/packages/taro-components/src/components/span/readme.md
new file mode 100644
index 000000000000..21914714727f
--- /dev/null
+++ b/packages/taro-components/src/components/span/readme.md
@@ -0,0 +1,8 @@
+# taro-span-core
+
+
+
+
+----------------------------------------------
+
+*Built with [StencilJS](https://stenciljs.com/)*
diff --git a/packages/taro-components/src/components/span/span.tsx b/packages/taro-components/src/components/span/span.tsx
new file mode 100644
index 000000000000..dfab32614e52
--- /dev/null
+++ b/packages/taro-components/src/components/span/span.tsx
@@ -0,0 +1,16 @@
+import { Component, ComponentInterface, h, Host } from '@stencil/core'
+
+import { notSupport } from '../../utils'
+
+@Component({
+ tag: 'taro-span-core',
+})
+export class Span implements ComponentInterface {
+ componentDidLoad() {
+ notSupport('Span', this)
+ }
+
+ render() {
+ return
+ }
+}
diff --git a/packages/taro-components/types/GridView.d.ts b/packages/taro-components/types/GridView.d.ts
index 25aae495f5c7..d815f28f47e5 100644
--- a/packages/taro-components/types/GridView.d.ts
+++ b/packages/taro-components/types/GridView.d.ts
@@ -5,7 +5,7 @@ interface GridViewProps extends StandardProps {
* @supported weapp
* @default "aligned"
*/
- type: string
+ type: keyof GridViewProps.Type
/** 交叉轴元素数量
* @supported weapp
* @default 2
@@ -26,6 +26,21 @@ interface GridViewProps extends StandardProps {
* @default 0
*/
maxCrossAxisExtent?: number
+ /**
+ * 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
+ * @supported weapp
+ * @default [0, 0, 0, 0]
+ */
+ padding?: [number, number, number, number]
+}
+
+declare namespace GridViewProps {
+ interface Type {
+ /** 瀑布流,根据子元素高度自动布局 */
+ masonry
+ /** 每行高度由同一行中最大高度子节点决定 */
+ aligned
+ }
}
/**
* 网格布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
diff --git a/packages/taro-components/types/ListView.d.ts b/packages/taro-components/types/ListView.d.ts
index 3d24eb846b6b..cb1234947e01 100644
--- a/packages/taro-components/types/ListView.d.ts
+++ b/packages/taro-components/types/ListView.d.ts
@@ -1,6 +1,13 @@
import { ComponentType } from 'react'
import { StandardProps } from './common'
-interface ListViewProps extends StandardProps {}
+interface ListViewProps extends StandardProps {
+ /**
+ * 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
+ * @supported weapp
+ * @default [0, 0, 0, 0]
+ */
+ padding?: [number, number, number, number]
+}
/**
* 列表布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
diff --git a/packages/taro-components/types/Snapshot.d.ts b/packages/taro-components/types/Snapshot.d.ts
index a0c720c1ab32..5d4c784ff977 100644
--- a/packages/taro-components/types/Snapshot.d.ts
+++ b/packages/taro-components/types/Snapshot.d.ts
@@ -3,7 +3,21 @@ import { ComponentType } from 'react'
import { StandardProps } from './common'
interface SnapshotProps extends StandardProps {
- id: string
+ /**
+ * 渲染模式
+ * @supported weapp
+ * @default 'view'
+ */
+ mode: keyof SnapshotProps.Mode
+}
+
+declare namespace SnapshotProps {
+ interface Mode {
+ /** 以真实节点渲染 */
+ view
+ /** 对子节点生成的内容截图渲染 */
+ picture
+ }
}
/** 截图组件。
diff --git a/packages/taro-components/types/Span.d.ts b/packages/taro-components/types/Span.d.ts
new file mode 100644
index 000000000000..0aefbef36ebe
--- /dev/null
+++ b/packages/taro-components/types/Span.d.ts
@@ -0,0 +1,14 @@
+import { ComponentType } from 'react'
+
+import { StandardProps } from './common'
+
+interface SpanProps extends StandardProps { }
+
+/**
+ * 用于支持内联文本和 image / navigator 的混排
+ * @classification skyline
+ * @supported weapp
+ * @see https://developers.weixin.qq.com/miniprogram/dev/component/span.html
+ */
+declare const Span: ComponentType
+export { Span, SpanProps }
diff --git a/packages/taro-components/types/StickyHeader.d.ts b/packages/taro-components/types/StickyHeader.d.ts
index 5250527ed882..87cc3c6f0860 100644
--- a/packages/taro-components/types/StickyHeader.d.ts
+++ b/packages/taro-components/types/StickyHeader.d.ts
@@ -1,6 +1,19 @@
import { ComponentType } from 'react'
import { StandardProps } from './common'
-interface StickyHeaderProps extends StandardProps {}
+interface StickyHeaderProps extends StandardProps {
+ /**
+ * 吸顶时与顶部的距(px)
+ * @supported weapp
+ * @default 0
+ */
+ offsetTop?: number
+ /**
+ * 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
+ * @supported weapp
+ * @default [0, 0, 0, 0]
+ */
+ padding?: [number, number, number, number]
+}
/**
* 吸顶布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
diff --git a/packages/taro-components/types/StickySection.d.ts b/packages/taro-components/types/StickySection.d.ts
index cbb2e51c50eb..8c1e7e2d6a16 100644
--- a/packages/taro-components/types/StickySection.d.ts
+++ b/packages/taro-components/types/StickySection.d.ts
@@ -6,6 +6,12 @@ interface StickySectionProps extends StandardProps {
* @default true
*/
pushPinnedHeader?: boolean
+ /**
+ * 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
+ * @supported weapp
+ * @default [0, 0, 0, 0]
+ */
+ padding?: [number, number, number, number]
}
/**
* 吸顶布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点。仅 Skyline 支持。
diff --git a/packages/taro-components/types/Text.d.ts b/packages/taro-components/types/Text.d.ts
index d7b2af34fcbc..eb8fa9b4be12 100644
--- a/packages/taro-components/types/Text.d.ts
+++ b/packages/taro-components/types/Text.d.ts
@@ -25,6 +25,12 @@ interface TextProps extends StandardProps {
* @supported alipay
*/
numberOfLines?: number
+ /**
+ * 文本溢出处理
+ * @supported weapp-skyline
+ * @default 'visible'
+ */
+ overflow?: keyof TextProps.Overflow
/** 限制文本最大行数
* @supported weapp
*/
@@ -40,6 +46,16 @@ declare namespace TextProps {
/** 根据字体设置的空格大小 */
nbsp
}
+ interface Overflow {
+ /** 修剪文本 */
+ clip
+ /** 淡出 */
+ fade
+ /** 显示省略号 */
+ ellipsis
+ /** 文本不截断 */
+ visible
+ }
}
/** 文本
* @classification base
diff --git a/packages/taro-components/types/index.d.ts b/packages/taro-components/types/index.d.ts
index 3d96208bf8a1..01aab600605e 100644
--- a/packages/taro-components/types/index.d.ts
+++ b/packages/taro-components/types/index.d.ts
@@ -45,6 +45,7 @@ export { GridView } from './GridView'
export { ListView } from './ListView'
export { ShareElement } from './ShareElement'
export { Snapshot } from './SnapShot'
+export { Span } from './Span'
export { StickyHeader } from './StickyHeader'
export { StickySection } from './StickySection'
diff --git a/packages/taro-components/types/index.vue3.d.ts b/packages/taro-components/types/index.vue3.d.ts
index d7cef457187e..5e90eeca0288 100644
--- a/packages/taro-components/types/index.vue3.d.ts
+++ b/packages/taro-components/types/index.vue3.d.ts
@@ -66,6 +66,7 @@ import { ShareElementProps } from './ShareElement'
import { SliderProps } from './Slider'
import { SlotProps } from './Slot'
import { SnapshotProps } from './SnapShot'
+import { SpanProps } from './Span'
import { StickyHeaderProps } from './StickyHeader'
import { StickySectionProps } from './StickySection'
import { SwiperProps } from './Swiper'
@@ -144,6 +145,7 @@ export declare const Textarea: VueComponentType
export declare const GridView: VueComponentType
export declare const ListView: VueComponentType
export declare const Snapshot: VueComponentType
+export declare const Span: VueComponentType
export declare const ShareElement: VueComponentType
export declare const StickyHeader: VueComponentType
export declare const StickySection: VueComponentType
@@ -266,6 +268,8 @@ declare global {
'taro-share-element-core': ElementAttrs>
'snapshot': ElementAttrs>
'taro-snapshot-core': ElementAttrs>
+ 'span': ElementAttrs>
+ 'taro-span-core': ElementAttrs>
'sticky-header': ElementAttrs>
'taro-sticky-header-core': ElementAttrs>
'sticky-section': ElementAttrs>
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap
index 279c45f90b4c..9ffaa8446bdc 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/alipay.spec.ts.snap
@@ -974,7 +974,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
index e5b0bfcf30e9..1716fbb73ba3 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap
index 4f932a051bef..2181aa3019dc 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/bytedance.spec.ts.snap
@@ -403,7 +403,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap
index 7dc36cf91009..5f6a69380753 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/common-style.spec.ts.snap
@@ -122,7 +122,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -256,17 +258,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -521,7 +530,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -665,7 +677,7 @@ require("./taro");
-
+
@@ -741,7 +753,7 @@ require("./taro");
-
+
@@ -797,7 +809,7 @@ require("./taro");
-
+
@@ -853,7 +865,7 @@ require("./taro");
-
+
@@ -909,7 +921,7 @@ require("./taro");
-
+
@@ -957,7 +969,7 @@ require("./taro");
-
+
@@ -997,7 +1009,7 @@ require("./taro");
-
+
@@ -1037,7 +1049,7 @@ require("./taro");
-
+
@@ -1077,7 +1089,7 @@ require("./taro");
-
+
@@ -1117,7 +1129,7 @@ require("./taro");
-
+
@@ -1157,7 +1169,7 @@ require("./taro");
-
+
@@ -1197,7 +1209,7 @@ require("./taro");
-
+
@@ -1237,7 +1249,7 @@ require("./taro");
-
+
@@ -1277,7 +1289,7 @@ require("./taro");
-
+
@@ -1317,7 +1329,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
index 1e5b840e9860..560106867fc2 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap
index 9c776546b0f5..77e856343664 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/config.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
@@ -1352,7 +1364,7 @@ require("./taro");
-
+
@@ -1392,7 +1404,7 @@ require("./taro");
-
+
@@ -1432,7 +1444,7 @@ require("./taro");
-
+
@@ -1472,7 +1484,7 @@ require("./taro");
-
+
@@ -1906,7 +1918,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2040,17 +2054,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2305,7 +2326,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2447,7 +2471,7 @@ require("./taro");
-
+
@@ -2523,7 +2547,7 @@ require("./taro");
-
+
@@ -2579,7 +2603,7 @@ require("./taro");
-
+
@@ -2635,7 +2659,7 @@ require("./taro");
-
+
@@ -2691,7 +2715,7 @@ require("./taro");
-
+
@@ -2739,7 +2763,7 @@ require("./taro");
-
+
@@ -2779,7 +2803,7 @@ require("./taro");
-
+
@@ -2819,7 +2843,7 @@ require("./taro");
-
+
@@ -2859,7 +2883,7 @@ require("./taro");
-
+
@@ -2899,7 +2923,7 @@ require("./taro");
-
+
@@ -2939,7 +2963,7 @@ require("./taro");
-
+
@@ -2979,7 +3003,7 @@ require("./taro");
-
+
@@ -3019,7 +3043,7 @@ require("./taro");
-
+
@@ -3059,7 +3083,7 @@ require("./taro");
-
+
@@ -3099,7 +3123,7 @@ require("./taro");
-
+
@@ -3647,7 +3671,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3781,17 +3807,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -4046,7 +4079,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -4188,7 +4224,7 @@ require("./taro");
-
+
@@ -4264,7 +4300,7 @@ require("./taro");
-
+
@@ -4320,7 +4356,7 @@ require("./taro");
-
+
@@ -4376,7 +4412,7 @@ require("./taro");
-
+
@@ -4432,7 +4468,7 @@ require("./taro");
-
+
@@ -4480,7 +4516,7 @@ require("./taro");
-
+
@@ -4520,7 +4556,7 @@ require("./taro");
-
+
@@ -4560,7 +4596,7 @@ require("./taro");
-
+
@@ -4600,7 +4636,7 @@ require("./taro");
-
+
@@ -4640,7 +4676,7 @@ require("./taro");
-
+
@@ -4680,7 +4716,7 @@ require("./taro");
-
+
@@ -4720,7 +4756,7 @@ require("./taro");
-
+
@@ -4760,7 +4796,7 @@ require("./taro");
-
+
@@ -4800,7 +4836,7 @@ require("./taro");
-
+
@@ -4840,7 +4876,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
index 1a0ae31b148b..c70f9d12babb 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
@@ -121,7 +121,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -255,17 +257,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -520,7 +529,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -662,7 +674,7 @@ require("./taro");
-
+
@@ -738,7 +750,7 @@ require("./taro");
-
+
@@ -794,7 +806,7 @@ require("./taro");
-
+
@@ -850,7 +862,7 @@ require("./taro");
-
+
@@ -906,7 +918,7 @@ require("./taro");
-
+
@@ -954,7 +966,7 @@ require("./taro");
-
+
@@ -994,7 +1006,7 @@ require("./taro");
-
+
@@ -1034,7 +1046,7 @@ require("./taro");
-
+
@@ -1074,7 +1086,7 @@ require("./taro");
-
+
@@ -1114,7 +1126,7 @@ require("./taro");
-
+
@@ -1154,7 +1166,7 @@ require("./taro");
-
+
@@ -1194,7 +1206,7 @@ require("./taro");
-
+
@@ -1234,7 +1246,7 @@ require("./taro");
-
+
@@ -1274,7 +1286,7 @@ require("./taro");
-
+
@@ -1314,7 +1326,7 @@ require("./taro");
-
+
@@ -1766,7 +1778,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -1900,17 +1914,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2165,7 +2186,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2307,7 +2331,7 @@ require("./taro");
-
+
@@ -2383,7 +2407,7 @@ require("./taro");
-
+
@@ -2439,7 +2463,7 @@ require("./taro");
-
+
@@ -2495,7 +2519,7 @@ require("./taro");
-
+
@@ -2551,7 +2575,7 @@ require("./taro");
-
+
@@ -2599,7 +2623,7 @@ require("./taro");
-
+
@@ -2639,7 +2663,7 @@ require("./taro");
-
+
@@ -2679,7 +2703,7 @@ require("./taro");
-
+
@@ -2719,7 +2743,7 @@ require("./taro");
-
+
@@ -2759,7 +2783,7 @@ require("./taro");
-
+
@@ -2799,7 +2823,7 @@ require("./taro");
-
+
@@ -2839,7 +2863,7 @@ require("./taro");
-
+
@@ -2879,7 +2903,7 @@ require("./taro");
-
+
@@ -2919,7 +2943,7 @@ require("./taro");
-
+
@@ -2959,7 +2983,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap
index 24e12c06bd26..161858799099 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/custom-tabbar.spec.ts.snap
@@ -82,7 +82,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -216,17 +218,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -481,7 +490,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -675,7 +687,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -767,7 +779,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -831,7 +843,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -895,7 +907,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -959,7 +971,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1015,7 +1027,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1063,7 +1075,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1111,7 +1123,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1159,7 +1171,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1207,7 +1219,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1255,7 +1267,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1303,7 +1315,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1351,7 +1363,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1399,7 +1411,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1447,7 +1459,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap
index 397f38541086..53c764e4600e 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/jd.spec.ts.snap
@@ -209,7 +209,7 @@ require("./taro");
-
+
@@ -357,7 +357,7 @@ require("./taro");
-
+
@@ -437,7 +437,7 @@ require("./taro");
-
+
@@ -517,7 +517,7 @@ require("./taro");
-
+
@@ -597,7 +597,7 @@ require("./taro");
-
+
@@ -653,7 +653,7 @@ require("./taro");
-
+
@@ -701,7 +701,7 @@ require("./taro");
-
+
@@ -749,7 +749,7 @@ require("./taro");
-
+
@@ -797,7 +797,7 @@ require("./taro");
-
+
@@ -845,7 +845,7 @@ require("./taro");
-
+
@@ -893,7 +893,7 @@ require("./taro");
-
+
@@ -941,7 +941,7 @@ require("./taro");
-
+
@@ -989,7 +989,7 @@ require("./taro");
-
+
@@ -1037,7 +1037,7 @@ require("./taro");
-
+
@@ -1085,7 +1085,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
index 9b1a5ebcb9bf..25ea2668af04 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
index ea51e35a4d9c..457b87adb0fd 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
@@ -105,7 +105,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -652,7 +664,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
@@ -3104,7 +3116,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3238,17 +3252,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -3503,7 +3524,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -3651,7 +3675,7 @@ require("./taro");
-
+
@@ -3735,7 +3759,7 @@ require("./taro");
-
+
@@ -3791,7 +3815,7 @@ require("./taro");
-
+
@@ -3847,7 +3871,7 @@ require("./taro");
-
+
@@ -3903,7 +3927,7 @@ require("./taro");
-
+
@@ -3951,7 +3975,7 @@ require("./taro");
-
+
@@ -3991,7 +4015,7 @@ require("./taro");
-
+
@@ -4031,7 +4055,7 @@ require("./taro");
-
+
@@ -4071,7 +4095,7 @@ require("./taro");
-
+
@@ -4111,7 +4135,7 @@ require("./taro");
-
+
@@ -4151,7 +4175,7 @@ require("./taro");
-
+
@@ -4191,7 +4215,7 @@ require("./taro");
-
+
@@ -4231,7 +4255,7 @@ require("./taro");
-
+
@@ -4271,7 +4295,7 @@ require("./taro");
-
+
@@ -4311,7 +4335,7 @@ require("./taro");
-
+
@@ -6103,7 +6127,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -6237,17 +6263,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -6502,7 +6535,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -6650,7 +6686,7 @@ require("./taro");
-
+
@@ -6734,7 +6770,7 @@ require("./taro");
-
+
@@ -6790,7 +6826,7 @@ require("./taro");
-
+
@@ -6846,7 +6882,7 @@ require("./taro");
-
+
@@ -6902,7 +6938,7 @@ require("./taro");
-
+
@@ -6950,7 +6986,7 @@ require("./taro");
-
+
@@ -6990,7 +7026,7 @@ require("./taro");
-
+
@@ -7030,7 +7066,7 @@ require("./taro");
-
+
@@ -7070,7 +7106,7 @@ require("./taro");
-
+
@@ -7110,7 +7146,7 @@ require("./taro");
-
+
@@ -7150,7 +7186,7 @@ require("./taro");
-
+
@@ -7190,7 +7226,7 @@ require("./taro");
-
+
@@ -7230,7 +7266,7 @@ require("./taro");
-
+
@@ -7270,7 +7306,7 @@ require("./taro");
-
+
@@ -7310,7 +7346,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap
index 5686144a7dd5..54afd8e82326 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/qq.spec.ts.snap
@@ -144,7 +144,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -278,17 +280,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -543,7 +552,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -724,7 +736,7 @@ require("./taro");
-
+
@@ -872,7 +884,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1168,7 +1180,7 @@ require("./taro");
-
+
@@ -1216,7 +1228,7 @@ require("./taro");
-
+
@@ -1264,7 +1276,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
@@ -1360,7 +1372,7 @@ require("./taro");
-
+
@@ -1408,7 +1420,7 @@ require("./taro");
-
+
@@ -1456,7 +1468,7 @@ require("./taro");
-
+
@@ -1504,7 +1516,7 @@ require("./taro");
-
+
@@ -1552,7 +1564,7 @@ require("./taro");
-
+
@@ -1600,7 +1612,7 @@ require("./taro");
-
+
@@ -2434,7 +2446,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2568,17 +2582,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2833,7 +2854,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -3014,7 +3038,7 @@ require("./taro");
-
+
@@ -3162,7 +3186,7 @@ require("./taro");
-
+
@@ -3242,7 +3266,7 @@ require("./taro");
-
+
@@ -3322,7 +3346,7 @@ require("./taro");
-
+
@@ -3402,7 +3426,7 @@ require("./taro");
-
+
@@ -3458,7 +3482,7 @@ require("./taro");
-
+
@@ -3506,7 +3530,7 @@ require("./taro");
-
+
@@ -3554,7 +3578,7 @@ require("./taro");
-
+
@@ -3602,7 +3626,7 @@ require("./taro");
-
+
@@ -3650,7 +3674,7 @@ require("./taro");
-
+
@@ -3698,7 +3722,7 @@ require("./taro");
-
+
@@ -3746,7 +3770,7 @@ require("./taro");
-
+
@@ -3794,7 +3818,7 @@ require("./taro");
-
+
@@ -3842,7 +3866,7 @@ require("./taro");
-
+
@@ -3890,7 +3914,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap
index cf0d9a345c21..31ef98f79594 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/react.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -808,7 +820,7 @@ require("./taro");
-
+
@@ -888,7 +900,7 @@ require("./taro");
-
+
@@ -968,7 +980,7 @@ require("./taro");
-
+
@@ -1048,7 +1060,7 @@ require("./taro");
-
+
@@ -1104,7 +1116,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1200,7 +1212,7 @@ require("./taro");
-
+
@@ -1248,7 +1260,7 @@ require("./taro");
-
+
@@ -1296,7 +1308,7 @@ require("./taro");
-
+
@@ -1344,7 +1356,7 @@ require("./taro");
-
+
@@ -1392,7 +1404,7 @@ require("./taro");
-
+
@@ -1440,7 +1452,7 @@ require("./taro");
-
+
@@ -1488,7 +1500,7 @@ require("./taro");
-
+
@@ -1536,7 +1548,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
index 61d29dcbbc9e..81b570bbf457 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
@@ -1747,7 +1759,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -1881,17 +1895,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2146,7 +2167,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2288,7 +2312,7 @@ require("./taro");
-
+
@@ -2364,7 +2388,7 @@ require("./taro");
-
+
@@ -2420,7 +2444,7 @@ require("./taro");
-
+
@@ -2476,7 +2500,7 @@ require("./taro");
-
+
@@ -2532,7 +2556,7 @@ require("./taro");
-
+
@@ -2580,7 +2604,7 @@ require("./taro");
-
+
@@ -2620,7 +2644,7 @@ require("./taro");
-
+
@@ -2660,7 +2684,7 @@ require("./taro");
-
+
@@ -2700,7 +2724,7 @@ require("./taro");
-
+
@@ -2740,7 +2764,7 @@ require("./taro");
-
+
@@ -2780,7 +2804,7 @@ require("./taro");
-
+
@@ -2820,7 +2844,7 @@ require("./taro");
-
+
@@ -2860,7 +2884,7 @@ require("./taro");
-
+
@@ -2900,7 +2924,7 @@ require("./taro");
-
+
@@ -2940,7 +2964,7 @@ require("./taro");
-
+
@@ -3375,7 +3399,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3509,17 +3535,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -3774,7 +3807,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -3916,7 +3952,7 @@ require("./taro");
-
+
@@ -3992,7 +4028,7 @@ require("./taro");
-
+
@@ -4048,7 +4084,7 @@ require("./taro");
-
+
@@ -4104,7 +4140,7 @@ require("./taro");
-
+
@@ -4160,7 +4196,7 @@ require("./taro");
-
+
@@ -4208,7 +4244,7 @@ require("./taro");
-
+
@@ -4248,7 +4284,7 @@ require("./taro");
-
+
@@ -4288,7 +4324,7 @@ require("./taro");
-
+
@@ -4328,7 +4364,7 @@ require("./taro");
-
+
@@ -4368,7 +4404,7 @@ require("./taro");
-
+
@@ -4408,7 +4444,7 @@ require("./taro");
-
+
@@ -4448,7 +4484,7 @@ require("./taro");
-
+
@@ -4488,7 +4524,7 @@ require("./taro");
-
+
@@ -4528,7 +4564,7 @@ require("./taro");
-
+
@@ -4568,7 +4604,7 @@ require("./taro");
-
+
@@ -5003,7 +5039,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -5137,17 +5175,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -5402,7 +5447,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -5544,7 +5592,7 @@ require("./taro");
-
+
@@ -5620,7 +5668,7 @@ require("./taro");
-
+
@@ -5676,7 +5724,7 @@ require("./taro");
-
+
@@ -5732,7 +5780,7 @@ require("./taro");
-
+
@@ -5788,7 +5836,7 @@ require("./taro");
-
+
@@ -5836,7 +5884,7 @@ require("./taro");
-
+
@@ -5876,7 +5924,7 @@ require("./taro");
-
+
@@ -5916,7 +5964,7 @@ require("./taro");
-
+
@@ -5956,7 +6004,7 @@ require("./taro");
-
+
@@ -5996,7 +6044,7 @@ require("./taro");
-
+
@@ -6036,7 +6084,7 @@ require("./taro");
-
+
@@ -6076,7 +6124,7 @@ require("./taro");
-
+
@@ -6116,7 +6164,7 @@ require("./taro");
-
+
@@ -6156,7 +6204,7 @@ require("./taro");
-
+
@@ -6196,7 +6244,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
index 234662e24c7d..08f5966df449 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
@@ -82,7 +82,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -216,17 +218,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -481,7 +490,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -627,7 +639,7 @@ require("./taro");
-
+
@@ -703,7 +715,7 @@ require("./taro");
-
+
@@ -759,7 +771,7 @@ require("./taro");
-
+
@@ -815,7 +827,7 @@ require("./taro");
-
+
@@ -871,7 +883,7 @@ require("./taro");
-
+
@@ -919,7 +931,7 @@ require("./taro");
-
+
@@ -959,7 +971,7 @@ require("./taro");
-
+
@@ -999,7 +1011,7 @@ require("./taro");
-
+
@@ -1039,7 +1051,7 @@ require("./taro");
-
+
@@ -1079,7 +1091,7 @@ require("./taro");
-
+
@@ -1119,7 +1131,7 @@ require("./taro");
-
+
@@ -1159,7 +1171,7 @@ require("./taro");
-
+
@@ -1199,7 +1211,7 @@ require("./taro");
-
+
@@ -1239,7 +1251,7 @@ require("./taro");
-
+
@@ -1279,7 +1291,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap
index 3cacf05819a5..4a17f4af2523 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/swan.spec.ts.snap
@@ -441,7 +441,7 @@ require("./taro");
-
+
{{item.v}}
@@ -467,7 +467,7 @@ require("./taro");
-
+
{{item.v}}
@@ -493,7 +493,7 @@ require("./taro");
-
+
{{item.v}}
@@ -519,7 +519,7 @@ require("./taro");
-
+
{{item.v}}
@@ -545,7 +545,7 @@ require("./taro");
-
+
{{item.v}}
@@ -571,7 +571,7 @@ require("./taro");
-
+
{{item.v}}
@@ -597,7 +597,7 @@ require("./taro");
-
+
{{item.v}}
@@ -623,7 +623,7 @@ require("./taro");
-
+
{{item.v}}
@@ -655,13 +655,13 @@ require("./taro");
{{item.v}}
-
+
{{item.v}}
-
+
{{item.v}}
-
+
{{item.v}}
@@ -675,16 +675,16 @@ require("./taro");
-
+
{{item.v}}
-
+
{{item.v}}
-
+
{{item.v}}
-
+
{{item.v}}
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
index ca311bf9a1d6..e69de6d3774e 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
@@ -1023,7 +1023,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1470,7 +1470,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -1604,17 +1606,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -1869,7 +1878,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2060,7 +2072,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2136,7 +2148,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2192,7 +2204,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2248,7 +2260,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2304,7 +2316,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2352,7 +2364,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2392,7 +2404,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2432,7 +2444,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2472,7 +2484,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2512,7 +2524,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2552,7 +2564,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2592,7 +2604,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2632,7 +2644,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2672,7 +2684,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -2712,7 +2724,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
index 3b55925cb1ab..9b38fa1e8217 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
@@ -119,7 +119,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -253,17 +255,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -518,7 +527,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -660,7 +672,7 @@ require("./taro");
-
+
@@ -736,7 +748,7 @@ require("./taro");
-
+
@@ -792,7 +804,7 @@ require("./taro");
-
+
@@ -848,7 +860,7 @@ require("./taro");
-
+
@@ -904,7 +916,7 @@ require("./taro");
-
+
@@ -952,7 +964,7 @@ require("./taro");
-
+
@@ -992,7 +1004,7 @@ require("./taro");
-
+
@@ -1032,7 +1044,7 @@ require("./taro");
-
+
@@ -1072,7 +1084,7 @@ require("./taro");
-
+
@@ -1112,7 +1124,7 @@ require("./taro");
-
+
@@ -1152,7 +1164,7 @@ require("./taro");
-
+
@@ -1192,7 +1204,7 @@ require("./taro");
-
+
@@ -1232,7 +1244,7 @@ require("./taro");
-
+
@@ -1272,7 +1284,7 @@ require("./taro");
-
+
@@ -1312,7 +1324,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap
index 8fc8aee99c62..995e3d485740 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue.spec.ts.snap
@@ -136,7 +136,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -270,17 +272,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -535,7 +544,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -654,7 +666,7 @@ require("./taro");
-
+
@@ -730,7 +742,7 @@ require("./taro");
-
+
@@ -786,7 +798,7 @@ require("./taro");
-
+
@@ -842,7 +854,7 @@ require("./taro");
-
+
@@ -898,7 +910,7 @@ require("./taro");
-
+
@@ -946,7 +958,7 @@ require("./taro");
-
+
@@ -986,7 +998,7 @@ require("./taro");
-
+
@@ -1026,7 +1038,7 @@ require("./taro");
-
+
@@ -1066,7 +1078,7 @@ require("./taro");
-
+
@@ -1106,7 +1118,7 @@ require("./taro");
-
+
@@ -1146,7 +1158,7 @@ require("./taro");
-
+
@@ -1186,7 +1198,7 @@ require("./taro");
-
+
@@ -1226,7 +1238,7 @@ require("./taro");
-
+
@@ -1266,7 +1278,7 @@ require("./taro");
-
+
@@ -1306,7 +1318,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap
index b8dbad023620..7cde1671430b 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/vue3.spec.ts.snap
@@ -138,7 +138,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -272,17 +274,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -537,7 +546,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -653,7 +665,7 @@ require("./taro");
-
+
@@ -729,7 +741,7 @@ require("./taro");
-
+
@@ -785,7 +797,7 @@ require("./taro");
-
+
@@ -841,7 +853,7 @@ require("./taro");
-
+
@@ -897,7 +909,7 @@ require("./taro");
-
+
@@ -945,7 +957,7 @@ require("./taro");
-
+
@@ -985,7 +997,7 @@ require("./taro");
-
+
@@ -1025,7 +1037,7 @@ require("./taro");
-
+
@@ -1065,7 +1077,7 @@ require("./taro");
-
+
@@ -1105,7 +1117,7 @@ require("./taro");
-
+
@@ -1145,7 +1157,7 @@ require("./taro");
-
+
@@ -1185,7 +1197,7 @@ require("./taro");
-
+
@@ -1225,7 +1237,7 @@ require("./taro");
-
+
@@ -1265,7 +1277,7 @@ require("./taro");
-
+
@@ -1305,7 +1317,7 @@ require("./taro");
-
+
diff --git a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
index 0b94c11b58dc..19e4f2a0afd8 100644
--- a/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
+++ b/packages/taro-mini-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
@@ -65,7 +65,9 @@ require("./taro");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -199,17 +201,24 @@ require("./taro");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -464,7 +473,10 @@ require("./taro");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
const hostConfig = {
initNativeApi: initNativeApi,
@@ -611,7 +623,7 @@ require("./taro");
-
+
@@ -703,7 +715,7 @@ require("./taro");
-
+
@@ -767,7 +779,7 @@ require("./taro");
-
+
@@ -831,7 +843,7 @@ require("./taro");
-
+
@@ -895,7 +907,7 @@ require("./taro");
-
+
@@ -951,7 +963,7 @@ require("./taro");
-
+
@@ -999,7 +1011,7 @@ require("./taro");
-
+
@@ -1047,7 +1059,7 @@ require("./taro");
-
+
@@ -1095,7 +1107,7 @@ require("./taro");
-
+
@@ -1143,7 +1155,7 @@ require("./taro");
-
+
@@ -1191,7 +1203,7 @@ require("./taro");
-
+
@@ -1239,7 +1251,7 @@ require("./taro");
-
+
@@ -1287,7 +1299,7 @@ require("./taro");
-
+
@@ -1335,7 +1347,7 @@ require("./taro");
-
+
@@ -1383,7 +1395,7 @@ require("./taro");
-
+
diff --git a/packages/taro-weapp/src/components-react.ts b/packages/taro-weapp/src/components-react.ts
index 2e36bc35adc7..4c16ebfb2e9c 100644
--- a/packages/taro-weapp/src/components-react.ts
+++ b/packages/taro-weapp/src/components-react.ts
@@ -21,3 +21,4 @@ export const GridView = 'grid-view'
export const StickyHeader = 'sticky-header'
export const StickySection = 'sticky-section'
export const Snapshot = 'snapshot'
+export const Span = 'span'
diff --git a/packages/taro-weapp/src/components.ts b/packages/taro-weapp/src/components.ts
index a160748f710d..8363efa382e2 100644
--- a/packages/taro-weapp/src/components.ts
+++ b/packages/taro-weapp/src/components.ts
@@ -16,7 +16,9 @@ export const components = {
'user-select': _false
},
Text: {
- 'user-select': _false
+ 'user-select': _false,
+ overflow: 'visible',
+ 'max-lines': ''
},
Map: {
polygons: '[]',
@@ -151,6 +153,7 @@ export const components = {
},
StickySection: {
'push-pinned-header': _true,
+ padding: '[0, 0, 0, 0]'
},
GridView: {
type: "'aligned'",
@@ -158,9 +161,15 @@ export const components = {
'max-cross-axis-extent': _zero,
'main-axis-gap': _zero,
'cross-axis-gap': _zero,
+ padding: '[0, 0, 0, 0]'
+ },
+ ListView: {
+ padding: '[0, 0, 0, 0]'
+ },
+ StickyHeader: {
+ 'offset-top': '0',
+ padding: '[0, 0, 0, 0]'
},
- ListView: {},
- StickyHeader: {},
Swiper: {
'snap-to-edge': _false,
'easing-function': "'default'"
@@ -414,12 +423,15 @@ export const components = {
ChannelVideo: {
'feed-id': _empty,
'finder-user-name': _empty,
- 'feed-token':_empty,
+ 'feed-token': _empty,
autoplay: _false,
loop: _false,
muted: _false,
'object-fit': "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'",
+ },
+ Span: {}
}
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
index 28e6b44aec95..4f401bd5fb13 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/babel.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -685,7 +697,7 @@ require("./runtime");
-
+
@@ -761,7 +773,7 @@ require("./runtime");
-
+
@@ -817,7 +829,7 @@ require("./runtime");
-
+
@@ -873,7 +885,7 @@ require("./runtime");
-
+
@@ -929,7 +941,7 @@ require("./runtime");
-
+
@@ -977,7 +989,7 @@ require("./runtime");
-
+
@@ -1017,7 +1029,7 @@ require("./runtime");
-
+
@@ -1057,7 +1069,7 @@ require("./runtime");
-
+
@@ -1097,7 +1109,7 @@ require("./runtime");
-
+
@@ -1137,7 +1149,7 @@ require("./runtime");
-
+
@@ -1177,7 +1189,7 @@ require("./runtime");
-
+
@@ -1217,7 +1229,7 @@ require("./runtime");
-
+
@@ -1257,7 +1269,7 @@ require("./runtime");
-
+
@@ -1297,7 +1309,7 @@ require("./runtime");
-
+
@@ -1337,7 +1349,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
index e418af917f80..af7c26118159 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/compiler-macros.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -685,7 +697,7 @@ require("./runtime");
-
+
@@ -761,7 +773,7 @@ require("./runtime");
-
+
@@ -817,7 +829,7 @@ require("./runtime");
-
+
@@ -873,7 +885,7 @@ require("./runtime");
-
+
@@ -929,7 +941,7 @@ require("./runtime");
-
+
@@ -977,7 +989,7 @@ require("./runtime");
-
+
@@ -1017,7 +1029,7 @@ require("./runtime");
-
+
@@ -1057,7 +1069,7 @@ require("./runtime");
-
+
@@ -1097,7 +1109,7 @@ require("./runtime");
-
+
@@ -1137,7 +1149,7 @@ require("./runtime");
-
+
@@ -1177,7 +1189,7 @@ require("./runtime");
-
+
@@ -1217,7 +1229,7 @@ require("./runtime");
-
+
@@ -1257,7 +1269,7 @@ require("./runtime");
-
+
@@ -1297,7 +1309,7 @@ require("./runtime");
-
+
@@ -1337,7 +1349,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap
index 095938b48dfd..6f358c1d378e 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/config.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -685,7 +697,7 @@ require("./runtime");
-
+
@@ -761,7 +773,7 @@ require("./runtime");
-
+
@@ -817,7 +829,7 @@ require("./runtime");
-
+
@@ -873,7 +885,7 @@ require("./runtime");
-
+
@@ -929,7 +941,7 @@ require("./runtime");
-
+
@@ -977,7 +989,7 @@ require("./runtime");
-
+
@@ -1017,7 +1029,7 @@ require("./runtime");
-
+
@@ -1057,7 +1069,7 @@ require("./runtime");
-
+
@@ -1097,7 +1109,7 @@ require("./runtime");
-
+
@@ -1137,7 +1149,7 @@ require("./runtime");
-
+
@@ -1177,7 +1189,7 @@ require("./runtime");
-
+
@@ -1217,7 +1229,7 @@ require("./runtime");
-
+
@@ -1257,7 +1269,7 @@ require("./runtime");
-
+
@@ -1297,7 +1309,7 @@ require("./runtime");
-
+
@@ -1337,7 +1349,7 @@ require("./runtime");
-
+
@@ -1377,7 +1389,7 @@ require("./runtime");
-
+
@@ -1417,7 +1429,7 @@ require("./runtime");
-
+
@@ -1457,7 +1469,7 @@ require("./runtime");
-
+
@@ -1497,7 +1509,7 @@ require("./runtime");
-
+
@@ -1972,7 +1984,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2106,17 +2120,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2371,7 +2392,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2552,7 +2576,7 @@ require("./runtime");
-
+
@@ -2628,7 +2652,7 @@ require("./runtime");
-
+
@@ -2684,7 +2708,7 @@ require("./runtime");
-
+
@@ -2740,7 +2764,7 @@ require("./runtime");
-
+
@@ -2796,7 +2820,7 @@ require("./runtime");
-
+
@@ -2844,7 +2868,7 @@ require("./runtime");
-
+
@@ -2884,7 +2908,7 @@ require("./runtime");
-
+
@@ -2924,7 +2948,7 @@ require("./runtime");
-
+
@@ -2964,7 +2988,7 @@ require("./runtime");
-
+
@@ -3004,7 +3028,7 @@ require("./runtime");
-
+
@@ -3044,7 +3068,7 @@ require("./runtime");
-
+
@@ -3084,7 +3108,7 @@ require("./runtime");
-
+
@@ -3124,7 +3148,7 @@ require("./runtime");
-
+
@@ -3164,7 +3188,7 @@ require("./runtime");
-
+
@@ -3204,7 +3228,7 @@ require("./runtime");
-
+
@@ -3950,7 +3974,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -4084,17 +4110,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -4349,7 +4382,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -4530,7 +4566,7 @@ require("./runtime");
-
+
@@ -4606,7 +4642,7 @@ require("./runtime");
-
+
@@ -4662,7 +4698,7 @@ require("./runtime");
-
+
@@ -4718,7 +4754,7 @@ require("./runtime");
-
+
@@ -4774,7 +4810,7 @@ require("./runtime");
-
+
@@ -4822,7 +4858,7 @@ require("./runtime");
-
+
@@ -4862,7 +4898,7 @@ require("./runtime");
-
+
@@ -4902,7 +4938,7 @@ require("./runtime");
-
+
@@ -4942,7 +4978,7 @@ require("./runtime");
-
+
@@ -4982,7 +5018,7 @@ require("./runtime");
-
+
@@ -5022,7 +5058,7 @@ require("./runtime");
-
+
@@ -5062,7 +5098,7 @@ require("./runtime");
-
+
@@ -5102,7 +5138,7 @@ require("./runtime");
-
+
@@ -5142,7 +5178,7 @@ require("./runtime");
-
+
@@ -5182,7 +5218,7 @@ require("./runtime");
-
+
@@ -5829,7 +5865,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -5963,17 +6001,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -6228,7 +6273,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -6409,7 +6457,7 @@ require("./runtime");
-
+
@@ -6485,7 +6533,7 @@ require("./runtime");
-
+
@@ -6541,7 +6589,7 @@ require("./runtime");
-
+
@@ -6597,7 +6645,7 @@ require("./runtime");
-
+
@@ -6653,7 +6701,7 @@ require("./runtime");
-
+
@@ -6701,7 +6749,7 @@ require("./runtime");
-
+
@@ -6741,7 +6789,7 @@ require("./runtime");
-
+
@@ -6781,7 +6829,7 @@ require("./runtime");
-
+
@@ -6821,7 +6869,7 @@ require("./runtime");
-
+
@@ -6861,7 +6909,7 @@ require("./runtime");
-
+
@@ -6901,7 +6949,7 @@ require("./runtime");
-
+
@@ -6941,7 +6989,7 @@ require("./runtime");
-
+
@@ -6981,7 +7029,7 @@ require("./runtime");
-
+
@@ -7021,7 +7069,7 @@ require("./runtime");
-
+
@@ -7061,7 +7109,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
index d6f5779b95ab..1f59e6b2121b 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/css-modules.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -686,7 +698,7 @@ require("./runtime");
-
+
@@ -762,7 +774,7 @@ require("./runtime");
-
+
@@ -818,7 +830,7 @@ require("./runtime");
-
+
@@ -874,7 +886,7 @@ require("./runtime");
-
+
@@ -930,7 +942,7 @@ require("./runtime");
-
+
@@ -978,7 +990,7 @@ require("./runtime");
-
+
@@ -1018,7 +1030,7 @@ require("./runtime");
-
+
@@ -1058,7 +1070,7 @@ require("./runtime");
-
+
@@ -1098,7 +1110,7 @@ require("./runtime");
-
+
@@ -1138,7 +1150,7 @@ require("./runtime");
-
+
@@ -1178,7 +1190,7 @@ require("./runtime");
-
+
@@ -1218,7 +1230,7 @@ require("./runtime");
-
+
@@ -1258,7 +1270,7 @@ require("./runtime");
-
+
@@ -1298,7 +1310,7 @@ require("./runtime");
-
+
@@ -1338,7 +1350,7 @@ require("./runtime");
-
+
@@ -1980,7 +1992,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2114,17 +2128,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2379,7 +2400,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2560,7 +2584,7 @@ require("./runtime");
-
+
@@ -2636,7 +2660,7 @@ require("./runtime");
-
+
@@ -2692,7 +2716,7 @@ require("./runtime");
-
+
@@ -2748,7 +2772,7 @@ require("./runtime");
-
+
@@ -2804,7 +2828,7 @@ require("./runtime");
-
+
@@ -2852,7 +2876,7 @@ require("./runtime");
-
+
@@ -2892,7 +2916,7 @@ require("./runtime");
-
+
@@ -2932,7 +2956,7 @@ require("./runtime");
-
+
@@ -2972,7 +2996,7 @@ require("./runtime");
-
+
@@ -3012,7 +3036,7 @@ require("./runtime");
-
+
@@ -3052,7 +3076,7 @@ require("./runtime");
-
+
@@ -3092,7 +3116,7 @@ require("./runtime");
-
+
@@ -3132,7 +3156,7 @@ require("./runtime");
-
+
@@ -3172,7 +3196,7 @@ require("./runtime");
-
+
@@ -3212,7 +3236,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap
index cf6add7827c8..ec3a040ce3bd 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/framework.spec.ts.snap
@@ -102,7 +102,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -236,17 +238,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -501,7 +510,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -681,7 +693,7 @@ require("./runtime");
-
+
@@ -829,7 +841,7 @@ require("./runtime");
-
+
@@ -909,7 +921,7 @@ require("./runtime");
-
+
@@ -989,7 +1001,7 @@ require("./runtime");
-
+
@@ -1069,7 +1081,7 @@ require("./runtime");
-
+
@@ -1125,7 +1137,7 @@ require("./runtime");
-
+
@@ -1173,7 +1185,7 @@ require("./runtime");
-
+
@@ -1221,7 +1233,7 @@ require("./runtime");
-
+
@@ -1269,7 +1281,7 @@ require("./runtime");
-
+
@@ -1317,7 +1329,7 @@ require("./runtime");
-
+
@@ -1365,7 +1377,7 @@ require("./runtime");
-
+
@@ -1413,7 +1425,7 @@ require("./runtime");
-
+
@@ -1461,7 +1473,7 @@ require("./runtime");
-
+
@@ -1509,7 +1521,7 @@ require("./runtime");
-
+
@@ -1557,7 +1569,7 @@ require("./runtime");
-
+
@@ -2196,7 +2208,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2330,17 +2344,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2595,7 +2616,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2776,7 +2800,7 @@ require("./runtime");
-
+
@@ -2924,7 +2948,7 @@ require("./runtime");
-
+
@@ -3004,7 +3028,7 @@ require("./runtime");
-
+
@@ -3084,7 +3108,7 @@ require("./runtime");
-
+
@@ -3164,7 +3188,7 @@ require("./runtime");
-
+
@@ -3220,7 +3244,7 @@ require("./runtime");
-
+
@@ -3268,7 +3292,7 @@ require("./runtime");
-
+
@@ -3316,7 +3340,7 @@ require("./runtime");
-
+
@@ -3364,7 +3388,7 @@ require("./runtime");
-
+
@@ -3412,7 +3436,7 @@ require("./runtime");
-
+
@@ -3460,7 +3484,7 @@ require("./runtime");
-
+
@@ -3508,7 +3532,7 @@ require("./runtime");
-
+
@@ -3556,7 +3580,7 @@ require("./runtime");
-
+
@@ -3604,7 +3628,7 @@ require("./runtime");
-
+
@@ -3652,7 +3676,7 @@ require("./runtime");
-
+
@@ -4674,7 +4698,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -4808,17 +4834,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -5073,7 +5106,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -5233,7 +5269,7 @@ require("./runtime");
-
+
@@ -5381,7 +5417,7 @@ require("./runtime");
-
+
@@ -5461,7 +5497,7 @@ require("./runtime");
-
+
@@ -5541,7 +5577,7 @@ require("./runtime");
-
+
@@ -5621,7 +5657,7 @@ require("./runtime");
-
+
@@ -5677,7 +5713,7 @@ require("./runtime");
-
+
@@ -5725,7 +5761,7 @@ require("./runtime");
-
+
@@ -5773,7 +5809,7 @@ require("./runtime");
-
+
@@ -5821,7 +5857,7 @@ require("./runtime");
-
+
@@ -5869,7 +5905,7 @@ require("./runtime");
-
+
@@ -5917,7 +5953,7 @@ require("./runtime");
-
+
@@ -5965,7 +6001,7 @@ require("./runtime");
-
+
@@ -6013,7 +6049,7 @@ require("./runtime");
-
+
@@ -6061,7 +6097,7 @@ require("./runtime");
-
+
@@ -6109,7 +6145,7 @@ require("./runtime");
-
+
@@ -6485,7 +6521,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -6619,17 +6657,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -6884,7 +6929,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -7039,7 +7087,7 @@ require("./runtime");
-
+
@@ -7187,7 +7235,7 @@ require("./runtime");
-
+
@@ -7267,7 +7315,7 @@ require("./runtime");
-
+
@@ -7347,7 +7395,7 @@ require("./runtime");
-
+
@@ -7427,7 +7475,7 @@ require("./runtime");
-
+
@@ -7483,7 +7531,7 @@ require("./runtime");
-
+
@@ -7531,7 +7579,7 @@ require("./runtime");
-
+
@@ -7579,7 +7627,7 @@ require("./runtime");
-
+
@@ -7627,7 +7675,7 @@ require("./runtime");
-
+
@@ -7675,7 +7723,7 @@ require("./runtime");
-
+
@@ -7723,7 +7771,7 @@ require("./runtime");
-
+
@@ -7771,7 +7819,7 @@ require("./runtime");
-
+
@@ -7819,7 +7867,7 @@ require("./runtime");
-
+
@@ -7867,7 +7915,7 @@ require("./runtime");
-
+
@@ -7915,7 +7963,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap
index 2d991f548b2d..a5dfb19ba749 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/mini-platform.spec.ts.snap
@@ -966,7 +966,7 @@ require("./runtime");
-
+
@@ -2168,7 +2168,7 @@ require("./runtime");
-
+
@@ -3170,7 +3170,7 @@ require("./runtime");
-
+
@@ -3318,7 +3318,7 @@ require("./runtime");
-
+
@@ -3398,7 +3398,7 @@ require("./runtime");
-
+
@@ -3478,7 +3478,7 @@ require("./runtime");
-
+
@@ -3558,7 +3558,7 @@ require("./runtime");
-
+
@@ -3614,7 +3614,7 @@ require("./runtime");
-
+
@@ -3662,7 +3662,7 @@ require("./runtime");
-
+
@@ -3710,7 +3710,7 @@ require("./runtime");
-
+
@@ -3758,7 +3758,7 @@ require("./runtime");
-
+
@@ -3806,7 +3806,7 @@ require("./runtime");
-
+
@@ -3854,7 +3854,7 @@ require("./runtime");
-
+
@@ -3902,7 +3902,7 @@ require("./runtime");
-
+
@@ -3950,7 +3950,7 @@ require("./runtime");
-
+
@@ -3998,7 +3998,7 @@ require("./runtime");
-
+
@@ -4046,7 +4046,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
index 5bf3d152f978..e9c08d902e32 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/parse-html.spec.ts.snap
@@ -102,7 +102,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -236,17 +238,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -501,7 +510,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -682,7 +694,7 @@ require("./runtime");
-
+
@@ -758,7 +770,7 @@ require("./runtime");
-
+
@@ -814,7 +826,7 @@ require("./runtime");
-
+
@@ -870,7 +882,7 @@ require("./runtime");
-
+
@@ -926,7 +938,7 @@ require("./runtime");
-
+
@@ -974,7 +986,7 @@ require("./runtime");
-
+
@@ -1014,7 +1026,7 @@ require("./runtime");
-
+
@@ -1054,7 +1066,7 @@ require("./runtime");
-
+
@@ -1094,7 +1106,7 @@ require("./runtime");
-
+
@@ -1134,7 +1146,7 @@ require("./runtime");
-
+
@@ -1174,7 +1186,7 @@ require("./runtime");
-
+
@@ -1214,7 +1226,7 @@ require("./runtime");
-
+
@@ -1254,7 +1266,7 @@ require("./runtime");
-
+
@@ -1294,7 +1306,7 @@ require("./runtime");
-
+
@@ -1334,7 +1346,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
index 1889e683d868..92dbd05e2f67 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/prerender.spec.ts.snap
@@ -88,7 +88,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -222,17 +224,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -487,7 +496,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -674,7 +686,7 @@ require("./runtime");
-
+
@@ -758,7 +770,7 @@ require("./runtime");
-
+
@@ -814,7 +826,7 @@ require("./runtime");
-
+
@@ -870,7 +882,7 @@ require("./runtime");
-
+
@@ -926,7 +938,7 @@ require("./runtime");
-
+
@@ -974,7 +986,7 @@ require("./runtime");
-
+
@@ -1014,7 +1026,7 @@ require("./runtime");
-
+
@@ -1054,7 +1066,7 @@ require("./runtime");
-
+
@@ -1094,7 +1106,7 @@ require("./runtime");
-
+
@@ -1134,7 +1146,7 @@ require("./runtime");
-
+
@@ -1174,7 +1186,7 @@ require("./runtime");
-
+
@@ -1214,7 +1226,7 @@ require("./runtime");
-
+
@@ -1254,7 +1266,7 @@ require("./runtime");
-
+
@@ -1294,7 +1306,7 @@ require("./runtime");
-
+
@@ -1334,7 +1346,7 @@ require("./runtime");
-
+
@@ -3198,7 +3210,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3332,17 +3346,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -3597,7 +3618,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -3784,7 +3808,7 @@ require("./runtime");
-
+
@@ -3868,7 +3892,7 @@ require("./runtime");
-
+
@@ -3924,7 +3948,7 @@ require("./runtime");
-
+
@@ -3980,7 +4004,7 @@ require("./runtime");
-
+
@@ -4036,7 +4060,7 @@ require("./runtime");
-
+
@@ -4084,7 +4108,7 @@ require("./runtime");
-
+
@@ -4124,7 +4148,7 @@ require("./runtime");
-
+
@@ -4164,7 +4188,7 @@ require("./runtime");
-
+
@@ -4204,7 +4228,7 @@ require("./runtime");
-
+
@@ -4244,7 +4268,7 @@ require("./runtime");
-
+
@@ -4284,7 +4308,7 @@ require("./runtime");
-
+
@@ -4324,7 +4348,7 @@ require("./runtime");
-
+
@@ -4364,7 +4388,7 @@ require("./runtime");
-
+
@@ -4404,7 +4428,7 @@ require("./runtime");
-
+
@@ -4444,7 +4468,7 @@ require("./runtime");
-
+
@@ -6308,7 +6332,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -6442,17 +6468,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -6707,7 +6740,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -6894,7 +6930,7 @@ require("./runtime");
-
+
@@ -6978,7 +7014,7 @@ require("./runtime");
-
+
@@ -7034,7 +7070,7 @@ require("./runtime");
-
+
@@ -7090,7 +7126,7 @@ require("./runtime");
-
+
@@ -7146,7 +7182,7 @@ require("./runtime");
-
+
@@ -7194,7 +7230,7 @@ require("./runtime");
-
+
@@ -7234,7 +7270,7 @@ require("./runtime");
-
+
@@ -7274,7 +7310,7 @@ require("./runtime");
-
+
@@ -7314,7 +7350,7 @@ require("./runtime");
-
+
@@ -7354,7 +7390,7 @@ require("./runtime");
-
+
@@ -7394,7 +7430,7 @@ require("./runtime");
-
+
@@ -7434,7 +7470,7 @@ require("./runtime");
-
+
@@ -7474,7 +7510,7 @@ require("./runtime");
-
+
@@ -7514,7 +7550,7 @@ require("./runtime");
-
+
@@ -7554,7 +7590,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
index 0d60e9e1eebe..78f4a2644175 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/sass.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -673,7 +685,7 @@ require("./runtime");
-
+
@@ -749,7 +761,7 @@ require("./runtime");
-
+
@@ -805,7 +817,7 @@ require("./runtime");
-
+
@@ -861,7 +873,7 @@ require("./runtime");
-
+
@@ -917,7 +929,7 @@ require("./runtime");
-
+
@@ -965,7 +977,7 @@ require("./runtime");
-
+
@@ -1005,7 +1017,7 @@ require("./runtime");
-
+
@@ -1045,7 +1057,7 @@ require("./runtime");
-
+
@@ -1085,7 +1097,7 @@ require("./runtime");
-
+
@@ -1125,7 +1137,7 @@ require("./runtime");
-
+
@@ -1165,7 +1177,7 @@ require("./runtime");
-
+
@@ -1205,7 +1217,7 @@ require("./runtime");
-
+
@@ -1245,7 +1257,7 @@ require("./runtime");
-
+
@@ -1285,7 +1297,7 @@ require("./runtime");
-
+
@@ -1325,7 +1337,7 @@ require("./runtime");
-
+
@@ -1933,7 +1945,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -2067,17 +2081,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -2332,7 +2353,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -2513,7 +2537,7 @@ require("./runtime");
-
+
@@ -2589,7 +2613,7 @@ require("./runtime");
-
+
@@ -2645,7 +2669,7 @@ require("./runtime");
-
+
@@ -2701,7 +2725,7 @@ require("./runtime");
-
+
@@ -2757,7 +2781,7 @@ require("./runtime");
-
+
@@ -2805,7 +2829,7 @@ require("./runtime");
-
+
@@ -2845,7 +2869,7 @@ require("./runtime");
-
+
@@ -2885,7 +2909,7 @@ require("./runtime");
-
+
@@ -2925,7 +2949,7 @@ require("./runtime");
-
+
@@ -2965,7 +2989,7 @@ require("./runtime");
-
+
@@ -3005,7 +3029,7 @@ require("./runtime");
-
+
@@ -3045,7 +3069,7 @@ require("./runtime");
-
+
@@ -3085,7 +3109,7 @@ require("./runtime");
-
+
@@ -3125,7 +3149,7 @@ require("./runtime");
-
+
@@ -3165,7 +3189,7 @@ require("./runtime");
-
+
@@ -3797,7 +3821,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3931,17 +3957,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -4196,7 +4229,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -4377,7 +4413,7 @@ require("./runtime");
-
+
@@ -4453,7 +4489,7 @@ require("./runtime");
-
+
@@ -4509,7 +4545,7 @@ require("./runtime");
-
+
@@ -4565,7 +4601,7 @@ require("./runtime");
-
+
@@ -4621,7 +4657,7 @@ require("./runtime");
-
+
@@ -4669,7 +4705,7 @@ require("./runtime");
-
+
@@ -4709,7 +4745,7 @@ require("./runtime");
-
+
@@ -4749,7 +4785,7 @@ require("./runtime");
-
+
@@ -4789,7 +4825,7 @@ require("./runtime");
-
+
@@ -4829,7 +4865,7 @@ require("./runtime");
-
+
@@ -4869,7 +4905,7 @@ require("./runtime");
-
+
@@ -4909,7 +4945,7 @@ require("./runtime");
-
+
@@ -4949,7 +4985,7 @@ require("./runtime");
-
+
@@ -4989,7 +5025,7 @@ require("./runtime");
-
+
@@ -5029,7 +5065,7 @@ require("./runtime");
-
+
@@ -5661,7 +5697,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -5795,17 +5833,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -6060,7 +6105,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -6241,7 +6289,7 @@ require("./runtime");
-
+
@@ -6317,7 +6365,7 @@ require("./runtime");
-
+
@@ -6373,7 +6421,7 @@ require("./runtime");
-
+
@@ -6429,7 +6477,7 @@ require("./runtime");
-
+
@@ -6485,7 +6533,7 @@ require("./runtime");
-
+
@@ -6533,7 +6581,7 @@ require("./runtime");
-
+
@@ -6573,7 +6621,7 @@ require("./runtime");
-
+
@@ -6613,7 +6661,7 @@ require("./runtime");
-
+
@@ -6653,7 +6701,7 @@ require("./runtime");
-
+
@@ -6693,7 +6741,7 @@ require("./runtime");
-
+
@@ -6733,7 +6781,7 @@ require("./runtime");
-
+
@@ -6773,7 +6821,7 @@ require("./runtime");
-
+
@@ -6813,7 +6861,7 @@ require("./runtime");
-
+
@@ -6853,7 +6901,7 @@ require("./runtime");
-
+
@@ -6893,7 +6941,7 @@ require("./runtime");
-
+
@@ -7525,7 +7573,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -7659,17 +7709,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -7924,7 +7981,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -8105,7 +8165,7 @@ require("./runtime");
-
+
@@ -8181,7 +8241,7 @@ require("./runtime");
-
+
@@ -8237,7 +8297,7 @@ require("./runtime");
-
+
@@ -8293,7 +8353,7 @@ require("./runtime");
-
+
@@ -8349,7 +8409,7 @@ require("./runtime");
-
+
@@ -8397,7 +8457,7 @@ require("./runtime");
-
+
@@ -8437,7 +8497,7 @@ require("./runtime");
-
+
@@ -8477,7 +8537,7 @@ require("./runtime");
-
+
@@ -8517,7 +8577,7 @@ require("./runtime");
-
+
@@ -8557,7 +8617,7 @@ require("./runtime");
-
+
@@ -8597,7 +8657,7 @@ require("./runtime");
-
+
@@ -8637,7 +8697,7 @@ require("./runtime");
-
+
@@ -8677,7 +8737,7 @@ require("./runtime");
-
+
@@ -8717,7 +8777,7 @@ require("./runtime");
-
+
@@ -8757,7 +8817,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
index c7e50d717453..23c79b1473d0 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/subpackages.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -658,7 +670,7 @@ require("./runtime");
-
+
@@ -734,7 +746,7 @@ require("./runtime");
-
+
@@ -790,7 +802,7 @@ require("./runtime");
-
+
@@ -846,7 +858,7 @@ require("./runtime");
-
+
@@ -902,7 +914,7 @@ require("./runtime");
-
+
@@ -950,7 +962,7 @@ require("./runtime");
-
+
@@ -990,7 +1002,7 @@ require("./runtime");
-
+
@@ -1030,7 +1042,7 @@ require("./runtime");
-
+
@@ -1070,7 +1082,7 @@ require("./runtime");
-
+
@@ -1110,7 +1122,7 @@ require("./runtime");
-
+
@@ -1150,7 +1162,7 @@ require("./runtime");
-
+
@@ -1190,7 +1202,7 @@ require("./runtime");
-
+
@@ -1230,7 +1242,7 @@ require("./runtime");
-
+
@@ -1270,7 +1282,7 @@ require("./runtime");
-
+
@@ -1310,7 +1322,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
index 34e2f8393d96..e4424878b03e 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/tabbar.spec.ts.snap
@@ -102,7 +102,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -236,17 +238,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -501,7 +510,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -703,7 +715,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -795,7 +807,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -859,7 +871,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -923,7 +935,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -987,7 +999,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1043,7 +1055,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1091,7 +1103,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1139,7 +1151,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1187,7 +1199,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1235,7 +1247,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1283,7 +1295,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1331,7 +1343,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1379,7 +1391,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1427,7 +1439,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -1475,7 +1487,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -3038,7 +3050,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -3535,7 +3547,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -3669,17 +3683,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -3934,7 +3955,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -4164,7 +4188,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4240,7 +4264,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4296,7 +4320,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4352,7 +4376,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4408,7 +4432,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4456,7 +4480,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4496,7 +4520,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4536,7 +4560,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4576,7 +4600,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4616,7 +4640,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4656,7 +4680,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4696,7 +4720,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4736,7 +4760,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4776,7 +4800,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
@@ -4816,7 +4840,7 @@ h�hځ� �r������Nb2��х��K~��>;;ːL�1
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
index 8f953f2308be..35d866149f76 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/ts.spec.ts.snap
@@ -105,7 +105,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -239,17 +241,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -504,7 +513,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
var hostConfig = {
initNativeApi: initNativeApi,
@@ -685,7 +697,7 @@ require("./runtime");
-
+
@@ -761,7 +773,7 @@ require("./runtime");
-
+
@@ -817,7 +829,7 @@ require("./runtime");
-
+
@@ -873,7 +885,7 @@ require("./runtime");
-
+
@@ -929,7 +941,7 @@ require("./runtime");
-
+
@@ -977,7 +989,7 @@ require("./runtime");
-
+
@@ -1017,7 +1029,7 @@ require("./runtime");
-
+
@@ -1057,7 +1069,7 @@ require("./runtime");
-
+
@@ -1097,7 +1109,7 @@ require("./runtime");
-
+
@@ -1137,7 +1149,7 @@ require("./runtime");
-
+
@@ -1177,7 +1189,7 @@ require("./runtime");
-
+
@@ -1217,7 +1229,7 @@ require("./runtime");
-
+
@@ -1257,7 +1269,7 @@ require("./runtime");
-
+
@@ -1297,7 +1309,7 @@ require("./runtime");
-
+
@@ -1337,7 +1349,7 @@ require("./runtime");
-
+
diff --git a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
index d958778546de..ded6bc740dc4 100644
--- a/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
+++ b/packages/taro-webpack5-runner/src/__tests__/__snapshots__/wx-hybrid.spec.ts.snap
@@ -85,7 +85,9 @@ require("./runtime");
"user-select": _false
},
Text: {
- "user-select": _false
+ "user-select": _false,
+ overflow: "visible",
+ "max-lines": ""
},
Map: {
polygons: "[]",
@@ -219,17 +221,24 @@ require("./runtime");
bindRefresherStatusChange: _empty
},
StickySection: {
- "push-pinned-header": _true
+ "push-pinned-header": _true,
+ padding: "[0, 0, 0, 0]"
},
GridView: {
type: "'aligned'",
"cross-axis-count": "2",
"max-cross-axis-extent": _zero,
"main-axis-gap": _zero,
- "cross-axis-gap": _zero
+ "cross-axis-gap": _zero,
+ padding: "[0, 0, 0, 0]"
+ },
+ ListView: {
+ padding: "[0, 0, 0, 0]"
+ },
+ StickyHeader: {
+ "offset-top": "0",
+ padding: "[0, 0, 0, 0]"
},
- ListView: {},
- StickyHeader: {},
Swiper: {
"snap-to-edge": _false,
"easing-function": "'default'"
@@ -484,7 +493,10 @@ require("./runtime");
"object-fit": "'contain'",
bindError: _empty
},
- Snapshot: {}
+ Snapshot: {
+ mode: "'view'"
+ },
+ Span: {}
};
const hostConfig = {
initNativeApi: initNativeApi,
@@ -639,7 +651,7 @@ require("./runtime");
-
+
@@ -731,7 +743,7 @@ require("./runtime");
-
+
@@ -795,7 +807,7 @@ require("./runtime");
-
+
@@ -859,7 +871,7 @@ require("./runtime");
-
+
@@ -923,7 +935,7 @@ require("./runtime");
-
+
@@ -979,7 +991,7 @@ require("./runtime");
-
+
@@ -1027,7 +1039,7 @@ require("./runtime");
-
+
@@ -1075,7 +1087,7 @@ require("./runtime");
-
+
@@ -1123,7 +1135,7 @@ require("./runtime");
-
+
@@ -1171,7 +1183,7 @@ require("./runtime");
-
+
@@ -1219,7 +1231,7 @@ require("./runtime");
-
+
@@ -1267,7 +1279,7 @@ require("./runtime");
-
+
@@ -1315,7 +1327,7 @@ require("./runtime");
-
+
@@ -1363,7 +1375,7 @@ require("./runtime");
-
+
@@ -1411,7 +1423,7 @@ require("./runtime");
-
+