Skip to content

Commit 88e26da

Browse files
committed
Extract changelog to a top-level page
1 parent 2547b72 commit 88e26da

File tree

6 files changed

+16
-25
lines changed

6 files changed

+16
-25
lines changed

homedocs/src/components/HomeHeader.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ const isDocs = pathname.startsWith('/docs');
3333
<a href="/" class:list={["text-sm transition-colors", isHome ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
3434
Home
3535
</a>
36-
<a href="/docs/intro/changelog" class:list={["text-sm transition-colors", isChangelog ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
37-
Changelog
38-
</a>
3936
<a href="/themes" class:list={["text-sm transition-colors", isThemes ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
4037
Themes
4138
</a>
39+
<a href="/changelog" class:list={["text-sm transition-colors", isChangelog ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
40+
Changelog
41+
</a>
4242
<a href="/docs/intro/what-is-cxjs" class:list={["text-sm transition-colors", isDocs ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
4343
Documentation
4444
</a>
@@ -84,7 +84,7 @@ const isDocs = pathname.startsWith('/docs');
8484
<a href="/" class:list={["text-sm transition-colors py-2", isHome ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
8585
Home
8686
</a>
87-
<a href="/docs/intro/changelog" class:list={["text-sm transition-colors py-2", isChangelog ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
87+
<a href="/changelog" class:list={["text-sm transition-colors py-2", isChangelog ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>
8888
Changelog
8989
</a>
9090
<a href="/docs/intro/what-is-cxjs" class:list={["text-sm transition-colors py-2", isDocs ? "text-foreground font-medium" : "text-muted-foreground hover:text-foreground"]}>

homedocs/src/data/navigation.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ export const navigation = [
139139
{
140140
title: "Migration",
141141
items: [
142-
{
143-
title: "Changelog",
144-
slug: "changelog",
145-
description: "Version history and release notes",
146-
},
147142
{
148143
title: "Breaking Changes",
149144
slug: "breaking-changes",

homedocs/src/examples/theme-editor/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ const categoryMetadata = [
15061506
{ id: "colors", name: "Colors", icon: "palette", group: "Theme" },
15071507
{ id: "sizing", name: "Sizing", icon: "move", group: "Theme" },
15081508
{ id: "effects", name: "Effects", icon: "zap", group: "Theme" },
1509-
{ id: "buttons", name: "Buttons", icon: "square", group: "Components" },
1509+
{ id: "buttons", name: "Buttons", icon: "square-hollow", group: "Components" },
15101510
{ id: "inputs", name: "Inputs", icon: "text-cursor-input", group: "Components" },
15111511
{ id: "checks", name: "Checks & Switches", icon: "toggle-left", group: "Components" },
15121512
{ id: "sliders", name: "Sliders & Progress", icon: "sliders-horizontal", group: "Components" },

homedocs/src/icons/lucide.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ Icon.register("palette", getRenderer(Palette));
108108
Icon.register("circle", getRenderer(Circle));
109109
Icon.register("info", getRenderer(Info));
110110
//Icon.register("square", getRenderer(Square)); // need to use default icon for indeterminate checkboxes
111+
Icon.register("square-hollow", getRenderer(Square));
111112
Icon.register("sliders-horizontal", getRenderer(SlidersHorizontal));
112113
Icon.register("app-window", getRenderer(AppWindow));
113114
Icon.register("type", getRenderer(Type));

homedocs/src/pages/docs/intro/changelog.mdx renamed to homedocs/src/pages/changelog.mdx

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
---
2-
layout: ../../../layouts/DocsLayout.astro
2+
layout: ../layouts/LegalLayout.astro
33
title: Changelog
44
description: Version history and release notes
55
---
66

7-
import OnThisPage from "../../../components/OnThisPage.astro";
8-
9-
# Changelog
10-
11-
<OnThisPage />
12-
137
148

159
**Fixes**
@@ -30,7 +24,7 @@ import OnThisPage from "../../../components/OnThisPage.astro";
3024
- Modern build tooling support (Vite, esbuild, SWC)
3125
- Split HTML and React elements for better type inference
3226

33-
See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
27+
See [Breaking Changes](/docs/intro/breaking-changes#2610) for migration details.
3428

3529
---
3630

@@ -40,7 +34,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
4034

4135
- Date only (2025-01-01) strings are now parsed as local time, instead of UTC.
4236
- `encodeDate` function can be used to format date objects as date only strings, i.e. 2025-01-01. This function can be set as `encoding` for the `DateField`, `MonthField`, `Calendar`, and `MonthPicker` components.
43-
- `MonthField` and `MonthPicker` now include a flag `inclusiveTo` which allow month ranges to end with the last day of the month, instead of the first day of the next month.
37+
- `MonthField` and `MonthPicker` now include a flag `inclusiveTo` which allows month ranges to end with the last day of the month, instead of the first day of the next month.
4438

4539
---
4640

@@ -56,7 +50,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
5650

5751
**Fixes**
5852

59-
- Fix on validate arguments for multiple lookups
53+
- Fix onValidate arguments for multiple lookups
6054

6155
---
6256

@@ -72,7 +66,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
7266

7367
**Features**
7468

75-
- `Window.pad` option. See [Breaking changes](/intro/breaking-changes).
69+
- `Window.pad` option. See [Breaking changes](/docs/intro/breaking-changes).
7670

7771
---
7872

@@ -181,7 +175,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
181175

182176
**Fixes**
183177

184-
- Fix getCursorPos properly resolves position within iframes in Firefox
178+
- Fix getCursorPos to properly resolve position within iframes in Firefox
185179
- Fix drag and drop within iframes
186180

187181
---
@@ -275,7 +269,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
275269

276270
**Features**
277271

278-
- Dart Sass compatibility (see [Breaking Changes](/intro/breaking-changes))
272+
- Dart Sass compatibility (see [Breaking Changes](/docs/intro/breaking-changes))
279273
- Dropping IE support
280274

281275
---
@@ -329,7 +323,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
329323

330324
**Fixes**
331325

332-
- Properly sort by the second column if the values in first column are null
326+
- Properly sort by the second column if the values in the first column are null
333327

334328
---
335329

@@ -404,7 +398,7 @@ See [Breaking Changes](/intro/breaking-changes#2610) for migration details.
404398

405399
**Features**
406400

407-
- TreeAdapter now support the flag `hideRootNodes`
401+
- TreeAdapter now supports the flag `hideRootNodes`
408402
- Added the function `findTreePath` to `cx/data`.
409403

410404
**Fixes**

homedocs/src/styles/global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ html {
149149
font-weight: 400;
150150
height: 100%;
151151
scroll-behavior: smooth;
152+
overflow-y: scroll;
152153
}
153154

154155
// Offset for anchor links (account for fixed header)

0 commit comments

Comments
 (0)