[tabs] Consolidate the "active" element API #1074
Labels
breaking change
component: tabs
This is the name of the generic UI component, not the React module!
component: toggle button
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Tabs uses a mix of "selected" and "active" language in the API:
data-selected
attributedata-activation-direction
attribute--active-tab-bottom
,--active-tab-height
, etcactivateOnFocus
propOption 1
Converge with the Select component on "selected":
data-selected
--selected-tab-bottom
,--selected-tab-height
selectOnFocus
Option 2
Use "active" language as it might sound more natural:
data-active
--active-tab-bottom
,--active-tab-height
activateOnFocus
We could consider using
active
for Toggle instead ofpressed
as that one kind of sticks out too, and doesn't make sense withselected
Search keywords:
The text was updated successfully, but these errors were encountered: