Merge branch 'next' into konnorrogers/fix-textarea-resizing

This commit is contained in:
Konnor Rogers
2024-10-02 17:13:33 -04:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -14,7 +14,8 @@ New versions of Shoelace are released as-needed and generally occur when a criti
## Next
- Fixed a bug in `<sl-textarea>` causing scroll jumping when using `resize="auto"` [#]
- Fixed a bug in `<sl-textarea>` causing scroll jumping when using `resize="auto"` [#2182]
- Fixed a bug in `<sl-relative-time>` where the title attribute would show with redundant info [#2184]
## 2.17.1

View File

@@ -99,7 +99,7 @@ export default class SlRelativeTime extends ShoelaceElement {
this.updateTimeout = window.setTimeout(() => this.requestUpdate(), nextInterval);
}
return html` <time datetime=${this.isoTime} title=${this.relativeTime}>${this.relativeTime}</time> `;
return html` <time datetime=${this.isoTime}>${this.relativeTime}</time> `;
}
}