@taiga-ui/core 4.52.0-canary.24b31eb → 4.52.0-canary.2fa3dd5

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 (174) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +1 -1
  3. package/components/alert/alert.component.d.ts +5 -6
  4. package/components/alert/alert.directive.d.ts +4 -3
  5. package/components/alert/alert.interfaces.d.ts +6 -6
  6. package/components/alert/alert.service.d.ts +6 -2
  7. package/components/alert/alert.tokens.d.ts +1 -7
  8. package/components/alert/index.d.ts +0 -1
  9. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  10. package/components/data-list/data-list.component.d.ts +1 -1
  11. package/components/dialog/dialog.component.d.ts +3 -4
  12. package/components/dialog/dialog.directive.d.ts +4 -3
  13. package/components/dialog/dialog.options.d.ts +2 -3
  14. package/components/dialog/dialog.providers.d.ts +1 -2
  15. package/components/dialog/dialog.service.d.ts +5 -2
  16. package/components/dialog/index.d.ts +0 -1
  17. package/components/error/error.component.d.ts +1 -1
  18. package/components/index.d.ts +1 -1
  19. package/components/link/link.directive.d.ts +2 -2
  20. package/components/link/link.options.d.ts +1 -3
  21. package/components/loader/loader.component.d.ts +7 -7
  22. package/components/loader/loader.options.d.ts +1 -3
  23. package/components/modal/index.d.ts +2 -0
  24. package/components/modal/modal.component.d.ts +17 -0
  25. package/components/modal/modal.service.d.ts +13 -0
  26. package/components/notification/notification.directive.d.ts +6 -11
  27. package/components/root/root.component.d.ts +1 -1
  28. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  29. package/components/scrollbar/scrollbar.component.d.ts +2 -2
  30. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  31. package/components/spin-button/spin-button.component.d.ts +8 -9
  32. package/components/textfield/index.d.ts +1 -3
  33. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +5 -6
  34. package/components/textfield/textfield.component.d.ts +5 -7
  35. package/components/textfield/textfield.d.ts +2 -3
  36. package/components/textfield/textfield.directive.d.ts +10 -13
  37. package/components/textfield/textfield.options.d.ts +8 -11
  38. package/directives/appearance/appearance.directive.d.ts +1 -1
  39. package/directives/appearance/appearance.options.d.ts +1 -1
  40. package/directives/date-format/date-format.directive.d.ts +3 -7
  41. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  42. package/directives/dropdown/dropdown-hover.options.d.ts +1 -3
  43. package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
  44. package/directives/dropdown/dropdown.d.ts +2 -2
  45. package/directives/dropdown/dropdown.directive.d.ts +1 -2
  46. package/directives/dropdown/index.d.ts +1 -3
  47. package/directives/group/group.options.d.ts +1 -3
  48. package/directives/hint/hint-describe.directive.d.ts +4 -6
  49. package/directives/hint/hint-host.directive.d.ts +2 -2
  50. package/directives/hint/hint-hover.directive.d.ts +3 -4
  51. package/directives/hint/hint-manual.directive.d.ts +2 -2
  52. package/directives/hint/hint-options.directive.d.ts +1 -1
  53. package/directives/hint/hint-overflow.directive.d.ts +2 -2
  54. package/directives/hint/hint-position.directive.d.ts +4 -5
  55. package/directives/hint/hint-unstyled.component.d.ts +2 -7
  56. package/directives/hint/hint.component.d.ts +7 -6
  57. package/directives/hint/hint.directive.d.ts +9 -11
  58. package/directives/hint/index.d.ts +0 -2
  59. package/directives/index.d.ts +1 -0
  60. package/directives/notification/index.d.ts +2 -0
  61. package/directives/notification/notification.directive.d.ts +11 -0
  62. package/directives/notification/notification.service.d.ts +12 -0
  63. package/directives/number-format/number-format.directive.d.ts +3 -7
  64. package/directives/popup/popup.directive.d.ts +6 -5
  65. package/directives/popup/popup.service.d.ts +1 -1
  66. package/directives/popup/popups.component.d.ts +2 -2
  67. package/fesm2022/taiga-ui-core-classes.mjs +1 -1
  68. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-core-components-alert.mjs +57 -96
  70. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components-calendar.mjs +11 -16
  73. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-core-components-data-list.mjs +4 -11
  76. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-core-components-dialog.mjs +34 -91
  78. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-components-error.mjs +2 -2
  80. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-components-icon.mjs +1 -2
  83. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-link.mjs +10 -16
  86. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-core-components-loader.mjs +14 -32
  88. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
  90. package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
  91. package/fesm2022/taiga-ui-core-components-notification.mjs +12 -28
  92. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-components-root.mjs +3 -14
  94. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +35 -43
  96. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-core-components-spin-button.mjs +14 -27
  98. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-components-textfield.mjs +127 -271
  100. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-components.mjs +1 -1
  102. package/fesm2022/taiga-ui-core-directives-appearance.mjs +0 -1
  103. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-directives-date-format.mjs +24 -18
  105. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +46 -110
  107. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-directives-group.mjs +4 -8
  109. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-directives-hint.mjs +98 -189
  111. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-core-directives-icons.mjs +0 -1
  113. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +2 -5
  115. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-directives-notification.mjs +73 -0
  117. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +1 -0
  118. package/fesm2022/taiga-ui-core-directives-number-format.mjs +30 -18
  119. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-directives-popup.mjs +13 -20
  121. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-core-directives.mjs +1 -0
  124. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -1
  126. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -1
  128. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -1
  130. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -1
  132. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -12
  134. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -1
  136. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-core-pipes-month.mjs +2 -2
  138. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -1
  140. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-core-tokens.mjs +22 -16
  142. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -0
  144. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +1 -1
  146. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  147. package/package.json +21 -14
  148. package/pipes/format-number/format-number.pipe.d.ts +5 -3
  149. package/styles/components/link.less +1 -0
  150. package/styles/mixins/appearance.less +1 -1
  151. package/styles/mixins/mixins.less +0 -5
  152. package/styles/mixins/mixins.scss +0 -5
  153. package/styles/mixins/slider.less +24 -14
  154. package/styles/theme/variables.less +2 -4
  155. package/tokens/common-icons.d.ts +1 -3
  156. package/tokens/date-format.d.ts +2 -3
  157. package/tokens/i18n.d.ts +7 -7
  158. package/tokens/number-format.d.ts +2 -3
  159. package/types/index.d.ts +0 -1
  160. package/components/alert/alerts.component.d.ts +0 -12
  161. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  162. package/components/dialog/dialogs.component.d.ts +0 -8
  163. package/components/header/header.directive.d.ts +0 -17
  164. package/components/header/index.d.ts +0 -1
  165. package/components/textfield/select.directive.d.ts +0 -19
  166. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  167. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  168. package/directives/dropdown/dropdown.service.d.ts +0 -6
  169. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  170. package/directives/hint/hint.service.d.ts +0 -13
  171. package/directives/hint/hints.component.d.ts +0 -12
  172. package/fesm2022/taiga-ui-core-components-header.mjs +0 -42
  173. package/fesm2022/taiga-ui-core-components-header.mjs.map +0 -1
  174. package/types/portal-item.d.ts +0 -9
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare const TUI_HEADER_OPTIONS: import("@angular/core").InjectionToken<{
3
- size: "" | "body-l" | "body-m" | "body-xl" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
4
- }>, tuiHeaderOptionsProvider: (item: Partial<{
5
- size: "" | "body-l" | "body-m" | "body-xl" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
- }> | (() => Partial<{
7
- size: "" | "body-l" | "body-m" | "body-xl" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
8
- }>)) => import("@angular/core").FactoryProvider;
9
- export declare class TuiHeader {
10
- protected readonly nothing: undefined;
11
- protected readonly options: {
12
- size: "" | "body-l" | "body-m" | "body-xl" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
13
- };
14
- readonly tuiHeader: import("@angular/core").InputSignal<"" | "body-l" | "body-m" | "body-xl" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6">;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHeader, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHeader, "[tuiHeader]", never, { "tuiHeader": { "alias": "tuiHeader"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
- }
@@ -1 +0,0 @@
1
- export * from './header.directive';
@@ -1,19 +0,0 @@
1
- import { TuiTextfieldBase } from './textfield.directive';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@taiga-ui/cdk/directives/native-validator";
4
- import * as i2 from "@taiga-ui/core/directives/appearance";
5
- /**
6
- * @deprecated use {@link TuiSelect} from @taiga-ui/kit instead, drop in v5
7
- */
8
- export declare class TuiSelect<T> extends TuiTextfieldBase<T> {
9
- private readonly nav;
10
- private readonly doc;
11
- placeholder: string;
12
- setValue(value: T): void;
13
- focus(): void;
14
- protected get ariaLabel(): string | null;
15
- protected get stringified(): string;
16
- protected onCopy(): Promise<void>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelect<any>, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelect<any>, "select[tuiTextfield]", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
19
- }
@@ -1,16 +0,0 @@
1
- import { type OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiTextfieldDropdownDirective implements OnDestroy {
4
- private readonly directive;
5
- constructor();
6
- ngOnDestroy(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldDropdownDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDropdownDirective, "ng-template[tuiTextfieldDropdown]", never, {}, {}, never, never, true, never>;
9
- }
10
- /**
11
- * @deprecated remove in v5
12
- */
13
- export declare class TuiWithTextfieldDropdown {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithTextfieldDropdown, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithTextfieldDropdown, never, never, {}, {}, never, never, true, never>;
16
- }
@@ -1,14 +0,0 @@
1
- import { type OnDestroy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use {@link TuiPopup} directive instead
5
- */
6
- export declare class TuiDropdownPortal implements OnDestroy {
7
- private readonly template;
8
- private readonly service;
9
- private viewRef?;
10
- set tuiDropdown(show: boolean);
11
- ngOnDestroy(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownPortal, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownPortal, "ng-template[tuiDropdown]", never, { "tuiDropdown": { "alias": "tuiDropdown"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -1,6 +0,0 @@
1
- import { TuiPortalService } from '@taiga-ui/cdk/classes';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiDropdownService extends TuiPortalService {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiDropdownService>;
6
- }
@@ -1,9 +0,0 @@
1
- import { TuiPortals } from '@taiga-ui/cdk/classes';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Host element for dynamically created portals, for example using {@link TuiDropdownDirective}.
5
- */
6
- export declare class TuiDropdowns extends TuiPortals {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdowns, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdowns, "tui-dropdowns", never, {}, {}, never, never, true, never>;
9
- }
@@ -1,13 +0,0 @@
1
- import { type TuiPortalItem } from '@taiga-ui/core/types';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Service for displaying hints/tooltips
6
- */
7
- export declare class TuiHintService extends BehaviorSubject<readonly TuiPortalItem[]> {
8
- constructor();
9
- add(directive: TuiPortalItem): void;
10
- remove(directive: TuiPortalItem): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiHintService>;
13
- }
@@ -1,12 +0,0 @@
1
- import { type OnInit } from '@angular/core';
2
- import { type TuiPortalItem } from '@taiga-ui/core/types';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiHints implements OnInit {
5
- private readonly hints$;
6
- private readonly destroyRef;
7
- private readonly cdr;
8
- protected hints: readonly TuiPortalItem[];
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiHints, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiHints, "tui-hints", never, {}, {}, never, never, true, never>;
12
- }
@@ -1,42 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { ChangeDetectionStrategy, ViewEncapsulation, Component, inject, input, Directive } from '@angular/core';
3
- import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
4
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
5
- import { tuiButtonOptionsProvider } from '@taiga-ui/core/components/button';
6
-
7
- const [TUI_HEADER_OPTIONS, tuiHeaderOptionsProvider] = tuiCreateOptions({ size: 'h5' });
8
- class Styles {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-header" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiHeader]{position:relative;display:flex;align-items:flex-start;box-sizing:content-box;color:var(--tui-text-primary);margin:0;text-align:start;overflow-wrap:break-word}[tuiHeader] p{margin:.25rem 0 0;font:var(--tui-font-text-m)}[tuiHeader] p:empty{display:none}[tuiHeader] [tuiTitle]{flex-grow:2;margin:0}[tuiHeader] [tuiTitle]:empty{display:none}[tuiHeader] [tuiAccessories]{display:flex;align-items:center;gap:.75rem;white-space:nowrap}[tuiHeader] [tuiAccessories]:has([tuiLink]){align-items:baseline}[tuiHeader] [tuiAccessories]:before{content:\"\\200b\";visibility:hidden}[tuiHeader] [tuiSubtitle]{font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin:0}[tuiHeader] [tuiLink]{font:var(--tui-font-text-m)}[tuiHeader] [tuiCaption]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);font-weight:500;text-transform:uppercase;margin:0}[tuiHeader][data-size=h1] [tuiTitle],[tuiHeader][data-size=h1] [tuiAccessories]{font:var(--tui-font-heading-1)}[tuiHeader][data-size=h2] [tuiTitle],[tuiHeader][data-size=h2] [tuiAccessories]{font:var(--tui-font-heading-2)}[tuiHeader][data-size=h3] [tuiTitle],[tuiHeader][data-size=h3] [tuiAccessories]{font:var(--tui-font-heading-3)}[tuiHeader][data-size=h4] [tuiTitle],[tuiHeader][data-size=h4] [tuiAccessories]{font:var(--tui-font-heading-4)}[tuiHeader][data-size=h5] [tuiTitle],[tuiHeader][data-size=h5] [tuiAccessories]{font:var(--tui-font-heading-5)}[tuiHeader][data-size=h6] [tuiTitle],[tuiHeader][data-size=h6] [tuiAccessories]{font:var(--tui-font-heading-6)}[tuiHeader][data-size=body-xl] [tuiTitle],[tuiHeader][data-size=body-xl] [tuiAccessories]{font:var(--tui-font-text-xl)}[tuiHeader][data-size=body-xl] [tuiTitle]{font-weight:700}[tuiHeader][data-size=body-l] [tuiTitle],[tuiHeader][data-size=body-l] [tuiAccessories]{font:var(--tui-font-text-l)}[tuiHeader][data-size=body-l] [tuiTitle]{font-weight:700}[tuiHeader][data-size=body-m] [tuiTitle],[tuiHeader][data-size=body-m] [tuiAccessories]{font:var(--tui-font-text-m)}[tuiHeader][data-size=body-m] [tuiTitle]{gap:.125rem;font-weight:700}[tuiHeader][data-size=body-m] [tuiSubtitle],[tuiHeader][data-size=body-l] [tuiSubtitle],[tuiHeader][data-size=body-m] [tuiLink],[tuiHeader][data-size=body-l] [tuiLink]{font:var(--tui-font-text-s)}[tuiHeader][data-size=h1] [tuiSubtitle],[tuiHeader][data-size=h2] [tuiSubtitle],[tuiHeader][data-size=h3] [tuiSubtitle],[tuiHeader][data-size=h1] [tuiLink],[tuiHeader][data-size=h2] [tuiLink],[tuiHeader][data-size=h3] [tuiLink]{font:var(--tui-font-text-l)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
13
- type: Component,
14
- args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-header' }, styles: ["[tuiHeader]{position:relative;display:flex;align-items:flex-start;box-sizing:content-box;color:var(--tui-text-primary);margin:0;text-align:start;overflow-wrap:break-word}[tuiHeader] p{margin:.25rem 0 0;font:var(--tui-font-text-m)}[tuiHeader] p:empty{display:none}[tuiHeader] [tuiTitle]{flex-grow:2;margin:0}[tuiHeader] [tuiTitle]:empty{display:none}[tuiHeader] [tuiAccessories]{display:flex;align-items:center;gap:.75rem;white-space:nowrap}[tuiHeader] [tuiAccessories]:has([tuiLink]){align-items:baseline}[tuiHeader] [tuiAccessories]:before{content:\"\\200b\";visibility:hidden}[tuiHeader] [tuiSubtitle]{font:var(--tui-font-text-m);color:var(--tui-text-secondary);margin:0}[tuiHeader] [tuiLink]{font:var(--tui-font-text-m)}[tuiHeader] [tuiCaption]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);font-weight:500;text-transform:uppercase;margin:0}[tuiHeader][data-size=h1] [tuiTitle],[tuiHeader][data-size=h1] [tuiAccessories]{font:var(--tui-font-heading-1)}[tuiHeader][data-size=h2] [tuiTitle],[tuiHeader][data-size=h2] [tuiAccessories]{font:var(--tui-font-heading-2)}[tuiHeader][data-size=h3] [tuiTitle],[tuiHeader][data-size=h3] [tuiAccessories]{font:var(--tui-font-heading-3)}[tuiHeader][data-size=h4] [tuiTitle],[tuiHeader][data-size=h4] [tuiAccessories]{font:var(--tui-font-heading-4)}[tuiHeader][data-size=h5] [tuiTitle],[tuiHeader][data-size=h5] [tuiAccessories]{font:var(--tui-font-heading-5)}[tuiHeader][data-size=h6] [tuiTitle],[tuiHeader][data-size=h6] [tuiAccessories]{font:var(--tui-font-heading-6)}[tuiHeader][data-size=body-xl] [tuiTitle],[tuiHeader][data-size=body-xl] [tuiAccessories]{font:var(--tui-font-text-xl)}[tuiHeader][data-size=body-xl] [tuiTitle]{font-weight:700}[tuiHeader][data-size=body-l] [tuiTitle],[tuiHeader][data-size=body-l] [tuiAccessories]{font:var(--tui-font-text-l)}[tuiHeader][data-size=body-l] [tuiTitle]{font-weight:700}[tuiHeader][data-size=body-m] [tuiTitle],[tuiHeader][data-size=body-m] [tuiAccessories]{font:var(--tui-font-text-m)}[tuiHeader][data-size=body-m] [tuiTitle]{gap:.125rem;font-weight:700}[tuiHeader][data-size=body-m] [tuiSubtitle],[tuiHeader][data-size=body-l] [tuiSubtitle],[tuiHeader][data-size=body-m] [tuiLink],[tuiHeader][data-size=body-l] [tuiLink]{font:var(--tui-font-text-s)}[tuiHeader][data-size=h1] [tuiSubtitle],[tuiHeader][data-size=h2] [tuiSubtitle],[tuiHeader][data-size=h3] [tuiSubtitle],[tuiHeader][data-size=h1] [tuiLink],[tuiHeader][data-size=h2] [tuiLink],[tuiHeader][data-size=h3] [tuiLink]{font:var(--tui-font-text-l)}\n"] }]
15
- }] });
16
- class TuiHeader {
17
- constructor() {
18
- this.nothing = tuiWithStyles(Styles);
19
- this.options = inject(TUI_HEADER_OPTIONS);
20
- this.tuiHeader = input(this.options.size);
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
23
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiHeader, isStandalone: true, selector: "[tuiHeader]", inputs: { tuiHeader: { classPropertyName: "tuiHeader", publicName: "tuiHeader", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiHeader": "" }, properties: { "attr.data-size": "tuiHeader() || options.size || \"h5\"" } }, providers: [tuiButtonOptionsProvider({ size: 's' })], ngImport: i0 }); }
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiHeader, decorators: [{
26
- type: Directive,
27
- args: [{
28
- selector: '[tuiHeader]',
29
- providers: [tuiButtonOptionsProvider({ size: 's' })],
30
- host: {
31
- tuiHeader: '',
32
- '[attr.data-size]': 'tuiHeader() || options.size || "h5"',
33
- },
34
- }]
35
- }] });
36
-
37
- /**
38
- * Generated bundle index. Do not edit.
39
- */
40
-
41
- export { TUI_HEADER_OPTIONS, TuiHeader, tuiHeaderOptionsProvider };
42
- //# sourceMappingURL=taiga-ui-core-components-header.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-components-header.mjs","sources":["../../../projects/core/components/header/header.directive.ts","../../../projects/core/components/header/taiga-ui-core-components-header.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core/components/button';\n\nexport const [TUI_HEADER_OPTIONS, tuiHeaderOptionsProvider] = tuiCreateOptions<{\n size: '' | 'body-l' | 'body-m' | 'body-xl' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n}>({size: 'h5'});\n\n@Component({\n template: '',\n styleUrls: ['./header.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-header'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiHeader]',\n providers: [tuiButtonOptionsProvider({size: 's'})],\n host: {\n tuiHeader: '',\n '[attr.data-size]': 'tuiHeader() || options.size || \"h5\"',\n },\n})\nexport class TuiHeader {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly options = inject(TUI_HEADER_OPTIONS);\n\n public readonly tuiHeader = input(this.options.size);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYa,MAAA,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,GAAG,gBAAgB,CAE3E,EAAC,IAAI,EAAE,IAAI,EAAC;AAEf,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,gHANE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,m9EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAMV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAPX,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAE,EAEG,aAAA,EAAA,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA,EAAC,KAAK,EAAE,YAAY,EAAC,EAAA,MAAA,EAAA,CAAA,m9EAAA,CAAA,EAAA;;MAYlB,SAAS,CAAA;AARtB,IAAA,WAAA,GAAA;AASuB,QAAA,IAAA,CAAA,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,kBAAkB,CAAC;QAEvC,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;AACvD;+GALY,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,WAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,EAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,uCAAA,EAAA,EAAA,EAAA,SAAA,EANP,CAAC,wBAAwB,CAAC,EAAC,IAAI,EAAE,GAAG,EAAC,CAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAMzC,SAAS,EAAA,UAAA,EAAA,CAAA;kBARrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,aAAa;oBACvB,SAAS,EAAE,CAAC,wBAAwB,CAAC,EAAC,IAAI,EAAE,GAAG,EAAC,CAAC,CAAC;AAClD,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,EAAE;AACb,wBAAA,kBAAkB,EAAE,qCAAqC;AAC5D,qBAAA;AACJ,iBAAA;;;AChCD;;AAEG;;;;"}
@@ -1,9 +0,0 @@
1
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
2
- import { type PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- export interface TuiPortalItem<C = any> {
4
- readonly activeZone?: TuiActiveZone | null;
5
- readonly appearance?: string;
6
- readonly component: PolymorpheusComponent<any>;
7
- readonly content: PolymorpheusContent<C>;
8
- readonly context?: C;
9
- }