nfg_ui 6.17.1 → 6.17.3
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 +4 -4
- data/app/assets/images/backgrounds/bg-image-primary.jpg +0 -0
- data/app/assets/images/backgrounds/bg-image-success.jpg +0 -0
- data/app/assets/images/backgrounds/bg-image-warning.jpg +0 -0
- data/app/assets/images/onboarding/clouds-blue.png +0 -0
- data/app/assets/images/onboarding/clouds-green.png +0 -0
- data/app/assets/javascripts/nfg_ui/select2.coffee +13 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_select2.scss +1 -0
- data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_select2.scss +1 -0
- data/lib/nfg_ui/version.rb +1 -1
- metadata +7 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce861c134dcbe4c1ba39669f84e25caa463e0ac3fecbcf53bb53f9fddcacce7a
|
4
|
+
data.tar.gz: 4e54095bc594fbf300a8b14f4907b154ac5d7f75bb2d13800b5b7d6c0971f0cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14f0cf915f977e94f4d5b0528264d9a99bd7c93ea4d279312cb247423e11a478d362455dcee7010140afae25501d6daf93b28c6397b53fac20683371b8b3e6e
|
7
|
+
data.tar.gz: e2bba6d9ab4c1bc4e6712edd84917aeb84ec557618f0543e51326db19b0cc90c409a052ae5b1d6b29f08bfc491546343a22b3b2f56848ab20e020da022921e43
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -26,8 +26,21 @@ initNfgUiSelect2 = () ->
|
|
26
26
|
|
27
27
|
# Likewise with the shown.bs.modal, the same applies here for re-initializing on body
|
28
28
|
# after the a tooltipped element is removed from the page
|
29
|
+
# Also re-initializing the select2 element to fix the issue mentioned in
|
30
|
+
# https://bonterra.atlassian.net/browse/NFG-513
|
31
|
+
# Reason: re-initialization of body affects the select2 inputs present on the screen.
|
32
|
+
# The destroy() and reinitialize process ensures Select2 works correctly after the modal
|
33
|
+
# is closed.
|
29
34
|
doc.on 'hidden.bs.modal ajax:success', (e) ->
|
30
35
|
init_plugin body
|
36
|
+
setTimeout ->
|
37
|
+
$('select.select2').each ->
|
38
|
+
$(this).select2('destroy').select2()
|
39
|
+
, 0
|
40
|
+
|
41
|
+
# on first focus (bubbles up to document), open the menu
|
42
|
+
doc.on 'focus', '.select2-selection.select2-selection--single', (e) ->
|
43
|
+
$(this).closest('.select2-container').siblings('select:enabled').select2('open')
|
31
44
|
|
32
45
|
if NfgUi.turbolinks
|
33
46
|
$(document).on('turbolinks:load', initNfgUiSelect2)
|
data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_select2.scss
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
.#{$color} {
|
3
3
|
.select2-container--default {
|
4
4
|
.select2-search--dropdown .select2-search__field:focus,
|
5
|
+
&.select2-selection--single:focus,
|
5
6
|
&.select2-container--focus .select2-selection--multiple,
|
6
7
|
&.select2-container--open .select2-selection--single {
|
7
8
|
border-color: $value;
|
data/app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_select2.scss
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
.select2-container--default {
|
4
4
|
&.select2-container--focus .select2-selection--multiple,
|
5
|
+
&.select2-selection--single:focus,
|
5
6
|
&.select2-container--open .select2-selection--single {
|
6
7
|
border-color: var(--brand-primary) !important;
|
7
8
|
box-shadow: 0 0 0 ($spacer * .125) var(--brand-primary-transparent);
|
data/lib/nfg_ui/version.rb
CHANGED
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: 6.17.
|
4
|
+
version: 6.17.3
|
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:
|
12
|
+
date: 2025-02-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bootstrap
|
@@ -406,6 +406,9 @@ files:
|
|
406
406
|
- app/assets/fonts/product_icons/IcoMoon-product-icons.ttf
|
407
407
|
- app/assets/fonts/product_icons/IcoMoon-product-icons.woff
|
408
408
|
- app/assets/fonts/product_icons/product-icons-icomoon.zip
|
409
|
+
- app/assets/images/backgrounds/bg-image-primary.jpg
|
410
|
+
- app/assets/images/backgrounds/bg-image-success.jpg
|
411
|
+
- app/assets/images/backgrounds/bg-image-warning.jpg
|
409
412
|
- app/assets/images/nfg_ui/app_icon/android-chrome-192x192.png
|
410
413
|
- app/assets/images/nfg_ui/app_icon/android-chrome-384x384.png
|
411
414
|
- app/assets/images/nfg_ui/app_icon/apple-touch-icon.png
|
@@ -432,6 +435,8 @@ files:
|
|
432
435
|
- app/assets/images/nfg_ui/engagement_banners/snow-bg.gif
|
433
436
|
- app/assets/images/nfg_ui/logo/logo-full-color-nfg.svg
|
434
437
|
- app/assets/images/nfg_ui/logo/logo-symbol-indigo-bonterra.svg
|
438
|
+
- app/assets/images/onboarding/clouds-blue.png
|
439
|
+
- app/assets/images/onboarding/clouds-green.png
|
435
440
|
- app/assets/javascripts/nfg_ui/application.coffee
|
436
441
|
- app/assets/javascripts/nfg_ui/collapsible_toggle.coffee
|
437
442
|
- app/assets/javascripts/nfg_ui/datepicker.coffee
|