Sha256: 31f943fd6e3c5504738648c6658acad21e51f39d71b90f7bf23fe7df0c95b4ec
Contents?: true
Size: 738 Bytes
Versions: 16
Compression:
Stored size: 738 Bytes
Contents
<%= render_component_tag class: "flex items-center relative" do %> <div x-ref="tabs" class="<%= class_names [ "flex items-stretch select-none min-w-0", { "h-10 space-x-6": @theme == :toolbar, "space-x-3": @theme == :page, } ] %>"> <%= safe_join(tabs) %> </div> <div x-ref="dropdownTrigger" class="absolute" x-show="hasHiddenTabs" :style="{left: `${triggerLeft}px`}"> <%= render_component :button, icon: :chevrons_right, "x-show": "visibleTabsCount > 0" %> <%= render_component :button, icon: :menu, class: "-ml-3", "x-show": "visibleTabsCount === 0" %> </div> <div class="hidden"> <div x-ref="tabsDropdown" data-cloak> <%= safe_join(dropdown_tabs) %> </div> </div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems