katalyst-content 2.3.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6514b8584c595435b0faafa8c2deb0a8c55f68b50c2ae1cfa1711a2ea04c9e19
4
- data.tar.gz: a18b11993855fc869c8e066738d04676c351cddb8d3cf1b783ce7a5a902d3d78
3
+ metadata.gz: e61521c19a9b52639135097816cb20865f41495014e4237e3890f708824afe89
4
+ data.tar.gz: f2a00cd9857a85838332a0137855445310634f2aea3271bec7f4188fb00cd92c
5
5
  SHA512:
6
- metadata.gz: 527092db7219dc854ee1ae0fbdfeff26ac30408b435db466be8af2f605b076fadcebea8cc1612c5366af859dedc1c53edb5bd9ddb3ff67afb4620a27ca62e235
7
- data.tar.gz: 0a144f07560924951e4e3ff453fe74583a3a6b610d98440f716286ac7a894617c523ef6be0b0d4eaeb45f70d2875f3c132137c88340feb1b196204b8ad394117
6
+ metadata.gz: 40ec427cf35c4e76cc768ca53bbf447078687754093f38af7195d3b72afbffe5545f9f0398f0dd6e637bb0cea14725cf0491dccc00f4ef3f4ada69893b0b6174
7
+ data.tar.gz: dd0f5dc01dbaf2b56c8e076d7ae129759408f79fa1455bb2d3e4529df0fd22e9532ed6440870bb640b421d7ee6373600dfec4fa4764ce0c388d2b99e454af733
@@ -4,8 +4,6 @@ module Katalyst
4
4
  module Content
5
5
  module Editor
6
6
  class ErrorsComponent < BaseComponent
7
- include Katalyst::Tables::TurboReplaceable
8
-
9
7
  def id
10
8
  dom_id(container, :errors)
11
9
  end
@@ -1,14 +1,16 @@
1
1
  <%= content_item_tag aside do %>
2
2
  <%= tag.h3 aside.heading, class: aside.heading_style_class if aside.show_heading? %>
3
3
 
4
- <% items = aside.children.select(&:visible?) %>
5
- <% last = items.pop %>
6
- <div role="aside-container">
7
- <div>
8
- <%= render_content_items items %>
4
+ <% if aside.children.any? %>
5
+ <% items = aside.children.select(&:visible?) %>
6
+ <% last = items.pop %>
7
+ <div role="aside-container">
8
+ <div>
9
+ <%= render_content_items items %>
10
+ </div>
11
+ <aside>
12
+ <%= render_content_items [last] %>
13
+ </aside>
9
14
  </div>
10
- <aside>
11
- <%= render_content_items [last] %>
12
- </aside>
13
- </div>
15
+ <% end %>
14
16
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-content
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-20 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_storage_validations
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description:
69
+ description:
70
70
  email:
71
71
  - developers@katalyst.com.au
72
72
  executables: []
@@ -181,7 +181,7 @@ licenses:
181
181
  - MIT
182
182
  metadata:
183
183
  rubygems_mfa_required: 'true'
184
- post_install_message:
184
+ post_install_message:
185
185
  rdoc_options: []
186
186
  require_paths:
187
187
  - lib
@@ -196,8 +196,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  - !ruby/object:Gem::Version
197
197
  version: '0'
198
198
  requirements: []
199
- rubygems_version: 3.4.19
200
- signing_key:
199
+ rubygems_version: 3.5.9
200
+ signing_key:
201
201
  specification_version: 4
202
202
  summary: Rich content page builder and editor
203
203
  test_files: []