Thomas Brandého
d9e4d6d130
add set_clipboard method ( #1230 )
2023-06-23 13:01:57 -07:00
Elijah Ahianyo
5e41985bfe
Grid and ResponseGrid component docs update ( #1215 )
2023-06-19 14:27:59 -07:00
Elijah Ahianyo
32adf7c428
Add docs for pc.image ( #1203 )
2023-06-16 11:20:43 -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
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
Elijah Ahianyo
76a64bce1a
Component props docs update ( #1176 )
2023-06-09 12:10:25 -07:00
jiangmiemie
0a4d067b42
add meta args ( #1158 )
2023-06-07 11:45:07 -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
Masen Furer
8f7f2536f0
link: as_={NextLink} for next 13 compatibility ( #1138 )
2023-06-05 20:21:47 -07:00
Elijah Ahianyo
4c84a349e1
UI connection warning ( #1111 )
2023-06-05 14:00:44 -07:00
Aidan Rauscher
9812ab2a58
Add Date and DateTime Pickers ( #1126 )
2023-06-04 18:17: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
jiangmiemie
f790b28c49
Update markdown.py ( #1124 )
2023-06-02 12:34:33 -07:00
Alek Petuskey
507f406230
Support PIL Images in pc.image ( #1096 )
2023-05-31 18:05:31 -07:00
TaiJuWu
e3914136f8
feature: support video and audio components ( #1095 )
2023-05-31 17:51:05 -07:00
Christopher Terrazas
1de615c4b6
Add email component ( #1093 )
2023-05-27 23:11:01 -07:00
TaiJuWu
0531d611dc
feature: support custom attribute for components ( #1085 )
2023-05-26 11:49:57 -07:00
TaiJuWu
2903d7a7ad
feature: support Hightlight component ( #1079 )
2023-05-26 11:40:42 -07:00
Nikhil Rao
9485127c1c
Handle multi-select ( #1082 )
2023-05-26 10:50:16 -07:00
Thomas Brandého
e9ca1fd03b
add missing comment form ( #1081 )
2023-05-25 09:52:57 -07:00
Nikhil Rao
3d8694cc26
Fix pc.select on change handler ( #1080 )
2023-05-24 16:36:01 -07:00
iron3oxide
706abbc756
Replace Select component with a better one ( #1043 )
2023-05-24 13:19:07 -07:00
TaiJuWu
17852ed7e7
chore: Update transition.py ( #1073 )
2023-05-24 13:14:50 -07:00
Elijah Ahianyo
368b79f160
pc table validation ( #1075 )
2023-05-24 13:14:27 -07:00
Nikhil Rao
2fa6859035
Support rest of form components in pc.form ( #1070 )
2023-05-24 10:34:22 -07:00
TaiJuWu
f4d5a08faf
feature: Add Chakra Transitions ( #1058 )
2023-05-22 14:00:38 -07:00
Unknown Sentinel
b420c49cd6
Add Chakra Tag Component ( #1052 )
2023-05-22 13:54:55 -07:00
Elijah Ahianyo
fb69ddfd80
moved compiled constants into an env.json file ( #1051 )
2023-05-19 10:28:54 -07:00
Thomas Brandého
d729ba6ea6
Add Autofocus for components ( #1053 )
2023-05-18 12:44:49 -07:00
iron3oxide
6dc2778a15
Add Chakra Card component ( #1030 )
2023-05-18 11:09:58 -07:00
Elijah Ahianyo
bb1cf4322e
Foreach support for other data structures(dict, set, tuple) ( #1029 )
2023-05-17 16:11:41 -07:00
Nikhil Rao
e6a679d3a3
Update pc.form on_submit args ( #1033 )
2023-05-16 12:09:15 -07:00
Nikhil Rao
98f1b30735
Fix event default call ( #1031 )
2023-05-15 21:10:42 -07:00
Nikhil Rao
948ec90fc4
Add pc.form component ( #929 )
2023-05-14 22:34:10 -07:00
Sheldon
928501662e
move add ref to component level render ( #1019 )
2023-05-14 19:01:23 -07:00
Elijah Ahianyo
139e4cf05b
Update upload event to use queue ( #1005 )
2023-05-12 16:44:16 -07:00
Alek Petuskey
1aa8501473
Added some more props to components ( #953 )
2023-05-11 18:55:36 -07:00
Alek Petuskey
b699bbdff7
Upgrade to Next 13 ( #902 )
2023-05-11 18:41:42 -07:00
Unknown6334
6c60295ba1
Add color_scheme prop to pc.switch ( #990 )
2023-05-11 17:12:50 -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
3d3c974768
Fix pc.code syntax highlight ( #970 )
2023-05-08 17:11:34 -07:00
Alek Petuskey
272dfc2d7e
Added default val radio group ( #961 )
2023-05-06 23:07:57 -07:00
Thomas Brandého
893c0b132e
Make argument optional for event handlers ( #950 )
2023-05-06 13:10:35 -07:00
Elijah Ahianyo
18c715670a
Revamp Imports ( #926 )
2023-05-04 22:11:01 -07:00
Nikhil Rao
1a254aca8e
Add pc.set_value ( #835 )
2023-04-29 19:01:37 -07:00