Skip to content

Commit

Permalink
fix(components): some small fixes for v9 (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
marijohannessen authored and asudoh committed May 30, 2018
1 parent 455544e commit 5ce15ca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 23 deletions.
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 @@ -141,7 +141,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 @@ -153,6 +153,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

0 comments on commit 5ce15ca

Please sign in to comment.