anchor_view_components 0.35.0 → 0.35.1

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: 76a92e73b9f1b3d2953d43f25fc2d568bce8629218e21d3f065511a189f59946
4
- data.tar.gz: 68affd055e2c81509db647a5263bfd25cea71fbb1e923369fb58ba3e94bc22fe
3
+ metadata.gz: 82cf0b2b3a7c1ed368c7bed935068d45173a29730758d455046f26ab87a144a2
4
+ data.tar.gz: 3c7a9553794195e2367aa2bcd6bd1fd034bc8396c1162bb769bf8986b0321d91
5
5
  SHA512:
6
- metadata.gz: c1d6cebcb2700e809652adefa171c7b831c5b3544c419df2454a9fca202772fd56cac5e07730bbf889c89593485feb95af4534acf6b8761fa498aa93e053c3e1
7
- data.tar.gz: 5539fdcb77f2a2d34b956033a3841b485bc2570333fbabf5cbb987e5fa76740199f922db04a3d1dc027aedbfd8b7ba44dd32963befb4b6b3c33f8580265d5d14
6
+ metadata.gz: e3a1f96301fde9d4d82a12d37d7c3e60e4024193d514b80afbc92bd149b8ed050572dfe9d51ad54c56cdffce62970d25d15ddc1f266238f5ce3bfd3d5afee076
7
+ data.tar.gz: b7db1b44c16dd75fc5c5144b9db9f72378761e1b4e1b8b3e4e511e10b57784f971aacbe596cc71c3990cbd8a357fea5da7c92beebed2da86b51b2619c69b3960
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.35.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ebbb582: Add missing helper for filter component
8
+
3
9
  ## 0.35.0
4
10
 
5
11
  ### Minor Changes
@@ -10,6 +10,7 @@ module Anchor
10
10
  copy_to_clipboard
11
11
  dialog
12
12
  favicons
13
+ filter
13
14
  icon
14
15
  link
15
16
  loading_indicator
@@ -1,5 +1,5 @@
1
1
  module Anchor
2
2
  module ViewComponents
3
- VERSION = "0.35.0".freeze
3
+ VERSION = "0.35.1".freeze
4
4
  end
5
5
  end
@@ -1,7 +1,7 @@
1
1
  module Anchor
2
2
  class FilterComponentPreview < Preview
3
3
  def with_type_select
4
- render FilterComponent.new(
4
+ anchor_filter(
5
5
  param_key: :role_id,
6
6
  label: "Role",
7
7
  options: [["Admin", "1"], ["Manager", "2"], ["Employee", "3"]],
@@ -10,7 +10,7 @@ module Anchor
10
10
  end
11
11
 
12
12
  def with_type_checkbox
13
- render FilterComponent.new(
13
+ anchor_filter(
14
14
  param_key: :role_id,
15
15
  type: :checkbox,
16
16
  label: "Role",
@@ -20,7 +20,7 @@ module Anchor
20
20
  end
21
21
 
22
22
  def with_radio
23
- render FilterComponent.new(
23
+ anchor_filter(
24
24
  param_key: :language,
25
25
  type: :radio,
26
26
  label: "Language",
@@ -30,7 +30,7 @@ module Anchor
30
30
  end
31
31
 
32
32
  def with_many_options
33
- render FilterComponent.new(
33
+ anchor_filter(
34
34
  param_key: :location,
35
35
  type: :checkbox,
36
36
  label: "Location",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anchor_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Buoy Software