Commit Graph

1211 Commits

Author SHA1 Message Date
Matthew Russell
1f1ce70a67 re add tsconfigs for storage package 2022-03-10 20:51:05 -08:00
Matthew Russell
69924aa0b3 Add connect diaglog tests convert storage to js to avoid ts issues with testing 2022-03-10 20:51:05 -08:00
Matthew Russell
f10cdf491d fix dark light colors of dialog 2022-03-10 20:51:05 -08:00
Matthew Russell
a47e4526bb fix vega connect button alignment 2022-03-10 20:51:05 -08:00
Matthew Russell
af2f05b778 remove input error from form and just use red text to avoid clash with the actual input errors 2022-03-10 20:51:05 -08:00
Matthew Russell
145e2558aa move connectors to own folder 2022-03-10 20:51:05 -08:00
Matthew Russell
74ac60fbfa fix jest setup for react helpers 2022-03-10 20:51:05 -08:00
Matthew Russell
fdc5e68158 tidy up storage keys in wallet provider 2022-03-10 20:51:05 -08:00
Matthew Russell
847d51e060 use components from ui-toolkit, add form-group, adjust input widths 2022-03-10 20:51:05 -08:00
Matthew Russell
9bffb15c2a use compoments from ui-toolkit, minor style changes 2022-03-10 20:51:05 -08:00
Matthew Russell
fb1bd68aee increase spacing of input elements 2022-03-10 20:51:05 -08:00
Matthew Russell
4bcafea969 remove hard coded vega wallet auth values 2022-03-10 20:51:05 -08:00
Matthew Russell
77214d5427 further styling 2022-03-10 20:51:05 -08:00
Matthew Russell
0b3bf269b6 tidy styles and tailwind config 2022-03-10 20:51:05 -08:00
Matthew Russell
cb465ae37b make dialog use tailwind 2022-03-10 20:51:05 -08:00
Matthew Russell
bd77e15092 properly set up storage lib 2022-03-10 20:51:05 -08:00
Matthew Russell
e92e708cf1 add vega wallet manager component and re add current single pubkey to provider state 2022-03-10 20:51:05 -08:00
Matthew Russell
84af6177ad update eager connect hook and make app concerned with selected pubkey, refactor token to be stored as object 2022-03-10 20:51:05 -08:00
Matthew Russell
1e6900d147 handle session expired 2022-03-10 20:51:05 -08:00
Matthew Russell
bb485d5783 add useEagerConnect hook 2022-03-10 20:51:05 -08:00
Matthew Russell
a44b8538fa renew default api class after authentication 2022-03-10 20:51:05 -08:00
Matthew Russell
59d0beebe2 add current key selector, fix revoke token/disconnect 2022-03-10 20:51:05 -08:00
Matthew Russell
fba3101753 refactor so that consuming app chooses to render modal and what connectors to use 2022-03-10 20:51:05 -08:00
Matthew Russell
ff24a4a3ba add dialog to ui-toolkit, add functionality to provider to render connect dialog and connectors ui 2022-03-10 20:51:05 -08:00
Bartłomiej Głownia
ebbd50edf3 Setup dark and light theme in trading app 2022-03-09 16:09:17 -08:00
Bartłomiej Głownia
e8a795461d Add theme switcher component 2022-03-09 16:09:17 -08:00
Bartłomiej Głownia
16cef1ec06 Base level components fixes after code review 2022-03-08 15:51:14 +01:00
Matthew Russell
18dc14dca2 remove unused code 2022-03-07 13:57:06 -08:00
Matthew Russell
6df206e411 add varnames for padding values for button and input 2022-03-07 13:57:06 -08:00
Matthew Russell
91e4c2a385 make inputError kebab-case 2022-03-07 13:57:06 -08:00
Matthew Russell
9eb75d33c9 delete old unused styles 2022-03-07 13:57:06 -08:00
Matthew Russell
58cb3514f5 remove superfluous g tag 2022-03-07 13:57:06 -08:00
Matthew Russell
d7a004d2ee remove unused colors.js, and unused commented out code from the them 2022-03-07 13:57:06 -08:00
Matthew Russell
ca74b48be9 fix incorrect type used for select attributes 2022-03-07 13:57:06 -08:00
Matthew Russell
6ba41f4345 rename textarea to use kebab case 2022-03-07 13:57:06 -08:00
Matthew Russell
ac3e10a0a4 fix spelling typo in button props destructuring 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
682ea8b0ab Add white anfd black palette 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
33284da828 Improve props handling and types in components 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
20a053a4f5 Adjust ui-toolkit colors 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
809d136994 Fix nav accent padding 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
f4a8aaaf23 Use only black and white rgba colors 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
d9444e9aef Add nav buttons 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
0e9a3c37c5 Add icon to button 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
3f490f03ca Add icon to input 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
e5f96448fc Add Icon component, use Icon in InputError 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
e2f0f61817 Add InputError component 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
cc084cb247 Improve input props handling 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
6a65299918 Add select component 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
1f91ebe86f Add textarea component 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
cdb5856983 Add button component 2022-03-07 13:57:06 -08:00
Bartłomiej Głownia
6c04475d82 Add colors and typography stories 2022-03-07 13:57:06 -08:00
Matthew Russell
351cd77f84 move trading views to react helpers 2022-03-02 12:21:35 -08:00
Matthew Russell
375697a18a use bg colors from theme 2022-03-02 12:21:35 -08:00
Matthew Russell
6ee4a4da72 make navbar use tailwind, remove nx html 2022-02-23 18:08:31 -08:00
Bartłomiej Głownia
290f5c68ad Extract tailwindcss config to libs 2022-02-23 16:29:07 -08:00
Bartłomiej Głownia
30761f2b9d Setup tailwind.css 2022-02-23 16:29:07 -08:00
Bartłomiej Głownia
7567047e51 Use CSS Modules 2022-02-23 16:29:07 -08:00
Bartłomiej Głownia
8a09f57bd4 Fix build and lint errors 2022-02-14 17:16:21 +01:00
Bartłomiej Głownia
b2eeaa338a nx format 2022-02-11 15:49:45 +01:00
Bartłomiej Głownia
355de1a32f Create a Mono-repo for DeFiUI + ui toolkit using nx 2022-02-11 15:02:11 +01:00
Bartłomiej Głownia
1244d1be80 move all files to libs/ui-toolkit 2022-02-11 13:18:34 +01:00