reflex/reflex/components/base
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
..
__init__.py Refactor chakra components into separate folder (#2315) 2023-12-21 09:52:08 -08:00
app_wrap.py Refactor chakra components into separate folder (#2315) 2023-12-21 09:52:08 -08:00
app_wrap.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
bare.py [REF-889] useContext per substate (#2149) 2023-11-21 11:52:06 -08:00
body.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
body.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
document.py Refactor chakra components into separate folder (#2315) 2023-12-21 09:52:08 -08:00
document.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
fragment.py Refactor chakra components into separate folder (#2315) 2023-12-21 09:52:08 -08:00
fragment.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
head.py Generalize MemoizationLeaf Component mixin (#2247) 2023-12-01 11:41:11 -08:00
head.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
link.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
link.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
meta.py Fix project hash and modernize type annotations (#1704) 2023-08-31 17:04:39 -07:00
meta.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00
script.py Remove 0.3.0 deprecated features (#1947) 2023-10-19 09:44:32 -07:00
script.pyi [REF-1958] Remove shadowed radix css props (#2590) 2024-02-13 10:06:28 -08:00