rails_modal_manager 1.0.22 → 1.0.23

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: 032a86086504f8c412e82ef62eb31bd7447655e4a650e908cd8e4977e130120f
4
- data.tar.gz: 6461e3d90bcb1b5ad9a0800bf220c3aa23153804ba766c9525ab250a5380d4d7
3
+ metadata.gz: 5acdc1ed0ff36aa9e8ae422cd42805e56097b6941fe386ab7b87848361b52fb5
4
+ data.tar.gz: ffe3cb57ec99a2027269d834f7578c392556b3e70fbe1ef964258227ffb89038
5
5
  SHA512:
6
- metadata.gz: 1657eb5b735b2a9ca6d602250a7d0929ab0cb0de155f3c8549aebce77d01d7311abfd5caed4f0f3c7a2262882320ffe9a410a933e6366e352d57a357d9fa5d05
7
- data.tar.gz: cc5ed42014d8ea7011b940bf01d4471359de3a65f81096e032dbf1dbf750567754332bb26169aa92e7d8d4426ebc2f62897d34afd095f51680027d24a576b099
6
+ metadata.gz: ed14825f59aea0340a4db2a3c2fac3ee375ba89107984a38a2e4740bf489ef26bca0e1d94d7ee45b979656f11396388d95dbdf2c36602bd9405439b5c24ee7fd
7
+ data.tar.gz: 33f3c11beccdc87a491c8afadfd1c81e9417aa98fe56f3cdf5f7c414a0a6ecb7837d7f55a190b27ccaa6ce0b9803975afc98775f24c4cf3ed2d40dedd9ad5d38
@@ -3,12 +3,13 @@
3
3
 
4
4
  Locals:
5
5
  modal_id: String - The modal ID
6
- items: Array - Menu items [{id:, label:, icon_svg:, badge:, active:, disabled:, panel_id:, submenu_id:}]
6
+ items: Array - Menu items [{id:, label:, icon_svg:, badge:, active:, disabled:, panel_id:, submenu_id:, title:}]
7
7
  collapsed: Boolean - Initially collapsed (default: false)
8
8
 
9
9
  Item options:
10
10
  - panel_id: ID of the content panel to show when selected
11
11
  - submenu_id: ID of the submenu group to show when selected
12
+ - title: Tooltip text shown on hover
12
13
  %>
13
14
  <%
14
15
  modal_id ||= ""
@@ -35,6 +36,7 @@
35
36
  data-item-label="<%= item[:label] %>"
36
37
  <% if item[:panel_id].present? %>data-panel-id="<%= item[:panel_id] %>"<% end %>
37
38
  <% if item[:submenu_id].present? %>data-submenu-id="<%= item[:submenu_id] %>"<% end %>
39
+ <% if item[:title].present? %>title="<%= item[:title] %>"<% end %>
38
40
  data-action="click->rmm-sidebar#selectItem"
39
41
  <% if item[:disabled] %>aria-disabled="true"<% end %>>
40
42
  <% if item[:icon_svg].present? %>
@@ -3,7 +3,7 @@
3
3
 
4
4
  Locals:
5
5
  modal_id: String - The modal ID
6
- items: Array - Menu items [{id:, label:, icon_svg:, active:, disabled:, panel_id:, url:}]
6
+ items: Array - Menu items [{id:, label:, icon_svg:, active:, disabled:, panel_id:, url:, title:}]
7
7
  load_mode: String - 'preload' (default) or 'ajax'
8
8
  cache_ajax: Boolean - Cache AJAX responses (default: true)
9
9
 
@@ -39,6 +39,7 @@
39
39
  data-item-label="<%= item[:label] %>"
40
40
  <% if item[:panel_id].present? %>data-panel-id="<%= item[:panel_id] %>"<% end %>
41
41
  <% if item[:url].present? %>data-url="<%= item[:url] %>"<% end %>
42
+ <% if item[:title].present? %>title="<%= item[:title] %>"<% end %>
42
43
  data-action="click->rmm-submenu#selectItem"
43
44
  <% if item[:disabled] %>disabled<% end %>>
44
45
  <% if item[:icon_svg].present? %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsModalManager
4
- VERSION = "1.0.22"
4
+ VERSION = "1.0.23"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_modal_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - reshacs