avo 3.7.1 → 3.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b71babedf80b76c301a1e76767953f9a514e25921a2016cacb12c859422db15
|
4
|
+
data.tar.gz: 1ae761cdfb7201bac56c687c04b857b88520fb4f6e317203dda499b38649388e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f4e74eb8d83cc4f2986a42036bd14b5323a86ab9377c8a0946d2071cf2a252f6745bcbe1e6e320f162dd957f20d86e112357350d3f39672829955575435ff9
|
7
|
+
data.tar.gz: 1ecfd5ebf8db53a389d1a8b1fcb96599cee34a63c951e28429e512c47460c99d6b48576bfda754bf8540e65b9da651c019dd7dbdcd17032d05edf6268f835f1c
|
data/Gemfile.lock
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= content_tag :div, class:
|
1
|
+
<%= content_tag :div, class: @classes, data: @data do %>
|
2
2
|
<div class="py-2 px-6 h-full w-full">
|
3
3
|
<% if @field.as_html %>
|
4
4
|
<%= sanitize @field.value %>
|
@@ -6,6 +6,7 @@ class Avo::Fields::Common::HeadingComponent < ViewComponent::Base
|
|
6
6
|
def initialize(field:)
|
7
7
|
@field = field
|
8
8
|
@view = field.resource.view
|
9
|
+
@classes = "flex items-start py-1 leading-tight bg-gray-100 text-gray-500 text-xs #{@field.get_html(:classes, view: @view, element: :wrapper)}"
|
9
10
|
|
10
11
|
@data = stimulus_data_attributes
|
11
12
|
add_stimulus_attributes_for(field.resource, @data)
|
data/lib/avo/version.rb
CHANGED