pull/1030/head
Cory LaViska 2022-11-24 13:29:34 -05:00
rodzic bdf890ab0d
commit 3dd19a7f62
4 zmienionych plików z 9 dodań i 10 usunięć

Wyświetl plik

@ -10,9 +10,9 @@ New versions of Shoelace are released as-needed and generally occur when a criti
## Next
- Fixed a bug that prevented `hoist` from working correctly in `<sl-dropdown>` after updating Floating UI [#1024](https://github.com/shoelace-style/shoelace/issues/1024)
- Fixed a bug in `<sl-dropdown>` that caused containing dialogs, drawers, etc. to close when pressing <kbd>Escape</kbd> while focused [#1024](https://github.com/shoelace-style/shoelace/issues/1024)
- Fixed a bug in `<sl-tree-item>` that allowed lazy nodes to be incorrectly selected [#1023](https://github.com/shoelace-style/shoelace/pull/1023)
- Updated Floating UI to 1.0.7 to fix a bug that prevented `hoist` from working correctly in `<sl-dropdown>` after a recent update [#1024](https://github.com/shoelace-style/shoelace/issues/1024)
## 2.0.0-beta.84

14
package-lock.json wygenerowano
Wyświetl plik

@ -9,7 +9,7 @@
"version": "2.0.0-beta.84",
"license": "MIT",
"dependencies": {
"@floating-ui/dom": "^1.0.6",
"@floating-ui/dom": "^1.0.7",
"@lit-labs/react": "^1.1.0",
"@shoelace-style/animations": "^1.1.0",
"@shoelace-style/localize": "^3.0.3",
@ -722,9 +722,9 @@
"integrity": "sha512-Skfy0YS3NJ5nV9us0uuPN0HDk1Q4edljaOhRBJGDWs9EBa7ZVMYBHRFlhLvvmwEoaIM9BlH6QJFn9/uZg0bACg=="
},
"node_modules/@floating-ui/dom": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.6.tgz",
"integrity": "sha512-kt/tg1oip9OAH1xjCTcx1OpcUpu9rjDw3GKJ/rEhUqhO7QyJWfrHU0DpLTNsH67+JyFL5Kv9X1utsXwKFVtyEQ==",
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.7.tgz",
"integrity": "sha512-6RsqvCYe0AYWtsGvuWqCm7mZytnXAZCjWtsWu1Kg8dI3INvj/DbKlDsZO+mKSaQdPT12uxIW9W2dAWJkPx4Y5g==",
"dependencies": {
"@floating-ui/core": "^1.0.2"
}
@ -15721,9 +15721,9 @@
"integrity": "sha512-Skfy0YS3NJ5nV9us0uuPN0HDk1Q4edljaOhRBJGDWs9EBa7ZVMYBHRFlhLvvmwEoaIM9BlH6QJFn9/uZg0bACg=="
},
"@floating-ui/dom": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.6.tgz",
"integrity": "sha512-kt/tg1oip9OAH1xjCTcx1OpcUpu9rjDw3GKJ/rEhUqhO7QyJWfrHU0DpLTNsH67+JyFL5Kv9X1utsXwKFVtyEQ==",
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.7.tgz",
"integrity": "sha512-6RsqvCYe0AYWtsGvuWqCm7mZytnXAZCjWtsWu1Kg8dI3INvj/DbKlDsZO+mKSaQdPT12uxIW9W2dAWJkPx4Y5g==",
"requires": {
"@floating-ui/core": "^1.0.2"
}

Wyświetl plik

@ -61,7 +61,7 @@
"node": ">=14.17.0"
},
"dependencies": {
"@floating-ui/dom": "^1.0.6",
"@floating-ui/dom": "^1.0.7",
"@lit-labs/react": "^1.1.0",
"@shoelace-style/animations": "^1.1.0",
"@shoelace-style/localize": "^3.0.3",

Wyświetl plik

@ -410,7 +410,6 @@ export default class SlDropdown extends ShoelaceElement {
shift
auto-size="vertical"
auto-size-padding="10"
.autoSizeBoundary=${this.hoist ? document.body : undefined}
class=${classMap({
dropdown: true,
'dropdown--open': this.open