mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
697b5deeda
Splits MenuDropdown styles into modern and legacy styles. Leaves a common MenuDropdownCheckbox.less file (for lack of a better name) for common styles related to the checkbox behaviour and dropdown menu resets. Adds a new file in common/mixins.less for a shared dropdown mixin. Bug: T312157 Change-Id: Ib60b25ea3121843ed5ed54820d6295a81289b332
12 lines
399 B
JavaScript
12 lines
399 B
JavaScript
import mustache from 'mustache';
|
|
import '../resources/skins.vector.styles/components/MenuDropdown.less';
|
|
import { vectorMenuTemplate, moreData, variantsData } from './MenuDropdown.stories.data';
|
|
|
|
export default {
|
|
title: 'MenuDropdown'
|
|
};
|
|
|
|
export const more = () => mustache.render( vectorMenuTemplate, moreData );
|
|
|
|
export const variants = () => mustache.render( vectorMenuTemplate, variantsData );
|