phlexi-form 0.8.3 → 0.8.5

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: 5e7202d74e3e085564ee24e9bcfd7c0b983bd7de21166c51131b4adea20e5e43
4
- data.tar.gz: dbeef2da87b88a8ed79a227bfbe406eeb8182871638a77b7107d843eaf9555de
3
+ metadata.gz: a7467adbbe9a8093e99978671b26fd071b8c85907f87eda8b1e01afc806af0f3
4
+ data.tar.gz: c116107c7c52c277e2793bf8f7705daa7d4aac256823f228becfd8e0acfd5f13
5
5
  SHA512:
6
- metadata.gz: e5c4686b6cd6bdd891a021a1c10a31c58f098065e4c148e07d887ff75b5d6f71d6dc574f00675cf87dad8a84dd7b09a92da1c9b452d4308678008b6ec642ff48
7
- data.tar.gz: 04252d73419ca890ff4aa8c3ebc18a730041f7e5971e3e640fd2a16db91952725ae4b033fd9f0aa68dc4df9fbdb3ac09273e27c04517aedb2222184f85df9d38
6
+ metadata.gz: fe774524b8ba765e58e49d2e2e42ab6996de479b89d75b79f4560ce1696aa84d48d8f89e5dc035bbcb08196238f23306eaa60ea474b8fc08e9dde109d3e07329
7
+ data.tar.gz: 56894aa62eb3b1b667500097602d4743643f28cbc3a5ab6d917c1cabeec0afea6dcdaac4039da20f94eadf149355f6bd996aa5fad6254ef6baabff68009612e6
@@ -127,8 +127,9 @@ module Phlexi
127
127
  # @param attributes [Hash] Additional attributes for the radio button.
128
128
  # @return [Components::RadioButton] The radio button component.
129
129
  def radio_button_tag(**, &)
130
- create_component(Components::RadioButton, :radio, **, &)
130
+ create_component(Components::RadioButton, :radio_button, **, &)
131
131
  end
132
+ alias_method :radio_tag, :radio_button_tag
132
133
 
133
134
  # Creates collection radio buttons for the field.
134
135
  #
@@ -102,6 +102,12 @@ module Phlexi
102
102
  invalid_checkbox: :invalid_input,
103
103
  neutral_checkbox: :neutral_input,
104
104
 
105
+ # Radio
106
+ radio_button: :input,
107
+ valid_radio_button: :valid_input,
108
+ invalid_radio_button: :invalid_input,
109
+ neutral_radio_button: :neutral_input,
110
+
105
111
  # Boolean
106
112
  boolan: :checkbox,
107
113
  valid_boolan: :valid_checkbox,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlexi
4
4
  module Form
5
- VERSION = "0.8.3"
5
+ VERSION = "0.8.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlexi-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-03 00:00:00.000000000 Z
11
+ date: 2025-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex