From d0b086823774febb1bcead25dbf5c3355a3efde1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Ayala?= Date: Tue, 25 Jun 2024 19:08:12 -0600 Subject: [PATCH 1/4] update internal link in `usage` page --- docs/src/pages/guides/usage.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/usage.astro b/docs/src/pages/guides/usage.astro index b934056..1a1c3e9 100644 --- a/docs/src/pages/guides/usage.astro +++ b/docs/src/pages/guides/usage.astro @@ -431,7 +431,7 @@ import Link from "../../components/Link.astro"; is open or closed. Additionally, it might be helpful to communicate when a range selection has started and ended via a polite aria-live region. This could be achieved with the rangestart and rangeend - events. We could also add a hint to the input via aria-describedby to describe the expected format for manual entry. From e5babad2b706c128ea3dde5c55a7cdeadf447daf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Ayala?= Date: Wed, 26 Jun 2024 14:26:20 -0600 Subject: [PATCH 2/4] Update docs/src/pages/guides/usage.astro Co-authored-by: Nick Williams --- docs/src/pages/guides/usage.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/usage.astro b/docs/src/pages/guides/usage.astro index 1a1c3e9..045ed37 100644 --- a/docs/src/pages/guides/usage.astro +++ b/docs/src/pages/guides/usage.astro @@ -431,7 +431,7 @@ import Link from "../../components/Link.astro"; is open or closed. Additionally, it might be helpful to communicate when a range selection has started and ended via a polite aria-live region. This could be achieved with the rangestart and rangeend - events. We could also add a hint to the input via aria-describedby to describe the expected format for manual entry. From 4a931887697bc9617e796cf2bead2e59954e7ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Ayala?= Date: Wed, 26 Jun 2024 14:36:39 -0600 Subject: [PATCH 3/4] add `Link` component to `usage` page redirection --- docs/src/components/Link.astro | 2 +- docs/src/pages/guides/usage.astro | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/src/components/Link.astro b/docs/src/components/Link.astro index c24bec3..a9ea7ea 100644 --- a/docs/src/components/Link.astro +++ b/docs/src/components/Link.astro @@ -2,7 +2,7 @@ import type { HTMLAttributes } from "astro/types"; interface Props extends HTMLAttributes<"a"> { - href: `/${string}/` | "/"; + href: `/${string}` | "/"; } const { href, ...rest } = Astro.props; diff --git a/docs/src/pages/guides/usage.astro b/docs/src/pages/guides/usage.astro index 045ed37..c7c0ee3 100644 --- a/docs/src/pages/guides/usage.astro +++ b/docs/src/pages/guides/usage.astro @@ -431,9 +431,8 @@ import Link from "../../components/Link.astro"; is open or closed. Additionally, it might be helpful to communicate when a range selection has started and ended via a polite aria-live region. This could be achieved with the rangestart and rangeend - events. We could also add a hint to the input via aria-describedby to + events. + We could also add a hint to the input via aria-describedby to describe the expected format for manual entry.

From 91c831636908f891ab1f0b5e89376c517a0c1ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Ayala?= Date: Mon, 1 Jul 2024 11:02:30 -0600 Subject: [PATCH 4/4] Update docs/src/components/Link.astro Co-authored-by: Nick Williams --- docs/src/components/Link.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/components/Link.astro b/docs/src/components/Link.astro index a9ea7ea..bd0926d 100644 --- a/docs/src/components/Link.astro +++ b/docs/src/components/Link.astro @@ -2,7 +2,7 @@ import type { HTMLAttributes } from "astro/types"; interface Props extends HTMLAttributes<"a"> { - href: `/${string}` | "/"; + href: "/" | `/${string}/` | `/${string}/#${string}`; } const { href, ...rest } = Astro.props;