@xsolla/xui-input-phone 0.216.1 → 0.217.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
@@ -393,6 +393,24 @@ var StyledInput = styled4(FilteredInput)`
393
393
  cursor: not-allowed;
394
394
  }
395
395
 
396
+ /*
397
+ * Hide the native number spin buttons. type="number" is rendered with the
398
+ * toolkit's own chevron stepper (see Input "Type number" in Figma), so the
399
+ * OS chrome must not show alongside it. Keyboard ArrowUp / ArrowDown are
400
+ * unaffected — this only removes the painted control.
401
+ */
402
+ &[type="number"] {
403
+ -moz-appearance: textfield;
404
+ appearance: textfield;
405
+ }
406
+
407
+ &[type="number"]::-webkit-outer-spin-button,
408
+ &[type="number"]::-webkit-inner-spin-button {
409
+ -webkit-appearance: none;
410
+ appearance: none;
411
+ margin: 0;
412
+ }
413
+
396
414
  /* Override browser autofill background */
397
415
  &:-webkit-autofill,
398
416
  &:-webkit-autofill:hover,