@holper/react-native-holper-storybook 0.6.32 → 0.6.34

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.
@@ -2,7 +2,14 @@ import React, { useState } from "react";
2
2
  import { View } from "react-native";
3
3
  import PropTypes from "prop-types";
4
4
  import DropDownPicker from "react-native-dropdown-picker";
5
- import style, { fontStyle, includesSelect, placeholderStyle } from "./style";
5
+ import style, {
6
+ fontStyle,
7
+ includesSelect,
8
+ placeholderStyle,
9
+ listItemLabelStyle,
10
+ listItemContainerStyle,
11
+ selectedItemLabelStyle,
12
+ } from "./style";
6
13
 
7
14
  const Select = ({
8
15
  value,
@@ -33,9 +40,11 @@ const Select = ({
33
40
  setValue={onValueChange}
34
41
  disabled={disabled}
35
42
  placeholder={placeholder}
36
- placeholderStyle={[fontStyle, placeholderStyle]}
37
- listItemLabelStyle={fontStyle}
38
- listMode="SCROLLVIEW"
43
+ placeholderStyle={placeholderStyle}
44
+ listItemLabelStyle={listItemLabelStyle}
45
+ listItemContainerStyle={listItemContainerStyle}
46
+ selectedItemLabelStyle={selectedItemLabelStyle}
47
+ listMode="MODAL"
39
48
  textStyle={fontStyle}
40
49
  dropDownContainerStyle={{
41
50
  ...includesSelect[variant],
@@ -55,5 +55,22 @@ export const includesSelect = {
55
55
 
56
56
  export const placeholderStyle = {
57
57
  fontSize: 16,
58
+ ...fontStyle,
58
59
  color: Colors.lightblue,
59
60
  };
61
+
62
+ export const listItemLabelStyle = {
63
+ ...fontStyle,
64
+ fontSize: 18,
65
+ paddingHorizontal: 20,
66
+ };
67
+
68
+ export const listItemContainerStyle = {
69
+ height: 55,
70
+ borderBottomWidth: 1,
71
+ borderBottomColor: Colors.lightblue,
72
+ };
73
+
74
+ export const selectedItemLabelStyle = {
75
+ fontFamily: "poppins_semiBold",
76
+ };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "main": "lib/index.js",
3
3
  "name": "@holper/react-native-holper-storybook",
4
4
  "description": "A component library for Holper projects",
5
- "version": "0.6.32",
5
+ "version": "0.6.34",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "lib",