Masen Furer
9446a1e99f
[REF-1705] Do not overwrite Var attributes during format ( #2421 )
2024-01-19 15:17:00 -08:00
benedikt-bartscher
1aca1b677f
fix is_backend_variable for dunder prefixed variables ( #2391 )
2024-01-16 17:37:05 -08:00
Elijah Ahianyo
abfc099779
rx.match component ( #2318 )
...
* initial commit
* add more tests
* refactor match jinja template
* add docstrings
* cleanup
* possible fix for pyright
* fix conflicts
* fix conflicts again
* comments
* fixed bug from review
* fix tests
* address PR comment
* fix tests
* type error improvement
* formatting
* darglint fix
* more tests
* stringify switch condition and cases as js doesnt support complex types(lists and dicts) in switch cases.
* Update reflex/vars.py
Co-authored-by: Masen Furer <m_github@0x26.net>
* change usages
* Precommit fix
---------
Co-authored-by: Alek Petuskey <alek@pynecone.io>
Co-authored-by: Masen Furer <m_github@0x26.net>
Co-authored-by: Alek Petuskey <alekpetuskey@aleks-mbp.lan>
2024-01-04 09:48:18 -08:00
Jishnu N
c5c42665eb
add: reflex init app name validator ( #2336 )
2023-12-28 00:07:55 -08:00
Masen Furer
e52267477c
[REF-1417] Convert underscore-prefixed style props to pseudo selector ( #2266 )
2023-12-11 13:37:57 -08:00
Elijah Ahianyo
e3ee98098a
RED-1052/rx.State as Base State ( #2146 )
2023-11-29 09:43:33 -08:00
Martin Xu
f8395b1fd6
Separate out the hosting CLI from main repo ( #2165 )
2023-11-28 15:20:06 -08:00
Thomas Brandého
8fc254041b
fix name for import var when is default and add tests ( #2214 )
2023-11-26 12:46:43 -08:00
Masen Furer
1603144c7d
[REF-889] useContext per substate ( #2149 )
2023-11-21 11:52:06 -08:00
Elijah Ahianyo
714edb3cde
REF-1202: Upgrade bun version if it differs from reflex set version ( #2206 )
2023-11-20 15:21:17 -08:00
Elijah Ahianyo
7f810ece21
To camel case fix ( #2205 )
2023-11-20 11:33:48 -08:00
Elijah Ahianyo
ea22452b27
Reduce Syntax highlighter footprint ( #2037 )
2023-11-13 12:47:55 -08:00
Elijah Ahianyo
7a04652a6a
Revert "Bun as runtime on Mac and Linux ( #2138 )" ( #2153 )
2023-11-09 13:01:48 -08:00
Elijah Ahianyo
4d6fa9b823
Bun as runtime on Mac and Linux ( #2138 )
2023-11-08 16:22:02 -08:00
Thomas Brandého
c835ad0737
fix to_snake_case and add tests ( #2133 )
2023-11-06 12:13:28 -08:00
Martin Xu
4a526620ac
[REF-1042] Hosting CLI: check the user selected app name ( #2102 )
2023-11-02 14:34:10 -07:00
Masen Furer
56476d0a86
Expose DOM event actions on EventHandler, EventSpec, and EventChain (stopPropagation) ( #1891 )
...
* Expose preventDefault and stopPropagation for DOM events
All EventHandler, EventSpec, and EventChain can now carry these extra
"event_actions" that will be applied inside the frontend code when an event is
triggered from the DOM.
Fix #1621
Fix REF-675
* Test cases (and fixes) for "event_actions"
* form: from __future__ import annotations
for py38, py39 compat
* Revert overzealous merge conflict resolution
2023-10-31 11:42:42 -07:00
Martin Xu
fe01f0cf11
add region check upfront when user deploys interactively ( #2030 )
2023-10-26 10:07:49 -07:00
Martin Xu
81053618c9
CLI switch to prod server ( #2016 )
2023-10-24 09:43:20 -07:00
Martin Xu
07ca8fcb3b
[REF-99] Add first version of CLI for hosting service ( #1810 )
2023-10-21 13:09:56 -07:00
Elijah Ahianyo
06bdf9ed8a
Remove 0.3.0 deprecated features ( #1947 )
2023-10-19 09:44:32 -07:00
Thomas Brandého
df09c716c6
fix serialization as a whole for list/dict/Base containing custom items to serialize ( #1984 )
2023-10-17 10:44:54 -07:00
Thomas Brandého
b1bab1206d
deprecate get_ methods for router_data, use BaseVars instead ( #1967 )
2023-10-17 09:59:44 -07:00
Elijah Ahianyo
c6abeb31a5
Props as Literals ( #1921 )
2023-10-15 20:16:39 -07:00
Masen Furer
024cb5fa9b
Var field cleanup ( #1943 )
2023-10-13 14:53:55 -07:00
Thomas Brandého
dcb17103bb
code cleanup (split constants into a folder) ( #1866 )
2023-09-28 17:27:20 -07:00
Nikhil Rao
8231993e5a
Improvements to custom styles in rx.markdown ( #1852 )
2023-09-25 15:59:48 -07:00
Thomas Brandého
211dc15995
New API to define triggers ( #1820 )
2023-09-21 09:47:22 -07:00
Nikhil Rao
1938a6cc58
Add serializers for different var types ( #1816 )
2023-09-15 17:19:26 -07:00