-
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.
chore(demo): update disable-animation page (#6167)
Co-authored-by: taiga-family-bot <[email protected]>
- Loading branch information
1 parent
61f84b7
commit 5c2e420
Showing
20 changed files
with
266 additions
and
234 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="t-tab"> | ||
<img | ||
alt="logo" | ||
class="t-icon" | ||
[src]="src" | ||
/> | ||
<ng-content></ng-content> | ||
</div> |
14 changes: 14 additions & 0 deletions
14
projects/addon-doc/components/doc-tab/doc-tab.component.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.t-tab { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
padding: 0 0.5rem; | ||
gap: 0.5rem; | ||
color: var(--tui-text-01); | ||
|
||
.t-icon { | ||
width: 1rem; | ||
height: 1rem; | ||
color: var(--tui-text-01); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
projects/addon-doc/components/doc-tab/doc-tab.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {ChangeDetectionStrategy, Component, Input} from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'tui-doc-tab', | ||
templateUrl: './doc-tab.component.html', | ||
styleUrls: ['./doc-tab.component.less'], | ||
changeDetection: ChangeDetectionStrategy.OnPush, | ||
}) | ||
export class TuiDocTabComponent { | ||
@Input() | ||
src: string = ''; | ||
} |
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,9 @@ | ||
import {NgModule} from '@angular/core'; | ||
|
||
import {TuiDocTabComponent} from './doc-tab.component'; | ||
|
||
@NgModule({ | ||
declarations: [TuiDocTabComponent], | ||
exports: [TuiDocTabComponent], | ||
}) | ||
export class TuiDocTabModule {} |
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 was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.