Masen Furer
c94efd434c
bump to 0.3.10 ( #2530 )
2024-02-05 16:44:10 -08:00
jackie-pc
0f3857ec9a
inline memoize components in compiled page files, to prevent hot reload errors ( #2527 )
2024-02-05 12:31:06 -08:00
Masen Furer
660113fcf9
Merge remote-tracking branch 'origin/main' into reflex-0.4.0
2024-02-05 11:41:40 -08:00
Masen Furer
f99c48806a
Top-level namespace tweaks ( #2523 )
...
* pyi_generator: always ignore files starting with `tests`
* Move CodeBlock out of chakra namespace
* Expose additional names in the top-level namespace
* code pyi fixup
* expose input and quote at the top-level
* add text_field to top-level namespace (maybe)
* fixup chakra code.pyi
* Remove `text_field` from top level namespace
* Remove top-level big C Cond
* fixup top level pyi
2024-02-05 11:14:02 -08:00
Martin Xu
1bf4e23bf3
add dropdown primitive props ( #2521 )
2024-02-04 18:57:33 -08:00
Alek Petuskey
5589cbbfc2
Refactor rx.color ( #2522 )
...
* Refactor
* Lint
* Change name space to top level
* Update test
* Lint
* Fix pyright
* Update pyi
---------
Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
Co-authored-by: Nikhil Rao <nikhil@reflex.dev>
2024-02-04 15:39:07 -08:00
Nikhil Rao
05d1be2182
Move core components to radix namespace ( #2506 )
2024-02-02 14:26:46 -08:00
Masen Furer
8a3cec11cd
Merge remote-tracking branch 'origin/main' into reflex-0.4.0
2024-02-02 13:50:41 -08:00
Thomas Brandého
ba3de9b9e9
fix icon_button to size children lucide icon correctly. ( #2515 )
2024-02-02 12:23:31 -08:00
Masen Furer
2f70e3e43a
[REF-1839] Reserve top-level __call__ for a future high level API ( #2518 )
...
* Reserve top-level __call__ for a future high level API
Instead of aliasing the top-level `__call__` to `.root`, require users
to explicitly call `.root` to avoid breakage when a future high level
API gets implemented and takes over the top-level `__call__`
Fix REF-1839
* alertdialog: forgot this one
2024-02-02 12:16:59 -08:00
Alek Petuskey
02e626465c
Add comment for theme panel needed for docs ( #2508 )
...
* Add comment for theme panel needed for docs
* update pyi
---------
Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
Co-authored-by: Masen Furer <m_github@0x26.net>
2024-02-02 09:41:27 -08:00
benedikt-bartscher
9ce4e85050
fix appharness regex for functions with return type ( #2512 )
2024-02-02 09:35:44 -08:00
Masen Furer
35b20d26b5
Merge remote-tracking branch 'origin/main' into reflex-0.4.0
2024-02-02 08:39:10 -08:00
Masen Furer
6d33156d15
Move is_used
to Upload component rather than UploadFilesProvider ( #2514 )
2024-02-01 17:57:43 -08:00
Tom Gotsman
1b4229691a
All event handlers inherit from event triggers ( #2507 )
...
* update to ensure every radix component only inherits events from EventTriggers class
* update the naming of event handlers to swap name on_value_change and on_checked_change to on_change
* update to call _replace_prop_names in component.py
* small darglint error fix
* update to ensure every radix component only inherits events from EventTriggers class
* update the naming of event handlers to swap name on_value_change and on_checked_change to on_change
* update to call _replace_prop_names in component.py
* small darglint error fix
* updates to pass pytest tests
* small fix
* duplicate removal
---------
Co-authored-by: Tom Gotsman <tomgotsman@toms-mbp.lan>
2024-02-01 16:11:15 -08:00
Martin Xu
768e3fc8ac
Update hosting CLI version in the poetry lock: 0.1.3 -> 0.1.6 ( #2503 )
2024-01-31 16:06:44 -08:00
Martin Xu
c067033ed0
radix Theme panel_background prop: transparent -> translucent ( #2504 )
2024-01-31 16:06:23 -08:00
Masen Furer
aa4bdf53d5
enable CI on reflex-0.4.0 branch ( #2502 )
2024-01-31 16:06:04 -08:00
Masen Furer
9c086163df
[REF-1631] Clean up the rx.radix namespace ( #2501 )
2024-01-31 15:32:17 -08:00
Martin Xu
38845db60c
Add props from Radix tooltip primitives to tooltip component ( #2499 )
...
* add tooltip primitives props to tooltip
* ruff
2024-01-31 14:21:34 -08:00
Nikhil Rao
5176a7cb14
Support component create methods as keys in global styles ( #2498 )
2024-01-31 12:25:18 -08:00
Masen Furer
4df279b060
Merge remote-tracking branch 'origin/main' into reflex-0.4.0
2024-01-31 12:06:51 -08:00
jackie-pc
80c9eb34e4
Rework telemetry to support installation_id ( #2480 )
2024-01-31 11:39:48 -08:00
Masen Furer
a5302f1866
[0.4.0] Namespace the Drawer primitive subcomponents ( #2492 )
2024-01-31 11:39:13 -08:00
jackie-pc
80dce21ac0
Revert "Revert "use process pool to compile faster ( #2377 )" ( #2434 )" ( #2497 )
2024-01-31 11:38:28 -08:00
Tianze
a14575009c
Minor fix on path to make it work in Windows ( #2494 )
2024-01-31 10:00:41 -08:00
wassaf shahzad
84a2bb9671
Added Environmental variable REFLEX_DIR ( #2457 )
2024-01-30 18:18:29 -08:00
Elijah Ahianyo
d2fd0d3b92
[REF-1742] Radio group prop types fix ( #2452 )
2024-01-30 18:14:20 -08:00
Masen Furer
e12b15f1fe
[REF-1738] Remove radix-specific layout/margin props ( #2442 )
2024-01-30 16:58:28 -08:00
Nikhil Rao
27b9a10233
Merge branch 'main' into reflex-0.4.0
2024-01-30 16:48:38 -08:00
Nikhil Rao
833507b73a
Fix accordion pyi ( #2491 )
2024-01-30 16:12:50 -08:00
benedikt-bartscher
be7f7969ed
improve sqlalchemy type parsing ( #2474 )
...
* improve sqlalchemy type parsing
* add support for propertys and relationships
* cleanup duplicate property check
* avoid confusion, improve readability
2024-01-30 15:57:56 -08:00
jackie-pc
032017df3a
simple pytest benchmark for measuring event <=> state update round trip time ( #2489 )
2024-01-30 15:55:55 -08:00
Thomas Brandého
6cf411aeb3
add center / spacer / hstack / vstack in radix/themes/layout ( #2331 )
2024-01-30 15:39:22 -08:00
Masen Furer
2782c0fe3c
Fix pyi_generator relative path determination ( #2485 )
2024-01-30 15:03:15 -08:00
Thomas Brandého
1d6da9010e
fix color of icon to match theme ( #2488 )
2024-01-30 14:31:57 -08:00
Thomas Brandého
0b3693f744
fix kebab case for icon ( #2487 )
2024-01-30 14:31:47 -08:00
Masen Furer
8ecfd07668
Radix themes: replace color_scheme
with color
in get_fields ( #2486 )
2024-01-30 14:08:18 -08:00
Tianze
209c5fab7b
Tabs validate parent is proper tab container ( #2463 )
2024-01-30 11:45:00 -08:00
Martin Xu
3ff88390c2
Add git precommit hook that generates pyi files ( #2447 )
2024-01-29 20:32:36 -08:00
Martin Xu
0378b2aa3a
Radix primitive based Drawer component ( #2445 )
2024-01-29 20:32:11 -08:00
Masen Furer
bd9d6e6789
Radix Primitive Component Namespaces
...
Expose subcomponents of radix primitives wrapped in a SimpleNamespace with a
__call__ method that points to the high-level API entry point.
2024-01-29 17:38:58 -08:00
Masen Furer
763c1c1f07
pyi_generator: Generate stubs for SimpleNamespace
classes
...
If the namespace assigns `__call__` to an existing component `create` function,
generate args and docstring for IDE integration.
2024-01-29 17:38:58 -08:00
Masen Furer
bece5bdb44
[REF-1632] Apply rx.App
styles to Radix Themes root div
( #2481 )
2024-01-29 16:58:05 -08:00
Kumara Guru M
3b1443e76f
Update meta parameter to accept a list of any type ( #2477 )
2024-01-29 16:52:28 -08:00
Martin Xu
b6f4422378
Use form_root as form high level API ( #2479 )
2024-01-29 13:42:01 -08:00
Elijah Ahianyo
3a97a10d92
Pass down themes for rx.cond
and rx.match
( #2432 )
2024-01-29 12:03:36 -08:00
Thomas Brandého
11f6d7ccef
add lucide icons as a candidate for core icon library ( #2444 )
2024-01-29 11:43:00 -08:00
Nikhil Rao
01c2a1ed7d
Set correct type when indexing into Var[str] ( #2469 )
...
* Index into strings
* Write tests
2024-01-28 21:57:02 -08:00
Masen Furer
b2c749fc9f
[REF-1763] Rename color
to color_scheme
in all radix themes components ( #2468 )
2024-01-28 16:54:01 -08:00