From 620a349017a919f622da0c988a7502c4c669e9f9 Mon Sep 17 00:00:00 2001 From: Michael Stramel Date: Tue, 22 Oct 2024 00:59:41 -0500 Subject: [PATCH 1/4] fix(Icon): switch to non-deprecated href attribute --- packages/core/components/Icon.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/components/Icon.astro b/packages/core/components/Icon.astro index 000f17b..3abb86f 100644 --- a/packages/core/components/Icon.astro +++ b/packages/core/components/Icon.astro @@ -122,7 +122,7 @@ const normalizedBody = renderData.body; ) : ( {includeSymbol && } - + ) } From 42864053126e173f0420f8f3d745cd02924c64dc Mon Sep 17 00:00:00 2001 From: Michael Stramel Date: Tue, 22 Oct 2024 01:01:04 -0500 Subject: [PATCH 2/4] docs(components): update usages in components guide --- packages/www/src/content/docs/guides/components.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/www/src/content/docs/guides/components.mdx b/packages/www/src/content/docs/guides/components.mdx index a475cc3..bde81fd 100644 --- a/packages/www/src/content/docs/guides/components.mdx +++ b/packages/www/src/content/docs/guides/components.mdx @@ -54,13 +54,13 @@ import { Icon } from 'astro-icon/components' - + - + ``` From 21fd14acdf877b0ac68ba91cf356d75e45efa822 Mon Sep 17 00:00:00 2001 From: Michael Stramel Date: Tue, 22 Oct 2024 01:01:50 -0500 Subject: [PATCH 3/4] docs: add changeset --- .changeset/young-dots-tell.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/young-dots-tell.md diff --git a/.changeset/young-dots-tell.md b/.changeset/young-dots-tell.md new file mode 100644 index 0000000..334cae5 --- /dev/null +++ b/.changeset/young-dots-tell.md @@ -0,0 +1,6 @@ +--- +"astro-icon": patch +"www": patch +--- + +fix(Icon): switch to non-deprecated `href` attribute From fc8a0e3afe20341b0cad7fc631c08b360cebddd5 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 4 Nov 2024 21:27:23 -0600 Subject: [PATCH 4/4] Update .changeset/young-dots-tell.md --- .changeset/young-dots-tell.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/young-dots-tell.md b/.changeset/young-dots-tell.md index 334cae5..42d31a9 100644 --- a/.changeset/young-dots-tell.md +++ b/.changeset/young-dots-tell.md @@ -3,4 +3,4 @@ "www": patch --- -fix(Icon): switch to non-deprecated `href` attribute +Replaces deprecated `xlink:href` attribute with standard `href` attribute