117 Commits

Author SHA1 Message Date
Hugo Alliaume
5175d712ba [Toolkit] Embrace html_attr_type from twig/html-extra:^3.24 to correctly merge trigger's attributes
Related to #3408
2026-03-23 22:15:37 +01:00
DcgRG
ee284e0f6e [Toolkit][Shadcn] Add Tabs recipe v2.33.0 v2.34.0 2026-03-15 20:08:45 +01:00
Sylvain Gagnot
521ee7cfbb [Toolkit][Shadcn] Fix initial "open" state for AlertDialog and Dialog 2026-03-15 15:52:04 +01:00
Sylvain Gagnot
8ddc2d6f56 (Shadcn] Fix Tooltip's wrapper when re-rendered by LiveComponent 2026-03-12 21:22:50 +01:00
Hugo Alliaume
6e6f1d12cc Fix CI 2026-02-26 13:39:55 +01:00
seb-jean
eafb1fe3c4 [Toolkit] Fix tailwind_merge parentheses and simplify attributes rendering in shadcn templates 2026-02-19 09:44:42 +01:00
Hugo Alliaume
7bd523ce69 [Toolkit] Rewrite @prop documentation to normalize Defaults to ...
Related to https://github.com/symfony/ux.symfony.com/issues/15
2026-02-17 15:03:54 +01:00
Hugo Alliaume
ed142563ca [Toolkit] Improve @prop and @block annotations description 2026-02-13 17:25:40 +01:00
Hugo Alliaume
caefb68e17 [Toolkit][Avatar] Update templates 2026-02-08 17:22:42 +01:00
Romain Monteil
33ff421cb9 [Toolkit][Shadcn] Update Avatar component 2026-02-04 09:52:28 +01:00
Hugo Alliaume
8569c92d64 Drop Biome.js for oxfmt and oxlint 2026-02-03 23:14:09 +01:00
Hugo Alliaume
00c850e511 Run PHP-CS-Fixer (no_useless_else & static_lambda) 2026-02-03 22:36:24 +01:00
Romain Monteil
451df48ed4 [Toolkit][Shadcn] Update Alert CSS class, add Alert:Action component 2026-01-31 07:49:29 +01:00
Hugo Alliaume
0dd1c3bc8b [Toolkit][Shadcn] Add Tooltip component 2026-01-29 23:10:33 +01:00
daFish81
6cf3db992d [Toolkit][Shadcn] Add Accordion recipe 2026-01-27 07:34:22 +01:00
Hugo Alliaume
34c05b89e5 [Toolkit] Fix Field demo code 2026-01-27 07:20:52 +01:00
Hugo Alliaume
56e474a740 [Toolkit][Shadcn] Fix InputGroup example 2026-01-23 07:15:43 +01:00
Hugo Alliaume
18a62ff0a2 [Toolkit][Shadcn] Update snapshots 2026-01-17 11:57:22 +01:00
Hugo Alliaume
8dcb2c7154 [Toolkit][Shadcn] Rework templates of textarea recipe 2026-01-17 11:57:21 +01:00
Hugo Alliaume
dc4ded83a5 [Toolkit][Shadcn] Rework templates of table recipe 2026-01-17 11:57:21 +01:00
Hugo Alliaume
9d020b5e5f [Toolkit][Shadcn] Rework templates of input-group recipe 2026-01-17 11:57:21 +01:00
Hugo Alliaume
4dab15b9a5 [Toolkit][Shadcn] Rework templates of checkbox recipe 2026-01-17 11:53:22 +01:00
Hugo Alliaume
cd79d0ef7a [Toolkit][Shadcn] Rework templates of card recipe 2026-01-17 11:53:13 +01:00
Hugo Alliaume
f55bcdb5f6 [Toolkit][Shadcn] Rework templates of badge recipe 2026-01-17 11:53:04 +01:00
Hugo Alliaume
35dc82517c [Toolkit][Shadcn] Rework templates of avatar recipe 2026-01-17 11:52:31 +01:00
Hugo Alliaume
afaec955f1 [Toolkit][Shadcn] Rework many components examples 2026-01-17 11:48:33 +01:00
Hugo Alliaume
0a24a35c26 [Toolkit][Shadcn] Fix text color in dark mode for AlertDialog/Dialog components
Cherry-picked from https://github.com/symfony/ux/pull/3299
2026-01-16 08:28:11 +01:00
Hugo Alliaume
37fe5e0bf0 bug #3291 [Toolkit][Shadcn] Fix text color of Badge destructive variant (Jibbarth)
This PR was merged into the 2.x branch.

Discussion
----------

 [Toolkit][Shadcn] Fix text color of `Badge` destructive variant

| Q              | A
| -------------- | ---
| Bug fix?       | yes
| New feature?   | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations?  | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Documentation? | no <!-- required for new features, or documentation updates -->
| Issues         | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License        | MIT

See https://ux.symfony.com/toolkit/kits/shadcn/components/badge

<img width="1127" height="303" alt="image" src="https://github.com/user-attachments/assets/97450c66-fbb2-4881-ba8d-bfbbf1bcb530" />

Vs shadcn website https://ui.shadcn.com/docs/components/badge
<img width="409" height="124" alt="image" src="https://github.com/user-attachments/assets/ebebd1c4-d70c-431c-92da-f07a73ebf273" />

Commits
-------

0c9e0deb590 Fix text-color for destructive badge
2026-01-11 18:49:06 +01:00
Jibé Barth
c1cbc4840f Fix text-color for destructive badge 2026-01-11 14:04:16 +01:00
Jérémy Romey
f580195ea5 [Toolkit] Prepare base for recipe type "Block" 2026-01-11 13:31:12 +01:00
Hugo Alliaume
b0598b30be [CI] Fix compatibility issues with Symfony 8 and spatie/phpunit-snapshot-assertions 2026-01-10 01:02:57 +01:00
Jérémy Romey
c515a60a25 [Tookit] fix display of recipe name 2026-01-08 20:52:09 +01:00
Jérémy Romey
e1ec3d8d0a fix(tookit): fix getRecipes method with type 2026-01-08 20:23:08 +01:00
Hugo Alliaume
0eb35e8e4e [Site] Wording on Shadcn installation 2026-01-05 16:30:17 +01:00
Hugo Alliaume
cff57505d1 [Toolkit][Shadcn] Update CSS file v2.32.0 2026-01-01 09:05:17 +01:00
Hugo Alliaume
da247b2451 [Site] Rework Toolkit recipe rendering system, improve our Markdown converter 2025-12-31 08:35:21 +01:00
Hugo Alliaume
ddd40a6c08 minor #3251 Truly leverage PHP-CS-Fixer and Twig-CS-Fixer to Fabbot (Kocal)
This PR was merged into the 2.x branch.

Discussion
----------

 Truly leverage PHP-CS-Fixer and Twig-CS-Fixer to Fabbot

| Q              | A
| -------------- | ---
| Bug fix?       | no
| New feature?   | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations?  | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md -->
| Documentation? | no <!-- required for new features, or documentation updates -->
| Issues         | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License        | MIT

Follows https://github.com/symfony/ux/pull/3249.

This PR move all PHP-CS-Fixer and Twig-CS-Fixer configuration files (except the one from `ux.symfony.com/`), and now runs on `src/*` and `apps/*`, thanks to Fabbot.

It requires https://github.com/symfony-tools/fabbot/pull/12 for Twig files

Commits
-------

823d5fd6dd3 Truly leverage PHP-CS-Fixer and Twig-CS-Fixer to Fabbot
2025-12-30 21:33:04 +01:00
Hugo Alliaume
722789a60b [Toolkit] Fix forgotten documentation links, follows #3097 2025-12-26 19:08:12 +01:00
Hugo Alliaume
e16497b812 Truly leverage PHP-CS-Fixer and Twig-CS-Fixer to Fabbot 2025-12-25 10:25:01 +01:00
Marcus Stöhr
4d39619eae feat(toolkit): add input-group component for shadcn kit 2025-12-14 12:43:18 +01:00
Hugo Alliaume
765361ce33 feature #3215 [Toolkit][Shadcn] add ButtonGroup component (bernard-ng)
This PR was merged into the 2.x branch.

Discussion
----------

[Toolkit][Shadcn] add ButtonGroup component

| Q              | A
| -------------- | ---
| Bug fix?       | no
| New feature?   | yes
| Deprecations?  | no
| Documentation? | no
| License        | MIT

Add ButtonGroup, A container that groups related buttons together with consistent styling.
ref: https://ui.shadcn.com/docs/components/button-group

---
<img width="1128" height="348" alt="Screenshot 2025-12-05 at 02 29 31" src="https://github.com/user-attachments/assets/3a1e002f-0254-48fd-a93e-efcea0f1dbea" />
<img width="1120" height="319" alt="Screenshot 2025-12-05 at 02 29 39" src="https://github.com/user-attachments/assets/07420003-5a08-40f3-a7e5-f64b942d6a44" />
<img width="1122" height="533" alt="Screenshot 2025-12-05 at 02 29 46" src="https://github.com/user-attachments/assets/67b19fda-1ef3-450c-9985-71b546fd919a" />
<img width="1129" height="358" alt="Screenshot 2025-12-05 at 02 30 04" src="https://github.com/user-attachments/assets/06bbccbe-e179-41d6-ac45-142fcdae4273" />

Commits
-------

e0f0c6ec2f9 [Toolkit][Shadcn] add ButtonGroup component
2025-12-06 06:00:36 +09:00
bernard-ng
33b910a373 [Toolkit][Shadcn] add ButtonGroup component 2025-12-06 05:56:25 +09:00
Hugo Alliaume
bc21fdff4d feature #3214 [Toolkit][Shadcn] add Field component (bernard-ng)
This PR was merged into the 2.x branch.

Discussion
----------

[Toolkit][Shadcn] add Field component

| Q              | A
| -------------- | ---
| Bug fix?       | no
| New feature?   | yes
| Deprecations?  | no
| Documentation? | no
| License        | MIT

Add Field, Combine labels, controls, and help text to compose accessible form fields and grouped inputs.
ref: https://ui.shadcn.com/docs/components/field

---

<img width="1122" height="609" alt="Screenshot 2025-12-05 at 02 02 22" src="https://github.com/user-attachments/assets/ed601f5d-8efd-4d04-b132-999ce3e4b791" />
<img width="1138" height="510" alt="Screenshot 2025-12-05 at 02 02 31" src="https://github.com/user-attachments/assets/e5c2e8ca-0009-48e7-bebc-4657d032c04c" />
<img width="1135" height="515" alt="Screenshot 2025-12-05 at 02 02 43" src="https://github.com/user-attachments/assets/facf275e-a651-42d2-b006-e2ca306592d6" />
<img width="1144" height="358" alt="Screenshot 2025-12-05 at 02 02 56" src="https://github.com/user-attachments/assets/8d2e96cb-7a44-458a-bc5b-a35ebf08f11a" />

Commits
-------

047995ac756 [Toolkit][Shadcn] add Field component
2025-12-06 05:43:03 +09:00
bernard-ng
d28819b529 [Toolkit][Shadcn] add Field component 2025-12-06 05:35:35 +09:00
bernard-ng
d56fc570a4 [Toolkit][Shadcn] add Empty component 2025-12-05 01:08:17 +02:00
Hugo Alliaume
c41d9c27f0 Git-ignore config/reference.php 2025-12-02 08:12:06 +01:00
Hugo Alliaume
aa10271484 feature #3198 [Toolkit][Kdb] Add new component kdb from shadcn ui (Tassilo Gröper)
This PR was merged into the 2.x branch.

Discussion
----------

[Toolkit][Kdb] Add new component kdb from shadcn ui

| Q              | A
| -------------- | ---
| Bug fix?       | no
| New feature?   | no
| Deprecations?  | no
| Documentation? | no
| Issues         | Fix #...
| License        | MIT

Adding new kdb component from https://ui.shadcn.com/docs/components/kbd

Commits
-------

49d3eb2e5d0 [Toolkit][Kdb] Add new component kdb from shadcn ui
2025-11-29 15:20:27 +01:00
Tassilo Gröper
8e8f10fb5b bug symfony#3197 [Toolkit][Badge] Remove hover style to clearly distinguish from Button (Tassilo Gröper)
This PR was merged into the 2.x branch.

Discussion
----------

[Toolkit][Badge] Remove hover style to clearly distinguish from Button

| Q              | A
| -------------- | ---
| Bug fix?       | yes
| New feature?   | no
| Deprecations?  | no
| Documentation? | no
| Issues         |
| License        | MIT

Confusion may occur, if the badge shows a different style on mouse hover. As it is not a button, we need to remove it.

Additionally, the badge component on Shadcn does not hold hover styles, when interacted with a mouse. see  https://ui.shadcn.com/docs/components/badge

Commits
-------

f14635b [Toolkit][Badge] Remove hover style to clearly distinguish badge from button
2025-11-29 15:15:02 +01:00
Tassilo Gröper
00081e74be [Toolkit][Kdb] Add new component kdb from shadcn ui 2025-11-29 15:04:48 +01:00
Hugo Alliaume
f89ed0322a [Toolkit] Pin tales-from-a-dev/twig-tailwind-extra to ^1.0.0 2025-11-27 00:46:43 +01:00