-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
195 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<li | ||
class="flex items-start gap-3 border-t border-t-color-border-faint py-3.5 first:border-t-0" | ||
> | ||
<div class="w-full overflow-hidden"> | ||
<div class="flex w-full items-start gap-3"> | ||
|
||
{{! Text }} | ||
<div class="w-full"> | ||
<h4 class="mb-1.5"> | ||
{{@title}} | ||
</h4> | ||
<div class="flex items-center justify-between"> | ||
<div class="flex items-center gap-1.5 overflow-hidden"> | ||
{{!-- <Person::Avatar | ||
class="shrink-0" | ||
@size="small" | ||
@email="" | ||
@imgURL={{@avatarURL}} | ||
/> --}} | ||
{{#if (eq @status "Draft")}}{{/if}} | ||
{{!-- <Doc::State @state={{@status}} @hideProgress={{true}} /> --}} | ||
<div class="flex gap-[3px]"> | ||
<span class="tag doctype"> | ||
{{@docType}} | ||
</span> | ||
<span class="tag {{dasherize @status}}"> | ||
{{@status}} | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{{! Thumbnail }} | ||
<div class="relative flex shrink-0 justify-center"> | ||
<div class="doc-thumbnail w-9 self-start"> | ||
<img src="/images/document.png" class="h-auto w-full" /> | ||
<div class="absolute bottom-0 left-0"> | ||
<ProductAvatar @productArea={{@product}} @iconSize={{16}} /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</li> |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import Component from "@glimmer/component"; | ||
|
||
interface DocThumbnailNewComponentSignature { | ||
Element: null; | ||
Args: { | ||
title: string; | ||
status: string; | ||
product: string; | ||
docType: string; | ||
avatarURL: string; | ||
}; | ||
Blocks: { | ||
default: []; | ||
}; | ||
} | ||
|
||
export default class DocThumbnailNewComponent extends Component<DocThumbnailNewComponentSignature> {} | ||
|
||
declare module "@glint/environment-ember-loose/registry" { | ||
export default interface Registry { | ||
"Doc::ThumbnailNew": typeof DocThumbnailNewComponent; | ||
} | ||
} |
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,4 +1,4 @@ | ||
<LinkTo @query={{this.query}} class="active-filter-list-item"> | ||
<LinkTo @query={{this.query}} class="tag filter-tag"> | ||
<FlightIcon @name="x" /> | ||
{{@filter}} | ||
</LinkTo> |
20 changes: 18 additions & 2 deletions
20
web/app/styles/components/header/active-filter-list-item.scss
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
Oops, something went wrong.