kopia lustrzana https://github.com/shoelace-style/shoelace
fixes #666
rodzic
68001b00f3
commit
a57526a0ff
|
|
@ -13,13 +13,14 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
|
|||
- Added `--spacing` CSS custom property to `<sl-divider>` [#664](https://github.com/shoelace-style/shoelace/pull/664)
|
||||
- Fixed a bug that caused `<sl-progress-ring>` to render the wrong size when `--track-width` was increased [#656](https://github.com/shoelace-style/shoelace/issues/656)
|
||||
- Fixed a bug that allowed `<sl-details>` to open and close when disabled using a screen reader [#658](https://github.com/shoelace-style/shoelace/issues/658)
|
||||
- Fixed a bug in the FormData event polyfill that threw an error in some environments [#666](https://github.com/shoelace-style/shoelace/issues/666)
|
||||
- Implemented stricter linting to improve consistency and reduce errors, which resulted in many small refactors throughout the codebase [#647](https://github.com/shoelace-style/shoelace/pull/647)
|
||||
- Improved accessibility of `<sl-dialog>` and `<sl-drawer>` by making the title an `<h2>` and adding a label to the close button
|
||||
- Improved search results in the documentation
|
||||
- Refactored `<sl-format-byte>` to use `Intl.NumberFormat` so it supports localization
|
||||
- Refactored themes so utility styles are no longer injected as `<style>` elements to support stricter CSP rules [#571](https://github.com/shoelace-style/shoelace/issues/571)
|
||||
- Restored the nicer animation on `<sl-spinner>` and verified it works in Safari
|
||||
- Updated Feature icon example to use Lucide
|
||||
- Updated Feather icon example to use Lucide [#657](https://github.com/shoelace-style/shoelace/issues/657)
|
||||
- Updated minimum Node version to 14.17
|
||||
- Updated Lit to 2.1.2
|
||||
- Updated to Bootstrap Icons to 1.8.0
|
||||
|
|
|
|||
|
|
@ -91,4 +91,8 @@ function polyfillFormData() {
|
|||
});
|
||||
}
|
||||
|
||||
polyfillFormData();
|
||||
if (document.readyState === 'complete') {
|
||||
polyfillFormData();
|
||||
} else {
|
||||
window.addEventListener('DOMContentLoaded', () => polyfillFormData());
|
||||
}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue