@megafon/ui-shared 2.2.0 → 2.2.1
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 +11 -0
- package/dist/es/components/StoreBanner/StoreBanner.css +21 -22
- package/dist/es/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/dist/lib/components/StoreBanner/StoreBanner.css +21 -22
- package/dist/lib/components/StoreBanner/doc/img/qr-code.png +0 -0
- package/package.json +3 -3
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
|
+
## [2.2.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.2.0...@megafon/ui-shared@2.2.1) (2022-01-31)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **storebanner:** update qr code image for storebanner examples and fix qr code container styles ([1845222](https://github.com/MegafonWebLab/megafon-ui/commit/1845222e5211e70a8f5aa36ab4a710ecd46e8a14))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
6
17
|
# [2.2.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.1.5...@megafon/ui-shared@2.2.0) (2022-01-24)
|
7
18
|
|
8
19
|
|
@@ -161,7 +161,16 @@ h5 {
|
|
161
161
|
display: flex;
|
162
162
|
}
|
163
163
|
.mfui-store-banner__qr-code {
|
164
|
+
-ms-flex-item-align: center;
|
165
|
+
align-self: center;
|
166
|
+
-webkit-box-sizing: border-box;
|
167
|
+
box-sizing: border-box;
|
168
|
+
width: 90px;
|
169
|
+
height: 90px;
|
164
170
|
margin-right: 16px;
|
171
|
+
border: 1px solid #EDEDED;
|
172
|
+
border-radius: 8px;
|
173
|
+
background-color: #FFFFFF;
|
165
174
|
}
|
166
175
|
@media screen and (max-width: 767px) {
|
167
176
|
.mfui-store-banner__qr-code {
|
@@ -182,6 +191,9 @@ h5 {
|
|
182
191
|
.mfui-store-banner__store-link {
|
183
192
|
width: 136px;
|
184
193
|
height: 40px;
|
194
|
+
margin-right: 8px;
|
195
|
+
margin-bottom: 10px;
|
196
|
+
margin-left: 8px;
|
185
197
|
}
|
186
198
|
@media screen and (max-width: 767px) {
|
187
199
|
.mfui-store-banner__store-link {
|
@@ -189,9 +201,8 @@ h5 {
|
|
189
201
|
height: 35px;
|
190
202
|
}
|
191
203
|
}
|
192
|
-
.mfui-store-banner__store-link:
|
193
|
-
margin-
|
194
|
-
margin-bottom: 10px;
|
204
|
+
.mfui-store-banner__store-link:last-child {
|
205
|
+
margin-bottom: 0;
|
195
206
|
}
|
196
207
|
.mfui-store-banner__stores {
|
197
208
|
display: -webkit-box;
|
@@ -210,6 +221,11 @@ h5 {
|
|
210
221
|
justify-content: center;
|
211
222
|
}
|
212
223
|
}
|
224
|
+
@media screen and (min-width: 768px) {
|
225
|
+
.mfui-store-banner__stores {
|
226
|
+
margin-left: -8px;
|
227
|
+
}
|
228
|
+
}
|
213
229
|
.mfui-store-banner__text {
|
214
230
|
margin-bottom: 32px;
|
215
231
|
}
|
@@ -231,16 +247,10 @@ h5 {
|
|
231
247
|
-o-object-fit: contain;
|
232
248
|
object-fit: contain;
|
233
249
|
}
|
234
|
-
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
235
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code {
|
236
|
-
width: 120px;
|
237
|
-
height: 120px;
|
238
|
-
}
|
239
|
-
}
|
240
250
|
@media screen and (min-width: 1280px) {
|
241
251
|
.mfui-store-banner__links_three .mfui-store-banner__qr-code {
|
242
|
-
max-width:
|
243
|
-
max-height:
|
252
|
+
max-width: 90px;
|
253
|
+
max-height: 90px;
|
244
254
|
}
|
245
255
|
}
|
246
256
|
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores {
|
@@ -262,12 +272,6 @@ h5 {
|
|
262
272
|
margin: 0 auto;
|
263
273
|
}
|
264
274
|
}
|
265
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores .mfui-store-banner__store-link {
|
266
|
-
margin-right: 16px;
|
267
|
-
}
|
268
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores .mfui-store-banner__store-link:not(:first-child) {
|
269
|
-
margin-right: 0;
|
270
|
-
}
|
271
275
|
.mfui-store-banner__links_three .mfui-store-banner__store-link {
|
272
276
|
width: 136px;
|
273
277
|
height: 40px;
|
@@ -286,8 +290,3 @@ h5 {
|
|
286
290
|
margin-bottom: 16px;
|
287
291
|
}
|
288
292
|
}
|
289
|
-
@media screen and (max-width: 1023px) {
|
290
|
-
.mfui-store-banner__links_three .mfui-store-banner__store-link:not(:first-child) {
|
291
|
-
margin-right: 0;
|
292
|
-
}
|
293
|
-
}
|
Binary file
|
@@ -161,7 +161,16 @@ h5 {
|
|
161
161
|
display: flex;
|
162
162
|
}
|
163
163
|
.mfui-store-banner__qr-code {
|
164
|
+
-ms-flex-item-align: center;
|
165
|
+
align-self: center;
|
166
|
+
-webkit-box-sizing: border-box;
|
167
|
+
box-sizing: border-box;
|
168
|
+
width: 90px;
|
169
|
+
height: 90px;
|
164
170
|
margin-right: 16px;
|
171
|
+
border: 1px solid #EDEDED;
|
172
|
+
border-radius: 8px;
|
173
|
+
background-color: #FFFFFF;
|
165
174
|
}
|
166
175
|
@media screen and (max-width: 767px) {
|
167
176
|
.mfui-store-banner__qr-code {
|
@@ -182,6 +191,9 @@ h5 {
|
|
182
191
|
.mfui-store-banner__store-link {
|
183
192
|
width: 136px;
|
184
193
|
height: 40px;
|
194
|
+
margin-right: 8px;
|
195
|
+
margin-bottom: 10px;
|
196
|
+
margin-left: 8px;
|
185
197
|
}
|
186
198
|
@media screen and (max-width: 767px) {
|
187
199
|
.mfui-store-banner__store-link {
|
@@ -189,9 +201,8 @@ h5 {
|
|
189
201
|
height: 35px;
|
190
202
|
}
|
191
203
|
}
|
192
|
-
.mfui-store-banner__store-link:
|
193
|
-
margin-
|
194
|
-
margin-bottom: 10px;
|
204
|
+
.mfui-store-banner__store-link:last-child {
|
205
|
+
margin-bottom: 0;
|
195
206
|
}
|
196
207
|
.mfui-store-banner__stores {
|
197
208
|
display: -webkit-box;
|
@@ -210,6 +221,11 @@ h5 {
|
|
210
221
|
justify-content: center;
|
211
222
|
}
|
212
223
|
}
|
224
|
+
@media screen and (min-width: 768px) {
|
225
|
+
.mfui-store-banner__stores {
|
226
|
+
margin-left: -8px;
|
227
|
+
}
|
228
|
+
}
|
213
229
|
.mfui-store-banner__text {
|
214
230
|
margin-bottom: 32px;
|
215
231
|
}
|
@@ -231,16 +247,10 @@ h5 {
|
|
231
247
|
-o-object-fit: contain;
|
232
248
|
object-fit: contain;
|
233
249
|
}
|
234
|
-
@media screen and (min-width: 768px) and (max-width: 1023px) {
|
235
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code {
|
236
|
-
width: 120px;
|
237
|
-
height: 120px;
|
238
|
-
}
|
239
|
-
}
|
240
250
|
@media screen and (min-width: 1280px) {
|
241
251
|
.mfui-store-banner__links_three .mfui-store-banner__qr-code {
|
242
|
-
max-width:
|
243
|
-
max-height:
|
252
|
+
max-width: 90px;
|
253
|
+
max-height: 90px;
|
244
254
|
}
|
245
255
|
}
|
246
256
|
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores {
|
@@ -262,12 +272,6 @@ h5 {
|
|
262
272
|
margin: 0 auto;
|
263
273
|
}
|
264
274
|
}
|
265
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores .mfui-store-banner__store-link {
|
266
|
-
margin-right: 16px;
|
267
|
-
}
|
268
|
-
.mfui-store-banner__links_three .mfui-store-banner__qr-code + .mfui-store-banner__stores .mfui-store-banner__store-link:not(:first-child) {
|
269
|
-
margin-right: 0;
|
270
|
-
}
|
271
275
|
.mfui-store-banner__links_three .mfui-store-banner__store-link {
|
272
276
|
width: 136px;
|
273
277
|
height: 40px;
|
@@ -286,8 +290,3 @@ h5 {
|
|
286
290
|
margin-bottom: 16px;
|
287
291
|
}
|
288
292
|
}
|
289
|
-
@media screen and (max-width: 1023px) {
|
290
|
-
.mfui-store-banner__links_three .mfui-store-banner__store-link:not(:first-child) {
|
291
|
-
margin-right: 0;
|
292
|
-
}
|
293
|
-
}
|
Binary file
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@megafon/ui-shared",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.1",
|
4
4
|
"files": [
|
5
5
|
"dist"
|
6
6
|
],
|
@@ -81,7 +81,7 @@
|
|
81
81
|
},
|
82
82
|
"dependencies": {
|
83
83
|
"@babel/runtime": "^7.8.4",
|
84
|
-
"@megafon/ui-core": "^2.
|
84
|
+
"@megafon/ui-core": "^2.4.0",
|
85
85
|
"@megafon/ui-helpers": "^1.0.0",
|
86
86
|
"core-js": "^3.6.4",
|
87
87
|
"htmr": "^0.9.2",
|
@@ -89,5 +89,5 @@
|
|
89
89
|
"prop-types": "^15.7.2",
|
90
90
|
"swiper": "^6.5.6"
|
91
91
|
},
|
92
|
-
"gitHead": "
|
92
|
+
"gitHead": "1c92184284a8224e5832b4c2218231edfcbb4d5f"
|
93
93
|
}
|