hr-design-system-handlebars 1.114.133 β†’ 1.114.134

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,16 @@
1
+ # v1.114.134 (Mon Mar 31 2025)
2
+
3
+ #### πŸ› Bug Fix
4
+
5
+ - Enhance social sharing functionality by adding fallback for title and… [#1275](https://github.com/mumprod/hr-design-system-handlebars/pull/1275) ([@vascoeduardo](https://github.com/vascoeduardo) [@eduardo-hr](https://github.com/eduardo-hr))
6
+
7
+ #### Authors: 2
8
+
9
+ - [@eduardo-hr](https://github.com/eduardo-hr)
10
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
11
+
12
+ ---
13
+
1
14
  # v1.114.133 (Fri Mar 28 2025)
2
15
 
3
16
  #### πŸ› Bug Fix
@@ -3857,7 +3857,7 @@ article #commentList {
3857
3857
  border-bottom-color: var(--color-secondary-ds);
3858
3858
  }
3859
3859
  .counter-reset {
3860
- counter-reset: cnt1743161686138;
3860
+ counter-reset: cnt1743406602104;
3861
3861
  }
3862
3862
  .animate-delay-100 {
3863
3863
  --tw-animate-delay: 100ms;
@@ -4302,7 +4302,7 @@ html { scroll-behavior: smooth; }
4302
4302
  --tw-ring-color: rgba(255, 255, 255, 0.5);
4303
4303
  }
4304
4304
  .-ordered {
4305
- counter-increment: cnt1743161686138 1;
4305
+ counter-increment: cnt1743406602104 1;
4306
4306
  }
4307
4307
  .-ordered::before {
4308
4308
  position: absolute;
@@ -4320,7 +4320,7 @@ html { scroll-behavior: smooth; }
4320
4320
  --tw-text-opacity: 1;
4321
4321
  color: rgba(0, 0, 0, 1);
4322
4322
  color: rgba(0, 0, 0, var(--tw-text-opacity));
4323
- content: counter(cnt1743161686138);
4323
+ content: counter(cnt1743406602104);
4324
4324
  }
4325
4325
  /*! ****************************/
4326
4326
  /*! DataPolicy stuff */
@@ -72,7 +72,9 @@ export default (module) => ({
72
72
  this.shareInWebview(title,url)
73
73
  } else {
74
74
  if (navigator.share && this.isMobile) {
75
- this.nativeShare(document.title, window.location.href,'socialShareClick::'+module+'::nativeShare')
75
+ const shareTitle = title || document.title;
76
+ const shareUrl = url || window.location.href;
77
+ this.nativeShare(shareTitle, shareUrl, `socialShareClick::${module}::nativeShare`);
76
78
  } else {
77
79
  if (this.$store.sharingIsOpen[module]) {
78
80
  return this.close(true)
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.114.133",
9
+ "version": "1.114.134",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -72,7 +72,9 @@ export default (module) => ({
72
72
  this.shareInWebview(title,url)
73
73
  } else {
74
74
  if (navigator.share && this.isMobile) {
75
- this.nativeShare(document.title, window.location.href,'socialShareClick::'+module+'::nativeShare')
75
+ const shareTitle = title || document.title;
76
+ const shareUrl = url || window.location.href;
77
+ this.nativeShare(shareTitle, shareUrl, `socialShareClick::${module}::nativeShare`);
76
78
  } else {
77
79
  if (this.$store.sharingIsOpen[module]) {
78
80
  return this.close(true)