@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.
@@ -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 { default as ListItem } from './list/ListItem.js';
6
- export { default as StickyHeader } from './list/StickyHeader.js';
7
- export { default as StickySection } from './list/StickySection.js';
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';
@@ -5,4 +5,5 @@ export interface ListItemProps {
5
5
  style?: React.CSSProperties;
6
6
  }
7
7
  declare const ListItem: React.FC<ListItemProps>;
8
+ export { ListItem };
8
9
  export default ListItem;
@@ -5,5 +5,5 @@ const ListItem = ({ children, className, style }) => {
5
5
  return jsx(View, { className: className, style: style, children: children });
6
6
  };
7
7
 
8
- export { ListItem as default };
8
+ export { ListItem, ListItem as default };
9
9
  //# sourceMappingURL=ListItem.js.map
@@ -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,4 +5,5 @@ export interface StickyHeaderProps {
5
5
  style?: React.CSSProperties;
6
6
  }
7
7
  declare const StickyHeader: React.FC<StickyHeaderProps>;
8
+ export { StickyHeader };
8
9
  export default StickyHeader;
@@ -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,4 +5,5 @@ export interface StickySectionProps {
5
5
  style?: React.CSSProperties;
6
6
  }
7
7
  declare const StickySection: React.FC<StickySectionProps>;
8
+ export { StickySection };
8
9
  export default StickySection;
@@ -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 { default as ListItem } from './components/list/ListItem.js';
5
- export { default as StickyHeader } from './components/list/StickyHeader.js';
6
- export { default as StickySection } from './components/list/StickySection.js';
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.1",
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.1"
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.1",
28
- "@tarojs/taro": "4.1.5-beta.1",
29
- "@tarojs/shared": "4.1.5-beta.1"
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/runtime": "~4.1.5-beta.1",
34
- "@tarojs/shared": "~4.1.5-beta.1",
35
- "@tarojs/taro": "~4.1.5-beta.1"
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": {