@taiga-ui/kit 5.1.0 → 5.2.0-canary.0a441e4

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 (83) hide show
  1. package/components/input-number/number-mask.directive.d.ts +1 -0
  2. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  3. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  4. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -9
  5. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  6. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  7. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  8. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  9. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  10. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  11. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  12. package/fesm2022/taiga-ui-kit-components-comment.mjs +3 -3
  13. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
  15. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-kit-components-copy.mjs +2 -2
  17. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-kit-components-files.mjs +7 -6
  19. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-kit-components-input-color.mjs +2 -2
  21. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +2 -2
  23. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-kit-components-input-date.mjs +2 -2
  25. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
  27. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-input-month.mjs +2 -2
  29. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-components-input-number.mjs +9 -5
  31. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
  33. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +2 -2
  35. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-components-input-time.mjs +2 -2
  37. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-components-like.mjs +2 -2
  39. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
  41. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-kit-components-pin.mjs +3 -3
  43. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-kit-components-preview.mjs +3 -3
  45. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-progress.mjs +6 -6
  47. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
  49. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -3
  51. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +2 -2
  53. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-status.mjs +3 -3
  55. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-switch.mjs +2 -2
  57. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-tabs.mjs +3 -3
  59. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-tiles.mjs +4 -4
  61. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-toast.mjs +2 -2
  63. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +3 -3
  65. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
  67. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-directives-connected.mjs +3 -3
  69. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-directives-fade.mjs +3 -3
  71. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +3 -3
  74. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +2 -2
  76. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +3 -3
  78. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
  80. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +0 -1
  82. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -1
  83. package/package.json +37 -37
@@ -12,7 +12,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
12
12
  type: Pipe,
13
13
  args: [{ name: 'tuiAutoColor' }]
14
14
  }] });
15
- /* eslint-disable no-bitwise */
16
15
  /**
17
16
  * Converts a string to an HSL color
18
17
  * @param value string to convert
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-auto-color.mjs","sources":["../../../projects/kit/pipes/auto-color/auto-color.pipe.ts","../../../projects/kit/pipes/auto-color/taiga-ui-kit-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({name: 'tuiAutoColor'})\nexport class TuiAutoColorPipe implements PipeTransform {\n public transform(text: string): string {\n return tuiAutoColor(text);\n }\n}\n\n/* eslint-disable no-bitwise */\n/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\nexport function tuiAutoColor(value: string): string {\n if (value === '') {\n return '';\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAGa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,YAAY,CAAC,IAAI,CAAC;IAC7B;+GAHS,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,IAAI;mBAAC,EAAC,IAAI,EAAE,cAAc,EAAC;;AAO5B;AACA;;;;AAIG;AACG,SAAU,YAAY,CAAC,KAAa,EAAA;AACtC,IAAA,IAAI,KAAK,KAAK,EAAE,EAAE;AACd,QAAA,OAAO,EAAE;IACb;IAEA,IAAI,IAAI,GAAG,CAAC;AAEZ,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;QACjD,IAAI,IAAI,IAAI;IAChB;AAEA,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG;IACtB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;AAEjC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAA,EAAA,EAAK,SAAS,IAAI;AACrD;;AChCA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-auto-color.mjs","sources":["../../../projects/kit/pipes/auto-color/auto-color.pipe.ts","../../../projects/kit/pipes/auto-color/taiga-ui-kit-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({name: 'tuiAutoColor'})\nexport class TuiAutoColorPipe implements PipeTransform {\n public transform(text: string): string {\n return tuiAutoColor(text);\n }\n}\n\n/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\nexport function tuiAutoColor(value: string): string {\n if (value === '') {\n return '';\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAGa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,YAAY,CAAC,IAAI,CAAC;IAC7B;+GAHS,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,IAAI;mBAAC,EAAC,IAAI,EAAE,cAAc,EAAC;;AAO5B;;;;AAIG;AACG,SAAU,YAAY,CAAC,KAAa,EAAA;AACtC,IAAA,IAAI,KAAK,KAAK,EAAE,EAAE;AACd,QAAA,OAAO,EAAE;IACb;IAEA,IAAI,IAAI,GAAG,CAAC;AAEZ,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC;QACjD,IAAI,IAAI,IAAI;IAChB;AAEA,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG;IACtB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;IAClC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC;AAEjC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAA,EAAA,EAAK,SAAS,IAAI;AACrD;;AC/BA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "5.1.0",
3
+ "version": "5.2.0-canary.0a441e4",
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.2.0",
44
44
  "@ng-web-apis/platform": "^5.2.0",
45
45
  "@ng-web-apis/resize-observer": "^5.2.0",
46
- "@taiga-ui/cdk": "5.1.0",
47
- "@taiga-ui/core": "5.1.0",
48
- "@taiga-ui/i18n": "5.1.0",
46
+ "@taiga-ui/cdk": "5.2.0",
47
+ "@taiga-ui/core": "5.2.0",
48
+ "@taiga-ui/i18n": "5.2.0",
49
49
  "@taiga-ui/polymorpheus": "^5.0.0",
50
- "@taiga-ui/styles": "5.1.0",
50
+ "@taiga-ui/styles": "5.2.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/accordion": {
84
- "types": "./components/accordion/index.d.ts",
85
- "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
86
- },
87
83
  "./components/action-bar": {
88
84
  "types": "./components/action-bar/index.d.ts",
89
85
  "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
90
86
  },
87
+ "./components/accordion": {
88
+ "types": "./components/accordion/index.d.ts",
89
+ "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
90
+ },
91
91
  "./components/avatar": {
92
92
  "types": "./components/avatar/index.d.ts",
93
93
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
@@ -128,14 +128,14 @@
128
128
  "types": "./components/chip/index.d.ts",
129
129
  "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
130
130
  },
131
- "./components/comment": {
132
- "types": "./components/comment/index.d.ts",
133
- "default": "./fesm2022/taiga-ui-kit-components-comment.mjs"
134
- },
135
131
  "./components/combo-box": {
136
132
  "types": "./components/combo-box/index.d.ts",
137
133
  "default": "./fesm2022/taiga-ui-kit-components-combo-box.mjs"
138
134
  },
135
+ "./components/comment": {
136
+ "types": "./components/comment/index.d.ts",
137
+ "default": "./fesm2022/taiga-ui-kit-components-comment.mjs"
138
+ },
139
139
  "./components/compass": {
140
140
  "types": "./components/compass/index.d.ts",
141
141
  "default": "./fesm2022/taiga-ui-kit-components-compass.mjs"
@@ -224,14 +224,14 @@
224
224
  "types": "./components/input-pin/index.d.ts",
225
225
  "default": "./fesm2022/taiga-ui-kit-components-input-pin.mjs"
226
226
  },
227
- "./components/input-range": {
228
- "types": "./components/input-range/index.d.ts",
229
- "default": "./fesm2022/taiga-ui-kit-components-input-range.mjs"
230
- },
231
227
  "./components/input-slider": {
232
228
  "types": "./components/input-slider/index.d.ts",
233
229
  "default": "./fesm2022/taiga-ui-kit-components-input-slider.mjs"
234
230
  },
231
+ "./components/input-range": {
232
+ "types": "./components/input-range/index.d.ts",
233
+ "default": "./fesm2022/taiga-ui-kit-components-input-range.mjs"
234
+ },
235
235
  "./components/input-time": {
236
236
  "types": "./components/input-time/index.d.ts",
237
237
  "default": "./fesm2022/taiga-ui-kit-components-input-time.mjs"
@@ -264,26 +264,26 @@
264
264
  "types": "./components/notification-middle/index.d.ts",
265
265
  "default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
266
266
  },
267
- "./components/pager": {
268
- "types": "./components/pager/index.d.ts",
269
- "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
270
- },
271
267
  "./components/pagination": {
272
268
  "types": "./components/pagination/index.d.ts",
273
269
  "default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
274
270
  },
271
+ "./components/pager": {
272
+ "types": "./components/pager/index.d.ts",
273
+ "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
274
+ },
275
275
  "./components/pin": {
276
276
  "types": "./components/pin/index.d.ts",
277
277
  "default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
278
278
  },
279
- "./components/preview": {
280
- "types": "./components/preview/index.d.ts",
281
- "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
282
- },
283
279
  "./components/progress": {
284
280
  "types": "./components/progress/index.d.ts",
285
281
  "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
286
282
  },
283
+ "./components/preview": {
284
+ "types": "./components/preview/index.d.ts",
285
+ "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
286
+ },
287
287
  "./components/pulse": {
288
288
  "types": "./components/pulse/index.d.ts",
289
289
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
@@ -404,10 +404,6 @@
404
404
  "types": "./directives/sensitive/index.d.ts",
405
405
  "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
406
406
  },
407
- "./directives/shimmer": {
408
- "types": "./directives/shimmer/index.d.ts",
409
- "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
410
- },
411
407
  "./directives/skeleton": {
412
408
  "types": "./directives/skeleton/index.d.ts",
413
409
  "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
@@ -420,6 +416,10 @@
420
416
  "types": "./directives/unfinished-validator/index.d.ts",
421
417
  "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
422
418
  },
419
+ "./directives/shimmer": {
420
+ "types": "./directives/shimmer/index.d.ts",
421
+ "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
422
+ },
423
423
  "./directives/unmask-handler": {
424
424
  "types": "./directives/unmask-handler/index.d.ts",
425
425
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
@@ -428,14 +428,14 @@
428
428
  "types": "./pipes/auto-color/index.d.ts",
429
429
  "default": "./fesm2022/taiga-ui-kit-pipes-auto-color.mjs"
430
430
  },
431
- "./pipes/emails": {
432
- "types": "./pipes/emails/index.d.ts",
433
- "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
434
- },
435
431
  "./pipes/flag": {
436
432
  "types": "./pipes/flag/index.d.ts",
437
433
  "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
438
434
  },
435
+ "./pipes/emails": {
436
+ "types": "./pipes/emails/index.d.ts",
437
+ "default": "./fesm2022/taiga-ui-kit-pipes-emails.mjs"
438
+ },
439
439
  "./pipes/hide-selected": {
440
440
  "types": "./pipes/hide-selected/index.d.ts",
441
441
  "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
@@ -444,14 +444,14 @@
444
444
  "types": "./pipes/initials/index.d.ts",
445
445
  "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
446
446
  },
447
- "./pipes/sort-countries": {
448
- "types": "./pipes/sort-countries/index.d.ts",
449
- "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
450
- },
451
447
  "./pipes/stringify": {
452
448
  "types": "./pipes/stringify/index.d.ts",
453
449
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
454
450
  },
451
+ "./pipes/sort-countries": {
452
+ "types": "./pipes/sort-countries/index.d.ts",
453
+ "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
454
+ },
455
455
  "./pipes/stringify-content": {
456
456
  "types": "./pipes/stringify-content/index.d.ts",
457
457
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"