Commit graph

223 commits

Author SHA1 Message Date
Korbs f3e75eb9ee Remove .github folder 2024-12-05 18:28:40 -05:00
Korbs 39513f2c56 update 2024-12-04 20:05:56 -05:00
Thomas Brouard d43a1569e0 electron-tabs is discontinued (v. 1.0.4) 2024-01-08 17:56:10 +01:00
Thomas Brouard 64f7990641 Version 1.0.3 2023-09-06 09:19:18 +02:00
Thomas Brouard 17b6566c97 Version 1.0.2 2023-09-06 09:17:24 +02:00
Thomas Brouard 6b06e2d103
Merge pull request #193 from mdruuu/patch-1
fixed getTabByRelPosition
Closes #192
2023-09-06 09:14:24 +02:00
Unemployed Capital a01a4f00f6
fixed getTabByRelPosition
Currently, it's set at <= 0, which means going to previous tab from 2nd tab will result in an error, as it returns null. 

Changing it to < 0 fixes this issue.
2023-09-04 08:55:10 -06:00
Thomas Brouard 49525b8634 Version 1.0.1 2022-05-25 18:29:34 +02:00
Thomas Brouard b7ba1bab59 Fix: run toggleTabsVisibility on tabGroup init 2022-05-25 18:28:45 +02:00
Thomas Brouard 98dad28c52 Fix typo 2022-05-25 18:05:11 +02:00
Thomas Brouard 0bea207215 Fix README image 2022-05-25 17:38:16 +02:00
Thomas Brouard 2d47be5dcf
Merge pull request #151 from brrd/ts
Version 1.0.0

Breaking changes:

* Switched to Web Components in order to match Electron security recommendations.
* Written in TypeScript.
* Built with Parcel.
* CSS styles are now embedded in the module.
* Sortable.js is included in the bundle.
* `tab.flash()` and `tab.unflash()` methods are deprecated.
* Tab position is now 0-index based (#46).
* A lot of other things changed in the API (see README).
2022-05-25 17:33:58 +02:00
Thomas Brouard 0783f51966 Version 1.0.0 2022-05-25 17:22:49 +02:00
Thomas Brouard 87c72a0df9 Update README 2022-05-25 17:21:54 +02:00
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