@xsolla/xui-input-phone 0.187.3 → 0.188.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.187.3",
3
+ "version": "0.188.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.187.3",
17
- "@xsolla/xui-primitives-core": "0.187.3",
16
+ "@xsolla/xui-core": "0.188.1",
17
+ "@xsolla/xui-primitives-core": "0.188.1",
18
18
  "libphonenumber-js": "^1.10.56"
19
19
  },
20
20
  "peerDependencies": {
package/web/index.d.mts CHANGED
@@ -88,9 +88,6 @@ interface InputPhoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "s
88
88
  * Accessible label for screen readers when no visible label is present.
89
89
  */
90
90
  "aria-label"?: string;
91
- /**
92
- * Test identifier for the component.
93
- */
94
91
  testID?: string;
95
92
  }
96
93
  declare const InputPhone: React.ForwardRefExoticComponent<InputPhoneProps & React.RefAttributes<HTMLInputElement>>;
package/web/index.d.ts CHANGED
@@ -88,9 +88,6 @@ interface InputPhoneProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "s
88
88
  * Accessible label for screen readers when no visible label is present.
89
89
  */
90
90
  "aria-label"?: string;
91
- /**
92
- * Test identifier for the component.
93
- */
94
91
  testID?: string;
95
92
  }
96
93
  declare const InputPhone: React.ForwardRefExoticComponent<InputPhoneProps & React.RefAttributes<HTMLInputElement>>;
package/web/index.js CHANGED
@@ -435,13 +435,12 @@ var InputPrimitive = (0, import_react3.forwardRef)(
435
435
  onChangeText(e.target.value);
436
436
  }
437
437
  };
438
- const inputValue = value !== void 0 ? value : "";
439
438
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
440
439
  StyledInput,
441
440
  {
442
441
  ref,
443
442
  id,
444
- value: inputValue,
443
+ value,
445
444
  name,
446
445
  placeholder,
447
446
  onChange: handleChange,