@hagicode/hagilight-core 0.15.1 → 0.15.2-dev.159.1.216d0b5

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/README.md CHANGED
@@ -39,7 +39,7 @@ const links = resolveSiteLinks('en-US');
39
39
 
40
40
  ## Footer avatar
41
41
 
42
- The footer brand block shows one decorative HagiCode avatar beside the headline. `avatar` defaults to `true`; `avatar={false}` removes the element and its request. The default is `assets/footer/avatar.avif` (128 px, with `avatar.webp` as the fallback) in a 64 px box, hidden below a 360 px container. `randomAvatar` defaults to `true`: the box becomes a 112 × 76 px stage, and once the footer nears the viewport the browser picks 6 distinct entries of the `cat-head-gallery` pool listed in `assets/footer/manifest.json`, preloads them, and deals three as a fan (the default fades out under them). All six loaded: every 3.6 seconds the left card leaves, the others shift left and a waiting card enters on the right, paused while the footer is off screen or the tab is hidden. Fewer than six loaded (or `prefers-reduced-motion: reduce`, which fetches only three) gives a still fan of three; fewer than three keeps the default. The browser picker is `@hagicode/hagilight-core/random-image` (`mountRandomFans`; browser-safe), preloads with a plain `Image()`, not `fetch`, waits up to 3 seconds per image, and makes no request under a data-saver preference. The slot carries `data-random-fan` (the same validated pool list); the single-image swap (`data-random-pool`, `mountRandomImages`) is kept for the showcase illustration. `randomAvatar={false}` ships no pool list and no picker script.
42
+ The footer brand block shows one decorative HagiCode avatar beside the headline. `avatar` defaults to `true`; `avatar={false}` removes the element and its request. The default is `assets/footer/avatar.avif` (128 px, with `avatar.webp` as the fallback) in a 64 px box, hidden below a 360 px container. `randomAvatar` defaults to `true`: the box becomes a 112 × 76 px stage, and once the footer nears the viewport the browser picks 6 distinct entries of the `cat-head-gallery` pool listed in `assets/footer/manifest.json`, preloads them, and deals three as a fan (the default fades out under them). All six loaded: every 3.6 seconds the left card leaves, the others shift left and a waiting card enters on the right, paused while the footer is off screen or the tab is hidden. Fewer than six loaded (or `prefers-reduced-motion: reduce`, which fetches only three) gives a still fan of three; fewer than three keeps the default. The browser picker is `@hagicode/hagilight-core/random-image` (`mountRandomFans`; browser-safe), preloads with a plain `Image()`, not `fetch`, waits up to 3 seconds per image, and makes no request under a data-saver preference. The slot carries `data-random-fan` (the same validated pool list); the showcase illustration in the Starlight article footer uses the same fan; the single-image swap (`data-random-pool`, `mountRandomImages`) stays exported for other slots. `randomAvatar={false}` ships no pool list and no picker script.
43
43
 
44
44
  `@hagicode/hagilight-core/footer-avatar` resolves the two options (a non-boolean throws a `TypeError`) and gives the shared image attributes. The Astro footers and the Docusaurus footer render the same `<picture class="hagilight-brand__avatar">` markup.
45
45
 
@@ -374,5 +374,34 @@
374
374
  "ru-RU": "Галерея работ HagiCode в виде статических страниц."
375
375
  },
376
376
  "url": "https://gallery.hagicode.com/"
377
+ },
378
+ {
379
+ "id": "impeccable-site",
380
+ "name": {
381
+ "zh-CN": "Impeccable Commands",
382
+ "zh-Hant": "Impeccable Commands",
383
+ "en-US": "Impeccable Commands",
384
+ "ja-JP": "Impeccable Commands",
385
+ "ko-KR": "Impeccable Commands",
386
+ "de-DE": "Impeccable Commands",
387
+ "fr-FR": "Impeccable Commands",
388
+ "es-ES": "Impeccable Commands",
389
+ "pt-BR": "Impeccable Commands",
390
+ "ru-RU": "Impeccable Commands"
391
+ },
392
+ "description": {
393
+ "zh-CN": "impeccable 工作流命令文档",
394
+ "zh-Hant": "impeccable 工作流程指令文件",
395
+ "en-US": "Command docs for the impeccable workflow.",
396
+ "ja-JP": "impeccable ワークフローのコマンドドキュメントです。",
397
+ "ko-KR": "impeccable 워크플로의 명령어 문서입니다.",
398
+ "de-DE": "Befehlsdokumentation für den impeccable-Workflow.",
399
+ "fr-FR": "Documentation des commandes du workflow impeccable.",
400
+ "es-ES": "Documentación de comandos del flujo de trabajo impeccable.",
401
+ "pt-BR": "Documentação dos comandos do fluxo de trabalho impeccable.",
402
+ "ru-RU": "Документация по командам рабочего процесса impeccable."
403
+ },
404
+ "url": "https://impeccable.hagicode.com/",
405
+ "supportsLocalePath": true
377
406
  }
378
407
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-core",
3
- "version": "0.15.1",
3
+ "version": "0.15.2-dev.159.1.216d0b5",
4
4
  "type": "module",
5
5
  "description": "Shared TypeScript utilities, components, and assets for HagiCode Astro and Starlight sites",
6
6
  "repository": {