Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(components): some misc fixes for v9 #812

Merged
merged 1 commit into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions src/components/date-picker/date-picker--range-light.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,3 @@
</svg>
</div>
</div>

<!-- Ranged -->
<div class="bx--form-item">
<div data-date-picker data-date-picker-type="range" class="bx--date-picker bx--date-picker--range bx--date-picker--light">
<div class="bx--date-picker-container">
<input type="text" id="date-picker-1" class="bx--date-picker__input" pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy"
data-date-picker-input-from />
<label for="date-picker-1" class="bx--label">Start date label</label>
</div>
<div class="bx--date-picker-container">
<input type="text" id="date-picker-2" class="bx--date-picker__input" pattern="\d{1,2}/\d{1,2}/\d{4}" placeholder="mm/dd/yyyy"
data-date-picker-input-to />
<label for="date-picker-2" class="bx--label">End date label</label>
</div>
<svg data-date-picker-icon class="bx--date-picker__icon" width="14" height="16" viewBox="0 0 14 16">
<path d="M0 5h14v1H0V5zm3-5h1v4H3V0zm7 0h1v4h-1V0zM0 2.5A1.5 1.5 0 0 1 1.5 1h11A1.5 1.5 0 0 1 14 2.5v12a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 0 14.5v-12zm1 0v12a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5v-12a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5z"
fill-rule="nonzero" />
</svg>
</div>
</div>
2 changes: 1 addition & 1 deletion src/components/list/list.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<{{tag}} class="bx--list--{type}">
<{{tag}} class="bx--list--{{type}}">
<li class="bx--list__item">{{displayType}} List level 1
<{{tag}} class="bx--list--nested">
<li class="bx--list__item">{{displayType}} List level 2</li>
Expand Down
3 changes: 2 additions & 1 deletion src/components/overflow-menu/_overflow-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
}

.#{$prefix}--overflow-menu-options__option--disabled:hover {
background-color: $inverse-01;
background-color: $ui-01;
}

.#{$prefix}--overflow-menu-options__option--disabled .#{$prefix}--overflow-menu-options__btn {
Expand All @@ -151,6 +151,7 @@
.#{$prefix}--overflow-menu-options__option--disabled:hover .#{$prefix}--overflow-menu-options__btn {
color: $text-01;
opacity: 0.5;
background-color: $ui-01;

&:active,
&:focus {
Expand Down
2 changes: 1 addition & 1 deletion src/components/time-picker/time-picker--light.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="bx--form-item">
<div class="bx--time-picker bx--time-picker--light">
<div class="bx--time-picker__input">
<input data-invalid id="time-picker-1" type="text" class="bx--time-picker__input-field" pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?(?i)"
<input id="time-picker-1" type="text" class="bx--time-picker__input-field" pattern="(1[012]|[1-9]):[0-5][0-9](\\s)?(?i)"
placeholder="hh:mm" maxlength="5" />
<div class="bx--form-requirement">
Invalid time.
Expand Down