spina-conferences-primer_theme 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6181486f2cfcba99fcba6cc6320b8a74e64cda980e73953d5bf488314b80a40d
4
- data.tar.gz: c66233c4c438272646e0c245f9f1c3389ae1c62ee69e38946aa67f71fa5f0c3e
3
+ metadata.gz: 0a9af98852b5d516ce1dae3c7ebfd570ac23300b7a5037b0e1968686a3b7d318
4
+ data.tar.gz: e8d9d34229bb3fe09261aedbf8d1fec41e905df4e6fb1d11ea932f377ffa2827
5
5
  SHA512:
6
- metadata.gz: 2454731ceba125f4fa3111b9da0c868efbfbccd92d2eded25ca5d8095fb00672699fe55c7727566cffbf6f08d5fe0562e8a2e65dcb0bc7328c3a217cd89ae437
7
- data.tar.gz: 634a4cdbcb5b159af66fc48cd2b5e068c22b00c64da4f8bbe682ee55026fa4249641c2be0358a321a3a58990d4f54720bad5566b51ba272dbaab53792ccc91ee
6
+ metadata.gz: 5bcb8c8d1527b954ab2dd6a4bf3e9869b29d2dbec26e541abadd4a8a2a42638337ed5ff07b45f943b77688f2173b8c6e71e5dc59d27d63960458cd24b59e01b6
7
+ data.tar.gz: 32493b5f6c0e48b4dd3dcd5b381e0886365fc322ac8aacd5d1043490dec3cd541124ac565176ec7bb9ac86231ad6b3904bea7e09b91b38a926d03ca181fed42d
@@ -1,9 +1,8 @@
1
1
  .Header.px-3.px-md-4.px-lg-5.flex-wrap.flex-lg-nowrap
2
2
  .Header-item.mt-n1.mb-n1= link_to render('logo'), root_path, class: 'Header-link'
3
3
  %details.details-reset.d-lg-none{ style: 'display: contents' }
4
- %summary.Header-item
5
- %button.Header-link.btn-link{ type: 'button' }
6
- = render Primer::OcticonComponent.new('three-bars', height: 24)
4
+ %summary.Header-item.Header-link.btn-link{ type: 'button' }
5
+ = render Primer::OcticonComponent.new('three-bars', height: 24)
7
6
  .Header-item.Header-item--full.flex-column.width-full.flex-order-1.mr-0.mt-3
8
7
  = render partial: 'mobile_navigation_items'
9
8
  = render partial: 'navigation_item', collection: main_navigation_items, cached: true
@@ -1,11 +1,11 @@
1
1
  .Header-item.position-relative.d-none.d-lg-flex
2
- - if navigation_item.has_children?
2
+ - if navigation_item.has_children? && navigation_item.children.regular_pages.in_menu.live.sorted.any?
3
3
  %details.details-reset.details-overlay
4
4
  %summary.Header-link{ role: 'button', aria: { haspopup: 'menu' } }
5
5
  = navigation_item.menu_title
6
6
  = render Primer::OcticonComponent.new('chevron-down')
7
7
  %ul.dropdown-menu.dropdown-menu-sw
8
- - navigation_item.children.each do |child|
8
+ - navigation_item.children.regular_pages.in_menu.live.sorted.each do |child|
9
9
  %li= link_to child.menu_title, child.materialized_path, class: 'dropdown-item'
10
10
  - elsif navigation_item.is_root?
11
11
  = link_to navigation_item.menu_title, navigation_item.materialized_path, class: %w[Header-link]
@@ -3,7 +3,7 @@
3
3
  module Spina
4
4
  module Conferences
5
5
  module PrimerTheme
6
- VERSION = '0.3.1'
6
+ VERSION = '0.3.2'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spina-conferences-primer_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Malčić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-19 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler