Commit graph

230 commits

Author SHA1 Message Date
99ee9e680c update 2024-12-07 19:49:40 -05:00
c78c6117b6 update 2024-12-05 18:29:40 -05:00
6d6a0fd6d1 update 2024-12-05 18:29:33 -05:00
b88ad597da Update packages, update link 2024-12-05 18:29:28 -05:00
e4f729b2b0 Update links 2024-12-05 18:29:20 -05:00
7c2d8301d0 Update target to 2023 2024-12-05 18:29:08 -05:00
68011a8ce0 Switch to MIT NON-AI license 2024-12-05 18:28:53 -05:00
f3e75eb9ee Remove .github folder 2024-12-05 18:28:40 -05:00
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