alistair3149
8a88a43d58
fix: make sure that init functions are run sequentially
...
Also fix the bug where the page does not scroll to the active tab on load by href.
It was introduced with the commit related to #133 .
Closes : #148
2024-06-20 14:44:20 -04:00
dependabot[bot]
e42916151c
build(deps-dev): bump eslint-plugin-no-jquery from 3.0.0 to 3.0.1 ( #144 )
...
Bumps [eslint-plugin-no-jquery](https://github.com/wikimedia/eslint-plugin-no-jquery ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/wikimedia/eslint-plugin-no-jquery/releases )
- [Changelog](https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/Changelog.md )
- [Commits](https://github.com/wikimedia/eslint-plugin-no-jquery/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-no-jquery
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>
2024-06-20 13:42:29 -04:00
dependabot[bot]
d876a850be
build(deps-dev): bump oojs-ui from 0.49.2 to 0.50.0 ( #145 )
...
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI ) from 0.49.2 to 0.50.0.
---
updated-dependencies:
- dependency-name: oojs-ui
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>
2024-06-20 13:42:00 -04:00
dependabot[bot]
80eb529913
build(deps-dev): bump eslint-config-wikimedia from 0.28.0 to 0.28.2 ( #147 )
...
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia ) from 0.28.0 to 0.28.2.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.28.0...v0.28.2 )
---
updated-dependencies:
- dependency-name: eslint-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>
2024-06-20 13:41:52 -04:00
dependabot[bot]
c2e6dc538f
build(deps-dev): bump @wikimedia/codex from 1.6.1 to 1.7.0 ( #146 )
...
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/ ) from 1.6.1 to 1.7.0.
---
updated-dependencies:
- dependency-name: "@wikimedia/codex"
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>
2024-06-20 13:41:44 -04:00
dependabot[bot]
de2b891807
build(deps-dev): bump stylelint-config-wikimedia from 0.17.1 to 0.17.2 ( #142 )
...
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia ) from 0.17.1 to 0.17.2.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.17.1...v0.17.2 )
---
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>
2024-06-20 13:41:28 -04:00
alistair3149
35ffe555c0
perf: merge activeTabpanel resize observer into the main resizeObserver
2024-06-07 14:53:48 -04:00
alistair3149
a414d2df70
perf: only use one resizeObserver for header overflow
2024-06-07 14:20:41 -04:00
dependabot[bot]
7af1a75e2d
build(deps-dev): bump eslint-plugin-no-jquery from 2.7.0 to 3.0.0 ( #139 )
...
Bumps [eslint-plugin-no-jquery](https://github.com/wikimedia/eslint-plugin-no-jquery ) from 2.7.0 to 3.0.0.
- [Release notes](https://github.com/wikimedia/eslint-plugin-no-jquery/releases )
- [Changelog](https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/Changelog.md )
- [Commits](https://github.com/wikimedia/eslint-plugin-no-jquery/compare/v2.7.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-no-jquery
dependency-type: direct:development
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>
2024-06-07 11:41:56 -04:00
alistair3149
272b507c6c
build: release 2.2.1 ( #134 )
2024-06-06 18:29:13 -04:00
alistair3149
0177715f2b
fix: use resizeObserver on active tabpanel instead
2024-06-06 16:54:31 -04:00
alistair3149
8b39e9e970
fix: refresh Tabber height when it comes into viewport
...
Fixes : #137
2024-06-06 15:07:55 -04:00
dependabot[bot]
15f90d6760
build(deps-dev): bump stylelint-config-wikimedia from 0.16.1 to 0.17.1 ( #138 )
...
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia ) from 0.16.1 to 0.17.1.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.16.1...v0.17.1 )
---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
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>
2024-06-06 14:45:34 -04:00
translatewiki.net
4e6ed3e9f6
Localisation updates from https://translatewiki.net .
2024-06-06 14:13:43 +02:00
dependabot[bot]
510e5817e5
build(deps-dev): bump eslint-config-wikimedia from 0.27.0 to 0.28.0 ( #136 )
...
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia ) from 0.27.0 to 0.28.0.
- [Release notes](https://github.com/wikimedia/eslint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/eslint-config-wikimedia/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/eslint-config-wikimedia/compare/v0.27.0...v0.28.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-04 14:50:31 -04:00
alistair3149
d150b9e3e9
fix: prepend tabber ID with prefix to avoid conflict with existing header
2024-06-03 13:21:04 -04:00
translatewiki.net
d4fd1d2f6e
Localisation updates from https://translatewiki.net .
2024-06-03 14:13:25 +02:00
alistair3149
82328dbeca
build: release 2.2.0 ( #130 )
2024-06-02 14:21:56 -04:00
alistair3149
0904298948
feat: add screen reader text to navigation button
2024-06-02 14:02:34 -04:00
alistair3149
7e921a4a3a
fix: set tabindex -1 on hidden tabs
2024-06-02 14:00:36 -04:00
alistair3149
ac27855dec
feat: add home and end key shortcuts on tablist
2024-06-02 13:53:44 -04:00
alistair3149
20e88b8b5a
fix: incorrect tab colors
2024-06-02 13:53:44 -04:00
dependabot[bot]
902550eccf
build(deps-dev): bump @wikimedia/codex from 1.6.0 to 1.6.1 ( #131 )
...
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/ ) from 1.6.0 to 1.6.1.
---
updated-dependencies:
- dependency-name: "@wikimedia/codex"
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>
2024-05-31 12:54:44 -04:00
dependabot[bot]
dc647f02ec
build(deps-dev): bump @wikimedia/types-wikimedia from 0.4.3 to 0.4.4 ( #132 )
...
Bumps [@wikimedia/types-wikimedia](https://github.com/wikimedia/typescript-types ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/wikimedia/typescript-types/releases )
- [Commits](https://github.com/wikimedia/typescript-types/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: "@wikimedia/types-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>
2024-05-31 09:36:32 -04:00
alistair3149
ceb719d83a
chore: use starcitizentools as vendor in composer
2024-05-27 18:32:02 -04:00
alistair3149
ef75abb854
build: release 2.1.1 ( #129 )
2024-05-26 22:31:36 -04:00
alistair3149
def11349b1
fix: do not unobserve tabber
2024-05-26 22:29:20 -04:00
alistair3149
dfff2946c1
refactor: use CSS variables
2024-05-26 21:54:52 -04:00
alistair3149
2819ba83a9
perf: detach event listeners when not needed
2024-05-26 21:54:17 -04:00
alistair3149
783199016d
refactor: remove unnessecary styles
2024-05-26 17:17:26 -04:00
alistair3149
032aef7989
fix: do not use passive scroll event listener for tab header
...
The buttons and indicator are all depending on it
2024-05-25 23:00:06 -04:00
alistair3149
751c106e45
build: release 2.1.0 ( #128 )
...
Note that the changelog is inaccurate because changes weren't tracked properly before.
Currently this changelog includes everything since the extension is forked.
2024-05-25 18:44:35 -04:00
alistair3149
09fe911d5c
chore: add missing release-please files
2024-05-25 18:41:41 -04:00
alistair3149
251c9b932c
chore: refactor lint workflow and add release-please
2024-05-25 18:37:43 -04:00
alistair3149
476af1352b
refactor: separate classes into other files
2024-05-25 16:38:57 -04:00
alistair3149
bbde0ae7bd
feat: add keyboard navigation to tabs
2024-05-25 16:20:59 -04:00
alistair3149
78a987d7c1
refactor: drop spread syntax for iterating nodeList
2024-05-25 15:40:10 -04:00
alistair3149
9162321c3c
feat: avoid layout shift in init
2024-05-25 15:29:56 -04:00
alistair3149
b4b66b8172
feat: improve handling of animation
2024-05-25 15:27:47 -04:00
alistair3149
a66f6e604f
feat: use skeleton screen as transclude load animation
2024-05-25 03:40:39 -04:00
alistair3149
0a3b30504d
fix: incorrect selector for hiding tabpanel in init
2024-05-25 03:07:49 -04:00
alistair3149
8d410dfb49
refactor: use init module instead of inline style for skeleton screen
2024-05-25 03:02:18 -04:00
alistair3149
6ad24645e9
feat: use button elements instead of div for header navigations
2024-05-25 02:42:22 -04:00
alistair3149
6d09429849
fix: attach tabber--live class after tabber has finished init
2024-05-25 00:42:40 -04:00
alistair3149
c185ce037f
build: bump to 2.0.0
2024-05-25 00:36:43 -04:00
alistair3149
947a47af2e
feat: set animation to true as that bug has been resolved upstream
2024-05-25 00:36:09 -04:00
github-actions
a28816218a
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-05-25 04:33:59 +00:00
alistair3149
bb110c6d98
feat: rewrite Javascript implementation
...
To ensure easier development and maintenance, IE support is dropped to allow
modern Javascript features. The old tabber module is rewritten into newer
standard and using classes to ensure proper scoping.
2024-05-25 00:33:22 -04:00
alistair3149
9f44a9079d
build: bump to 1.9.1
2024-05-23 22:09:48 -04:00
alistair3149
177c67681e
refactor: use data-mw- prefix for data attribute
2024-05-23 22:05:28 -04:00