@taiga-ui/core 3.44.1 → 3.45.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 (118) hide show
  1. package/animations/animations.d.ts +1 -0
  2. package/bundles/taiga-ui-core-animations.umd.js +13 -0
  3. package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
  4. package/bundles/taiga-ui-core-components-alert.umd.js +1 -3
  5. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  6. package/bundles/taiga-ui-core-components-button.umd.js +10 -25
  7. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  8. package/bundles/taiga-ui-core-components-dialog.umd.js +1 -0
  9. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  10. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +3 -3
  11. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-notification.umd.js +1 -1
  13. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  14. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +1 -1
  15. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  16. package/bundles/taiga-ui-core-components-root.umd.js +1 -1
  17. package/bundles/taiga-ui-core-components-svg.umd.js +7 -9
  18. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-directives-dropdown.umd.js +5 -4
  20. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-directives-hint.umd.js +1 -3
  22. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +10 -38
  24. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-services.umd.js +1 -1
  26. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-tokens.umd.js +40 -68
  28. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  29. package/components/alert/alert.providers.d.ts +1 -2
  30. package/components/button/button.component.d.ts +3 -3
  31. package/constants/cache-basting-payload.d.ts +1 -1
  32. package/directives/dropdown/dropdown.providers.d.ts +2 -2
  33. package/directives/hint/hint.providers.d.ts +2 -2
  34. package/directives/textfield-controller/textfield-appearance.directive.d.ts +1 -2
  35. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +1 -2
  36. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +1 -2
  37. package/directives/textfield-controller/textfield-filler.directive.d.ts +1 -2
  38. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -3
  39. package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -3
  40. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +1 -2
  41. package/directives/textfield-controller/textfield-postfix.directive.d.ts +1 -2
  42. package/directives/textfield-controller/textfield-prefix.directive.d.ts +1 -2
  43. package/directives/textfield-controller/textfield-size.directive.d.ts +1 -2
  44. package/esm2015/animations/animations.js +13 -1
  45. package/esm2015/components/alert/alert.providers.js +4 -6
  46. package/esm2015/components/button/button.component.js +6 -21
  47. package/esm2015/components/dialog/dialog-close.service.js +2 -1
  48. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +4 -4
  49. package/esm2015/components/notification/notification.component.js +1 -1
  50. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
  51. package/esm2015/components/root/root.component.js +1 -1
  52. package/esm2015/components/svg/svg-options.js +9 -11
  53. package/esm2015/directives/dropdown/dropdown-position.directive.js +4 -1
  54. package/esm2015/directives/dropdown/dropdown.component.js +2 -2
  55. package/esm2015/directives/dropdown/dropdown.providers.js +3 -5
  56. package/esm2015/directives/hint/hint.providers.js +3 -5
  57. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +4 -6
  58. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +4 -6
  59. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +4 -6
  60. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +4 -6
  61. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +4 -9
  62. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +4 -9
  63. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +4 -6
  64. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +4 -6
  65. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +4 -6
  66. package/esm2015/directives/textfield-controller/textfield-size.directive.js +4 -6
  67. package/esm2015/services/position.service.js +4 -4
  68. package/esm2015/tokens/animation-options.js +9 -10
  69. package/esm2015/tokens/animations-duration.js +1 -1
  70. package/esm2015/tokens/assert-enabled.js +4 -5
  71. package/esm2015/tokens/i18n.js +8 -20
  72. package/esm2015/tokens/icons-path.js +4 -5
  73. package/esm2015/tokens/is-mobile-resolution.js +7 -9
  74. package/esm2015/tokens/ordered-short-week-days.js +9 -10
  75. package/esm2015/tokens/scroll-ref.js +4 -5
  76. package/esm2015/tokens/selection-stream.js +6 -8
  77. package/esm2015/tokens/viewport.js +18 -19
  78. package/fesm2015/taiga-ui-core-animations.js +13 -1
  79. package/fesm2015/taiga-ui-core-animations.js.map +1 -1
  80. package/fesm2015/taiga-ui-core-components-alert.js +3 -5
  81. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  82. package/fesm2015/taiga-ui-core-components-button.js +5 -20
  83. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  84. package/fesm2015/taiga-ui-core-components-dialog.js +1 -0
  85. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  86. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +3 -3
  87. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  88. package/fesm2015/taiga-ui-core-components-notification.js +1 -1
  89. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  90. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +1 -1
  91. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  92. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  93. package/fesm2015/taiga-ui-core-components-svg.js +9 -11
  94. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  95. package/fesm2015/taiga-ui-core-directives-dropdown.js +7 -6
  96. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  97. package/fesm2015/taiga-ui-core-directives-hint.js +3 -5
  98. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  99. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +13 -39
  100. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  101. package/fesm2015/taiga-ui-core-services.js +3 -3
  102. package/fesm2015/taiga-ui-core-services.js.map +1 -1
  103. package/fesm2015/taiga-ui-core-tokens.js +44 -72
  104. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  105. package/package.json +4 -4
  106. package/styles/mixins/wrapper.less +6 -0
  107. package/styles/theme/wrapper/base.less +1 -1
  108. package/styles/theme/wrapper/secondary.less +30 -6
  109. package/tokens/animation-options.d.ts +1 -2
  110. package/tokens/animations-duration.d.ts +1 -1
  111. package/tokens/assert-enabled.d.ts +1 -2
  112. package/tokens/i18n.d.ts +6 -7
  113. package/tokens/icons-path.d.ts +1 -3
  114. package/tokens/is-mobile-resolution.d.ts +1 -3
  115. package/tokens/ordered-short-week-days.d.ts +1 -6
  116. package/tokens/scroll-ref.d.ts +2 -2
  117. package/tokens/selection-stream.d.ts +1 -2
  118. package/tokens/viewport.d.ts +2 -2
@@ -1,8 +1,6 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
1
  /**
4
2
  * @deprecated use {@link https://taiga-ui.dev/services/breakpoint-service TuiBreakpointService}
5
3
  * TODO: drop in v4.0
6
4
  * Mobile resolution stream for private providers
7
5
  */
8
- export declare const TUI_IS_MOBILE_RES: InjectionToken<Observable<boolean>>;
6
+ export declare const TUI_IS_MOBILE_RES: import("@angular/core").InjectionToken<import("rxjs").Observable<boolean>>;
@@ -1,8 +1,3 @@
1
- /**
2
- * TODO: v4.0 delete the whole file
3
- */
4
- import { InjectionToken } from '@angular/core';
5
- import { Observable } from 'rxjs';
6
1
  /**
7
2
  * @deprecated
8
3
  */
@@ -11,4 +6,4 @@ export declare type WEEK_DAYS_NAMES = [string, string, string, string, string, s
11
6
  * Ordered calendars i18n texts
12
7
  * @deprecated
13
8
  */
14
- export declare const TUI_ORDERED_SHORT_WEEK_DAYS: InjectionToken<Observable<WEEK_DAYS_NAMES>>;
9
+ export declare const TUI_ORDERED_SHORT_WEEK_DAYS: import("@angular/core").InjectionToken<import("rxjs").Observable<WEEK_DAYS_NAMES>>;
@@ -1,5 +1,5 @@
1
- import { ElementRef, InjectionToken } from '@angular/core';
1
+ import { ElementRef } from '@angular/core';
2
2
  /**
3
3
  * Scrollable container
4
4
  */
5
- export declare const TUI_SCROLL_REF: InjectionToken<ElementRef<HTMLElement>>;
5
+ export declare const TUI_SCROLL_REF: import("@angular/core").InjectionToken<ElementRef<HTMLElement>>;
@@ -1,6 +1,5 @@
1
- import { InjectionToken } from '@angular/core';
2
1
  import { Observable } from 'rxjs';
3
2
  /**
4
3
  * A stream of possible selection changes
5
4
  */
6
- export declare const TUI_SELECTION_STREAM: InjectionToken<Observable<unknown>>;
5
+ export declare const TUI_SELECTION_STREAM: import("@angular/core").InjectionToken<Observable<unknown>>;
@@ -1,7 +1,7 @@
1
- import { InjectionToken, Provider, Type } from '@angular/core';
1
+ import { Provider, Type } from '@angular/core';
2
2
  import { TuiRectAccessor } from '@taiga-ui/core/abstract';
3
3
  /**
4
4
  * Viewport accessor
5
5
  */
6
- export declare const TUI_VIEWPORT: InjectionToken<TuiRectAccessor>;
6
+ export declare const TUI_VIEWPORT: import("@angular/core").InjectionToken<TuiRectAccessor>;
7
7
  export declare function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider;