vega-frontend-monorepo/libs/react-helpers/src/hooks
Matthew Russell 0b4f918208
chore(#2412): refactor theme context (#2435)
* chore: switch theme to zustand, delete context

* chore: switch apps/componenets to consume the hook

* chore: update storybook theme usage to use documentElement

* chore: dry up theme switcher listener for storybooks

* feat: optional theme param to allow toggling

* chore: add additional check for matchMedia function

* chore: change block explorer test to use light theme as its the default

* chore: remove unused headerprops for multisig-signer

* chore: remove unused props from theme switcher component

* chore: dry up validateTheme func

* chore: remove unused props from explorer header test

* chore: use new theme switcher in account history container
2022-12-20 18:55:35 -08:00
..
__generated__ chore: cleanup type gen (#2362) 2022-12-08 21:13:30 +00:00
index.ts chore(#2412): refactor theme context (#2435) 2022-12-20 18:55:35 -08:00
NetworkParams.graphql Chore/1925 network params (#1927) 2022-11-07 14:57:35 +00:00
use-apply-grid-transaction.spec.ts chore: upgrade to React 18 (#952) 2022-08-09 10:43:11 +01:00
use-apply-grid-transaction.ts Enable @typescript-eslint/consistent-type-imports eslint rule 2022-03-30 13:05:41 +02:00
use-data-provider.spec.ts fix: remove useDataProviderHook updateOnInit (#2041) 2022-11-14 16:08:12 +01:00
use-data-provider.ts fix(#2200): handle NotFound GraphQL errors in async renderer (#2204) 2022-11-24 15:52:46 -08:00
use-fetch.ts Feat/397 - continuous txs list (#417) 2022-06-29 11:20:22 +01:00
use-mutation-observer.ts fix: orderbook sticky behaviour and precision options (#1519) 2022-09-29 14:23:14 +02:00
use-network-params.spec.tsx chore: migrate withdrawals lib (#2009) 2022-11-10 14:13:58 +00:00
use-network-params.ts chore: migrate withdrawals lib (#2009) 2022-11-10 14:13:58 +00:00
use-outside-click.ts feat: [console-lite] - market selector (#726) 2022-07-11 15:27:28 +02:00
use-resize-observer.ts fix: orderbook sticky behaviour and precision options (#1519) 2022-09-29 14:23:14 +02:00
use-resize.ts Feat/525 update drawer (#611) 2022-06-27 16:55:51 +01:00
use-screen-dimensions.ts feat: [console-lite] - refactor market-list view afetr design update (#1244) 2022-09-06 08:13:17 +02:00
use-storybook-theme-observer.ts chore(#2412): refactor theme context (#2435) 2022-12-20 18:55:35 -08:00
use-theme-switcher.ts chore(#2412): refactor theme context (#2435) 2022-12-20 18:55:35 -08:00
use-yesterday.spec.ts chore: added useYesterday hook (#1635) 2022-10-06 16:31:11 +02:00
use-yesterday.ts chore: added useYesterday hook (#1635) 2022-10-06 16:31:11 +02:00