@xsolla/xui-input-phone 0.160.2 → 0.161.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.js CHANGED
@@ -2636,13 +2636,6 @@ var InputPhone = (0, import_react3.forwardRef)(
2636
2636
  sm: { vertical: 7, horizontal: 10 },
2637
2637
  xs: { vertical: 7, horizontal: 10 }
2638
2638
  };
2639
- const borderRadiusConfig = {
2640
- xl: 8,
2641
- lg: 8,
2642
- md: 8,
2643
- sm: 4,
2644
- xs: 4
2645
- };
2646
2639
  const iconSizeConfig = {
2647
2640
  xl: 18,
2648
2641
  lg: 18,
@@ -2672,7 +2665,7 @@ var InputPhone = (0, import_react3.forwardRef)(
2672
2665
  xs: { width: 1, offset: -1 }
2673
2666
  };
2674
2667
  const padding = paddingConfig[size];
2675
- const borderRadius = borderRadiusConfig[size];
2668
+ const borderRadius = theme.shape.input[size].borderRadius;
2676
2669
  const iconSize = iconSizeConfig[size];
2677
2670
  const flagSize = flagSizeConfig[size];
2678
2671
  const selectorWidth = selectorWidthConfig[size];