Commit graph

198 commits

Author SHA1 Message Date
ciencia f1aee0bdf6
refactor: CSS.escape may not be supported by some browsers 2022-04-18 19:50:20 -04:00
ciencia 98c6f2753a
feat: trim spaces between title and content
Trim spaces between title and content to avoid unwanted <pre> wraps when using
content next to title separated by a space instead of a new line.
2022-04-18 19:43:08 -04:00
ciencia f9b3892604
refactor: NodeList.prototype.forEach may not be supported by some browsers 2022-04-18 19:34:43 -04:00
alistair3149 c46b918b04
refactor: lower JS requirements to ES5
* Improve compatibility with older browsers
* Preparation to merge changes from TabberTransclude
2022-04-18 19:10:58 -04:00
github-actions e47ee9b4d6 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-04-18 23:02:15 +00:00
alistair3149 8a7168556a
chore: re-generate package-lock.json 2022-04-18 18:59:55 -04:00
nobbyfix 3f689e0b28
feat: append __NOEDITSECTION__ to tabber body before parsing (#9) 2022-02-01 23:04:24 -05:00
nobbyfix 9395d641a9
fix: DOMException caused by invalid selector (#10)
* fix for DOMException caused by invalid selector

* use CSS.escape function
2022-02-01 23:04:05 -05:00
github-actions 0c2d4dcec1 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-01-31 06:36:24 +00:00
nobbyfix 5c40e1fb05
feat: update header buttons when scrolling without them (#7) 2022-01-31 01:35:36 -05:00
alistair3149 eba79272a9
build: bump to 1.1.0 2021-10-23 00:49:22 -04:00
alistair3149 199f4e88de
doc: remove config documentation 2021-10-23 00:49:00 -04:00
alistair3149 09715dcef6
feat: use Tabber count instead of MD5 as identifier 2021-10-23 00:47:49 -04:00
alistair3149 5e4471d23f
fix: incorrect character trimming for tab IDs 2021-10-23 00:29:38 -04:00
alistair3149 3358e2e49c
fix: incorrect config name in readme 2021-10-01 13:00:11 -04:00
alistair3149 dae448ab5a
refactor: change md5 config name to be more clear 2021-10-01 12:23:57 -04:00
alistair3149 d44cbbf6b9
feat: add config to disable MD5 hash (#6) 2021-10-01 12:20:00 -04:00
alistair3149 331b0bea2b
feat: use clone element to get tab height when needed
Sometimes the tab element is hidden by its parent and a cloned element will be able to get its actual height.
This should also fix #4.
2021-10-01 11:11:27 -04:00
alistair3149 022c9e07dd
build: bump to 1.0.2 2021-10-01 00:27:19 -04:00
alistair3149 66db3a4b8b
feat: use recursiveTagParseFully to parse tab input
This should also fix the HTML stripping issue from #3
2021-10-01 00:11:04 -04:00
alistair3149 0dc1b34965
fix: stricter selectors for activePanel selection 2021-06-23 10:45:14 -04:00
alistair3149 1d144a4194
build: bump to 1.0.1 2021-06-23 10:30:21 -04:00
alistair3149 342cc2aa85
fix: stricter selector to prevent issues with nested Tabber 2021-06-23 10:29:42 -04:00
Universal Omega 5e398c9129
refactor: clean up ParserFirstCallInit hook (#1) 2021-06-22 15:23:39 -04:00
alistair3149 726a4f9bc3
docs: reword note about Tabber replacement 2021-06-22 14:45:57 -04:00
alistair3149 530cdfa1b8
feat: add hover and active states to the arrow buttons 2021-06-21 20:37:28 -04:00
alistair3149 d14f400e65
build: bump to 1.0.0 2021-06-21 20:26:47 -04:00
alistair3149 09a3181451
docs: add icon to readme 2021-06-21 20:25:08 -04:00
alistair3149 4ceea3ec45
docs: add CI badge to readme 2021-06-21 20:02:33 -04:00
alistair3149 80afc61fec
docs: use more specific typehint 2021-06-21 20:01:05 -04:00
github-actions 6d75ef421c ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-06-21 23:56:28 +00:00
alistair3149 11852ce2b3
ci: set up GitHub action 2021-06-21 19:55:50 -04:00
alistair3149 bf4dad5097
ci: set up composer 2021-06-21 19:55:06 -04:00
alistair3149 d2b0f2c691
docs: update PHP documentation 2021-06-21 19:48:23 -04:00
alistair3149 2580c82d06
refactor: rename Tabber classes to be more semantic 2021-06-21 19:46:17 -04:00
alistair3149 c8aa336530
refactor: remove unnessecary quotation marks 2021-06-21 19:38:59 -04:00
alistair3149 46596e450f
feat: add aria-selected support 2021-06-21 19:32:15 -04:00
alistair3149 45fb952d2d
refactor: use documentFragment for buildTabs 2021-06-21 19:28:47 -04:00
alistair3149 775d38e36a
feat: only smooth scroll in viewport larger than tablet 2021-06-21 18:48:56 -04:00
alistair3149 acfea26b2d
build: bump to 0.1.0 2021-06-21 17:15:46 -04:00
alistair3149 ecfe62498c
ci: remove jQuery support since it is not needed 2021-06-21 17:15:13 -04:00
alistair3149 4d79292616
refactor: drop all jQuery 2021-06-21 17:14:33 -04:00
alistair3149 31eb88ca52
refactor: convert HTML generation into ES6 2021-06-21 16:56:00 -04:00
alistair3149 2ee7bea7e9
fix: recalculate height based on tab content 2021-06-21 15:42:29 -04:00
alistair3149 8d980ce8ff
refactor: replace some jQuery with ES6 2021-06-21 15:22:35 -04:00
alistair3149 1ee66a0a94
refactor: lint scripts with ESLint 2021-06-21 14:54:31 -04:00
alistair3149 a351a1dce6
ci: enable ES6 support for ESLint 2021-06-21 14:47:26 -04:00
alistair3149 e9fcf81043
refactor: lint styles with stylelint 2021-06-21 14:45:06 -04:00
alistair3149 ff3a266434
ci: setup ESlint and Stylelint 2021-06-21 14:35:54 -04:00
alistair3149 5a6421cab7
docs: add note on being not compatible with Tabber 2021-06-21 14:00:44 -04:00