@lookiero/checkout 5.1.0-beta.0 → 5.1.0-beta.1

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.
@@ -18,7 +18,7 @@ const InputField = ({ label, placeholder, value, multiline = false, error, style
18
18
  field: [style.field, customStyle?.field],
19
19
  fieldText: [{ color }, customStyle?.fieldText],
20
20
  } }),
21
- React.createElement(Input, { multiline: multiline, placeholder: placeholder, placeholderTextColor: isFocused ? colorTextMedium : colorBgBase, style: [!!icon && { paddingRight: inputPaddingRightWithIcon }, style.input, { color }], testID: testID, value: value, onBlur: handleOnBlur,
21
+ React.createElement(Input, { multiline: multiline, multilineMaxHeight: 242, placeholder: placeholder, placeholderTextColor: isFocused ? colorTextMedium : colorBgBase, style: [!!icon && { paddingRight: inputPaddingRightWithIcon }, style.input, { color }], testID: testID, value: value, onBlur: handleOnBlur,
22
22
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
23
23
  // @ts-ignore
24
24
  onChange: handleOnChange, onFocus: handleOnFocus, ...inputRestProps }),
@@ -1,4 +1,5 @@
1
- declare const style: {
1
+ import { StyleSheet } from "react-native";
2
+ declare const style: StyleSheet.NamedStyles<any> | StyleSheet.NamedStyles<{
2
3
  error: {
3
4
  marginLeft: number;
4
5
  marginTop: number;
@@ -10,7 +11,7 @@ declare const style: {
10
11
  zIndex: number;
11
12
  };
12
13
  icon: {
13
- heigth: number;
14
+ height: number;
14
15
  position: "absolute";
15
16
  right: number;
16
17
  top: number;
@@ -19,11 +20,10 @@ declare const style: {
19
20
  };
20
21
  input: {
21
22
  textOverflow?: string | undefined;
22
- maxHeight: number;
23
23
  };
24
24
  inputField: {
25
25
  borderRadius: number;
26
26
  borderWidth: number;
27
27
  };
28
- };
28
+ }>;
29
29
  export { style };
@@ -13,15 +13,16 @@ const style = StyleSheet.create({
13
13
  zIndex: 4,
14
14
  },
15
15
  icon: {
16
- heigth: 16,
16
+ height: 16,
17
17
  position: "absolute",
18
18
  right: space4,
19
19
  top: space4,
20
20
  width: 16,
21
21
  zIndex: 4,
22
22
  },
23
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
24
+ // @ts-ignore
23
25
  input: {
24
- maxHeight: 242,
25
26
  ...Platform.select({
26
27
  web: {
27
28
  textOverflow: "ellipsis",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lookiero/checkout",
3
- "version": "5.1.0-beta.0",
3
+ "version": "5.1.0-beta.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -67,7 +67,7 @@
67
67
  "devDependencies": {
68
68
  "@babel/core": "^7.20.0",
69
69
  "@expo/webpack-config": "^0.17.4",
70
- "@lookiero/aurora": "^4.0.4-beta.0",
70
+ "@lookiero/aurora": "^4.0.4-beta.1",
71
71
  "@lookiero/aurora-fonts": "2.0.0",
72
72
  "@lookiero/aurora-iconfont": "3.0.0",
73
73
  "@lookiero/data-sources": "^0.3",