Skip to content

Commit

Permalink
UI: Glimmerize - Colocate template and remove component file (hashico…
Browse files Browse the repository at this point in the history
  • Loading branch information
kiannaquach committed Mar 17, 2023
1 parent 9a84a8e commit 40c4684
Show file tree
Hide file tree
Showing 20 changed files with 26 additions and 243 deletions.
File renamed without changes.
23 changes: 0 additions & 23 deletions ui/lib/core/addon/components/form-error.js

This file was deleted.

22 changes: 0 additions & 22 deletions ui/lib/core/addon/components/layout-loading.js

This file was deleted.

9 changes: 9 additions & 0 deletions ui/lib/core/addon/components/menu-loader.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<li class="action">
{{#if @loadingParam}}
<button disabled type="button" class="link button is-loading is-transparent">
loading
</button>
{{else}}
{{yield}}
{{/if}}
</li>
27 changes: 0 additions & 27 deletions ui/lib/core/addon/components/menu-loader.js

This file was deleted.

16 changes: 16 additions & 0 deletions ui/lib/core/addon/components/popup-menu.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<span>
<BasicDropdown class="popup-menu" horizontalPosition="auto-right" verticalPosition="below" onOpen={{@onOpen}} as |d|>
<d.Trigger
@htmlTag="button"
class={{concat "popup-menu-trigger button is-ghost" (if d.isOpen " is-active")}}
data-test-popup-menu-trigger
>
<Icon @name="more-horizontal" class="has-text-black auto-width" aria-label="More options" />
</d.Trigger>
<d.Content @defaultClass={{concat "popup-menu-content " @contentClass}}>
<div class="box">
{{yield}}
</div>
</d.Content>
</BasicDropdown>
</span>
26 changes: 0 additions & 26 deletions ui/lib/core/addon/components/popup-menu.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="field">
<p class="control has-icons-left has-icons-right">
<span class="input has-text-grey-light">{{or this.placeholder "Search"}}</span>
<span class="input has-text-grey-light">{{or @placeholder "Search"}}</span>
<Icon @name="search" class="search-icon has-text-grey-light" />
</p>
</div>
11 changes: 0 additions & 11 deletions ui/lib/core/addon/components/search-select-placeholder.js

This file was deleted.

30 changes: 0 additions & 30 deletions ui/lib/core/addon/components/toolbar-actions.js

This file was deleted.

31 changes: 0 additions & 31 deletions ui/lib/core/addon/components/toolbar-filters.js

This file was deleted.

File renamed without changes.
29 changes: 0 additions & 29 deletions ui/lib/core/addon/components/toolbar.js

This file was deleted.

22 changes: 0 additions & 22 deletions ui/lib/core/addon/components/vault-logo-spinner.js

This file was deleted.

7 changes: 0 additions & 7 deletions ui/lib/core/addon/templates/components/menu-loader.hbs

This file was deleted.

14 changes: 0 additions & 14 deletions ui/lib/core/addon/templates/components/popup-menu.hbs

This file was deleted.

0 comments on commit 40c4684

Please sign in to comment.