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

UI Components Add-On #942

Merged
merged 27 commits into from
Feb 27, 2019
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
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
5 changes: 0 additions & 5 deletions app/components/clear-button.js

This file was deleted.

5 changes: 0 additions & 5 deletions app/components/reload-button.js

This file was deleted.

7 changes: 7 additions & 0 deletions app/helpers/console.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { helper } from '@ember/component/helper';

export function console(_) {
return console.log(_);
}

export default helper(console);
13 changes: 0 additions & 13 deletions app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,9 @@
@import "base";
@import "colors";
@import "component_tree";
@import "context_menu";
@import "drag_handle";
@import "dropdown";
@import "error_page";
@import "external_link";
@import "list";
@import "mixin";
@import "nav";
@import "notice";
@import "object_inspector";
@import "pill";
@import "route_tree";
@import "send_to_console";
@import "sidebar_toggle";
@import "split";
@import "toolbar";
@import "warning";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these were moved to the add-on — a few were no longer being used.

@import "whats-new";
@import "ember-table";
12 changes: 10 additions & 2 deletions app/styles/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@
--spec07: #cd61a7;
--spec08: #7fb56d;
--spec09: #328509;
--white: #ffffff;
--inherit: inherit;
--transparent: transparent;
--focus: #3F81EE;
--focus-text: #ffffff;
--focus-text: var(--white);
--component-text: #7c027c;
--component-brackets-selected: rgba(255, 255, 255, 0.4);
--pill-bg: rgba(0, 0, 0, 0.1);
--pill-bg-active: rgba(255, 255, 255, 0.3);
--warning-text: #735c0f;
}

.theme--dark {
Expand Down Expand Up @@ -64,10 +68,14 @@
--spec07: #cd61a7;
--spec08: #7fb56d;
--spec09: #328509;
--white: #ffffff;
--inherit: inherit;
--transparent: transparent;
--focus: #2270EC;
--focus-text: #ffffff;
--focus-text: var(--white);
--component-text: #FF8BC9;
--component-brackets-selected: rgba(255, 255, 255, 0.4);
--pill-bg: rgba(255, 255, 255, 0.2);
--pill-bg-active: rgba(255, 255, 255, 0.3);
--warning-text: #8ca3f0;
}
21 changes: 0 additions & 21 deletions app/styles/component_tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,27 +70,6 @@
content: '}}';
}

.component-tree-item__expand {
background: transparent;
border: 0;
cursor: pointer;
display: inline-block;
padding: 0 2px;

&:focus {
outline: none;
}

svg {
transition-duration: 0.1s;
transition-property: transform;
}

&.collapsed svg {
transform: rotate(-90deg);
}
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of this was rolled into the disclosure-triangle component

/**
* Modifier
*/
Expand Down
11 changes: 0 additions & 11 deletions app/styles/context_menu.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/styles/ember-table.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
$blue: #174fff;
$green: #009900;
$red: #ff2717;
$white: #ffffff;

.ember-table {
background: var(--base00);
Expand Down
15 changes: 0 additions & 15 deletions app/styles/external_link.scss

This file was deleted.

10 changes: 0 additions & 10 deletions app/styles/notice.scss

This file was deleted.

10 changes: 8 additions & 2 deletions app/styles/object_inspector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
at the far right of the screen
*/

$white: #ffffff;
.object-inspector-object-name {
flex: auto;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.object-trail {
margin-bottom: 4px;
Expand Down Expand Up @@ -85,7 +91,7 @@ $white: #ffffff;

.mixin__property-icon {
border-radius: 3px;
color: $white;
color: var(--white);
display: inline-block;
font-family: var(--font-monospace);
font-size: 13px;
Expand Down
29 changes: 0 additions & 29 deletions app/styles/sidebar_toggle.scss

This file was deleted.

Loading