@taiga-ui/experimental 3.54.0 → 3.55.0-canary.f5fbcc5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/bundles/taiga-ui-experimental-components-avatar.umd.js +19 -15
  2. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
  3. package/bundles/taiga-ui-experimental-components-badge-notification.umd.js +7 -12
  4. package/bundles/taiga-ui-experimental-components-badge-notification.umd.js.map +1 -1
  5. package/bundles/taiga-ui-experimental-components-badge.umd.js +112 -96
  6. package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
  7. package/bundles/taiga-ui-experimental-components-badged-content.umd.js +1 -1
  8. package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
  9. package/bundles/taiga-ui-experimental-components-button.umd.js +29 -27
  10. package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
  11. package/bundles/taiga-ui-experimental-components-checkbox.umd.js +13 -29
  12. package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
  13. package/bundles/taiga-ui-experimental-components-icon.umd.js +24 -43
  14. package/bundles/taiga-ui-experimental-components-icon.umd.js.map +1 -1
  15. package/bundles/taiga-ui-experimental-components-radio.umd.js +10 -21
  16. package/bundles/taiga-ui-experimental-components-radio.umd.js.map +1 -1
  17. package/bundles/taiga-ui-experimental-components-rating.umd.js +7 -7
  18. package/bundles/taiga-ui-experimental-components-rating.umd.js.map +1 -1
  19. package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js +29 -10
  20. package/bundles/taiga-ui-experimental-components-thumbnail-card.umd.js.map +1 -1
  21. package/bundles/taiga-ui-experimental-components-toggle.umd.js +14 -30
  22. package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
  23. package/bundles/taiga-ui-experimental-directives-appearance.umd.js +82 -0
  24. package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +1 -0
  25. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +95 -0
  26. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +1 -0
  27. package/bundles/taiga-ui-experimental-directives-card.umd.js +89 -88
  28. package/bundles/taiga-ui-experimental-directives-card.umd.js.map +1 -1
  29. package/bundles/taiga-ui-experimental-directives-cell.umd.js +6 -11
  30. package/bundles/taiga-ui-experimental-directives-cell.umd.js.map +1 -1
  31. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +1 -1
  32. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +1 -1
  33. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +3 -3
  34. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
  35. package/bundles/taiga-ui-experimental-directives-surface.umd.js +6 -5
  36. package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
  37. package/bundles/taiga-ui-experimental-directives-title.umd.js +5 -10
  38. package/bundles/taiga-ui-experimental-directives-title.umd.js.map +1 -1
  39. package/bundles/taiga-ui-experimental-directives.umd.js +16 -4
  40. package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
  41. package/bundles/taiga-ui-experimental-tokens.umd.js +31 -0
  42. package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -0
  43. package/bundles/taiga-ui-experimental.umd.js +10 -4
  44. package/bundles/taiga-ui-experimental.umd.js.map +1 -1
  45. package/components/avatar/avatar.component.d.ts +5 -4
  46. package/components/avatar/avatar.module.d.ts +2 -2
  47. package/components/badge/badge.component.d.ts +1 -11
  48. package/components/badge/badge.directive.d.ts +12 -0
  49. package/components/badge/badge.module.d.ts +2 -1
  50. package/components/badge/badge.options.d.ts +2 -3
  51. package/components/badge/index.d.ts +1 -0
  52. package/components/badge-notification/badge-notification.component.d.ts +1 -3
  53. package/components/button/button.component.d.ts +1 -3
  54. package/components/button/button.directive.d.ts +6 -4
  55. package/components/checkbox/checkbox.component.d.ts +5 -9
  56. package/components/icon/icon.component.d.ts +5 -1
  57. package/components/icon/icon.module.d.ts +1 -2
  58. package/components/icon/index.d.ts +0 -1
  59. package/components/radio/radio.component.d.ts +3 -7
  60. package/components/rating/rating.module.d.ts +3 -3
  61. package/components/thumbnail-card/thumbnail-card.component.d.ts +4 -1
  62. package/components/thumbnail-card/thumbnail-card.module.d.ts +2 -2
  63. package/components/toggle/toggle.component.d.ts +5 -10
  64. package/directives/appearance/appearance.directive.d.ts +9 -0
  65. package/directives/appearance/appearance.module.d.ts +7 -0
  66. package/directives/appearance/index.d.ts +2 -0
  67. package/directives/appearance/package.json +10 -0
  68. package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +5 -0
  69. package/directives/button-vertical/button-vertical.component.d.ts +5 -0
  70. package/directives/button-vertical/button-vertical.directive.d.ts +7 -0
  71. package/directives/button-vertical/button-vertical.module.d.ts +8 -0
  72. package/directives/button-vertical/index.d.ts +3 -0
  73. package/directives/button-vertical/package.json +10 -0
  74. package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +5 -0
  75. package/directives/card/card.component.d.ts +5 -0
  76. package/directives/card/card.directive.d.ts +0 -4
  77. package/directives/card/card.module.d.ts +3 -2
  78. package/directives/card/index.d.ts +1 -0
  79. package/directives/cell/cell.directive.d.ts +2 -3
  80. package/directives/index.d.ts +2 -0
  81. package/directives/sensitive/sensitive.module.d.ts +2 -1
  82. package/directives/title/title.directive.d.ts +2 -3
  83. package/esm2015/components/avatar/avatar.component.js +17 -12
  84. package/esm2015/components/avatar/avatar.module.js +5 -5
  85. package/esm2015/components/badge/badge.component.js +8 -36
  86. package/esm2015/components/badge/badge.directive.js +42 -0
  87. package/esm2015/components/badge/badge.module.js +5 -4
  88. package/esm2015/components/badge/badge.options.js +2 -2
  89. package/esm2015/components/badge/index.js +2 -1
  90. package/esm2015/components/badge-notification/badge-notification.component.js +4 -10
  91. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  92. package/esm2015/components/button/button.component.js +3 -10
  93. package/esm2015/components/button/button.directive.js +21 -11
  94. package/esm2015/components/checkbox/checkbox.component.js +13 -29
  95. package/esm2015/components/icon/icon.component.js +20 -7
  96. package/esm2015/components/icon/icon.module.js +4 -5
  97. package/esm2015/components/icon/index.js +1 -2
  98. package/esm2015/components/radio/radio.component.js +7 -20
  99. package/esm2015/components/rating/rating.component.js +3 -3
  100. package/esm2015/components/rating/rating.module.js +5 -5
  101. package/esm2015/components/thumbnail-card/thumbnail-card.component.js +21 -5
  102. package/esm2015/components/thumbnail-card/thumbnail-card.module.js +5 -5
  103. package/esm2015/components/toggle/toggle.component.js +13 -29
  104. package/esm2015/directives/appearance/appearance.directive.js +30 -0
  105. package/esm2015/directives/appearance/appearance.module.js +16 -0
  106. package/esm2015/directives/appearance/index.js +3 -0
  107. package/esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js +5 -0
  108. package/esm2015/directives/button-vertical/button-vertical.component.js +19 -0
  109. package/esm2015/directives/button-vertical/button-vertical.directive.js +22 -0
  110. package/esm2015/directives/button-vertical/button-vertical.module.js +17 -0
  111. package/esm2015/directives/button-vertical/index.js +4 -0
  112. package/esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js +5 -0
  113. package/esm2015/directives/card/card.component.js +19 -0
  114. package/esm2015/directives/card/card.directive.js +3 -18
  115. package/esm2015/directives/card/card.module.js +3 -2
  116. package/esm2015/directives/card/index.js +2 -1
  117. package/esm2015/directives/cell/cell.component.js +1 -1
  118. package/esm2015/directives/cell/cell.directive.js +7 -12
  119. package/esm2015/directives/index.js +3 -1
  120. package/esm2015/directives/progress-segmented/progress-segmented.component.js +1 -1
  121. package/esm2015/directives/sensitive/sensitive.component.js +1 -1
  122. package/esm2015/directives/sensitive/sensitive.module.js +4 -3
  123. package/esm2015/directives/surface/surface.component.js +1 -1
  124. package/esm2015/directives/surface/surface.directive.js +7 -6
  125. package/esm2015/directives/title/title.component.js +1 -1
  126. package/esm2015/directives/title/title.directive.js +6 -11
  127. package/esm2015/index.js +2 -1
  128. package/esm2015/tokens/icon-resolver.js +15 -0
  129. package/esm2015/tokens/index.js +2 -0
  130. package/esm2015/tokens/taiga-ui-experimental-tokens.js +5 -0
  131. package/fesm2015/taiga-ui-experimental-components-avatar.js +20 -15
  132. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
  133. package/fesm2015/taiga-ui-experimental-components-badge-notification.js +3 -9
  134. package/fesm2015/taiga-ui-experimental-components-badge-notification.js.map +1 -1
  135. package/fesm2015/taiga-ui-experimental-components-badge.js +40 -29
  136. package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
  137. package/fesm2015/taiga-ui-experimental-components-badged-content.js +1 -1
  138. package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
  139. package/fesm2015/taiga-ui-experimental-components-button.js +25 -22
  140. package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
  141. package/fesm2015/taiga-ui-experimental-components-checkbox.js +12 -28
  142. package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
  143. package/fesm2015/taiga-ui-experimental-components-icon.js +22 -37
  144. package/fesm2015/taiga-ui-experimental-components-icon.js.map +1 -1
  145. package/fesm2015/taiga-ui-experimental-components-radio.js +7 -20
  146. package/fesm2015/taiga-ui-experimental-components-radio.js.map +1 -1
  147. package/fesm2015/taiga-ui-experimental-components-rating.js +6 -6
  148. package/fesm2015/taiga-ui-experimental-components-rating.js.map +1 -1
  149. package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js +24 -8
  150. package/fesm2015/taiga-ui-experimental-components-thumbnail-card.js.map +1 -1
  151. package/fesm2015/taiga-ui-experimental-components-toggle.js +12 -28
  152. package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
  153. package/fesm2015/taiga-ui-experimental-directives-appearance.js +50 -0
  154. package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +1 -0
  155. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js +58 -0
  156. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +1 -0
  157. package/fesm2015/taiga-ui-experimental-directives-card.js +1 -0
  158. package/fesm2015/taiga-ui-experimental-directives-card.js.map +1 -1
  159. package/fesm2015/taiga-ui-experimental-directives-cell.js +7 -12
  160. package/fesm2015/taiga-ui-experimental-directives-cell.js.map +1 -1
  161. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js +1 -1
  162. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +1 -1
  163. package/fesm2015/taiga-ui-experimental-directives-sensitive.js +3 -3
  164. package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
  165. package/fesm2015/taiga-ui-experimental-directives-surface.js +7 -6
  166. package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
  167. package/fesm2015/taiga-ui-experimental-directives-title.js +6 -11
  168. package/fesm2015/taiga-ui-experimental-directives-title.js.map +1 -1
  169. package/fesm2015/taiga-ui-experimental-directives.js +2 -0
  170. package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
  171. package/fesm2015/taiga-ui-experimental-tokens.js +22 -0
  172. package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -0
  173. package/fesm2015/taiga-ui-experimental.js +1 -0
  174. package/fesm2015/taiga-ui-experimental.js.map +1 -1
  175. package/index.d.ts +1 -0
  176. package/package.json +31 -31
  177. package/tokens/icon-resolver.d.ts +4 -0
  178. package/tokens/index.d.ts +1 -0
  179. package/tokens/package.json +10 -0
  180. package/tokens/taiga-ui-experimental-tokens.d.ts +5 -0
  181. package/components/icon/icon.pipe.d.ts +0 -12
  182. package/esm2015/components/icon/icon.pipe.js +0 -30
@@ -1,10 +1,9 @@
1
1
  import { Provider } from '@angular/core';
2
2
  import { TuiSizeS, TuiSizeXL } from '@taiga-ui/core';
3
- import { TuiStatus } from '@taiga-ui/kit';
4
3
  export interface TuiBadgeOptions {
5
- readonly appearance: TuiStatus | 'accent' | 'light';
4
+ readonly appearance: string;
6
5
  readonly size: TuiSizeS | TuiSizeXL;
7
- readonly hoverable: boolean;
6
+ readonly dot: boolean;
8
7
  }
9
8
  export declare const TUI_BADGE_DEFAULT_OPTIONS: TuiBadgeOptions;
10
9
  export declare const TUI_BADGE_OPTIONS: import("@angular/core").InjectionToken<TuiBadgeOptions>;
@@ -1,3 +1,4 @@
1
1
  export * from './badge.component';
2
+ export * from './badge.directive';
2
3
  export * from './badge.module';
3
4
  export * from './badge.options';
@@ -1,11 +1,9 @@
1
- import { TuiPlatform } from '@taiga-ui/cdk';
2
1
  import { TuiAnimationOptions, TuiSizeL, TuiSizeXS } from '@taiga-ui/core';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class TuiBadgeNotificationComponent {
5
- readonly platform: TuiPlatform;
6
4
  readonly animation: TuiAnimationOptions;
7
5
  size: TuiSizeL | TuiSizeXS;
8
- constructor(platform: TuiPlatform, animation: TuiAnimationOptions);
6
+ constructor(animation: TuiAnimationOptions);
9
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiBadgeNotificationComponent, never>;
10
8
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiBadgeNotificationComponent, "tui-badge-notification", never, { "size": "size"; }, {}, never, ["*"]>;
11
9
  }
@@ -5,12 +5,10 @@ export declare class TuiButtonComponent {
5
5
  private readonly options;
6
6
  size: "m" | "l" | "xl" | "s" | "xs";
7
7
  loading: boolean | string | null;
8
- iconLeft: string;
9
- iconRight: string;
10
8
  constructor(options: TuiButtonOptions);
11
9
  get loaderSize(): TuiSizeS;
12
10
  get label(): string;
13
11
  onClick(event: MouseEvent): void;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading],[tuiButton][iconLeft],[tuiButton][iconRight],[tuiIconButton][iconLeft]", never, { "size": "size"; "loading": "loading"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never, ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading]", never, { "size": "size"; "loading": "loading"; }, {}, never, ["*"]>;
16
14
  }
@@ -1,4 +1,4 @@
1
- import { TuiDirectiveStylesService, TuiPlatform } from '@taiga-ui/cdk';
1
+ import { TuiDirectiveStylesService, TuiStringHandler } from '@taiga-ui/cdk';
2
2
  import { TuiBrightness } from '@taiga-ui/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { TuiButtonOptions } from './button.options';
@@ -8,12 +8,14 @@ export declare class TuiButtonStylesComponent {
8
8
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonStylesComponent, "ng-component", never, {}, {}, never, never>;
9
9
  }
10
10
  export declare class TuiButtonDirective {
11
+ readonly resolver: TuiStringHandler<string>;
11
12
  private readonly options;
12
- readonly platform: TuiPlatform;
13
13
  readonly mode$: Observable<TuiBrightness | null>;
14
14
  size: "m" | "l" | "xl" | "s" | "xs";
15
15
  appearance: string;
16
- constructor(options: TuiButtonOptions, platform: TuiPlatform, mode$: Observable<TuiBrightness | null>, directiveStyles: TuiDirectiveStylesService);
16
+ iconLeft: string;
17
+ iconRight: string;
18
+ constructor(resolver: TuiStringHandler<string>, options: TuiButtonOptions, mode$: Observable<TuiBrightness | null>, directiveStyles: TuiDirectiveStylesService);
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; }, {}, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never>;
19
21
  }
@@ -1,24 +1,20 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { TuiPlatform } from '@taiga-ui/cdk';
4
- import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
3
+ import { TuiStringHandler } from '@taiga-ui/cdk';
5
4
  import { Observable } from 'rxjs';
6
5
  import { TuiCheckboxOptions } from './checkbox.options';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class TuiCheckboxComponent implements OnInit {
9
8
  private readonly cdr;
10
- private readonly baseHref;
11
- private readonly svg;
9
+ private readonly resolver;
12
10
  private readonly options;
13
11
  private readonly destroy$;
14
12
  private readonly el;
15
- readonly mode$: Observable<TuiBrightness | null>;
16
- readonly platform: TuiPlatform;
17
13
  readonly control: NgControl | null;
18
- size: import("@taiga-ui/core").TuiSizeS;
19
- constructor(cdr: ChangeDetectorRef, baseHref: string, svg: TuiSvgOptions, options: TuiCheckboxOptions, destroy$: Observable<unknown>, el: ElementRef<HTMLInputElement>, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
14
+ size: import("@taiga-ui/core/types").TuiSizeS;
15
+ constructor(cdr: ChangeDetectorRef, resolver: TuiStringHandler<string>, options: TuiCheckboxOptions, destroy$: Observable<unknown>, el: ElementRef<HTMLInputElement>, control: NgControl | null);
20
16
  get icon(): string;
21
17
  ngOnInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null, null, { self: true; }, null, null, null, { optional: true; }]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null, { self: true; }, null, { optional: true; }]>;
23
19
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckboxComponent, "input[type=\"checkbox\"][tuiCheckbox]", never, { "size": "size"; }, {}, never, never>;
24
20
  }
@@ -1,6 +1,10 @@
1
+ import { TuiStringHandler } from '@taiga-ui/cdk';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class TuiIconComponent {
4
+ readonly resolver: TuiStringHandler<string>;
3
5
  icon: string;
6
+ background: string;
7
+ constructor(resolver: TuiStringHandler<string>);
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; }, {}, never, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; "background": "background"; }, {}, never, never>;
6
10
  }
@@ -1,8 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./icon.component";
3
- import * as i2 from "./icon.pipe";
4
3
  export declare class TuiIconModule {
5
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent, typeof i2.TuiIconPipe], never, [typeof i1.TuiIconComponent, typeof i2.TuiIconPipe]>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent], never, [typeof i1.TuiIconComponent]>;
7
6
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiIconModule>;
8
7
  }
@@ -1,3 +1,2 @@
1
1
  export * from './icon.component';
2
2
  export * from './icon.module';
3
- export * from './icon.pipe';
@@ -1,14 +1,10 @@
1
1
  import { NgControl } from '@angular/forms';
2
- import { TuiPlatform } from '@taiga-ui/cdk';
3
- import { TuiBrightness, TuiSizeS } from '@taiga-ui/core';
4
- import { Observable } from 'rxjs';
2
+ import { TuiSizeS } from '@taiga-ui/core';
5
3
  import * as i0 from "@angular/core";
6
4
  export declare class TuiRadioComponent {
7
- readonly mode$: Observable<TuiBrightness | null>;
8
- readonly platform: TuiPlatform;
9
5
  readonly control: NgControl | null;
10
6
  size: TuiSizeS;
11
- constructor(mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioComponent, [null, null, { optional: true; }]>;
7
+ constructor(control: NgControl | null);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiRadioComponent, [{ optional: true; }]>;
13
9
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiRadioComponent, "input[type=\"radio\"][tuiRadio]", never, { "size": "size"; }, {}, never, never>;
14
10
  }
@@ -1,12 +1,12 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./rating.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core";
5
- import * as i4 from "@angular/forms";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@taiga-ui/experimental/components/icon";
6
6
  import * as i5 from "@taiga-ui/cdk";
7
7
  import * as i6 from "@tinkoff/ng-polymorpheus";
8
8
  export declare class TuiRatingModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiRatingModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiRatingModule, [typeof i1.TuiRatingComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule, typeof i4.FormsModule, typeof i5.TuiRepeatTimesModule, typeof i6.PolymorpheusModule], [typeof i1.TuiRatingComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiRatingModule, [typeof i1.TuiRatingComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TuiIconModule, typeof i5.TuiRepeatTimesModule, typeof i6.PolymorpheusModule], [typeof i1.TuiRatingComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiRatingModule>;
12
12
  }
@@ -1,13 +1,16 @@
1
1
  import { TuiInputCardOptions, TuiPaymentSystem } from '@taiga-ui/addon-commerce';
2
+ import { TuiStringHandler } from '@taiga-ui/cdk';
2
3
  import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TuiThumbnailCardComponent {
6
+ readonly resolver: TuiStringHandler<string>;
5
7
  readonly options: TuiInputCardOptions;
6
8
  size: TuiSizeL | TuiSizeS;
7
9
  paymentSystem: TuiPaymentSystem | null;
8
10
  iconLeft: string;
9
11
  iconRight: string;
10
- constructor(options: TuiInputCardOptions);
12
+ constructor(resolver: TuiStringHandler<string>, options: TuiInputCardOptions);
13
+ get isMono(): boolean;
11
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiThumbnailCardComponent, never>;
12
15
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiThumbnailCardComponent, "tui-thumbnail-card", never, { "size": "size"; "paymentSystem": "paymentSystem"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never, ["*"]>;
13
16
  }
@@ -1,9 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./thumbnail-card.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core";
4
+ import * as i3 from "@taiga-ui/experimental/components/icon";
5
5
  export declare class TuiThumbnailCardModule {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiThumbnailCardModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiThumbnailCardModule, [typeof i1.TuiThumbnailCardComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule], [typeof i1.TuiThumbnailCardComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiThumbnailCardModule, [typeof i1.TuiThumbnailCardComponent], [typeof i2.CommonModule, typeof i3.TuiIconModule], [typeof i1.TuiThumbnailCardComponent]>;
8
8
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiThumbnailCardModule>;
9
9
  }
@@ -1,20 +1,15 @@
1
1
  import { NgControl } from '@angular/forms';
2
- import { TuiPlatform } from '@taiga-ui/cdk';
3
- import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
4
- import { Observable } from 'rxjs';
2
+ import { TuiStringHandler } from '@taiga-ui/cdk';
5
3
  import { TuiToggleOptions } from './toggle.options';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class TuiToggleComponent {
8
- private readonly baseHref;
9
- private readonly svg;
6
+ private readonly resolver;
10
7
  private readonly options;
11
- readonly mode$: Observable<TuiBrightness | null>;
12
- readonly platform: TuiPlatform;
13
8
  readonly control: NgControl | null;
14
- size: import("@taiga-ui/core").TuiSizeS;
9
+ size: import("@taiga-ui/core/types").TuiSizeS;
15
10
  showIcons: boolean;
16
- constructor(baseHref: string, svg: TuiSvgOptions, options: TuiToggleOptions, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
11
+ constructor(resolver: TuiStringHandler<string>, options: TuiToggleOptions, control: NgControl | null);
17
12
  get icon(): string;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null, null, null, null, { optional: true; }]>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null, { optional: true; }]>;
19
14
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiToggleComponent, "input[type=\"checkbox\"][tuiToggle]", never, { "size": "size"; "showIcons": "showIcons"; }, {}, never, never>;
20
15
  }
@@ -0,0 +1,9 @@
1
+ import { TuiInteractiveStateT } from '@taiga-ui/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiAppearanceDirective {
4
+ tuiAppearance: string;
5
+ tuiAppearanceState: TuiInteractiveStateT | null;
6
+ tuiAppearanceFocus: boolean | null;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearanceDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearanceDirective, "[tuiAppearance]", never, { "tuiAppearance": "tuiAppearance"; "tuiAppearanceState": "tuiAppearanceState"; "tuiAppearanceFocus": "tuiAppearanceFocus"; }, {}, never>;
9
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./appearance.directive";
3
+ export declare class TuiAppearanceModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearanceModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAppearanceModule, [typeof i1.TuiAppearanceDirective], never, [typeof i1.TuiAppearanceDirective]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiAppearanceModule>;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './appearance.directive';
2
+ export * from './appearance.module';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-experimental-directives-appearance.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
4
+ "es2015": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
5
+ "esm2015": "../../esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-experimental-directives-appearance.js",
7
+ "typings": "taiga-ui-experimental-directives-appearance.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/directives/appearance"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/directives/appearance" />
5
+ export * from './index';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TuiButtonVerticalComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonVerticalComponent, "ng-component", never, {}, {}, never, never>;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiButtonVerticalDirective {
4
+ constructor(directiveStyles: TuiDirectiveStylesService);
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonVerticalDirective, "[tuiButtonVertical]", never, {}, {}, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button-vertical.directive";
3
+ import * as i2 from "./button-vertical.component";
4
+ export declare class TuiButtonVerticalModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonVerticalModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiButtonVerticalModule, [typeof i1.TuiButtonVerticalDirective, typeof i2.TuiButtonVerticalComponent], never, [typeof i1.TuiButtonVerticalDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiButtonVerticalModule>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export * from './button-vertical.component';
2
+ export * from './button-vertical.directive';
3
+ export * from './button-vertical.module';
@@ -0,0 +1,10 @@
1
+ {
2
+ "main": "../../bundles/taiga-ui-experimental-directives-button-vertical.umd.js",
3
+ "module": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
4
+ "es2015": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
5
+ "esm2015": "../../esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js",
6
+ "fesm2015": "../../fesm2015/taiga-ui-experimental-directives-button-vertical.js",
7
+ "typings": "taiga-ui-experimental-directives-button-vertical.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@taiga-ui/experimental/directives/button-vertical"
10
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@taiga-ui/experimental/directives/button-vertical" />
5
+ export * from './index';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TuiCardComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiCardComponent, "ng-component", never, {}, {}, never, never>;
5
+ }
@@ -1,10 +1,6 @@
1
1
  import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
2
2
  import { TuiSizeL } from '@taiga-ui/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class TuiCardComponent {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiCardComponent, "ng-component", never, {}, {}, never, never>;
7
- }
8
4
  export declare class TuiCardDirective {
9
5
  size: TuiSizeL | '';
10
6
  constructor(directiveStyles: TuiDirectiveStylesService);
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./card.directive";
2
+ import * as i1 from "./card.component";
3
+ import * as i2 from "./card.directive";
3
4
  export declare class TuiCardModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiCardModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiCardModule, [typeof i1.TuiCardComponent, typeof i1.TuiCardDirective], never, [typeof i1.TuiCardDirective]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiCardModule, [typeof i1.TuiCardComponent, typeof i2.TuiCardDirective], never, [typeof i2.TuiCardDirective]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiCardModule>;
7
8
  }
@@ -1,2 +1,3 @@
1
+ export * from './card.component';
1
2
  export * from './card.directive';
2
3
  export * from './card.module';
@@ -1,10 +1,9 @@
1
- import { TuiDirectiveStylesService, TuiPlatform } from '@taiga-ui/cdk';
1
+ import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
2
2
  import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiCellDirective {
5
- readonly platform: TuiPlatform;
6
5
  size: TuiSizeL | TuiSizeS | '';
7
- constructor(platform: TuiPlatform, directiveStyles: TuiDirectiveStylesService);
6
+ constructor(directiveStyles: TuiDirectiveStylesService);
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiCellDirective, never>;
9
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCellDirective, "[tuiCell]", never, { "size": "tuiCell"; }, {}, never>;
10
9
  }
@@ -1,3 +1,5 @@
1
+ export * from '@taiga-ui/experimental/directives/appearance';
2
+ export * from '@taiga-ui/experimental/directives/button-vertical';
1
3
  export * from '@taiga-ui/experimental/directives/card';
2
4
  export * from '@taiga-ui/experimental/directives/cell';
3
5
  export * from '@taiga-ui/experimental/directives/fade';
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./sensitive.directive";
3
+ import * as i2 from "./sensitive.component";
3
4
  export declare class TuiSensitiveModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSensitiveModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSensitiveModule, [typeof i1.TuiSensitiveDirective], never, [typeof i1.TuiSensitiveDirective]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSensitiveModule, [typeof i1.TuiSensitiveDirective, typeof i2.TuiSensitiveComponent], never, [typeof i1.TuiSensitiveDirective]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiSensitiveModule>;
7
8
  }
@@ -1,10 +1,9 @@
1
- import { TuiDirectiveStylesService, TuiPlatform } from '@taiga-ui/cdk';
1
+ import { TuiDirectiveStylesService } from '@taiga-ui/cdk';
2
2
  import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiTitleDirective {
5
- readonly platform: TuiPlatform;
6
5
  size: TuiSizeL | TuiSizeS | '';
7
- constructor(platform: TuiPlatform, directiveStyles: TuiDirectiveStylesService);
6
+ constructor(directiveStyles: TuiDirectiveStylesService);
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTitleDirective, never>;
9
8
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTitleDirective, "[tuiTitle]", never, { "size": "tuiTitle"; }, {}, never>;
10
9
  }
@@ -1,17 +1,18 @@
1
1
  import { ChangeDetectionStrategy, Component, Inject, Input } from '@angular/core';
2
- import { TUI_PLATFORM, tuiIsString } from '@taiga-ui/cdk';
2
+ import { tuiIsString } from '@taiga-ui/cdk';
3
+ import { TUI_ICON_RESOLVER } from '@taiga-ui/experimental/tokens';
3
4
  import { TUI_AVATAR_OPTIONS } from './avatar.options';
4
5
  import * as i0 from "@angular/core";
5
- import * as i1 from "@taiga-ui/core";
6
- import * as i2 from "@angular/common";
7
- import * as i3 from "@taiga-ui/kit";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "@taiga-ui/kit";
8
8
  export class TuiAvatarComponent {
9
- constructor(options, platform) {
9
+ constructor(options, resolver) {
10
10
  this.options = options;
11
- this.platform = platform;
11
+ this.resolver = resolver;
12
12
  this.size = this.options.size;
13
13
  this.round = this.options.round;
14
14
  this.src = null;
15
+ this.appearance = '';
15
16
  }
16
17
  get value() {
17
18
  return this.src || '';
@@ -29,8 +30,8 @@ export class TuiAvatarComponent {
29
30
  return this.value.length ? 'img' : 'content';
30
31
  }
31
32
  }
32
- TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_PLATFORM }], target: i0.ɵɵFactoryTarget.Component });
33
- TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src" }, host: { properties: { "attr.data-size": "size", "attr.data-platform": "platform", "class._round": "round", "class._img": "type === \"img\"" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <tui-svg\n *ngSwitchCase=\"'icon'\"\n class=\"t-icon\"\n [src]=\"value\"\n ></tui-svg>\n <span\n *ngSwitchCase=\"'text'\"\n class=\"t-text\"\n >\n {{ value }}\n </span>\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <div\n *ngSwitchDefault\n class=\"t-content\"\n >\n <ng-content></ng-content>\n </div>\n</ng-container>\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);background:var(--tui-secondary);color:var(--tui-text-02);vertical-align:middle;opacity:.999}:host[data-size=xxs]{--t-size: 1.5rem;--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=xxs] .t-content{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=xs]{--t-size: 2rem;--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:bold}:host[data-size=xs] .t-content{font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:bold}:host[data-size=s] .t-content{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=m]{--t-size: 3.5rem;--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=m] .t-content{font:var(--tui-font-text-l);font-weight:bold}:host[data-size=l]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=l] .t-content{font:var(--tui-font-heading-4)}:host[data-size=xl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xl] .t-content{font:var(--tui-font-heading-3)}:host[data-size=xxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxl] .t-content{font:var(--tui-font-heading-3)}:host._round{--t-radius: calc(var(--t-size) / 2)}:host._img{background:transparent}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.t-icon{width:60%;height:60%}.t-content{max-width:100%;padding:.25rem;box-sizing:border-box}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i2.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ TuiAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, deps: [{ token: TUI_AVATAR_OPTIONS }, { token: TUI_ICON_RESOLVER }], target: i0.ɵɵFactoryTarget.Component });
34
+ TuiAvatarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAvatarComponent, selector: "tui-avatar", inputs: { size: "size", round: "round", src: "src", appearance: "appearance" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "appearance", "attr.data-size": "size", "attr.data-type": "type", "style.--t-mask": "\"url(\" + resolver(src) + \")\"", "class._round": "round" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <img\n *ngSwitchCase=\"'img'\"\n alt=\"\"\n loading=\"lazy\"\n [src]=\"value\"\n />\n <ng-container *ngSwitchCase=\"'text'\">{{ value }}</ng-container>\n <ng-container *ngSwitchDefault>\n <ng-content></ng-content>\n </ng-container>\n</ng-container>\n", styles: [":host{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);background:var(--tui-secondary);color:var(--tui-text-02);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}:host:before{position:absolute;top:0;left:0;width:100%;height:100%;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center / 60%;mask:var(--t-mask) no-repeat center / 60%}:host[data-size=xxs]{--t-size: 1.5rem;--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=xxs][data-type=content]{font:var(--tui-font-text-m);font-size:.5625rem}:host[data-size=xs]{--t-size: 2rem;--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:bold}:host[data-size=xs][data-type=content]{font:var(--tui-font-text-xs);font-weight:bold}:host[data-size=s]{--t-size: 2.5rem;--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:bold}:host[data-size=s][data-type=content]{font:var(--tui-font-text-m);font-weight:bold}:host[data-size=m]{--t-size: 3.5rem;--t-radius: .75rem;font:var(--tui-font-heading-5)}:host[data-size=m][data-type=content]{font:var(--tui-font-text-l);font-weight:bold}:host[data-size=l]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}:host[data-size=l][data-type=content]{font:var(--tui-font-heading-4)}:host[data-size=xl]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}:host[data-size=xl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-size=xxl]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}:host[data-size=xxl][data-type=content]{font:var(--tui-font-heading-3)}:host[data-type=img]{background:transparent}:host[data-type=icon]:before{content:\"\"}:host._round{--t-radius: calc(var(--t-size) / 2)}:host ::ng-deep img,:host ::ng-deep picture,:host ::ng-deep video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}\n"], directives: [{ type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i2.TuiLazyLoadingDirective, selector: "img[loading=\"lazy\"]", inputs: ["src"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
34
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarComponent, decorators: [{
35
36
  type: Component,
36
37
  args: [{
@@ -39,10 +40,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
39
40
  styleUrls: ['./avatar.style.less'],
40
41
  changeDetection: ChangeDetectionStrategy.OnPush,
41
42
  host: {
43
+ tuiAppearance: '',
44
+ '[attr.data-appearance]': 'appearance',
42
45
  '[attr.data-size]': 'size',
43
- '[attr.data-platform]': 'platform',
46
+ '[attr.data-type]': 'type',
47
+ '[style.--t-mask]': '"url(" + resolver(src) + ")"',
44
48
  '[class._round]': 'round',
45
- '[class._img]': 'type === "img"',
46
49
  },
47
50
  }]
48
51
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -50,12 +53,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
50
53
  args: [TUI_AVATAR_OPTIONS]
51
54
  }] }, { type: undefined, decorators: [{
52
55
  type: Inject,
53
- args: [TUI_PLATFORM]
56
+ args: [TUI_ICON_RESOLVER]
54
57
  }] }]; }, propDecorators: { size: [{
55
58
  type: Input
56
59
  }], round: [{
57
60
  type: Input
58
61
  }], src: [{
59
62
  type: Input
63
+ }], appearance: [{
64
+ type: Input
60
65
  }] } });
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V4cGVyaW1lbnRhbC9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXhwZXJpbWVudGFsL2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci50ZW1wbGF0ZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUVoRixPQUFPLEVBQUMsWUFBWSxFQUFFLFdBQVcsRUFBYyxNQUFNLGVBQWUsQ0FBQztBQUVy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AgIGdldCB0eXBlKCk6ICdjb250ZW50JyB8ICdpY29uJyB8ICdpbWcnIHwgJ3RleHQnIHtcbiAgICAgICAgaWYgKHRoaXMudmFsdWUgJiYgIXR1aUlzU3RyaW5nKHRoaXMudmFsdWUpKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2ltZyc7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy52YWx1ZS5zdGFydHNXaXRoKCd0dWlJY29uJykgfHwgdGhpcy52YWx1ZS5lbmRzV2l0aCgnLnN2ZycpKSB7XG4gICAgICAgICAgICByZXR1cm4gJ2ljb24nO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMudmFsdWUubGVuZ3RoID4gMCAmJiB0aGlzLnZhbHVlLmxlbmd0aCA8IDMpIHtcbiAgICAgICAgICAgIHJldHVybiAndGV4dCc7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdGhpcy52YWx1ZS5sZW5ndGggPyAnaW1nJyA6ICdjb250ZW50JztcbiAgICB9XG59XG4iLCI8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJ0eXBlXCI+XG4gICAgPGltZ1xuICAgICAgICAqbmdTd2l0Y2hDYXNlPVwiJ2ltZydcIlxuICAgICAgICBhbHQ9XCJcIlxuICAgICAgICBsb2FkaW5nPVwibGF6eVwiXG4gICAgICAgIFtzcmNdPVwidmFsdWVcIlxuICAgIC8+XG4gICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiJ3RleHQnXCI+e3sgdmFsdWUgfX08L25nLWNvbnRhaW5lcj5cbiAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -1,20 +1,20 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import { NgModule } from '@angular/core';
3
- import { TuiSvgModule } from '@taiga-ui/core';
3
+ import { TuiIconModule } from '@taiga-ui/experimental/components/icon';
4
4
  import { TuiLazyLoadingModule } from '@taiga-ui/kit';
5
5
  import { TuiAvatarComponent } from './avatar.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export class TuiAvatarModule {
8
8
  }
9
9
  TuiAvatarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
- TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule, TuiSvgModule, TuiLazyLoadingModule], exports: [TuiAvatarComponent] });
11
- TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, imports: [[CommonModule, TuiSvgModule, TuiLazyLoadingModule]] });
10
+ TuiAvatarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, declarations: [TuiAvatarComponent], imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule], exports: [TuiAvatarComponent] });
11
+ TuiAvatarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, imports: [[CommonModule, TuiIconModule, TuiLazyLoadingModule]] });
12
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiAvatarModule, decorators: [{
13
13
  type: NgModule,
14
14
  args: [{
15
- imports: [CommonModule, TuiSvgModule, TuiLazyLoadingModule],
15
+ imports: [CommonModule, TuiIconModule, TuiLazyLoadingModule],
16
16
  declarations: [TuiAvatarComponent],
17
17
  exports: [TuiAvatarComponent],
18
18
  }]
19
19
  }] });
20
- //# sourceMappingURL=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