@alfalab/core-components-navigation-bar 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-navigation-bar",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Navigation bar component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -11,9 +11,10 @@
11
11
  "directory": "dist"
12
12
  },
13
13
  "dependencies": {
14
- "@alfalab/core-components-icon-button": "^6.0.4",
15
- "@alfalab/core-components-button": "^7.0.3",
14
+ "@alfalab/core-components-icon-button": "^6.0.8",
15
+ "@alfalab/core-components-button": "^7.1.1",
16
16
  "@alfalab/core-components-typography": "^3.2.0",
17
+ "@alfalab/hooks": "^1.13.0",
17
18
  "@alfalab/icons-glyph": "^2.89.0",
18
19
  "classnames": "^2.3.1",
19
20
  "tslib": "^2.4.0"
package/types.d.ts CHANGED
@@ -100,9 +100,9 @@ type NavigationBarProps = {
100
100
  */
101
101
  view: 'desktop' | 'mobile';
102
102
  /**
103
- * Ссылка на родительскую ноду.
103
+ * Ссылка на родительскую ноду overflow: auto
104
104
  */
105
- parentRef?: React.RefObject<HTMLDivElement>;
105
+ scrollableParentRef?: React.RefObject<HTMLDivElement>;
106
106
  };
107
107
  type ContentParams = {
108
108
  extraClassName?: string;