-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(experimental): add
TuiCard
(#5777)
- Loading branch information
Showing
39 changed files
with
1,223 additions
and
2 deletions.
There are no files selected for viewing
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.
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
60 changes: 60 additions & 0 deletions
60
projects/demo/src/modules/experimental/card/card.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,60 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {TuiDocExample, TuiRawLoaderContent} from '@taiga-ui/addon-doc'; | ||
|
||
@Component({ | ||
selector: 'example-card', | ||
templateUrl: './card.template.html', | ||
changeDetection, | ||
}) | ||
export class ExampleTuiCardComponent { | ||
readonly exampleModule: TuiRawLoaderContent = import( | ||
'./examples/import/import-module.md?raw' | ||
); | ||
|
||
readonly exampleHtml: TuiRawLoaderContent = import( | ||
'./examples/import/insert-template.md?raw' | ||
); | ||
|
||
readonly example1: TuiDocExample = { | ||
TypeScript: import('./examples/1/index.ts?raw'), | ||
HTML: import('./examples/1/index.html?raw'), | ||
LESS: import('./examples/1/index.less?raw'), | ||
}; | ||
|
||
readonly example2: TuiDocExample = { | ||
TypeScript: import('./examples/2/index.ts?raw'), | ||
HTML: import('./examples/2/index.html?raw'), | ||
LESS: import('./examples/2/index.less?raw'), | ||
}; | ||
|
||
readonly example3: TuiDocExample = { | ||
TypeScript: import('./examples/3/index.ts?raw'), | ||
HTML: import('./examples/3/index.html?raw'), | ||
LESS: import('./examples/3/index.less?raw'), | ||
}; | ||
|
||
readonly example4: TuiDocExample = { | ||
TypeScript: import('./examples/4/index.ts?raw'), | ||
HTML: import('./examples/4/index.html?raw'), | ||
LESS: import('./examples/4/index.less?raw'), | ||
}; | ||
|
||
readonly example5: TuiDocExample = { | ||
TypeScript: import('./examples/5/index.ts?raw'), | ||
HTML: import('./examples/5/index.html?raw'), | ||
LESS: import('./examples/5/index.less?raw'), | ||
}; | ||
|
||
readonly example6: TuiDocExample = { | ||
TypeScript: import('./examples/6/index.ts?raw'), | ||
HTML: import('./examples/6/index.html?raw'), | ||
LESS: import('./examples/6/index.less?raw'), | ||
}; | ||
|
||
readonly example7: TuiDocExample = { | ||
TypeScript: import('./examples/7/index.ts?raw'), | ||
HTML: import('./examples/7/index.html?raw'), | ||
LESS: import('./examples/7/index.less?raw'), | ||
}; | ||
} |
Oops, something went wrong.