diff --git a/changelog.md b/changelog.md index fd286aeb8f..70d5c440ac 100644 --- a/changelog.md +++ b/changelog.md @@ -2,11 +2,15 @@ **What's New** * [MainMenuAvatar]: added `RawProps` prop * [MainMenuButton]: removed unnecessary `role` and `aria-haspopup` attributes ([#2733](https://github.com/epam/UUI/pull/2733)) +* [MainMenuButton]: Add `aria-current` attribute with value `page` for active links ([#2734](https://github.com/epam/UUI/pull/2734)) * [CountIndicator]: text size increased for prop 'size' 12px from 8px to 10px -* [MainMenuButton] Add `aria-current` attribute with value `page` for active links ([#2734](https://github.com/epam/UUI/pull/2734)) +* [DropdownMenuBody]: added `maxHeight` prop + **What's Fixed** * [useForm]: reset serverValidationState by valid form save action +* [DropdownMenuButton]: fixed cropping of icons located to the right of the text +* [PresetsPanel]: added scroll to `More` dropdown # 5.12.1 - 17.12.2024 diff --git a/uui/components/filters/PresetPanel/PresetsPanel.tsx b/uui/components/filters/PresetPanel/PresetsPanel.tsx index a47b7a5dc9..4127a23572 100644 --- a/uui/components/filters/PresetPanel/PresetsPanel.tsx +++ b/uui/components/filters/PresetPanel/PresetsPanel.tsx @@ -3,10 +3,10 @@ import { i18n } from '../../../i18n'; import { DataTableState, IHasRawProps, IPresetsApi, ITablePreset, orderBy, } from '@epam/uui-core'; -import { AdaptiveItemProps, AdaptivePanel, ScrollBars } from '@epam/uui-components'; +import { AdaptiveItemProps, AdaptivePanel } from '@epam/uui-components'; import css from './PresetsPanel.module.scss'; import { Button } from '../../buttons'; -import { FlexCell, FlexRow } from '../../layout'; +import { FlexCell, FlexRow, ScrollBars } from '../../layout'; import { Dropdown, DropdownMenuBody, DropdownMenuButton } from '../../overlays'; import { Preset } from './Preset'; import { PresetInput } from './PresetInput'; @@ -65,7 +65,7 @@ export function PresetsPanel(props: PresetsPanelProps) { ) } renderBody={ (propsBody) => ( - + {hiddenItems.map((hiddenItem) => ( { +export interface DropdownMenuContainerProps extends VPanelProps, IHasChildren, DropdownBodyProps, Pick { closeOnKey?: React.KeyboardEvent['key']; minWidth?: number; }