@taiga-ui/styles 5.26.0 → 5.27.0-canary.9d80d01

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
  }
@@ -106,7 +106,7 @@
106
106
  margin: 0;
107
107
  font: inherit;
108
108
 
109
- &:not(:last-of-type) {
109
+ &:where(:not(:last-of-type)) {
110
110
  box-shadow: 0 1px var(--tui-border-normal);
111
111
  }
112
112
  }
@@ -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
  }
@@ -16,7 +16,7 @@
16
16
 
17
17
  .appearance-active(@content) {
18
18
  .interactive({
19
- &:active:not([data-state]) {
19
+ &:active:not([data-state]):where(:hover,:focus-visible) {
20
20
  @content();
21
21
  }
22
22
  });
@@ -17,7 +17,7 @@
17
17
 
18
18
  @mixin appearance-active {
19
19
  @include interactive {
20
- &:active:not([data-state]) {
20
+ &:active:not([data-state]):where(:hover, :focus-visible) {
21
21
  @content;
22
22
  }
23
23
  }
@@ -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",
3
+ "version": "5.27.0-canary.9d80d01",
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.326.0"
29
29
  }
30
30
  }
@@ -5,6 +5,7 @@
5
5
  [tuiAppearance][data-appearance='outline-grayscale'] {
6
6
  --t-bs: var(--tui-border-normal);
7
7
 
8
+ background: transparent;
8
9
  color: var(--tui-text-action);
9
10
  box-shadow: inset 0 0 0 1px var(--t-bs);
10
11