Commit graph

372 commits

Author SHA1 Message Date
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
alistair3149 7c760e9593
refactor: make some function reusuable
Plus various improvements and docs
2024-05-23 21:57:55 -04:00
dependabot[bot] 89a2ec7605
build(deps-dev): update mediawiki/minus-x requirement (#126)
Updates the requirements on [mediawiki/minus-x](https://github.com/wikimedia/mediawiki-tools-minus-x) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-minus-x/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-minus-x/compare/1.1.1...1.1.3)

---
updated-dependencies:
- dependency-name: mediawiki/minus-x
  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-05-23 20:10:37 -04:00
dependabot[bot] d2eaab9fa4
build(deps-dev): bump grunt-banana-checker from 0.11.1 to 0.13.0 (#127)
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker) from 0.11.1 to 0.13.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/commits)

---
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>
2024-05-17 09:52:22 -04:00
alistair3149 268010c0b1
docs: add ParseTabName config 2024-04-26 15:59:40 -04:00
alistair3149 c553eddb41
refactor: use stripOuterParagraph instead of str_replace 2024-04-24 15:18:17 -04:00
alistair3149 b172b5fab3
build: bump to 1.9.0 2024-04-24 15:14:48 -04:00
github-actions b0d52d6fd8 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-04-24 19:13:26 +00:00
alistair3149 7b1c319e24
feat: allow tab name to be parsed
This is an experimental config and can lead to performance issue and unexpected behavior.

Closes: #35
2024-04-24 15:13:08 -04:00
alistair3149 6e67dd2abb
fix: deprecate mobile target
Closes: #120
2024-04-24 14:04:06 -04:00
github-actions fcc47b044f ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-04-24 18:01:30 +00:00
alistair3149 99413c7854
fix: always round scrollLeft
Hopefully that will fix all the subpixel-related issues.

Closes: #124, #81
2024-04-24 14:01:16 -04:00
alistair3149 391002acff
ci: enable CI for PHP 8.0, 8.1, 8.2 2024-04-24 13:03:00 -04:00
alistair3149 5ae5ccc3c3
ci: allow phpcodesniffer-composer-installer 2024-04-24 13:01:19 -04:00
dependabot[bot] b460daef0e
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement (#116)
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/v41.0.0...v43.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-04-24 12:09:15 -04:00
dependabot[bot] 70e604fe9b
build(deps-dev): update mediawiki/mediawiki-phan-config requirement (#117)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.13.0...0.14.0)

---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-phan-config
  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-04-24 03:30:42 -04:00
dependabot[bot] 8a14d299c5
build(deps): bump tj-actions/changed-files from 42 to 44 (#121)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42 to 44.
- [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/v42...v44)

---
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-04-24 03:30:32 -04:00
dependabot[bot] b59332ef06
build(deps-dev): update php-parallel-lint/php-parallel-lint requirement (#122)
Updates the requirements on [php-parallel-lint/php-parallel-lint](https://github.com/php-parallel-lint/PHP-Parallel-Lint) to permit the latest version.
- [Release notes](https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases)
- [Changelog](https://github.com/php-parallel-lint/PHP-Parallel-Lint/blob/v1.4.0/CHANGELOG.md)
- [Commits](https://github.com/php-parallel-lint/PHP-Parallel-Lint/compare/v1.3.2...v1.4.0)

---
updated-dependencies:
- dependency-name: php-parallel-lint/php-parallel-lint
  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-04-24 03:30:22 -04:00
dependabot[bot] 0b25dac4b6
build(deps-dev): bump eslint-config-wikimedia from 0.26.0 to 0.27.0 (#123)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.26.0 to 0.27.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.26.0...v0.27.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-04-24 03:30:05 -04:00
alistair3149 cfe539df90
fix: incorrect RL class name 2024-02-08 14:28:57 -05:00
alistair3149 64cafa84f8
fix: deprecate old RL class 2024-02-08 01:49:29 -05:00
translatewiki.net 1805d9738b Localisation updates from https://translatewiki.net. 2024-01-29 13:15:41 +01:00
dependabot[bot] 4efeb9cf73
build(deps-dev): bump stylelint-config-idiomatic-order (#110)
Bumps [stylelint-config-idiomatic-order](https://github.com/ream88/stylelint-config-idiomatic-order) from 9.0.0 to 10.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 01:43:59 -05:00
dependabot[bot] bf5679a9d7
build(deps): bump tj-actions/changed-files from 40 to 42 (#113)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 42.
- [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/v40...v42)

---
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-01-27 01:43:45 -05:00
dependabot[bot] ccfb43352e
build(deps): bump actions/cache from 3 to 4 (#114)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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-01-27 01:43:39 -05:00
dependabot[bot] f9dda76f9c
build(deps): bump styfle/cancel-workflow-action from 0.12.0 to 0.12.1 (#115)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.12.0...0.12.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-27 01:43:33 -05:00
translatewiki.net 01837a43c4 Localisation updates from https://translatewiki.net. 2024-01-25 13:15:15 +01:00
translatewiki.net 186fc8843f Localisation updates from https://translatewiki.net. 2024-01-15 13:13:59 +01:00
paladox a6c61af08d
fix: Argument #1 ($input) must be of type string, null given (#112) 2024-01-03 15:00:55 -05:00
dependabot[bot] 92c09ced74
build(deps-dev): bump eslint-config-wikimedia from 0.25.1 to 0.26.0 (#109)
Bumps [eslint-config-wikimedia](https://github.com/wikimedia/eslint-config-wikimedia) from 0.25.1 to 0.26.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.25.1...v0.26.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>
2023-11-22 14:11:31 -05:00
dependabot[bot] 845ea16762
build(deps-dev): update mediawiki/mediawiki-phan-config requirement (#102)
Updates the requirements on [mediawiki/mediawiki-phan-config](https://github.com/wikimedia/mediawiki-tools-phan) to permit the latest version.
- [Changelog](https://github.com/wikimedia/mediawiki-tools-phan/blob/master/HISTORY.md)
- [Commits](https://github.com/wikimedia/mediawiki-tools-phan/compare/0.12.1...0.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-05 18:10:58 -05:00
dependabot[bot] 65a898bac4
build(deps): bump tj-actions/changed-files from 39 to 40 (#107)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39 to 40.
- [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/v39...v40)

---
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>
2023-11-05 18:10:49 -05:00
dependabot[bot] 362177324a
build(deps-dev): bump grunt-banana-checker from 0.11.0 to 0.11.1 (#104)
Bumps [grunt-banana-checker](https://github.com/wikimedia/banana-checker) from 0.11.0 to 0.11.1.
- [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/commits)

---
updated-dependencies:
- dependency-name: grunt-banana-checker
  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>
2023-11-05 18:10:41 -05:00
dependabot[bot] 71506d51cd
build(deps): bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 (#105)
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.11.0...0.12.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>
2023-11-05 18:10:30 -05:00