@forsakringskassan/docs-generator 2.6.0 → 2.7.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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('@vue/compiler-sfc');
4
- require('./vendor-CYT__b1C.js');
4
+ require('./vendor-B3CU63aM.js');
5
5
 
6
6
  var __create = Object.create;
7
7
  var __defProp = Object.defineProperty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"
@@ -1,41 +1,30 @@
1
- <nav id="topnav" class="imenu imenu--horizontal" aria-label="Primär">
2
- <ul class="imenu__list">
1
+ <nav id="topnav" class="docs-topnav" aria-label="Primär">
2
+ <ul class="docs-topnav__list">
3
3
  <!-- prettier-ignore -->
4
4
  {%- for nav in topnav.children -%}
5
5
  {% set navPath = nav.path | replace("html", "") %}
6
6
  {% set navPath = navPath | replace(".", "") %}
7
7
  {% set activePage = navPath in doc.fileInfo.fullPath %}
8
- <li class="imenu__list__item {% if activePage %}imenu__list__item--highlight{% endif %}">
9
- <div
10
- class="imenu__list__anchor-container {% if activePage %}imenu__list__anchor-container--highlight{% endif %}"
11
- >
12
- <a
13
- class="imenu__list__anchor {% if activePage %}imenu__list__anchor--highlight{% endif %}"
14
- href="{{ nav.path | relative(doc) }}"
15
- >
16
- {{ nav.title }}
17
- </a>
18
- </div>
8
+ <li class="docs-topnav__item {% if activePage %}highlight{% endif %}">
9
+ <a class="docs-topnav__anchor" href="{{ nav.path | relative(doc) }}"> {{ nav.title }} </a>
19
10
  </li>
20
11
  {%- endfor -%}
21
- <li class="imenu__list__item imenu__list__item--more">
22
- <div class="imenu__list__anchor-container">
23
- <button type="button" class="imenu__list__anchor" aria-expanded="false">
24
- Mer<span class="imenu__list__anchor-span"></span>
25
- <svg class="imenu__list__anchor-icon-right icon" focusable="false" aria-hidden>
26
- <use xlink:href="#docs-icon-arrow-down"></use>
27
- </svg>
28
- </button>
29
- </div>
30
- <div class="ipopupmenu ipopupmenu--vertical">
31
- <ul class="ipopupmenu__list ipopupmenu__list--more">
12
+ <li class="docs-topnav__item docs-topnav__item--more" style="visibility: hidden">
13
+ <button type="button" class="docs-topnav__anchor" aria-expanded="false">
14
+ <span>Mer</span>
15
+ <svg class="icon" focusable="false" aria-hidden="true">
16
+ <use xlink:href="#docs-icon-arrow-down"></use>
17
+ </svg>
18
+ </button>
19
+ <div class="docs-contextmenu">
20
+ <ul class="docs-contextmenu__list">
32
21
  <!-- prettier-ignore -->
33
22
  {%- for nav in topnav.children -%}
34
23
  {% set navPath = nav.path | replace("html", "") %}
35
24
  {% set navPath = navPath | replace(".", "") %}
36
25
  {% set activePage = navPath in doc.fileInfo.fullPath %}
37
- <li class="ipopupmenu__list__item {% if activePage %}ipopupmenu__list__item--highlight{% endif %}">
38
- <a href="{{ nav.path | relative(doc) }}"> {{ nav.title }} </a>
26
+ <li class="docs-contextmenu__item {% if activePage %}highlight{% endif %}" style="display: none">
27
+ <a class="docs-contextmenu__anchor" href="{{ nav.path | relative(doc) }}"> {{ nav.title }} </a>
39
28
  </li>
40
29
  {%- endfor -%}
41
30
  </ul>