sdr_view_components 0.14.0 → 0.15.0

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: 64d4ff73ede1c97112cbe2b8dc63ba3ae947491d8120a9fd470b4dcdae32a1e9
4
- data.tar.gz: b51e4f9ea31684aeb7f3d001599a117986e6fdd10793ee79cb7e3039eb4a3b53
3
+ metadata.gz: 0e5e2f0083c7b5a245f3276e52280e0be507a5db14ee7484cef0c892c67413fa
4
+ data.tar.gz: a703231a7e71fcd77da8cedbdebe0b58d7d99a966e60ed3557ee314daf112a10
5
5
  SHA512:
6
- metadata.gz: e153ce9f7db7f8d970643bca3c269da909198641fedd6751fc359ff4cbb926bba817dbfebc9dfd86c8f9f7fbfe26bd39e2a6ff71ab277fa19e7bddf531a8ed36
7
- data.tar.gz: '085aaa600a6b6ca9e5bccb16da0c8b3b50a606c8352ca027e8816fb17c84831d948cc1e058aadd5543cee7017f6c94f4c238f8a7f40c1aa431b471df2a172554'
6
+ metadata.gz: fd3178e40c6b438f3a76f991fba019cb7739065f10a73e1f1585e244425ca7188eac9e81ddf03b9c2aa068f16009f46209298f2e11511ec2c5c8f0325647d6a2
7
+ data.tar.gz: 37cd0b6f501476cd949fe1cef03370a000869e8440e1b55e18fd23b2f74c3ab0aedbd82dd752807a7a5f08d60a4effc4111292aeab2900ff240d7c8afe4de67e
@@ -26,6 +26,8 @@ module SdrViewComponents
26
26
  button_to(link, method: @method,
27
27
  class: ComponentSupport::ButtonSupport.classes(variant: @variant, size: @size, classes:,
28
28
  disabled: @disabled),
29
+ # The class only styles the button; the attribute keeps it from submitting the form.
30
+ disabled: @disabled,
29
31
  form: { data: },
30
32
  params:) do
31
33
  @label || content
@@ -32,6 +32,8 @@ module SdrViewComponents
32
32
  button_to(link, method: @method,
33
33
  class: ComponentSupport::ButtonSupport.classes(variant: @variant, size: @size, classes:,
34
34
  disabled: @disabled),
35
+ # The class only styles the button; the attribute keeps it from submitting the form.
36
+ disabled: @disabled,
35
37
  form: { data: },
36
38
  params:) do
37
39
  concat button_icon
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrViewComponents
4
- VERSION = '0.14.0'
4
+ VERSION = '0.15.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Collier