@opengov/form-renderer 0.0.43 → 0.0.44

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.
@@ -101,8 +101,5 @@ export declare const useFieldType: (type?: string) => {
101
101
  readonly?: boolean;
102
102
  }) => JSX.Element);
103
103
  } | null;
104
- export declare const useFieldTemplate: (fieldId: string) => {
105
- template: import('@opengov/form-utils').FieldTemplate;
106
- formattedFormula: string;
107
- };
104
+ export declare const useFieldTemplate: (fieldId: string) => import('@opengov/form-utils').FieldTemplate;
108
105
  export {};
@@ -17,6 +17,7 @@ export type FormRendererProps = {
17
17
  defaultValues: FormData;
18
18
  };
19
19
  submit?: SubmitProps;
20
+ decimalPlaces?: number;
20
21
  dateFormat?: DateFormat;
21
22
  };
22
23
  export type RendererProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengov/form-renderer",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "OpenGov Smart Forms form renderer",
5
5
  "type": "module",
6
6
  "files": [
@@ -28,6 +28,7 @@
28
28
  "@mui/icons-material": "^6.1.1",
29
29
  "@opengov/form-utils": "0.0.2",
30
30
  "date-fns": "^4.1.0",
31
+ "mathjs": "^14.3.1",
31
32
  "sanitize-html": "^2.14.0"
32
33
  },
33
34
  "peerDependencies": {