File tree Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Expand file tree Collapse file tree 1 file changed +19
-15
lines changed Original file line number Diff line number Diff line change 4343 flex-wrap
4444 rounded
4545 gap-2
46+ px-2
4647 `,
4748 border && `
4849 bg-inherit
7071 dark:border-neutral-600
7172 border-neutral-400
7273 `,
73- $slots.left && `pl-2`,
74- $slots.right && `pr-2`,
7574
76- /* ($slots.left || $slots.right) && `px-2`*/
75+
7776 innerWrapperAttrs.class
7877 )"
7978 >
8079 <slot name =" left" v-bind =" slotProps" />
8180 <slot name =" input" v-bind =" { ...inputProps, ...slotProps, suggestionsIndicatorClickHandler }" >
8281 <lib-simple-input
8382 :id =" id"
84- :class =" twMerge(`p-0`, !$slots.left && `pl-2`, !$slots.right && `pr-2`, $attrs.class)"
83+ :class =" twMerge(
84+ `p-0`,
85+ !$slots.left && `-ml-2 pl-2`,
86+ !$slots.right && (!values || values.length === 0) && !suggestions && `-mr-2 -pr-2`,
87+ $attrs.class
88+ )"
8589 v-bind =" inputProps"
8690 />
8791 </slot >
9195 :data-is-open =" isOpen"
9296 :class =" twMerge(
9397 `flex flex-col justify-center`,
94- !$slots.right && (!values || values.length === 0 ) && `pr-1`,
95- isOpen && `rotate-180`)"
98+ )"
9699 @click =" suggestionsIndicatorClickHandler"
97100 >
98- <fa :icon =" 'chevron-up'" />
101+ <fa :class = " isOpen && `rotate-180` " : icon =" 'chevron-up'" />
99102 </div >
100103 </slot >
101104 <slot name =" values" >
127130 <!-- @vue-expect-error -->
128131 <lib-suggestions
129132 class ="
130- border-accent-500
131- absolute
132- inset-x-[-1px]
133- top-full
134- z-10
135- rounded-b
136- border
137- "
133+ border-accent-500
134+ absolute
135+ inset-x-[-1px]
136+ top-full
137+ z-10
138+ rounded-b
139+ border
140+ "
138141 ref =" suggestionsComponent"
139142 v-bind =" suggestionProps"
140143 >
@@ -314,3 +317,4 @@ const suggestionProps = computed(() => ({
314317}))
315318
316319 </script >
320+
You can’t perform that action at this time.
0 commit comments