react-native-molecules 0.5.0-beta.8 → 0.5.0-beta.9

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.
@@ -64,7 +64,7 @@ export default function DatePickerModalHeader(props: DatePickerModalHeaderProps)
64
64
  onPress={props.onSave}
65
65
  disabled={props.saveLabelDisabled || false}
66
66
  testID="dates-save">
67
- {saveLabel}
67
+ <Button.Text>{saveLabel}</Button.Text>
68
68
  </Button>
69
69
  </View>
70
70
  </SafeAreaView>
@@ -215,11 +215,7 @@ const iconButtonStylesDefault = StyleSheet.create(theme => ({
215
215
  {
216
216
  variant: 'outlined',
217
217
  state: 'hovered',
218
- styles: {
219
- backgroundColor: theme.colors.inverseSurface,
220
- color: theme.colors.inverseOnSurface,
221
- borderWidth: 0,
222
- },
218
+ styles: {},
223
219
  },
224
220
  ],
225
221
  },
@@ -103,8 +103,12 @@ export function TimePickerModal({
103
103
  accessibilityLabel="toggle keyboard"
104
104
  />
105
105
  <View style={styles.fill} />
106
- <Button onPress={onClose}>{cancelLabel}</Button>
107
- <Button onPress={onConfirm}>{confirmLabel}</Button>
106
+ <Button onPress={onClose}>
107
+ <Button.Text>{cancelLabel}</Button.Text>
108
+ </Button>
109
+ <Button onPress={onConfirm}>
110
+ <Button.Text>{confirmLabel}</Button.Text>
111
+ </Button>
108
112
  </View>
109
113
  </KeyboardAvoidingView>
110
114
  </Modal>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-molecules",
3
- "version": "0.5.0-beta.8",
3
+ "version": "0.5.0-beta.9",
4
4
  "author": "Thet Aung <thetaung.dev@gmail.com>",
5
5
  "license": "MIT",
6
6
  "main": "index.ts",