@fragno-dev/jsonforms-shadcn-renderers 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/README.md +7 -65
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -49,6 +49,9 @@ const config = defineConfig({
|
|
|
49
49
|
"@/lib": path.resolve(__dirname, "./src/lib"),
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
|
+
ssr: {
|
|
53
|
+
noExternal: ["@fragno-dev/jsonforms-shadcn-renderers"],
|
|
54
|
+
},
|
|
52
55
|
});
|
|
53
56
|
|
|
54
57
|
export default config;
|
|
@@ -88,68 +91,7 @@ function MyDynamicForm() {
|
|
|
88
91
|
}
|
|
89
92
|
```
|
|
90
93
|
|
|
91
|
-
##
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
| Feature | Shadcn | Status |
|
|
96
|
-
| ------------------------- | -------------------------- | ------ |
|
|
97
|
-
| Boolean (checkbox) | ShadcnBooleanControl | ✅ |
|
|
98
|
-
| Boolean (toggle/switch) | ShadcnBooleanToggleControl | ✅ |
|
|
99
|
-
| Text | ShadcnTextControl | ✅ |
|
|
100
|
-
| Textarea (multi-line) | ShadcnTextAreaControl | ✅ |
|
|
101
|
-
| Integer | ShadcnIntegerControl | ✅ |
|
|
102
|
-
| Number | ShadcnNumberControl | ✅ |
|
|
103
|
-
| Slider | ShadcnSliderControl | ✅ |
|
|
104
|
-
| Date | ShadcnDateControl | ✅ |
|
|
105
|
-
| Time | ShadcnTimeControl | ✅ |
|
|
106
|
-
| DateTime | ShadcnDateTimeControl | ✅ |
|
|
107
|
-
| Enum (select) | ShadcnEnumControl | ✅ |
|
|
108
|
-
| Enum (radio) | ShadcnEnumRadioControl | ✅ |
|
|
109
|
-
| OneOf Enum (select) | ShadcnOneOfEnumControl | ✅ |
|
|
110
|
-
| OneOf Enum (radio) | - | ❌ |
|
|
111
|
-
| Object (nested) | ShadcnObjectControl | ✅ |
|
|
112
|
-
| Array (table) | - | ❌ |
|
|
113
|
-
| Array (expandable panels) | - | ❌ |
|
|
114
|
-
| AllOf | - | ❌ |
|
|
115
|
-
| AnyOf | - | ❌ |
|
|
116
|
-
| OneOf (polymorphic) | - | ❌ |
|
|
117
|
-
| Enum Array (multi-select) | - | ❌ |
|
|
118
|
-
| AnyOf String/Enum | - | ❌ |
|
|
119
|
-
| Native inputs | - | ❌ |
|
|
120
|
-
|
|
121
|
-
### Layouts
|
|
122
|
-
|
|
123
|
-
| Feature | Shadcn | Status |
|
|
124
|
-
| ------------------------ | --------------------------------- | ------ |
|
|
125
|
-
| Vertical | ShadcnVerticalLayout | ✅ |
|
|
126
|
-
| Horizontal | ShadcnHorizontalLayout | ✅ |
|
|
127
|
-
| Group | ShadcnGroupLayout | ✅ |
|
|
128
|
-
| Categorization (tabs) | ShadcnCategorizationLayout | ✅ |
|
|
129
|
-
| Categorization (stepper) | ShadcnCategorizationStepperLayout | ✅ |
|
|
130
|
-
| Array Layout | - | ❌ |
|
|
131
|
-
|
|
132
|
-
### Additional Renderers
|
|
133
|
-
|
|
134
|
-
| Feature | Shadcn | Status |
|
|
135
|
-
| -------------- | ------------------- | ------ |
|
|
136
|
-
| Label | ShadcnLabelRenderer | ✅ |
|
|
137
|
-
| ListWithDetail | - | ❌ |
|
|
138
|
-
|
|
139
|
-
### Cells (for tables/arrays)
|
|
140
|
-
|
|
141
|
-
| Feature | Shadcn | Status |
|
|
142
|
-
| -------------- | ----------------------- | ------ |
|
|
143
|
-
| Boolean | ShadcnBooleanCell | ✅ |
|
|
144
|
-
| Boolean Toggle | ShadcnBooleanToggleCell | ✅ |
|
|
145
|
-
| Text | ShadcnTextCell | ✅ |
|
|
146
|
-
| Integer | ShadcnIntegerCell | ✅ |
|
|
147
|
-
| Number | ShadcnNumberCell | ✅ |
|
|
148
|
-
| Number Format | - | ❌ |
|
|
149
|
-
| Date | ShadcnDateCell | ✅ |
|
|
150
|
-
| Time | ShadcnTimeCell | ✅ |
|
|
151
|
-
| DateTime | ShadcnDateTimeCell | ✅ |
|
|
152
|
-
| Enum | ShadcnEnumCell | ✅ |
|
|
153
|
-
| Enum Radio | ShadcnEnumRadioCell | ✅ |
|
|
154
|
-
| OneOf Enum | ShadcnOneOfEnumCell | ✅ |
|
|
155
|
-
| Slider | ShadcnSliderCell | ✅ |
|
|
94
|
+
## Compatibility
|
|
95
|
+
|
|
96
|
+
See [this page on our docs](https://fragno.dev/docs/forms/shadcn-renderer#supported-features) for
|
|
97
|
+
all JSONforms primitives we support.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragno-dev/jsonforms-shadcn-renderers",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fragno",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"types": "./dist/index.d.ts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"development": "./src/index.ts",
|
|
25
24
|
"types": "./dist/index.d.ts",
|
|
26
25
|
"default": "./dist/index.js"
|
|
27
26
|
}
|
|
@@ -46,6 +45,7 @@
|
|
|
46
45
|
"jsdom": "^27.0.0",
|
|
47
46
|
"react": "^19.2.0",
|
|
48
47
|
"react-dom": "^19.2.0",
|
|
48
|
+
"vitest": "^3.2.4",
|
|
49
49
|
"@fragno-private/typescript-config": "0.0.1",
|
|
50
50
|
"@fragno-private/vitest-config": "0.0.0"
|
|
51
51
|
},
|