@taiga-ui/core 3.19.0 → 3.20.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 (179) hide show
  1. package/abstract/abstract-driver.directive.d.ts +9 -2
  2. package/abstract/driver.d.ts +1 -0
  3. package/abstract/position-accessor.d.ts +3 -1
  4. package/abstract/rect-accessor.d.ts +4 -1
  5. package/abstract/vehicle.d.ts +1 -0
  6. package/bundles/taiga-ui-core-abstract.umd.js +49 -10
  7. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  8. package/bundles/taiga-ui-core-components-button.umd.js +4 -1
  9. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  10. package/bundles/taiga-ui-core-components-dialog.umd.js +8 -2
  11. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-loader.umd.js +4 -1
  13. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  14. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +4 -1
  15. package/bundles/taiga-ui-core-components-primitive-checkbox.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 +4 -1
  18. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-directives-dropdown.umd.js +167 -110
  20. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-directives-hint.umd.js +242 -181
  22. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +15 -12
  24. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-tokens.umd.js +129 -37
  26. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  27. package/components/button/button-options.d.ts +3 -0
  28. package/components/dialog/dialog.tokens.d.ts +6 -0
  29. package/components/loader/loader-options.d.ts +3 -0
  30. package/components/primitive-checkbox/checkbox-options.d.ts +3 -0
  31. package/components/svg/svg-options.d.ts +3 -0
  32. package/directives/dropdown/dropdown-context.directive.d.ts +1 -0
  33. package/directives/dropdown/dropdown-driver.directive.d.ts +5 -2
  34. package/directives/dropdown/dropdown-host.directive.d.ts +1 -0
  35. package/directives/dropdown/dropdown-hover-options.directive.d.ts +3 -0
  36. package/directives/dropdown/dropdown-hover.directive.d.ts +1 -0
  37. package/directives/dropdown/dropdown-manual.directive.d.ts +1 -0
  38. package/directives/dropdown/dropdown-options.directive.d.ts +3 -0
  39. package/directives/dropdown/dropdown-position-sided.directive.d.ts +4 -3
  40. package/directives/dropdown/dropdown-position.directive.d.ts +7 -3
  41. package/directives/dropdown/dropdown-selection.directive.d.ts +1 -0
  42. package/directives/dropdown/dropdown.directive.d.ts +7 -4
  43. package/directives/dropdown/dropdown.providers.d.ts +3 -0
  44. package/directives/hint/hint-describe.directive.d.ts +3 -5
  45. package/directives/hint/hint-driver.directive.d.ts +5 -2
  46. package/directives/hint/hint-host.directive.d.ts +1 -0
  47. package/directives/hint/hint-hover.directive.d.ts +2 -0
  48. package/directives/hint/hint-manual.directive.d.ts +3 -1
  49. package/directives/hint/hint-options.directive.d.ts +3 -0
  50. package/directives/hint/hint-position.directive.d.ts +6 -3
  51. package/directives/hint/hint.directive.d.ts +3 -2
  52. package/directives/hint/hint.providers.d.ts +3 -0
  53. package/directives/textfield-controller/textfield-options.d.ts +3 -0
  54. package/esm2015/abstract/abstract-driver.directive.js +15 -7
  55. package/esm2015/abstract/driver.js +2 -1
  56. package/esm2015/abstract/position-accessor.js +10 -1
  57. package/esm2015/abstract/rect-accessor.js +14 -1
  58. package/esm2015/abstract/vehicle.js +2 -1
  59. package/esm2015/components/button/button-options.js +5 -2
  60. package/esm2015/components/dialog/dialog.tokens.js +9 -3
  61. package/esm2015/components/loader/loader-options.js +5 -2
  62. package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -2
  63. package/esm2015/components/root/root.component.js +1 -1
  64. package/esm2015/components/svg/svg-options.js +5 -2
  65. package/esm2015/directives/dropdown/dropdown-context.directive.js +2 -1
  66. package/esm2015/directives/dropdown/dropdown-driver.directive.js +22 -5
  67. package/esm2015/directives/dropdown/dropdown-host.directive.js +5 -1
  68. package/esm2015/directives/dropdown/dropdown-hover-options.directive.js +5 -2
  69. package/esm2015/directives/dropdown/dropdown-hover.directive.js +2 -1
  70. package/esm2015/directives/dropdown/dropdown-manual.directive.js +4 -3
  71. package/esm2015/directives/dropdown/dropdown-options.directive.js +5 -2
  72. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +13 -12
  73. package/esm2015/directives/dropdown/dropdown-position.directive.js +27 -10
  74. package/esm2015/directives/dropdown/dropdown-selection.directive.js +2 -1
  75. package/esm2015/directives/dropdown/dropdown.component.js +19 -9
  76. package/esm2015/directives/dropdown/dropdown.directive.js +14 -19
  77. package/esm2015/directives/dropdown/dropdown.providers.js +5 -2
  78. package/esm2015/directives/hint/hint-describe.directive.js +5 -11
  79. package/esm2015/directives/hint/hint-driver.directive.js +22 -5
  80. package/esm2015/directives/hint/hint-host.directive.js +5 -1
  81. package/esm2015/directives/hint/hint-hover.directive.js +5 -3
  82. package/esm2015/directives/hint/hint-manual.directive.js +12 -5
  83. package/esm2015/directives/hint/hint-options.directive.js +5 -2
  84. package/esm2015/directives/hint/hint-position.directive.js +24 -10
  85. package/esm2015/directives/hint/hint.component.js +18 -4
  86. package/esm2015/directives/hint/hint.directive.js +3 -1
  87. package/esm2015/directives/hint/hint.providers.js +6 -2
  88. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +2 -2
  89. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +2 -2
  90. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +2 -2
  91. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +2 -2
  92. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +2 -2
  93. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +2 -2
  94. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +2 -2
  95. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +2 -2
  96. package/esm2015/directives/textfield-controller/textfield-options.js +5 -2
  97. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +2 -2
  98. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +2 -2
  99. package/esm2015/directives/textfield-controller/textfield-size.directive.js +2 -2
  100. package/esm2015/tokens/animation-options.js +5 -2
  101. package/esm2015/tokens/animations-duration.js +5 -2
  102. package/esm2015/tokens/assert-enabled.js +5 -2
  103. package/esm2015/tokens/data-list-accessor.js +5 -2
  104. package/esm2015/tokens/data-list-host.js +5 -2
  105. package/esm2015/tokens/day-type-handler.js +5 -2
  106. package/esm2015/tokens/document-or-shadow-root.js +2 -2
  107. package/esm2015/tokens/element-ref.js +5 -2
  108. package/esm2015/tokens/first-day-of-week.js +5 -2
  109. package/esm2015/tokens/i18n.js +25 -7
  110. package/esm2015/tokens/icon-place.js +3 -2
  111. package/esm2015/tokens/icons-path.js +5 -2
  112. package/esm2015/tokens/icons.js +5 -2
  113. package/esm2015/tokens/is-mobile-resolution.js +5 -2
  114. package/esm2015/tokens/media.js +5 -2
  115. package/esm2015/tokens/mode.js +5 -2
  116. package/esm2015/tokens/notification-options.js +5 -2
  117. package/esm2015/tokens/number-format.js +5 -2
  118. package/esm2015/tokens/option-content.js +5 -2
  119. package/esm2015/tokens/ordered-short-week-days.js +3 -2
  120. package/esm2015/tokens/sanitizer.js +5 -2
  121. package/esm2015/tokens/scroll-ref.js +5 -2
  122. package/esm2015/tokens/selection-stream.js +5 -2
  123. package/esm2015/tokens/svg-content-processor.js +3 -2
  124. package/esm2015/tokens/svg-src-processor.js +3 -2
  125. package/esm2015/tokens/textfield-appearance.js +7 -4
  126. package/esm2015/tokens/textfield-host.js +5 -2
  127. package/esm2015/tokens/theme.js +2 -2
  128. package/esm2015/tokens/value-accessor.js +5 -2
  129. package/esm2015/tokens/viewport.js +6 -2
  130. package/fesm2015/taiga-ui-core-abstract.js +39 -9
  131. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  132. package/fesm2015/taiga-ui-core-components-button.js +4 -1
  133. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  134. package/fesm2015/taiga-ui-core-components-dialog.js +8 -2
  135. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  136. package/fesm2015/taiga-ui-core-components-loader.js +4 -1
  137. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  138. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +4 -1
  139. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  140. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  141. package/fesm2015/taiga-ui-core-components-svg.js +4 -1
  142. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  143. package/fesm2015/taiga-ui-core-directives-dropdown.js +104 -53
  144. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  145. package/fesm2015/taiga-ui-core-directives-hint.js +187 -132
  146. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  147. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +15 -12
  148. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  149. package/fesm2015/taiga-ui-core-tokens.js +129 -37
  150. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  151. package/package.json +4 -4
  152. package/tokens/animation-options.d.ts +3 -0
  153. package/tokens/animations-duration.d.ts +3 -0
  154. package/tokens/assert-enabled.d.ts +3 -0
  155. package/tokens/data-list-accessor.d.ts +3 -0
  156. package/tokens/data-list-host.d.ts +3 -0
  157. package/tokens/day-type-handler.d.ts +3 -0
  158. package/tokens/element-ref.d.ts +3 -0
  159. package/tokens/first-day-of-week.d.ts +3 -0
  160. package/tokens/i18n.d.ts +18 -0
  161. package/tokens/icon-place.d.ts +1 -0
  162. package/tokens/icons-path.d.ts +1 -0
  163. package/tokens/icons.d.ts +3 -0
  164. package/tokens/is-mobile-resolution.d.ts +3 -0
  165. package/tokens/media.d.ts +3 -0
  166. package/tokens/mode.d.ts +3 -0
  167. package/tokens/notification-options.d.ts +3 -0
  168. package/tokens/number-format.d.ts +3 -0
  169. package/tokens/option-content.d.ts +3 -0
  170. package/tokens/ordered-short-week-days.d.ts +1 -0
  171. package/tokens/sanitizer.d.ts +3 -0
  172. package/tokens/scroll-ref.d.ts +3 -0
  173. package/tokens/selection-stream.d.ts +3 -0
  174. package/tokens/svg-content-processor.d.ts +1 -0
  175. package/tokens/svg-src-processor.d.ts +1 -0
  176. package/tokens/textfield-appearance.d.ts +5 -1
  177. package/tokens/textfield-host.d.ts +3 -0
  178. package/tokens/value-accessor.d.ts +3 -0
  179. package/tokens/viewport.d.ts +3 -0
@@ -1,2 +1,5 @@
1
1
  import { InjectionToken, Sanitizer } from '@angular/core';
2
+ /**
3
+ * A custom Sanitizer to sanitize source before inlining
4
+ */
2
5
  export declare const TUI_SANITIZER: InjectionToken<Sanitizer>;
@@ -1,2 +1,5 @@
1
1
  import { ElementRef, InjectionToken } from '@angular/core';
2
+ /**
3
+ * Scrollable container
4
+ */
2
5
  export declare const TUI_SCROLL_REF: InjectionToken<ElementRef<HTMLElement>>;
@@ -1,3 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { Observable } from 'rxjs';
3
+ /**
4
+ * A stream of possible selection changes
5
+ */
3
6
  export declare const TUI_SELECTION_STREAM: InjectionToken<Observable<unknown>>;
@@ -2,6 +2,7 @@ import { InjectionToken } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
3
  import { TuiHandler } from '@taiga-ui/cdk';
4
4
  /**
5
+ * Transform function the contents of the loaded svg file
5
6
  * @deprecated Use {@link TUI_SVG_OPTIONS} instead
6
7
  */
7
8
  export declare const TUI_SVG_CONTENT_PROCESSOR: InjectionToken<TuiHandler<string | SafeHtml, string | SafeHtml>>;
@@ -2,6 +2,7 @@ import { InjectionToken } from '@angular/core';
2
2
  import { SafeHtml } from '@angular/platform-browser';
3
3
  import { TuiHandler } from '@taiga-ui/cdk';
4
4
  /**
5
+ * Source path processor for svg
5
6
  * @deprecated Use {@link TUI_SVG_OPTIONS} instead
6
7
  */
7
8
  export declare const TUI_SVG_SRC_PROCESSOR: InjectionToken<TuiHandler<string | SafeHtml, string | SafeHtml>>;
@@ -1,3 +1,7 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- /** @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead */
2
+ /**
3
+ * Appearance for inputs
4
+ * @deprecated use {@link TUI_TEXTFIELD_APPEARANCE_DIRECTIVE} instead
5
+ * TODO: Remove in 4.0
6
+ */
3
7
  export declare const TUI_TEXTFIELD_APPEARANCE: InjectionToken<string>;
@@ -1,4 +1,7 @@
1
1
  import { InjectionToken, Provider, Type } from '@angular/core';
2
2
  import { TuiTextfieldHost } from '@taiga-ui/core/interfaces';
3
+ /**
4
+ * An interface to communicate with textfield based controls
5
+ */
3
6
  export declare const TUI_TEXTFIELD_HOST: InjectionToken<TuiTextfieldHost>;
4
7
  export declare function tuiAsTextfieldHost(useExisting: Type<TuiTextfieldHost>): Provider;
@@ -1,3 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
+ /**
4
+ * Buffer token to pass NG_VALUE_ACCESSOR to a different Injector
5
+ */
3
6
  export declare const TUI_VALUE_ACCESSOR: InjectionToken<ControlValueAccessor>;
@@ -1,4 +1,7 @@
1
1
  import { InjectionToken, Provider, Type } from '@angular/core';
2
2
  import { TuiRectAccessor } from '@taiga-ui/core/abstract';
3
+ /**
4
+ * Viewport accessor
5
+ */
3
6
  export declare const TUI_VIEWPORT: InjectionToken<TuiRectAccessor>;
4
7
  export declare function tuiAsViewport(useExisting: Type<TuiRectAccessor>): Provider;