@getvitops/astro 8.0.1 → 8.1.0
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 +34 -0
- package/package.json +5 -5
- package/src/components/Marquee.astro +12 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @getvitops/astro
|
|
2
2
|
|
|
3
|
+
## 8.1.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **Added — `vitops init --site` and `vitops setup`, the scripted client-onboarding path.**
|
|
8
|
+
|
|
9
|
+
`vitops init --site [--name] [--url]` scaffolds a starter `site.json` (the umbrella `Config`,
|
|
10
|
+
embedding a starter design system at `designSystem.themes.default`) instead of a bare
|
|
11
|
+
`design-system.json` — exported as `defaultSiteConfig()` from `@getvitops/generator`, alongside a
|
|
12
|
+
new `CONFIG_SCHEMA_LOCAL_PATH` and an optional `$schema` field on `ConfigSchema` so a scaffolded
|
|
13
|
+
config gets editor autocomplete the same way `design-system.json` already does.
|
|
14
|
+
|
|
15
|
+
`vitops setup <repo|hosting|domain|search|ads|all>` (new `@getvitops/utils/hosting` subpath: a
|
|
16
|
+
pure planner + `wrangler`/`gh`-shelling executors, following the same idempotent
|
|
17
|
+
plan/observe/apply split as `onboarding`/`ads`) automates GitHub repo + branch policy and
|
|
18
|
+
Cloudflare dev D1/R2 + repo secrets, and plans/checks the workers.dev-vs-custom-domain
|
|
19
|
+
consistency without ever applying the cutover itself — see AGENTS.md's new "Client onboarding"
|
|
20
|
+
section for the full design rationale. `search`/`ads` forward to the existing `search setup`/
|
|
21
|
+
`ads setup` subcommands rather than reimplementing them.
|
|
22
|
+
|
|
23
|
+
No consumer-facing change in `@getvitops/vite` or `@getvitops/astro` in this release — bumped
|
|
24
|
+
only because they are in the `fixed` release group with `generator`/`utils`/`cli`.
|
|
25
|
+
`@getvitops/core` does have a real fix in this release; see the separate `banner-hidden-fix`
|
|
26
|
+
changeset.
|
|
27
|
+
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- @getvitops/core@8.1.0
|
|
33
|
+
- @getvitops/generator@8.1.0
|
|
34
|
+
- @getvitops/utils@8.1.0
|
|
35
|
+
- @getvitops/vite@8.1.0
|
|
36
|
+
|
|
3
37
|
## 8.0.1
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/astro",
|
|
3
|
-
"version": "8.0
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"description": "Astro integration for the Vitops design system — favicons/PWA, web-component scripts, and CSS, via a getvitops() integration + <Head /> component.",
|
|
5
5
|
"homepage": "https://docs.vitops.ca",
|
|
6
6
|
"bugs": "https://github.com/getvitops/design-system/issues",
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
"access": "public"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@getvitops/core": "8.0
|
|
98
|
-
"@getvitops/
|
|
99
|
-
"@getvitops/utils": "8.0
|
|
100
|
-
"@getvitops/
|
|
97
|
+
"@getvitops/core": "8.1.0",
|
|
98
|
+
"@getvitops/vite": "8.1.0",
|
|
99
|
+
"@getvitops/utils": "8.1.0",
|
|
100
|
+
"@getvitops/generator": "8.1.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@astrojs/sitemap": "^3.7.3",
|
|
@@ -14,8 +14,12 @@
|
|
|
14
14
|
* rule as `Counter.astro`/`Carousel.astro`.
|
|
15
15
|
*
|
|
16
16
|
* Put the items in the default slot — a list of `<ReviewCard>`s, logos,
|
|
17
|
-
* whatever scrolls.
|
|
18
|
-
*
|
|
17
|
+
* whatever scrolls. `marquee.css`'s CSS-only path needs more than one
|
|
18
|
+
* `.marquee__content` to loop seamlessly with no JS, so this renders the slot
|
|
19
|
+
* into **three** `aria-hidden`-on-the-extras copies (enough to cover a wide
|
|
20
|
+
* track under the `min-inline-size: 100%` floor). `<wc-marquee>` treats the
|
|
21
|
+
* first as its source and discards the other two as soon as it upgrades,
|
|
22
|
+
* replacing them with however many its own measurement calls for.
|
|
19
23
|
*/
|
|
20
24
|
import type { HTMLAttributes } from 'astro/types';
|
|
21
25
|
|
|
@@ -60,4 +64,10 @@ const Shell = enhance ? 'wc-marquee' : 'div';
|
|
|
60
64
|
<div class="marquee__content">
|
|
61
65
|
<slot />
|
|
62
66
|
</div>
|
|
67
|
+
<div class="marquee__content" aria-hidden="true">
|
|
68
|
+
<slot />
|
|
69
|
+
</div>
|
|
70
|
+
<div class="marquee__content" aria-hidden="true">
|
|
71
|
+
<slot />
|
|
72
|
+
</div>
|
|
63
73
|
</Shell>
|