@taiga-ui/kit 5.1.0 → 5.2.0-canary.8041ec5

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 +21 -21
@@ -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.8041ec5",
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",
@@ -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"
@@ -280,14 +280,14 @@
280
280
  "types": "./components/preview/index.d.ts",
281
281
  "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
282
282
  },
283
- "./components/progress": {
284
- "types": "./components/progress/index.d.ts",
285
- "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
286
- },
287
283
  "./components/pulse": {
288
284
  "types": "./components/pulse/index.d.ts",
289
285
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
290
286
  },
287
+ "./components/progress": {
288
+ "types": "./components/progress/index.d.ts",
289
+ "default": "./fesm2022/taiga-ui-kit-components-progress.mjs"
290
+ },
291
291
  "./components/push": {
292
292
  "types": "./components/push/index.d.ts",
293
293
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
@@ -344,14 +344,14 @@
344
344
  "types": "./components/tiles/index.d.ts",
345
345
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
346
346
  },
347
- "./components/timeline": {
348
- "types": "./components/timeline/index.d.ts",
349
- "default": "./fesm2022/taiga-ui-kit-components-timeline.mjs"
350
- },
351
347
  "./components/toast": {
352
348
  "types": "./components/toast/index.d.ts",
353
349
  "default": "./fesm2022/taiga-ui-kit-components-toast.mjs"
354
350
  },
351
+ "./components/timeline": {
352
+ "types": "./components/timeline/index.d.ts",
353
+ "default": "./fesm2022/taiga-ui-kit-components-timeline.mjs"
354
+ },
355
355
  "./components/tree": {
356
356
  "types": "./components/tree/index.d.ts",
357
357
  "default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
@@ -408,14 +408,14 @@
408
408
  "types": "./directives/shimmer/index.d.ts",
409
409
  "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
410
410
  },
411
- "./directives/skeleton": {
412
- "types": "./directives/skeleton/index.d.ts",
413
- "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
414
- },
415
411
  "./directives/tooltip": {
416
412
  "types": "./directives/tooltip/index.d.ts",
417
413
  "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
418
414
  },
415
+ "./directives/skeleton": {
416
+ "types": "./directives/skeleton/index.d.ts",
417
+ "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
418
+ },
419
419
  "./directives/unfinished-validator": {
420
420
  "types": "./directives/unfinished-validator/index.d.ts",
421
421
  "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"