Class: Shadcn::Menubar::SubTrigger::Component

Inherits:
DropdownMenu::SubTrigger::Component show all
Defined in:
app/components/shadcn/menubar/sub_trigger/component.rb

Overview

Its own file for two differences from the dropdown's, both one token wide and both upstream's: outline-none where the dropdown writes outline-hidden, and a chevron sized h-4 w-4 where the dropdown writes size-4 (menubar.tsx:238). The same size, spelled differently — and parity_spec compares tokens, so the spelling is the port.

Constant Summary

Constants inherited from ApplicationViewComponent

ApplicationViewComponent::CONTENTS_STYLE, ApplicationViewComponent::VOID_TAGS

Instance Attribute Summary

Attributes inherited from DropdownMenu::SubTrigger::Component

#disabled, #inset

Attributes inherited from ApplicationViewComponent

#attributes

Method Summary

Methods inherited from DropdownMenu::SubTrigger::Component

#call, #element_attributes, #initialize

Methods inherited from ApplicationViewComponent

#call, #css_classes, default_tag, #element_attributes, #initialize, #merged_style, #render_element, #shadcn_t, slot_name, #style_variants, #tag_name

Constructor Details

This class inherits a constructor from Shadcn::DropdownMenu::SubTrigger::Component