hr-design-system-handlebars 0.45.1 → 0.46.0
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/.storybook/preview.js +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/assets/index.css +29 -29
- package/dist/views/components/base/load_dynamic.hbs +2 -2
- package/dist/views/components/page/page.hbs +1 -1
- package/dist/views/components/{header → site_header}/anchor_navigation/anchor_navigation.hbs +0 -0
- package/dist/views/components/{header → site_header}/anchor_navigation/featurebox_anchor.hbs +0 -0
- package/{src/stories/views/components/header → dist/views/components/site_header}/brand_navigation/brand_navigation.hbs +1 -1
- package/dist/views/components/{header → site_header}/brand_navigation/brand_navigation_item.hbs +0 -0
- package/dist/views/components/{header → site_header}/burger.hbs +0 -0
- package/dist/views/components/{header → site_header}/header.hbs +9 -9
- package/dist/views/components/{header → site_header}/header_alpine.js +0 -0
- package/{src/stories/views/components/header → dist/views/components/site_header}/navigation_flyout/navigation_flyout.hbs +2 -2
- package/dist/views/components/{header → site_header}/navigation_flyout/navigation_flyout_column.hbs +1 -1
- package/dist/views/components/{header → site_header}/navigation_flyout/navigation_flyout_item.hbs +0 -0
- package/dist/views/components/{header/search → site_header/navigation_search}/quick_search_button.hbs +0 -0
- package/dist/views/components/{header/search → site_header/navigation_search}/quick_search_form.hbs +0 -0
- package/dist/views/components/{header → site_header}/section_navigation/section_navigation.hbs +1 -1
- package/{src/stories/views/components/header → dist/views/components/site_header}/section_navigation/section_navigation_item.hbs +1 -1
- package/dist/views/components/{header → site_header}/service_logo.hbs +0 -0
- package/dist/views/components/{header → site_header}/service_navigation/service_list.hbs +1 -1
- package/dist/views/components/{header → site_header}/service_navigation/service_navigation_item.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/base/load_dynamic.hbs +2 -2
- package/src/stories/views/components/page/page.hbs +1 -1
- package/src/stories/views/components/page/page.stories.mdx +4 -4
- package/src/stories/views/components/{header → site_header}/anchor_navigation/anchor_navigation.hbs +0 -0
- package/src/stories/views/components/{header → site_header}/anchor_navigation/featurebox_anchor.hbs +0 -0
- package/src/stories/views/components/{header → site_header}/brandNavigationData.json +0 -0
- package/{dist/views/components/header → src/stories/views/components/site_header}/brand_navigation/brand_navigation.hbs +1 -1
- package/src/stories/views/components/{header → site_header}/brand_navigation/brand_navigation.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/brand_navigation/brand_navigation_item.hbs +0 -0
- package/src/stories/views/components/{header → site_header}/brand_navigation/brand_navigation_item.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/burger.hbs +0 -0
- package/src/stories/views/components/{header → site_header}/header.hbs +9 -9
- package/src/stories/views/components/{header → site_header}/header_.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/header_alpine.js +0 -0
- package/src/stories/views/components/{header → site_header}/navigation.json +0 -0
- package/src/stories/views/components/{header → site_header}/navigation2.json +0 -0
- package/src/stories/views/components/{header → site_header}/navigation3.json +0 -0
- package/src/stories/views/components/{header → site_header}/navigation4.json +0 -0
- package/{dist/views/components/header → src/stories/views/components/site_header}/navigation_flyout/navigation_flyout.hbs +2 -2
- package/src/stories/views/components/{header → site_header}/navigation_flyout/navigation_flyout.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/navigation_flyout/navigation_flyout_column.hbs +1 -1
- package/src/stories/views/components/{header → site_header}/navigation_flyout/navigation_flyout_item.hbs +0 -0
- package/src/stories/views/components/{header/search → site_header/navigation_search}/quick_search_button.hbs +0 -0
- package/src/stories/views/components/{header/search → site_header/navigation_search}/quick_search_button.stories.mdx +0 -0
- package/src/stories/views/components/{header/search → site_header/navigation_search}/quick_search_form.hbs +0 -0
- package/src/stories/views/components/{header/search → site_header/navigation_search}/quick_search_form.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/sectionNavigationData.json +0 -0
- package/src/stories/views/components/{header → site_header}/section_navigation/section_navigation.hbs +1 -1
- package/src/stories/views/components/{header → site_header}/section_navigation/section_navigation.stories.mdx +0 -0
- package/{dist/views/components/header → src/stories/views/components/site_header}/section_navigation/section_navigation_item.hbs +1 -1
- package/src/stories/views/components/{header → site_header}/section_navigation/section_navigation_item.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/serviceNavigationData.json +0 -0
- package/src/stories/views/components/{header → site_header}/service_logo.hbs +0 -0
- package/src/stories/views/components/{header → site_header}/service_navigation/service_list.hbs +1 -1
- package/src/stories/views/components/{header → site_header}/service_navigation/service_list.stories.mdx +0 -0
- package/src/stories/views/components/{header → site_header}/service_navigation/service_navigation_item.hbs +1 -1
- /package/src/stories/views/components/{header → site_header}/service_navigation/service_navigation_item.stories.mdx +0 -0
package/.storybook/preview.js
CHANGED
|
@@ -8,7 +8,7 @@ import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport'
|
|
|
8
8
|
|
|
9
9
|
import Initializer from '../build/webpack/feature-loader/initializer/initializer'
|
|
10
10
|
import loadFeature from '../build/webpack/feature-loader/initializer/loader'
|
|
11
|
-
import 'components/
|
|
11
|
+
import 'components/site_header/header_alpine'
|
|
12
12
|
|
|
13
13
|
function loadDelayedImages(){setTimeout((function(){var t,e=document.images,s=[],a=function(t){void 0!==window.picturefill&&window.picturefill({reevaluate:!0,elements:t})};for(var i=0;i<e.length;++i)(t=e[i].dataset?e[i].dataset.srcset:e[i].getAttribute("data-srcset"))&&(0===e[i].getBoundingClientRect().top?s.push(e[i]):e[i].setAttribute("srcset",t));a(e),setTimeout((function(){var t;for(var i=0;i<s.length;++i)t=s[i].dataset?s[i].dataset.srcset:s[i].getAttribute("data-srcset"),s[i].setAttribute("srcset",t);a(s)}),900)}),0)}
|
|
14
14
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v0.46.0 (Fri May 13 2022)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- renamed folders header and search to site_header and navigation_search [#233](https://github.com/mumprod/hr-design-system-handlebars/pull/233) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v0.45.1 (Fri May 13 2022)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -1554,6 +1554,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1554
1554
|
.\!mt-4 {
|
|
1555
1555
|
margin-top: 1rem !important;
|
|
1556
1556
|
}
|
|
1557
|
+
.ml-2 {
|
|
1558
|
+
margin-left: 0.5rem;
|
|
1559
|
+
}
|
|
1557
1560
|
.-mt-2 {
|
|
1558
1561
|
margin-top: -0.5rem;
|
|
1559
1562
|
}
|
|
@@ -1566,9 +1569,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1566
1569
|
.-mt-10 {
|
|
1567
1570
|
margin-top: -2.5rem;
|
|
1568
1571
|
}
|
|
1569
|
-
.ml-2 {
|
|
1570
|
-
margin-left: 0.5rem;
|
|
1571
|
-
}
|
|
1572
1572
|
.mr-4 {
|
|
1573
1573
|
margin-right: 1rem;
|
|
1574
1574
|
}
|
|
@@ -2024,17 +2024,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2024
2024
|
--tw-bg-opacity: 1;
|
|
2025
2025
|
background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
|
|
2026
2026
|
}
|
|
2027
|
-
.bg-current {
|
|
2028
|
-
background-color: currentColor;
|
|
2029
|
-
}
|
|
2030
|
-
.bg-blue-congress {
|
|
2031
|
-
--tw-bg-opacity: 1;
|
|
2032
|
-
background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
|
|
2033
|
-
}
|
|
2034
|
-
.bg-gray-800 {
|
|
2035
|
-
--tw-bg-opacity: 1;
|
|
2036
|
-
background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
|
|
2037
|
-
}
|
|
2038
2027
|
.bg-labelMedia {
|
|
2039
2028
|
background-color: #006dc1;
|
|
2040
2029
|
background-color: var(--color-label-media);
|
|
@@ -2071,6 +2060,17 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2071
2060
|
background-color: #d34600;
|
|
2072
2061
|
background-color: var(--color-label-live);
|
|
2073
2062
|
}
|
|
2063
|
+
.bg-current {
|
|
2064
|
+
background-color: currentColor;
|
|
2065
|
+
}
|
|
2066
|
+
.bg-blue-congress {
|
|
2067
|
+
--tw-bg-opacity: 1;
|
|
2068
|
+
background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
|
|
2069
|
+
}
|
|
2070
|
+
.bg-gray-800 {
|
|
2071
|
+
--tw-bg-opacity: 1;
|
|
2072
|
+
background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
|
|
2073
|
+
}
|
|
2074
2074
|
.bg-gradient-to-r {
|
|
2075
2075
|
background-image: -webkit-gradient(linear, left top, right top, from(var(--tw-gradient-stops)));
|
|
2076
2076
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
@@ -2112,6 +2112,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2112
2112
|
padding-top: 2rem;
|
|
2113
2113
|
padding-bottom: 2rem;
|
|
2114
2114
|
}
|
|
2115
|
+
.px-1\.5 {
|
|
2116
|
+
padding-left: 0.375rem;
|
|
2117
|
+
padding-right: 0.375rem;
|
|
2118
|
+
}
|
|
2119
|
+
.px-1 {
|
|
2120
|
+
padding-left: 0.25rem;
|
|
2121
|
+
padding-right: 0.25rem;
|
|
2122
|
+
}
|
|
2115
2123
|
.px-5 {
|
|
2116
2124
|
padding-left: 1.25rem;
|
|
2117
2125
|
padding-right: 1.25rem;
|
|
@@ -2124,14 +2132,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2124
2132
|
padding-top: 0.75rem;
|
|
2125
2133
|
padding-bottom: 0.75rem;
|
|
2126
2134
|
}
|
|
2127
|
-
.px-1\.5 {
|
|
2128
|
-
padding-left: 0.375rem;
|
|
2129
|
-
padding-right: 0.375rem;
|
|
2130
|
-
}
|
|
2131
|
-
.px-1 {
|
|
2132
|
-
padding-left: 0.25rem;
|
|
2133
|
-
padding-right: 0.25rem;
|
|
2134
|
-
}
|
|
2135
2135
|
.px-3\.5 {
|
|
2136
2136
|
padding-left: 0.875rem;
|
|
2137
2137
|
padding-right: 0.875rem;
|
|
@@ -2164,15 +2164,15 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2164
2164
|
padding-left: 1rem;
|
|
2165
2165
|
padding-right: 1rem;
|
|
2166
2166
|
}
|
|
2167
|
+
.pt-px {
|
|
2168
|
+
padding-top: 1px;
|
|
2169
|
+
}
|
|
2167
2170
|
.pl-4 {
|
|
2168
2171
|
padding-left: 1rem;
|
|
2169
2172
|
}
|
|
2170
2173
|
.pr-2 {
|
|
2171
2174
|
padding-right: 0.5rem;
|
|
2172
2175
|
}
|
|
2173
|
-
.pt-px {
|
|
2174
|
-
padding-top: 1px;
|
|
2175
|
-
}
|
|
2176
2176
|
.pt-1 {
|
|
2177
2177
|
padding-top: 0.25rem;
|
|
2178
2178
|
}
|
|
@@ -2309,14 +2309,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2309
2309
|
--tw-text-opacity: 1;
|
|
2310
2310
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
2311
2311
|
}
|
|
2312
|
-
.text-blue-congress {
|
|
2313
|
-
--tw-text-opacity: 1;
|
|
2314
|
-
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2315
|
-
}
|
|
2316
2312
|
.text-grey-scorpion {
|
|
2317
2313
|
--tw-text-opacity: 1;
|
|
2318
2314
|
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
2319
2315
|
}
|
|
2316
|
+
.text-blue-congress {
|
|
2317
|
+
--tw-text-opacity: 1;
|
|
2318
|
+
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2319
|
+
}
|
|
2320
2320
|
.text-toplineColor {
|
|
2321
2321
|
color: #006dc1;
|
|
2322
2322
|
color: var(--color-topline);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#switch templatePath}}
|
|
2
|
-
{{#case "components/
|
|
3
|
-
{{> components/
|
|
2
|
+
{{#case "components/site_header/service_navigation/service_navigation_item"}}
|
|
3
|
+
{{> components/site_header/service_navigation/service_navigation_item}}
|
|
4
4
|
{{/case}}
|
|
5
5
|
{{#case "components/teaser/group_teaser/group_teaser"}}
|
|
6
6
|
{{> components/teaser/group_teaser/group_teaser}}
|
package/dist/views/components/{header → site_header}/anchor_navigation/anchor_navigation.hbs
RENAMED
|
File without changes
|
package/dist/views/components/{header → site_header}/anchor_navigation/featurebox_anchor.hbs
RENAMED
|
File without changes
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
{{#with this.brandNavigationItems}}
|
|
22
22
|
<ul class="flex pl-0.5 pr-3 md:px-0 flex-nowrap lg:mr-0">
|
|
23
23
|
{{#each this}}
|
|
24
|
-
{{> components/
|
|
24
|
+
{{> components/site_header/brand_navigation/brand_navigation_item }}
|
|
25
25
|
{{/each}}
|
|
26
26
|
</ul>
|
|
27
27
|
{{/with}}
|
package/dist/views/components/{header → site_header}/brand_navigation/brand_navigation_item.hbs
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
<div id="anchorNavWrapper"
|
|
11
11
|
class="hidden">
|
|
12
|
-
{{> components/
|
|
12
|
+
{{> components/site_header/anchor_navigation/anchor_navigation }}
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div id="brandNavWrapper"
|
|
16
16
|
class="relative flex items-center justify-center order-1 w-full bg-white z-101 print:hidden">
|
|
17
|
-
{{> components/
|
|
17
|
+
{{> components/site_header/brand_navigation/brand_navigation }}
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div id="serviceNavWrapper"
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
|
|
29
29
|
<div id="serviceLogoWrapper"
|
|
30
30
|
class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 lg:items-end lg:pb-3 bg-blue-congress md:px-0 md:h-12 lg:h-16 md:w-1/2 md:max-w-1/2 lg:w-1/4 lg:max-w-1/4">
|
|
31
|
-
{{> components/
|
|
31
|
+
{{> components/site_header/service_logo }}
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<div id="serviceItemsWrapper"
|
|
35
35
|
class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-blue-congress md:h-12 lg:h-16 lg:order-2 lg:w-3/4 lg:max-w-3/4 md:mt-0 md:w-1/2 md:max-w-1/2 md:order-2 md:border-0 print:hidden ">
|
|
36
|
-
{{> components/
|
|
36
|
+
{{> components/site_header/service_navigation/service_list }}
|
|
37
37
|
|
|
38
|
-
{{> components/
|
|
38
|
+
{{> components/site_header/navigation_search/quick_search_button }}
|
|
39
39
|
|
|
40
40
|
<div class="hidden lg:flex">
|
|
41
|
-
{{> components/
|
|
41
|
+
{{> components/site_header/navigation_search/quick_search_form }}
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<div id="burgerWrapper"
|
|
45
45
|
class="flex justify-end flex-none order-2 lg:order-4 md:order-4 lg:hidden ">
|
|
46
|
-
{{> components/
|
|
46
|
+
{{> components/site_header/burger }}
|
|
47
47
|
</div>
|
|
48
48
|
|
|
49
49
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
:class="shouldSectionNavBeHidden() ? '-mt-40 md:-mt-40 lg:-mt-40' : ''"
|
|
57
57
|
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-100 print:hidden"
|
|
58
58
|
>
|
|
59
|
-
{{> components/
|
|
59
|
+
{{> components/site_header/section_navigation/section_navigation }}
|
|
60
60
|
</div>
|
|
61
61
|
|
|
62
62
|
<div x-cloak :class="shouldServiceNavBeHidden() ? 'hidden -mt-40' : ''"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
x-transition:leave-start="opacity-100 transform scale-y-100"
|
|
73
73
|
x-transition:leave-end="opacity-0 transform scale-y-90">
|
|
74
74
|
|
|
75
|
-
{{> components/
|
|
75
|
+
{{> components/site_header/navigation_search/quick_search_form }}
|
|
76
76
|
|
|
77
77
|
</div>
|
|
78
78
|
|
|
File without changes
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
<div class="{{#if this.showAsFlyout}}lg:flex lg:flex-row -columnCount--{{this.columnCount}} lg:divide-x lg:divide-gray-200 {{else}} {{#if ../this.selected}} w-full lg:px-10 lg:container {{/if}}{{/if}}">
|
|
45
45
|
{{#if this.showAsFlyout}}
|
|
46
46
|
{{#each this.columns}}
|
|
47
|
-
{{> components/
|
|
47
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_column count=../this.columnCount navtype=../../_navigationType _parent=../../_parent _flyout=true~}}
|
|
48
48
|
{{/each}}
|
|
49
49
|
{{else}}
|
|
50
50
|
{{#with this.items}}
|
|
51
|
-
{{> components/
|
|
51
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_column selected=../../this.selected navtype=../../_navigationType _parent=../../_parent _flyout=false ~}}
|
|
52
52
|
{{/with}}
|
|
53
53
|
{{/if}}
|
|
54
54
|
</div>
|
package/dist/views/components/{header → site_header}/navigation_flyout/navigation_flyout_column.hbs
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
{{~#each this ~}}
|
|
4
4
|
{{~#if this.title~}}
|
|
5
|
-
{{> components/
|
|
5
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_item _parentselected=../selected _fromNav=../navtype _flyout=../_flyout _parent=../_parent ~}}
|
|
6
6
|
{{~/if~}}
|
|
7
7
|
{{~/each~}}
|
|
8
8
|
|
package/dist/views/components/{header → site_header}/navigation_flyout/navigation_flyout_item.hbs
RENAMED
|
File without changes
|
|
File without changes
|
package/dist/views/components/{header/search → site_header/navigation_search}/quick_search_form.hbs
RENAMED
|
File without changes
|
package/dist/views/components/{header → site_header}/section_navigation/section_navigation.hbs
RENAMED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<ul class="flex flex-col items-center w-full text-left text-white list-none lg:flex-row lg:h-auto lg:mt-1">
|
|
11
11
|
{{#each this}}
|
|
12
12
|
{{#if (isStorybook)}}
|
|
13
|
-
{{> components/
|
|
13
|
+
{{> components/site_header/section_navigation/section_navigation_item }}
|
|
14
14
|
{{else}}
|
|
15
15
|
{{{this}}}
|
|
16
16
|
{{/if}}
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
{{/if}}
|
|
96
96
|
|
|
97
|
-
{{> components/
|
|
97
|
+
{{> components/site_header/navigation_flyout/navigation_flyout _isSectionNav=true _navigationType="RubrikNavigation" _parent=this.text }}
|
|
98
98
|
|
|
99
99
|
</li>
|
|
100
100
|
{{/each}}
|
|
File without changes
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
{{#with this.serviceNavigationSSILinks}}
|
|
9
9
|
<ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
|
|
10
10
|
{{#each this}}
|
|
11
|
-
{{> components/base/loadSSI templatePath='components/
|
|
11
|
+
{{> components/base/loadSSI templatePath='components/site_header/service_navigation/service_navigation_item' }}
|
|
12
12
|
{{/each}}
|
|
13
13
|
</ul>
|
|
14
14
|
{{/with}}
|
package/dist/views/components/{header → site_header}/service_navigation/service_navigation_item.hbs
RENAMED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
{{#if this.subNavigation}}
|
|
53
|
-
{{> components/
|
|
53
|
+
{{> components/site_header/navigation_flyout/navigation_flyout _isSectionNav=false _navigationType="ServiceNavigation" _parent=this.text }}
|
|
54
54
|
</button>
|
|
55
55
|
{{else}}
|
|
56
56
|
</a>
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.46.0",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#switch templatePath}}
|
|
2
|
-
{{#case "components/
|
|
3
|
-
{{> components/
|
|
2
|
+
{{#case "components/site_header/service_navigation/service_navigation_item"}}
|
|
3
|
+
{{> components/site_header/service_navigation/service_navigation_item}}
|
|
4
4
|
{{/case}}
|
|
5
5
|
{{#case "components/teaser/group_teaser/group_teaser"}}
|
|
6
6
|
{{> components/teaser/group_teaser/group_teaser}}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ArgsTable, Meta, Story, Canvas, Preview } from '@storybook/addon-docs'
|
|
2
2
|
import 'core-js/actual/structured-clone';
|
|
3
3
|
import page from './page.hbs'
|
|
4
|
-
import NavigationData from '../
|
|
5
|
-
import NavigationData2 from '../
|
|
6
|
-
import NavigationData3 from '../
|
|
7
|
-
import NavigationData4 from '../
|
|
4
|
+
import NavigationData from '../site_header/navigation.json'
|
|
5
|
+
import NavigationData2 from '../site_header/navigation2.json'
|
|
6
|
+
import NavigationData3 from '../site_header/navigation3.json'
|
|
7
|
+
import NavigationData4 from '../site_header/navigation4.json'
|
|
8
8
|
import hero_teaser from '../teaser/data/teaser_standard_xxl_serif.json'
|
|
9
9
|
const NavigationDataWithTeaser = structuredClone(Object.assign({}, NavigationData, hero_teaser))
|
|
10
10
|
const NavigationDataWithTeaser2 = structuredClone(Object.assign({}, NavigationData2, hero_teaser))
|
package/src/stories/views/components/{header → site_header}/anchor_navigation/anchor_navigation.hbs
RENAMED
|
File without changes
|
package/src/stories/views/components/{header → site_header}/anchor_navigation/featurebox_anchor.hbs
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
{{#with this.brandNavigationItems}}
|
|
22
22
|
<ul class="flex pl-0.5 pr-3 md:px-0 flex-nowrap lg:mr-0">
|
|
23
23
|
{{#each this}}
|
|
24
|
-
{{> components/
|
|
24
|
+
{{> components/site_header/brand_navigation/brand_navigation_item }}
|
|
25
25
|
{{/each}}
|
|
26
26
|
</ul>
|
|
27
27
|
{{/with}}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
<div id="anchorNavWrapper"
|
|
11
11
|
class="hidden">
|
|
12
|
-
{{> components/
|
|
12
|
+
{{> components/site_header/anchor_navigation/anchor_navigation }}
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div id="brandNavWrapper"
|
|
16
16
|
class="relative flex items-center justify-center order-1 w-full bg-white z-101 print:hidden">
|
|
17
|
-
{{> components/
|
|
17
|
+
{{> components/site_header/brand_navigation/brand_navigation }}
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div id="serviceNavWrapper"
|
|
@@ -28,22 +28,22 @@
|
|
|
28
28
|
|
|
29
29
|
<div id="serviceLogoWrapper"
|
|
30
30
|
class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 lg:items-end lg:pb-3 bg-blue-congress md:px-0 md:h-12 lg:h-16 md:w-1/2 md:max-w-1/2 lg:w-1/4 lg:max-w-1/4">
|
|
31
|
-
{{> components/
|
|
31
|
+
{{> components/site_header/service_logo }}
|
|
32
32
|
</div>
|
|
33
33
|
|
|
34
34
|
<div id="serviceItemsWrapper"
|
|
35
35
|
class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-blue-congress md:h-12 lg:h-16 lg:order-2 lg:w-3/4 lg:max-w-3/4 md:mt-0 md:w-1/2 md:max-w-1/2 md:order-2 md:border-0 print:hidden ">
|
|
36
|
-
{{> components/
|
|
36
|
+
{{> components/site_header/service_navigation/service_list }}
|
|
37
37
|
|
|
38
|
-
{{> components/
|
|
38
|
+
{{> components/site_header/navigation_search/quick_search_button }}
|
|
39
39
|
|
|
40
40
|
<div class="hidden lg:flex">
|
|
41
|
-
{{> components/
|
|
41
|
+
{{> components/site_header/navigation_search/quick_search_form }}
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<div id="burgerWrapper"
|
|
45
45
|
class="flex justify-end flex-none order-2 lg:order-4 md:order-4 lg:hidden ">
|
|
46
|
-
{{> components/
|
|
46
|
+
{{> components/site_header/burger }}
|
|
47
47
|
</div>
|
|
48
48
|
|
|
49
49
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
:class="shouldSectionNavBeHidden() ? '-mt-40 md:-mt-40 lg:-mt-40' : ''"
|
|
57
57
|
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-100 print:hidden"
|
|
58
58
|
>
|
|
59
|
-
{{> components/
|
|
59
|
+
{{> components/site_header/section_navigation/section_navigation }}
|
|
60
60
|
</div>
|
|
61
61
|
|
|
62
62
|
<div x-cloak :class="shouldServiceNavBeHidden() ? 'hidden -mt-40' : ''"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
x-transition:leave-start="opacity-100 transform scale-y-100"
|
|
73
73
|
x-transition:leave-end="opacity-0 transform scale-y-90">
|
|
74
74
|
|
|
75
|
-
{{> components/
|
|
75
|
+
{{> components/site_header/navigation_search/quick_search_form }}
|
|
76
76
|
|
|
77
77
|
</div>
|
|
78
78
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
<div class="{{#if this.showAsFlyout}}lg:flex lg:flex-row -columnCount--{{this.columnCount}} lg:divide-x lg:divide-gray-200 {{else}} {{#if ../this.selected}} w-full lg:px-10 lg:container {{/if}}{{/if}}">
|
|
45
45
|
{{#if this.showAsFlyout}}
|
|
46
46
|
{{#each this.columns}}
|
|
47
|
-
{{> components/
|
|
47
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_column count=../this.columnCount navtype=../../_navigationType _parent=../../_parent _flyout=true~}}
|
|
48
48
|
{{/each}}
|
|
49
49
|
{{else}}
|
|
50
50
|
{{#with this.items}}
|
|
51
|
-
{{> components/
|
|
51
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_column selected=../../this.selected navtype=../../_navigationType _parent=../../_parent _flyout=false ~}}
|
|
52
52
|
{{/with}}
|
|
53
53
|
{{/if}}
|
|
54
54
|
</div>
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
{{~#each this ~}}
|
|
4
4
|
{{~#if this.title~}}
|
|
5
|
-
{{> components/
|
|
5
|
+
{{> components/site_header/navigation_flyout/navigation_flyout_item _parentselected=../selected _fromNav=../navtype _flyout=../_flyout _parent=../_parent ~}}
|
|
6
6
|
{{~/if~}}
|
|
7
7
|
{{~/each~}}
|
|
8
8
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<ul class="flex flex-col items-center w-full text-left text-white list-none lg:flex-row lg:h-auto lg:mt-1">
|
|
11
11
|
{{#each this}}
|
|
12
12
|
{{#if (isStorybook)}}
|
|
13
|
-
{{> components/
|
|
13
|
+
{{> components/site_header/section_navigation/section_navigation_item }}
|
|
14
14
|
{{else}}
|
|
15
15
|
{{{this}}}
|
|
16
16
|
{{/if}}
|
|
File without changes
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
{{/if}}
|
|
96
96
|
|
|
97
|
-
{{> components/
|
|
97
|
+
{{> components/site_header/navigation_flyout/navigation_flyout _isSectionNav=true _navigationType="RubrikNavigation" _parent=this.text }}
|
|
98
98
|
|
|
99
99
|
</li>
|
|
100
100
|
{{/each}}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/stories/views/components/{header → site_header}/service_navigation/service_list.hbs
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
{{#with this.serviceNavigationSSILinks}}
|
|
9
9
|
<ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
|
|
10
10
|
{{#each this}}
|
|
11
|
-
{{> components/base/loadSSI templatePath='components/
|
|
11
|
+
{{> components/base/loadSSI templatePath='components/site_header/service_navigation/service_navigation_item' }}
|
|
12
12
|
{{/each}}
|
|
13
13
|
</ul>
|
|
14
14
|
{{/with}}
|
|
File without changes
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
{{#if this.subNavigation}}
|
|
53
|
-
{{> components/
|
|
53
|
+
{{> components/site_header/navigation_flyout/navigation_flyout _isSectionNav=false _navigationType="ServiceNavigation" _parent=this.text }}
|
|
54
54
|
</button>
|
|
55
55
|
{{else}}
|
|
56
56
|
</a>
|
|
File without changes
|