@xsolla/xui-input-phone 0.127.0 → 0.129.0

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/native/index.mjs CHANGED
@@ -53,6 +53,10 @@ var Box = ({
53
53
  left,
54
54
  right,
55
55
  width,
56
+ minWidth,
57
+ minHeight,
58
+ maxWidth,
59
+ maxHeight,
56
60
  flex,
57
61
  overflow,
58
62
  zIndex,
@@ -84,6 +88,10 @@ var Box = ({
84
88
  zIndex,
85
89
  height,
86
90
  width,
91
+ minWidth,
92
+ minHeight,
93
+ maxWidth,
94
+ maxHeight,
87
95
  padding,
88
96
  paddingHorizontal,
89
97
  paddingVertical,
@@ -215,7 +223,7 @@ var Text = ({
215
223
  }
216
224
  const incomingStyle = StyleSheet.flatten(styleProp);
217
225
  const baseStyle = {
218
- color,
226
+ color: color ?? incomingStyle?.color,
219
227
  fontSize: typeof fontSize === "number" ? fontSize : void 0,
220
228
  fontWeight,
221
229
  fontFamily: resolvedFontFamily,
@@ -390,7 +398,11 @@ var InputPrimitive = forwardRef(
390
398
  InputPrimitive.displayName = "InputPrimitive";
391
399
 
392
400
  // src/InputPhone.tsx
393
- import { useDesignSystem, useId, isWeb } from "@xsolla/xui-core";
401
+ import {
402
+ useResolvedTheme,
403
+ useId,
404
+ isWeb
405
+ } from "@xsolla/xui-core";
394
406
 
395
407
  // ../icons-base/src/BaseIcon.tsx
396
408
  import styled from "styled-components";
@@ -2327,9 +2339,11 @@ var InputPhone = forwardRef2(
2327
2339
  checkedIcon = /* @__PURE__ */ jsx258(CheckCr, {}),
2328
2340
  id: providedId,
2329
2341
  "aria-label": ariaLabel,
2330
- testID
2342
+ testID,
2343
+ themeMode,
2344
+ themeProductContext
2331
2345
  }, ref) => {
2332
- const { theme } = useDesignSystem();
2346
+ const { theme } = useResolvedTheme({ themeMode, themeProductContext });
2333
2347
  const [internalState, setInternalState] = useState(
2334
2348
  "default"
2335
2349
  );