@dynamic-field-kit/core 1.0.3 → 1.0.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.
- package/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -130,7 +130,7 @@ The library does **not** ship UI components.
|
|
|
130
130
|
Instead, applications register their own renderers.
|
|
131
131
|
|
|
132
132
|
```ts
|
|
133
|
-
import { fieldRegistry } from "@dynamic-field-kit/
|
|
133
|
+
import { fieldRegistry } from "@dynamic-field-kit/react"
|
|
134
134
|
|
|
135
135
|
fieldRegistry.register("text", ({ value, onValueChange, label }) => (
|
|
136
136
|
<div>
|
|
@@ -202,7 +202,7 @@ You **do not** need to modify the library.
|
|
|
202
202
|
Just extend `FieldTypeMap`:
|
|
203
203
|
|
|
204
204
|
```ts
|
|
205
|
-
declare module "@dynamic-field-kit/
|
|
205
|
+
declare module "@dynamic-field-kit/core" {
|
|
206
206
|
interface FieldTypeMap {
|
|
207
207
|
date: Date
|
|
208
208
|
}
|
|
@@ -296,4 +296,4 @@ This library intentionally does not include:
|
|
|
296
296
|
It is a **form engine**, not a full form framework.
|
|
297
297
|
|
|
298
298
|
## 📄 License
|
|
299
|
-
MIT © vannt-dev
|
|
299
|
+
MIT © [vannt-dev](https://github.com/vannt-dev)
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-field-kit/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Core types and field registry for dynamic-field-kit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
|
-
"module": "dist/index.
|
|
7
|
+
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"files": [
|