Commit Graph

453 Commits

Author SHA1 Message Date
Nikhil Rao
139ce38df1
Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
Thomas Brandého
d9e4d6d130
add set_clipboard method (#1230) 2023-06-23 13:01:57 -07:00
Elijah Ahianyo
3f56620870
Get Local Storage (#1234) 2023-06-23 12:56:05 -07:00
Sheldon
aeb04e9130
fix upload file not set state before return (#1227) 2023-06-23 11:46:53 -07:00
Elijah Ahianyo
91d872fb4c
Bugfix: Gitignore file empty newlines (#1232) 2023-06-22 14:36:06 -07:00
Alek Petuskey
7962e897e9
Update readme example (#1225) 2023-06-21 13:40:35 -07:00
Elijah Ahianyo
b6ae225455
Get Cookies (#1221) 2023-06-20 14:57:33 -07:00
Nikhil Rao
9330999eb7
Fix pc.py frontend setup (#1219) 2023-06-20 09:49:09 -07:00
Nikhil Rao
d7aeb753d5
Update to v0.1.34 (#1217) 2023-06-19 14:54:35 -07:00
Elijah Ahianyo
e180f4d43a
Bun Version update (#1216) 2023-06-19 14:49:36 -07:00
Elijah Ahianyo
5e41985bfe
Grid and ResponseGrid component docs update (#1215) 2023-06-19 14:27:59 -07:00
Kabir Goel
1de48ee17a
Support Tailwind out of the box (#1155) 2023-06-17 18:22:33 -07:00
JeffreyChen
769d58caed
Add link to different language README.md (#1116) 2023-06-17 18:22:14 -07:00
TaiJuWu
00fc2f24f3
feature: Use multi-thread to compiler pages (#1199) 2023-06-16 13:41:42 -07:00
Thomas Brandého
8947c26c7e
add server_side event for cookie and local storage (#1206) 2023-06-16 13:40:25 -07:00
Nikhil Rao
b37560cbeb
Fix frontend event infinite loop (#1207) 2023-06-16 13:32:35 -07:00
TaiJuWu
ab84c78e6e
fix: kill all descendant subprocesses of integration test script (#1200) 2023-06-16 12:12:27 -07:00
Elijah Ahianyo
32adf7c428
Add docs for pc.image (#1203) 2023-06-16 11:20:43 -07:00
Nikhil Rao
f9956cde1e
Fix blocking events (#1198) 2023-06-15 23:47:07 -07:00
Sergei Ozeranskii
8500a8444a
Allow gunicorn timeout be set in pcconfig.py (#1193) 2023-06-15 15:24:44 -07:00
Elijah Ahianyo
fe89d53dcf
Bugfix: default gitignore (#1189) 2023-06-13 11:14:57 -07:00
Masen Furer
aa2a1df201
Add vars and components for working with color_mode (#1132)
* `pc.color_mode`: a BaseVar that accesses colorMode on the frontend
* `pc.color_mode_cond`: a `pc.cond` wrapper that conditionally renders
  components or props based on the value of `color_mode`
* `pc.color_mode_icon`: by default "sun" if light mode, "moon" if dark mode
* `pc.color_mode_switch`: a Switch component where is_checked depends on the
  color_mode and changing the value calls toggle_color_mode
* `pc.color_mode_button`: a Button component that calls toggle_color_mode on click

The default template has been updated to include a color_mode_button with
color_mode_icon for toggling light/dark mode. The inline hover style has also
been updated to use color_mode_cond to show a different highlight color based
on the color_mode.
2023-06-11 23:28:33 -07:00
Nikhil Rao
2bc45b000c
Fix pc.link with no href (#1178) 2023-06-09 18:55:21 -07:00
Thomas Brandého
a275b4ad6e
cleanup admin feature (#1168) 2023-06-09 12:48:18 -07:00
Thomas Brandého
765fac940d
update fastapi version to resolve starlette security issue (#1172) 2023-06-09 12:19:51 -07:00
Thomas Brandého
3c580bb41b
fix allow_multiple & toggle_toggle conflict (#1175) 2023-06-09 12:19:25 -07:00
Thomas Brandého
cd065946a9
fix link issue with href (#1173) 2023-06-09 12:16:42 -07:00
Nikhil Rao
5712591bc3
Fix pc.html using state vars (#1177) 2023-06-09 12:16:20 -07:00
Elijah Ahianyo
76a64bce1a
Component props docs update (#1176) 2023-06-09 12:10:25 -07:00
TaiJuWu
36abc3dbe5
fix: on_load accepts EventSpec (#1166) 2023-06-09 11:12:53 -07:00
Nikhil Rao
fedecfdf44
Fix processing flag for generator events (#1157) 2023-06-09 10:50:03 -07:00
Milo Chen
a846953926
Create empty directory for pc.get_asset_path() when .web init (#1171) 2023-06-09 18:32:35 +02:00
Sheldon
ee762a7b35
run setup_frontend during export (#1148) 2023-06-07 11:55:19 -07:00
Elijah Ahianyo
f11fd25448
Disable hidden logs for windows (#1161) 2023-06-07 11:50:47 -07:00
Elijah Ahianyo
278222db8f
async tests to test yield functionality (#1163) 2023-06-07 11:50:27 -07:00
jiangmiemie
0a4d067b42
add meta args (#1158) 2023-06-07 11:45:07 -07:00
Nikhil Rao
78aac243cb
Fix upload error when no files are set (#1156) 2023-06-06 21:24:23 -07:00
Nikhil Rao
2a92aba3a2
Fix next/link imports (#1153) 2023-06-06 12:29:49 -07:00
Aidan Rauscher
64fc12a5b9
Add Chakra Stepper Component (#1142) 2023-06-06 12:05:48 -07:00
Christopher Terrazas
d793e7a4dd
Feat/admin dashboard (#1098) 2023-06-06 11:53:34 -07:00
Nikhil Rao
035ee79e0a
Update to v0.1.33 (#1146) 2023-06-06 11:47:49 -07:00
Masen Furer
8f7f2536f0
link: as_={NextLink} for next 13 compatibility (#1138) 2023-06-05 20:21:47 -07:00
Sheldon
5fd428e92f
add custom_attrs to pc.element (#1131) 2023-06-05 20:17:20 -07:00
Elijah Ahianyo
2254599ec4
disable UI warning component by default (#1145) 2023-06-05 15:28:25 -07:00
Elijah Ahianyo
4c84a349e1
UI connection warning (#1111) 2023-06-05 14:00:44 -07:00
Nikhil Rao
895719cf68
Fix processing flag for generator event handlers (#1136) 2023-06-05 11:30:59 -07:00
Aidan Rauscher
9812ab2a58
Add Date and DateTime Pickers (#1126) 2023-06-04 18:17:26 -07:00
Sheldon
62785fc358
prevent pc config override (#1130) 2023-06-04 17:22:26 -07:00
Sheldon
9b4462370b
fix revert pc select to original (#1128) 2023-06-03 14:01:52 -07:00
Elijah Ahianyo
45ca318eb2
revert pc select to original (#1123) 2023-06-02 12:34:48 -07:00