downgrade Floating UI for perf reasons

This commit is contained in:
Cory LaViska
2022-09-19 08:39:11 -04:00
parent f2dcad82a9
commit 28003ac430
3 changed files with 11 additions and 10 deletions

View File

@@ -30,6 +30,7 @@ This release removes the `<sl-responsive-media>` component. When this component
- Fixed a bug in `<sl-radio-group>` where the `button-group__base` part was documented but not exposed [#909](https://github.com/shoelace-style/shoelace/discussions/909)
- Fixed a bug in `<sl-range>` that caused the active track color to render on the wrong side in RTL [#916](https://github.com/shoelace-style/shoelace/issues/916)
- Refactored the internal event emitter to be part of `ShoelaceElement` to reduce imports and improve DX
- Downgraded Floating UI from 1.0.1 to 1.0.0 due to new logic that makes positioning much slower for certain components [#915](https://github.com/shoelace-style/shoelace/issues/915)
- Upgraded the status of `<sl-animated-image>`, `<sl-popup>`, and `<sl-split-panel>` from experimental to stable
## 2.0.0-beta.82

18
package-lock.json generated
View File

@@ -9,7 +9,7 @@
"version": "2.0.0-beta.82",
"license": "MIT",
"dependencies": {
"@floating-ui/dom": "^1.0.1",
"@floating-ui/dom": "^1.0.0",
"@lit-labs/react": "^1.0.7",
"@shoelace-style/animations": "^1.1.0",
"@shoelace-style/localize": "^3.0.1",
@@ -693,11 +693,11 @@
"integrity": "sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA=="
},
"node_modules/@floating-ui/dom": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.1.tgz",
"integrity": "sha512-wBDiLUKWU8QNPNOTAFHiIAkBv1KlHauG2AhqjSeh2H+wR8PX+AArXfz8NkRexH5PgMJMmSOS70YS89AbWYh5dA==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.0.tgz",
"integrity": "sha512-PMqJvY5Fae8HVQgUqM+lidprS6p9LSvB0AUhCdYKqr3YCaV+WaWCeVNBtXPRY2YIdrgcsL2+vd5F07FxgihHUw==",
"dependencies": {
"@floating-ui/core": "^1.0.1"
"@floating-ui/core": "^1.0.0"
}
},
"node_modules/@gar/promisify": {
@@ -15486,11 +15486,11 @@
"integrity": "sha512-bO37brCPfteXQfFY0DyNDGB3+IMe4j150KFQcgJ5aBP295p9nBGeHEs/p0czrRbtlHq4Px/yoPXO/+dOCcF4uA=="
},
"@floating-ui/dom": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.1.tgz",
"integrity": "sha512-wBDiLUKWU8QNPNOTAFHiIAkBv1KlHauG2AhqjSeh2H+wR8PX+AArXfz8NkRexH5PgMJMmSOS70YS89AbWYh5dA==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.0.0.tgz",
"integrity": "sha512-PMqJvY5Fae8HVQgUqM+lidprS6p9LSvB0AUhCdYKqr3YCaV+WaWCeVNBtXPRY2YIdrgcsL2+vd5F07FxgihHUw==",
"requires": {
"@floating-ui/core": "^1.0.1"
"@floating-ui/core": "^1.0.0"
}
},
"@gar/promisify": {

View File

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