Commit Graph

11 Commits

Author SHA1 Message Date
aliabid94
cb2aa4a625
Hidden fix [hotfix] (#1585)
* fix

* Update Button.svelte
2022-06-16 17:22:09 -07:00
aliabid94
5e7cf62a47
Fix visible (#1576)
* changes

* format

* change

* Update Blocks.svelte

* Update Render.svelte

* Update tokens.css
2022-06-16 16:49:54 -07:00
aliabid94
caa6a4e687
rework visible, attach to all components (#1511)
* changes

* fix
2022-06-13 16:49:23 -07:00
aliabid94
3a7f9a3b1a
Allow users to return dicts for values (#1373)
* changes

* changes

* add visible flag
2022-05-24 23:30:24 -07: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
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
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
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
6e16a8d792 update component events 2022-03-16 16:34:30 +00:00
pngwn
0044c243db pull all components into packages 2022-03-02 16:42:43 +00:00