Skip to content

Release 1.3.0

Choose a tag to compare

@yeonhub yeonhub released this 03 Feb 05:17
· 5 commits to main since this release
bb56b9f

Renamed the CollapsedTopSheetContent and ExpandedTopSheetContent props to CollapsedContent and ExpandedContent for consistency.

Additionally, the following changes were made:

  • Validation of damping and stiffness values:
    The clampValue function was updated to ensure that the damping and stiffness values are within their defined ranges.
  • Deprecated prop warning:
    A warning was added for users who are still using the old props (CollapsedTopSheetContent, ExpandedTopSheetContent).
Prop Name Old Prop New Prop Range (if applicable)
CollapsedTopSheetContent CollapsedTopSheetContent CollapsedContent -
ExpandedTopSheetContent ExpandedTopSheetContent ExpandedContent -
damping - - 1 to 100
stiffness - - 1 to 500

This change is backward compatible, but users are encouraged to update their code to use the new props.