sproutsite 0.5.15 → 0.5.16

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
@@ -446,6 +446,8 @@ Omit `label` beside explanatory text: the icon is then decorative (`aria-hidden`
446
446
 
447
447
  ## Structure and Theme
448
448
 
449
+ Use `class="ss-link--icon-only"` on links that display only an icon, together with a meaningful accessible name. This suppresses the CSS arrow while retaining the link's target and relationship attributes. Footer social links use this class.
450
+
449
451
  Any link with `target="_blank"` must include both `noopener` and `noreferrer` in `rel`, even for same-origin destinations. Button and Markdown rendering preserve other relationship tokens while adding these protections. The repository's `npm run build` verifies all generated HTML pages and reports unsafe native anchors with their file and destination. This requirement also applies when automatic external new tabs are disabled and a new tab is explicitly requested.
450
452
 
451
453
  Theme components use native `<a>` elements. External HTTP(S) links receive `target="_blank"` and `rel="noopener noreferrer"` by default, including Markdown reference/autolinks and header/footer links. Set `links.externalNewTab: false` in `site.yaml` to retain native same-tab behavior for automatically handled links. Explicit Button `target`/`rel` props remain available. External means a different origin from the validated production URL, including in preview builds. Internal/same-origin links, fragments, `mailto:` and `tel:` retain their normal behavior. Links are underlined only on hover. Set `links.externalIcon: true` to add a compact CSS-only Lucide arrow to external, email and telephone links; omission means no arrows. The two settings are independent and both are enabled in this demo's English and German site files. No Link component or browser-side anchor rewriting is needed.
@@ -67,6 +67,12 @@ Copyright licensing of artwork and trademark rights are separate. Apache-2.0 Sec
67
67
 
68
68
  ## Other visual assets: provenance review remains open
69
69
 
70
+ Generation record: the current eight PNG illustrations in `src/content/pages/documentation/_assets/` were generated for this project on 2026-11-18 using OpenAI's built-in image-generation tool. The maintainer requested replacement of the documentation overview images in the approved soft 3D navy-and-teal style. Each image was generated separately from a text-only prompt; existing first-party images were inspected to describe the style, but no image files, third-party artwork or product logos were supplied to the generator. Full prompts and output paths are recorded in [docs/assets/documentation-images.md](docs/assets/documentation-images.md). This records provenance, not a separate artwork-license grant. The earlier deployment-image record below refers to the superseded version retained in Git history.
71
+
72
+ Generation record: the current 16 PNG illustrations in `src/content/pages/showcase/_assets/` were generated for this project on 2026-11-18 with OpenAI's built-in image-generation tool. The maintainer requested replacement of all 15 showcase overview images in the style of the getting-started cards. Each image was initially generated separately from a text-only prompt using the current default-theme palette. The foundations and typography illustrations were subsequently reframed using their own newly generated first-party images as edit inputs; no third-party artwork or logos were supplied. The series includes a new landscape `cards.png` and a refreshed `layout-portrait.png` for image/card demonstrations. Full prompts and output paths are recorded in [docs/assets/showcase-images.md](docs/assets/showcase-images.md). This records provenance, not a separate artwork-license grant. The earlier showcase generation records below describe superseded versions retained only in Git history.
73
+
74
+ Generation record: `src/content/pages/documentation/getting-started/_assets/your-website.png` and `contributing.png` were generated for this project on 2026-11-18 with OpenAI's built-in image-generation tool. Text-only prompts requested original, matching 3D illustrations of a website/editor and reusable layout components in the default theme's navy, muted blue and teal palette. Existing project images were inspected to describe the style; no image files, third-party artwork or logos were passed into the generator. The complete prompts and output paths are recorded in [docs/assets/getting-started-images.md](docs/assets/getting-started-images.md). This records provenance, not a separate artwork-license grant.
75
+
70
76
  Generation record: `src/content/pages/showcase/_assets/accordions.png` was generated for this project on 2026-11-16 with OpenAI's image-generation tool. A text-only prompt requested an original blue-and-white 3D accordion illustration with one expanded answer, two collapsed rows, and plus/chevron indicators. No external artwork or logos were supplied as input. This records provenance, not a separate artwork-license grant.
71
77
 
72
78
  Generation record: `src/content/pages/documentation/_assets/deployment.png` was generated for this project on 2026-11-15 with OpenAI's image-generation tool. A text-only prompt requested an original blue-and-white 3D deployment illustration with a server stack, terminal, upload arrow, and browser window. No external artwork or server-product logos were supplied. This records provenance, not a separate artwork-license grant.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.15
1
+ 0.5.16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sproutsite",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Björn Hempel",
6
6
  "description": "Agent-ready, Markdown-first Static CMS powered by Astro and TypeScript.",
@@ -1,6 +1,7 @@
1
1
  @layer components {
2
2
  .ss-card {
3
3
  @apply my-5 flex flex-1 flex-col overflow-hidden;
4
+ border: 1px solid var(--color-base-300);
4
5
 
5
6
  .ss-card__figure {
6
7
  @apply overflow-hidden;
@@ -83,6 +83,7 @@ const linkAttributes = (href: string) => ({
83
83
  {site.footer.social.links.map((link) => (
84
84
  <li>
85
85
  <a
86
+ class="ss-link--icon-only"
86
87
  {...linkAttributes(link.href)}
87
88
  aria-label={link.label}
88
89
  >
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  .ss-header__link {
48
- @apply relative !gap-2.5 !text-lg !text-primary-content no-underline hover:underline;
48
+ @apply relative !gap-2.5 !text-lg !text-primary-content no-underline;
49
49
  border-color: transparent !important;
50
50
  box-shadow: none !important;
51
51
 
@@ -55,6 +55,7 @@
55
55
  }
56
56
 
57
57
  &:hover {
58
+ text-decoration: none;
58
59
  --btn-bg: color-mix(
59
60
  in srgb,
60
61
  currentColor 10%,
@@ -2,6 +2,13 @@
2
2
  .ss-section {
3
3
  @apply py-section;
4
4
 
5
+ /* Keep hero jump-link destinations below the docked header. */
6
+ .ss-hero:has(a[href^='#']) ~ & {
7
+ .content-prose > h2 {
8
+ scroll-margin-top: 8rem;
9
+ }
10
+ }
11
+
5
12
  &.ss-section--spacing-small {
6
13
  @media (width >= 64rem) {
7
14
  padding-block: calc(var(--spacing-section) / 2);
@@ -12,7 +12,7 @@
12
12
  [target='_blank'],
13
13
  [href^='mailto:' i],
14
14
  [href^='tel:' i]
15
- )::after {
15
+ ):not(.ss-link--icon-only)::after {
16
16
  content: '';
17
17
  display: inline-block;
18
18
  flex: none;