react-luna-form 0.0.1 → 0.0.2
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/dist/types/type.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export type Column<T> = {
|
|
|
31
31
|
advanced?: {
|
|
32
32
|
cols?: number;
|
|
33
33
|
};
|
|
34
|
-
type: 'column';
|
|
35
34
|
fields?: T[];
|
|
35
|
+
type: 'column';
|
|
36
36
|
} & Base;
|
|
37
37
|
export type DataAttributes = {
|
|
38
38
|
[key: `data-${string}`]: string | number | boolean;
|
|
@@ -43,7 +43,7 @@ export type AriaAttributes = {
|
|
|
43
43
|
export type CommonProps = {
|
|
44
44
|
disabled?: boolean;
|
|
45
45
|
id?: string;
|
|
46
|
-
name
|
|
46
|
+
name?: string;
|
|
47
47
|
placeholder?: string;
|
|
48
48
|
required?: boolean;
|
|
49
49
|
};
|
|
@@ -55,6 +55,7 @@ export type Field = CommonProps & {
|
|
|
55
55
|
};
|
|
56
56
|
description?: string;
|
|
57
57
|
label?: string;
|
|
58
|
+
name: string;
|
|
58
59
|
readonly?: boolean;
|
|
59
60
|
type: string;
|
|
60
61
|
validation?: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-luna-form",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "A React library for building forms based on JSON Schema
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "A React library for building forms based on JSON Schema",
|
|
5
5
|
"main": "./dist/client/cjs/index.js",
|
|
6
6
|
"module": "./dist/client/esm/index.js",
|
|
7
7
|
"types": "./dist/types/client/index.d.ts",
|