@megafon/ui-shared 3.0.0-beta.2 → 3.0.0-beta.3
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,22 @@
|
|
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.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)
|
7
|
+
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
* **accordion-box:** change type of onClickAccordion prop ([5d5cef5](https://github.com/MegafonWebLab/megafon-ui/commit/5d5cef5e2dd70efa808a6146e29daf1c882af304))
|
12
|
+
|
13
|
+
|
14
|
+
### BREAKING CHANGES
|
15
|
+
|
16
|
+
* **accordion-box:** remove parameter 'title' in onClickAccordion prop
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
6
22
|
# [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)
|
7
23
|
|
8
24
|
**Note:** Version bump only for package @megafon/ui-shared
|
@@ -27,7 +27,7 @@ export interface IAccordionBox {
|
|
27
27
|
titleWrap?: string;
|
28
28
|
};
|
29
29
|
/** Обработчик клика */
|
30
|
-
onClickAccordion?: (isOpened: boolean
|
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
|
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.
|
3
|
+
"version": "3.0.0-beta.3",
|
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.
|
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.
|
85
|
-
"@megafon/ui-helpers": "^2.0.0-beta.
|
84
|
+
"@megafon/ui-core": "^3.0.0-beta.3",
|
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": "
|
92
|
+
"gitHead": "c7d00f10bbf88ff8049558ee9b7fbe6cb9691547"
|
93
93
|
}
|