diff --git a/components/common/accordion/AccordionTrigger.vue b/components/common/accordion/AccordionTrigger.vue index 54081a9..6a212a2 100644 --- a/components/common/accordion/AccordionTrigger.vue +++ b/components/common/accordion/AccordionTrigger.vue @@ -22,7 +22,7 @@ const delegatedProps = computed(() => { v-bind="delegatedProps" :class=" cn( - 'flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180', + 'flex flex-1 items-center bg-transparent justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180', props.class, ) " @@ -31,7 +31,7 @@ const delegatedProps = computed(() => { diff --git a/components/common/collapsible/Collapsible.vue b/components/common/collapsible/Collapsible.vue new file mode 100644 index 0000000..fae7919 --- /dev/null +++ b/components/common/collapsible/Collapsible.vue @@ -0,0 +1,15 @@ + + + diff --git a/components/common/collapsible/CollapsibleContent.vue b/components/common/collapsible/CollapsibleContent.vue new file mode 100644 index 0000000..9f30898 --- /dev/null +++ b/components/common/collapsible/CollapsibleContent.vue @@ -0,0 +1,11 @@ + + + diff --git a/components/common/collapsible/CollapsibleTrigger.vue b/components/common/collapsible/CollapsibleTrigger.vue new file mode 100644 index 0000000..4a43463 --- /dev/null +++ b/components/common/collapsible/CollapsibleTrigger.vue @@ -0,0 +1,11 @@ + + + diff --git a/components/common/collapsible/index.ts b/components/common/collapsible/index.ts new file mode 100644 index 0000000..abab956 --- /dev/null +++ b/components/common/collapsible/index.ts @@ -0,0 +1,3 @@ +export { default as Collapsible } from './Collapsible.vue' +export { default as CollapsibleContent } from './CollapsibleContent.vue' +export { default as CollapsibleTrigger } from './CollapsibleTrigger.vue'