@taiga-ui/cdk 4.43.0-canary.7059f3e → 4.43.0-canary.f54a6e4

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 (51) hide show
  1. package/constants/version.d.ts +1 -1
  2. package/constants/version.js +1 -1
  3. package/directives/auto-focus/autofocus.options.d.ts +5 -5
  4. package/directives/font-size/font-size.directive.d.ts +1 -2
  5. package/directives/swipe/swipe.options.d.ts +1 -2
  6. package/directives/zoom/zoom.options.d.ts +1 -2
  7. package/esm2022/constants/version.mjs +2 -2
  8. package/esm2022/directives/auto-focus/autofocus.options.mjs +4 -4
  9. package/esm2022/directives/font-size/font-size.directive.mjs +4 -4
  10. package/esm2022/directives/swipe/swipe.options.mjs +5 -7
  11. package/esm2022/directives/zoom/zoom.options.mjs +4 -6
  12. package/esm2022/services/theme-color.service.mjs +4 -5
  13. package/esm2022/tokens/active-element.mjs +30 -32
  14. package/esm2022/tokens/base-href.mjs +4 -5
  15. package/esm2022/tokens/environment.mjs +22 -39
  16. package/esm2022/tokens/fallback-value.mjs +3 -5
  17. package/esm2022/tokens/range.mjs +4 -5
  18. package/esm2022/tokens/removed-element.mjs +13 -14
  19. package/esm2022/tokens/window-size.mjs +23 -24
  20. package/esm2022/utils/di/create-options.mjs +3 -6
  21. package/esm2022/utils/miscellaneous/create-token.mjs +1 -7
  22. package/esm2022/utils/miscellaneous/with-styles.mjs +7 -8
  23. package/fesm2022/taiga-ui-cdk-constants.mjs +1 -1
  24. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +3 -3
  26. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +3 -3
  28. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +5 -6
  30. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +4 -6
  32. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-cdk-services.mjs +3 -5
  34. package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-cdk-tokens.mjs +81 -110
  36. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-cdk-utils-di.mjs +2 -5
  38. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +4 -12
  40. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  41. package/package.json +13 -13
  42. package/services/theme-color.service.d.ts +1 -2
  43. package/tokens/active-element.d.ts +1 -2
  44. package/tokens/base-href.d.ts +1 -2
  45. package/tokens/environment.d.ts +9 -10
  46. package/tokens/fallback-value.d.ts +1 -2
  47. package/tokens/range.d.ts +1 -2
  48. package/tokens/removed-element.d.ts +1 -2
  49. package/tokens/window-size.d.ts +1 -2
  50. package/utils/di/create-options.d.ts +1 -2
  51. package/utils/miscellaneous/create-token.d.ts +0 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/cdk",
3
- "version": "4.43.0-canary.7059f3e",
3
+ "version": "4.43.0-canary.f54a6e4",
4
4
  "description": "Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance",
5
5
  "keywords": [
6
6
  "angular",
@@ -25,18 +25,18 @@
25
25
  "esm": "./esm2022/taiga-ui-cdk.mjs",
26
26
  "default": "./fesm2022/taiga-ui-cdk.mjs"
27
27
  },
28
- "./classes": {
29
- "types": "./classes/index.d.ts",
30
- "esm2022": "./esm2022/classes/taiga-ui-cdk-classes.mjs",
31
- "esm": "./esm2022/classes/taiga-ui-cdk-classes.mjs",
32
- "default": "./fesm2022/taiga-ui-cdk-classes.mjs"
33
- },
34
28
  "./constants": {
35
29
  "types": "./constants/index.d.ts",
36
30
  "esm2022": "./esm2022/constants/taiga-ui-cdk-constants.mjs",
37
31
  "esm": "./esm2022/constants/taiga-ui-cdk-constants.mjs",
38
32
  "default": "./fesm2022/taiga-ui-cdk-constants.mjs"
39
33
  },
34
+ "./classes": {
35
+ "types": "./classes/index.d.ts",
36
+ "esm2022": "./esm2022/classes/taiga-ui-cdk-classes.mjs",
37
+ "esm": "./esm2022/classes/taiga-ui-cdk-classes.mjs",
38
+ "default": "./fesm2022/taiga-ui-cdk-classes.mjs"
39
+ },
40
40
  "./date-time": {
41
41
  "types": "./date-time/index.d.ts",
42
42
  "esm2022": "./esm2022/date-time/taiga-ui-cdk-date-time.mjs",
@@ -205,18 +205,18 @@
205
205
  "esm": "./esm2022/directives/platform/taiga-ui-cdk-directives-platform.mjs",
206
206
  "default": "./fesm2022/taiga-ui-cdk-directives-platform.mjs"
207
207
  },
208
- "./directives/popover": {
209
- "types": "./directives/popover/index.d.ts",
210
- "esm2022": "./esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs",
211
- "esm": "./esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs",
212
- "default": "./fesm2022/taiga-ui-cdk-directives-popover.mjs"
213
- },
214
208
  "./directives/repeat-times": {
215
209
  "types": "./directives/repeat-times/index.d.ts",
216
210
  "esm2022": "./esm2022/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.mjs",
217
211
  "esm": "./esm2022/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.mjs",
218
212
  "default": "./fesm2022/taiga-ui-cdk-directives-repeat-times.mjs"
219
213
  },
214
+ "./directives/popover": {
215
+ "types": "./directives/popover/index.d.ts",
216
+ "esm2022": "./esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs",
217
+ "esm": "./esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs",
218
+ "default": "./fesm2022/taiga-ui-cdk-directives-popover.mjs"
219
+ },
220
220
  "./directives/resizer": {
221
221
  "types": "./directives/resizer/index.d.ts",
222
222
  "esm2022": "./esm2022/directives/resizer/taiga-ui-cdk-directives-resizer.mjs",
@@ -1,6 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
- export declare const TUI_THEME_COLOR: InjectionToken<string>;
2
+ export declare const TUI_THEME_COLOR: import("@angular/core").InjectionToken<string>;
4
3
  interface TuiThemeColor {
5
4
  get color(): string;
6
5
  set color(value: string);
@@ -1,6 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import type { Observable } from 'rxjs';
3
2
  /**
4
3
  * Active element on the document for ActiveZone
5
4
  */
6
- export declare const TUI_ACTIVE_ELEMENT: InjectionToken<Observable<EventTarget | null>>;
5
+ export declare const TUI_ACTIVE_ELEMENT: import("@angular/core").InjectionToken<Observable<EventTarget | null>>;
@@ -1,2 +1 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TUI_BASE_HREF: InjectionToken<string>;
1
+ export declare const TUI_BASE_HREF: import("@angular/core").InjectionToken<string>;
@@ -1,20 +1,19 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TUI_IS_MOBILE: InjectionToken<boolean>;
3
- export declare const TUI_IS_IOS: InjectionToken<boolean>;
4
- export declare const TUI_IS_ANDROID: InjectionToken<boolean>;
5
- export declare const TUI_IS_WEBKIT: InjectionToken<boolean>;
6
- export declare const TUI_PLATFORM: InjectionToken<"android" | "ios" | "web">;
7
- export declare const TUI_IS_TOUCH: InjectionToken<import("@angular/core").Signal<boolean>>;
1
+ export declare const TUI_IS_MOBILE: import("@angular/core").InjectionToken<boolean>;
2
+ export declare const TUI_IS_IOS: import("@angular/core").InjectionToken<boolean>;
3
+ export declare const TUI_IS_ANDROID: import("@angular/core").InjectionToken<boolean>;
4
+ export declare const TUI_IS_WEBKIT: import("@angular/core").InjectionToken<boolean>;
5
+ export declare const TUI_PLATFORM: import("@angular/core").InjectionToken<"android" | "ios" | "web">;
6
+ export declare const TUI_IS_TOUCH: import("@angular/core").InjectionToken<import("@angular/core").Signal<boolean>>;
8
7
  /**
9
8
  * Detect if app is running under Cypress
10
9
  * {@link https://docs.cypress.io/faq/questions/using-cypress-faq#Is-there-any-way-to-detect-if-my-app-is-running-under-Cypress Cypress docs}
11
10
  */
12
- export declare const TUI_IS_CYPRESS: InjectionToken<boolean>;
11
+ export declare const TUI_IS_CYPRESS: import("@angular/core").InjectionToken<boolean>;
13
12
  /**
14
13
  * Manually provide `true` when running tests in Playwright
15
14
  */
16
- export declare const TUI_IS_PLAYWRIGHT: InjectionToken<boolean>;
15
+ export declare const TUI_IS_PLAYWRIGHT: import("@angular/core").InjectionToken<boolean>;
17
16
  /**
18
17
  * Detect if app is running under any of test frameworks
19
18
  */
20
- export declare const TUI_IS_E2E: InjectionToken<boolean>;
19
+ export declare const TUI_IS_E2E: import("@angular/core").InjectionToken<boolean>;
@@ -1,4 +1,3 @@
1
1
  import type { ValueProvider } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
- export declare const TUI_FALLBACK_VALUE: InjectionToken<any>;
2
+ export declare const TUI_FALLBACK_VALUE: import("@angular/core").InjectionToken<any>;
4
3
  export declare function tuiFallbackValueProvider<T>(useValue: T): ValueProvider;
package/tokens/range.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  /**
3
2
  * SSR safe default empty Range
4
3
  */
5
- export declare const TUI_RANGE: InjectionToken<Range>;
4
+ export declare const TUI_RANGE: import("@angular/core").InjectionToken<Range>;
@@ -1,5 +1,4 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  /**
3
2
  * Element currently being removed by AnimationEngine
4
3
  */
5
- export declare const TUI_REMOVED_ELEMENT: InjectionToken<import("rxjs").Observable<Element | null>>;
4
+ export declare const TUI_REMOVED_ELEMENT: import("@angular/core").InjectionToken<import("rxjs").Observable<Element | null>>;
@@ -1,3 +1,2 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import type { Observable } from 'rxjs';
3
- export declare const TUI_WINDOW_SIZE: InjectionToken<Observable<DOMRect>>;
2
+ export declare const TUI_WINDOW_SIZE: import("@angular/core").InjectionToken<Observable<DOMRect>>;
@@ -1,5 +1,4 @@
1
- import type { FactoryProvider, ProviderToken } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
1
+ import type { FactoryProvider, InjectionToken, ProviderToken } from '@angular/core';
3
2
  export declare function tuiCreateOptions<T>(defaults: T): [
4
3
  token: InjectionToken<T>,
5
4
  provider: (item: Partial<T> | ProviderToken<Partial<T>>) => FactoryProvider
@@ -1,9 +1,3 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
2
  export declare function tuiCreateToken<T>(defaults?: T): InjectionToken<T>;
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
3
  export declare function tuiCreateTokenFromFactory<T>(factory?: () => T): InjectionToken<T>;