lato 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1204c0f4f11643453ea8559142d0d766a9d2dded036c36c70f12561488431358
|
4
|
+
data.tar.gz: 63c6ac5ad05b64e373ba7700e27a9a338fe0c060e73e833569b58e95b58136db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '019091bbe49d0479b679b79bb013c5d6ff2668a08f5a28e790e8fb481eee3b3e1224b954b2941334df1fa04285203e99f4e66d541bc08931ee614e866a6e48f8'
|
7
|
+
data.tar.gz: 4adbe1e81145ba4a84b22d47c8655ecb068dcafe58ae600cb213ece7fd4d6099d876cd1d3a1e7d0b26c714572fae8bbb3096db31548ec026823411c1c37f23e5
|
data/README.md
CHANGED
@@ -84,10 +84,7 @@ export default class extends Controller {
|
|
84
84
|
this.modalBodyTargets[index].innerHTML = `
|
85
85
|
<turbo-frame id="${options.turboFrame}">
|
86
86
|
<div class="placeholder-glow">
|
87
|
-
|
88
|
-
<span class="placeholder placeholder-lg col-12"></span>
|
89
|
-
<span class="placeholder placeholder-lg col-12"></span>
|
90
|
-
<span class="placeholder placeholder-lg col-12"></span>
|
87
|
+
${Array(options.actionRows).fill().map(() => `<span class="placeholder placeholder-lg col-12"></span>`).join('')}
|
91
88
|
</div>
|
92
89
|
</turbo-frame>
|
93
90
|
`
|
@@ -115,6 +112,8 @@ export default class extends Controller {
|
|
115
112
|
options.turboFrame = element.getAttribute('data-turbo-frame')
|
116
113
|
options.actionTitle = element.getAttribute('data-action-title')
|
117
114
|
options.actionSize = element.getAttribute('data-action-size')
|
115
|
+
options.actionRows = element.getAttribute('data-action-rows')
|
116
|
+
options.actionRows = options.actionRows ? parseInt(options.actionRows) : 4
|
118
117
|
return options
|
119
118
|
}
|
120
119
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<nav id="nav" class="navbar <%= Lato.btstrap.navbar %>">
|
2
2
|
<div class="<%= Lato.btstrap.navbar_container %>">
|
3
|
-
<%= link_to root_path, class: "navbar-brand" do %>
|
3
|
+
<%= link_to main_app.root_path, class: "navbar-brand" do %>
|
4
4
|
<%= render 'layouts/lato/navbar-brand_content' %>
|
5
5
|
<% end %>
|
6
6
|
|
data/lib/lato/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregorio Galante
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|