![]() * Component: translate underscore suffix for props supported by chakra type_ becomes type min_ becomes min max_ becomes max id_ becomes id The deprecation warning is only displayed when the underscore suffix prop is passed and the non-underscore suffix prop is defined on the given component. * Rename type_ to type in accordion and scroll_area All of the new radix components avoid the underscore suffix names where possible. * Update deprecation warning wording * Refactor for readability * Do not raise deprecation warning for `id_` id is kind of a special prop because it exists on all components * Add test case for deprecating underscore suffix props |
||
---|---|---|
.. | ||
components | ||
layout | ||
typography | ||
__init__.py | ||
base.py | ||
base.pyi | ||
color_mode.py | ||
color_mode.pyi |