Sha256: 17b0ba83105da12149e067ea94af1506e40ec9ee5cb34469d3dbe778f15ef3a8

Contents?: true

Size: 869 Bytes

Versions: 12

Compression:

Stored size: 869 Bytes

Contents

<% class_name = '' unless bound_locals_include?(:class_name, binding)
   position_classes = comp.position.map {|p| "v-typography-position-#{p}"}.join(' ')
%>
<div id="<%= comp.id %>"
     class="v-typography mdc-typography--<%= "#{type}#{comp.level}" %>
           <%= class_name %>
           <%= position_classes %>
           <%= 'v-actionable' if comp.events %>"
     style = "<%= "color: #{comp.color};" if comp.color %>
              <%= "display: inline;" if comp.inline %>"
     <%= partial "components/event", :locals => {comp: comp, events: comp.events, parent_id: comp.event_parent_id} if comp.events&.any? %>>
  <%= partial "components/icon", :locals => {comp: comp.icon} if comp.icon %>
  <%= expand_text(comp.text, markdown: comp.markdown) %>
</div>
<%= partial "components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} if comp.tooltip %>

Version data entries

12 entries across 12 versions & 1 rubygems

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