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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c11fa431aebcd01ea428fca7456f85bb413362e2628abcf8fe47713669c3665b
4
- data.tar.gz: ce403d885861edae5b4f54674f3ee9663b5bb33aa4c068cb7257e8107441e63b
3
+ metadata.gz: b9514f6d60ee56ac5ceeb4acfb7cd55a806e52fc27d0eab8819aac0eaf65feca
4
+ data.tar.gz: c379ab881d6997fcedc908e217a3380c130509cbbf9e303c858f6a173a8d1f0d
5
5
  SHA512:
6
- metadata.gz: 55c9d51b01fc424318afa81c3011039c0a28ec1e177ed623e1f072d841a0f7237b32f69e89e7065af74fd07f4157ef2ac4351277dd66a338037ccb7c8ee1a3a0
7
- data.tar.gz: 193224534e62c6dc8aa3bca39370acf45c6c9c2b852854779ad75214fdf0653332823bfbffc3b5809a19a06eb7a280a380aa794b589664d6e4c22ac96dad6923
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-icons">arrow_back</span>
8
+ <span class="material-symbols">arrow_back</span>
9
9
  <% end %>
10
10
  <% end %>
11
11
  <% if title.present? %>
@@ -25,7 +25,7 @@
25
25
  </h5>
26
26
  </div>
27
27
  <div class="hover" x-on:click="status = !status">
28
- <span class="material-icons md-24">
28
+ <span class="material-symbols md-24">
29
29
  arrow_forward_ios
30
30
  </span>
31
31
  </div>
@@ -9,7 +9,7 @@
9
9
  <a @click="activeTab = '<%= tab.tab_id %>'" data-turbo="false">
10
10
  <% if tab.icon %>
11
11
  <span class="icon is-small">
12
- <span class="material-icons">
12
+ <span class="material-symbols-outlined">
13
13
  <%= tab.icon %>
14
14
  </span>
15
15
  </span>
@@ -28,11 +28,11 @@
28
28
  justify-content: flex-start;
29
29
  padding: 0.75em 1em;
30
30
  border-bottom: none;
31
- border-right: 3px solid transparent;
31
+ border-right: 2px solid transparent;
32
32
  }
33
33
 
34
34
  &.is-active a {
35
- border-right-color: #00d1b2;
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
  }
@@ -7,7 +7,7 @@
7
7
  data: { action: "input->toolbar#search" }
8
8
  )%>
9
9
  <span class="icon is-small is-left has-text-grey-light">
10
- <span class="material-icons">
10
+ <span class="material-symbols">
11
11
  search
12
12
  </span>
13
13
  </span>
@@ -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-icons"><%= icon %></span>
18
+ <span class="material-symbols"><%= icon %></span>
19
19
  </span>
20
- <% end %>
21
- <% unless icon_only? %>
22
- <span><%= label %></span>
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-icons"><%= column[:field] == @current_sort ? (current_sort_dir(column) == "asc" ? "arrow_upward" : "arrow_downward") : "sort" %></span>
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 %>
@@ -124,7 +124,7 @@ table.lesli-table {
124
124
  .dropdown-item {
125
125
  display: flex;
126
126
  padding: .8rem;
127
- .material-icons {
127
+ .material-symbols {
128
128
  margin-right: 8px;
129
129
  }
130
130
  }
@@ -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-icons")
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-icons")
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
- #about li:nth-child(1) {
3
+ .partial-engine-spec div {
4
4
  border-bottom: 1px solid silver;
5
5
  }
6
- #about li:nth-child(2),
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-icons md-24">
22
- bug_report
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-icons md-24">
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-icons md-24">
37
+ <span class="material-symbols md-24">
40
38
  library_books
41
39
  </span>
42
40
  <span></span>
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LesliView
4
- VERSION = "1.0.3"
5
- BUILD = "1752589521"
4
+ VERSION = "1.0.4"
5
+ BUILD = "1754023334"
6
6
  end
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.3
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-07-15 00:00:00.000000000 Z
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: '0'
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: '0'
26
+ version: 4.0.0
27
27
  description: Web Elements & Components for The Lesli Framework.
28
28
  email:
29
29
  - hello@lesli.tech