-
- #
-
-
- Paseo {release.version}
-
+
+
+
+
{release.version}
+
- {release.markdown}
+ {release.markdown}
+
+
+ );
+}
+
+function Release({ group }: { group: ChangelogReleaseGroup }) {
+ const anchor = `release-${group.version}`;
+
+ return (
+
+
+
+
+ Paseo {group.version}
+
+
+
+ {group.releases.map((release) => (
+
+ ))}
);
@@ -96,8 +150,8 @@ function Changelog() {
Changelog
- {changelogReleases.map((release) => (
-
+ {changelogReleaseGroups.map((group) => (
+
))}
diff --git a/packages/website/src/styles.css b/packages/website/src/styles.css
index d53719d6d..0f779936c 100644
--- a/packages/website/src/styles.css
+++ b/packages/website/src/styles.css
@@ -176,6 +176,7 @@
}
.changelog-release-heading:hover .changelog-heading-anchor,
+.changelog-patch-heading:hover .changelog-heading-anchor,
.changelog-heading-anchor:focus {
opacity: 1;
}
@@ -184,13 +185,44 @@
color: var(--color-foreground);
}
+.changelog-patches {
+ display: grid;
+ gap: 2.5rem;
+}
+
+.changelog-patch + .changelog-patch {
+ border-top: 1px solid var(--color-border);
+ padding-top: 2.5rem;
+}
+
+.changelog-patch-heading {
+ position: relative;
+ display: flex;
+ align-items: baseline;
+ gap: 0.625rem;
+ scroll-margin-top: 1.5rem;
+ margin-bottom: 1.25rem;
+}
+
+.changelog-patch-title {
+ color: var(--color-foreground);
+ font-size: 1rem;
+ font-weight: 500;
+ line-height: 1.4;
+}
+
+.changelog-patch-heading .changelog-release-date {
+ margin-bottom: 0;
+}
+
.changelog-release-notes {
color: color-mix(in srgb, var(--color-foreground) 76%, transparent);
font-size: 0.9375rem;
line-height: 1.7;
}
-.changelog-release-notes h3 {
+.changelog-release-notes h3,
+.changelog-release-notes h4 {
margin-top: 1.75rem;
margin-bottom: 0.625rem;
color: var(--color-muted-foreground);
@@ -199,7 +231,8 @@
line-height: 1.4;
}
-.changelog-release-notes h3:first-child {
+.changelog-release-notes h3:first-child,
+.changelog-release-notes h4:first-child {
margin-top: 0;
}