@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.
- package/dist/compile-example.js +3 -2
- package/dist/{create-markdown-renderer-Bun8U6bd.js → create-markdown-renderer-MuI6-bYd.js} +1 -1
- package/dist/index.js +30 -43
- package/dist/markdown.js +3 -2
- package/dist/runtime.js +21816 -19416
- package/dist/style/core.css +225 -20
- package/dist/style/index.css +237 -20
- package/dist/style/site.css +12 -0
- package/dist/{vendor-CYT__b1C.js → vendor-B3CU63aM.js} +1733 -9087
- package/dist/{vue3-CNEpTgeX.js → vue3-D4vqQB-D.js} +1 -1
- package/package.json +1 -1
- package/templates/partials/topnav.html +15 -26
package/package.json
CHANGED
|
@@ -1,41 +1,30 @@
|
|
|
1
|
-
<nav id="topnav" class="
|
|
2
|
-
<ul class="
|
|
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="
|
|
9
|
-
<
|
|
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="
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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="
|
|
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>
|