@taiga-ui/core 4.86.0 → 4.88.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 (36) hide show
  1. package/components/button/button.directive.d.ts +1 -1
  2. package/esm2022/components/button/button.directive.mjs +2 -2
  3. package/esm2022/components/data-list/data-list.component.mjs +6 -5
  4. package/esm2022/components/icon/icon.component.mjs +5 -3
  5. package/esm2022/components/label/label.directive.mjs +3 -3
  6. package/esm2022/components/link/link.directive.mjs +3 -3
  7. package/esm2022/components/notification/notification.directive.mjs +3 -3
  8. package/esm2022/components/root/root.component.mjs +2 -2
  9. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +6 -4
  10. package/esm2022/components/textfield/textfield.component.mjs +6 -5
  11. package/esm2022/directives/appearance/appearance.directive.mjs +3 -3
  12. package/esm2022/directives/group/group.directive.mjs +3 -3
  13. package/esm2022/directives/icons/icons.directive.mjs +3 -3
  14. package/esm2022/directives/title/title.directive.mjs +6 -4
  15. package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
  16. package/fesm2022/taiga-ui-core-components-data-list.mjs +5 -4
  17. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-core-components-icon.mjs +4 -2
  19. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-core-components-label.mjs +3 -3
  21. package/fesm2022/taiga-ui-core-components-link.mjs +3 -3
  22. package/fesm2022/taiga-ui-core-components-notification.mjs +3 -3
  23. package/fesm2022/taiga-ui-core-components-root.mjs +2 -2
  24. package/fesm2022/taiga-ui-core-components-textfield.mjs +9 -7
  25. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
  27. package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
  28. package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
  29. package/fesm2022/taiga-ui-core-directives-title.mjs +5 -3
  30. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  31. package/package.json +4 -4
  32. package/styles/components/button.less +1 -1
  33. package/styles/components/icon.less +1 -1
  34. package/styles/components/textfield.less +9 -4
  35. package/styles/components/title.less +3 -2
  36. package/styles/variables/version.less +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/core",
3
- "version": "4.86.0",
3
+ "version": "4.88.0",
4
4
  "description": "Core library for creating Angular components and applications using Taiga UI",
5
5
  "keywords": [
6
6
  "angular",
@@ -329,10 +329,10 @@
329
329
  "@angular/router": ">=16.0.0",
330
330
  "@ng-web-apis/common": "^4.14.0",
331
331
  "@ng-web-apis/mutation-observer": "^4.14.0",
332
- "@taiga-ui/cdk": "4.86.0",
332
+ "@taiga-ui/cdk": "4.88.0",
333
333
  "@taiga-ui/event-plugins": "^4.7.0",
334
- "@taiga-ui/i18n": "4.86.0",
335
- "@taiga-ui/polymorpheus": "^4.9.0",
334
+ "@taiga-ui/i18n": "4.88.0",
335
+ "@taiga-ui/polymorpheus": "^4.10.0",
336
336
  "rxjs": ">=7.0.0"
337
337
  },
338
338
  "schematics": "./schematics/collection.json",
@@ -61,7 +61,7 @@
61
61
 
62
62
  &[data-size='s'] {
63
63
  --t-size: var(--tui-height-s);
64
- --t-radius: var(--tui-radius-s);
64
+ --t-radius: var(--tui-radius-m);
65
65
  --t-gap: 0.125rem;
66
66
  --t-padding: 0 0.625rem;
67
67
  --t-margin: -0.125rem;
@@ -18,7 +18,7 @@
18
18
  * @see-also
19
19
  * Icons
20
20
  */
21
- tui-icon {
21
+ [tuiIconV='@{tui-version}'] {
22
22
  position: relative;
23
23
  display: inline-block;
24
24
  inline-size: 1em;
@@ -1,6 +1,6 @@
1
1
  @import '@taiga-ui/core/styles/taiga-ui-local.less';
2
2
 
3
- tui-textfield {
3
+ [tuiTextfieldV='@{tui-version}'] {
4
4
  .scrollbar-hidden();
5
5
  .transition(color);
6
6
 
@@ -82,7 +82,6 @@ tui-textfield {
82
82
  outline: none;
83
83
  padding-block-start: 1.125rem;
84
84
  padding-block-end: 1.125rem;
85
- color: var(--tui-text-primary);
86
85
 
87
86
  &[inputmode='none'] {
88
87
  caret-color: transparent;
@@ -268,7 +267,6 @@ tui-textfield {
268
267
 
269
268
  appearance: none;
270
269
  box-sizing: border-box;
271
- border-radius: inherit;
272
270
  border-width: 0;
273
271
  // StackBlitz changes "0rem" to "0" breaking calc
274
272
  padding-inline-start: calc(var(--t-start, ~'0rem') + var(--t-padding));
@@ -278,6 +276,7 @@ tui-textfield {
278
276
  & > .t-template {
279
277
  display: flex;
280
278
  align-items: center;
279
+ border-radius: inherit;
281
280
  color: var(--tui-text-primary);
282
281
  }
283
282
 
@@ -287,11 +286,17 @@ tui-textfield {
287
286
  color: transparent !important;
288
287
  }
289
288
 
289
+ input,
290
+ select,
291
+ textarea {
292
+ background: none;
293
+ border-radius: inherit;
294
+ }
295
+
290
296
  input:not([type='range']),
291
297
  select:defined,
292
298
  textarea:defined {
293
299
  pointer-events: auto;
294
- background: none;
295
300
 
296
301
  // TODO: Remove :not when we drop old select tuiTextfield in v5
297
302
  &:not(select):read-only ~ .t-filler {
@@ -1,3 +1,4 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
1
2
  /**
2
3
  * @name Title
3
4
  * @selector [tuiTitle], [tuiSubtitle]
@@ -18,7 +19,7 @@
18
19
  * @see-also
19
20
  * Label
20
21
  */
21
- [tuiTitle] {
22
+ [tuiTitleV='@{tui-version}'] {
22
23
  position: relative;
23
24
  display: flex;
24
25
  min-inline-size: 0;
@@ -71,7 +72,7 @@
71
72
  margin: 0;
72
73
  }
73
74
 
74
- [tuiButton] [tuiTitle] {
75
+ [tuiButton] [tuiTitleV='@{tui-version}'] {
75
76
  margin-inline-end: auto;
76
77
 
77
78
  [tuiSubtitle] {
@@ -1 +1 @@
1
- @tui-version: '4.86.0';
1
+ @tui-version: '4.88.0';