New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-picker-select

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-picker-select - npm Package Compare versions

Comparing version 6.3.2 to 6.3.3

src/styles.js

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### 6.3.3
##### Chore
- Split off styles into separate file
---
### 6.3.2

@@ -2,0 +10,0 @@

6

package.json
{
"name": "react-native-picker-select",
"version": "6.3.2",
"version": "6.3.3",
"description": "A Picker component for React Native which emulates the native <select> interfaces for each platform",

@@ -23,6 +23,4 @@ "license": "MIT",

"files": [
"LICENSE",
"README.md",
"index.d.ts",
"src/index.js"
"/src"
],

@@ -29,0 +27,0 @@ "dependencies": {

@@ -8,3 +8,2 @@ import React, { PureComponent } from 'react';

Platform,
StyleSheet,
Text,

@@ -18,2 +17,3 @@ TextInput,

import isEqual from 'lodash.isequal';
import { defaultStyles } from './styles';

@@ -522,67 +522,2 @@ export default class RNPickerSelect extends PureComponent {

export const defaultStyles = StyleSheet.create({
viewContainer: {
alignSelf: 'stretch',
},
iconContainer: {
position: 'absolute',
right: 0,
},
modalViewTop: {
flex: 1,
},
modalViewMiddle: {
height: 44,
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
paddingHorizontal: 10,
backgroundColor: '#EFF1F2',
borderTopWidth: 0.5,
borderTopColor: '#919498',
zIndex: 2,
},
chevronContainer: {
flexDirection: 'row',
},
chevron: {
width: 15,
height: 15,
backgroundColor: 'transparent',
borderColor: '#D0D4DB',
borderTopWidth: 1.5,
borderRightWidth: 1.5,
},
chevronUp: {
marginLeft: 11,
transform: [{ translateY: 4 }, { rotate: '-45deg' }],
},
chevronDown: {
marginLeft: 22,
transform: [{ translateY: -5 }, { rotate: '135deg' }],
},
chevronActive: {
borderColor: '#007AFE',
},
done: {
color: '#007AFE',
fontWeight: 'bold',
fontSize: 15,
paddingTop: 1,
paddingRight: 2,
},
modalViewBottom: {
justifyContent: 'center',
backgroundColor: '#D0D4DB',
},
placeholder: {
color: '#C7C7CD',
},
headlessAndroidPicker: {
position: 'absolute',
width: '100%',
height: '100%',
color: 'transparent',
opacity: 0,
},
});
export { defaultStyles };
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc