@cloud-ru/ds-list 2.2.2-preview-43886f3e.0 → 2.2.2-preview-b174c2b1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-ru/ds-list",
3
- "version": "2.2.2-preview-43886f3e.0",
3
+ "version": "2.2.2-preview-b174c2b1.0",
4
4
  "description": "Списочный UI — компонент List для плоских/вложенных списков с выбором, группами и поиском и Droplist — тот же список в поповере.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,21 +48,21 @@
48
48
  "@tanstack/react-virtual": "^3.14.8",
49
49
  "classnames": "^2.5.1",
50
50
  "merge-refs": "^2.0.0",
51
- "@cloud-ru/ds-bottom-sheet": "1.1.3",
51
+ "@cloud-ru/ds-adaptive": "1.0.1",
52
52
  "@cloud-ru/ds-divider": "1.0.1",
53
- "@cloud-ru/ds-button": "1.0.3",
54
53
  "@cloud-ru/ds-drag-and-drop": "1.1.2",
55
- "@cloud-ru/ds-icons": "1.2.1",
56
- "@cloud-ru/ds-dropdown": "1.0.10",
57
- "@cloud-ru/ds-adaptive": "1.0.1",
54
+ "@cloud-ru/ds-dropdown": "1.0.11-preview-b174c2b1.0",
55
+ "@cloud-ru/ds-bottom-sheet": "1.1.4-preview-b174c2b1.0",
56
+ "@cloud-ru/ds-button": "1.0.3",
58
57
  "@cloud-ru/ds-info-block": "1.0.2",
59
- "@cloud-ru/ds-loader": "1.0.2",
58
+ "@cloud-ru/ds-icons": "1.2.1",
60
59
  "@cloud-ru/ds-materials": "2.0.0",
61
- "@cloud-ru/ds-scroll": "1.0.3",
60
+ "@cloud-ru/ds-loader": "1.0.2",
61
+ "@cloud-ru/ds-scroll": "1.0.4-preview-b174c2b1.0",
62
62
  "@cloud-ru/ds-portal-context": "1.0.1",
63
+ "@cloud-ru/ds-toggles": "1.1.6-preview-b174c2b1.0",
63
64
  "@cloud-ru/ds-search-private": "1.0.9",
64
- "@cloud-ru/ds-toggles": "1.1.5",
65
- "@cloud-ru/ds-truncate-string": "1.0.6",
65
+ "@cloud-ru/ds-truncate-string": "1.0.7-preview-b174c2b1.0",
66
66
  "@cloud-ru/ds-utils": "1.1.0"
67
67
  },
68
68
  "peerDependencies": {
@@ -76,6 +76,10 @@ $sizes: 's', 'm', 'l';
76
76
  }
77
77
  }
78
78
 
79
+ .afterContent {
80
+ color: base.$sn-theme-color-available-version-textSecondary;
81
+ }
82
+
79
83
  .groupIndicator {
80
84
  // По умолчанию шеврон — индикатор состояния, а не кнопка: раскрытие переключает клик по
81
85
  // всей строке, поэтому клики шеврон не перехватывает. Своих hover/pressed/focus-состояний
@@ -180,10 +184,12 @@ $level: var(--level, 0);
180
184
  padding-bottom: base.simple-var(list.$list, 'anatomy', 'size', $size, 'listItem', 'centeredWrapper', 'padding-bottom');
181
185
  }
182
186
 
183
- // Высота фиксирована, как у Figma `centeredWrapper`: контент выше иконки не растягивает строку.
187
+ // afterContent — слот произвольного контента (иконка, counter, tag). Иконка центрируется
188
+ // по icon-сетке, но не-иконочный контент (counter/badge) не зажимается в квадрат: min-* вместо
189
+ // фиксированного width/height.
184
190
  .afterContent {
185
191
  min-width: base.simple-var(icons.$iconSizeMap, $size);
186
- height: base.simple-var(icons.$iconSizeMap, $size);
192
+ min-height: base.simple-var(icons.$iconSizeMap, $size);
187
193
  padding-top: base.simple-var(list.$list, 'anatomy', 'size', $size, 'listItem', 'centeredWrapper', 'padding-top');
188
194
  padding-bottom: base.simple-var(list.$list, 'anatomy', 'size', $size, 'listItem', 'centeredWrapper', 'padding-bottom');
189
195