Add umb-icon to umb-tree-item and umb-tree-search-box (#9064)
* feat: add svg icons to umb-tree-item and umb-tree-search-box * refactor: remove unnessesary aria-hidden from umb-tree-icon * refactor: remove aria hidden from umb-tree-search-box icon
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<span class="sr-only">Expand child items for {{node.name}}</span>
|
||||
</button>
|
||||
|
||||
<i class="icon umb-tree-icon sprTree" ng-class="node.cssClass" title="{{::node.title}}" ng-click="select(node, $event)" ng-style="::node.style" tabindex="-1" aria-hidden="true"></i>
|
||||
<umb-icon icon="{{node.icon}}" class="icon umb-tree-icon sprTree" ng-class="node.cssClass" title="{{::node.title}}" ng-click="select(node, $event)" ng-style="::node.style" tabindex="-1"></umb-icon>
|
||||
<span class="umb-tree-item__annotation"></span>
|
||||
<a class="umb-tree-item__label" ng-href="#/{{::node.routePath}}" ng-click="select(node, $event)" title="{{::node.title}}">{{node.name}}</a>
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div class="form-search">
|
||||
<i class="icon icon-search" ng-if="showSearch == 'false'" aria-hidden="true"></i>
|
||||
<umb-icon icon="icon-search" class="icon icon-search" ng-if="showSearch == 'false'"></umb-icon>
|
||||
<button type="button" class="btn-reset icon icon-arrow-left" ng-if="showSearch == 'true'" localize="title" title="@general_back" ng-click="hideSearch()"></button>
|
||||
<input type="text"
|
||||
ng-model="term"
|
||||
class="umb-search-field search-query -full-width-input"
|
||||
placeholder="{{searchPlaceholderText}}"
|
||||
placeholder="{{searchPlaceholderText}}"
|
||||
umb-auto-focus="{{autoFocus ? 'true' : 'false'}}">
|
||||
<h4 ng-if="showSearch && searchFromName">
|
||||
<small><localize key="general_search">Search</localize>: </small>
|
||||
|
||||
Reference in New Issue
Block a user