@transferwise/components 0.0.0-experimental-0cf5b04 → 0.0.0-experimental-e2abab4

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/README.md CHANGED
@@ -53,7 +53,7 @@ Please follow [rules for JS components](https://github.com/transferwise/neptune-
53
53
  We expose reusable mocks for Jest and Vitest under an isolated entry point. They can be applied by passing the testing framework as the parameter:
54
54
 
55
55
  ```ts
56
- import { mockMatchMedia, mockResizeObserver } from '@transferwise/components/build/mocks';
56
+ import { mockMatchMedia, mockResizeObserver } from '@transferwise/components/mocks';
57
57
  import { jest } from '@jest/globals';
58
58
  import { vi } from 'vitest';
59
59
 
@@ -29,7 +29,7 @@
29
29
  "neptune.Upload.csButtonText": "Carica un altro documento?",
30
30
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
31
31
  "neptune.Upload.csSuccessText": "Caricamento completato!",
32
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
32
+ "neptune.Upload.csTooLargeMessage": "Carica un file inferiore a {maxSize}MB",
33
33
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
34
34
  "neptune.Upload.psButtonText": "Annulla",
35
35
  "neptune.Upload.psProcessingText": "Caricamento...",
@@ -2934,7 +2934,9 @@ const DateInput = ({
2934
2934
  }), /*#__PURE__*/jsx("div", {
2935
2935
  className: `input-group input-group-${size}`,
2936
2936
  children: /*#__PURE__*/jsx(Input, {
2937
- type: "number",
2937
+ type: "text",
2938
+ inputMode: "numeric",
2939
+ pattern: "[0-9]*",
2938
2940
  name: "day",
2939
2941
  autoComplete: dayAutoComplete,
2940
2942
  value: day || '',
@@ -2957,7 +2959,9 @@ const DateInput = ({
2957
2959
  }), /*#__PURE__*/jsx("div", {
2958
2960
  className: `input-group input-group-${size}`,
2959
2961
  children: /*#__PURE__*/jsx(Input, {
2960
- type: "number",
2962
+ type: "text",
2963
+ inputMode: "numeric",
2964
+ pattern: "[0-9]*",
2961
2965
  name: "year",
2962
2966
  autoComplete: yearAutoComplete,
2963
2967
  placeholder: placeholders.year,
@@ -14429,7 +14433,7 @@ var it = {
14429
14433
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14430
14434
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14431
14435
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14432
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
14436
+ "neptune.Upload.csTooLargeMessage": "Carica un file inferiore a {maxSize}MB",
14433
14437
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14434
14438
  "neptune.Upload.psButtonText": "Annulla",
14435
14439
  "neptune.Upload.psProcessingText": "Caricamento...",