reflex/tests/components
Masen Furer 3350fa0388
Component: translate underscore suffix for props supported by chakra (#2636)
* 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
2024-02-15 20:46:06 -08:00
..
base RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
core Get rx.color working with fstrings (#2562) 2024-02-09 17:06:55 -08:00
datadisplay Top-level namespace tweaks (#2523) 2024-02-05 11:14:02 -08:00
forms Merge remote-tracking branch 'origin/main' into reflex-0.4.0 2024-02-07 13:53:39 -08:00
graphing DataFrame Serializer fix (#2281) 2023-12-12 14:03:40 -08:00
layout Fix fstrings being escaped improperly (#2571) 2024-02-13 14:32:44 -08:00
media Use rx.el.img as rx.image (#2558) 2024-02-08 14:44:53 -08:00
typography [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
__init__.py Add basic unit tests (#7) 2022-11-20 14:34:25 -08:00
test_component.py Component: translate underscore suffix for props supported by chakra (#2636) 2024-02-15 20:46:06 -08:00
test_tag.py fixed issue with hypens (#2450) 2024-01-26 14:14:46 -08:00