Khaleel Al-Adhami
b1d449897a
unionize base var fields types ( #4153 )
...
* unionize base var fields types
* add tests
* fix union types for vars (#4152 )
* remove 3.11 special casing
* special case on version
* fix old versions of python
---------
Co-authored-by: Masen Furer <m_github@0x26.net>
2024-10-11 17:27:15 -07:00
benedikt-bartscher
0889276e24
Do not auto-determine generic args if already supplied ( #4148 )
...
* add failing test for figure_out_type
* do not auto-determine generic args if already supplied
* move has_args to utils.types, add tests for it
2024-10-11 17:08:39 -07:00
Masen Furer
736b2a6ea9
Handle rx.State subclasses defined in function ( #4129 )
...
* Handle rx.State subclasses defined in function
* create a new container module: `reflex.istate.dynamic` to save references to
dynamically generated substates.
* for substates with `<locals>` in the name, copy these to the container module
and update the name to avoid duplication.
* add test for "poor man" ComponentState
Fix #4128
* test_state: disable local def handling for dupe-detection test
* Track the original module and name for type hint evaluation
Also use the original name when checking for the "mangled name" pattern when
doing undeclared Var assignment checking.
2024-10-11 16:51:10 -07:00
Masen Furer
a2862bd102
Allow setting a different invocation function for EventChain ( #4160 )
...
In rx.call_script scenario, the EventChain must call `queueEvents` and
`processEvent` instead of `addEvents`, because the former are in scope in the
call_script eval environment where `addEvents` is not.
This is an escape hatch for certain wrapping scenarios.
2024-10-11 16:49:40 -07:00
Khaleel Al-Adhami
0311dae568
only read if it's *not* empty ( #4165 )
2024-10-11 16:49:01 -07:00
Khaleel Al-Adhami
1eb92fa39b
change bun install link to main ( #4164 )
2024-10-11 15:51:30 -07:00
Khaleel Al-Adhami
189700ecb3
Change bun link ( #4162 )
...
* change bun to download from us
* make it use branch
2024-10-11 15:43:54 -07:00
Khaleel Al-Adhami
210c1ed902
fix union types for vars ( #4152 )
2024-10-11 11:39:31 -07:00
Carlos
3da1a8d082
default props comment for Axis ( #4109 )
...
* default props comment for Axis
* update
2024-10-10 15:10:42 -07:00
Carlos
efd633e76a
default props comment for Pie ( #4103 )
2024-10-10 15:10:28 -07:00
Carlos
c3d7cd0da1
default props comment for PolarRadiusAxis ( #4108 )
...
* default props comment for PolarRadiusAxis
* update
2024-10-10 15:10:11 -07:00
Carlos
ec6990fb71
default props comment for RadialBar ( #4105 )
...
* default props comment for RadialBar
* update
2024-10-10 13:04:49 -07:00
Carlos
ee3182a2df
default props comment for Cartesian ( #4114 )
...
* default props comment for Cartesian
* add animation events
* update
2024-10-10 13:00:23 -07:00
Carlos
4a314394fd
default props comment for ErrorBar ( #4120 )
...
* default props comment for ErrorBar
* union int float
* update
2024-10-10 12:59:38 -07:00
Carlos
132a3d4d1d
default props comment for Funnel ( #4119 )
...
* default props comment for Funnel
* update
2024-10-10 12:58:38 -07:00
Carlos
11abaf8055
default props comment for Grid ( #4125 )
2024-10-10 12:57:46 -07:00
Thomas Brandého
6f586c8b8f
let users pick state manager mode ( #4041 )
2024-10-10 12:22:35 -07:00
benedikt-bartscher
1aed39a848
catch ValueError("I/O operation on closed file.") if frontend crashes ( #4150 )
2024-10-10 12:18:57 -07:00
Khaleel Al-Adhami
8ec3cf6157
remove dictify from state dict ( #4141 )
2024-10-10 12:18:18 -07:00
abulvenz
87648af3ee
fix: Determine var type from value. ( #4143 )
2024-10-09 17:33:34 -07:00
benedikt-bartscher
7a971e5842
fix docstring ( #4140 )
2024-10-09 13:42:44 -07:00
Khaleel Al-Adhami
91ab8ac574
Remove wrong event handlers ( #4136 )
...
* remove wrong target value
* add keyboard event
* simplify empty ones
* remove events from text_area
* empty tuples are empty bruh
* dangit darglint
2024-10-09 13:25:41 -07:00
Thomas Brandého
60b6d4e7f2
only run macOS job on merge ( #4139 )
...
* update workflow
* skip more in unit tests
* try something else to prevent adding macos job to pool
* exclude too much
* fix units-text with macOS excluded
* also drop macOS job in integration tests
* readd macos job separately to only run on merge
2024-10-09 13:24:03 -07:00
ruhz3
f3b8b2e336
First use environment variable as npm registry ( #4082 )
...
* First use environment variable as npm registry
* use NPM_CONFIG_REGISTRY as env variable
---------
Co-authored-by: 류형주/인공지능팀 <hyungju.ryu@ahnlab.com>
2024-10-09 11:36:33 -07:00
Nguyễn Minh Phú
0e7627d1c4
Add Vietnamese README docs ( #4138 )
2024-10-09 08:58:08 -07:00
Carlos
ffcf87d587
default props comment for Radar ( #4104 )
2024-10-08 17:00:42 -07:00
Carlos
535c8f904d
default props comment for funnelchart ( #4097 )
2024-10-08 16:54:45 -07:00
Carlos
c244418aaa
default props comment for Reference ( #4121 )
2024-10-08 16:51:36 -07:00
Carlos
4a3fd592e9
default props comment for PolarGrid ( #4107 )
2024-10-08 16:51:26 -07:00
Carlos
ce8695c14c
default props comment for categoricalchartbase ( #4091 )
2024-10-08 16:45:43 -07:00
Carlos
65c174ed78
areachart default value for base_value ( #4090 )
2024-10-08 16:45:29 -07:00
Carlos
240b12a7f3
default props comment for composedchart ( #4093 )
2024-10-08 16:45:18 -07:00
Carlos
068b3bab42
default props comment for barchart ( #4092 )
2024-10-08 16:42:41 -07:00
Carlos
1bf8c7728e
default props comment for radialbarchart ( #4095 )
2024-10-08 16:42:32 -07:00
Carlos
32a3cb61c1
default props comment for radarchart ( #4094 )
2024-10-08 16:41:40 -07:00
Carlos
b0de28208f
default props comment for scatterchart ( #4096 )
2024-10-08 16:30:34 -07:00
Carlos
2f8205216a
default props comment for ResponsiveContainer ( #4099 )
2024-10-08 16:28:15 -07:00
Carlos
9f11b83fa9
default props comment for treemap ( #4098 )
2024-10-08 16:25:47 -07:00
Carlos
f05da7cead
default props comment for LabelList ( #4102 )
2024-10-08 16:17:59 -07:00
Carlos
2718cb51eb
default props comment for PolarAgnleAxis ( #4106 )
2024-10-08 16:17:14 -07:00
Carlos
e633cd0385
default props comment for Legend ( #4100 )
2024-10-08 16:11:32 -07:00
Carlos
9c7de9b189
default props comment for XAxis ( #4110 )
...
* default props comment for XAxis
* axis id
2024-10-08 16:09:03 -07:00
Carlos
19df34d941
default props comment for YAxis ( #4111 )
...
* default props comment for YAxis
* axis id
2024-10-08 16:07:24 -07:00
Carlos
c3b7caaf13
default props comment for ZAxis ( #4112 )
2024-10-08 16:06:05 -07:00
Carlos
4843081089
default props comment for Brush ( #4113 )
2024-10-08 16:05:22 -07:00
Carlos
7b88c54d13
default props comment for Bar ( #4116 )
2024-10-08 15:58:22 -07:00
Carlos
2652a04be8
default props comment for Line ( #4117 )
2024-10-08 15:57:11 -07:00
Carlos
abf0329cd9
default props comment for Area ( #4115 )
2024-10-08 15:56:11 -07:00
Carlos
be980c6b1e
default props comment for Scatter ( #4118 )
2024-10-08 15:54:42 -07:00
Carlos
567cf7ea38
default props comment for ReferenceArea ( #4124 )
2024-10-08 15:49:30 -07:00