@fto-consult/expo-ui 8.13.2 → 8.13.4
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.
package/package.json
CHANGED
@@ -39,11 +39,11 @@ const BarcodeDesigner = forwardRef(({
|
|
39
39
|
Dimensions.useWindowDimensions();
|
40
40
|
const innerRef = useRef(null);
|
41
41
|
const sFormat = !isNonNullString(format) || !barcodeFormats.includes(format) ? isNonNullString(sData.format) && barcodeFormats.includes(sData.format) ? sData.format : defaultBarcodeFormat : format;
|
42
|
-
const sHeight = defaultNumber(height,sData.height,
|
42
|
+
const sHeight = defaultNumber(height,sData.height,50), sWidth = defaultNumber(width,sData.w100,1.5), sDisplayValue = typeof displayValue =='boolean'? displayValue :sData.displayValue !== undefined ? !!sData.displayValue:true;
|
43
43
|
const sFontOptions = isNonNullString(fontOptions) && fontOptionsKeys.includes(fontOptions) ? fontOptions : isNonNullString(sData.fontOptions) && fontOptionsKeys.includes(sData?.fontOptions) ? sData.fontOptions : "bold";
|
44
44
|
const sTextAlign = isNonNullString(textAlign) && alignments.includes(textAlign)? textAlign : isNonNullString(sData.textAlign) && alignments.includes(sData.textAlign)? sData.textAlign : "center";
|
45
45
|
const sTextPosition = isNonNullString(textPosition) && ["top","bottom"].includes(textPosition) ? textPosition : isNonNullString(sData.textPosition) && ["top","bottom"].includes(sData.textPosition) ? sData.textPosition : "bottom";
|
46
|
-
const sFontSize = typeof fontSize ==='number'? fontSize : typeof sData.fontSize ==='number'? sData.fontSize :
|
46
|
+
const sFontSize = typeof fontSize ==='number'? fontSize : typeof sData.fontSize ==='number'? sData.fontSize : 15;
|
47
47
|
const sLineColor = theme.Colors.isValid(lineColor)? lineColor : theme.Colors.isValid(sData.lineColor)? sData?.linceColor:"#000000";
|
48
48
|
const sBackground = theme.Colors.isValid(background)? background : theme.Colors.isValid(sData.background)? sData.background : "#ffffff";
|
49
49
|
const sTextMargin = typeof textMargin =='number'? textMargin : typeof sData.textMargin =='number'? sData.textMargin : 2;
|
@@ -3,10 +3,10 @@
|
|
3
3
|
import PropTypes from "prop-types"
|
4
4
|
import * as React from "react"
|
5
5
|
import {Animated, StyleSheet } from "react-native";
|
6
|
-
import View from "$
|
6
|
+
import View from "$ecomponents/View";
|
7
7
|
import {isNativeMobile} from "$platform";
|
8
8
|
import {defaultDecimal} from "$utils";
|
9
|
-
import {LogoProgress} from "$
|
9
|
+
import {LogoProgress} from "$ecomponents/Logo";
|
10
10
|
import styles, {
|
11
11
|
_solidBackground,
|
12
12
|
_staticBackground,
|