@orkestrel/form 0.0.9 → 0.0.11
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/README.md +7 -5
- package/dist/src/browser/index.d.ts +750 -0
- package/dist/src/browser/index.js +1056 -0
- package/dist/src/browser/index.js.map +1 -0
- package/dist/src/core/index.cjs +183 -17
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +95 -15
- package/dist/src/core/index.d.ts +95 -15
- package/dist/src/core/index.js +183 -17
- package/dist/src/core/index.js.map +1 -1
- package/package.json +27 -14
package/README.md
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
> The environment-agnostic form document: a `FormSchema` stating what is asked, a `Form` holding
|
|
4
4
|
> the answers given against it, declarative `FieldRule` data stating what those answers must
|
|
5
|
-
> satisfy, and
|
|
5
|
+
> satisfy, acknowledged editing, and a terminal submit that settles the form exactly once.
|
|
6
6
|
|
|
7
|
-
A terminal prompt and a browser form ask the same thing in different places, so
|
|
8
|
-
what they share
|
|
7
|
+
A terminal prompt and a browser form ask the same thing in different places, so the core ships
|
|
8
|
+
what they share. The browser entry binds native controls and renders neutral feedback. Its `answer` promise is the parking seam
|
|
9
9
|
a server needs: hand the document out, wait, receive the answers back. A live form can take a field
|
|
10
10
|
out and put it back with `disable` and `enable`, and exported budgets bound what one schema and its
|
|
11
11
|
answers may retain, so a document that arrives from a wire costs a known maximum before anything
|
|
@@ -67,8 +67,10 @@ concept inventory of what this package leaves to the layer above.
|
|
|
67
67
|
|
|
68
68
|
## Package
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
The `.` entry ships the host-independent core in ESM and CJS. The `./browser` entry ships the native
|
|
71
|
+
binding in ESM. Both include declarations. The binding supports password reveal, rule messages
|
|
72
|
+
without duplicate native feedback, presented-control write notifications and touch, and optional
|
|
73
|
+
blur deferral through footer presses. See [Native binding](./guides/form.md#native-binding).
|
|
72
74
|
|
|
73
75
|
## Development
|
|
74
76
|
|