hr-design-system-handlebars 0.121.9 → 0.121.11
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 +24 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
- package/dist/views/components/content_nav/content_nav_dropdown.hbs +2 -2
- package/dist/views/components/teaser/components/teaser_image_overlay.hbs +1 -1
- package/dist/views/components/teaser/teaser_poster.hbs +2 -2
- package/package.json +1 -1
- package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
- package/src/stories/views/components/content_nav/content_nav_dropdown.hbs +2 -2
- package/src/stories/views/components/teaser/components/teaser_image_overlay.hbs +1 -1
- package/src/stories/views/components/teaser/teaser_poster.hbs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v0.121.11 (Wed Jan 25 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- improve accessibility part 2 [#504](https://github.com/mumprod/hr-design-system-handlebars/pull/504) ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.121.10 (Tue Jan 24 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- moves click.outside to nav element [#502](https://github.com/mumprod/hr-design-system-handlebars/pull/502) ([@StefanVesper](https://github.com/StefanVesper))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v0.121.9 (Tue Jan 24 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -2474,7 +2474,7 @@ video {
|
|
|
2474
2474
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2475
2475
|
}
|
|
2476
2476
|
.counter-reset {
|
|
2477
|
-
counter-reset:
|
|
2477
|
+
counter-reset: cnt1674647049712;
|
|
2478
2478
|
}
|
|
2479
2479
|
.line-clamp-4 {
|
|
2480
2480
|
overflow: hidden;
|
|
@@ -2692,7 +2692,7 @@ video {
|
|
|
2692
2692
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2693
2693
|
}
|
|
2694
2694
|
.-ordered {
|
|
2695
|
-
counter-increment:
|
|
2695
|
+
counter-increment: cnt1674647049712 1;
|
|
2696
2696
|
}
|
|
2697
2697
|
.-ordered::before {
|
|
2698
2698
|
position: absolute;
|
|
@@ -2708,7 +2708,7 @@ video {
|
|
|
2708
2708
|
letter-spacing: .0125em;
|
|
2709
2709
|
--tw-text-opacity: 1;
|
|
2710
2710
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2711
|
-
content: counter(
|
|
2711
|
+
content: counter(cnt1674647049712);
|
|
2712
2712
|
}
|
|
2713
2713
|
/*! ****************************/
|
|
2714
2714
|
/*! text-shadow */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{#if this.isAutosuggest}}
|
|
7
7
|
<div class="flex mx-0 w-full h-10 border-blue-congress align-center{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
|
|
8
8
|
<input x-ref="autosuggestInput"
|
|
9
|
-
class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white
|
|
9
|
+
class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
|
|
10
10
|
type="text"
|
|
11
11
|
placeholder="Eintrag filtern"/>
|
|
12
12
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<nav class="w-full px-5 sm:px-0 {{inline-switch _teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}"
|
|
2
2
|
:class="contentNavDropdownIsOpen ? 'h-10' : ''"
|
|
3
3
|
id="dropdown--{{nextRandom}}"
|
|
4
|
-
|
|
4
|
+
@click.outside ="contentNavDropdownIsOpen = false; $dispatch('hr:global:resetinputAutoSuggest')"
|
|
5
5
|
role="navigation"
|
|
6
6
|
aria-labelledby="dropdown__label--{{getRandom}}">
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<button
|
|
10
10
|
class="content-nav-dropdown_dropdown{{#if this.isDropdown}} -isDropdown{{/if}}{{#if this.isMixed}} -isMixed{{/if}} ds-link-inset relative flex w-full h-10 mb-0 overflow-hidden bg-white border md:mx-0 z-100 border-content-nav whitespace-nowrap text-content-nav fill-content-nav"
|
|
11
11
|
@click="contentNavDropdownIsOpen = !contentNavDropdownIsOpen; $dispatch('hr:global:resetinputAutoSuggest');"
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
{{#if this.isMixed}}
|
|
14
14
|
@resize.window="if(window.innerWidth > 767){contentNavDropdownIsOpen = false}; $dispatch('hr:global:resetinputAutoSuggest')"
|
|
15
15
|
{{/if}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<div class="{{#unless _noOverlayInMobileViewports}}absolute bg-gradient-to-t from-white bg-neutral-200 opacity-80{{else}}relative border-x border-b border-gray-400 md:border-0 md:absolute md:from-white md:bg-neutral-200 md:opacity-80{{/unless}} flex justify-center{{#if _cssClasses}} {{_cssClasses}}{{/if}}"
|
|
1
|
+
<div class="{{#unless _noOverlayInMobileViewports}}absolute bg-gradient-to-t from-white bg-neutral-200 opacity-80{{else}}relative border-x border-b border-gray-400 md:border-0 md:absolute md:from-white md:bg-neutral-200 md:opacity-80{{/unless}} flex justify-center{{#if _cssClasses}} {{_cssClasses}}{{/if}}">
|
|
2
2
|
{{~ decorator_body ~}}
|
|
3
3
|
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.
|
|
1
|
+
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
2
|
<figure class="ar-1-1" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
|
|
4
4
|
</figure>
|
|
5
|
-
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr"
|
|
5
|
+
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
|
|
6
6
|
{{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-hr before:rounded-br-hr hover:text-toplineColor"}}
|
|
7
7
|
{{> components/teaser/components/teaser_heading
|
|
8
8
|
_headlineTag="h2"
|
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.121.
|
|
9
|
+
"version": "0.121.11",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{#if this.isAutosuggest}}
|
|
7
7
|
<div class="flex mx-0 w-full h-10 border-blue-congress align-center{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
|
|
8
8
|
<input x-ref="autosuggestInput"
|
|
9
|
-
class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white
|
|
9
|
+
class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
|
|
10
10
|
type="text"
|
|
11
11
|
placeholder="Eintrag filtern"/>
|
|
12
12
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<nav class="w-full px-5 sm:px-0 {{inline-switch _teaserSize '["100","66","50","33","25"]' '[" teaser-size-100"," teaser-size-66"," teaser-size-50"," teaser-size-33"," teaser-size-25", ""]'}}"
|
|
2
2
|
:class="contentNavDropdownIsOpen ? 'h-10' : ''"
|
|
3
3
|
id="dropdown--{{nextRandom}}"
|
|
4
|
-
|
|
4
|
+
@click.outside ="contentNavDropdownIsOpen = false; $dispatch('hr:global:resetinputAutoSuggest')"
|
|
5
5
|
role="navigation"
|
|
6
6
|
aria-labelledby="dropdown__label--{{getRandom}}">
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<button
|
|
10
10
|
class="content-nav-dropdown_dropdown{{#if this.isDropdown}} -isDropdown{{/if}}{{#if this.isMixed}} -isMixed{{/if}} ds-link-inset relative flex w-full h-10 mb-0 overflow-hidden bg-white border md:mx-0 z-100 border-content-nav whitespace-nowrap text-content-nav fill-content-nav"
|
|
11
11
|
@click="contentNavDropdownIsOpen = !contentNavDropdownIsOpen; $dispatch('hr:global:resetinputAutoSuggest');"
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
{{#if this.isMixed}}
|
|
14
14
|
@resize.window="if(window.innerWidth > 767){contentNavDropdownIsOpen = false}; $dispatch('hr:global:resetinputAutoSuggest')"
|
|
15
15
|
{{/if}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<div class="{{#unless _noOverlayInMobileViewports}}absolute bg-gradient-to-t from-white bg-neutral-200 opacity-80{{else}}relative border-x border-b border-gray-400 md:border-0 md:absolute md:from-white md:bg-neutral-200 md:opacity-80{{/unless}} flex justify-center{{#if _cssClasses}} {{_cssClasses}}{{/if}}"
|
|
1
|
+
<div class="{{#unless _noOverlayInMobileViewports}}absolute bg-gradient-to-t from-white bg-neutral-200 opacity-80{{else}}relative border-x border-b border-gray-400 md:border-0 md:absolute md:from-white md:bg-neutral-200 md:opacity-80{{/unless}} flex justify-center{{#if _cssClasses}} {{_cssClasses}}{{/if}}">
|
|
2
2
|
{{~ decorator_body ~}}
|
|
3
3
|
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.
|
|
1
|
+
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
|
|
2
2
|
<figure class="ar-1-1" aria-hidden="true">
|
|
3
3
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
|
|
4
4
|
</figure>
|
|
5
|
-
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr"
|
|
5
|
+
<div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr">
|
|
6
6
|
{{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-hr before:rounded-br-hr hover:text-toplineColor"}}
|
|
7
7
|
{{> components/teaser/components/teaser_heading
|
|
8
8
|
_headlineTag="h2"
|