-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More functional classes and data-test selectors (#1168)
* More functional classes and data-test selectors * Fix broken object inspector tests
- Loading branch information
Showing
29 changed files
with
241 additions
and
322 deletions.
There are no files selected for viewing
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
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
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
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
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,20 +1,20 @@ | ||
<div class="mixin mixin_props_no js-object-inspector-errors"> | ||
<h2 class="mixin__name mixin__name--errors"> | ||
<div class="mixin mixin_props_no" data-test-object-inspector-errors> | ||
<h2 class="mixin__name mixin__name--errors bg-base00"> | ||
Errors | ||
<button | ||
class="send-to-console send-to-console--chevron-only js-send-errors-to-console" | ||
class="send-to-console send-to-console--chevron-only ml-1" | ||
{{on "click" @traceErrors}} | ||
data-test-send-errors-to-console | ||
> | ||
{{svg-jar "send-with-chevron" width="6px" height="9px"}} | ||
Trace in the Console | ||
</button> | ||
</h2> | ||
<div class="mixin__properties"> | ||
<div class="mixin__properties m-0 text-base font-mono"> | ||
{{#each @errors as |error|}} | ||
<div class="mixin__error js-object-inspector-error"> | ||
<div class="py-0 px-5 mr-1 text-spec01" data-test-object-inspector-error> | ||
Error while computing: {{error.property}} | ||
</div> | ||
{{/each}} | ||
</div> | ||
</div> | ||
|
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
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
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
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
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
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
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,40 +1,6 @@ | ||
/** | ||
DROP-DOWN | ||
========= | ||
*/ | ||
|
||
.dropdown { | ||
flex: auto; | ||
height: 28px; | ||
position: relative; | ||
} | ||
|
||
.dropdown__select { | ||
-moz-appearance: none; | ||
-webkit-appearance: none; | ||
background-color: var(--transparent); | ||
border: 0; | ||
box-sizing: border-box; | ||
color: var(--base13); | ||
display: block; | ||
font-size: 1.2rem; | ||
height: 100%; | ||
margin: 0; | ||
padding: 0 16px 0 5px; | ||
width: 100%; | ||
} | ||
|
||
.dropdown__select:focus { | ||
outline: none; | ||
} | ||
|
||
.dropdown__arrow { | ||
opacity: 0.7; | ||
pointer-events: none; | ||
position: absolute; | ||
right: 5px; | ||
top: 9px; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
width: 6px; | ||
|
||
path { fill: var(--base13); } | ||
} |
Oops, something went wrong.