chore: v4.0.0 docs

This commit is contained in:
mathuo 2025-03-12 20:24:59 +00:00
parent 21d94b654b
commit ac92d59d0a
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -0,0 +1,24 @@
---
slug: dockview-4.0.0-release
title: Dockview 4.0.0
tags: [release]
---
# Release Notes
Please reference docs @ [dockview.dev](https://dockview.dev).
## 🚀 Features
- To control the theme of dockview you should no longer pass a `dv-theme-*` class, instead directly use the `theme` property. See [Themes](https://dockview.dev/demo) for more details. [#850](https://github.com/mathuo/dockview/pull/850)
- Introduces a new dnd overlay model with improved animations and customization options allowing themes to take more fine grained control over the dnd overlay styles. [#850](https://github.com/mathuo/dockview/pull/850)
- Custom scrollbar on tab headers for better UX [#822](https://github.com/mathuo/dockview/pull/822)
- When tabs are hidden within scrollbar hidden tabs can be selected from a dropdown that appears in header [#822](https://github.com/mathuo/dockview/pull/822)
## 🛠 Miscs
- Bug: Remove elements from DOM after disposable for Splitview and Paneview components [#870](https://github.com/mathuo/dockview/pull/870)
## 🔥 Breaking changes
- `setGap(gap: number | undefined): void` and `gap(): number` have been removed. The gap property is now controlled directly within the chosen Theme. See [Themes](https://dockview.dev) for more details.
- `DockviewDefaultTab` requires a `tabLocation` field, to mimic existing behaviour use `tabLocation="header"`.