-
Notifications
You must be signed in to change notification settings - Fork 89
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
Showing
5 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
common.blocks/checkbox-group/checkbox-group.tmpl-specs/10-no_type_disabled_item.html
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 |
---|---|---|
@@ -1 +1 @@ | ||
<span class="checkbox-group checkbox-group_theme_islands checkbox-group_size_m control-group i-bem" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_theme_islands checkbox_size_m i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" name="default" value="1"/></span>first</label><br/><label class="checkbox checkbox_theme_islands checkbox_size_m checkbox_checked checkbox_disabled i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" name="default" value="3" checked="checked" disabled="disabled"/></span>third</label></span> | ||
<span class="checkbox-group checkbox-group_theme_islands checkbox-group_size_m control-group i-bem" role="group" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_theme_islands checkbox_size_m i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" name="default" value="1"/></span>first</label><br/><label class="checkbox checkbox_theme_islands checkbox_size_m checkbox_checked checkbox_disabled i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" name="default" value="3" checked="checked" disabled="disabled"/></span>third</label></span> |
2 changes: 1 addition & 1 deletion
2
common.blocks/checkbox-group/checkbox-group.tmpl-specs/20-type_button_disabled_group.html
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 |
---|---|---|
@@ -1 +1 @@ | ||
<span class="checkbox-group checkbox-group_type_button checkbox-group_disabled control-group i-bem" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_type_button checkbox_disabled i-bem" data-bem="{"checkbox":{}}"><button class="button button_togglable_check button_disabled button__control i-bem" aria-pressed="false" data-bem="{"button":{}}" role="button" type="button" disabled="disabled"><span class="button__text">first</span></button><input class="checkbox__control" type="checkbox" autocomplete="off" disabled="disabled"/></label><label class="checkbox checkbox_type_button checkbox_disabled i-bem" data-bem="{"checkbox":{}}"><button class="button button_togglable_check button_disabled button__control i-bem" aria-pressed="false" data-bem="{"button":{}}" role="button" type="button" disabled="disabled"><i aria-hidden="true" class="icon icon_social_vk"></i><span class="button__text">VK</span></button><input class="checkbox__control" type="checkbox" autocomplete="off" disabled="disabled"/></label></span> | ||
<span class="checkbox-group checkbox-group_type_button checkbox-group_disabled control-group i-bem" role="group" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_type_button checkbox_disabled i-bem" role="checkbox" aria-checked="false" aria-disabled="true" data-bem="{"checkbox":{}}"><button class="button button_togglable_check button_disabled button__control i-bem" role="button" type="button" disabled="disabled" aria-pressed="false" data-bem="{"button":{}}"><span class="button__text">first</span></button><input class="checkbox__control" type="checkbox" autocomplete="off" disabled="disabled"/></label><label class="checkbox checkbox_type_button checkbox_disabled i-bem" role="checkbox" aria-checked="false" aria-disabled="true" data-bem="{"checkbox":{}}"><button class="button button_togglable_check button_disabled button__control i-bem" role="button" type="button" disabled="disabled" aria-pressed="false" data-bem="{"button":{}}"><i class="icon icon_social_vk" aria-hidden="true"></i><span class="button__text">VK</span></button><input class="checkbox__control" type="checkbox" autocomplete="off" disabled="disabled"/></label></span> |
2 changes: 1 addition & 1 deletion
2
common.blocks/checkbox-group/checkbox-group.tmpl-specs/30-empty.html
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 |
---|---|---|
@@ -1 +1 @@ | ||
<span class="checkbox-group control-group i-bem" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_checked i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" checked="checked" value="1"/></span></label></span> | ||
<span class="checkbox-group control-group i-bem" role="group" data-bem="{"checkbox-group":{}}"><label class="checkbox checkbox_checked i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" value="1" checked="checked"/></span></label></span> |
6 changes: 6 additions & 0 deletions
6
common.blocks/checkbox-group/checkbox-group.tmpl-specs/40-aria-label.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 : 'checkbox-group', | ||
ariaLabel : 'Checkbox group', | ||
val : [1], | ||
options : [{ val : 1 }] | ||
}) |
1 change: 1 addition & 0 deletions
1
common.blocks/checkbox-group/checkbox-group.tmpl-specs/40-aria-label.html
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 @@ | ||
<span class="checkbox-group control-group i-bem" role="group" data-bem="{"checkbox-group":{}}" aria-label="Checkbox group"><label class="checkbox checkbox_checked i-bem" data-bem="{"checkbox":{}}"><span class="checkbox__box"><input class="checkbox__control" type="checkbox" autocomplete="off" value="1" checked="checked"/></span></label></span> |