lesli_view 1.0.3 → 1.0.4
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/lib/lesli_view/components/header.html.erb +1 -1
- data/lib/lesli_view/components/panel.html.erb +1 -1
- data/lib/lesli_view/components/tabs.html.erb +1 -1
- data/lib/lesli_view/components/tabs.scss +6 -2
- data/lib/lesli_view/components/toolbar.html.erb +1 -1
- data/lib/lesli_view/elements/button.html.erb +6 -4
- data/lib/lesli_view/elements/table.html.erb +1 -1
- data/lib/lesli_view/elements/table.scss +1 -1
- data/lib/lesli_view/forms/fields.rb +2 -2
- data/lib/lesli_view/layout/container.html.erb +1 -1
- data/lib/lesli_view/partials/engine_spec.html.erb +10 -12
- data/lib/lesli_view/version.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9514f6d60ee56ac5ceeb4acfb7cd55a806e52fc27d0eab8819aac0eaf65feca
|
4
|
+
data.tar.gz: c379ab881d6997fcedc908e217a3380c130509cbbf9e303c858f6a173a8d1f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9b93ec31104ca2763be55561ad2923f11c91c0d776e1c71442be9486bda61b041a7856d36b27a0b0349e0cf27971ca6e4e8366bc8f02974a8935690f255dcbe
|
7
|
+
data.tar.gz: a1dde4c94d1fe576a7ca7b0e0eb7378981ce1ecb43e85ef374326aaa8cb2cb4a96abad92197e7c1f62f780f8e4c0dfbce16b8aaaf85223b4c925ac639536afda
|
@@ -5,7 +5,7 @@
|
|
5
5
|
back || request.referer || root_path,
|
6
6
|
class: "button is-info is-outlined mr-4",
|
7
7
|
data: { turbo_frame: '_top' }) do %>
|
8
|
-
<span class="material-
|
8
|
+
<span class="material-symbols">arrow_back</span>
|
9
9
|
<% end %>
|
10
10
|
<% end %>
|
11
11
|
<% if title.present? %>
|
@@ -28,11 +28,11 @@
|
|
28
28
|
justify-content: flex-start;
|
29
29
|
padding: 0.75em 1em;
|
30
30
|
border-bottom: none;
|
31
|
-
border-right:
|
31
|
+
border-right: 2px solid transparent;
|
32
32
|
}
|
33
33
|
|
34
34
|
&.is-active a {
|
35
|
-
border-right-color:
|
35
|
+
border-right-color: var(--color-primary);
|
36
36
|
border-bottom-color: transparent;
|
37
37
|
}
|
38
38
|
}
|
@@ -42,4 +42,8 @@
|
|
42
42
|
padding: 1rem;
|
43
43
|
}
|
44
44
|
}
|
45
|
+
|
46
|
+
.tab-items {
|
47
|
+
flex: 1;
|
48
|
+
}
|
45
49
|
}
|
@@ -15,10 +15,12 @@
|
|
15
15
|
<%= content_tag(tag_name, **attributes) do %>
|
16
16
|
<% if icon %>
|
17
17
|
<span class="icon <%= 'is-small' if small %>">
|
18
|
-
<span class="material-
|
18
|
+
<span class="material-symbols"><%= icon %></span>
|
19
19
|
</span>
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
<% unless icon_only? %>
|
21
|
+
<span><%= label %></span>
|
22
|
+
<% end %>
|
23
|
+
<% else %>
|
24
|
+
<%= label %>
|
23
25
|
<% end %>
|
24
26
|
<% end %>
|
@@ -13,7 +13,7 @@
|
|
13
13
|
<span class="icon-text">
|
14
14
|
<span><%= column[:label] %></span>
|
15
15
|
<span class="icon">
|
16
|
-
<span class="material-
|
16
|
+
<span class="material-symbols"><%= column[:field] == @current_sort ? (current_sort_dir(column) == "asc" ? "arrow_upward" : "arrow_downward") : "sort" %></span>
|
17
17
|
</span>
|
18
18
|
</span>
|
19
19
|
<% else %>
|
@@ -78,7 +78,7 @@ module LesliView
|
|
78
78
|
html = "".html_safe
|
79
79
|
if icon.present?
|
80
80
|
html << @template.content_tag(:span, class: "icon") do
|
81
|
-
@template.content_tag(:span, icon, class: "material-
|
81
|
+
@template.content_tag(:span, icon, class: "material-symbols")
|
82
82
|
end
|
83
83
|
end
|
84
84
|
html << @template.content_tag(:span, value) if value.present?
|
@@ -136,7 +136,7 @@ module LesliView
|
|
136
136
|
|
137
137
|
@template.content_tag(:span, class: "icon is-small is-#{position}") do
|
138
138
|
#@template.content_tag(:i, '', class: icon_class)
|
139
|
-
@template.content_tag(:span, icon_class, class: "material-
|
139
|
+
@template.content_tag(:span, icon_class, class: "material-symbols-outlined")
|
140
140
|
end
|
141
141
|
end
|
142
142
|
end
|
@@ -2,6 +2,6 @@
|
|
2
2
|
<!-- app/components/lesli_application_container_component.html.erb -->
|
3
3
|
<turbo-frame
|
4
4
|
id="<%= turbo_frame_id %>"
|
5
|
-
class="lesli-application-container container <%= 'is-fluid' if dashboard %>">
|
5
|
+
class="lesli-application-container container <%= 'is-fluid' if dashboard %> px-0">
|
6
6
|
<%= content %>
|
7
7
|
</turbo-frame>
|
@@ -1,25 +1,23 @@
|
|
1
1
|
|
2
2
|
<style>
|
3
|
-
|
3
|
+
.partial-engine-spec div {
|
4
4
|
border-bottom: 1px solid silver;
|
5
5
|
}
|
6
|
-
|
7
|
-
#about li:nth-child(3),
|
8
|
-
#about li:nth-child(4) {
|
6
|
+
.partial-engine-spec li {
|
9
7
|
font-size: 1.1rem;
|
10
8
|
margin-left: .4rem;
|
11
9
|
}
|
12
10
|
</style>
|
13
11
|
<div class="partial-engine-spec">
|
12
|
+
<div class="mb-3 pb-2">
|
13
|
+
<h5 class="is-title is-size-5 has-text-weight-semibold"><%= engine[:name] %></h5>
|
14
|
+
<p class="is-size-5"><%= engine[:summary] %></p>
|
15
|
+
</div>
|
14
16
|
<ul>
|
15
|
-
<li class="mb-3 pb-2">
|
16
|
-
<h5 class="is-title is-size-5 has-text-weight-semibold"><%= engine[:name] %></h5>
|
17
|
-
<p class="is-size-5"><%= engine[:description] %></p>
|
18
|
-
</li>
|
19
17
|
<li class="mb-2">
|
20
18
|
<span class="icon-text">
|
21
|
-
<span class="material-
|
22
|
-
|
19
|
+
<span class="material-symbols md-24">
|
20
|
+
pest_control
|
23
21
|
</span>
|
24
22
|
<span></span>
|
25
23
|
</span>
|
@@ -27,7 +25,7 @@
|
|
27
25
|
</li>
|
28
26
|
<li class="mb-2">
|
29
27
|
<span class="icon-text">
|
30
|
-
<span class="material-
|
28
|
+
<span class="material-symbols md-24">
|
31
29
|
schedule
|
32
30
|
</span>
|
33
31
|
<span></span>
|
@@ -36,7 +34,7 @@
|
|
36
34
|
</li>
|
37
35
|
<li>
|
38
36
|
<span class="icon-text">
|
39
|
-
<span class="material-
|
37
|
+
<span class="material-symbols md-24">
|
40
38
|
library_books
|
41
39
|
</span>
|
42
40
|
<span></span>
|
data/lib/lesli_view/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lesli_view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Lesli Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: view_component
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.0.0
|
27
27
|
description: Web Elements & Components for The Lesli Framework.
|
28
28
|
email:
|
29
29
|
- hello@lesli.tech
|