@taiga-ui/kit 5.24.0 → 5.25.0-canary.5ab31f9

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/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/components/textarea/textarea.component.d.ts +2 -2
  4. package/directives/index.d.ts +1 -0
  5. package/directives/present/present.directive.d.ts +3 -1
  6. package/directives/time-format/index.d.ts +1 -0
  7. package/directives/time-format/time-format.directive.d.ts +7 -0
  8. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  9. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -9
  11. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  13. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  15. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  17. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-kit-components-comment.mjs +3 -3
  19. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
  21. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-kit-components-copy.mjs +2 -2
  23. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-kit-components-drawer.mjs +2 -2
  25. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-kit-components-files.mjs +6 -6
  27. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +2 -2
  29. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-input-color.mjs +2 -2
  31. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +32 -12
  33. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-components-input-date.mjs +4 -4
  35. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
  37. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-input-month.mjs +4 -4
  39. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-input-number.mjs +3 -3
  41. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
  43. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +3 -3
  45. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +2 -2
  47. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-input-time.mjs +28 -10
  49. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-like.mjs +2 -2
  51. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
  53. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-meter.mjs +3 -3
  55. package/fesm2022/taiga-ui-kit-components-meter.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-pager.mjs +2 -2
  57. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-pin.mjs +3 -3
  59. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-pincode.mjs +2 -2
  61. package/fesm2022/taiga-ui-kit-components-pincode.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-preview.mjs +3 -3
  63. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-components-progress.mjs +6 -6
  65. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-pulse.mjs +2 -2
  67. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-push.mjs +2 -2
  69. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
  71. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-rating.mjs +2 -2
  73. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -3
  75. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +2 -2
  77. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-status.mjs +3 -3
  79. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-stepper.mjs +2 -2
  81. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-switch.mjs +2 -2
  83. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-tabs.mjs +3 -3
  85. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-textarea.mjs +6 -8
  87. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-tiles.mjs +4 -4
  89. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-toast.mjs +2 -2
  91. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +3 -3
  93. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
  95. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-directives-connected.mjs +3 -3
  97. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-directives-fade.mjs +3 -3
  99. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-directives-present.mjs +12 -6
  101. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +3 -3
  103. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +2 -2
  105. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +3 -3
  107. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-directives-time-format.mjs +43 -0
  109. package/fesm2022/taiga-ui-kit-directives-time-format.mjs.map +1 -0
  110. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
  111. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-directives.mjs +1 -0
  113. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-tokens.mjs +17 -2
  115. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  116. package/package.json +61 -57
  117. package/tokens/index.d.ts +1 -0
  118. 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",
3
+ "version": "5.25.0-canary.5ab31f9",
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",
@@ -64,10 +64,6 @@
64
64
  "types": "./components/index.d.ts",
65
65
  "default": "./fesm2022/taiga-ui-kit-components.mjs"
66
66
  },
67
- "./directives": {
68
- "types": "./directives/index.d.ts",
69
- "default": "./fesm2022/taiga-ui-kit-directives.mjs"
70
- },
71
67
  "./pipes": {
72
68
  "types": "./pipes/index.d.ts",
73
69
  "default": "./fesm2022/taiga-ui-kit-pipes.mjs"
@@ -76,6 +72,10 @@
76
72
  "types": "./tokens/index.d.ts",
77
73
  "default": "./fesm2022/taiga-ui-kit-tokens.mjs"
78
74
  },
75
+ "./directives": {
76
+ "types": "./directives/index.d.ts",
77
+ "default": "./fesm2022/taiga-ui-kit-directives.mjs"
78
+ },
79
79
  "./utils": {
80
80
  "types": "./utils/index.d.ts",
81
81
  "default": "./fesm2022/taiga-ui-kit-utils.mjs"
@@ -124,14 +124,14 @@
124
124
  "types": "./components/calendar-range/index.d.ts",
125
125
  "default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
126
126
  },
127
- "./components/chip": {
128
- "types": "./components/chip/index.d.ts",
129
- "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
130
- },
131
127
  "./components/combo-box": {
132
128
  "types": "./components/combo-box/index.d.ts",
133
129
  "default": "./fesm2022/taiga-ui-kit-components-combo-box.mjs"
134
130
  },
131
+ "./components/chip": {
132
+ "types": "./components/chip/index.d.ts",
133
+ "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
134
+ },
135
135
  "./components/comment": {
136
136
  "types": "./components/comment/index.d.ts",
137
137
  "default": "./fesm2022/taiga-ui-kit-components-comment.mjs"
@@ -180,14 +180,14 @@
180
180
  "types": "./components/input-color/index.d.ts",
181
181
  "default": "./fesm2022/taiga-ui-kit-components-input-color.mjs"
182
182
  },
183
- "./components/input-date": {
184
- "types": "./components/input-date/index.d.ts",
185
- "default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
186
- },
187
183
  "./components/input-date-multi": {
188
184
  "types": "./components/input-date-multi/index.d.ts",
189
185
  "default": "./fesm2022/taiga-ui-kit-components-input-date-multi.mjs"
190
186
  },
187
+ "./components/input-date": {
188
+ "types": "./components/input-date/index.d.ts",
189
+ "default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
190
+ },
191
191
  "./components/input-date-range": {
192
192
  "types": "./components/input-date-range/index.d.ts",
193
193
  "default": "./fesm2022/taiga-ui-kit-components-input-date-range.mjs"
@@ -196,10 +196,6 @@
196
196
  "types": "./components/input-date-time/index.d.ts",
197
197
  "default": "./fesm2022/taiga-ui-kit-components-input-date-time.mjs"
198
198
  },
199
- "./components/input-inline": {
200
- "types": "./components/input-inline/index.d.ts",
201
- "default": "./fesm2022/taiga-ui-kit-components-input-inline.mjs"
202
- },
203
199
  "./components/input-month": {
204
200
  "types": "./components/input-month/index.d.ts",
205
201
  "default": "./fesm2022/taiga-ui-kit-components-input-month.mjs"
@@ -208,6 +204,10 @@
208
204
  "types": "./components/input-month-range/index.d.ts",
209
205
  "default": "./fesm2022/taiga-ui-kit-components-input-month-range.mjs"
210
206
  },
207
+ "./components/input-inline": {
208
+ "types": "./components/input-inline/index.d.ts",
209
+ "default": "./fesm2022/taiga-ui-kit-components-input-inline.mjs"
210
+ },
211
211
  "./components/input-number": {
212
212
  "types": "./components/input-number/index.d.ts",
213
213
  "default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
@@ -364,6 +364,42 @@
364
364
  "types": "./components/tree/index.d.ts",
365
365
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
366
366
  },
367
+ "./pipes/auto-color": {
368
+ "types": "./pipes/auto-color/index.d.ts",
369
+ "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
370
+ },
371
+ "./pipes/emails": {
372
+ "types": "./pipes/emails/index.d.ts",
373
+ "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
374
+ },
375
+ "./pipes/flag": {
376
+ "types": "./pipes/flag/index.d.ts",
377
+ "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
378
+ },
379
+ "./pipes/format-number": {
380
+ "types": "./pipes/format-number/index.d.ts",
381
+ "default": "./fesm2022/taiga-ui-kit-pipes-format-number.mjs"
382
+ },
383
+ "./pipes/hide-selected": {
384
+ "types": "./pipes/hide-selected/index.d.ts",
385
+ "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
386
+ },
387
+ "./pipes/initials": {
388
+ "types": "./pipes/initials/index.d.ts",
389
+ "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
390
+ },
391
+ "./pipes/sort-countries": {
392
+ "types": "./pipes/sort-countries/index.d.ts",
393
+ "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
394
+ },
395
+ "./pipes/stringify": {
396
+ "types": "./pipes/stringify/index.d.ts",
397
+ "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
398
+ },
399
+ "./pipes/stringify-content": {
400
+ "types": "./pipes/stringify-content/index.d.ts",
401
+ "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
402
+ },
367
403
  "./directives/appearance-proxy": {
368
404
  "types": "./directives/appearance-proxy/index.d.ts",
369
405
  "default": "./fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs"
@@ -420,6 +456,10 @@
420
456
  "types": "./directives/skeleton/index.d.ts",
421
457
  "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
422
458
  },
459
+ "./directives/time-format": {
460
+ "types": "./directives/time-format/index.d.ts",
461
+ "default": "./fesm2022/taiga-ui-kit-directives-time-format.mjs"
462
+ },
423
463
  "./directives/tooltip": {
424
464
  "types": "./directives/tooltip/index.d.ts",
425
465
  "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
@@ -431,42 +471,6 @@
431
471
  "./directives/unmask-handler": {
432
472
  "types": "./directives/unmask-handler/index.d.ts",
433
473
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
434
- },
435
- "./pipes/auto-color": {
436
- "types": "./pipes/auto-color/index.d.ts",
437
- "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
438
- },
439
- "./pipes/flag": {
440
- "types": "./pipes/flag/index.d.ts",
441
- "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
442
- },
443
- "./pipes/emails": {
444
- "types": "./pipes/emails/index.d.ts",
445
- "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
446
- },
447
- "./pipes/format-number": {
448
- "types": "./pipes/format-number/index.d.ts",
449
- "default": "./fesm2022/taiga-ui-kit-pipes-format-number.mjs"
450
- },
451
- "./pipes/hide-selected": {
452
- "types": "./pipes/hide-selected/index.d.ts",
453
- "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
454
- },
455
- "./pipes/initials": {
456
- "types": "./pipes/initials/index.d.ts",
457
- "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
458
- },
459
- "./pipes/sort-countries": {
460
- "types": "./pipes/sort-countries/index.d.ts",
461
- "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
462
- },
463
- "./pipes/stringify": {
464
- "types": "./pipes/stringify/index.d.ts",
465
- "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
466
- },
467
- "./pipes/stringify-content": {
468
- "types": "./pipes/stringify-content/index.d.ts",
469
- "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
470
474
  }
471
475
  },
472
476
  "sideEffects": false,
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;