alistair3149
e124e8170a
feat: do not animate indicator when scrolling
2022-10-23 18:06:52 -04:00
alistair3149
ce35fb8908
refactor: reduce variable scope
2022-10-23 17:33:39 -04:00
alistair3149
656f3967f9
refactor: use aria attribute instead of class to select panels
2022-10-23 17:11:18 -04:00
alistair3149
9349bc334e
refactor: use aria attribute instead of class to select tabs
2022-10-23 17:07:19 -04:00
alistair3149
1cb5cfb6c7
fix: indicator should not expand header height
2022-10-22 16:38:46 -04:00
alistair3149
852256a75d
fix: typo in variable
2022-10-21 23:10:38 -04:00
alistair3149
57257cd1ba
refactor: simpler indicator update
...
False alert, no need to use IntersectionObserver so yeahhh
2022-10-21 23:07:56 -04:00
alistair3149
62cb545642
fix: indicator should be visible for nested tabs
...
This commit also drops support for IE. The script will be rewritten in ES6 and bumping MW requirement
2022-10-21 22:43:14 -04:00
alistair3149
f1e0df2112
feat: separate indicator from active tab
...
This will allow us to animate the indicator separately.
Which will be needed to make the indicator scroll with the panel.
2022-10-21 18:01:48 -04:00
github-actions
096ef941ce
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-10-21 19:55:17 +00:00
alistair3149
cb1dbb239f
chore: ci cleanup
2022-10-21 15:54:44 -04:00
alistair3149
1ff78cd0b2
feat: add scroll snap to section
...
This is required for anchor links to scroll to the correct tab.
However this might re-trigger the bug mentioned in #47 and #38 ,
need some alternative to fix those.
2022-10-21 15:54:24 -04:00
dependabot[bot]
767ac2ee28
build(deps): bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 ( #67 )
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.10.1...0.11.0 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 23:27:55 -04:00
dependabot[bot]
77ff19d09f
build(deps-dev): update mediawiki/mediawiki-phan-config requirement ( #66 )
...
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-phan-config ) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-phan-config/releases )
- [Changelog](https://github.com/wikimedia/mediawiki-phan-config/blob/master/HISTORY.md )
- [Commits](https://github.com/wikimedia/mediawiki-phan-config/compare/0.11.1...0.12.0 )
---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 22:50:51 -04:00
dependabot[bot]
5217b356d8
build(deps): bump tj-actions/changed-files from 31 to 32 ( #65 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 31 to 32.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v31...v32 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 08:59:14 -04:00
dependabot[bot]
72dbdf820c
build(deps): bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 ( #64 )
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.10.0...0.10.1 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 13:21:55 -04:00
alex4401
787fede532
fix: jumping to a tabber when no hash specified ( #63 )
...
Sorry for this oversight on my end.
2022-09-29 02:13:56 -04:00
alistair3149
f9983fb7a0
build: bump to 1.7.3
2022-09-28 09:55:11 -04:00
alex4401
5b4f9adc15
feat: scroll target hash tabber into view ( #62 )
...
This might not happen automatically to a simple race condition: browser may try to look up the anchor before the extension initialises.
2022-09-28 09:53:14 -04:00
dependabot[bot]
8c5ab665d4
build(deps): bump tj-actions/changed-files from 25 to 31 ( #60 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 25 to 31.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v25...v31 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 09:51:46 -04:00
dependabot[bot]
05cc991b2c
build(deps-dev): bump stylelint-config-idiomatic-order ( #61 )
...
Bumps [stylelint-config-idiomatic-order](https://github.com/ream88/stylelint-config-idiomatic-order ) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/ream88/stylelint-config-idiomatic-order/releases )
- [Commits](https://github.com/ream88/stylelint-config-idiomatic-order/commits )
---
updated-dependencies:
- dependency-name: stylelint-config-idiomatic-order
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 09:51:37 -04:00
dependabot[bot]
1f2a3382e0
build(deps-dev): bump eslint-config-wikimedia from 0.22.1 to 0.23.0 ( #43 )
...
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia ) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.22.1...v0.23.0 )
---
updated-dependencies:
- dependency-name: eslint-config-wikimedia
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 18:39:54 -04:00
dependabot[bot]
9f0af65c4c
build(deps): bump tj-actions/changed-files from 24 to 25 ( #45 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 24 to 25.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v24...v25 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 18:39:45 -04:00
chixvv1
d70049f67b
fix: one pixel offset on tab panels ( #47 )
2022-08-13 18:38:49 -04:00
dependabot[bot]
2446821f1a
build(deps-dev): bump grunt-banana-checker from 0.9.0 to 0.10.0 ( #37 )
...
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/wikimedia/banana-checker/releases )
- [Changelog](https://github.com/wikimedia/banana-checker/blob/master/History.md )
- [Commits](https://github.com/wikimedia/banana-checker/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: grunt-banana-checker
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:26:36 -04:00
dependabot[bot]
a90f944a22
build(deps-dev): bump stylelint-config-wikimedia from 0.13.0 to 0.13.1 ( #42 )
...
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:26:27 -04:00
dependabot[bot]
337d0362a4
build(deps): bump tj-actions/changed-files from 23.1 to 24 ( #40 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 23.1 to 24.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v23.1...v24 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-01 11:26:18 -04:00
alistair3149
0e69defa31
fix: allow composer/installers in ci
2022-08-01 11:25:21 -04:00
translatewiki.net
57ed13877c
Localisation updates from https://translatewiki.net .
2022-08-01 13:12:33 +02:00
alistair3149
6a40de7b37
feat: do not set title attribute for tab panel
...
This should prevent tooltip from showing up when hovering over the tab panel container. Title doesn't really do much accessibility wise since ARIA attributes are already set
2022-07-06 03:07:17 -04:00
dependabot[bot]
1d26cfd9ef
build(deps): bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 ( #33 )
...
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases )
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.9.1...0.10.0 )
---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 17:31:10 -04:00
alistair3149
b1f339e58c
build: bump to 1.7.2
2022-06-29 17:24:25 -04:00
alistair3149
831eeee16c
refactor: use proper extension namespaces
2022-06-29 17:22:14 -04:00
alistair3149
380d52e24c
fix: more accurate selector for duplicated MF images
2022-06-29 17:14:55 -04:00
alistair3149
047ba17d1b
fix: hide duplicate images generated by MobileFrontend
...
When a thumb is placed inside tabber under an article section, MobileFrontend duplicates
the image for some reason. So the hacky way to fix this is to hide the duplicated image.
Since it is an upstream issue, there are not much I can do.
Closes : #2
2022-06-29 17:01:57 -04:00
dependabot[bot]
bba0f8bb65
build(deps): bump tj-actions/changed-files from 22 to 23.1 ( #32 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 22 to 23.1.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v22...v23.1 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-25 15:38:58 -04:00
alistair3149
6b530290a4
build: bump to 1.7.1
2022-06-18 20:02:46 -04:00
alistair3149
7762a0e9f4
fix: panel should adjust to content height
2022-06-18 20:02:26 -04:00
translatewiki.net
2ee397c829
Localisation updates from https://translatewiki.net .
2022-06-16 13:13:39 +02:00
alistair3149
8ab7b8330d
fix: tab panel going out of bound
2022-06-16 00:36:05 -04:00
translatewiki.net
b1fa077f46
Localisation updates from https://translatewiki.net .
2022-06-13 13:13:10 +02:00
translatewiki.net
9debebe3eb
Localisation updates from https://translatewiki.net .
2022-06-09 13:11:51 +02:00
alistair3149
04d0b84d4b
build: bump to 1.7.0
2022-06-05 15:19:30 -04:00
ArdWar
52baab566b
feat: allow for identical tab header ( #28 )
2022-06-05 15:16:48 -04:00
github-actions
05cfd51669
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-06-05 19:14:03 +00:00
ArdWar
9535181261
perf: revert back to recursiveTagParse() ( #27 )
...
* fix unnecessary whitespace trim on tab content
* use recursiveTagParse() to lessen unstrip size
2022-06-05 15:13:24 -04:00
alistair3149
122df779e7
feat: add config to toggle Tabber animation and default to false
...
Add a config to enable/disable Tabber scrolling animation.
It is currently default to false as smooth scrolling is broken on Safari,
as tabs would not scroll at all with it on. It is an upstream browser bug
that is being tracked here: https://bugs.webkit.org/show_bug.cgi?id=238497
2022-06-03 16:46:42 -04:00
dependabot[bot]
45dc6fa00d
build(deps): bump tj-actions/changed-files from 21 to 22 ( #26 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 21 to 22.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v21...v22 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-31 19:56:05 -04:00
alistair3149
043e47e2c9
build: bump to 1.6.1
2022-05-31 03:22:20 -04:00
auburnsummer
e54a313de4
fix: run script after document is ready ( #25 )
...
* Wait until document ready before main
* More robust ready state handling
Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2022-05-31 03:21:17 -04:00