@pagopa/io-app-design-system 5.0.7 → 5.1.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.
Files changed (63) hide show
  1. package/lib/commonjs/components/codeInput/CodeInput.js +8 -5
  2. package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
  3. package/lib/commonjs/components/common/ScaleInOutAnimation.js +7 -5
  4. package/lib/commonjs/components/common/ScaleInOutAnimation.js.map +1 -1
  5. package/lib/commonjs/components/layout/ForceScrollDownView.js +27 -23
  6. package/lib/commonjs/components/layout/ForceScrollDownView.js.map +1 -1
  7. package/lib/commonjs/components/layout/__test__/ForceScrollDownView.test.js +12 -4
  8. package/lib/commonjs/components/layout/__test__/ForceScrollDownView.test.js.map +1 -1
  9. package/lib/commonjs/components/layout/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +1 -6
  10. package/lib/commonjs/components/layout/hooks/useFooterActionsInlineMeasurements.js +2 -2
  11. package/lib/commonjs/components/layout/hooks/useFooterActionsInlineMeasurements.js.map +1 -1
  12. package/lib/commonjs/components/layout/hooks/useFooterActionsMeasurements.js +2 -2
  13. package/lib/commonjs/components/layout/hooks/useFooterActionsMeasurements.js.map +1 -1
  14. package/lib/commonjs/components/numberpad/NumberButton.js +17 -14
  15. package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
  16. package/lib/commonjs/components/numberpad/NumberPad.js +3 -3
  17. package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
  18. package/lib/commonjs/utils/textInput/index.js +12 -0
  19. package/lib/commonjs/utils/textInput/index.js.map +1 -1
  20. package/lib/module/components/codeInput/CodeInput.js +8 -5
  21. package/lib/module/components/codeInput/CodeInput.js.map +1 -1
  22. package/lib/module/components/common/ScaleInOutAnimation.js +8 -6
  23. package/lib/module/components/common/ScaleInOutAnimation.js.map +1 -1
  24. package/lib/module/components/layout/ForceScrollDownView.js +27 -23
  25. package/lib/module/components/layout/ForceScrollDownView.js.map +1 -1
  26. package/lib/module/components/layout/__test__/ForceScrollDownView.test.js +12 -4
  27. package/lib/module/components/layout/__test__/ForceScrollDownView.test.js.map +1 -1
  28. package/lib/module/components/layout/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +1 -6
  29. package/lib/module/components/layout/hooks/useFooterActionsInlineMeasurements.js +3 -3
  30. package/lib/module/components/layout/hooks/useFooterActionsInlineMeasurements.js.map +1 -1
  31. package/lib/module/components/layout/hooks/useFooterActionsMeasurements.js +3 -3
  32. package/lib/module/components/layout/hooks/useFooterActionsMeasurements.js.map +1 -1
  33. package/lib/module/components/numberpad/NumberButton.js +18 -16
  34. package/lib/module/components/numberpad/NumberButton.js.map +1 -1
  35. package/lib/module/components/numberpad/NumberPad.js +3 -3
  36. package/lib/module/components/numberpad/NumberPad.js.map +1 -1
  37. package/lib/module/utils/textInput/index.js +12 -0
  38. package/lib/module/utils/textInput/index.js.map +1 -1
  39. package/lib/typescript/components/codeInput/CodeInput.d.ts +1 -1
  40. package/lib/typescript/components/codeInput/CodeInput.d.ts.map +1 -1
  41. package/lib/typescript/components/common/ScaleInOutAnimation.d.ts +1 -3
  42. package/lib/typescript/components/common/ScaleInOutAnimation.d.ts.map +1 -1
  43. package/lib/typescript/components/layout/ForceScrollDownView.d.ts +20 -8
  44. package/lib/typescript/components/layout/ForceScrollDownView.d.ts.map +1 -1
  45. package/lib/typescript/components/layout/hooks/useFooterActionsInlineMeasurements.d.ts.map +1 -1
  46. package/lib/typescript/components/layout/hooks/useFooterActionsMeasurements.d.ts.map +1 -1
  47. package/lib/typescript/components/numberpad/NumberButton.d.ts +2 -2
  48. package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
  49. package/lib/typescript/utils/textInput/index.d.ts.map +1 -1
  50. package/lib/typescript/utils/types.d.ts +1 -1
  51. package/lib/typescript/utils/types.d.ts.map +1 -1
  52. package/package.json +1 -1
  53. package/src/components/codeInput/CodeInput.tsx +11 -7
  54. package/src/components/common/ScaleInOutAnimation.tsx +8 -10
  55. package/src/components/layout/ForceScrollDownView.tsx +67 -32
  56. package/src/components/layout/__test__/ForceScrollDownView.test.tsx +4 -4
  57. package/src/components/layout/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +1 -6
  58. package/src/components/layout/hooks/useFooterActionsInlineMeasurements.ts +7 -6
  59. package/src/components/layout/hooks/useFooterActionsMeasurements.ts +7 -6
  60. package/src/components/numberpad/NumberButton.tsx +30 -18
  61. package/src/components/numberpad/NumberPad.tsx +3 -3
  62. package/src/utils/textInput/index.ts +12 -0
  63. package/src/utils/types.ts +2 -3
@@ -29,7 +29,7 @@ export type XOR<T, U> = T | U extends object
29
29
  ? (Without<T, U> & U) | (Without<U, T> & T)
30
30
  : T | U;
31
31
 
32
- export type InputType = "credit-card" | "default";
32
+ export type InputType = "credit-card" | "iban" | "default";
33
33
 
34
34
  // Biometrics type used in io-app code base
35
35
  // https://github.com/pagopa/io-app/blob/master/ts/utils/biometrics.ts#L31
@@ -45,5 +45,4 @@ export type Nullable<T> = T | null;
45
45
  */
46
46
  export type Optional<T> = T | undefined;
47
47
 
48
-
49
- export type TextInputValidationRefProps = { validateInput: () => void };
48
+ export type TextInputValidationRefProps = { validateInput: () => void };