hr-design-system-handlebars 0.56.1 → 0.56.2

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v0.56.2 (Tue Aug 30 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - BUGFIX: mediaPlayerButton is selected correctly. [#307](https://github.com/mumprod/hr-design-system-handlebars/pull/307) ([@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+
11
+ ---
12
+
1
13
  # v0.56.1 (Tue Aug 30 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -1866,7 +1866,7 @@ video {
1866
1866
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
1867
1867
  }
1868
1868
  .counter-reset {
1869
- counter-reset: cnt1661863471171;
1869
+ counter-reset: cnt1661867370874;
1870
1870
  }
1871
1871
  .placeholder-text-xs::-webkit-input-placeholder {
1872
1872
  font-size: 0.75rem;
@@ -2249,7 +2249,7 @@ video {
2249
2249
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2250
2250
  }
2251
2251
  .-ordered {
2252
- counter-increment: cnt1661863471171 1;
2252
+ counter-increment: cnt1661867370874 1;
2253
2253
  }
2254
2254
  .-ordered::before {
2255
2255
  position: absolute;
@@ -2266,7 +2266,7 @@ video {
2266
2266
  letter-spacing: .0125em;
2267
2267
  --tw-text-opacity: 1;
2268
2268
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2269
- content: counter(cnt1661863471171);
2269
+ content: counter(cnt1661867370874);
2270
2270
  }
2271
2271
  /*! purgecss start ignore */
2272
2272
  :root,
@@ -9,7 +9,7 @@ const MediaplayerLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  isAutoplay = options.isAutoplay,
11
11
  teaserSize = options.teaserSize,
12
- mediaplayerButton = hr$('.js-mediaplayer__button', rootElement)[0]
12
+ mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
13
13
 
14
14
  const removeVideoHover = function () {
15
15
  rootElement.parentNode.parentNode.classList.remove('-imageHover')
@@ -9,7 +9,7 @@ const MediaplayerLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  isAutoplay = options.isAutoplay,
11
11
  teaserSize = options.teaserSize,
12
- mediaplayerButton = hr$('.js-mediaplayer__button', rootElement)[0]
12
+ mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
13
13
 
14
14
  const removeVideoHover = function () {
15
15
  rootElement.parentNode.parentNode.classList.remove('-imageHover')
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.56.1",
9
+ "version": "0.56.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -9,7 +9,7 @@ const MediaplayerLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  isAutoplay = options.isAutoplay,
11
11
  teaserSize = options.teaserSize,
12
- mediaplayerButton = hr$('.js-mediaplayer__button', rootElement)[0]
12
+ mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
13
13
 
14
14
  const removeVideoHover = function () {
15
15
  rootElement.parentNode.parentNode.classList.remove('-imageHover')