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
b7ba1bab59
Fix: run toggleTabsVisibility on tabGroup init
2022-05-25 18:28:45 +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
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
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
29165a8f34
Move to typescript
2022-05-24 23:38:25 +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
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
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
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