github-actions
released this
27 Feb 09:39
·
1408 commits
to main
since this release
Added
- Added
Collapsible
component. - Added support for
defaultExpandedIds
in theTreeView
component.
Changed
- Enhanced the performance of the Ark
factory
by utilizingmemo
to avoid unnecessary re-renders. - Integrated
Collapsible
intoAccordion
, allowing theAccordion
component to utilizeCollapsible
for animating the opening and closing of content.d
@keyframes slideDown {
from {
height: 0;
}
to {
height: var(--height);
}
}
@keyframes slideUp {
from {
height: var(--height);
}
to {
height: 0;
}
}
[data-scope='accordion'][data-part='item-content'][data-state='open'] {
animation: slideDown 250ms;
}
[data-scope='accordion'][data-part='item-content'][data-state='closed'] {
animation: slideUp 200ms;
}
Fixed
- Updated the return type of
createToaster
for comprehensive IntelliSense support when styling theToaster
component. - Revised
TreeView
to utilizedefaultSelectedIds
instead ofdefaultFocusedId
. - Resolved an issue with using
factory
in Next.js projects. - Fixed a bug where the disabled
Tooltip
would flash upon hovering and clicking the trigger.