diff --git a/libs/sdk-ui-kit/api/sdk-ui-kit.api.md b/libs/sdk-ui-kit/api/sdk-ui-kit.api.md index 0cb2142498f..42ebaa2396a 100644 --- a/libs/sdk-ui-kit/api/sdk-ui-kit.api.md +++ b/libs/sdk-ui-kit/api/sdk-ui-kit.api.md @@ -1479,6 +1479,8 @@ export interface IDropdownBodyRenderProps { // @internal (undocumented) export interface IDropdownButtonProps { + // (undocumented) + ariaLabel?: string; // (undocumented) children?: ReactNode; // (undocumented) diff --git a/libs/sdk-ui-kit/src/Dropdown/DropdownButton.tsx b/libs/sdk-ui-kit/src/Dropdown/DropdownButton.tsx index 22552c14719..929125ec8d2 100644 --- a/libs/sdk-ui-kit/src/Dropdown/DropdownButton.tsx +++ b/libs/sdk-ui-kit/src/Dropdown/DropdownButton.tsx @@ -1,4 +1,4 @@ -// (C) 2007-2024 GoodData Corporation +// (C) 2007-2025 GoodData Corporation import React, { ReactNode } from "react"; import cx from "classnames"; import { Button } from "../Button/Button.js"; @@ -12,6 +12,7 @@ export interface IDropdownButtonProps { value?: ReactNode; title?: string; + ariaLabel?: string; disabled?: boolean; isOpen?: boolean; @@ -32,6 +33,7 @@ export const DropdownButton: React.FC = ({ value, title = value, + ariaLabel, disabled, isOpen, @@ -57,6 +59,7 @@ export const DropdownButton: React.FC = ({