From f8539422ee5c3286bb11e84b8d8c06c0e5729018 Mon Sep 17 00:00:00 2001 From: Fedor Zheleznyak <15195599+Zheleznyak-F@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:18:44 +0300 Subject: [PATCH] chore(demo): TuiBlockStatus with empty t-block-image (#9749) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Железняк Федор --- .../components/block-status/examples/7/index.html | 14 ++++++++++++++ .../components/block-status/examples/7/index.ts | 14 ++++++++++++++ .../src/modules/components/block-status/index.ts | 1 + 3 files changed, 29 insertions(+) create mode 100644 projects/demo/src/modules/components/block-status/examples/7/index.html create mode 100644 projects/demo/src/modules/components/block-status/examples/7/index.ts diff --git a/projects/demo/src/modules/components/block-status/examples/7/index.html b/projects/demo/src/modules/components/block-status/examples/7/index.html new file mode 100644 index 000000000000..d1074c23631a --- /dev/null +++ b/projects/demo/src/modules/components/block-status/examples/7/index.html @@ -0,0 +1,14 @@ + +

Something happened in this block

+ + Try again later + + +
diff --git a/projects/demo/src/modules/components/block-status/examples/7/index.ts b/projects/demo/src/modules/components/block-status/examples/7/index.ts new file mode 100644 index 000000000000..2e3401318ad5 --- /dev/null +++ b/projects/demo/src/modules/components/block-status/examples/7/index.ts @@ -0,0 +1,14 @@ +import {Component} from '@angular/core'; +import {changeDetection} from '@demo/emulate/change-detection'; +import {encapsulation} from '@demo/emulate/encapsulation'; +import {TuiButton} from '@taiga-ui/core'; +import {TuiBlockStatus} from '@taiga-ui/layout'; + +@Component({ + standalone: true, + imports: [TuiBlockStatus, TuiButton], + templateUrl: './index.html', + encapsulation, + changeDetection, +}) +export default class Example {} diff --git a/projects/demo/src/modules/components/block-status/index.ts b/projects/demo/src/modules/components/block-status/index.ts index 7ab9a98288be..5c74c39c448e 100644 --- a/projects/demo/src/modules/components/block-status/index.ts +++ b/projects/demo/src/modules/components/block-status/index.ts @@ -25,5 +25,6 @@ export default class Example { 'Customization', 'Mobile', 'Desktop medium', + 'Empty image block', ]; }