stack-site-builder 1.26.0 → 1.26.1
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
|
@@ -11,6 +11,19 @@ content schema, while a consuming site supplies only content, taxonomy data and
|
|
|
11
11
|
config. Sites track the theme with `pnpm up stack-site-builder`, so each release
|
|
12
12
|
here is a plain version bump they pull in.
|
|
13
13
|
|
|
14
|
+
## [1.26.1] - 2026-11-20
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **Product landings and the cards home scrolled sideways by a few pixels.**
|
|
19
|
+
Their full-bleed sections (`.aas-bleed`) were `100vw` wide, and `100vw`
|
|
20
|
+
includes a classic, always-shown vertical scrollbar (Windows, or macOS with
|
|
21
|
+
"Show scroll bars: Always" or a mouse attached), so each section stuck out
|
|
22
|
+
past the page by half the scrollbar's width and the page gained a horizontal
|
|
23
|
+
scrollbar. On pages with a bleed, `<body>` is now an inline-size container
|
|
24
|
+
and the sections size in `cqw` against it, so they span exactly the visible
|
|
25
|
+
width. Browsers without container units keep the old `100vw` sizing.
|
|
26
|
+
|
|
14
27
|
## [1.26.0] - 2026-09-02
|
|
15
28
|
|
|
16
29
|
### Added
|
|
@@ -664,6 +677,7 @@ catalog sites from a thin content-only repository.
|
|
|
664
677
|
- **Standalone development setup** — a devcontainer and a minimal `playground/`
|
|
665
678
|
consuming site for developing and previewing the theme on its own.
|
|
666
679
|
|
|
680
|
+
[1.26.1]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.26.0...v1.26.1
|
|
667
681
|
[1.26.0]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.5...v1.26.0
|
|
668
682
|
[1.25.5]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.4...v1.25.5
|
|
669
683
|
[1.25.4]: https://github.com/CodeComposeStudio/stack-site-builder/compare/v1.25.3...v1.25.4
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stack-site-builder",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.26.
|
|
4
|
+
"version": "1.26.1",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"packageManager": "pnpm@11.7.0",
|
|
6
7
|
"description": "The engine behind the awesome-*-stack catalog sites: an Astro theme with the catalog/concepts/articles/slides/samples routes, components, styles and markdown pipeline. Sites provide content, taxonomy data and config.",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
@@ -16,6 +17,11 @@
|
|
|
16
17
|
"dev",
|
|
17
18
|
"CHANGELOG.md"
|
|
18
19
|
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"dev": "pnpm --filter playground dev",
|
|
22
|
+
"build": "pnpm --filter playground build",
|
|
23
|
+
"check": "pnpm --filter playground check"
|
|
24
|
+
},
|
|
19
25
|
"exports": {
|
|
20
26
|
".": {
|
|
21
27
|
"types": "./index.d.ts",
|
|
@@ -53,10 +59,5 @@
|
|
|
53
59
|
"@types/markdown-it": "^14.1.2",
|
|
54
60
|
"astro": "^5.7.0",
|
|
55
61
|
"typescript": "^6.0.3"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"dev": "pnpm --filter playground dev",
|
|
59
|
-
"build": "pnpm --filter playground build",
|
|
60
|
-
"check": "pnpm --filter playground check"
|
|
61
62
|
}
|
|
62
|
-
}
|
|
63
|
+
}
|
|
@@ -114,4 +114,14 @@ const resolveHref = (href: string, external?: boolean) =>
|
|
|
114
114
|
right: 50%;
|
|
115
115
|
width: 100vw;
|
|
116
116
|
}
|
|
117
|
+
/* 100vw counts a classic (always-shown) vertical scrollbar, so the section
|
|
118
|
+
stuck out past the page and the page scrolled sideways. 100cqw measures
|
|
119
|
+
<body>, which global.css makes a container on pages with a bleed. */
|
|
120
|
+
@supports (width: 1cqw) {
|
|
121
|
+
.aas-bleed {
|
|
122
|
+
margin-left: -50cqw;
|
|
123
|
+
margin-right: -50cqw;
|
|
124
|
+
width: 100cqw;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
117
127
|
</style>
|
|
@@ -336,6 +336,16 @@ const altBg = (i: number) => i % 2 === 1;
|
|
|
336
336
|
right: 50%;
|
|
337
337
|
width: 100vw;
|
|
338
338
|
}
|
|
339
|
+
/* 100vw counts a classic (always-shown) vertical scrollbar, so the section
|
|
340
|
+
stuck out past the page and the page scrolled sideways. 100cqw measures
|
|
341
|
+
<body>, which global.css makes a container on pages with a bleed. */
|
|
342
|
+
@supports (width: 1cqw) {
|
|
343
|
+
.aas-bleed {
|
|
344
|
+
margin-left: -50cqw;
|
|
345
|
+
margin-right: -50cqw;
|
|
346
|
+
width: 100cqw;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
339
349
|
/* Screenshot inside the device-frame art. The frame draws on top; the
|
|
340
350
|
screen sits inset behind it (tune per frame art via site CSS if needed). */
|
|
341
351
|
.aas-phone {
|
package/src/styles/global.css
CHANGED
|
@@ -468,6 +468,14 @@ body {
|
|
|
468
468
|
font-family: var(--aas-sans);
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
+
/* Full-bleed sections (.aas-bleed: the product landing, the cards home) size
|
|
472
|
+
themselves in cqw against <body> instead of 100vw, which includes a classic
|
|
473
|
+
vertical scrollbar and made those pages scroll sideways by half its width.
|
|
474
|
+
Scoped to pages that have one, so other pages keep a plain <body>. */
|
|
475
|
+
body:has(.aas-bleed) {
|
|
476
|
+
container-type: inline-size;
|
|
477
|
+
}
|
|
478
|
+
|
|
471
479
|
/* Tailwind v4 no longer sets a pointer cursor on buttons; restore it (and for
|
|
472
480
|
<summary>, used by the custom dropdowns). */
|
|
473
481
|
button:not(:disabled),
|