lato 3.22.0 → 3.22.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 +4 -4
- data/README.md +1 -0
- data/app/assets/javascripts/lato/controllers/lato_tooltip_controller.js +4 -0
- data/lib/lato/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 796d69a53a77b898ae602cfe54f33604397c9505eb623ecf84d77985b3086bf4
|
|
4
|
+
data.tar.gz: c72842a56b5856f10a3a7be6d5cbe4bd0c8d9ddd192d4a61118ea6c77cc936b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 12b9391e20a74ef9ddfc9cd875bef64bc872186d57db3f8017a8f7595719f767056ca4eca8e7f249db5c7b0b4dde6946f7cf077130eebb54e19ef0987c2845dc
|
|
7
|
+
data.tar.gz: f1bd4870565a2a65bf58ec632412c914e2137db77a4d210e07939dbb3afedfd275b4485f7c5b3608900b6fc53b40500c8e55bf86a6c1317cda88bf9b16237c09
|
data/README.md
CHANGED
|
@@ -34,6 +34,7 @@ The idea behind Lato is to create an eco-system of engines that can improve the
|
|
|
34
34
|
- [Lato Settings](https://github.com/Lato-org/lato_settings): manage application settings from the UI panel;
|
|
35
35
|
- [Lato Storage](https://github.com/Lato-org/lato_storage): manage storage (Active Storage data) from the UI panel;
|
|
36
36
|
- [Lato Users](https://github.com/Lato-org/lato_users): manage users from the UI panel;
|
|
37
|
+
- [Lato CMS](https://github.com/Lato-org/lato_cms): manage web pages from the UI panel;
|
|
37
38
|
|
|
38
39
|
## Installation
|
|
39
40
|
Add required dependencies to your application's Gemfile:
|
|
@@ -8,6 +8,10 @@ export default class extends Controller {
|
|
|
8
8
|
connect() {
|
|
9
9
|
this.tooltip = new bootstrap.Tooltip(this.element)
|
|
10
10
|
|
|
11
|
+
// Always close the tooltip when its trigger element is clicked, since the
|
|
12
|
+
// click may move the element and leave the tooltip stuck in the old position
|
|
13
|
+
this.element.addEventListener('click', () => this.tooltip.hide())
|
|
14
|
+
|
|
11
15
|
// HACK: Force tooltip to be closed when a boostrap modal is opened/closed
|
|
12
16
|
const modals = document.querySelectorAll('.modal')
|
|
13
17
|
modals.forEach((modal) => {
|
data/lib/lato/version.rb
CHANGED