-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated PF dropdown with latest version #1241
Comments
@gitdallas Note: I did this in KebabDropdown in #1126 and then had to revert it in #1150. Might be able to start by just reverting that revert (and then making sure |
@gitdallas, @mturley, |
@gildub - it looks like kebab dropdown is used often, so it would reduce some duplicated code. turley's pr appears to be doing it the same way as PF's example https://www.patternfly.org/components/menus/dropdown#with-kebab-toggle |
Yeah I think this may be a case where the PF component is more verbose now for the sake of composability, but that introduces a bunch of repetition if we don't abstract it into our own component. Personally I think it's a good compromise: we can still keep things in our components clean and terse, but we have flexibility to adjust the structure in the future without needing PF changes. |
@gildub - were you still planning to work on this one? |
i've started now |
removed all instances of deprecated dropdown related imports (dropdown, dropdownItem, dropdownGroup, dropdownToggle, etc) closes #1241 --------- Signed-off-by: gitdallas <[email protected]>
Will require some refactoring. Several use cases of
Dropdown
,DropdownItem
,DropdownGroup
,DropdownToggle
KebabToggle
,DropdownToggleCheckbox
https://www.patternfly.org/components/menus/dropdown
The text was updated successfully, but these errors were encountered: