@xsolla/xui-input-phone 0.160.2 → 0.161.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-input-phone",
3
- "version": "0.160.2",
3
+ "version": "0.161.1",
4
4
  "main": "./web/index.js",
5
5
  "module": "./web/index.mjs",
6
6
  "types": "./web/index.d.ts",
@@ -13,8 +13,8 @@
13
13
  "test:coverage": "vitest run --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@xsolla/xui-core": "0.160.2",
17
- "@xsolla/xui-primitives-core": "0.160.2",
16
+ "@xsolla/xui-core": "0.161.1",
17
+ "@xsolla/xui-primitives-core": "0.161.1",
18
18
  "libphonenumber-js": "^1.10.56"
19
19
  },
20
20
  "peerDependencies": {
package/web/index.js CHANGED
@@ -2664,13 +2664,6 @@ var InputPhone = (0, import_react4.forwardRef)(
2664
2664
  sm: { vertical: 7, horizontal: 10 },
2665
2665
  xs: { vertical: 7, horizontal: 10 }
2666
2666
  };
2667
- const borderRadiusConfig = {
2668
- xl: 8,
2669
- lg: 8,
2670
- md: 8,
2671
- sm: 4,
2672
- xs: 4
2673
- };
2674
2667
  const iconSizeConfig = {
2675
2668
  xl: 18,
2676
2669
  lg: 18,
@@ -2700,7 +2693,7 @@ var InputPhone = (0, import_react4.forwardRef)(
2700
2693
  xs: { width: 1, offset: -1 }
2701
2694
  };
2702
2695
  const padding = paddingConfig[size];
2703
- const borderRadius = borderRadiusConfig[size];
2696
+ const borderRadius = theme.shape.input[size].borderRadius;
2704
2697
  const iconSize = iconSizeConfig[size];
2705
2698
  const flagSize = flagSizeConfig[size];
2706
2699
  const selectorWidth = selectorWidthConfig[size];