-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ability to add custom component in layout section components, a…
…dded scroll handle when sending message from chat window
- Loading branch information
Showing
3 changed files
with
39 additions
and
26 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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
<div class="next-view-section-footer" {{vertical-offset-by "bottom" offset=@verticalOffset elements=@verticalOffsetElements}} ...attributes> | ||
{{#if @footerComponent}} | ||
{{component @footerComponent}} | ||
{{/if}} | ||
{{yield}} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
<div id="next-view-section-subheader" class="next-view-section-subheader {{if @hideActions 'actions-hidden'}}" ...attributes> | ||
<div id="next-view-section-subheader-left" class="next-view-section-subheader-left {{@leftSubheaderClass}}"> | ||
<div class="flex flex-row items-center"> | ||
{{#if @badge}} | ||
<span class="mr-2 {{@badgeContainerClass}}"> | ||
<Badge @status={{@badge}} @hideStatusDot={{@hideStatusDot}} class={{@badgeClass}} @disableHumanize={{@disableBadgeHumanize}} /> | ||
</span> | ||
{{/if}} | ||
{{#if @icon}} | ||
<FaIcon @icon={{@icon}} @size={{@iconSize}} @prefix={{@iconPrefix}} class="{{@iconClass}} mr-2" /> | ||
{{/if}} | ||
<h2 id="next-view-section-subheader-title" class="next-view-section-subheader-title {{@titleClass}}">{{@title}}</h2> | ||
{{#if @subtitle}} | ||
<div class={{@subtitleClass}}> | ||
{{@subtitle}} | ||
{{#if @headerComponent}} | ||
{{component @headerComponent}} | ||
{{else}} | ||
<div id="next-view-section-subheader-left" class="next-view-section-subheader-left {{@leftSubheaderClass}}"> | ||
{{#if @headerTitleComponent}} | ||
{{component @headerTitleComponent}} | ||
{{else}} | ||
<div class="flex flex-row items-center"> | ||
{{#if @badge}} | ||
<span class="mr-2 {{@badgeContainerClass}}"> | ||
<Badge @status={{@badge}} @hideStatusDot={{@hideStatusDot}} class={{@badgeClass}} @disableHumanize={{@disableBadgeHumanize}} /> | ||
</span> | ||
{{/if}} | ||
{{#if @icon}} | ||
<FaIcon @icon={{@icon}} @size={{@iconSize}} @prefix={{@iconPrefix}} class="{{@iconClass}} mr-2" /> | ||
{{/if}} | ||
<h2 id="next-view-section-subheader-title" class="next-view-section-subheader-title {{@titleClass}}">{{@title}}</h2> | ||
{{#if @subtitle}} | ||
<div class={{@subtitleClass}}> | ||
{{@subtitle}} | ||
</div> | ||
{{/if}} | ||
</div> | ||
{{/if}} | ||
{{#if @onSearch}} | ||
<Input @type="text" @value={{@searchQuery}} aria-label={{t "common.search-input"}} placeholder={{or @searchPlaceholder (concat (t "common.search") " " (pluralize @title))}} class="w-64 ml-3 form-input form-input-sm {{@searchInputClass}}" {{on "keyup" @onSearch}} /> | ||
{{/if}} | ||
</div> | ||
{{#if @onSearch}} | ||
<Input @type="text" @value={{@searchQuery}} aria-label={{t "common.search-input"}} placeholder={{or @searchPlaceholder (concat (t "common.search") " " (pluralize @title))}} class="w-64 ml-3 form-input form-input-sm {{@searchInputClass}}" {{on "keyup" @onSearch}} /> | ||
{{/if}} | ||
</div> | ||
{{#unless @hideActions}} | ||
<div id="next-view-section-subheader-actions" class="next-view-section-subheader-actions {{@actionsWrapperClass}}"> | ||
{{yield}} | ||
</div> | ||
{{/unless}} | ||
{{#unless @hideActions}} | ||
<div id="next-view-section-subheader-actions" class="next-view-section-subheader-actions {{@actionsWrapperClass}}"> | ||
{{yield}} | ||
</div> | ||
{{/unless}} | ||
{{/if}} | ||
</div> |