mediawiki-skins-Vector/stories
jdlrobson e048c2a729 Refactor: Simplify and standardize menu definitions
* Standardise the menu markup. This means all menus in Vector will now
be wrapped in a div and will have a heading.
* All menus now have the vector-menu class. Styles specific to personal tools
are moved to layout since these are concerned with placement.
* The ul class will always have menu class.
* emptyPortal class is generalised into vector-menu-empty for consistency
with other classes and moved from common.less into Menu.less
* Standardise hooks - BaseTemplateAfterPortlet can now be run on any
menu.

Changes to HTML:
* lang and dir attributes are moved from the h3 up to the div element
.vectorTabs, .portal(s) and #p-personal now has hidden span element inside h3
* for non portals ul.menu" is now wrapped in a div.vector-menu-content

This change does impact the following CSS selectors which will need to be updated:

I see no matches for these selectors in code search.

```
 #p-variants > ul
 #p-namespaces > ul
 #p-personal > ul
 #p-views > ul
 #p-cactions > ul

```
Using global-search.toolforge.org I see one match
for p-variants, 26 for p-namespaces, 30 for p-personal,
36 for p-views and 7 for p-cactions. I see this as acceptable
breakage provided a user notice is sent out which it has been
(T252447)

Bug: T249372
Change-Id: Id59234aa6b822a24848386bdc04d8d7ed37ca145
2020-05-12 15:17:38 -07:00
..
.eslintrc.json Use template partials rather than HTML strings 2020-03-03 09:28:52 -08:00
Footer.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Footer.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
legacy.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Logo.stories.data.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Logo.stories.js [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Menu.stories.data.js Remove stray quote from logged out menu story 2020-05-08 13:20:43 -06:00
Menu.stories.js Refactor: Generalise personal menu 2020-05-05 17:34:44 -07:00
MenuDropdown.stories.data.js Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
MenuDropdown.stories.js Refactor: VectorMenu merged in to Menu 2020-05-06 16:09:22 -07:00
MenuPortal.stories.data.js Refactor: Simplify and standardize menu definitions 2020-05-12 15:17:38 -07:00
MenuPortal.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
MenuTabs.stories.data.js Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
MenuTabs.stories.js Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
rawLoader.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
SearchBox.stories.data.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
SearchBox.stories.js Rename Storybook Files to Reflect Their Respective Component 2020-03-03 18:32:55 +00:00
Sidebar.stories.data.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
Sidebar.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
skin.stories.data.js Refactor: VectorMenu merged in to Menu 2020-05-06 16:09:22 -07:00
types.js Refactor: Simplify and standardize menu definitions 2020-05-12 15:17:38 -07:00
utils.js [JavaScript] Validate types 2020-03-16 09:10:08 -06:00