- Added the
AnimatedTransitionwidget. This widget detects changes in child elements and animates them. It can be applied in various scenarios, such as loading screens and updates to child elements.
-
Fixed an issue where the sizes of both parent and child elements in
AnimatedTransitionwere not being calculated correctly due to all child elements being absolute position applied. -
Added an option that is whether to using memo(cache, recycle) into the
ConditionalRenderwidget.
- Added the
Invisiblewidget. Under the assumption that the size of the child element is explicitly known, this widget excludes the child element from both rendering and reflow if the element is not visible, significantly improving performance.
-
Fixed an issue in the
AnimatedFoldablewidget where the non-visible state was affected by changes in the size of its children, causing the height of the layout to change or break. -
Fixed an issue where elements in the
Invisiblewidget were only rendered if they were fully visible. Now, elements will be rendered as long as they are partially visible, even if only 0.1% of the element is in view. -
Fixed an issue where the transition animation was applied to the line indicator element in the
TabNavigationwidget when the initial index was a positive number instead of 0.
-
Fixed an issue by modifying the
AnimatedSizewidget to exclude the wrapping element from layout calculations when not in animation state, optimizing performance. -
Updated the README.md to provide more detailed explanations and clarifications throughout the project documentation.
- Fixed an issue about
AnimatedSizewidget.
- Fixed an issue where the
AnimatedWidgetwidget could not accurately define its previous intrinsic size of the element.
- Fixed an issue where an exception occurred while the
Canvaswidget was detecting size changes. - Updated the
Canvaswidget to ensure it redraws even after being recomposed.
-
Fixed an issue where the scrollbar would appear in the
Scrollablewidget despite being defined as false, due to CSS priority differences in the development environment. -
Updated the
Gridwidget to ensure react ref hooks work correctly. -
Updated the
Rowwidget to ensure react ref hooks work correctly. -
Updated the
Colunnwidget to ensure react ref hooks work correctly.
- Added widget
AnimatedFoldable.Bidirectional, which combines the functionality of the existing Vertical and Horizontal widgets into a single component, enabling seamless bidirectional animations. - Fixed an issue where the ref was not applied to the
Scrollable.VerticalandScrollable.Horizontalwidget by usingforwardReffunction. - Added widget
AnimatedSlider.Horizontal.