diff --git a/.changeset/fix-expandableDropdown.md b/.changeset/fix-expandableDropdown.md index 995c7f901..c0a4a1169 100644 --- a/.changeset/fix-expandableDropdown.md +++ b/.changeset/fix-expandableDropdown.md @@ -2,4 +2,4 @@ 'react-magma-dom': patch --- -fix(Dropdown): Fixes from QA review of the Dropdown Expandable sub component. +fix(Dropdown): Fixes from QA review of the Dropdown Expandable sub component disabled states. diff --git a/.changeset/fix-expandableDropdownDisabled.md b/.changeset/fix-expandableDropdownDisabled.md new file mode 100644 index 000000000..11bf748e3 --- /dev/null +++ b/.changeset/fix-expandableDropdownDisabled.md @@ -0,0 +1,5 @@ +--- +'react-magma-dom': patch +--- + +feat(DropdownExpandableMenu): A new menu item display for the Dropdown component which enables expandable lists by one level. diff --git a/packages/react-magma-dom/src/components/Dropdown/DropdownExpandableMenuListItem.tsx b/packages/react-magma-dom/src/components/Dropdown/DropdownExpandableMenuListItem.tsx index 03ca3b446..ddfd21c62 100644 --- a/packages/react-magma-dom/src/components/Dropdown/DropdownExpandableMenuListItem.tsx +++ b/packages/react-magma-dom/src/components/Dropdown/DropdownExpandableMenuListItem.tsx @@ -33,7 +33,7 @@ export const DropdownExpandableMenuListItem = React.forwardRef< HTMLDivElement, DropdownExpandableMenuListItemProps >((props, forwardedRef) => { - const { children, ...other } = props; + const { children, disabled, ...other } = props; const ownRef = React.useRef(); const theme = React.useContext(ThemeContext);