@gluhar/app 2.6.2 → 2.6.4
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 +22 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/SanityImg.vue +6 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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
|
+
## [2.6.4](https://github.com/gluharry/gluhar/compare/@gluhar/app@2.6.3...@gluhar/app@2.6.4) (2025-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- Add alt to SanityImg ([03da745](https://github.com/gluharry/gluhar/commit/03da74506269b733515c5860de5537e58d1f24f5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.6.3](https://github.com/gluharry/gluhar/compare/@gluhar/app@2.6.2...@gluhar/app@2.6.3) (2025-02-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 🩹 Fixes
|
|
21
|
+
|
|
22
|
+
- ImageUrlBuilder default import error ([151af53](https://github.com/gluharry/gluhar/commit/151af530ce8f748f74d257bb252870a95b5c32e2))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [2.6.2](https://github.com/gluharry/gluhar/compare/@gluhar/app@2.6.1...@gluhar/app@2.6.2) (2025-02-12)
|
|
7
29
|
|
|
8
30
|
|
package/dist/module.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed, ref, useMessages } from "#imports";
|
|
3
|
+
import type { LocaleString } from "@gluhar/i18n/types";
|
|
3
4
|
import type { SanityImage } from "@gluhar/sanity/types";
|
|
4
|
-
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import imageUrlBuilder from "@sanity/image-url/lib/browser/image-url.esm"; // INFO this is a strange fix
|
|
7
|
+
// import imageUrlBuilder from "@sanity/image-url";
|
|
5
8
|
import type { ImageFormat } from "@sanity/image-url/lib/types/types";
|
|
6
9
|
import sanityConfig from "~/config/sanity.config";
|
|
7
10
|
|
|
8
11
|
const props = defineProps<{
|
|
9
12
|
image?: SanityImage;
|
|
10
13
|
by?: "width" | "height" | "both";
|
|
14
|
+
alt?: LocaleString;
|
|
11
15
|
width?: number;
|
|
12
16
|
height?: number;
|
|
13
17
|
format?: ImageFormat | null;
|
|
@@ -51,7 +55,7 @@ const src = computed(() => {
|
|
|
51
55
|
<img
|
|
52
56
|
class="object-cover"
|
|
53
57
|
:src
|
|
54
|
-
:alt="l(image.caption) || l(image.alt)"
|
|
58
|
+
:alt="l(alt) || l(image.caption) || l(image.alt)"
|
|
55
59
|
ref="imgRef"
|
|
56
60
|
v-if="image"
|
|
57
61
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gluhar/app",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.4",
|
|
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",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"nuxt": "^3.13.1",
|
|
60
60
|
"vitest": "^2.0.5"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "b63817ef3957c56a31ed68a50c0ec578cdcbeb15"
|
|
63
63
|
}
|