Commit graph

209 commits

Author SHA1 Message Date
Thomas Brouard d8ca6b74d5 Add CSS variable --close-button-visibility 2022-05-25 17:19:25 +02:00
Thomas Brouard 3746aab271 Remove tab.flash (use custom class instead) 2022-05-25 15:18:35 +02:00
Thomas Brouard 309e7bccb2 Add custom class example in demo 2022-05-25 15:14:37 +02:00
Thomas Brouard 965aabb202 Rename tab elements attributes 2022-05-25 15:09:18 +02:00
Thomas Brouard 8328cb1864 Fix tab.flash() 2022-05-25 15:08:25 +02:00
Thomas Brouard 5cf43abea8 Add local page example in demo 2022-05-25 14:51:16 +02:00
Thomas Brouard 7669877a31 Improve badge option 2022-05-25 14:44:29 +02:00
Thomas Brouard 62e90a0545 Fix tab icon vertical align 2022-05-25 14:17:10 +02:00
Thomas Brouard a0f339992d Change elements classnames 2022-05-25 12:38:53 +02:00
Thomas Brouard f9bb271506 Don't keep custom styles in window scope 2022-05-25 11:43:20 +02:00
Thomas Brouard 55e9c00d3c Use private methods in TabGroup constructor 2022-05-25 11:42:07 +02:00
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