reflex/tests
Masen Furer 4206afeb7b
[REF-1958] Remove shadowed radix css props (#2590)
* style: shorthand replacements need camelCase

Avoid warning on terminal and in browser console from using kebab-case CSS
props with emotion.

* _rename_props only replace prop name once

In case the value also contains the prop name, we don't want to replace it
multiple times.

* pyi_generator: ignore _rename_props in create signature

* Avoid shadowing CSS prop `display` and `gap`

Replace usages of `gap` with `spacing` to retain Radix sizing number system,
while allowing users to specify a responsive `gap` using CSS units.

Remove `display` props from radix components, allowing `display` to accept
responsive lists.

* checkbox: apply `gap` to `flex` if provided

* Remove _rename_props from .create signatures

* Fix spacing prop in blank template

* Fixup tests after changing style shorthand to return camelCase
2024-02-13 10:06:28 -08:00
..
compiler [REF-889] useContext per substate (#2149) 2023-11-21 11:52:06 -08:00
components [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
middleware [REF-201] Separate on_load handler from initial hydration (#1847) 2023-11-30 12:21:15 -08:00
states RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
utils rx.color to work with conditional vars (#2546) 2024-02-08 11:45:15 -08:00
__init__.py RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
conftest.py [REF-201] Separate on_load handler from initial hydration (#1847) 2023-11-30 12:21:15 -08:00
test_app.py Merge remote-tracking branch 'origin/main' into reflex-0.4.0 2024-02-07 13:53:39 -08:00
test_base.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
test_config.py Added Environmental variable REFLEX_DIR (#2457) 2024-01-30 18:18:29 -08:00
test_db_config.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
test_event.py RED-1052/rx.State as Base State (#2146) 2023-11-29 09:43:33 -08:00
test_model.py supply default for sqlmodel PK for both DB and python to work (#1788) 2023-09-08 14:51:57 -07:00
test_prerequisites.py Skip frontend packages install if previously done (#2400) 2024-01-16 17:52:28 -08:00
test_route.py Allow underscores in routes (#1713) 2023-09-08 12:18:33 -07:00
test_state.py apps should no longer call "app.compile()" (#2291) 2023-12-18 16:06:21 -08:00
test_style.py [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
test_telemetry.py test_telemetry fails for Python Version 3.11.0rc1 (#2431) 2024-01-24 12:30:22 -08:00
test_testing.py Avoid passing props to lists and list items (#2326) 2023-12-21 15:58:45 -08:00
test_var.py Fix operator precedence (#2573) 2024-02-12 19:30:25 -08:00