@particle-network/ui-native 0.4.2-beta.19 → 0.4.2-beta.20

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.
@@ -44,6 +44,15 @@ const UXInput = /*#__PURE__*/ forwardRef((props, ref)=>{
44
44
  isInvalid,
45
45
  isFocused
46
46
  });
47
+ useEffect(()=>{
48
+ if (inputRef.current) inputRef.current.setNativeProps({
49
+ style: {
50
+ color: styles.input.color
51
+ }
52
+ });
53
+ }, [
54
+ styles.input.color
55
+ ]);
47
56
  useEffect(()=>{
48
57
  if (void 0 !== controlledValue) setInternalValue(controlledValue);
49
58
  else if (void 0 !== defaultValue) setInternalValue(defaultValue);
@@ -57,6 +57,15 @@ const UXNumberInput = /*#__PURE__*/ forwardRef((props, ref)=>{
57
57
  isInvalid,
58
58
  isFocused
59
59
  });
60
+ useEffect(()=>{
61
+ if (inputRef.current) inputRef.current.setNativeProps({
62
+ style: {
63
+ color: styles.input.color
64
+ }
65
+ });
66
+ }, [
67
+ styles.input.color
68
+ ]);
60
69
  useEffect(()=>{
61
70
  if (void 0 !== controlledValue) {
62
71
  setInternalValue(controlledValue);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-native",
3
- "version": "0.4.2-beta.19",
3
+ "version": "0.4.2-beta.20",
4
4
  "main": "./entry.js",
5
5
  "react-native": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -45,8 +45,8 @@
45
45
  "react-native-size-matters": "^0.4.2",
46
46
  "react-native-toast-message": "^2.3.3",
47
47
  "react-native-worklets": "0.5.1",
48
- "@particle-network/icons": "0.4.2-beta.7",
49
- "@particle-network/ui-shared": "0.3.2-beta.3"
48
+ "@particle-network/ui-shared": "0.3.2-beta.3",
49
+ "@particle-network/icons": "0.4.2-beta.7"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@babel/core": "^7.24.0",