@conform-to/react 0.8.1 → 0.9.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/hooks.js +1 -0
- package/hooks.mjs +1 -0
- package/package.json +2 -2
package/hooks.js
CHANGED
|
@@ -395,6 +395,7 @@ function useFieldList(ref, config) {
|
|
|
395
395
|
switch (intent.payload.operation) {
|
|
396
396
|
case 'append':
|
|
397
397
|
case 'prepend':
|
|
398
|
+
case 'insert':
|
|
398
399
|
case 'replace':
|
|
399
400
|
errorList = dom.updateList(errorList, _rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, intent.payload), {}, {
|
|
400
401
|
defaultValue: undefined
|
package/hooks.mjs
CHANGED
|
@@ -391,6 +391,7 @@ function useFieldList(ref, config) {
|
|
|
391
391
|
switch (intent.payload.operation) {
|
|
392
392
|
case 'append':
|
|
393
393
|
case 'prepend':
|
|
394
|
+
case 'insert':
|
|
394
395
|
case 'replace':
|
|
395
396
|
errorList = updateList(errorList, _objectSpread2(_objectSpread2({}, intent.payload), {}, {
|
|
396
397
|
defaultValue: undefined
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Conform view adapter for react",
|
|
4
4
|
"homepage": "https://conform.guide",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.9.0",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.mjs",
|
|
9
9
|
"types": "index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"url": "https://github.com/edmundhung/conform/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@conform-to/dom": "0.
|
|
33
|
+
"@conform-to/dom": "0.9.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": ">=16.8"
|