Skip to content

[Toolkit] Update snapshots & fix tests, following #2728 #2735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- Code:
```twig
<twig:AspectRatio ratio="1 / 1" class="max-w-[300px]">
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
alt="Landscape photograph by Tobias Tullius"
class="h-full w-full rounded-md object-cover"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- Code:
```twig
<twig:AspectRatio ratio="1 / 1" class="max-w-[350px]">
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
alt="Landscape photograph by Tobias Tullius"
class="h-full w-full rounded-md object-cover"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
- Code:
```twig
<twig:AspectRatio ratio="16 / 9" class="max-w-[350px]">
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
<img
src="https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80"
alt="Landscape photograph by Tobias Tullius"
class="h-full w-full rounded-md object-cover"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
{{ notification.description }}
</p>
</div>
</div>
</div>
{%- endfor -%}
</twig:Card:Content>
<twig:Card:Footer>
<twig:Button class="w-full">
<twig:ux:icon name="lucide:check" />
<twig:ux:icon name="lucide:check" />
Mark all as read
</twig:Button>
</twig:Card:Footer>
Expand Down Expand Up @@ -78,7 +78,7 @@
</div>
</div>
<div class="flex items-center p-6 pt-0 ">
<button class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg]:size-4 [&amp;_svg]:shrink-0 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2 w-full"><svg xmlns="https://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 6L9 17l-5-5"></path></svg>
<button class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg]:size-4 [&amp;_svg]:shrink-0 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2 w-full"><svg xmlns="https://www.w3.org/2000/svg" viewbox="0 0 24 24" fill="currentColor" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 6L9 17l-5-5"></path></svg>
Mark all as read
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Toolkit/tests/Kit/KitFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function testCanCreateShadKit(): void
$this->assertStringContainsString(<<<'EOF'
# Table

A component for displaying structured data in rows and columns with support for headers, captions, and customizable styling.
A structured grid element that organizes data into rows and columns, supporting headers, captions, and footers.
EOF
, $table->doc->markdownContent);
}
Expand Down
Loading