blacklight 7.15.0 → 7.15.1
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/VERSION +1 -1
- data/app/assets/stylesheets/blacklight/_icons.scss +5 -1
- data/app/assets/stylesheets/blacklight/blacklight_defaults.scss +5 -0
- data/app/components/blacklight/constraint_layout_component.html.erb +1 -1
- data/app/components/blacklight/facet_field_pagination_component.rb +1 -1
- data/app/components/blacklight/facet_item_component.rb +2 -2
- data/app/presenters/blacklight/rendering/helper_method.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c361c374c8af05f8f0104e57699a41ccc32af93ceefa4f37ecdb036d10931a9
|
4
|
+
data.tar.gz: 1243d79f46fc64008b804b1e6fb78ceeb4a73fb95c235624adc5257b6d3098a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd26f409ddc7382b884ec3e9de4ad2f9ac437707d7ee7d0256e0f1603c9da2cea82f954d2ea83724873ce9a965fc9c7187d14af73ef948d03d7a43d77736628f
|
7
|
+
data.tar.gz: 0d9682303fdfc23e100ee2ed83bf9c077dcbdc013417f6b371ad40bf49cdd7b1b91e1847342036cad8eadf8d04acd4bba057f661c63ef791a8239c032cc448f1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.15.
|
1
|
+
7.15.1
|
@@ -5,3 +5,8 @@ $logo-image: image_url('blacklight/logo.png') !default;
|
|
5
5
|
/* label (field names) */
|
6
6
|
$field_name_color: $text-muted !default;
|
7
7
|
$zindex-typeahead: $zindex-dropdown;
|
8
|
+
|
9
|
+
// the default bootstrap font-family list includes "Segoe UI Emoji", which, on windows
|
10
|
+
// renders our remove icon as an emoji-sized x instead of what we see on all other platforms...
|
11
|
+
// so, for now (until we replace it with an SVG icon or something), we get to override bootstrap:
|
12
|
+
$remove-icon-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif !default;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
</span>
|
10
10
|
<% if @remove_path.present? %>
|
11
11
|
<%= link_to(@remove_path, class: 'btn btn-outline-secondary remove') do %>
|
12
|
-
<span class="remove-icon">✖</span>
|
12
|
+
<span class="remove-icon" aria-hidden="true">✖</span>
|
13
13
|
<span class="sr-only">
|
14
14
|
<%= if @label.blank?
|
15
15
|
t('blacklight.search.filters.remove.value', value: @value)
|
@@ -86,8 +86,8 @@ module Blacklight
|
|
86
86
|
tag.span(@label, class: "selected") +
|
87
87
|
# remove link
|
88
88
|
link_to(@href, class: "remove") do
|
89
|
-
tag.span('✖', class: "remove-icon") +
|
90
|
-
tag.span('
|
89
|
+
tag.span('✖', class: "remove-icon", aria: { hidden: true }) +
|
90
|
+
tag.span(@view_context.t(:'blacklight.search.facets.selected.remove'), class: 'sr-only')
|
91
91
|
end
|
92
92
|
end + render_facet_count(classes: ["selected"])
|
93
93
|
end
|
@@ -15,10 +15,10 @@ module Blacklight
|
|
15
15
|
|
16
16
|
def render_helper
|
17
17
|
context.send(config.helper_method,
|
18
|
-
options.merge(document: document,
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
**options.merge(document: document,
|
19
|
+
field: config.field,
|
20
|
+
config: config,
|
21
|
+
value: values))
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.15.
|
4
|
+
version: 7.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2021-
|
20
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|