@draftbit/core 49.3.1 → 49.3.2-e6a661.2

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.
Files changed (76) hide show
  1. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleFlashList.js +1 -0
  2. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -0
  3. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -0
  4. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js +1 -0
  5. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -0
  6. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -0
  7. package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -0
  8. package/lib/commonjs/components/SimpleStyleScrollables/splitContentContainerStyles.js +1 -0
  9. package/lib/commonjs/index.js +1 -1
  10. package/lib/typescript/src/components/SectionList/SectionList.d.ts +2 -2
  11. package/lib/typescript/src/components/SectionList/SectionList.js.map +1 -1
  12. package/lib/typescript/src/components/SectionList/index.d.ts +1 -0
  13. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlashList.d.ts +8 -0
  14. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js +13 -0
  15. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js.map +1 -0
  16. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.d.ts +8 -0
  17. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +13 -0
  18. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +1 -0
  19. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.d.ts +8 -0
  20. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +13 -0
  21. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +1 -0
  22. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.d.ts +8 -0
  23. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js +13 -0
  24. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js.map +1 -0
  25. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.d.ts +8 -0
  26. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +13 -0
  27. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +1 -0
  28. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.d.ts +10 -0
  29. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +15 -0
  30. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +1 -0
  31. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.d.ts +10 -0
  32. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +15 -0
  33. package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +1 -0
  34. package/lib/typescript/src/components/SimpleStyleScrollables/splitContentContainerStyles.d.ts +6 -0
  35. package/lib/typescript/src/components/SimpleStyleScrollables/splitContentContainerStyles.js +34 -0
  36. package/lib/typescript/src/components/SimpleStyleScrollables/splitContentContainerStyles.js.map +1 -0
  37. package/lib/typescript/src/components/SwipeableItem/SwipeableList.d.ts +2 -2
  38. package/lib/typescript/src/components/SwipeableItem/index.d.ts +1 -0
  39. package/lib/typescript/src/index.d.ts +7 -0
  40. package/lib/typescript/src/index.js +7 -0
  41. package/lib/typescript/src/index.js.map +1 -1
  42. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  43. package/package.json +4 -3
  44. package/src/components/SectionList/SectionList.js.map +1 -1
  45. package/src/components/SectionList/SectionList.tsx +5 -2
  46. package/src/components/SectionList/index.tsx +4 -0
  47. package/src/components/SimpleStyleScrollables/README.md +3 -0
  48. package/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js +13 -0
  49. package/src/components/SimpleStyleScrollables/SimpleStyleFlashList.js.map +1 -0
  50. package/src/components/SimpleStyleScrollables/SimpleStyleFlashList.tsx +26 -0
  51. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +13 -0
  52. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +1 -0
  53. package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx +26 -0
  54. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +13 -0
  55. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +1 -0
  56. package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx +25 -0
  57. package/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js +13 -0
  58. package/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.js.map +1 -0
  59. package/src/components/SimpleStyleScrollables/SimpleStyleMasonryFlashList.tsx +26 -0
  60. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +13 -0
  61. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +1 -0
  62. package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx +25 -0
  63. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +15 -0
  64. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +1 -0
  65. package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx +33 -0
  66. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +15 -0
  67. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +1 -0
  68. package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx +33 -0
  69. package/src/components/SimpleStyleScrollables/splitContentContainerStyles.js +34 -0
  70. package/src/components/SimpleStyleScrollables/splitContentContainerStyles.js.map +1 -0
  71. package/src/components/SimpleStyleScrollables/splitContentContainerStyles.ts +40 -0
  72. package/src/components/SwipeableItem/SwipeableList.tsx +2 -2
  73. package/src/components/SwipeableItem/index.tsx +4 -0
  74. package/src/index.js +7 -0
  75. package/src/index.js.map +1 -1
  76. package/src/index.tsx +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "49.3.1",
3
+ "version": "49.3.2-e6a661.2+e6a661f",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "types": "lib/typescript/src/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@date-io/date-fns": "^1.3.13",
43
43
  "@draftbit/react-theme-provider": "^2.1.1",
44
- "@draftbit/types": "49.2.6",
44
+ "@draftbit/types": "^49.3.2-e6a661.2+e6a661f",
45
45
  "@expo/vector-icons": "^13.0.0",
46
46
  "@gorhom/bottom-sheet": "^5.0.0-alpha.4",
47
47
  "@material-ui/core": "^4.11.0",
@@ -61,6 +61,7 @@
61
61
  "react-native-deck-swiper": "^2.0.12",
62
62
  "react-native-dropdown-picker": "^5.4.7-beta.1",
63
63
  "react-native-gesture-handler": "~2.12.0",
64
+ "react-native-keyboard-aware-scroll-view": "^0.9.5",
64
65
  "react-native-markdown-display": "^7.0.0-alpha.2",
65
66
  "react-native-modal-datetime-picker": "^13.0.0",
66
67
  "react-native-pager-view": "6.2.0",
@@ -112,5 +113,5 @@
112
113
  ],
113
114
  "testEnvironment": "node"
114
115
  },
115
- "gitHead": "6068300678b11eb8a9f5a6884e6a829550147814"
116
+ "gitHead": "e6a661f85673e4f0eaeab86f3389871a23490004"
116
117
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SectionList.js","sourceRoot":"","sources":["SectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;A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CAAC;aACvD;SACF;IACH,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,IAAwB,EAAE,KAAa,EAAE,EAAE;QAC/D,QAAQ,IAAI,CAAC,IAAI,EAAE;YACjB,KAAK,cAAc,CAAC,CAAC;gBACnB,OAAO,WAAW,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC;aACtC;YACD,KAAK,WAAW,CAAC,CAAC;gBAChB,OAAO,CAAA,gBAAgB,aAAhB,gBAAgB,uBAAhB,gBAAgB,CAAG,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,KAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;aACjE;SACF;IACH,CAAC,CAAC;IAEF,QAAQ,aAAa,EAAE;QACrB,KAAK,UAAU;YACb,OAAO,CACL,oBAAC,QAAQ,IACP,mBAAmB,EAAE,qBAAqB,KACrC,IAA0C,EAC/C,IAAI,EAAE,gBAAgB,EACtB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,GAC1B,CACH,CAAC;QACJ,KAAK,WAAW;YACd,OAAO,CACL,oBAAC,SAAS,IACR,mBAAmB,EAAE,qBAAqB,KACrC,IAA2C,EAChD,IAAI,EAAE,gBAAgB,EACtB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,GAC1B,CACH,CAAC;KACL;AACH,CAAC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -18,10 +18,13 @@ interface AdditionalSectionListProps<T> {
18
18
  listComponent?: ListComponentType;
19
19
  }
20
20
 
21
- type FlatListSectionListProps<T> = Omit<FlatListProps<T>, "renderItem"> &
21
+ export type FlatListSectionListProps<T> = Omit<FlatListProps<T>, "renderItem"> &
22
22
  AdditionalSectionListProps<T>;
23
23
 
24
- type FlashListSectionListProps<T> = Omit<FlashListProps<T>, "renderItem"> &
24
+ export type FlashListSectionListProps<T> = Omit<
25
+ FlashListProps<T>,
26
+ "renderItem"
27
+ > &
25
28
  AdditionalSectionListProps<T>;
26
29
 
27
30
  interface SectionListDataItem<T> {
@@ -1,2 +1,6 @@
1
1
  export { default as SectionList } from "./SectionList";
2
2
  export { default as SectionHeader } from "./SectionHeader";
3
+ export type {
4
+ FlatListSectionListProps,
5
+ FlashListSectionListProps,
6
+ } from "./SectionList";
@@ -0,0 +1,3 @@
1
+ ### Why do we need these components?
2
+
3
+ At it's current state the Draftbit builder has a single interface for setting the styles of a component. With these scrollable components, there are 2 style props `style` and `contentContainerStyle`. To simplify the codegen on the draftbit side and hide the complexity from the user, these components take a single style and distrubte them across both style props appropriately.
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { FlashList } from "@shopify/flash-list";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A FlashList wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleFlashList = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (React.createElement(FlashList, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
+ };
12
+ export default SimpleStyleFlashList;
13
+ //# sourceMappingURL=SimpleStyleFlashList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleFlashList.js","sourceRoot":"","sources":["SimpleStyleFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,oBAAoB,GAAG,CAAgB,EAC3C,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EAC0C,EAAE,EAAE;IACrD,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,CACL,oBAAC,SAAS,IACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqC,KACxD,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { FlashList } from "@shopify/flash-list";
3
+ import type { FlashListProps, ContentStyle } from "@shopify/flash-list";
4
+ import splitContentContainerStyles from "./splitContentContainerStyles";
5
+
6
+ /**
7
+ * A FlashList wrapper that takes a single `style` prop and internally extracts
8
+ * the appropriate style keys into the `contentContainerStyle`
9
+ */
10
+ const SimpleStyleFlashList = <T extends any>({
11
+ style: styleProp,
12
+ ...rest
13
+ }: Omit<FlashListProps<T>, "contentContainerStyle">) => {
14
+ const { style, contentContainerStyle } =
15
+ splitContentContainerStyles(styleProp);
16
+
17
+ return (
18
+ <FlashList
19
+ style={style}
20
+ contentContainerStyle={contentContainerStyle as ContentStyle}
21
+ {...rest}
22
+ />
23
+ );
24
+ };
25
+
26
+ export default SimpleStyleFlashList;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { FlatList } from "react-native";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A FlatList wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleFlatList = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (React.createElement(FlatList, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
+ };
12
+ export default SimpleStyleFlatList;
13
+ //# sourceMappingURL=SimpleStyleFlatList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleFlatList.js","sourceRoot":"","sources":["SimpleStyleFlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,mBAAmB,GAAG,CAAgB,EAC1C,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EACyC,EAAE,EAAE;IACpD,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,CACL,oBAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { FlatList } from "react-native";
3
+ import type { FlatListProps } from "react-native";
4
+ import splitContentContainerStyles from "./splitContentContainerStyles";
5
+
6
+ /**
7
+ * A FlatList wrapper that takes a single `style` prop and internally extracts
8
+ * the appropriate style keys into the `contentContainerStyle`
9
+ */
10
+ const SimpleStyleFlatList = <T extends any>({
11
+ style: styleProp,
12
+ ...rest
13
+ }: Omit<FlatListProps<T>, "contentContainerStyle">) => {
14
+ const { style, contentContainerStyle } =
15
+ splitContentContainerStyles(styleProp);
16
+
17
+ return (
18
+ <FlatList
19
+ style={style}
20
+ contentContainerStyle={contentContainerStyle}
21
+ {...rest}
22
+ />
23
+ );
24
+ };
25
+
26
+ export default SimpleStyleFlatList;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A KeyboardAwareScrollView wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleKeyboardAwareScrollView = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (React.createElement(KeyboardAwareScrollView, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
+ };
12
+ export default SimpleStyleKeyboardAwareScrollView;
13
+ //# sourceMappingURL=SimpleStyleKeyboardAwareScrollView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleKeyboardAwareScrollView.js","sourceRoot":"","sources":["SimpleStyleKeyboardAwareScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,kCAAkC,GAEpC,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpC,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,CACL,oBAAC,uBAAuB,IACtB,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
3
+ import type { KeyboardAwareScrollViewProps } from "react-native-keyboard-aware-scroll-view";
4
+ import splitContentContainerStyles from "./splitContentContainerStyles";
5
+
6
+ /**
7
+ * A KeyboardAwareScrollView wrapper that takes a single `style` prop and internally extracts
8
+ * the appropriate style keys into the `contentContainerStyle`
9
+ */
10
+ const SimpleStyleKeyboardAwareScrollView: React.FC<
11
+ Omit<KeyboardAwareScrollViewProps, "contentContainerStyle">
12
+ > = ({ style: styleProp, ...rest }) => {
13
+ const { style, contentContainerStyle } =
14
+ splitContentContainerStyles(styleProp);
15
+
16
+ return (
17
+ <KeyboardAwareScrollView
18
+ style={style}
19
+ contentContainerStyle={contentContainerStyle}
20
+ {...rest}
21
+ />
22
+ );
23
+ };
24
+
25
+ export default SimpleStyleKeyboardAwareScrollView;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { MasonryFlashList } from "@shopify/flash-list";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A MasonryFlashList wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleMasonryFlashList = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (React.createElement(MasonryFlashList, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
+ };
12
+ export default SimpleStyleMasonryFlashList;
13
+ //# sourceMappingURL=SimpleStyleMasonryFlashList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleMasonryFlashList.js","sourceRoot":"","sources":["SimpleStyleMasonryFlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,2BAA2B,GAAG,CAAgB,EAClD,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EACiD,EAAE,EAAE;IAC5D,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,CACL,oBAAC,gBAAgB,IACf,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqC,KACxD,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from "react";
2
+ import { MasonryFlashList } from "@shopify/flash-list";
3
+ import type { MasonryFlashListProps, ContentStyle } from "@shopify/flash-list";
4
+ import splitContentContainerStyles from "./splitContentContainerStyles";
5
+
6
+ /**
7
+ * A MasonryFlashList wrapper that takes a single `style` prop and internally extracts
8
+ * the appropriate style keys into the `contentContainerStyle`
9
+ */
10
+ const SimpleStyleMasonryFlashList = <T extends any>({
11
+ style: styleProp,
12
+ ...rest
13
+ }: Omit<MasonryFlashListProps<T>, "contentContainerStyle">) => {
14
+ const { style, contentContainerStyle } =
15
+ splitContentContainerStyles(styleProp);
16
+
17
+ return (
18
+ <MasonryFlashList
19
+ style={style}
20
+ contentContainerStyle={contentContainerStyle as ContentStyle}
21
+ {...rest}
22
+ />
23
+ );
24
+ };
25
+
26
+ export default SimpleStyleMasonryFlashList;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { ScrollView } from "react-native";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A ScrollView wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleScrollView = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (React.createElement(ScrollView, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
11
+ };
12
+ export default SimpleStyleScrollView;
13
+ //# sourceMappingURL=SimpleStyleScrollView.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleScrollView.js","sourceRoot":"","sources":["SimpleStyleScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,qBAAqB,GAEvB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACpC,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO,CACL,oBAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from "react";
2
+ import { ScrollView } from "react-native";
3
+ import type { ScrollViewProps } from "react-native";
4
+ import splitContentContainerStyles from "./splitContentContainerStyles";
5
+
6
+ /**
7
+ * A ScrollView wrapper that takes a single `style` prop and internally extracts
8
+ * the appropriate style keys into the `contentContainerStyle`
9
+ */
10
+ const SimpleStyleScrollView: React.FC<
11
+ Omit<ScrollViewProps, "contentContainerStyle">
12
+ > = ({ style: styleProp, ...rest }) => {
13
+ const { style, contentContainerStyle } =
14
+ splitContentContainerStyles(styleProp);
15
+
16
+ return (
17
+ <ScrollView
18
+ style={style}
19
+ contentContainerStyle={contentContainerStyle}
20
+ {...rest}
21
+ />
22
+ );
23
+ };
24
+
25
+ export default SimpleStyleScrollView;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { SectionList } from "../SectionList";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A SectionList wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleSectionList = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (
11
+ //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
12
+ React.createElement(SectionList, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
13
+ };
14
+ export default SimpleStyleSectionList;
15
+ //# sourceMappingURL=SimpleStyleSectionList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleSectionList.js","sourceRoot":"","sources":["SimpleStyleSectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,sBAAsB,GAAG,CAAmC,EAChE,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EAIR,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO;IACL,gHAAgH;IAChH,oBAAC,WAAW,IACV,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { SectionList } from "../SectionList";
3
+ import type {
4
+ FlatListSectionListProps,
5
+ FlashListSectionListProps,
6
+ } from "../SectionList";
7
+ import splitContentContainerStyles from "./splitContentContainerStyles";
8
+
9
+ /**
10
+ * A SectionList wrapper that takes a single `style` prop and internally extracts
11
+ * the appropriate style keys into the `contentContainerStyle`
12
+ */
13
+ const SimpleStyleSectionList = <T extends { [key: string]: any }>({
14
+ style: styleProp,
15
+ ...rest
16
+ }: Omit<
17
+ FlatListSectionListProps<T> | FlashListSectionListProps<T>,
18
+ "contentContainerStyle"
19
+ >) => {
20
+ const { style, contentContainerStyle } =
21
+ splitContentContainerStyles(styleProp);
22
+
23
+ return (
24
+ //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
25
+ <SectionList
26
+ style={style}
27
+ contentContainerStyle={contentContainerStyle}
28
+ {...rest}
29
+ />
30
+ );
31
+ };
32
+
33
+ export default SimpleStyleSectionList;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { SwipeableList } from "../SwipeableItem";
3
+ import splitContentContainerStyles from "./splitContentContainerStyles";
4
+ /**
5
+ * A SwipeableList wrapper that takes a single `style` prop and internally extracts
6
+ * the appropriate style keys into the `contentContainerStyle`
7
+ */
8
+ const SimpleStyleSwipeableList = ({ style: styleProp, ...rest }) => {
9
+ const { style, contentContainerStyle } = splitContentContainerStyles(styleProp);
10
+ return (
11
+ //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
12
+ React.createElement(SwipeableList, { style: style, contentContainerStyle: contentContainerStyle, ...rest }));
13
+ };
14
+ export default SimpleStyleSwipeableList;
15
+ //# sourceMappingURL=SimpleStyleSwipeableList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleStyleSwipeableList.js","sourceRoot":"","sources":["SimpleStyleSwipeableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE;;;GAGG;AACH,MAAM,wBAAwB,GAAG,CAAmC,EAClE,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EAIR,EAAE,EAAE;IACH,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GACpC,2BAA2B,CAAC,SAAS,CAAC,CAAC;IAEzC,OAAO;IACL,gHAAgH;IAChH,oBAAC,aAAa,IACZ,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import React from "react";
2
+ import { SwipeableList } from "../SwipeableItem";
3
+ import type {
4
+ FlashListSwipeableListProps,
5
+ FlatListSwipeableListProps,
6
+ } from "../SwipeableItem";
7
+ import splitContentContainerStyles from "./splitContentContainerStyles";
8
+
9
+ /**
10
+ * A SwipeableList wrapper that takes a single `style` prop and internally extracts
11
+ * the appropriate style keys into the `contentContainerStyle`
12
+ */
13
+ const SimpleStyleSwipeableList = <T extends { [key: string]: any }>({
14
+ style: styleProp,
15
+ ...rest
16
+ }: Omit<
17
+ FlashListSwipeableListProps<T> | FlatListSwipeableListProps<T>,
18
+ "contentContainerStyle"
19
+ >) => {
20
+ const { style, contentContainerStyle } =
21
+ splitContentContainerStyles(styleProp);
22
+
23
+ return (
24
+ //@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
25
+ <SwipeableList
26
+ style={style}
27
+ contentContainerStyle={contentContainerStyle}
28
+ {...rest}
29
+ />
30
+ );
31
+ };
32
+
33
+ export default SimpleStyleSwipeableList;
@@ -0,0 +1,34 @@
1
+ import { StyleSheet } from "react-native";
2
+ import { pick, omit } from "lodash";
3
+ export const contentContainerStyleNames = [
4
+ "padding",
5
+ "paddingBottom",
6
+ "paddingEnd",
7
+ "paddingHorizontal",
8
+ "paddingLeft",
9
+ "paddingRight",
10
+ "paddingStart",
11
+ "paddingTop",
12
+ "paddingVertical",
13
+ "justifyContent",
14
+ "alignItems",
15
+ "alignContent",
16
+ "flexDirection",
17
+ "flexWrap",
18
+ ];
19
+ export default function splitContentContainerStyles(originalStyle) {
20
+ const flattenedStyle = StyleSheet.flatten(originalStyle);
21
+ let contentContainerStyle = pick(flattenedStyle, contentContainerStyleNames);
22
+ // contentContainerStyle should always at least fill the parent to ensure sizing changes reflects properly on component and children
23
+ contentContainerStyle = {
24
+ minHeight: "100%",
25
+ minWidth: "100%",
26
+ ...contentContainerStyle,
27
+ };
28
+ let style = omit(flattenedStyle, contentContainerStyleNames);
29
+ // ScrollView's implementation defaults flexGrow to 1, which prevents the ability to set a static size
30
+ // See: https://github.com/facebook/react-native/issues/3422
31
+ style = { flexGrow: 0, ...style };
32
+ return { style, contentContainerStyle };
33
+ }
34
+ //# sourceMappingURL=splitContentContainerStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"splitContentContainerStyles.js","sourceRoot":"","sources":["splitContentContainerStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEpC,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,SAAS;IACT,eAAe;IACf,YAAY;IACZ,mBAAmB;IACnB,aAAa;IACb,cAAc;IACd,cAAc;IACd,YAAY;IACZ,iBAAiB;IACjB,gBAAgB;IAChB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,UAAU;CACX,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,2BAA2B,CACjD,aAAmC;IAEnC,MAAM,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAEzD,IAAI,qBAAqB,GAAG,IAAI,CAAC,cAAc,EAAE,0BAA0B,CAAC,CAAC;IAC7E,oIAAoI;IACpI,qBAAqB,GAAG;QACtB,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,MAAM;QAChB,GAAG,qBAAqB;KACzB,CAAC;IAEF,IAAI,KAAK,GAAG,IAAI,CAAC,cAAc,EAAE,0BAA0B,CAAC,CAAC;IAC7D,sGAAsG;IACtG,4DAA4D;IAC5D,KAAK,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,KAAK,EAAE,CAAC;IAElC,OAAO,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC;AAC1C,CAAC"}
@@ -0,0 +1,40 @@
1
+ import { StyleProp, ViewStyle, StyleSheet } from "react-native";
2
+ import { pick, omit } from "lodash";
3
+
4
+ export const contentContainerStyleNames = [
5
+ "padding",
6
+ "paddingBottom",
7
+ "paddingEnd",
8
+ "paddingHorizontal",
9
+ "paddingLeft",
10
+ "paddingRight",
11
+ "paddingStart",
12
+ "paddingTop",
13
+ "paddingVertical",
14
+ "justifyContent",
15
+ "alignItems",
16
+ "alignContent",
17
+ "flexDirection",
18
+ "flexWrap",
19
+ ];
20
+
21
+ export default function splitContentContainerStyles(
22
+ originalStyle: StyleProp<ViewStyle>
23
+ ) {
24
+ const flattenedStyle = StyleSheet.flatten(originalStyle);
25
+
26
+ let contentContainerStyle = pick(flattenedStyle, contentContainerStyleNames);
27
+ // contentContainerStyle should always at least fill the parent to ensure sizing changes reflects properly on component and children
28
+ contentContainerStyle = {
29
+ minHeight: "100%",
30
+ minWidth: "100%",
31
+ ...contentContainerStyle,
32
+ };
33
+
34
+ let style = omit(flattenedStyle, contentContainerStyleNames);
35
+ // ScrollView's implementation defaults flexGrow to 1, which prevents the ability to set a static size
36
+ // See: https://github.com/facebook/react-native/issues/3422
37
+ style = { flexGrow: 0, ...style };
38
+
39
+ return { style, contentContainerStyle };
40
+ }
@@ -9,10 +9,10 @@ interface AdditionalSwipeableListProps {
9
9
  listComponent?: ListComponentType;
10
10
  }
11
11
 
12
- type FlatListSwipeableListProps<T> = FlatListProps<T> &
12
+ export type FlatListSwipeableListProps<T> = FlatListProps<T> &
13
13
  AdditionalSwipeableListProps;
14
14
 
15
- type FlashListSwipeableListProps<T> = FlashListProps<T> &
15
+ export type FlashListSwipeableListProps<T> = FlashListProps<T> &
16
16
  AdditionalSwipeableListProps;
17
17
 
18
18
  type SwipeableListContextType = {
@@ -1,3 +1,7 @@
1
1
  export { default as SwipeableItem } from "./SwipeableItem";
2
2
  export { default as SwipeableItemButton } from "./SwipeableItemButton";
3
3
  export { default as SwipeableList } from "./SwipeableList";
4
+ export type {
5
+ FlashListSwipeableListProps,
6
+ FlatListSwipeableListProps,
7
+ } from "./SwipeableList";
package/src/index.js CHANGED
@@ -43,6 +43,13 @@ export { default as VideoPlayer } from "./components/MediaPlayer/VideoPlayer";
43
43
  export { PinInput, CustomPinInputCell, PinInputText as CustomPinInputText, } from "./components/PinInput";
44
44
  export { AspectRatio, Circle, Center, HStack, VStack, ZStack, Spacer, Square, } from "./components/Layout";
45
45
  export { default as KeyboardAvoidingView } from "./components/KeyboardAvoidingView";
46
+ export { default as SimpleStyleFlashList } from "./components/SimpleStyleScrollables/SimpleStyleFlashList";
47
+ export { default as SimpleStyleFlatList } from "./components/SimpleStyleScrollables/SimpleStyleFlatList";
48
+ export { default as SimpleStyleKeyboardAwareScrollView } from "./components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView";
49
+ export { default as SimpleStyleMasonryFlashList } from "./components/SimpleStyleScrollables/SimpleStyleMasonryFlashList";
50
+ export { default as SimpleStyleScrollView } from "./components/SimpleStyleScrollables/SimpleStyleScrollView";
51
+ export { default as SimpleStyleSectionList } from "./components/SimpleStyleScrollables/SimpleStyleSectionList";
52
+ export { default as SimpleStyleSwipeableList } from "./components/SimpleStyleScrollables/SimpleStyleSwipeableList";
46
53
  /* Deprecated: Fix or Delete! */
47
54
  export { default as AccordionItem } from "./deprecated-components/AccordionItem";
48
55
  export { default as AvatarEdit } from "./deprecated-components/AvatarEdit";
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,UAA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C;AACjF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EACL,MAAM,IAAI,gBAAgB,EAC1B,MAAM,IAAI,gBAAgB,EAC1B,MAAM,IAAI,gBAAgB,EAC1B,GAAG,EACH,KAAK,GACN,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,2CAA2C,CAAC"}
package/src/index.tsx CHANGED
@@ -70,6 +70,13 @@ export {
70
70
  Square,
71
71
  } from "./components/Layout";
72
72
  export { default as KeyboardAvoidingView } from "./components/KeyboardAvoidingView";
73
+ export { default as SimpleStyleFlashList } from "./components/SimpleStyleScrollables/SimpleStyleFlashList";
74
+ export { default as SimpleStyleFlatList } from "./components/SimpleStyleScrollables/SimpleStyleFlatList";
75
+ export { default as SimpleStyleKeyboardAwareScrollView } from "./components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView";
76
+ export { default as SimpleStyleMasonryFlashList } from "./components/SimpleStyleScrollables/SimpleStyleMasonryFlashList";
77
+ export { default as SimpleStyleScrollView } from "./components/SimpleStyleScrollables/SimpleStyleScrollView";
78
+ export { default as SimpleStyleSectionList } from "./components/SimpleStyleScrollables/SimpleStyleSectionList";
79
+ export { default as SimpleStyleSwipeableList } from "./components/SimpleStyleScrollables/SimpleStyleSwipeableList";
73
80
 
74
81
  /* Deprecated: Fix or Delete! */
75
82
  export { default as AccordionItem } from "./deprecated-components/AccordionItem";