@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha29 → 1.0.0-alpha3

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 (105) hide show
  1. package/README.md +1 -5
  2. package/assets/js/auto-complete.min.js +1 -1
  3. package/assets/js/scroll-to-top.js +33 -0
  4. package/assets/js/search.min.js +1 -1
  5. package/assets/js/was-this-page-helpful.js +3 -10
  6. package/assets/{css → styles}/_article.scss +11 -16
  7. package/assets/styles/_col-sidebar.scss +3 -0
  8. package/assets/{css → styles}/_menu-right.scss +5 -6
  9. package/assets/{css → styles}/_mobile.scss +4 -4
  10. package/assets/styles/_navbar-search.scss +53 -0
  11. package/assets/styles/_navbar.scss +5 -0
  12. package/assets/{css → styles}/_sidebar.scss +4 -4
  13. package/assets/{css → styles}/_skippy.scss +2 -2
  14. package/assets/styles/_tables.scss +5 -0
  15. package/assets/{css → styles}/_theme-light.scss +1 -1
  16. package/assets/{css → styles}/_theme-toggle.scss +11 -5
  17. package/assets/{css → styles}/_was-this-page-helpful.scss +3 -3
  18. package/assets/{css/modus-docs.scss → styles/styles.scss} +5 -5
  19. package/data/navbar_apps.yml +4 -8
  20. package/layouts/_default/_markup/render-heading.html +4 -4
  21. package/layouts/_default/_markup/render-link.html +3 -3
  22. package/layouts/_default/baseof.html +4 -9
  23. package/layouts/_default/home.html +8 -3
  24. package/layouts/_default/list.html +7 -2
  25. package/layouts/_default/redirect.html +1 -1
  26. package/layouts/_default/single.html +11 -6
  27. package/layouts/index.json +1 -1
  28. package/layouts/index.rss.xml +49 -0
  29. package/layouts/partials/analytics.html +7 -3
  30. package/layouts/partials/blog-brief.html +4 -4
  31. package/layouts/partials/blog-share.html +7 -7
  32. package/layouts/partials/col-sidebar-menu.html +6 -22
  33. package/layouts/partials/col-sidebar.html +28 -0
  34. package/layouts/partials/header.html +4 -15
  35. package/layouts/partials/icons/brands/codepen.svg +1 -1
  36. package/layouts/partials/icons/brands/facebook-square.svg +1 -1
  37. package/layouts/partials/icons/brands/github-alt.svg +1 -1
  38. package/layouts/partials/icons/brands/github.svg +1 -1
  39. package/layouts/partials/icons/brands/linkedin.svg +1 -1
  40. package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
  41. package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
  42. package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
  43. package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
  44. package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
  45. package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
  46. package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
  47. package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
  48. package/layouts/partials/icons/modus-outlined/search.svg +1 -1
  49. package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
  50. package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
  51. package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
  52. package/layouts/partials/icons/modus-outlined/web.svg +1 -1
  53. package/layouts/partials/icons/modus-solid/email.svg +1 -1
  54. package/layouts/partials/icons/modus-solid/palette.svg +1 -1
  55. package/layouts/partials/icons/transportation/truck.svg +1 -1
  56. package/layouts/partials/icons/trimble-logo.svg +1 -0
  57. package/layouts/partials/logos/trimble.svg +1 -1
  58. package/layouts/partials/menu-right.html +2 -3
  59. package/layouts/partials/meta.html +19 -31
  60. package/layouts/partials/navbar-dropdown.html +2 -2
  61. package/layouts/partials/navbar-search.html +6 -6
  62. package/layouts/partials/navbar.html +9 -19
  63. package/layouts/partials/related-content.html +1 -1
  64. package/layouts/partials/skippy.html +4 -4
  65. package/layouts/partials/trimble-logo.html +1 -1
  66. package/layouts/partials/was-this-page-helpful.html +3 -5
  67. package/layouts/shortcodes/example.html +2 -2
  68. package/layouts/sitemap.xml +8 -0
  69. package/package.json +16 -27
  70. package/static/img/trimble-logo.svg +1 -5
  71. package/static/js/theme-toggle.js +41 -0
  72. package/assets/css/_mq-forced-colors-active.scss +0 -29
  73. package/assets/css/_navbar-search.scss +0 -54
  74. package/assets/css/_navbar.scss +0 -27
  75. package/assets/css/_tables.scss +0 -34
  76. package/layouts/partials/icons/modus-outlined/code.svg +0 -3
  77. package/layouts/partials/icons/modus-solid/apps.svg +0 -3
  78. package/layouts/partials/icons/modus-solid/code.svg +0 -3
  79. package/layouts/partials/icons/modus-solid/menu.svg +0 -3
  80. package/layouts/partials/icons/modus-solid/thumbs-down.svg +0 -3
  81. package/layouts/partials/icons/modus-solid/thumbs-up.svg +0 -3
  82. package/layouts/partials/icons/modus-solid/trimble-logo.svg +0 -3
  83. package/layouts/partials/icons/modus-solid/user-guide.svg +0 -3
  84. package/static/img/icons/check-circle-outlined.svg +0 -3
  85. package/static/img/icons/code.svg +0 -3
  86. package/static/img/icons/github.svg +0 -3
  87. package/static/img/icons/trimble.svg +0 -4
  88. package/static/img/icons/web-components.svg +0 -3
  89. package/assets/{css → styles}/_autocomplete.scss +11 -11
  90. package/assets/{css → styles}/_cards.scss +3 -3
  91. package/assets/{css → styles}/_codefences-dark.scss +0 -0
  92. package/assets/{css → styles}/_codefences.scss +0 -0
  93. package/assets/{css → styles}/_font-open-sans.scss +0 -0
  94. package/assets/{css → styles}/_footer.scss +0 -0
  95. package/assets/{css → styles}/_javascript-disabled.scss +3 -3
  96. package/assets/{css → styles}/_list-js.scss +6 -6
  97. package/assets/{css → styles}/_news.scss +1 -1
  98. package/assets/{css → styles}/_onetrust-cookie-banner.scss +9 -9
  99. package/assets/{css → styles}/_posts.scss +2 -2
  100. package/assets/{css → styles}/_print.scss +0 -0
  101. package/assets/{css → styles}/_scroll-to-top-btn.scss +5 -5
  102. /package/assets/{css → styles}/_theme-dark.scss +0 -0
  103. /package/assets/{css → styles}/_utilities.scss +0 -0
  104. /package/assets/{css → styles}/_xxl.scss +0 -0
  105. /package/layouts/partials/{navbar-theme-toggle.html → btn-theme-toggle.html} +0 -0
@@ -5,29 +5,24 @@
5
5
  <!-- Removes the .no-js class from the <html> element if JavaScript is enabled -->
6
6
  <script>document.documentElement.classList.remove('no-js');</script>
7
7
 
8
- {{- if not .Site.Params.disableModusBootstrapCSS -}}
9
8
  <!-- Load Modus Bootstrap CSS from CDN -->
10
- <link rel="stylesheet" href="{{- .Site.BaseURL -}}css/modus-bootstrap.min.css">
11
- {{ end }}
9
+ <link rel="stylesheet" href="https://modus-bootstrap.netlify.app/docs/v2/dist/css/modus-bootstrap.min.css">
12
10
 
13
11
  <!-- Compiles and minifies the sites Sass files from /assets/css/ -->
14
12
  {{- $sassOptions := (dict "enableSourceMap" true) -}}
15
- {{ $styles := resources.Get "css/modus-docs.scss" | toCSS $sassOptions | postCSS | minify }}
16
- <link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{- hugo.Version -}}">
13
+ {{ $styles := resources.Get "styles/styles.scss" | toCSS $sassOptions | postCSS | minify }}
14
+ <link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{ hugo.Version }}">
17
15
 
18
16
  <!-- 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>
17
+ <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.0/dist/jquery.min.js"></script>
18
+ <script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.7.0.min.js"><\/script>');</script>
21
19
  <link rel="stylesheet" href="{{- .Site.BaseURL -}}fonts/modus-icons.css">
22
20
 
23
- {{- if not .Site.Params.disableThemeToggle -}}
24
21
  <!-- Loads Dark Mode Toggle JS -->
25
- {{ $ThemeToggleJS := resources.Get "js/theme-toggle.js" | minify }}
26
- <script src="{{- .Site.BaseURL -}}{{ $ThemeToggleJS.RelPermalink }}"></script>
27
- {{ end }}
22
+ <script src="{{- .Site.BaseURL -}}js/theme-toggle.js"></script>
28
23
 
29
24
  <meta name="description"
30
- content="{{- with .Description -}}{{- . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
25
+ content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
31
26
 
32
27
  <!-- OpenGraph Meta tags using Hugo's own built-in template -->
33
28
  {{ template "_internal/opengraph.html" . }}
@@ -35,12 +30,11 @@
35
30
  <meta property="og:locale" content="en_US">
36
31
  {{ end }}
37
32
 
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 -->
33
+ <!-- no need to define additional Twitter card meta tags as fallback to Open Graph -->
34
+ <!-- https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#twitter-cards-and-open-graph -->
40
35
 
41
36
  {{- if .Params.private -}}
42
37
  <meta name="robots" content="noindex, nofollow">
43
- <meta name="referrer" content="none">
44
38
  {{ end }}
45
39
 
46
40
  {{- with .Site.Params.themeColor -}}
@@ -49,17 +43,22 @@
49
43
  <meta name="theme-color" content="{{- . | default "#005f9e" -}}">
50
44
  {{ end }}
51
45
 
46
+ {{- with .Site.Params.googleSiteVerification -}}
47
+ <!-- Google Site Verification -->
48
+ <!-- https://support.google.com/webmasters/answer/9008080?hl=en -->
49
+ <meta name="google-site-verification" content="{{- . -}}">
50
+ {{ end }}
51
+
52
52
  <!-- Loads the Trimble favicon and the SVG icon -->
53
53
  <link rel="alternate icon" type="image/x-icon" href="{{- .Site.BaseURL -}}favicon.ico">
54
54
  <link rel="icon" type="image/svg+xml" href="{{- .Site.BaseURL -}}favicon.svg">
55
55
 
56
56
  <!-- Polyfills for Internet Explorer 11 -->
57
57
  <script nomodule crossorigin="anonymous"
58
- src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=default%2CNumber.parseInt%2CNumber.parseFloat%2CArray.prototype.find%2CArray.prototype.includes"></script>
58
+ src="https://polyfill.io/v3/polyfill.min.js?features=default%2CNumber.parseInt%2CNumber.parseFloat%2CArray.prototype.find%2CArray.prototype.includes"></script>
59
59
  <script
60
- nomodule>window.MSInputMethodContext && document.documentMode && document.write('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-ie11@5/css/bootstrap-ie11.min.css"><script src="https://cdn.jsdelivr.net/combine/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js,npm/ie11-custom-properties@4,npm/element-qsa-scope@1"><\/script>');</script>
60
+ nomodule>window.MSInputMethodContext && document.documentMode && document.write('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-ie11@5.3.1/css/bootstrap-ie11.min.css"><script src="https://cdn.jsdelivr.net/combine/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js,npm/ie11-custom-properties@4,npm/element-qsa-scope@1"><\/script>');</script>
61
61
 
62
- {{- if not .Site.Params.RemoveSearch -}}
63
62
  {{- if not .Params.hideSearch -}}
64
63
  <script>
65
64
  var baseurl = "{{- .Site.BaseURL -}}";
@@ -72,22 +71,11 @@
72
71
  {{ $js := slice $autocomplete $lunr $search | resources.Concat "js/search.js" | resources.Minify }}
73
72
  <script src="{{- $js.RelPermalink -}}" fetchpriority="low"></script>
74
73
  {{- end -}}
75
- {{- end -}}
76
74
  {{ if .IsHome }}
77
75
  {{ hugo.Generator }}
78
76
  {{ end }}
79
77
 
80
78
  <!-- Loads Bootstrap 5 JS from CDN -->
81
- <script src="{{- .Site.BaseURL -}}js/bootstrap.bundle.min.js"></script>
82
-
83
- {{- if .IsHome -}}
84
- {{- with .Site.Params.googleSiteVerification -}}
85
- <!-- Google Site Verification -->
86
- <!-- https://support.google.com/webmasters/answer/9008080?hl=en -->
87
- <meta name="google-site-verification" content="{{- . -}}">
88
- {{ end }}
89
- {{ end }}
90
-
91
- {{ partial "analytics" . }}
79
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
92
80
 
93
- {{ partial "custom-header" . }}
81
+ {{ partial "custom-header" . }}
@@ -1,4 +1,4 @@
1
- <ul class="dropdown-menu dropdown-menu-end mt-2 pb-0">
1
+ <ul class="dropdown-menu dropdown-menu-end mt-2 pb-0" style="min-width:250px;z-index: 1030;">
2
2
  {{ with .Site.Data.navbar_apps }}
3
3
  {{ range . }}
4
4
  <li class="border-bottom">
@@ -20,4 +20,4 @@
20
20
  </li>
21
21
  {{ end }}
22
22
  {{ end }}
23
- </ul>
23
+ </ul>
@@ -1,10 +1,10 @@
1
- <search class="search-container d-inline-block position-relative" role="search">
2
- <input class="form-control form-control-lg form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
1
+ <div class="search-container d-inline-block position-relative">
2
+ <input class="form-control form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
3
3
  name="q" placeholder="Search..." autocomplete="off" title="" required>
4
- <label class="btn btn-lg btn-icon-only border-transparent btn-search position-absolute px-1" for="search-by">
5
- {{ partial "icons/modus-outlined/search.svg" (dict "class" "text-white" "width" "24" "height" "24") }}
4
+ <label class="btn btn-lg btn-icon-only border-0 btn-search position-absolute px-1" for="search-by">
5
+ <i class="modus-icons notranslate text-white" aria-hidden="true">search</i>
6
6
  </label>
7
- </search>
7
+ </div>
8
8
 
9
9
  <script>
10
10
  // Lose Focus on Input when user presses Escape only if no input
@@ -16,4 +16,4 @@
16
16
  }
17
17
  }
18
18
  });
19
- </script>
19
+ </script>
@@ -1,41 +1,31 @@
1
1
  <nav class="navbar shadow-sm navbar-blue sticky-top" aria-label="Main Navigation">
2
2
  <div class="container-fluid">
3
3
  <div>
4
- <button class="btn btn-lg btn-primary btn-icon-only bg-transparent d-inline-block" type="button"
4
+ <button class="btn btn-lg btn-primary btn-icon-only bg-transparent d-inline-block border-0" type="button"
5
5
  aria-label="Menu" data-bs-target="#sidebar" data-bs-toggle="collapse">
6
- {{ partial "icons/modus-solid/menu.svg" (dict "class" "menu-btn text-white" "width" "24" "height" "24") }}
6
+ <i class="modus-icons menu-btn notranslate mt-1 text-white" aria-hidden="true">menu</i>
7
7
  </button>
8
8
  <a class="navbar-brand text-primary" href="/">
9
- {{ partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-inline-block text-white" "width" "117" "height" "28") }}
10
- {{ partial "icons/modus-solid/trimble-logo.svg" (dict "class" "d-inline-block d-sm-none text-white" "width" "32" "height" "32") }}
11
-
12
- {{- if .Site.Params.Title -}}
13
- <div class="float-end text-white h2 d-none d-md-inline-block navbar-site-title">
14
- {{- .Site.Title -}}
15
- </div>
16
- {{- end -}}
9
+ <img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
10
+ class="img-fluid d-none d-sm-inline-block" alt="home" />
11
+ <img src="https://modus-bootstrap.trimble.com/img/trimble-icon-rev.svg"
12
+ class="d-inline-block d-sm-none px-1 mt-1" height="25" width="25" alt="home" />
17
13
  </a>
18
14
  </div>
19
15
 
20
16
  <div class="d-flex d-row">
21
17
 
22
- {{- with .Site.Params.RemoveSearch -}}{{else}}
23
18
  {{ partial "navbar-search" . }}
24
- {{ end }}
25
-
26
- {{ partial "navbar-theme-toggle" . }}
27
19
 
28
- {{- with .Site.Params.RemoveSearch -}}{{else}}
29
20
  <div class="dropdown">
30
- <button type="button" class="btn btn-lg btn-primary bg-transparent btn-icon-only"
21
+ <button type="button" class="btn btn-lg btn-primary bg-transparent btn-icon-only border-0"
31
22
  data-bs-toggle="dropdown" aria-expanded="false" aria-label="Menu">
32
- {{ partial "icons/modus-solid/apps.svg" (dict "class" "text-white" "width" "24" "height" "24") }}
23
+ <i class="modus-icons notranslate mt-2 text-white" aria-hidden="true">apps</i>
33
24
  </button>
34
25
 
35
26
  {{ partial "navbar-dropdown" . }}
36
- {{ end }}
37
27
 
38
28
  </div>
39
29
  </div>
40
30
  </div>
41
- </nav>
31
+ </nav>
@@ -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 class="ms-1" width="6.3" height="9.8"
35
+ Read More <svg xmlns="http://www.w3.org/2000/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,11 +1,11 @@
1
1
  <div class="skippy visually-hidden-focusable overflow-hidden">
2
- <div class="text-center container-fluid">
3
- <a class="btn btn-primary rounded p-1 m-2" href="#main">Skip to
2
+ <div class="text-center w-100">
3
+ <a class="sr-only btn btn-primary rounded p-1 m-2" href="#main">Skip to
4
4
  main content</a>
5
5
 
6
6
  {{ if (eq .Page.Layout "docs") }}
7
- <a class="d-md-inline-flex p-1 mb-1" href="#bd-docs-nav">Skip to docs
7
+ <a class="sr-only d-none d-md-inline-flex p-1 mb-1" href="#bd-docs-nav">Skip to docs
8
8
  navigation</a>
9
9
  {{- end }}
10
10
  </div>
11
- </div>
11
+ </div>
@@ -1,4 +1,4 @@
1
- <svg width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
1
+ <svg xmlns="http://www.w3.org/2000/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"
@@ -3,14 +3,12 @@
3
3
  <button type="button"
4
4
  class="btn btn-light btn-outline-secondary btn-feedback btn-feedback-helpful border rounded p-1 me-2"
5
5
  aria-label="Helpful">
6
- {{- partial "icons/modus-solid/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary d-none icon-helpful-solid") -}}
7
- {{- partial "icons/modus-outlined/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary icon-helpful-outlined") -}}
6
+ {{- partial "icons/modus-outlined/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary") -}}
8
7
  </button>
9
8
  <button type="button"
10
9
  class="btn btn-light btn-outline-secondary btn-feedback btn-feedback-not-helpful border rounded p-1"
11
10
  aria-label="Not Helpful">
12
- {{- partial "icons/modus-solid/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary d-none icon-not-helpful-solid") -}}
13
- {{- partial "icons/modus-outlined/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary icon-not-helpful-outlined") -}}
11
+ {{- partial "icons/modus-outlined/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary") -}}
14
12
  </button>
15
13
  </div>
16
14
 
@@ -20,4 +18,4 @@
20
18
 
21
19
  <div class="small ml-2 d-none feedback-not-helpful">
22
20
  <a href="" rel="nofollow" target="_blank">Please, provide feedback about how we can improve the page</a>. Thank you!
23
- </div>
21
+ </div>
@@ -21,7 +21,7 @@
21
21
 
22
22
  <div class="bd-example-snippet bd-code-snippet border rounded border-opacity-10">
23
23
  {{- if eq $show_preview true -}}
24
- <div{{ with $id }} id="{{- . -}}" {{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
24
+ <div{{ with $id }} id="{{ . }}" {{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
25
25
  {{- $input -}}
26
26
  </div>
27
27
  {{- end -}}
@@ -47,4 +47,4 @@
47
47
  {{- $content = replaceRE ` (class=" *?")` "" $content -}}
48
48
  {{- highlight (trim $content "\n") $lang "" -}}
49
49
  {{- end -}}
50
- </div>
50
+ </div>
@@ -0,0 +1,8 @@
1
+ {{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
2
+ <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
3
+ {{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }}
4
+ <url><loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
5
+ <lastmod>{{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}</lastmod>{{ end }}
6
+ </url>{{- end -}}
7
+ {{- end -}}
8
+ </urlset>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trimble-oss/modus-docs-hugo-theme",
3
- "version": "1.0.0-alpha29",
3
+ "version": "1.0.0-alpha3",
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,34 +15,29 @@
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/styles/*.*\" --fix",
19
19
  "lint-html": "htmlhint \"build/**/index.html\"",
20
20
  "lint-js": "eslint assets/js/*.js --fix",
21
- "lint-links": "npx linkinator ./public --recurse --silent",
22
- "lint-markdown": "npx markdownlint-cli content/**/*.md --fix",
21
+ "lint-links": "npx linkinator content/ --recurse --silent --skip \"^(?!http://localhost)\"",
23
22
  "lint-spellcheck": "npx cspell \"content/**/*.md\" --no-progress",
24
- "prettier": "prettier --write \"**/*.{json,js,md,svg,yml}\"",
23
+ "prettier": "prettier --write \"**/*.{json,js,md,svg}\"",
25
24
  "serve": "hugo serve --port 4000 --disableFastRender --navigateToChanged",
26
- "test": "npm run lint-css && npm run lint-html && npm run lint-js",
27
- "pa11y": "npx pa11y-ci https://victorious-field-0a3116c10.3.azurestaticapps.net/",
28
- "svgo": "npx svgo --folder=\"static/img/icons/\""
25
+ "test": "npm run lint-css && npm run lint-html && npm run lint-js"
29
26
  },
30
27
  "dependencies": {
31
- "@trimble-oss/modus-bootstrap": "^2.0.7",
32
- "@trimble-oss/modus-icons": "^1.16.0"
28
+ "@trimble-oss/modus-icons": "1.4.0"
33
29
  },
34
30
  "devDependencies": {
35
- "autoprefixer": "10.4.20",
36
- "eslint": "8.57.1",
37
- "eslint-config-prettier": "9.1.0",
31
+ "autoprefixer": "10.4.15",
32
+ "eslint": "^8.48.0",
33
+ "eslint-config-prettier": "^9.0.0",
38
34
  "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"
35
+ "hugo-bin": "0.113.0",
36
+ "postcss": "8.4.28",
37
+ "postcss-cli": "10.1.0",
38
+ "prettier": "3.0.2",
39
+ "stylelint": "15.10.3",
40
+ "stylelint-config-standard-scss": "10.0.0"
46
41
  },
47
42
  "hugo-bin": {
48
43
  "buildTags": "extended"
@@ -52,11 +47,5 @@
52
47
  "data",
53
48
  "layouts",
54
49
  "static"
55
- ],
56
- "engines": {
57
- "node": ">=18.0.0"
58
- },
59
- "volta": {
60
- "node": "20.18.1"
61
- }
50
+ ]
62
51
  }
@@ -1,5 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 445 100">
2
- <path fill="#0063a3" d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62Z"/>
3
- <path fill="#0063a3" 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 0 0-14.57 7.49v34ZM182.72 25V11.72h16.62V25Zm.11 62.17V32.44h16.41v54.69ZM205.7 87.13V32.44h16.51v8.62c3.29-4.31 9.34-9.74 18-9.74 9.13 0 13.44 3.79 15 9.74 3.28-4.2 9.44-9.74 18-9.74 11.08 0 16 7 16 16.72v39.09h-16.52V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1 0-7.39 2.26-11 5.44v36.73h-16.49V52.45c0-4.92-1.13-7.49-6-7.49-4.1 0-7.38 2.26-11.08 5.44v36.73ZM312 80.66v6.47h-16.55V11.21H312v29.65c3.59-5 8.72-9.54 16.82-9.54 12.42 0 21 9.54 21 28.41S341.11 88 328.59 88c-7.39 0-12.52-2.72-16.59-7.34m21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21 0-8 2.57-10.77 5.34v20.21c3.59 3.38 6.56 5 11 5 6.82.02 10.31-5.72 10.31-15.67ZM354.94 87.13V11.21h16.41v75.92ZM376.47 59.84c0-21.24 16.21-28.52 27.49-28.52S429.1 37 429.1 61.79v2.46h-36.22c.83 9 5.85 12.51 12.73 12.51a25.16 25.16 0 0 0 16.21-6.56l6.36 9.85c-6.36 5.44-14.26 8.21-23.8 8.21-14.27 0-27.91-7.26-27.91-28.42m37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13 0-9.54 3.39-10.77 11.39ZM432.22 81a6.19 6.19 0 0 1 6.26-6.26 6.26 6.26 0 1 1-6.26 6.26m11.38 0a5.14 5.14 0 1 0-5.12 5.23A5.12 5.12 0 0 0 443.6 81m-7.55-3.56h2.56c1.62 0 2.56.7 2.56 2.1a1.84 1.84 0 0 1-1.34 1.94l1.48 2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48 3.18c.84 0 1.3-.27 1.3-1s-.46-1-1.33-1h-1.08v2ZM6.19 76.41V100l20.52-11.84A39.1 39.1 0 0 1 6.19 76.41M26.56 11.74 6.19 0v23.45a39.33 39.33 0 0 1 20.37-11.71M92.8 50 72.29 38.16a39.27 39.27 0 0 1-.06 23.72ZM19.7 17.92c2.94-.65 9.05 0 12.28.89a18.7 18.7 0 0 1 10.37-3.45 41.1 41.1 0 0 0-22.65 2.56M58.79 60.84a53 53 0 0 0-3.21-13.13c-7 3.18-15.72 1.13-21.53-3.9a96 96 0 0 0-11.43 14.51c9.85 8.03 26.05 10.14 36.17 2.52M17.23 59.09C8.55 50.19 5.52 37.22 8.3 27.25a35 35 0 0 0 2 47.47 63.4 63.4 0 0 1 6.93-15.63M54 43.94a47.2 47.2 0 0 0-7-10.78 81 81 0 0 0-10 7.77c5.26 4.37 12.14 5.23 17 3.01M47.47 27.72a36.3 36.3 0 0 1 7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3a37.2 37.2 0 0 1 10.77 7.23"/>
4
- <path fill="#0063a3" d="M20.4 62c-4.32 7.47-5.9 13-6.48 15.87A35 35 0 0 0 57.1 77a30 30 0 0 0 2-11.33c-11.96 7.12-28.44 4.4-38.7-3.67M57.4 41.45c3.83-4 3.06-10.84.15-14.78a29.6 29.6 0 0 0-7.13 4.18 52.7 52.7 0 0 1 6.98 10.6M64 32.85a14.1 14.1 0 0 1-4.84 12.59 57.4 57.4 0 0 1 3.33 11.76c5.25-6.82 5.09-16.56 1.51-24.35M34.16 37.9A83 83 0 0 1 44 30.11a33.2 33.2 0 0 0-10.82-6.59c-3.26 4.37-2.26 10.01.98 14.38M63.12 62.69a49.4 49.4 0 0 1-.43 8.88A35.37 35.37 0 0 0 70 47.07a26.82 26.82 0 0 1-6.88 15.62M29.1 22.28a28.4 28.4 0 0 0-13.9.09c-6.89 9.77-3.69 24.08 4.33 33a101 101 0 0 1 11.65-14.58c-4.08-5.07-5.7-12.9-2.08-18.51"/>
5
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 445 100"><path d="M115.85,87.13v-62H93V11.21h62.57v14h-23v62Z" fill="#0063a3"/><path 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,0,0-14.57,7.49v34Z" fill="#0063a3"/><path d="M182.72,25V11.72h16.62V25Zm.11,62.17V32.44h16.41V87.13Z" fill="#0063a3"/><path d="M205.7,87.13V32.44h16.51v8.62c3.29-4.31,9.34-9.74,18-9.74,9.13,0,13.44,3.79,15,9.74,3.28-4.2,9.44-9.74,18-9.74,11.08,0,16,7,16,16.72V87.13H272.69V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1,0-7.39,2.26-11,5.44V87.13H239.25V52.45c0-4.92-1.13-7.49-6-7.49-4.1,0-7.38,2.26-11.08,5.44V87.13Z" fill="#0063a3"/><path d="M312,80.66v6.47H295.45V11.21H312V40.86c3.59-5,8.72-9.54,16.82-9.54,12.42,0,21,9.54,21,28.41S341.11,88,328.59,88C321.2,88,316.07,85.28,312,80.66Zm21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21,0-8,2.57-10.77,5.34V70.51c3.59,3.38,6.56,5,11,5C329.82,75.53,333.31,69.79,333.31,59.84Z" fill="#0063a3"/><path d="M354.94,87.13V11.21h16.41V87.13Z" fill="#0063a3"/><path d="M376.47,59.84c0-21.24,16.21-28.52,27.49-28.52S429.1,37,429.1,61.79v2.46H392.88c.83,9,5.85,12.51,12.73,12.51a25.16,25.16,0,0,0,16.21-6.56l6.36,9.85c-6.36,5.44-14.26,8.21-23.8,8.21C390.11,88.26,376.47,81,376.47,59.84Zm37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13,0-9.54,3.39-10.77,11.39Z" fill="#0063a3"/><path d="M432.22,81a6.19,6.19,0,0,1,6.26-6.26A6.26,6.26,0,1,1,432.22,81Zm11.38,0a5.14,5.14,0,1,0-5.12,5.23A5.12,5.12,0,0,0,443.6,81Zm-7.55-3.56h2.56c1.62,0,2.56.7,2.56,2.1a1.84,1.84,0,0,1-1.34,1.94l1.48,2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48,3.18c.84,0,1.3-.27,1.3-1s-.46-1-1.33-1h-1.08v2Z" fill="#0063a3"/><path d="M6.19,76.41V100L26.71,88.16A39.1,39.1,0,0,1,6.19,76.41Z" fill="#0063a3"/><path d="M26.56,11.74,6.19,0V23.45A39.33,39.33,0,0,1,26.56,11.74Z" fill="#0063a3"/><path d="M92.8,50,72.29,38.16a39.27,39.27,0,0,1-.06,23.72Z" fill="#0063a3"/><path d="M19.7,17.92c2.94-.65,9.05,0,12.28.89a18.68,18.68,0,0,1,10.37-3.45A41.12,41.12,0,0,0,19.7,17.92Z" fill="#0063a3"/><path d="M58.79,60.84a53.07,53.07,0,0,0-3.21-13.13c-7,3.18-15.72,1.13-21.53-3.9A95.93,95.93,0,0,0,22.62,58.32C32.47,66.35,48.67,68.46,58.79,60.84Z" fill="#0063a3"/><path d="M17.23,59.09C8.55,50.19,5.52,37.22,8.3,27.25a35,35,0,0,0,2,47.47A63.4,63.4,0,0,1,17.23,59.09Z" fill="#0063a3"/><path d="M54,43.94a47.18,47.18,0,0,0-7-10.78A80.73,80.73,0,0,0,37,40.93C42.26,45.3,49.14,46.16,54,43.94Z" fill="#0063a3"/><path d="M47.47,27.72a36.33,36.33,0,0,1,7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3A37.17,37.17,0,0,1,47.47,27.72Z" fill="#0063a3"/><path d="M20.4,62c-4.32,7.47-5.9,13-6.48,15.87A35,35,0,0,0,57.1,77a30,30,0,0,0,2-11.33C47.14,72.79,30.66,70.07,20.4,62Z" fill="#0063a3"/><path d="M57.4,41.45c3.83-4,3.06-10.84.15-14.78a29.6,29.6,0,0,0-7.13,4.18A52.73,52.73,0,0,1,57.4,41.45Z" fill="#0063a3"/><path d="M64,32.85a14.1,14.1,0,0,1-4.84,12.59A57.37,57.37,0,0,1,62.49,57.2C67.74,50.38,67.58,40.64,64,32.85Z" fill="#0063a3"/><path d="M34.16,37.9A83.13,83.13,0,0,1,44,30.11a33.17,33.17,0,0,0-10.82-6.59C29.92,27.89,30.92,33.53,34.16,37.9Z" fill="#0063a3"/><path d="M63.12,62.69a49.42,49.42,0,0,1-.43,8.88A35.37,35.37,0,0,0,70,47.07,26.82,26.82,0,0,1,63.12,62.69Z" fill="#0063a3"/><path d="M29.1,22.28a28.42,28.42,0,0,0-13.9.09c-6.89,9.77-3.69,24.08,4.33,33A100.8,100.8,0,0,1,31.18,40.79C27.1,35.72,25.48,27.89,29.1,22.28Z" fill="#0063a3"/></svg>
@@ -0,0 +1,41 @@
1
+ // script adapted from Adam Argyle's tutorial: https://web.dev/building-a-theme-switch-component/
2
+
3
+ const storageKey = 'theme-preference';
4
+
5
+ const onClick = () => {
6
+ theme.value = theme.value === 'light' ? 'dark' : 'light';
7
+
8
+ setPreference();
9
+ };
10
+
11
+ const getColorPreference = () => {
12
+ if (localStorage.getItem(storageKey)) return localStorage.getItem(storageKey);
13
+ else return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
14
+ };
15
+
16
+ const setPreference = () => {
17
+ localStorage.setItem(storageKey, theme.value);
18
+ reflectPreference();
19
+ };
20
+
21
+ const reflectPreference = () => {
22
+ document.firstElementChild.setAttribute('data-bs-theme', theme.value);
23
+
24
+ document.querySelector('#theme-toggle')?.setAttribute('aria-label', theme.value);
25
+ };
26
+
27
+ const theme = {
28
+ value: getColorPreference(),
29
+ };
30
+
31
+ reflectPreference();
32
+
33
+ window.onload = () => {
34
+ reflectPreference();
35
+ document.querySelector('#theme-toggle').addEventListener('click', onClick);
36
+ };
37
+
38
+ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', ({ matches: isDark }) => {
39
+ theme.value = isDark ? 'dark' : 'light';
40
+ setPreference();
41
+ });
@@ -1,29 +0,0 @@
1
- @media (forced-colors: active) {
2
- nav.navbar.sticky-top {
3
- border-bottom: 1px solid transparent;
4
- }
5
-
6
- .col-sidebar {
7
- border-right: 1px solid transparent;
8
- }
9
-
10
- .highlight {
11
- margin-bottom: 1rem;
12
- outline: 1px solid transparent;
13
- }
14
-
15
- .nav-link.active {
16
- outline: 1px solid transparent;
17
- }
18
- }
19
-
20
- @media (forced-colors: active) and (prefers-color-scheme: light) {
21
- nav.navbar.sticky-top .btn svg {
22
- fill: ButtonText;
23
- }
24
-
25
- nav .navbar-brand svg {
26
- filter: invert(1);
27
- forced-color-adjust: none;
28
- }
29
- }
@@ -1,54 +0,0 @@
1
- .search-container {
2
- left: -12px;
3
- width: 40px;
4
- }
5
-
6
- .form-control-search {
7
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E");
8
- background-position: 5px center;
9
- background-repeat: no-repeat;
10
- background-size: 20px;
11
- border-left: 0;
12
- border-right: 0;
13
- left: auto;
14
- padding: 0;
15
- right: -6px;
16
- top: 0;
17
- transition: all 0.2s;
18
- width: 0 !important;
19
- z-index: 1210;
20
- }
21
-
22
- .form-control-search:focus {
23
- max-width: calc(100vw - 200px);
24
- padding: 0 4px 4px 16px;
25
- text-indent: 18px;
26
- visibility: visible;
27
- width: 363px !important;
28
- }
29
-
30
- .form-control-search:focus + .btn-search {
31
- background-color: transparent;
32
- pointer-events: none !important;
33
- transition: all 1s;
34
- }
35
-
36
- .form-control-search:focus + .btn-search img {
37
- opacity: 0;
38
- }
39
-
40
- .btn-search {
41
- top: 0;
42
- }
43
-
44
- .btn-search svg {
45
- margin-top: 11px;
46
- }
47
-
48
- [data-bs-theme="dark"] .form-control-search {
49
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E") !important;
50
- }
51
-
52
- [data-bs-theme="dark"] .btn-search img {
53
- filter: invert(1);
54
- }
@@ -1,27 +0,0 @@
1
- html[data-bs-theme="dark"] {
2
- nav.navbar-blue .dropdown-menu img {
3
- filter: invert(1);
4
- }
5
- }
6
-
7
- .navbar-site-title {
8
- margin-top: 12px;
9
- }
10
-
11
- nav.navbar-blue {
12
- label.btn,
13
- button.btn {
14
- border-color: transparent !important;
15
-
16
- &:hover {
17
- background-color: #217cbb !important;
18
- border: 1px solid #019aeb !important;
19
- border-color: #019aeb;
20
- }
21
- }
22
- }
23
-
24
- nav.navbar-blue .dropdown-menu {
25
- min-width: 250px;
26
- z-index: 1030;
27
- }
@@ -1,34 +0,0 @@
1
- main table {
2
- border: 1px solid rgba(133, 133, 133, 0.1);
3
- margin-bottom: 1rem;
4
- vertical-align: top;
5
- width: 100%;
6
-
7
- // border-color: var(--bs-table-border-color);
8
- }
9
-
10
- main table thead th {
11
- border-bottom-width: 1px;
12
- line-height: 1.25;
13
- vertical-align: middle;
14
- }
15
-
16
- main table thead tr {
17
- background-color: rgba(133, 133, 133, 0.1);
18
- }
19
-
20
- main table td {
21
- font-size: 0.875rem;
22
- vertical-align: middle;
23
- }
24
-
25
- .table-bordered > :not(caption) > * > * {
26
- border-width: 0 var(--bs-border-width);
27
- }
28
-
29
- table > :not(caption) > * > * {
30
- background-color: var(--bs-table-bg);
31
- border-bottom-width: var(--bs-border-width);
32
- box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
33
- padding: 0.25rem 1rem;
34
- }
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M17.12 8.12a.996.996 0 0 1 1.41 0l3.18 3.18c.39.39.39 1.02 0 1.41l-3.18 3.18c-.38.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41S19.59 12 19.59 12l-2.47-2.47a.996.996 0 0 1 0-1.41Zm-10.24 0a.996.996 0 0 0-1.41 0L2.29 11.3a.996.996 0 0 0 0 1.41s3.18 3.18 3.18 3.18c.38.38 1.02.38 1.41-.01a.996.996 0 0 0 0-1.41S4.41 12 4.41 12l2.47-2.47a.996.996 0 0 0 0-1.41Zm3.07 10.64 5.92-12.69c.23-.5.02-1.1-.48-1.33-.5-.23-1.1-.02-1.33.48L8.14 17.91c-.23.5-.02 1.1.48 1.33.14.06.28.09.42.09.38 0 .74-.21.91-.58Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M5 8h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m6 12h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m-6 0h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m0-6h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m6 0h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m5-9v2c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1m-5 3h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m6 6h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1m0 6h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M17.12 8.12a.996.996 0 0 1 1.41 0l3.18 3.18c.39.39.39 1.02 0 1.41l-3.18 3.18c-.38.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41S19.59 12 19.59 12l-2.47-2.47a.996.996 0 0 1 0-1.41Zm-10.24 0a.996.996 0 0 0-1.41 0L2.29 11.3a.996.996 0 0 0 0 1.41s3.18 3.18 3.18 3.18c.38.38 1.02.38 1.41-.01a.996.996 0 0 0 0-1.41S4.41 12 4.41 12l2.47-2.47a.996.996 0 0 0 0-1.41Zm3.07 10.64 5.92-12.69c.23-.5.02-1.1-.48-1.33-.5-.23-1.1-.02-1.33.48L8.14 17.91c-.23.5-.02 1.1.48 1.33.14.06.28.09.42.09.38 0 .74-.21.91-.58Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 24 24">
2
- <path fill="currentColor" d="M4 15.02H3c-.55 0-1-.45-1-1v-9c0-.55.45-1 1-1h1c.55 0 1 .45 1 1v9c0 .55-.45 1-1 1Zm17.95-2.06c0 1.11-.9 2.01-2.01 2.01h-5.03c-.25 0-.48 0-.69.03h-.05c-.48.06-.82.19-.87.46.3 2.27 1.08 5.3-1.67 6.42-1.56.62-1.95-1.05-1.73-2.24.34-2.17-1.58-3.55-2.77-5.07-.13-.2-.12-.73-.12-.73V6.02c0-1.11.91-2.01 2.02-2.01h8.46c1.11 0 1.58.28 2.33 2.25 0 0 1.91 4.57 2.05 4.89s.09 1.82.09 1.82Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{ . }}"{{ end }} viewBox="0 0 24 24">
2
- <path fill="currentColor" d="M4 9H3c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-9c0-.55-.45-1-1-1Zm17.95 2.06c0-1.11-.9-2.01-2.01-2.01h-5.03c-.25 0-.48 0-.69-.03h-.05c-.48-.06-.82-.19-.87-.46.3-2.27 1.08-5.3-1.67-6.42-1.56-.62-1.95 1.05-1.73 2.24.34 2.17-1.58 3.55-2.77 5.07-.13.2-.12.73-.12.73V18c0 1.11.91 2.01 2.02 2.01h8.46c1.11 0 1.58-.28 2.33-2.25 0 0 1.91-4.57 2.05-4.89s.09-1.82.09-1.82Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M14.41 14.14c-.1-.87-.3-1.73-.62-2.54a4.03 4.03 0 0 1-4.18-.76c-.83.86-1.57 1.81-2.22 2.81 1.91 1.56 5.05 1.97 7.02.49M9.63 9.53c.59-.55 1.23-1.06 1.9-1.51a6.19 6.19 0 0 0-2.1-1.27c-.56.87-.48 2.01.2 2.79m2.59-2.02c.46-.34.95-.61 1.48-.82a3.16 3.16 0 0 0-3.56-.59c.77.34 1.48.82 2.09 1.41m-6.26-.97c-1.34 1.9-.71 4.67.84 6.41a19.84 19.84 0 0 1 2.26-2.84c-.86-1-1.03-2.42-.4-3.59-.89-.22-1.82-.21-2.7.02m2.7-.02 5.49 3.71c.66-.84.67-2.02.03-2.87-.5.2-.96.48-1.38.81.53.63.99 1.32 1.35 2.06M9.23 5.67c.59-.42 1.29-.65 2.01-.67-1.48-.25-3-.08-4.39.5.8-.09 1.61-.03 2.38.17m4.27 5.09c-.36-.76-.82-1.46-1.36-2.09-.68.45-1.32.96-1.92 1.51.9.79 2.17 1.02 3.28.58m1.95-2.11c.13.92-.23 1.84-.94 2.45.29.74.51 1.5.64 2.28a4.69 4.69 0 0 0 .3-4.73m-.17 5.91c.02.57 0 1.15-.08 1.72a6.823 6.823 0 0 0 1.42-4.75c-.1 1.13-.57 2.19-1.34 3.03m5.75-2.54-3.97-2.3c.47 1.5.46 3.1-.02 4.6l3.99-2.3ZM6.99 14.51c-.58.95-1.01 1.99-1.26 3.08a6.803 6.803 0 0 0 8.38-.15c.27-.7.4-1.45.38-2.2a6.941 6.941 0 0 1-7.5-.73m-.62-.72a6.651 6.651 0 0 1-1.73-6.18 6.787 6.787 0 0 0 .4 9.21c.31-1.07.76-2.09 1.34-3.03M8.19 4.3 4.24 2.03v4.55a7.563 7.563 0 0 1 3.95-2.27ZM4.24 22.01l3.98-2.3a7.597 7.597 0 0 1-3.98-2.28v4.58Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
- <path d="M18.5 2H7C5.35 2 4 3.35 4 5v14c0 1.65 1.35 3 3 3v-2c-.55 0-1-.45-1-1s.45-1 1-1h1v5l1.5-2 1.5 2v-5h7v2h-6v2h6.5c.83 0 1.5-.67 1.5-1.5v-17c0-.83-.67-1.5-1.5-1.5Zm-10 3h4c.28 0 .5.22.5.5s-.22.5-.5.5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5Zm4 5h-4c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h4c.28 0 .5.22.5.5s-.22.5-.5.5Zm2-2h-6c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h6c.28 0 .5.22.5.5s-.22.5-.5.5Z"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="mi-outline mi-check-circle-outlined" viewBox="0 0 24 24">
2
- <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m5.04-11.28V8.7c-.4-.39-1.03-.39-1.42 0L10.33 14l-2.6-2.62a.996.996 0 0 0-1.41 0 .984.984 0 0 0-.01 1.4l.01.01 3.3 3.34a1 1 0 0 0 1.42.01l6-6.01a.996.996 0 0 0 0-1.41"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 640 512">
2
- <path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6m80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3"/>
3
- </svg>
@@ -1,3 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2
- <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/>
3
- </svg>