@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/web/index.mjs CHANGED
@@ -2629,13 +2629,6 @@ var InputPhone = forwardRef2(
2629
2629
  sm: { vertical: 7, horizontal: 10 },
2630
2630
  xs: { vertical: 7, horizontal: 10 }
2631
2631
  };
2632
- const borderRadiusConfig = {
2633
- xl: 8,
2634
- lg: 8,
2635
- md: 8,
2636
- sm: 4,
2637
- xs: 4
2638
- };
2639
2632
  const iconSizeConfig = {
2640
2633
  xl: 18,
2641
2634
  lg: 18,
@@ -2665,7 +2658,7 @@ var InputPhone = forwardRef2(
2665
2658
  xs: { width: 1, offset: -1 }
2666
2659
  };
2667
2660
  const padding = paddingConfig[size];
2668
- const borderRadius = borderRadiusConfig[size];
2661
+ const borderRadius = theme.shape.input[size].borderRadius;
2669
2662
  const iconSize = iconSizeConfig[size];
2670
2663
  const flagSize = flagSizeConfig[size];
2671
2664
  const selectorWidth = selectorWidthConfig[size];