Skip to content

Commit

Permalink
chore: 1.9.1 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathuo committed Jan 19, 2024
1 parent 6c670c1 commit 5869c62
Show file tree
Hide file tree
Showing 22 changed files with 51 additions and 1,781 deletions.
21 changes: 21 additions & 0 deletions packages/docs/blog/2024-01-20-dockview-1.9.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
slug: dockview-1.9.1-release
title: Dockview 1.9.1
tags: [release]
---

# Release Notes

Please reference to docs @ [dockview.dev](https://dockview.dev).

## 🚀 Features

- Drop target overlay classnames [#452](https://github.com/mathuo/dockview/issues/452)

- Expose root drop target configuration options [#431](https://github.com/mathuo/dockview/issues/431)

## 🛠 Miscs

- Bug: Floating groups position reset when display:none applied to component [#458](https://github.com/mathuo/dockview/issues/458)

## 🔥 Breaking changes
1 change: 1 addition & 0 deletions packages/docs/sandboxes/demo-dockview/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ const DockviewDemo = (props: { theme?: string }) => {
prefixHeaderActionsComponent={PrefixHeaderControls}
onReady={onReady}
className={props.theme || 'dockview-theme-abyss'}
locked={true}
/>
);
};
Expand Down
10 changes: 10 additions & 0 deletions packages/docs/sandboxes/popoutgroup-dockview/src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ export const App = (props: { theme?: string }) => {
const [disableFloatingGroups, setDisableFloatingGroups] =
React.useState<boolean>(false);

const [hide, setHide] = React.useState<boolean>(false);

const load = (api: DockviewApi) => {
api.clear();
if (layout) {
Expand Down Expand Up @@ -175,10 +177,18 @@ export const App = (props: { theme?: string }) => {
>
Clear
</button>
<button
onClick={() => {
setHide(!hide);
}}
>
{hide ? 'Show' : 'Hide'}
</button>
</div>
<div
style={{
flexGrow: 1,
display: hide ? 'none' : '',
}}
>
<DockviewReact
Expand Down
Loading

0 comments on commit 5869c62

Please sign in to comment.