diff --git a/src/theme/accordion.ts b/src/theme/accordion.ts index dfb1bbd9..a2eed4cc 100644 --- a/src/theme/accordion.ts +++ b/src/theme/accordion.ts @@ -6,7 +6,7 @@ export default { trigger: 'group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary-500 dark:focus-visible:outline-primary-400', content: 'text-sm pb-3.5 data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none', leadingIcon: 'shrink-0 size-5', - trailingIcon: 'ms-auto size-5 group-data-[state=open]:rotate-180 transition-transform duration-200', + trailingIcon: 'shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200', label: 'truncate' }, variants: { diff --git a/test/components/__snapshots__/Accordion.spec.ts.snap b/test/components/__snapshots__/Accordion.spec.ts.snap index 4e5545bd..10ff9d81 100644 --- a/test/components/__snapshots__/Accordion.spec.ts.snap +++ b/test/components/__snapshots__/Accordion.spec.ts.snap @@ -3,37 +3,37 @@ exports[`Accordion > renders with as correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -44,37 +44,37 @@ exports[`Accordion > renders with as correctly 1`] = ` exports[`Accordion > renders with class correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -85,37 +85,37 @@ exports[`Accordion > renders with class correctly 1`] = ` exports[`Accordion > renders with collapsible correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -126,37 +126,37 @@ exports[`Accordion > renders with collapsible correctly 1`] = ` exports[`Accordion > renders with content slot correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -167,37 +167,37 @@ exports[`Accordion > renders with content slot correctly 1`] = ` exports[`Accordion > renders with custom slot correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -249,35 +249,35 @@ exports[`Accordion > renders with default slot correctly 1`] = ` exports[`Accordion > renders with defaultValue correctly 1`] = ` "
-

+

-

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.
-

+

-

+

-

+

-

+

@@ -288,37 +288,37 @@ exports[`Accordion > renders with defaultValue correctly 1`] = ` exports[`Accordion > renders with disabled correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -329,37 +329,37 @@ exports[`Accordion > renders with disabled correctly 1`] = ` exports[`Accordion > renders with items correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -370,37 +370,37 @@ exports[`Accordion > renders with items correctly 1`] = ` exports[`Accordion > renders with label slot correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -411,37 +411,37 @@ exports[`Accordion > renders with label slot correctly 1`] = ` exports[`Accordion > renders with leading slot correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -452,35 +452,35 @@ exports[`Accordion > renders with leading slot correctly 1`] = ` exports[`Accordion > renders with modelValue correctly 1`] = ` "
-

+

-

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.
-

+

-

+

-

+

-

+

@@ -532,37 +532,37 @@ exports[`Accordion > renders with trailing slot correctly 1`] = ` exports[`Accordion > renders with trailingIcon correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+

@@ -573,37 +573,37 @@ exports[`Accordion > renders with trailingIcon correctly 1`] = ` exports[`Accordion > renders with type correctly 1`] = ` "
-

+

-

+

-

+

-

+

-

+

-

+