hotwire_combobox 0.2.3 → 0.2.5

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: 375e5d8a06acd3bfb37fda548dcbaf55c097dafddf6511d33292ee424c267e92
4
- data.tar.gz: 334608cf151572af945be3f9cf17598ccbf9b1808580c1cb57e2ea8e24fba246
3
+ metadata.gz: 64ee128886d148aa44b82aaeefcd88f298c393fa9097d28c9ee343df356f31de
4
+ data.tar.gz: c0eb83875bc403d94e930a0ed9e2f43e17f9c77c05bd28b341d0684086aa17ae
5
5
  SHA512:
6
- metadata.gz: 3a39403f378b1be54d167ed15e4006e96751c19ab71c3c7f60414c3b13598f861fb2cbc7611995775f804a1caadcc0849fc89f68dc4761777a015acf57e1ad19
7
- data.tar.gz: 1618b436e6c19922b32ce986f6f5103676e206eb9d04c868cfa5bfd6b9a84dd62dd65c164dd2072ab355e62d951e91610dfb9043fe72e14432ec2e9c6fcb45b4
6
+ metadata.gz: 8454420c02a2fc8d894c75063286d1eb7613a9d3533030f48b607d9a95317fa262744c413529b218c5ff5166810fd8dad6e051b704cda660bfd02013b8b4721e
7
+ data.tar.gz: 33713116699c659f3a0d4a6a2510ad878b59894bb2bc140becc5e7543aece05563b01da82c6e6a9f1a20336dc6b89f9120eb11845af1b2b5a01ab9034bffc67b
@@ -1,5 +1,5 @@
1
1
  /*!
2
- HotwireCombobox 0.2.3
2
+ HotwireCombobox 0.2.5
3
3
  */
4
4
  import { Controller } from '@hotwired/stimulus';
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- HotwireCombobox 0.2.3
2
+ HotwireCombobox 0.2.5
3
3
  */
4
4
  (function (global, factory) {
5
5
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('@hotwired/stimulus')) :
@@ -288,3 +288,7 @@
288
288
  width: 1rem;
289
289
  }
290
290
  }
291
+
292
+ .hw_combobox__pagination__wrapper {
293
+ background-color: var(--hw-option-bg-color);
294
+ }
@@ -4,7 +4,7 @@
4
4
  <%= render "hotwire_combobox/combobox/hidden_field", component: component %>
5
5
 
6
6
  <%= tag.div **component.main_wrapper_attrs do %>
7
- <%# Announcer styles defined here because they're not optional %>
7
+ <%# Essential styles defined here, removing these would break the combobox %>
8
8
  <%= tag.style nonce: content_security_policy_nonce do %>
9
9
  .hw-combobox__announcer {
10
10
  position: absolute;
@@ -16,6 +16,10 @@
16
16
  clip: rect(0, 0, 0, 0);
17
17
  border: 0;
18
18
  }
19
+
20
+ .hw_combobox__pagination__wrapper {
21
+ height: 5px;
22
+ }
19
23
  <% end %>
20
24
  <%= tag.div **component.announcer_attrs %>
21
25
  <%= render "hotwire_combobox/combobox/input", component: component %>
@@ -1,7 +1,7 @@
1
1
  <%# locals: (for_id:, src:) -%>
2
2
 
3
- <%= tag.li id: hw_pagination_frame_wrapper_id(for_id), data: {
4
- hw_combobox_target: "endOfOptionsStream", input_type: params[:input_type] },
3
+ <%= tag.li id: hw_pagination_frame_wrapper_id(for_id), class: "hw_combobox__pagination__wrapper",
4
+ data: { hw_combobox_target: "endOfOptionsStream", input_type: params[:input_type] },
5
5
  aria: { hidden: true } do %>
6
6
  <%= turbo_frame_tag hw_pagination_frame_id(for_id), src: src, loading: :lazy %>
7
7
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module HotwireCombobox
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hotwire_combobox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Farias
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-24 00:00:00.000000000 Z
11
+ date: 2024-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails