Commit Graph

17 Commits

Author SHA1 Message Date
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
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
pngwn
279df2322d
fix button styling (#1447) 2022-06-01 11:33:53 -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
3a7f9a3b1a
Allow users to return dicts for values (#1373)
* changes

* changes

* add visible flag
2022-05-24 23:30:24 -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
pngwn
3fe954bd55
Table tweaks (#1195)
* ensure table scrolls

* tweaks

* fix overflow on columns

* layout tweaks
2022-05-09 16:18:13 +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
26d2c190fc
add test infra + add browser tests to CI (#852)
* add test infra

* improve test setup and utils

* finish a test

* add browser tests to ci

* fix ci

* fix ci

* fix ci

* fix ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* fix ci

* update lockfile

* fix formatting

* install browser when not cached

* bust cache

* debug test in ci

* fix button label

* generate screenshots for failed tests

* generate screenshots for failed tests

* generate screenshots for failed tests

* fix tests

* clean uip debug logs

* add setuip + teardown to functional tests

* remove build from static checks
2022-03-23 15:19:12 +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
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
pngwn
262f5d3e45 fix tooling issues 2022-02-25 12:24:32 +00:00