ChangeLog
Latest updates and announcements.
April 26,2025
ComboBox
has been renamed toSelect
.TabBar
has been renamed toTabs
.- Select Component Changes:
-
Trigger Height Adjustment:
Removed
padding-top
andpadding-bottom
from theSelectTrigger
. Replaced with a fixedheight
instead for better alignment and consistency. -
Responsiveness Removal:
Removed responsive (
sm:px-3
sm:py-2
) properties from the Select components.Reason: Having different styles across screen sizes can create confusion for users, especially since they are consuming the component through an npm package and might not be aware of the underlying responsive behavior. To provide a more consistent and predictable experience, the Select components are now non-responsive by default.
We may consider adding responsive support by allowing users to pass responsive props in the future. For now, we prefer to keep the component simple and consistent.
-
Added Size Variations:
Introduced
small
,medium
, andlarge
size options for the Select components:Size Trigger Classes Notes Small h-8 px-3 w-44
(orw-full
)Medium h-10 px-4 w-44
(orw-full
)Default option Large h-11 px-4 w-44
(orw-full
) -
Select Content Behavior:
SelectContent
remains unchanged across all sizes. However, its width will match theSelectTrigger
width.(e.g., if
SelectTrigger
usesw-44
, thenSelectContent
will also havew-44
.) -
Select Item Sizes:
Adjusted padding based on size:
Size Item Classes Small w-full px-3 py-1.5
Medium w-full px-4 py-2
Large w-full px-4 py-2.5