@taiga-ui/core 5.13.0 → 5.14.0

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 (56) hide show
  1. package/components/data-list/data-list.component.d.ts +0 -2
  2. package/components/data-list/data-list.tokens.d.ts +2 -0
  3. package/components/notification/notification.service.d.ts +2 -1
  4. package/components/textfield/select-like.directive.d.ts +1 -0
  5. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +1 -1
  6. package/components/textfield/textfield.component.d.ts +1 -1
  7. package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
  8. package/fesm2022/taiga-ui-core-components-carousel.mjs +2 -2
  9. package/fesm2022/taiga-ui-core-components-carousel.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-core-components-cell.mjs +3 -3
  11. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-core-components-checkbox.mjs +2 -2
  13. package/fesm2022/taiga-ui-core-components-data-list.mjs +12 -10
  14. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-core-components-error.mjs +2 -2
  16. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-core-components-expand.mjs +2 -2
  18. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
  20. package/fesm2022/taiga-ui-core-components-label.mjs +3 -3
  21. package/fesm2022/taiga-ui-core-components-link.mjs +2 -2
  22. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-core-components-notification.mjs +16 -10
  24. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-core-components-radio.mjs +2 -2
  26. package/fesm2022/taiga-ui-core-components-radio.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
  28. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +4 -4
  29. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-core-components-slider.mjs +4 -4
  31. package/fesm2022/taiga-ui-core-components-slider.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-core-components-textfield.mjs +13 -20
  33. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-core-components-title.mjs +3 -3
  35. package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
  36. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
  38. package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
  39. package/fesm2022/taiga-ui-core-portals-alert.mjs +6 -6
  40. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-core-portals-dialog.mjs +2 -2
  42. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-core-portals-dropdown.mjs +41 -26
  44. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-core-portals-hint.mjs +8 -10
  46. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-core-portals-modal.mjs +3 -3
  48. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-core-tokens.mjs +15 -20
  50. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  51. package/package.json +44 -44
  52. package/portals/alert/alert.service.d.ts +2 -1
  53. package/portals/dropdown/dropdown-anchor.directive.d.ts +16 -0
  54. package/portals/dropdown/dropdown.component.d.ts +3 -11
  55. package/portals/dropdown/index.d.ts +1 -0
  56. package/portals/hint/hint.component.d.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "5.13.0",
3
+ "version": "5.14.0",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -41,11 +41,11 @@
41
41
  "@ng-web-apis/intersection-observer": "^5.3.0",
42
42
  "@ng-web-apis/mutation-observer": "^5.3.0",
43
43
  "@ng-web-apis/platform": "^5.3.0",
44
- "@taiga-ui/cdk": "5.13.0",
44
+ "@taiga-ui/cdk": "5.14.0",
45
45
  "@taiga-ui/event-plugins": "^5.0.0",
46
- "@taiga-ui/i18n": "5.13.0",
46
+ "@taiga-ui/i18n": "5.14.0",
47
47
  "@taiga-ui/polymorpheus": "^5.0.1",
48
- "@taiga-ui/styles": "5.13.0",
48
+ "@taiga-ui/styles": "5.14.0",
49
49
  "rxjs": ">=7.0.0"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
@@ -63,14 +63,14 @@
63
63
  "types": "./classes/index.d.ts",
64
64
  "default": "./fesm2022/taiga-ui-core-classes.mjs"
65
65
  },
66
- "./components": {
67
- "types": "./components/index.d.ts",
68
- "default": "./fesm2022/taiga-ui-core-components.mjs"
69
- },
70
66
  "./directives": {
71
67
  "types": "./directives/index.d.ts",
72
68
  "default": "./fesm2022/taiga-ui-core-directives.mjs"
73
69
  },
70
+ "./components": {
71
+ "types": "./components/index.d.ts",
72
+ "default": "./fesm2022/taiga-ui-core-components.mjs"
73
+ },
74
74
  "./pipes": {
75
75
  "types": "./pipes/index.d.ts",
76
76
  "default": "./fesm2022/taiga-ui-core-pipes.mjs"
@@ -79,10 +79,6 @@
79
79
  "types": "./portals/index.d.ts",
80
80
  "default": "./fesm2022/taiga-ui-core-portals.mjs"
81
81
  },
82
- "./services": {
83
- "types": "./services/index.d.ts",
84
- "default": "./fesm2022/taiga-ui-core-services.mjs"
85
- },
86
82
  "./tokens": {
87
83
  "types": "./tokens/index.d.ts",
88
84
  "default": "./fesm2022/taiga-ui-core-tokens.mjs"
@@ -91,10 +87,42 @@
91
87
  "types": "./types/index.d.ts",
92
88
  "default": "./fesm2022/taiga-ui-core-types.mjs"
93
89
  },
90
+ "./services": {
91
+ "types": "./services/index.d.ts",
92
+ "default": "./fesm2022/taiga-ui-core-services.mjs"
93
+ },
94
94
  "./utils": {
95
95
  "types": "./utils/index.d.ts",
96
96
  "default": "./fesm2022/taiga-ui-core-utils.mjs"
97
97
  },
98
+ "./directives/appearance": {
99
+ "types": "./directives/appearance/index.d.ts",
100
+ "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
101
+ },
102
+ "./directives/button-x": {
103
+ "types": "./directives/button-x/index.d.ts",
104
+ "default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
105
+ },
106
+ "./directives/date-format": {
107
+ "types": "./directives/date-format/index.d.ts",
108
+ "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
109
+ },
110
+ "./directives/group": {
111
+ "types": "./directives/group/index.d.ts",
112
+ "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
113
+ },
114
+ "./directives/icons": {
115
+ "types": "./directives/icons/index.d.ts",
116
+ "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
117
+ },
118
+ "./directives/items-handlers": {
119
+ "types": "./directives/items-handlers/index.d.ts",
120
+ "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
121
+ },
122
+ "./directives/number-format": {
123
+ "types": "./directives/number-format/index.d.ts",
124
+ "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
125
+ },
98
126
  "./components/button": {
99
127
  "types": "./components/button/index.d.ts",
100
128
  "default": "./fesm2022/taiga-ui-core-components-button.mjs"
@@ -103,14 +131,14 @@
103
131
  "types": "./components/calendar/index.d.ts",
104
132
  "default": "./fesm2022/taiga-ui-core-components-calendar.mjs"
105
133
  },
106
- "./components/carousel": {
107
- "types": "./components/carousel/index.d.ts",
108
- "default": "./fesm2022/taiga-ui-core-components-carousel.mjs"
109
- },
110
134
  "./components/cell": {
111
135
  "types": "./components/cell/index.d.ts",
112
136
  "default": "./fesm2022/taiga-ui-core-components-cell.mjs"
113
137
  },
138
+ "./components/carousel": {
139
+ "types": "./components/carousel/index.d.ts",
140
+ "default": "./fesm2022/taiga-ui-core-components-carousel.mjs"
141
+ },
114
142
  "./components/checkbox": {
115
143
  "types": "./components/checkbox/index.d.ts",
116
144
  "default": "./fesm2022/taiga-ui-core-components-checkbox.mjs"
@@ -179,34 +207,6 @@
179
207
  "types": "./components/title/index.d.ts",
180
208
  "default": "./fesm2022/taiga-ui-core-components-title.mjs"
181
209
  },
182
- "./directives/appearance": {
183
- "types": "./directives/appearance/index.d.ts",
184
- "default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
185
- },
186
- "./directives/button-x": {
187
- "types": "./directives/button-x/index.d.ts",
188
- "default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
189
- },
190
- "./directives/group": {
191
- "types": "./directives/group/index.d.ts",
192
- "default": "./fesm2022/taiga-ui-core-directives-group.mjs"
193
- },
194
- "./directives/date-format": {
195
- "types": "./directives/date-format/index.d.ts",
196
- "default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
197
- },
198
- "./directives/icons": {
199
- "types": "./directives/icons/index.d.ts",
200
- "default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
201
- },
202
- "./directives/items-handlers": {
203
- "types": "./directives/items-handlers/index.d.ts",
204
- "default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
205
- },
206
- "./directives/number-format": {
207
- "types": "./directives/number-format/index.d.ts",
208
- "default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
209
- },
210
210
  "./pipes/filter-by-input": {
211
211
  "types": "./pipes/filter-by-input/index.d.ts",
212
212
  "default": "./fesm2022/taiga-ui-core-pipes-filter-by-input.mjs"
@@ -1,11 +1,12 @@
1
1
  import { TuiPortal } from '@taiga-ui/cdk/portals';
2
+ import { TuiPopupService } from '@taiga-ui/core/portals/popup';
2
3
  import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {
5
6
  private readonly concurrency;
6
7
  private readonly current;
7
8
  private readonly queue;
8
- constructor(concurrency: number);
9
+ constructor(concurrency: number, service?: TuiPopupService);
9
10
  protected add(component: PolymorpheusComponent<unknown>): () => void;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService<any, any>, never>;
11
12
  static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService<any, any>>;
@@ -0,0 +1,16 @@
1
+ import { type AfterViewInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiDropdownAnchor implements AfterViewInit {
4
+ private readonly el;
5
+ private readonly accessor;
6
+ private readonly viewport;
7
+ private readonly vvs;
8
+ private readonly options;
9
+ private readonly directive;
10
+ private readonly position;
11
+ private readonly styles$;
12
+ ngAfterViewInit(): void;
13
+ private getStyles;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownAnchor, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownAnchor, never, never, {}, {}, never, never, true, never>;
16
+ }
@@ -1,30 +1,22 @@
1
- import { type AfterViewInit } from '@angular/core';
2
1
  import { TuiDropdownDirective } from './dropdown.directive';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@taiga-ui/cdk/directives/active-zone";
5
4
  import * as i2 from "@taiga-ui/cdk/directives/animated";
5
+ import * as i3 from "./dropdown-anchor.directive";
6
6
  /**
7
7
  * @description:
8
8
  * This component is used to show template in a portal
9
9
  * using default style of white rounded box with a shadow
10
10
  */
11
- export declare class TuiDropdownComponent implements AfterViewInit {
12
- private readonly el;
13
- private readonly accessor;
14
- private readonly viewport;
15
- private readonly vvs;
16
- private readonly styles$;
11
+ export declare class TuiDropdownComponent {
17
12
  protected readonly options: import("./dropdown-options.directive").TuiDropdownOptions;
18
13
  protected readonly directive: TuiDropdownDirective;
19
14
  protected readonly context: Record<any, any> | null;
20
15
  protected readonly darkMode: import("@angular/core").WritableSignal<boolean> & {
21
16
  reset(): void;
22
17
  };
23
- protected readonly position: "fixed" | "absolute";
24
18
  protected readonly theme: import("@angular/core").Signal<string | null | undefined>;
25
- ngAfterViewInit(): void;
26
19
  protected readonly close: () => void;
27
- private getStyles;
28
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownComponent, "tui-dropdown", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownComponent, "tui-dropdown", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiDropdownAnchor; inputs: {}; outputs: {}; }]>;
30
22
  }
@@ -4,6 +4,7 @@ export * from './dropdown.directive';
4
4
  export * from './dropdown.driver';
5
5
  export * from './dropdown.providers';
6
6
  export * from './dropdown-a11y.directive';
7
+ export * from './dropdown-anchor.directive';
7
8
  export * from './dropdown-close.directive';
8
9
  export * from './dropdown-content.directive';
9
10
  export * from './dropdown-context.directive';
@@ -16,7 +16,6 @@ export declare class TuiHintComponent {
16
16
  protected readonly pointer: TuiHintPointer | null;
17
17
  protected readonly accessor: TuiRectAccessor;
18
18
  protected readonly hint: TuiHintDirective<any>;
19
- protected readonly isMobile: boolean;
20
19
  protected readonly content: import("@angular/core").InputSignal<import("@taiga-ui/polymorpheus").PolymorpheusContent<any>> | import("@angular/core").WritableSignal<string>;
21
20
  protected readonly theme: string | null | undefined;
22
21
  protected readonly appearance: import("@angular/core").Signal<string>;