@hagicode/hagilight-starlight 0.9.7 → 0.9.8-dev.115.1.3488f89

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.
@@ -25,7 +25,7 @@ const storeHref = linkHref('microsoftStore', 'https://apps.microsoft.com/detail/
25
25
  const downloadsHref = linkHref('downloadClient', 'https://www.hagicode.com/');
26
26
  const storeProductId = resolveMicrosoftStoreProductId(storeHref);
27
27
  const badgeLanguage = resolveMicrosoftStoreBadgeLanguage(lang);
28
- const showcaseTag = (category: 'download' | 'navigation', label: string, url?: string) =>
28
+ const showcaseTag = (category: 'download' | 'store' | 'navigation', label: string, url?: string) =>
29
29
  gaEventAttributes({ category, label, location: 'article_promotion', url });
30
30
 
31
31
  // Keyed by the ids in assets/showcase/manifest.json and in the copy catalog's gallery.
@@ -124,7 +124,7 @@ const gallery = copy.gallery.flatMap((item) => {
124
124
  language={badgeLanguage}
125
125
  aria-label={copy.windowsStoreAriaLabel}
126
126
  title={copy.windowsStoreAriaLabel}
127
- {...showcaseTag('download', 'microsoftStore', storeHref)}
127
+ {...showcaseTag('store', 'microsoftStore', storeHref)}
128
128
  >
129
129
  <a
130
130
  class="hagilight-article-promotion__store-fallback"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-starlight",
3
- "version": "0.9.7",
3
+ "version": "0.9.8-dev.115.1.3488f89",
4
4
  "type": "module",
5
5
  "description": "Starlight plugin and components for HagiCode documentation",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "assets/showcase/*"
54
54
  ],
55
55
  "dependencies": {
56
- "@hagicode/hagilight-core": "0.9.7"
56
+ "@hagicode/hagilight-core": "0.9.8-dev.115.1.3488f89"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@astrojs/starlight": "^0.42.4",