pg_rails 7.0.8.pre.alpha.71 → 7.0.8.pre.alpha.72

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: b4f6156ab8c2dd7a84a7f7c05b79edd8a16117971770f240d9df6a2077520b41
4
- data.tar.gz: 25e4cc0e8f236fd58eff011dfcd8552f2fd08fe65a141c41eda336a422e4cd48
3
+ metadata.gz: adf65a3ea20e9eedfa39e8e9a2b97ae48c773b5031d5dcffa4df98f8aa3f236f
4
+ data.tar.gz: f966e9b52d9ac7f7021ff6f51f0a051397f3dc07dffd641c7cd75949c8d198a0
5
5
  SHA512:
6
- metadata.gz: 1e0b041666082f62e83941c080ecbf2f6a558d8917ebca54e95bbc7d7668189417a347670cb516ef60f38fbbdefe49b3332d3be94787cca8cdbd84c6c8798b52
7
- data.tar.gz: ebf99d77235eab17311d11c90b173b5b3ec9e8c15e0250dec98b6211f834e6452d9c0b7f30f426e529ee6be8ba62ef50853c6be44c918d20fab73a012bd33713
6
+ metadata.gz: b0d877134bf17b9b0653104475e5af6471850f805eaf5822e703ec17dc544fabf939dfdb3c74044969ebb1de635283d8872ee24fb324670bba5411480b0a605a
7
+ data.tar.gz: 61af835abe1cde9a9edeab6565a6f61f6df641e2f6a3df8f4fedf869d252a7382ce6c8488bff4c080319a7eaa30c6ac40a3917f4e00bc3c77530b4920e8d11a3
@@ -31,7 +31,7 @@
31
31
  display: none;
32
32
  }
33
33
  input[type=text] {
34
- background-color: white;
34
+ background-color: #{$body-bg};
35
35
  padding-right: 2em;
36
36
  }
37
37
  &.filled {
@@ -84,7 +84,7 @@
84
84
  box-shadow: 0px 9px 13px -3px rgba(0, 0, 0, 0.5);
85
85
  // position: absolute;
86
86
  // z-index: 1;
87
- background-color: white;
87
+ background-color: #{$body-bg};
88
88
  border: 1px solid #a7b7bb;
89
89
  border-top: none;
90
90
  border-radius: 4px;
@@ -55,6 +55,12 @@ export default class extends Controller {
55
55
 
56
56
  this.input.addEventListener('blur', () => {
57
57
  this.input.placeholder = ''
58
+ setTimeout(() => {
59
+ if (!this.element.classList.contains('filled')) {
60
+ this.input.value = ''
61
+ this.resetResultados()
62
+ }
63
+ }, 200)
58
64
  })
59
65
  this.input.onfocus = () => {
60
66
  this.input.select()
@@ -94,7 +94,6 @@ input[type=datetime-local], input[type=datetime] {
94
94
  --bs-border-radius-xl: 0.45rem;
95
95
  --bs-border-radius-xxl: 0.6rem;
96
96
  --bs-border-color: #a7b7bb;
97
- --bs-body-bg: #{$light};
98
97
  }
99
98
 
100
99
  // Alerts
@@ -80,7 +80,7 @@ es:
80
80
  activerecord:
81
81
  attributes:
82
82
  user:
83
- remember_me: Mantener sesión abierta en este navegador
83
+ remember_me: Recordarme en este navegador
84
84
  email:
85
85
  from_name: Remitente
86
86
  to: Destinatario
@@ -1,6 +1,6 @@
1
1
  <%# locals: (error_msg: nil) %>
2
2
 
3
- <div class="d-flex justify-content-around mt-2">
3
+ <div class="d-flex justify-content-around mt-2" data-turbo-temporary="true">
4
4
  <div class="alert alert-danger d-flex align-items-center">
5
5
  <div>
6
6
  <span class="bi bi-emoji-dizzy fs-1 me-3"></span>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.71'
4
+ VERSION = '7.0.8-alpha.72'
5
5
  end
@@ -9,3 +9,5 @@ $warning-border-subtle: tint-color($warning, 20%);
9
9
  // $danger-border-subtle: tint-color($danger, 60%);
10
10
 
11
11
  $btn-close-focus-shadow: none;
12
+
13
+ $body-bg: $light;
@@ -218,7 +218,7 @@ RSpec.describe <%= controller_class_name %>Controller do
218
218
  <% else -%>
219
219
  put :update, params: { id: <%= file_name %>.to_param, <%= nombre_tabla_completo_singular %>: valid_attributes }
220
220
  <% end -%>
221
- expect(response).to redirect_to([:<%= ns_prefix.first %>, <%= file_name %>.decorate.target_object])
221
+ expect(response).to redirect_to([:<%= ns_prefix.first %>, <%= file_name %>])
222
222
  end
223
223
  end
224
224
  <% if attributes.any? { |at| at.required? } -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8.pre.alpha.71
4
+ version: 7.0.8.pre.alpha.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-14 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails