hr-design-system-handlebars 1.52.20 → 1.52.21

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
+ # v1.52.21 (Tue Jan 30 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - css to icon instead of div :-) [#822](https://github.com/mumprod/hr-design-system-handlebars/pull/822) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
1
13
  # v1.52.20 (Tue Jan 30 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -3273,7 +3273,7 @@ a.link {
3273
3273
  border-bottom-color: var(--color-secondary-ds);
3274
3274
  }
3275
3275
  .counter-reset {
3276
- counter-reset: cnt1706619591815;
3276
+ counter-reset: cnt1706621200361;
3277
3277
  }
3278
3278
  .hyphens-auto {
3279
3279
  -webkit-hyphens: auto;
@@ -3575,7 +3575,7 @@ a.link {
3575
3575
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3576
3576
  }
3577
3577
  .-ordered {
3578
- counter-increment: cnt1706619591815 1;
3578
+ counter-increment: cnt1706621200361 1;
3579
3579
  }
3580
3580
  .-ordered::before {
3581
3581
  position: absolute;
@@ -3591,7 +3591,7 @@ a.link {
3591
3591
  letter-spacing: .0125em;
3592
3592
  --tw-text-opacity: 1;
3593
3593
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3594
- content: counter(cnt1706619591815);
3594
+ content: counter(cnt1706621200361);
3595
3595
  }
3596
3596
  /*! ****************************/
3597
3597
  /*! DataPolicy stuff */
@@ -9,12 +9,13 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  dynLoadTrigSelector = options.dynLoadTrigSelector,
11
11
  dynLoadTrigElement = hr$(dynLoadTrigSelector, rootElement)[0],
12
+ dynLoadTrigIcon = hr$('svg', dynLoadTrigElement)[0],
12
13
  dynLoadReplaceSelector = options.dynLoadReplaceSelector,
13
14
  url = options.url
14
15
 
15
16
  const handleDynLoad = function (event) {
16
17
  event.preventDefault()
17
- dynLoadTrigElement.classList.add('animate-spin')
18
+ dynLoadTrigIcon.classList.add('animate-spin')
18
19
  ajaxLoad(event.currentTarget, true)
19
20
  }
20
21
  const ajaxLoad = function (target, push, cache) {
@@ -37,7 +38,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
37
38
  }, 1000)
38
39
  })
39
40
  .fail(function (data, status, xhr) {
40
- dynLoadTrigElement.classList.remove('animate-spin')
41
+ dynLoadTrigIcon.classList.remove('animate-spin')
41
42
  console.log('fail')
42
43
  })
43
44
  }
@@ -11,7 +11,7 @@
11
11
  {{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
12
12
  {{/components/button/button}}
13
13
  {{#*inline "htmlProperties"}}
14
- data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
14
+ data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
15
15
  {{/inline}}
16
16
  </div>
17
17
  <div class="js-placeholder-reload"></div>
@@ -11,7 +11,7 @@
11
11
  {{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
12
12
  {{/components/button/button}}
13
13
  {{#*inline "htmlProperties"}}
14
- data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
14
+ data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
15
15
  {{/inline}}
16
16
  </div>
17
17
  <div class="js-placeholder-reload"></div>
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.52.20",
9
+ "version": "1.52.21",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -9,12 +9,13 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
9
9
  { element: rootElement } = context,
10
10
  dynLoadTrigSelector = options.dynLoadTrigSelector,
11
11
  dynLoadTrigElement = hr$(dynLoadTrigSelector, rootElement)[0],
12
+ dynLoadTrigIcon = hr$('svg', dynLoadTrigElement)[0],
12
13
  dynLoadReplaceSelector = options.dynLoadReplaceSelector,
13
14
  url = options.url
14
15
 
15
16
  const handleDynLoad = function (event) {
16
17
  event.preventDefault()
17
- dynLoadTrigElement.classList.add('animate-spin')
18
+ dynLoadTrigIcon.classList.add('animate-spin')
18
19
  ajaxLoad(event.currentTarget, true)
19
20
  }
20
21
  const ajaxLoad = function (target, push, cache) {
@@ -37,7 +38,7 @@ const PodcastChannelRemainingEpisodesLoader = function (context) {
37
38
  }, 1000)
38
39
  })
39
40
  .fail(function (data, status, xhr) {
40
- dynLoadTrigElement.classList.remove('animate-spin')
41
+ dynLoadTrigIcon.classList.remove('animate-spin')
41
42
  console.log('fail')
42
43
  })
43
44
  }
@@ -11,7 +11,7 @@
11
11
  {{> components/button/components/button_icon _icon="reload" _iconmap="icons" _css="animate-none"}}
12
12
  {{/components/button/button}}
13
13
  {{#*inline "htmlProperties"}}
14
- data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}' rel='nofollow'
14
+ data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "weitereEpisodenLaden:ButtonClick"}]}'
15
15
  {{/inline}}
16
16
  </div>
17
17
  <div class="js-placeholder-reload"></div>