Skip to content

Commit

Permalink
fix(stark-ui): change default behaviour of collapsible icon
Browse files Browse the repository at this point in the history
BREAKING CHANGES:

Collapsible component:
  - `iconSpinningEnabled` Input has been removed. The spin effect can be
  done easily by the developer if needed
  - The default icon is now 'chevron-right' and it is rotated 90
  degrees when collapsible is expanded.
  • Loading branch information
SuperITMan committed Apr 2, 2019
1 parent 95bbf75 commit 552461f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
<mat-expansion-panel class="stark-collapsible" id="{{ htmlId }}" [expanded]="isExpanded" hideToggle>
<mat-expansion-panel-header (click)="toggleCollapsible()">
<mat-panel-title>
<mat-icon [ngClass]="{ spin: _isDefaultIcon }"
class="stark-collapsible-icon"
starkSvgViewBox
[svgIcon]="icon"></mat-icon>
<mat-icon [ngClass]="{ spin: _isDefaultIcon }" class="stark-collapsible-icon" starkSvgViewBox [svgIcon]="icon"></mat-icon>
<span class="stark-collapsible-title" translate>{{ titleLabel }}</span>
</mat-panel-title>
</mat-expansion-panel-header>
Expand Down

0 comments on commit 552461f

Please sign in to comment.