Class: Shadcn::Sheet::Component

Inherits:
ApplicationViewComponent show all
Includes:
Concerns::ModalRoot
Defined in:
app/components/shadcn/sheet/component.rb

Overview

Port of registry/new-york-v4/ui/sheet.tsx — shadcn builds the Sheet on the very same Radix Dialog primitive, so the port shares its behaviour.

Constant Summary

Constants inherited from ApplicationViewComponent

ApplicationViewComponent::CONTENTS_STYLE, ApplicationViewComponent::VOID_TAGS

Instance Attribute Summary

Attributes inherited from ApplicationViewComponent

#attributes

Method Summary

Methods included from Concerns::ModalRoot

#call, #dismissable?, #element_attributes, included, #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