@caweb/template 1.1.2 → 1.1.3
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/package.json +2 -2
- package/semantics/nav-mega-dropdown.html +12 -9
- package/media/head.html +0 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/template",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"author": "CAWebPublishing",
|
|
5
5
|
"description": "CAWebPublishing Template",
|
|
6
6
|
"license": "ISC",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"serve:trinity": "cross-env CAWEB_NODE_OPTIONS='--template ./patterns/default.html --scheme trinity' npm run serve"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@caweb/framework": "^1.9.
|
|
50
|
+
"@caweb/framework": "^1.9.19",
|
|
51
51
|
"@caweb/icon-library": "^1.1.7",
|
|
52
52
|
"cross-env": "^10.1.0"
|
|
53
53
|
},
|
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
<!-- this menu is not yet ready --><!-- Navigation -->
|
|
2
2
|
<div class="navigation border-bottom">
|
|
3
3
|
<div class="container">
|
|
4
|
-
<ul class="nav
|
|
4
|
+
<ul class="nav megadropdown" aria-label="Main navigation">
|
|
5
5
|
{{#each header.nav }}
|
|
6
6
|
{{#if this.sub }}
|
|
7
|
-
<li class="nav-item">
|
|
8
|
-
<a class="nav-link dropdown-toggle"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
7
|
+
<li class="nav-item dropdown">
|
|
8
|
+
<a class="nav-link dropdown-toggle"
|
|
9
|
+
data-bs-toggle="dropdown" href="#" aria-expanded="false"
|
|
10
|
+
data-bs-popper-config='{"placement": "bottom-start", "strategy": "fixed"}'>{{ this.label }}</a>
|
|
11
|
+
<div class="dropdown-menu">
|
|
12
|
+
<div class="submenu">
|
|
13
|
+
{{#each this.sub }}
|
|
14
|
+
{{#if this.new_row }}
|
|
15
|
+
</div><div class="submenu">
|
|
16
|
+
{{/if}}
|
|
13
17
|
<a class="dropdown-item nav-link{{#ifCond this.media.align '!==' undefined }} with-media-{{ this.media.align }}{{/ifCond}}" href="{{ this.url }}">
|
|
14
18
|
|
|
15
19
|
{{#if this.media.icon }}
|
|
@@ -25,10 +29,9 @@
|
|
|
25
29
|
{{/if}}
|
|
26
30
|
</div>
|
|
27
31
|
</a>
|
|
28
|
-
</li>
|
|
29
32
|
{{/each}}
|
|
30
|
-
</ul>
|
|
31
33
|
</div>
|
|
34
|
+
</div>
|
|
32
35
|
{{else}}
|
|
33
36
|
<li class="nav-item">
|
|
34
37
|
<a class="nav-link" href="{{ this.url }}">{{ this.label }}</a>
|
package/media/head.html
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
{{#if scheme }}
|
|
2
|
-
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
3
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
4
|
-
|
|
5
|
-
<!-- Icon Font Library -->
|
|
6
|
-
<link rel="stylesheet" href="/node_modules/@caweb/icon-library/build/font-only.css" />
|
|
7
|
-
|
|
8
|
-
<!-- Template Scheme CSS -->
|
|
9
|
-
<link rel="stylesheet" href="/node_modules/@caweb/framework/build/{{ scheme }}.css" />
|
|
10
|
-
|
|
11
|
-
<link
|
|
12
|
-
rel="apple-touch-icon-precomposed"
|
|
13
|
-
sizes="100x100"
|
|
14
|
-
href="/media/apple-touch-icon-precomposed.png" />
|
|
15
|
-
<link rel="icon" sizes="192x192" href="/media/apple-touch-icon-192x192.png" />
|
|
16
|
-
<link
|
|
17
|
-
rel="apple-touch-icon-precomposed"
|
|
18
|
-
sizes="180x180"
|
|
19
|
-
href="/media/apple-touch-icon-180x180.png" />
|
|
20
|
-
<link
|
|
21
|
-
rel="apple-touch-icon-precomposed"
|
|
22
|
-
sizes="152x152"
|
|
23
|
-
href="/media/apple-touch-icon-152x152.png" />
|
|
24
|
-
<link
|
|
25
|
-
rel="apple-touch-icon-precomposed"
|
|
26
|
-
sizes="144x144"
|
|
27
|
-
href="/media/apple-touch-icon-144x144.png" />
|
|
28
|
-
<link
|
|
29
|
-
rel="apple-touch-icon-precomposed"
|
|
30
|
-
sizes="120x120"
|
|
31
|
-
href="/media/apple-touch-icon-120x120.png" />
|
|
32
|
-
<link
|
|
33
|
-
rel="apple-touch-icon-precomposed"
|
|
34
|
-
sizes="114x114"
|
|
35
|
-
href="/media/apple-touch-icon-114x114.png" />
|
|
36
|
-
<link
|
|
37
|
-
rel="apple-touch-icon-precomposed"
|
|
38
|
-
sizes="72x72"
|
|
39
|
-
href="/media/apple-touch-icon-72x72.png" />
|
|
40
|
-
<link
|
|
41
|
-
rel="apple-touch-icon-precomposed"
|
|
42
|
-
href="/media/apple-touch-icon-57x57.png" />
|
|
43
|
-
<link rel="shortcut icon" href="/media/apple-touch-icon-57x57.png" />
|
|
44
|
-
<link rel="apple-touch-icon" href="/media/apple-touch-icon.png" />
|
|
45
|
-
{{/if}}
|
|
46
|
-
|
|
47
|
-
{{#if meta }}
|
|
48
|
-
{{#each meta }}
|
|
49
|
-
<meta name="{{ @key }}" content="{{ this }}" />
|
|
50
|
-
{{/each}}
|
|
51
|
-
{{/if}}
|
|
52
|
-
|
|
53
|
-
{{#if assets }}
|
|
54
|
-
{{#each assets }}
|
|
55
|
-
{{#if (endsWith this ".css") }}
|
|
56
|
-
<link rel="stylesheet" href="{{ this }}" />
|
|
57
|
-
{{/if}}
|
|
58
|
-
{{/each}}
|
|
59
|
-
{{/if}}
|