From 761e06220a9506504e563c7cae84730f76828204 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 24 Sep 2024 13:01:10 -0400 Subject: [PATCH 1/2] remove title --- docs/pages/resources/changelog.md | 4 ++++ src/components/relative-time/relative-time.component.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/pages/resources/changelog.md b/docs/pages/resources/changelog.md index f78dc767..8782e499 100644 --- a/docs/pages/resources/changelog.md +++ b/docs/pages/resources/changelog.md @@ -12,6 +12,10 @@ Components with the Experimental bad New versions of Shoelace are released as-needed and generally occur when a critical mass of changes have accumulated. At any time, you can see what's coming in the next release by visiting [next.shoelace.style](https://next.shoelace.style). +## Next + +- Fixed a bug in `` where the title attribute would show with redundant info [#2184] + ## 2.17.1 - Fixed a bug in `` not applying the mutator when loading multiple icons of the same name from a spritesheet. [#2178] diff --git a/src/components/relative-time/relative-time.component.ts b/src/components/relative-time/relative-time.component.ts index 4eb70c2e..4fa33f33 100644 --- a/src/components/relative-time/relative-time.component.ts +++ b/src/components/relative-time/relative-time.component.ts @@ -99,7 +99,7 @@ export default class SlRelativeTime extends ShoelaceElement { this.updateTimeout = window.setTimeout(() => this.requestUpdate(), nextInterval); } - return html` `; + return html` `; } } From 1fb72ad4eb7923a41494e139fc46ff6b8efd63aa Mon Sep 17 00:00:00 2001 From: J Wong Date: Tue, 1 Oct 2024 18:17:38 -0400 Subject: [PATCH 2/2] Fix typo in usage.md (#2198) --- docs/pages/getting-started/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/getting-started/usage.md b/docs/pages/getting-started/usage.md index d7dac318..3425915f 100644 --- a/docs/pages/getting-started/usage.md +++ b/docs/pages/getting-started/usage.md @@ -195,7 +195,7 @@ Avoid using `setTimeout()` or `requestAnimationFrame()` in situations like this. ### VS Code -Shoelace ships with a file called `vscode.html-custom-data.json` that can be used to describe it's custom elements to Visual Studio Code. This enables code completion for Shoelace components (also known as "code hinting" or "IntelliSense"). To enable it, you need to tell VS Code where the file is. +Shoelace ships with a file called `vscode.html-custom-data.json` that can be used to describe its custom elements to Visual Studio Code. This enables code completion for Shoelace components (also known as "code hinting" or "IntelliSense"). To enable it, you need to tell VS Code where the file is. 1. [Install Shoelace locally](/getting-started/installation#local-installation) 2. If it doesn't already exist, create a folder called `.vscode` at the root of your project