sapo-components-ui-rn 1.1.74 → 1.1.75
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/dist/index.esm.js
CHANGED
|
@@ -5033,7 +5033,7 @@ var TextInputFlat = function (_a) {
|
|
|
5033
5033
|
borderRadius: BORDER_RADIUS_6,
|
|
5034
5034
|
borderWidth: 1,
|
|
5035
5035
|
borderColor: getBorderColor(),
|
|
5036
|
-
height:
|
|
5036
|
+
height: 48,
|
|
5037
5037
|
overflow: "hidden",
|
|
5038
5038
|
backgroundColor: disabled
|
|
5039
5039
|
? theme.colors.surfacePrimaryDisabled
|
|
@@ -5102,7 +5102,7 @@ var styles$e = StyleSheet.create({
|
|
|
5102
5102
|
input: {
|
|
5103
5103
|
// margin: 0,
|
|
5104
5104
|
flex: 1,
|
|
5105
|
-
height:
|
|
5105
|
+
height: 48,
|
|
5106
5106
|
},
|
|
5107
5107
|
inputFlat: {
|
|
5108
5108
|
paddingTop: 24,
|
|
@@ -5294,7 +5294,7 @@ var TextInputDefault = function (_a) {
|
|
|
5294
5294
|
left && React$3.createElement(Spacer, { width: CONSTANTS.SPACE_8 }),
|
|
5295
5295
|
React$3.createElement(View, { full: true, style: [
|
|
5296
5296
|
{
|
|
5297
|
-
height: height ||
|
|
5297
|
+
height: height || 48,
|
|
5298
5298
|
},
|
|
5299
5299
|
] },
|
|
5300
5300
|
multiline && renderLabel(),
|
|
@@ -5308,7 +5308,7 @@ var TextInputDefault = function (_a) {
|
|
|
5308
5308
|
? textAlign
|
|
5309
5309
|
: I18nManager.getConstants().isRTL
|
|
5310
5310
|
? "right"
|
|
5311
|
-
: "left", height: height ? height :
|
|
5311
|
+
: "left", height: height ? height : 48, paddingTop: getPaddingTopValue(), paddingBottom: multiline ? CONSTANTS.SPACE_4 : 0 }),
|
|
5312
5312
|
contentStyle,
|
|
5313
5313
|
] }))) : (React$3.createElement(View, { style: {
|
|
5314
5314
|
flexDirection: "row",
|
|
@@ -5318,7 +5318,7 @@ var TextInputDefault = function (_a) {
|
|
|
5318
5318
|
? activeColor
|
|
5319
5319
|
: cursorColor, placeholderTextColor: placeholderTextColorBasedOnState, onFocus: onFocus, onBlur: onBlur, underlineColorAndroid: "transparent", multiline: multiline, style: [
|
|
5320
5320
|
styles$d.input,
|
|
5321
|
-
__assign(__assign({}, font), { fontSize: fontSize, lineHeight: lineHeight, fontWeight: fontWeight, color: inputTextColor, textAlignVertical: "center", height: height ? height :
|
|
5321
|
+
__assign(__assign({}, font), { fontSize: fontSize, lineHeight: lineHeight, fontWeight: fontWeight, color: inputTextColor, textAlignVertical: "center", height: height ? height : 48, paddingTop: getPaddingTopValue(), paddingBottom: 0 }),
|
|
5322
5322
|
contentStyle,
|
|
5323
5323
|
] })),
|
|
5324
5324
|
renderSuffix()))),
|
|
@@ -5339,7 +5339,7 @@ var styles$d = StyleSheet.create({
|
|
|
5339
5339
|
input: {
|
|
5340
5340
|
margin: 0,
|
|
5341
5341
|
flex: 1,
|
|
5342
|
-
height:
|
|
5342
|
+
height: 48,
|
|
5343
5343
|
paddingLeft: 0,
|
|
5344
5344
|
},
|
|
5345
5345
|
clearButtonMultiline: {
|
|
@@ -5761,7 +5761,7 @@ var TextInputNumber = function (_a) {
|
|
|
5761
5761
|
borderRadius: BORDER_RADIUS_6,
|
|
5762
5762
|
},
|
|
5763
5763
|
{
|
|
5764
|
-
height: height ? height :
|
|
5764
|
+
height: height ? height : 48,
|
|
5765
5765
|
},
|
|
5766
5766
|
[
|
|
5767
5767
|
styles$c.border,
|
|
@@ -5877,7 +5877,7 @@ var TextInputNumber = function (_a) {
|
|
|
5877
5877
|
] }, "L\u01B0u"))))))));
|
|
5878
5878
|
};
|
|
5879
5879
|
var styles$c = StyleSheet.create(__assign(__assign({}, containerStyles), { disabled: { opacity: 0.6 }, container: {
|
|
5880
|
-
height:
|
|
5880
|
+
height: 48,
|
|
5881
5881
|
flexDirection: "row",
|
|
5882
5882
|
justifyContent: "space-between",
|
|
5883
5883
|
alignItems: "center",
|
|
@@ -5920,7 +5920,7 @@ var styles$c = StyleSheet.create(__assign(__assign({}, containerStyles), { disab
|
|
|
5920
5920
|
borderRadius: 8,
|
|
5921
5921
|
alignItems: "center",
|
|
5922
5922
|
justifyContent: "center",
|
|
5923
|
-
height:
|
|
5923
|
+
height: 48,
|
|
5924
5924
|
}, keyText: {
|
|
5925
5925
|
fontWeight: "500",
|
|
5926
5926
|
}, actionRow: {
|
package/dist/index.js
CHANGED
|
@@ -5075,7 +5075,7 @@ var TextInputFlat = function (_a) {
|
|
|
5075
5075
|
borderRadius: BORDER_RADIUS_6,
|
|
5076
5076
|
borderWidth: 1,
|
|
5077
5077
|
borderColor: getBorderColor(),
|
|
5078
|
-
height:
|
|
5078
|
+
height: 48,
|
|
5079
5079
|
overflow: "hidden",
|
|
5080
5080
|
backgroundColor: disabled
|
|
5081
5081
|
? theme.colors.surfacePrimaryDisabled
|
|
@@ -5144,7 +5144,7 @@ var styles$e = reactNative.StyleSheet.create({
|
|
|
5144
5144
|
input: {
|
|
5145
5145
|
// margin: 0,
|
|
5146
5146
|
flex: 1,
|
|
5147
|
-
height:
|
|
5147
|
+
height: 48,
|
|
5148
5148
|
},
|
|
5149
5149
|
inputFlat: {
|
|
5150
5150
|
paddingTop: 24,
|
|
@@ -5336,7 +5336,7 @@ var TextInputDefault = function (_a) {
|
|
|
5336
5336
|
left && React__namespace.createElement(Spacer, { width: CONSTANTS.SPACE_8 }),
|
|
5337
5337
|
React__namespace.createElement(View, { full: true, style: [
|
|
5338
5338
|
{
|
|
5339
|
-
height: height ||
|
|
5339
|
+
height: height || 48,
|
|
5340
5340
|
},
|
|
5341
5341
|
] },
|
|
5342
5342
|
multiline && renderLabel(),
|
|
@@ -5350,7 +5350,7 @@ var TextInputDefault = function (_a) {
|
|
|
5350
5350
|
? textAlign
|
|
5351
5351
|
: reactNative.I18nManager.getConstants().isRTL
|
|
5352
5352
|
? "right"
|
|
5353
|
-
: "left", height: height ? height :
|
|
5353
|
+
: "left", height: height ? height : 48, paddingTop: getPaddingTopValue(), paddingBottom: multiline ? CONSTANTS.SPACE_4 : 0 }),
|
|
5354
5354
|
contentStyle,
|
|
5355
5355
|
] }))) : (React__namespace.createElement(View, { style: {
|
|
5356
5356
|
flexDirection: "row",
|
|
@@ -5360,7 +5360,7 @@ var TextInputDefault = function (_a) {
|
|
|
5360
5360
|
? activeColor
|
|
5361
5361
|
: cursorColor, placeholderTextColor: placeholderTextColorBasedOnState, onFocus: onFocus, onBlur: onBlur, underlineColorAndroid: "transparent", multiline: multiline, style: [
|
|
5362
5362
|
styles$d.input,
|
|
5363
|
-
__assign(__assign({}, font), { fontSize: fontSize, lineHeight: lineHeight, fontWeight: fontWeight, color: inputTextColor, textAlignVertical: "center", height: height ? height :
|
|
5363
|
+
__assign(__assign({}, font), { fontSize: fontSize, lineHeight: lineHeight, fontWeight: fontWeight, color: inputTextColor, textAlignVertical: "center", height: height ? height : 48, paddingTop: getPaddingTopValue(), paddingBottom: 0 }),
|
|
5364
5364
|
contentStyle,
|
|
5365
5365
|
] })),
|
|
5366
5366
|
renderSuffix()))),
|
|
@@ -5381,7 +5381,7 @@ var styles$d = reactNative.StyleSheet.create({
|
|
|
5381
5381
|
input: {
|
|
5382
5382
|
margin: 0,
|
|
5383
5383
|
flex: 1,
|
|
5384
|
-
height:
|
|
5384
|
+
height: 48,
|
|
5385
5385
|
paddingLeft: 0,
|
|
5386
5386
|
},
|
|
5387
5387
|
clearButtonMultiline: {
|
|
@@ -5803,7 +5803,7 @@ var TextInputNumber = function (_a) {
|
|
|
5803
5803
|
borderRadius: BORDER_RADIUS_6,
|
|
5804
5804
|
},
|
|
5805
5805
|
{
|
|
5806
|
-
height: height ? height :
|
|
5806
|
+
height: height ? height : 48,
|
|
5807
5807
|
},
|
|
5808
5808
|
[
|
|
5809
5809
|
styles$c.border,
|
|
@@ -5919,7 +5919,7 @@ var TextInputNumber = function (_a) {
|
|
|
5919
5919
|
] }, "L\u01B0u"))))))));
|
|
5920
5920
|
};
|
|
5921
5921
|
var styles$c = reactNative.StyleSheet.create(__assign(__assign({}, containerStyles), { disabled: { opacity: 0.6 }, container: {
|
|
5922
|
-
height:
|
|
5922
|
+
height: 48,
|
|
5923
5923
|
flexDirection: "row",
|
|
5924
5924
|
justifyContent: "space-between",
|
|
5925
5925
|
alignItems: "center",
|
|
@@ -5962,7 +5962,7 @@ var styles$c = reactNative.StyleSheet.create(__assign(__assign({}, containerStyl
|
|
|
5962
5962
|
borderRadius: 8,
|
|
5963
5963
|
alignItems: "center",
|
|
5964
5964
|
justifyContent: "center",
|
|
5965
|
-
height:
|
|
5965
|
+
height: 48,
|
|
5966
5966
|
}, keyText: {
|
|
5967
5967
|
fontWeight: "500",
|
|
5968
5968
|
}, actionRow: {
|
package/package.json
CHANGED
|
@@ -304,7 +304,7 @@ const TextInputDefault = ({
|
|
|
304
304
|
full
|
|
305
305
|
style={[
|
|
306
306
|
{
|
|
307
|
-
height: height ||
|
|
307
|
+
height: height || 48,
|
|
308
308
|
},
|
|
309
309
|
]}
|
|
310
310
|
>
|
|
@@ -344,7 +344,7 @@ const TextInputDefault = ({
|
|
|
344
344
|
: I18nManager.getConstants().isRTL
|
|
345
345
|
? "right"
|
|
346
346
|
: "left",
|
|
347
|
-
height: height ? height :
|
|
347
|
+
height: height ? height : 48,
|
|
348
348
|
paddingTop: getPaddingTopValue(),
|
|
349
349
|
paddingBottom: multiline ? CONSTANTS.SPACE_4 : 0,
|
|
350
350
|
},
|
|
@@ -385,7 +385,7 @@ const TextInputDefault = ({
|
|
|
385
385
|
fontWeight,
|
|
386
386
|
color: inputTextColor,
|
|
387
387
|
textAlignVertical: "center",
|
|
388
|
-
height: height ? height :
|
|
388
|
+
height: height ? height : 48,
|
|
389
389
|
paddingTop: getPaddingTopValue(),
|
|
390
390
|
paddingBottom: 0,
|
|
391
391
|
},
|
|
@@ -451,7 +451,7 @@ const styles = StyleSheet.create({
|
|
|
451
451
|
input: {
|
|
452
452
|
margin: 0,
|
|
453
453
|
flex: 1,
|
|
454
|
-
height:
|
|
454
|
+
height: 48,
|
|
455
455
|
paddingLeft: 0,
|
|
456
456
|
},
|
|
457
457
|
clearButtonMultiline: {
|
|
@@ -388,7 +388,7 @@ const TextInputFlat = ({
|
|
|
388
388
|
borderRadius: BORDER_RADIUS_6,
|
|
389
389
|
borderWidth: 1,
|
|
390
390
|
borderColor: getBorderColor(),
|
|
391
|
-
height:
|
|
391
|
+
height: 48,
|
|
392
392
|
overflow: "hidden",
|
|
393
393
|
backgroundColor: disabled
|
|
394
394
|
? theme.colors.surfacePrimaryDisabled
|
|
@@ -571,7 +571,7 @@ const styles = StyleSheet.create({
|
|
|
571
571
|
input: {
|
|
572
572
|
// margin: 0,
|
|
573
573
|
flex: 1,
|
|
574
|
-
height:
|
|
574
|
+
height: 48,
|
|
575
575
|
},
|
|
576
576
|
inputFlat: {
|
|
577
577
|
paddingTop: 24,
|
|
@@ -500,7 +500,7 @@ const TextInputNumber = ({
|
|
|
500
500
|
borderRadius: BORDER_RADIUS_6,
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
|
-
height: height ? height :
|
|
503
|
+
height: height ? height : 48,
|
|
504
504
|
},
|
|
505
505
|
|
|
506
506
|
[
|
|
@@ -786,7 +786,7 @@ const styles = StyleSheet.create({
|
|
|
786
786
|
...containerStyles,
|
|
787
787
|
disabled: { opacity: 0.6 },
|
|
788
788
|
container: {
|
|
789
|
-
height:
|
|
789
|
+
height: 48,
|
|
790
790
|
flexDirection: "row",
|
|
791
791
|
justifyContent: "space-between",
|
|
792
792
|
alignItems: "center",
|
|
@@ -840,7 +840,7 @@ const styles = StyleSheet.create({
|
|
|
840
840
|
borderRadius: 8,
|
|
841
841
|
alignItems: "center",
|
|
842
842
|
justifyContent: "center",
|
|
843
|
-
height:
|
|
843
|
+
height: 48,
|
|
844
844
|
},
|
|
845
845
|
keyText: {
|
|
846
846
|
fontWeight: "500",
|