@megafon/ui-shared 2.0.0-beta.229 → 2.0.0-beta.232

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,39 @@
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.0.0-beta.232](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.231...@megafon/ui-shared@2.0.0-beta.232) (2021-10-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **picturewithdescription:** fix text align ([1cc5829](https://github.com/MegafonWebLab/megafon-ui/commit/1cc5829e62460a57fccf80b2f8ffb83846d0c8f8))
12
+ * **textboxpicture:** fix image styles ([868cf33](https://github.com/MegafonWebLab/megafon-ui/commit/868cf3349ffd2b7e1b8829fec694f7aade416db7))
13
+ * **videoblock:** fix button width ([9fc980b](https://github.com/MegafonWebLab/megafon-ui/commit/9fc980b72d8d716ce2b8d6441610fe0032892f13))
14
+
15
+
16
+
17
+
18
+
19
+ # [2.0.0-beta.231](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.230...@megafon/ui-shared@2.0.0-beta.231) (2021-10-07)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * add lint-staged to pre-commit hook ([83e2e13](https://github.com/MegafonWebLab/megafon-ui/commit/83e2e1304c92cd0125e80fa0c2879e28476499d9))
25
+ * run lint-staged only on pre-commit hook ([8570564](https://github.com/MegafonWebLab/megafon-ui/commit/857056423e738135f6d0866df8c0166ce9bd289e))
26
+
27
+
28
+
29
+
30
+
31
+ # [2.0.0-beta.230](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.229...@megafon/ui-shared@2.0.0-beta.230) (2021-10-05)
32
+
33
+ **Note:** Version bump only for package @megafon/ui-shared
34
+
35
+
36
+
37
+
38
+
6
39
  # [2.0.0-beta.229](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@2.0.0-beta.228...@megafon/ui-shared@2.0.0-beta.229) (2021-10-04)
7
40
 
8
41
 
@@ -69,8 +69,8 @@ h5 {
69
69
  }
70
70
  @media screen and (min-width: 1024px) {
71
71
  .mfui-beta-picture-with-description__articles_text-top-align {
72
- -ms-flex-item-align: end;
73
- align-self: end;
72
+ -ms-flex-item-align: start;
73
+ align-self: flex-start;
74
74
  }
75
75
  }
76
76
  @media screen and (min-width: 1024px) {
@@ -18,6 +18,7 @@ h5 {
18
18
  margin: 24px 0;
19
19
  }
20
20
  .mfui-beta-text-box-picture__img {
21
- width: 100%;
22
- height: 100%;
21
+ display: block;
22
+ max-width: 100%;
23
+ border: 1px solid #EDEDED;
23
24
  }
@@ -54,7 +54,9 @@ h5 {
54
54
  margin-top: 24px;
55
55
  }
56
56
  .mfui-beta-video-block__button {
57
- width: 171px;
57
+ -ms-flex-item-align: start;
58
+ align-self: flex-start;
59
+ max-width: 100%;
58
60
  margin-top: 32px;
59
61
  }
60
62
  @media screen and (max-width: 767px) {
@@ -69,8 +69,8 @@ h5 {
69
69
  }
70
70
  @media screen and (min-width: 1024px) {
71
71
  .mfui-beta-picture-with-description__articles_text-top-align {
72
- -ms-flex-item-align: end;
73
- align-self: end;
72
+ -ms-flex-item-align: start;
73
+ align-self: flex-start;
74
74
  }
75
75
  }
76
76
  @media screen and (min-width: 1024px) {
@@ -18,6 +18,7 @@ h5 {
18
18
  margin: 24px 0;
19
19
  }
20
20
  .mfui-beta-text-box-picture__img {
21
- width: 100%;
22
- height: 100%;
21
+ display: block;
22
+ max-width: 100%;
23
+ border: 1px solid #EDEDED;
23
24
  }
@@ -54,7 +54,9 @@ h5 {
54
54
  margin-top: 24px;
55
55
  }
56
56
  .mfui-beta-video-block__button {
57
- width: 171px;
57
+ -ms-flex-item-align: start;
58
+ align-self: flex-start;
59
+ max-width: 100%;
58
60
  margin-top: 32px;
59
61
  }
60
62
  @media screen and (max-width: 767px) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "2.0.0-beta.229",
3
+ "version": "2.0.0-beta.232",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -34,6 +34,11 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
+ "lint-staged": {
38
+ "src/**/**/*.(js|jsx|ts|tsx)": [
39
+ "eslint --max-warnings=0 --config ../../.eslintrc.json"
40
+ ]
41
+ },
37
42
  "peerDependencies": {
38
43
  "react": ">=16.13.0",
39
44
  "react-dom": ">=16.13.0"
@@ -45,7 +50,7 @@
45
50
  "@babel/preset-env": "^7.8.6",
46
51
  "@babel/preset-react": "^7.8.3",
47
52
  "@babel/preset-typescript": "^7.8.3",
48
- "@megafon/ui-icons": "^0.0.2-beta.4",
53
+ "@megafon/ui-icons": "^0.0.2-beta.5",
49
54
  "@svgr/core": "^2.4.1",
50
55
  "@types/enzyme": "^3.10.5",
51
56
  "@types/enzyme-adapter-react-16": "^1.0.6",
@@ -75,13 +80,13 @@
75
80
  },
76
81
  "dependencies": {
77
82
  "@babel/runtime": "^7.8.4",
78
- "@megafon/ui-core": "^2.0.0-beta.160",
79
- "@megafon/ui-helpers": "^1.0.0-beta.1",
83
+ "@megafon/ui-core": "^2.0.0-beta.162",
84
+ "@megafon/ui-helpers": "^1.0.0-beta.2",
80
85
  "core-js": "^3.6.4",
81
86
  "htmr": "^0.9.2",
82
87
  "lodash.throttle": "^4.1.1",
83
88
  "prop-types": "^15.7.2",
84
89
  "swiper": "^6.5.6"
85
90
  },
86
- "gitHead": "dbffd865a7fe4ffdba9411e152906ee2fa5d28f3"
91
+ "gitHead": "20bb11eefeb44f83827d950809ea1af425655adc"
87
92
  }