diff --git a/.changeset/maximize-and-fold-core.md b/.changeset/maximize-and-fold-core.md deleted file mode 100644 index c3dc221..0000000 --- a/.changeset/maximize-and-fold-core.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@dynamix-layout/core': minor ---- - -Maximize and fold tabsets (engine): - -- `maximize(id)`, `restore()`, `toggleMaximize(id)` and `maximizedId`: one tabset fills the whole layout; the others are hidden but stay mounted, and restoring brings back the exact previous split. -- `collapse(id)`, `expand(id)`, `toggleCollapse(id)`: a tabset folds to a strip along its row (its tab bar). Siblings share the freed space, unfolding restores the previous size, and folding the last open child of a row unfolds its most recently folded sibling. -- New `collapsedSize` option (defaults to `minH`); pass the tab bar height. -- Computed options expose `nodFold`, `nodMaxd`, `nodHidden`, `nodLocked`, `nodFoldable` and `nodMaximizable`; saved layouts keep `nodFold` (tabsets) and `nodMaxd` (root). -- Bonds next to a folded tabset are locked; any drag-and-drop move ends maximize; a dragged or drop-target tabset unfolds. -- Fix: a layout created from a single tab now fills the whole area (an empty row used to take half of it). diff --git a/.changeset/maximize-and-fold-ui.md b/.changeset/maximize-and-fold-ui.md deleted file mode 100644 index 953f001..0000000 --- a/.changeset/maximize-and-fold-ui.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@dynamix-layout/react': minor -'@dynamix-layout/solid': minor ---- - -Maximize and fold tabsets (UI), on by default: - -- Hover toolbar at the end of every tab bar with Maximize/Restore and Fold/Unfold buttons (accessible labels and tooltips), like LeetCode. -- Folded tabsets in side-by-side rows show their tab bar as a rotated vertical strip with the toolbar at the bottom; in stacked rows they shrink to their tab bar. -- Double-click a tab bar to maximize/restore; Alt/Option + `+` maximizes and Alt/Option + `-` folds the last touched tabset. -- New props: `enableMaximize`, `enableCollapse`, `enableDoubleClickMaximize`, `keyboardShortcuts`, and `TabsetToolbar` to replace the toolbar. -- Starting a drag while maximized restores the layout first; locked bonds next to folded tabsets ignore the pointer. diff --git a/examples/react/CHANGELOG.md b/examples/react/CHANGELOG.md index c1a059e..60013d2 100644 --- a/examples/react/CHANGELOG.md +++ b/examples/react/CHANGELOG.md @@ -1,5 +1,13 @@ # shadcn +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`4f01ca4`](https://github.com/xcode-studio/dynamix-layout/commit/4f01ca47e0ec6c28e68b157b2b2bed1522b92d0f), [`034fb0a`](https://github.com/xcode-studio/dynamix-layout/commit/034fb0afced4a7a1b4ca033cbf73771780f520d4)]: + - @dynamix-layout/core@1.2.0 + - @dynamix-layout/react@1.1.0 + ## 0.0.5 ### Patch Changes diff --git a/examples/react/package.json b/examples/react/package.json index e157a72..ad40c0c 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -1,7 +1,7 @@ { "name": "@repo/react-example", "private": true, - "version": "0.0.5", + "version": "0.0.6", "type": "module", "scripts": { "dev": "vite", diff --git a/examples/solidstart/CHANGELOG.md b/examples/solidstart/CHANGELOG.md index eb02a6e..d6c7b65 100644 --- a/examples/solidstart/CHANGELOG.md +++ b/examples/solidstart/CHANGELOG.md @@ -1,5 +1,13 @@ # solidstart +## 0.0.6 + +### Patch Changes + +- Updated dependencies [[`4f01ca4`](https://github.com/xcode-studio/dynamix-layout/commit/4f01ca47e0ec6c28e68b157b2b2bed1522b92d0f), [`034fb0a`](https://github.com/xcode-studio/dynamix-layout/commit/034fb0afced4a7a1b4ca033cbf73771780f520d4)]: + - @dynamix-layout/core@1.2.0 + - @dynamix-layout/solid@1.1.0 + ## 0.0.5 ### Patch Changes diff --git a/examples/solidstart/package.json b/examples/solidstart/package.json index 5d6d7f8..3892b12 100644 --- a/examples/solidstart/package.json +++ b/examples/solidstart/package.json @@ -2,7 +2,7 @@ "name": "@repo/solidstart-example", "type": "module", "private": true, - "version": "0.0.5", + "version": "0.0.6", "scripts": { "dev": "vinxi dev", "build": "vinxi build", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index bbb5975..1235e13 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,18 @@ # @dynamix-layout/core +## 1.2.0 + +### Minor Changes + +- [#83](https://github.com/xcode-studio/dynamix-layout/pull/83) [`4f01ca4`](https://github.com/xcode-studio/dynamix-layout/commit/4f01ca47e0ec6c28e68b157b2b2bed1522b92d0f) Thanks [@akash-aman](https://github.com/akash-aman)! - Maximize and fold tabsets (engine): + + - `maximize(id)`, `restore()`, `toggleMaximize(id)` and `maximizedId`: one tabset fills the whole layout; the others are hidden but stay mounted, and restoring brings back the exact previous split. + - `collapse(id)`, `expand(id)`, `toggleCollapse(id)`: a tabset folds to a strip along its row (its tab bar). Siblings share the freed space, unfolding restores the previous size, and folding the last open child of a row unfolds its most recently folded sibling. + - New `collapsedSize` option (defaults to `minH`); pass the tab bar height. + - Computed options expose `nodFold`, `nodMaxd`, `nodHidden`, `nodLocked`, `nodFoldable` and `nodMaximizable`; saved layouts keep `nodFold` (tabsets) and `nodMaxd` (root). + - Bonds next to a folded tabset are locked; any drag-and-drop move ends maximize; a dragged or drop-target tabset unfolds. + - Fix: a layout created from a single tab now fills the whole area (an empty row used to take half of it). + ## 1.1.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index ad93461..129297a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@dynamix-layout/core", - "version": "1.1.1", + "version": "1.2.0", "description": "Dynamix Layout/Core is a JavaScript package for creating dynamic layouts with ease.", "keywords": [ "dynamix-layout", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index e31f955..a86e343 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,22 @@ # @dynamix-layout/react +## 1.1.0 + +### Minor Changes + +- [#83](https://github.com/xcode-studio/dynamix-layout/pull/83) [`034fb0a`](https://github.com/xcode-studio/dynamix-layout/commit/034fb0afced4a7a1b4ca033cbf73771780f520d4) Thanks [@akash-aman](https://github.com/akash-aman)! - Maximize and fold tabsets (UI), on by default: + + - Hover toolbar at the end of every tab bar with Maximize/Restore and Fold/Unfold buttons (accessible labels and tooltips), like LeetCode. + - Folded tabsets in side-by-side rows show their tab bar as a rotated vertical strip with the toolbar at the bottom; in stacked rows they shrink to their tab bar. + - Double-click a tab bar to maximize/restore; Alt/Option + `+` maximizes and Alt/Option + `-` folds the last touched tabset. + - New props: `enableMaximize`, `enableCollapse`, `enableDoubleClickMaximize`, `keyboardShortcuts`, and `TabsetToolbar` to replace the toolbar. + - Starting a drag while maximized restores the layout first; locked bonds next to folded tabsets ignore the pointer. + +### Patch Changes + +- Updated dependencies [[`4f01ca4`](https://github.com/xcode-studio/dynamix-layout/commit/4f01ca47e0ec6c28e68b157b2b2bed1522b92d0f)]: + - @dynamix-layout/core@1.2.0 + ## 1.0.3 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 2474ba7..64e5b31 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@dynamix-layout/react", - "version": "1.0.3", + "version": "1.1.0", "description": "A powerful React component for creating dynamic, resizable, and draggable layouts.", "keywords": [ "react", diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index 12e4d81..dedac5d 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -1,5 +1,22 @@ # @dynamix-layout/solid +## 1.1.0 + +### Minor Changes + +- [#83](https://github.com/xcode-studio/dynamix-layout/pull/83) [`034fb0a`](https://github.com/xcode-studio/dynamix-layout/commit/034fb0afced4a7a1b4ca033cbf73771780f520d4) Thanks [@akash-aman](https://github.com/akash-aman)! - Maximize and fold tabsets (UI), on by default: + + - Hover toolbar at the end of every tab bar with Maximize/Restore and Fold/Unfold buttons (accessible labels and tooltips), like LeetCode. + - Folded tabsets in side-by-side rows show their tab bar as a rotated vertical strip with the toolbar at the bottom; in stacked rows they shrink to their tab bar. + - Double-click a tab bar to maximize/restore; Alt/Option + `+` maximizes and Alt/Option + `-` folds the last touched tabset. + - New props: `enableMaximize`, `enableCollapse`, `enableDoubleClickMaximize`, `keyboardShortcuts`, and `TabsetToolbar` to replace the toolbar. + - Starting a drag while maximized restores the layout first; locked bonds next to folded tabsets ignore the pointer. + +### Patch Changes + +- Updated dependencies [[`4f01ca4`](https://github.com/xcode-studio/dynamix-layout/commit/4f01ca47e0ec6c28e68b157b2b2bed1522b92d0f)]: + - @dynamix-layout/core@1.2.0 + ## 1.0.3 ### Patch Changes diff --git a/packages/solid/package.json b/packages/solid/package.json index 585ad06..199829f 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@dynamix-layout/solid", - "version": "1.0.3", + "version": "1.1.0", "description": "A powerful SolidJS component for creating dynamic, resizable, and draggable layouts.", "keywords": [ "solid",