lato 3.11.10 → 3.11.11

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: ddd7c01a9cc4fe2d157455aef4dbd490520bfc6202e3fe6b9886bb9c50424ab6
4
- data.tar.gz: 65074da85897c91205dc2f4163d7a9f1d8f8a28625f96a6114b28dd596e04b62
3
+ metadata.gz: 7abffc5a49ac1151620093bbbc20eb6d6ca0f07f8cf743344cf6b5534096313b
4
+ data.tar.gz: d843192122d7b1ea406cbeb1f24870ed12a0fe241cb69f1f15a1a1f0fe6cf3ec
5
5
  SHA512:
6
- metadata.gz: 5e58f5ab69f0a9bd43ccecf90451ff7784925bf29261348a221ab6ebb0e33b06fc2887fb7799390ecad4b3b80c7e6095facd4c5b6503b7c0c1e366de7d806eb4
7
- data.tar.gz: 3bcd8581b91971c86df3fcd7166ddef1978a899759533017ec915107ac019b79f03ee04f45d12841dabf80f4ef1864a274fd645239e2d75a845b1c2ad7c2d294
6
+ metadata.gz: cf8863f913bee9ec716455993de1c158cd154bb4f20bfcfe252e158ed8526979a2c2daba47d566901bb9f6ae09ece88d5dbf18bdda957547a7c4b4d7700408fa
7
+ data.tar.gz: 94a979f232325dd11c41fc657562f21d27ab12ce3744e1573df93fc547938c525847181bcee4e440dbb0113c4bec4551faa265347aab13b16949685c4df100fe
data/README.md CHANGED
@@ -5,15 +5,15 @@
5
5
  Lato is a Rails Engine to deliver a full featured web panel for your [Rails](https://rubyonrails.org/) application.
6
6
 
7
7
  This gem includes:
8
- - User management with full authentication (signin, signup, recover password, email validation, Google Authenticator multi-factor authentication, ETH wallet connection);
9
- - Web panel UI (Navbar, Sidebar, Body) with [Bootstrap](https://getbootstrap.com/) and [Bootstrap Icons](https://icons.getbootstrap.com/) integrated;
10
- - Some UI components ready to use integrated with Rails (data tables, forms, modals, async job executions);
8
+ - User management with **full authentication system** (signin, signup, recover password, email validation, Google Authenticator multi-factor authentication, ETH wallet connection) and **account management** (user settings, password change, email change, etc.);
9
+ - **Web interface** built with [Bootstrap](https://getbootstrap.com/) and [Bootstrap Icons](https://icons.getbootstrap.com/);
10
+ - **UI components integrated with Rails** (data tables, forms, modals, async job executions etc.);
11
11
 
12
- The gem is designed to be easily **customizable and extendable**. You can fully customize the UI and the functionalities of the panel. You can also add new functionalities and components to the panel on the main application or develop new engines to extend the panel.
12
+ The gem is **agnostic to the application stack**. You can use it with different databases (PostgreSQL, MySQL, SQLite), different Job processors (Solid queue, Sidekiq, Delayed Job, etc.), different cache systems (Redis, Memcached, etc.).
13
13
 
14
- The gem is ready to be used with the **latest Rails 7+** features like **[ESM import maps](https://github.com/rails/importmap-rails)**, **[Turbo](https://turbo.hotwired.dev/)** and **[Stimulus](https://stimulus.hotwired.dev)**.
14
+ The gem is designed to be easily **customizable and extendable**. You can fully customize the UI and the functionalities of the panel. You can also add new functionalities and components to the panel on the main application or develop new engines to extend the panel.
15
15
 
16
- The front-end is designed to be responsive, mobile friendly and accessible.
16
+ The gem is ready to be used with the **latest Rails 7+** features like **[ESM import maps](https://github.com/rails/importmap-rails)**, **[Turbo](https://turbo.hotwired.dev/)** and **[Stimulus](https://stimulus.hotwired.dev)**. The front-end is designed to be responsive, mobile friendly and accessible.
17
17
 
18
18
  <img src="./preview.gif" alt="Lato preview" width="100%">
19
19
 
@@ -8,6 +8,15 @@ export default class extends Controller {
8
8
  connect() {
9
9
  this.modal = new bootstrap.Modal(this.element)
10
10
  Turbo.setConfirmMethod(this.customConfirm.bind(this))
11
+
12
+ this.element.style.zIndex = 2001
13
+ this.element.addEventListener('show.bs.modal', () => {
14
+ // update backdrop z-index to be sure is always above other modals
15
+ setTimeout(() => { // use setTimeout because bsModalBackdropElement is not always ready after 'show.bs.modal' event
16
+ const bsModalBackdropElement = this.modal._backdrop._element
17
+ if (bsModalBackdropElement) bsModalBackdropElement.style.zIndex = 2000
18
+ }, 1)
19
+ })
11
20
  }
12
21
 
13
22
  disconnect() {
@@ -52,9 +52,9 @@
52
52
  <%= render 'layouts/lato/aside-opener' %>
53
53
  <% end %>
54
54
 
55
+ <%= render 'layouts/lato/action' %>
55
56
  <%= render 'layouts/lato/confirm' %>
56
57
  <%= render 'layouts/lato/feedbacks' %>
57
- <%= render 'layouts/lato/action' %>
58
58
  <%= render 'layouts/lato/network' %>
59
59
 
60
60
  <%= render 'layouts/lato/foot_content' %>
data/lib/lato/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lato
2
- VERSION = "3.11.10"
2
+ VERSION = "3.11.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lato
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.11.10
4
+ version: 3.11.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregorio Galante