pg_rails 7.6.24.pre.5 → 7.6.24

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: 24f6df5092e05945c72bd89a19aee27ab6bf20c5d6ea3920a5116a15c61b431e
4
- data.tar.gz: 6b3761e5a283aa143f816d1008c1408baa8cab50bf164b4924c6ec60285b9ebb
3
+ metadata.gz: 5202df927d12827a79e5c89d668cc344dfbd434a266b39810d5585ffdc3ac932
4
+ data.tar.gz: d74570bcf0eeb4a5d9f11fb5baf720585458a2026bb0683966a37556d7f2bf69
5
5
  SHA512:
6
- metadata.gz: c82bfc1e6138d70770cb161ffdaf06732bc90e23aa5d0d9181b736abd600d425af0a3d5979a22fbe7e7dc9d7aa8ac660c009c523e327489527d2594512ec9535
7
- data.tar.gz: d827ee4b37c451ac8d0c0f4a28374ce1b6d0c0bbd2fab2b5ef36d919a49897e88b5be3772b1440146302edad2edb0f8fb4b24da28dda80bddbcf016c53a78990
6
+ metadata.gz: d83f4adfce2d2ad3b22996b88dd61df4818e5ee824f66a3b0ac8d5817063e653b4bcbe5c60d98363040ae72886437b4a4a752f2a41bcd36d692e51eca1374b49
7
+ data.tar.gz: 45adb571a8d819d11d23a66ef49882496119e3e97e0741e63b59c5f0091d7686189564eabb60ee1c78d6da7fa57139d28340bbcc4a5d41bf7ceb396a28624567
@@ -0,0 +1,10 @@
1
+ // Buttons border in nav toolbar
2
+ $warning-border-emphasis: shade-color($yellow, 60%);
3
+ .btn-toolbar .btn-warning {
4
+ border: 1px solid $warning-border-emphasis;
5
+ }
6
+
7
+ $light-border-emphasis: shade-color($light, 60%);
8
+ .btn-toolbar .btn-light {
9
+ border: 1px solid $light-border-emphasis;
10
+ }
@@ -1,8 +1,5 @@
1
1
  @use 'sass:color';
2
2
 
3
- @import 'notifications';
4
-
5
-
6
3
  :root,
7
4
  [data-bs-theme=light] {
8
5
  --bs-form-invalid-color: #b50000;
@@ -0,0 +1,29 @@
1
+ // Column truncate
2
+ $values: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100;
3
+
4
+ @for $i from 1 through length($values) {
5
+ $value: nth($values, $i);
6
+ $perc: #{percenage($value)};
7
+
8
+ .column-truncate-#{$value} {
9
+ max-width: 0;
10
+ width: percentage($value * 0.01);
11
+ overflow: hidden;
12
+ text-overflow: ellipsis;
13
+ white-space: nowrap;
14
+ min-width: 30em * $value * 0.01;
15
+
16
+ // TODO: con css grid esto se debería poder hacer mejor
17
+ // además, el pg_asociable directamente se rompe
18
+ &:has(form) {
19
+ min-width: 28em;
20
+ overflow: initial;
21
+ }
22
+ }
23
+ }
24
+
25
+ // Table row clickable
26
+ // .listado tr:has(td:hover):has(.bi-eye-fill) td {
27
+ // background-color: #f2f2f2;
28
+ // cursor: pointer;
29
+ // }
@@ -0,0 +1,16 @@
1
+ // Tom Select
2
+ .ts-control {
3
+ padding-top: 2px!important;
4
+ padding-bottom: 2px!important;
5
+ display: flex;
6
+ gap: 4px;
7
+ }
8
+ .input-group-sm > .ts-wrapper.multi.has-items .ts-control, .ts-wrapper.form-select-sm.multi.has-items .ts-control, .ts-wrapper.form-control-sm.multi.has-items .ts-control {
9
+ padding-top: 2px!important;
10
+ }
11
+ .ts-wrapper.multi .ts-control > div {
12
+ margin: 0!important;
13
+ }
14
+ .ts-control:not(.rtl) {
15
+ padding-right: 0.75rem !important;
16
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.6.24-5'
4
+ VERSION = '7.6.24'
5
5
  end
@@ -4,71 +4,20 @@ $font-size-base: 0.9rem;
4
4
  @import 'bootstrap_pre';
5
5
  @import 'bootstrap_overrides';
6
6
  @import 'bootstrap_post';
7
- @import 'border_radius';
8
-
9
- @import './../../pg_engine/app/assets/stylesheets/pg_rails_b5';
10
- @import './../../pg_associable/app/assets/stylesheets/pg_associable';
11
- @import './../../pg_layout/app/assets/stylesheets/sidebar';
12
- @import './../../pg_layout/app/assets/stylesheets/animations';
13
7
 
14
8
  @import 'bootstrap-icons/font/bootstrap-icons';
15
9
 
16
10
  @import 'trix/dist/trix';
17
11
  @import 'tom-select/dist/scss/tom-select.bootstrap5';
18
12
 
19
- // Tom Select
20
- .ts-control {
21
- padding-top: 2px!important;
22
- padding-bottom: 2px!important;
23
- display: flex;
24
- gap: 4px;
25
- }
26
- .input-group-sm > .ts-wrapper.multi.has-items .ts-control, .ts-wrapper.form-select-sm.multi.has-items .ts-control, .ts-wrapper.form-control-sm.multi.has-items .ts-control {
27
- padding-top: 2px!important;
28
- }
29
- .ts-wrapper.multi .ts-control > div {
30
- margin: 0!important;
31
- }
32
- .ts-control:not(.rtl) {
33
- padding-right: 0.75rem !important;
34
- }
35
-
36
- // Column truncate
37
- $values: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100;
38
-
39
- @for $i from 1 through length($values) {
40
- $value: nth($values, $i);
41
- $perc: #{percenage($value)};
42
-
43
- .column-truncate-#{$value} {
44
- max-width: 0;
45
- width: percentage($value * 0.01);
46
- overflow: hidden;
47
- text-overflow: ellipsis;
48
- white-space: nowrap;
49
- min-width: 30em * $value * 0.01;
50
-
51
- // TODO: con css grid esto se debería poder hacer mejor
52
- // además, el pg_asociable directamente se rompe
53
- &:has(form) {
54
- min-width: 28em;
55
- overflow: initial;
56
- }
57
- }
58
- }
59
-
60
- // Buttons border in nav toolbar
61
- $warning-border-emphasis: shade-color($yellow, 60%);
62
- .btn-toolbar .btn-warning {
63
- border: 1px solid $warning-border-emphasis;
64
- }
13
+ @import './../../pg_associable/app/assets/stylesheets/pg_associable';
65
14
 
66
- $light-border-emphasis: shade-color($light, 60%);
67
- .btn-toolbar .btn-light {
68
- border: 1px solid $light-border-emphasis;
69
- }
15
+ @import './../../pg_layout/app/assets/stylesheets/sidebar';
16
+ @import './../../pg_layout/app/assets/stylesheets/animations';
70
17
 
71
- // .listado tr:has(td:hover):has(.bi-eye-fill) td {
72
- // background-color: #f2f2f2;
73
- // cursor: pointer;
74
- // }
18
+ @import './../../pg_engine/app/assets/stylesheets/pg_engine';
19
+ @import './../../pg_engine/app/assets/stylesheets/notifications';
20
+ @import './../../pg_engine/app/assets/stylesheets/border_radius';
21
+ @import './../../pg_engine/app/assets/stylesheets/tom_select';
22
+ @import './../../pg_engine/app/assets/stylesheets/tables';
23
+ @import './../../pg_engine/app/assets/stylesheets/nav_toolbar';
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.6.24.pre.5
4
+ version: 7.6.24
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: 2025-01-02 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -685,8 +685,12 @@ files:
685
685
  - pg_engine/app/assets/javascripts/active_admin.js
686
686
  - pg_engine/app/assets/stylesheets/actiontext.css
687
687
  - pg_engine/app/assets/stylesheets/active_admin.scss
688
+ - pg_engine/app/assets/stylesheets/border_radius.scss
689
+ - pg_engine/app/assets/stylesheets/nav_toolbar.scss
688
690
  - pg_engine/app/assets/stylesheets/notifications.scss
689
- - pg_engine/app/assets/stylesheets/pg_rails_b5.scss
691
+ - pg_engine/app/assets/stylesheets/pg_engine.scss
692
+ - pg_engine/app/assets/stylesheets/tables.scss
693
+ - pg_engine/app/assets/stylesheets/tom_select.scss
690
694
  - pg_engine/app/components/alert_component.html.slim
691
695
  - pg_engine/app/components/alert_component.rb
692
696
  - pg_engine/app/components/asociable_modal_component.html.slim
@@ -1065,7 +1069,6 @@ files:
1065
1069
  - pg_rails/scss/bootstrap_overrides.scss
1066
1070
  - pg_rails/scss/bootstrap_post.scss
1067
1071
  - pg_rails/scss/bootstrap_pre.scss
1068
- - pg_rails/scss/border_radius.scss
1069
1072
  - pg_rails/scss/pg_rails.scss
1070
1073
  - pg_scaffold/lib/generators/pg_active_record/model/model_generator.rb
1071
1074
  - pg_scaffold/lib/generators/pg_active_record/model/templates/admin.rb