Commit graph

438 commits

Author SHA1 Message Date
translatewiki.net e6716910ce
Localisation updates from https://translatewiki.net. 2024-09-19 14:11:00 +02:00
alistair3149 6994c2d641
ci(lint): sync workflow with current standard 2024-09-04 16:14:55 -04:00
alistair3149 ea1c1e97e0
build: release 2.5.0 (#174) 2024-08-31 20:09:28 -04:00
alistair3149 3d86ed5baa
feat: include Codex CSS variables in Tabber variables 2024-08-31 20:03:38 -04:00
Eamon Heffernan 795c76b4bd
fix: ensure that the active tab is set before the tabber event is initialized (#173)
Closes: #167, #172
2024-08-31 19:57:41 -04:00
dependabot[bot] 7c86a299b2
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#169)
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v43.0.0...v44.0.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 19:50:11 -04:00
dependabot[bot] 57c87d4012
build(deps-dev): bump @wikimedia/codex from 1.9.0 to 1.11.1 (#170)
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/) from 1.9.0 to 1.11.1.

---
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-08-31 19:50:04 -04:00
dependabot[bot] 29c1fdbf9c
build(deps): bump tj-actions/changed-files from 44 to 45 (#171)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44 to 45.
- [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/v44...v45)

---
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>
2024-08-31 19:49:58 -04:00
translatewiki.net cf48c11c15
Localisation updates from https://translatewiki.net. 2024-08-15 14:11:31 +02:00
alistair3149 57d3425792
build: release 2.4.0 (#164) 2024-07-17 13:07:49 -04:00
dependabot[bot] fa23c51ada
build(deps-dev): bump oojs-ui from 0.50.3 to 0.50.4 (#163)
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI) from 0.50.3 to 0.50.4.

---
updated-dependencies:
- dependency-name: oojs-ui
  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-07-17 13:06:31 -04:00
dependabot[bot] f6cc69ba56
build(deps-dev): bump @wikimedia/codex from 1.8.0 to 1.9.0 (#162)
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/) from 1.8.0 to 1.9.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-07-17 13:06:09 -04:00
Jayden 2f7e652e28
fix: incorrect conditions for shouldShowAnimation (#165) 2024-07-17 13:04:52 -04:00
alistair3149 2037cf38eb
feat: add print styles 2024-07-14 17:55:13 -04:00
alistair3149 1d71c288b4
build: release 2.3.0 (#159) 2024-07-03 17:50:05 -04:00
alistair3149 1e5ad6592b
fix: prevent browser from scrolling to the tab before Tabber updates the aria attributes
Fixes: #161
2024-07-03 17:49:19 -04:00
dependabot[bot] 14becfd4a6
build(deps-dev): bump oojs-ui from 0.50.2 to 0.50.3 (#160)
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI) from 0.50.2 to 0.50.3.

---
updated-dependencies:
- dependency-name: oojs-ui
  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-07-03 13:35:29 -04:00
alistair3149 421c42b6f0
feat: change tab when URL hash matches one of the tabs
Added an event listener to watch for hash change after the page is loaded.
If the hash matches a tabber tab, it will emit a tab click to switch the tab.

Closes: #150
2024-07-03 13:26:16 -04:00
alistair3149 d453adde07
fix: URL hash should be escaped when used as selector 2024-07-03 13:09:11 -04:00
alistair3149 3bacdb7c87
fix: square brackets should be correctly rendered in tab names
Removing some of the legacy string replace code that is used to get around wikitext formatting.
It is not needed anymore.

Fixes: #158
2024-07-02 22:03:36 -04:00
dependabot[bot] 90fa41594a
build(deps-dev): bump oojs-ui from 0.50.0 to 0.50.2 (#157)
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI) from 0.50.0 to 0.50.2.

---
updated-dependencies:
- dependency-name: oojs-ui
  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-07-02 21:54:14 -04:00
dependabot[bot] 1bbab622a8
build(deps-dev): bump @wikimedia/codex from 1.7.0 to 1.8.0 (#154)
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/) from 1.7.0 to 1.8.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-07-02 21:54:09 -04:00
translatewiki.net 53659ab377
Localisation updates from https://translatewiki.net. 2024-07-01 14:12:39 +02:00
translatewiki.net c4f3f34714
Localisation updates from https://translatewiki.net. 2024-06-27 14:12:38 +02:00
alistair3149 eeb36b9fbc
build: release 2.2.4 (#153) 2024-06-23 16:37:25 -04:00
alistair3149 7e92502c16
fix: escape new line character properly 2024-06-23 16:37:11 -04:00
alistair3149 c33e2c6686
build: release 2.2.3 (#152) 2024-06-23 16:31:21 -04:00
alistair3149 f4f8b4bfce
fix: add new lines to parsed tab content to ensure content are parsed as expected
Fixes: #151
2024-06-23 16:30:52 -04:00
alistair3149 ee54cc1bb3
perf: set active tab by hash on builder phase
Instead of setting first tab as the initial active tab the set the active tab from the URL,
just set it from the beginning. This can save a lot of code and makes it more maintainable.
2024-06-23 16:28:29 -04:00
alistair3149 05e95d880d
perf: only attach resize observer for active tabpanel when it is in viewport 2024-06-23 15:38:27 -04:00
alistair3149 72adfbc74e
fix: attach resize observer properly to current active tabpanel
This should finally fix #137
2024-06-23 15:31:44 -04:00
dependabot[bot] 1206febd04
build(deps-dev): bump eslint-plugin-no-jquery from 3.0.1 to 3.0.2 (#149)
Bumps [eslint-plugin-no-jquery](https://github.com/wikimedia/eslint-plugin-no-jquery) from 3.0.1 to 3.0.2.
- [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.1...v3.0.2)

---
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-21 17:22:33 -04:00
alistair3149 53a1ed7887
build: release 2.2.2 (#140) 2024-06-20 15:04:33 -04:00
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