Thomas Brandého
0af4770180
generate pyi files when building/publishing 3rd party component ( #2945 )
...
* build pyi files when building/publishing 3rd party
* fix typo in workflow
* add future annotation
* add tests to pass coverage check
* add more unit tests
* omit pyi_generator from test coverage
* change black from dev deps to direct deps
* remake all pyi
* format pyi if black is present, return as if otherwise
* fix requested changes
---------
Co-authored-by: Masen Furer <m_github@0x26.net>
2024-03-29 09:54:21 -07:00
Thomas Brandého
f19a6a8c8d
use radix box instead of chakra one for responsive elements ( #2921 )
2024-03-25 15:16:48 -07:00
invrainbow
e729a315f8
Fix fstrings being escaped improperly ( #2571 )
2024-02-13 14:32:44 -08:00
invrainbow
61234ae164
Fix operator precedence ( #2573 )
2024-02-12 19:30:25 -08:00
Masen Furer
b607531318
Unbreak tests after recent changes in main (p2)
2024-02-08 10:46:40 -08:00
Nikhil Rao
05d1be2182
Move core components to radix namespace ( #2506 )
2024-02-02 14:26:46 -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
Nikhil Rao
93c97383d9
Refactor chakra components into separate folder ( #2315 )
2023-12-21 09:52:08 -08:00
Elijah Ahianyo
e3ee98098a
RED-1052/rx.State as Base State ( #2146 )
2023-11-29 09:43:33 -08:00
Masen Furer
527437cf23
[REF-144] Add context in each component to prevent rerenders ( #2198 )
2023-11-27 16:05:59 -08:00
Masen Furer
1603144c7d
[REF-889] useContext per substate ( #2149 )
2023-11-21 11:52:06 -08:00
Nikhil Rao
e703d87450
Set unique index vars in rx.foreach ( #2126 )
2023-11-03 16:20:42 -07:00
Masen Furer
024cb5fa9b
Var field cleanup ( #1943 )
2023-10-13 14:53:55 -07:00
Masen Furer
71811a600c
Var: __bool__ and __iter__ always raise a TypeError ( #1750 )
2023-09-05 13:44:22 -07:00
Elijah Ahianyo
d4abf5ff2b
Update tests for Foreach ( #1394 )
2023-07-21 11:49:55 -07:00
Nikhil Rao
139ce38df1
Rename pynecone to reflex ( #1236 )
2023-06-25 16:56:55 -07:00
Elijah Ahianyo
bb1cf4322e
Foreach support for other data structures(dict, set, tuple) ( #1029 )
2023-05-17 16:11:41 -07:00
Alek Petuskey
4a580b54ff
Visual CLI improvements ( #1032 )
2023-05-16 20:42:53 -07:00
iron3oxide
32f3a387ae
Rename var module to vars ( #983 )
2023-05-09 23:01:25 -07:00
PeterYusuke
3b88e7c329
[Fix 477] Use jinja2 for templating ( #915 )
2023-05-09 14:34:47 -07:00
Nikhil Rao
e03e5f8033
Use Python truthiness in pc.cond ( #889 )
2023-04-26 17:16:38 -07:00
Nikhil Rao
d74efb9bff
Fix cond component render ( #639 )
2023-03-06 16:45:10 -08:00
Nikhil Rao
8ba22ed92d
Factor out responsive helpers ( #624 )
2023-03-03 13:29:17 -08:00
Nikhil Rao
f88d4ce4b4
Add tests for pc.icon
( #562 )
2023-02-17 12:01:30 -08:00
Nikhil Rao
47eebe0ea5
Clean up cond vars ( #536 )
2023-02-13 15:27:03 -08:00
叶子
1529a23c1b
Switch linter to ruff ( #450 )
2023-02-09 11:33:18 -08:00
Nikhil Rao
8958f14778
Allow pc.cond without else case ( #453 )
2023-02-05 17:50:34 -08:00
Tommy Dew
f7e35771e9
Relax type requirement on pc.cond ( #323 )
2023-01-23 20:20:19 -08:00