Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenlingasMx committed May 4, 2023
2 parents 0cb3a09 + bda1f5b commit 70407df
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 136 deletions.
4 changes: 2 additions & 2 deletions example/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"react-native-image-picker": "^5.3.1",
"react-native-image-viewing": "~0.2.2",
"react-native-root-siblings": "4.1.1",
"react-native-svg": "13.0.0"
"react-native-svg": "13.9.0"
},
"devDependencies": {
"@babel/core": "~7.20.7",
Expand All @@ -34,4 +34,4 @@
"jest": {
"preset": "react-native"
}
}
}
5 changes: 2 additions & 3 deletions example/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"react-native-image-viewing": "~0.2.2",
"react-native-safe-area-context": "~4.3.1",
"react-native-screens": "~3.15.0",
"react-native-svg": "13.0.0",
"react-native-reanimated":"3.1.0"
"react-native-svg": "13.9.0"
},
"devDependencies": {
"@babel/core": "~7.20.7",
Expand Down Expand Up @@ -54,4 +53,4 @@
"node"
]
}
}
}
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npx react-native init AwesomeProject --template @uiw/react-native-template

## Install
```bash
yarn add @uiw/react-native react-native-svg@12.1.1 react-native-root-siblings@4.1.1 react-native-gesture-handler@2.8.0
yarn add @uiw/react-native react-native-svg@13.9.0 react-native-root-siblings@4.1.1 react-native-gesture-handler@2.8.0
```

## Theme Configuration
Expand Down
6 changes: 2 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@
"prop-types": "15.7.2",
"react-native-gesture-handler": "2.8.0",
"react-native-root-siblings": "4.1.1",
"react-native-svg": "13.0.0",
"react-native-safe-area-context":"4.5.1",
"react-native-reanimated":"3.1.0"
"react-native-svg": "13.9.0"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand All @@ -81,4 +79,4 @@
"engines": {
"node": ">=16.0.0"
}
}
}
114 changes: 0 additions & 114 deletions packages/core/src/ImageHeader/AnimateHeader.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions packages/core/src/ImageHeader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Flex from '../Flex';
import Icon from '../Icon';
import WingBlank from '../WingBlank';
import helpers from './helpers';
// import AnimateHeader from './AnimateHeader';

const { px, isIOS } = helpers;
export type ImageHeaderProps = PropsWithChildren<{
Expand Down Expand Up @@ -97,6 +96,3 @@ const ImageHeader: FC<ImageHeaderProps> = (props) => {
);
};
export default ImageHeader;
// ImageHeader.displayName = 'ImageHeader';

// export default Object.assign(ImageHeader, { AnimateHeader });
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ function WheelPickerItem({ textStyle, style, visibleRest, height, option, index,
</Animated.View>
);
}
export default memo(WheelPickerItem, () => true);

export default memo(WheelPickerItem, (prevProps, nextProps) => {
return prevProps.option === nextProps.option;
});
const styles = StyleSheet.create({
option: {
alignItems: 'center',
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/changelog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- "react-native-svg": "12.1.1",
- "react-native-gesture-handler": "~2.5.0",
+ "@uiw/react-native": "4.0.1",
+ "react-native-svg": "13.0.0",
+ "react-native-svg": "13.9.0",
+ "react-native-gesture-handler": "2.8.0",
...
}
Expand Down
6 changes: 3 additions & 3 deletions packages/react-native-image-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"src",
"README.md"
],
"publishConfig":{
"publishConfig": {
"access": "public"
},
"dependencies": {
Expand All @@ -35,7 +35,7 @@
"prop-types": "15.7.2",
"react-native-image-picker": "^5.3.1",
"react-native-image-viewing": "~0.2.2",
"react-native-svg": "13.0.0"
"react-native-svg": "13.9.0"
},
"peerDependencies": {
"react": ">=16.9.0",
Expand All @@ -50,4 +50,4 @@
"engines": {
"node": ">=16.0.0"
}
}
}
2 changes: 1 addition & 1 deletion test-ci/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"prop-types": "15.7.2",
"react-native-gesture-handler": "2.8.0",
"react-native-root-siblings": "4.1.1",
"react-native-svg": "13.0.0",
"react-native-svg": "13.9.0",
"@shopify/restyle": "~2.4.2"
},
"jest": {
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@
"last 1 safari version"
]
}
}
}

0 comments on commit 70407df

Please sign in to comment.