@form-observer/vue 0.0.0-experimental-3 → 0.0.0-experimental-5

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +6 -2
package/README.md CHANGED
@@ -27,7 +27,7 @@ npm install @form-observer/vue
27
27
 
28
28
  ```vue
29
29
  <template>
30
- <form id="example" :ref="autoObserve()">
30
+ <form id="example" :ref="autoObserve()" @submit="handleSubmit">
31
31
  <h1>Feedback Form</h1>
32
32
 
33
33
  <!-- The browser's default error messages for `#name` will be accessibly displayed inside `#name-error` -->
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@form-observer/vue",
3
3
  "type": "module",
4
- "version": "0.0.0-experimental-3",
4
+ "version": "0.0.0-experimental-5",
5
5
  "description": "Convenience functions for the `@form-observer/core` package, designed for Vue apps",
6
6
  "exports": {
7
7
  ".": {
@@ -21,6 +21,9 @@
21
21
  "default": "./createFormValidityObserver.js"
22
22
  },
23
23
  "./types": {
24
+ "require": {
25
+ "types": "./types.d.cts"
26
+ },
24
27
  "types": "./types.d.ts"
25
28
  }
26
29
  },
@@ -39,7 +42,8 @@
39
42
  "observer",
40
43
  "web",
41
44
  "validation",
42
- "vue"
45
+ "vue",
46
+ "progressive-enhancement"
43
47
  ],
44
48
  "repository": {
45
49
  "type": "git",