Commit Graph

23 Commits

Author SHA1 Message Date
Aminejv
206fead689 feat(Hooks):
- useEventListener: add support to listen to events from elememts

- useEscakeKey: when multiple components use this hook, and when triggered close the last one opened

- useImage: check if image is loaded. Also it checks if the image overflows given a maxWidth

feat(useDetectTextOverflow): detect if a text element has an overflow
2021-11-03 11:51:14 +01:00
Aminejv
2d6fa04c41 feat(hooks): add useHover hook 2021-10-08 17:38:17 +01:00
Aminejv
145ce319a4 fix(hooks): fix web worker security error 2021-09-27 10:23:09 +01:00
Aminejv
2c601066a6 feat(web-workers):
-  add useWorker to interact with web workers declaratively

- update next to 11.1.2 to support web-workers

- update next config to ignore eslint errors during build
2021-09-27 10:09:36 +01:00
Aminejv
62622d9dfb fix(hooks/useLockScroll): fix undefined error when no parameter is passed 2021-09-17 15:20:28 -07:00
Martina
e4e4f67293 removed remaining mentions of user.data, slate.data, file.data 2021-09-13 12:47:23 -07:00
Aminejv
2e26c97ae3 feat(hooks): return setFieldValue from useField 2021-08-25 14:50:02 +01:00
Aminejv
204757000c feat(hooks): add useEscapeKey and useLockScroll hooks 2021-08-17 19:20:45 +01:00
Aminejv
a92628251a feat(hooks): add useEventListener and useTimeout hooks 2021-08-17 19:20:03 +01:00
martinalong
0518a390ab
Merge pull request #865 from filecoin-project/@aminejv/preview-tweaks
Update: Object and Collection previews tweaks
2021-08-16 15:59:09 -07:00
Aminejv
b3fea9734e feat(previews): disable description popup on mobile 2021-08-09 18:31:46 +01:00
Martina
1b0cd2cb49 removing user filecount 2021-08-07 19:58:28 -07:00
Martina
3faf4ee961 removed likes 2021-08-07 15:41:18 -07:00
Aminejv
50dbbfdf59 fix(hooks): add useIsomorphicLayoutEffect to remove next warnings 2021-08-05 20:45:52 +01:00
Aminejv
ef8e15da32 feat(hooks): add useMemoCompare hook 2021-08-03 18:00:56 +01:00
Aminejv
e91041f18c fix(hooks): adjust useMounted 2021-07-27 13:16:58 +01:00
Aminejvm
7fb84a2655 added: new colors tokens 2021-07-27 13:16:52 +01:00
Martina
6cb68d14a3 links 2021-07-07 14:10:31 -07:00
Aminejv
5e4d704121 feat(useForm): add support to format inputs 2021-06-23 18:59:09 +01:00
Aminejv
27c3ab600e feat(hooks): add useToggle hook 2021-06-23 10:19:14 +01:00
Martina
387045082c adding Logging function and converting console.log to Logging.log 2021-06-11 12:25:58 -07:00
Aminejvm
d978eacc31 refactor(useForm): validation method is async now 2021-06-10 08:16:49 +01:00
Martina
e8e1e1f26e squashing commits 2021-06-08 15:53:30 -07:00