diff --git a/src/Toolkit/CHANGELOG.md b/src/Toolkit/CHANGELOG.md
index f9b96a35f39..142a587381a 100644
--- a/src/Toolkit/CHANGELOG.md
+++ b/src/Toolkit/CHANGELOG.md
@@ -1,5 +1,14 @@
# CHANGELOG
+## 2.33.0
+
+- [Shadcn] Rework templates of `avatar` recipe
+- [Shadcn] Rework templates of `badge` recipe
+- [Shadcn] Rework templates of `card` recipe
+- [Shadcn] Rework templates of `input-group` recipe
+- [Shadcn] Rework templates of `table` recipe
+- [Shadcn] Rework templates of `textarea` recipe
+
## 2.29.0
- Add Symfony 8 support
diff --git a/src/Toolkit/CONTRIBUTING.md b/src/Toolkit/CONTRIBUTING.md
index c31cf6da913..d8606b175fe 100644
--- a/src/Toolkit/CONTRIBUTING.md
+++ b/src/Toolkit/CONTRIBUTING.md
@@ -42,7 +42,7 @@ A kit is composed of several recipes, each providing Twig components, styles, an
- A folder for each recipe provided by the kit, e.g., `button/` for the Button recipe
4. Each recipe directory contains:
- A `manifest.json` file containing metadata about the recipe: its type, name, description, files to copy, dependencies, etc.
- - An `EXAMPLES.md` file with usage examples (used by the UX Website)
+ - A folder `examples/` containing Twig files, it is used for Toolkit tests and previews on UX website
- Based on the "files to copy" setting, the kit may contain subdirectories such as:
- `templates/components/` for Twig components
- `assets/controllers/` for Stimulus controllers
@@ -59,7 +59,8 @@ You can then preview your changes by navigating to the relevant sections in the
Tests use snapshots to ensure that the kits and their recipes work as expected and to prevent regressions.
-Snapshots are created from all Twig code examples provided in each recipe's `EXAMPLES.md` file. The Twig code examples are rendered in an isolated environment.
+Snapshots are created from all Twig code examples provided in each recipe's `examples/` folder.
+The Twig code examples are rendered in an isolated environment.
The rendered output is then compared to stored snapshots to ensure that the kit's recipes work as expected.
diff --git a/src/Toolkit/kits/shadcn/alert-dialog/EXAMPLES.md b/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig
similarity index 76%
rename from src/Toolkit/kits/shadcn/alert-dialog/EXAMPLES.md
rename to src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig
index 390a266e659..2c9478b337b 100644
--- a/src/Toolkit/kits/shadcn/alert-dialog/EXAMPLES.md
+++ b/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig
@@ -1,18 +1,13 @@
-# Examples
-
-## Default
-
-```twig {"preview":true,"height":"500px"}
Please verify your billing information and try again.
+Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, quos.
-- {{ notification.title }} -
-- {{ notification.description }} -
-Card Content
+Card Footer
++ By clicking this checkbox, you agree to the terms and conditions. +
++ Enable notifications +
++ You can enable or disable notifications at any time. +
+
- Use
-
+ Use
+
- Symfony UX initiative: a JavaScript ecosystem for Symfony -
-+ Seamlessly integrate JavaScript tools into your application. +
+| {%- block content %}{% endblock -%} diff --git a/src/Toolkit/kits/shadcn/table/templates/components/Table/Footer.html.twig b/src/Toolkit/kits/shadcn/table/templates/components/Table/Footer.html.twig index 61067c00ae9..03df4bc0ca0 100644 --- a/src/Toolkit/kits/shadcn/table/templates/components/Table/Footer.html.twig +++ b/src/Toolkit/kits/shadcn/table/templates/components/Table/Footer.html.twig @@ -1,6 +1,7 @@ {# @block content The default block #} |
{%- block content %}{% endblock -%}
diff --git a/src/Toolkit/kits/shadcn/table/templates/components/Table/Header.html.twig b/src/Toolkit/kits/shadcn/table/templates/components/Table/Header.html.twig
index 57be7505375..ec2d929f05e 100644
--- a/src/Toolkit/kits/shadcn/table/templates/components/Table/Header.html.twig
+++ b/src/Toolkit/kits/shadcn/table/templates/components/Table/Header.html.twig
@@ -1,6 +1,7 @@
{# @block content The default block #}
{%- block content %}{% endblock -%}
diff --git a/src/Toolkit/kits/shadcn/table/templates/components/Table/Row.html.twig b/src/Toolkit/kits/shadcn/table/templates/components/Table/Row.html.twig
index c59459c031c..9269ca000e2 100644
--- a/src/Toolkit/kits/shadcn/table/templates/components/Table/Row.html.twig
+++ b/src/Toolkit/kits/shadcn/table/templates/components/Table/Row.html.twig
@@ -1,6 +1,7 @@
{# @block content The default block #}
-
-```
-
-## Disabled
-
-```twig {"preview":true}
-
+
diff --git a/src/Toolkit/kits/shadcn/textarea/examples/With Text.html.twig b/src/Toolkit/kits/shadcn/textarea/examples/With Text.html.twig
new file mode 100644
index 00000000000..96491092bd4
--- /dev/null
+++ b/src/Toolkit/kits/shadcn/textarea/examples/With Text.html.twig
@@ -0,0 +1,7 @@
+
+
diff --git a/src/Toolkit/kits/shadcn/textarea/templates/components/Textarea.html.twig b/src/Toolkit/kits/shadcn/textarea/templates/components/Textarea.html.twig
index de9dc96e35b..81107a5eda2 100644
--- a/src/Toolkit/kits/shadcn/textarea/templates/components/Textarea.html.twig
+++ b/src/Toolkit/kits/shadcn/textarea/templates/components/Textarea.html.twig
@@ -1,6 +1,6 @@
{# @block content The default block #}
+ Your message will be copied to the support team. + + |
|---|