From c5bff643c5b41cc0b9223e1dba98bfc4c19863c0 Mon Sep 17 00:00:00 2001 From: Ryan Gossiaux Date: Sat, 10 Jun 2023 21:56:07 -0700 Subject: [PATCH] Add links to other docs versions --- src/routes/docs/1.0/index.svx | 2 ++ src/routes/docs/1.0/version-history.svx | 29 ++++++++++++------------- src/routes/docs/2.0/index.svx | 2 ++ src/routes/docs/2.0/version-history.svx | 29 ++++++++++++------------- 4 files changed, 32 insertions(+), 30 deletions(-) diff --git a/src/routes/docs/1.0/index.svx b/src/routes/docs/1.0/index.svx index 563f4d9..3daabf4 100644 --- a/src/routes/docs/1.0/index.svx +++ b/src/routes/docs/1.0/index.svx @@ -1,3 +1,5 @@ +*This is the documentation for a **previous version** of this library. For other versions, see the [version history](version-history).* + Svelte Headless UI is an unofficial, complete Svelte port of the [Headless UI](https://headlessui.dev/) component library. These are high-quality, unstyled Svelte components which are: diff --git a/src/routes/docs/1.0/version-history.svx b/src/routes/docs/1.0/version-history.svx index 4d2bf5c..ba12bb8 100644 --- a/src/routes/docs/1.0/version-history.svx +++ b/src/routes/docs/1.0/version-history.svx @@ -1,20 +1,19 @@ - -This is the release history of Svelte Headless UI and the correspondence with versions of Headless UI. +This is the release history of Svelte Headless UI and the correspondence with versions of Headless UI. Click on a version number to see the documentation for that version. | Svelte Headless UI version | Date released | Headless UI version | Notes | | -------------------------- | ------------- | ------------------- | ----- | -| 1.0.2 | 2022-05-25 | 1.4.2 | Fixes TypeScript errors with some attributes | -| 1.0.1 | 2022-05-16 | 1.4.2 | Fixes a SSR error when using the `as` prop on buttons | -| 1.0.0 | 2022-05-06 | 1.4.2 | Much improved TypeScript support; much smaller bundle size | -| 1.0.0-beta.12 | 2022-03-07 | 1.4.2 | Hotfix to replace an incorrect fix in 1.0.0-beta.11 | -| 1.0.0-beta.11 | 2022-03-06 | 1.4.2 | | -| 1.0.0-beta.10 | 2022-02-27 | 1.4.2 | | -| 1.0.0-beta.9 | 2022-02-06 | 1.4.2 | | -| 1.0.0-beta.8 | 2022-01-21 | 1.4.2 | | -| 1.0.0-beta.7 | 2021-12-31 | 1.4.2 | | -| 1.0.0-beta.6 | 2021-12-29 | 1.4.2 | | -| 1.0.0-beta.5 | 2021-12-28 | 1.4.2 | | -| 1.0.0-beta.4 | 2021-12-26 | 1.4.2 | | -| 1.0.0-beta.3 | 2021-12-24 | 1.4.2 | Initial public release | +| [1.0.2](../1.0) | 2022-05-25 | 1.4.2 | Fixes TypeScript errors with some attributes | +| [1.0.1](../1.0) | 2022-05-16 | 1.4.2 | Fixes a SSR error when using the `as` prop on buttons | +| [1.0.0](../1.0) | 2022-05-06 | 1.4.2 | Much improved TypeScript support; much smaller bundle size | +| [1.0.0-beta.12](../1.0) | 2022-03-07 | 1.4.2 | Hotfix to replace an incorrect fix in 1.0.0-beta.11 | +| [1.0.0-beta.11](../1.0) | 2022-03-06 | 1.4.2 | | +| [1.0.0-beta.10](../1.0) | 2022-02-27 | 1.4.2 | | +| [1.0.0-beta.9](../1.0) | 2022-02-06 | 1.4.2 | | +| [1.0.0-beta.8](../1.0) | 2022-01-21 | 1.4.2 | | +| [1.0.0-beta.7](../1.0) | 2021-12-31 | 1.4.2 | | +| [1.0.0-beta.6](../1.0) | 2021-12-29 | 1.4.2 | | +| [1.0.0-beta.5](../1.0) | 2021-12-28 | 1.4.2 | | +| [1.0.0-beta.4](../1.0) | 2021-12-26 | 1.4.2 | | +| [1.0.0-beta.3](../1.0) | 2021-12-24 | 1.4.2 | Initial public release | Full release notes and changelogs can be [found on GitHub](https://github.com/tailwindlabs/headlessui/releases). diff --git a/src/routes/docs/2.0/index.svx b/src/routes/docs/2.0/index.svx index 563f4d9..e590eaf 100644 --- a/src/routes/docs/2.0/index.svx +++ b/src/routes/docs/2.0/index.svx @@ -1,3 +1,5 @@ +*This is the documentation for the **current version** of this library. For other versions, see the [version history](version-history).* + Svelte Headless UI is an unofficial, complete Svelte port of the [Headless UI](https://headlessui.dev/) component library. These are high-quality, unstyled Svelte components which are: diff --git a/src/routes/docs/2.0/version-history.svx b/src/routes/docs/2.0/version-history.svx index 4d2bf5c..ba12bb8 100644 --- a/src/routes/docs/2.0/version-history.svx +++ b/src/routes/docs/2.0/version-history.svx @@ -1,20 +1,19 @@ - -This is the release history of Svelte Headless UI and the correspondence with versions of Headless UI. +This is the release history of Svelte Headless UI and the correspondence with versions of Headless UI. Click on a version number to see the documentation for that version. | Svelte Headless UI version | Date released | Headless UI version | Notes | | -------------------------- | ------------- | ------------------- | ----- | -| 1.0.2 | 2022-05-25 | 1.4.2 | Fixes TypeScript errors with some attributes | -| 1.0.1 | 2022-05-16 | 1.4.2 | Fixes a SSR error when using the `as` prop on buttons | -| 1.0.0 | 2022-05-06 | 1.4.2 | Much improved TypeScript support; much smaller bundle size | -| 1.0.0-beta.12 | 2022-03-07 | 1.4.2 | Hotfix to replace an incorrect fix in 1.0.0-beta.11 | -| 1.0.0-beta.11 | 2022-03-06 | 1.4.2 | | -| 1.0.0-beta.10 | 2022-02-27 | 1.4.2 | | -| 1.0.0-beta.9 | 2022-02-06 | 1.4.2 | | -| 1.0.0-beta.8 | 2022-01-21 | 1.4.2 | | -| 1.0.0-beta.7 | 2021-12-31 | 1.4.2 | | -| 1.0.0-beta.6 | 2021-12-29 | 1.4.2 | | -| 1.0.0-beta.5 | 2021-12-28 | 1.4.2 | | -| 1.0.0-beta.4 | 2021-12-26 | 1.4.2 | | -| 1.0.0-beta.3 | 2021-12-24 | 1.4.2 | Initial public release | +| [1.0.2](../1.0) | 2022-05-25 | 1.4.2 | Fixes TypeScript errors with some attributes | +| [1.0.1](../1.0) | 2022-05-16 | 1.4.2 | Fixes a SSR error when using the `as` prop on buttons | +| [1.0.0](../1.0) | 2022-05-06 | 1.4.2 | Much improved TypeScript support; much smaller bundle size | +| [1.0.0-beta.12](../1.0) | 2022-03-07 | 1.4.2 | Hotfix to replace an incorrect fix in 1.0.0-beta.11 | +| [1.0.0-beta.11](../1.0) | 2022-03-06 | 1.4.2 | | +| [1.0.0-beta.10](../1.0) | 2022-02-27 | 1.4.2 | | +| [1.0.0-beta.9](../1.0) | 2022-02-06 | 1.4.2 | | +| [1.0.0-beta.8](../1.0) | 2022-01-21 | 1.4.2 | | +| [1.0.0-beta.7](../1.0) | 2021-12-31 | 1.4.2 | | +| [1.0.0-beta.6](../1.0) | 2021-12-29 | 1.4.2 | | +| [1.0.0-beta.5](../1.0) | 2021-12-28 | 1.4.2 | | +| [1.0.0-beta.4](../1.0) | 2021-12-26 | 1.4.2 | | +| [1.0.0-beta.3](../1.0) | 2021-12-24 | 1.4.2 | Initial public release | Full release notes and changelogs can be [found on GitHub](https://github.com/tailwindlabs/headlessui/releases).