Class: Ariadne::Component

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
ActionViewExtensions::FormHelper, Audited::Dsl, ClassNameHelper, FetchOrFallbackHelper, LoggerHelper, Status::Dsl, ViewHelper, ViewComponent::SlotableV2
Defined in:
app/components/ariadne/component.rb

Constant Summary collapse

BASE_HTML_CLASSES =
"ariadne-h-full ariadne-scroll-smooth ariadne-bg-white ariadne-antialiased"
BASE_BODY_CLASSES =
"ariadne-flex ariadne-h-full ariadne-flex-col"
BASE_WRAPPER_CLASSES =
"ariadne-flex ariadne-flex-col ariadne-h-screen ariadne-justify-between"
BASE_MAIN_CLASSES =
"ariadne-flex-auto"
INVALID_ARIA_LABEL_TAGS =
[:div, :span, :p].freeze

Constants included from ActionViewExtensions::FormHelper

ActionViewExtensions::FormHelper::DEFAULT_FORM_CLASSES

Constants included from Status::Dsl

Status::Dsl::STATUSES

Constants included from ViewHelper

ViewHelper::HELPERS

Constants included from FetchOrFallbackHelper

FetchOrFallbackHelper::INTEGER_TYPES, FetchOrFallbackHelper::InvalidValueError, FetchOrFallbackHelper::TRUE_OR_FALSE

Method Summary

Methods included from ActionViewExtensions::FormHelper

#ariadne_form_with

Methods included from ClassNameHelper

#class_names

Methods included from LoggerHelper

#logger, #silence_deprecations?, #silence_warnings?

Methods included from FetchOrFallbackHelper

#check_incoming_attribute, #check_incoming_tag, #check_incoming_value, #fetch_or_raise, #fetch_or_raise_boolean, #fetch_or_raise_integer