Commit Graph

104 Commits

Author SHA1 Message Date
PeterYusuke
bd03e9290c
Fix textarea rendering issue (#700) 2023-04-13 11:02:20 -07:00
Elijah Ahianyo
64d5212f0b
File upload accept types format (#816) 2023-04-13 09:38:31 -07:00
Elijah Ahianyo
e8387c8e26
Fix Event chaining in the on_load event handler return not working (#773)
* Fix Event chaining in the on_load event handler return not working

* added async tests

* addressed comments
2023-04-06 22:26:43 -07:00
Alek Petuskey
bd6ea9d977
Fixed pc.html to accept state var. (#775) 2023-04-04 21:59:50 -07:00
Nikhil Rao
bb29bd864d
Improve memoized args (#771) 2023-04-03 18:22:43 -07:00
Alek Petuskey
13f0182343
Add check for invalid bun versions (#768) 2023-04-03 17:01:25 -07:00
Elijah Ahianyo
50cdfac24c
bugfix/723: pc.data_table not working well with pandas as computed vars (#745)
* bugfix/723: pc.data_table not working well with pandas as computed vars

Turns out this isnt really a bug. You need to specify an annotation for the computed var to work. This Pr adds a check for annotations on computed vars for data tables

* added more validation for column field
2023-04-02 16:49:50 -07:00
Elijah Ahianyo
50d480da1f
Allow upload event handler to have arbitrary arg name (#755) 2023-04-02 15:40:05 -07:00
Alek Petuskey
d955dc2a3c
Added list to color scale. (#761) 2023-04-02 15:33:58 -07:00
Elijah Ahianyo
1fdc01fa56
Bugfix: 719-File-upload-props-not-working (#738) 2023-03-29 18:26:02 -07:00
Francesco Ambrosini
25472d7d85
Add KeyboardKey, AspectRatio Components (#685) 2023-03-17 15:15:37 -07:00
iron3oxide
7067baf176
Refactor utils module (#666) 2023-03-16 14:59:27 -07:00
Nikhil Rao
2ee8c73d5a
Add error message for invalid var ops (#664) 2023-03-11 21:11:59 -08:00
wassaf shahzad
416a813be8
Added script Component (#653) 2023-03-11 11:40:14 -08:00
Xiaojing Chen
e926460bf7
Add var support pc.list (#636) 2023-03-10 13:09:59 -08:00
Xiaojing Chen
ae5b6426aa
Clean up json dumps (#642) 2023-03-07 14:37:34 -08:00
Elijah Ahianyo
e106b7aedf
Bugfix for properly rendering datatables (#638) 2023-03-07 13:50:04 -08:00
Nikhil Rao
3491955995
Fix format dict props (#641) 2023-03-06 17:38:21 -08:00
Nikhil Rao
d74efb9bff
Fix cond component render (#639) 2023-03-06 16:45:10 -08:00
Xiaojing Chen
a1f3bc7130
Fix for column data is a list or tuple in pc.data_table (#576) 2023-03-04 15:41:44 -08:00
Nikhil Rao
35ed2839fd
Fix responsive component import errors (#629) 2023-03-04 14:12:47 -08:00
cadon
e132821a24
Fix non-english component str props (#626) 2023-03-04 12:42:21 -08:00
Nikhil Rao
f7138bd53f
Add upload component (#622) 2023-03-03 19:38:58 -08:00
Nikhil Rao
8ba22ed92d
Factor out responsive helpers (#624) 2023-03-03 13:29:17 -08:00
Xiaojing Chen
2e7fb4d082
[Fix] Component table support State Vars (#571) 2023-03-02 18:33:53 -08:00
Alek Petuskey
dac52da780
Fixed Pycharm highlighting issue. (#617) 2023-02-28 16:56:27 -08:00
Nikhil Rao
6c8ce67b8b
Call special events from event triggers (#601) 2023-02-24 15:17:03 -08:00
PeterYusuke
f76acb2d9c
[Fix issue 563] Add meta arg to page_add method (#589)
* Add meta arg to page_add method

* Remove TypeError of "|". Set default param value.
2023-02-22 21:33:04 -08:00
Thomas Brandého
fc29202b71
fix needed following the PR that changed Icon usage (#591) 2023-02-22 16:27:54 -08:00
Xiaojing Chen
37edaa2f6b
[Fix: issue 582] Icon tag should work despite case sensitivity. (#588) 2023-02-21 17:32:34 -08:00
Alek Petuskey
313dd7dc3b
Added Re-Init (#577) 2023-02-20 19:55:46 -08:00
Nikhil Rao
f88d4ce4b4
Add tests for pc.icon (#562) 2023-02-17 12:01:30 -08:00
Elyanah Aco
12faa76279
Convert pc.icon tag to title case (#553) 2023-02-16 17:49:03 -08:00
PeterYusuke
7fa1a85d91
Add class name property to component (#545) 2023-02-16 11:34:49 -08:00
Thomas Brandého
d0b47e1c23
Fix raw list not working in foreach (#547) 2023-02-15 22:21:53 -08:00
Thomas Brandého
b4fb0df9ea
Update list high-level API (#543) 2023-02-15 22:07:43 -08:00
Nikhil Rao
47eebe0ea5
Clean up cond vars (#536) 2023-02-13 15:27:03 -08:00
Alek Petuskey
adf5b7fb1b
Added Type Annotation Error Message Indexing/Foreach (#530) 2023-02-12 21:47:21 -08:00
Nikhil Rao
0bd8f6acfc
Add keypress event handlers (#523) 2023-02-12 13:12:57 -08:00
Nikhil Rao
8c8b2396fc
Add password component (#519) 2023-02-12 09:57:42 -08:00
Cheesy-Brik
cdf93ed004
Add color prop to CircularProgress (#520) 2023-02-12 09:27:55 -08:00
Thomas Brandého
d57d9c78cf
Fix interactions between foreach and cond (#521) 2023-02-12 09:24:55 -08:00
Nikhil Rao
29d46facb1
Fix custom component render (#517) 2023-02-11 16:49:06 -08:00
Thomas Brandého
315987c701
Small fixes in component API (#501) 2023-02-10 15:11:12 -08:00
叶子
1529a23c1b
Switch linter to ruff (#450) 2023-02-09 11:33:18 -08:00
Nikhil Rao
eb723b6ebe
Add compile error for invalid event handlers (#482) 2023-02-08 16:27:13 -08:00
PeterYusuke
60949e24e6
Add id for components to support anchors (#469) 2023-02-08 14:09:03 -08:00
Nikhil Rao
8958f14778
Allow pc.cond without else case (#453) 2023-02-05 17:50:34 -08:00
Thomas Brandého
0b2f1369a6
Provide high-level API for most components (#451) 2023-02-05 16:02:21 -08:00
Nikhil Rao
d709ab9e03
Add import aliases (#452) 2023-02-05 15:01:21 -08:00