@gluhar/app 4.3.0 → 4.3.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
@@ -3,6 +3,22 @@
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
+ ## [4.3.2](https://github.com/gluharco/gluhar/compare/@gluhar/app@4.3.1...@gluhar/app@4.3.2) (2026-03-04)
7
+
8
+ **📝 Note:** Version bump only for package @gluhar/app
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.3.1](https://github.com/gluharco/gluhar/compare/@gluhar/app@4.3.0...@gluhar/app@4.3.1) (2025-11-06)
15
+
16
+ **📝 Note:** Version bump only for package @gluhar/app
17
+
18
+
19
+
20
+
21
+
6
22
  # [4.3.0](https://github.com/gluharco/gluhar/compare/@gluhar/app@4.2.2...@gluhar/app@4.3.0) (2025-10-06)
7
23
 
8
24
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
3
  "configKey": "gluhar",
4
- "version": "4.3.0",
4
+ "version": "4.3.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.3",
7
7
  "unbuild": "2.0.0"
@@ -16,6 +16,7 @@ const props = defineProps<{
16
16
  height?: number;
17
17
  format?: ImageFormat | null;
18
18
  crop?: CropMode;
19
+ dpr?: number;
19
20
  }>();
20
21
 
21
22
  const { l } = useMessages();
@@ -47,8 +48,9 @@ const src = computed(() => {
47
48
  url = url.format(props.format ?? "webp");
48
49
  url = url.quality(100);
49
50
 
50
- // const dpr = window.devicePixelRatio;
51
- url = url.dpr(1.2);
51
+ url = url.dpr(
52
+ props.dpr || typeof window !== "undefined" ? window.devicePixelRatio : 1,
53
+ );
52
54
 
53
55
  return url.url();
54
56
  });
@@ -23,8 +23,8 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
23
23
  velocity: number;
24
24
  direction: 1 | -1 | 0;
25
25
  options: {
26
- wrapper: Window | HTMLElement | Element;
27
26
  content: HTMLElement | Element;
27
+ wrapper: Window | HTMLElement | Element;
28
28
  eventsTarget: Window | HTMLElement | Element;
29
29
  smoothWheel: boolean;
30
30
  syncTouch: boolean;
@@ -109,8 +109,8 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
109
109
  velocity: number;
110
110
  direction: 1 | -1 | 0;
111
111
  options: {
112
- wrapper: Window | HTMLElement | Element;
113
112
  content: HTMLElement | Element;
113
+ wrapper: Window | HTMLElement | Element;
114
114
  eventsTarget: Window | HTMLElement | Element;
115
115
  smoothWheel: boolean;
116
116
  syncTouch: boolean;
@@ -199,8 +199,8 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
199
199
  velocity: number;
200
200
  direction: 1 | -1 | 0;
201
201
  options: {
202
- wrapper: Window | HTMLElement | Element;
203
202
  content: HTMLElement | Element;
203
+ wrapper: Window | HTMLElement | Element;
204
204
  eventsTarget: Window | HTMLElement | Element;
205
205
  smoothWheel: boolean;
206
206
  syncTouch: boolean;
@@ -285,8 +285,8 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
285
285
  velocity: number;
286
286
  direction: 1 | -1 | 0;
287
287
  options: {
288
- wrapper: Window | HTMLElement | Element;
289
288
  content: HTMLElement | Element;
289
+ wrapper: Window | HTMLElement | Element;
290
290
  eventsTarget: Window | HTMLElement | Element;
291
291
  smoothWheel: boolean;
292
292
  syncTouch: boolean;
@@ -6,6 +6,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
6
6
  ogImage?: {
7
7
  asset?: {
8
8
  url: string;
9
+ metadata: {
10
+ dimensions: {
11
+ width: number;
12
+ height: number;
13
+ aspectRatio: number;
14
+ };
15
+ };
9
16
  } | undefined;
10
17
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
11
18
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
@@ -16,6 +23,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
16
23
  ogImage?: {
17
24
  asset?: {
18
25
  url: string;
26
+ metadata: {
27
+ dimensions: {
28
+ width: number;
29
+ height: number;
30
+ aspectRatio: number;
31
+ };
32
+ };
19
33
  } | undefined;
20
34
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
21
35
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
@@ -32,6 +46,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
32
46
  ogImage?: {
33
47
  asset?: {
34
48
  url: string;
49
+ metadata: {
50
+ dimensions: {
51
+ width: number;
52
+ height: number;
53
+ aspectRatio: number;
54
+ };
55
+ };
35
56
  } | undefined;
36
57
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
37
58
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
@@ -42,6 +63,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
42
63
  ogImage?: {
43
64
  asset?: {
44
65
  url: string;
66
+ metadata: {
67
+ dimensions: {
68
+ width: number;
69
+ height: number;
70
+ aspectRatio: number;
71
+ };
72
+ };
45
73
  } | undefined;
46
74
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
47
75
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
@@ -58,6 +86,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
58
86
  ogImage?: {
59
87
  asset?: {
60
88
  url: string;
89
+ metadata: {
90
+ dimensions: {
91
+ width: number;
92
+ height: number;
93
+ aspectRatio: number;
94
+ };
95
+ };
61
96
  } | undefined;
62
97
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
63
98
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
@@ -68,6 +103,13 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
68
103
  ogImage?: {
69
104
  asset?: {
70
105
  url: string;
106
+ metadata: {
107
+ dimensions: {
108
+ width: number;
109
+ height: number;
110
+ aspectRatio: number;
111
+ };
112
+ };
71
113
  } | undefined;
72
114
  caption?: import("@gluhar/i18n/types").LocaleString | undefined;
73
115
  alt?: import("@gluhar/i18n/types").LocaleString | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gluhar/app",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
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",
@@ -40,7 +40,7 @@
40
40
  "@gluhar/core": "^3.0.0",
41
41
  "@gluhar/i18n": "^4.0.1",
42
42
  "@gluhar/sanity": "^4.0.1",
43
- "@gluhar/theme": "^4.0.3",
43
+ "@gluhar/theme": "^4.0.4",
44
44
  "@gluhar/v-gsap-nuxt": "^1.5.1",
45
45
  "@nuxt/image": "^1.10.0",
46
46
  "@nuxt/kit": "^3.13.1",
@@ -64,5 +64,5 @@
64
64
  "nuxt": "^3.13.1",
65
65
  "vitest": "^2.0.5"
66
66
  },
67
- "gitHead": "12d17bee9d86790a8f21e2788c5d4b3c8df6ef5c"
67
+ "gitHead": "8bb1951cfee160f0834a9dc29a8d2e403dd8ec17"
68
68
  }