secullum-react-native-ui 4.17.7 → 4.18.1-beta.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.
@@ -26,7 +26,7 @@ function MenuItem(props) {
26
26
  color: theme.borderColor1
27
27
  },
28
28
  textSelected: {
29
- color: theme.textColor2
29
+ color: theme.menuSelectedTextColor
30
30
  },
31
31
  subText: {
32
32
  fontSize: 12,
@@ -33,7 +33,7 @@ class RadioGroup extends React.Component {
33
33
  color: theme.textColor3
34
34
  },
35
35
  selectedItem: {
36
- backgroundColor: theme.backgroundColor3
36
+ backgroundColor: theme.radioSelectedBackgroundColor
37
37
  },
38
38
  selectedItemText: {
39
39
  color: theme.textColor4
@@ -102,7 +102,9 @@ class TimePicker extends React.Component {
102
102
  React.createElement(react_native_1.View, null,
103
103
  React.createElement(react_native_1.Text, { style: styles.label }, label),
104
104
  React.createElement(react_native_1.Text, { style: styles.value }, value)),
105
- !disabled && (React.createElement(ImageButton_1.ImageButton, { icon: value && clearable ? 'times' : 'clock-o', style: styles.clearIcon, iconColor: value && clearable ? theme.textColor1 : theme.textColor2, onPress: value && clearable ? this.handleClear : this.handlePress, hitBoxSize: 30 })),
105
+ !disabled && (React.createElement(ImageButton_1.ImageButton, { icon: value && clearable ? 'times' : 'clock-o', nativeID: nativeID
106
+ ? `${nativeID}-${value && clearable ? 'clear' : 'clock'}`
107
+ : undefined, style: styles.clearIcon, iconColor: value && clearable ? theme.textColor1 : theme.textColor2, onPress: value && clearable ? this.handleClear : this.handlePress, hitBoxSize: 30 })),
106
108
  react_native_1.Platform.OS !== 'web' && (React.createElement(react_native_modal_datetime_picker_1.default, { mode: "time", date: date, isVisible: showModal, onConfirm: this.handleConfirm, onCancel: this.handleCancel, isDarkModeEnabled: isDarkModeEnabled, display: react_native_1.Platform.OS == 'ios' ? 'spinner' : 'default' }))))));
107
109
  }
108
110
  }
@@ -21,6 +21,8 @@ export interface Theme {
21
21
  counterTextColor: string;
22
22
  dropDownTextColor: string;
23
23
  questionTextColor: string;
24
+ menuSelectedTextColor: string;
25
+ radioSelectedBackgroundColor: string;
24
26
  datePickerColor: string;
25
27
  backgroundColor1: string;
26
28
  backgroundColor2: string;
@@ -25,6 +25,8 @@ let theme = {
25
25
  counterTextColor: exports.WHITE,
26
26
  dropDownTextColor: exports.BLACK,
27
27
  questionTextColor: exports.BLACK,
28
+ menuSelectedTextColor: exports.BLUE_LIGHT,
29
+ radioSelectedBackgroundColor: exports.BLUE_LIGHT,
28
30
  datePickerColor: exports.BLUE_LIGHT_2,
29
31
  backgroundColor1: exports.WHITE,
30
32
  backgroundColor2: exports.GRAY_1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secullum-react-native-ui",
3
- "version": "4.17.7",
3
+ "version": "4.18.1-beta.0",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [