@taiga-ui/kit 4.6.0 → 4.7.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 (42) hide show
  1. package/components/calendar-month/calendar-month.component.d.ts +2 -4
  2. package/components/line-clamp/line-clamp.component.d.ts +1 -1
  3. package/components/stepper/step.component.d.ts +1 -2
  4. package/components/stepper/stepper.component.d.ts +1 -1
  5. package/directives/password/password.directive.d.ts +0 -1
  6. package/esm2022/components/calendar-month/calendar-month.component.mjs +23 -42
  7. package/esm2022/components/chip/chip.directive.mjs +2 -2
  8. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +3 -3
  9. package/esm2022/components/line-clamp/line-clamp.component.mjs +8 -10
  10. package/esm2022/components/segmented/segmented.component.mjs +2 -2
  11. package/esm2022/components/stepper/step.component.mjs +6 -6
  12. package/esm2022/components/stepper/stepper.component.mjs +5 -5
  13. package/esm2022/directives/button-group/button-group.directive.mjs +2 -2
  14. package/esm2022/directives/connected/connected.directive.mjs +2 -2
  15. package/esm2022/directives/password/password.directive.mjs +2 -6
  16. package/esm2022/directives/skeleton/skeleton.directive.mjs +2 -2
  17. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +1 -1
  18. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +24 -43
  19. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  21. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
  23. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +7 -9
  25. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-kit-components-segmented.mjs +2 -2
  27. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-kit-components-stepper.mjs +9 -10
  29. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +2 -2
  31. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-kit-directives-connected.mjs +2 -2
  33. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-kit-directives-password.mjs +1 -5
  35. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +2 -2
  37. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  39. package/package.json +9 -9
  40. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +1 -3
  41. package/styles/components/chip.less +2 -0
  42. package/styles/components/compass.less +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -501,14 +501,14 @@
501
501
  "@maskito/core": "^3.0.1",
502
502
  "@maskito/kit": "^3.0.1",
503
503
  "@maskito/phone": "^3.0.1",
504
- "@ng-web-apis/common": "^4.2.1",
505
- "@ng-web-apis/intersection-observer": "^4.2.1",
506
- "@ng-web-apis/mutation-observer": "^4.2.1",
507
- "@ng-web-apis/resize-observer": "^4.2.1",
508
- "@taiga-ui/cdk": "^4.6.0",
509
- "@taiga-ui/core": "^4.6.0",
510
- "@taiga-ui/i18n": "^4.6.0",
511
- "@taiga-ui/polymorpheus": "^4.7.0",
504
+ "@ng-web-apis/common": "^4.6.0",
505
+ "@ng-web-apis/intersection-observer": "^4.6.0",
506
+ "@ng-web-apis/mutation-observer": "^4.6.0",
507
+ "@ng-web-apis/resize-observer": "^4.6.0",
508
+ "@taiga-ui/cdk": "^4.7.0",
509
+ "@taiga-ui/core": "^4.7.0",
510
+ "@taiga-ui/i18n": "^4.7.0",
511
+ "@taiga-ui/polymorpheus": "^4.7.1",
512
512
  "rxjs": ">=7.0.0"
513
513
  },
514
514
  "module": "fesm2022/taiga-ui-kit.mjs",
@@ -1,11 +1,10 @@
1
1
  import type { PipeTransform } from '@angular/core';
2
2
  import type { TuiStringMatcher } from '@taiga-ui/cdk/types';
3
3
  import * as i0 from "@angular/core";
4
- type TuiArrayElement<A> = A extends ReadonlyArray<infer T> ? A extends ReadonlyArray<ReadonlyArray<infer G>> ? G : T : never;
5
4
  export declare class TuiFilterByInputPipe implements PipeTransform {
6
5
  private readonly textfield;
7
6
  private readonly host;
8
- transform<T>(items: T, matcher?: TuiStringMatcher<TuiArrayElement<T>>): T;
7
+ transform<T>(items: readonly T[], matcher?: TuiStringMatcher<T>): readonly T[];
9
8
  private filter;
10
9
  private filterFlat;
11
10
  private filter2d;
@@ -13,4 +12,3 @@ export declare class TuiFilterByInputPipe implements PipeTransform {
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiFilterByInputPipe, never>;
14
13
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiFilterByInputPipe, "tuiFilterByInput", true>;
15
14
  }
16
- export {};
@@ -31,6 +31,7 @@ tui-chip,
31
31
  padding: var(--t-padding);
32
32
  block-size: var(--t-size);
33
33
  inline-size: fit-content;
34
+ isolation: isolate;
34
35
 
35
36
  .interactive({
36
37
  cursor: pointer;
@@ -94,6 +95,7 @@ tui-chip,
94
95
  & > input[tuiChip] {
95
96
  .fullsize();
96
97
 
98
+ z-index: -1;
97
99
  margin: 0;
98
100
  }
99
101
 
@@ -24,7 +24,7 @@ tui-compass {
24
24
  inline-size: 1rem;
25
25
  block-size: 1rem;
26
26
  border: 0.1875rem solid var(--tui-background-base);
27
- box-shadow: 0 0 0.1875rem rgb(0 0 0 / 30%);
27
+ box-shadow: 0 0 0.1875rem rgba(0, 0, 0, 0.3);
28
28
  transform-style: preserve-3d; // z-index doesn't work on pseudo-element
29
29
 
30
30
  &::before {
@@ -44,6 +44,6 @@ tui-compass {
44
44
 
45
45
  content: '';
46
46
  border-radius: inherit;
47
- background: currentColor linear-gradient(-45deg, rgb(0 0 0 / 20%), transparent);
47
+ background: currentColor linear-gradient(-45deg, rgba(0, 0, 0, 0.2), transparent);
48
48
  }
49
49
  }