@taiga-ui/kit 5.24.0 → 5.25.0-canary.405e17f

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 +29 -25
  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.405e17f",
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",
@@ -80,14 +80,14 @@
80
80
  "types": "./utils/index.d.ts",
81
81
  "default": "./fesm2022/taiga-ui-kit-utils.mjs"
82
82
  },
83
- "./components/action-bar": {
84
- "types": "./components/action-bar/index.d.ts",
85
- "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
86
- },
87
83
  "./components/accordion": {
88
84
  "types": "./components/accordion/index.d.ts",
89
85
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
90
86
  },
87
+ "./components/action-bar": {
88
+ "types": "./components/action-bar/index.d.ts",
89
+ "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
90
+ },
91
91
  "./components/avatar": {
92
92
  "types": "./components/avatar/index.d.ts",
93
93
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
@@ -280,14 +280,14 @@
280
280
  "types": "./components/pin/index.d.ts",
281
281
  "default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
282
282
  },
283
- "./components/preview": {
284
- "types": "./components/preview/index.d.ts",
285
- "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
286
- },
287
283
  "./components/pincode": {
288
284
  "types": "./components/pincode/index.d.ts",
289
285
  "default": "./fesm2022/taiga-ui-kit-components-pincode.mjs"
290
286
  },
287
+ "./components/preview": {
288
+ "types": "./components/preview/index.d.ts",
289
+ "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
290
+ },
291
291
  "./components/progress": {
292
292
  "types": "./components/progress/index.d.ts",
293
293
  "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
@@ -308,14 +308,14 @@
308
308
  "types": "./components/range/index.d.ts",
309
309
  "default": "./fesm2022/taiga-ui-kit-components-range.mjs"
310
310
  },
311
- "./components/rating": {
312
- "types": "./components/rating/index.d.ts",
313
- "default": "./fesm2022/taiga-ui-kit-components-rating.mjs"
314
- },
315
311
  "./components/routable-dialog": {
316
312
  "types": "./components/routable-dialog/index.d.ts",
317
313
  "default": "./fesm2022/taiga-ui-kit-components-routable-dialog.mjs"
318
314
  },
315
+ "./components/rating": {
316
+ "types": "./components/rating/index.d.ts",
317
+ "default": "./fesm2022/taiga-ui-kit-components-rating.mjs"
318
+ },
319
319
  "./components/segmented": {
320
320
  "types": "./components/segmented/index.d.ts",
321
321
  "default": "./fesm2022/taiga-ui-kit-components-segmented.mjs"
@@ -396,10 +396,6 @@
396
396
  "types": "./directives/fluid-typography/index.d.ts",
397
397
  "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
398
398
  },
399
- "./directives/highlight": {
400
- "types": "./directives/highlight/index.d.ts",
401
- "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
402
- },
403
399
  "./directives/password": {
404
400
  "types": "./directives/password/index.d.ts",
405
401
  "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
@@ -408,6 +404,10 @@
408
404
  "types": "./directives/present/index.d.ts",
409
405
  "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
410
406
  },
407
+ "./directives/highlight": {
408
+ "types": "./directives/highlight/index.d.ts",
409
+ "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
410
+ },
411
411
  "./directives/sensitive": {
412
412
  "types": "./directives/sensitive/index.d.ts",
413
413
  "default": "./fesm2022/taiga-ui-kit-directives-sensitive.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"
@@ -436,14 +440,14 @@
436
440
  "types": "./pipes/auto-color/index.d.ts",
437
441
  "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
438
442
  },
439
- "./pipes/flag": {
440
- "types": "./pipes/flag/index.d.ts",
441
- "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
442
- },
443
443
  "./pipes/emails": {
444
444
  "types": "./pipes/emails/index.d.ts",
445
445
  "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
446
446
  },
447
+ "./pipes/flag": {
448
+ "types": "./pipes/flag/index.d.ts",
449
+ "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
450
+ },
447
451
  "./pipes/format-number": {
448
452
  "types": "./pipes/format-number/index.d.ts",
449
453
  "default": "./fesm2022/taiga-ui-kit-pipes-format-number.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;