Sha256: 8c9f918c7ae1aa2369739c574858760449b4e9b250dfc2eb3b1f1754d0076855

Contents?: true

Size: 832 Bytes

Versions: 12

Compression:

Stored size: 832 Bytes

Contents

<details id = '<%= comp.id %>' class="v-expansion mdc-elevation--z3"<% if comp.open %> open<% end %>>
  <summary class="v-expansion__summary">
    <% if comp.text&.text %>
      <%= partial "components/typography", :locals => {comp: comp.text, class_name: 'v-expansion__header', type: 'text', inline: comp.text&.inline} if comp.text %>
    <% end %>
    <% if comp.secondary_text&.text %>
      <%= partial "components/typography", :locals => {comp: comp.secondary_text, class_name: 'v-expansion__secondary-content', type: 'text', inline: comp.secondary_text&.inline} if comp.secondary_text%>
    <% end %>
  </summary>
  <div class="v-expansion__content">
    <%= partial "components/render", :locals => {:components => comp.content.components, :scope=> nil} if comp.content &&  comp.content.components.any? %>
  </div>
</details>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.11 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.10 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.9 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.8 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.7 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.6 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.5 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.4 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.3 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.2 views/mdc/components/_expansion_panel.erb
coprl-3.0.0.beta.1 views/mdc/components/_expansion_panel.erb