@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.mjs CHANGED
@@ -2608,13 +2608,6 @@ var InputPhone = forwardRef2(
2608
2608
  sm: { vertical: 7, horizontal: 10 },
2609
2609
  xs: { vertical: 7, horizontal: 10 }
2610
2610
  };
2611
- const borderRadiusConfig = {
2612
- xl: 8,
2613
- lg: 8,
2614
- md: 8,
2615
- sm: 4,
2616
- xs: 4
2617
- };
2618
2611
  const iconSizeConfig = {
2619
2612
  xl: 18,
2620
2613
  lg: 18,
@@ -2644,7 +2637,7 @@ var InputPhone = forwardRef2(
2644
2637
  xs: { width: 1, offset: -1 }
2645
2638
  };
2646
2639
  const padding = paddingConfig[size];
2647
- const borderRadius = borderRadiusConfig[size];
2640
+ const borderRadius = theme.shape.input[size].borderRadius;
2648
2641
  const iconSize = iconSizeConfig[size];
2649
2642
  const flagSize = flagSizeConfig[size];
2650
2643
  const selectorWidth = selectorWidthConfig[size];