@taiga-ui/kit 5.24.0-canary.87be0a8 → 5.25.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 (111) hide show
  1. package/components/input-date-time/input-date-time.directive.d.ts +2 -0
  2. package/components/input-time/input-time.directive.d.ts +2 -0
  3. package/directives/index.d.ts +1 -0
  4. package/directives/present/present.directive.d.ts +3 -1
  5. package/directives/time-format/index.d.ts +1 -0
  6. package/directives/time-format/time-format.directive.d.ts +7 -0
  7. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  8. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -9
  10. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  12. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  14. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  16. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-kit-components-comment.mjs +3 -3
  18. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
  20. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-kit-components-copy.mjs +2 -2
  22. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-kit-components-files.mjs +5 -5
  24. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-kit-components-input-color.mjs +2 -2
  26. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +32 -12
  28. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-kit-components-input-date.mjs +4 -4
  30. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
  32. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-kit-components-input-month.mjs +4 -4
  34. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-kit-components-input-number.mjs +3 -3
  36. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
  38. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +3 -3
  40. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +2 -2
  42. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-kit-components-input-time.mjs +28 -10
  44. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-kit-components-like.mjs +2 -2
  46. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
  48. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-kit-components-meter.mjs +3 -3
  50. package/fesm2022/taiga-ui-kit-components-meter.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-kit-components-pager.mjs +2 -2
  52. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-kit-components-pin.mjs +3 -3
  54. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-kit-components-pincode.mjs +2 -2
  56. package/fesm2022/taiga-ui-kit-components-pincode.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-kit-components-preview.mjs +3 -3
  58. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-kit-components-progress.mjs +6 -6
  60. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-kit-components-pulse.mjs +2 -2
  62. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-kit-components-push.mjs +2 -2
  64. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
  66. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-kit-components-rating.mjs +2 -2
  68. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -3
  70. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +2 -2
  72. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-kit-components-status.mjs +3 -3
  74. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-kit-components-switch.mjs +2 -2
  76. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-kit-components-tabs.mjs +3 -3
  78. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-kit-components-textarea.mjs +3 -3
  80. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-kit-components-tiles.mjs +4 -4
  82. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-kit-components-toast.mjs +2 -2
  84. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +3 -3
  86. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
  88. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-kit-directives-connected.mjs +3 -3
  90. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-kit-directives-fade.mjs +3 -3
  92. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-kit-directives-present.mjs +12 -6
  94. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +3 -3
  96. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +2 -2
  98. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +3 -3
  100. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-kit-directives-time-format.mjs +43 -0
  102. package/fesm2022/taiga-ui-kit-directives-time-format.mjs.map +1 -0
  103. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
  104. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-kit-directives.mjs +1 -0
  106. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-kit-tokens.mjs +17 -2
  108. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  109. package/package.json +44 -40
  110. package/tokens/index.d.ts +1 -0
  111. package/tokens/time-format.d.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "5.24.0-canary.87be0a8",
3
+ "version": "5.25.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -43,11 +43,11 @@
43
43
  "@ng-web-apis/mutation-observer": "^5.3.0",
44
44
  "@ng-web-apis/platform": "^5.3.0",
45
45
  "@ng-web-apis/resize-observer": "^5.3.0",
46
- "@taiga-ui/cdk": "5.24.0",
47
- "@taiga-ui/core": "5.24.0",
48
- "@taiga-ui/i18n": "5.24.0",
46
+ "@taiga-ui/cdk": "5.25.0",
47
+ "@taiga-ui/core": "5.25.0",
48
+ "@taiga-ui/i18n": "5.25.0",
49
49
  "@taiga-ui/polymorpheus": "^5.0.1",
50
- "@taiga-ui/styles": "5.24.0",
50
+ "@taiga-ui/styles": "5.25.0",
51
51
  "rxjs": ">=7.0.0"
52
52
  },
53
53
  "module": "fesm2022/taiga-ui-kit.mjs",
@@ -132,14 +132,14 @@
132
132
  "types": "./components/combo-box/index.d.ts",
133
133
  "default": "./fesm2022/taiga-ui-kit-components-combo-box.mjs"
134
134
  },
135
- "./components/compass": {
136
- "types": "./components/compass/index.d.ts",
137
- "default": "./fesm2022/taiga-ui-kit-components-compass.mjs"
138
- },
139
135
  "./components/comment": {
140
136
  "types": "./components/comment/index.d.ts",
141
137
  "default": "./fesm2022/taiga-ui-kit-components-comment.mjs"
142
138
  },
139
+ "./components/compass": {
140
+ "types": "./components/compass/index.d.ts",
141
+ "default": "./fesm2022/taiga-ui-kit-components-compass.mjs"
142
+ },
143
143
  "./components/confirm": {
144
144
  "types": "./components/confirm/index.d.ts",
145
145
  "default": "./fesm2022/taiga-ui-kit-components-confirm.mjs"
@@ -160,14 +160,14 @@
160
160
  "types": "./components/drawer/index.d.ts",
161
161
  "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
162
162
  },
163
- "./components/files": {
164
- "types": "./components/files/index.d.ts",
165
- "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
166
- },
167
163
  "./components/filter": {
168
164
  "types": "./components/filter/index.d.ts",
169
165
  "default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
170
166
  },
167
+ "./components/files": {
168
+ "types": "./components/files/index.d.ts",
169
+ "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
170
+ },
171
171
  "./components/fullscreen": {
172
172
  "types": "./components/fullscreen/index.d.ts",
173
173
  "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
@@ -248,17 +248,13 @@
248
248
  "types": "./components/like/index.d.ts",
249
249
  "default": "./fesm2022/taiga-ui-kit-components-like.mjs"
250
250
  },
251
- "./components/line-clamp": {
252
- "types": "./components/line-clamp/index.d.ts",
253
- "default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
254
- },
255
251
  "./components/message": {
256
252
  "types": "./components/message/index.d.ts",
257
253
  "default": "./fesm2022/taiga-ui-kit-components-message.mjs"
258
254
  },
259
- "./components/meter": {
260
- "types": "./components/meter/index.d.ts",
261
- "default": "./fesm2022/taiga-ui-kit-components-meter.mjs"
255
+ "./components/line-clamp": {
256
+ "types": "./components/line-clamp/index.d.ts",
257
+ "default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
262
258
  },
263
259
  "./components/multi-select": {
264
260
  "types": "./components/multi-select/index.d.ts",
@@ -296,18 +292,22 @@
296
292
  "types": "./components/pulse/index.d.ts",
297
293
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
298
294
  },
295
+ "./components/meter": {
296
+ "types": "./components/meter/index.d.ts",
297
+ "default": "./fesm2022/taiga-ui-kit-components-meter.mjs"
298
+ },
299
299
  "./components/push": {
300
300
  "types": "./components/push/index.d.ts",
301
301
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
302
302
  },
303
- "./components/radio-list": {
304
- "types": "./components/radio-list/index.d.ts",
305
- "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
306
- },
307
303
  "./components/range": {
308
304
  "types": "./components/range/index.d.ts",
309
305
  "default": "./fesm2022/taiga-ui-kit-components-range.mjs"
310
306
  },
307
+ "./components/radio-list": {
308
+ "types": "./components/radio-list/index.d.ts",
309
+ "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
310
+ },
311
311
  "./components/rating": {
312
312
  "types": "./components/rating/index.d.ts",
313
313
  "default": "./fesm2022/taiga-ui-kit-components-rating.mjs"
@@ -368,14 +368,14 @@
368
368
  "types": "./directives/appearance-proxy/index.d.ts",
369
369
  "default": "./fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs"
370
370
  },
371
- "./directives/button-group": {
372
- "types": "./directives/button-group/index.d.ts",
373
- "default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
374
- },
375
371
  "./directives/button-select": {
376
372
  "types": "./directives/button-select/index.d.ts",
377
373
  "default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
378
374
  },
375
+ "./directives/button-group": {
376
+ "types": "./directives/button-group/index.d.ts",
377
+ "default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
378
+ },
379
379
  "./directives/chevron": {
380
380
  "types": "./directives/chevron/index.d.ts",
381
381
  "default": "./fesm2022/taiga-ui-kit-directives-chevron.mjs"
@@ -384,14 +384,14 @@
384
384
  "types": "./directives/connected/index.d.ts",
385
385
  "default": "./fesm2022/taiga-ui-kit-directives-connected.mjs"
386
386
  },
387
- "./directives/data-list-dropdown-manager": {
388
- "types": "./directives/data-list-dropdown-manager/index.d.ts",
389
- "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
390
- },
391
387
  "./directives/fade": {
392
388
  "types": "./directives/fade/index.d.ts",
393
389
  "default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
394
390
  },
391
+ "./directives/data-list-dropdown-manager": {
392
+ "types": "./directives/data-list-dropdown-manager/index.d.ts",
393
+ "default": "./fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs"
394
+ },
395
395
  "./directives/fluid-typography": {
396
396
  "types": "./directives/fluid-typography/index.d.ts",
397
397
  "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
@@ -400,6 +400,10 @@
400
400
  "types": "./directives/highlight/index.d.ts",
401
401
  "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
402
402
  },
403
+ "./directives/password": {
404
+ "types": "./directives/password/index.d.ts",
405
+ "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
406
+ },
403
407
  "./directives/present": {
404
408
  "types": "./directives/present/index.d.ts",
405
409
  "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
@@ -408,10 +412,6 @@
408
412
  "types": "./directives/sensitive/index.d.ts",
409
413
  "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
410
414
  },
411
- "./directives/password": {
412
- "types": "./directives/password/index.d.ts",
413
- "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
414
- },
415
415
  "./directives/shimmer": {
416
416
  "types": "./directives/shimmer/index.d.ts",
417
417
  "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
@@ -420,6 +420,10 @@
420
420
  "types": "./directives/skeleton/index.d.ts",
421
421
  "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
422
422
  },
423
+ "./directives/time-format": {
424
+ "types": "./directives/time-format/index.d.ts",
425
+ "default": "./fesm2022/taiga-ui-kit-directives-time-format.mjs"
426
+ },
423
427
  "./directives/tooltip": {
424
428
  "types": "./directives/tooltip/index.d.ts",
425
429
  "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
@@ -444,14 +448,14 @@
444
448
  "types": "./pipes/flag/index.d.ts",
445
449
  "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
446
450
  },
447
- "./pipes/hide-selected": {
448
- "types": "./pipes/hide-selected/index.d.ts",
449
- "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
450
- },
451
451
  "./pipes/format-number": {
452
452
  "types": "./pipes/format-number/index.d.ts",
453
453
  "default": "./fesm2022/taiga-ui-kit-pipes-format-number.mjs"
454
454
  },
455
+ "./pipes/hide-selected": {
456
+ "types": "./pipes/hide-selected/index.d.ts",
457
+ "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
458
+ },
455
459
  "./pipes/initials": {
456
460
  "types": "./pipes/initials/index.d.ts",
457
461
  "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
package/tokens/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './i18n';
2
+ export * from './time-format';
@@ -0,0 +1,9 @@
1
+ import { InjectionToken, type Provider, type Signal } from '@angular/core';
2
+ import { type MaskitoTimeParams } from '@maskito/kit';
3
+ /**
4
+ * TODO(v6): move `mode`, `timeSegmentMinValues` and `timeSegmentMaxValues`
5
+ * from `TUI_INPUT_TIME_OPTIONS` / `TUI_INPUT_DATE_TIME_OPTIONS` here
6
+ */
7
+ export type TuiTimeFormatSettings = Pick<Required<MaskitoTimeParams>, 'dayPeriod'>;
8
+ export declare const TUI_TIME_FORMAT: InjectionToken<Signal<TuiTimeFormatSettings>>;
9
+ export declare function tuiTimeFormatProvider(options: Partial<TuiTimeFormatSettings>): Provider;