alistair3149
92ebec87dc
docs: add note on custom ID and classes
2024-11-19 16:24:39 -05:00
alistair3149
d5f9e03d47
feat: allow id and class attributes to be set on Tabber
...
Closes : #183 , #193
Co-Authored-By: Thomas-programmiert <Thomas-programmiert@users.noreply.github.com>
2024-11-19 16:20:05 -05:00
github-actions
0e136945cc
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-19 21:05:00 +00:00
alistair3149
2f827857dc
feat: drop Codex tabs
...
It has never worked correctly and it is difficult to maintain
both MW compatability across versions and Codex
2024-11-19 16:04:26 -05:00
alistair3149
11eb2ac328
refactor: use Mustache to generate HTML
2024-11-19 16:01:11 -05:00
alistair3149
dc1d16c276
fix: properly wrap text in paragraph if it is a wikitext link
...
Seems to be related to #151
2024-11-19 14:35:19 -05:00
alistair3149
5b5b97c5f7
docs: add notes on tracking category
2024-11-18 03:23:47 -05:00
alistair3149
7cee4f44eb
chore: set installer-name for composer
...
That should make it easier to install through Composer
2024-11-17 17:49:17 -05:00
alistair3149
27e05c72a6
docs: explain why init module is needed
2024-11-17 17:47:00 -05:00
alistair3149
9d20c75172
build: release 2.6.0 ( #185 )
2024-11-16 03:22:20 -05:00
alistair3149
41ac35dd8c
docs: update documentation on wgTabberNeueUseLegacyTabIds
2024-11-16 03:20:12 -05:00
alistair3149
1f75afc217
fix: various issues found in code review
2024-11-16 03:19:11 -05:00
alistair3149
9e8ac878cc
fix: fix various issues raised by code review
2024-11-16 03:19:11 -05:00
alistair3149
40fe7d2e52
docs: fix incorrect return type
2024-11-16 03:19:11 -05:00
alistair3149
b0670f5df8
refactor: simplify VE tabber condition check
2024-11-16 03:19:11 -05:00
alistair3149
70f632a4db
fix: no need to apply hover:hover to active state
2024-11-16 03:19:11 -05:00
alistair3149
f87c43e8e4
fix: drop unused variable
2024-11-16 03:19:11 -05:00
alistair3149
8f1cb74e4e
refactor: use AbortController for tabbertransclude fetch
2024-11-16 03:19:11 -05:00
alistair3149
724e347ca1
perf: only call one instance of MediaWikiServices
2024-11-16 03:19:11 -05:00
alistair3149
a98f2f7791
refactor: switch TabberTransclude to the new method
2024-11-16 03:19:11 -05:00
github-actions
c67ac50f46
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-16 03:19:11 -05:00
alistair3149
ab8e306fc6
feat: throw exception when duplicated label is found under legacy ID mode
2024-11-16 03:19:11 -05:00
alistair3149
df9897441a
refactor: remove unused function
2024-11-16 03:19:11 -05:00
github-actions
6d3b905200
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-16 03:19:11 -05:00
alistair3149
56619bf56f
feat: simplify implementation and drop hash usage
...
Instead of doing JS hashing, just append the tabber count to the end of the ID.
Having the same tab label within the same Tabber breaks in the previous behavior anyways
2024-11-16 03:19:11 -05:00
alistair3149
910f5c72f4
perf: drop incorrect usage of rAF and do not set aria-hidden on tabpanels
2024-11-16 03:19:11 -05:00
alistair3149
e85d4785b1
refactor: convert part of HTML to Mustache
2024-11-16 03:19:11 -05:00
alistair3149
bd5738afe8
feat: use Codex CSS variable directly
2024-11-16 03:19:11 -05:00
github-actions
7477392b69
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-16 03:19:11 -05:00
alistair3149
1e1d3de9cd
feat: render all HTML server-side
2024-11-16 03:19:11 -05:00
alistair3149
de2ced5a36
feat: assign unique IDs to Tabber container
2024-11-16 03:19:11 -05:00
github-actions
2c306abf79
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2024-11-16 03:19:11 -05:00
alistair3149
f24ddb58ee
feat: only add empty paragraph for wikitext list elements
...
We don't need the empty paragraph hack for non-list elements.
Related: #151
2024-11-16 03:19:11 -05:00
alistair3149
21ad702ee2
refactor: more function clean up
2024-11-15 00:07:11 -05:00
alistair3149
a6de7f9519
refactor: separate wikitext parsing to a different function
2024-11-14 23:27:54 -05:00
dependabot[bot]
65d840f58f
build(deps-dev): bump @wikimedia/codex from 1.15.0 to 1.16.0 ( #187 )
...
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/ ) from 1.15.0 to 1.16.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-11-14 22:20:21 -05:00
dependabot[bot]
5b74b3dbf3
build(deps-dev): bump oojs-ui from 0.51.1 to 0.51.2 ( #188 )
...
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI ) from 0.51.1 to 0.51.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-11-14 22:20:12 -05:00
csalinezh
201238ccd8
fix: keep arrow button icon inside its parent ( #186 )
...
If the parent element sets "text-align: center", "position: absolute"
leads to weird offset issue due to "left: auto" calculation rules.
Specifically the rule 2 for "static position" in Chapter 10 of CSS 2:
https://www.w3.org/TR/CSS2/visudet.html#static-position
It's not necessary for these pseudo-elements to be positioned, hence
the simplification.
2024-11-13 19:42:19 -05:00
alistair3149
1b60511ae7
feat: add TabberNeueUseLegacyTabIds config option ( #184 )
...
Also fix the issue where disabling TabberNeueEnableAnimation didn't actually work
---------
Co-authored-by: Jayden Bailey <jaydenkieran@gmail.com>
2024-11-10 03:16:11 -05:00
dependabot[bot]
dcacc42442
build(deps-dev): bump @wikimedia/codex from 1.11.1 to 1.15.0 ( #182 )
...
Bumps [@wikimedia/codex](https://doc.wikimedia.org/codex/ ) from 1.11.1 to 1.15.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-11-10 03:13:38 -05:00
dependabot[bot]
a48af9a307
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement ( #181 )
...
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/v44.0.0...v45.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-11-10 03:13:27 -05:00
dependabot[bot]
dfe0b3824c
build(deps-dev): bump oojs-ui from 0.50.4 to 0.51.1 ( #178 )
...
Bumps [oojs-ui](https://www.mediawiki.org/wiki/OOUI ) from 0.50.4 to 0.51.1.
---
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-11-10 03:13:16 -05:00
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