@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha30 → 1.0.0-alpha32

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.
Files changed (80) hide show
  1. package/data/menu.yml +1 -0
  2. package/data/navbar_apps.yml +1 -0
  3. package/layouts/{partials → _partials}/blog-share.html +0 -7
  4. package/layouts/{partials → _partials}/meta.html +4 -8
  5. package/package.json +14 -14
  6. /package/layouts/{_default/_markup → _markup}/render-heading.html +0 -0
  7. /package/layouts/{_default/_markup → _markup}/render-image.html +0 -0
  8. /package/layouts/{_default/_markup → _markup}/render-link.html +0 -0
  9. /package/layouts/{partials → _partials}/analytics.html +0 -0
  10. /package/layouts/{partials → _partials}/blog-brief.html +0 -0
  11. /package/layouts/{partials → _partials}/card-component.html +0 -0
  12. /package/layouts/{partials → _partials}/col-sidebar-menu.html +0 -0
  13. /package/layouts/{partials → _partials}/custom-footer.html +0 -0
  14. /package/layouts/{partials → _partials}/custom-header.html +0 -0
  15. /package/layouts/{partials → _partials}/footer.html +0 -0
  16. /package/layouts/{partials → _partials}/header.html +0 -0
  17. /package/layouts/{partials → _partials}/icons/brands/codepen.svg +0 -0
  18. /package/layouts/{partials → _partials}/icons/brands/facebook-square.svg +0 -0
  19. /package/layouts/{partials → _partials}/icons/brands/github-alt.svg +0 -0
  20. /package/layouts/{partials → _partials}/icons/brands/github.svg +0 -0
  21. /package/layouts/{partials → _partials}/icons/brands/linkedin.svg +0 -0
  22. /package/layouts/{partials → _partials}/icons/brands/square-x-twitter.svg +0 -0
  23. /package/layouts/{partials → _partials}/icons/brands/vimeo-square.svg +0 -0
  24. /package/layouts/{partials → _partials}/icons/modus-outlined/accessibility-circle.svg +0 -0
  25. /package/layouts/{partials → _partials}/icons/modus-outlined/arrow-up.svg +0 -0
  26. /package/layouts/{partials → _partials}/icons/modus-outlined/bar-graph-square.svg +0 -0
  27. /package/layouts/{partials → _partials}/icons/modus-outlined/code.svg +0 -0
  28. /package/layouts/{partials → _partials}/icons/modus-outlined/launch.svg +0 -0
  29. /package/layouts/{partials → _partials}/icons/modus-outlined/menu.svg +0 -0
  30. /package/layouts/{partials → _partials}/icons/modus-outlined/more-vertical.svg +0 -0
  31. /package/layouts/{partials → _partials}/icons/modus-outlined/person-account.svg +0 -0
  32. /package/layouts/{partials → _partials}/icons/modus-outlined/search.svg +0 -0
  33. /package/layouts/{partials → _partials}/icons/modus-outlined/sync.svg +0 -0
  34. /package/layouts/{partials → _partials}/icons/modus-outlined/thumbs-down.svg +0 -0
  35. /package/layouts/{partials → _partials}/icons/modus-outlined/thumbs-up.svg +0 -0
  36. /package/layouts/{partials → _partials}/icons/modus-outlined/web.svg +0 -0
  37. /package/layouts/{partials → _partials}/icons/modus-solid/apps.svg +0 -0
  38. /package/layouts/{partials → _partials}/icons/modus-solid/code.svg +0 -0
  39. /package/layouts/{partials → _partials}/icons/modus-solid/email.svg +0 -0
  40. /package/layouts/{partials → _partials}/icons/modus-solid/menu.svg +0 -0
  41. /package/layouts/{partials → _partials}/icons/modus-solid/palette.svg +0 -0
  42. /package/layouts/{partials → _partials}/icons/modus-solid/thumbs-down.svg +0 -0
  43. /package/layouts/{partials → _partials}/icons/modus-solid/thumbs-up.svg +0 -0
  44. /package/layouts/{partials → _partials}/icons/modus-solid/trimble-logo.svg +0 -0
  45. /package/layouts/{partials → _partials}/icons/modus-solid/user-guide.svg +0 -0
  46. /package/layouts/{partials → _partials}/icons/navbar-toggler-icon.svg +0 -0
  47. /package/layouts/{partials → _partials}/icons/transportation/truck.svg +0 -0
  48. /package/layouts/{partials → _partials}/index/list-blog-brief.html +0 -0
  49. /package/layouts/{partials → _partials}/logos/trimble.svg +0 -0
  50. /package/layouts/{partials → _partials}/menu-right.html +0 -0
  51. /package/layouts/{partials → _partials}/navbar-dropdown.html +0 -0
  52. /package/layouts/{partials → _partials}/navbar-search.html +0 -0
  53. /package/layouts/{partials → _partials}/navbar-theme-toggle.html +0 -0
  54. /package/layouts/{partials → _partials}/navbar.html +0 -0
  55. /package/layouts/{partials → _partials}/related-content.html +0 -0
  56. /package/layouts/{partials → _partials}/skippy.html +0 -0
  57. /package/layouts/{partials → _partials}/trimble-logo.html +0 -0
  58. /package/layouts/{partials → _partials}/was-this-page-helpful.html +0 -0
  59. /package/layouts/{shortcodes → _shortcodes}/alert.html +0 -0
  60. /package/layouts/{shortcodes → _shortcodes}/blocks/cover.html +0 -0
  61. /package/layouts/{shortcodes → _shortcodes}/blocks/feature.html +0 -0
  62. /package/layouts/{shortcodes → _shortcodes}/blocks/link-down.html +0 -0
  63. /package/layouts/{shortcodes → _shortcodes}/blocks/section.html +0 -0
  64. /package/layouts/{shortcodes → _shortcodes}/checklist.html +0 -0
  65. /package/layouts/{shortcodes → _shortcodes}/cloakemail.html +0 -0
  66. /package/layouts/{shortcodes → _shortcodes}/date-today.html +0 -0
  67. /package/layouts/{shortcodes → _shortcodes}/example.html +0 -0
  68. /package/layouts/{shortcodes → _shortcodes}/iframe.html +0 -0
  69. /package/layouts/{shortcodes → _shortcodes}/img.html +0 -0
  70. /package/layouts/{shortcodes → _shortcodes}/markdown.html +0 -0
  71. /package/layouts/{shortcodes → _shortcodes}/message.html +0 -0
  72. /package/layouts/{shortcodes → _shortcodes}/partial.html +0 -0
  73. /package/layouts/{shortcodes → _shortcodes}/tab.html +0 -0
  74. /package/layouts/{shortcodes → _shortcodes}/table.html +0 -0
  75. /package/layouts/{shortcodes → _shortcodes}/tabpane.html +0 -0
  76. /package/layouts/{_default/baseof.html → baseof.html} +0 -0
  77. /package/layouts/{_default/home.html → home.html} +0 -0
  78. /package/layouts/{_default/list.html → list.html} +0 -0
  79. /package/layouts/{_default/redirect.html → redirect.html} +0 -0
  80. /package/layouts/{_default/single.html → single.html} +0 -0
package/data/menu.yml CHANGED
@@ -1,3 +1,4 @@
1
+ ---
1
2
  - title: Get Started
2
3
  prefix: ""
3
4
  pages:
@@ -1,3 +1,4 @@
1
+ ---
1
2
  - title: Modus Style Guide
2
3
  icon: "/img/icons/trimble.svg"
3
4
  url: "https://modus.trimble.com/"
@@ -1,12 +1,5 @@
1
1
  <div class="container mb-5">
2
2
  <div class="share py-2 float-end">
3
- <!-- <div class="d-inline-block me-2">
4
- <a href="https://x.com/intent/tweet?via=TrimbleCorpNews&text={{- .Title -}}&url={{- .Permalink -}}"
5
- class="opacity-75" title="Share on X" data-bs-toggle="tooltip"
6
- onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
7
- {{ partial "icons/brands/square-x-twitter.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
8
- <span class="visually-hidden">X</span></a>
9
- </div> -->
10
3
  <div class="d-inline-block me-2">
11
4
  <a href="https://www.facebook.com/sharer.php?u={{- .Permalink -}}" class="opacity-75" title="Share on Facebook"
12
5
  data-bs-toggle="tooltip" data-bs-placement="top"
@@ -16,9 +16,11 @@
16
16
  <link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{- hugo.Version -}}">
17
17
 
18
18
  <!-- Load jQuery from CDN with fallback -->
19
- <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
20
- <script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.7.1.min.js"><\/script>');</script>
19
+ <script src="https://cdn.jsdelivr.net/npm/jquery@4.0.0-beta.2/dist/jquery.min.js"></script>
20
+ <script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-4.0.0-beta.2.min.js"><\/script>');</script>
21
+ {{- if .Site.Params.includeModusIconFonts }}
21
22
  <link rel="stylesheet" href="{{- .Site.BaseURL -}}fonts/modus-icons.css">
23
+ {{- end }}
22
24
 
23
25
  {{- if not .Site.Params.disableThemeToggle -}}
24
26
  <!-- Loads Dark Mode Toggle JS -->
@@ -31,12 +33,6 @@
31
33
 
32
34
  <!-- OpenGraph Meta tags using Hugo's own built-in template -->
33
35
  {{ template "_internal/opengraph.html" . }}
34
- {{ if eq $.Site.Language.Lang "en-US" }}
35
- <meta property="og:locale" content="en_US">
36
- {{ end }}
37
-
38
- <!-- no need to define additional X (Twitter) card meta tags as fallback to Open Graph -->
39
- <!-- https://developer.x.com/en/docs/twitter-for-websites/cards/guides/getting-started#twitter-cards-and-open-graph -->
40
36
 
41
37
  {{- if .Params.private -}}
42
38
  <meta name="robots" content="noindex, nofollow">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trimble-oss/modus-docs-hugo-theme",
3
- "version": "1.0.0-alpha30",
3
+ "version": "1.0.0-alpha32",
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": {
@@ -15,7 +15,7 @@
15
15
  "scripts": {
16
16
  "build": "npx hugo",
17
17
  "lint": "npm run lint-css && npm run lint-html && npm run lint-js",
18
- "lint-css": "stylelint \"assets/css/*.*\" --fix",
18
+ "lint-css": "stylelint \"assets/css/*.*\" --fix -f verbose",
19
19
  "lint-html": "htmlhint \"build/**/index.html\"",
20
20
  "lint-js": "eslint assets/js/*.js --fix",
21
21
  "lint-links": "npx linkinator ./public --recurse --silent",
@@ -28,21 +28,21 @@
28
28
  "svgo": "npx svgo --folder=\"static/img/icons/\""
29
29
  },
30
30
  "dependencies": {
31
- "@trimble-oss/modus-bootstrap": "^2.0.8",
31
+ "@trimble-oss/modus-bootstrap": "^2.0.10",
32
32
  "@trimble-oss/modus-icons": "^1.16.0"
33
33
  },
34
34
  "devDependencies": {
35
- "autoprefixer": "10.4.20",
35
+ "autoprefixer": "10.4.21",
36
36
  "eslint": "8.57.1",
37
- "eslint-config-prettier": "9.1.0",
37
+ "eslint-config-prettier": "10.1.5",
38
38
  "htmlhint": "1.1.4",
39
- "hugo-bin": "0.140.1",
40
- "postcss": "8.5.1",
41
- "postcss-cli": "11.0.0",
42
- "prettier": "3.4.2",
43
- "stylelint": "16.14.1",
44
- "stylelint-config-standard-scss": "14.0.0",
45
- "stylelint-order": "6.0.4"
39
+ "hugo-bin": "0.144.2",
40
+ "postcss": "8.5.3",
41
+ "postcss-cli": "11.0.1",
42
+ "prettier": "3.5.3",
43
+ "stylelint": "16.19.1",
44
+ "stylelint-config-standard-scss": "15.0.0",
45
+ "stylelint-order": "7.0.0"
46
46
  },
47
47
  "hugo-bin": {
48
48
  "buildTags": "extended"
@@ -54,9 +54,9 @@
54
54
  "static"
55
55
  ],
56
56
  "engines": {
57
- "node": ">=18.0.0"
57
+ "node": ">=22.0.0"
58
58
  },
59
59
  "volta": {
60
- "node": "20.18.2"
60
+ "node": "22.0.0"
61
61
  }
62
62
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes