Skip to content

Commit

Permalink
fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Halleck45 committed Feb 2, 2025
1 parent 6a6cfa4 commit 46bb2ad
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/Toolkit/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ the Symfony framework:
https://symfony.com/doc/current/contributing/code/bc.html

.. _`the Symfony UX initiative`: https://ux.symfony.com/
.. _`Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
#.. _`Twig Component`: https://symfony.com/bundles/ux-twig-component/current/index.html
4 changes: 1 addition & 3 deletions src/Toolkit/registry/default/components/Alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"theme": "default",
"type": "component",
"code": "<div {{ attributes.without('class') }}\n class=\"{{ (' ' ~ attributes.render('class'))|tailwind_merge }}\"\n>\n <twig:Button>Dependency test</twig:Button>\n {% block content %}Alert{% endblock %}\n</div>\n",
"dependencies": [
"Button"
]
"dependencies": ["Button"]
}
4 changes: 1 addition & 3 deletions src/Toolkit/registry/default/components/Table.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"theme": "default",
"type": "component",
"code": "{# ux:with{Row, Button} #}\n<table {{ attributes.without('class') }}\n class=\"{{ (' ' ~ attributes.render('class'))|tailwind_merge }}\"\n>\n {% block content %}{% endblock %}\n</table>\n",
"dependencies": [
"Row"
]
"dependencies": ["Row"]
}
48 changes: 24 additions & 24 deletions src/Toolkit/registry/default/registry.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "symfony",
"homepage": "https://symfony.com",
"items": [
{
"name": "badge",
"manifest": "components/Badge.json",
"type": "registry:component",
"title": "Badge",
"description": "A simple badge component",
"registryDependencies": [],
"files": []
},
{
"name": "button",
"manifest": "components/Button.json",
"type": "registry:component",
"title": "Button",
"description": "A Button component",
"registryDependencies": [],
"files": []
}
]
}
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "symfony",
"homepage": "https://symfony.com",
"items": [
{
"name": "badge",
"manifest": "components/Badge.json",
"type": "registry:component",
"title": "Badge",
"description": "A simple badge component",
"registryDependencies": [],
"files": []
},
{
"name": "button",
"manifest": "components/Button.json",
"type": "registry:component",
"title": "Button",
"description": "A Button component",
"registryDependencies": [],
"files": []
}
]
}

0 comments on commit 46bb2ad

Please sign in to comment.