From 725c1156c29b5340be323a172e33d2ef2c15271f Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Mon, 23 Mar 2026 21:28:31 +0100 Subject: [PATCH] [Toolkit] Embrace `html_attr_type` from `twig/html-extra:^3.24` to correctly merge trigger's attributes Related to #3408 --- src/Toolkit/CHANGELOG.md | 8 ++ src/Toolkit/composer.json | 4 +- .../alert-dialog/examples/Demo.html.twig | 2 +- .../examples/Opened by default.html.twig | 2 +- .../alert-dialog/examples/Usage.html.twig | 2 +- .../examples/With Tooltip.html.twig | 27 +++++++ .../kits/shadcn/alert-dialog/manifest.json | 7 +- .../components/AlertDialog/Trigger.html.twig | 4 +- .../examples/Custom close button.html.twig | 4 +- .../shadcn/dialog/examples/Demo.html.twig | 4 +- .../examples/Opened by default.html.twig | 4 +- .../shadcn/dialog/examples/Usage.html.twig | 2 +- .../dialog/examples/With Tooltip.html.twig | 38 +++++++++ src/Toolkit/kits/shadcn/dialog/manifest.json | 5 +- .../components/Dialog/Close.html.twig | 4 +- .../components/Dialog/Trigger.html.twig | 4 +- .../shadcn/tooltip/examples/Demo.html.twig | 2 +- .../examples/Disabled Button.html.twig | 2 +- .../shadcn/tooltip/examples/Side.html.twig | 2 +- .../shadcn/tooltip/examples/Usage.html.twig | 2 +- .../examples/With Keyboard Shortcut.html.twig | 2 +- src/Toolkit/kits/shadcn/tooltip/manifest.json | 7 +- .../components/Tooltip/Trigger.html.twig | 4 +- ... alert-dialog, code file Demo.html__1.html | 2 +- ..., code file Opened by default.html__1.html | 2 +- ...alert-dialog, code file Usage.html__1.html | 2 +- ...ialog, code file With Tooltip.html__1.html | 55 +++++++++++++ ...code file Custom close button.html__1.html | 4 +- ...ponent dialog, code file Demo.html__1.html | 4 +- ..., code file Opened by default.html__1.html | 4 +- ...onent dialog, code file Usage.html__1.html | 2 +- ...ialog, code file With Tooltip.html__1.html | 81 +++++++++++++++++++ ...onent tooltip, code file Demo.html__1.html | 2 +- ...ip, code file Disabled Button.html__1.html | 2 +- ...onent tooltip, code file Side.html__1.html | 2 +- ...nent tooltip, code file Usage.html__1.html | 2 +- ...e file With Keyboard Shortcut.html__1.html | 2 +- 37 files changed, 264 insertions(+), 44 deletions(-) create mode 100644 src/Toolkit/kits/shadcn/alert-dialog/examples/With Tooltip.html.twig create mode 100644 src/Toolkit/kits/shadcn/dialog/examples/With Tooltip.html.twig create mode 100644 src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file With Tooltip.html__1.html create mode 100644 src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file With Tooltip.html__1.html diff --git a/src/Toolkit/CHANGELOG.md b/src/Toolkit/CHANGELOG.md index 8efadb9ae..9515c09e8 100644 --- a/src/Toolkit/CHANGELOG.md +++ b/src/Toolkit/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 2.35.0 + +- [Shadcn] Use `html_attr_type` filter from `twig/html-extra:^3.24` for composable trigger attributes +- [Shadcn] Rename `trigger_attrs` to `alert_dialog_trigger_attrs` in `AlertDialog:Trigger` +- [Shadcn] Rename `trigger_attrs` to `dialog_trigger_attrs` in `Dialog:Trigger` +- [Shadcn] Rename `close_attrs` to `dialog_close_attrs` in `Dialog:Close` +- [Shadcn] Rename `trigger_attrs` to `tooltip_trigger_attrs` in `Tooltip:Trigger` + ## 2.33.0 - [Shadcn] Add `accordion` recipe diff --git a/src/Toolkit/composer.json b/src/Toolkit/composer.json index 987072fff..f99443172 100644 --- a/src/Toolkit/composer.json +++ b/src/Toolkit/composer.json @@ -41,8 +41,8 @@ }, "require-dev": { "symfony/finder": "^6.4|^7.0|^8.0", - "twig/extra-bundle": "^3.19|^4.0", - "twig/html-extra": "^3.19", + "twig/extra-bundle": "^3.24|^4.0", + "twig/html-extra": "^3.24", "zenstruck/console-test": "^1.7", "symfony/http-client": "^6.4|^7.0|^8.0", "symfony/stopwatch": "^6.4|^7.0|^8.0", diff --git a/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig b/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig index 2c9478b33..62f1a1ceb 100644 --- a/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig +++ b/src/Toolkit/kits/shadcn/alert-dialog/examples/Demo.html.twig @@ -1,6 +1,6 @@ - Show Dialog + Show Dialog diff --git a/src/Toolkit/kits/shadcn/alert-dialog/examples/Opened by default.html.twig b/src/Toolkit/kits/shadcn/alert-dialog/examples/Opened by default.html.twig index 6ff2160d2..423aed290 100644 --- a/src/Toolkit/kits/shadcn/alert-dialog/examples/Opened by default.html.twig +++ b/src/Toolkit/kits/shadcn/alert-dialog/examples/Opened by default.html.twig @@ -1,6 +1,6 @@ - Show Dialog + Show Dialog diff --git a/src/Toolkit/kits/shadcn/alert-dialog/examples/Usage.html.twig b/src/Toolkit/kits/shadcn/alert-dialog/examples/Usage.html.twig index 2c9478b33..62f1a1ceb 100644 --- a/src/Toolkit/kits/shadcn/alert-dialog/examples/Usage.html.twig +++ b/src/Toolkit/kits/shadcn/alert-dialog/examples/Usage.html.twig @@ -1,6 +1,6 @@ - Show Dialog + Show Dialog diff --git a/src/Toolkit/kits/shadcn/alert-dialog/examples/With Tooltip.html.twig b/src/Toolkit/kits/shadcn/alert-dialog/examples/With Tooltip.html.twig new file mode 100644 index 000000000..0ec9fffd7 --- /dev/null +++ b/src/Toolkit/kits/shadcn/alert-dialog/examples/With Tooltip.html.twig @@ -0,0 +1,27 @@ + + + + + + Delete Account + + + +

This will permanently delete your account

+
+
+
+ + + Are you absolutely sure? + + This action cannot be undone. This will permanently delete your + account and remove your data from our servers. + + + + Cancel + Continue + + +
diff --git a/src/Toolkit/kits/shadcn/alert-dialog/manifest.json b/src/Toolkit/kits/shadcn/alert-dialog/manifest.json index 0a6cc671f..f9e445186 100644 --- a/src/Toolkit/kits/shadcn/alert-dialog/manifest.json +++ b/src/Toolkit/kits/shadcn/alert-dialog/manifest.json @@ -9,6 +9,11 @@ }, "dependencies": { "recipe": ["button"], - "composer": ["twig/extra-bundle", "twig/html-extra:^3.12.0", "tales-from-a-dev/twig-tailwind-extra:^1.0.0"] + "composer": [ + "twig/extra-bundle", + "twig/html-extra:^3.24.0", + "tales-from-a-dev/twig-tailwind-extra:^1.0.0", + "symfony/ux-twig-component:^2.35" + ] } } diff --git a/src/Toolkit/kits/shadcn/alert-dialog/templates/components/AlertDialog/Trigger.html.twig b/src/Toolkit/kits/shadcn/alert-dialog/templates/components/AlertDialog/Trigger.html.twig index 92b274a81..335bf5be5 100644 --- a/src/Toolkit/kits/shadcn/alert-dialog/templates/components/AlertDialog/Trigger.html.twig +++ b/src/Toolkit/kits/shadcn/alert-dialog/templates/components/AlertDialog/Trigger.html.twig @@ -1,6 +1,6 @@ {# @block content The trigger element (e.g., a `Button`) that opens the dialog when clicked #} -{%- set trigger_attrs = { - 'data-action': 'click->alert-dialog#open', +{%- set alert_dialog_trigger_attrs = { + 'data-action': 'click->alert-dialog#open'|html_attr_type('sst'), 'data-alert-dialog-target': 'trigger', 'aria-haspopup': 'dialog', 'aria-expanded': 'false', diff --git a/src/Toolkit/kits/shadcn/dialog/examples/Custom close button.html.twig b/src/Toolkit/kits/shadcn/dialog/examples/Custom close button.html.twig index 0968c7928..925a9a5dc 100644 --- a/src/Toolkit/kits/shadcn/dialog/examples/Custom close button.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/examples/Custom close button.html.twig @@ -1,6 +1,6 @@ - Share + Share @@ -17,7 +17,7 @@ - + Close diff --git a/src/Toolkit/kits/shadcn/dialog/examples/Demo.html.twig b/src/Toolkit/kits/shadcn/dialog/examples/Demo.html.twig index 2a7a7af5b..11aca2320 100644 --- a/src/Toolkit/kits/shadcn/dialog/examples/Demo.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/examples/Demo.html.twig @@ -1,6 +1,6 @@ - Open Dialog + Open Dialog @@ -21,7 +21,7 @@ - Cancel + Cancel Save changes diff --git a/src/Toolkit/kits/shadcn/dialog/examples/Opened by default.html.twig b/src/Toolkit/kits/shadcn/dialog/examples/Opened by default.html.twig index b4c2891a6..78cda654b 100644 --- a/src/Toolkit/kits/shadcn/dialog/examples/Opened by default.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/examples/Opened by default.html.twig @@ -1,6 +1,6 @@ - Open Dialog + Open Dialog @@ -21,7 +21,7 @@ - Cancel + Cancel Save changes diff --git a/src/Toolkit/kits/shadcn/dialog/examples/Usage.html.twig b/src/Toolkit/kits/shadcn/dialog/examples/Usage.html.twig index fbf70b380..0e1d4101d 100644 --- a/src/Toolkit/kits/shadcn/dialog/examples/Usage.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/examples/Usage.html.twig @@ -1,6 +1,6 @@ - Open + Open diff --git a/src/Toolkit/kits/shadcn/dialog/examples/With Tooltip.html.twig b/src/Toolkit/kits/shadcn/dialog/examples/With Tooltip.html.twig new file mode 100644 index 000000000..0ea530292 --- /dev/null +++ b/src/Toolkit/kits/shadcn/dialog/examples/With Tooltip.html.twig @@ -0,0 +1,38 @@ + + + + + + Edit Profile + + + +

A super useful tooltip

+
+
+
+ + + Edit profile + + Make changes to your profile here. Click save when you're done. + + +
+
+ Name + +
+
+ Username + +
+
+ + + Cancel + + Save changes + +
+
diff --git a/src/Toolkit/kits/shadcn/dialog/manifest.json b/src/Toolkit/kits/shadcn/dialog/manifest.json index 914f9930f..ffc340636 100644 --- a/src/Toolkit/kits/shadcn/dialog/manifest.json +++ b/src/Toolkit/kits/shadcn/dialog/manifest.json @@ -11,8 +11,9 @@ "composer": [ "symfony/ux-icons", "twig/extra-bundle", - "twig/html-extra:^3.12.0", - "tales-from-a-dev/twig-tailwind-extra:^1.0.0" + "twig/html-extra:^3.24.0", + "tales-from-a-dev/twig-tailwind-extra:^1.0.0", + "symfony/ux-twig-component:^2.35" ] } } diff --git a/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Close.html.twig b/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Close.html.twig index 26414a164..0436178b2 100644 --- a/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Close.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Close.html.twig @@ -1,5 +1,5 @@ {# @block content The close trigger element (e.g., a `Button`) that closes the dialog when clicked #} -{%- set close_attrs = { - 'data-action': 'click->dialog#close', +{%- set dialog_close_attrs = { + 'data-action': 'click->dialog#close'|html_attr_type('sst'), } -%} {%- block content %}{% endblock -%} diff --git a/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Trigger.html.twig b/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Trigger.html.twig index 1e56b0d96..66eac8338 100644 --- a/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Trigger.html.twig +++ b/src/Toolkit/kits/shadcn/dialog/templates/components/Dialog/Trigger.html.twig @@ -1,6 +1,6 @@ {# @block content The trigger element (e.g., a `Button`) that opens the dialog when clicked #} -{%- set trigger_attrs = { - 'data-action': 'click->dialog#open', +{%- set dialog_trigger_attrs = { + 'data-action': 'click->dialog#open'|html_attr_type('sst'), 'data-dialog-target': 'trigger', 'aria-haspopup': 'dialog', } -%} diff --git a/src/Toolkit/kits/shadcn/tooltip/examples/Demo.html.twig b/src/Toolkit/kits/shadcn/tooltip/examples/Demo.html.twig index ef7566570..4f3a9129d 100644 --- a/src/Toolkit/kits/shadcn/tooltip/examples/Demo.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/examples/Demo.html.twig @@ -1,6 +1,6 @@ - Hover + Hover

Add to library

diff --git a/src/Toolkit/kits/shadcn/tooltip/examples/Disabled Button.html.twig b/src/Toolkit/kits/shadcn/tooltip/examples/Disabled Button.html.twig index 1b27cc80e..d65f91291 100644 --- a/src/Toolkit/kits/shadcn/tooltip/examples/Disabled Button.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/examples/Disabled Button.html.twig @@ -1,6 +1,6 @@ - Disabled + Disabled

This feature is currently unavailable

diff --git a/src/Toolkit/kits/shadcn/tooltip/examples/Side.html.twig b/src/Toolkit/kits/shadcn/tooltip/examples/Side.html.twig index b391c169a..0cff17c02 100644 --- a/src/Toolkit/kits/shadcn/tooltip/examples/Side.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/examples/Side.html.twig @@ -2,7 +2,7 @@ {% for side in ['left', 'top', 'bottom', 'right'] %} - + {{ side|capitalize }} diff --git a/src/Toolkit/kits/shadcn/tooltip/examples/Usage.html.twig b/src/Toolkit/kits/shadcn/tooltip/examples/Usage.html.twig index b76a162a5..210b3ec93 100644 --- a/src/Toolkit/kits/shadcn/tooltip/examples/Usage.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/examples/Usage.html.twig @@ -1,6 +1,6 @@ - Hover + Hover

Add to library

diff --git a/src/Toolkit/kits/shadcn/tooltip/examples/With Keyboard Shortcut.html.twig b/src/Toolkit/kits/shadcn/tooltip/examples/With Keyboard Shortcut.html.twig index 57a2e79d7..da3dc301f 100644 --- a/src/Toolkit/kits/shadcn/tooltip/examples/With Keyboard Shortcut.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/examples/With Keyboard Shortcut.html.twig @@ -1,6 +1,6 @@ - + diff --git a/src/Toolkit/kits/shadcn/tooltip/manifest.json b/src/Toolkit/kits/shadcn/tooltip/manifest.json index 286e5734a..dd8c62dd2 100644 --- a/src/Toolkit/kits/shadcn/tooltip/manifest.json +++ b/src/Toolkit/kits/shadcn/tooltip/manifest.json @@ -8,6 +8,11 @@ "templates/": "templates/" }, "dependencies": { - "composer": ["twig/extra-bundle", "twig/html-extra:^3.12.0", "tales-from-a-dev/twig-tailwind-extra:^1.0.0"] + "composer": [ + "twig/extra-bundle", + "twig/html-extra:^3.24.0", + "tales-from-a-dev/twig-tailwind-extra:^1.0.0", + "symfony/ux-twig-component:^2.35" + ] } } diff --git a/src/Toolkit/kits/shadcn/tooltip/templates/components/Tooltip/Trigger.html.twig b/src/Toolkit/kits/shadcn/tooltip/templates/components/Tooltip/Trigger.html.twig index 965833cd3..0f92db7a9 100644 --- a/src/Toolkit/kits/shadcn/tooltip/templates/components/Tooltip/Trigger.html.twig +++ b/src/Toolkit/kits/shadcn/tooltip/templates/components/Tooltip/Trigger.html.twig @@ -1,9 +1,9 @@ {# @block content The element that triggers the tooltip on hover/focus #} -{%- set trigger_attrs = { +{%- set tooltip_trigger_attrs = { id: _tooltip_trigger_id, 'aria-describedby': _tooltip_content_id, 'data-slot': 'tooltip-trigger', 'data-tooltip-target': 'trigger', - 'data-action': 'mouseenter->tooltip#show mouseleave->tooltip#hide focus->tooltip#show blur->tooltip#hide', + 'data-action': 'mouseenter->tooltip#show mouseleave->tooltip#hide focus->tooltip#show blur->tooltip#hide'|html_attr_type('sst'), } -%} {%- block content %}{% endblock -%} diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Demo.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Demo.html__1.html index 6073f5c6f..cc9c58861 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Demo.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Demo.html__1.html @@ -5,7 +5,7 @@ ```twig - Show Dialog + Show Dialog diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Opened by default.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Opened by default.html__1.html index 4cb857b31..d0d23e58f 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Opened by default.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Opened by default.html__1.html @@ -5,7 +5,7 @@ ```twig - Show Dialog + Show Dialog diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Usage.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Usage.html__1.html index 6073f5c6f..cc9c58861 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Usage.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file Usage.html__1.html @@ -5,7 +5,7 @@ ```twig - Show Dialog + Show Dialog diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file With Tooltip.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file With Tooltip.html__1.html new file mode 100644 index 000000000..df008e906 --- /dev/null +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component alert-dialog, code file With Tooltip.html__1.html @@ -0,0 +1,55 @@ + +
+
+ + +
+

Are you absolutely sure?

+

This action cannot be undone. This will permanently delete your + account and remove your data from our servers. +

+
+
+ +
+
+
\ No newline at end of file diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Custom close button.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Custom close button.html__1.html index 1aa5a8454..3e9d9026c 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Custom close button.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Custom close button.html__1.html @@ -5,7 +5,7 @@ ```twig - Share + Share @@ -22,7 +22,7 @@ - + Close diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Demo.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Demo.html__1.html index 6416877d2..b38c8bde8 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Demo.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Demo.html__1.html @@ -5,7 +5,7 @@ ```twig - Open Dialog + Open Dialog @@ -26,7 +26,7 @@ - Cancel + Cancel Save changes diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Opened by default.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Opened by default.html__1.html index 35b0e9e73..781ec69fe 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Opened by default.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Opened by default.html__1.html @@ -5,7 +5,7 @@ ```twig - Open Dialog + Open Dialog @@ -26,7 +26,7 @@ - Cancel + Cancel Save changes diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Usage.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Usage.html__1.html index aac1e442d..98d3af95a 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Usage.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file Usage.html__1.html @@ -5,7 +5,7 @@ ```twig - Open + Open diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file With Tooltip.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file With Tooltip.html__1.html new file mode 100644 index 000000000..fcf9d1263 --- /dev/null +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component dialog, code file With Tooltip.html__1.html @@ -0,0 +1,81 @@ + +
+
+ + +
+

Edit profile

+

Make changes to your profile here. Click save when you're done. +

+
+
+
+ + + +
+
+ + + +
+
+
+ +
+ +
+
\ No newline at end of file diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Demo.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Demo.html__1.html index 3251fffaf..91cee964c 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Demo.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Demo.html__1.html @@ -5,7 +5,7 @@ ```twig - Hover + Hover

Add to library

diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Disabled Button.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Disabled Button.html__1.html index d1b60bbd5..8f872f284 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Disabled Button.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Disabled Button.html__1.html @@ -5,7 +5,7 @@ ```twig - Disabled + Disabled

This feature is currently unavailable

diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Side.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Side.html__1.html index 22660ae92..7deebcfcb 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Side.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Side.html__1.html @@ -7,7 +7,7 @@ {% for side in ['left', 'top', 'bottom', 'right'] %} - + {{ side|capitalize }} diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Usage.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Usage.html__1.html index 0452a925a..c9564aefd 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Usage.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file Usage.html__1.html @@ -5,7 +5,7 @@ ```twig - Hover + Hover

Add to library

diff --git a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file With Keyboard Shortcut.html__1.html b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file With Keyboard Shortcut.html__1.html index 8e48bc2d5..b631cf534 100644 --- a/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file With Keyboard Shortcut.html__1.html +++ b/src/Toolkit/tests/Functional/__snapshots__/ComponentsRenderingTest__testComponentRendering with data set Kit shadcn, component tooltip, code file With Keyboard Shortcut.html__1.html @@ -5,7 +5,7 @@ ```twig - +