@taiga-ui/styles 5.6.0 → 5.7.0-canary.da2a2ed

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.
@@ -45,6 +45,11 @@
45
45
  --t-height: var(--tui-height-s);
46
46
  --t-radius: var(--tui-radius-m);
47
47
 
48
+ &::before,
49
+ &::after {
50
+ font-size: 1rem;
51
+ }
52
+
48
53
  [tuiSubtitle] {
49
54
  font: var(--tui-typography-ui-2xs);
50
55
  }
@@ -62,6 +67,11 @@
62
67
  --t-height: var(--tui-height-m);
63
68
  --t-radius: var(--tui-radius-m);
64
69
 
70
+ &::before,
71
+ &::after {
72
+ margin: -0.125rem;
73
+ }
74
+
65
75
  input:not([tuiBlock]) {
66
76
  margin: 0.125rem;
67
77
  }
@@ -92,6 +102,10 @@
92
102
  pointer-events: none;
93
103
  border-radius: inherit;
94
104
  padding: 0;
105
+
106
+ &[type='file'] {
107
+ opacity: 0;
108
+ }
95
109
  }
96
110
 
97
111
  [tuiAvatar] {
@@ -218,7 +218,6 @@ tui-textfield:where(*&) {
218
218
  box-sizing: border-box;
219
219
  border-radius: inherit;
220
220
  border-width: 0;
221
- overscroll-behavior: none;
222
221
  padding-inline-start: calc(var(--t-start) + var(--t-padding));
223
222
  padding-inline-end: calc(var(--t-end) + var(--t-side) + var(--t-padding) + var(--t-space));
224
223
  white-space: nowrap;
@@ -26,7 +26,7 @@
26
26
  overflow: hidden;
27
27
  border: 0.125rem solid transparent;
28
28
  box-sizing: border-box;
29
- mask: linear-gradient(
29
+ mask-image: linear-gradient(
30
30
  transparent calc(50% - 1rem),
31
31
  #000 calc(50% - 1rem),
32
32
  #000 calc(50% + 1rem),
@@ -51,10 +51,14 @@
51
51
  }
52
52
 
53
53
  &::after {
54
- mask:
55
- url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>')
56
- right/0.75rem 100% no-repeat,
57
- linear-gradient(#000, #000) left/calc(100% - 0.7rem) 100% no-repeat;
54
+ mask-image:
55
+ url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 32"><path d="M0.2856 0L0.6763 0C2.9265 0 4.9876 1.259 6.0147 3.2611L10.2442 11.5048C11.5301 14.0113 11.5683 16.9754 10.3472 19.5141L5.9766 28.6007C4.9772 30.6786 2.8754 32 0.5696 32H0.285645V0Z"></path></svg>'),
56
+ linear-gradient(#000, #000);
57
+ mask-repeat: no-repeat;
58
+ mask-position: right, left;
59
+ mask-size:
60
+ 0.75rem 100%,
61
+ calc(100% - 0.7rem) 100%;
58
62
  }
59
63
 
60
64
  &[data-range]::before {
@@ -123,7 +127,7 @@
123
127
 
124
128
  &::after {
125
129
  background: var(--tui-background-accent-1);
126
- mask: none;
130
+ mask-image: none;
127
131
  }
128
132
  }
129
133
 
@@ -160,5 +160,5 @@
160
160
  }
161
161
 
162
162
  @mixin tui-mask($x, $y, $r) {
163
- mask: radial-gradient(circle at $x $y, transparent $r, black $r);
163
+ mask-image: radial-gradient(circle at $x $y, transparent $r, black $r);
164
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/styles",
3
- "version": "5.6.0",
3
+ "version": "5.7.0-canary.da2a2ed",
4
4
  "description": "Framework-agnostic package with styles for Taiga UI",
5
5
  "repository": {
6
6
  "type": "git",