-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
572 additions
and
430 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
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
100 changes: 100 additions & 0 deletions
100
projects/demo/src/modules/experimental/card-large/card-large.module.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,100 @@ | ||
import {CommonModule} from '@angular/common'; | ||
import {NgModule} from '@angular/core'; | ||
import {FormsModule} from '@angular/forms'; | ||
import {tuiGetDocModules} from '@taiga-ui/addon-doc'; | ||
import {TuiRippleModule} from '@taiga-ui/addon-mobile'; | ||
import {TuiPlatformModule, TuiRepeatTimesModule} from '@taiga-ui/cdk'; | ||
import { | ||
TuiDataListModule, | ||
TuiHintModule, | ||
TuiHostedDropdownModule, | ||
TuiLinkModule, | ||
TuiNotificationModule, | ||
TuiScrollbarModule, | ||
TuiSvgModule, | ||
} from '@taiga-ui/core'; | ||
import { | ||
TuiAppearanceModule, | ||
TuiAutoColorModule, | ||
TuiAvatarModule, | ||
TuiAvatarStackModule, | ||
TuiBadgeModule, | ||
TuiButtonCloseModule, | ||
TuiButtonModule, | ||
TuiCardModule, | ||
TuiCellModule, | ||
TuiFadeModule, | ||
TuiFallbackSrcModule, | ||
TuiHeaderModule, | ||
TuiIconModule, | ||
TuiInitialsModule, | ||
TuiSurfaceModule, | ||
TuiThumbnailCardModule, | ||
TuiTitleModule, | ||
} from '@taiga-ui/experimental'; | ||
|
||
import {ExampleTuiCardLargeComponent} from './card-large.component'; | ||
import {TuiCardLargeExample1} from './examples/1'; | ||
import {TuiCardLargeExample2} from './examples/2'; | ||
import {TuiCardLargeExample3} from './examples/3'; | ||
import {TuiCardLargeExample4} from './examples/4'; | ||
import {TuiCardLargeExample5} from './examples/5'; | ||
import {TuiCardLargeExample6} from './examples/6'; | ||
import {TuiCardLargeExample7} from './examples/7'; | ||
import {TuiCardLargeExample8} from './examples/8'; | ||
import {TuiCardLargeExample9} from './examples/9'; | ||
import {TuiCardLargeExample10} from './examples/10'; | ||
import {TuiCardLargeExample11} from './examples/11'; | ||
import {TuiCardLargeExample12} from './examples/12'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule, | ||
TuiAvatarStackModule, | ||
TuiAutoColorModule, | ||
TuiInitialsModule, | ||
TuiNotificationModule, | ||
TuiFallbackSrcModule, | ||
TuiFadeModule, | ||
TuiCardModule, | ||
TuiSurfaceModule, | ||
TuiSvgModule, | ||
TuiBadgeModule, | ||
TuiTitleModule, | ||
TuiAvatarModule, | ||
TuiScrollbarModule, | ||
TuiHintModule, | ||
FormsModule, | ||
TuiRippleModule, | ||
TuiThumbnailCardModule, | ||
TuiIconModule, | ||
TuiButtonModule, | ||
TuiHeaderModule, | ||
TuiCellModule, | ||
tuiGetDocModules(ExampleTuiCardLargeComponent), | ||
TuiRepeatTimesModule, | ||
TuiDataListModule, | ||
TuiHostedDropdownModule, | ||
TuiButtonCloseModule, | ||
TuiPlatformModule, | ||
TuiLinkModule, | ||
TuiAppearanceModule, | ||
], | ||
declarations: [ | ||
ExampleTuiCardLargeComponent, | ||
TuiCardLargeExample1, | ||
TuiCardLargeExample2, | ||
TuiCardLargeExample3, | ||
TuiCardLargeExample4, | ||
TuiCardLargeExample5, | ||
TuiCardLargeExample6, | ||
TuiCardLargeExample7, | ||
TuiCardLargeExample8, | ||
TuiCardLargeExample9, | ||
TuiCardLargeExample10, | ||
TuiCardLargeExample11, | ||
TuiCardLargeExample12, | ||
], | ||
exports: [ExampleTuiCardLargeComponent], | ||
}) | ||
export class ExampleTuiCardLargeModule {} |
127 changes: 127 additions & 0 deletions
127
projects/demo/src/modules/experimental/card-large/card-large.template.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 |
---|---|---|
@@ -0,0 +1,127 @@ | ||
<tui-doc-page | ||
header="CardLarge" | ||
package="EXPERIMENTAL" | ||
type="components" | ||
> | ||
<ng-template pageTab> | ||
<tui-doc-example | ||
id="basic" | ||
heading="Basic" | ||
[content]="example1" | ||
> | ||
<tui-card-large-example-1></tui-card-large-example-1> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="cell-avatar" | ||
heading="Avatar" | ||
[content]="example2" | ||
> | ||
<tui-card-large-example-2></tui-card-large-example-2> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="single" | ||
heading="Single item" | ||
[content]="example3" | ||
> | ||
<tui-card-large-example-3></tui-card-large-example-3> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="cards-list" | ||
heading="Cards List" | ||
[content]="example4" | ||
> | ||
<tui-card-large-example-4></tui-card-large-example-4> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="cell-list" | ||
heading="Cell List" | ||
[content]="example5" | ||
> | ||
<tui-card-large-example-5></tui-card-large-example-5> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="cell-list-columns" | ||
heading="Cell List (2 columns)" | ||
[content]="example6" | ||
[fullsize]="true" | ||
> | ||
<tui-card-large-example-6></tui-card-large-example-6> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="cell-list-headless" | ||
heading="Cell List (actions)" | ||
[content]="example7" | ||
> | ||
<tui-card-large-example-7></tui-card-large-example-7> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="align" | ||
heading="Footer alignment" | ||
[content]="example8" | ||
> | ||
<tui-card-large-example-8></tui-card-large-example-8> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="map" | ||
heading="Map" | ||
[content]="example9" | ||
[fullsize]="true" | ||
> | ||
<tui-card-large-example-9></tui-card-large-example-9> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="image" | ||
heading="Image" | ||
[content]="example10" | ||
> | ||
<tui-card-large-example-10></tui-card-large-example-10> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="image-dark" | ||
heading="Image-dark" | ||
[content]="example11" | ||
> | ||
<tui-card-large-example-11></tui-card-large-example-11> | ||
</tui-doc-example> | ||
|
||
<tui-doc-example | ||
id="paddings" | ||
heading="Paddings and radiuses" | ||
[content]="example12" | ||
> | ||
<tui-card-large-example-12></tui-card-large-example-12> | ||
</tui-doc-example> | ||
</ng-template> | ||
|
||
<ng-template pageTab="Setup"> | ||
<ol class="b-demo-steps"> | ||
<li> | ||
<p>Import module:</p> | ||
|
||
<tui-doc-code | ||
filename="my.module.ts" | ||
[code]="exampleModule" | ||
></tui-doc-code> | ||
</li> | ||
|
||
<li> | ||
<p>Add to the template:</p> | ||
|
||
<tui-doc-code | ||
filename="my.component.html" | ||
[code]="exampleHtml" | ||
></tui-doc-code> | ||
</li> | ||
</ol> | ||
</ng-template> | ||
</tui-doc-page> |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
Oops, something went wrong.