diff --git a/projects/demo/src/modules/experimental/card-large/examples/9/index.ts b/projects/demo/src/modules/experimental/card-large/examples/9/index.ts
new file mode 100644
index 000000000000..b1b1fe0847fa
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-large/examples/9/index.ts
@@ -0,0 +1,11 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-large-example-9',
+ templateUrl: './index.html',
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardLargeExample9 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/import/import-module.md b/projects/demo/src/modules/experimental/card-large/examples/import/import-module.md
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/import/import-module.md
rename to projects/demo/src/modules/experimental/card-large/examples/import/import-module.md
diff --git a/projects/demo/src/modules/experimental/card-large/examples/import/insert-template.md b/projects/demo/src/modules/experimental/card-large/examples/import/insert-template.md
new file mode 100644
index 000000000000..aefcbe339bba
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-large/examples/import/insert-template.md
@@ -0,0 +1,10 @@
+```html
+
+
+
Header
+
+
+```
diff --git a/projects/demo/src/modules/experimental/card/card.component.ts b/projects/demo/src/modules/experimental/card-medium/card-medium.component.ts
similarity index 95%
rename from projects/demo/src/modules/experimental/card/card.component.ts
rename to projects/demo/src/modules/experimental/card-medium/card-medium.component.ts
index 9cdbd48c8d1f..af0cea5cf190 100644
--- a/projects/demo/src/modules/experimental/card/card.component.ts
+++ b/projects/demo/src/modules/experimental/card-medium/card-medium.component.ts
@@ -4,10 +4,10 @@ import {TuiDocExample, TuiRawLoaderContent} from '@taiga-ui/addon-doc';
@Component({
selector: 'example-card',
- templateUrl: './card.template.html',
+ templateUrl: './card-medium.template.html',
changeDetection,
})
-export class ExampleTuiCardComponent {
+export class ExampleTuiCardMediumComponent {
readonly exampleModule: TuiRawLoaderContent = import(
'./examples/import/import-module.md?raw'
);
diff --git a/projects/demo/src/modules/experimental/card-medium/card-medium.module.ts b/projects/demo/src/modules/experimental/card-medium/card-medium.module.ts
new file mode 100644
index 000000000000..eee00bba5d21
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/card-medium.module.ts
@@ -0,0 +1,90 @@
+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 {
+ TuiAppearanceDirective,
+ TuiDataListModule,
+ TuiHintModule,
+ TuiHostedDropdownModule,
+ TuiLinkModule,
+ TuiNotificationModule,
+ TuiScrollbarModule,
+ TuiSvgModule,
+} from '@taiga-ui/core';
+import {
+ TuiAutoColorModule,
+ TuiAvatarModule,
+ TuiAvatarStackModule,
+ TuiButtonCloseModule,
+ TuiButtonModule,
+ TuiCardModule,
+ TuiCellModule,
+ TuiFadeModule,
+ TuiFallbackSrcModule,
+ TuiHeaderDirective,
+ TuiIconModule,
+ TuiInitialsModule,
+ TuiSurfaceModule,
+ TuiThumbnailCardModule,
+ TuiTitleModule,
+} from '@taiga-ui/experimental';
+import {TuiBadgeDirective} from '@taiga-ui/kit';
+
+import {ExampleTuiCardMediumComponent} from './card-medium.component';
+import {TuiCardMediumExample1} from './examples/1';
+import {TuiCardMediumExample2} from './examples/2';
+import {TuiCardMediumExample3} from './examples/3';
+import {TuiCardMediumExample4} from './examples/4';
+import {TuiCardMediumExample5} from './examples/5';
+import {TuiCardMediumExample6} from './examples/6';
+import {TuiCardMediumExample7} from './examples/7';
+
+@NgModule({
+ imports: [
+ CommonModule,
+ TuiAvatarStackModule,
+ TuiAutoColorModule,
+ TuiInitialsModule,
+ TuiNotificationModule,
+ TuiFallbackSrcModule,
+ TuiFadeModule,
+ TuiCardModule,
+ TuiSurfaceModule,
+ TuiSvgModule,
+ TuiBadgeDirective,
+ TuiTitleModule,
+ TuiAvatarModule,
+ TuiScrollbarModule,
+ TuiHintModule,
+ FormsModule,
+ TuiRippleModule,
+ TuiThumbnailCardModule,
+ TuiIconModule,
+ TuiButtonModule,
+ TuiHeaderDirective,
+ TuiCellModule,
+ tuiGetDocModules(ExampleTuiCardMediumComponent),
+ TuiRepeatTimesModule,
+ TuiDataListModule,
+ TuiHostedDropdownModule,
+ TuiButtonCloseModule,
+ TuiPlatformModule,
+ TuiLinkModule,
+ TuiAppearanceDirective,
+ ],
+ declarations: [
+ ExampleTuiCardMediumComponent,
+ TuiCardMediumExample1,
+ TuiCardMediumExample2,
+ TuiCardMediumExample3,
+ TuiCardMediumExample4,
+ TuiCardMediumExample5,
+ TuiCardMediumExample6,
+ TuiCardMediumExample7,
+ ],
+ exports: [ExampleTuiCardMediumComponent],
+})
+export class ExampleTuiCardMediumModule {}
diff --git a/projects/demo/src/modules/experimental/card/card.template.html b/projects/demo/src/modules/experimental/card-medium/card-medium.template.html
similarity index 71%
rename from projects/demo/src/modules/experimental/card/card.template.html
rename to projects/demo/src/modules/experimental/card-medium/card-medium.template.html
index ac6714c7e620..0f28c1734f90 100644
--- a/projects/demo/src/modules/experimental/card/card.template.html
+++ b/projects/demo/src/modules/experimental/card-medium/card-medium.template.html
@@ -3,19 +3,13 @@
package="EXPERIMENTAL"
type="components"
>
-
-
- This code is
- experimental
- and is a subject to change. Expect final solution to be shipped in the next major version
-
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/projects/demo/src/modules/experimental/card/examples/1/index.html b/projects/demo/src/modules/experimental/card-medium/examples/1/index.html
similarity index 74%
rename from projects/demo/src/modules/experimental/card/examples/1/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/1/index.html
index f5ebe33cc50b..c54eaaa5678b 100644
--- a/projects/demo/src/modules/experimental/card/examples/1/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/1/index.html
@@ -1,4 +1,7 @@
-
+
-
+
-
+
Title
Subtitle
diff --git a/projects/demo/src/modules/experimental/card/examples/1/index.less b/projects/demo/src/modules/experimental/card-medium/examples/1/index.less
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/1/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/1/index.less
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/1/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/1/index.ts
new file mode 100644
index 000000000000..5c465a5bb80a
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/1/index.ts
@@ -0,0 +1,12 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-medium-example-1',
+ templateUrl: './index.html',
+ styleUrls: ['./index.less'],
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardMediumExample1 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/2/index.html b/projects/demo/src/modules/experimental/card-medium/examples/2/index.html
similarity index 78%
rename from projects/demo/src/modules/experimental/card/examples/2/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/2/index.html
index 2973ba7f336d..8a96ad6c3dc4 100644
--- a/projects/demo/src/modules/experimental/card/examples/2/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/2/index.html
@@ -1,4 +1,7 @@
-
+
-
+
Title
Subtitle
diff --git a/projects/demo/src/modules/experimental/card/examples/2/index.less b/projects/demo/src/modules/experimental/card-medium/examples/2/index.less
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/2/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/2/index.less
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/2/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/2/index.ts
new file mode 100644
index 000000000000..ebde32f56b7f
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/2/index.ts
@@ -0,0 +1,12 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-medium-example-2',
+ templateUrl: './index.html',
+ styleUrls: ['./index.less'],
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardMediumExample2 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/3/index.html b/projects/demo/src/modules/experimental/card-medium/examples/3/index.html
similarity index 83%
rename from projects/demo/src/modules/experimental/card/examples/3/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/3/index.html
index b2e9450c93bd..c49710388315 100644
--- a/projects/demo/src/modules/experimental/card/examples/3/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/3/index.html
@@ -1,4 +1,7 @@
-
+
-
+
Title
Subtitle
diff --git a/projects/demo/src/modules/experimental/card/examples/3/index.less b/projects/demo/src/modules/experimental/card-medium/examples/3/index.less
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/3/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/3/index.less
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/3/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/3/index.ts
new file mode 100644
index 000000000000..6e39bf0e4d32
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/3/index.ts
@@ -0,0 +1,12 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-medium-example-3',
+ templateUrl: './index.html',
+ styleUrls: ['./index.less'],
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardMediumExample3 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/4/index.html b/projects/demo/src/modules/experimental/card-medium/examples/4/index.html
similarity index 88%
rename from projects/demo/src/modules/experimental/card/examples/4/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/4/index.html
index 80edf46d4e3d..8a25550db16b 100644
--- a/projects/demo/src/modules/experimental/card/examples/4/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/4/index.html
@@ -1,4 +1,7 @@
-
+
-
+
Title
Subtitle
diff --git a/projects/demo/src/modules/experimental/card/examples/4/index.less b/projects/demo/src/modules/experimental/card-medium/examples/4/index.less
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/4/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/4/index.less
diff --git a/projects/demo/src/modules/experimental/card/examples/4/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/4/index.ts
similarity index 86%
rename from projects/demo/src/modules/experimental/card/examples/4/index.ts
rename to projects/demo/src/modules/experimental/card-medium/examples/4/index.ts
index a381b72caac0..dc08dd24df20 100644
--- a/projects/demo/src/modules/experimental/card/examples/4/index.ts
+++ b/projects/demo/src/modules/experimental/card-medium/examples/4/index.ts
@@ -3,13 +3,13 @@ import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
@Component({
- selector: 'tui-card-example-4',
+ selector: 'tui-card-medium-example-4',
templateUrl: './index.html',
styleUrls: ['./index.less'],
encapsulation,
changeDetection,
})
-export class TuiCardExample4 {
+export class TuiCardMediumExample4 {
readonly urls = [
'https://avatars.githubusercontent.com/u/11832552',
'https://avatars.githubusercontent.com/u/10106368',
diff --git a/projects/demo/src/modules/experimental/card/examples/5/index.html b/projects/demo/src/modules/experimental/card-medium/examples/5/index.html
similarity index 93%
rename from projects/demo/src/modules/experimental/card/examples/5/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/5/index.html
index 58088d841886..28763b559b41 100644
--- a/projects/demo/src/modules/experimental/card/examples/5/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/5/index.html
@@ -1,5 +1,5 @@
@@ -18,7 +18,7 @@
@@ -34,7 +34,7 @@
Flights
@@ -52,7 +52,7 @@
diff --git a/projects/demo/src/modules/experimental/card/examples/5/index.less b/projects/demo/src/modules/experimental/card-medium/examples/5/index.less
similarity index 100%
rename from projects/demo/src/modules/experimental/card/examples/5/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/5/index.less
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/5/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/5/index.ts
new file mode 100644
index 000000000000..dcff1c01429e
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/5/index.ts
@@ -0,0 +1,12 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-medium-example-5',
+ templateUrl: './index.html',
+ styleUrls: ['./index.less'],
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardMediumExample5 {}
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/6/index.html b/projects/demo/src/modules/experimental/card-medium/examples/6/index.html
new file mode 100644
index 000000000000..8030ad639fc3
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/6/index.html
@@ -0,0 +1,44 @@
+
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry.
+
+
+
+ It is a long established fact that a reader will be distracted by the readable content of a page when looking at
+ its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as
+ opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing
+ packages and web page editors now use Lorem Ipsum as their default model text.
+
+
+
+
+ Text without fade out when overflow content
+
+
+ It is a long established fact that a reader will be distracted by the readable content of a page when looking at
+ its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as
+ opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing
+ packages and web page editors now use Lorem Ipsum as their default model text.
+
+
diff --git a/projects/demo/src/modules/experimental/card/examples/6/index.less b/projects/demo/src/modules/experimental/card-medium/examples/6/index.less
similarity index 87%
rename from projects/demo/src/modules/experimental/card/examples/6/index.less
rename to projects/demo/src/modules/experimental/card-medium/examples/6/index.less
index 2cc57e51845a..e252245e982b 100644
--- a/projects/demo/src/modules/experimental/card/examples/6/index.less
+++ b/projects/demo/src/modules/experimental/card-medium/examples/6/index.less
@@ -6,7 +6,6 @@
}
.fade {
- .scrollbar-hidden();
width: 100%;
height: 2rem;
white-space: nowrap;
@@ -14,7 +13,6 @@
}
.fade-vertical {
- .scrollbar-hidden();
height: 5rem;
overflow: auto;
}
diff --git a/projects/demo/src/modules/experimental/card-medium/examples/6/index.ts b/projects/demo/src/modules/experimental/card-medium/examples/6/index.ts
new file mode 100644
index 000000000000..a0ea458bd2b8
--- /dev/null
+++ b/projects/demo/src/modules/experimental/card-medium/examples/6/index.ts
@@ -0,0 +1,12 @@
+import {Component} from '@angular/core';
+import {changeDetection} from '@demo/emulate/change-detection';
+import {encapsulation} from '@demo/emulate/encapsulation';
+
+@Component({
+ selector: 'tui-card-medium-example-6',
+ templateUrl: './index.html',
+ styleUrls: ['./index.less'],
+ encapsulation,
+ changeDetection,
+})
+export class TuiCardMediumExample6 {}
diff --git a/projects/demo/src/modules/experimental/card/examples/7/index.html b/projects/demo/src/modules/experimental/card-medium/examples/7/index.html
similarity index 71%
rename from projects/demo/src/modules/experimental/card/examples/7/index.html
rename to projects/demo/src/modules/experimental/card-medium/examples/7/index.html
index 96c8272f7a08..630e9682ab67 100644
--- a/projects/demo/src/modules/experimental/card/examples/7/index.html
+++ b/projects/demo/src/modules/experimental/card-medium/examples/7/index.html
@@ -1,18 +1,13 @@
-
-
-
- Lorem Ipsum is simply dummy text of the printing and typesetting industry.
-
-
-
-
-
-
- It is a long established fact that a reader will be distracted by the readable content of a page
- when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal
- distribution of letters, as opposed to using 'Content here, content here', making it look like
- readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their
- default model text.
-
-
-
-
-
-
-
-
Text without fade out when overflow content
-
-
- It is a long established fact that a reader will be distracted by the readable content of a page when looking at
- its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as
- opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing
- packages and web page editors now use Lorem Ipsum as their default model text.
-