@cloud-ru/uikit-product-site-header 1.5.0 → 1.5.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,27 @@
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
+ ## 1.5.2 (2026-03-17)
7
+
8
+ ### Only dependencies have been changed
9
+ * [@cloud-ru/uikit-product-button-predefined@1.1.11]($PUBLIC_PROJECT_URL/blob/master/packages/button-predefined/CHANGELOG.md)
10
+ * [@cloud-ru/uikit-product-mobile-modal@2.0.10]($PUBLIC_PROJECT_URL/blob/master/packages/mobile-modal/CHANGELOG.md)
11
+
12
+
13
+
14
+
15
+
16
+ ## 1.5.1 (2026-03-17)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **SITE-10319:** fix site header burger button ([e3aa553](https://github.com/cloud-ru-tech/uikit-product/commit/e3aa553809584831641a05d99e95966f2768d64d))
22
+
23
+
24
+
25
+
26
+
6
27
  # 1.5.0 (2026-03-16)
7
28
 
8
29
 
@@ -11,7 +11,7 @@ const styles_module_scss_1 = __importDefault(require('./styles.module.css'));
11
11
  function ButtonBurger({ mobileMenuOpen, onClick, appearance }) {
12
12
  const icon = mobileMenuOpen ? (0, jsx_runtime_1.jsx)(uikit_product_icons_1.CloseSVG, {}) : (0, jsx_runtime_1.jsx)(uikit_product_icons_1.BurgerSVG, {});
13
13
  if (appearance === 'neutral') {
14
- return (0, jsx_runtime_1.jsx)(uikit_product_button_predefined_1.ButtonPromoOutline, { icon: icon, size: 's', appearance: 'secondary' });
14
+ return (0, jsx_runtime_1.jsx)(uikit_product_button_predefined_1.ButtonPromoOutline, { icon: icon, size: 's', appearance: 'secondary', onClick: onClick });
15
15
  }
16
16
  return ((0, jsx_runtime_1.jsx)("button", { className: styles_module_scss_1.default.buttonBurger, onClick: onClick, children: icon }));
17
17
  }
@@ -5,7 +5,7 @@ import styles from './styles.module.css';
5
5
  export function ButtonBurger({ mobileMenuOpen, onClick, appearance }) {
6
6
  const icon = mobileMenuOpen ? _jsx(CloseSVG, {}) : _jsx(BurgerSVG, {});
7
7
  if (appearance === 'neutral') {
8
- return _jsx(ButtonPromoOutline, { icon: icon, size: 's', appearance: 'secondary' });
8
+ return _jsx(ButtonPromoOutline, { icon: icon, size: 's', appearance: 'secondary', onClick: onClick });
9
9
  }
10
10
  return (_jsx("button", { className: styles.buttonBurger, onClick: onClick, children: icon }));
11
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloud-ru/uikit-product-site-header",
3
3
  "title": "Siteheader",
4
- "version": "1.5.0",
4
+ "version": "1.5.2",
5
5
  "sideEffects": [
6
6
  "*.css",
7
7
  "*.woff",
@@ -36,9 +36,9 @@
36
36
  },
37
37
  "scripts": {},
38
38
  "dependencies": {
39
- "@cloud-ru/uikit-product-button-predefined": "1.1.10",
39
+ "@cloud-ru/uikit-product-button-predefined": "1.1.11",
40
40
  "@cloud-ru/uikit-product-icons": "17.1.1",
41
- "@cloud-ru/uikit-product-mobile-modal": "2.0.9",
41
+ "@cloud-ru/uikit-product-mobile-modal": "2.0.10",
42
42
  "@cloud-ru/uikit-product-site-layout": "1.1.3",
43
43
  "@cloud-ru/uikit-product-utils": "9.1.0",
44
44
  "@snack-uikit/alert": "0.16.26",
@@ -52,5 +52,5 @@
52
52
  "peerDependencies": {
53
53
  "@cloud-ru/figma-tokens-web": "*"
54
54
  },
55
- "gitHead": "c88491f28da5f5f1a24dcd839b9ad505d768f4fc"
55
+ "gitHead": "60d8f2c104e870e3828cbda5bb260feecf20b5d0"
56
56
  }
@@ -14,7 +14,7 @@ export function ButtonBurger({ mobileMenuOpen, onClick, appearance }: ButtonBurg
14
14
  const icon = mobileMenuOpen ? <CloseSVG /> : <BurgerSVG />;
15
15
 
16
16
  if (appearance === 'neutral') {
17
- return <ButtonPromoOutline icon={icon} size='s' appearance='secondary' />;
17
+ return <ButtonPromoOutline icon={icon} size='s' appearance='secondary' onClick={onClick} />;
18
18
  }
19
19
 
20
20
  return (