Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Toolkit/bin/ux-toolkit-kit-debug
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (!class_exists(Application::class)) {
}

$filesystem = new Filesystem();
$kitSynchronizer = new KitSynchronizer($filesystem, new RecipeSynchronizer($filesystem));
$kitSynchronizer = new KitSynchronizer($filesystem, new RecipeSynchronizer());
$kitFactory = new KitFactory($filesystem, $kitSynchronizer);

(new Application())->add($command = new DebugKitCommand($kitFactory))
Expand Down
1 change: 1 addition & 0 deletions src/Toolkit/kits/shadcn/AlertDialog/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"name": "AlertDialog",
"description": "A modal dialog that interrupts the user with important content and expects a response.",
"copy-files": {
"assets/": "assets/",
"templates/": "templates/"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Toolkit/src/Kit/KitContextRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function findAnonymousComponentTemplate(string $name): ?string
{
foreach ($this->kit->getRecipes(type: RecipeType::Component) as $recipe) {
foreach ($recipe->getFiles() as $file) {
if (str_ends_with($file->sourceRelativePathName, str_replace(':', '/', $name).'.html.twig')) {
if (str_ends_with($file->sourceRelativePathName, 'templates/components/'.str_replace(':', '/', $name).'.html.twig')) {
return $file->sourceRelativePathName;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ <h4 class="text-sm font-medium leading-none">Symfony UX</h4>
Symfony UX initiative: a JavaScript ecosystem for Symfony
</p>
</div>
<li class="[&amp;&gt;svg]:w-3.5 [&amp;&gt;svg]:h-3.5 my-4" role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"></path></svg></li>
<div class="shrink-0 bg-border h-[1px] w-full my-4" role="none">
</div>

<div class="flex h-5 items-center space-x-4 text-sm">
<a href="https://ux.symfony.com" class="hover:underline">Website</a>
<li class="[&amp;&gt;svg]:w-3.5 [&amp;&gt;svg]:h-3.5 " orientation="vertical" role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"></path></svg></li>
<div class="shrink-0 bg-border h-full w-[1px]" role="none">
</div>

<a href="https://ux.symfony.com/packages" class="hover:underline">Packages</a>
<li class="[&amp;&gt;svg]:w-3.5 [&amp;&gt;svg]:h-3.5 " orientation="vertical" role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"></path></svg></li>
<div class="shrink-0 bg-border h-full w-[1px]" role="none">
</div>

<a href="https://github.com/symfony/ux" class="hover:underline">Source</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
- Rendered code (prettified for testing purposes, run "php vendor/bin/phpunit -d --update-snapshots" to update snapshots): -->
<div class="flex h-5 items-center gap-4 text-sm">
<div>Blog</div>
<li class="[&amp;&gt;svg]:w-3.5 [&amp;&gt;svg]:h-3.5 " orientation="vertical" role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"></path></svg></li>
<div class="shrink-0 bg-border h-full w-[1px]" role="none">
</div>

<div>Docs</div>
<li class="[&amp;&gt;svg]:w-3.5 [&amp;&gt;svg]:h-3.5 " orientation="vertical" role="presentation" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6z"></path></svg></li>
<div class="shrink-0 bg-border h-full w-[1px]" role="none">
</div>

<div>Source</div>
</div>
Loading