jekyll-theme-bas-style-kit 0.10.0 → 0.12.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b908438db459e82826393134d985468e10310620aa50ad9aa64a37ea3f2315d3
4
- data.tar.gz: 0a0cf92ed57a4d435fc80edc4e967d76517b4c1c070952a3af97dc443bb097ed
3
+ metadata.gz: e404d658a3f91feb04ae29162f681b4082c425574b72bbe6d4f1b60238f98dae
4
+ data.tar.gz: 6ce37c3dfd685038be4d96bb8682ad320862825a885e2704260a017070a14fc9
5
5
  SHA512:
6
- metadata.gz: 6798c1642676febbb0a84bc8cc86737252bdcb802707fa8a568152f72860a43732d4c89e9f09233d5c5169ebbbb59d35a6ac696e4eb6b642cbef9d0f206ce44c
7
- data.tar.gz: 8802655c6262bc25076cda5fc0c4a3064ed64b82dc331bf9585337940bae59ae139c8f92d2e2d6273f27c3f14c0da5ee722d5ddf5862812fe357140b43456964
6
+ metadata.gz: 16e5d2a9ad572a64f75aa8a9850ce476978e700c63c16f1463bbdc64d472e4da4bbcd9083cbf5c2434a8256871b2278c2fffbddfc532bbcf3d6515f13a7cc239
7
+ data.tar.gz: 5a9fd3db7ad3f922aa895e30c05d9572f4d753a2f76afd18ca14ad6ab62b01884aa8af2e97c2f452c87804112cfd22369aba38eb5fbbab654f6122128a52ec5f
data/CHANGELOG.md CHANGED
@@ -5,6 +5,27 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
5
5
 
6
6
  ## [Unreleased][unreleased]
7
7
 
8
+ ## 0.12.0 - 2023-07-13
9
+
10
+ ### Added
11
+
12
+ * Updated to Style Kit 0.7.0-alpha
13
+ * Updated to jQuery 3.6.0
14
+ * Updated to Jekyll 4.3.2
15
+
16
+ ### Removed
17
+
18
+ * jQuery
19
+ ## 0.11.0 - 2021-03-17
20
+
21
+ ### Added
22
+
23
+ * Updated to Style Kit 0.6.1
24
+ * Updated to jQuery 3.6.0
25
+ * Updated to Jekyll 4.2
26
+ * Updated Ruby dependencies
27
+ * Added optional item type header pattern integration into standard page layout
28
+
8
29
  ### Removed
9
30
 
10
31
  * Synk testing due to incompatibility with modern bundler versions
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # License
2
2
 
3
- © UK Research and Innovation (UKRI), 2017-2020, British Antarctic Survey.
3
+ © UK Research and Innovation (UKRI), 2017-2021, British Antarctic Survey.
4
4
 
5
5
  You may use and re-use this software and associated documentation files free of charge in any format or medium, under
6
6
  the terms of the Open Government Licence v3.0.
data/README.md CHANGED
@@ -644,9 +644,11 @@ These config options must not be changed and should be treated as read only:
644
644
  This theme depends on these plugins:
645
645
 
646
646
  * [Jekyll data](https://github.com/ashmaroli/jekyll-data) - for including theme data files into a site's configuration
647
- * [Jekyll menu](https://github.com/forestryio/jekyll-menus) - for managing navigation menus
647
+ * [Jekyll menus](https://github.com/forestryio/jekyll-menus) - for managing navigation menus
648
648
  * [Jekyll tidy](https://github.com/apsislabs/jekyll-tidy) - for rewriting HTML output to be well structured
649
649
 
650
+ **Note:** A patched version of the *Jekyll menus* plugin is used to fix a Ruby 3.0 incompatibility.
651
+
650
652
  ## Development
651
653
 
652
654
  [Git](https://git-scm.com), [Docker](https://www.docker.com/community-edition) and
@@ -733,7 +735,7 @@ After release:
733
735
 
734
736
  1. bump the version in:
735
737
  * `jekyll-theme-bas-style-kit.gemspec`
736
- * `_data/bsk_jekyll_vars.json`
738
+ * `_data/bsk_jekyll_vars.json` - or here? `_data/bas-style-kit/bsk-vars.yml`
737
739
  2. build and push the app docker image [1]
738
740
  3. commit changes, merge with master and close release branch
739
741
 
@@ -764,7 +766,7 @@ The maintainer of this project is the BAS Web & Applications Team, they can be c
764
766
 
765
767
  ## License
766
768
 
767
- © UK Research and Innovation (UKRI), 2017-2020, British Antarctic Survey.
769
+ © UK Research and Innovation (UKRI), 2017-2021, British Antarctic Survey.
768
770
 
769
771
  You may use and re-use this software and associated documentation files free of charge in any format or medium, under
770
772
  the terms of the Open Government Licence v3.0.
data/_config.yml CHANGED
@@ -6,6 +6,10 @@
6
6
  # Additional config options are defined using the Jekyll Data plugin, under the `site.data.bsk_jekyll_vars` namespace.
7
7
  # E.g. `site.data.bsk_jekyll_vars.bsk_attributes.bsk_version` gives the version of the BAS Style Kit this theme uses.
8
8
 
9
+ webrick:
10
+ headers:
11
+ Access-Control-Allow-Origin: "*"
12
+
9
13
  # Plugins (required by this theme)
10
14
  #
11
15
 
@@ -1,5 +1,9 @@
1
1
  ---
2
2
  -
3
- href: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.6.0-beta/css/bas-style-kit.min.css'
4
- integrity: 'sha256-CIM+E9YZgr1hUKQ98wzF/USoPd7OBQl9Y6bWEk0Dqlc='
3
+ href: 'https://fly-bas-style-kit.fly.dev/css/bas-style-kit.css'
4
+ # integrity: 'sha256-k05vjok9IGTMBJ8KYnQYX9sEc7A9eGWsTM8tQ2XqE8A='
5
5
  type: 'remote'
6
+ -
7
+ # href: 'http://localhost:8043/develop/dist/css/bas-style-kit.css'
8
+ # integrity: 'sha256-k05vjok9IGTMBJ8KYnQYX9sEc7A9eGWsTM8tQ2XqE8A='
9
+ # type: 'remote'
@@ -1,13 +1,16 @@
1
1
  ---
2
2
  -
3
- href: 'https://cdn.web.bas.ac.uk/libs/jquery/3.5.1/js/jquery-3.5.1.min.js'
4
- integrity: 'sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0='
3
+ href: 'https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.8.9/dist/cookieconsent.js'
4
+ # integrity: 'need to add...'
5
5
  type: 'remote'
6
6
  -
7
- href: 'https://cdn.web.bas.ac.uk/libs/js-cookie/2.2.1/js/js.cookie-2.2.1.min.js'
8
- integrity: 'sha256-MdF5lmO7tgKSFNkLp9uc3HJfoCwW1LCQrdNyHkQji2s='
7
+ href: 'https://fly-bas-style-kit.fly.dev/js/bas-style-kit.js'
9
8
  type: 'remote'
9
+ # -
10
+ # href: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.6.0-beta/js/bas-style-kit.min.js'
11
+ # integrity: 'sha256-IGaRkrHf/T62GN0E75YL3iLtvmbifinJXfSo8GohRB0='
12
+ # type: 'remote'
10
13
  -
11
- href: 'https://cdn.web.bas.ac.uk/bas-style-kit/0.6.0-beta/js/bas-style-kit.min.js'
12
- integrity: 'sha256-IGaRkrHf/T62GN0E75YL3iLtvmbifinJXfSo8GohRB0='
13
- type: 'remote'
14
+ # href: 'http://localhost:8043/develop/dist/js/bas-style-kit.js'
15
+ # integrity: 'sha256-cW+jowQERFqjJwdZ1VSZgG7dXQly19ykM5kVIONXmFg='
16
+ # type: 'local'
@@ -1,3 +1,3 @@
1
1
  ---
2
- theme_version: "0.10.0"
3
- bsk_version: "0.6.0-beta"
2
+ theme_version: "0.14.0"
3
+ bsk_version: "0.7.0-alpha"
@@ -1,2 +1,2 @@
1
1
  <div id="site-top"></div>
2
- <a class="bsk-sr-only bsk-sr-only-focusable" href="#site-content">Skip to main content</a>
2
+ <a class="bsk-visually-hidden-focusable" href="#site-content">Skip to main content</a>
@@ -1,3 +1,7 @@
1
+ {% if page.item_type %}
2
+ {% include bas-style-kit/bsk--pattern--item-type-header.html item_type=page.item_type item_title=page.title %}
3
+ {% else %}
1
4
  <header class="bsk-page-header">
2
- <h1>{{ page.title }}</h1>
5
+ <h1>{{ page.title }}</h1>
3
6
  </header>
7
+ {% endif %}
@@ -12,6 +12,7 @@
12
12
  {% endif %}
13
13
  {% include bas-style-kit/bsk-footer--contents.html %}
14
14
  {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_footer.divider == true %}
15
+ <div class="bsk-clearfix"></div>
15
16
  <div role="separator" class="bsk-footer-divider"></div>
16
17
  {% endif %}
17
18
  {% if site.bas_style_kit_jekyll_theme.feature_flags.standard_footer.governance == true %}
@@ -1,3 +1,3 @@
1
- <div class="bsk-footer-back-to-top">
1
+ <div class="bsk-footer-back-to-top bsk-float-end">
2
2
  <a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_back_to_top_target_href }}"> Back to top</a>
3
3
  </div>
@@ -1,4 +1,4 @@
1
- <div class="bsk-footer-governance">
1
+ <div class="bsk-footer-governance bsk-float-start">
2
2
  The <a href="https://www.bas.ac.uk">British Antarctic Survey</a> (BAS) is part of <a href="https://www.ukri.org">UK Research and Innovation</a> (UKRI)
3
3
  <div class="bsk-footer-ogl"><div class="bsk-ogl-symbol"><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.href }}" rel="license"><span class="bsk-ogl-symbol">Open Government Licence</span></a></div>
4
4
  All content is available under the <a href="http://www.nationalarchives.gov.uk/doc/open-government-licence" rel="license">Open Government Licence {{ site.bas_style_kit_jekyll_theme.attributes.site_footer.ogl.text_version }}</a>, except where otherwise stated</div>
@@ -1,3 +1,3 @@
1
- <div class="bsk-footer-is-something-wrong">
1
+ <div class="bsk-footer-is-something-wrong bsk-float-start">
2
2
  <a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_feedback_href }}" target="_blank">Is something wrong with this page?</a>
3
3
  </div>
@@ -1,8 +1,8 @@
1
- <div class="bsk-footer-policy-links">
1
+ <div class="bsk-footer-policy-links bsk-float-end">
2
2
  <ul class="bsk-list-inline">
3
- <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.cookies_href }}"> Cookies</a></li>
4
- <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.copyright_href }}"> Copyright</a></li>
5
- <li><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.privacy_href }}"> Privacy</a></li>
3
+ <li class="bsk-list-inline-item"><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.cookies_href }}"> Cookies</a></li>
4
+ <li class="bsk-list-inline-item"><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.copyright_href }}"> Copyright</a></li>
5
+ <li class="bsk-list-inline-item"><a href="{{ site.bas_style_kit_jekyll_theme.attributes.site_footer.legal_policies.privacy_href }}"> Privacy</a></li>
6
6
  </ul>
7
7
  © {{site.time | date: "%Y"}} British Antarctic Survey
8
8
  </div>
@@ -1,4 +1,4 @@
1
- <nav class="bsk-navbar">
1
+ <nav class="bsk-navbar bsk-navbar-expand-md bsk-navbar-dark bsk-bg-dark">
2
2
  <div class="{{ bsk_attributes_container_class }}">
3
3
  {% include bas-style-kit/bsk-nav--header.html %}
4
4
  {% include bas-style-kit/bsk-nav--collapse.html %}
@@ -1,4 +1,4 @@
1
- <div class="bsk-navbar-header">
2
- {% include bas-style-kit/bsk-nav-header--collapse-trigger.html %}
3
- {% include bas-style-kit/bsk-nav-header--brand.html %}
4
- </div>
1
+
2
+ {% include bas-style-kit/bsk-nav-header--brand.html %}
3
+ {% include bas-style-kit/bsk-nav-header--collapse-trigger.html %}
4
+
@@ -8,14 +8,14 @@
8
8
  {% assign is_active = true %}
9
9
  {% endif %}
10
10
  {% endfor %}
11
- <li class="bsk-dropdown {% if is_active == true %}bsk-active{% endif %}">
12
- <a class="bsk-dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
11
+ <li class="bsk-nav-item bsk-nav-item bsk-dropdown {% if is_active == true %}bsk-active{% endif %}">
12
+ <a class="bsk-dropdown-toggle bsk-nav-link" href="#" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
13
13
  {{ item.title }} <span class="bsk-caret"></span>
14
14
  </a>
15
15
  <ul class="bsk-dropdown-menu">
16
16
  {% for item in item.children %}
17
17
  <li {% if page.url == item.url %}class="bsk-active"{% endif %}>
18
- {% if page.url == item.url %}<span class="bsk-sr-only">(current)</span>{% endif %}
18
+ <!-- {% if page.url == item.url %}<span class="bsk-visually-hidden">(current)</span>{% endif %} -->
19
19
  <a href="{{ item.url }}">{{ item.title }}</a>
20
20
  </li>
21
21
  {% endfor %}
@@ -23,7 +23,7 @@
23
23
  </li>
24
24
  {% else %}
25
25
  <li {% if page.url == item.url %}class="bsk-active"{% endif %}>
26
- {% if page.url == item.url %}<span class="bsk-sr-only">(current)</span>{% endif %}
26
+ <!-- {% if page.url == item.url %}<span class="bsk-visually-hidden">(current)</span>{% endif %} -->
27
27
  <a href="{{ item.url }}">{{ item.title }}</a>
28
28
  </li>
29
29
  {% endif %}
@@ -1,9 +1,9 @@
1
1
  {% if site.menus.site_navigation_secondary %}
2
- <ul class="bsk-nav bsk-navbar-nav bsk-navbar-right">
2
+ <ul class="bsk-nav bsk-navbar-nav bsk-ms-auto">
3
3
  {% for item in site.menus.site_navigation_secondary %}
4
4
  {% if item.children %}
5
- <li class="bsk-dropdown">
6
- <a class="bsk-dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
5
+ <li class="bsk-nav-item bsk-dropdown">
6
+ <a class="bsk-dropdown-toggle" href="#" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
7
7
  {{ item.title }} <span class="bsk-caret"></span>
8
8
  </a>
9
9
  <ul class="bsk-dropdown-menu">
@@ -1,4 +1,4 @@
1
- <a class="bsk-navbar-brand {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.img %}bsk-navbar-brand-image-{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.img_size }}{% endif %}" href="{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.href }}">
1
+ <a class="bsk-navbar-brand{% if site.bas_style_kit_jekyll_theme.attributes.site_brand.img %}bsk-navbar-brand-image-{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.img_size }}{% endif %}" href="{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.href }}">
2
2
  {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.img %}
3
3
  <img {% if site.bas_style_kit_jekyll_theme.attributes.site_brand.text %}class="bsk-fix-navbar-brand-img-txt"{% endif %} src="{{ site.bas_style_kit_jekyll_theme.attributes.site_brand.img }}">
4
4
  {% endif %}
@@ -1,6 +1,3 @@
1
- <button class="bsk-navbar-toggle bsk-collapsed" type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false">
2
- <span class="bsk-sr-only">Toggle navigation</span>
3
- <span class="bsk-icon-bar"></span>
4
- <span class="bsk-icon-bar"></span>
5
- <span class="bsk-icon-bar"></span>
6
- </button>
1
+ <button class="bsk-navbar-toggler bsk-ms-auto" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
2
+ <span class="bsk-navbar-toggler-icon"></span>
3
+ </button>
@@ -3,20 +3,20 @@ layout: bas-style-kit/bsk--standard
3
3
  ---
4
4
 
5
5
  <div class="bsk-row">
6
- <div class="bsk-col-12-sm-12 bsk-col-12-md-9 bsk-col-12-xl-10 bsk-col-12-md-offset-3 bsk-col-12-xl-offset-2">
6
+ <div class="bsk-col-sm-12 bsk-col-md-9 bsk-col-xl-10 bsk-offset-md-3 bsk-col-offset-xl-2">
7
7
  {% include bas-style-kit/bsk-body--page-header.html %}
8
8
  </div>
9
9
  </div>
10
10
  <div class="bsk-row">
11
11
  {% if page.bas_style_kit_jekyll_theme.feature_flags.page.toc == true %}
12
- <div class="bsk-col-12-sm-12 bsk-col-12-md-3 bsk-col-12-lg-3 bsk-col-12-xl-2">
12
+ <div class="bsk-col-sm-12 bsk-col-md-3 bsk-col-lg-3 bsk-col-xl-2">
13
13
  <aside class="bsk-sidebar bsk-sidebar-default">
14
14
  <h2>Contents</h2>
15
15
  {% include bas-style-kit/bsk-body--toc.html %}
16
16
  </aside>
17
17
  </div>
18
18
  {% endif %}
19
- <div class="bsk-col-12-sm-12 bsk-col-12-md-9 bsk-col-12-xl-10 {% unless page.bas_style_kit_jekyll_theme.feature_flags.page.toc == true %}bsk-col-12-md-offset-3 bsk-col-12-xl-offset-2{% endunless %}">
19
+ <div class="bsk-col-sm-12 bsk-col-md-9 bsk-col-xl-10 {% unless page.bas_style_kit_jekyll_theme.feature_flags.page.toc == true %}bsk-col-offset-md-3 bsk-col-offset-xl-2{% endunless %}">
20
20
  {{ content }}
21
21
  </div>
22
22
  </div>
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-bas-style-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
- - Felix Fennell
8
- autorequire:
7
+ - baswebapps
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-27 00:00:00.000000000 Z
11
+ date: 2023-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: webrick
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: jekyll
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '4.1'
33
+ version: 4.3.2
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: '4.1'
40
+ version: 4.3.2
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: jekyll-data
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,45 +72,45 @@ dependencies:
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '0.2'
75
+ version: 0.2.2
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '0.2'
82
+ version: 0.2.2
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '2.0'
89
+ version: '2.4'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '2.0'
96
+ version: '2.4'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rake
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '13.0'
103
+ version: 13.0.6
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '13.0'
97
- description:
110
+ version: 13.0.6
111
+ description:
98
112
  email:
99
- - felnne@bas.ac.uk
113
+ - webapps@bas.ac.uk
100
114
  executables: []
101
115
  extensions: []
102
116
  extra_rdoc_files: []
@@ -161,7 +175,7 @@ licenses:
161
175
  - Nonstandard
162
176
  metadata:
163
177
  source_code_uri: https://github.com/antarctica/bas-style-kit-jekyll-theme.git
164
- post_install_message:
178
+ post_install_message:
165
179
  rdoc_options: []
166
180
  require_paths:
167
181
  - lib
@@ -176,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
190
  - !ruby/object:Gem::Version
177
191
  version: '0'
178
192
  requirements: []
179
- rubygems_version: 3.1.2
180
- signing_key:
193
+ rubygems_version: 3.4.10
194
+ signing_key:
181
195
  specification_version: 4
182
196
  summary: Jekyll theme for the BAS Style Kit
183
197
  test_files: []