@gluhar/app 6.0.0-next.3 → 6.0.0-next.5
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
|
+
# [6.0.0-next.5](https://github.com/gluharco/gluhar/compare/v6.0.0-next.4...v6.0.0-next.5) (2026-10-21)
|
|
7
|
+
|
|
8
|
+
**📝 Note:** Version bump only for package @gluhar/app
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [6.0.0-next.4](https://github.com/gluharco/gluhar/compare/v6.0.0-next.3...v6.0.0-next.4) (2026-10-21)
|
|
15
|
+
|
|
16
|
+
**📝 Note:** Version bump only for package @gluhar/app
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [6.0.0-next.3](https://github.com/gluharco/gluhar/compare/v6.0.0-next.2...v6.0.0-next.3) (2026-10-21)
|
|
7
23
|
|
|
8
24
|
**📝 Note:** Version bump only for package @gluhar/app
|
package/dist/module.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref, useMessages } from "#imports";
|
|
3
|
-
import
|
|
3
|
+
import { createImageUrlBuilder } from "@sanity/image-url";
|
|
4
4
|
import sanityConfig from "~/config/sanity.config";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
image: { type: Object, required: false },
|
|
@@ -13,7 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
dpr: { type: Number, required: false }
|
|
14
14
|
});
|
|
15
15
|
const { l } = useMessages();
|
|
16
|
-
const builder =
|
|
16
|
+
const builder = createImageUrlBuilder(sanityConfig);
|
|
17
17
|
const urlFor = (source) => builder.image(source);
|
|
18
18
|
const imgRef = ref(null);
|
|
19
19
|
const src = computed(() => {
|
|
@@ -17,6 +17,7 @@ interface LenisOptions {
|
|
|
17
17
|
export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HTMLElement | undefined> | LenisOptions) => {
|
|
18
18
|
lenis: Ref<{
|
|
19
19
|
isTouching?: boolean | undefined;
|
|
20
|
+
isIos: boolean;
|
|
20
21
|
time: number;
|
|
21
22
|
userData: import("lenis").UserData;
|
|
22
23
|
lastVelocity: number;
|
|
@@ -54,11 +55,14 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
54
55
|
};
|
|
55
56
|
autoToggle: boolean;
|
|
56
57
|
allowNestedScroll: boolean;
|
|
57
|
-
|
|
58
|
+
naiveDimensions: boolean;
|
|
59
|
+
stopInertiaOnNavigate: boolean;
|
|
60
|
+
respectReducedMotion: boolean;
|
|
58
61
|
virtualScroll?: ((data: import("lenis").VirtualScrollData) => boolean) | undefined;
|
|
59
62
|
duration?: number | undefined;
|
|
60
63
|
easing?: import("lenis").EasingFunction | undefined;
|
|
61
64
|
prevent?: ((node: HTMLElement) => boolean) | undefined;
|
|
65
|
+
__experimental__naiveDimensions?: boolean | undefined;
|
|
62
66
|
};
|
|
63
67
|
targetScroll: number;
|
|
64
68
|
animatedScroll: number;
|
|
@@ -85,11 +89,12 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
85
89
|
(event: "scroll", callback: import("lenis").ScrollCallback): void;
|
|
86
90
|
(event: "virtual-scroll", callback: import("lenis").VirtualScrollCallback): void;
|
|
87
91
|
};
|
|
92
|
+
readonly overflow: string;
|
|
88
93
|
resize: () => void;
|
|
89
94
|
start: () => void;
|
|
90
95
|
stop: () => void;
|
|
91
96
|
raf: (time: number) => void;
|
|
92
|
-
scrollTo: (
|
|
97
|
+
scrollTo: (_target: number | string | Element, { offset, immediate, lock, programmatic, lerp, duration, easing, onStart, onComplete, force, userData }?: import("lenis").ScrollToOptions) => void;
|
|
93
98
|
readonly rootElement: HTMLElement;
|
|
94
99
|
readonly limit: number;
|
|
95
100
|
readonly isHorizontal: boolean;
|
|
@@ -100,9 +105,11 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
100
105
|
isStopped: boolean;
|
|
101
106
|
isLocked: boolean;
|
|
102
107
|
readonly isSmooth: boolean;
|
|
108
|
+
readonly prefersReducedMotion: boolean;
|
|
103
109
|
readonly className: string;
|
|
104
110
|
} | null, Lenis | {
|
|
105
111
|
isTouching?: boolean | undefined;
|
|
112
|
+
isIos: boolean;
|
|
106
113
|
time: number;
|
|
107
114
|
userData: import("lenis").UserData;
|
|
108
115
|
lastVelocity: number;
|
|
@@ -140,11 +147,14 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
140
147
|
};
|
|
141
148
|
autoToggle: boolean;
|
|
142
149
|
allowNestedScroll: boolean;
|
|
143
|
-
|
|
150
|
+
naiveDimensions: boolean;
|
|
151
|
+
stopInertiaOnNavigate: boolean;
|
|
152
|
+
respectReducedMotion: boolean;
|
|
144
153
|
virtualScroll?: ((data: import("lenis").VirtualScrollData) => boolean) | undefined;
|
|
145
154
|
duration?: number | undefined;
|
|
146
155
|
easing?: import("lenis").EasingFunction | undefined;
|
|
147
156
|
prevent?: ((node: HTMLElement) => boolean) | undefined;
|
|
157
|
+
__experimental__naiveDimensions?: boolean | undefined;
|
|
148
158
|
};
|
|
149
159
|
targetScroll: number;
|
|
150
160
|
animatedScroll: number;
|
|
@@ -171,11 +181,12 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
171
181
|
(event: "scroll", callback: import("lenis").ScrollCallback): void;
|
|
172
182
|
(event: "virtual-scroll", callback: import("lenis").VirtualScrollCallback): void;
|
|
173
183
|
};
|
|
184
|
+
readonly overflow: string;
|
|
174
185
|
resize: () => void;
|
|
175
186
|
start: () => void;
|
|
176
187
|
stop: () => void;
|
|
177
188
|
raf: (time: number) => void;
|
|
178
|
-
scrollTo: (
|
|
189
|
+
scrollTo: (_target: number | string | Element, { offset, immediate, lock, programmatic, lerp, duration, easing, onStart, onComplete, force, userData }?: import("lenis").ScrollToOptions) => void;
|
|
179
190
|
readonly rootElement: HTMLElement;
|
|
180
191
|
readonly limit: number;
|
|
181
192
|
readonly isHorizontal: boolean;
|
|
@@ -186,6 +197,7 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
186
197
|
isStopped: boolean;
|
|
187
198
|
isLocked: boolean;
|
|
188
199
|
readonly isSmooth: boolean;
|
|
200
|
+
readonly prefersReducedMotion: boolean;
|
|
189
201
|
readonly className: string;
|
|
190
202
|
} | null>;
|
|
191
203
|
destroy: () => void;
|
|
@@ -193,6 +205,7 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
193
205
|
} | {
|
|
194
206
|
lenis: Ref<{
|
|
195
207
|
isTouching?: boolean | undefined;
|
|
208
|
+
isIos: boolean;
|
|
196
209
|
time: number;
|
|
197
210
|
userData: import("lenis").UserData;
|
|
198
211
|
lastVelocity: number;
|
|
@@ -230,11 +243,14 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
230
243
|
};
|
|
231
244
|
autoToggle: boolean;
|
|
232
245
|
allowNestedScroll: boolean;
|
|
233
|
-
|
|
246
|
+
naiveDimensions: boolean;
|
|
247
|
+
stopInertiaOnNavigate: boolean;
|
|
248
|
+
respectReducedMotion: boolean;
|
|
234
249
|
virtualScroll?: ((data: import("lenis").VirtualScrollData) => boolean) | undefined;
|
|
235
250
|
duration?: number | undefined;
|
|
236
251
|
easing?: import("lenis").EasingFunction | undefined;
|
|
237
252
|
prevent?: ((node: HTMLElement) => boolean) | undefined;
|
|
253
|
+
__experimental__naiveDimensions?: boolean | undefined;
|
|
238
254
|
};
|
|
239
255
|
targetScroll: number;
|
|
240
256
|
animatedScroll: number;
|
|
@@ -261,11 +277,12 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
261
277
|
(event: "scroll", callback: import("lenis").ScrollCallback): void;
|
|
262
278
|
(event: "virtual-scroll", callback: import("lenis").VirtualScrollCallback): void;
|
|
263
279
|
};
|
|
280
|
+
readonly overflow: string;
|
|
264
281
|
resize: () => void;
|
|
265
282
|
start: () => void;
|
|
266
283
|
stop: () => void;
|
|
267
284
|
raf: (time: number) => void;
|
|
268
|
-
scrollTo: (
|
|
285
|
+
scrollTo: (_target: number | string | Element, { offset, immediate, lock, programmatic, lerp, duration, easing, onStart, onComplete, force, userData }?: import("lenis").ScrollToOptions) => void;
|
|
269
286
|
readonly rootElement: HTMLElement;
|
|
270
287
|
readonly limit: number;
|
|
271
288
|
readonly isHorizontal: boolean;
|
|
@@ -276,9 +293,11 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
276
293
|
isStopped: boolean;
|
|
277
294
|
isLocked: boolean;
|
|
278
295
|
readonly isSmooth: boolean;
|
|
296
|
+
readonly prefersReducedMotion: boolean;
|
|
279
297
|
readonly className: string;
|
|
280
298
|
} | null, Lenis | {
|
|
281
299
|
isTouching?: boolean | undefined;
|
|
300
|
+
isIos: boolean;
|
|
282
301
|
time: number;
|
|
283
302
|
userData: import("lenis").UserData;
|
|
284
303
|
lastVelocity: number;
|
|
@@ -316,11 +335,14 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
316
335
|
};
|
|
317
336
|
autoToggle: boolean;
|
|
318
337
|
allowNestedScroll: boolean;
|
|
319
|
-
|
|
338
|
+
naiveDimensions: boolean;
|
|
339
|
+
stopInertiaOnNavigate: boolean;
|
|
340
|
+
respectReducedMotion: boolean;
|
|
320
341
|
virtualScroll?: ((data: import("lenis").VirtualScrollData) => boolean) | undefined;
|
|
321
342
|
duration?: number | undefined;
|
|
322
343
|
easing?: import("lenis").EasingFunction | undefined;
|
|
323
344
|
prevent?: ((node: HTMLElement) => boolean) | undefined;
|
|
345
|
+
__experimental__naiveDimensions?: boolean | undefined;
|
|
324
346
|
};
|
|
325
347
|
targetScroll: number;
|
|
326
348
|
animatedScroll: number;
|
|
@@ -347,11 +369,12 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
347
369
|
(event: "scroll", callback: import("lenis").ScrollCallback): void;
|
|
348
370
|
(event: "virtual-scroll", callback: import("lenis").VirtualScrollCallback): void;
|
|
349
371
|
};
|
|
372
|
+
readonly overflow: string;
|
|
350
373
|
resize: () => void;
|
|
351
374
|
start: () => void;
|
|
352
375
|
stop: () => void;
|
|
353
376
|
raf: (time: number) => void;
|
|
354
|
-
scrollTo: (
|
|
377
|
+
scrollTo: (_target: number | string | Element, { offset, immediate, lock, programmatic, lerp, duration, easing, onStart, onComplete, force, userData }?: import("lenis").ScrollToOptions) => void;
|
|
355
378
|
readonly rootElement: HTMLElement;
|
|
356
379
|
readonly limit: number;
|
|
357
380
|
readonly isHorizontal: boolean;
|
|
@@ -362,6 +385,7 @@ export declare const useLenis: (wrapperOrOptions?: string | HTMLElement | Ref<HT
|
|
|
362
385
|
isStopped: boolean;
|
|
363
386
|
isLocked: boolean;
|
|
364
387
|
readonly isSmooth: boolean;
|
|
388
|
+
readonly prefersReducedMotion: boolean;
|
|
365
389
|
readonly className: string;
|
|
366
390
|
} | null>;
|
|
367
391
|
createInstance: (customOptions?: LenisOptions) => Lenis | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Seo } from "@gluhar/sanity/types";
|
|
2
|
-
export declare const useGStore: import("pinia").
|
|
2
|
+
export declare const useGStore: import("pinia").SetupStoreDefinition<"gluhar", {
|
|
3
3
|
defaultSeo: import("vue").Ref<{
|
|
4
4
|
title?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
5
5
|
description?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
@@ -25,56 +25,4 @@ export declare const useGStore: import("pinia").StoreDefinition<"gluhar", Pick<{
|
|
|
25
25
|
mobileMenuActive: import("vue").Ref<boolean, boolean>;
|
|
26
26
|
toggleMobileMenu: () => void;
|
|
27
27
|
closeMobileMenu: () => void;
|
|
28
|
-
}
|
|
29
|
-
defaultSeo: import("vue").Ref<{
|
|
30
|
-
title?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
31
|
-
description?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
32
|
-
ogImage?: {
|
|
33
|
-
asset?: {
|
|
34
|
-
url: string;
|
|
35
|
-
} | undefined;
|
|
36
|
-
caption?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
37
|
-
alt?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
38
|
-
} | undefined;
|
|
39
|
-
}, Seo | {
|
|
40
|
-
title?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
41
|
-
description?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
42
|
-
ogImage?: {
|
|
43
|
-
asset?: {
|
|
44
|
-
url: string;
|
|
45
|
-
} | undefined;
|
|
46
|
-
caption?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
47
|
-
alt?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
48
|
-
} | undefined;
|
|
49
|
-
}>;
|
|
50
|
-
setDefaultSeo: (seo: Seo) => void;
|
|
51
|
-
mobileMenuActive: import("vue").Ref<boolean, boolean>;
|
|
52
|
-
toggleMobileMenu: () => void;
|
|
53
|
-
closeMobileMenu: () => void;
|
|
54
|
-
}, never>, Pick<{
|
|
55
|
-
defaultSeo: import("vue").Ref<{
|
|
56
|
-
title?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
57
|
-
description?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
58
|
-
ogImage?: {
|
|
59
|
-
asset?: {
|
|
60
|
-
url: string;
|
|
61
|
-
} | undefined;
|
|
62
|
-
caption?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
63
|
-
alt?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
}, Seo | {
|
|
66
|
-
title?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
67
|
-
description?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
68
|
-
ogImage?: {
|
|
69
|
-
asset?: {
|
|
70
|
-
url: string;
|
|
71
|
-
} | undefined;
|
|
72
|
-
caption?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
73
|
-
alt?: import("@gluhar/i18n/types").LocaleString | undefined;
|
|
74
|
-
} | undefined;
|
|
75
|
-
}>;
|
|
76
|
-
setDefaultSeo: (seo: Seo) => void;
|
|
77
|
-
mobileMenuActive: import("vue").Ref<boolean, boolean>;
|
|
78
|
-
toggleMobileMenu: () => void;
|
|
79
|
-
closeMobileMenu: () => void;
|
|
80
|
-
}, "setDefaultSeo" | "toggleMobileMenu" | "closeMobileMenu">>;
|
|
28
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/app",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.5",
|
|
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
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,35 +41,34 @@
|
|
|
41
41
|
"test:watch": "vitest watch"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@gluhar/core": "^6.0.0-next.
|
|
45
|
-
"@gluhar/i18n": "^6.0.0-next.
|
|
46
|
-
"@gluhar/sanity": "^6.0.0-next.
|
|
47
|
-
"@gluhar/theme": "^6.0.0-next.
|
|
48
|
-
"@gluhar/v-gsap-nuxt": "^1.
|
|
49
|
-
"@nuxt/image": "^
|
|
50
|
-
"@nuxt/kit": "^4.
|
|
51
|
-
"@pinia/nuxt": "^0.
|
|
52
|
-
"@sanity/image-url": "^1.1
|
|
44
|
+
"@gluhar/core": "^6.0.0-next.5",
|
|
45
|
+
"@gluhar/i18n": "^6.0.0-next.5",
|
|
46
|
+
"@gluhar/sanity": "^6.0.0-next.5",
|
|
47
|
+
"@gluhar/theme": "^6.0.0-next.5",
|
|
48
|
+
"@gluhar/v-gsap-nuxt": "^1.6.4",
|
|
49
|
+
"@nuxt/image": "^2.2.0",
|
|
50
|
+
"@nuxt/kit": "^4.6.2",
|
|
51
|
+
"@pinia/nuxt": "^1.0.3",
|
|
52
|
+
"@sanity/image-url": "^2.1.1",
|
|
53
53
|
"dayjs-nuxt": "^2.1.11",
|
|
54
54
|
"defu": "^6.1.4",
|
|
55
|
-
"lenis": "^1.3.
|
|
56
|
-
"pinia": "^
|
|
57
|
-
"v-gsap-nuxt": "^1.
|
|
55
|
+
"lenis": "^1.3.27",
|
|
56
|
+
"pinia": "^4.1.0",
|
|
57
|
+
"v-gsap-nuxt": "^1.5.12"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@gluhar/fluid": "^6.0.0-next.
|
|
61
|
-
"@nuxt/devtools": "latest",
|
|
60
|
+
"@gluhar/fluid": "^6.0.0-next.5",
|
|
62
61
|
"@nuxt/eslint-config": "^1.9.0",
|
|
63
62
|
"@nuxt/module-builder": "^1.0.3",
|
|
64
|
-
"@nuxt/schema": "^4.
|
|
65
|
-
"@nuxt/test-utils": "^3.
|
|
63
|
+
"@nuxt/schema": "^4.6.2",
|
|
64
|
+
"@nuxt/test-utils": "^4.3.4",
|
|
66
65
|
"@types/node": "^22.5.4",
|
|
67
66
|
"changelogen": "^0.5.5",
|
|
68
67
|
"eslint": "^9.10.0",
|
|
69
|
-
"nuxt": "^4.
|
|
70
|
-
"vitest": "^
|
|
68
|
+
"nuxt": "^4.6.2",
|
|
69
|
+
"vitest": "^5.0.5"
|
|
71
70
|
},
|
|
72
71
|
"peerDependencies": {
|
|
73
|
-
"nuxt": "^4.
|
|
72
|
+
"nuxt": "^4.6.2"
|
|
74
73
|
}
|
|
75
74
|
}
|