Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DimaChervan
committed
Jul 8, 2014
1 parent
a4dad39
commit d171bab
Showing
16 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/10-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'link', theme : 'normal', disabled : true }, | ||
switcher : 'link', | ||
popup : 'bemjson' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_link dropdown_theme_normal dropdown_disabled i-bem" data-bem="{"dropdown":{}}"><span class="link link_pseudo link_theme_normal link_disabled link__control i-bem" data-bem="{"link":{}}">link</span><div class="popup popup_theme_normal popup_autoclosable i-bem" data-bem="{"popup":{}}">bemjson</div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/20-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'button', theme : 'normal', size : 'm', disabled : true }, | ||
switcher : 'button', | ||
popup : 'bemjson' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_button dropdown_theme_normal dropdown_size_m dropdown_disabled i-bem" data-bem="{"dropdown":{}}"><button class="button button_size_m button_theme_normal button_disabled button__control i-bem" data-bem="{"button":{}}" role="button" disabled="disabled"><span class="button__text">button</span></button><div class="popup popup_theme_normal popup_autoclosable i-bem" data-bem="{"popup":{}}">bemjson</div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/30-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'link' }, | ||
switcher : { block : 'link', mods : { pseudo : true, theme : 'normal' }, content : 'link' }, | ||
popup : { block : 'link', mods : { pseudo : true, theme : 'normal' }, content : 'link' } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_link i-bem" data-bem="{"dropdown":{}}"><span class="link link_pseudo link_theme_normal link__control i-bem" data-bem="{"link":{}}" tabindex="0">link</span><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}"><span class="link link_pseudo link_theme_normal link__control i-bem" data-bem="{"link":{}}" tabindex="0">link</span></div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/40-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'button' }, | ||
switcher : { block : 'button', mods : { theme : 'normal', size : 'm' }, text : 'button' }, | ||
popup : { block : 'link', mods : { pseudo : true, theme : 'normal' }, content : 'custom link' } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_button i-bem" data-bem="{"dropdown":{}}"><button class="button button_theme_normal button_size_m button__control i-bem" data-bem="{"button":{}}" role="button"><span class="button__text">button</span></button><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}"><span class="link link_pseudo link_theme_normal link__control i-bem" data-bem="{"link":{}}" tabindex="0">custom link</span></div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/50-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'button' }, | ||
switcher : [{ block : 'button', text : 'button' }, { block : 'button', text : 'button' }], | ||
popup : { block : 'link', mods : { pseudo : true, theme : 'normal' }, content : 'custom link' } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_button i-bem" data-bem="{"dropdown":{}}"><button class="button button__control i-bem" data-bem="{"button":{}}" role="button"><span class="button__text">button</span></button><button class="button button__control i-bem" data-bem="{"button":{}}" role="button"><span class="button__text">button</span></button><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}"><span class="link link_pseudo link_theme_normal link__control i-bem" data-bem="{"link":{}}" tabindex="0">custom link</span></div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/60-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'link' }, | ||
switcher : [{ block : 'link', content : 'link' }, { block : 'link', content : 'link' }], | ||
popup : { block : 'link', mods : { pseudo : true, theme : 'normal' }, content : 'link' } | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_link i-bem" data-bem="{"dropdown":{}}"><a class="link link__control i-bem" data-bem="{"link":{}}" tabindex="0">link</a><a class="link link__control i-bem" data-bem="{"link":{}}" tabindex="0">link</a><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}"><span class="link link_pseudo link_theme_normal link__control i-bem" data-bem="{"link":{}}" tabindex="0">link</span></div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/70-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'link' }, | ||
switcher : { tag : 'p', content : 'switcher' }, | ||
popup : 'popup' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_link i-bem" data-bem="{"dropdown":{}}"><p>switcher</p><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}">popup</div></div> |
6 changes: 6 additions & 0 deletions
6
common.blocks/dropdown/dropdown.tmpl-specs/80-simple.bemjson.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
block : 'dropdown', | ||
mods : { switcher : 'button' }, | ||
switcher : { tag : 'p', content : 'switcher' }, | ||
popup : 'popup' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="dropdown dropdown_switcher_button i-bem" data-bem="{"dropdown":{}}"><p>switcher</p><div class="popup popup_autoclosable i-bem" data-bem="{"popup":{}}">popup</div></div> |