@megafon/ui-shared 3.0.0-beta.1 → 3.0.0-beta.5

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,49 @@
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
+ # [3.0.0-beta.5](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.4...@megafon/ui-shared@3.0.0-beta.5) (2022-01-28)
7
+
8
+
9
+ ### Features
10
+
11
+ * **header:** made header as a functional component ([81701ad](https://github.com/MegafonWebLab/megafon-ui/commit/81701ad87b6e9df2fe630bf4e183383264c0bb01))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.0.0-beta.4](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.3...@megafon/ui-shared@3.0.0-beta.4) (2022-01-27)
18
+
19
+ **Note:** Version bump only for package @megafon/ui-shared
20
+
21
+
22
+
23
+
24
+
25
+ # [3.0.0-beta.3](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.2...@megafon/ui-shared@3.0.0-beta.3) (2022-01-24)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **accordion-box:** change type of onClickAccordion prop ([5d5cef5](https://github.com/MegafonWebLab/megafon-ui/commit/5d5cef5e2dd70efa808a6146e29daf1c882af304))
31
+
32
+
33
+ ### BREAKING CHANGES
34
+
35
+ * **accordion-box:** remove parameter 'title' in onClickAccordion prop
36
+
37
+
38
+
39
+
40
+
41
+ # [3.0.0-beta.2](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.1...@megafon/ui-shared@3.0.0-beta.2) (2022-01-21)
42
+
43
+ **Note:** Version bump only for package @megafon/ui-shared
44
+
45
+
46
+
47
+
48
+
6
49
  # [3.0.0-beta.1](https://github.com/MegafonWebLab/megafon-ui/compare/@megafon/ui-shared@3.0.0-beta.0...@megafon/ui-shared@3.0.0-beta.1) (2022-01-20)
7
50
 
8
51
 
@@ -27,7 +27,7 @@ export interface IAccordionBox {
27
27
  titleWrap?: string;
28
28
  };
29
29
  /** Обработчик клика */
30
- onClickAccordion?: (isOpened: boolean, title: string) => void;
30
+ onClickAccordion?: (isOpened: boolean) => void;
31
31
  }
32
32
  declare const AccordionBox: React.FC<IAccordionBox>;
33
33
  export default AccordionBox;
@@ -27,7 +27,7 @@ export interface IAccordionBox {
27
27
  titleWrap?: string;
28
28
  };
29
29
  /** Обработчик клика */
30
- onClickAccordion?: (isOpened: boolean, title: string) => void;
30
+ onClickAccordion?: (isOpened: boolean) => void;
31
31
  }
32
32
  declare const AccordionBox: React.FC<IAccordionBox>;
33
33
  export default AccordionBox;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megafon/ui-shared",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0-beta.5",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -51,7 +51,7 @@
51
51
  "@babel/preset-env": "^7.8.6",
52
52
  "@babel/preset-react": "^7.8.3",
53
53
  "@babel/preset-typescript": "^7.8.3",
54
- "@megafon/ui-icons": "^1.0.0-beta.1",
54
+ "@megafon/ui-icons": "^1.0.0-beta.2",
55
55
  "@svgr/core": "^2.4.1",
56
56
  "@types/enzyme": "^3.10.5",
57
57
  "@types/enzyme-adapter-react-16": "^1.0.6",
@@ -81,13 +81,13 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@babel/runtime": "^7.8.4",
84
- "@megafon/ui-core": "^3.0.0-beta.1",
85
- "@megafon/ui-helpers": "^2.0.0-beta.1",
84
+ "@megafon/ui-core": "^3.0.0-beta.5",
85
+ "@megafon/ui-helpers": "^2.0.0-beta.2",
86
86
  "core-js": "^3.6.4",
87
87
  "htmr": "^0.9.2",
88
88
  "lodash.throttle": "^4.1.1",
89
89
  "prop-types": "^15.7.2",
90
90
  "swiper": "^6.5.6"
91
91
  },
92
- "gitHead": "173ac72d7b6b8ce7c387e89c91371a0f119dc61d"
92
+ "gitHead": "a5eb127179b8ccf27d6cd95fd2bb7dd909b119be"
93
93
  }