app/components/lookbook/tabs/component.rb in lookbook-1.4.5 vs app/components/lookbook/tabs/component.rb in lookbook-1.5.0

- old
+ new

@@ -3,10 +3,10 @@ renders_many :tabs, ->(**attrs) do @tab_counter += 1 attrs[:name] ||= "tab-#{@tab_counter}" attrs[:position] ||= @tab_counter attrs[:theme] ||= @theme - dropdown_tab(**attrs) + with_dropdown_tab(**attrs) Lookbook::Tabs::Tab::Component.new(**attrs) end renders_many :dropdown_tabs, ->(name:, **attrs) do Lookbook::Tabs::DropdownTab::Component.new(name: "dropdown-#{name}", **attrs)