-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(kit)!:
Action
refactor to button[tuiAction], a[tuiAction]
(
- Loading branch information
1 parent
2b6f069
commit 059d7af
Showing
9 changed files
with
57 additions
and
87 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
6 changes: 4 additions & 2 deletions
6
projects/demo/src/modules/components/action/action.component.ts
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
49 changes: 26 additions & 23 deletions
49
projects/demo/src/modules/components/action/examples/1/index.html
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,23 +1,26 @@ | ||
<div class="wrapper"> | ||
<tui-action | ||
icon="tuiIconStarLarge" | ||
class="action" | ||
(click)="onClick('Different')" | ||
> | ||
And now for something completely different | ||
</tui-action> | ||
<tui-action | ||
icon="tuiIconBellLarge" | ||
class="action" | ||
(click)="onClick('Inquisition')" | ||
> | ||
Nobody expects the Spanish Inquisition! | ||
</tui-action> | ||
<tui-action | ||
icon="tuiIconFlagLarge" | ||
class="action" | ||
(click)="onClick('Lumberjack')" | ||
> | ||
I'm a lumberjack and I'm OK | ||
</tui-action> | ||
</div> | ||
<button | ||
tuiAction | ||
icon="tuiIconStarLarge" | ||
class="action" | ||
(click)="onClick('Different')" | ||
> | ||
And now for something completely different | ||
</button> | ||
|
||
<button | ||
tuiAction | ||
icon="tuiIconBellLarge" | ||
class="action" | ||
(click)="onClick('Inquisition')" | ||
> | ||
Nobody expects the Spanish Inquisition! | ||
</button> | ||
|
||
<button | ||
tuiAction | ||
icon="tuiIconFlagLarge" | ||
class="action" | ||
(click)="onClick('Lumberjack')" | ||
> | ||
I'm a lumberjack and I'm OK | ||
</button> |
8 changes: 4 additions & 4 deletions
8
projects/demo/src/modules/components/action/examples/1/index.less
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
5 changes: 3 additions & 2 deletions
5
projects/demo/src/modules/components/action/examples/import/insert-template.md
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
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