@draftbit/core 46.5.2-0b00ad.2 → 46.5.2-404403.2
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.
|
@@ -328,7 +328,7 @@ const DatePicker = _ref => {
|
|
|
328
328
|
onFocus: _handleFocus,
|
|
329
329
|
onBlur: _handleBlur,
|
|
330
330
|
underlineColorAndroid: "transparent",
|
|
331
|
-
style: [inputStyles, textStyles
|
|
331
|
+
style: [inputStyles, textStyles]
|
|
332
332
|
}, props))), rightIconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
333
333
|
name: rightIconName,
|
|
334
334
|
size: ICON_SIZE,
|
|
@@ -12,4 +12,4 @@ const APPROX_STATUSBAR_HEIGHT = _reactNative.Platform.select({
|
|
|
12
12
|
android: DEFAULT_STATUSBAR_HEIGHT_EXPO,
|
|
13
13
|
ios: _reactNative.Platform.Version < 11 ? DEFAULT_STATUSBAR_HEIGHT_EXPO : 0
|
|
14
14
|
});
|
|
15
|
-
exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;
|
|
15
|
+
exports.APPROX_STATUSBAR_HEIGHT = APPROX_STATUSBAR_HEIGHT;AR_HEIGHT;
|
|
@@ -319,7 +319,7 @@ const DatePicker = _ref => {
|
|
|
319
319
|
onFocus: _handleFocus,
|
|
320
320
|
onBlur: _handleBlur,
|
|
321
321
|
underlineColorAndroid: "transparent",
|
|
322
|
-
style: [inputStyles, textStyles
|
|
322
|
+
style: [inputStyles, textStyles]
|
|
323
323
|
}, props))), rightIconName ? /*#__PURE__*/React.createElement(Icon, {
|
|
324
324
|
name: rightIconName,
|
|
325
325
|
size: ICON_SIZE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.5.2-
|
|
3
|
+
"version": "46.5.2-404403.2+4044036",
|
|
4
4
|
"description": "Core (non-native) Components",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@date-io/date-fns": "^1.3.13",
|
|
43
43
|
"@draftbit/react-theme-provider": "^2.1.1",
|
|
44
|
-
"@draftbit/types": "^46.5.2-
|
|
44
|
+
"@draftbit/types": "^46.5.2-404403.2+4044036",
|
|
45
45
|
"@material-ui/core": "^4.11.0",
|
|
46
46
|
"@material-ui/pickers": "^3.2.10",
|
|
47
|
-
"@react-native-community/slider": "4.2.
|
|
48
|
-
"@react-native-picker/picker": "2.4.
|
|
49
|
-
"@shopify/flash-list": "1.
|
|
47
|
+
"@react-native-community/slider": "4.2.4",
|
|
48
|
+
"@react-native-picker/picker": "2.4.8",
|
|
49
|
+
"@shopify/flash-list": "1.3.1",
|
|
50
50
|
"color": "^3.1.2",
|
|
51
51
|
"date-fns": "^2.16.1",
|
|
52
52
|
"dateformat": "^3.0.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"lodash.omit": "^4.5.0",
|
|
55
55
|
"lodash.tonumber": "^4.0.3",
|
|
56
56
|
"react-native-modal-datetime-picker": "^13.0.0",
|
|
57
|
-
"react-native-svg": "
|
|
57
|
+
"react-native-svg": "13.4.0",
|
|
58
58
|
"react-native-typography": "^1.4.1",
|
|
59
59
|
"react-native-web-swiper": "^2.2.3"
|
|
60
60
|
},
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
]
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "40440364445de4fc6e203808d4be937966fc034a"
|
|
95
95
|
}
|
|
@@ -311,7 +311,7 @@ const DatePicker = ({ Icon, style, theme: { colors, typography, roundness, disab
|
|
|
311
311
|
...leftIconStyle,
|
|
312
312
|
marginLeft: type === "solid" ? 16 : 0,
|
|
313
313
|
} })) : null,
|
|
314
|
-
React.createElement(NativeTextInput, { value: formatDate(), placeholder: label ? placeholder1 : placeholder, editable: !disabled, placeholderTextColor: placeholderColor, selectionColor: activeColor, onFocus: _handleFocus, onBlur: _handleBlur, underlineColorAndroid: "transparent", style: [inputStyles, textStyles
|
|
314
|
+
React.createElement(NativeTextInput, { value: formatDate(), placeholder: label ? placeholder1 : placeholder, editable: !disabled, placeholderTextColor: placeholderColor, selectionColor: activeColor, onFocus: _handleFocus, onBlur: _handleBlur, underlineColorAndroid: "transparent", style: [inputStyles, textStyles], ...props })),
|
|
315
315
|
rightIconName ? (React.createElement(Icon, { name: rightIconName, size: ICON_SIZE, color: colors.light, style: {
|
|
316
316
|
position: "absolute",
|
|
317
317
|
right: 16,
|
|
@@ -471,7 +471,7 @@ const DatePicker: React.FC<React.PropsWithChildren<Props>> = ({
|
|
|
471
471
|
onFocus={_handleFocus}
|
|
472
472
|
onBlur={_handleBlur}
|
|
473
473
|
underlineColorAndroid={"transparent"}
|
|
474
|
-
style={[inputStyles, textStyles
|
|
474
|
+
style={[inputStyles, textStyles]}
|
|
475
475
|
{...props}
|
|
476
476
|
/>
|
|
477
477
|
</View>
|