formatic 0.9.1 → 0.9.2

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: dc6207b98bbdcf93dcae103ca03eebc2993c68503b4eca6911e93d57749e26e0
4
- data.tar.gz: dbc8e45a7d99b106a56dd3f40a024da2baf3df46fdb11c9cffed0dd797a1efe5
3
+ metadata.gz: c931ff6cca39b6a9700a6e5cdb156c5c1c5db3275bf418d60edef92bb332ad38
4
+ data.tar.gz: 17fa8c729f43d79b261cb1b65a80c89c08d36885a138e45e2dbbadcb5581e02a
5
5
  SHA512:
6
- metadata.gz: cc7e35488bd7a377d21b2482cb8460bcee495390ba89bd96c6b60d56a13f739c3a550263151d572b7c765bab5e9b980a399e17b479cdb3946d1ac6f638ad1976
7
- data.tar.gz: 963a4fb447e3b5c1c3a7b7385f825de975ae5d8cb13f83c5cbf291609313bc6a2f9bc2076860897a617edb71b9304a08b52e8275b914e9e010e69b5213780dc0
6
+ metadata.gz: 87b166208544a11ecac31459ea34db003bc83f49668abb720fb98f365b7ef78b52e23f4f093353063962fddb93eecd233764412df61f81885a05c2b579bf5a48
7
+ data.tar.gz: 4bb2ef735910006e78166d8c65c61ef721b253cd55b94379c084dc8ad3adbd1b4b2a381d4c6f197f03d6848313d5431420e1fc20834ed4fbd687eb137e5a9146
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.9.2] - 2026-11-11
2
+
3
+ - Move the `formatic-search-hook__quickpicks` hook onto the list grid element, so layout overrides take effect
4
+
1
5
  ## [0.9.1] - 2026-11-11
2
6
 
3
7
  - Search list hooks carry an automatic `--route_key` modifier per model
data/README.md CHANGED
@@ -44,10 +44,11 @@ and a selected search field. Its `as_json` and `to_json` methods return the wrap
44
44
  `Formatic::Search` to render its selected markup, including the usual clear control:
45
45
  the app supplies the rendered record fragments, and Formatic adds the search wrappers.
46
46
 
47
- Styling hooks: the quick-pick lists carry `formatic-search-hook__quickpicks`,
48
- the async hits `formatic-search-hook__results`. Both are stable across
49
- refactors. Each also carries a modifier with the records route key, so one
50
- model can differ from the rest:
47
+ Styling hooks: the quick-pick list carries `formatic-search-hook__quickpicks`,
48
+ the async hits `formatic-search-hook__results`. Both sit on the grid element
49
+ itself, so layout overrides like `display` land where they take effect.
50
+ Both are stable across refactors. Each also carries a modifier with the
51
+ records route key, so one model can differ from the rest:
51
52
 
52
53
  ```css
53
54
  .formatic-search-hook__quickpicks--animals {
@@ -38,7 +38,7 @@ module Formatic
38
38
  class: 'js-formatic-search__query-input' %>
39
39
  </div>
40
40
 
41
- <div class="c-formatic-search__quickpicks js-formatic-search__quickpicks formatic-search-hook__quickpicks<%= ' formatic-search-hook__quickpicks--' + hook_modifier if hook_modifier %><%= ' is-hidden' if picks_initially_hidden? %>">
41
+ <div class="c-formatic-search__quickpicks js-formatic-search__quickpicks<%= ' is-hidden' if picks_initially_hidden? %>">
42
42
  <% if pick_groups.size > 1 %>
43
43
  <div class="c-formatic-search__quickpicks-tabs js-formatic-search__quickpicks-tablist" role="tablist">
44
44
  <% pick_groups.each_with_index do |group, group_index| %>
@@ -51,7 +51,7 @@ module Formatic
51
51
  </div>
52
52
  <% end %>
53
53
  <% pick_groups.each_with_index do |group, group_index| %>
54
- <fieldset class="c-formatic-search__quickpicks-group js-formatic-search__quickpicks-panel<%= ' is-hidden' if pick_groups.size > 1 && group_index != active_group_index %>"
54
+ <fieldset class="c-formatic-search__quickpicks-group js-formatic-search__quickpicks-panel formatic-search-hook__quickpicks<%= ' formatic-search-hook__quickpicks--' + hook_modifier if hook_modifier %><%= ' is-hidden' if pick_groups.size > 1 && group_index != active_group_index %>"
55
55
  <% if pick_groups.size > 1 %>role="tabpanel" aria-labelledby="<%= query_input_id %>_tab_<%= group_index %>"<% else %>aria-label="<%= group[:legend] %>"<% end %>>
56
56
  <% group[:picks].each do |pick| %>
57
57
  <label class="c-formatic-search__pick js-formatic-search__pick-label" for="<%= pick[:dom_id] %>">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatic
4
- VERSION = '0.9.1'
4
+ VERSION = '0.9.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo