refine-rails 2.9.12 → 2.9.14

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: ab8f1ddf921b2c99b7c08322941c1dce1ed3eac31382a2579e3fc0759e71d09a
4
- data.tar.gz: 522251961a4df8ab2ff57d77d50ed040b2ed6ca48cee78f71685097928ab088b
3
+ metadata.gz: bb83da315ed33994f58b1486470a90ac88bc4f82a9c3fc02b3beca11bbb9a004
4
+ data.tar.gz: b31b990b6114f335900ca0bedff196ddb214eea7f84544c7ac5d46bc9fc15f49
5
5
  SHA512:
6
- metadata.gz: 0fe6657fb99b0e6d9eba24965fe9dde25909b75e0d616a0dfdb98c649011aa08f0a3a8de67c4940cfa4b6fa1e0a048050740aae9a1c6f6d5749563223839e013
7
- data.tar.gz: 9e0e0eab46bc6e5170e1cdfa0e3684caa8da59fa7c97b60c8849de4ba77a02dd4a529b644200b355f505a7c50fc6f98192a621f2c4f0354de815dff00dcfcbb4
6
+ metadata.gz: 2f6d27699d8e6b3a8c707fe4ad641003228286657ce84941bf314ee77fa8989b8ccb68eb04eaac54a5e610807baad0b0daf074c4c7fe335d0dc4a0aa0c1b9cf2
7
+ data.tar.gz: 97571906ba632eb353c60c922e94b09484a19ae5b740d42f1b69f7f6a1d14c598d4051f9e0a7e48065a9217d79766d6aad49a0a62561320f58843bdead9d5736
@@ -1670,7 +1670,12 @@ input.refine--text-condition-input:focus {
1670
1670
  padding: 5px;
1671
1671
  align-items: center;
1672
1672
  background-color: #fff;
1673
- &:hover {
1673
+ &:disabled {
1674
+ color: #111;
1675
+ background-color: #f8f8f8;
1676
+ cursor: not-allowed;
1677
+ }
1678
+ &:not([disabled]):hover {
1674
1679
  color: #111;
1675
1680
  background-color: #f8f8f8;
1676
1681
  }
@@ -840,7 +840,12 @@ input.refine--text-condition-input:focus {
840
840
  padding: 5px;
841
841
  align-items: center;
842
842
  background-color: #fff;
843
- &:hover {
843
+ &:disabled {
844
+ color: #111;
845
+ background-color: #f8f8f8;
846
+ cursor: not-allowed;
847
+ }
848
+ &:not([disabled]):hover {
844
849
  color: #111;
845
850
  background-color: #f8f8f8;
846
851
  }
@@ -36,6 +36,7 @@
36
36
  <option
37
37
  value="<%= condition_option[:id] %>"
38
38
  <% if selected_condition_id == condition_option[:id] %>selected<% end %>
39
+ title="<%= condition_option[:display] %>"
39
40
  ><%= condition_option[:display] %></option>
40
41
  <% end %>
41
42
  </optgroup>
@@ -45,6 +46,7 @@
45
46
  <option
46
47
  value="<%= condition_option[:id] %>"
47
48
  <% if selected_condition_id == condition_option[:id] %>selected<% end %>
49
+ title="<%= condition_option[:display] %>"
48
50
  ><%= condition_option[:display] %></option>
49
51
  <% end %>
50
52
  </optgroup>
@@ -19,6 +19,7 @@
19
19
  <% condition.meta[:options].each do |option| %>
20
20
  <option
21
21
  value="<%= option[:id] %>"
22
+ title="<%= option[:display] %>"
22
23
  <% if selected.find { |id| id == option[:id] } %>selected<% end %>
23
24
  >
24
25
  <%= option[:display].truncate(64) %>
@@ -17,7 +17,7 @@
17
17
  <% else %>
18
18
  <%= radio_button_tag input_fields.field_name("selected"), option.id, (criterion.input.selected == [option.id]), class: "refine--option-input", form: form_id %>
19
19
  <% end %>
20
- <span class="refine--option-text"><%= option.display.truncate(64) %></span>
20
+ <span class="refine--option-text" title="<%= option.display %>"><%= option.display.truncate(64) %></span>
21
21
  <% end %>
22
22
  <% end %>
23
23
  <% if criterion.condition.meta[:postfix] %>
@@ -1,5 +1,5 @@
1
1
  module Refine
2
2
  module Rails
3
- VERSION = "2.9.12"
3
+ VERSION = "2.9.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refine-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.12
4
+ version: 2.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colleen Schnettler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-10 00:00:00.000000000 Z
12
+ date: 2024-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails