@snack-uikit/list 0.7.1 → 0.7.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 0.7.2 (2024-03-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **FF-4473:** droplist item width ([99f5f25](https://github.com/cloud-ru-tech/snack-uikit/commit/99f5f251ac176ae3c6c9d2c9b78c31890aea0317))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.7.1 (2024-02-29)
7
18
 
8
19
  ### Only dependencies have been changed
@@ -78,6 +78,9 @@
78
78
  box-sizing:border-box;
79
79
  }
80
80
 
81
+ .droplistItem{
82
+ width:100%;
83
+ }
81
84
  .droplistItem[data-size=s]{
82
85
  padding-left:calc(var(--level, 0) * var(--dimension-050m, 4px) + var(--space-drop-list-item-s-container-horizontal-padding, 8px));
83
86
  }
@@ -171,13 +174,6 @@
171
174
  letter-spacing:var(--sans-body-m-letter-spacing, 0.1px);
172
175
  paragraph-spacing:var(--sans-body-m-paragraph-spacing, 7.7px);
173
176
  }
174
- .droplistItem[data-parent=list]{
175
- width:100%;
176
- }
177
- .droplistItem[data-parent=droplist]{
178
- width:-moz-max-content;
179
- width:max-content;
180
- }
181
177
  .droplistItem[data-non-pointer]{
182
178
  cursor:inherit;
183
179
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "List",
7
- "version": "0.7.1",
7
+ "version": "0.7.2",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -54,5 +54,5 @@
54
54
  "peerDependencies": {
55
55
  "@snack-uikit/locale": "*"
56
56
  },
57
- "gitHead": "119fad909bd43cf932cd251a439cc1ce73669070"
57
+ "gitHead": "abae3f94b848eff630e5079163d84e67feae7f3a"
58
58
  }
@@ -110,6 +110,8 @@ $typography: (
110
110
  }
111
111
 
112
112
  .droplistItem {
113
+ width: 100%;
114
+
113
115
  @each $size in $sizes {
114
116
  &[data-size='#{$size}'] {
115
117
  padding-left: calc(
@@ -134,14 +136,6 @@ $typography: (
134
136
  }
135
137
  }
136
138
 
137
- &[data-parent='list'] {
138
- width: 100%;
139
- }
140
-
141
- &[data-parent='droplist'] {
142
- width: max-content;
143
- }
144
-
145
139
  &[data-non-pointer] {
146
140
  cursor: inherit;
147
141
  }