Differentiating toolbars and button groups #5595
Replies: 4 comments 5 replies
-
Hi @rshen91, I'm looking at the storybook preview, are these the same buttons used in Lens? In the past, we started a discussion about adding toolbar buttons in EUI: But it was an early discussion and we need a better spec to know what we should build. At the time, we agreed that @MichaelMarcialis is going to pass us the design spec and after that, we can build the new component. So I think for now the component should live in the |
Beta Was this translation helpful? Give feedback.
-
We would also want to ensure proper aria roles/labels exist, and include a full toolbar component (see #3500) |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Let's attempt to summarize the lot of related topics and propose some action items. To start, there are several components at play:
Re: custom button styles With Borealis, (1) 👉 Proposal part 1: Remove the no-longer-necessary styles instead using (3) Note: this is blocked until the new buttons are added to EUI and Kibana is updated Current custom toolbar buttons in Kibana using New default button styles for Borealis Re: proper toolbar component Related to a comment above, there is an ARIA
This definition likely applies to (2) 👉 Proposal part 2a: Add an ARIA role AND/OR As noted in #7647 , a toolbar exists within (5) 👉 Proposal part 2b: Split the Note: The ARIA Important Unlike the icon-only variant of Data grid toolbar with popover open Re: base button groups In the course of this assessment, it is notable that the variants of Guideline from EUI button group docs
👉 Proposal part 3: Update the docs to reflect the intent of the
|
Beta Was this translation helpful? Give feedback.
-
In working on elastic/kibana#124372, I'm opening this issue to start a discussion if this component should be taken into EUI vs migration into the shared_ux directory.
Beta Was this translation helpful? Give feedback.
All reactions