lib/components.json in shadcn-ui-0.0.4 vs lib/components.json in shadcn-ui-0.0.5
- old
+ new
@@ -22,11 +22,12 @@
"type": "components:ui",
"files": [
"app/helpers/components/alert-dialog_helper.rb",
"app/views/components/ui/_alert-dialog.html.erb",
"app/javascript/controllers/ui/alert-dialog_controller.js"
- ]
+ ],
+ "dependencies": [{ "component": "dialog" }]
},
"badge": {
"name": "badge",
"type": "components:ui",
"files": [
@@ -107,9 +108,20 @@
"app/javascript/controllers/ui/dropdown_controller.js"
],
"dependencies": [
{ "component": "popover" },
"app/views/components/ui/shared/_menu_item.html.erb"
+ ]
+ },
+ "forms": {
+ "name": "forms",
+ "type": "components:ui",
+ "files": ["app/helpers/components/forms_helper.rb", "app/form_builders/shadcn_form_builder.rb"],
+ "dependencies": [
+ { "component": "input" },
+ { "component": "label" },
+ { "component": "textarea" },
+ { "component": "button" }
]
},
"hover-card": {
"name": "hover-card",
"type": "components:ui",