Commit Graph

1038 Commits

Author SHA1 Message Date
Masen Furer
f5f7dccde5
bump to 0.3.10 2024-02-05 16:10:21 -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
Thomas Brandého
ba3de9b9e9
fix icon_button to size children lucide icon correctly. (#2515) 2024-02-02 12:23:31 -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
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
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
jackie-pc
80c9eb34e4
Rework telemetry to support installation_id (#2480) 2024-01-31 11:39:48 -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
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
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
Martin Xu
3c7356ac3c
remove modal prop from dialog (#2470) 2024-01-28 15:56:45 -08:00
Tom Gotsman
14e35e51ee
add separator default width to fill the container (#2459) 2024-01-28 15:51:11 -08:00
Nikhil Rao
d68de02bc8
Revert "Individually Import Chakra Packages (#2405)" (#2472) 2024-01-28 15:39:59 -08:00
Alek Petuskey
670faf291a
[WIP] rx.color (#2443)
* Color module intial commit

* Improvments

* Update reflex/constants/colors.py

Co-authored-by: Masen Furer <m_github@0x26.net>

* Comments+tests

* Fix import

---------

Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
Co-authored-by: Masen Furer <m_github@0x26.net>
Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MacBook-Pro.local>
2024-01-28 14:06:08 -08:00
Tom Gotsman
8203b888fe
minor update to callout (#2466)
* minor update to callout

* pyi changes

---------

Co-authored-by: Tom Gotsman <tomgotsman@toms-mbp.lan>
2024-01-26 15:39:19 -08:00
Masen Furer
52d2bccbca
[REF-1746] Define value prop on base rx.el.textarea (#2467) 2024-01-26 15:11:22 -08:00
benedikt-bartscher
08524e22aa
pyi generator git diff (#2460) 2024-01-26 14:21:25 -08:00
wassaf shahzad
069892d8ee
fixed issue with hypens (#2450) 2024-01-26 14:14:46 -08:00
Elijah Ahianyo
aad009e5df
Accordion style merge issue fix (#2446) 2024-01-26 14:12:18 -08:00
Masen Furer
a2e0807dc1
Chakra IconButton comes from "@chakra-ui/button@2.1.0" package (#2465) 2024-01-26 14:10:51 -08:00
benedikt-bartscher
4219a78e7c
use multiprocessing to speed up pyi generation (#2453) 2024-01-25 13:46:15 -08:00
Tom Gotsman
8ae67f89e3
small changes to texfield and separator (#2448) 2024-01-25 13:36:32 -08:00
Alek Petuskey
00a8054850
Individually Import Chakra Packages (#2405)
* Base lib switch

Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2024-01-25 10:22:46 -08:00
benedikt-bartscher
5cc1ecfe4a
fix SmartDisplay visible parameter (#2451) 2024-01-24 17:41:16 -08:00