@digigov/form 1.0.0-6b93ebf2 → 1.0.0-871b6be5

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 (57) hide show
  1. package/FormBuilder/FormBuilder.mdx +6 -8
  2. package/MultiplicityField/__stories__/PreviewDisplay.js +1 -1
  3. package/Questions/Step/StepArrayReview.js +2 -2
  4. package/Questions/Step/StepTitle.d.ts +2 -2
  5. package/Questions/Step/StepTitle.js +8 -4
  6. package/Questions/__snapshots__/index.spec.tsx.snap +69 -356
  7. package/Questions/__stories__/Default.js +1 -1
  8. package/Questions/index.mdx +4 -4
  9. package/es/FormBuilder/FormBuilder.mdx +6 -8
  10. package/es/MultiplicityField/__stories__/PreviewDisplay.js +1 -1
  11. package/es/Questions/Step/StepArrayReview.js +2 -2
  12. package/es/Questions/Step/StepTitle.js +7 -4
  13. package/es/Questions/__snapshots__/index.spec.tsx.snap +69 -356
  14. package/es/Questions/__stories__/Default.js +1 -1
  15. package/es/Questions/index.mdx +4 -4
  16. package/es/inputs/DateInput/__stories__/Default.js +0 -18
  17. package/es/inputs/FileInput/index.js +1 -1
  18. package/es/inputs/OtpInput/index.js +5 -5
  19. package/es/inputs/Radio/__stories__/Default.js +1 -1
  20. package/es/inputs/Radio/__stories__/WithDivider.js +1 -1
  21. package/es/inputs/Select/__stories__/Default.js +1 -1
  22. package/esm/FormBuilder/FormBuilder.mdx +6 -8
  23. package/esm/MultiplicityField/__stories__/PreviewDisplay.js +1 -1
  24. package/esm/Questions/Step/StepArrayReview.js +2 -2
  25. package/esm/Questions/Step/StepTitle.js +7 -4
  26. package/esm/Questions/__snapshots__/index.spec.tsx.snap +69 -356
  27. package/esm/Questions/__stories__/Default.js +1 -1
  28. package/esm/Questions/index.mdx +4 -4
  29. package/esm/index.js +1 -1
  30. package/esm/inputs/DateInput/__stories__/Default.js +0 -18
  31. package/esm/inputs/FileInput/index.js +1 -1
  32. package/esm/inputs/OtpInput/index.js +5 -5
  33. package/esm/inputs/Radio/__stories__/Default.js +1 -1
  34. package/esm/inputs/Radio/__stories__/WithDivider.js +1 -1
  35. package/esm/inputs/Select/__stories__/Default.js +1 -1
  36. package/inputs/DateInput/__stories__/Default.js +0 -18
  37. package/inputs/FileInput/index.js +1 -1
  38. package/inputs/OtpInput/index.js +5 -5
  39. package/inputs/Radio/__stories__/Default.js +1 -1
  40. package/inputs/Radio/__stories__/WithDivider.js +1 -1
  41. package/inputs/Select/__stories__/Default.js +1 -1
  42. package/package.json +4 -4
  43. package/src/FormBuilder/FormBuilder.mdx +6 -8
  44. package/src/MultiplicityField/__stories__/PreviewDisplay.tsx +4 -4
  45. package/src/Questions/Step/StepArrayReview.tsx +3 -3
  46. package/src/Questions/Step/StepTitle.tsx +12 -14
  47. package/src/Questions/__snapshots__/index.spec.tsx.snap +69 -356
  48. package/src/Questions/__stories__/Default.tsx +4 -4
  49. package/src/Questions/index.mdx +4 -4
  50. package/src/inputs/DateInput/__stories__/Default.tsx +0 -16
  51. package/src/inputs/FileInput/index.tsx +1 -1
  52. package/src/inputs/OtpInput/index.tsx +8 -8
  53. package/src/inputs/Radio/__stories__/Default.tsx +1 -1
  54. package/src/inputs/Radio/__stories__/WithDivider.tsx +1 -1
  55. package/src/inputs/Select/__stories__/Default.tsx +1 -1
  56. package/src/types.tsx +1 -1
  57. package/types.d.ts +1 -1
package/src/types.tsx CHANGED
@@ -59,7 +59,7 @@ export interface FieldSpec {
59
59
  >;
60
60
  validators?: ValidatorSchema[];
61
61
  wrapper?: 'label' | 'fieldset';
62
- characterWidth?: number;
62
+ maxWidth?: string;
63
63
  width?: string;
64
64
  }
65
65
 
package/types.d.ts CHANGED
@@ -32,7 +32,7 @@ export interface FieldSpec {
32
32
  layout?: Record<string, GridProps['xs'] | GridProps['sm'] | GridProps['md'] | GridProps['lg'] | GridProps['xl']>;
33
33
  validators?: ValidatorSchema[];
34
34
  wrapper?: 'label' | 'fieldset';
35
- characterWidth?: number;
35
+ maxWidth?: string;
36
36
  width?: string;
37
37
  }
38
38
  export interface FieldsetSpec {