mediawiki-skins-Vector/resources
Jan Drewniak 4d1c0b8940 Override PinnableElement behaviour at low resolutions.
At resolutions below 1000px, we want pinned elements
such as the Page Tools menu and Main Menu to collapse.
This behaviour is temporary and when the browser is resized,
the pinned elements should revert to their previous pinned state.

We also want to remove the ability to pin these menus at
low resolutions, so the "hide/move" button is hidden.

A new matchMedia event handler is added to PinnableElement.js
to handle this behaviour.

CSS is also added to hide the pinned menus at low resolution.
This is to account for the situation where the page is loaded
at narrow widths, with pinned elements,
and the JS hasn't loaded yet.

features.js is refactors so that class toggling can happen
independently of saving the state to user preferences
(since we want to toggle the classes but not save the state
at lower resolutions).

Bug: T326364
Change-Id: I3113ab83deb15843e04ed63ec767a85c522517b5
2023-01-13 18:09:11 +00:00
..
common Fix TOC scrollable indicator 2023-01-10 17:21:26 -06:00
mediawiki.less mediawiki.skin.variables: Add border-style and border-width vars 2022-09-23 17:58:42 +00:00
mediawiki.less.legacy Vector legacy no longer imports variables from Vector modern 2022-08-24 15:08:35 +00:00
skins.vector.es6 Override PinnableElement behaviour at low resolutions. 2023-01-13 18:09:11 +00:00
skins.vector.js Move limitedWidthToggle.js and features.js to skins.vector.es6 module 2022-12-07 16:45:52 -07:00
skins.vector.legacy.js Update @wikimedia/types-wikimedia to latest version 2022-03-28 23:33:50 +00:00
skins.vector.search search: Remove unused generateUrl() function 2022-12-06 13:35:45 +01:00
skins.vector.styles Override PinnableElement behaviour at low resolutions. 2023-01-13 18:09:11 +00:00
skins.vector.styles.legacy Clean up cached .vector-menu-portal code 2022-12-15 14:30:58 -06:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
VectorResourceLoaderVirtualConfig.d.ts Remove $wgVectorSearchHost, replace with $wgVectorSearchApiUrl 2022-10-07 00:57:58 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00