@tarojs/components-advanced 4.1.5-beta.1 → 4.1.5-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.js +3 -3
- package/dist/components/list/ListItem.d.ts +1 -0
- package/dist/components/list/ListItem.js +1 -1
- package/dist/components/list/ListItem.js.map +1 -1
- package/dist/components/list/StickyHeader.d.ts +1 -0
- package/dist/components/list/StickyHeader.js +1 -1
- package/dist/components/list/StickyHeader.js.map +1 -1
- package/dist/components/list/StickySection.d.ts +1 -0
- package/dist/components/list/StickySection.js +1 -1
- package/dist/components/list/StickySection.js.map +1 -1
- package/dist/components/list/index.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +8 -8
package/dist/components/index.js
CHANGED
|
@@ -2,9 +2,9 @@ export { List, accumulate, isShaking } from './list/index.js';
|
|
|
2
2
|
export { VirtualList } from './virtual-list/index.js';
|
|
3
3
|
export { VirtualWaterfall } from './virtual-waterfall/index.js';
|
|
4
4
|
import './water-flow/index.js';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
5
|
+
export { ListItem } from './list/ListItem.js';
|
|
6
|
+
export { StickyHeader } from './list/StickyHeader.js';
|
|
7
|
+
export { StickySection } from './list/StickySection.js';
|
|
8
8
|
export { FlowItem, useFlowItemPositioner } from './water-flow/flow-item.js';
|
|
9
9
|
export { FlowSection } from './water-flow/flow-section.js';
|
|
10
10
|
export { WaterFlow } from './water-flow/water-flow.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sources":["../../../src/components/list/ListItem.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface ListItemProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst ListItem: React.FC<ListItemProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport default ListItem\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,QAAQ,GAA4B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AAC3E,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
1
|
+
{"version":3,"file":"ListItem.js","sources":["../../../src/components/list/ListItem.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface ListItemProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst ListItem: React.FC<ListItemProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport { ListItem }\nexport default ListItem\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,QAAQ,GAA4B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AAC3E,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
@@ -5,5 +5,5 @@ const StickyHeader = ({ children, className, style }) => {
|
|
|
5
5
|
return jsx(View, { className: className, style: style, children: children });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
export { StickyHeader as default };
|
|
8
|
+
export { StickyHeader, StickyHeader as default };
|
|
9
9
|
//# sourceMappingURL=StickyHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyHeader.js","sources":["../../../src/components/list/StickyHeader.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface StickyHeaderProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst StickyHeader: React.FC<StickyHeaderProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport default StickyHeader\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,YAAY,GAAgC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AACnF,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
1
|
+
{"version":3,"file":"StickyHeader.js","sources":["../../../src/components/list/StickyHeader.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface StickyHeaderProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst StickyHeader: React.FC<StickyHeaderProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport { StickyHeader }\nexport default StickyHeader\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,YAAY,GAAgC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AACnF,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
@@ -5,5 +5,5 @@ const StickySection = ({ children, className, style }) => {
|
|
|
5
5
|
return jsx(View, { className: className, style: style, children: children });
|
|
6
6
|
};
|
|
7
7
|
|
|
8
|
-
export { StickySection as default };
|
|
8
|
+
export { StickySection, StickySection as default };
|
|
9
9
|
//# sourceMappingURL=StickySection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickySection.js","sources":["../../../src/components/list/StickySection.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface StickySectionProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst StickySection: React.FC<StickySectionProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport default StickySection\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,aAAa,GAAiC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AACrF,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
1
|
+
{"version":3,"file":"StickySection.js","sources":["../../../src/components/list/StickySection.tsx"],"sourcesContent":["import { View } from '@tarojs/components'\nimport React from 'react'\n\nexport interface StickySectionProps {\n children: React.ReactNode\n className?: string\n style?: React.CSSProperties\n}\n\nconst StickySection: React.FC<StickySectionProps> = ({ children, className, style }) => {\n return <View className={className} style={style}>{children}</View>\n}\n\nexport { StickySection }\nexport default StickySection\n"],"names":["_jsx"],"mappings":";;;AASM,MAAA,aAAa,GAAiC,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,KAAI;AACrF,IAAA,OAAOA,GAAC,CAAA,IAAI,EAAC,EAAA,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAG,QAAA,EAAA,QAAQ,GAAQ;AACpE;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { View, ScrollView } from '@tarojs/components';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import ListItem from './ListItem.js';
|
|
5
|
-
import StickyHeader from './StickyHeader.js';
|
|
6
|
-
import StickySection from './StickySection.js';
|
|
4
|
+
import { ListItem } from './ListItem.js';
|
|
5
|
+
import { StickyHeader } from './StickyHeader.js';
|
|
6
|
+
import { StickySection } from './StickySection.js';
|
|
7
7
|
|
|
8
8
|
// 工具:累加数组
|
|
9
9
|
function accumulate(arr) {
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './components/index.js';
|
|
2
2
|
import './utils/index.js';
|
|
3
3
|
export { List, accumulate, isShaking } from './components/list/index.js';
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
4
|
+
export { ListItem } from './components/list/ListItem.js';
|
|
5
|
+
export { StickyHeader } from './components/list/StickyHeader.js';
|
|
6
|
+
export { StickySection } from './components/list/StickySection.js';
|
|
7
7
|
export { VirtualList } from './components/virtual-list/index.js';
|
|
8
8
|
export { VirtualWaterfall } from './components/virtual-waterfall/index.js';
|
|
9
9
|
export { FlowItem, useFlowItemPositioner } from './components/water-flow/flow-item.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components-advanced",
|
|
3
|
-
"version": "4.1.5-beta.
|
|
3
|
+
"version": "4.1.5-beta.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"csstype": "^3.1.1",
|
|
21
21
|
"memoize-one": "^6.0.0",
|
|
22
22
|
"tslib": "^2.6.2",
|
|
23
|
-
"@tarojs/components": "4.1.5-beta.
|
|
23
|
+
"@tarojs/components": "4.1.5-beta.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"vue": "3.2.47",
|
|
27
|
-
"@tarojs/runtime": "4.1.5-beta.
|
|
28
|
-
"@tarojs/
|
|
29
|
-
"@tarojs/
|
|
27
|
+
"@tarojs/runtime": "4.1.5-beta.3",
|
|
28
|
+
"@tarojs/shared": "4.1.5-beta.3",
|
|
29
|
+
"@tarojs/taro": "4.1.5-beta.3"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18",
|
|
33
|
-
"@tarojs/
|
|
34
|
-
"@tarojs/shared": "~4.1.5-beta.
|
|
35
|
-
"@tarojs/
|
|
33
|
+
"@tarojs/taro": "~4.1.5-beta.3",
|
|
34
|
+
"@tarojs/shared": "~4.1.5-beta.3",
|
|
35
|
+
"@tarojs/runtime": "~4.1.5-beta.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
|
38
38
|
"react": {
|