chore: release notes 1.11.0

This commit is contained in:
mathuo 2024-03-17 14:22:51 +00:00
parent b09ab48cd8
commit 331be77b08
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -0,0 +1,28 @@
---
slug: dockview-1.11.0-release
title: Dockview 1.11.0
tags: [release]
---
# Release Notes
Please reference docs @ [dockview.dev](https://dockview.dev).
## 🛠 Miscs
- Adjust `React` imports [#556](https://github.com/mathuo/dockview/pull/556)
- Rename `import * as React from 'react'` to `import React from 'react'`
- Rename `import * as ReactDOM from 'react-dom'` to `import ReactDOM from 'react-dom'`
- This is preperation work for supporting multiple framworks (Vue, Angular etc...)
- Only export CSS from `dockview-core` [#553](https://github.com/mathuo/dockview/pull/553)
- All required CSS is now found in `dockview-core` only. `dockview` (React) specific CSS has been removed and made compatible with CSS in `dockview-core`. This is preperation work for supporting multiple framworks (Vue, Angular etc...)
- For compatibility reasons `dockview-core` CSS continues to be re-exported through `dockview`.
- Class name changes as follows:
- `tab-action` to `dv-default-tab-action`
- `default-tab` to `dv-default-tab`
- `tab-content` to `dv-default-tab-content`
- `dockview-react-tab` to `dv-default-tab`
- `dockview-react-tab-title` to `dv-default-tab-content`
- `dv-react-tab-close-btn` to `dv-default-tab-action`