nfg_ui 0.10.8.2 → 0.10.9

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: dad3bc5b8b12d198e7043dd29f35a2201b7433cd402688049f8a6f999f4b886d
4
- data.tar.gz: 7dc68abe6f34327f2492bd4c65fbd9ea69edc452dd76bb6098298446ba4cd7ed
3
+ metadata.gz: 8f7d187b36104a09caaebbfb4a83873d95c754fa73add63845999f16b1fcd5d3
4
+ data.tar.gz: 15c84857ddd842ed23b5d5f151183f7519b4f39c25a231af8fba6f13aecec9e4
5
5
  SHA512:
6
- metadata.gz: 65087e97487f795b4e3ca7058937fbb0916d2f7570ae1117dc41c71fe8ed8e64eafa05866b60c8d0422047a69a5741284ad68e92efba57c28e26fa53ccb0d15b
7
- data.tar.gz: 8fd62150d0e36032856e64497a137e9c995130d07818aaeffac8a0efa6d268384b188292d15d694118c901b795e584933db9b02be0169bcd0a955d406bb98e5a
6
+ metadata.gz: 622e2748f043ec8c391a345e833ee3594281b969d04ec5013b5e9af6b11f576ce3ba37c2cfc0288c25a77e905dd628b92eb80cec9a4e3dff52987a6555d2578f
7
+ data.tar.gz: 46da61eeedef655e85a9cf9dabce029bba9ffd5c8deab61dc319b11ddff9caa7da29102f299f643236d21ac9919a209aed08575aee945ffb0d788fe15e891e87
@@ -12,5 +12,6 @@
12
12
  #= require nfg_ui/select2
13
13
  #= require nfg_ui/tooltips
14
14
  #= require nfg_ui/datetimepicker_configuration
15
+ #= require nfg_ui/file_inputs
15
16
 
16
17
  window.NfgUi = {}
@@ -0,0 +1,5 @@
1
+ // This populates the label inside/below custom file inputs with
2
+ // the file name that was selected.
3
+ $(document).on('change', '.custom-file-input', function(event) {
4
+ $(this).next('.custom-file-label').html(event.target.files[0].name);
5
+ });
@@ -1,7 +1,7 @@
1
1
  // INTERCOM -- custom styles for https://www.intercom.io/ integration
2
- #intercom-container {
2
+ .intercom-lightweight-app {
3
3
  @include media-breakpoint-down(sm) { display: none !important; } // hides on small devices
4
- .intercom-launcher-frame {
4
+ .intercom-lightweight-app-launcher {
5
5
  @include media-breakpoint-down(md) { bottom: ($spacer * 3.5) !important; } // adjusts location on medium devices
6
6
  }
7
7
  }
@@ -154,6 +154,7 @@ body.modal-open {
154
154
  background-color: theme-color("light");
155
155
  }
156
156
  }
157
+ &[aria-disabled="true"],
157
158
  &[aria-selected='true'] {
158
159
  padding-right: ($spacer * 2);
159
160
  color: $body-color !important;
@@ -174,10 +175,12 @@ body.modal-open {
174
175
  z-index: 5;
175
176
  }
176
177
  }
177
- &[aria-disabled='true'] {
178
- color: $text-muted;
178
+ &.loading-results {
179
+ padding-right: 0;
180
+ color: $text-muted !important;
179
181
  font-weight: $font-weight-bold;
180
182
  text-transform: uppercase;
183
+ &:after { display: none; }
181
184
  }
182
185
  }
183
186
  .select2-results__group {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '0.10.8.2'
4
+ VERSION = '0.10.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfg_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.8.2
4
+ version: 0.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Roehm
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-03 00:00:00.000000000 Z
12
+ date: 2020-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap
@@ -384,6 +384,7 @@ files:
384
384
  - app/assets/javascripts/nfg_ui/collapsible_toggle.coffee
385
385
  - app/assets/javascripts/nfg_ui/datetimepicker_configuration.js
386
386
  - app/assets/javascripts/nfg_ui/document_ready.coffee
387
+ - app/assets/javascripts/nfg_ui/file_inputs.js
387
388
  - app/assets/javascripts/nfg_ui/prevent_clickable_disabled_element.coffee
388
389
  - app/assets/javascripts/nfg_ui/select2.coffee
389
390
  - app/assets/javascripts/nfg_ui/tooltips.coffee