Commit graph

198 commits

Author SHA1 Message Date
Thomas Brouard 5fc15ab42b Use 0-based index in tab positions (fixes #46) 2022-05-25 10:53:37 +02:00
Thomas Brouard 15812d2e1f Avoid TS error with parcel "bundle-text:" scheme 2022-05-25 09:49:58 +02:00
Thomas Brouard 5728713eec Fix electron-tabs.d.ts generation 2022-05-25 09:44:48 +02:00
Thomas Brouard 4b89b80a11 Rm unused dependency 2022-05-24 23:48:38 +02:00
Thomas Brouard 29165a8f34 Move to typescript 2022-05-24 23:38:25 +02:00
Thomas Brouard a556590aa8 Delete old draggable scripts 2022-05-24 15:15:57 +02:00
Thomas Brouard a1a7bf7259 Use CSS custom properties 2022-05-24 12:29:03 +02:00
Thomas Brouard 6a3cc4f7c6 Support custom styles 2022-05-24 10:49:24 +02:00
Thomas Brouard d0df158fcf Fix ready event (closes #117) 2022-05-24 10:05:04 +02:00
Thomas Brouard d911073418 Update screenshot 2022-05-24 09:27:42 +02:00
Thomas Brouard 5e890562df Fix active tab style 2022-05-24 09:24:39 +02:00
Thomas Brouard 3dddb2db94 Rename draggable into sortable 2022-05-24 09:19:00 +02:00
Thomas Brouard c6e5b4a385 Move from dragula to sortablejs 2022-05-24 09:16:18 +02:00
Thomas Brouard a34efab009 Create a draggable version of the script (broken) 2022-05-24 08:58:07 +02:00
Thomas Brouard 6d99c03ac6 Improve tab styles 2022-05-23 23:56:31 +02:00
Thomas Brouard 7f4e2e91dd Change demo 2022-05-23 23:56:22 +02:00
Thomas Brouard 3fe56e56ba Fix new tab feature 2022-05-23 23:18:52 +02:00
Thomas Brouard 718be68e38 Add setNewTab() method 2022-05-23 19:17:47 +02:00
Thomas Brouard fad70427d5 Remove nodeIntegration requirement 2022-05-23 19:17:06 +02:00
Thomas Brouard b84d2a9553 Move to ESLint 2022-05-23 19:00:39 +02:00
Thomas Brouard 5e7928e5bb Build with Parcel 2022-05-23 18:46:45 +02:00
Thomas Brouard 52e2ede9bd Move to web components 2022-05-23 18:10:29 +02:00
Thomas Brouard 5788ab3455 Version 0.17.0 2022-03-23 22:01:34 +01:00
Thomas Brouard a9894e6fd3
Merge pull request #147 from MCMicS/bug/146_EventEmitter
add once to EventEmitter
2022-03-23 22:00:38 +01:00
mcmics a97406d712
fixes #146: add once to EventEmitter 2022-03-23 20:44:55 +01:00
Thomas Brouard b776b2f3cb Version 0.16.0 2022-03-23 08:54:41 +01:00
Thomas Brouard d0fcb23e38
Merge pull request #144 from MCMicS/feature/electron17
Demo: upgrade to electron 17.1.2
2022-03-23 08:45:08 +01:00
mcmics 4cdab4016c
Demo: upgrade to electron 17.1.2 2022-03-22 20:07:09 +01:00
Thomas Brouard 969abae6a3
Merge pull request #140 from jsbyysheng/master
Fix TypeScript compile error with Electron
2022-03-07 10:30:24 +01:00
jsbyysheng 6224992453
Fix TypeScript compile error with Electron
`WebviewTag` is no longer defined in `electron` module, fix for 
```
node_modules/electron-tabs/index.d.ts:2:9 - error TS2305: Module '"electron"' has no exported member 'WebviewTag'.

2 import {WebviewTag} from 'electron';
```
2022-03-06 12:54:03 +08:00
Thomas Brouard 8a6e0f6d57
Merge pull request #137 from cxgreat2014/patch-1
Fix README dragula css link
2022-02-23 10:52:21 +01:00
cxgreat2014 01d410ac16
Fix README dragula css link 2022-02-23 00:30:01 +08:00
Thomas Brouard f29c5b00ae Keep nodeIntegration requirement (#120) 2021-07-19 13:32:15 +02:00
Thomas Brouard 4bb0726106 Commit package-lock.json 2021-07-19 13:11:32 +02:00
Thomas Brouard 55d1f1a492
Merge pull request #120 from toddtarsi/work-without-node-anything
feat: work without any nodeIntegration requirements
2021-07-19 12:54:12 +02:00
toddtarsi 0d130bb212
resetting let to var 2021-07-18 22:11:18 -05:00
Todd Tarsi 2b8e506f5a feat: work without any nodeIntegration requirements 2021-05-23 20:09:47 -05:00
Thomas Brouard 986f762ae1 Disable blank issues 2020-11-11 10:22:26 +01:00
Thomas Brouard d86b597797 Update issue templates 2020-11-11 10:19:53 +01:00
Thomas Brouard 38444e6641 Bump version 0.15.0 2020-03-12 21:58:45 +01:00
Thomas Brouard a15110a2bb Add tab.hasClass() method 2020-03-12 21:56:23 +01:00
Thomas Brouard 16d13ed95d Bump version 0.14.0 2020-03-10 22:45:23 +01:00
Thomas Brouard a34fc68469 Add a way to abort closing (#53) 2020-03-10 22:38:20 +01:00
Thomas Brouard 601c7fc24c Fix demo appname 2020-03-10 21:53:22 +01:00
Thomas Brouard 52b6506c57 Add visibilityThreshold option 2020-03-10 21:46:55 +01:00
Thomas Brouard fd330d3895 Bump version 0.13.0 2020-02-28 10:36:29 +01:00
Thomas Brouard 4cbbdbc033 Add "webview-dom-ready" event 2020-02-28 10:33:20 +01:00
Thomas Brouard b866d47157 Correctly handle webview bool attributes (fix #99) 2020-02-28 10:21:33 +01:00
Thomas Brouard 05b8d9b689 Update issue template 2020-02-28 10:09:06 +01:00
Thomas Brouard b68624a603 Preserve scroll Y pos when tab hidden (fix #100) 2020-02-28 10:08:52 +01:00