web47core 3.2.24 → 3.2.26
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/app/helpers/core_menu_helper.rb +2 -2
- data/app/helpers/core_remix_icon_helper.rb +4 -4
- data/lib/web47core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a66d1fbac7369f88da678797d7b63b773fe01b87785fb46abd3804659bfd02ca
|
4
|
+
data.tar.gz: e8408a7ef05b0cf58a3cac2b874fd634a3f9150890974179295408f8b9a36750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7966772deac475f9a957c1786dda8fe70f7f97255f57e8e52db59f81f42d8d0ca94a30c1abc6d79f4480488dddf161d8ae4443885f3758cfc597cad4d8e12a6e
|
7
|
+
data.tar.gz: 4352d9be6e219651087a4ab7a8ed7660ad6ed0bb15e177f12483d5c66ba37441426390033a9cba1776c74b8c03caa1875a4baf8fc3266aa9bd0f3efcb0b62fcd
|
@@ -64,8 +64,8 @@ module CoreMenuHelper
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def main_menu(&block)
|
67
|
-
content_tag(:div, id: 'main-menu') do
|
68
|
-
concat(content_tag(:ul, class: 'menu-inner
|
67
|
+
content_tag(:div, id: 'main-menu', class: 'menu menu-vertical bg-menu-theme py-4') do
|
68
|
+
concat(content_tag(:ul, class: 'menu-inner') do
|
69
69
|
yield block
|
70
70
|
end)
|
71
71
|
end
|
@@ -5,13 +5,13 @@
|
|
5
5
|
#
|
6
6
|
module CoreRemixIconHelper
|
7
7
|
def menu_remix_icon(icon_name, classes: [], type: :line, tooltip_text: nil, tooltip_placement: 'top')
|
8
|
-
classes += %w[menu-icon
|
9
|
-
remix_icon(icon_name, classes: classes, type: type, tooltip_text: tooltip_text, tooltip_placement: tooltip_placement)
|
8
|
+
classes += %w[menu-icon]
|
9
|
+
remix_icon(icon_name, classes: classes, type: type, tooltip_text: tooltip_text, tooltip_placement: tooltip_placement, size: 20)
|
10
10
|
end
|
11
11
|
|
12
12
|
# Render a material icon tag
|
13
|
-
def remix_icon(icon_name, classes: [], type: :line, tooltip_text: nil, tooltip_placement: 'top')
|
14
|
-
classes
|
13
|
+
def remix_icon(icon_name, classes: [], type: :line, tooltip_text: nil, tooltip_placement: 'top', size: 14)
|
14
|
+
classes += ['ri', 'icon-base', "ri-#{icon_name}-#{type}", "icon-#{size}px"]
|
15
15
|
options = { class: classes }
|
16
16
|
if tooltip_text.present?
|
17
17
|
options['data-bs-toggle'] = 'tooltip'
|
data/lib/web47core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: web47core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Schroeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|