Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
8b6274a
Update dependencies.
antoniandre Jul 14, 2024
1de535f
Update Wave UI.
antoniandre Jul 14, 2024
47d71d6
Publish documentation on Github.
antoniandre Jul 14, 2024
cea897e
Update packages.
antoniandre Aug 1, 2024
4d2b0c5
Cleanup the old Roboto font + material icons.
antoniandre Aug 1, 2024
15bcea5
Update the icons font to mdi.
antoniandre Aug 1, 2024
6c35d89
Cleanup outdated stuff.
antoniandre Aug 1, 2024
92bb30b
Update the syntax-highlighter.
antoniandre Aug 1, 2024
aca02d4
Update Eslint to the latest. :rocket:
antoniandre Aug 1, 2024
aca6c42
3.1.6
antoniandre Aug 1, 2024
c97664e
Add a new script to facilitate deployment. :rocket:
antoniandre Aug 1, 2024
0d0bd93
Add a Standard JS badge in the readme.
antoniandre Aug 2, 2024
cb01ef8
Rewrite docs with composition API.
antoniandre Aug 3, 2024
01539d5
Rewrite docs with composition API.
antoniandre Aug 3, 2024
f7889d3
Rewrite the pane component with composition API.
antoniandre Aug 3, 2024
c994a7b
Update the documentation.
antoniandre Aug 5, 2024
ad956e5
Rewrite with composition API & simplify components communication.
antoniandre Aug 6, 2024
aa4d813
Refactor everything with composition API. :boom:
antoniandre Aug 6, 2024
1564e1b
Added a new drawer example in the documentation.
antoniandre Aug 6, 2024
b4ad27b
Prevent user selection while dragging.
antoniandre Aug 9, 2024
f993966
Cleanup.
antoniandre Aug 10, 2024
2c7319b
Cleanup.
antoniandre Aug 11, 2024
27f3f43
Update dependencies.
antoniandre Jan 11, 2025
b3e2773
Fix Sass deprecations.
antoniandre Jan 11, 2025
eeb22d1
Fix Sass deprecations.
antoniandre Jan 11, 2025
48b7b35
3.1.7
antoniandre Jan 11, 2025
9708e0f
Publish documentation on Github.
antoniandre Jan 11, 2025
b127e28
3.1.6
antoniandre Jan 11, 2025
8b46d56
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 20, 2023
e0f1871
Update dependencies.
antoniandre Jul 14, 2024
276921a
Update Wave UI.
antoniandre Jul 14, 2024
a1b5595
Publish documentation on Github.
antoniandre Jul 14, 2024
10066ca
Update packages.
antoniandre Aug 1, 2024
c1c5613
Cleanup the old Roboto font + material icons.
antoniandre Aug 1, 2024
cf2215f
Update the icons font to mdi.
antoniandre Aug 1, 2024
1df3d4c
Cleanup outdated stuff.
antoniandre Aug 1, 2024
1af5187
Update the syntax-highlighter.
antoniandre Aug 1, 2024
dd4d406
Update Eslint to the latest. :rocket:
antoniandre Aug 1, 2024
49e0d89
Add a new script to facilitate deployment. :rocket:
antoniandre Aug 1, 2024
0bc18b3
Add a Standard JS badge in the readme.
antoniandre Aug 2, 2024
e394439
Rewrite docs with composition API.
antoniandre Aug 3, 2024
331fac1
Rewrite docs with composition API.
antoniandre Aug 3, 2024
d11221c
Update the documentation.
antoniandre Aug 5, 2024
10d05ea
Added a new drawer example in the documentation.
antoniandre Aug 6, 2024
e2f61e5
Cleanup.
antoniandre Jan 11, 2025
752ee64
Updated the docs highlight component styles & icons.
antoniandre Aug 14, 2024
ffa9729
Refactor to composition API.
antoniandre Aug 14, 2024
5db24a2
Update the Vite config.
antoniandre Aug 15, 2024
852b104
Update dependencies.
antoniandre Aug 16, 2024
6a886fd
Update the documentation.
antoniandre Aug 19, 2024
8cdaed2
Update the documentation.
antoniandre Aug 19, 2024
55f6d44
Update the documentation.
antoniandre Aug 19, 2024
26a0411
3.1.8
antoniandre Jan 11, 2025
4605a81
Publish documentation on Github.
antoniandre Jan 11, 2025
4145773
Update the dependencies.
antoniandre Mar 2, 2025
ab63ae4
Update SCSS and remove deprecation warnings.
antoniandre Mar 2, 2025
b298fdb
Publish documentation to Github.
antoniandre Mar 2, 2025
48d4f33
Merge branch 'main' into componsition-api
antoniandre Mar 2, 2025
6c37a47
Optimize resize handling and cleanup.
antoniandre Mar 2, 2025
d06b860
Mini-optimization.
antoniandre Mar 2, 2025
53789db
[#204] take in account the cursor position in the splitter.
antoniandre Mar 3, 2025
1cd9ca8
Cleanup.
antoniandre Mar 3, 2025
2ccc62a
Udpated Wave UI.
antoniandre Mar 4, 2025
5ea4534
Merge branch 'composition-api' into splitpanes-with-comp-api
antoniandre Mar 5, 2025
c2bffeb
Merge branch 'composition-api' into splitpanes-with-comp-api
antoniandre Mar 5, 2025
59e60e4
Merge branch 'composition-api' into splitpanes-with-comp-api
antoniandre Mar 5, 2025
211ccef
WIP: cherry-pick main component composition API refactoring into main.
antoniandre Mar 5, 2025
950fdc0
WIP: cherry-pick main component composition API refactoring into main.
antoniandre Mar 5, 2025
55bc6ca
Complete cherry-pick for main component composition API refactoring i…
antoniandre Mar 5, 2025
56f3345
Fix resizing pane beyond constraints.
antoniandre Mar 5, 2025
08874f7
3.2.0
antoniandre Mar 5, 2025
24a7169
Update the documentation.
antoniandre Mar 5, 2025
9b35f03
Publish documentation on Github.
antoniandre Mar 5, 2025
b25d762
Emit splitter-dblclick on splitter dblclick event. (#120, #181, 182, …
antoniandre Mar 6, 2025
cf55564
Updated the documentation.
antoniandre Mar 6, 2025
38b0f91
Updated the documentation.
antoniandre Mar 6, 2025
61ba67e
4.0.0
antoniandre Mar 6, 2025
1e9c63b
Publish documentation on Github.
antoniandre Mar 6, 2025
aced6cb
Updated the test case.
antoniandre Mar 6, 2025
ae22099
fix equalizeAfterAddOrRemove() returning NaN for .size
Redpoint1 Mar 6, 2025
0f38b03
Merge pull request #230 from Redpoint1/patch-1
antoniandre Mar 7, 2025
eaf0ab9
4.0.1
antoniandre Mar 7, 2025
4576459
Publish documentation on Github.
antoniandre Mar 7, 2025
e1b73fe
Improve pane removal & prevent potential memory leaks.
antoniandre Mar 8, 2025
c9a2779
Correctly return prevPane and nextPane in emit.
antoniandre Mar 8, 2025
57e93e9
Update the documentation.
antoniandre Mar 8, 2025
586ffd5
4.0.2
antoniandre Mar 8, 2025
134541c
Publish documentation on Github.
antoniandre Mar 8, 2025
26e569e
Performance optimization and cleanup.
antoniandre Mar 15, 2025
c99f175
Disable any pointer events in panes while dragging. #112
antoniandre Mar 15, 2025
1c462e9
4.0.3
antoniandre Mar 15, 2025
cbc3557
Publish documentation on Github.
antoniandre Mar 15, 2025
eaf152b
fix
clemvnt Apr 7, 2025
71f4e77
Update the dev dependencies.
antoniandre May 23, 2025
e8a6ee2
Prevent selection on drag. #244
antoniandre May 23, 2025
3767719
Added will-change CSS rule for GPU optimization. #238
antoniandre May 23, 2025
7874f4b
4.0.4
antoniandre May 23, 2025
c9b1d7c
Publish documentation on Github.
antoniandre May 23, 2025
ad695e1
Update package.json and pnpm-lock.yaml for dependency upgrades and ch…
antoniandre May 26, 2026
d7b656b
Merge pull request #237 from clemvnt/fix-pane-click
antoniandre May 26, 2026
59e6bda
Add typescript definitions. #247
antoniandre May 26, 2026
37d935c
Merge branch 'main' of github.com:antoniandre/splitpanes
antoniandre May 26, 2026
e5462a9
Move the release notes to its own component.
antoniandre May 26, 2026
d7ec4ae
Update the release notes style.
antoniandre May 26, 2026
ec25711
Cleanup scroll handler on unmounted.
antoniandre May 26, 2026
4e50c7e
Cleanup and added safe guard in equalizeAfterAddOrRemove. #251.
antoniandre May 26, 2026
8b77b35
Cleanup.
antoniandre May 26, 2026
9e30998
Added null check for splitterIndex in calculatePanesSize to prevent e…
antoniandre May 26, 2026
58b5ac6
Updat the release notes.
antoniandre May 26, 2026
170fcd7
Forward fallthrough attributes on splitpanes. #252
antoniandre May 26, 2026
0f5ea6f
Update the release notes.
antoniandre May 26, 2026
ff24eb6
Publish documentation on Github.
antoniandre May 26, 2026
575fb27
4.0.5
antoniandre May 26, 2026
a9c995c
Added accessibility controls. #250
antoniandre May 26, 2026
8ba83e3
Update the release notes.
antoniandre May 26, 2026
50abec6
4.1.0
antoniandre May 26, 2026
10b43b2
Publish documentation on Github.
antoniandre May 26, 2026
3694fa4
Correct and complete the documentation.
antoniandre May 26, 2026
9049309
Bug fixes, part 1.
antoniandre May 26, 2026
d1fa8cc
Bug fixes, part 2.
antoniandre May 26, 2026
bebb17f
Update the release notes.
antoniandre May 26, 2026
681bc10
4.1.1
antoniandre May 26, 2026
9e3fbaa
Update the release notes UI.
antoniandre May 26, 2026
5986ff7
Update the release notes.
antoniandre May 26, 2026
8ca2d97
Publish documentation on Github.
antoniandre May 26, 2026
618ed48
Publish documentation on Github.
antoniandre May 26, 2026
b860a04
Merge branch 'main' of github.com:antoniandre/splitpanes
antoniandre May 26, 2026
59231b1
Remove useless files.
antoniandre May 26, 2026
23eb54e
Fix nested routes in Github pages.
antoniandre May 26, 2026
ce6a189
Publish documentation on Github.
antoniandre May 26, 2026
0b16154
Fix nested routes in Github pages.
antoniandre May 26, 2026
85892fb
Fix dynamic import 404 on GitHub Pages caused by Jekyll filtering _-p…
antoniandre May 26, 2026
8e8a6ec
Make base path conditional so dev server stays at localhost:5173/
antoniandre May 26, 2026
9b87021
Cleanup.
antoniandre May 26, 2026
965fc97
chore: stop tracking docs build output
antoniandre May 26, 2026
bd5d545
chore: add /docs to .gitignore to exclude documentation build output.
antoniandre May 26, 2026
9c77791
chore: update Node.js version in deploy workflow and remove pnpm vers…
antoniandre May 26, 2026
6f04152
Updated the release notes in the readme.
antoniandre May 26, 2026
c54dd41
chore: update pnpm action version in deploy workflow to v5
antoniandre May 26, 2026
c1027a2
Add the current version in documentation and update release notes pri…
antoniandre May 26, 2026
e6ef6d7
Always start with the same base URL.
antoniandre May 26, 2026
8dda9d1
Bug fixes.
antoniandre May 26, 2026
7cb117b
Emit `direction-changed` on direction change. #79
antoniandre May 26, 2026
af1f306
Update the documentation and release notes.
antoniandre May 26, 2026
c13526b
Update types.
antoniandre May 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .eslintrc.js

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy to GitHub Pages

on:
push:
branches: [main]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v5
with:
node-version: 24
cache: pnpm
- run: pnpm install
- run: pnpm build
- uses: actions/upload-pages-artifact@v5
with:
path: docs

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
node_modules
/dist
/docs

# local env files
.env.local
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
[![npm](https://img.shields.io/npm/dt/splitpanes.svg)](https://www.npmjs.com/package/splitpanes)
[![npm](https://img.shields.io/npm/dw/splitpanes.svg)](https://www.npmjs.com/package/splitpanes)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

> A Vue.js reliable, simple and touch-ready panes splitter / resizer.
> Vue 3 compatible.
Expand Down Expand Up @@ -41,9 +42,8 @@ ___

## Donating

If you like this library, you can buy me a beer or [become a sponsor](https://github.com/sponsors/antoniandre)!
If you like this library, you can [buy me a beer](https://github.com/sponsors/antoniandre) or [become a sponsor](https://github.com/sponsors/antoniandre)!

[![paypal](https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif)](https://www.paypal.me/antoniandre1)
Thank you!

If you are using this library for profit business, please consider [backing me](https://github.com/sponsors/antoniandre)!
Expand All @@ -59,19 +59,25 @@ ___

## Release Notes

- __Version 2.3.0__ Support rtl direction
- __Version 2.2.0__ Add `firstSplitter` option allow `v-if` on panes and other improvements
- __Version 4.1.1__ Bug fixes: crash on fast drag, min/max enforcement, size jump, cursor disappear, `size="0"` override, Firefox text selection, init flash, panel order, nested transition
- __Version 4.1.0__ Keyboard accessibility: splitters focusable with arrow keys, `keyboard-step` prop, ARIA attributes
- __Version 4.0.5__ TypeScript definitions, null pointer safeguards, fallthrough attributes fix
- __Version 4.0.0__ Emit `splitter-dblclick` event, rename `dblClickSplitter` to `maximizePanes`, refactored emitted events
- __Version 3.2.0__ Account for cursor position when dragging, Composition API rewrite
- __Version 3.0.0__ Vue 3 support (use `splitpanes@legacy` for Vue 2)
- __Version 2.3.0__ Support RTL direction
- __Version 2.2.0__ Add `firstSplitter` option, allow `v-if` on panes and other improvements
- __Version 2.0.0__ Fix reactivity issues
- __Version 1.14.0__ Programmatically set pane size
- __Version 1.13.0__ Emit event on splitter click
- __Version 1.12.0__ Double click splitter to maximize is now an option
- __Version 1.11.0__ Persist panes size after slots changed
- __Version 1.10.0__ Add maximum size feature on panes
- __Version 1.9.0__ Emit event on resize & watch slots optional
- __Version 1.9.0__ Emit event on resize & watch slots optional
- __Version 1.8.0__ Watch slots
- __Version 1.7.0__ Double click splitter to maximize next pane
- __Version 1.6.0__ Emit events
- __Version 1.5.0__ Add default size feature on panes (max feature coming soon!)
- __Version 1.5.0__ Add default size feature on panes
- __Version 1.4.0__ Add minimum size feature on panes
- __Version 1.3.0__ Splitpanes slots are now reactive (add/remove on the fly)
- __Version 1.2.0__ Add a `default-theme` CSS class to load default theme
Expand Down
1 change: 0 additions & 1 deletion docs/assets/example-another-view.db59b8c4.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/example-home-view.ddf6dc95.js

This file was deleted.

Binary file removed docs/assets/fa-brands-400.8ea87917.woff2
Binary file not shown.
Loading