hr-design-system-handlebars 1.51.13 → 1.51.15
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/CHANGELOG.md +25 -0
- package/dist/assets/index.css +9 -3
- package/dist/views/components/site_header/header.hbs +1 -5
- package/dist/views/components/site_header/navigation_search/navigation_search.hbs +4 -0
- package/dist/views/components/site_header/navigation_search/quick_search_form.hbs +14 -4
- package/dist/views_static/components/site_header/header.hbs +1 -5
- package/dist/views_static/components/site_header/navigation_search/navigation_search.hbs +4 -0
- package/dist/views_static/components/site_header/navigation_search/quick_search_form.hbs +14 -4
- package/package.json +1 -1
- package/src/assets/images/quicksearch.png +0 -0
- package/src/assets/images/quicksearch_results.png +0 -0
- package/src/assets/tailwind.css +2 -0
- package/src/stories/views/components/site_header/header.hbs +1 -5
- package/src/stories/views/components/site_header/header.mdx +34 -0
- package/src/stories/views/components/site_header/navigation_search/navigation_search.hbs +4 -0
- package/src/stories/views/components/site_header/navigation_search/quick_search_form.hbs +14 -4
- package/tailwind.config.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v1.51.15 (Wed Jan 10 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Adding short doc for Quicksearch [#800](https://github.com/mumprod/hr-design-system-handlebars/pull/800) ([@Paul-Atreidis](https://github.com/Paul-Atreidis) [@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 2
|
|
8
|
+
|
|
9
|
+
- [@Paul-Atreidis](https://github.com/Paul-Atreidis)
|
|
10
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# v1.51.14 (Wed Jan 10 2024)
|
|
15
|
+
|
|
16
|
+
#### 🐛 Bug Fix
|
|
17
|
+
|
|
18
|
+
- Dpe-2706 Lupe in Suchfeld hat falsche Farbe [#798](https://github.com/mumprod/hr-design-system-handlebars/pull/798) ([@Sunny1112358](https://github.com/Sunny1112358))
|
|
19
|
+
|
|
20
|
+
#### Authors: 1
|
|
21
|
+
|
|
22
|
+
- [@Sunny1112358](https://github.com/Sunny1112358)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v1.51.13 (Wed Jan 10 2024)
|
|
2
27
|
|
|
3
28
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -2449,6 +2449,10 @@ article.indexText ul {
|
|
|
2449
2449
|
fill: #006eb7;
|
|
2450
2450
|
fill: var(--color-link);
|
|
2451
2451
|
}
|
|
2452
|
+
.fill-search {
|
|
2453
|
+
fill: #000000;
|
|
2454
|
+
fill: var(--search-icon-color);
|
|
2455
|
+
}
|
|
2452
2456
|
.fill-structure-nav-text {
|
|
2453
2457
|
fill: #ffffff;
|
|
2454
2458
|
fill: var(--structure-nav-text);
|
|
@@ -3218,7 +3222,7 @@ article.indexText ul {
|
|
|
3218
3222
|
border-bottom-color: var(--color-secondary-ds);
|
|
3219
3223
|
}
|
|
3220
3224
|
.counter-reset {
|
|
3221
|
-
counter-reset:
|
|
3225
|
+
counter-reset: cnt1704901654668;
|
|
3222
3226
|
}
|
|
3223
3227
|
.hyphens-auto {
|
|
3224
3228
|
-webkit-hyphens: auto;
|
|
@@ -3520,7 +3524,7 @@ article.indexText ul {
|
|
|
3520
3524
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3521
3525
|
}
|
|
3522
3526
|
.-ordered {
|
|
3523
|
-
counter-increment:
|
|
3527
|
+
counter-increment: cnt1704901654668 1;
|
|
3524
3528
|
}
|
|
3525
3529
|
.-ordered::before {
|
|
3526
3530
|
position: absolute;
|
|
@@ -3536,7 +3540,7 @@ article.indexText ul {
|
|
|
3536
3540
|
letter-spacing: .0125em;
|
|
3537
3541
|
--tw-text-opacity: 1;
|
|
3538
3542
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3539
|
-
content: counter(
|
|
3543
|
+
content: counter(cnt1704901654668);
|
|
3540
3544
|
}
|
|
3541
3545
|
/*! ****************************/
|
|
3542
3546
|
/*! DataPolicy stuff */
|
|
@@ -3671,6 +3675,7 @@ article.indexText ul {
|
|
|
3671
3675
|
--search-border-color-desktop: #000000;
|
|
3672
3676
|
--search-border-color-mobile: #000000;
|
|
3673
3677
|
--color-search-footer-text: #000000;
|
|
3678
|
+
--search-icon-color: #000000;
|
|
3674
3679
|
|
|
3675
3680
|
/* Logo-Container Padding */
|
|
3676
3681
|
--logo-padding-top: 6px;
|
|
@@ -3807,6 +3812,7 @@ article.indexText ul {
|
|
|
3807
3812
|
--search-border-color-desktop: transparent;
|
|
3808
3813
|
--search-border-color-mobile: var(--color-primary-ds);
|
|
3809
3814
|
--color-search-footer-text: #000;
|
|
3815
|
+
--search-icon-color: #005293;
|
|
3810
3816
|
|
|
3811
3817
|
/* Logo-Container Padding */
|
|
3812
3818
|
--logo-padding-top: 6px;
|
|
@@ -35,11 +35,7 @@
|
|
|
35
35
|
class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-navigation-bg 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">
|
|
36
36
|
{{> components/site_header/service_navigation/service_list }}
|
|
37
37
|
|
|
38
|
-
{{> components/site_header/navigation_search/
|
|
39
|
-
|
|
40
|
-
<div class="hidden lg:flex">
|
|
41
|
-
{{> components/site_header/navigation_search/quick_search_form }}
|
|
42
|
-
</div>
|
|
38
|
+
{{> components/site_header/navigation_search/navigation_search }}
|
|
43
39
|
|
|
44
40
|
<div id="burgerWrapper"
|
|
45
41
|
class="flex justify-end flex-none order-2 lg:order-4 md:order-4 lg:hidden">
|
|
@@ -62,13 +62,23 @@
|
|
|
62
62
|
</ul>
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
{{#if _footer}}
|
|
67
|
+
<button
|
|
66
68
|
aria-label='{{loca "search_input_aria_submit" }}'
|
|
67
69
|
type="submit"
|
|
68
|
-
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary "
|
|
69
|
-
>
|
|
70
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
70
71
|
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-current bg-transparent"}}
|
|
71
|
-
|
|
72
|
+
</button>
|
|
73
|
+
{{else}}
|
|
74
|
+
<button
|
|
75
|
+
aria-label='{{loca "search_input_aria_submit" }}'
|
|
76
|
+
type="submit"
|
|
77
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
78
|
+
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-search bg-transparent"}}
|
|
79
|
+
</button>
|
|
80
|
+
{{/if}}
|
|
81
|
+
|
|
72
82
|
</form>
|
|
73
83
|
|
|
74
84
|
<script type="text/javascript">
|
|
@@ -35,11 +35,7 @@
|
|
|
35
35
|
class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-navigation-bg 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">
|
|
36
36
|
{{> components/site_header/service_navigation/service_list }}
|
|
37
37
|
|
|
38
|
-
{{> components/site_header/navigation_search/
|
|
39
|
-
|
|
40
|
-
<div class="hidden lg:flex">
|
|
41
|
-
{{> components/site_header/navigation_search/quick_search_form }}
|
|
42
|
-
</div>
|
|
38
|
+
{{> components/site_header/navigation_search/navigation_search }}
|
|
43
39
|
|
|
44
40
|
<div id="burgerWrapper"
|
|
45
41
|
class="flex justify-end flex-none order-2 lg:order-4 md:order-4 lg:hidden">
|
|
@@ -62,13 +62,23 @@
|
|
|
62
62
|
</ul>
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
{{#if _footer}}
|
|
67
|
+
<button
|
|
66
68
|
aria-label='{{loca "search_input_aria_submit" }}'
|
|
67
69
|
type="submit"
|
|
68
|
-
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary "
|
|
69
|
-
>
|
|
70
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
70
71
|
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-current bg-transparent"}}
|
|
71
|
-
|
|
72
|
+
</button>
|
|
73
|
+
{{else}}
|
|
74
|
+
<button
|
|
75
|
+
aria-label='{{loca "search_input_aria_submit" }}'
|
|
76
|
+
type="submit"
|
|
77
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
78
|
+
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-search bg-transparent"}}
|
|
79
|
+
</button>
|
|
80
|
+
{{/if}}
|
|
81
|
+
|
|
72
82
|
</form>
|
|
73
83
|
|
|
74
84
|
<script type="text/javascript">
|
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": "1.51.
|
|
9
|
+
"version": "1.51.15",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
Binary file
|
|
Binary file
|
package/src/assets/tailwind.css
CHANGED
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
--search-border-color-desktop: theme('colors.black.DEFAULT');
|
|
38
38
|
--search-border-color-mobile: theme('colors.black.DEFAULT');
|
|
39
39
|
--color-search-footer-text: theme('colors.black.DEFAULT');
|
|
40
|
+
--search-icon-color: theme('colors.black.DEFAULT');
|
|
40
41
|
|
|
41
42
|
/* Logo-Container Padding */
|
|
42
43
|
--logo-padding-top: 6px;
|
|
@@ -174,6 +175,7 @@
|
|
|
174
175
|
--search-border-color-desktop: theme('colors.transparent');
|
|
175
176
|
--search-border-color-mobile: var(--color-primary-ds);
|
|
176
177
|
--color-search-footer-text: #000;
|
|
178
|
+
--search-icon-color: theme('colors.blue.congress');
|
|
177
179
|
|
|
178
180
|
/* Logo-Container Padding */
|
|
179
181
|
--logo-padding-top: 6px;
|
|
@@ -35,11 +35,7 @@
|
|
|
35
35
|
class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-navigation-bg 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">
|
|
36
36
|
{{> components/site_header/service_navigation/service_list }}
|
|
37
37
|
|
|
38
|
-
{{> components/site_header/navigation_search/
|
|
39
|
-
|
|
40
|
-
<div class="hidden lg:flex">
|
|
41
|
-
{{> components/site_header/navigation_search/quick_search_form }}
|
|
42
|
-
</div>
|
|
38
|
+
{{> components/site_header/navigation_search/navigation_search }}
|
|
43
39
|
|
|
44
40
|
<div id="burgerWrapper"
|
|
45
41
|
class="flex justify-end flex-none order-2 lg:order-4 md:order-4 lg:hidden">
|
|
@@ -361,6 +361,40 @@ Innerhalb der Service-List können mittels der Funktion **"shouldServiceIconsBeH
|
|
|
361
361
|
|
|
362
362
|
<br />
|
|
363
363
|
|
|
364
|
+
<b>Quicksearch</b>
|
|
365
|
+
|
|
366
|
+
Der sog. Suchschlitz ermöglicht die Eingabe von Suchbegriffen, um gezielt Inhalte auf der Hessenschau-Seite (und auch bei den Seiten der Programmbegleitung) zu finden.
|
|
367
|
+
Nach der Eingabe eines Suchbegriffs erscheint (s. Abb.) eine Liste unterhalb mit Vorschlägen zum Suchbegriff.
|
|
368
|
+
|
|
369
|
+
<br />
|
|
370
|
+
|
|
371
|
+
<img src="/images/quicksearch.png" />
|
|
372
|
+
|
|
373
|
+
<br />
|
|
374
|
+
|
|
375
|
+
Nach der Bestätigung der Eingabe über Klick auf das Lupen-Icon erscheint die Suchseite. Sie enthält folgenden Angaben:
|
|
376
|
+
|
|
377
|
+
<ul>
|
|
378
|
+
<li>Anzahl aller gefundenen Einträge zum gewählten Suchbegriff (und die jeweilige Webseite)</li>
|
|
379
|
+
<li>Erweitertes Suchformular, mit eingrenzender Filterung nach Webseite</li>
|
|
380
|
+
<li>Darstellung der Inhalte als Liste, wobei Einzelinhalte als Alternativ-Teaser dargestellt werden. Die Liste ist nach Datum und Relevanz sortierbar</li>
|
|
381
|
+
<li>Paginierung am Ende der Seite, bei einer hohen Anzahl von Suchergebnissen</li>
|
|
382
|
+
</ul>
|
|
383
|
+
|
|
384
|
+
<img src="/images/quicksearch_results.png" />
|
|
385
|
+
|
|
386
|
+
<br />
|
|
387
|
+
<br />
|
|
388
|
+
|
|
389
|
+
Die Quicksearch besteht aus Suchschlitz - einem Eingabefeld - und einem Button mit Lupen-Icon - ein Absenden-Button - und ist damit ein minimales Suchformular. Die beiden Bestandteile sind wiederverwendbar und werden über
|
|
390
|
+
```html
|
|
391
|
+
{{> components/site_header/navigation_search/quick_search_button }}
|
|
392
|
+
{{> components/site_header/navigation_search/quick_search_form }}
|
|
393
|
+
```
|
|
394
|
+
in das Markup eingebunden. Beide gemeinsam bilden die Komponente **(navigation_search.hbs)**
|
|
395
|
+
|
|
396
|
+
<br />
|
|
397
|
+
|
|
364
398
|
Service-Navigation Flyout Desktop:
|
|
365
399
|
|
|
366
400
|
<br />
|
|
@@ -62,13 +62,23 @@
|
|
|
62
62
|
</ul>
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
{{#if _footer}}
|
|
67
|
+
<button
|
|
66
68
|
aria-label='{{loca "search_input_aria_submit" }}'
|
|
67
69
|
type="submit"
|
|
68
|
-
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary "
|
|
69
|
-
>
|
|
70
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
70
71
|
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-current bg-transparent"}}
|
|
71
|
-
|
|
72
|
+
</button>
|
|
73
|
+
{{else}}
|
|
74
|
+
<button
|
|
75
|
+
aria-label='{{loca "search_input_aria_submit" }}'
|
|
76
|
+
type="submit"
|
|
77
|
+
class="pl-2 pr-2 bg-white border-l rounded-r cursor-pointer lg:search-border-color-desktop link-focus-inset md:bg-white text-primary ">
|
|
78
|
+
{{> components/base/image/icon _icon="suche-ds" _addClass="w-7 h-7 text-search-footer-text fill-search bg-transparent"}}
|
|
79
|
+
</button>
|
|
80
|
+
{{/if}}
|
|
81
|
+
|
|
72
82
|
</form>
|
|
73
83
|
|
|
74
84
|
<script type="text/javascript">
|