sb-floating-panel-vue 5.3.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,12 @@ Headless Vue 3 components for floating panels (dropdowns, menus, listboxes, popo
|
|
|
17
17
|
## 📦 Installation
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install sb-floating-panel-vue
|
|
20
|
+
npm install sb-floating-panel-vue
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
`vue` (`^3.5.13`) and `@floating-ui/vue` (`^2.0.1`) are peer dependencies
|
|
23
|
+
`vue` (`^3.5.13`) and `@floating-ui/vue` (`^2.0.1`) are peer dependencies, so only one copy of each ends up in the bundle. Vue is already in your app. You don't need to install `@floating-ui/vue` yourself: npm 7+ and pnpm 8+ add missing peers automatically. Yarn doesn't, so add it there: `yarn add sb-floating-panel-vue @floating-ui/vue`.
|
|
24
|
+
|
|
25
|
+
If your app already depends on `@floating-ui/vue`, it must be a 2.x version (npm stops with `ERESOLVE` otherwise), and the library uses that same copy. If you only used it to position dropdowns, menus, popovers or tooltips, the library already does that for you: move those panels to its components and remove `@floating-ui/vue` from your `package.json`. Keep it only if your own code still imports it.
|
|
24
26
|
|
|
25
27
|
There is no CSS file to import.
|
|
26
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sb-floating-panel-vue",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.1",
|
|
4
4
|
"description": "Headless Vue 3 floating panel components (dropdowns, popovers, menus) powered by @floating-ui/vue: positioning, accessibility and open state handled, zero CSS shipped.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|