@megafon/ui-shared 4.20.0 → 4.20.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,25 @@
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
+ ## [4.20.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.20.1...@megafon/ui-shared@4.20.2) (2023-06-07)
7
+
8
+ **Note:** Version bump only for package @megafon/ui-shared
9
+
10
+
11
+
12
+
13
+
14
+ ## [4.20.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.20.0...@megafon/ui-shared@4.20.1) (2023-06-05)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * **storebanner:** fix new mask for iphone 12 and green theme ([c7da417](https://github.com/MegafonWebLab/megafon-ui/commit/c7da417b7919eb4564eadfc2a6ee20895daf7740))
20
+
21
+
22
+
23
+
24
+
6
25
  # [4.20.0](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@4.19.0...@megafon/ui-shared@4.20.0) (2023-05-23)
7
26
 
8
27
 
@@ -12,7 +12,7 @@ h5 {
12
12
  color: var(--content);
13
13
  }
14
14
  .mfui-store-banner_theme_green .mfui-store-banner__grid {
15
- border-color: transparent;
15
+ border: 0;
16
16
  background-color: var(--brandGreen);
17
17
  }
18
18
  .mfui-store-banner_theme_green .mfui-store-banner__content {
@@ -101,10 +101,11 @@ h5 {
101
101
  top: 16px;
102
102
  z-index: 1;
103
103
  width: 87%;
104
+ border-radius: 4px;
104
105
  }
105
106
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
106
107
  .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
107
- top: 18px;
108
+ top: 17px;
108
109
  }
109
110
  }
110
111
  @media screen and (min-width: 768px) and (max-width: 1023px) {
@@ -10,10 +10,10 @@ export declare const Theme: {
10
10
  declare type ThemeType = typeof Theme[keyof typeof Theme];
11
11
  export declare const DeviceMask: {
12
12
  readonly ANDROID: "android";
13
- readonly NEW_IPHONE: "new-iphone";
14
13
  readonly BLACK_IPHONE: "black-iphone";
15
- readonly WHITE_IPHONE: "white-iphone";
16
14
  readonly IPHONE_12: "iphone-12";
15
+ readonly NEW_IPHONE: "new-iphone";
16
+ readonly WHITE_IPHONE: "white-iphone";
17
17
  };
18
18
  declare type DeviceMaskType = typeof DeviceMask[keyof typeof DeviceMask];
19
19
  declare type LinkHrefType = StoreButtonPropsType['href'];
@@ -14,10 +14,10 @@ export var Theme = {
14
14
  };
15
15
  export var DeviceMask = {
16
16
  ANDROID: 'android',
17
- NEW_IPHONE: 'new-iphone',
18
17
  BLACK_IPHONE: 'black-iphone',
19
- WHITE_IPHONE: 'white-iphone',
20
- IPHONE_12: 'iphone-12'
18
+ IPHONE_12: 'iphone-12',
19
+ NEW_IPHONE: 'new-iphone',
20
+ WHITE_IPHONE: 'white-iphone'
21
21
  };
22
22
  var cn = cnCreate('mfui-store-banner');
23
23
 
@@ -12,7 +12,7 @@ h5 {
12
12
  color: var(--content);
13
13
  }
14
14
  .mfui-store-banner_theme_green .mfui-store-banner__grid {
15
- border-color: transparent;
15
+ border: 0;
16
16
  background-color: var(--brandGreen);
17
17
  }
18
18
  .mfui-store-banner_theme_green .mfui-store-banner__content {
@@ -101,10 +101,11 @@ h5 {
101
101
  top: 16px;
102
102
  z-index: 1;
103
103
  width: 87%;
104
+ border-radius: 4px;
104
105
  }
105
106
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
106
107
  .mfui-store-banner_mask_iphone-12 .mfui-store-banner__screen {
107
- top: 18px;
108
+ top: 17px;
108
109
  }
109
110
  }
110
111
  @media screen and (min-width: 768px) and (max-width: 1023px) {
@@ -10,10 +10,10 @@ export declare const Theme: {
10
10
  declare type ThemeType = typeof Theme[keyof typeof Theme];
11
11
  export declare const DeviceMask: {
12
12
  readonly ANDROID: "android";
13
- readonly NEW_IPHONE: "new-iphone";
14
13
  readonly BLACK_IPHONE: "black-iphone";
15
- readonly WHITE_IPHONE: "white-iphone";
16
14
  readonly IPHONE_12: "iphone-12";
15
+ readonly NEW_IPHONE: "new-iphone";
16
+ readonly WHITE_IPHONE: "white-iphone";
17
17
  };
18
18
  declare type DeviceMaskType = typeof DeviceMask[keyof typeof DeviceMask];
19
19
  declare type LinkHrefType = StoreButtonPropsType['href'];
@@ -36,10 +36,10 @@ var Theme = {
36
36
  exports.Theme = Theme;
37
37
  var DeviceMask = {
38
38
  ANDROID: 'android',
39
- NEW_IPHONE: 'new-iphone',
40
39
  BLACK_IPHONE: 'black-iphone',
41
- WHITE_IPHONE: 'white-iphone',
42
- IPHONE_12: 'iphone-12'
40
+ IPHONE_12: 'iphone-12',
41
+ NEW_IPHONE: 'new-iphone',
42
+ WHITE_IPHONE: 'white-iphone'
43
43
  };
44
44
  exports.DeviceMask = DeviceMask;
45
45
  var cn = (0, _uiHelpers.cnCreate)('mfui-store-banner');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "4.20.0",
3
+ "version": "4.20.2",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -94,5 +94,5 @@
94
94
  "prop-types": "^15.7.2",
95
95
  "swiper": "^6.5.6"
96
96
  },
97
- "gitHead": "511c2426a2f60050064028622ccbd0312198286a"
97
+ "gitHead": "6ae8cebd10ce3ab3d253ffa5348eccf995a0381a"
98
98
  }