Dawood Khan
55e6f40f80
Typeable value on gradio.Slider ( #2329 )
...
* typeable number slider
* fix hardcoded files in test configs
* test
* test fix
2022-09-26 23:00:02 -04:00
Dawood Khan
072c4a3103
Textbox Shift + Enter key Refactor ( #2084 )
...
* enter key fix
* format
2022-09-08 17:02:03 -04:00
pngwn
817819d7a1
Fix the types ( #1843 )
...
* fix types
* fail CI when typechecking fails
* maybe fix
* more fix
* remove all rferences to theme
* fix login
2022-07-21 19:12:46 +01:00
Luigi Cerone
8f89270f50
Color picker ( #1695 )
...
* Add new colorpicker component skeleton
* Updated colorpicker skeleton with some functionalities
* - Fix default input color
- Change input style
* Add colorpicker demo
* Add tests and code format
Co-authored-by: mfumanelli <fumanellimartina@gmail.com>
2022-07-05 08:50:17 +03:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests ( #1588 )
...
* tests
* more tests
* more tests
* remove files
2022-07-01 01:27:47 -04:00
aliabid94
636a9688ba
change ( #1513 )
2022-06-09 16:40:17 -07:00
Chih-Yu Yeh
f6414d3c33
fix issue#1353 ( #1457 )
...
* fix issue#1353
* change logic
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 07:58:19 -07:00
pngwn
068132836c
Style updates ( #1350 )
...
* clean up python style api
* allow Box to be styled
* changes
* update style args and add md doc detailing
* cleanup
* add deprecation warnings
* fix
* formatting
2022-06-01 18:02:18 +01:00
aliabid94
d35e06abe7
Minor cosmetic changes ( #1383 )
...
* changes
* pass tests
* change to source sans
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-26 14:33:28 -07:00
pngwn
494c09a7be
Small bugs ( #1324 )
...
* initialise gallery images to None, fix icon
* dispatch submit event when pressing return on 1 line textbox
* Update ui/packages/app/src/components/Gallery/Gallery.svelte
* Update ui/packages/app/src/components/Gallery/Gallery.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-18 15:21:17 -07:00
aliabid94
13afd4c967
Fix default cleared value ( #1300 )
...
* changes
* changes
* chagnes
* fixed test
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-16 14:43:37 -07:00
pngwn
8b1a50775a
General tweaks ( #1276 )
...
* tweaks + radio fix
* remove unused prop
* revert demo
* ensure table renders empty strings and zeroes
* remove logs
* remove bundle stats
2022-05-16 18:22:09 +01:00
pngwn
97929ee795
ui apis for dalle-mini ( #1258 )
...
* ui apis for dalle-mini
* changes
2022-05-13 18:37:55 -07:00
pngwn
700c4fc9cf
Layout bugs ( #1246 )
...
* fix layout issues
* fix visible kwarg + demo tweak
* fix blocks error wwhen parent is not column or row
2022-05-13 15:47:50 +01:00
aliabid94
33ef309451
Allow Custom CSS ( #1170 )
...
* changes
* css changes
* updated PyPi version to 2.9b24
* Revert "updated PyPi version to 2.9b24"
This reverts commit 48f678f491
.
* Revert "css changes"
This reverts commit d31cd525a4
.
* Revert "changes"
This reverts commit fadcb12ffe
.
* reverting
* reverting
* changes
* changs
* Revert "changs"
This reverts commit 49d815f6fe
.
* Revert "changes"
This reverts commit 481d7c21c4
.
* changes
* format
* changes
* format
* test fix
* test fix
* test fix
* fix tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-11 21:40:41 -07:00
Victor Muštar
962a254a6b
WIP: Add dark mode support ( #1187 )
...
* add gray 950 to tailwind config
* overwrite global css for dark-mode
* add dark-mode to css tokens
* add dark-mode to components
* workbench dark-mode update
* checkbox tweak
* create icon components
* tweaks
* formatting
* formatting
* handle dark mode query params + system settings
* fix css
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-09 17:26:09 -07:00
pngwn
e34210ccda
max_lines + autoheight for textbox ( #1153 )
...
* ensure autoheight always reruns when value changes
* implement lines + max_lines for textbox
* update demo
* fix test
2022-05-03 18:28:57 +01:00
pngwn
f85686975e
Optional labels fe ( #1105 )
...
* optional labels
* added prop
* Added IOComponent class
* get component fix
* fixed component function
* fixed test components
* formatting
* fixed output tests
* working on blocks tests
* fixed test blocks
* cleanup
* respect show_label prop in all components
* Update ui/packages/app/src/components/File/File.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/app/src/components/Audio/Audio.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/atoms/src/BlockLabel.svelte
* foirmatting
* formatting again
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-27 11:47:15 +01:00
pngwn
2b0898b9a2
Scroll to output ( #1077 )
...
* implement loader + scroll into view
* changes
* refactor components to use Block inside the app
* cleanup
* cleanup
* implement all changes for all changes for all relevant components
* fix formatting
* demos
* add status tracker to every component
* fix tests
* fix unti test flake: randInt
* cleanup CI
* fix CI
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
pngwn
0cecff4672
Form layout ( #1054 )
...
* implement form grouping
* demo to showcase form groups
* cleanup
* apply tw classes for custom classes
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* fix formatting
* ignore index.html
* fix gitignore
* fix gitignore
* fix gitignore
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Victor Muštar
87ea33dc42
UI design update ( #1041 )
...
* ui update
tabs
button
container
spacing
responsive row
mobile
chatbot
style
JSON node
* ui misc
* gradio orange shades
* workbench layout
* button shade
* rm unused
* audio animation
* tabs spacings
* table
* form update
* misc
* misc
* sketch placeholder
* table update
* table rings
* JSON copy button
- Logic not implemented
* textbox default placeholder
* table
remove old table
* label style
* button global css
* Update Button.svelte
* cs
* table btn
* carousel height
* audio style
* audio static
* static image size
* formatting
* skip test that aren't testing anything
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:27:12 +01:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components ( #992 )
...
* added interactive parameter to components
* respect interactive prop
* fixed input tests
* fixed output tests
* fixed test_components.py
* fixed test blocks
* fixed test utils
* fixed formatting
* update test configs
* fix textbox static output
* static audio output
* static video output
* cleanup
* static inmage output
* Static Timeseries
* cleanup outptus fopr markdown _ html
* ensure dataframe can load in static mode
* tweaks
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
pngwn
f57fa0eb6f
fix i18n and some tweaks ( #966 )
...
* fix i18n and some tweaks
* reorder i18n + translate buttons
* disable test
* fix or text
* ensure sketch text only shows when it is a sketch
2022-04-08 19:46:00 +01:00
pngwn
61c2e0e680
static mode for textbox ( #929 )
...
* static mode for textbox
* fix checkbox and remove title
* address comments
* autoresize textarea for output textbox
* wait for the DOM to update before resizing the textarea
2022-04-07 20:36:49 +01:00
pngwn
03838573c9
allow audio components to take a string value ( #930 )
...
* allow audio components to take a string value
* normalise audio + video input data types
* tweaks
2022-04-07 18:18:41 +01:00
pngwn
6e4e877b19
remove debounce from form inputs ( #932 )
2022-04-06 17:49:59 +01:00
pngwn
5313a4edf1
fix unit + browser tests ( #926 )
2022-04-06 11:47:19 +01:00
pngwn
f2d71abe88
Redesign 1 ( #918 )
...
* redesign forms
* finalise forms
* upload components
* fix CSS conflicts
* abstract block + update image
* restyle modify buttons
* add file, audio, video
* revert example
* address comments
2022-04-05 18:11:29 +01:00
pngwn
3b452fffdd
set default values as the value for components
2022-03-24 13:08:13 +00:00
pngwn
8ed9f3be62
add tests for textbox
2022-03-23 16:56:36 +00:00
pngwn
4f772dc8d9
ensure textbox updates the value
2022-03-23 16:56:01 +00:00
aliabid94
a8ab1c81a1
Blocks dev ( #853 )
...
* Blocks-Components-v2
- default -> default_value refactoring
* Blocks-Components-v2
- refactor output types into output_type and make them auto
* Blocks-Backend-Events
- all events are implemented
* Blocks-Backend-Events
- refactor fn: str -> Callable
* Blocks-Backend-Events
- add change event to TabItem
* Blocks Backend Components
- Remove KeyValues from components
* Blocks-Backend-Components-v2
- Resolve Components imports in inputs and outputs
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- fix default parameter usage in demos
* Blocks-Backend-Components-v2
- docstring updates
* revert demos
* Blocks-Backend-Components-v2
- tweaks
* Blocks-Backend-Components-v2
- add change event to Tabs
* Interfaces from Blocks (#849 )
Build interfaces from blocks
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-22 15:40:36 -07:00
pngwn
6e16a8d792
update component events
2022-03-16 16:34:30 +00:00
pngwn
50cb72b4ea
more stuff
2022-03-11 16:00:48 +00:00
pngwn
ec80912433
convert all components to new form
2022-03-08 13:35:42 +00:00
pngwn
0044c243db
pull all components into packages
2022-03-02 16:42:43 +00:00