feat : Ajout du composant autoComplete + fix composant select + update playground
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
:aria-controls="`${componentId}-panel-${tab.key}`"
|
||||
:tabindex="activeTab === tab.key ? 0 : -1"
|
||||
:class="[
|
||||
'flex items-center gap-[18px] text-[24px] font-medium transition-colors cursor-pointer',
|
||||
'flex items-center gap-[18px] text-[24px] font-[600] transition-colors cursor-pointer',
|
||||
activeTab === tab.key
|
||||
? 'border-b-2 border-m-primary text-m-primary font-bold outline-b'
|
||||
? 'border-b-2 border-m-primary text-m-primary outline-b'
|
||||
: 'border-transparent text-m-primary/50 hover:text-m-primary/70',
|
||||
]"
|
||||
@click="selectTab(tab.key)"
|
||||
@@ -24,7 +24,7 @@
|
||||
<IconifyIcon
|
||||
v-if="tab.icon"
|
||||
:icon="tab.icon"
|
||||
:width="20"
|
||||
:width="tab.iconSize ?? 24"
|
||||
/>
|
||||
{{ tab.label }}
|
||||
</button>
|
||||
@@ -53,6 +53,7 @@ type Tab = {
|
||||
key: string
|
||||
label: string
|
||||
icon?: string
|
||||
iconSize?: string
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
|
||||
Reference in New Issue
Block a user