https://github.com/bem-contrib/bem-components-extended
WIP, code is unstable, don't use in production
https://github.com/bem-contrib/bem-components-extended
Last synced: 2 months ago
JSON representation
WIP, code is unstable, don't use in production
- Host: GitHub
- URL: https://github.com/bem-contrib/bem-components-extended
- Owner: bem-contrib
- Created: 2015-08-14T18:12:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-24T09:26:12.000Z (over 9 years ago)
- Last Synced: 2025-01-22T19:15:34.073Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
BEM Components Extended
=======================[](https://david-dm.org/bem-incubator/bem-components-extended#info=devDependencies)
### What is this?
A set of strange, but useful features on top of the [BEM Components Library](http://github.com/bem/bem-components).
All features are implemented at the `blocks` level.
Library supports the same [browsers](https://github.com/bem/bem-components#supported-browsers) and uses the same [technologies](https://github.com/bem/bem-components#techs) and [tools](https://github.com/bem/bem-components#tools), along with bem-components.
### Features
- [button_action_mod](blocks/button/_action/button_action_mod.en.md) — a button, that switches a container's mod on click
- [modal_has-close](blocks/modal/_has-close/modal_has-close.en.md) — a modal with a close button### Development
#### Working copy
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`
#### How to contribute
Feel free to create pull requests and issues with your proposals.
Follow the [principles of BEM library development](https://github.com/bem/bem-method/blob/bem-info-data/guides/libs-dev-principles/libs-dev-principles.en.md).
Don't forget to provide autotests (for bug fixes and new features), examples and docs (for new features).#### JavaScript unit tests
`enb make specs`
`enb make specs desktop.specs/` — for point-based assembly
Example:
`enb make specs desktop.specs/button_action_mod`
#### Examples
`enb make tests`