@rachelallyson/hero-hook-form 1.0.0 → 1.1.0
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/CHANGELOG.md +54 -42
- package/README.md +161 -189
- package/dist/index.d.ts +304 -61
- package/dist/index.js +503 -16862
- package/dist/react/index.d.ts +304 -61
- package/dist/react/index.js +441 -209
- package/package.json +60 -42
- package/dist/dist-ICUU7SXF.js +0 -8
- package/dist/index.cjs +0 -17915
- package/dist/index.d.cts +0 -362
- package/dist/react/index.cjs +0 -1297
- package/dist/react/index.d.cts +0 -354
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rachelallyson/hero-hook-form",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Typed form helpers that combine React Hook Form and HeroUI components.",
|
|
5
5
|
"author": "Rachel Higley",
|
|
6
6
|
"homepage": "https://github.com/rachelallyson/hero-hook-form#readme",
|
|
@@ -32,19 +32,17 @@
|
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"sideEffects": false,
|
|
34
34
|
"type": "module",
|
|
35
|
-
"main": "./dist/index.
|
|
35
|
+
"main": "./dist/index.js",
|
|
36
36
|
"module": "./dist/index.js",
|
|
37
37
|
"types": "./dist/index.d.ts",
|
|
38
38
|
"exports": {
|
|
39
39
|
".": {
|
|
40
40
|
"types": "./dist/index.d.ts",
|
|
41
|
-
"import": "./dist/index.js"
|
|
42
|
-
"require": "./dist/index.cjs"
|
|
41
|
+
"import": "./dist/index.js"
|
|
43
42
|
},
|
|
44
43
|
"./react": {
|
|
45
44
|
"types": "./dist/react/index.d.ts",
|
|
46
|
-
"import": "./dist/react/index.js"
|
|
47
|
-
"require": "./dist/react/index.cjs"
|
|
45
|
+
"import": "./dist/react/index.js"
|
|
48
46
|
}
|
|
49
47
|
},
|
|
50
48
|
"files": [
|
|
@@ -57,8 +55,8 @@
|
|
|
57
55
|
"node": ">=18.0.0"
|
|
58
56
|
},
|
|
59
57
|
"scripts": {
|
|
60
|
-
"build": "tsup src/index.ts --format esm
|
|
61
|
-
"dev:build": "tsup src/index.ts --format esm
|
|
58
|
+
"build": "tsup src/index.ts --format esm --dts --clean && tsup src/index.ts --format esm --dts --env.NODE_ENV=production --tsconfig tsconfig.react.json --out-dir dist/react",
|
|
59
|
+
"dev:build": "tsup src/index.ts --format esm --dts --watch",
|
|
62
60
|
"lint": "eslint src",
|
|
63
61
|
"typecheck": "tsc --noEmit",
|
|
64
62
|
"cy:open": "cypress open --component",
|
|
@@ -69,43 +67,56 @@
|
|
|
69
67
|
},
|
|
70
68
|
"devDependencies": {
|
|
71
69
|
"@cypress/vite-dev-server": "^7.0.0",
|
|
72
|
-
"@eslint/js": "^9.
|
|
73
|
-
"@heroui/button": "^2.2.
|
|
74
|
-
"@heroui/checkbox": "^2.3.
|
|
75
|
-
"@heroui/input": "^2.
|
|
76
|
-
"@heroui/
|
|
77
|
-
"@heroui/
|
|
78
|
-
"@heroui/
|
|
79
|
-
"@heroui/
|
|
80
|
-
"@heroui/
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"@
|
|
84
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
70
|
+
"@eslint/js": "^9.38.0",
|
|
71
|
+
"@heroui/button": "^2.2.27",
|
|
72
|
+
"@heroui/checkbox": "^2.3.27",
|
|
73
|
+
"@heroui/date-input": "^2.3.27",
|
|
74
|
+
"@heroui/date-picker": "^2.3.28",
|
|
75
|
+
"@heroui/input": "^2.4.28",
|
|
76
|
+
"@heroui/radio": "^2.3.27",
|
|
77
|
+
"@heroui/react": "^2.8.5",
|
|
78
|
+
"@heroui/select": "^2.4.28",
|
|
79
|
+
"@heroui/slider": "^2.4.24",
|
|
80
|
+
"@heroui/spinner": "^2.2.24",
|
|
81
|
+
"@heroui/switch": "^2.2.24",
|
|
82
|
+
"@heroui/system": "^2.4.23",
|
|
83
|
+
"@rachelallyson/heroui-font-picker": "^1.0.0",
|
|
84
|
+
"@types/node": "^24.9.1",
|
|
85
|
+
"@types/react": "^19.2.2",
|
|
86
|
+
"@types/react-dom": "^19.2.2",
|
|
87
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
88
|
+
"cypress": "^15.5.0",
|
|
89
|
+
"cypress-terminal-report": "^7.3.3",
|
|
90
|
+
"eslint": "^9.38.0",
|
|
91
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
92
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
93
|
+
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
94
|
+
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
95
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
96
|
+
"jsdom": "^27.0.1",
|
|
97
|
+
"react": "^19.2.0",
|
|
98
|
+
"react-dom": "^19.2.0",
|
|
99
|
+
"react-hook-form": "^7.65.0",
|
|
94
100
|
"tsup": "^8.5.0",
|
|
95
|
-
"typescript": "^5.9.
|
|
96
|
-
"typescript-eslint": "^8.
|
|
97
|
-
"vite": "^7.1.
|
|
98
|
-
"zod": "^4.1.
|
|
101
|
+
"typescript": "^5.9.3",
|
|
102
|
+
"typescript-eslint": "^8.46.2",
|
|
103
|
+
"vite": "^7.1.11",
|
|
104
|
+
"zod": "^4.1.12"
|
|
99
105
|
},
|
|
100
106
|
"peerDependencies": {
|
|
101
107
|
"@heroui/button": ">=2 <3",
|
|
102
108
|
"@heroui/checkbox": ">=2 <3",
|
|
109
|
+
"@heroui/date-input": ">=2 <3",
|
|
110
|
+
"@heroui/date-picker": ">=2 <3",
|
|
103
111
|
"@heroui/input": ">=2 <3",
|
|
104
112
|
"@heroui/radio": ">=2 <3",
|
|
105
113
|
"@heroui/react": ">=2 <3",
|
|
106
114
|
"@heroui/select": ">=2 <3",
|
|
115
|
+
"@heroui/slider": ">=2 <3",
|
|
107
116
|
"@heroui/spinner": ">=2 <3",
|
|
108
117
|
"@heroui/switch": ">=2 <3",
|
|
118
|
+
"@heroui/system": ">=2 <3",
|
|
119
|
+
"@rachelallyson/heroui-font-picker": ">=1.0.0",
|
|
109
120
|
"react": ">=18.2.0 <20",
|
|
110
121
|
"react-dom": ">=18.2.0 <20",
|
|
111
122
|
"react-hook-form": ">=7 <8",
|
|
@@ -118,6 +129,12 @@
|
|
|
118
129
|
"@heroui/checkbox": {
|
|
119
130
|
"optional": true
|
|
120
131
|
},
|
|
132
|
+
"@heroui/date-input": {
|
|
133
|
+
"optional": true
|
|
134
|
+
},
|
|
135
|
+
"@heroui/date-picker": {
|
|
136
|
+
"optional": true
|
|
137
|
+
},
|
|
121
138
|
"@heroui/input": {
|
|
122
139
|
"optional": true
|
|
123
140
|
},
|
|
@@ -130,19 +147,20 @@
|
|
|
130
147
|
"@heroui/select": {
|
|
131
148
|
"optional": true
|
|
132
149
|
},
|
|
150
|
+
"@heroui/slider": {
|
|
151
|
+
"optional": true
|
|
152
|
+
},
|
|
133
153
|
"@heroui/spinner": {
|
|
134
154
|
"optional": true
|
|
135
155
|
},
|
|
136
156
|
"@heroui/switch": {
|
|
137
157
|
"optional": true
|
|
158
|
+
},
|
|
159
|
+
"@heroui/system": {
|
|
160
|
+
"optional": true
|
|
161
|
+
},
|
|
162
|
+
"@rachelallyson/heroui-font-picker": {
|
|
163
|
+
"optional": true
|
|
138
164
|
}
|
|
139
|
-
},
|
|
140
|
-
"dependencies": {
|
|
141
|
-
"@tailwindcss/postcss": "^4.1.12",
|
|
142
|
-
"framer-motion": "^12.23.12",
|
|
143
|
-
"jsdom": "^26.1.0",
|
|
144
|
-
"postcss": "^8.5.6",
|
|
145
|
-
"tailwindcss": "^4.1.12",
|
|
146
|
-
"zod": ">=4"
|
|
147
165
|
}
|
|
148
166
|
}
|