@draftbit/core 54.0.2 → 54.0.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/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -1
- package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -1
- package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -1
- package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -1
- package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -1
- package/lib/commonjs/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +1 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.d.ts +3 -1
- package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +11 -9
- package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.js.map +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx +4 -2
- package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js.map +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx +4 -2
- package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.js.map +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx +4 -2
- package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.js.map +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx +4 -2
- package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map +1 -1
- package/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx +4 -2
- package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js +11 -9
- package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js.map +1 -1
- package/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.ts +14 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _FlatList=_interopRequireDefault(require("../FlatList"));var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx";var SimpleStyleFlatList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_FlatList.default,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest));});var _default=exports.default=SimpleStyleFlatList;
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _FlatList=_interopRequireDefault(require("../FlatList"));var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx";var SimpleStyleFlatList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp,{isFlashList:false}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_FlatList.default,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest));});var _default=exports.default=SimpleStyleFlatList;
|
package/lib/commonjs/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNativeKeyboardAwareScrollView=require("react-native-keyboard-aware-scroll-view");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx";var SimpleStyleKeyboardAwareScrollView=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_reactNativeKeyboardAwareScrollView.KeyboardAwareScrollView,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle},rest));});var _default=exports.default=SimpleStyleKeyboardAwareScrollView;
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNativeKeyboardAwareScrollView=require("react-native-keyboard-aware-scroll-view");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx";var SimpleStyleKeyboardAwareScrollView=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp,{isFlashList:false}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_reactNativeKeyboardAwareScrollView.KeyboardAwareScrollView,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle},rest));});var _default=exports.default=SimpleStyleKeyboardAwareScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","onRefresh","refreshing"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx";var SimpleStyleScrollView=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,onRefresh=_ref.onRefresh,_ref$refreshing=_ref.refreshing,refreshing=_ref$refreshing===void 0?false:_ref$refreshing,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_reactNative.ScrollView,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,refreshControl:onRefresh?(0,_jsxRuntime.jsx)(_reactNative.RefreshControl,{refreshing:refreshing,onRefresh:onRefresh}):undefined},rest));});var _default=exports.default=SimpleStyleScrollView;
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","onRefresh","refreshing"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx";var SimpleStyleScrollView=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,onRefresh=_ref.onRefresh,_ref$refreshing=_ref.refreshing,refreshing=_ref$refreshing===void 0?false:_ref$refreshing,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp,{isFlashList:false}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return(0,_jsxRuntime.jsx)(_reactNative.ScrollView,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,refreshControl:onRefresh?(0,_jsxRuntime.jsx)(_reactNative.RefreshControl,{refreshing:refreshing,onRefresh:onRefresh}):undefined},rest));});var _default=exports.default=SimpleStyleScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _SectionList=require("../SectionList");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx";var SimpleStyleSectionList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return((0,_jsxRuntime.jsx)(_SectionList.SectionList,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest)));});var _default=exports.default=SimpleStyleSectionList;
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _SectionList=require("../SectionList");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx";var SimpleStyleSectionList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp,{isFlashList:rest.listComponent==="FlashList"}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return((0,_jsxRuntime.jsx)(_SectionList.SectionList,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest)));});var _default=exports.default=SimpleStyleSectionList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _SwipeableItem=require("../SwipeableItem");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx";var SimpleStyleSwipeableList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return((0,_jsxRuntime.jsx)(_SwipeableItem.SwipeableList,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest)));});var _default=exports.default=SimpleStyleSwipeableList;
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));var _SwipeableItem=require("../SwipeableItem");var _useSplitContentContainerStyles=_interopRequireDefault(require("./useSplitContentContainerStyles"));var _jsxRuntime=require("react/jsx-runtime");var _excluded=["style","data"];var _this=this,_jsxFileName="/home/runner/work/react-native-jigsaw/react-native-jigsaw/packages/core/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx";var SimpleStyleSwipeableList=_react.default.forwardRef(function(_ref,ref){var styleProp=_ref.style,data=_ref.data,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var _useSplitContentConta=(0,_useSplitContentContainerStyles.default)(styleProp,{isFlashList:rest.listComponent==="FlashList"}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;return((0,_jsxRuntime.jsx)(_SwipeableItem.SwipeableList,Object.assign({ref:ref,style:style,contentContainerStyle:contentContainerStyle,data:data},rest)));});var _default=exports.default=SimpleStyleSwipeableList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.contentContainerStyleNames=void 0;exports.default=useSplitContentContainerStyles;exports.useFlashListSplitContentContainerStyles=useFlashListSplitContentContainerStyles;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _reactNative=require("react-native");var _lodash=require("lodash");var _utilities=require("../../utilities");var DEVICE_WIDTH=_reactNative.Dimensions.get("window").width;var DEVICE_HEIGHT=_reactNative.Dimensions.get("window").height;var contentContainerStyleNames=exports.contentContainerStyleNames=["padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","justifyContent","alignItems","alignContent","flexDirection","flexWrap","gap","columnGap","rowGap"];function useSplitContentContainerStyles(originalStyle){return(0,_utilities.useDeepCompareMemo)(function(){var flattenedStyle=_reactNative.StyleSheet.flatten(originalStyle);var contentContainerStyle=(0,_lodash.pick)(flattenedStyle,contentContainerStyleNames);contentContainerStyle.flexGrow=1;var style=(0,_lodash.omit)(flattenedStyle,contentContainerStyleNames);if(style.flex===undefined){style=Object.assign({flexGrow:0},style);}else if(style.flexGrow===undefined){style=Object.assign({flexGrow:style.flex},style);}return{style:style,contentContainerStyle:contentContainerStyle};},[originalStyle]);}function useFlashListSplitContentContainerStyles(originalStyle){var _useSplitContentConta=useSplitContentContainerStyles(originalStyle),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;var flashListContentContainerStyle=(0,_lodash.pick)(contentContainerStyle,["backgroundColor","paddingTop","paddingLeft","paddingRight","paddingBottom","padding","paddingVertical","paddingHorizontal"]);for(var _ref of Object.entries(flashListContentContainerStyle)){var _ref2=(0,_slicedToArray2.default)(_ref,2);var _key=_ref2[0];var value=_ref2[1];if(typeof value==="string"&&_key.includes("padding")){var asNumber=(0,_utilities.extractPercentNumber)(value);if(asNumber!==undefined){switch(_key){case"padding":case"paddingLeft":case"paddingRight":case"paddingHorizontal":flashListContentContainerStyle[_key]=DEVICE_WIDTH*(asNumber/100);break;case"paddingTop":case"paddingBottom":case"paddingVertical":flashListContentContainerStyle[_key]=DEVICE_HEIGHT*(asNumber/100);break;}}}}return{style:style,contentContainerStyle:flashListContentContainerStyle};}
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.contentContainerStyleNames=void 0;exports.default=useSplitContentContainerStyles;exports.useFlashListSplitContentContainerStyles=useFlashListSplitContentContainerStyles;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _reactNative=require("react-native");var _lodash=require("lodash");var _utilities=require("../../utilities");var DEVICE_WIDTH=_reactNative.Dimensions.get("window").width;var DEVICE_HEIGHT=_reactNative.Dimensions.get("window").height;var contentContainerStyleNames=exports.contentContainerStyleNames=["padding","paddingBottom","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","justifyContent","alignItems","alignContent","flexDirection","flexWrap","gap","columnGap","rowGap"];function useSplitContentContainerStyles(originalStyle,options){return(0,_utilities.useDeepCompareMemo)(function(){var flattenedStyle=_reactNative.StyleSheet.flatten(originalStyle);var contentContainerStyle=(0,_lodash.pick)(flattenedStyle,contentContainerStyleNames);contentContainerStyle.flexGrow=1;var style=(0,_lodash.omit)(flattenedStyle,contentContainerStyleNames);if(!options.isFlashList){if(style.flex===undefined){style=Object.assign({flexGrow:0},style);}else if(style.flexGrow===undefined){style=Object.assign({flexGrow:style.flex},style);}}return{style:style,contentContainerStyle:contentContainerStyle};},[originalStyle]);}function useFlashListSplitContentContainerStyles(originalStyle){var _useSplitContentConta=useSplitContentContainerStyles(originalStyle,{isFlashList:true}),style=_useSplitContentConta.style,contentContainerStyle=_useSplitContentConta.contentContainerStyle;var flashListContentContainerStyle=(0,_lodash.pick)(contentContainerStyle,["backgroundColor","paddingTop","paddingLeft","paddingRight","paddingBottom","padding","paddingVertical","paddingHorizontal"]);for(var _ref of Object.entries(flashListContentContainerStyle)){var _ref2=(0,_slicedToArray2.default)(_ref,2);var _key=_ref2[0];var value=_ref2[1];if(typeof value==="string"&&_key.includes("padding")){var asNumber=(0,_utilities.extractPercentNumber)(value);if(asNumber!==undefined){switch(_key){case"padding":case"paddingLeft":case"paddingRight":case"paddingHorizontal":flashListContentContainerStyle[_key]=DEVICE_WIDTH*(asNumber/100);break;case"paddingTop":case"paddingBottom":case"paddingVertical":flashListContentContainerStyle[_key]=DEVICE_HEIGHT*(asNumber/100);break;}}}}return{style:style,contentContainerStyle:flashListContentContainerStyle};}
|
|
@@ -6,7 +6,7 @@ import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
|
|
|
6
6
|
* the appropriate style keys into the `contentContainerStyle`
|
|
7
7
|
*/
|
|
8
8
|
const SimpleStyleFlatList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
|
|
9
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
|
|
9
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp, { isFlashList: false });
|
|
10
10
|
return (React.createElement(FlatList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
|
|
11
11
|
});
|
|
12
12
|
export default SimpleStyleFlatList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleStyleFlatList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,aAAa,CAAC;AAGnC,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,mBAAmB,GAAG,KAAK,CAAC,UAAU,CAC1C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EACyC,EAClD,GAAiC,EACjC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleStyleFlatList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleFlatList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,aAAa,CAAC;AAGnC,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,mBAAmB,GAAG,KAAK,CAAC,UAAU,CAC1C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EACyC,EAClD,GAAiC,EACjC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,8BAA8B,CACrE,SAAS,EACT,EAAE,WAAW,EAAE,KAAK,EAAE,CACvB,CAAC;IAEF,OAAO,CACL,oBAAC,QAAQ,IACP,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.js
CHANGED
|
@@ -6,7 +6,7 @@ import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
|
|
|
6
6
|
* the appropriate style keys into the `contentContainerStyle`
|
|
7
7
|
*/
|
|
8
8
|
const SimpleStyleKeyboardAwareScrollView = React.forwardRef(({ style: styleProp, ...rest }, ref) => {
|
|
9
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
|
|
9
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp, { isFlashList: false });
|
|
10
10
|
return (React.createElement(KeyboardAwareScrollView, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, ...rest }));
|
|
11
11
|
});
|
|
12
12
|
export default SimpleStyleKeyboardAwareScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleStyleKeyboardAwareScrollView.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,kCAAkC,GAAG,KAAK,CAAC,UAAU,CACzD,CACE,EACE,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EACqD,EAC9D,GAAuC,EACvC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleStyleKeyboardAwareScrollView.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleKeyboardAwareScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAElF,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,kCAAkC,GAAG,KAAK,CAAC,UAAU,CACzD,CACE,EACE,KAAK,EAAE,SAAS,EAChB,GAAG,IAAI,EACqD,EAC9D,GAAuC,EACvC,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,8BAA8B,CACrE,SAAS,EACT,EAAE,WAAW,EAAE,KAAK,EAAE,CACvB,CAAC;IAEF,OAAO,CACL,oBAAC,uBAAuB,IACtB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,KACxC,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,kCAAkC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
|
|
|
6
6
|
* the appropriate style keys into the `contentContainerStyle`
|
|
7
7
|
*/
|
|
8
8
|
const SimpleStyleScrollView = React.forwardRef(({ style: styleProp, onRefresh, refreshing = false, ...rest }, ref) => {
|
|
9
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
|
|
9
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp, { isFlashList: false });
|
|
10
10
|
return (React.createElement(ScrollView, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, refreshControl: onRefresh ? (React.createElement(RefreshControl, { refreshing: refreshing, onRefresh: onRefresh })) : undefined, ...rest }));
|
|
11
11
|
});
|
|
12
12
|
export default SimpleStyleScrollView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleStyleScrollView.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAO9E;;;GAGG;AACH,MAAM,qBAAqB,GAAG,KAAK,CAAC,UAAU,CAC5C,CACE,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,GAAG,KAAK,EAAE,GAAG,IAAI,EAAS,EACnE,GAA0B,EAC1B,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleStyleScrollView.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAO9E;;;GAGG;AACH,MAAM,qBAAqB,GAAG,KAAK,CAAC,UAAU,CAC5C,CACE,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,UAAU,GAAG,KAAK,EAAE,GAAG,IAAI,EAAS,EACnE,GAA0B,EAC1B,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,8BAA8B,CACrE,SAAS,EACT,EAAE,WAAW,EAAE,KAAK,EAAE,CACvB,CAAC;IAEF,OAAO,CACL,oBAAC,UAAU,IACT,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,cAAc,EACZ,SAAS,CAAC,CAAC,CAAC,CACV,oBAAC,cAAc,IAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAI,CACjE,CAAC,CAAC,CAAC,SAAS,KAEX,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
|
|
|
6
6
|
* the appropriate style keys into the `contentContainerStyle`
|
|
7
7
|
*/
|
|
8
8
|
const SimpleStyleSectionList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
|
|
9
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
|
|
9
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp, { isFlashList: rest.listComponent === "FlashList" });
|
|
10
10
|
return (
|
|
11
11
|
//@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
|
|
12
12
|
React.createElement(SectionList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleStyleSectionList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAC7C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleStyleSectionList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleSectionList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK7C,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,sBAAsB,GAAG,KAAK,CAAC,UAAU,CAC7C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,8BAA8B,CACrE,SAAS,EACT,EAAE,WAAW,EAAE,IAAI,CAAC,aAAa,KAAK,WAAW,EAAE,CACpD,CAAC;IAEF,OAAO;IACL,gHAAgH;IAChH,oBAAC,WAAW,IACV,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import useSplitContentContainerStyles from "./useSplitContentContainerStyles";
|
|
|
6
6
|
* the appropriate style keys into the `contentContainerStyle`
|
|
7
7
|
*/
|
|
8
8
|
const SimpleStyleSwipeableList = React.forwardRef(({ style: styleProp, data, ...rest }, ref) => {
|
|
9
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp);
|
|
9
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(styleProp, { isFlashList: rest.listComponent === "FlashList" });
|
|
10
10
|
return (
|
|
11
11
|
//@ts-ignore contentContainerStyle has different types for FlashList and FlatList implmentations and confuses TS
|
|
12
12
|
React.createElement(SwipeableList, { ref: ref, style: style, contentContainerStyle: contentContainerStyle, data: data, ...rest }));
|
package/lib/typescript/src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleStyleSwipeableList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleStyleSwipeableList.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/SimpleStyleSwipeableList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,8BAA8B,MAAM,kCAAkC,CAAC;AAI9E;;;GAGG;AACH,MAAM,wBAAwB,GAAG,KAAK,CAAC,UAAU,CAC/C,CACE,EACE,KAAK,EAAE,SAAS,EAChB,IAAI,EACJ,GAAG,IAAI,EAIR,EACD,GAAyD,EACzD,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,8BAA8B,CACrE,SAAS,EACT,EAAE,WAAW,EAAE,IAAI,CAAC,aAAa,KAAK,WAAW,EAAE,CACpD,CAAC;IAEF,OAAO;IACL,gHAAgH;IAChH,oBAAC,aAAa,IACZ,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,qBAAqB,EAAE,qBAAqB,EAC5C,IAAI,EAAE,IAAI,KACN,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ interface Styles {
|
|
|
4
4
|
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
5
5
|
}
|
|
6
6
|
export declare const contentContainerStyleNames: string[];
|
|
7
|
-
export default function useSplitContentContainerStyles(originalStyle: StyleProp<ViewStyle
|
|
7
|
+
export default function useSplitContentContainerStyles(originalStyle: StyleProp<ViewStyle>, options: {
|
|
8
|
+
isFlashList: boolean;
|
|
9
|
+
}): Styles;
|
|
8
10
|
export declare function useFlashListSplitContentContainerStyles(originalStyle: StyleProp<ViewStyle>): Styles;
|
|
9
11
|
export {};
|
package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js
CHANGED
|
@@ -22,20 +22,22 @@ export const contentContainerStyleNames = [
|
|
|
22
22
|
"columnGap",
|
|
23
23
|
"rowGap",
|
|
24
24
|
];
|
|
25
|
-
export default function useSplitContentContainerStyles(originalStyle) {
|
|
25
|
+
export default function useSplitContentContainerStyles(originalStyle, options) {
|
|
26
26
|
return useDeepCompareMemo(() => {
|
|
27
27
|
const flattenedStyle = StyleSheet.flatten(originalStyle);
|
|
28
28
|
const contentContainerStyle = pick(flattenedStyle, contentContainerStyleNames);
|
|
29
29
|
// contentContainerStyle should always at least fill the parent to ensure sizing changes reflects properly on component and children.
|
|
30
30
|
contentContainerStyle.flexGrow = 1;
|
|
31
31
|
let style = omit(flattenedStyle, contentContainerStyleNames);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
style
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
if (!options.isFlashList) {
|
|
33
|
+
// ScrollView's implementation defaults flexGrow to 1, which prevents the ability to set a static size or use a flex larger than 1
|
|
34
|
+
// See: https://github.com/facebook/react-native/issues/3422
|
|
35
|
+
if (style.flex === undefined) {
|
|
36
|
+
style = { flexGrow: 0, ...style };
|
|
37
|
+
}
|
|
38
|
+
else if (style.flexGrow === undefined) {
|
|
39
|
+
style = { flexGrow: style.flex, ...style };
|
|
40
|
+
}
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
41
43
|
style,
|
|
@@ -44,7 +46,7 @@ export default function useSplitContentContainerStyles(originalStyle) {
|
|
|
44
46
|
}, [originalStyle]);
|
|
45
47
|
}
|
|
46
48
|
export function useFlashListSplitContentContainerStyles(originalStyle) {
|
|
47
|
-
const { style, contentContainerStyle } = useSplitContentContainerStyles(originalStyle);
|
|
49
|
+
const { style, contentContainerStyle } = useSplitContentContainerStyles(originalStyle, { isFlashList: true });
|
|
48
50
|
// FlashList only supports a subset of contentContainerStyles
|
|
49
51
|
// See https://shopify.github.io/flash-list/docs/usage/#contentcontainerstyle
|
|
50
52
|
const flashListContentContainerStyle = pick(contentContainerStyle, [
|
package/lib/typescript/src/components/SimpleStyleScrollables/useSplitContentContainerStyles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSplitContentContainerStyles.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/useSplitContentContainerStyles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE3E,MAAM,YAAY,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC;AACpD,MAAM,aAAa,GAAG,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;AAOtD,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;IACV,KAAK;IACL,WAAW;IACX,QAAQ;CACT,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,8BAA8B,CACpD,aAAmC;
|
|
1
|
+
{"version":3,"file":"useSplitContentContainerStyles.js","sourceRoot":"","sources":["../../../../../src/components/SimpleStyleScrollables/useSplitContentContainerStyles.ts"],"names":[],"mappings":"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"}
|