Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 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
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
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.

1 change: 1 addition & 0 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
1 change: 1 addition & 0 deletions docs/assets/_plugin-vue_export-helper-DlAUqK2U.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};
1 change: 1 addition & 0 deletions docs/assets/example-another-view-BueBJawE.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/assets/example-another-view.db59b8c4.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/example-home-view-D1_8HrmC.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.
3,717 changes: 0 additions & 3,717 deletions docs/assets/fa-brands-400.a3b98177.svg

This file was deleted.

Binary file removed docs/assets/fa-brands-400.cda59d6e.ttf
Binary file not shown.
Binary file removed docs/assets/fa-brands-400.e4299464.eot
Binary file not shown.
Binary file removed docs/assets/fa-brands-400.f9217f66.woff
Binary file not shown.
469 changes: 469 additions & 0 deletions docs/assets/index-B9XE5B_l.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/assets/index-M_t6aUyX.css

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions docs/assets/index.e8f83686.css

This file was deleted.

330 changes: 0 additions & 330 deletions docs/assets/index.ea9cf117.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/isolated-test-view-DcrGDZFU.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/assets/isolated-test-view.3ba808b3.js

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 2 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@
<meta itemprop="name" content="Splitpanes - Documentation">
<meta itemprop="description" content="A Vue.js reliable, simple and touch-ready panes splitter / resizer.">
<title>Splitpanes</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700|Material+Icons">
<script type="module" crossorigin src="/splitpanes/assets/index.ea9cf117.js"></script>
<link rel="stylesheet" href="/splitpanes/assets/index.e8f83686.css">
<script type="module" crossorigin src="/splitpanes/assets/index-B9XE5B_l.js"></script>
<link rel="stylesheet" crossorigin href="/splitpanes/assets/index-M_t6aUyX.css">
</head>
<body>
<noscript>
<strong>We're sorry but the Splitpanes documentation doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<a name="top"></a>
<div id="app"></div>

</body>
</html>
31 changes: 31 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import globals from 'globals'
import pluginJs from '@eslint/js'
import pluginVue from 'eslint-plugin-vue'
import importPlugin from 'eslint-plugin-import'
import nPlugin from 'eslint-plugin-n'
import promisePlugin from 'eslint-plugin-promise'
import standard from 'eslint-config-standard'

export default [
{ files: ['**/*.{js,mjs,cjs,vue}'] },
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
{
name: 'standard',
rules: standard.rules,
plugins: {
import: importPlugin,
n: nPlugin,
promise: promisePlugin
}
},
...pluginVue.configs['flat/essential'],
{
rules: {
'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/multi-word-component-names': 'off'
}
}
]
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<meta itemprop="name" content="Splitpanes - Documentation">
<meta itemprop="description" content="A Vue.js reliable, simple and touch-ready panes splitter / resizer.">
<title>Splitpanes</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700|Material+Icons">
</head>
<body>
<noscript>
Expand Down
52 changes: 29 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "splitpanes",
"version": "3.1.5",
"version": "4.0.4",
"description": "A Vue.js reliable, simple and touch-ready panes splitter / resizer",
"author": "Antoni Andre <antoniandre.web@gmail.com>",
"homepage": "https://antoniandre.github.io/splitpanes",
Expand Down Expand Up @@ -36,28 +36,34 @@
"scripts": {
"dev": "vite",
"build": "vite build --base /splitpanes/",
"build-bundle": "BUNDLE=true vite build && mv ./dist/style.css ./dist/splitpanes.css",
"serve": "vite preview --base /splitpanes/"
"build-bundle": "BUNDLE=true vite build",
"serve": "vite preview --base /splitpanes/",
"publish-doc": "npm run build && npm run build-bundle && git add . && git commit -m 'Publish documentation on Github.' && git push && git push --tag"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.4",
"@vitejs/plugin-vue": "^3.1.2",
"@vue/compiler-sfc": "^3.2.41",
"autoprefixer": "^10.4.12",
"eslint": "^8.0.1",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-vue": "^9.6.0",
"postcss": "^8.4.18",
"pug": "^3.0.2",
"rollup-plugin-delete": "^2.0.0",
"sass": "^1.55.0",
"simple-syntax-highlighter": "^2.2.5",
"vite": "^3.1.8",
"vue": "^3.2.41",
"vue-router": "^4.1.6",
"wave-ui": "^2.43.2"
}
"@eslint/js": "^9.27.0",
"@mdi/font": "^7.4.47",
"@vitejs/plugin-vue": "^5.2.4",
"autoprefixer": "^10.4.21",
"eslint": "^9.27.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.18.0",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-vue": "^9.33.0",
"globals": "^16.1.0",
"postcss": "^8.5.3",
"pug": "^3.0.3",
"rollup-plugin-delete": "^3.0.1",
"sass": "^1.89.0",
"simple-syntax-highlighter": "^3.1.1",
"vite": "^6.3.5",
"vue": "^3.5.14",
"vue-router": "^4.5.1",
"wave-ui": "^3.21.1"
},
"peerDependencies": {
"vue": "^3.2.0"
},
"packageManager": "pnpm@10.0.0"
}
Loading