From 910d19e1cc6ad55f5167875fdc77005a182a0471 Mon Sep 17 00:00:00 2001 From: mdlufy Date: Fri, 27 Sep 2024 17:16:58 +0300 Subject: [PATCH] chore(demo): `Appearance` add `icon` --- projects/core/directives/appearance/appearance.options.ts | 1 + projects/demo/src/components/appearance/index.ts | 1 + .../demo/src/modules/directives/appearance/examples/4/index.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/projects/core/directives/appearance/appearance.options.ts b/projects/core/directives/appearance/appearance.options.ts index 5705cf03b17d..3266fcac1c22 100644 --- a/projects/core/directives/appearance/appearance.options.ts +++ b/projects/core/directives/appearance/appearance.options.ts @@ -12,6 +12,7 @@ type Appearance = TuiLooseUnion< | 'flat' | 'floating' | 'glass' + | 'icon' | 'info' | 'link' | 'neutral' diff --git a/projects/demo/src/components/appearance/index.ts b/projects/demo/src/components/appearance/index.ts index 02ac9689668c..874fcf89b0ad 100644 --- a/projects/demo/src/components/appearance/index.ts +++ b/projects/demo/src/components/appearance/index.ts @@ -33,6 +33,7 @@ export class TuiDocAppearance { 'warning', 'info', 'glass', + 'icon', ] as const; protected readonly states: readonly TuiInteractiveState[] = [ diff --git a/projects/demo/src/modules/directives/appearance/examples/4/index.ts b/projects/demo/src/modules/directives/appearance/examples/4/index.ts index 99dd433f7cff..3fcd46e17282 100644 --- a/projects/demo/src/modules/directives/appearance/examples/4/index.ts +++ b/projects/demo/src/modules/directives/appearance/examples/4/index.ts @@ -31,5 +31,6 @@ export default class Example { 'warning', 'info', 'glass', + 'icon', ] as const; }