You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***AsideHeader:** add possibility to provide className to the AsideHeaderItem ([#464](https://github.com/gravity-ui/navigation/issues/464)) ([d52b43d](https://github.com/gravity-ui/navigation/commit/d52b43d453ec147e7c1f1e156cfa6ea51125454d))
| afterMoreButton | Элемент будет всегда отображаться в конце списка, даже если не помещается. |`boolean`||
155
155
| category | Категория, к которой относится элемент меню. Используется для группировки в режиме отображения или редактирования всех страниц. |`string`|`"Остальное"``"All other"`|
156
156
| current | Текущий (выбранный) элемент. |`boolean`|`false`|
157
-
| hidden |Видимость элемента в меню. |`boolean`|`false`|
157
+
| hidden |Скрытие элемента в меню, работает с включенным режимом `AllPages`.|`boolean`|`false`|
158
158
| icon | Иконка меню на основе компонента `Icon` из фреймворка UIKit. |[`IconProps['data']`](https://github.com/gravity-ui/uikit/tree/main/src/components/Icon#properties)||
159
159
| iconSize | Размер иконки меню. |`number``string`|`18`|
160
160
| iconQa | Значение, которое будет передано в атрибут `data-qa` контейнера `Icon`. |`string`||
Copy file name to clipboardExpand all lines: src/components/AsideHeader/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The elements will collapse into three dots if there is no vertical space by defa
50
50
51
51
Navigation elements can be in one of two states: collapsed (isCollapsed), where only the icon is visible, and expanded. There is some space for customization of the entire item through a wrapper.
52
52
53
-
With additional configuration via `AllPages` users can further customize menu to their preference by hiding unnecessary items. This brings in a new state for items - pinned/hidden. If item is pinned, it will always be displayed in the section.
53
+
With additional configuration via `AllPages` users can further customize menu to their preference by hiding unnecessary items. This brings in a new state for items - `hidden`. If item is pinned, it will always be displayed in the section.
54
54
55
55
The `onMenuItemsChanged` callback is required for adding extra component `All Pages` which displays panel for editing the list of visible menu items.
| afterMoreButton | The menu item will be placed in the end, even item don't fit |`boolean`||
156
156
| category | The category to which the menu item belongs. Need for grouping in the display/editing mode of all pages |`string`|`"Остальное"``"All other"`|
157
157
| current | The current/selected item |`boolean`|`false`|
158
-
| hidden | Visibility item in the menu|`boolean`|`false`|
158
+
| hidden | Visibility item in the menu, only for AllPages|`boolean`|`false`|
159
159
| icon | Menu icon based on the uikit `Icon` component |[`IconProps['data']`](https://github.com/gravity-ui/uikit/tree/main/src/components/Icon#properties)||
160
160
| iconSize | Menu icon size |`number``string`|`18`|
161
161
| iconQa | The value to be passed to `data-qa` attribute of the `Icon` container |`string`||
| onItemClick | Callback will be called when clicking on the item |`(item: MenuItem, collapsed: boolean, event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void`||
166
166
| onItemClickCapture | Callback will be called when clicking on the item |` (event: React.SyntheticEvent) => void`||
167
167
| order | Determine the display order in the navigation |`number`||
168
-
| pinned | The parameter restricts hiding menu item in the `AllPagesPanel`|`boolean`|`false`|
168
+
| pinned | The parameter restricts hiding menu item |`boolean`|`false`|
169
169
| rightAdornment | Customize right side of the menu item |`React.ReactNode`||
170
170
| title | The menu item title |`React.ReactNode`||
0 commit comments