@taiga-ui/styles 5.26.0-canary.eb5f53f → 5.27.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.
@@ -1,11 +1,14 @@
1
1
  @import '@taiga-ui/styles/utils';
2
2
 
3
+ :where([tuiCell]&) {
4
+ .button-clear();
5
+ }
6
+
3
7
  [tuiCell]:where(*&) {
4
8
  --t-pad: 0.125rem 1rem;
5
9
  --t-radius: var(--tui-radius-s);
6
10
 
7
11
  .transition(~'background');
8
- .button-clear();
9
12
 
10
13
  position: relative;
11
14
  display: flex;
@@ -280,20 +283,10 @@
280
283
  }
281
284
 
282
285
  @media @tui-mouse {
283
- a[tuiCell]:where(*&):hover,
284
- button[tuiCell]:where(*&):hover,
285
- label[tuiCell]:where(*&):hover {
286
- &:not(:disabled, [data-state='disabled']) {
287
- background: var(--tui-background-neutral-1);
288
- cursor: pointer;
289
- }
290
- }
291
-
292
- label[tuiCell]:where(*&):hover {
293
- &:not(:has(input:disabled)) {
294
- background: var(--tui-background-neutral-1);
295
- cursor: pointer;
296
- }
286
+ :where(:is(a, button, label)[tuiCell]:hover:not(:disabled, [data-state='disabled'])&),
287
+ :where(label[tuiCell]:hover:not(:has(input:disabled))&) {
288
+ background: var(--tui-background-neutral-1);
289
+ cursor: pointer;
297
290
  }
298
291
  }
299
292
 
@@ -15,6 +15,10 @@
15
15
  margin: 0.25rem 0 0;
16
16
  font: var(--tui-typography-body-m);
17
17
 
18
+ &:first-child {
19
+ margin: 0;
20
+ }
21
+
18
22
  &:empty {
19
23
  display: none;
20
24
  }
@@ -143,3 +143,20 @@
143
143
  }
144
144
  }
145
145
  }
146
+
147
+ [data-platform='ios'] :where([tuiList]:is(ul)&),
148
+ [data-platform='android'] :where([tuiList]:is(ul)&) {
149
+ margin-inline-start: 1.125rem;
150
+
151
+ & > li::before {
152
+ inline-size: 0.375rem;
153
+ margin-inline-start: -1rem;
154
+ margin-inline-end: 0.75rem;
155
+ }
156
+
157
+ &[data-size='l'] > li::before {
158
+ inline-size: 0.375rem;
159
+ margin-inline-start: -0.9375rem;
160
+ margin-inline-end: 0.75rem;
161
+ }
162
+ }
@@ -24,6 +24,7 @@
24
24
  display: var(--t-status, none);
25
25
  inline-size: 0.5rem;
26
26
  block-size: 0.5rem;
27
+ flex-shrink: 0;
27
28
  border-radius: 100%;
28
29
  background: var(--t-status);
29
30
  }
@@ -39,7 +39,6 @@
39
39
  --tui-padding-l: 1rem;
40
40
  // Misc
41
41
  --tui-stroke-width: 0.125rem;
42
- --tui-duration: 0.3s;
43
42
  --tui-disabled-opacity: 0.56;
44
43
  --tui-lh: 1.4em;
45
44
  // logical
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/styles",
3
- "version": "5.26.0-canary.eb5f53f",
3
+ "version": "5.27.0",
4
4
  "description": "Framework-agnostic package with styles for Taiga UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,6 +25,6 @@
25
25
  "./*": "./*"
26
26
  },
27
27
  "peerDependencies": {
28
- "@taiga-ui/design-tokens": "~0.320.0"
28
+ "@taiga-ui/design-tokens": "~0.324.0"
29
29
  }
30
30
  }