@megafon/ui-core 5.13.0 → 5.14.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 CHANGED
@@ -3,6 +3,33 @@
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
+ ## [5.14.1](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-core@5.14.0...@megafon/ui-core@5.14.1) (2024-06-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **selector:** fix tap highlight color ([5142b81](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/commit/5142b812e11d39f8ab0de32b8af5ffc171aafacc))
12
+
13
+
14
+
15
+
16
+
17
+ # [5.14.0](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-core@5.13.0...@megafon/ui-core@5.14.0) (2024-06-03)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **carousel:** fix page scroll ([99c80bc](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/commit/99c80bccd1f09b3ad3feaa965d9c0205b038d660))
23
+
24
+
25
+ ### Features
26
+
27
+ * **search:** modern gradient ([7c2becc](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/commit/7c2beccd79d83e9cd099ea49de4138e4ab9822af))
28
+
29
+
30
+
31
+
32
+
6
33
  # [5.13.0](https://hq-gitlab.megafon.ru/site-portal/services/megafon-ui/compare/@megafon/ui-core@5.12.1...@megafon/ui-core@5.13.0) (2024-05-27)
7
34
 
8
35
 
@@ -302,6 +302,7 @@ var Carousel = function Carousel(_ref) {
302
302
  fadeEffect: effectTheme === EffectTheme.FADE ? {
303
303
  crossFade: effectTheme === EffectTheme.FADE
304
304
  } : undefined,
305
+ touchMoveStopPropagation: true,
305
306
  noSwipingSelector: noSwipingSelector ? ".swiper-pagination, ".concat(noSwipingSelector) : '.swiper-pagination',
306
307
  onSwiper: handleSwiper,
307
308
  onReachBeginning: handleReachBeginnig,
@@ -265,13 +265,19 @@
265
265
  right: 0;
266
266
  bottom: 0;
267
267
  width: 40px;
268
- background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
269
- background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--base));
268
+ background: var(--base);
269
+ -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
270
+ -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--base) 100%);
271
+ mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
272
+ mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
270
273
  }
271
274
  .mfui-search__list-item_active .mfui-search__item-title:after,
272
275
  .mfui-search__popular-item_active .mfui-search__popular-item-title:after {
273
- background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
274
- background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--spbSky0));
276
+ background: var(--spbSky0);
277
+ -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
278
+ -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
279
+ mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
280
+ mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
275
281
  }
276
282
  .mfui-search__highlighted-fragment {
277
283
  font-weight: bold;
@@ -17,6 +17,7 @@
17
17
  align-items: center;
18
18
  outline: none;
19
19
  cursor: pointer;
20
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
20
21
  }
21
22
  .mfui-selector__custom-input {
22
23
  display: -webkit-box;
@@ -345,6 +345,7 @@ var Carousel = function Carousel(_ref) {
345
345
  fadeEffect: effectTheme === EffectTheme.FADE ? {
346
346
  crossFade: effectTheme === EffectTheme.FADE
347
347
  } : undefined,
348
+ touchMoveStopPropagation: true,
348
349
  noSwipingSelector: noSwipingSelector ? ".swiper-pagination, ".concat(noSwipingSelector) : '.swiper-pagination',
349
350
  onSwiper: handleSwiper,
350
351
  onReachBeginning: handleReachBeginnig,
@@ -265,13 +265,19 @@
265
265
  right: 0;
266
266
  bottom: 0;
267
267
  width: 40px;
268
- background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
269
- background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--base));
268
+ background: var(--base);
269
+ -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--base)));
270
+ -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--base) 100%);
271
+ mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
272
+ mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
270
273
  }
271
274
  .mfui-search__list-item_active .mfui-search__item-title:after,
272
275
  .mfui-search__popular-item_active .mfui-search__popular-item-title:after {
273
- background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
274
- background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--spbSky0));
276
+ background: var(--spbSky0);
277
+ -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
278
+ -webkit-mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
279
+ mask-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(var(--spbSky0)));
280
+ mask-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, var(--spbSky0) 100%);
275
281
  }
276
282
  .mfui-search__highlighted-fragment {
277
283
  font-weight: bold;
@@ -17,6 +17,7 @@
17
17
  align-items: center;
18
18
  outline: none;
19
19
  cursor: pointer;
20
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
20
21
  }
21
22
  .mfui-selector__custom-input {
22
23
  display: -webkit-box;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-core",
3
- "version": "5.13.0",
3
+ "version": "5.14.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "styles"
@@ -97,5 +97,5 @@
97
97
  "react-popper": "^2.2.3",
98
98
  "swiper": "^6.5.6"
99
99
  },
100
- "gitHead": "74e2c72c13618880e274c806a702c98d763a49d8"
100
+ "gitHead": "13dc2b2721607f600ddb332e78fc49b0698c9fe2"
101
101
  }