wickes-css2 2.96.0-develop.2 → 2.96.0-develop.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.96.0-develop.2",
3
+ "version": "2.96.0-develop.3",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -108,15 +108,7 @@
108
108
  "branches": [
109
109
  "alt-master",
110
110
  {
111
- "name": "develop",
112
- "prerelease": true
113
- },
114
- {
115
- "name": "preprod",
116
- "prerelease": true
117
- },
118
- {
119
- "name": "custom-tag/*",
111
+ "name": "custom-tag/IC-574-meganav-integration",
120
112
  "prerelease": "${name.replace(/^custom-tag\\//g, '')}"
121
113
  }
122
114
  ],
@@ -0,0 +1,33 @@
1
+ <ul>
2
+ {{#each subMenuItems}}
3
+ <li class="main-nav__sub-menu__item nav-col">
4
+ <a
5
+ href="{{ url }}"
6
+ class="main-nav__sub-menu__link main-nav__sub-sub-menu__link-last
7
+ {{#if color}}main-nav__sub-menu__link--invert {{/if}}
8
+ {{#ifCond color '==' "GREEN"}}green{{/ifCond}}
9
+ {{#ifCond color '==' "RED"}}red{{/ifCond}}
10
+ "
11
+ tabindex="0"
12
+ style="
13
+ {{#ifCond color '==' "GREEN"}}background-color: #9acd32; color: #fff;{{/ifCond}}
14
+ {{#ifCond color '==' "RED"}}background-color: #cf000f; color: #fff;{{/ifCond}}
15
+ {{#if bold}}font-weight: 700;{{/if}}
16
+ "
17
+ >
18
+ {{ name }}
19
+ </a>
20
+ </li>
21
+ {{/each }}
22
+ {{#if originalChildrenCount}}
23
+ {{#ifCond originalChildrenCount '!=' subMenuItems.length }}
24
+ <a
25
+ href="{{ menuItemUrl }}"
26
+ class="main-nav__sub-menu__link main-nav__sub-menu__view-more main-nav__sub-sub-menu__link-last"
27
+ tabindex="0"
28
+ >
29
+ View More
30
+ </a>
31
+ {{/ifCond}}
32
+ {{/if}}
33
+ </ul>
@@ -0,0 +1,32 @@
1
+ {{#each navigation}}
2
+ <ul class="main-nav__top-level">
3
+ {{#each children}}
4
+ <li class="main-nav__top-level__item">
5
+ <a
6
+ href="{{ url }}"
7
+ class="main-nav__top-level__label
8
+ {{#if color}}main-nav__top-level__label--invert {{/if}}
9
+ {{#ifCond color '==' "GREEN"}}green{{/ifCond}}
10
+ {{#ifCond color '==' "RED"}}red{{/ifCond}}
11
+ "
12
+ tabindex="0"
13
+ style="
14
+ {{#ifCond color '==' "GREEN"}}background-color: #9acd32; color: #fff;{{/ifCond}}
15
+ {{#ifCond color '==' "RED"}}background-color: #cf000f; color: #fff;{{/ifCond}}
16
+ {{#if bold}}font-weight: 700;{{/if}}
17
+ "
18
+ >
19
+ {{ name }}
20
+ </a>
21
+ <div class="main-nav__menu-wrapper">
22
+ {{#if banner}}
23
+ <div class="main-nav__menu-banner">
24
+ {{{banner}}}
25
+ </div>
26
+ {{/if}}
27
+ {{> navigation/menu-item menuItems=children}}
28
+ </div>
29
+ </li>
30
+ {{/each}}
31
+ </ul>
32
+ {{/each}}
@@ -0,0 +1,32 @@
1
+ <ul class="main-nav__menu">
2
+ {{#each menuItems}}
3
+ <li class="main-nav__menu__item nav-col">
4
+ <a
5
+ href="{{ url }}"
6
+ class="main-nav__menu__label
7
+ {{#if color}}main-nav__menu__label--invert {{/if}}
8
+ {{#ifCond color '==' "GREEN"}}green{{/ifCond}}
9
+ {{#ifCond color '==' "RED"}}red{{/ifCond}}
10
+ "
11
+ tabindex="0"
12
+ style="
13
+ {{#ifCond color '==' "GREEN"}}background-color: #9acd32; color: #fff;{{/ifCond}}
14
+ {{#ifCond color '==' "RED"}}background-color: #cf000f; color: #fff;{{/ifCond}}
15
+ {{#if bold}}font-weight: 700;{{/if}}
16
+ "
17
+ >
18
+ {{ name }}
19
+ </a>
20
+ <div class="main-nav__sub-menu__wrapper" tabindex="0">
21
+ <div class="main-nav__sub-menu">
22
+ {{> navigation/menu-item-sub subMenuItems=children originalChildrenCount=originalChildrenCount menuItemUrl=url}}
23
+ <div class="main-nav__view-all">
24
+ <a href="{{ url }}" class="main-nav__view-all__link" tabindex="0">
25
+ View all {{ name }}
26
+ </a>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </li>
31
+ {{/each}}
32
+ </ul>
@@ -0,0 +1,12 @@
1
+ <div class="main-nav__section main-nav__section_main">
2
+ <div class="main-nav__back-btn__wrap">
3
+ <a href="#" class="main-nav__back-btn">
4
+ <span class="icon">
5
+ <i class="fas fa-arrow-left fa-lg"></i>
6
+ </span>
7
+ </a>
8
+ </div>
9
+ <div class="main-nav__top-level-wrap">
10
+ {{> navigation/menu-item-top }}
11
+ </div>
12
+ </div>