@gluhar/app 5.0.5 → 5.0.6

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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.0.6](https://github.com/gluharco/gluhar/compare/@gluhar/app@5.0.5...@gluhar/app@5.0.6) (2026-01-29)
7
+
8
+ **📝 Note:** Version bump only for package @gluhar/app
9
+
10
+
11
+
12
+
13
+
6
14
  ## [5.0.5](https://github.com/gluharco/gluhar/compare/@gluhar/app@5.0.4...@gluhar/app@5.0.5) (2026-01-29)
7
15
 
8
16
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
3
  "configKey": "gluhar",
4
- "version": "5.0.5",
4
+ "version": "5.0.6",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
@@ -21,12 +21,11 @@ const handleClick = async (isPhone: boolean) => {
21
21
  const value = isPhone ? props.phone : props.email;
22
22
 
23
23
  if (isMobile.value) return;
24
+ cursorText.value = "Copied!";
24
25
 
25
26
  await navigator.clipboard.writeText(value!);
26
27
 
27
28
  props.onCopy?.();
28
-
29
- cursorText.value = "Copied!";
30
29
  };
31
30
 
32
31
  const onMouseLeave = () => {
@@ -35,12 +34,16 @@ const onMouseLeave = () => {
35
34
  </script>
36
35
 
37
36
  <template>
38
- <a
39
- :href
37
+ <a :href v-bind="$attrs" v-if="isMobile">
38
+ <slot> {{ phone || email }} </slot>
39
+ </a>
40
+ <div
40
41
  @click="handleClick(!!phone)"
41
42
  :data-cursor-text="cursorText"
42
43
  @mouseleave="onMouseLeave"
44
+ v-bind="$attrs"
45
+ v-else
43
46
  >
44
47
  <slot> {{ phone || email }} </slot>
45
- </a>
48
+ </div>
46
49
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
- "version": "5.0.5",
3
+ "version": "5.0.6",
4
4
  "description": "Gluhar main package. This combines and configures @gluhar/theme, @gluhar/i18n, @gluhar/sanity and @gluhar/core into one main package. Provides numerous components, composables, utils and types.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -64,5 +64,5 @@
64
64
  "nuxt": "^3.13.1",
65
65
  "vitest": "^2.0.5"
66
66
  },
67
- "gitHead": "54373f211a12df21895833a4d6389ca02e81a962"
67
+ "gitHead": "557a34e38b4726ac25344c9acb77ed99e3df8b75"
68
68
  }