@opengov/form-renderer 0.0.1 → 0.0.6

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.
File without changes
@@ -1,14 +1,7 @@
1
- import { StoryObj } from '@storybook/react';
2
- import { default as FormRenderer } from '../src';
3
- declare const meta: {
4
- title: string;
5
- component: typeof FormRenderer;
6
- tags: string[];
7
- parameters: {
8
- layout: string;
9
- };
10
- args: {};
11
- };
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta;
12
3
  export default meta;
13
4
  type Story = StoryObj<typeof meta>;
14
- export declare const Basic: Story;
5
+ export declare const Compound: Story;
6
+ export declare const WithDefaultValues: Story;
7
+ export declare const UsingReactHookForms: Story;
File without changes
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@opengov/form-renderer",
3
- "version": "0.0.1",
3
+ "version": "0.0.6",
4
4
  "description": "OpenGov Smart Forms form renderer",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
- "main": "./dist/lib.umd.js",
10
- "module": "./dist/lib.mjs",
9
+ "main": "./dist/lib.umd.cjs",
10
+ "module": "./dist/lib.js",
11
11
  "exports": {
12
12
  ".": {
13
- "import": "./dist/lib.mjs",
13
+ "import": "./dist/lib.js",
14
14
  "require": "./dist/lib.umd.cjs"
15
15
  }
16
16
  },
@@ -22,9 +22,28 @@
22
22
  },
23
23
  "author": "OpenGov",
24
24
  "license": "UNLICENSED",
25
- "dependencies": {},
26
- "devDependencies": {},
25
+ "dependencies": {
26
+ "@mdi/js": "^7.4.47",
27
+ "@mdi/react": "^1.6.1",
28
+ "@mui/icons-material": "^6.1.1",
29
+ "date-fns": "^4.1.0"
30
+ },
27
31
  "peerDependencies": {
28
- "react": "^18.3.1"
32
+ "@mui/material": ">= 5.0.0",
33
+ "@mui/x-date-pickers": ">= 7.0.0",
34
+ "@opengov/capital-mui-theme": ">= 32.0.0",
35
+ "react": ">= 16.8.0",
36
+ "react-dom": ">= 16.8.0",
37
+ "react-hook-form": ">= 7.0.0"
38
+ },
39
+ "devDependencies": {
40
+ "@emotion/react": "^11.13.3",
41
+ "@emotion/styled": "^11.13.0",
42
+ "@mui/material": "^6.1.1",
43
+ "@mui/x-date-pickers": "^7.22.0",
44
+ "@opengov/capital-mui-theme": "^36.0.0-beta.1",
45
+ "react": "^18.3.1",
46
+ "react-dom": "^18.3.1",
47
+ "react-hook-form": "^7.53.1"
29
48
  }
30
49
  }
@@ -1 +0,0 @@
1
- export default function FormRenderer(): import("react/jsx-runtime").JSX.Element;
File without changes