A set of strange, but useful features on top of the BEM Components Library.
All features are implemented at the blocks
level.
Library supports the same browsers and uses the same technologies and tools, along with bem-components.
- button_action_mod — a button, that switches a container's mod on click
- modal_has-close — a modal with a close button
Get sources:
git clone git://github.com/bem-incubator/bem-components-extended.git
cd bem-components-extended
Install dependencies (of tools):
npm install
To then run locally installed tools, use export PATH=./node_modules/.bin:$PATH
or any alternative method.
Install dependent libraries:
bower install
Start the development server:
magic server
Feel free to create pull requests and issues with your proposals. Follow the principles of BEM library development. Don't forget to provide autotests (for bug fixes and new features), examples and docs (for new features).
enb make specs
enb make specs desktop.specs/<entity-name>
— for point-based assembly
Example:
enb make specs desktop.specs/button_action_mod
enb make tests