@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha25 → 1.0.0-alpha27

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,8 +12,8 @@
12
12
  border-right: 0;
13
13
  left: auto;
14
14
  padding: 0;
15
- right: 5px;
16
- top: 10px;
15
+ right: -6px;
16
+ top: 0;
17
17
  transition: all 0.2s;
18
18
  width: 0 !important;
19
19
  z-index: 1210;
@@ -5,13 +5,13 @@
5
5
  h2 mt-5 {{- end -}}
6
6
  {{- if (eq .Level 4 ) }}h4 fw-bold mt-3{{- end -}}{{ if eq .Anchor "use-when" }} text-success{{- end -}}{{ if eq .Anchor "dont-use-when" }} text-danger{{- end -}}">
7
7
  {{ if eq .Anchor "use-when" }}
8
- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" class="mx-1 mb-1"
8
+ <svg width="18" height="18" fill="currentColor" class="mx-1 mb-1"
9
9
  viewBox="0 0 24 24">
10
10
  <path
11
11
  d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm5.56 7.74-6.39 6.4a1 1 0 0 1-1.42-.01l-3.3-3.34-.01-.01a.993.993 0 0 1 .01-1.4.996.996 0 0 1 1.41 0l2.6 2.62 5.68-5.69a.996.996 0 0 1 1.41 0v.02h.01c.39.39.39 1.02 0 1.41Z" />
12
12
  </svg>{{- end -}}
13
13
  {{- if eq .Anchor "dont-use-when" -}}
14
- <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" class="mx-1 mb-1"
14
+ <svg width="18" height="18" fill="currentColor" class="mx-1 mb-1"
15
15
  viewBox="0 0 24 24">
16
16
  <path
17
17
  d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z" />
@@ -2,12 +2,6 @@
2
2
  class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between">
3
3
 
4
4
  <div class="mx-auto w-100">
5
- <!--<button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1 p-1 pt-0" type="button"
6
- data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu">
7
- <div class="text-body text-center">
8
- {{ partial "icons/modus-solid/user-guide.svg" (dict "class" "" "width" "24" "height" "24") }}
9
- </div>
10
- </button>-->
11
5
  </div>
12
6
 
13
7
  <div>
@@ -27,7 +27,7 @@
27
27
  {{ end }}
28
28
 
29
29
  <meta name="description"
30
- content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
30
+ content="{{- with .Description -}}{{- . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
31
31
 
32
32
  <!-- OpenGraph Meta tags using Hugo's own built-in template -->
33
33
  {{ template "_internal/opengraph.html" . }}
@@ -1,5 +1,5 @@
1
1
  <search class="search-container d-inline-block position-relative" role="search">
2
- <input class="form-control form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
2
+ <input class="form-control form-control-lg form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
3
3
  name="q" placeholder="Search..." autocomplete="off" title="" required>
4
4
  <label class="btn btn-lg btn-icon-only border-transparent btn-search position-absolute px-1" for="search-by">
5
5
  {{ partial "icons/modus-outlined/search.svg" (dict "class" "text-white" "width" "24" "height" "24") }}
@@ -32,7 +32,7 @@
32
32
  </div>
33
33
  <div class="row">
34
34
  <p class="ps-3 fw-bold text-primary">
35
- Read More <svg xmlns="http://www.w3.org/2000/svg" class="ms-1" width="6.3" height="9.8"
35
+ Read More <svg class="ms-1" width="6.3" height="9.8"
36
36
  viewBox="0 0 6.3 9.8">
37
37
  <g transform="translate(1.412 1.412)">
38
38
  <path id="Path_627" data-name="Path 627" d="M18,18.965l3.889-3.482L18,12" transform="translate(-18 -12)"
@@ -1,4 +1,4 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
1
+ <svg width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
2
2
  <path d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62z" fill="currentcolor" />
3
3
  <path
4
4
  d="M141.9 87.13V32.74h16.52v8.84h.1c3-4.62 8.21-10.26 18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27 18.27.0 00-14.57 7.49v34z"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trimble-oss/modus-docs-hugo-theme",
3
- "version": "1.0.0-alpha25",
3
+ "version": "1.0.0-alpha27",
4
4
  "description": "A Documentation theme for Hugo built by Trimble",
5
5
  "homepage": "https://github.com/trimble-oss/modus-docs-hugo-theme",
6
6
  "bugs": {
@@ -28,19 +28,19 @@
28
28
  "svgo": "npx svgo --folder=\"static/img/icons/\""
29
29
  },
30
30
  "dependencies": {
31
- "@trimble-oss/modus-bootstrap": "2.0.0-alpha43",
32
- "@trimble-oss/modus-icons": "1.14.0"
31
+ "@trimble-oss/modus-bootstrap": "^2.0.2",
32
+ "@trimble-oss/modus-icons": "^1.15.0"
33
33
  },
34
34
  "devDependencies": {
35
- "autoprefixer": "10.4.19",
36
- "eslint": "8.57.0",
35
+ "autoprefixer": "10.4.20",
36
+ "eslint": "8.57.1",
37
37
  "eslint-config-prettier": "9.1.0",
38
38
  "htmlhint": "1.1.4",
39
- "hugo-bin": "0.126.0",
40
- "postcss": "8.4.39",
39
+ "hugo-bin": "0.131.3",
40
+ "postcss": "8.4.47",
41
41
  "postcss-cli": "11.0.0",
42
42
  "prettier": "3.3.3",
43
- "stylelint": "16.7.0",
43
+ "stylelint": "16.9.0",
44
44
  "stylelint-config-standard-scss": "13.1.0",
45
45
  "stylelint-order": "6.0.4"
46
46
  },
@@ -52,5 +52,11 @@
52
52
  "data",
53
53
  "layouts",
54
54
  "static"
55
- ]
55
+ ],
56
+ "engines": {
57
+ "node": ">=18.0.0"
58
+ },
59
+ "volta": {
60
+ "node": "20.17.0"
61
+ }
56
62
  }