OctantisWeb.Components.Polaris.ShadowBevel (octantis v0.1.12)

View Source

ShadowBevel A building block for other components such as Card See

Summary

Functions

Attributes

  • box_shadow (:list) - The box-shadow applied to the root element.
  • border_radius (:list) - The border-radius applied to both the root and pseudo elements.
  • z_index (:string) - The z-index applied to the pseudo element. Defaults to "0".
  • bevel (:boolean) - Enable/disable the bevel effect. Note: This also disables the border-radius and box-shadow. Defaults to true.
  • class (:any) - A class name to be added to the component class name. Defaults to "".
  • style (:string) - Style attribute.
  • display (:string) - Style attribute.
  • margin (:string) - Style attribute.
  • max_height (:string) - Style attribute.
  • min_height (:string) - Style attribute.
  • object_fit (:string) - Style attribute.
  • flex_grow (:string) - Style attribute.
  • justify_content (:string) - Style attribute.
  • grid_auto_rows (:string) - Style attribute.
  • grid_template_columns (:string) - Style attribute.
  • grid_template_rows (:string) - Style attribute.
  • align_items (:string) - Style attribute.
  • align_self (:string) - Style attribute.

Slots

  • inner_block (required)

Build Style elements

Functions

shadow_bevel(assigns)

Attributes

  • box_shadow (:list) - The box-shadow applied to the root element.
  • border_radius (:list) - The border-radius applied to both the root and pseudo elements.
  • z_index (:string) - The z-index applied to the pseudo element. Defaults to "0".
  • bevel (:boolean) - Enable/disable the bevel effect. Note: This also disables the border-radius and box-shadow. Defaults to true.
  • class (:any) - A class name to be added to the component class name. Defaults to "".
  • style (:string) - Style attribute.
  • display (:string) - Style attribute.
  • margin (:string) - Style attribute.
  • max_height (:string) - Style attribute.
  • min_height (:string) - Style attribute.
  • object_fit (:string) - Style attribute.
  • flex_grow (:string) - Style attribute.
  • justify_content (:string) - Style attribute.
  • grid_auto_rows (:string) - Style attribute.
  • grid_template_columns (:string) - Style attribute.
  • grid_template_rows (:string) - Style attribute.
  • align_items (:string) - Style attribute.
  • align_self (:string) - Style attribute.

Slots

  • inner_block (required)

style(attrs)

Build Style elements