@taiga-ui/styles 5.32.0 → 5.33.0-canary.26000e7

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.
@@ -34,6 +34,11 @@
34
34
  font: var(--tui-typography-ui-s);
35
35
  color: var(--tui-text-secondary);
36
36
 
37
+ // TODO: remove attribute in 6.0
38
+ tui-dropdown[tuiDropdownMobile] & {
39
+ display: none;
40
+ }
41
+
37
42
  &.tui-enter,
38
43
  &.tui-leave {
39
44
  animation-name: tuiSlide;
@@ -63,8 +68,12 @@
63
68
  z-index: -1;
64
69
  inset-inline-start: -1rem;
65
70
  inset-inline-end: -1rem;
66
- background: var(--t-background, var(--tui-background-elevation-1));
67
- mask-image: linear-gradient(180deg, transparent, black 2.5rem);
71
+ border-image: linear-gradient(
72
+ to bottom,
73
+ transparent,
74
+ var(--t-background, var(--tui-background-elevation-1)) 2.5rem
75
+ )
76
+ fill 0 /0 / 0 0 100vh;
68
77
  }
69
78
  }
70
79
 
@@ -72,3 +81,7 @@ tui-sheet-dialog [tuiFloatingContainer]:where(*&) {
72
81
  margin-block-end: ~'calc(-1* max(1.5rem, env(safe-area-inset-bottom)))';
73
82
  animation-timing-function: cubic-bezier(0.1, 0.8, 0.5, 1);
74
83
  }
84
+
85
+ tui-dialog[data-appearance~='fullscreen'] [tuiFloatingContainer]:where(*&) {
86
+ margin-block-end: ~'calc(-1* max(1rem, env(safe-area-inset-bottom)))';
87
+ }
@@ -21,7 +21,7 @@
21
21
  --t-icon-start: none;
22
22
  --t-icon-end: none;
23
23
  // Equals to 1 if the font offset is over 10px (150% OS scaling)
24
- --t-zoom: ~'calc(clamp(0, var(--t-font-offset, 0) - 10, 1))';
24
+ --t-zoom: ~'clamp(0, (var(--tui-font-scale-factor, 1) - 1.4999) * 10000, 1)';
25
25
 
26
26
  &::before,
27
27
  &::after {
@@ -45,8 +45,8 @@
45
45
  &::after {
46
46
  block-size: 0.375rem;
47
47
  inline-size: 0.375rem;
48
- inset-inline-end: calc(1rem / 3);
49
- inset-block-start: calc(1rem / 3);
48
+ inset-inline-end: 0.3125rem;
49
+ inset-block-start: 0.3125rem;
50
50
  box-shadow: calc(var(--tui-inline) * -1rem) 0 0 0.1875rem var(--tui-background-base);
51
51
  outline-width: 1px;
52
52
  }
@@ -6,6 +6,7 @@
6
6
  }
7
7
  }
8
8
 
9
+ // TODO: Replace transform with translate for easier composition in v6
9
10
  // TODO: rename to center-horizontal
10
11
  // centering with translate
11
12
  .center-left() {
@@ -6,6 +6,7 @@
6
6
  }
7
7
  }
8
8
 
9
+ // TODO: Replace transform with translate for easier composition in v6
9
10
  // TODO: rename to center-horizontal
10
11
  // centering with translate
11
12
  @mixin center-left() {
@@ -37,7 +37,7 @@
37
37
  --tui-text-primary: rgba(255, 255, 255, 1);
38
38
  --tui-text-secondary: rgba(255, 255, 255, 0.72);
39
39
  --tui-text-tertiary: rgba(255, 255, 255, 0.6);
40
- --tui-text-action: #6788ff;
40
+ --tui-text-action: #7693ff;
41
41
  --tui-text-action-hover: #526ed3;
42
42
  --tui-text-positive: #44c596;
43
43
  --tui-text-positive-hover: #3aa981;
@@ -94,11 +94,11 @@
94
94
  --tui-text-tertiary: rgba(27, 31, 59, 0.4);
95
95
  --tui-text-primary-on-accent-1: #fff;
96
96
  --tui-text-primary-on-accent-2: #fff;
97
- --tui-text-action: #4c66c3;
97
+ --tui-text-action: #4c65c2;
98
98
  --tui-text-action-hover: #6c86e2;
99
99
  --tui-text-positive: #008764;
100
100
  --tui-text-positive-hover: #7ac5aa;
101
- --tui-text-negative: #eb1700;
101
+ --tui-text-negative: #e01600;
102
102
  --tui-text-negative-hover: #ff4d4d;
103
103
  // Charts
104
104
  --tui-chart-categorical-00: var(--tui-background-accent-1);
@@ -3,7 +3,9 @@
3
3
  --tui-typography-family-text: 'Manrope', system-ui, sans-serif;
4
4
  --tui-typography-family-display: 'Manrope', system-ui, sans-serif;
5
5
  --tui-font-offset: calc(var(--t-font-offset, 0) * 1px);
6
- --tui-font-scale: calc((22 + var(--t-font-offset, 0)) / 22);
6
+ --tui-font-scale-factor: calc((22 + var(--t-font-offset, 0)) / 22);
7
+ // @deprecated TODO: remove in v6
8
+ --tui-font-scale: var(--tui-font-scale-factor);
7
9
  // Heading
8
10
  --tui-typography-heading-h1: bold calc(var(--tui-font-offset) + 3.125rem) / calc(56 / 50) var(--tui-typography-family-display);
9
11
  --tui-typography-heading-h2: bold calc(var(--tui-font-offset) + 2.75rem) / calc(48 / 44) var(--tui-typography-family-display);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/styles",
3
- "version": "5.32.0",
3
+ "version": "5.33.0-canary.26000e7",
4
4
  "description": "Framework-agnostic package with styles for Taiga UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1 @@
1
+ @import 'https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap';
@@ -1,2 +1,3 @@
1
+ // @deprecated Use taiga-ui-fonts.css instead.
1
2
  // stylelint-disable-next-line -- https://github.com/stackblitz/core/issues/2104#issuecomment-1397086512
2
3
  @import (optional) url(https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap);