@bigbinary/neetoui-rn 2.0.4 → 2.1.0
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/components/Avatar.js +1 -1
- package/components/BottomSheet.js +1 -1
- package/components/BottomTabBar.js +1 -1
- package/components/Button.js +1 -1
- package/components/ButtonGroup.js +1 -1
- package/components/Card.js +1 -1
- package/components/Carousel.js +1 -1
- package/components/ChatInput/Badge.js +1 -1
- package/components/ChatInput/ChatInput.js +1 -1
- package/components/ChatInput/EmailFields.js +1 -1
- package/components/ChatInput/IconButton.js +1 -1
- package/components/ChatInput/MentionsInputWrapper.js +1 -1
- package/components/CheckBox.js +1 -1
- package/components/Chip.js +1 -1
- package/components/Container.js +1 -1
- package/components/Divider.js +1 -1
- package/components/FAB.js +1 -1
- package/components/ListItem.js +1 -1
- package/components/Loader.js +1 -1
- package/components/MultiSelect.js +1 -1
- package/components/NotificationPreferenceList.js +1 -1
- package/components/OnBoarding.js +1 -1
- package/components/OtpInputs.js +1 -1
- package/components/ParentView.js +1 -1
- package/components/Popover.js +1 -1
- package/components/RadioButton.js +1 -1
- package/components/RichTextEditor.js +1 -1
- package/components/SegmentedTopBar/Tab.js +1 -1
- package/components/SegmentedTopBar/index.js +1 -1
- package/components/SocialButton.js +1 -1
- package/components/Toast.js +1 -1
- package/components/ToggleSwitch.js +1 -1
- package/components/TopBar.js +1 -1
- package/components/Touchable.js +1 -1
- package/components/TouchableWithoutFeedback.js +1 -1
- package/components/Typography.js +1 -1
- package/components/index.js +1 -1
- package/package.json +6 -14
- package/components/AnimatedImage.js +0 -1
package/package.json
CHANGED
|
@@ -1,40 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neetoui-rn",
|
|
3
|
-
"version": "2.0
|
|
4
|
-
"main": ".",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"main": "./src/index.js",
|
|
5
5
|
"author": "BigBinary",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"description": "The neetoUI-RN library drives the experience in all neeto product's React Native applications built at BigBinary.",
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"react-native-device-info": "^10.3.0",
|
|
10
|
-
"react-native-reanimated": "3.6.0",
|
|
11
|
-
"react-native-safe-area-context": "
|
|
10
|
+
"react-native-reanimated": ">=3.6.0",
|
|
11
|
+
"react-native-safe-area-context": ">=3.3.2",
|
|
12
12
|
"react-native-svg": "*",
|
|
13
|
-
"react-native-webview": "11.14.4"
|
|
13
|
+
"react-native-webview": ">=11.14.4"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
17
|
-
"@bigbinary/neeto-commons-frontend": "^2.0.129",
|
|
18
16
|
"@bigbinary/neeto-icons-rn": "^1.0.7",
|
|
19
|
-
"@react-native-community/hooks": "^2.8.1",
|
|
20
17
|
"@shopify/flash-list": "^1.2.0",
|
|
21
18
|
"@styled-system/prop-types": "^5.1.5",
|
|
22
19
|
"dayjs": "^1.11.4",
|
|
23
20
|
"node-html-parser": "^6.1.5",
|
|
24
|
-
"patch-package": "^8.0.0",
|
|
25
21
|
"react-content-loader": "^6.2.0",
|
|
26
|
-
"react-native-calendars": "
|
|
22
|
+
"react-native-calendars": ">=1.1313.0",
|
|
27
23
|
"react-native-controlled-mentions": "^2.2.5",
|
|
28
|
-
"react-native-fast-image": "^8.6.3",
|
|
29
|
-
"react-native-gesture-handler": "^2.4.0",
|
|
30
24
|
"react-native-modal": "^13.0.0",
|
|
31
25
|
"react-native-pell-rich-editor": "^1.9.0",
|
|
32
26
|
"react-native-popover-view": "^5.1.7",
|
|
33
|
-
"react-native-safe-area-context": "^3.3.2",
|
|
34
27
|
"react-native-size-matters": "^0.4.0",
|
|
35
28
|
"react-native-snap-carousel": "4.0.0-beta.6",
|
|
36
29
|
"react-native-toast-message": "^2.1.5",
|
|
37
|
-
"react-native-web": "^0.19.9",
|
|
38
30
|
"styled-components": "^5.3.3",
|
|
39
31
|
"styled-system": "^5.1.5"
|
|
40
32
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.AnimatedImage=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _taggedTemplateLiteralLoose2=_interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteralLoose"));var _react=_interopRequireWildcard(require("react"));var _propTypes=_interopRequireDefault(require("prop-types"));var _reactNativeFastImage=_interopRequireDefault(require("react-native-fast-image"));var _reactNativeReanimated=_interopRequireWildcard(require("react-native-reanimated"));var _reactNativeSizeMatters=require("react-native-size-matters");var _native=_interopRequireDefault(require("styled-components/native"));var _styledSystem=require("styled-system");var _imagePlaceholder=_interopRequireDefault(require("../assets/images/image-placeholder.svg"));var _=require("./");var _theme=require("../theme");var _excluded=["imageHeight","imageWidth","imageUrl"];var _templateObject,_this=this,_jsxFileName="/home/runner/work/neeto-ui-rn/neeto-ui-rn/src/components/AnimatedImage.jsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var StyledImage=(0,_native.default)(_reactNativeFastImage.default)(_templateObject||(_templateObject=(0,_taggedTemplateLiteralLoose2.default)(["\n ","\n ","\n ","\n ","\n ","\n"])),_styledSystem.flexbox,_styledSystem.space,_styledSystem.border,_styledSystem.color,_styledSystem.layout);var borderRadius=(0,_reactNativeSizeMatters.moderateScale)(10);var AnimatedImage=exports.AnimatedImage=function AnimatedImage(_ref){var _ref$imageHeight=_ref.imageHeight,imageHeight=_ref$imageHeight===void 0?139:_ref$imageHeight,_ref$imageWidth=_ref.imageWidth,imageWidth=_ref$imageWidth===void 0?255:_ref$imageWidth,imageUrl=_ref.imageUrl,rest=(0,_objectWithoutProperties2.default)(_ref,_excluded);var opacity=(0,_reactNativeReanimated.useSharedValue)(0);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isImageLoaded=_useState2[0],setIsImageLoaded=_useState2[1];var profileImageStyle=(0,_reactNativeReanimated.useAnimatedStyle)(function(){return{opacity:(0,_reactNativeReanimated.withTiming)(opacity.value,{duration:300,easing:_reactNativeReanimated.Easing.bezier(0.25,0.1,0.25,1)}),height:imageHeight,width:imageWidth,alignSelf:"center",borderRadius:borderRadius};});return _react.default.createElement(_.Container,{alignItems:"center",borderRadius:(0,_reactNativeSizeMatters.moderateScale)(10),justifyContent:"center",overflow:"hidden",__self:_this,__source:{fileName:_jsxFileName,lineNumber:77,columnNumber:5}},_react.default.createElement(_reactNativeReanimated.default.View,{style:profileImageStyle,__self:_this,__source:{fileName:_jsxFileName,lineNumber:83,columnNumber:7}},_react.default.createElement(StyledImage,(0,_extends2.default)({height:imageHeight,width:imageWidth,source:{uri:imageUrl,headers:{Accept:"*/*","Content-Type":"application/json",Pragma:"no-cache"}},onLoad:function onLoad(){setIsImageLoaded(true);opacity.value=1;},onLoadStart:function onLoadStart(){setIsImageLoaded(false);opacity.value=0;}},rest,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:84,columnNumber:9}}))),!isImageLoaded&&_react.default.createElement(_.Container,{position:"absolute",__self:_this,__source:{fileName:_jsxFileName,lineNumber:107,columnNumber:9}},_react.default.createElement(_imagePlaceholder.default,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:108,columnNumber:11}}),_react.default.createElement(_.Container,{bottom:(0,_reactNativeSizeMatters.moderateScale)(15),position:"absolute",right:(0,_reactNativeSizeMatters.moderateScale)(15),__self:_this,__source:{fileName:_jsxFileName,lineNumber:109,columnNumber:11}},_react.default.createElement(_.Loader,{color:_theme.theme.colors.font.grey600,__self:_this,__source:{fileName:_jsxFileName,lineNumber:114,columnNumber:13}}))));};AnimatedImage.defaultProps={alignItems:"center",justifyContent:"center"};AnimatedImage.propTypes={imageHeight:_propTypes.default.number|_propTypes.default.string,imageWidth:_propTypes.default.number,imageUrl:_propTypes.default.string};
|