app/components/lookbook/tabs/tab/component.html.erb in lookbook-1.1.1 vs app/components/lookbook/tabs/tab/component.html.erb in lookbook-1.2.0
- old
+ new
@@ -1,7 +1,8 @@
<%= render_component_tag :button,
id: @id,
"x-ref": @name,
+ "data-tab": @name,
class: [
"whitespace-nowrap cursor-pointer pt-2.5 pb-1.5 border-b-2",
{
"px-1": @theme == :toolbar,
"px-2 text-lg relative -bottom-px": @theme == :page,