polaris_view_components 1.4.2 → 1.4.3

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: 5c6aa31da0b0163512ef5d0a328ddb584d20b441d53f73dc56e4797d139f7669
4
- data.tar.gz: 76fa870720a0aae542d83c5f963dea6d3006e81e246b6fa4acab1ebc4eff8ef8
3
+ metadata.gz: 555149c6949f974f11123a0352ea5ee542f009cdb72a3e1ec40d90606246f63a
4
+ data.tar.gz: d8c5aa60326db84ae86a498b509a7b6f1ce2e96756959120727058c280e45c56
5
5
  SHA512:
6
- metadata.gz: 0eb65f8ac276abe206b9d29789bfcb0018f8a8dc50db9ae496d15524f02ddd1d63043b4c432aa09fc2b0ffbf22be09f45a4bcd4fa71195d5e0ff61754bab8b29
7
- data.tar.gz: 7ee704e3e018b1e6a73a761b1266aa91de3b6aced9f5469a296154f6df24506fd337692123749ca8e91e1f9feedf1f5fafd5da31fc5abecfafbce7e4e6309f65
6
+ metadata.gz: 7b98f3d1bb4f31dae70956856619ad487e3fef53d0a1bd87b7040d9a4916c8d6263531b48ba8c1e992d8ccca7ddede687b7c0309be826900313861d436591ec1
7
+ data.tar.gz: 36130d894dac5b9d13f7f3ec99da8cd2cf018cf99a2a39d8915eae75201b41fc337f61dc2425465b6ccd9280d92ac1130942edf2816200a4bd4444eb78ba6f18
@@ -16,7 +16,12 @@ module Polaris
16
16
  model: object.class.model_name.human.downcase
17
17
  )
18
18
 
19
- render Polaris::BannerComponent.new(title: title, status: :critical, within: :container) do |banner|
19
+ render Polaris::BannerComponent.new(
20
+ title: title,
21
+ status: :critical,
22
+ within: :container,
23
+ data: {errors_summary: true}
24
+ ) do |banner|
20
25
  [
21
26
  render(Polaris::ListComponent.new) do |list|
22
27
  object.errors.full_messages.each do |error|
@@ -1,5 +1,5 @@
1
1
  module Polaris
2
2
  module ViewComponents
3
- VERSION = "1.4.2"
3
+ VERSION = "1.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polaris_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Gamble
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-01-09 00:00:00.000000000 Z
12
+ date: 2024-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails