From 4223e1c869814ac15b99e233085a17dcdb1962a7 Mon Sep 17 00:00:00 2001 From: Jimmy <101801301+JimmyHoenderdaal@users.noreply.github.com> Date: Mon, 18 May 2026 14:56:37 +0200 Subject: [PATCH 1/2] Add supports to transition discrete --- resources/views/components/accordion/accordion.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/accordion/accordion.blade.php b/resources/views/components/accordion/accordion.blade.php index e958aa23..65cfc10b 100644 --- a/resources/views/components/accordion/accordion.blade.php +++ b/resources/views/components/accordion/accordion.blade.php @@ -42,7 +42,7 @@ @slots(['label', 'content', 'icon'])
twMerge('group/details details-content:h-0 details-content:overflow-clip details-content:transition-[height,content-visibility] details-content:transition-discrete details-content:duration-200 open:details-content:h-auto') }} + {{ $attributes->twMerge('group/details details-content:h-0 details-content:overflow-clip details-content:transition-[height,content-visibility] supports-[transition:discrete]:details-content:transition-discrete details-content:duration-200 open:details-content:h-auto') }} > attributes->twMerge('flex items-center font-medium py-3.5 cursor-pointer list-none') }}> {{ $label }} From b48adbc61c3bd165d19b91b040ff7cd36a4d4797 Mon Sep 17 00:00:00 2001 From: JimmyHoenderdaal Date: Mon, 18 May 2026 12:57:12 +0000 Subject: [PATCH 2/2] Update demo --- demo/components.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/demo/components.html b/demo/components.html index 69fe6e22..9e009aa5 100644 --- a/demo/components.html +++ b/demo/components.html @@ -5,7 +5,7 @@ @@ -367,7 +367,7 @@

Default usage

Question 1 @@ -381,7 +381,7 @@

Default usage

Question 2 @@ -397,7 +397,7 @@

Default usage

Single open 1 @@ -411,7 +411,7 @@

Default usage

Single open 2 @@ -435,7 +435,7 @@

Accordion with custom icon

Question 1 @@ -452,7 +452,7 @@

Accordion with custom icon

Question 2 @@ -478,7 +478,7 @@

Accordion without icon

Question 1 @@ -490,7 +490,7 @@

Accordion without icon

Question 2