reflex/scripts
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
..
benchmarks.sh Add benchmarking tests (#2143) 2023-11-08 17:41:08 -08:00
darglint_test.bat Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
integration.sh Docstrings for radix components (#2407) 2024-01-24 12:39:05 -08:00
migrate_project_to_rx_chakra.py CLI script to maintain Chakra backed components in rx namespace in older apps (#2322) 2024-02-08 11:12:20 -08:00
pyi_generator.py [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
wait_for_listening_port.py fail faster in integration test (#1493) 2023-08-01 16:19:39 -07:00