nfg_ui 0.10.12 → 0.11.0

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.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +0 -2
  3. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/application.scss +9 -23
  4. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_badge.scss +0 -0
  5. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_buttons.scss +0 -0
  6. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_custom-forms.scss +0 -0
  7. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_custom.scss +0 -0
  8. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_forms.scss +0 -0
  9. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_nav.scss +18 -0
  10. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_pagination.scss +0 -0
  11. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_progress.scss +0 -0
  12. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_reboot.scss +0 -0
  13. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_type.scss +0 -0
  14. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/_utilities.scss +0 -0
  15. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/custom/_icons.scss +0 -0
  16. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations/nfg_theme}/custom/_nav_step.scss +0 -0
  17. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations}/plugins/_datetimepicker.scss +0 -0
  18. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/{nfg_theme/color_variations → color_variations}/plugins/_select2.scss +0 -0
  19. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom.scss +1 -9
  20. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss +0 -38
  21. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_tile.scss +2 -61
  22. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_video_countdown.scss +47 -0
  23. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/_variables.scss +35 -34
  24. data/app/assets/stylesheets/nfg_ui/network_for_good/core/application.scss +24 -0
  25. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/application.scss +4 -4
  26. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_badge.scss +0 -0
  27. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_buttons.scss +2 -2
  28. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_custom-forms.scss +0 -0
  29. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_custom.scss +0 -0
  30. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_forms.scss +0 -0
  31. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_functions.scss +0 -0
  32. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_nav.scss +2 -4
  33. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_navbar.scss +0 -0
  34. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_reboot.scss +0 -0
  35. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_type.scss +0 -0
  36. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/_utilities.scss +0 -0
  37. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/custom/_everyday_default.scss +0 -0
  38. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/nfg_theme/custom/_nav_step.scss +0 -0
  39. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/plugins/_datetimepicker.scss +0 -0
  40. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/entity_branding/plugins/_select2.scss +0 -0
  41. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/_variables.scss +0 -0
  42. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/application.scss +0 -0
  43. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_breadcrumb.scss +0 -0
  44. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_button-group.scss +0 -0
  45. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_card.scss +0 -0
  46. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_carousel.scss +0 -0
  47. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_custom-forms.scss +0 -0
  48. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_custom.scss +1 -0
  49. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_forms.scss +0 -0
  50. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_grid.scss +0 -0
  51. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_input-group.scss +0 -0
  52. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_list-group.scss +0 -0
  53. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_media.scss +0 -0
  54. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_mixins.scss +0 -0
  55. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_modal.scss +0 -0
  56. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_nav.scss +0 -0
  57. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_navbar.scss +0 -0
  58. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_pagination.scss +0 -0
  59. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_progress.scss +0 -0
  60. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/_utilities.scss +0 -0
  61. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_avatar.scss +0 -0
  62. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_everyday_giving.scss +0 -0
  63. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/custom/_nav_step.scss +0 -0
  64. data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_slat.scss +64 -0
  65. data/app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_video_countdown.scss +5 -0
  66. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_breakpoints.scss +0 -0
  67. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss +0 -0
  68. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/mixins/_grid.scss +0 -0
  69. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/utilities/_display.scss +0 -0
  70. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/nfg_theme/utilities/_flex.scss +0 -0
  71. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/legacy_browser_support/plugins/_sticky_div.scss +0 -0
  72. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_alert.scss +6 -6
  73. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_button-group.scss +0 -0
  74. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_buttons.scss +1 -1
  75. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_card.scss +3 -5
  76. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_custom-forms.scss +0 -0
  77. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom.scss +11 -0
  78. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_dropdown.scss +0 -0
  79. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_forms.scss +0 -0
  80. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_nav.scss +26 -0
  81. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/_progress.scss +0 -0
  82. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_reboot.scss +0 -0
  83. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_tooltip.scss +0 -0
  84. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/_type.scss +0 -0
  85. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_avatar.scss +0 -0
  86. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_device_preview.scss +0 -0
  87. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_illustration.scss +0 -0
  88. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_mobile.scss +0 -0
  89. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_nav_step.scss +0 -0
  90. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_redactor.scss +0 -0
  91. data/app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_slat.scss +142 -0
  92. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/custom/_social_share.scss +2 -0
  93. data/app/assets/stylesheets/nfg_ui/network_for_good/{admin → core}/nfg_theme/custom/_ticket.scss +0 -0
  94. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/nfg_theme/custom/_tile.scss +1 -2
  95. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_datepicker.scss +0 -0
  96. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_datetimepicker.scss +0 -0
  97. data/app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_intercom.scss +5 -0
  98. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_select2.scss +0 -0
  99. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_sticky_div.scss +0 -0
  100. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_turbolinks.scss +0 -0
  101. data/app/assets/stylesheets/nfg_ui/network_for_good/{public → core}/plugins/_twitter_typeahead.scss +0 -0
  102. data/app/assets/stylesheets/nfg_ui/network_for_good/public/application.scss +3 -20
  103. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom.scss +1 -8
  104. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_nav.scss +3 -38
  105. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/{custom/_user_navbar.scss → _navbar.scss} +2 -2
  106. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_background_variations.scss +1 -0
  107. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/{_event.scss → custom/_event.scss} +0 -0
  108. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_story.scss +1 -1
  109. data/lib/nfg_ui.rb +0 -1
  110. data/lib/nfg_ui/components/elements/slat_item.rb +13 -8
  111. data/lib/nfg_ui/components/patterns/slat_actions.rb +9 -35
  112. data/lib/nfg_ui/components/patterns/slats.rb +60 -0
  113. data/lib/nfg_ui/components/traits.rb +1 -0
  114. data/lib/nfg_ui/components/traits/slats.rb +26 -0
  115. data/lib/nfg_ui/version.rb +1 -1
  116. metadata +103 -117
  117. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/_variables.scss +0 -1125
  118. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_progress.scss +0 -3
  119. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_nav.scss +0 -9
  120. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_plugins.scss +0 -3
  121. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_slat.scss +0 -112
  122. data/app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_social_share.scss +0 -44
  123. data/app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_slat.scss +0 -66
  124. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_alert.scss +0 -2
  125. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_button-group.scss +0 -22
  126. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_buttons.scss +0 -17
  127. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_card.scss +0 -6
  128. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom-forms.scss +0 -156
  129. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_dropdown.scss +0 -1
  130. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_forms.scss +0 -85
  131. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_reboot.scss +0 -34
  132. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_tooltip.scss +0 -5
  133. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_type.scss +0 -81
  134. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_avatar.scss +0 -54
  135. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_illustration.scss +0 -7
  136. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_nav_step.scss +0 -111
  137. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_slat.scss +0 -110
  138. data/app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_ticket.scss +0 -12
  139. data/app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_intercom.scss +0 -7
  140. data/lib/nfg_ui/components/patterns/slat_list.rb +0 -18
@@ -3,6 +3,7 @@
3
3
  $facebook: #3b5998 !default;
4
4
  $twitter: #1da1f2 !default;
5
5
  $linkedin: #0077b5 !default;
6
+ $google-plus: #dd4b39 !default;
6
7
  $pinterest: #bd081c !default;
7
8
 
8
9
  $social-media-colors: () !default;
@@ -12,6 +13,7 @@ $social-media-colors: map-merge(
12
13
  "facebook": $facebook,
13
14
  "twitter": $twitter,
14
15
  "linkedin": $linkedin,
16
+ "google-plus": $google-plus,
15
17
  "pinterest": $pinterest
16
18
  ),
17
19
  $social-media-colors
@@ -8,8 +8,7 @@
8
8
  margin-left: auto;
9
9
  word-wrap: break-word;
10
10
  background-color: $white;
11
- border-radius: $border-radius;
12
- box-shadow: $box-shadow-sm;
11
+ border: $border-width solid $border-color;
13
12
  + .tile { margin-top: $spacer; }
14
13
  }
15
14
 
@@ -0,0 +1,5 @@
1
+ // INTERCOM -- custom styles for https://www.intercom.io/ integration
2
+
3
+ .intercom-lightweight-app-launcher, .intercom-launcher-frame { // second selector is class added to intercom icon after full screen closes on mobile
4
+ @include media-breakpoint-down(md) { bottom: ($spacer * 3.5) !important; } // adjusts location on medium devices and smaller
5
+ }
@@ -1,24 +1,7 @@
1
1
  //** Public Styles **//
2
2
 
3
- // App Vendors
4
- @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700);
5
- @import 'font-awesome';
6
- @import 'select2';
3
+ // Core Styles
4
+ @import 'nfg_ui/network_for_good/core/application';
7
5
 
8
- // Our Variables
9
- @import 'variables';
10
-
11
- // Bootstrap Vendor Base
12
- @import 'bootstrap';
13
-
14
- // NFG Theme
6
+ // Customization and Overrides
15
7
  @import 'nfg_theme/*';
16
-
17
- // Plugins
18
- @import 'plugins/datepicker';
19
- @import 'plugins/sticky_div';
20
- @import 'plugins/select2';
21
- @import 'plugins/datetimepicker';
22
-
23
- // Legacy browser support
24
- @import 'legacy_browser_support/application';
@@ -1,15 +1,8 @@
1
1
  // Our custom styles
2
2
  @import 'custom/admin_bar';
3
- @import 'custom/avatar';
4
3
  @import 'custom/background_variations';
5
4
  @import 'custom/donor_account';
5
+ @import 'custom/event';
6
6
  @import 'custom/everyday_default';
7
7
  @import 'custom/everyday_story';
8
8
  @import 'custom/footer_links';
9
- @import 'custom/illustration';
10
- @import 'custom/nav_step';
11
- @import 'custom/slat';
12
- @import 'custom/social_share';
13
- @import 'custom/ticket';
14
- @import 'custom/tile';
15
- @import 'custom/user_navbar';
@@ -1,50 +1,15 @@
1
- // Vertical navigations with left indicator
1
+ // Vertical navigations with left indicator used in donor profile area
2
2
  .nav {
3
3
  &.flex-column {
4
4
  .nav-link {
5
5
  position: relative;
6
6
  color: $text-muted;
7
- &::after {
8
- position: absolute;
9
- top: 0;
10
- left: 0;
11
- width: ($spacer * .25);
12
- height: 100%;
13
- border-radius: (($spacer * .25) / 2);
14
- transition: $transition-base;
15
- content: '';
16
- }
7
+ border-left: 4px solid transparent;
17
8
  &.active {
18
9
  color: $nav-tabs-link-active-color !important;
19
- &::after { background: $nav-tabs-link-hover-border-color; }
10
+ border-color: $nav-tabs-link-hover-border-color;
20
11
  }
21
12
  @include hover-focus { color: $nav-tabs-link-active-color !important; }
22
13
  }
23
14
  }
24
15
  }
25
-
26
- //
27
- // Tabs
28
- //
29
- .nav-tabs {
30
- .nav-item { margin-right: ($spacer * .5); }
31
- .nav-link {
32
- position: relative;
33
- color: $text-muted;
34
- border: none;
35
- &::after {
36
- position: absolute;
37
- bottom: 0;
38
- left: 0;
39
- width: 100%;
40
- height: ($spacer * .25);
41
- border-radius: (($spacer * .25) / 2);
42
- transition: $transition-base;
43
- content: '';
44
- }
45
- @include hover-focus {
46
- color: $nav-tabs-link-active-color !important;
47
- &::after { background: $nav-tabs-link-hover-border-color; }
48
- }
49
- }
50
- }
@@ -1,10 +1,10 @@
1
1
  // Styles specific for the new user navbar on everyday_story and everyday_classic_style layouts
2
2
 
3
- $navbar-logo-height: (($spacer * 4.5) - ($navbar-padding-y * 2));
3
+ $navbar-logo-height: (($spacer * 4.5) - $spacer);
4
4
 
5
5
  .navbar-brand {
6
6
  margin-right: 0;
7
- padding: $navbar-padding-y 0;
7
+ padding: ($spacer * .5) 0;
8
8
  max-width: ($spacer * 8);
9
9
  height: $navbar-logo-height;
10
10
  white-space: normal !important;
@@ -3,6 +3,7 @@
3
3
  @include media-breakpoint-down(md) {
4
4
  &.jumbotron, &.card { background-color: $gray-800; }
5
5
  }
6
+ &.card { border-color: $gray-800; }
6
7
  h1, h2, h3, h4, h5, h6, p, label { color: $white; }
7
8
  .progress { background-color: $gray-600; }
8
9
 
@@ -6,7 +6,7 @@
6
6
  background-size: cover;
7
7
  @include media-breakpoint-down(md) {
8
8
  background-image: none !important;
9
- .card { box-shadow: none; }
9
+ .card { box-shadow: none !important; }
10
10
  .card-body { padding: 0; }
11
11
  }
12
12
  @include media-breakpoint-up(lg) { min-height: 500px; }
@@ -168,7 +168,6 @@ module NfgUi
168
168
  slat
169
169
  slat_actions
170
170
  slat_header
171
- slat_list
172
171
  slats
173
172
  steps
174
173
  tab_content
@@ -24,13 +24,13 @@ module NfgUi
24
24
  end
25
25
 
26
26
  def render
27
- super do
27
+ content_tag(base_element, slat_item_html_options) do
28
28
  if slat_header
29
- concat(content_tag(:h6, slat_header, class: 'display-4'))
29
+ concat(content_tag(:h6, slat_header, class: 'display-4 slat-column-header'))
30
30
  end
31
31
  if heading
32
32
  if href
33
- concat(content_tag(:a, href: href) {
33
+ concat(content_tag(:a, href: view_context.url_for(href)) {
34
34
  NfgUi::Components::Foundations::Typeface.new({ subheading: heading }, view_context).render
35
35
  })
36
36
  else
@@ -46,11 +46,16 @@ module NfgUi
46
46
 
47
47
  private
48
48
 
49
- def css_classes
50
- [
51
- super,
52
- ('text-word-wrap' if size == :lg)
53
- ]
49
+ # Strip the href from html_options and pass it to the header
50
+ def slat_item_html_options
51
+ html_options.except(:href)
52
+ end
53
+
54
+ # :sm is the default size, and is not given
55
+ # a `slat-item-sm` class name.
56
+ # thus, reject :sm from resizable symbols.
57
+ def resized?
58
+ [:md, :lg, :xl].include?(size)
54
59
  end
55
60
 
56
61
  def non_html_attribute_options
@@ -28,38 +28,15 @@ module NfgUi
28
28
  options.fetch(:menu, true)
29
29
  end
30
30
 
31
- # Signal if this slat_action is being used
32
- # In the slat_header area of the Slats
33
- #
34
- # If so, this then customizes the output of the
35
- # SlatActions to ensure that the widths of the slat_header columns
36
- # is accurate and matches the width of the slats below.
37
- def slat_header
38
- options.fetch(:slat_header, false)
39
- end
40
-
41
- # Signals if this is a wide SlatActions.
42
- # This is a stylistic update which is used in situations like shopping carts where
43
- # you may only be providing a summary and have no actions or extra columns.
44
- #
45
- # Note: Further documentation is needed on this
46
- def wide
47
- options.fetch(:wide, true)
48
- end
49
-
50
31
  def render
51
32
  content_tag(:div, html_options) do
52
33
  if menu
53
- if slat_header
54
- content_tag(:h6, " ".html_safe, class: 'display-4')
55
- else
56
- NfgUi::Components::Patterns::Dropdown.new({ }, view_context).render do
57
- capture do
58
- concat(NfgUi::Components::Elements::DropdownToggle.new({ **default_dropdown_toggle_options, body: ('Actions' if wide)}, view_context).render)
59
- concat(NfgUi::Components::Patterns::DropdownMenu.new({ traits: [:right] }, view_context).render {
60
- (block_given? ? yield : body)
61
- })
62
- end
34
+ NfgUi::Components::Patterns::Dropdown.new({ }, view_context).render do
35
+ capture do
36
+ concat(NfgUi::Components::Elements::DropdownToggle.new({ **default_dropdown_toggle_options, body: dropdown_toggle_body }, view_context).render)
37
+ concat(NfgUi::Components::Patterns::DropdownMenu.new({ traits: [:right] }, view_context).render {
38
+ (block_given? ? yield : body)
39
+ })
63
40
  end
64
41
  end
65
42
  else
@@ -76,15 +53,12 @@ module NfgUi
76
53
  { outlined: true, theme: :secondary }
77
54
  end
78
55
 
79
- def css_classes
80
- [
81
- super,
82
- ("#{component_css_class}-sm" unless wide)
83
- ].join(' ').squish
56
+ def dropdown_toggle_body
57
+ content_tag(:span, 'Actions', class: 'slat-actions-text')
84
58
  end
85
59
 
86
60
  def non_html_attribute_options
87
- super.push(:slat_header, :wide, :menu)
61
+ super.push(:menu)
88
62
  end
89
63
  end
90
64
  end
@@ -5,9 +5,69 @@ module NfgUi
5
5
  module Patterns
6
6
  # Main slats
7
7
  class Slats < NfgUi::Components::Base
8
+ include Bootstrap::Utilities::Sizable
9
+
10
+ include NfgUi::Components::Traits::Size
11
+ include NfgUi::Components::Traits::Slats
12
+
8
13
  def component_family
9
14
  :slats
10
15
  end
16
+
17
+ # When :nowrap is true,
18
+ # the slat-item columns will not break into rows
19
+ # regardless of responsive page width
20
+ #
21
+ # When false / not present
22
+ # slat item columns will break down into rows as expected in conventional
23
+ # responsivel webpage design.
24
+ def nowrap
25
+ options.fetch(:nowrap, false)
26
+ end
27
+
28
+ # Determine whether or not to accomodate a specific
29
+ # SlatActions size configuration
30
+ # by default, when slat_actions is not set
31
+ # it should have a nil presence
32
+ #
33
+ # Note:
34
+ # `nil` is different from the :none keyword
35
+ #
36
+ # Options:
37
+ # :sm - account for a small SlatAction (icon only)
38
+ # :lg - account for a large SlatAction (Text & Icon)
39
+ # :none - Do not account for a SlatAction
40
+ #
41
+ # Leaving `nil` for slat_actions will kick off
42
+ # default behavior for the Slats' SlatAction
43
+ # which is a combination of :lg (for large screen)
44
+ # and :sm for small screen (where the slat action flexes)
45
+ # across screen sizes hiding and showing its text
46
+ def slat_actions
47
+ options[:slat_actions] || nil
48
+ end
49
+
50
+ private
51
+
52
+ def css_classes
53
+ [
54
+ super,
55
+ ("#{component_css_class}-nowrap" if nowrap),
56
+ ("slat-actions-#{slat_actions}" if slat_actions_resized?)
57
+ ].join(' ').squish
58
+ end
59
+
60
+ # Only acceptable keywords are:
61
+ # :sm, :lg, and :none
62
+ # all other slat_action keywords are ignored
63
+ def slat_actions_resized?
64
+ [:sm, :lg, :none].include?(slat_actions)
65
+ end
66
+
67
+ def non_html_attribute_options
68
+ super.push(:slat_actions, :nowrap)
69
+ end
70
+
11
71
  end
12
72
  end
13
73
  end
@@ -29,6 +29,7 @@ module NfgUi
29
29
  Responsive
30
30
  Size
31
31
  Step
32
+ Slats
32
33
  SlatItem
33
34
  Table
34
35
  Theme
@@ -0,0 +1,26 @@
1
+ module NfgUi
2
+ module Components
3
+ module Traits
4
+ # Step traits
5
+ module Slats
6
+ TRAITS = %i[slat_actions_sm slat_actions_lg slat_actions_none nowrap].freeze
7
+
8
+ def nowrap_trait
9
+ options[:nowrap] = true
10
+ end
11
+
12
+ def slat_actions_sm_trait
13
+ options[:slat_actions] = :sm
14
+ end
15
+
16
+ def slat_actions_lg_trait
17
+ options[:slat_actions] = :lg
18
+ end
19
+
20
+ def slat_actions_none_trait
21
+ options[:slat_actions] = :none
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NfgUi
4
- VERSION = '0.10.12'
4
+ VERSION = '0.11.0'
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nfg_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.12
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Roehm
8
8
  - Kyle Morin
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-22 00:00:00.000000000 Z
12
+ date: 2020-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bootstrap
@@ -395,67 +395,125 @@ files:
395
395
  - app/assets/javascripts/nfg_ui/vendor/legacy_browser_support/modernizr-preserve3d.min.js
396
396
  - app/assets/javascripts/nfg_ui/vendor/legacy_browser_support/modernizr-smil.min.js
397
397
  - app/assets/stylesheets/nfg_ui/bootstrap/application.scss
398
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/_variables.scss
399
398
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/application.scss
400
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_alert.scss
399
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_badge.scss
400
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_buttons.scss
401
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_custom-forms.scss
402
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_custom.scss
403
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_forms.scss
404
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_nav.scss
405
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_pagination.scss
406
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_progress.scss
407
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_reboot.scss
408
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_type.scss
409
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/_utilities.scss
410
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/custom/_icons.scss
411
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/nfg_theme/custom/_nav_step.scss
412
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_datetimepicker.scss
413
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/color_variations/plugins/_select2.scss
401
414
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_backgrounds.scss
402
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_button-group.scss
403
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_buttons.scss
404
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_card.scss
405
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom-forms.scss
406
415
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_custom.scss
407
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_dropdown.scss
408
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_forms.scss
409
416
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_grid.scss
410
417
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_media.scss
411
418
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_modal.scss
412
419
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_nav.scss
413
420
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_navbar.scss
414
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_progress.scss
415
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_reboot.scss
416
421
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_tables.scss
417
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_tooltip.scss
418
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/_type.scss
419
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_badge.scss
420
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_buttons.scss
421
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_custom-forms.scss
422
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_custom.scss
423
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_forms.scss
424
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_nav.scss
425
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_pagination.scss
426
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_plugins.scss
427
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_progress.scss
428
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_reboot.scss
429
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_type.scss
430
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/_utilities.scss
431
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/custom/_icons.scss
432
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/custom/_nav_step.scss
433
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/plugins/_datetimepicker.scss
434
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/color_variations/plugins/_select2.scss
435
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_avatar.scss
436
422
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_builder_layout.scss
437
423
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_campaign_card.scss
438
424
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_campaign_preview.scss
439
425
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_content_section_buttons.scss
440
426
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_custom_questions_questionnaire.scss
441
427
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_custom_receipt_language.scss
442
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_device_preview.scss
443
428
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_email_preview.scss
444
429
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_free_trial.scss
445
430
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_icomoon.scss
446
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_illustration.scss
447
431
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_interaction.scss
448
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_mobile.scss
449
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_nav_step.scss
450
432
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_overlay_blocker.scss
451
433
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_page_header.scss
452
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_redactor.scss
453
434
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_share_dropdown.scss
454
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_slat.scss
455
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_social_share.scss
456
435
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_status_indicator.scss
457
- - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_ticket.scss
458
436
  - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_tile.scss
437
+ - app/assets/stylesheets/nfg_ui/network_for_good/admin/nfg_theme/custom/_video_countdown.scss
438
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/_variables.scss
439
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/application.scss
440
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/application.scss
441
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_badge.scss
442
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_buttons.scss
443
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_custom-forms.scss
444
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_custom.scss
445
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_forms.scss
446
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_functions.scss
447
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_nav.scss
448
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_navbar.scss
449
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_reboot.scss
450
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_type.scss
451
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/_utilities.scss
452
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/custom/_everyday_default.scss
453
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/nfg_theme/custom/_nav_step.scss
454
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_datetimepicker.scss
455
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/entity_branding/plugins/_select2.scss
456
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/_variables.scss
457
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/application.scss
458
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_breadcrumb.scss
459
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_button-group.scss
460
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_card.scss
461
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_carousel.scss
462
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_custom-forms.scss
463
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_custom.scss
464
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_forms.scss
465
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_grid.scss
466
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_input-group.scss
467
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_list-group.scss
468
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_media.scss
469
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_mixins.scss
470
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_modal.scss
471
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_nav.scss
472
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_navbar.scss
473
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_pagination.scss
474
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_progress.scss
475
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/_utilities.scss
476
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_avatar.scss
477
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_everyday_giving.scss
478
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_nav_step.scss
479
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_slat.scss
480
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/custom/_video_countdown.scss
481
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_breakpoints.scss
482
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
483
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/mixins/_grid.scss
484
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/utilities/_display.scss
485
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/nfg_theme/utilities/_flex.scss
486
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/legacy_browser_support/plugins/_sticky_div.scss
487
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_alert.scss
488
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_button-group.scss
489
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_buttons.scss
490
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_card.scss
491
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom-forms.scss
492
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_custom.scss
493
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_dropdown.scss
494
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_forms.scss
495
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_nav.scss
496
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_progress.scss
497
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_reboot.scss
498
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_tooltip.scss
499
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/_type.scss
500
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_avatar.scss
501
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_device_preview.scss
502
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_illustration.scss
503
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_mobile.scss
504
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_nav_step.scss
505
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_redactor.scss
506
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_slat.scss
507
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_social_share.scss
508
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_ticket.scss
509
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/nfg_theme/custom/_tile.scss
510
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datepicker.scss
511
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_datetimepicker.scss
512
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_intercom.scss
513
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_select2.scss
514
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_sticky_div.scss
515
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_turbolinks.scss
516
+ - app/assets/stylesheets/nfg_ui/network_for_good/core/plugins/_twitter_typeahead.scss
459
517
  - app/assets/stylesheets/nfg_ui/network_for_good/email/application.scss
460
518
  - app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_alignment.scss
461
519
  - app/assets/stylesheets/nfg_ui/network_for_good/email/foundation_emails/_button.scss
@@ -465,91 +523,19 @@ files:
465
523
  - app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_spacers.scss
466
524
  - app/assets/stylesheets/nfg_ui/network_for_good/email/nfg_theme/_typography.scss
467
525
  - app/assets/stylesheets/nfg_ui/network_for_good/email/settings/_settings.scss
468
- - app/assets/stylesheets/nfg_ui/network_for_good/public/_variables.scss
469
526
  - app/assets/stylesheets/nfg_ui/network_for_good/public/application.scss
470
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/application.scss
471
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_badge.scss
472
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_buttons.scss
473
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_custom-forms.scss
474
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_custom.scss
475
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_forms.scss
476
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_functions.scss
477
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_nav.scss
478
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_navbar.scss
479
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_reboot.scss
480
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_type.scss
481
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/_utilities.scss
482
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/custom/_everyday_default.scss
483
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/nfg_theme/custom/_nav_step.scss
484
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/plugins/_datetimepicker.scss
485
- - app/assets/stylesheets/nfg_ui/network_for_good/public/entity_branding/plugins/_select2.scss
486
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/_variables.scss
487
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/application.scss
488
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_breadcrumb.scss
489
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_button-group.scss
490
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_card.scss
491
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_carousel.scss
492
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_custom-forms.scss
493
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_custom.scss
494
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_forms.scss
495
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_grid.scss
496
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_input-group.scss
497
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_list-group.scss
498
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_media.scss
499
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_mixins.scss
500
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_modal.scss
501
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_nav.scss
502
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_navbar.scss
503
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_pagination.scss
504
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_progress.scss
505
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/_utilities.scss
506
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_avatar.scss
507
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_everyday_giving.scss
508
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_nav_step.scss
509
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/custom/_slat.scss
510
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/mixins/_breakpoints.scss
511
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/mixins/_grid-framework.scss
512
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/mixins/_grid.scss
513
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/utilities/_display.scss
514
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/nfg_theme/utilities/_flex.scss
515
- - app/assets/stylesheets/nfg_ui/network_for_good/public/legacy_browser_support/plugins/_sticky_div.scss
516
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_alert.scss
517
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_button-group.scss
518
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_buttons.scss
519
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_card.scss
520
527
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_carousel.scss
521
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom-forms.scss
522
528
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_custom.scss
523
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_dropdown.scss
524
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_event.scss
525
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_forms.scss
526
529
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_list-group.scss
527
530
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_nav.scss
528
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_progress.scss
529
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_reboot.scss
530
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_tooltip.scss
531
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_type.scss
531
+ - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/_navbar.scss
532
532
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_admin_bar.scss
533
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_avatar.scss
534
533
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_background_variations.scss
535
534
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_donor_account.scss
535
+ - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_event.scss
536
536
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_default.scss
537
537
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_everyday_story.scss
538
538
  - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_footer_links.scss
539
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_illustration.scss
540
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_nav_step.scss
541
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_slat.scss
542
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_social_share.scss
543
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_ticket.scss
544
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_tile.scss
545
- - app/assets/stylesheets/nfg_ui/network_for_good/public/nfg_theme/custom/_user_navbar.scss
546
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_datepicker.scss
547
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_datetimepicker.scss
548
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_intercom.scss
549
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_select2.scss
550
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_sticky_div.scss
551
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_turbolinks.scss
552
- - app/assets/stylesheets/nfg_ui/network_for_good/public/plugins/_twitter_typeahead.scss
553
539
  - app/controllers/nfg_ui/application_controller.rb
554
540
  - app/helpers/nfg_ui/application_helper.rb
555
541
  - app/helpers/nfg_ui/components/browser_helper.rb
@@ -731,7 +717,6 @@ files:
731
717
  - lib/nfg_ui/components/patterns/slat.rb
732
718
  - lib/nfg_ui/components/patterns/slat_actions.rb
733
719
  - lib/nfg_ui/components/patterns/slat_header.rb
734
- - lib/nfg_ui/components/patterns/slat_list.rb
735
720
  - lib/nfg_ui/components/patterns/slats.rb
736
721
  - lib/nfg_ui/components/patterns/steps.rb
737
722
  - lib/nfg_ui/components/patterns/tab_content.rb
@@ -765,6 +750,7 @@ files:
765
750
  - lib/nfg_ui/components/traits/responsive.rb
766
751
  - lib/nfg_ui/components/traits/size.rb
767
752
  - lib/nfg_ui/components/traits/slat_item.rb
753
+ - lib/nfg_ui/components/traits/slats.rb
768
754
  - lib/nfg_ui/components/traits/step.rb
769
755
  - lib/nfg_ui/components/traits/table.rb
770
756
  - lib/nfg_ui/components/traits/theme.rb
@@ -798,7 +784,7 @@ homepage: https://github.com/network-for-good/nfg_ui
798
784
  licenses:
799
785
  - MIT
800
786
  metadata: {}
801
- post_install_message:
787
+ post_install_message:
802
788
  rdoc_options: []
803
789
  require_paths:
804
790
  - lib
@@ -814,7 +800,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
814
800
  version: '0'
815
801
  requirements: []
816
802
  rubygems_version: 3.0.8
817
- signing_key:
803
+ signing_key:
818
804
  specification_version: 4
819
805
  summary: NFG UI front-end design system code for rapid product building
820
806
  test_files: []