lato 3.18.0 → 3.18.1
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: 0e61b931ff0b3fe86aa8c722e1ca3b016be7799e935d072979de181a4e025b89
|
|
4
|
+
data.tar.gz: 487f4fc01d7f58be47a74556498922f05230869998d91cfb95459d766746d118
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f82274922dc305b1e19a506b7958fd0c89dbb52ad00923bb1b9d1e72b16002a6f8e71bac6b4fde9f1af4ae4eb56884be3056b3ac5e99a735b9ecfb4fbb5a3acb
|
|
7
|
+
data.tar.gz: c8db5342fd6e9aa26b298ac91a9ed939907e8b02499603b4e5b2359f3b1cb9c891028d7f7d344c858f07cce16e9275c33a2de16c94538591db5a6b7fa5481737
|
|
@@ -123,11 +123,11 @@ export default class extends Controller {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
if (options.actionSize) {
|
|
126
|
-
this.modalDialogTargets[index].classList.
|
|
127
|
-
} else {
|
|
128
|
-
this.modalDialogTargets[index].classList.remove('modal-lg')
|
|
126
|
+
this.modalDialogTargets[index].classList.remove('modal-md')
|
|
129
127
|
this.modalDialogTargets[index].classList.remove('modal-xl')
|
|
128
|
+
this.modalDialogTargets[index].classList.remove('modal-lg')
|
|
130
129
|
this.modalDialogTargets[index].classList.remove('modal-sm')
|
|
130
|
+
this.modalDialogTargets[index].classList.add(`modal-${options.actionSize}`)
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
this.bsModals[index].show()
|
|
@@ -138,7 +138,7 @@ export default class extends Controller {
|
|
|
138
138
|
const options = {}
|
|
139
139
|
options.turboFrame = element.getAttribute('data-turbo-frame')
|
|
140
140
|
options.actionTitle = element.getAttribute('data-action-title')
|
|
141
|
-
options.actionSize = element.getAttribute('data-action-size')
|
|
141
|
+
options.actionSize = element.getAttribute('data-action-size') || 'md'
|
|
142
142
|
options.actionRows = element.getAttribute('data-action-rows')
|
|
143
143
|
options.actionRows = options.actionRows ? parseInt(options.actionRows) : 4
|
|
144
144
|
return options
|
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: 3.18.
|
|
4
|
+
version: 3.18.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gregorio Galante
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|