Class: Polaris::Component

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
ClassNameHelper, FetchOrFallbackHelper, OptionHelper, StylesListHelper, ViewHelper
Defined in:
app/components/polaris/component.rb

Direct Known Subclasses

ActionList::ItemComponent, ActionList::SectionComponent, ActionListComponent, AutocompleteComponent, AvatarComponent, BadgeComponent, BannerComponent, BaseButton, BaseCheckbox, BaseComponent, BaseRadioButton, BleedComponent, BoxComponent, ButtonGroupComponent, ButtonGroupComponent::ButtonGroupItemButtonComponent, ButtonGroupComponent::ButtonGroupItemComponent, CalloutCardComponent, CaptionComponent, Polaris::Card::HeaderComponent, Polaris::Card::SectionComponent, Polaris::Card::SubsectionComponent, CardComponent, CheckboxComponent, ChoiceComponent, ChoiceListComponent, CollapsibleComponent, DataTable::CellComponent, DataTable::ColumnComponent, DataTableComponent, DescriptionListComponent, DescriptionListComponent::DescriptionListItemComponent, DisplayTextComponent, DividerComponent, DropzoneComponent, EmptySearchResultsComponent, EmptyStateComponent, ExceptionList::ItemComponent, ExceptionListComponent, FiltersComponent, FiltersComponent::ItemComponent, FiltersComponent::QueryComponent, FooterHelpComponent, FormLayout::GroupComponent, FormLayout::GroupComponent::GroupItemComponent, FormLayout::ItemComponent, FormLayoutComponent, Frame::SaveBarComponent, Frame::TopBarComponent, FrameComponent, HeadingComponent, HeadlessButton, HorizontalGridComponent, HorizontalStackComponent, IconComponent, IndexTable::CellComponent, IndexTable::ColumnComponent, IndexTableComponent, InlineCodeComponent, InlineComponent, InlineErrorComponent, KeyboardKeyComponent, LabelComponent, LabelledComponent, Layout::AnnotatedSection, Layout::Section, LayoutComponent, LinkComponent, ListComponent, ListComponent::ListItemComponent, Modal::SectionComponent, ModalComponent, Navigation::ItemComponent, Navigation::ItemComponent::SecondaryActionComponent, Navigation::SectionComponent, Navigation::SectionComponent::ActionComponent, NavigationComponent, NavigationListComponent, OptionList::CheckboxComponent, OptionList::OptionComponent, OptionList::RadioButtonComponent, OptionList::SectionComponent, OptionListComponent, PageActionsComponent, PageComponent, PageComponent::ActionGroupComponent, PaginationComponent, PlaceholderComponent, Popover::PaneComponent, Popover::SectionComponent, PopoverComponent, ProgressBarComponent, RadioButtonComponent, ResourceItem::ShortcutActionsComponent, ResourceItem::ShortcutActionsComponent::ShortcutActionsButtonComponent, ResourceItemComponent, ResourceListComponent, ScrollableComponent, SelectComponent, SettingToggleComponent, ShopifyNavigationComponent, ShopifyNavigationComponent::ShopifyNavigationLinkComponent, SkeletonBodyTextComponent, SkeletonDisplayTextComponent, SkeletonPageComponent, SkeletonThumbnailComponent, SpacerComponent, SpinnerComponent, Stack::ItemComponent, StackComponent, SubheadingComponent, Tabs::TabComponent, TabsComponent, TagComponent, TextComponent, TextContainerComponent, TextFieldComponent, TextFieldComponent::Affix, TextStyleComponent, ThumbnailComponent, ToastComponent, TooltipComponent, TopBar::UserMenuComponent, VerticalStackComponent, VisuallyHiddenComponent

Constant Summary

Constants included from ViewHelper

ViewHelper::POLARIS_HELPERS, ViewHelper::POLARIS_TEXT_STYLES

Constants included from FetchOrFallbackHelper

FetchOrFallbackHelper::InvalidValueError

Method Summary

Methods included from ViewHelper

#polaris_body_styles, #polaris_html_classes, #polaris_html_styles, #polaris_icon_source

Methods included from StylesListHelper

#styles_list

Methods included from OptionHelper

#append_option, #prepend_option

Methods included from FetchOrFallbackHelper

#fetch_or_fallback, #fetch_or_fallback_boolean, #fetch_or_fallback_nested

Methods included from ClassNameHelper

#class_names