app/components/lookbook/tabs/tab/component.html.erb in lookbook-2.0.2 vs app/components/lookbook/tabs/tab/component.html.erb in lookbook-2.0.3

- old
+ new

@@ -13,11 +13,11 @@ 'border-lookbook-tabs-border-active': isSelected($el), 'border-transparent text-lookbook-tabs-text hover:text-lookbook-tabs-text-hover': !isSelected($el), '!text-lookbook-tabs-text-disabled': isDisabled($el), 'invisible pointer-events-none relative z-[-1]': visibleTabsCount < #{@position} }", - "@click.prevent": "selectTab($el)", - "@keydown.window.prevent.#{@hotkey}": @hotkey.present? ? "$el.click()" : nil, + "x-on:click.prevent": "selectTab($el)", + "x-on:keydown.window.prevent.#{@hotkey}": @hotkey.present? ? "$el.click()" : nil, data: { disabled: @disabled }, cloak: true do %> <%== label %>