@taiga-ui/kit 4.52.0-canary.763e67d → 4.52.0-canary.7c53ccc

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 (204) hide show
  1. package/components/avatar/avatar-labeled.component.d.ts +1 -1
  2. package/components/badged-content/badged-content.directive.d.ts +1 -2
  3. package/components/breadcrumbs/breadcrumbs.component.d.ts +2 -2
  4. package/components/calendar-range/calendar-range.component.d.ts +0 -1
  5. package/components/carousel/carousel-autoscroll.directive.d.ts +1 -2
  6. package/components/carousel/carousel-scroll.directive.d.ts +1 -1
  7. package/components/carousel/carousel.component.d.ts +5 -8
  8. package/components/carousel/carousel.directive.d.ts +2 -1
  9. package/components/copy/copy.component.d.ts +0 -1
  10. package/components/files/file/file.component.d.ts +4 -16
  11. package/components/files/files/files.component.d.ts +1 -3
  12. package/components/files/input-files/input-files.component.d.ts +2 -2
  13. package/components/files/input-files/input-files.content.d.ts +7 -8
  14. package/components/files/input-files/input-files.directive.d.ts +1 -2
  15. package/components/filter/filter.component.d.ts +6 -7
  16. package/components/fullscreen/fullscreen.component.d.ts +2 -2
  17. package/components/input-color/input-color.component.d.ts +5 -9
  18. package/components/input-date/input-date.component.d.ts +2 -2
  19. package/components/input-date/input-date.directive.d.ts +12 -11
  20. package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
  21. package/components/input-date-range/input-date-range.directive.d.ts +5 -3
  22. package/components/input-date-time/input-date-time.directive.d.ts +9 -9
  23. package/components/input-inline/input-inline.component.d.ts +3 -2
  24. package/components/input-month/input-month.component.d.ts +3 -5
  25. package/components/input-number/input-number.directive.d.ts +4 -6
  26. package/components/input-number/input-number.options.d.ts +2 -3
  27. package/components/input-number/step/input-number-step.component.d.ts +3 -3
  28. package/components/input-phone/input-phone.directive.d.ts +6 -8
  29. package/components/input-phone-international/input-phone-international.component.d.ts +8 -10
  30. package/components/input-phone-international/input-phone-international.options.d.ts +1 -0
  31. package/components/input-pin/input-pin.component.d.ts +3 -4
  32. package/components/input-range/input-range.component.d.ts +21 -51
  33. package/components/input-time/input-time.directive.d.ts +1 -1
  34. package/components/input-year/input-year.directive.d.ts +4 -6
  35. package/components/items-with-more/items-with-more.component.d.ts +6 -6
  36. package/components/items-with-more/items-with-more.directive.d.ts +6 -6
  37. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +5 -4
  38. package/components/pager/pager.component.d.ts +12 -12
  39. package/components/preview/pagination/preview-pagination.component.d.ts +4 -9
  40. package/components/preview/preview.component.d.ts +5 -5
  41. package/components/preview/zoom/preview-zoom.component.d.ts +8 -16
  42. package/components/progress/progress-circle/progress-circle.component.d.ts +7 -11
  43. package/components/push/push.component.d.ts +6 -7
  44. package/components/radio-list/radio-list.component.d.ts +9 -9
  45. package/components/range/range.component.d.ts +3 -4
  46. package/components/slider/helpers/slider-key-steps.directive.d.ts +6 -5
  47. package/components/slider/helpers/slider-readonly.directive.d.ts +2 -4
  48. package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -4
  49. package/components/slider/slider.component.d.ts +4 -7
  50. package/components/stepper/step.component.d.ts +9 -2
  51. package/components/stepper/stepper.component.d.ts +1 -3
  52. package/components/tabs/tabs-horizontal.directive.d.ts +3 -4
  53. package/components/tabs/tabs-vertical.directive.d.ts +2 -2
  54. package/components/tabs/tabs-with-more.component.d.ts +12 -16
  55. package/components/tabs/tabs.directive.d.ts +5 -7
  56. package/components/textarea/textarea.component.d.ts +7 -8
  57. package/components/tiles/tile.component.d.ts +7 -10
  58. package/components/tiles/tile.service.d.ts +1 -1
  59. package/components/tiles/tiles.component.d.ts +4 -7
  60. package/components/tree/components/tree/tree.component.d.ts +7 -7
  61. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  62. package/components/tree/directives/tree-children.directive.d.ts +2 -2
  63. package/components/tree/directives/tree-controller.directive.d.ts +4 -5
  64. package/components/tree/directives/tree-item-controller.directive.d.ts +2 -2
  65. package/components/tree/directives/tree-node.directive.d.ts +5 -4
  66. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  67. package/directives/appearance-proxy/index.d.ts +1 -0
  68. package/directives/highlight/highlight.directive.d.ts +6 -5
  69. package/directives/index.d.ts +1 -0
  70. package/directives/present/present.directive.d.ts +2 -3
  71. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  72. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +2 -2
  73. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -19
  74. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +2 -2
  76. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  77. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  79. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +6 -11
  81. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +2 -2
  84. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +2 -10
  85. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-carousel.mjs +31 -52
  87. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  89. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-comment.mjs +2 -2
  91. package/fesm2022/taiga-ui-kit-components-confirm.mjs +2 -2
  92. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-kit-components-copy.mjs +3 -8
  94. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-drawer.mjs +3 -13
  97. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-files.mjs +72 -154
  99. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-filter.mjs +13 -12
  101. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +5 -6
  103. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +1 -10
  105. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-input-color.mjs +5 -17
  107. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +9 -3
  109. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +10 -29
  111. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-input-date.mjs +14 -24
  113. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +8 -10
  115. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-input-month.mjs +8 -24
  117. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-input-number.mjs +21 -27
  119. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +28 -44
  121. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +10 -25
  123. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +7 -14
  125. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-input-range.mjs +34 -59
  127. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-input-year.mjs +5 -19
  129. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +39 -59
  131. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
  133. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +14 -19
  135. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +2 -2
  137. package/fesm2022/taiga-ui-kit-components-pager.mjs +27 -39
  138. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-kit-components-pagination.mjs +10 -14
  140. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
  142. package/fesm2022/taiga-ui-kit-components-preview.mjs +39 -119
  143. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-progress.mjs +17 -32
  145. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-pulse.mjs +1 -3
  147. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-push.mjs +9 -21
  149. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +19 -31
  151. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-range.mjs +14 -24
  153. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-segmented.mjs +2 -2
  155. package/fesm2022/taiga-ui-kit-components-slider.mjs +37 -55
  156. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-kit-components-stepper.mjs +32 -25
  158. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-kit-components-switch.mjs +2 -2
  160. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-kit-components-tabs.mjs +56 -111
  162. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-kit-components-textarea.mjs +13 -25
  164. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-kit-components-tiles.mjs +26 -58
  166. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-kit-components-toast.mjs +2 -2
  168. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-kit-components-tree.mjs +41 -72
  170. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  172. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  173. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +2 -2
  174. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  175. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
  176. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  177. package/fesm2022/taiga-ui-kit-directives-connected.mjs +2 -2
  178. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  179. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +17 -13
  181. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-directives-present.mjs +7 -10
  183. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  185. package/fesm2022/taiga-ui-kit-directives.mjs +1 -0
  186. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  187. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-tokens.mjs +2 -26
  189. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  191. package/package.json +26 -22
  192. package/pipes/flag/flag.pipe.d.ts +1 -2
  193. package/styles/components/avatar.less +14 -14
  194. package/styles/components/badge.less +3 -3
  195. package/styles/components/block.less +4 -4
  196. package/styles/components/chip.less +3 -3
  197. package/styles/components/comment.less +1 -1
  198. package/styles/components/message.less +1 -1
  199. package/styles/components/pin.less +3 -3
  200. package/styles/components/switch.less +1 -0
  201. package/styles/components/toast.less +1 -1
  202. package/tokens/index.d.ts +0 -1
  203. package/utils/maskito.binding.d.ts +1 -1
  204. package/tokens/calendar-date-stream.d.ts +0 -10
@@ -1,30 +1,6 @@
1
- import { InjectionToken, Optional, Self } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { tuiControlValue } from '@taiga-ui/cdk/observables';
4
- import { of, map } from 'rxjs';
1
+ import { InjectionToken } from '@angular/core';
5
2
  import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
6
3
 
7
- /**
8
- * Stream that emits calendar data change
9
- * @deprecated this should be rewritten in v5
10
- */
11
- const TUI_CALENDAR_DATE_STREAM = new InjectionToken(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');
12
- function tuiDateStreamWithTransformer(transformer) {
13
- return {
14
- provide: TUI_CALENDAR_DATE_STREAM,
15
- deps: [
16
- [new Optional(), new Self(), NgControl],
17
- [new Optional(), transformer],
18
- ],
19
- useFactory: tuiControlValueFactory,
20
- };
21
- }
22
- function tuiControlValueFactory(control, transformer) {
23
- return control
24
- ? tuiControlValue(control).pipe(map((value) => transformer ? transformer?.fromControlValue(value) : value))
25
- : of(null);
26
- }
27
-
28
4
  const TUI_CONFIRM_WORDS = new InjectionToken(ngDevMode ? 'TUI_CONFIRM_WORDS' : '', {
29
5
  factory: tuiExtractI18n('confirm'),
30
6
  });
@@ -105,5 +81,5 @@ const TUI_DAY_RANGE_PERIODS = new InjectionToken(ngDevMode ? 'TUI_DAY_RANGE_PERI
105
81
  * Generated bundle index. Do not edit.
106
82
  */
107
83
 
108
- export { TUI_CALENDAR_DATE_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_TEXTS, TUI_DAY_RANGE_PERIODS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS, tuiDateStreamWithTransformer };
84
+ export { TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_TEXTS, TUI_DAY_RANGE_PERIODS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS };
109
85
  //# sourceMappingURL=taiga-ui-kit-tokens.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n\nexport const TUI_DAY_RANGE_PERIODS = new InjectionToken(\n ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '',\n {\n factory: tuiExtractI18n('dayRangePeriods'),\n },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAOA;;;AAGG;AACU,MAAA,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE;AAEvC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC;AACL;AAEA,SAAS,sBAAsB,CAG3B,OAAyB,EACzB,WAA2C,EAAA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,SAAS,GAAG,uBAAuB,GAAG,EAAE,EACxC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,iBAAiB,CAAC;AAC7C,CAAA;;AC3JL;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n\nexport const TUI_DAY_RANGE_PERIODS = new InjectionToken(\n ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '',\n {\n factory: tuiExtractI18n('dayRangePeriods'),\n },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKa,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC;AACrC,CAAA;AAGQ,MAAA,eAAe,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,iBAAiB,GAAG,EAAE,EAAE;AAClF,IAAA,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC;AACpC,CAAA;AAEY,MAAA,aAAa,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,eAAe,GAAG,EAAE,EAAE;AAC9E,IAAA,OAAO,EAAE,cAAc,C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A;AAGQ,MAAA,aAAa,GAAG,IAAI,cAAc,CAE7C,SAAS,GAAG,eAAe,GAAG,EAAE,EAAE;AAChC,IAAA,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC;AACvC,CAAA;AAEY,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,cAAc,CAAC;AAC1C,CAAA;AAGQ,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC;AACvC,CAAA;AAGQ,MAAA,wBAAwB,GAAG,IAAI,cAAc,CACtD,SAAS,GAAG,0BAA0B,GAAG,EAAE,EAC3C;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;AAGQ,MAAA,qBAAqB,GAAG,IAAI,cAAc,CACnD,SAAS,GAAG,uBAAuB,GAAG,EAAE,EACxC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,iBAAiB,CAAC;AAC7C,CAAA;;AC3JL;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control() ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control() ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\n\ntype M = MaskitoOptions;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.763e67d",
3
+ "version": "4.52.0-canary.7c53ccc",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -44,18 +44,22 @@
44
44
  "types": "./components/accordion/index.d.ts",
45
45
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
46
46
  },
47
- "./components/action-bar": {
48
- "types": "./components/action-bar/index.d.ts",
49
- "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
50
- },
51
47
  "./utils": {
52
48
  "types": "./utils/index.d.ts",
53
49
  "default": "./fesm2022/taiga-ui-kit-utils.mjs"
54
50
  },
51
+ "./components/action-bar": {
52
+ "types": "./components/action-bar/index.d.ts",
53
+ "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
54
+ },
55
55
  "./components/avatar": {
56
56
  "types": "./components/avatar/index.d.ts",
57
57
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
58
58
  },
59
+ "./components/badge": {
60
+ "types": "./components/badge/index.d.ts",
61
+ "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
62
+ },
59
63
  "./components/badge-notification": {
60
64
  "types": "./components/badge-notification/index.d.ts",
61
65
  "default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
@@ -68,10 +72,6 @@
68
72
  "types": "./components/block/index.d.ts",
69
73
  "default": "./fesm2022/taiga-ui-kit-components-block.mjs"
70
74
  },
71
- "./components/badge": {
72
- "types": "./components/badge/index.d.ts",
73
- "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
74
- },
75
75
  "./components/breadcrumbs": {
76
76
  "types": "./components/breadcrumbs/index.d.ts",
77
77
  "default": "./fesm2022/taiga-ui-kit-components-breadcrumbs.mjs"
@@ -208,6 +208,10 @@
208
208
  "types": "./components/input-year/index.d.ts",
209
209
  "default": "./fesm2022/taiga-ui-kit-components-input-year.mjs"
210
210
  },
211
+ "./components/items-with-more": {
212
+ "types": "./components/items-with-more/index.d.ts",
213
+ "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
214
+ },
211
215
  "./components/like": {
212
216
  "types": "./components/like/index.d.ts",
213
217
  "default": "./fesm2022/taiga-ui-kit-components-like.mjs"
@@ -216,10 +220,6 @@
216
220
  "types": "./components/line-clamp/index.d.ts",
217
221
  "default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
218
222
  },
219
- "./components/items-with-more": {
220
- "types": "./components/items-with-more/index.d.ts",
221
- "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
222
- },
223
223
  "./components/message": {
224
224
  "types": "./components/message/index.d.ts",
225
225
  "default": "./fesm2022/taiga-ui-kit-components-message.mjs"
@@ -324,6 +324,10 @@
324
324
  "types": "./components/tree/index.d.ts",
325
325
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
326
326
  },
327
+ "./directives/appearance-proxy": {
328
+ "types": "./directives/appearance-proxy/index.d.ts",
329
+ "default": "./fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs"
330
+ },
327
331
  "./directives/button-close": {
328
332
  "types": "./directives/button-close/index.d.ts",
329
333
  "default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
@@ -356,14 +360,14 @@
356
360
  "types": "./directives/fluid-typography/index.d.ts",
357
361
  "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
358
362
  },
359
- "./directives/password": {
360
- "types": "./directives/password/index.d.ts",
361
- "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
362
- },
363
363
  "./directives/highlight": {
364
364
  "types": "./directives/highlight/index.d.ts",
365
365
  "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
366
366
  },
367
+ "./directives/password": {
368
+ "types": "./directives/password/index.d.ts",
369
+ "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
370
+ },
367
371
  "./directives/present": {
368
372
  "types": "./directives/present/index.d.ts",
369
373
  "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
@@ -372,6 +376,10 @@
372
376
  "types": "./directives/sensitive/index.d.ts",
373
377
  "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
374
378
  },
379
+ "./directives/shimmer": {
380
+ "types": "./directives/shimmer/index.d.ts",
381
+ "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
382
+ },
375
383
  "./directives/skeleton": {
376
384
  "types": "./directives/skeleton/index.d.ts",
377
385
  "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
@@ -380,10 +388,6 @@
380
388
  "types": "./directives/tooltip/index.d.ts",
381
389
  "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
382
390
  },
383
- "./directives/shimmer": {
384
- "types": "./directives/shimmer/index.d.ts",
385
- "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
386
- },
387
391
  "./directives/unfinished-validator": {
388
392
  "types": "./directives/unfinished-validator/index.d.ts",
389
393
  "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
@@ -444,7 +448,7 @@
444
448
  "@ng-web-apis/resize-observer": "^4.12.2",
445
449
  "@taiga-ui/cdk": "^4.52.0",
446
450
  "@taiga-ui/core": "^4.52.0",
447
- "@taiga-ui/design-tokens": "~0.273.0",
451
+ "@taiga-ui/design-tokens": "~0.274.0",
448
452
  "@taiga-ui/i18n": "^4.52.0",
449
453
  "@taiga-ui/polymorpheus": "^4.9.0",
450
454
  "rxjs": ">=7.0.0"
@@ -1,8 +1,7 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
- import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
3
2
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
3
  import * as i0 from "@angular/core";
5
- type IsoCode = TuiLooseUnion<TuiCountryIsoCode>;
4
+ type IsoCode = TuiCountryIsoCode | string;
6
5
  export declare class TuiFlagPipe implements PipeTransform {
7
6
  private readonly staticPath;
8
7
  transform(countryIsoCode: IsoCode): string;
@@ -41,7 +41,7 @@
41
41
  vertical-align: middle;
42
42
  box-sizing: border-box;
43
43
  padding: 0.25rem;
44
- font: var(--tui-font-text-l);
44
+ font: var(--tui-font-body-l);
45
45
  font-weight: bold;
46
46
  opacity: 0.999; // Kick in hardware rendering layer to avoid artifacts on the edges
47
47
 
@@ -60,11 +60,11 @@
60
60
  --t-size: var(--tui-height-xs);
61
61
  --t-radius: 0.5rem;
62
62
 
63
- font: var(--tui-font-text-ui-xs);
63
+ font: var(--tui-font-ui-xs);
64
64
  font-size: 0.5625rem;
65
65
 
66
66
  &._initials::before {
67
- font: var(--tui-font-text-ui-xs);
67
+ font: var(--tui-font-ui-xs);
68
68
  font-weight: bold;
69
69
  }
70
70
  }
@@ -73,11 +73,11 @@
73
73
  --t-size: var(--tui-height-s);
74
74
  --t-radius: 0.5rem;
75
75
 
76
- font: var(--tui-font-text-ui-xs);
76
+ font: var(--tui-font-ui-xs);
77
77
  font-weight: bold;
78
78
 
79
79
  &._initials::before {
80
- font: var(--tui-font-text-s);
80
+ font: var(--tui-font-body-s);
81
81
  font-weight: bold;
82
82
  }
83
83
  }
@@ -86,11 +86,11 @@
86
86
  --t-size: calc(var(--tui-height-m) - 0.25rem);
87
87
  --t-radius: 0.75rem;
88
88
 
89
- font: var(--tui-font-text-ui-m);
89
+ font: var(--tui-font-ui-m);
90
90
  font-weight: bold;
91
91
 
92
92
  &._initials::before {
93
- font: var(--tui-font-text-m);
93
+ font: var(--tui-font-body-m);
94
94
  font-weight: bold;
95
95
  }
96
96
  }
@@ -99,10 +99,10 @@
99
99
  --t-size: 5rem;
100
100
  --t-radius: 0.75rem;
101
101
 
102
- font: var(--tui-font-heading-4);
102
+ font: var(--tui-font-heading-h4);
103
103
 
104
104
  &._initials::before {
105
- font: var(--tui-font-heading-3);
105
+ font: var(--tui-font-heading-h3);
106
106
  }
107
107
  }
108
108
 
@@ -110,10 +110,10 @@
110
110
  --t-size: 6rem;
111
111
  --t-radius: 1rem;
112
112
 
113
- font: var(--tui-font-heading-3);
113
+ font: var(--tui-font-heading-h3);
114
114
 
115
115
  &._initials::before {
116
- font: var(--tui-font-heading-3);
116
+ font: var(--tui-font-heading-h3);
117
117
  }
118
118
  }
119
119
 
@@ -121,10 +121,10 @@
121
121
  --t-size: 8rem;
122
122
  --t-radius: 1.25rem;
123
123
 
124
- font: var(--tui-font-heading-3);
124
+ font: var(--tui-font-heading-h3);
125
125
 
126
126
  &._initials::before {
127
- font: var(--tui-font-heading-2);
127
+ font: var(--tui-font-heading-h2);
128
128
  }
129
129
  }
130
130
 
@@ -137,7 +137,7 @@
137
137
  content: attr(data-icon-start);
138
138
  mask: none;
139
139
  background: none;
140
- font: var(--tui-font-heading-6);
140
+ font: var(--tui-font-heading-h6);
141
141
  }
142
142
  }
143
143
 
@@ -33,7 +33,7 @@ tui-badge,
33
33
  block-size: var(--t-size);
34
34
  min-inline-size: var(--t-size);
35
35
  inline-size: fit-content;
36
- font: var(--tui-font-text-s);
36
+ font: var(--tui-font-body-s);
37
37
 
38
38
  &[tuiStatus]::before {
39
39
  inline-size: 0.375rem;
@@ -75,7 +75,7 @@ tui-badge,
75
75
  --t-icon-size: 0.625rem;
76
76
  --t-margin: -0.125rem;
77
77
 
78
- font: var(--tui-font-text-xs);
78
+ font: var(--tui-font-body-xs);
79
79
 
80
80
  &[tuiStatus]::before {
81
81
  inline-size: 0.25rem;
@@ -96,7 +96,7 @@ tui-badge,
96
96
  --t-padding: 0 0.75rem;
97
97
  --t-size: var(--tui-height-s);
98
98
 
99
- font: var(--tui-font-text-m);
99
+ font: var(--tui-font-body-m);
100
100
 
101
101
  &[tuiStatus]::before {
102
102
  inline-size: 0.5rem;
@@ -33,20 +33,20 @@
33
33
  box-sizing: border-box;
34
34
  cursor: pointer;
35
35
  overflow: hidden;
36
- font: var(--tui-font-text-m);
36
+ font: var(--tui-font-body-m);
37
37
  padding: var(--tui-padding-l);
38
38
  isolation: isolate;
39
39
 
40
40
  &[data-size='s'] {
41
41
  gap: 0.5rem;
42
- font: var(--tui-font-text-ui-s);
42
+ font: var(--tui-font-ui-s);
43
43
  padding: 0.5rem;
44
44
 
45
45
  --t-height: var(--tui-height-s);
46
46
  --t-radius: var(--tui-radius-m);
47
47
 
48
48
  [tuiSubtitle] {
49
- font: var(--tui-font-text-ui-xs);
49
+ font: var(--tui-font-ui-xs);
50
50
  }
51
51
 
52
52
  [tuiTooltip] {
@@ -56,7 +56,7 @@
56
56
 
57
57
  &[data-size='m'] {
58
58
  gap: 0.625rem;
59
- font: var(--tui-font-text-ui-m);
59
+ font: var(--tui-font-ui-m);
60
60
  padding: var(--tui-padding-m);
61
61
 
62
62
  --t-height: var(--tui-height-m);
@@ -26,7 +26,7 @@ tui-chip,
26
26
 
27
27
  .button-base();
28
28
 
29
- font: var(--tui-font-text-s);
29
+ font: var(--tui-font-body-s);
30
30
  border-radius: var(--tui-radius-m);
31
31
  padding: var(--t-padding);
32
32
  block-size: var(--t-size);
@@ -60,7 +60,7 @@ tui-chip,
60
60
  --t-size: 1rem;
61
61
  --t-icon-size: 0.75rem;
62
62
 
63
- font: var(--tui-font-text-xs);
63
+ font: var(--tui-font-body-xs);
64
64
  border-radius: var(--tui-radius-xs);
65
65
 
66
66
  & > [tuiIconButton] {
@@ -86,7 +86,7 @@ tui-chip,
86
86
  --t-padding: 0 1rem;
87
87
  --t-size: var(--tui-height-m);
88
88
 
89
- font: var(--tui-font-text-m);
89
+ font: var(--tui-font-body-m);
90
90
 
91
91
  & > [tuiIconButton] {
92
92
  margin: -0.75rem;
@@ -16,7 +16,7 @@
16
16
  [tuiComment] {
17
17
  position: relative;
18
18
  display: inline-flex;
19
- font: var(--tui-font-text-m);
19
+ font: var(--tui-font-body-m);
20
20
  color: #fff;
21
21
  padding: 0.5rem 0.75rem;
22
22
  min-inline-size: 2.5rem;
@@ -23,7 +23,7 @@
23
23
  isolation: isolate;
24
24
  white-space: nowrap;
25
25
  text-align: start;
26
- font: var(--tui-font-text-ui-m);
26
+ font: var(--tui-font-ui-m);
27
27
  border-radius: var(--tui-radius-l);
28
28
 
29
29
  > [tuiLink] {
@@ -28,7 +28,7 @@
28
28
  justify-content: center;
29
29
  text-align: center;
30
30
  border-radius: 100%;
31
- font: var(--tui-font-text-s);
31
+ font: var(--tui-font-body-s);
32
32
  font-weight: bold;
33
33
  box-sizing: border-box;
34
34
  color: var(--tui-text-primary-on-accent-2);
@@ -73,7 +73,7 @@
73
73
  &:has(:checked) {
74
74
  --t-size: 3.5rem;
75
75
 
76
- font: var(--tui-font-text-m);
76
+ font: var(--tui-font-body-m);
77
77
  font-weight: bold;
78
78
  border-width: 0;
79
79
  margin-block-start: -2.75rem;
@@ -101,7 +101,7 @@
101
101
  &._open {
102
102
  --t-size: 3.5rem;
103
103
 
104
- font: var(--tui-font-text-m);
104
+ font: var(--tui-font-body-m);
105
105
  font-weight: bold;
106
106
  border-width: 0;
107
107
  margin-block-start: -2.75rem;
@@ -22,6 +22,7 @@
22
22
  [tuiSwitch] {
23
23
  .transition(~'background, box-shadow');
24
24
 
25
+ display: inline-block;
25
26
  inline-size: 3rem;
26
27
  block-size: 1.5rem;
27
28
  border-radius: 2rem;
@@ -16,7 +16,7 @@
16
16
  align-items: center;
17
17
  justify-content: center;
18
18
  inline-size: max-content;
19
- font: var(--tui-font-text-ui-s);
19
+ font: var(--tui-font-ui-s);
20
20
  max-inline-size: ~'min(calc(100vw - 2rem), 25rem)';
21
21
  border: inherit;
22
22
  text-decoration: none;
package/tokens/index.d.ts CHANGED
@@ -1,2 +1 @@
1
- export * from './calendar-date-stream';
2
1
  export * from './i18n';
@@ -1,6 +1,6 @@
1
1
  import { type Signal, type WritableSignal } from '@angular/core';
2
2
  import { type MaskitoOptions } from '@maskito/core';
3
- type M = MaskitoOptions | null;
3
+ type M = MaskitoOptions;
4
4
  export declare function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;
5
5
  export declare function tuiMaskito(options: Signal<M>): Signal<M>;
6
6
  export {};
@@ -1,10 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { type TuiDay, type TuiDayRange } from '@taiga-ui/cdk/date-time';
4
- import { type Observable } from 'rxjs';
5
- /**
6
- * Stream that emits calendar data change
7
- * @deprecated this should be rewritten in v5
8
- */
9
- export declare const TUI_CALENDAR_DATE_STREAM: InjectionToken<Observable<TuiDay | TuiDayRange | null>>;
10
- export declare function tuiDateStreamWithTransformer(transformer: InjectionToken<TuiValueTransformer<any>>): Provider;