-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(layout):
CardLarge
with headless Cell
list
- Loading branch information
Showing
11 changed files
with
130 additions
and
58 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
projects/demo/src/modules/components/card-large/examples/13/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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<div | ||
tuiCardLarge | ||
tuiSurface="elevated" | ||
> | ||
<header tuiHeader> | ||
<h1 tuiTitle> | ||
Title | ||
<span tuiSubtitle>Subtitle</span> | ||
</h1> | ||
</header> | ||
|
||
<section> | ||
<iframe | ||
height="450" | ||
loading="lazy" | ||
src="https://yandex.ru/map-widget/v1/?um=constructor%3A0ff7188173ceeea1b3c1d5b2ebeaca63ceb70dc60ebc79513c51bb855356a6ac&source=constructor" | ||
title="map" | ||
width="100%" | ||
class="map" | ||
></iframe> | ||
</section> | ||
|
||
<footer> | ||
<button | ||
appearance="secondary" | ||
size="m" | ||
tuiButton | ||
type="button" | ||
> | ||
Label | ||
</button> | ||
</footer> | ||
</div> |
Empty file.
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/components/card-large/examples/13/index.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,14 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {encapsulation} from '@demo/emulate/encapsulation'; | ||
import {TuiButton, TuiSurface} from '@taiga-ui/core'; | ||
import {TuiCardLarge, TuiHeader} from '@taiga-ui/layout'; | ||
|
||
@Component({ | ||
standalone: true, | ||
imports: [TuiButton, TuiCardLarge, TuiHeader, TuiSurface], | ||
templateUrl: './index.html', | ||
encapsulation, | ||
changeDetection, | ||
}) | ||
export default class Example {} |
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: 0 additions & 6 deletions
6
projects/demo/src/modules/components/card-large/examples/8/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +0,0 @@ | ||
:host { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: 1rem; | ||
inline-size: 30rem; | ||
} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:host { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
gap: 1rem; | ||
inline-size: 30rem; | ||
} |
16 changes: 13 additions & 3 deletions
16
projects/demo/src/modules/components/card-large/examples/9/index.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
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