blacklight-spotlight 4.5.0 → 4.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/spotlight/blocks/sir-trevor-icons.svg +1 -1
- data/app/assets/javascripts/spotlight/spotlight.esm.js +19 -22
- data/app/assets/javascripts/spotlight/spotlight.esm.js.map +1 -1
- data/app/assets/javascripts/spotlight/spotlight.js +19 -22
- data/app/assets/javascripts/spotlight/spotlight.js.map +1 -1
- data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +5 -4
- data/app/assets/stylesheets/spotlight/_browse.scss +27 -12
- data/app/components/spotlight/bulk_action_component.html.erb +8 -0
- data/app/components/spotlight/bulk_action_component.rb +20 -0
- data/app/components/spotlight/header_navigation_link_component.html.erb +1 -0
- data/app/components/spotlight/header_navigation_link_component.rb +14 -0
- data/app/components/spotlight/save_search_component.html.erb +25 -0
- data/app/components/spotlight/save_search_component.rb +25 -0
- data/app/components/spotlight/translations/subheading_component.html.erb +3 -0
- data/app/components/spotlight/translations/subheading_component.rb +17 -0
- data/app/controllers/spotlight/accessibility_controller.rb +1 -3
- data/app/helpers/spotlight/application_helper.rb +6 -7
- data/app/helpers/spotlight/main_app_helpers.rb +1 -1
- data/app/javascript/spotlight/admin/blacklight_configuration.js +18 -21
- data/app/javascript/spotlight/admin/blocks/uploaded_items_block.js +2 -2
- data/app/models/spotlight/page_configurations.rb +2 -1
- data/app/views/catalog/_bulk_actions.html.erb +1 -10
- data/app/views/catalog/_save_search.html.erb +1 -25
- data/app/views/shared/_about_navbar.html.erb +1 -1
- data/app/views/shared/_browse_navbar.html.erb +1 -1
- data/app/views/shared/_curated_features_navbar.html.erb +4 -1
- data/app/views/spotlight/accessibility/alt_text.html.erb +1 -7
- data/app/views/spotlight/admin_users/index.html.erb +2 -2
- data/app/views/spotlight/metadata_configurations/edit.html.erb +12 -2
- data/app/views/spotlight/translations/_general.html.erb +2 -6
- data/app/views/spotlight/translations/_metadata.html.erb +1 -3
- data/app/views/spotlight/translations/_pages.html.erb +4 -9
- data/app/views/spotlight/translations/_search_fields.html.erb +3 -9
- data/config/locales/spotlight.en.yml +1 -1
- data/lib/generators/spotlight/templates/spotlight.scss +0 -1
- data/lib/spotlight/engine.rb +7 -0
- data/lib/spotlight/version.rb +1 -1
- metadata +10 -3
- data/app/assets/stylesheets/spotlight/_variables_bootstrap.scss +0 -7
data/lib/spotlight/engine.rb
CHANGED
@@ -188,6 +188,13 @@ module Spotlight
|
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
|
+
initializer 'components.initialize' do
|
192
|
+
ActiveSupport::Reloader.to_prepare do
|
193
|
+
Spotlight::Engine.config.spotlight = OpenStruct.new
|
194
|
+
Spotlight::Engine.config.spotlight.header_navigation_link_component = Spotlight::HeaderNavigationLinkComponent
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
191
198
|
# After creating a property for your site on Google Analytics, you need to:
|
192
199
|
# a) Enable Google Analytics API in https://console.cloud.google.com/
|
193
200
|
# b) generate and download the JSON key and make it accessible to your application
|
data/lib/spotlight/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight-spotlight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Beer
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2024-12-
|
14
|
+
date: 2024-12-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activejob-status
|
@@ -897,7 +897,6 @@ files:
|
|
897
897
|
- app/assets/stylesheets/spotlight/_uploaded_items_block.scss
|
898
898
|
- app/assets/stylesheets/spotlight/_utilities.scss
|
899
899
|
- app/assets/stylesheets/spotlight/_variables.scss
|
900
|
-
- app/assets/stylesheets/spotlight/_variables_bootstrap.scss
|
901
900
|
- app/assets/stylesheets/spotlight/_view_larger.scss
|
902
901
|
- app/assets/stylesheets/spotlight/browse_group_categories_block.scss
|
903
902
|
- app/assets/stylesheets/spotlight/typeahead.scss
|
@@ -922,6 +921,8 @@ files:
|
|
922
921
|
- app/components/spotlight/analytics/dashboard_component.rb
|
923
922
|
- app/components/spotlight/breadcrumbs_component.html.erb
|
924
923
|
- app/components/spotlight/breadcrumbs_component.rb
|
924
|
+
- app/components/spotlight/bulk_action_component.html.erb
|
925
|
+
- app/components/spotlight/bulk_action_component.rb
|
925
926
|
- app/components/spotlight/document_admin_table_component.html.erb
|
926
927
|
- app/components/spotlight/document_admin_table_component.rb
|
927
928
|
- app/components/spotlight/document_component.rb
|
@@ -931,11 +932,17 @@ files:
|
|
931
932
|
- app/components/spotlight/exhibit_navbar_component.rb
|
932
933
|
- app/components/spotlight/header_component.html.erb
|
933
934
|
- app/components/spotlight/header_component.rb
|
935
|
+
- app/components/spotlight/header_navigation_link_component.html.erb
|
936
|
+
- app/components/spotlight/header_navigation_link_component.rb
|
934
937
|
- app/components/spotlight/icon_component.rb
|
938
|
+
- app/components/spotlight/save_search_component.html.erb
|
939
|
+
- app/components/spotlight/save_search_component.rb
|
935
940
|
- app/components/spotlight/solr_document_legacy_embed_component.html.erb
|
936
941
|
- app/components/spotlight/solr_document_legacy_embed_component.rb
|
937
942
|
- app/components/spotlight/tag_list_form_component.html.erb
|
938
943
|
- app/components/spotlight/tag_list_form_component.rb
|
944
|
+
- app/components/spotlight/translations/subheading_component.html.erb
|
945
|
+
- app/components/spotlight/translations/subheading_component.rb
|
939
946
|
- app/controllers/concerns/spotlight/base.rb
|
940
947
|
- app/controllers/concerns/spotlight/catalog.rb
|
941
948
|
- app/controllers/concerns/spotlight/config.rb
|
@@ -1,7 +0,0 @@
|
|
1
|
-
// $font-size-base: 14px;
|
2
|
-
// $h1-font-size: floor(($font-size-base * 2.15)) !default; // ~30px
|
3
|
-
// $h2-font-size: floor(($font-size-base * 1.7)) !default; // ~24px
|
4
|
-
// $h3-font-size: ceil(($font-size-base * 1.53)) !default; // ~201px
|
5
|
-
// $h4-font-size: ceil(($font-size-base * 1.21)) !default; // ~17px
|
6
|
-
// $h5-font-size: $font-size-base !default;
|
7
|
-
// $h6-font-size: ceil(($font-size-base * 0.85)) !default; // ~12px
|