@taiga-ui/kit 5.1.0-canary.fbe8f87 → 5.2.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 (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 +32 -32
@@ -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-canary.fbe8f87",
3
+ "version": "5.2.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.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",
@@ -120,22 +120,22 @@
120
120
  "types": "./components/calendar-month/index.d.ts",
121
121
  "default": "./fesm2022/taiga-ui-kit-components-calendar-month.mjs"
122
122
  },
123
- "./components/calendar-range": {
124
- "types": "./components/calendar-range/index.d.ts",
125
- "default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
126
- },
127
123
  "./components/chip": {
128
124
  "types": "./components/chip/index.d.ts",
129
125
  "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
130
126
  },
131
- "./components/comment": {
132
- "types": "./components/comment/index.d.ts",
133
- "default": "./fesm2022/taiga-ui-kit-components-comment.mjs"
127
+ "./components/calendar-range": {
128
+ "types": "./components/calendar-range/index.d.ts",
129
+ "default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
134
130
  },
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"
@@ -148,6 +148,10 @@
148
148
  "types": "./components/copy/index.d.ts",
149
149
  "default": "./fesm2022/taiga-ui-kit-components-copy.mjs"
150
150
  },
151
+ "./components/counter": {
152
+ "types": "./components/counter/index.d.ts",
153
+ "default": "./fesm2022/taiga-ui-kit-components-counter.mjs"
154
+ },
151
155
  "./components/data-list-wrapper": {
152
156
  "types": "./components/data-list-wrapper/index.d.ts",
153
157
  "default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
@@ -156,10 +160,6 @@
156
160
  "types": "./components/drawer/index.d.ts",
157
161
  "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
158
162
  },
159
- "./components/counter": {
160
- "types": "./components/counter/index.d.ts",
161
- "default": "./fesm2022/taiga-ui-kit-components-counter.mjs"
162
- },
163
163
  "./components/files": {
164
164
  "types": "./components/files/index.d.ts",
165
165
  "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
@@ -168,26 +168,26 @@
168
168
  "types": "./components/filter/index.d.ts",
169
169
  "default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
170
170
  },
171
- "./components/input-chip": {
172
- "types": "./components/input-chip/index.d.ts",
173
- "default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
174
- },
175
171
  "./components/fullscreen": {
176
172
  "types": "./components/fullscreen/index.d.ts",
177
173
  "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
178
174
  },
175
+ "./components/input-chip": {
176
+ "types": "./components/input-chip/index.d.ts",
177
+ "default": "./fesm2022/taiga-ui-kit-components-input-chip.mjs"
178
+ },
179
179
  "./components/input-color": {
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-multi": {
184
- "types": "./components/input-date-multi/index.d.ts",
185
- "default": "./fesm2022/taiga-ui-kit-components-input-date-multi.mjs"
186
- },
187
183
  "./components/input-date": {
188
184
  "types": "./components/input-date/index.d.ts",
189
185
  "default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
190
186
  },
187
+ "./components/input-date-multi": {
188
+ "types": "./components/input-date-multi/index.d.ts",
189
+ "default": "./fesm2022/taiga-ui-kit-components-input-date-multi.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,6 +196,10 @@
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
+ },
199
203
  "./components/input-month": {
200
204
  "types": "./components/input-month/index.d.ts",
201
205
  "default": "./fesm2022/taiga-ui-kit-components-input-month.mjs"
@@ -204,10 +208,6 @@
204
208
  "types": "./components/input-month-range/index.d.ts",
205
209
  "default": "./fesm2022/taiga-ui-kit-components-input-month-range.mjs"
206
210
  },
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"
@@ -332,14 +332,14 @@
332
332
  "types": "./components/switch/index.d.ts",
333
333
  "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
334
334
  },
335
- "./components/textarea": {
336
- "types": "./components/textarea/index.d.ts",
337
- "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
338
- },
339
335
  "./components/tabs": {
340
336
  "types": "./components/tabs/index.d.ts",
341
337
  "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
342
338
  },
339
+ "./components/textarea": {
340
+ "types": "./components/textarea/index.d.ts",
341
+ "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
342
+ },
343
343
  "./components/tiles": {
344
344
  "types": "./components/tiles/index.d.ts",
345
345
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"